Can't get wired network working

Yesterday I installed opensuse 11.0 on my laptop and since then I have been trying to get the wired network going. With no success obviously. I use static IP addresses and a gateway (modem) which is located at ip 192.168.0.1

I have entered 192.168.0.79 as static ip, disabled ipv6 (in yast) and configured everything else correctly afaik.

The laptop is a dualboot with vista ultimate and I can connect to the network/internet fine from there. So no hardware problem I assume.

The gigabit led on my switch is on, so it seems the NIC is enabled. When I ping the modem or another PC it says: Destination Host Unreachable.

Does anyone know how to fix this? If you need more information let me know.

Here are some commands:

lspci -nn:

00:00.0 Host bridge [0600]: Silicon Integrated Systems [SiS] 671MX [1039:0671]
00:01.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:0004]
00:02.0 ISA bridge [0601]: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] [1039:0968] (rev 01)
00:02.5 IDE interface [0101]: Silicon Integrated Systems [SiS] 5513 [IDE] [1039:5513] (rev 01)
00:03.0 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f)
00:03.1 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f)
00:03.3 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 2.0 Controller [1039:7002]
00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)
00:05.0 IDE interface [0101]: Silicon Integrated Systems [SiS] SATA Controller / IDE mode [1039:1183] (rev 03)
00:06.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:000a]
00:07.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:000a]
00:0d.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 05)
00:0d.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 22)
00:0d.2 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 12)
00:0d.3 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 12)
00:0f.0 Audio device [0403]: Silicon Integrated Systems [SiS] Azalia Audio Controller [1039:7502]
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:06e9] (rev a1)
02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01)

ifconfig:

eth0 Link encap:Ethernet HWaddr 00:23:54:2F:B2:33
inet addr:192.168.0.79 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:4434 (4.3 Kb)
Interrupt:19 Base address:0xdead

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2780 (2.7 Kb) TX bytes:2780 (2.7 Kb)

I’d check the DHCP range in the router and make sure 192.168.0.79 falls outside of it (or simply disable DHCP in the router). Another thing to check is the cable: Windows reportedly can work even if a crossover ethernet cable is used; liGNUx can’t.
Greetz!

I’m not quite understanding. Is it that you can’t ping an IP address or can’t ping a hostname? (I guess the IP ping isn’t working but need to be sure).

DHCP is disabled in the modem/router.

I cant ping an IP address. I get “Destination Host Unreachable”

This is possibly symptomatic of two common faults (amongst others).

One is the electrical connection between the ethernet card and the gateway modem is faulty. (The card is fine, it has an IP address – I mean the card’s socket or the cabling or the gateway’s socket).
The other is that you have used 192.168.0.x as the subnet when the gateway is using a different subnet.

I assume that since the modem/gateway has a DHCP server in it, that it is really a modem with a router built into it too. Is that right? Can you use a web browser and browse to the router at address http://192.168.0.1/ ??

How do you know the DHCP server is off in the router/gateway/modem (the device)? How do you communicate with it if you can’t ping it?

Working with both straight through and crossover cables is not an OS characteristic. It is possible and happens without OS intervention if the hardware supports autosensing of polarity, which many Ethernet switches do and some Gb NICs do.

prsdnt wrote:

> DHCP is disabled in the modem/router.
> I cant ping an IP address. I get “Destination Host Unreachable”

When using static IPs, you have to configure routing manually. This is the
most common problem I have seen with this sort of configuration.

  1. Go to YaST->Network Devices->Network Settings
  2. Select the “Routing” tab
  3. Make sure the “Default Gateway” is set to your gateway address
    (192.168.0.1)

While you are in there, select the “Hostname/DNS” tab and make sure
your “Name server(s)” are set properly. Most routers supply a DNS
pass-thru service, so you probably want to set server #1 to your gateway
address.