Page 1 of 1

Lost internet connection

Posted: Sat 25 Feb 2012, 01:22
by x2a1498
The other night because of a storm we turned of the router. Since then have not been able to connect to the internet. Doing simple network setup get this:
Failed to connect to wired network 'eth0'

The network does exist, however failed to negotiate with the DHCP server.

Have also tried entering static ip address in Network Connection Wizard with no success.

Posted: Sat 25 Feb 2012, 01:31
by darkcity
Have you tried both Simple Network Setup and Network Wizard ?

What happens if you load puppy without savefile?
http://puppylinux.org/wikka/HowToAvoidLoadingSaveFile :arrow:

PS forum should be Hardware > Network > Ethernet

maybe mod could move rather than lock :arrow:

Posted: Sat 25 Feb 2012, 01:47
by x2a1498
Yes have tried both Simple Network Setup and Network Wizard.
The same failure even loading without savefile also.

Posted: Sat 25 Feb 2012, 10:14
by darkcity
Okay, i'm not sure I know enough to help - what do you get if put the following line into the terminal

ifconfig -a

? :arrow:

Posted: Sat 25 Feb 2012, 14:44
by x2a1498
It just hit me that my son is moving out today and he will be taking the router we have been using. We will be hooking up differently and with a different router. Hopefully i will regain connection.

But this is what i get with ifconfig -a.



eth0 Link encap:Ethernet HWaddr 00:30:67:E9:72:4E
inet addr:192.168.1.3 Bcast:192.168.1.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:146 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:5760 (5.6 KiB)
Interrupt:26


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:54 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overuns:0 carrier:0
collisions:0 txqueuelen;0
RX bytes:4768 (4.6 KiB) TX bytes:4768 (4.6 Kib)

Posted: Sat 25 Feb 2012, 15:55
by darkcity
RX bytes:0 (0.0 B) = no bytes received -

Will compare your result with mine when I transfer to wired computer.

A) in the mean time can you remember exactly the procedure you used in the first place?

B) is the router working with other OSs?

:arrow:

Posted: Sat 25 Feb 2012, 16:54
by x2a1498
A) In the past I always did Simple Network Setup and in seconds I was connected.

B) Yes, another computer with Windows XP has internet connection with same router.

My computer has no OS on the hard drive. I use Puppy live CD only.

Posted: Sat 25 Feb 2012, 20:02
by greengeek
Can you try putting the live CD into the PC that currently has XP on it? If you enter the boot option of:

puppy pfix=ram

you will be safe to boot.

This should show whether the problem is related to the CD. It might be some odd hardware problem in the network port of the PC that has no OS.

Is it possible that you have lost the rx pair in the cable that feeds the affected PC? Or maybe that port in the router has lost it's tx ability that feeds that cable (due to the storm). Try another port and cable.

Or maybe the router has reset itself to factory defaults or factory firmware and is no longer happy with the dhcpcd code on the puppy cd. Some versions of puppy do not correctly handle some versions of router firmware, and you can't connect. Which Puppy are you using?

Also: there is a possibility that IP conflicts can cause such things. Try booting with only 1 PC connected to the router

Lost internet connection

Posted: Sun 26 Feb 2012, 05:23
by Monsie
Hi x2a1498,

Is there a reset button on your router? It's possible that the router might need to be reset to default configuration after having been shut off. Then, on your Windows XP computer, you could open Internet Explorer and type in the address bar: 192.168.1.1 to access your router settings and make adjustments as necessary in accordance with your network.

This approach has worked for me on a couple of occasions that I can think of over the years...

Monsie

Posted: Sun 26 Feb 2012, 13:26
by darkcity
eth1 Link encap:Ethernet HWaddr 00:11:43:12:46:C7
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17472 errors:0 dropped:0 overruns:0 frame:0
TX packets:12081 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21402085 (20.4 MiB) TX bytes:1186101 (1.1 MiB)
Interrupt:19

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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1168 (1.1 KiB) TX bytes:1168 (1.1 KiB)
this is a healthy Ethernet connection output from ifconfig -a

Posted: Tue 28 Feb 2012, 03:18
by x2a1498
Thank all of you for your help.

Turns out it was the ethernet port. Would not have thought so as computer is 2 months.old and was turned of the night of storm. Also connected to surge protector.

Posted: Tue 28 Feb 2012, 08:01
by greengeek
Thanks for the update. I wonder if it's possible that the electronics of the port might be ok - I have seen some network connectors that have slightly flattened pins that stop making connection when you pull cables in/out during troubleshooting.

Just might be worth trying different cables in that laptop port as some cables have more protruding pins and can reach the flattened connector strips better. I once replaced a $900 printer control board only to find afterwards that it was just flattened pins that were not making good contact on the Rx line. It wouldn't work with the first 2 cables I tried but was fine with a cheap cable from the $2 shop.