Can't set up internet

I just installed Opensuse 11.2 KDE 64 Bit. I can’t get the internet to work. I have a cable connection. Previously, I have used Ubuntu and Linux Mint with no problems. But when I go to ‘Configure Network Card’ and give the details,it doesn’t connect. Although it recognizes the network adapter. Where do i enter my IP address, default gateway and the sort? A guide to setting up the internet will be much appreciated. Thanks.

Let’s see where you are. Please post the results of the following commands:

cat /etc/resolv.conf | sed -e "/^#/ d"
/sbin/route -n

These screenshots might help: HowTo Configure a network card in Suse/openSUSE 10, 11 for LAN and Internet Access.

Thanks for the quick response. The think I like best about you guys. Anyway here are the results. Hope this helps

Kashif@linux-ddgm:~> cat /etc/resolv.conf | sed -e “/^#/ d”
Kashif@linux-ddgm:~> /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface U 0 0 0 eth0 U 0 0 0 eth0 U 0 0 0 lo UG 0 0 0 eth0
Kashif@linux-ddgm:~> /sbin/ifconfigc

Okay swerdna, I’ll take a look. Thanks

Your /etc/resolv.conf is empty. That means you have no DNS available. Add a line like this:

nameserver nnnn.nnnn.nnnn.nnnn

where nnn is the IP number of the nameserver to be used. Then do

rcnetwork restart

as user root.

Check for internet access like this:


That should return an echo. Stop it hitting ^C. This works even without DNS. Then do:


You may also test DNS with the following:


And, by the way: Kashif@linux-ddgm:~> /sbin/ifconfigc
You mis-typed the command. Can you see it?

when i type nameserver xxx.xx.x.xx (xx being my IP address), it says that command is not recongnised. Is there a GUI based way to get internet to work?

You can use yast. Network —> Networksettings or like that. In my yast it is called: Netzwerk → Netzwerkeinstellungen

resolve.conf is not a command. You need to open /etc/resolv.conf and add the router’s IP address in.