All the UI is doing is calling load driver & a start supplicant followed by running dhcp on receiving a connect from supplicant.
If it is only showing "Disconnect->Scanning", it means the association never went through. You should verify if all the modules are loaded after doing a "turn on". Also, use the wpa_cli interface to debug what is going on in the wpa_supplicant. Irfan On Mon, Sep 6, 2010 at 2:46 AM, Edward Pang <[email protected]> wrote: > Hi Everyone, > > Following the information from the link below, I can access webpage by > browser through Wifi (Beagleboard + USB dongle RT73). > http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html > > When i try to migrate the fix into froyo, Wifi is always loop in > Scanning -> Disconnect stage after pressing Turn On Wi-fi. > > Now, in froyo, i can get IP manually in console by both method below > (wpa conf is using UNIX socket configuration): > Method 1 > -------------- > insmod rt2x00lib.ko > insmod rt2x00usb.ko > insmod rt73.ko > ifconfig wlan0 up > wpa_supplicant -D wext -i wlan0 -dd -c wpa_supplicant.conf & > dhcpcd -f /system/etc/dhcpcd/dhcpcd.conf -d wlan0 > (Remark: i got "[: not found" twice after dhcpcd command, but IP can > be updated) > > Method 2 > -------------- > insmod rt2x00lib.ko > insmod rt2x00usb.ko > insmod rt73.ko > start ifcfg_ralink > start wpa_supplicant > start dhcpcd > > After method 2, I suppose my wpa_supplicant and dhcpcd works, and > init.rc is right. Am I correct? > Can anyone give me some hints or suggestion? > > Edward Pang > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
