You are not logged in.

#1 2015-04-05 12:30:03

jsmtux
Member
Registered: 2015-04-05
Posts: 4

Network connection stops working

Hi, I'm new to arch so please bear with me if any of this is stupid.
I recently installed arch with  no problems, but since some hours ago my network connection is not working correctly.
I am using network manager after uninstalling every other network service. It connects correctly but after less than a minute of browsing the web it stops working although it is shown as being connected.

When it stops working i cannot do ping to 8.8.8.8 or even to the router, but I can ping my pc's external ip address 192.168.0.22.

dmesg | wlp0s20u4 shows no errors, only authenticated and associated messages.

If I restart networkmanager it works again for a while.

After stopping networkmanager I reinstalled netctl just to check. Connected through wifi-menu with no problems. But the behaviour is the same, after less than a minute it stops working.

I have also noticed that if I am not browsing, only doing ping to google the connection keeps working for a long time.

This is not a problem of the router because I am correctly browsing with another pc.

Thanks in advance for your help

Offline

#2 2015-04-06 07:38:30

jsmtux
Member
Registered: 2015-04-05
Posts: 4

Re: Network connection stops working

The weird thing about this is that the network will always stop working after I visit some pages. I can read the arch linux wiki or install pacman packages with no problem, but when I try to go to github the network will always break.

I know this sounds really weird, do you have any idea?

Offline

#3 2015-04-06 08:15:55

jsmtux
Member
Registered: 2015-04-05
Posts: 4

Re: Network connection stops working

I found that when the network stops working the route command does not work, only prints the first line (Destination Gateway...) but then does not print anything else and I have to stop it with ctrl c


The output of arp -an is something like:
? (192.168.0.1) at <incomplete> on wlp0s20u9

and after restarting NetworkManager
? (192.168.0.1) at 20:e5:2a:d3:db:fb [ether] on wlp0s20u9

Thanks

Last edited by jsmtux (2015-04-06 08:29:16)

Offline

#4 2015-04-07 10:41:58

wtx
Member
Registered: 2014-06-09
Posts: 76

Re: Network connection stops working

What return "route -n" and "ifconfig -a" commands in both cases - when there is and isn't connection to the internet?

Offline

#5 2015-04-07 12:58:17

lokesh987
Member
Registered: 2014-12-15
Posts: 43

Re: Network connection stops working

Is it just a matter of wireless or does this happen also when cable connected?

I have a wlan usb dongle with RTL8188CUS driver (use lsusb or lspci to identify your wlan adaptor). The corresponding kernel driver is not working. After a fresh install, wlan was working and always stopped after a very short while, just as you described.

Look at https://github.com/pvaret/rtl8192cu-fixes in case you have the same chipset and follow the instructions. They are for Debian/Ubuntu systems but work also on others. Just "linux-headers-generic" my have a different name on Arch Linux.

Lokesh

Offline

#6 2015-04-07 17:08:06

jsmtux
Member
Registered: 2015-04-05
Posts: 4

Re: Network connection stops working

wtx: this is the information you requested, but i think it is the same on both
Without internet:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    600    0        0 wlp0s20u4
192.168.0.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp0s20u4
wlp0s20u4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.22  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::2c0:caff:fe7b:65d9  prefixlen 64  scopeid 0x20<link>
        ether 00:c0:ca:7b:65:d9  txqueuelen 1000  (Ethernet)
        RX packets 515  bytes 364259 (355.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 558  bytes 77509 (75.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

with internet:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    600    0        0 wlp0s20u4
192.168.0.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp0s20u4
wlp0s20u4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.22  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::2c0:caff:fe7b:65d9  prefixlen 64  scopeid 0x20<link>
        ether 00:c0:ca:7b:65:d9  txqueuelen 1000  (Ethernet)
        RX packets 26  bytes 4276 (4.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 37  bytes 4861 (4.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lokesh987: I haven't tried with the cable connected. My usb dongle is also a realtek, but RTL8187, which should be properly supported, as it works on another computer with ubuntu 14.04

Thank you both for your help

Offline

Board footer

Powered by FluxBB