help with internet setup

hi, just installed 11.2, but can’t setup the internet successfully.

on campus, have to use dhcp, which seems to be working, since i can get the ip address right.

just can’t connect to the internet, or even the DNS or DHCP sever. here is the information you might find useful:

dni165-1:/home/gui # ifconfig
eth0 Link encap:Ethernet HWaddr XXXXXXX
inet addr:68.181.XXX.XX Bcast:68.181.169.255 Mask:255.255.254.0
inet6 addr: fe80::214:22ff:fe3a:aca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1810 errors:4 dropped:0 overruns:0 frame:3
TX packets:14126 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:186682 (182.3 Kb) TX bytes:4047511 (3.8 Mb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:114 errors:0 dropped:0 overruns:0 frame:0
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7812 (7.6 Kb) TX bytes:7812 (7.6 Kb)

dni165-1:/home/gui # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
68.181.168.0 * 255.255.254.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 68.181.169.254 0.0.0.0 UG 0 0 0 eth0

but sometime the result is a little different.
dni165-1:/home/gui # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
68.181.168.0 * 255.255.254.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 68.181.169.254 0.0.0.0 UG 0 0 0 eth0

please help!!!
many thanks

Is your net mask correct. Your setup shows 255.255.254.0 which may be correct, but the most common is 255.255.255.0 which may be your problem. Also if your using dhcp and a direct connection to the internet (i.e. no router or gateway) you should be able to use netorkmanager instead of traditional ifup which may make your network discovery simpler.

the mask is correct. i tried to open networkmanager, but there is no response, not sure what’s going on.

Open Yast - Network Devices - Network Settings

Select the device listed as eth0 and choose edit
Then just click through with next/accept

Usually that’s all that’s required

If you are not using wireless then stick with ifup.