Re: [gentoo-user] a weird problem regarding internet connection...
I have no idea what might have happened yesterday... I got home from a party @5AM and I turned on my computer to listen to some music untill I fall asleep. 5 minutes ago, GAIM logged in, all by itself... I am sure I haven't modified any setting (unless I was sleeptyping). What happened? How can I make sure it's not going to happen again when I'll need my internet connexion more than ever? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a weird problem regarding internet connection...
Nistor Andrei wrote: I have no idea what might have happened yesterday... I got home from a party @5AM and I turned on my computer to listen to some music untill I fall asleep. 5 minutes ago, GAIM logged in, all by itself... I am sure I haven't modified any setting (unless I was sleeptyping). What happened? How can I make sure it's not going to happen again when I'll need my internet connexion more than ever? Lovely (hope the party was excellent ;)). Well, just check the firewall rules and check name resolution via dig. Maybe it was just an issue with the name server itself. Might be handy to get another one to resolv.conf. Martin -- gentoo-user@gentoo.org mailing list
[gentoo-user] a weird problem regarding internet connection...
Hello! My name is Andrei. I'm having this weird issue since last night. I went out for a couple of hours, leaving my computer on. When I got home I noticed I had been disconnected from all my IM accounts, ktorrent was stalled, everything was frozen, i couldn't even load a website. I tried restarting the net.eth1 script - nothing. DHCP was working fine, but I still couldn't do any traffic. Today I called my ISP and they sent a guy to check out the problem... He said the internet connection is working fine on his laptop (running windows xp). I tried booting into windows... and I couldn't believe my eyes... it was working :| How could this be possible? I've done some more digging in gentoo, this is what i've got... DHCP - working fine, i've got the same settings as ever (it's a static configuration through DHCP) Pinging the gateway/dns server - works fine. Pinging google.com: it can't resolve google.com Anyone have any ideas about what I can do to fix this? I can't spend this Easter in windows :|
Re: [gentoo-user] a weird problem regarding internet connection...
Coder TuX wrote: Hello! My name is Andrei. I'm having this weird issue since last night. I went out for a couple of hours, leaving my computer on. When I got home I noticed I had been disconnected from all my IM accounts, ktorrent was stalled, everything was frozen, i couldn't even load a website. I tried restarting the net.eth1 script - nothing. DHCP was working fine, but I still couldn't do any traffic. Today I called my ISP and they sent a guy to check out the problem... He said the internet connection is working fine on his laptop (running windows xp). I tried booting into windows... and I couldn't believe my eyes... it was working :| How could this be possible? I've done some more digging in gentoo, this is what i've got... DHCP - working fine, i've got the same settings as ever (it's a static configuration through DHCP) Pinging the gateway/dns server - works fine. Pinging google.com http://google.com: it can't resolve google.com http://google.com Anyone have any ideas about what I can do to fix this? I can't spend this Easter in windows :| Check /etc/resolv.conf to see if there is a nameserver entry in it. If not, maybe something is wrong with your script that starts your network. May also want to try pinging 216.239.37.99 which is the IP address for one of many google servers. Hope that helps get you started any way. Post back what happens. Dale :-) :-) :-) -- www.myspace.com/-remove-me-dalek1967 Copy n paste then remove the -remove-me- part.
Re: [gentoo-user] a weird problem regarding internet connection...
On Saturday 07 April 2007 11:29, Coder TuX wrote: Hello! My name is Andrei. I'm having this weird issue since last night. I went out for a couple of hours, leaving my computer on. When I got home I noticed I had been disconnected from all my IM accounts, ktorrent was stalled, everything was frozen, i couldn't even load a website. I tried restarting the net.eth1 script - nothing. DHCP was working fine, but I still couldn't do any traffic. Today I called my ISP and they sent a guy to check out the problem... He said the internet connection is working fine on his laptop (running windows xp). I tried booting into windows... and I couldn't believe my eyes... it was working :| How could this be possible? I've done some more digging in gentoo, this is what i've got... DHCP - working fine, i've got the same settings as ever (it's a static configuration through DHCP) Pinging the gateway/dns server - works fine. Pinging google.com: it can't resolve google.com Assuming that your settings were correct (they should have been since you were connected fine before this incident) don't start changing them to try to reconnect. You can instead try troubleshooting your connection/DNS servers (are they listed in your /etc/resolv.conf if you're using a modem, or is your gateway listed there if you are using a router). What errors does '/etc/init.d/net.eth1 restart' show? -- Regards, Mick pgpJes0AJFQd6.pgp Description: PGP signature
Re: [gentoo-user] a weird problem regarding internet connection...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Coder TuX said the following on 2007-04-07 12:29: | ... | | DHCP - working fine, i've got the same settings as ever (it's a static | configuration through DHCP) | Pinging the gateway/dns server - works fine. | Pinging google.com http://google.com: it can't resolve google.com It sounds DNS isn't working properly. Just because the DNS server is pingable (using ICMP) doesn't mean DNS resolution is working! DNS requests run over UDP port 53 (zone transfers over TCP 53, but that's realy only useful for DNS admins). It could be a problem with your /etc/resolv.conf file. Does it have an entry for the name server? If not that's probably your problem. You may have to check your config files regarding net and dhcp, ie /etc/conf.d/net.eth0 etc. Does the dig command work, or host/nslookup? Try, for instance, ~ dig www.cisco.com +short This gives the most basic info, ie just the servers IP address, if DNS is working correctly. For more elaborate info (good for troubleshooting) try: dig www.cisco.com +nocmd +nostats +noquestion This gives more info, skipping som less useful garbage). BTW, putting +nocmd +nostats +noquestion without the quotes in your ~/.digrc file is pretty useful:) //T -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) iD8DBQFGF3lcJDzv6DN+QUkRAucOAJ9GfYu6fzHxwHfVBCp/omm3U/rlBQCgxaJQ 4TBo+cv3MJBoHOqELg88mm8= =sPBc -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a weird problem regarding internet connection...
@ Dale: ping 216.239.37.99 works fine, however if I try to open a http connection it times out... /etc/resolv.conf is the same as ever: nameserver 89.34.124.1 I will reboot in a few minutes to try the dig command...
Re: [gentoo-user] a weird problem regarding internet connection...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Coder TuX said the following on 2007-04-07 13:12: | @ Dale: ping 216.239.37.99 http://216.239.37.99 works fine, however if | I try to open a http connection it times out... | | /etc/resolv.conf is the same as ever: nameserver 89.34.124.1 | http://89.34.124.1 | | I will reboot in a few minutes to try the dig command... One other thing, although maybe a bit farfetched, since it really shouldn't have changed at all. Does DNS name resolution work for root? Then it might be that the file permissions for /etc/resolv.conf are wrong! If so, chmod it (as root, of course) as follows: chmod 0644 /etc/resolv.conf //T -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) iD8DBQFGF4R4JDzv6DN+QUkRAjq3AKD1vVn8j6wq2tlPmcXT1cRqnfp8bQCfazWr QVGsgHw19+axeH0Xnx3Invw= =CQj2 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a weird problem regarding internet connection...
resolv.conf is -rw-r--r-- so that's not the issue.. I noticed that ping works for about every ip i've tried, but TCP connexions don't. why could that happen? I can browse my local webserver however... On 4/7/07, Tony Stohne [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Coder TuX said the following on 2007-04-07 13:12: | @ Dale: ping 216.239.37.99 http://216.239.37.99 works fine, however if | I try to open a http connection it times out... | | /etc/resolv.conf is the same as ever: nameserver 89.34.124.1 | http://89.34.124.1 | | I will reboot in a few minutes to try the dig command... One other thing, although maybe a bit farfetched, since it really shouldn't have changed at all. Does DNS name resolution work for root? Then it might be that the file permissions for /etc/resolv.conf are wrong! If so, chmod it (as root, of course) as follows: chmod 0644 /etc/resolv.conf //T -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) iD8DBQFGF4R4JDzv6DN+QUkRAjq3AKD1vVn8j6wq2tlPmcXT1cRqnfp8bQCfazWr QVGsgHw19+axeH0Xnx3Invw= =CQj2 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a weird problem regarding internet connection...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Coder TuX said the following on 2007-04-07 14:46: | resolv.conf is -rw-r--r-- so that's not the issue.. | | I noticed that ping works for about every ip i've tried, but TCP | connexions don't. why could that happen? I can browse my local webserver | however... | I'm not entirely clear on this, so just for clarification: Have You just pinged IP addresses or IPs AND domain names as well? You pinged the address 216.239.37.99, but does it work when you ping the corresponding domain name, ie va-in-f99.google.com, or any other domain name? If not it is clearly a problem with DNS not resolving properly, so check your network configuration (/etc/conf.d/net.eth0 or whatever your file is called)! Also read the example file in the same directory - it's full of valuable info on how to set up your network config. (If DNS resolution does work, it could also be a mockup with your firewall rules. Maybe outgoing TCP is rejected or dropped, for some reason. In all fairness, this shouldn't be happening unless you have changed any rules. It's a more of an extreme possibility.) //T -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) iD8DBQFGF6J6JDzv6DN+QUkRAqeMAJwLAsZhOe/EyfDNXYk+Ud+pHgsfbQCaA4gl kulr33wIYEXDxHZggQGs/AM= =pA7R -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a weird problem regarding internet connection...
On Saturday 07 April 2007 8:54 am, Tony Stohne wrote: If not it is clearly a problem with DNS not resolving properly, so check your network configuration (/etc/conf.d/net.eth0 or whatever your file is called)! Also read the example file in the same directory - it's full of valuable info on how to set up your network config. IMHO, ethernet configuration in Gentoo has gotten far too traumaticremember when net-config eth0answer a few simple questions, would produce a working ethernet? Those were the days my friend...:) -jm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a weird problem regarding internet connection...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Menola said the following on 2007-04-07 16:07: |... | Those were the days my friend...:) | I agree :D //T -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) iD8DBQFGF6eDJDzv6DN+QUkRAgvfAKCT2GPS3uLnNGnmsIF8aU6jphYXrACgwRWA CObkWgDtIkA8wXdKJguqvUE= =++Ab -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a weird problem regarding internet connection...
On 4/7/07, Tony Stohne [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Coder TuX said the following on 2007-04-07 14:46: | resolv.conf is -rw-r--r-- so that's not the issue.. | | I noticed that ping works for about every ip i've tried, but TCP | connexions don't. why could that happen? I can browse my local webserver | however... | I'm not entirely clear on this, so just for clarification: Have You just pinged IP addresses or IPs AND domain names as well? You pinged the address 216.239.37.99, but does it work when you ping the corresponding domain name, ie va-in-f99.google.com, or any other domain name? Pinging the IP address works, pinging the corresponding domain name doesn't. If not it is clearly a problem with DNS not resolving properly, so check your network configuration (/etc/conf.d/net.eth0 or whatever your file is called)! Also read the example file in the same directory - it's full of valuable info on how to set up your network config. Those configs are ok. It's all managed by dhcp. (If DNS resolution does work, it could also be a mockup with your firewall rules. Maybe outgoing TCP is rejected or dropped, for some reason. In all fairness, this shouldn't be happening unless you have changed any rules. It's a more of an extreme possibility.) I'll check the firewall rules, maybe there's something wrong there, but I think I tried with iptables disabled and got the same result //T -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) iD8DBQFGF6J6JDzv6DN+QUkRAqeMAJwLAsZhOe/EyfDNXYk+Ud+pHgsfbQCaA4gl kulr33wIYEXDxHZggQGs/AM= =pA7R -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a weird problem regarding internet connection...
Coder TuX wrote: Pinging the IP address works, pinging the corresponding domain name doesn't. So far it looks like the issue with name resolution. Check with: # dig @IP -t a DOMAIN +multiline. IP is the ip address of your dns server (could be one from resolv.conf, could be another) DOMAIN so just pick up a name (like google.com) I'll check the firewall rules, maybe there's something wrong there, but I think I tried with iptables disabled and got the same result Check for any rule dealing with port 53. Martin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a weird problem regarding internet connection...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Coder TuX said the following on 2007-04-07 16:30: | | Pinging the IP address works, pinging the corresponding domain name | doesn't. | | If not it is clearly a problem with DNS not resolving properly, so check | your network configuration (/etc/conf.d/net.eth0 or whatever your file | is called)! Also read the example file in the same directory - it's | full | of valuable info on how to set up your network config. | | | Those configs are ok. It's all managed by dhcp. | IMHO - it sounds like DHCP doesn't set DNS lookup properly, since domain name lookup obviously doesn't work. I would check again, just to be sure... ... | I'll check the firewall rules, maybe there's something wrong there, but | I think I tried with iptables disabled and got the same result | Then it's definitely a misconfig regarding DNS lookup. Do You use DHCP to set up /etc/resolv.conf for You or is it static (manually set up)? Right now I can't think of anything else. If I come up with something I'll let You know. //T -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) iD8DBQFGF67cJDzv6DN+QUkRAr0MAKCydvRJUjcNZFdFn1DeivRumEosFgCfR+EQ LC5WfsOtJaJkza9wO1nFwTc= =FOIA -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a weird problem regarding internet connection...
On 4/7/07, Tony Stohne [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Coder TuX said the following on 2007-04-07 16:30: | | Pinging the IP address works, pinging the corresponding domain name | doesn't. | | If not it is clearly a problem with DNS not resolving properly, so check | your network configuration (/etc/conf.d/net.eth0 or whatever your file | is called)! Also read the example file in the same directory - it's | full | of valuable info on how to set up your network config. | | | Those configs are ok. It's all managed by dhcp. | IMHO - it sounds like DHCP doesn't set DNS lookup properly, since domain name lookup obviously doesn't work. I would check again, just to be sure... ... | I'll check the firewall rules, maybe there's something wrong there, but | I think I tried with iptables disabled and got the same result | Then it's definitely a misconfig regarding DNS lookup. Do You use DHCP to set up /etc/resolv.conf for You or is it static (manually set up)? all my network configs are managed by dhcp. /etc/resolv.conf starts with something like this file was generated by dhcpcd for eth1 Right now I can't think of anything else. If I come up with something I'll let You know. //T -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) iD8DBQFGF67cJDzv6DN+QUkRAr0MAKCydvRJUjcNZFdFn1DeivRumEosFgCfR+EQ LC5WfsOtJaJkza9wO1nFwTc= =FOIA -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list I'll also try martin's sugestion when I get home.
Re: [gentoo-user] a weird problem regarding internet connection...
On 07 April 2007, Coder TuX wrote: On 4/7/07, Tony Stohne [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Coder TuX said the following on 2007-04-07 14:46: | resolv.conf is -rw-r--r-- so that's not the issue.. | | I noticed that ping works for about every ip i've tried, but TCP | connexions don't. why could that happen? I can browse my local | webserver however... I'm not entirely clear on this, so just for clarification: Have You just pinged IP addresses or IPs AND domain names as well? You pinged the address 216.239.37.99, but does it work when you ping the corresponding domain name, ie va-in-f99.google.com, or any other domain name? Pinging the IP address works, pinging the corresponding domain name doesn't. So it's definitely a DNS problem. Your resolv.conf looks right. The name server configured there is working (I checked it). H... Have you recently upgraded your firewall, if any, and blindly used etc-update with checking your firewall config? Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 Proof of concept of a TSP solver for KDE: http://www.SysEx.com.na/epat-0.1.tar.bz2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a weird problem regarding internet connection...
On Saturday 07 April 2007, Uwe Thiem [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] a weird problem regarding internet connection...': On 07 April 2007, Coder TuX wrote: Pinging the IP address works, pinging the corresponding domain name doesn't. So it's definitely a DNS problem. Have you recently upgraded your firewall, if any, and blindly used etc-update with checking your firewall config? You should also check your nsswitch.conf to make sure it is set up correctly. -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ pgpui0WAd9JpI.pgp Description: PGP signature