2014년 11월 6일 목요일

Enable Wi-Fi on Lubuntu 13.08

CT can connect internet via wifi or lan cable.

Lan cable is definitely easy to connect, just plug in.

However, wifi needs some works to connect.

Below step is how to connect wifi.

My step is started form installing vim editor.

If you have already installed vim,

start installation of linux-firmware.
sudo apt-get install vim

sudo apt-get install linux-firmware

sudo apt-get install wifi-rader

These are necessary packages.


For wifi, "bcmdhd" module is needed.

modprobe bcmdhd

To eanble automatically wifi at the bot time, modify /etc/modules
vi /etc/modules

add this module at the end of file
bcmdhd

Then reboot.
sudo reboot

now make configuration for wifi



ifconfig wlan0 up

iwlist wlan0 scan

By iwlist command, I can find the wifis which are near by me.

wpa_passphrase commnad make configuration fot which SSID will be used.
wpa_passphrase [SSID] [PASSWORD] >> /etc/wpa_supplicant.conf

[SSID} and  [PASSWAORD] are my wifi's.

Then, set parameter of wifi.
vi /etc/network/interfaces

type below 3 lines at the end of file.
auto wlan0

iface wlan0 inet dhcp

wpa-conf /etc/wpa_supplicant.conf

Last is set nameserver.
vi /etc/resolv.conf

add this line.
nameserver 8.8.8.8

Done.

After reboot, enjoy wifi.

 

[contact-form-7 id="24" title="Karl"]

댓글 없음:

댓글 쓰기