LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-14-2016, 07:31 PM   #16
jmafc
LQ Newbie
 
Registered: Feb 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by michaelk View Post
Assigned by your ISP? I assume your using a router provided by your ISP and 192.168.1.1 is its default LAN configuration?
Yes, that's a more accurate description.

Quote:
Make sure the Mint IP address is not within the DHCP server's range so the same address is not being used by two different devices.
I moved it to a higher address just in case, but still no dice.
 
Old 02-14-2016, 07:45 PM   #17
jmafc
LQ Newbie
 
Registered: Feb 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
OK, I still suspect your hardware (network cable perhaps). The speed from ethtool is 100 MB/s, is this your network speed? If it is not it may indicate intermittent connection.
Yes, it's an Actiontec MI424-WR that (according to the docs) optionally supports 1 Gb/s, but obviously my router doesn't support that. The ethtool full output does indicate that the Advertised/supported link modes go up to 1000baseT/Full (which agrees with the motherboard specs), but the Link partner advertised link nodes only go up to 100baseT/Full.

The cable had been used previously for another PC. I just connected a laptop to it, disabled the WiFi connection and verified that the cable is good.
 
Old 02-14-2016, 08:56 PM   #18
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Do you have any liveCD to test the connection? Just to make sure it is not your installed Linux that is acting up.
 
Old 02-16-2016, 02:58 PM   #19
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,853

Rep: Reputation: 161Reputation: 161
Assume that hardware is good. Let's see where packet is lost.
1)Just listen eth0 using tcpdump, execute "tcpdump -i eth0"
2)Capture packet when ping default gateway, execute same command, "tcpdump -i eth0"
 
Old 02-18-2016, 03:37 PM   #20
jmafc
LQ Newbie
 
Registered: Feb 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nini09 View Post
Assume that hardware is good. Let's see where packet is lost.
1)Just listen eth0 using tcpdump, execute "tcpdump -i eth0"
2)Capture packet when ping default gateway, execute same command, "tcpdump -i eth0"
I've never looked at tcpdump output before, so I'm not sure what is significant. Here is a summary:

Code:
IP6 HBH ICMP6, multicast listener report v2
ARP, Request who-has 192.168.1.1
IP6 ICMP6, Neighbor solicitation, who has
IP6 ip6-allrouters, ICMP6 router solicitation
several netbios-ns entries
ARP, Reply 192.168.1.1 is-at .... (oui Unknown)
IP 192.168.1.1 ICMP echo request
IP > 68.238.96.12.domain ntp.ubuntu.com
That last IP address is one of the ISP dns-nameservers.
 
Old 02-22-2016, 02:48 PM   #21
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,853

Rep: Reputation: 161Reputation: 161
ARP handshake is OK. But ping is failure.
You need capture 192.168.1.4 ping on gateway. Ping reply is lost.
 
Old 02-28-2016, 03:19 PM   #22
jmafc
LQ Newbie
 
Registered: Feb 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nini09 View Post
ARP handshake is OK. But ping is failure.
You need capture 192.168.1.4 ping on gateway. Ping reply is lost.
Haven't had much time to look at this. I presume that capturing ping "on gateway" means running tcpdump on the gateway/router, or is there some other technique? I can log on to router via an http app provided by Verizon and it can see the box running Linux Mint (192.168.1.15--reassigned static IP to avoid conflict with other devices) and I can ping 192.168.15 from the app (and it fails), but that is about the extent of what can be done from/on the router/gateway.

I'm also considering installing another distro, such as Ubuntu or Debian (which I'm more familiar with), to see if they have the same problem.
 
Old 03-01-2016, 02:40 PM   #23
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,853

Rep: Reputation: 161Reputation: 161
If capturing packet on gateway is difficult, you can ping another machine on the network to debugging.
 
Old 03-01-2016, 03:26 PM   #24
jmafc
LQ Newbie
 
Registered: Feb 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nini09 View Post
If capturing packet on gateway is difficult, you can ping another machine on the network to debugging.
I had already pinged another machine (the one that I'm writing this on) and it works fine. I can also ping a Windows laptop connected by reusing the same ethernet cable as the Mint machine. So, if there's something wrong it's most likely on the latter. As I mentioned earlier (14 Feb), I suspect it's because avahi-autoipd runs and adds the link-local address.
 
Old 03-02-2016, 02:50 PM   #25
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,853

Rep: Reputation: 161Reputation: 161
If the machine can ping another machine, that means that the machine has problem with gateway only. Now you might be right, installing another Linux distribution.
 
Old 03-02-2016, 03:13 PM   #26
jmafc
LQ Newbie
 
Registered: Feb 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nini09 View Post
If the machine can ping another machine, that means that the machine has problem with gateway only. Now you might be right, installing another Linux distribution.
I think my previous response may have been unclear. From gateway/router, I can ping (a) Debian machine, (b) Windows laptop connected either via wifi or using same ethernet cable that I use to connect to Mint machine and (c) other devices but not (d) Mint machine. From Debian machine, I can ping gateway/router, laptop and other devices, but not Mint box. From Mint machine, I can't successfully ping anything (except occasionally a single ping to the gateway), as I understand because of the link-local route added by avahi-autoipd.
 
Old 03-03-2016, 02:36 PM   #27
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,853

Rep: Reputation: 161Reputation: 161
If so, you can ping Debian machine to find out what's going on. The link-local route might cause the issue but first packet of ping can go out on right interface. We need more information to isolate issue if you want.
 
Old 03-07-2016, 10:39 PM   #28
jmafc
LQ Newbie
 
Registered: Feb 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
I tried installing Debian Jessie and got some clues. While detecting network hardware, the install process complained that it couldn't find rtl_nic/rtl8168g-2.fw. From what I read, this is a non-free driver and is not included in the standard Debian release. So I tried installing from firmware-8.3.0-amd64-i386-netinst.iso (which includes the firmware-realtek package which has the missing driver). The very first time I tried the install from this netinst release it managed to configure DHCP automatically, but then I ran into an unrelated problem. I tried a couple of times more but it was unable to configure DHCP automatically or successfully configure with a static IP. I finished a mininal install anyway and lspci says the Ethernet controller is being handled by the r8169 driver. Some other discussions on LQ suggest installing the driver mentioned at the beginning, so that's what I'll try next.
 
Old 03-09-2016, 02:30 PM   #29
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,853

Rep: Reputation: 161Reputation: 161
Firmware run on chip and driver run on CPU. You need both.
 
Old 03-14-2016, 12:09 AM   #30
jmafc
LQ Newbie
 
Registered: Feb 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
Finally fixed it, mostly by following the instructions in http://djlab.com/2010/10/fixing-rtl8...debian-ubuntu/ . First downloaded the latest Linux driver from http://www.realtek.com.tw/downloads/...etDown=false#2 , version 8.041.01. Copied it over to /usr/src on the machine (where I had reinstalled LinuxMint 17.3), and built and installed the r8168.ko module. The "make install" didn't seem to work at first (some message about a signature IIRC), and even though I used
Code:
sudo echo "blacklist r8169" >> /etc/modprobe.d/blacklist-network.conf
at first I got "Access denied". After rebooting and becoming root, the blacklist conf was accepted. "update-initramfs -u" and another reboot finally did the trick. FWIW, the dkms approach also failed at the "install" step for the same signature problem.
 
  


Reply



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
Want to install DVDongle LinuxMint Mate 17.3 . Bump Linux Mint 3 02-22-2016 07:35 AM
my linuxmint-14.1-mate-dvd-32bit.iso file won't boot rolandl Linux - Newbie 3 04-13-2013 12:51 PM
Restarts after shutdown . linuxmint 13 mate dvd 64bit rmon Linux - Newbie 0 07-08-2012 10:47 PM
eth0 inet address not assigned at startup?? abolishtheun Slackware 2 04-30-2009 07:38 AM
inet<---eth1[LinuxBox_1]eth0<---e0[LinuxBox_2] : LinuxBox_2 hv no inet connection? Andrea_44 Linux - Networking 5 10-25-2006 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:24 AM.

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