Connect to wireless network

Android tablets usually don't have Ethernet port, so there can be problems with internet connection. But thank to preinstalled package wireless-tools, we can surf the Net without problems.

  • Note: after every reboot of tablet, you have to connect to internet again.


Modprobe module

My tablet is using Realtek 8192cu module. However, Linux was not recognizing my wireless card. I found solution - just type sudo modprobe 8192cu and here you are!

If you don't know, what module to modprobe, reboot for a while to Android, run terminal, and type lsmod. Use a search engine to know what is model of your wireless adapter.

Power on WLAN card

sudo ifconfig wlan0 up

Scan for networks

sudo iwlist wlan0 scan

Connect to network

sudo iwconfig wlan0 essid name_of_network
  • If your Wi-Fi network is secured with hexadecimal key, add key your_password
  • If your Wi-Fi network is secured with ASCII key, add key s:your_password

Lookup for DHCP

dhclient wlan0

Test connection

You can ping

ping -c 10

You can also install lynx and browse internet

sudo apt-get install lynx

If sometimes goes wrong

If there is no internet connection:

  • Add these lines to /etc/resolv.conf:
  • Decrease the distance between router and tablet, and try again
  • Reboot device, and try again
  • Check if another device (for example PC) recognize network and is capable to browse websites