Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Connection Trouble
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
THeFLyZoNe
n00b
n00b


Joined: 13 Apr 2004
Posts: 33
Location: Rotterdam

PostPosted: Wed Apr 13, 2005 6:13 pm    Post subject: Connection Trouble Reply with quote

I just got my new connection from my new ISP. Now I've got some trouble configuring it on my Gentoo linux pc. Emerge can't connect to it's servers, postfix gives an error about the hostnames not being found, etc. I've tried upgrading my kernel from 2.4 to 2.6, but no luck.

My gentoo-pc connects via my router to the internet. The router gives the ip's and dns's via dhcp


I can ping websites though it takes a long time:

i-lynx root # ping www.demon.nl
PING www.www.nl.demon.net (194.159.73.70) 56(84) bytes of data.
64 bytes from 194.159.73.70: icmp_seq=1 ttl=62 time=19.6 ms
64 bytes from 194.159.73.70: icmp_seq=2 ttl=62 time=17.6 ms
64 bytes from 194.159.73.70: icmp_seq=3 ttl=62 time=17.4 ms

--- www.www.nl.demon.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 40039ms <<<<<!!!!
rtt min/avg/max/mdev = 17.454/18.228/19.609/0.978 ms


Any ideas? Need more info?

Edit: My apache webserver is reachable and fast... It seems that incomming traffic is ok... but outgoing......

/etc/resolv.conf gets it's information from dhcp
Back to top
View user's profile Send private message
Petyr
Guru
Guru


Joined: 08 Jan 2003
Posts: 471
Location: San Diego, CA, USA

PostPosted: Wed Apr 13, 2005 6:30 pm    Post subject: Reply with quote

what happens if you ping a website directly using it's IP? Is the huge initial delay still there?

Petyr
Back to top
View user's profile Send private message
THeFLyZoNe
n00b
n00b


Joined: 13 Apr 2004
Posts: 33
Location: Rotterdam

PostPosted: Wed Apr 13, 2005 6:33 pm    Post subject: Reply with quote

Nope no delay here, so it could be a name resolv problem???
Back to top
View user's profile Send private message
THeFLyZoNe
n00b
n00b


Joined: 13 Apr 2004
Posts: 33
Location: Rotterdam

PostPosted: Wed Apr 13, 2005 7:56 pm    Post subject: Reply with quote

kick
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54799
Location: 56N 3W

PostPosted: Wed Apr 13, 2005 8:43 pm    Post subject: Reply with quote

THeFLyZoNe,

Did you update your router to point to the new ISPs nameservers ?
Do you have the old ISP nameservers in your /etc/resolv.conf ?
They may timeout now and you would have to wait for that.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
THeFLyZoNe
n00b
n00b


Joined: 13 Apr 2004
Posts: 33
Location: Rotterdam

PostPosted: Wed Apr 13, 2005 9:23 pm    Post subject: Reply with quote

Router is new, installed with modem, so no old config.

Resolv.cof gets it's nameservers from DHCP, provided by the router.

Btw, all the windows pc's works 100% so router configuration must be ok
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54799
Location: 56N 3W

PostPosted: Wed Apr 13, 2005 9:37 pm    Post subject: Reply with quote

THeFLyZoNe,

Quote:
Btw, all the windows pc's works 100% so router configuration must be ok
err no.
Windows and Linux do things differently, so that doesn't hold all the time.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Petyr
Guru
Guru


Joined: 08 Jan 2003
Posts: 471
Location: San Diego, CA, USA

PostPosted: Wed Apr 13, 2005 10:36 pm    Post subject: Reply with quote

THeFLyZoNe wrote:
Nope no delay here, so it could be a name resolv problem???

it is a name resolve problem. Take the ethernet card down, destroy all the dhcp cache's for it (/var/lib/dhcp, /var/cache), bring the ethernet back up and see if that affacts a chance in the resolve.conf file. It probably will, and then that should hopefully take care of the massive dns delay problems.

hth,
Petyr
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum