LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lost Network (Internet) Connection Overnight on Slackware 14 (https://www.linuxquestions.org/questions/linux-newbie-8/lost-network-internet-connection-overnight-on-slackware-14-a-4175453553/)

juju 03-10-2013 06:30 PM

Lost Network (Internet) Connection Overnight on Slackware 14
 
Hey. I'm running Slackware 14 on a desktop machine. I installed it about a month ago. I've had no problems connecting to the network/internet, until today.

I'm a relative newbie and know little about networking. My box is connected, via cable, to a switch, which is connected to a wifi router, which is connected to a cable modem.

I run three machines off of the switch. The 2 other machines are connected and running as they should be. I booted my Slackware machine today and found I couldn't connect to the internet.

As I mentioned, this has never been a problem.

I thought it had to do something with changing of the clocks, so I changed the machine time by one hour and rebooted. Still no connection.

Here's the message about my network interface during the boot process:

Code:

Polling for DHCP server on interface eth0:

dhcpd[1592]: version 5.5.6 starting

dhcpd[1592]: all: not configured to accept IPv6 RAs

dhcpd[1592]: eth0: waiting for carrier

dhcpd[1592]: eth0: carrier acquired

dhcpd[1592]: eth0: broadcasting for a lease

dhcpd[1592]: timed out allowing 8 seconds for IPv4LL timeout

dhcpd[1592]: eth0: probing for an IPv4LL address

dhcpd[1592]: eth0: checking for 169.254.244.234

dhcpd[1592]: timed out

Here is ifconfig:
Code:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

inet6 fe80::20c:6eff:fe3a:ec96  prefixlen 64  scopeid 0x20<link>

ether 00:0c:6e:3a:ec:96  txqueuelen 1000  (Ethernet)
       
RX packets 5008  bytes 1388010 (1.3 MiB)
       
RX errors 0  dropped 0  overruns 0  frame 0
       
TX packets 324  bytes 53938 (52.6 KiB)
       
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
       
device interrupt 20 



lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 16436
       
inet 127.0.0.1  netmask 255.0.0.0
       
inet6 ::1  prefixlen 128  scopeid 0x10<host>
       
loop  txqueuelen 0  (Local Loopback)
       
RX packets 1848  bytes 438449 (428.1 KiB)
       
RX errors 0  dropped 0  overruns 0  frame 0
       
TX packets 1848  bytes 438449 (428.1 KiB)
       
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

And here is what I get after for dmesg | grep 'eth0':

Code:

[  10.596574] b44 ssb0:0: eth0: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00:0c:6e:3a:ec:96

[  24.706176] b44 ssb0:0: eth0: Link is up at 100 Mbps, full duplex

[  24.706184] b44 ssb0:0: eth0: Flow control is off for TX and off for RX

[  60.746010] eth0: no IPv6 routers present

[  94.786013] eth0: no IPv6 routers present

[  128.210012] eth0: no IPv6 routers present

[  161.986011] eth0: no IPv6 routers present

[  491.650012] eth0: no IPv6 routers present

[  524.210014] eth0: no IPv6 routers present

[  557.594018] eth0: no IPv6 routers present

[  590.466016] eth0: no IPv6 routers present

[  702.257368] martian source 255.255.255.255 from 192.168.1.102, on dev eth0

[  705.257177] martian source 255.255.255.255 from 192.168.1.102, on dev eth0

[  779.636171] martian source 255.255.255.255 from 192.168.1.1, on dev eth0

[  784.750175] martian source 255.255.255.255 from 192.168.1.104, on dev eth0

[  787.749781] martian source 255.255.255.255 from 192.168.1.104, on dev eth0

[  875.430795] martian source 255.255.255.255 from 192.168.1.104, on dev eth0

[  878.431005] martian source 255.255.255.255 from 192.168.1.104, on dev eth0

[  920.658012] eth0: no IPv6 routers present
[  953.394013] eth0: no IPv6 routers present

[  986.402013] eth0: no IPv6 routers present
[ 1019.530013] eth0: no IPv6 routers present

[ 1349.258013] eth0: no IPv6 routers present
[ 1382.658014] eth0: no IPv6 routers present

[ 1415.426012] eth0: no IPv6 routers present
[ 1448.434015] eth0: no IPv6 routers present

[ 1779.010012] eth0: no IPv6 routers present
[ 1811.634016] eth0: no IPv6 routers present

[ 1844.850020] eth0: no IPv6 routers present
[ 1877.530013] eth0: no IPv6 routers present

[ 2207.970015] eth0: no IPv6 routers present
[ 2240.450015] eth0: no IPv6 routers present

[ 2273.226014] eth0: no IPv6 routers present
[ 2306.114015] eth0: no IPv6 routers present

[ 2636.674014] eth0: no IPv6 routers present
[ 2669.762014] eth0: no IPv6 routers present

Any suggestions?

Thanks...

camorri 03-10-2013 06:54 PM

You are not getting an IP address from your DHCP server.

How did you configure the eth0 the first time?

Did you use the script as root, netconfig ?

Are you using WICD or Network Manager?

Have a look at what ever you used, and see if you can see what has changed.

Netconfig as root, is very easy to use. You can get a lot more information on network config in this document. -->http://docs.slackware.com/slackware:...e_your_network

Hope this helps.

juju 03-10-2013 07:08 PM

I forgot to mention my initial configuration. I used netconfig during installation. It's set up to receive an ip address via DHCP. I also set up a hostname and domain. But that was it. It was, essentially, plug and play.

I made rc.networkmanager executable today. I've the associated widget on my KDE desktop. It lists 'Wired connection 1.'

dreamwalking 03-10-2013 07:48 PM

You probably already tried this, but, what happens if you restart your network immediately after booting and receiving those errors?

Occasionally my pc displays connection errors on boot too, however, a
/etc/rc.d/rc.inet1 restart
resolves the problem immediately.

Also back when I was using Debian I sometimes had to run dhclient to get an IP address. Never had to do so in Slackware, but maybe it's worth a try.

juju 03-10-2013 10:38 PM

It turns out, the issue originated with my wifi router. It was limited to leasing a small number of ip addresses and I went over the limit this weekend. I changed the value and the Slack box is working fine. Thanks for the suggestions.


All times are GMT -5. The time now is 12:25 AM.