1 |
Gavin Seddon wrote: |
2 |
> thanks, |
3 |
> Your wiki is what I used to setup initally. I have |
4 |
> no /etc/init.d/net.ath0. When I run dhclient ath0 I get |
5 |
> 'no working leases in persistent database-sleeping'. It cannot assign a |
6 |
> ip to ath0. Any ideas? |
7 |
> gav |
8 |
> |
9 |
hey, |
10 |
|
11 |
have you checked that you are currently connected to a wireless network, |
12 |
and that the interface is up? |
13 |
|
14 |
using: 'iwconfig ath0' should tell you if the device is connected to a |
15 |
network and 'ifconfig ath0' should inform you if the interface is up |
16 |
|
17 |
in my experience, if iwconfig ath0 shows the correct information, it may |
18 |
be that the wireless card was configured while the interface was down, |
19 |
also in my experience when the interface is brought up, it has a |
20 |
tendency to overweight the settings previously set. |
21 |
the order of commands i normaly use to connect my atheros card to a |
22 |
network is: |
23 |
|
24 |
ifconfig ath0 up |
25 |
wlanconfig ath0 list scan (if this returns results, then i count the |
26 |
card as working) |
27 |
iwconfig ath0 |
28 |
<if iwconfig returns favorable results> |
29 |
-- dhcpcd ath0 |
30 |
<else> |
31 |
-- iwconfig ath0 mode mannaged |
32 |
-- iwconfig ath0 essid <id> (obtained id from wlanconfig ath0 list scan) |
33 |
-- iwconfig ath0 ap <ap mac> (obtained id from wlanconfig ath0 list scan) |
34 |
-- iwconfig ath0 channel <channel> (obtained id from wlanconfig ath0 |
35 |
list scan - i have fond its not realy required, but i normaly set it |
36 |
anyway) |
37 |
-- dhcpcd ath0 |
38 |
|
39 |
now while i use dhcpcd, i assume this should also work for dhclient - |
40 |
good luck! |
41 |
|
42 |
Nich |
43 |
-- |
44 |
gentoo-laptop@g.o mailing list |