Most guides seem to revolve around modifying ifcfg-eth0, which doesn't exist on my system..

[root@Azaz07]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

[root@Azaz07]# ls /etc/sysconfig/network-scripts/
ifcfg-lo     ifdown-ppp     ifup-ippp    ifup-sit
ifdown       ifdown-routes  ifup-ipv6    ifup-tunnel
ifdown-bnep  ifdown-sit     ifup-isdn    ifup-wireless
ifdown-eth   ifdown-tunnel  ifup-plip    init.ipv6-global
ifdown-ippp  ifup           ifup-plusb   net.hotplug
ifdown-ipv6  ifup-aliases   ifup-post    network-functions
ifdown-isdn  ifup-bnep      ifup-ppp     network-functions-ipv6
ifdown-post  ifup-eth       ifup-routes

[root@Azaz07]# /sbin/ifconfig
lo        Link encap:Local Loopback  
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:480 (480.0 b)  TX bytes:480 (480.0 b)

p5p1      Link encap:Ethernet  HWaddr C8:1F:66:03:00:7D  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::ca1f:66ff:fe03:7d/64 Scope:Link
          RX packets:9818 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9634 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7020054 (6.6 MiB)  TX bytes:1665345 (1.5 MiB)

wlan0     Link encap:Ethernet  HWaddr 70:18:8B:03:3C:59  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

How would I change my p5p1 adapter to static with the IP

Also, why is it called a p5p1 adapter, instead of the seemingly more common eth0?

Running "setup" gives me a blank screen upon "Device configuration"

Device configuration


You can read about the new naming convention for devices here, titled: Features/ConsistentNetworkDeviceNaming. The change in naming conventions is also discussed in the official Redhat docs titled: Appendix A. Consistent Network Device Naming. The convention now follows one based on location rather than arbitrarily eth0, etc.

Change the network device naming scheme from ethX to a physical location-based name for easy identification and use

To change your IP address you can follow a couple of paths to do this.

  1. Use NetworkManager (see official RH docs)

    You can find out what devices are under NetworkManager's juristiction.


    $ nmcli -p nm
                                    NetworkManager status
    RUNNING         STATE           WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN      
    running         connected       enabled         enabled    enabled         enabled   
  2. Run the command setup, and change it through the GUI

       ss 1    ss 2    ss 3    ss 4

  3. Change the configuration file

    The file should be called /etc/sysconfig/network-scripts/ifcfg-p5p1. Simply change the line in this file to:


    If this file doesn't exist at all, I'd simply create it and add content similar to the following:

    # /etc/sysconfig/network-scripts/ifcfg-p5p1
    NAME="System p5p1"
  4. Use the network service

    It's unclear to me if there are any downsides to using /etc/init.d/network service in addition to NetworkManager at the same time. In all my setups of CentOS 6 I have both running. But I generally make the ifcfg-eth0 device files myself by hand.

    You could try making sure that this service is enabled and then try the steps above in #2 (using setup) to create the device afterwards.

     $ /etc/init.d/network start

    The setup GUI (actually it can be launched directly with this command: system-config-network) should be able to add devices and manage devices that have their configuration information kept in the ifcfg-* files under the directory /etc/sysconfig/network-scripts/.

I highly suggest you at least familiarize yourself with the Deployment Guide. It has a lot of useful information on networking using Redhat base products, which in turn will help with CentOS and Fedora.

So why's my network devices list blank?

I found this Fedora 16 issue that I believe is the issue you're experiencing (or is at least related). The issue is titled: Bug 802580 - Device p21p1 does not show up in system-config-network.

From the sound of this bug, the default behavior is to not create any of the ifcfg-* files unless you change some aspect of the settings via a networking GUI, such as NetworkManager - I believe. So you might need to try that, or follow the details I mentioned in options #3, above, and manually create the file yourself.


  • /etc/sysconfig/network-scripts/ifcfg-p5p1 doesn't seem to exist, see my output of that folder above. – some1 Nov 15 '13 at 20:09
  • Yes you need to create it, the device is most likely under control of NetworkManager. Those files are typically not created if NetworkManager is doing the controlling. – slm Nov 15 '13 at 20:10
  • Thanks for adding screenshots. When I click "device configuration" I get a blank screen, unfortunately. i.imgur.com/mME6eVn.png?1 – some1 Nov 15 '13 at 20:22
  • @some1 - see my updates and let me know if any of the additional info helps you out. – slm Nov 15 '13 at 20:55
  • 1
    @some1 - yes that pulldown is networkmanager's config dialog. OK, don't hesitate to ask a Q if you're stuck with the routing. – slm Nov 15 '13 at 21:26

If you wanna fix that, you need to remove the package biosdevname:

sudo yum erase biosdevname
  • 1
    one-to-two line answers are really not too helpful. Please consider expanding your answer with supporting documentation or elaboration. – HalosGhost Sep 12 '14 at 15:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.