You are not logged in.

#1 2010-07-31 18:28:07

amoradi
Member
From: Beyond the horizon
Registered: 2010-01-23
Posts: 51
Website

Losing connection after a few seconds

Hi all,

My network connection drops after a few seconds from restarting network (with /etc/rc.d/network restart).  This has started happening a few days ago and I don't remember doing anything out of ordinary.  Conky still reports some (very little) network traffic (4.0kb down, 0.1kb up, around that), but no browser works, and even ping doesn't work.  Can anybody point me to the right direction?

Thank you

Offline

#2 2010-07-31 18:35:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Losing connection after a few seconds

amoradi wrote:

Hi all,

My network connection drops after a few seconds from restarting network (with /etc/rc.d/network restart).  This has started happening a few days ago and I don't remember doing anything out of ordinary.  Conky still reports some (very little) network traffic (4.0kb down, 0.1kb up, around that), but no browser works, and even ping doesn't work.  Can anybody point me to the right direction?

Thank you

The right direction would be posting more info and checking some chardware is applicable: are you using wired or wireless, if wired, check the cable, restart the router if you're using one, are you using dhcpcd or some other app etc. etc.

Offline

#3 2010-07-31 18:52:59

amoradi
Member
From: Beyond the horizon
Registered: 2010-01-23
Posts: 51
Website

Re: Losing connection after a few seconds

karol wrote:

The right direction would be posting more info and checking some chardware is applicable: are you using wired or wireless, if wired, check the cable, restart the router if you're using one, are you using dhcpcd or some other app etc. etc.

I'm using wired connection with ethernet cable, modem and all hardware works, I have no problem with the connection if I boot into a second OS (it's a dual boot) or use a live-cd, so the hardware is good to go.  I'm using dhcpcd with added 'nohook resolv.conf' at the end of /etc/dhcpcd.conf.

Let me know if you need more info.
Thanks

Offline

#4 2010-07-31 18:58:58

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Losing connection after a few seconds

You could run dhcpd manually to see if it reports errors or try with a different nameserver (or remove "nohook resolv.conf").

Offline

#5 2010-07-31 19:54:21

amoradi
Member
From: Beyond the horizon
Registered: 2010-01-23
Posts: 51
Website

Re: Losing connection after a few seconds

hokasch wrote:

You could run dhcpd manually to see if it reports errors or try with a different nameserver (or remove "nohook resolv.conf").

Tried all three and no luck.  There are no error outputs in /var/log/everything.log either!

Last edited by amoradi (2010-07-31 20:30:44)

Offline

#6 2015-08-05 10:57:41

basti890
Member
Registered: 2015-04-23
Posts: 6

Re: Losing connection after a few seconds

I got exactly the same problem.
After my Update yesterday I loose connection to the Internet after a few seconds.

Here some console output:

[sebastian@ulbp2681 ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 4c:72:b9:4b:08:09 brd ff:ff:ff:ff:ff:ff
    inet 141.35.23.78/22 brd 141.35.23.255 scope global enp2s0
       valid_lft forever preferred_lft forever
    inet6 fe80::856b:fd54:837f:38d/64 scope link
       valid_lft forever preferred_lft forever
[sebastian@ulbp2681 ~]$ ip route
default via 141.35.20.1 dev enp2s0  metric 202
141.35.20.0/22 dev enp2s0  proto kernel  scope link  src 141.35.23.78  metric 202

Offline

#7 2015-08-05 18:34:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,350

Re: Losing connection after a few seconds

basti890 wrote:

I got exactly the same problem.

I doubt it.   This thread is five years old and predates systemd.

I am going to close this ancient thread

If you cannot solve your problem, feel free to start a new thread.   Before you do, I strongly suspect that one of the existing threads on spontaneous network disconnects under systemd will provide your answers. It is usually because you have more than one systemd service trying to control the network at the same time.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB