LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Suse 9.2 Internet Connection (https://www.linuxquestions.org/questions/linux-networking-3/suse-9-2-internet-connection-253682/)

jtakacs 11-11-2004 12:44 PM

Suse 9.2 Internet Connection
 
Hello
I had several previous versions of Suse (8.0,8.1.9.0,9.1). After an out of the box install all I did was open a browser and I was on the internet.

I just installed Suse 9.2 and I cannot get to the internet. I can access everything on my lan but I cannot get out to the inernet. I have a DSL modem connected to a Linksys Router which then connects to my PC. I can ping every machine and the printer. I also tried all the pervious suggestions. None of them seem to work. Any other suggestions?

DaveyB 11-11-2004 12:52 PM

try dmesg and make sure your modems connected. If it is then request an IP via DCHPCD or something. Can't remember exactly

jtakacs 11-12-2004 06:46 AM

Suse 9.2 Internet connection
 
Thanks for the reply but I found the problem.

The first step was to point a browser to my Linksys DSL Router (http://192.168.1.1) From there I was able to find the the IP address of the DNS servers. There were 2 of them, a primary and a secondary.
Next I edited the file /etc/resolv.conf by deleting the one line in there and added the following three lines:
domain local
nameserver <IP address primary>
nameserver <IP address secondary>

This worked fine as long as I was using DHCP but when I went to change it to a static IP address (I want to install Oracle 10g on this box so I need an static addtress) it quit working. When I switched back to DHCP the internet worked!

To fix this problem I did the following: YAST -> Network Devices -> Network Card -> Already Configured Devices: select change -> Edit -> Routing -> Default Gateway. Here I entered the IP address of my Linksys DSL/Router 192.168.1.1 (all Linksys DSL/Routers have the same IP address by default and there is really no reason to change it)

Presto! I was up and running with a static IP address!


All times are GMT -5. The time now is 07:28 AM.