Ja miałem taką konfigurację:
eth0 jest ustawione na static ip ale było przez jakiś czas nieużywane, wszystko szło przez wifi
Kod:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.0.0.11
netmask 255.0.0.0
gateway 10.0.0.1
#wlan
iface wlan0 inet dhcp
wpa-psk psk=1b5f176cc6c646a2fbe0bf654d105ae523911a0530572b6b6c540d5b89da5210
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA2
wpa-ssid MYNET
auto wlan0
Aby uzyskać hash hasła wpisz polecenie
Kod:
wpa_passphrase SSID hasło
np
[root@qbit /]# wpa_passphrase MYNET mypassword
network={
ssid="MYNET"
#psk="mypassword"
psk=1b5f176cc6c646a2fbe0bf654d105ae523911a0530572b6b6c540d5b89da5210
}