network problem

Hi all!

Newbie at linux here! and poor english too…

Ok, i am on SUSE 10.3 abd encounter network problem:
sometimes i am able to use my network and internet (all eth interfaces, no DSL modems). but usually and suddenly the network fall down. often after a reboot, but during random connection attempts too (example, when i try Yahoo! France, it worked 2 seconds before, but it could simply crash the network).
in these situation, i am able to ping my own interface, but neither the gateway, nor another computer on the LAN.

using yast2, i try ifup mode and networkmanager (that i don’even understand), but it works and don’t work randomly! same with “ifconfig eth0 up | down”

on windows, i have no problem with the netword card!

could someone help me to fix this please?

regards!

hey,

i really need help to diagnostic my network problem. could someone manage me please?

Hi there & welcome to the forum!

First thing to do when it happens again would be to check your network settings. On your next issue open a terminal console and do the following;

’ su - ’ and enter root’s password

'ifconfig eht0 ’ this will give you information on current ip address end link error status - I’m assuming eht0 is the network card you always use.

’ route ’ this will display your main gateway and should be pointing to your router, try pinging the router… are you getting a reply?

’ cat /etc/resolv.conf ’ this prints the entries of your dns resolving… it should list valid dns server entries, if there is nothing in it there is a first issue.

That should give you a good start…

Also important: Which version of openSUSE are you using? And what hardware do you have (mainly network card).

Hello, and thank you for the response!

Open SUSE version is 10.3

linux:/ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:1E:0B:6F:08:C4
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Memory:f8000000-f8012100


linux:/ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
loopback * 255.0.0.0 U 0 0 0 lo
linux:/ #


linux:/ # cat /etc/resolv.conf

BEGIN INFO

END INFO

nameserver 212.217.0.1
search site
linux:/ #


I don’t know how to verify the driver!

I intend to use these settings:

eth0
ip = 192.168.0.X
mask = 255.255.255.0
pass = 192.168.0.1

dns = 212.217.0.1

thnak you for your help!!

someone, mayday!!

This bit shows your interface is up but it has no ip address (else it would have been mentioned there)

The rest also shows your pc has no network configuration (default gateway is missing in the route table).

Your driver seems fine and if it’s a static ip configuration you want to make go into YaST > Network Devices.

There you can;

  1. In the TAB Overview : Edit your network card settings and give it the static IP - lets say 192.168.0.20 (I understand you don’t have a dhcp server running?)

  2. In the TAB DNS : looking at the resolv.conf you’ve already set it, but check the DNS settings

  3. In the TAB Routing : enter your gateway ip to Internet (this is your router or modem ip address, which is probably 192.168.0.1?)

After you’ve set these save the settings by applying and retry if Internet is reachable.

-Wj

Thank you Magic31 for your response!

Using Yast2, i set the IP address (no dhcp service on my network).

Yast2 shows IP: 192.168.0.11, Mask: 255.255.255.0,
DNS = 212.217.0.1, Pass= 192.168.0.1.

but it shows that too:
"Hewlett Packard Company NC373i Integrated multifunction Gigabit Server Adapter (Not Connected).

The cable is plugged and works fine, i tested it!

randomly, the interface (managed by NetworkManager) turns the status of the network interface as “connected” or “not connected”, even if the cable is plugged, and i don’t know why!

  • on the systray, the program “kNetworkmanager” says now that wired interface is not available, and the networkcard LEDs turns on and off randomly. i thought its was the Network card whisch sucked, but with two other new, it is the same phenomenon!

‘ethtool eth0’ (run as root using ‘su -’) should show if the nic “sees” a connection.
You should see speed & duplex as well as a line stating ‘Link detected: yes’

If not it could be a driver issue… if there is no link please post the output of ’ hwinfo --network '.

As means of going a step back and start afresh you can try clearing out your current nic config files, rebooting and reconfiguring the nic using YaST.

For this you need to remove all the ifcfg-ehtx and ifcfg-wlanx files (leaving template and lo alone)
The files are in /etc/sysconfig/network/
Again, you have to be root to delete the files (and only delete ifcfg-eth* and ifcfg-wl*) and reboot. If that works you can switch to knetworkmanager and go on from there.

edit: it might be easier opening konqueror with root rights : enter ’ kdesu konqueror ’ on a normal console.

Then reconfigure using YaST.

edit2: I would suggest to configure using ifup first as this is the most direct way to setup you nic.

thanx a lot Magic!

i set the ifup style and i try what you said an i post you the issue in about a quarter

Link detected: no
i will try the next step: clearing out your current nic config files, rebooting and reconfiguring the nic using YaST.

here are the output of “ethtool eth0” and “hwinfo --network”

linux:~ # ethtool eth0
Settings for eth0:
Supported ports: TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: Unknown! (65535)
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Link detected: no
############################################################################"

linux:~ # hwinfo --network
50: None 00.0: 10700 Loopback
[Created at net.124]
Unique ID: ZsBS.GQNx7L4uPNA
SysFS ID: /class/net/lo
Hardware Class: network interface
Model: “Loopback network interface”
Device File: lo
Link detected: yes
Config Status: cfg=no, avail=yes, need=no, active=unknown

51: None 00.0: 10701 Ethernet
[Created at net.124]
Unique ID: usDW.ndpeucax6V1
Parent ID: rBUF.sWQdX4kVaYC
SysFS ID: /class/net/eth0
SysFS Device Link: /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:00.0
Hardware Class: network interface
Model: “Ethernet network interface”
Driver: “bnx2”
Driver Modules: “bnx2”
Device File: eth0
HW Address: 00:1e:0b:6f:08:c4
Link detected: no
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #33 (Ethernet controller)

52: None 01.0: 10701 Ethernet
[Created at net.124]
Unique ID: L2Ua.ndpeucax6V1
Parent ID: JNkJ.sWQdX4kVaYC
SysFS ID: /class/net/eth1
SysFS Device Link: /devices/pci0000:00/0000:00:1c.1/0000:04:00.0/0000:05:00.0
Hardware Class: network interface
Model: “Ethernet network interface”
Driver: “bnx2”
Driver Modules: “bnx2”
Device File: eth1
HW Address: 00:1e:0b:6f:08:c2
Link detected: no
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #35 (Ethernet controller)

53: None 02.0: 10701 Ethernet
[Created at net.124]
Unique ID: pDke.ndpeucax6V1
Parent ID: mY_N.1iFMqOXUJgC
SysFS ID: /class/net/eth2
SysFS Device Link: /devices/pci0000:00/0000:00:04.0/0000:13:00.0
Hardware Class: network interface
Model: “Ethernet network interface”
Driver: “e1000”
Driver Modules: “e1000”
Device File: eth2
HW Address: 00:18:71:ea:e6:d8
Link detected: no
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #31 (Ethernet controller)
linux:~ #

same result after suppressing the icfg-et* files! no icfg-wl* exist!!
mode is now ifup

what could i do now? :frowning:

(Hardware is HP DL 38O G5)

I see you have a separate e1000 (Intel) card. That card might give you better luck and at least set you up for networking.

It’s not the first time I’ve seen problems fixed with Broadcom nics in HP and Dell systems by running a firmware update. Do you have the latest updates applied (BIOS , NIC, etc)? This can truly solve issues.
HP has an easy update mechanism using the firmware CD : HP ProLiant DL380 G5 Server series - Firmware Maintenance CD - HP Business Support Center

Also, if you are not already running the 64bit version of openSUSE I would suggest you do so as 32 bit is not supported on that hardware as far as I know, could well be that is why the driver is not picking up a link.

If this is a new setup you are doing, I would suggest going for openSUSE 11.0 (depending on what you want to do with the server), especially seeing it’s the G5 series. I think openSUSE 11.0 will squeeze more out of it performance wise.
You could try a LiveCD first to see if network support is ok.

Anyway, first step would be trying the firmware updates by using the firmware CD.

edit : that you didn’t find any ifcfg-wl* files is because there is no wlan (wireless) nic in your server, so that is ok!

revealmap wrote:

>
> someone, mayday!!
>
>
revealmap;

Have you ruled out a bad cable or switch?

P. V.

Hi,

The cable and the switch are OK, i tested it first!!

Now my problem seem to be solved: i changed the IRQ allocation on the BIOS and it started to work again. no network interruption for about 10 hours!! :slight_smile:

hi i have a similar Problem…
I have installed Suse 10.3 64Bit Version on my PC (Hardware is only a Mainboard from MSI(945GCM5 V2) and a DVD Device and A ATA Hard Disk (for System files) and a SATA Device for Data).
I installed all and it worked quite fine… Then i disconnected the 2 hard disk and connected another ATA Device to test something with Windows XP.

I changed back to the Old Hardware Configure ration with the 2 Disks…
Now i couldn’t Connect to the Network; i even can’t ping my router…
It all worked fine bevor i tested windows xp…

I reinstalled Linux but i still have the Problem…
hwinfo --network tells me that no Link was found… I changed the Network cable but its ok… i think my network settings are ok(i’ll edit it in this post later). My router (fritzbox) works fine (i have 2 other PC’s configured with static ip’s OS:windows xp and windows 2k). even the fritzbox screen doesnt show a connected cable…

Can it be that Windows Changed Something in the Hardware Settings on my Board?

I hope someone has a solution for this…

Thanks so far

Sorry for my worse English but i’m German

Hm… i can’t edit my Posts…

So here is what eth0 puts out:

eth0 Link encap:Ethernet HWaddr 00:19:DB:DE:88:D5
inet addr:192.168.178.20 Bcast:192.168.178.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x4000

resolv.conf

BEGIN INFO

END INFO

nameserver 192.168.178.1
nameserver 213.191.74.11
nameserver 213.191.92.82
search fritz.box

route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.178.0 * 255.255.255.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 192.168.178.1 0.0.0.0 UG 0 0 0 eth0

There are 2 things that make me a little confused…

in the route table the first entry? i dont have any target with 192.168.178.0
in the resolv.conf is the entry search right?? i used fritz.box in the Yast2 settings–>network adapter under the Domain entry…

and here is the output of hwinfo --network

23: None 00.0: 10700 Loopback
[Created at net.124]
Unique ID: ZsBS.GQNx7L4uPNA
SysFS ID: /class/net/lo
Hardware Class: network interface
Model: “Loopback network interface”
Device File: lo
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown

24: None 00.0: 10701 Ethernet
[Created at net.124]
Unique ID: usDW.ndpeucax6V1
Parent ID: rBUF.Sb9MEPM3ZEE
SysFS ID: /class/net/eth0
SysFS Device Link: /devices/pci0000:00/0000:00:1c.1/0000:02:00.0
Hardware Class: network interface
Model: “Ethernet network interface”
Driver: “r8169”
Driver Modules: “r8169”
Device File: eth0
HW Address: 00:19:db:de:88:d5
Link detected: no
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #16 (Ethernet controller)

hm… i can’t find the right Font… but i hope u see which entry belows to which header

Notice no bytes in or out.

resolv.conf

BEGIN INFO

END INFO

nameserver 192.168.178.1
nameserver 213.191.74.11
nameserver 213.191.92.82
search fritz.box

route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.178.0 * 255.255.255.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 192.168.178.1 0.0.0.0 UG 0 0 0 eth0

There are 2 things that make me a little confused…

in the route table the first entry? i dont have any target with 192.168.178.0

That’s your LAN. It’s saying for any address in the subnet 192.168.178.x, use the interface eth0. It’s implicitly entered as a route when the interface is activated.

in the resolv.conf is the entry search right?? i used fritz.box in the Yast2 settings–>network adapter under the Domain entry…

Maybe not, but probably makes no difference. The search entry means that if you use a hostname like foo (with no period), then the search will also try foo.fritz.box. Whether your nameserver knows about this domain is a different matter. Maybe your fritz box uses this as its domain, or did you make a guess? I don’t know.

and here is the output of hwinfo --network

23: None 00.0: 10700 Loopback
[Created at net.124]
Unique ID: ZsBS.GQNx7L4uPNA
SysFS ID: /class/net/lo
Hardware Class: network interface
Model: “Loopback network interface”
Device File: lo
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown

24: None 00.0: 10701 Ethernet
[Created at net.124]
Unique ID: usDW.ndpeucax6V1
Parent ID: rBUF.Sb9MEPM3ZEE
SysFS ID: /class/net/eth0
SysFS Device Link: /devices/pci0000:00/0000:00:1c.1/0000:02:00.0
Hardware Class: network interface
Model: “Ethernet network interface”
Driver: “r8169”
Driver Modules: “r8169”
Device File: eth0
HW Address: 00:19:db:de:88:d5
Link detected: no
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #16 (Ethernet controller)

Notice it says Link detected: no. This probably means you have a bad cable, or the plug worked loose. Look into that.

hm i just tried it with “fritz.box” because in the yast2 i have to make an entry in the Domain field and as i don’t now what to enter i first used my windows Workgroup (keller) and changed it latter into my routers name(fritz.box)… just to see if it would work — but it doesn’t…

Hm then i’ll look again after cable and router… but the point is it worked a few days ago (bevor i tried that windows xp stuff)

thx for fast replay
i check my cable and router (maybe the 2last ports are not working (i didn’t use them for about 3jears)i mean maybe…)
i will post if i have something new

Yes, that’s what they all say, it used to work. But of course, if it didn’t work before and then fail afterwards, you wouldn’t be posting here. :wink:

Stuff happens.

IF your network device is on the motherboard, and you have booted XP, then you can try this:

Shut down the PC, unplug the wall power lead, press the power button on the PC.

Wait a few moments, then replace wall power lead and restart Suse.

Seems that with onboard devices, some hardware settings don’t clear with a normal powerdown because a standby voltage is present in the motherboard. So, a full power off and true cold start is required to clear.

Paul