Chinaunix首页 | 论坛 | 博客
  • 博客访问: 468180
  • 博文数量: 153
  • 博客积分: 3010
  • 博客等级: 中校
  • 技术积分: 1724
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-08 11:55
文章分类

全部博文(153)

文章存档

2011年(1)

2010年(55)

2009年(88)

2008年(9)

我的朋友

分类: LINUX

2009-02-12 18:19:35


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 (like 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.


In addition, in case fireware problems, please check the /etc/fireware/*** (/system/etc/fireware/xxx)
==EOF=====
阅读(889) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~