LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2017, 07:30 PM   #16
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063

Quote:
Originally Posted by crabbyfogey View Post
Update manager is software that notifies you when updates are available. Icon in panel tells you your system is up-to-date or needs something done. That's how I'm notified that Firefox, Tbird, etc has a new version, for example. The updates are ranked according to importance/risk.
Did your problem start straight after install of those updates??

I wasn't sure if you meant updates for your router/modem or your system on your laptop itself, being the reason I was confused about that.

Last edited by jsbjsb001; 04-01-2017 at 07:32 PM. Reason: forgot "of"
 
Old 04-01-2017, 07:46 PM   #17
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,898

Rep: Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158
So, you are currently connected to the internet. Why did you think you weren't?
 
Old 04-02-2017, 10:32 AM   #18
crabbyfogey
Member
 
Registered: Sep 2016
Posts: 54

Original Poster
Rep: Reputation: Disabled
Decided I was getting buggy looking at this, so took a break. First thing this morning I fired up the Lenovo and did the ping again. Results:


PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=1.00 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.398 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.354 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=0.315 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=0.381 ms
----------------------------
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.0.1 icmp_seq=1 Destination Net Unreachable
From 192.168.0.1 icmp_seq=2 Destination Net Unreachable
From 192.168.0.1 icmp_seq=3 Destination Net Unreachable
From 192.168.0.1 icmp_seq=4 Destination Net Unreachable
From 192.168.0.1 icmp_seq=5 Destination Net Unreachable
-----------------------------
ping google.com
PING google.com (216.58.217.14) 56(84) bytes of data.
64 bytes from den03s09-in-f14.1e100.net (216.58.217.14): icmp_seq=1 ttl=57 time=10.3 ms
64 bytes from den03s09-in-f14.1e100.net (216.58.217.14): icmp_seq=2 ttl=57 time=10.4 ms
64 bytes from den03s09-in-f14.1e100.net (216.58.217.14): icmp_seq=3 ttl=57 time=10.5 ms
64 bytes from den03s09-in-f14.1e100.net (216.58.217.14): icmp_seq=4 ttl=57 time=10.7 ms
64 bytes from den03s09-in-f14.1e100.net (216.58.217.14): icmp_seq=5 ttl=57 time=10.2 ms

They look slightly different. Thought the problem still there. Went to make coffee and when I came back 10 min later, the modem lights were all lit up. Everything now works. Since I already tried all the modem things, this makes no sense. So, I shut down both laptop and modem, rebooted the whole thing, twice. Same deal, there's a 6 min delay between laptop getting connection and being able to use it. Is that even possible?
 
Old 04-02-2017, 01:49 PM   #19
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,898

Rep: Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158
Quote:
Same deal, there's a 6 min delay between laptop getting connection and being able to use it. Is that even possible?
I'm not quite sure what you mean by this. Are you referring to being able to browse a given site? Is this particular sites? Sesssion-related perhaps?
 
Old 04-02-2017, 06:04 PM   #20
crabbyfogey
Member
 
Registered: Sep 2016
Posts: 54

Original Poster
Rep: Reputation: Disabled
The only 2 programs I use for the internet are Firefox & Tbird. I turn on the computer and, normally, I can check email & get on internet right away. For the last week, when I launch one of them, Tbird won't check email and FF can't load a web page. And there's an indicator light on the modem that goes on when there's an internet connection. No light. Mint says I have a connection. So, one of them is wrong. Since Mint has been operating trouble free for months, I thought it was the modem. Tried that, unplug/reset etc, no luck there. So, started looking at Mint. I used an old laptop to get on the internet, no connection problem with it. As soon as the older laptop starts a connection the newer one can use that. So, basically, I've been using the older one to get a connection and using the newer one after that. This morning, quite by accident, I discovered that if I wait long enough the newer one can get a usable connection. I timed it and it takes 6 minutes between the time I turn it on and the connection will actually work. I've done some testing from suggestions I got here, searched the internet, and looked on the mozilla forums, but no one seems to be having that kind of problem.

I think I'm going to flag this as resolved, even tho it's really not. I'm going to spend some more time looking at other forums and then return when I get a better (or any) idea about what the problem might be. At this point, I'm clueless about what it might be or where it even is.
 
Old 04-02-2017, 07:32 PM   #21
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,898

Rep: Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158
It is certainly a strange issue. Perhaps a quirk of the NIC hardware...
Code:
inxi -SNx
FWIW, here's a thread where the user with a laptop using Realtek ethernet chipset (r8169 driver) was experiencing connectivity issues, but found that unplugging/plugging the ethernet cable (or invoking ifdown eth0/ifup eth0) would result in a working connection
https://forums.linuxmint.com/viewtopic.php?t=189257
 
Old 04-03-2017, 12:30 AM   #22
crabbyfogey
Member
 
Registered: Sep 2016
Posts: 54

Original Poster
Rep: Reputation: Disabled
I'll definitely read that. So far, I think I have 2 possibles. My ISP changed something about the modem--didn't tell/ask me. Imagine that. Or, since I've done 2 FF and 1 Tbird update in about the right time frame, makes me wonder. Usually FF will change something when I do an update, it's always a cosmetic preference. Missing toolbar, that type of thing. Looked at my update history, there's more than I thought and it will take me some time to go thru and look at everyone of them. That's my plan and I already know how long it takes to check all the FF config!
 
Old 04-03-2017, 01:19 AM   #23
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,898

Rep: Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158
Share your ethernet hardware details when you get a chance. We can examine the syslog messages for clues about what is happening regarding DHCP leases etc
 
Old 04-03-2017, 09:43 AM   #24
crabbyfogey
Member
 
Registered: Sep 2016
Posts: 54

Original Poster
Rep: Reputation: Disabled
Spent hours looking on the internet, not having any luck. People are having similar problems, mostly wireless. My Compaq has 2 DNS numbers in the network settings but the Lenovo (new) only has 1. That's in the details option. Could that make a difference?
 
Old 04-03-2017, 11:09 AM   #25
crabbyfogey
Member
 
Registered: Sep 2016
Posts: 54

Original Poster
Rep: Reputation: Disabled
Ignore last message. As soon as the connection is usable, the second DNS number shows up in the network settings. So, the delay must be in the acquisition of the second DNS number? Is that going to be something in FF or Linux itself? (trying to narrow down the search)
 
Old 04-03-2017, 12:01 PM   #26
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
#13 suggests that you are on the internet. So something else is in the way. Firewall? MTU size? For each layer of NAT you should subtract 40 (or 60) from the default MTU of 1500.

$ sudo ifconfig enp1s0 mtu 1440

Each layer of nat adds a TCP/IP header. So you could be sending one big and one small packet instead of one packet. And on a high packet loss connection issues arise. The server on the other end isn't able to assemble the packet again and just ignores you. Smaller packets have more overhead (headers), but you can get better queuing and more responsiveness on a slow connection. With the MTU on a dialup connection being 576
back in the day. Which oddly works when certain sites (*cough* pogo.com / sony *cough*) are mis-configured.
 
Old 04-03-2017, 02:53 PM   #27
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,898

Rep: Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158
Quote:
Ignore last message. As soon as the connection is usable, the second DNS number shows up in the network settings. So, the delay must be in the acquisition of the second DNS number? Is that going to be something in FF or Linux itself? (trying to narrow down the search)
The delay you mention is associated with the DHCP communication which provides the IP address and DNS address(es). You could keep a watch on the syslog to see what messages are reported with respect to dhcp. Open a terminal and run it as soon as you've logged in and before the connection is active...

Code:
sudo tail /var/log/syslog
or filtered for dhclient/dhcp messages
Code:
sudo tail /var/log/syslog|grep dh
You still haven't given us your ethernet hardware details as requested in post #21. I'd like to know the driver details.
 
Old 04-03-2017, 05:42 PM   #28
crabbyfogey
Member
 
Registered: Sep 2016
Posts: 54

Original Poster
Rep: Reputation: Disabled
Can't find anything to tell me where I can find ethernet hardware details. Could it be called something else?

The MTU is set at 'automatic'. Ditto for the old laptop that I'm running parallel, trouble free. So, I'm guessing that's not it, but I'm keeping it in mind just in case.
 
Old 04-03-2017, 08:35 PM   #29
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ sudo ifconfig enp1s0 mtu 1492

Long ago with certain early broadband providers, that trick give you a notice-able bump in throughput. Even if it's not the "issue", it is worth fiddling with from time to time.

$ dmesg

Normally has some information on ethernet. Like the driver used, the firmware loaded (or missing), and other things.

$ lspci -nnk
$ lsusb
$ lsmod

# egrep -r -i enp1s0 /var/log/*

Replace enp1s0 with whatever udev called your device.

# ifconfig -a
$ ip link show

The one(s) that starts with e is/are the ethernet one(s). With w* for wireless and lo for the local loopback networking that allow for so many more things than windows has delivered. One you know the module name of the ethernet driver you can do a lot more research, like checking for alternate drivers on github. Like checking for other firmware that might work better. Like checking for what modinfo says about it in terms of options and parameters. Or just checking the kernel source tree for clarification and errors. Although most of that can be gleamed by googling the vendor:device name outputted by lspci or lsusb. It's a dual hex value FFFF:FFFF specific to your hardware. [10ec:8168] in my current hardware.
 
Old 04-03-2017, 08:40 PM   #30
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,898

Rep: Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158
Quote:
Can't find anything to tell me where I can find ethernet hardware details. Could it be called something else?
Do you not have inxi installed? (Post #21)

You can also use lspci and filter for network class (02) PCI bus connected devices like this...
Code:
/sbin/lspci -nnk|grep '\[02' -A3
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird internet connection problem with Ubuntu, please help me. yoyoyoyoyo Linux - Newbie 3 07-14-2009 07:22 AM
only amule works in my connection, weird! stabu Linux - Networking 5 01-01-2008 08:23 PM
Weird loopback connection... Djjules Linux - Security 45 10-03-2006 07:06 AM
Weird connection problem Asellus Mandriva 1 09-05-2005 11:48 PM
Weird Internet Connection Problem! matrim Linux - Networking 3 01-28-2005 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration