Linux 14.04 breaks internet connection

David Sigmund

Honorable
Jan 1, 2014
30
0
10,540
I installed Linux 14.04 to my dell laptop awhile back and I'm having a weird problem with it. This happens whether I'm on wireless or wired but I will lose internet connection and all my other computers will lose connection as well. Some info that may be of use is, I have a MoCA adapter that is plugged into a hub so I can have wired internet in my bedroom. I have a desktop and a raspberry pi plugged into the Ethernet hub. I also have a Netgear N600 thats next to the cable modem, that gives WiFi to the whole house, and it runs just like normal unless I start up Linux.

I can use the internet on the laptop for a short time, like 5-10 minutes, but after that I have to turn my router off and back on again.

One thing that is odd though is that the devices that are connected in my room will only lose internet connection and not all the devices in my house, although there was one time that all the devices lost connection.

I'm wondering if Linux may be giving a static IP or something, I just don't know enough about Linux to troubleshoot it myself.

Any help would be greatly appreciated.
 
Solution
open a browser and and type your default gateway and log in the router.
find any settings that mention dhcp server and maximize the number of max users.although this should not be the problem.for drivers open a terminal and type lsmod see if they are loaded or if you dont know copy paste the result here.
you can go to additional drivers located in a tab in the ubuntu app center.
this wont be the case either because you mentioned using the laptop for 20 minutes.
on most operating systems you can chose to automaticaly get a ip over the dhcp protocol from your router.
which in most cases is by default.
or assign a ip manualy.
i whould recomend disconecting first all devices from the router and conecting only the device which you assume the network goes down.see if you encounter the problem again.if you encounter the problem i whould recomend contacting netgear.its most likely the product is defect.
 


I'll give that a try in the morning. I still think it is something to do with the laptop or maybe I just messed up the install of linux. I used to have 12.04 on another computer and it worked fine.
 
you lose internet comecton to all devices it is something with the router.or a seting or the unit its self.not the end device.
if you encounter the same problem open a terminal on linux and type ifconfig.and post the results.
 


Ok I will try that later, but I still don't think it a problem with the router because I'm on the internet right now and the laptop with Ubuntu is off and not connected at all.
 
you can conect to the router right?
you just can not access the internet if i am correct.
the physical layer is ok the data link layer is ok.
something happens with the networking layer when you conect with the access point of your router.
i whould recomend on a windows pc open comand prompt and type ipconfig and see the ip address the computer has been assigned.conect with the linux pc on the network and ping the windows pc.simply by opening the terminal and typing ping ip address ping xxx.xxx.xxx.xxx if everything works fine its something with the router.
 


Ok so I connected and ran a ping on my windows PC to the laptop with linux and it worked fine. However I did the ping command on my linux laptop to my windows pc like you said and it failed. It says 100% packet loss. I also logged into my router to see if the linux laptop is listed and it is.
 
turn off windows firewall temporarily and ping.
control panel windows firewall.then try to ping again.although this should not be a problem.
the user says that the firewall on the windows pc is blocking icmp packets when you ping from linux to windows.
from windows to linux you can ping.this is what the user mentioned on the other forum.
 
ok my last post doesn't really help my problem, really all that told me was my windows pc has a firewall and my linux laptop doesn't, which I already knew. I used the laptop for a good 20 min with no problems so I'm wondering if it's possible that the linux laptop is, for some reason, trying to resign itself a new IP that conflicts with one that is already on my network.

I should of asked this question earlier but could it be as simple as the wireless card and/or Ethernet port on the laptop needs a driver or something I missed when installing Ubuntu
 
open a browser and and type your default gateway and log in the router.
find any settings that mention dhcp server and maximize the number of max users.although this should not be the problem.for drivers open a terminal and type lsmod see if they are loaded or if you dont know copy paste the result here.
you can go to additional drivers located in a tab in the ubuntu app center.
this wont be the case either because you mentioned using the laptop for 20 minutes.
 
Solution
hers the output

david@Davids-Laptop:~$ lsmod
Module Size Used by
bnep 19624 2
rfcomm 69160 0
bluetooth 395423 10 bnep,rfcomm
ip6t_REJECT 12939 1
xt_hl 12521 6
ip6t_rt 13537 3
nf_conntrack_ipv6 18894 8
nf_defrag_ipv6 34768 1 nf_conntrack_ipv6
ipt_REJECT 12541 1
xt_LOG 17717 10
xt_limit 12711 13
xt_tcpudp 12884 18
xt_addrtype 12635 4
nf_conntrack_ipv4 15012 8
nf_defrag_ipv4 12758 1 nf_conntrack_ipv4
xt_conntrack 12760 16
ip6table_filter 12815 1
ip6_tables 27025 1 ip6table_filter
nf_conntrack_netbios_ns 12665 0
nf_conntrack_broadcast 12589 1 nf_conntrack_netbios_ns
nf_nat_ftp 12770 0
snd_hda_codec_hdmi 46207 1
nf_nat 21798 1 nf_nat_ftp
snd_hda_codec_realtek 61438 1
nf_conntrack_ftp 18638 1 nf_nat_ftp
nf_conntrack 96976 8 nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_ipv6
arc4 12608 2
iwldvm 232285 0
iptable_filter 12810 1
mac80211 626557 1 iwldvm
ip_tables 27239 1 iptable_filter
x_tables 34059 13 ip6table_filter,xt_hl,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6t_rt,ipt_REJECT,ip6_tables,xt_addrtype,ip6t_REJECT
intel_rapl 18773 0
uvcvideo 80885 0
x86_pkg_temp_thermal 14205 0
videobuf2_vmalloc 13216 1 uvcvideo
intel_powerclamp 14705 0
videobuf2_memops 13362 1 videobuf2_vmalloc
coretemp 13435 0
videobuf2_core 40664 1 uvcvideo
videodev 134688 2 uvcvideo,videobuf2_core
snd_hda_intel 52355 6
kvm_intel 143060 0
kvm 451511 1 kvm_intel
joydev 17381 0
snd_hda_codec 192906 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
iwlwifi 169932 1 iwldvm
snd_hwdep 13602 1 snd_hda_codec
crct10dif_pclmul 14289 0
snd_pcm 102099 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
crc32_pclmul 13113 0
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
snd_seq_midi 13324 0
nouveau 1097199 1
snd_seq_midi_event 14899 1 snd_seq_midi
i915 783703 3
parport_pc 32701 0
snd_rawmidi 30144 1 snd_seq_midi
mac_hid 13205 0
dell_wmi 12761 0
mxm_wmi 13021 1 nouveau
ppdev 17671 0
sparse_keymap 13948 1 dell_wmi
ghash_clmulni_intel 13216 0
aesni_intel 55624 0
ttm 85115 1 nouveau
snd_seq 61560 2 snd_seq_midi_event,snd_seq_midi
drm_kms_helper 52758 2 i915,nouveau
aes_x86_64 17131 1 aesni_intel
lp 17759 0
dell_laptop 18168 0
mei_me 18627 0
lrw 13286 1 aesni_intel
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
gf128mul 14951 1 lrw
snd_timer 29482 2 snd_pcm,snd_seq
drm 302817 7 ttm,i915,drm_kms_helper,nouveau
cfg80211 484040 3 iwlwifi,mac80211,iwldvm
snd 69238 23 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
parport 42348 3 lp,ppdev,parport_pc
dcdbas 14928 1 dell_laptop
i2c_algo_bit 13413 2 i915,nouveau
wmi 19177 3 dell_wmi,mxm_wmi,nouveau
serio_raw 13462 0
glue_helper 13990 1 aesni_intel
ablk_helper 13597 1 aesni_intel
soundcore 12680 1 snd
lpc_ich 21080 0
cryptd 20359 3 ghash_clmulni_intel,aesni_intel,ablk_helper
mei 82276 1 mei_me
video 19476 2 i915,nouveau
psmouse 102222 0
ahci 25819 2
r8169 67581 0
libahci 32168 1 ahci
mii 13934 1 r8169
 
Ok I think I have come to the conclusion that it may just be our router. It has been giving us trouble in the past, nothing like what I experienced a few days ago. Thats why I assumed that is was Ubuntu but I've been using it no problem for the past 3 hours. I'll just say it was a bad coincidence. Thanks for all the help guys.