I finally hooked up to eth0, but it is very flakey. I can seem to only get a connection if the WiFi card is attached. Even then, sometimes I can't get it to work.
I decided to do an update to see if that fixed the problem... well...
Linux raspberrypi 3.2.27+ #60 PREEMPT Thu Aug 23 15:33:51 BST 2012 armv6l GNU/Linux
Turns out to be very new, newer than the script (of course).
Now I can still get to WiFi locally, and even Eth0, but no longer can get to the Internet which is weird...
route -n (when both connected):
Code: Select all
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
route -n (when only WiFi is connectect):
Code: Select all
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
I'm pretty sure that is what it was before.
In either case, I can ping local, but can't get remote. It is not a DNS issue as it finds the IP correctly...
Code: Select all
root@raspberrypi:~# ping www.google.com
connect: Network is unreachable
traceroute to www.google.com (74.125.224.209), 30 hops max, 60 byte packets
connect: Network is unreachable
but I can ping local
Code: Select all
root@raspberrypi:~# ping 192.168.1.12
PING 192.168.1.12 (192.168.1.12) 56(84) bytes of data.
64 bytes from 192.168.1.12: icmp_req=1 ttl=128 time=14.3 ms
64 bytes from 192.168.1.12: icmp_req=2 ttl=128 time=8.27 ms
64 bytes from 192.168.1.12: icmp_req=3 ttl=128 time=8.18 ms
^C
Current /etc/network/interfaces file:
Code: Select all
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.51
netmask 255.255.255.0
gateway 192.168.1.1
network 192.168.1.0
broadcast 192.168.1.255
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
When running the current install script I get:
Code: Select all
Press any key to continue...
An RTL8188CUS driver module is installed and loaded.
You have 1 wifi adapter configured.
wlan0 is configured, installed, and has a network connection.
The Pi has no Internet connection.