Batteriesnotincluded
Posts: 7
Joined: Fri Apr 04, 2014 12:34 pm

My RPi won't connect to internet

Sun Apr 27, 2014 8:49 pm

Hello all!
I have a small Ethernet network and also a wireless home network, and I tried connecting bot to my RPi by using the wifi co fig on the home screen, clicked scan, and nothing came up. I tried it several times, but still nothing. It came up an error when I tried typing in my network info, the error said something about the settings of the wifi config, so I typed sudo raspi-config to see if that was the cause, but, still no luck. Any help?
Thanks

User avatar
DougieLawson
Posts: 39871
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: My RPi won't connect to internet

Sun Apr 27, 2014 9:09 pm

Please post the output from the following commands:

lsusb
ifconfig -a
route -n
cat /etc/network/interfaces
cat /etc/wpa_supplicant/wpa_supplicant.conf # you may want to redact passwords
ping -c3 192.168.ggg.ggg # gateway address from route -n command
ping -c3 8.8.8.8
cat /etc/resolv.conf
ping -c3 google.com
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

iamabighugenerd
Posts: 2
Joined: Tue Apr 29, 2014 2:52 pm

Re: My RPi won't connect to internet

Tue Apr 29, 2014 4:16 pm

it appears this thread was dropped so ill pick it up for a hopeful bump

lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 006: ID 192f:0916 Avago Technologies, Pte.
Bus 001 Device 007: ID 040b:2000 Weltrend Semiconductor
Bus 001 Device 008: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB

ifconfig -a
eth0 Link encap:Ethernet HWaddr b8:27:eb:dd:06:2c
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 00:0f:55:0b:4f:84
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

cat /etc/network/interfaces
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

cat /etc/wpa_supplicant/wpa_supplicant.conf
cat: /etc/wpa_supplicant/wpa_supplicant.conf: Permission denied

pinging ip addies will give me a no network error so no neeed to type all that -

cat/etc/resolv.conf
nameserver 8.8.8.8

everything worked fine when i got the pi two weeks ago but now nothing - ive done a great many things to all the wifi dongles files - long story - boring - many forum posts offer all sorts of different advice and ive tried at least 50 of them before posting one of my own - no exaggeration ive been at it for a few days - anybody with ideas please would be greatly appreciated -

User avatar
DougieLawson
Posts: 39871
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: My RPi won't connect to internet

Tue Apr 29, 2014 5:08 pm

Take a closer look at /etc/wpa_supplicant/wpa_supplicant.conf

sudo nano /etc/wpa_supplicant/wpa_supplicant.con

Check that you have the right network SSID and network passwords in there. Beware they are cAsE sEnSiTiVe as in "FOO" does not match "foo".
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

iamabighugenerd
Posts: 2
Joined: Tue Apr 29, 2014 2:52 pm

Re: My RPi won't connect to internet

Tue Apr 29, 2014 5:36 pm

doh - router mistakenly in wep - all this time in wep - two whole days i looked right at the thing and thought it was in wpa - thank you for your rapid response - i apologize for my stupidity

User avatar
DougieLawson
Posts: 39871
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: My RPi won't connect to internet

Tue Apr 29, 2014 9:45 pm

iamabighugenerd wrote:doh - router mistakenly in wep - all this time in wep - two whole days i looked right at the thing and thought it was in wpa - thank you for your rapid response - i apologize for my stupidity
WEP is Badness® In fact it's the Much More Badness® version. I think it's down to about five seconds before the hacker in the van in your street is connected to your WEP network. WPA is better, WPA2 is best (if you don't have an ancient HP 6840 printer that can't support WPA2).
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

Return to “Troubleshooting”