OPTIONAL unblocking radio frequencies: sudo rfkill unblock wifi
sudo rfkill list
sudo rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
lsmod | grep dell # dell module for hotkeys, e.g. hardware switch to enable/disable wifi
modinfo dell-laptop
sudo rmmod -f dell-laptop # remove the module
sudo rfkill unblock all
sudo modprobe -v dell-laptop
sudo rfkill unblock all
Fn + F2
sudo rfkill list all # bluetooth is listed again
sudo reboot
sudo vi /etc/network/interfaces auto wlan0 iface wlan0 inet dhcp
sudo service networking stop sudo service networking start
ifconfig # should list wlan0 , if not then perhaps a driver issue
iwlist wlan0 scanning > wifi.txt # look for the highest quality (e.g. 51/70), Address: D8:C7:C8:11:22:33 (MAC Address)
iwconfig wlan0 essid "GuestNetwork" # quotes are mandatory iwconfig wlan0 mode managed iwconfig wlan0 ap d8:c7:c8:32:57:b2
sudo ifconfig wlan0 up
dhclient wlan0 # may be unnecessary
dmesg | tail # wlan0: associate with d8:c7:c8:32:57:b2 (try 1/3) , wlan0: associated
ifconfig # should show an ip address lease
which w3m # command line browser w3m -v http://google.com # http://kernel.ubuntu.com/~kernel-ppa/mainline tab to hop from link to link, alt tab to hop backwards a to download a linked file
WPA using wpa_supplicant
step 1: wpa_passphrase ssidname //prompts for passkey, then outputs hex
step 2: cd /etc nano /etc/wpa_supplicant.conf
network={ ssid="networkssidname" #psk="thePassword" psk=9a285f8f38b2e8e7a4c61d8b0db40c97242dc45cf5e99ca5465580b55e111be0 }
step 3: wpa_supplicant -ieth1 -cwpa_supplicant.conf -B //starts wpa_supplicant program to connect to wifi using interface eth1 //and config file wpa_supplicant.conf in the Background (so shell continues)
step 4: dhcpcd eth1
THIS IS FOR WEP iwconfig [interface] mode managed key [WEP key]
iwconfig eth0 channel 6
essid "cali"
mode managed
key examplekey
iwconfig essid "[ESSID]"
dhclient eth0
iwlist eth1 scan iwlist [interface] key
wpa-driver ndiswrapper wpa-conf /etc/wpa_supplicant.conf
WPA-PSK/TKIP (/etc/wpa_supplicant.conf)
ctrl_interface=/var/run/wpa_supplicant
network={ ssid="example wpa-psk network" key_mgmt=WPA-PSK proto=WPA pairwise=TKIP group=TKIP psk="secret passphrase" (hex instead of ascii?) }
then run wpa_supplicant -D madwifi -i ath0 -c wpa_supplicant.conf
can try (if problems) wpa_supplicant.conf network={ ssid=" " key_mgmt=WPA-PSK psk=" " }
ifconfig eth0 up
ath0 wlan0 wifi0 eth0 //depends on the chipset (e.g. atheros) iwconfig -a
iwconfig ath0 essid 'nameofnetwork' iwconfig ath0 key 3B5D3C7D207E37DCEEEDD301E3 //wep only
iwconfig ath0 ap 03:27:A8:BC:0F:F1 //specific AP - bssid