Go to advanced search

by commguy
Sun Aug 03, 2014 5:16 am
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

So you are doing something like this: :?: route add -net 172.20.77.0 netmask 255.255.255.0 eth0 This will certainly add the route to you Pi's routing table but that doesn't mean you are able to access that network. Hosts in 172.20.77.0 (or 169.254.0.0) need to have a route back in order to be reach...
by commguy
Sat Aug 02, 2014 6:05 pm
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

I'll try to explain this a little better. I work for a broadband company that uses wireless subscriber modules (SM) to connect to an access point on a tower that over looks the town. The SM has a default address of 169.254.1.1, much like a standard router has a default address of 192.168.1.1. The Pi...
by commguy
Sat Aug 02, 2014 11:09 am
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

I think you missunderstand. Here is the breakdown again Pi access point (wlan0) DHCP server in 10.0.0.0/24 subnet Pi lan port (eth0) static IP 10.2.5.0/24 subnet The idea is to be able to add the other routes I need for the devices I configure. default for the wireless equipment I configure is 169.2...
by commguy
Sat Aug 02, 2014 9:16 am
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

ip forwarding is set. Gateway is set properly as well. The problem is moving to another subnet. Here is my /etc/network/interfaces file auto lo eth0 wlan0 iface lo inet loopback #iface eth0 inet dhcp iface eth0 inet static address 10.2.5.220 netmask 255.255.255.0 network 10.2.5.0 gateway 10.2.5.1 dn...
by commguy
Sat Aug 02, 2014 1:39 am
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

Well partially fixed it. started playing with IP tables and managed to make it so my phone can no longer access the admin page of my device while connected to the pi.... Did notice something interesting tho... When I ping 169.254.1.1 from my laptop I get From 10.0.0.11 icmp_seq=1035 Destination Host...
by commguy
Fri Aug 01, 2014 11:40 pm
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

Ok, I can't explain this either. I can connect my phone to the access point and connect to the address ranges I've configured with the following post up /sbin/route add -net 169.254.1.0 netmask 255.255.255.0 gateway 10.2.5.220 and a few others, however, I cannot seem to get anything else to. Any ide...
by commguy
Fri Aug 01, 2014 10:30 pm
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

I should qualify that. I can if you are connected to a windows network and use that address in a production environment. If you use it as a secondary address during configuration it doesn't cause any problems.
by commguy
Fri Aug 01, 2014 2:17 am
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

Why are you adding routes for the link local address block? That WILL break things later. The IPv4 link local address block is used by windows (and others) to assign an address when a DHCP server can't be contacted. I realize it can, but in practice it doesn't. That address is the default on wirele...
by commguy
Thu Jul 31, 2014 10:52 pm
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

Tried a few more things, found that using webmin in this case was a step backward, completely broke the system. Reinstalled and started over. I did find a way to access another subnet from a static setting on eth0 adding in the comment post up /sbin/route add -net 169.254.1.0 netmask 255.255.255.0 g...
by commguy
Thu Jul 31, 2014 5:23 pm
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

Apparently thru exhaustion or just plain not paying attention I may have miss-stated my setup. I will attempt to clarify. Pi wifi access point - 10.0.0.1 with dhcp server Laptop/Smartphone 10.0.0.x > Pi > ethernet addresses 169.254.1.x 172.x.x.x 209.x.x.x Devices connected to the Pi ethernet interfa...
by commguy
Thu Jul 31, 2014 4:48 pm
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

fruitoftheloom wrote:Private Network Addresses http://en.wikipedia.org/wiki/Private_network

10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
Thank you. I am aware of what a private network is.
by commguy
Thu Jul 31, 2014 4:47 pm
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

That's kind of what I thought but the DHCP server is sitting on wlan0 giving IPs to connections over wifi giving out the 10.0.0.10-50 addresses. I connect to the 169.x address to configure equipment, 172.x network to test and check status and 209.x network to test internet connectivity. Don't I have...
by commguy
Thu Jul 31, 2014 7:21 am
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Re: Raspberry Pi subnet crossing access point

So it seems pretty obvious I have a NAT issue. I set my eth0 interface to 169.254.1.220 connected to a device that has it's own address of 169.254.1.1. Wlan0 has an address of 10.0.0.1 and is running a DHCP server that serves addresses between 10 and 50. I can ping 169.254.1.220 but not 169.254.1.1 ...
by commguy
Thu Jul 31, 2014 4:44 am
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8602

Raspberry Pi subnet crossing access point

Been beating my head against a wall for two days and I'm not sure where else to go with this. Project: Raspberry Pi Access Point I've set up a pi with a wifi dongle as an access point and it works as advertised using LadyADA's tutorial. I get internet, it works great. (maybe not great but as I expec...
by commguy
Sat Mar 01, 2014 2:58 am
Forum: Python
Topic: PyGame Framebuffer UI for small touchscreen
Replies: 18
Views: 5637

Re: PyGame Framebuffer UI for small touchscreen

I was going thru the code on the pycam and it looks like the touch recognition part of the code uses the icon area to define the touch 'sensing' portion. seems pretty simple really.
by commguy
Fri Feb 28, 2014 5:12 pm
Forum: Python
Topic: PyGame Framebuffer UI for small touchscreen
Replies: 18
Views: 5637

Re: PyGame Framebuffer UI for small touchscreen

Nice, I'm strictly doing touchscreen on mine. I didn't order the tact buttons from adafruit when I ordered my screen.
by commguy
Fri Feb 28, 2014 6:06 am
Forum: Python
Topic: PyGame Framebuffer UI for small touchscreen
Replies: 18
Views: 5637

Re: PyGame Framebuffer UI for small touchscreen

Cool, love to see it.

Update, I finally figured out the button thing. I think for the sake of the excersize I'm going to get the screens working then try to make it modular.
by commguy
Thu Feb 27, 2014 1:49 am
Forum: Python
Topic: PyGame Framebuffer UI for small touchscreen
Replies: 18
Views: 5637

Re: PyGame Framebuffer UI for small touchscreen

Essentially I'm using my Pi as a server. I have a few other projects in mind, but I'm keeping things simple for the moment. After thinking it over, since I'm implimenting this (once I have a viable framework), on a production server, it would be best to IMO to use the type of framework you are using...
by commguy
Wed Feb 26, 2014 11:40 pm
Forum: Python
Topic: PyGame Framebuffer UI for small touchscreen
Replies: 18
Views: 5637

Re: PyGame Framebuffer UI for small touchscreen

I think I'm starting to understand. I think I need to scrap mine and start over. At this point trying to fix the mess I made may be a bit pointless.

Perhaps I need to think about creating a framework that allows touchscreen input as the UI then add the components as you did as plugins.
by commguy
Wed Feb 26, 2014 10:08 pm
Forum: Python
Topic: PyGame Framebuffer UI for small touchscreen
Replies: 18
Views: 5637

Re: PyGame Framebuffer UI for small touchscreen

I know this is an ignorant question but bear with me, I'm learning.

I didn't see any class statements in your app, I've been having a bugger of a time with mine because of a particular class statement I'm using. Is there any particular reason you did not use classes?
by commguy
Wed Feb 26, 2014 9:33 pm
Forum: Python
Topic: PyGame Framebuffer UI for small touchscreen
Replies: 18
Views: 5637

Re: PyGame Framebuffer UI for small touchscreen

I see, I noticed a dependancy for json, are there any other dependancies for your app?
by commguy
Wed Feb 26, 2014 7:14 pm
Forum: Python
Topic: PyGame Framebuffer UI for small touchscreen
Replies: 18
Views: 5637

Re: PyGame Framebuffer UI for small touchscreen

Ok so not quite what I'm looking for. Your app doesn't call the fb screen and it looks like you are planning to put this right on top of X after the desktop loads?

So not really what I'm aiming at but you did give me some ideas. If they work out I'll be sure to add a credit for you. Thanks!
by commguy
Wed Feb 26, 2014 6:28 pm
Forum: Python
Topic: PyGame Framebuffer UI for small touchscreen
Replies: 18
Views: 5637

Re: PyGame Framebuffer UI for small touchscreen

That looks like it's exactly what I'm trying to do. If I read correctly, the main UI only allows access to screens that are in the plugins folder, and you can basically flip thru the screens from the main UI?
by commguy
Wed Feb 26, 2014 5:05 am
Forum: Networking and servers
Topic: Post your Raspberry Pi server setup!
Replies: 114
Views: 90059

Re: Post your Raspberry Pi server setup!

I have a production use PXE server based on ERPXE that I use to troubleshoot computers. It boots WinPE, several linux live distros as well as installation CDs. I also have some basic windows and dos tools that can be loaded from anywhere. Basic setup Software: Raspbian Hardware: Raspberry Pi Model B...
by commguy
Wed Feb 26, 2014 4:41 am
Forum: Bare metal, Assembly language
Topic: Netbooting - again / U-Boot specific
Replies: 2
Views: 3802

Re: Netbooting - again / U-Boot specific

Old thread but if you are still trying to do this using Win PE have a look at ERPXE.

Go to advanced search