- First, check your network controller. run this command on your terminal
lspci -nnk | grep -iA2 net
see the second part where it shows your wireless controller. in this case, it is the Intel Corporation WiFi Link 5100 AGN. take note on the kernel driver in use is iwlwifi. iwlwifi, I will hunt you, and I will probe you!! - So we found out the culprit, now let's check whether it's working properly or not. run this command
iwconfig
it suppossed to print these information.
your wlan0 should at least show information similar to above or result something that indicate that adapter is working properly. if the result does not contain anything on wlan0 adapter, then we have something wrong on your adapter. why we need to check whether the adapter working or not? because this problem is not because your adapter hardware got problem, but because your driver is not work properly. something is interfering the driver to reach the world wide web. - let's remove the driver form the kernel first. run following command
sudo ifconfig wlan0 down sudo rmmod -f iwlwifi
this command will stop your wifi connection and remove the iwlwifi driver from kernel, and your wifi should be disconnected. In case your wifi are stubborn enough to keep connecting after you disconnect it, then kill manualy by selecting button Off on your wireless connection. - now run this command
sudo modprobe iwlwifi 11n_disable=1
it should disable you 11n capability of your wireless adapter on the driver, now let's bring up the wireless connection by running this commandsudo ifconfig wlan0
- hooorah, your wifi now should be connected to internet!! try ping to www.google.com to test if your wifi can reach the outside world.
sudo echo 'options iwlwifi 11n_disable=1' > /etc/modprobe.d/iwlwifi.conf
okay, so if the method above still cannot work, try to delete the resolv.conf. run this command
sudo rm /etc/resolv.conf
reboot, check whether your connection works or not. for any other linux other than mentioned here, it should do the trick, just note what is your wireless driver and adapter.
No comments:
Post a Comment