Fedora Linux Support Community & Resources Center
  #1  
Old 13th September 2013, 06:43 PM
fr8train Offline
Registered User
 
Join Date: Sep 2013
Location: US
Posts: 5
linuxchrome
Exclamation Help! Ethernet connection fails on Fedora 19

Thanks in advance.

I have a new install of Fedora 19 on my Compaq Presario CQ61 laptop and I notice that my NIC is now P6P1 (ip link output below)

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: p6p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
link/ether c8:0a:a9:7e:60:99 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 1000
link/ether 78:e4:00:4b:ea:b7 brd ff:ff:ff:ff:ff:ff

My problem is that the ethernet connection fails. What is wrong? I plug the same Cat 5 line into a Windoze machine and it connects, no problem. This is very frustrating since I have a very weak wireless signal in my room.

Can anyone help? I'm a noob at Linux and Fedora.

$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 2016 bytes 168294 (164.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2016 bytes 168294 (164.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

p6p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::ca0a:a9ff:fe7e:6099 prefixlen 64 scopeid 0x20<link>
ether c8:0a:a9:7e:60:99 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15 bytes 2778 (2.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.21 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::7ae4:ff:fe4b:eab7 prefixlen 64 scopeid 0x20<link>
ether 78:e4:00:4b:ea:b7 txqueuelen 1000 (Ethernet)
RX packets 11901 bytes 12569122 (11.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9176 bytes 1757343 (1.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Thanks,

Doc

Last edited by fr8train; 13th September 2013 at 06:50 PM.
Reply With Quote
  #2  
Old 13th September 2013, 07:05 PM
flyingfsck Offline
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,891
macoschrome
Re: Help! Ethernet connection fails on Fedora 19

Quote:
p6p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::ca0a:a9ff:fe7e:6099 prefixlen 64 scopeid 0x20<link>
ether c8:0a:a9:7e:60:99 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15 bytes 2778 (2.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
No IP address and zero packets. DHCP failed as it didn't even try to do anything.

Try this:
# dhclient p6p1

and see what happens.
Reply With Quote
  #3  
Old 13th September 2013, 07:26 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,190
windows_8firefox
Re: Help! Ethernet connection fails on Fedora 19

Quote:
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.21 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::7ae4:ff:fe4b:eab7 prefixlen 64 scopeid 0x20<link>
ether 78:e4:00:4b:ea:b7 txqueuelen 1000 (Ethernet)
RX packets 11901 bytes 12569122 (11.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9176 bytes 1757343 (1.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I think you'll need to disable your wifi connection before the wired connection will work as your default internet gateway.
Reply With Quote
  #4  
Old 13th September 2013, 10:21 PM
inkrypted Offline
Registered User
 
Join Date: Oct 2012
Location: Missouri
Posts: 156
linuxfirefox
Re: Help! Ethernet connection fails on Fedora 19

I believe this post has the solution to your problem.
http://forums.fedoraforum.org/showthread.php?t=289008
__________________
Inkrypted
(Insert witty comment here)
Reply With Quote
  #5  
Old 13th September 2013, 10:42 PM
fr8train Offline
Registered User
 
Join Date: Sep 2013
Location: US
Posts: 5
linuxchrome
Re: Help! Ethernet connection fails on Fedora 19

Quote:
Originally Posted by inkrypted View Post
I believe this post has the solution to your problem.
http://forums.fedoraforum.org/showthread.php?t=289008
Like I said in my post, I am a noob. The post you referred me to looks a bit intimidating. There seems to be many solutions and opinions. Which one do I use?

I executed sudo dhclient p6p1 and other than starting dhclient nothing changed. The connection still fails.

$ sudo dhclient p6p1
dhclient(2382) is already running - exiting.

This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.

exiting.


If I turn off the Wireless and turn on only the wired connection. the connection fails and turns off the wired option.

ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 922 bytes 76052 (74.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 922 bytes 76052 (74.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

p6p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::ca0a:a9ff:fe7e:6099 prefixlen 64 scopeid 0x20<link>
ether c8:0a:a9:7e:60:99 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22 bytes 4384 (4.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

INKRYPED - Can you tell me which option I should try from the post you referred to?

Sorry, I'm a real noob and just trying to learn.

Thanks again.
Reply With Quote
  #6  
Old 13th September 2013, 11:30 PM
inkrypted Offline
Registered User
 
Join Date: Oct 2012
Location: Missouri
Posts: 156
linuxfirefox
Re: Help! Ethernet connection fails on Fedora 19

I don't believe in noobs nobody knows everything but looking at these post by smr54 he says this no longer works in Fedora 19 but he provides a solution and it looks easy to follow.

First Post: Note that in F19, this no longer works. Easiest way seems to be to run rpm -e biosdevname, and also add net.ifnames=0 to the end of the kernel line in /etc/default/grub. I then edited /etc/sysconfig/network-scripts/ifcfg-<ifname> as mentioned above.

The other method which also works is to create an /etc/udev/rules.d/70

http://rackerhacker.com/2011/09/25/g...-in-fedora-15/
gives a good explanation.

Unfortunately, this seems to be another instance where we'll have to get used to it--I suspect it will continue to get harder and harder to work around.

Second Post: Glad to hear it, but I am finding that after doing all this, I still need to put (on F19 and probably 18) net.ifnames=0 in /etc/default/grub on the kernel line, and then running grub2-mkconfig -o /boot/grub2/grub.cfg

I hope it solves your problem. Good luck.
__________________
Inkrypted
(Insert witty comment here)
Reply With Quote
  #7  
Old 14th September 2013, 05:13 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,078
linuxfirefox
Re: Help! Ethernet connection fails on Fedora 19

Quote:
I notice that my NIC is now P6P1
That's a feature and not a bug ;-)

It really doesn't matter what it's called p6p1, eth0 or em1 just to name a few.

Please note that the other thread just explains how to rename the device, which should be the least of your problems.

Quote:
I plug the same Cat 5 line into a Windoze machine and it connects, no problem.
What at the other end of the cable? Do you have a working DHCP server?

What exactly happens when you try to enable the "wired" connection?

Please check /var/log/messages for errors.

If the automagic configuration doesn't work try to configure the connection manually.
Reply With Quote
  #8  
Old 15th September 2013, 12:07 AM
fr8train Offline
Registered User
 
Join Date: Sep 2013
Location: US
Posts: 5
linuxchrome
Re: Help! Ethernet connection fails on Fedora 19

Quote:
Originally Posted by george_toolan View Post
That's a feature and not a bug ;-)

It really doesn't matter what it's called p6p1, eth0 or em1 just to name a few.

Please note that the other thread just explains how to rename the device, which should be the least of your problems.



What at the other end of the cable? Do you have a working DHCP server?

The other end of the cable is plugged into a wireless router that is fed from a cable modem. I am assuming that the dhcp server is from the ISP.

What exactly happens when you try to enable the "wired" connection?

When I enable the wired connection, it appears to be trying to resolve something and then eventually turns itself off and I receive a connection failed message.

Please check /var/log/messages for errors.

If the automagic configuration doesn't work try to configure the connection manually.
The following is an excerpt from my /var/log/messages file when I last attempted to enable the wired connection.

Sep 14 17:53:26 localhost gnome-session[1247]: Created new window in existing browser session.
Sep 14 17:53:34 localhost dhclient[1740]: DHCPDISCOVER on p6p1 to 255.255.255.255 port 67 interval 14 (xid=0x2881ea1d)
Sep 14 17:53:36 localhost NetworkManager[497]: <info> (p6p1): IP6 addrconf timed out or failed.
Sep 14 17:53:36 localhost NetworkManager[497]: <info> Activation (p6p1) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Sep 14 17:53:36 localhost NetworkManager[497]: <info> Activation (p6p1) Stage 4 of 5 (IPv6 Configure Timeout) started...
Sep 14 17:53:36 localhost NetworkManager[497]: <info> Activation (p6p1) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Sep 14 17:53:36 localhost gnome-session[1247]: [31:86:0914/175336:ERRORlatform_thread_linux.cc(99)] Failed to set nice value of thread to -10
Sep 14 17:53:40 localhost gnome-session[1247]: [31:94:0914/175340:ERRORlatform_thread_linux.cc(99)] Failed to set nice value of thread to -10
Sep 14 17:53:48 localhost dhclient[1740]: DHCPDISCOVER on p6p1 to 255.255.255.255 port 67 interval 11 (xid=0x2881ea1d)
Sep 14 17:53:49 localhost gnome-session[1247]: [WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
Sep 14 17:53:59 localhost dhclient[1740]: DHCPDISCOVER on p6p1 to 255.255.255.255 port 67 interval 15 (xid=0x2881ea1d)
Sep 14 17:54:01 localhost NetworkManager[497]: <warn> (p6p1): DHCPv4 request timed out.
Sep 14 17:54:01 localhost NetworkManager[497]: <info> (p6p1): canceled DHCP transaction, DHCP client pid 1740
Sep 14 17:54:01 localhost NetworkManager[497]: <info> Activation (p6p1) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Sep 14 17:54:01 localhost NetworkManager[497]: <info> Activation (p6p1) Stage 4 of 5 (IPv4 Configure Timeout) started...
Sep 14 17:54:01 localhost NetworkManager[497]: <info> (p6p1): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Sep 14 17:54:01 localhost NetworkManager[497]: <warn> Activation (p6p1) failed for connection 'enp3s0'
Sep 14 17:54:01 localhost NetworkManager[497]: <info> Activation (p6p1) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Sep 14 17:54:01 localhost NetworkManager[497]: <info> (p6p1): device state change: failed -> disconnected (reason 'none') [120 30 0]
Sep 14 17:54:01 localhost NetworkManager[497]: <info> (p6p1): deactivating device (reason 'none') [0]
Sep 14 17:54:20 localhost gnome-session[1247]: [19:128:0914/175420:ERRORlatform_thread_linux.cc(99)] Failed to set nice value of thread to -10
Sep 14 17:54:20 localhost gnome-session[1247]: [19:129:0914/175420:ERRORlatform_thread_linux.cc(99)] Failed to set nice value of thread to -10
Sep 14 17:54:30 localhost gnome-session[1247]: [19:130:0914/175430:ERRORlatform_thread_linux.cc(99)] Failed to set nice value of thread to -10
Sep 14 17:55:01 localhost gnome-session[1247]: [55:135:0914/175501:ERRORlatform_thread_linux.cc(99)] Failed to set nice value of thread to -10
Sep 14 17:55:09 localhost gnome-session[1247]: [19:153:0914/175509:ERRORlatform_thread_linux.cc(99)] Failed to set nice value of thread to -10
Sep 14 17:55:09 localhost gnome-session[1247]: [19:154:0914/175509:ERRORlatform_thread_linux.cc(99)] Failed to set nice value of thread to -10
Sep 14 17:55:13 localhost gnome-session[1247]: [19:157:0914/175513:ERRORlatform_thread_linux.cc(99)] Failed to set nice value of thread to -10
Reply With Quote
  #9  
Old 21st September 2013, 01:52 AM
fr8train Offline
Registered User
 
Join Date: Sep 2013
Location: US
Posts: 5
linuxchrome
Re: Help! Ethernet connection fails on Fedora 19

I've got some more information.

The ISP is Time Warner via a Motorola SBG6580 Wireless Router.

I logged into the router and tried to set a reserve IP address for my ethernet MAC address and I still cannot connect via ethernet.

Any suggestions are greatly appreciated.
Reply With Quote
  #10  
Old 22nd September 2013, 05:50 AM
danofsatx Offline
Registered User
 
Join Date: Sep 2013
Location: San Antonio, TX
Age: 41
Posts: 74
windows_8chrome
Re: Help! Ethernet connection fails on Fedora 19

If you control the router, then set a static IP on the computer and be done with it. I've run into too many issues lately where Windows and OSx machines can connect to a network just fine, but any *nix OS fails to get an IP address. I haven't been able to track down a valid reason, but it has to do with the way the response packet is formed. The DHCP server sees the request and responds, but the Linux machine never grabs the response.
Reply With Quote
  #11  
Old 22nd September 2013, 06:05 AM
flyingfsck Offline
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,891
linuxfirefox
Re: Help! Ethernet connection fails on Fedora 19

That is usually due to a misconfiguration in the DHCP server itself. The default configuration is non-authoritative and many developers of cheapo routers neglect to change the default to authoritative. Linux, being standards compliant, then ignores it.
Reply With Quote
  #12  
Old 22nd September 2013, 06:14 AM
danofsatx Offline
Registered User
 
Join Date: Sep 2013
Location: San Antonio, TX
Age: 41
Posts: 74
windows_8chrome
Re: Help! Ethernet connection fails on Fedora 19

where I first noticed the problem was on my Uni's campus. They're not "el cheapo" routers by any stretch of the imagination

The campus network is built on Windows servers and a Cisco infrastructure. The IP addresses are handled by a Windows Server 2008r2 server running DHCP services. The problem there, though, wasn't with the Linux machines ignoring the response - it was with the configuration of the server. Somehow (nobody has been able to give me an answer on this) they configured the server to only supply IP's to Windows, OSx, iOS, Android, and Ubuntu. All other OSs are ignored at the DHCP server.
Reply With Quote
  #13  
Old 22nd September 2013, 06:30 AM
flyingfsck Offline
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,891
linuxfirefox
Re: Help! Ethernet connection fails on Fedora 19

In the middle down there is the word 'authoritative'. Forget that, and standards compliant dhcp clients will hit the server with a flat ignore...

Quote:
ddns-update-style none;

option domain-name-servers 145.253.2.75, 193.174.32.18;

default-lease-time 86400;
max-lease-time 604800;

authoritative;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.200 192.168.0.229;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}
Reply With Quote
  #14  
Old 22nd September 2013, 04:42 PM
fr8train Offline
Registered User
 
Join Date: Sep 2013
Location: US
Posts: 5
linuxchrome
Re: Help! Ethernet connection fails on Fedora 19

Thanks to everyone for the assistance. I have been able to resolve the issue using a static IP address.
Reply With Quote
Reply

Tags
connection, ethernet, fails, fedora

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN connection fails on Fedora 16 tron_thomas Servers & Networking 4 8th January 2012 04:57 PM
DHCP lease renewal failing on Fedora 12 wired ethernet connection JohnP789 Servers & Networking 5 11th August 2010 01:22 AM
Ethernet connection tschijnmo Servers & Networking 1 12th April 2010 12:47 PM
Ethernet connection EHL18 Using Fedora 1 9th September 2005 04:39 AM
Ethernet Connection tbrodale Installation, Upgrades and Live Media 8 2nd August 2005 07:04 PM


Current GMT-time: 18:03 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Puerto El Triunfo Photos - Firozpur Travel Photos on Instagram - Sevan Travel Photos