3

I have sony vaio laptop with ubuntu 14.04 installed on it. My machine connects to netgear router but can't load any data from it. like i can't

ping google.com

It gives me 100% packet loss. and also no site is loaded in browser also

But when I connect to some other router it runs well like TP-link. What must be the problem. What my friend said is there must be problem in encryption . I unable to understand what may be the reason . I have googled a lot. But didn't find any solution to this.

lspi -knn | grep Net -A2

02:00.0 Network controller [0280] : Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
 Subsystem : Foxconn Interntional , Inc Device [105b: e044]
 kernel driver in use : ath9k

This is what I did encryption by following some post on stack

echo 'options ath9k nohwcrypt=1' sudo tee /etc/modprobe.d/ath9k.conf

EDIT

Now I have upgraded to 14.10 but still the problem is same. My mobile and other laptops running Windows OS can access internet. But what is the problem with ubuntu.??

edit

ifconfig -a

image to the output

When I ping 192.168.1.1 it gives

Destination  host unreachable

Also when I log into netgear router from another pc sometimes does not list my laptop connected to the router but what my laptop shows is it is connected to the router.Since it shows the dialog box and contents are connected to wifi name

edit

When I log in to router from my friends computer which has windows os on it. It works fine and also the address is 192.168.1.1. The issue I think is with my laptop only because in hostel same problem happens for all netgear routers that I have discussed above.

edit I did kept no security for router but still the problem persists

2 Answers2

0

Failure to ping google.com by name only indicates a DNS problem. Failure to ping by address indicates a connection problem. If I traceroute to google.com I get an address of 216.58.216.238 (likely one of many servers in the farm - the readers traceroute will vary).

If you can't ping google.com but can ping 216.58.216.238 you have an issue with DNS which you can likely resolve by changing the DNS server config in your router (assuming DHCP configuration for your client. Make these changes in the client configuration instead if using static IP addressing) Google public DNS server is at 8.8.8.8 as I recall your ISP can provide you with their DNS server address(es).

Being unable to ping 192.168.1.1 indicates that you may not be using the correct address as configured in the Netgear router. This address can be changed in the router configuration which can be reset to factory defaults if it's been mucked up beyond your ability to fix. It's also possible to disable wireless configuraton of the router. Use a Ethernet cable rather than wifi to access the router after restoring to default settings and set it up properly from scratch.

NOTE: Make sure you know the security type (encryption level) in use before resetting as well as the wireless passcode or you'll end up having to reconfigure every client on the network (good practice perhaps, but avoidable with a bit of pre-planning in most cases)

Elder Geek
  • 36,023
  • 25
  • 98
  • 183
0

doubt netgear has something to do with it. i use netgear router and it works just fine with ubuntu, but i have a different wireless card.

try checking additional drivers in dash menu, if you can use other driver for your wi-fi - try it.

also try checking is your IP4 address currently used by a windows machine within same network, i saw some problems with embedded in wi-fi DHCP`s when there are different OS computers in same network.

another thing you can try is installing different software on your wi-fi router, like DD-WRT or Tomato.

Hope it helps.