Quote:
|
1. How can I configure debian testing (for kernel and all, see my signature) to access the internet through wireless conneciont (WPA not WPA2) ?
|
Use wpa_supplicant.
For pre-shared key WPA (psk):
Quote:
|
Originally Posted by /etc/nework/interfaces
iface eth1 inet dhcp
wpa-ssid myssid
wpa-key-mgmt WPA-PSK
wpa-psk 089425242100b53bdf5262294cc5c93391704c3c800079389a0068e454737e4d
|
The line wpa-psk can be encoded with the help of
Code:
wpa_passphrase myssid myhollys3cr3tkey
If you have a stock kernel, you have the options (crypto mainly)
You need wpa_supplicant packages
aptitude install wpasupplicant
Quote:
|
2. I also have wired connection (hispeed) so when I use wired connection how can I avoid that the dhclient tries needlessly to get ip from wireless access point during booting ?
|
In /etc/network/interfaces, do not put
auto eth0
nor
auto eth1
This way, it will never bring up the interfaces unless you ask.
For bringing up ethX:
ifup ethX
Down:
ifdown ethX
You cannot have both on otherwise you will have a default gateway conflict.
Now all this can be automatically detected with ifplugd. This is the next step
