And so i have a linux that is far from the router.
And i need to connect it via wifi.
apt-get install
Know your interface first...
nano /etc/network/interfaces
|
iface lo inet loopback |
iface eth0 inet dhcp |
|
allow-hotplug wlan0 |
iface wlan0 inet static ( Else use iface wlan0 inet dhcp ) |
address 192.168.1.155 |
netmask 255.255.255.0 |
gateway 192.168.1.1 |
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf |
nano /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev |
update_config=1 |
|
network={ |
ssid="NYO_WWWP" |
psk="topsecret" |
proto=RSN |
key_mgmt=WPA-PSK |
pairwise=CCMP |
auth_alg=OPEN |
No comments:
Post a Comment