Avatar billede fredand Forsker
21. april 2008 - 21:25 Der er 8 kommentarer og
1 løsning

Why do I loose my lan and internet connection frequvently?

Hello!

I got a pretty brand new computer dual core, 2Gb RAM.
The os is Mandriva 2008, frequvently upgraded.

At home I got a small LAN around a zyxel router connected by wires. Three machines, win 2000, win vista, and one Mandriva 2008.

The one with mandriva loosing its lan and internet connection very often.
1 times of 3 times it does not get any at start up.
1 of 3 times it loose it after 3-5 minutes.
1 time of 3 it works from start up.

The only solution I have found is to restart it. After restart it often manages to keep the connection.

If any one got any clue why it behave like this, please let me know.

The other machines behave well.

Best regards
Fredrik
Avatar billede langbein Nybegynder
22. april 2008 - 15:09 #1
Måske it is the driver that is craching. What about going into the shell and apply command "ifconfig" after the connection is lost. Also use command "ping www.vg.no" Post output her.
Avatar billede fredand Forsker
22. april 2008 - 20:36 #2
Hello Langbein!

I did as you suggested, when the connection was lost.
I got:

[fredrik@linux_2 ~]$ su
Password:
[root@linux_2 fredrik]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1D:92:2E:EF:DF
          inet addr:192.168.1.35  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:23 errors:0 dropped:4294967286 overruns:0 frame:0
          TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6653 (6.4 KiB)  TX bytes:5335 (5.2 KiB)
          Interrupt:17 Base address:0xc000

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:82 errors:0 dropped:0 overruns:0 frame:0
          TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6442 (6.2 KiB)  TX bytes:6442 (6.2 KiB)

[root@linux_2 fredrik]# ping www.nu
ping: unknown host www.nu
[root@linux_2 fredrik]#     

I have alos tried to reserv the ip 192.168.1.35 in the router for this machnine, with out any improvement.

So if you see anything wrong, please let me know!
Best regards
Fredrik
Avatar billede langbein Nybegynder
23. april 2008 - 15:33 #3
Could be a dns resolving problem, or something like that.

Try this:

1. Ping 192.168.1.1 (If that is the gateway address.)
2. Ping 69.25.75.100
3. Ping www.nu

Post output here.

If 1 and 2 give answers while 3 does not it is a dns resolving problem.
If 1 gives answer while 2 and 3 does not, it is a routing problem.
If none of them gives an answer it is a hardware or a driver problem.
Avatar billede lassebm Nybegynder
23. april 2008 - 15:40 #4
Har you tried to look in the syslog when this is happening?
Avatar billede fredand Forsker
26. april 2008 - 17:18 #5
Hello!

Thanks for the respons!

I tried what you suggested and this is the output (in su mode):

[root@linux_2 fredrik]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.35 icmp_seq=2 Destination Host Unreachable
From 192.168.1.35 icmp_seq=3 Destination Host Unreachable
From 192.168.1.35 icmp_seq=4 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 15999ms
, pipe 3

[root@linux_2 fredrik]# ping 62.25.75.100
PING 62.25.75.100 (62.25.75.100) 56(84) bytes of data.
From 192.168.1.35 icmp_seq=2 Destination Host Unreachable
From 192.168.1.35 icmp_seq=3 Destination Host Unreachable
From 192.168.1.35 icmp_seq=4 Destination Host Unreachable

--- 62.25.75.100 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4999ms
, pipe 3

[root@linux_2 fredrik]# ping www.nu
ping: unknown host www.nu
[root@linux_2 fredrik]# 


I do not know if 1 and 2 counts as "answers". 3 mut be "no answer", is that correct?.

So if you could tell me from this what is the problem and how to solve it it would be great!

Btw wher do I find the syslog?

Best regards
Fredrik
Avatar billede langbein Nybegynder
29. april 2008 - 15:12 #6
Hm .. Non of the pings gives answers. Looks like that the driver has crached or the card has gone down in some way. Try to reset it.

First check with this command: ifconfig to see which cards you have.

If the card that you are using is eth0m then reset it:

ifconfig eth0 down

ifconfig eth0 up

Then try to get a new ip via dhcp client. Don't know which one Mandriva is using, but you can try: "dhcpcd" or "dhconf"

then run "ifconfig" again and post output here.
Avatar billede fredand Forsker
29. april 2008 - 20:53 #7
Hello!

Btw thanks for all help.

To day it was really stubborn  it will not cooperate at all.
After three  times I manage to start the KDE desktop. Before that I saw this in the startup.
Determing  io  information  for  eeth0...  faild

But now I'm in (this is  posted from an other computer).

How ever I  guess a "reset" of the networkcard is just a reboot of the the machine right?

ifconfig gave me alot unfortenately I can not get it over to this computer right now, but it looks to be the same as in my previous comment above.

I tried the ifconfig eth0 down, it looks like it get down since it is marked red.
I tried the ifconfig eth0 up, but it will not start again.
Also tried to enter the config panel and I can not connect it that way either.

I can not finnd out how to do, like in windows, ipconfig release and ipconfig renew in Mandriva.

But in config panel I got this set up:

Realtalk Semiconductor Co., Ltd RTL8111/8168B PCI Express Gigabit Ethernnet controller eth0.
I guess this is the type and brand?

Automatic IP (BOOTP/DHCP) = selected
Get DNS servers from DHCP = checked

under advanced:
DHCP client = dhclient (I ccan choose among: dhcpcd, pump, dhcpxd)
DHCP timeout (in seconds) = not set/ blank
Get YP servers from DHCP = checked
Get NTPD servers from DHCP = not checked
DBCP host name = not set/blank

Hope his give some clues. To me it do not unfortenately.
So if you see anything strange please let me know!
Best regards
Fredrik
Avatar billede fredand Forsker
29. april 2008 - 20:54 #8
Btw!
Is the DHCP host name the ip of the router?
/fredrik
Avatar billede fredand Forsker
12. marts 2009 - 13:55 #9
Hello!

I upgraded to Mandriva 2009 = no more problem!

Best regards
Fredrik
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester