Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
When you open up Network Settings from yast, there's a routing tab on the RHS.
You need to add 192.161.1.1 as the default gateway.
Everything under the routing tab is disabled. The button for Add is disabled too. And the dropdown menu for Standard Gateway is empty. So I can't change anything there..
EDIT: Turns out I could just enter the gateway IP (192.168.1.1) in the empty list, but internet still didn't work after that.
Yes, I'm running Yast as root, because I have to enter my root password everytime I run Yast. I also fired up Yast from a root terminal session, but there was no difference.
I had a similar problem to what you are experiencing just today. It turned out to be a IP conflict between the two devices in my computer. For some reason, when I changed one devices IP address (eth0) it would change the other one's as well to the same thing. Even though the second network device (eth1) was disabled, this caused a conflict. Maybe try removing your wireless completely? Disable it in the bios?
Except it seems pretty clear it's a routing problem since there is no default gateway.
Were you experiencing a routing issue or just IP conflict?
Yes, however it was the same for me today. It seamed like a routing problem at first, because sometimes I could ping the router/the 'net (google), and suddenly it would stop. I am just saying it might be possible...
You are using "Network Settings" from the "Network Devices" tab?
I use the Network Settings in Yast, and then use the second tab to change the eth0 device to static IP. I used the third tab to set 'Nameserver 1' to 192.168.1.1 and Domainname to 'site'. And most options in the fourth tab (Routing) are disabled, except for the Default Gateway menu, which is an empty menu.
Quote:
Originally Posted by billymayday
You can always add the route manually. Not sure if it will persist in SuSe
route add default gw 192.168.1.1
I tried that before, but it didn't work. After that command I still couldn't load any webpages.
Quote:
Originally Posted by The_Nerd
I had a similar problem to what you are experiencing just today. It turned out to be a IP conflict between the two devices in my computer. For some reason, when I changed one devices IP address (eth0) it would change the other one's as well to the same thing. Even though the second network device (eth1) was disabled, this caused a conflict. Maybe try removing your wireless completely? Disable it in the bios?
So when you would do ifconfig, both eth0 and wlan would have the same IP? That isn't the case with me, as you can see from my previous posts. My wlan has a different IP than eth0. Also I didn't get an IP conflict.
Whenever I've seen my ifconfig show that I'm transmitting and receiving packets, that's a good thing. But here you are indeed transmitting and receiving but have no connetion.
Are you restarting networking after you make these changes?
First I tried the following commands as root: # route add default gw 192.168.1.1
followed by # service network restart
But this only worked half. Skype would then work, but i could not ping to google.com or visit websites.
So I took another look at billymayday's advice. He told me to set the Default Gateway to '192.168.1.1' in the Routing tab in the Network Settings. When I tried this earlier, another option (Actualize DNS-data through DHCP) under the DNS tab was enabled. This time I disabled it and manually entered '192.168.1.1' for 'Namespace 1'. This in combination with the Default Gateway set to 192.168.1.1, does work I hope this works for other people also.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.