How do I “obtain an IP address automatically” on my SUSE Linux 10.2 PC?
I’m new to the Linux world, and chose to go with the SUSE Linux distribution. I recently upgraded from SUSE Linux 10.0 to version 10.2. While I can see my Linksys router, I don’t seem to be able to connect to the Internet.
On a Windows XP PC, a person would have to "obtain an IP address automatically". I think that it should be the same on my SUSE Linux OS, but do not know how to enable that feature.
Tagged with: ip address • linksys router • Linux • linux world • suse linux 10 • suse linux distribution • suse linux os • windows xp
Filed under: SUSE
Like this post? Subscribe to my RSS feed and get loads more!
Easy answer: enable DHCP for your connection in YaST. Want to do it the hard way, or understand what changes in the configuration YaST will make for you, check out http://linuxmafia.com/pub/linux/suse-linux-internals/chapter10.html.
While in the network config, double check your default gateway and nameservers. If you want to check them at the command prompt, use "route -n" to make sure you have a default gateway (if not, type "route add default eth0" (assuming you are connected on eth0). You can look for nameservers in /etc/resolv.conf; you should see a few lines that say "nameserver <ip address>" listed. If you have a valid IP, gateway (default route), and nameserver, your Internet should work just fine, even if you don’t have a watered down Linux like Ubuntu. (OK, I should avoid the pot shot, but any flavor of Linux can wind up with configuration issues….)
ubuntu does this automatically.
If ur router is configured with dhcp just choose obtain via dhcp in network setup…