udiniqgeek
Thinks about OS Linux Ubuntu | Ubuntu Tutorials
HOW TO MAKE MONEY by INTERNET
sfi

Configuring Wireless WPA on Ubuntu 8.10




Actually wireless WPA automatically been detected automatically in the ubuntu 8.10 destop version network-manager. But the lack of network-manager is that we can only enter through the network manager ip, so we can not configure ip address through ifconfig interface or via /etc/network/interafces.

The easiest way for these difficulties is to uninstall network-manager and edit the ip address via /etc/network/interfaces.


To uninstall the network manager in ubuntu 8.10, the following steps :

udiniq@server:/# apt-get remove network-manager

After uninstall the network manager please enter ip address through vim /etc/network/interfaces and DNS settings in vim / etc / resolv.conf, restart the computer network and can connect to your network.



And what about the scanning and add wifi in ubuntu 8.10?

To add wifi at ubuntu 8.10 we can add additional software wpa_supplicant. Through this software we can scan and add wifi wifi wpa-based. To install wpa_supplicant please run the following command:

udiniq@server:~# apt-get install wpasupplicant
udiniq@server:~# vim /etc/default/wpasupplicant

--by pressing the letter i add the following line--

ENABLED=0

--save by pressing :wq and Enter--

After wpa_supplicant installed, the next step is to add wifi in wpa_supplicant, steps :

udiniq@server:~# iwlist wlan0 scanning

Through this command the wireless laptops will wiriles scanning their surroundings, the following is an example of the scan results :

wlan0 Scan completed :
Cell 01 - Address: 00:16:B6:E1:89:E8
ESSID:"ECHO+"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=85/100 Signal level:-48 dBm Noise level=-83 dBm
Encryption key:on
IE: WPA Version 1

Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP

Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s

24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s

12 Mb/s; 48 Mb/s
Extra:tsf=000000008d58618a
Extra: Last beacon: 24ms ago

Cell 02 - Address: 00:10:E7:B5:7C:C4
ESSID:"SOBAT01"
Mode:Master
Channel:2
Frequency:2.417 GHz (Channel 2)
Quality=38/100 Signal level:-86 dBm Noise level=-83 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:tsf=00000011235302f2
Extra: Last beacon: 4496ms ago


Can be seen from the results of scanning, wireless lapetop I can catch 2 wireless, ie ECHO + and SOBAT01.

From the results of scanning over wireless I assume that we will use the wireless essid is ECHO +, add step in our lapetop is as follows:

udiniq@server:~# vim /etc/wpa_supplicant.conf

--by pressing the letter i add the following line--

ctrl_interface=/var/run/wpa_supplicant
network={
ssid="ECHO+"
psk="passowrd wireless"
key_mgmt=WPA-PSK
proto=WPA
}

--save by pressing :wq and Enter--

Then run the following command :

udiniq@server:~# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd

The next step is setting ip address on our wifi:

1. Wireless IP Address using DHCP

udiniq@server:~# dhclient wlan0

2. Wireless use Static IP Address, for example 192.168.1.2/24 with gateway 192.168.1.1 and DNS 10.1.10.10:

udiniq@server:~# ifconfig wlan0 192.168.1.2/24
udiniq@server:~# route add default gw 192.168.1.1

and the DNS settings :

udiniq@server:~# echo nameserver 10.10.10.10 >/etc/resolv.conf

Ok, now you can try to ping to yahoo.com and if you have internet connection reply means your laptop can be used like.

SITE ARCHIVE
udiniqgeek
Thinks about OS Linux Ubuntu | Ubuntu Tutorials
Copyright©2009 | UdiniqGeek.com - Thinks about OS Linux Ubuntu - Ubuntu Tutorials | Contact Us | :: RSS | [Valid RSS]