Hi vinay: I had meet a question about wifi in android. I had suceessful to insmod my wifi driver but the wifi not up yet. when I typed "netcfg wlan0 up", I got the some error.
# ifconfig wlan0 up firmware: requesting zd1211/zd1211b_ub init: untracked pid 2425 exited usb 1-7.3: Could not load firmware file zd1211/zd1211b_ub. Error number -2 zd1211rw 1-7.3:1.0: couldn't load firmware. Error number -2 error: SIOCSIFFLAGS (No such file or directory) Could you give me some suggestion? Sorry to trouble you. Thanks in advance. ehung On 2月12日, 下午3時19分, vinay <vinc...@gmail.com> wrote: > muneesh, > > First verify your drivers are getting inserted and you are able to connect > AP with static Ip adress (use wlan_cfg). This is independent of Android and > it should work FIRST. > > 1. Add HAVE_CUSTOM_WIFI_DRIVER_2 := true to > build/target/board/generic/BoardConfig.mk file. > > 2. make sure external/wpa_supplicant/.config has got below entries > CONFIG_WIRELESS_EXTENSION=y > CONFIG_CTRL_IFACE=y > CONFIG_DRIVER_WEXT=y > 3. Build android with this you will get support for WEXt and wpa_supplicant > client. > > 4. After the system boot, insert driver and know the interface (in my case > it is eth1) > > 5. Modify wpa_supplicant.conf file for AP configuration and Run > /system/bin/wpa_supplicant -Dwext -ieth1 -c/sdcard/wpa_supplicant.conf > > 5. Run dhcp to get the IP > /system/bin/dhcpcd -d eth1 > > 6. Ping to AP to check connectivity. > > regards, > -vinay > > > > On Thu, Feb 12, 2009 at 11:58 AM, Maneesh <maneeshjain1...@gmail.com> wrote: > > > Hi > > > I have to port a Wi-Fi driver on Android supported platform. > > > can you somebody tell me, the steps to follow the porting a WiFi > > driver on android. > > > Is this any tools require if yes please let me know. > > > Maneesh- 隱藏被引用文字 - > > - 顯示被引用文字 - --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---