0

New to raspberry pi, no idea how to troubleshoot this problem. Could it be a hardware problem?

http://pastebin.com/LFpcBZVB

/etc/network/interfaces auto lo

iface lo inet loopback
iface eth0 inet dhcp

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

ifconfig & iwconfig

> ifconfig:

wnla0 Link encap:Ethernet HWaddr 00:13:ef:10:13:94
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)</code>

> iwconfig

wlan0 associated Nickname:"< WIFI@REALTEK >"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry: off RTS thr:off Fragment thr: off
Power management: off
link quality:0 signal level:0 noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 missed beacon:0
  • What do the commands ifconfig and iwconfig display? – HeatfanJohn Mar 5 '14 at 21:42
  • @HeatfanJohn ifconfig: wnal0 Link encap:Ethernet HWaddr 00:13:ef:10:13:94 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) – user13301 Mar 6 '14 at 0:13
  • @HeatfanJohn iwconfig: wlan0 associated Nickname:"< WIFI@REALTEK >" Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated Sensitivity:0/0 Retry: off RTS thr:off Fragment thr: off Power management: off link quality:0 signal level:0 noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 missed beacon:0 – user13301 Mar 6 '14 at 0:13
  • I added your information to your question. Did ifconfig really display wnal0 or is that just a typo and should be wlan0? Also, please add the contents of your /etc/network/interfaces file to the question. – HeatfanJohn Mar 6 '14 at 16:42
  • Also what wireless card is it? Output from lsusb and dmesg may be helpful. (Consider using pastebin.net) – Fred Mar 6 '14 at 19:52
1

You appear to have a typo in your /etc/network/interfaces file:

iface wla0 inet manual

wla0 should be wlan0

  • fixed, but wifi still isn't working. wpa_supplicant.conf contains: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssidd="NETWORK_NAME" psk="" proto = WPA key_mgmt=WPA-PSK pairwise = TKIP auth_alg = OPEN } – user13301 Mar 8 '14 at 0:07
0

Got issue with same symptoms, no connections, scan with iwlist ok with all the networks access points. ifconfig list the card as wlan0.

Was suspecting the power source to be too weak.

Using a cheap tp-link wifi card, none of the default raspberry tutorial was working, nor most of online tutorials.

This method is working for me.. Using the interactive method of wpa_passphrase.

wpa_passphrase YOURWIFINAME > wpa.conf
RETURN
yourwifipassword
RETURN
sudo dhcpcd wlan0 
sudo wpa_supplicant -B -D wext -i wlan0 -c ~/wpa.conf

Network immediately available after that.


To execute those commands automatically at system startup.

Edit /etc/rc.local

sudo nano /etc/rc.local

Sample content. The full path must be specified for your config file:

#!/bin/sh -e   
sudo dhcpcd wlan0
sudo wpa_supplicant -B -D wext -i wlan0 -c /home/pi/wpa.conf
exit 0

Give execution right to /etc/rc.local

sudo chmod +x /etc/rc.local

This shows another way to force some particular setup on startup for headless it's beautiful.

  • I removed the picture at the end of your post because frankly I couldn't see what purpose it served. – Dmitry Grigoryev Sep 26 at 8:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.