Hey guys,
I set up a lamp server on my pi (Raspbian) and everything on that end is configured properly, but now i'm trying to set a static ip and i'm running into some issues.
Firstly, i'm sharing the wireless connection on my laptop (ubuntu) with my pi via ethernet cable.
I've tried a few different configurations of /etc/network/interfaces but i'm still unable to access the pi from the web.
Here is the ' ifconfig $$ netstat -r ' from both machines:
firstly the laptop:
inet addr:10.42.0.1 Bcast:10.42.0.255 Mask:255.255.255.0
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default 192.168.99.1 0.0.0.0 UG 0 0 0 eth1
10.42.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth1
192.168.99.0 * 255.255.255.0 U 0 0 0 eth1
then the pi:
inet addr:10.42.0.125 Bcast:10.42.0.255 Mask:255.255.255.0
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default 10.42.0.1 0.0.0.0 UG 0 0 0 eth0
10.42.0.0 * 255.255.255.0 U 0 0 0 eth0
This is the setting after I already tried to set my static ip to 10.42.0.125. I was unable to access the pi @ this ip from anything except the laptop it's directly connected to.
This might be a silly thing, but I could use some help
Thanks!