Re: [PLUG] Ethernet connection dropping
On 08/10/2017 10:57 PM, Ken Eshelby wrote: > It can help to have a good/known DHCP server for troubleshooting. I've > used various Cisco (router, switch or AP), Mikrotik, and Ubiquiti devices > as DHCP servers in the past without service issues. My main DHCP server is > actually an old web server running Ubuntu 8.04 on a 32-bit HTPC box. Just > having decent DHCP server logs and a router or managed switch with decent > logs and some basic interface metrics for your physical or wireless > connections can eliminate a lot of uncertainty. > > I've got a couple Ubuntu 16.04 boxes running on low power hardware that > don't seem to have issues with leases. > For now I've gone back to my 14.04 box. There were too many annoyances with 16.04 to run it as my day-to-day machine. I hope to spend some time with it this weekend figuring out what the differences are so I can take it to the clinic on th 20th and hopefully find things to adjust. I'm not losing my DHCP lease with 14.04. Here, DHCP is served by my Buffalo router. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Ethernet connection dropping
It can help to have a good/known DHCP server for troubleshooting. I've used various Cisco (router, switch or AP), Mikrotik, and Ubiquiti devices as DHCP servers in the past without service issues. My main DHCP server is actually an old web server running Ubuntu 8.04 on a 32-bit HTPC box. Just having decent DHCP server logs and a router or managed switch with decent logs and some basic interface metrics for your physical or wireless connections can eliminate a lot of uncertainty. I've got a couple Ubuntu 16.04 boxes running on low power hardware that don't seem to have issues with leases. -- Ken ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Ethernet connection dropping
On 08/06/2017 08:29 AM, Dick Steffens wrote: > On 08/05/2017 11:56 PM, Russell Senior wrote: >> "Dick" == Dick Steffenswrites: >> >> Dick> Two times over the last three days my machine has dropped its >> Dick> Ethernet connection. It doesn't say it's dropped, but I can't see >> Dick> beyond the machine, not even other machines in the house. Using >> Dick> the widget on the top bar on the Ubuntu MATE 16.04 screen I >> Dick> manually drop and then reconnect, and all is well again. >> >> Dick> I've never had this happen on other machines running various >> Dick> versions of Ubuntu. Any ideas on where to look to see why the >> Dick> connection is dropping? >> >> Do you still have a dhcp lease? That is, is there a reasonable ip >> address attached to the interface? Do you have a link? When you say >> "dropped" does that mean to anywhere? Do you have a default route? > Dropped again. Here are the results of ifconfig: rsteff@ENU-2:~$ sudo ifconfig [sudo] password for rsteff: enp0s31f6 Link encap:Ethernet HWaddr 70:8b:cd:7f:0c:56 inet6 addr: fe80::aff0:732b:5508:6fb5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6750853 errors:0 dropped:0 overruns:0 frame:0 TX packets:4152265 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6321412070 (6.3 GB) TX bytes:867072229 (867.0 MB) Interrupt:16 Memory:f710-f712 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:304784 errors:0 dropped:0 overruns:0 frame:0 TX packets:304784 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30561735 (30.5 MB) TX bytes:30561735 (30.5 MB) From that I conclude that I don't have a dhcp lease. The lease is renewed by clicking on the Wired Connection 1 line in the drop down menu called Ethernet Network. rsteff@ENU-2:~$ sudo ifconfig enp0s31f6 Link encap:Ethernet HWaddr 70:8b:cd:7f:0c:56 inet addr:192.168.0.134 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::aff0:732b:5508:6fb5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6752256 errors:0 dropped:0 overruns:0 frame:0 TX packets:4153960 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6321770679 (6.3 GB) TX bytes:867335636 (867.3 MB) Interrupt:16 Memory:f710-f712 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:306131 errors:0 dropped:0 overruns:0 frame:0 TX packets:306131 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30680298 (30.6 MB) TX bytes:30680298 (30.6 MB) Using the Google FOO: ubuntu MATE 16.04 loses dhcp lease I found this: https://superuser.com/questions/1087359/occasionally-losing-wired-lan-connection-on-ubuntu-16-04 I have to leave in a few minutes, but I'll pursue that further when I get back. Thanks for the pointer to dhcp lease. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Ethernet connection dropping
Just a note. I found out this week that the DHCP client in Linux eventually times out trying to get a lease. These machines won't recovery without manual intervention unless there is a watchdog set. On Aug 6, 2017 8:32 AM, "Dick Steffens"wrote: > On 08/05/2017 11:56 PM, Russell Senior wrote: > > "Dick" == Dick Steffens writes: > > > > Dick> Two times over the last three days my machine has dropped its > > Dick> Ethernet connection. It doesn't say it's dropped, but I can't see > > Dick> beyond the machine, not even other machines in the house. Using > > Dick> the widget on the top bar on the Ubuntu MATE 16.04 screen I > > Dick> manually drop and then reconnect, and all is well again. > > > > Dick> I've never had this happen on other machines running various > > Dick> versions of Ubuntu. Any ideas on where to look to see why the > > Dick> connection is dropping? > > > > Do you still have a dhcp lease? That is, is there a reasonable ip > > address attached to the interface? Do you have a link? When you say > > "dropped" does that mean to anywhere? Do you have a default route? > > Good questions. Next time it happens I'll check those. And yes, > "dropped" does mean to anywhere. I have two other machines on my desk > that it cannot see. They all go through the same switch to get to the > router. I didn't check both, but I had no trouble getting out to the > Internet with one of them. > > -- > Regards, > > Dick Steffens Both under my last two ISP's (Verizon.com and Primus.ca) and my current ISP (Bell.ca), I did experience DHCP issues and drops, until I stopped allowing the ISP set the DNS, and hard coded for Google DNS IP's ... very little trouble after that. But your descriptons make me think either faulty cable or NIC Regards Fred James ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Ethernet connection dropping
Just a note. I found out this week that the DHCP client in Linux eventually times out trying to get a lease. These machines won't recovery without manual intervention unless there is a watchdog set. On Aug 6, 2017 8:32 AM, "Dick Steffens"wrote: > On 08/05/2017 11:56 PM, Russell Senior wrote: > > "Dick" == Dick Steffens writes: > > > > Dick> Two times over the last three days my machine has dropped its > > Dick> Ethernet connection. It doesn't say it's dropped, but I can't see > > Dick> beyond the machine, not even other machines in the house. Using > > Dick> the widget on the top bar on the Ubuntu MATE 16.04 screen I > > Dick> manually drop and then reconnect, and all is well again. > > > > Dick> I've never had this happen on other machines running various > > Dick> versions of Ubuntu. Any ideas on where to look to see why the > > Dick> connection is dropping? > > > > Do you still have a dhcp lease? That is, is there a reasonable ip > > address attached to the interface? Do you have a link? When you say > > "dropped" does that mean to anywhere? Do you have a default route? > > Good questions. Next time it happens I'll check those. And yes, > "dropped" does mean to anywhere. I have two other machines on my desk > that it cannot see. They all go through the same switch to get to the > router. I didn't check both, but I had no trouble getting out to the > Internet with one of them. > > -- > Regards, > > Dick Steffens > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Ethernet connection dropping
On 08/05/2017 11:56 PM, Russell Senior wrote: > "Dick" == Dick Steffenswrites: > > Dick> Two times over the last three days my machine has dropped its > Dick> Ethernet connection. It doesn't say it's dropped, but I can't see > Dick> beyond the machine, not even other machines in the house. Using > Dick> the widget on the top bar on the Ubuntu MATE 16.04 screen I > Dick> manually drop and then reconnect, and all is well again. > > Dick> I've never had this happen on other machines running various > Dick> versions of Ubuntu. Any ideas on where to look to see why the > Dick> connection is dropping? > > Do you still have a dhcp lease? That is, is there a reasonable ip > address attached to the interface? Do you have a link? When you say > "dropped" does that mean to anywhere? Do you have a default route? Good questions. Next time it happens I'll check those. And yes, "dropped" does mean to anywhere. I have two other machines on my desk that it cannot see. They all go through the same switch to get to the router. I didn't check both, but I had no trouble getting out to the Internet with one of them. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Ethernet connection dropping
> "Dick" == Dick Steffenswrites: Dick> Two times over the last three days my machine has dropped its Dick> Ethernet connection. It doesn't say it's dropped, but I can't see Dick> beyond the machine, not even other machines in the house. Using Dick> the widget on the top bar on the Ubuntu MATE 16.04 screen I Dick> manually drop and then reconnect, and all is well again. Dick> I've never had this happen on other machines running various Dick> versions of Ubuntu. Any ideas on where to look to see why the Dick> connection is dropping? Do you still have a dhcp lease? That is, is there a reasonable ip address attached to the interface? Do you have a link? When you say "dropped" does that mean to anywhere? Do you have a default route? -- Russell Senior, President russ...@personaltelco.net ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug