LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-30-2014, 03:07 PM   #1
jaydee70
LQ Newbie
 
Registered: Apr 2014
Posts: 4

Rep: Reputation: Disabled
With static IP no internet, with DHCP internet


Hoi Guys,

Here's my weird problem.
I use a static IP for my linux nas-server.
Its been working great for many years.
This weeks something happened, don't know sure what.

I got no internet when i use my static IP 192.168.1.50
So I swtiched tot AUTO and i got internet.
Good speed and all pages open.

If i go back to static IP...
And here is the weird part.
I can ping google with:
ping 8.8.8.8 --> works fine
If i go to ww.google.nl it works, but very slow.
If I try to open a search result, like antoher page, i won't open.

Can someone help me please?

Grtz, JayDee
 
Old 04-30-2014, 03:15 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Sounds like you're not configuring the DNS properly when setting up the static connection.
 
1 members found this post helpful.
Old 04-30-2014, 03:16 PM   #3
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

Rep: Reputation: Disabled
The delays and connectivity issues may be caused by a non-functioning name server, or it could be IPv6 related.

What are the contents of your /etc/resolv.conf file?

Edit: @suicidaleggroll: OK, you won this time.
 
1 members found this post helpful.
Old 04-30-2014, 11:08 PM   #4
jaydee70
LQ Newbie
 
Registered: Apr 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
Sounds like you're not configuring the DNS properly when setting up the static connection.
In the network manager i've used the DNS from my provider (see attechment):
212.54.40.25 212.54.35.25

Quote:
Originally Posted by Ser Olmy View Post
The delays and connectivity issues may be caused by a non-functioning name server, or it could be IPv6 related.

What are the contents of your /etc/resolv.conf file?

Edit: @suicidaleggroll: OK, you won this time.
nameserver 127.0.0.1

Should be the nameserver the same as the dns in the network manager?
Attached Thumbnails
Click image for larger version

Name:	Network manager.JPG
Views:	49
Size:	50.4 KB
ID:	15375  
 
Old 05-01-2014, 05:37 AM   #5
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

Rep: Reputation: Disabled
Quote:
Originally Posted by jaydee70 View Post
nameserver 127.0.0.1

Should be the nameserver the same as the dns in the network manager?
It certainly should.

"127.0.0.1" means you're querying a local DNS service on your system, one which may not be configured optimally (or at all). That would explain the delays and name resolution problems.
 
1 members found this post helpful.
Old 05-01-2014, 06:44 AM   #6
jaydee70
LQ Newbie
 
Registered: Apr 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
It certainly should.

"127.0.0.1" means you're querying a local DNS service on your system, one which may not be configured optimally (or at all). That would explain the delays and name resolution problems.
Many tnx for your help and quick responce.
Now we know what the problem is, how can I solve it?
My setting in network manager are good.
It seems that network manager is not able to write the DNS into the /etc/resolv.conf files.

Any Idea how I can fix this?

Last edited by jaydee70; 05-01-2014 at 11:01 AM.
 
Old 05-02-2014, 06:59 AM   #7
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

Rep: Reputation: Disabled
I have no idea why Network Manager doesn't put the DNS entries into the /etc/resolv.conf file.

Have you tried simply editing the file directly?
 
Old 05-02-2014, 03:19 PM   #8
jaydee70
LQ Newbie
 
Registered: Apr 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
I have no idea why Network Manager doesn't put the DNS entries into the /etc/resolv.conf file.

Have you tried simply editing the file directly?
Yes I did.
But it already says in the config file:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1

I already tried reinstalling network manager, still same problem.
Even worse, now the problem is also on auto (DHCP)
I screwed up some file, I'm sure. But which one
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting static IP on linux PCs with no static IP address from internet provider? solvetek Linux - Networking 1 10-22-2011 08:04 AM
[SOLVED] static IP = no internet raghy Linux - Networking 7 06-30-2011 07:51 AM
[SOLVED] Fedora 7 machine browses the Internet on DHCP but fails completely on static address simbini Linux - Newbie 5 08-05-2010 01:27 AM
switching from dhcp to static lost internet basq3 Linux - Networking 8 03-29-2005 09:44 AM
static ip, no internet... dslboy Slackware 4 09-19-2004 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration