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

