"connected to wired network" but browser no internet access

Questions about cabled networking
Forum rules
Before you post please read this

"connected to wired network" but browser no internet access

Postby Paranoidx on Sun Jul 15, 2012 6:00 pm

My network status says I'm connected to wired network but firefox gives me a server cannot be found message.
This is only at work. At home I have no issues with the same system.
At work, i have plenty of other systems running on the network without any problems.

I'm a complete newb here and have no linux troubleshooting skills.

I was able to ping my router a 192.168.10.1
and here is what ifconfig gave me

eth0 Link encap:Ethernet HWaddr 00:25:22:67:19:a6
inet addr:192.168.10.110 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::225:22ff:fe67:19a6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:702 errors:0 dropped:0 overruns:0 frame:0
TX packets:1345 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:64029 (64.0 KB) TX bytes:143559 (143.5 KB)
Interrupt:43 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)


Thanks in advance.
Paranoidx
Level 1
Level 1
 
Posts: 13
Joined: Tue Jul 10, 2012 12:26 am

Linux Mint is funded by ads and donations.
 

Re: "connected to wired network" but browser no internet acc

Postby viking777 on Mon Jul 16, 2012 9:53 am

Run the command

Code: Select all
nslookup google.com


It just checks your dns server. No result=no dns server.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: "connected to wired network" but browser no internet acc

Postby Paranoidx on Mon Jul 16, 2012 12:42 pm

"connection timed out:: no servers could be reached"

DNS is set to the same address as the default route.

How would I go about getting this fixed?
Paranoidx
Level 1
Level 1
 
Posts: 13
Joined: Tue Jul 10, 2012 12:26 am

Re: "connected to wired network" but browser no internet acc

Postby viking777 on Mon Jul 16, 2012 1:16 pm

Well you have to set up a proper dns server. your router is obviously not performing that function. The only way I know how to do this is to access your router web interface (in other words, you open your web browser and type:

http://192.168.0.1

This will open your routers interface and ask you for the username and password - I hope you remember what those are.

What you get after that depends on what router you are using. On my Netgear one I go to "Basic Settings" and in the section titled "Domain Name Server (DNS) Address" I click the "use these dns servers" radio button and in the primary and secondary dns servers boxes I enter


Primary DNS ... 202.67.222.222
Secondary DNS ... 202.67.220.220

That is because I am using 'OpenDNS'. There are many DNS servers so for example if you wanted to use the google servers you would enter:

Primary DNS ... 8.8.8.8
Secondary DNS ... 8.8.4.4

Which has the advantage of being easier to remember.

Alternatively you can use the ones provided by your isp if you know what they are.

In either case you have to click 'Apply' followed by 'Logout' in the router admin window.

There may be an easier way but I don't know it and that should work anyway.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: "connected to wired network" but browser no internet acc

Postby Paranoidx on Mon Jul 16, 2012 1:37 pm

Went into router configuration, changed DNS servers to googles DNS. Applied and restarted router.
I'm still getting the same "server cannot be found" and nslookup still gives me "no servers could be reached".

Should I try manually setting up the ip and dns server addresses through linux mint's network manager? If so, what do I put in under 'Search Domain'? I'm not familiar with that option.
Paranoidx
Level 1
Level 1
 
Posts: 13
Joined: Tue Jul 10, 2012 12:26 am

Re: "connected to wired network" but browser no internet acc

Postby viking777 on Tue Jul 17, 2012 11:22 am

Paranoidx wrote:Went into router configuration, changed DNS servers to googles DNS. Applied and restarted router.
I'm still getting the same "server cannot be found" and nslookup still gives me "no servers could be reached".

Should I try manually setting up the ip and dns server addresses through linux mint's network manager? If so, what do I put in under 'Search Domain'? I'm not familiar with that option.


Give it a try, but I don't know what 'search domains' is supposed to be, all I can tell you is that in all of my connections that setting is blank (although I didn't set my connections up manually you understand). Anyway blank is how I would leave it.

Is this definitely a Mint problem or could there possibly be something wrong with the router, or your isp or phone line, anything like that? I had a problem like that a few years back and it turned out my adsl line filter was faulty - not easy to diagnose unless you replace it with a new one.

Have you got any other machines connected to this router and if so do they work normally?
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: "connected to wired network" but browser no internet acc

Postby Paranoidx on Tue Jul 17, 2012 1:46 pm

Put in manual settings through the network manager and was unsuccessful.

Yes, I have other computers running windows that have no issue connecting. Also, my linux mint system was having no problems connecting to my home network. It only started giving me issues when I tried to connect it to my work network, which also has many windows systems running without any problems.
Paranoidx
Level 1
Level 1
 
Posts: 13
Joined: Tue Jul 10, 2012 12:26 am

Re: "connected to wired network" but browser no internet acc

Postby Jam-Jul Lison on Thu Jul 19, 2012 1:45 pm

Ok I don't know much about Linux, still a newbie myself but I am thinking perhaps this could be an issue with firewalls your work might have on their network. Especially if you work for a big company. I saw you said Windows works fine there. So they likely would have it set up to handle anything Windows. Perhaps even Mac. Linux not being mainstream, might have more problems though.
Jam-Jul Lison
Level 1
Level 1
 
Posts: 31
Joined: Mon Jul 02, 2012 4:51 pm

Re: "connected to wired network" but browser no internet acc

Postby Paranoidx on Thu Jul 19, 2012 3:29 pm

No, I'm the one who set up the router here (small company) and all settings seem to be correct. I'm pretty sure it's something with mint.
Paranoidx
Level 1
Level 1
 
Posts: 13
Joined: Tue Jul 10, 2012 12:26 am

Re: "connected to wired network" but browser no internet acc

Postby Paranoidx on Thu Jul 19, 2012 6:31 pm

Im guessing it's a DNS issue??

changed /etc/resolv.conf into a symlink after reading another thread and also commented out dns=dnsmasq in networkmanager.conf.
Now, the browser tells me the server cannot be found right away instead of trying to resolve DNS.

I'm stumped. :(
Paranoidx
Level 1
Level 1
 
Posts: 13
Joined: Tue Jul 10, 2012 12:26 am

Re: "connected to wired network" but browser no internet acc

Postby Paranoidx on Thu Jul 26, 2012 4:05 pm

Could not figure out what was causing the issues. Reinstalled Mint and am currently having no issues connecting to any network.
Paranoidx
Level 1
Level 1
 
Posts: 13
Joined: Tue Jul 10, 2012 12:26 am

Re: "connected to wired network" but browser no internet acc

Postby loopasam on Thu Nov 22, 2012 3:55 pm

I solved a similar problem the following way:

Open the domain name resolver configuration file:

Code: Select all
 gedit /etc/resolv.conf


and look the content of the file (more info about this file). If the list is long or contains weird domain names, it's likely that the problem is coming from there. It might be due to automatic changes in configurations, for instance when you switch from one network to another, etc... My problem was coming from here, some domain name related to my work network were messing up with the resolver.

How to correct it (what worked for me): Resetting the file.

Copy-paste the content of resolv.conf in a new file in order to have a back-up. Then do:

Code: Select all
sudo apt-get remove --purge resolv.conf
sudo /etc/init.d/networking restart


Then re-start your computer. Open resolv.conf, it's content should have changed and in my case my Internet was working back just as new.
loopasam
Level 1
Level 1
 
Posts: 1
Joined: Tue Dec 06, 2011 9:19 am

Re: "connected to wired network" but browser no internet acc

Postby mushy366 on Thu Nov 29, 2012 1:37 pm

for what its worth. If you are having problems getting your routers nameservers to change. You can just add the google or opendns nameservers into resolv.conf directly and bypass your router alltogether.
mushy366
Level 1
Level 1
 
Posts: 2
Joined: Thu Nov 29, 2012 1:21 pm

Linux Mint is funded by ads and donations.
 

Return to Ethernet

Who is online

Users browsing this forum: No registered users and 7 guests