This article covers some common problems faced with wireless in Ubuntu.
Check that the device is on
- Many wireless network devices can be turned on or off. Check to see if there is a hardware switch, some devices can be switched off from Windows and may need to be turned back on from Windows.
- If it is turned on then see the section called “Check for device recognition”.
Check for device recognition
- Open a Terminal (Applications → Accessories → Terminal) and type the command : sudo lshw -C network You should see an output, along with the words "CLAIMED, UNCLAIMED, ENABLED or DISABLED"
- Claimed - this indicates a driver is loaded but not functioning, see the section called “Using Windows Wireless Drivers”
- Unclaimed - there is no driver loaded, see the section called “Using Windows Wireless Drivers”.
- Enabled - there is a driver loaded, see the section called “Check for a connection to the router”.
- Disabled - see the section called “Check that the device is on”.
Using Windows Wireless Drivers
Ubuntu supports a system known as NDISWrapper. This allows you to use a Windows wireless device driver under Ubuntu.
- Obtain the Windows Driver for your system and locate the file that ends with .inf.
- Install the ndisgtk package.
- Open ndisgtk (System → Administration → Windows Wireless Drivers).
- Select Install new driver.
- Choose the location of your Windows .inf file and click Install.
- Click OK.
Check for a connection to the router
- Open a Terminal (Applications → Accessories → Terminal) and type the command: iwconfig.
- If the ESSID for our router is shown there may be a problem with ACPI support. Boot the kernel with the pci=noacpi option.
Check IP assignment
- Open a Terminal (Applications → Accessories → Terminal) and type the command: ifconfig.
- If there is an IP address shown see the section called “Check DNS”.
- From the Terminal enter the command: sudo dhclient if_name where if_name is the connection listed earlier.
- If you receive a message that says bound to xxx.xxx.xxx.xxx then see the section called “Check DNS”
- If not then reboot the system.
Check DNS
- Open a Terminal (Applications → Accessories → Terminal) and type the command: ping -c3 85.190.27.2.
- Now type the command: ping www.ubuntu.com. If you get a response from both then see the section called “IPv6 Not Supported”.
- Type the command: cat /etc/resolv.conf. If there is no nameserver listed then contact your ISP and find out your primary and secondary domain name servers. Once you have this information see the section called “Wireless”.
IPv6 Not Supported
- IPv6 is supported by default in Ubuntu and can sometimes cause problems.
- To disable it, open a Terminal (Applications → Accessories → Terminal) and type the command: gksudo gedit /etc/modprobe.d/aliases.
- Find the line alias net-pf-10 ipv6 and change it to read alias net-pf-10 off.
- Reboot Ubuntu.
No comments:
Post a Comment