Networkmanagers keeps dropping internet connection
by George528 from LinuxQuestions.org on (#5ME57)
Hello, i have a problem with networkmanager - it keeps losing/dropping internet connection. This can happen anytime. When it happens, i check ifconfig and see my inet (ipv4) adress is missing. Only inet6 remains, but that doesn't help me. I have to reset networkmanager everytime this happens, it can become frustrating when you leave your computer overnight to work on something and next day you see that the internet connection was down for the last 6 hours. Someone advised me to switch to netifrc (i use gentoo), but i didn't like it because of wpa_supplicant. Imo, networkmanager manages wireless connection much easier. So i switched back to networkmanager. Here are some details i noticed:
when (re)starting networkmanager
Code:* Starting NetworkManager ... [ ok ]
Connecting............... 0s [offline]
* Marking NetworkManager as inactive. It will automatically be marked
* as started after a network connection has been established.
* WARNING: NetworkManager has started, but is inactiveCode:$ rc-update show
NetworkManager | default
acpilight | boot
binfmt | boot
bootmisc | boot
cgroups | sysinit
dbus | default
devfs | sysinit
dmesg | sysinit
fsck | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
kmod-static-nodes | sysinit
local | default nonetwork
localmount | boot
loopback | boot
modules | boot
mount-ro | shutdown
mtab | boot
procfs | boot
root | boot
save-keymaps | boot
save-termencoding | boot
savecache | shutdown
sshd | default
stmpfiles-dev | sysinit
stmpfiles-setup | boot
swap | boot
sysctl | boot
sysfs | sysinit
termencoding | boot
udev | sysinit
udev-trigger | sysinit
urandom | bootCode:$ ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether dc:0e:a1:3e:51:e4 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.15 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::c60b:31e8:d8ac:a0c2 prefixlen 64 scopeid 0x20<link>
inet6 2a00:1858:1018:8514:3628:63db:b622:eb7c prefixlen 64 scopeid 0x0<global>
inet6 2a00:1858:1018:8514::1 prefixlen 128 scopeid 0x0<global>
ether 0c:37:96:12:1f:8c txqueuelen 1000 (Ethernet)
RX packets 6926 bytes 5366365 (5.1 MiB)
RX errors 0 dropped 94 overruns 0 frame 0
TX packets 5480 bytes 893846 (872.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.14 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 2a00:1858:1018:8514::2 prefixlen 128 scopeid 0x0<global>
inet6 2a00:1858:1018:8514:f513:2c69:e3a:9da1 prefixlen 64 scopeid 0x0<global>
inet6 fe80::8061:9dc6:8944:ce92 prefixlen 64 scopeid 0x20<link>
ether 74:31:70:c9:dc:62 txqueuelen 1000 (Ethernet)
RX packets 92 bytes 30926 (30.2 KiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 50 bytes 8338 (8.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0Let me know if you need more info for figuring out my problem.
Thanks.
when (re)starting networkmanager
Code:* Starting NetworkManager ... [ ok ]
Connecting............... 0s [offline]
* Marking NetworkManager as inactive. It will automatically be marked
* as started after a network connection has been established.
* WARNING: NetworkManager has started, but is inactiveCode:$ rc-update show
NetworkManager | default
acpilight | boot
binfmt | boot
bootmisc | boot
cgroups | sysinit
dbus | default
devfs | sysinit
dmesg | sysinit
fsck | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
kmod-static-nodes | sysinit
local | default nonetwork
localmount | boot
loopback | boot
modules | boot
mount-ro | shutdown
mtab | boot
procfs | boot
root | boot
save-keymaps | boot
save-termencoding | boot
savecache | shutdown
sshd | default
stmpfiles-dev | sysinit
stmpfiles-setup | boot
swap | boot
sysctl | boot
sysfs | sysinit
termencoding | boot
udev | sysinit
udev-trigger | sysinit
urandom | bootCode:$ ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether dc:0e:a1:3e:51:e4 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.15 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::c60b:31e8:d8ac:a0c2 prefixlen 64 scopeid 0x20<link>
inet6 2a00:1858:1018:8514:3628:63db:b622:eb7c prefixlen 64 scopeid 0x0<global>
inet6 2a00:1858:1018:8514::1 prefixlen 128 scopeid 0x0<global>
ether 0c:37:96:12:1f:8c txqueuelen 1000 (Ethernet)
RX packets 6926 bytes 5366365 (5.1 MiB)
RX errors 0 dropped 94 overruns 0 frame 0
TX packets 5480 bytes 893846 (872.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.14 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 2a00:1858:1018:8514::2 prefixlen 128 scopeid 0x0<global>
inet6 2a00:1858:1018:8514:f513:2c69:e3a:9da1 prefixlen 64 scopeid 0x0<global>
inet6 fe80::8061:9dc6:8944:ce92 prefixlen 64 scopeid 0x20<link>
ether 74:31:70:c9:dc:62 txqueuelen 1000 (Ethernet)
RX packets 92 bytes 30926 (30.2 KiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 50 bytes 8338 (8.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0Let me know if you need more info for figuring out my problem.
Thanks.