How To Enable Wireless Lan Inwards Ubuntu 11.10

This page contains a gear upward of bash commands that volition enable a wireless interface on ubuntu 11.10.

List all network interfaces alongside wireless extensions

sudo iwconfig

Enable wlan0 interface
sudo ip link gear upward wlan0 up

Scan for available access point
sudo iwlist wlan0 scan

Know the hex equivalent of the wifi password
wpa_passphrase MY-WIFI xyz1234

Which volition output:

network={     ssid="MY-WIFI"     #psk="xyz1234"     psk=abcdefghijkl12345678     } 
Take authorities annotation of the psk
Edit network interfaces config in addition to add together wlan0
sudo nano /etc/network/interfaces 

Using DHCP
auto wlan0 iface wlan0 inet dhcp wpa-ssid MY-WIFI wpa-psk abcdefghijkl12345678 

Using Static IP
auto wlan0 iface wlan0 inet static netmask 255.255.255.0 gateway 192.168.0.1 address 192.168.0.10 network 192.168.0.0 broadcast 192.168.0.255 wpa-driver wext wpa-ssid MY-WIFI wpa-ap-scan one wpa-proto RSN wpa-pairwise CCMP wpa-group CCMP wpa-key-mgmt WPA-PSK wpa-psk abcdefghijkl12345678 

Restart networking service
sudo /etc/init.d/networking restart 

List all modules in addition to hold off for your wireless carte
lsmod 

To enable wireless module upon kicking time, edit /etc/default/grub file to hold off similar something below:
sudo nano /etc/default/grub GRUB_CMDLINE_LINUX="insmod rt1234ef" 
Next
Previous
Click here for Comments

0 komentar:

Please comment if there are any that need to be asked.