Is there any permission setting wrong? / # ls -l /system/etc/dhcpcd/ -rwxrwxrwx root root 1009 2010-08-31 03:05 dhcpcd-run- hooks drwxrwxrwx root root 2010-08-31 04:52 dhcpcd-hooks -rwxrwxrwx root root 190 2010-08-31 03:05 dhcpcd.conf / # ls -l /system/etc/wifi/ -rw-rw---- wifi wifi 161 1970-01-01 00:08 wpa_supplicant.conf / # ls -l /data/misc/wifi/ -rw-rw---- wifi wifi 112 1970-01-01 00:07 wpa_supplicant.conf drwxrwx--- wifi wifi 1970-01-01 00:05 sockets / # ls -l /data/misc/dhcp/ -r-------- dhcp dhcp 273 1970-01-01 00:01 dhcpcd- wlan0.lease / # ls -l /data/system/wpa_supplicant/ srwxrwx--- wifi wifi 1970-01-01 00:05 wlan0
On Sep 7, 8:47 am, Oliver <[email protected]> wrote: > I guess it's a linux permissions problem. Make sure all the > configuration file have the proper permission. > > On Sep 6, 10:33 pm, Irfan Sheriff <[email protected]> wrote: > > > > > 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-androi... > > > > 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%2Bunsubscribe@ > > > googlegroups.com> > > > website:http://groups.google.com/group/android-porting -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
