Problem with Wi-Fi on my own build

Started by cfreak, January 09, 2013, 11:10:44 AM

Previous topic - Next topic

cfreak

Hi -- I am very new to Olinux and apologize if this is already posted some (please point me there). I couldn't find anything on the forum so I guess I post to ask question.

I successfully built debian image and boot up. Via UART1 terminal, I am trying to bring wlan0 up but couldn't get it to connect to my WiFi. I am following the instruction:

https://www.olimex.com/wiki/Build_Bootable_SD_Card_with_Debian

and also using script.bin from script_GPIO_LCD_800x480 folder.

Here is my interface file:


auto lo
iface lo inet loopback

#auto eth0
#iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp
        wpa-ssid MySSID
        wpa-psk PASSWORD
    #wpa-driver wext
    #wpa-key-mgmt WPA-PSK


Message:


Listening on LPF/wlan0/48:02:2a:ea:0c:1b
Sending on   LPF/wlan0/48:02:2a:ea:0c:1b
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.


I used the same configuration for pre-build debian image (LCD/VGA) version is it work fine.

Thanks,
cfreak

jwischka

This may sound silly, but do you have a space after your SSID/password?

Also, have you tried turning off encryption on your router, to make sure that isn't the problem?

sith_mike

must say, i have the EXACT same issue  :-\

Cure

You probably don't have WPA installed.  Look here:

https://www.olimex.com/forum/index.php?topic=518.0

Start reading at:
"Next step is to setup WPA2 wifi support.  You must change your router to Encryption: NONE then connect and download the WPA2 package:"

cfreak

Quote from: Cure on January 10, 2013, 05:33:45 AM
You probably don't have WPA installed.  Look here:

https://www.olimex.com/forum/index.php?topic=518.0

Start reading at:
"Next step is to setup WPA2 wifi support.  You must change your router to Encryption: NONE then connect and download the WPA2 package:"

Thanks a lot. That works perfectly.