Hi, I have a question. today I installed opensuse on my server and started from network configuration. I configured it but there is no internet I can ping router, I can ping all pc’s on the network but I can’t access internet. Where can be mistake?
Hello melkij22,
Welcome here.
Please allways be as precise as possible. Saying “openSuse 11” is definitely not enough. The supported versions of openSUSE (see how it is written) are 11.4 and 12.1 at the moment. Please tell what you have over there and when it is not one of those, consider reinstalling a supported one instead of starting your openSUSE experience with an old one.
And about connecting to the internet in general, your router should be configured as your default gateway. But again, as you do not tell how your network is configured I can not tell where you forgot or went wrong.
You can see what your default router is with
netstat -nr
And when yoy post the output of that staetment here, please do so by copy/paste all of it, including the prompts at the begin end the end, between CODE tags: http://forums.opensuse.org/english/information-new-users/advanced-how-faq-read-only/451526-posting-code-tags-guide.html
On 2012-04-04 16:06, melkij22 wrote:
>
> Hi, I have a question. today I installed opensuse on my server and
> started from network configuration. I configured it but there is no
> internet I can ping router, I can ping all pc’s on the network but I
> can’t access internet. Where can be mistake?
Typically, if you can not ping internet by IP number, your routing is
wrong, typically the gateway or default route.
If you can ping internet by number but not by name, then your DNS server is
wrong, bad, or missing.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
i have the same problem, i can do ping over internet, to 8.8.8.8, it is a dns public of google, i configured it manualy and doesnt matter, it stop to work crashing the internet access. the only way i can fix is do a system restore but i can do it 6 time at day, ist very noing.
i have a virtualbox running win xp, it works with a bridge conexion, no with nat conexion, when the problem show up.
i guess the arp cache stop working, becouse i check up the configuration and it is fine.
system restore have a copy of usr and etc, were is the configuration of the system, restoring it, start to work, but the problem show up soon.
i have a open suse 12.1, and doesnt matter what kind of internet conection is, wifi, lan, o my mobile modem, it dont resolve dns
Please @xhtr, can you start a thread of your own with your own problem. It is very unlikely that you have the same problem as the OP were it only for the fact that you have a different version of openSUSE. And your description is also very different. Thus pplease do not make mess of this thread.
To others, please post only here for the problem of @melkij22.
Try going into Yast and turning off IPv6.
I had a problem with not having internet access but I could “ping” sites. What was happening is “ping” uses IPv4 while Firefox was using IPv6.
The setting isn’t in the Network Manager setting, it is in Yast. After clicking past the message about Network Manager controlling the network settings and blah blah blah you’ll see a checkbox that says something like “Use IPv6” and it is probably checked. Uncheck it and exit and do what you have to (reboot, whatever).
That’s what worked for me.
“ping6” I think is a “ping” but uses IPv6. If “ping” works and “ping6” doesn’t, that may be an indicator.
(sorry for my vaugeness, I am not in front of my machine. I think I described in greater detail in another thread.)
@Dragonbite. I hope this answer is to the OP. But the OP has not stated that he can ping to the Internet, He only styated hecan ping on his LAN. Thus the situation you describe is not (yet) his.
Yes, this was directed to the OP.
He can ping the LAN, but he doesn’t say he can or cannot ping the outside world, just “access internet”.
When I was running into this problem I tried ping and it worked, but then would go to Firefox and it would not get online and confused the two until somebody righted me.
I hope the OP can post back whether this is accurate and/or if this works.
Hi again to all
I’ll try to answer all questions.
I have opensuse 11.4
I can ping only network ( i can’t ping internet ip’s )
my ip on the network is 192.168.1.74
router ip 192.168.1.254
subnet 255.255.255.0
and here is my netstat ( by the way the wire is connected to eth0 ) ( in eth1 it is not working to but can ping network )
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 192.168.1.254 255.255.255.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
I have removed last line as I thought that it should’t be there
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
-
Thanks for telling which version of opSUSE you use.
-
I asked you to post the computer texts “including the prompts at the begin end the end”. You did not.
-
You routing table looks a bit strange. Traffic seems to be routed through a mix of eth0 and eth1. You say “eth1 it is not working to but can ping network”, that is contradictory. If it is not working, you can not ping and vv.
I also asked how you cofnigured the network, but still no word from you. Did you use YaST > Network deviices > Network configuration?
Did you use “Traditionjal method with ifup” in the Global tab?
Are you using a DHCP server?
It is difficult to tell you where you should differ from what you did as we do not know what you did.
My first advise would be to go into YaST as above and then unconfigure eth1.
BTW in your last post you sy that you removed the last line of the routing table. Again you do not tell how you did. And please, do not change all sorts of things because then we can not trust what you postsed any more.
Also please prove that you can not ping on the internet (because you only say so) by posting:
ping -c 1 8.8.8.8
Thanks for your answer.
melkij22@linux-aded:~> netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 192.168.1.254 255.255.255.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
melkij22@linux-aded:~>
but when I have switched to user control method i get :
melkij22@linux-aded:~> netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth1
melkij22@linux-aded:~>
3)it is working, Just I was unable to ping internet ip’s. ( only network )
4)Did you use YaST > Network deviices > Network configuration? → Yes
5)
Did you use “Traditionjal method with ifup” in the Global tab?
Yes, until now. Now I have changed it to User controled with network manager and internet started to work… Hm, but why? Should I use this method or should I try to configure Traditional method?
Are you using a DHCP server?
- Yes
Also please prove that you can not ping on the internet (because you only say so) by posting:
if I switch back to traditional method here is what i’m getting
melkij22@linux-aded:~> ping -c 1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.1.254 icmp_seq=1 Destination Host Unreachable
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
melkij22@linux-aded:~>
and with user controled method
melkij22@linux-aded:~> ping -c 1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=51 time=62.1 ms
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 62.183/62.183/62.183/0.000 ms
melkij22@linux-aded:~>
On 2012-04-05 09:36, melkij22 wrote:
>
> Hi again to all
> I’ll try to answer all questions.
You did not. You have not proved you can not ping internet via IP and name.
Please Do so posting the command and the result inside code tags. Saying “I
can not ping internet” is not enough.
> my ip on the network is 192.168.1.74
I prefer to see the output of “ifconfig” and “route”. Route is there,
without the command, but not the other.
> and here is my netstat ( by the way the wire is connected to eth0 ) (
> in eth1 it is not working to but can ping network )
What does this exactly mean?
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Thanks for all the info.
Did you notice, that when you use Networkmanager, you use eth1 (and not eth0 at all)?
You should first decide which NIC you want to use, eth0 or eth1. Using them both (as you do in the traditional setup) brings you problems, with is rather logical.
As you call your system a “server” (which is a rather vague indication, used in the Windows world I presume), I guess you are not running around with the system where the end-user has to connect to all sorts of networks in airports, hotels, etc.
If it is a system, just standing in a fixed place and allways connecting to the same LAN, you should use"traditional with ifup".
But you should use YaST to switch off that eth1 (or eth0, depends on what you decided to use), as I said before.
And BTW, why do you have a cable attached to the NIC you tell you do not use?
On 2012-04-05 12:26, melkij22 wrote:
>
> Thanks for your answer.
>
> 2)
> Code:
> --------------------
> melkij22@linux-aded:~> netstat -nr
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt Iface
> 192.168.1.0 192.168.1.254 255.255.255.0 UG 0 0 0 eth0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
> melkij22@linux-aded:~>
>
> --------------------
>
>
> but when I have switched to user control method i get :
>
> Code:
> --------------------
>
> melkij22@linux-aded:~> netstat -nr
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt Iface
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth1
> melkij22@linux-aded:~>
>
> --------------------
Ha! Do you notice that the gateway is connected via the eth1 interface and
cable, not eth0?
In the traditional configuration you are enabling the wrong interface.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)