"connected to wired network" but browser no internet access

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Paranoidx

"connected to wired network" but browser no internet access

Post by Paranoidx »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
viking777

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

Post by viking777 »

Run the command

Code: Select all

nslookup google.com
It just checks your dns server. No result=no dns server.
Paranoidx

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

Post by Paranoidx »

"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?
viking777

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

Post by viking777 »

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.
Paranoidx

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

Post by Paranoidx »

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.
viking777

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

Post by viking777 »

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?
Paranoidx

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

Post by Paranoidx »

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.
Jam-Jul Lison

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

Post by Jam-Jul Lison »

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.
Paranoidx

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

Post by Paranoidx »

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

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

Post by Paranoidx »

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

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

Post by Paranoidx »

Could not figure out what was causing the issues. Reinstalled Mint and am currently having no issues connecting to any network.
loopasam

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

Post by loopasam »

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.
mushy366

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

Post by mushy366 »

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.
Locked

Return to “Networking”