|
|
rc.conf中无线网络设置如下
ath0="ath0 192.168.1.101 netmask 255.255.255.0 broadcast 192.168.1.255"
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
wlan_ath0="ath0 essid INUYASHA key s:xxxxx"
INTERFACES=(eth0 ath0)
运行sudo /etc/rc.d/network restart
:: Stopping Network [BUSY] SIOCDELRT: No such process
[FAIL]
:: Starting Network [BUSY] lo Link encap ocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5606 errors:0 dropped:0 overruns:0 frame:0
TX packets:5606 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:280300 (273.7 Kb) TX bytes:280300 (273.7 Kb)
> Could not associate ath0 - try increasing WIRELESS_TIMEOUT and check network is WEP or has no security
SIOCADDRT: No such process
[FAIL]
-------------------
手动设置无线是可以用的,但是自动就不行了
看来/etc/rc.d/network的内容好像不支持wep的说 |
|