Fedora Linux Support Community & Resources Center
  #1  
Old 15th July 2012, 09:28 PM
Bazu135 Offline
Registered User
 
Join Date: Aug 2011
Location: Luton, UK
Age: 28
Posts: 291
linuxfirefox
No ethernet after minimal install

I'm attempting a minimal install for the first time, using the F17 install DVD on an Acer Extensa 5220 laptop, but have encountered a problem very early on - the OS doesn't appear to detect the laptop's ethernet port. I've checked that NetworkManager is running, but when I attempt to ping an address (local or 8.8.8.8) it returns the error "connect: Network is unreachable". When I run ifconfig, 'lo' 'p2p1' and 'wlan0' are returned, but no 'eth0'.

When I use an F16 Live CD, the port is detected and the connection operates correctly, so it's not a hardware fault. I tried the minimal installation with absolutely no additional packages, though; are there any I should try adding to rectify this? Can anyone suggest anything else?

Many thanks in advance!
__________________
I generally use two tools - trial and error. They fix most things eventually!
Reply With Quote
  #2  
Old 15th July 2012, 10:09 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,030
linuxfirefox
Re: No ethernet after minimal install

The wired network port is "p2p1" Fedora 17 uses a different port naming scheme designed to make the port name fixed so each time you install Fedora to the same hardware the name comes out the same (the numbers 1 and 2 are from various hardware details that don't change like bus ids and so on). So the question here is, is p2p1 ports state "UP" or "DOWN" ? It should be "UP"
Quote:
ip addr show p2p1
Now, I'd try to use system-config-network to see if its setup to run. Unfortunately system-config-network isn't a default tool anymore and you'd need the network to install it (unless you have the install disk and know how to use the disk as a local repository)
Reply With Quote
  #3  
Old 15th July 2012, 10:17 PM
Colors Offline
Registered User
 
Join Date: Dec 2011
Location: Urziceni, Romania
Posts: 129
linuxfirefox
Re: No ethernet after minimal install

My ethernet card is em1, so for me:

as root

# dhclient em1

and it should connect.
Reply With Quote
  #4  
Old 15th July 2012, 10:24 PM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,757
linuxfirefox
Re: No ethernet after minimal install

Try
Code:
ip link set eth0 up
You can get list of interfaces using
Code:
ip link
Reply With Quote
  #5  
Old 15th July 2012, 10:39 PM
Bazu135 Offline
Registered User
 
Join Date: Aug 2011
Location: Luton, UK
Age: 28
Posts: 291
linuxfirefox
Re: No ethernet after minimal install

Quote:
Originally Posted by marko View Post
The wired network port is "p2p1" Fedora 17 uses a different port naming scheme designed to make the port name fixed so each time you install Fedora to the same hardware the name comes out the same (the numbers 1 and 2 are from various hardware details that don't change like bus ids and so on).
Interesting to hear that - it makes sense, but I bet it's gonna cause confusion for a while yet!

Quote:
Originally Posted by Colors View Post
My ethernet card is em1, so for me:

as root

# dhclient em1

and it should connect.
dhclient p2p1 fixed it for me - thanks for that!

Is that a permanent fixture, or does it need to be added to a startup file?
__________________
I generally use two tools - trial and error. They fix most things eventually!
Reply With Quote
  #6  
Old 15th July 2012, 10:50 PM
Colors Offline
Registered User
 
Join Date: Dec 2011
Location: Urziceni, Romania
Posts: 129
linuxfirefox
Re: No ethernet after minimal install

After internet connection is up and running, i used to install mc

# yum install mc

then go to /etc/sysconfig/network-scripts/ifcfg-p2p1

and edit the file. My file looks like this:

# cat /etc/sysconfig/network-scripts/ifcfg-em1
UUID="df70a454-ee35-415b-a71e-cfd9c7064c34"
NM_CONTROLLED="yes"
HWADDR="00:23:54:BF:12:56"
BOOTPROTO="dhcp"
DEVICE="em1"
ONBOOT="yes"
Reply With Quote
  #7  
Old 15th July 2012, 11:10 PM
Bazu135 Offline
Registered User
 
Join Date: Aug 2011
Location: Luton, UK
Age: 28
Posts: 291
linuxfirefox
Re: No ethernet after minimal install

Perfect - thank you
__________________
I generally use two tools - trial and error. They fix most things eventually!
Reply With Quote
  #8  
Old 15th July 2012, 11:22 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,030
linuxfirefox
Re: No ethernet after minimal install

Note, you'd usually be better off using your desktop's NetworkManager widget to configure the ethernet port, editing the network-scripts files by hand is a problem because NetworkManager tends to write changes to those files and might wipe out your changes. But since you're doing a minimal install (no desktop at all?), you might be fine with doing the manual edits.
Reply With Quote
  #9  
Old 15th July 2012, 11:30 PM
Bazu135 Offline
Registered User
 
Join Date: Aug 2011
Location: Luton, UK
Age: 28
Posts: 291
linuxfirefox
Re: No ethernet after minimal install

I do intend to add a desktop; I just needed a network connection to do that! Basically, I just want to try building an install from bits and pieces rather than 'taking one off the shelf' - my reckoning was that I'd learn a lot more this way, and so far I'm not disappointed!

I'll keep that point in mind once I have a desktop though
__________________
I generally use two tools - trial and error. They fix most things eventually!
Reply With Quote
Reply

Tags
ethernet, install, minimal

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
F14: Minimal install, minimal packages for X, KDE, NVIDIA darlingm Guides & Solutions (No Questions) 5 2nd May 2012 06:37 PM
How to do a minimal install with minimal GNOME3 YellowAries Installation, Upgrades and Live Media 7 15th April 2012 04:44 PM
Fedora 8 Minimal Install - 247MB after post-install! 27spots Installation, Upgrades and Live Media 1 29th April 2008 01:35 PM
FC4 minimal install linearfish EOL (End Of Life) Versions 1 24th January 2006 10:15 PM


Current GMT-time: 05:31 (Friday, 29-08-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