1 |
On Wednesday 01 November 2006 14:47, Luigi Pinna wrote: |
2 |
> gpgkeys: HTTP fetch error 6: Couldn't resolve host 'subkeys.pgp.net' |
3 |
> Hallo! |
4 |
> How can I set on boot time my lan connection using a usb card? |
5 |
> Some service need internet on boot (ntp-client, etc.) but I cannot find |
6 |
> a script on /etc/init.d/ to support it. |
7 |
> The connection uses wpa. |
8 |
|
9 |
If I understand you correctly, you won't find the entry you're looking for. |
10 |
You need to create a link with the name of your usb card interface. |
11 |
ifconfig -a will show you what the new network card is recognised as and then |
12 |
you have to link it to /etc/init.d/net.lo. For example, if ifconfig shows |
13 |
you a new interface called wlan0 then you need to run something like this: |
14 |
|
15 |
# cd /etc/init.d |
16 |
# ln -s net.lo net.wlan0 |
17 |
|
18 |
Then, set something like RC_NET_STRICT_CHECKING="no" in your /etc/conf.d/rc |
19 |
and all the right things should happen when you boot up. |
20 |
|
21 |
> A second question: some times the connection gets down but dhcpcd |
22 |
> doesn't see it and the only solution is to kill wpa_supplicant and |
23 |
> dhcpcd and restart them. |
24 |
> How can I prevent this problem, or connect automatic again? |
25 |
|
26 |
Sorry, not adequately clued up on this, to offer any reliable advice. I know |
27 |
that the wpa_supplicant requires the iface to stay up, something which may |
28 |
not happen if dhcpcd goes down and takes the iface with it. You may want to |
29 |
try adding an option like dhcpcd_wlan0="-o" in your /etc/conf.d/net to see if |
30 |
it makes any difference. Someone more knowledgeable in network matters ought |
31 |
to advise here. |
32 |
|
33 |
HTH. |
34 |
-- |
35 |
Regards, |
36 |
Mick |