试试用udhcpc获取ip地址

2012/5/30 张启德(Zhang Qide) <[email protected]>

> 在 2012年5月22日 下午8:07,cathayan <[email protected]> 写道:
> > 试试命令行:
> >
> > iwconfig wlan0 essid youressid
> > iwconfig wlan0 key s:yourpass
> > iwconfig wlan0 mode managed
> > dhclient wlan0
> 使用命令行也不行
> sudo dhclient wlan0 获得ip后的网卡参数如下
>
> wlan0     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
>          inet6 addr: fe80::721a:4ff:fe68:96a2/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:307 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:799 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:34691 (33.8 KiB)  TX bytes:100519 (98.1 KiB)
>
> wlan0:avahi Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
>          inet addr:169.254.7.221  Bcast:169.254.255.255  Mask:255.255.0.0
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact
> [email protected]
> Archive:
> http://lists.debian.org/cabffvkjs2qdbhvhigrn5des9-_gpb1r1rkobrc_7xsgm+xq...@mail.gmail.com
>
>

回复