Static vs. DHCP configuration: Arch-specific details

Hi,
I'm a recent Arch convert (after seven years of Slackware, Debian and CentOS). I have a few questions about details that I didn't quite get in the Wiki section.
1) static IP
The sample line in rc.conf is explicit enough, so this one is no problem. On the other hand, there are some diverging hints concerning the configuration in /etc/hosts. Let's say I configured a server with a static IP of 192.168.1.1/255·255.255.0. In that case, is it correct to have an /etc/hosts that looks like this?
127.0.0.1 localhost.localdomain localhost
192.168.1.1 buildbox.localdomain buildbox
Or is it:
127.0.0.1 localhost.localdomain buildbox.localdomain localhost buildbox
2) DHCP
If I configure my Ethernet interface with DHCP, what do I have to put in /etc/hosts? Only the localhost line?

Yeah, you don't really need to inject anything into /etc/hosts
I'd say this is partially wrong. When I only keep the default /etc/hosts, I get a warning message when XFCE starts up: it complains that there's no hostname defined.
Finally, I'm using this configuration:
127.0.0.1 buildbox.local buildbox
127.0.0.1 localhost.local localhost
Note: The double 127.0.0.1 is only for better readability.
But I just notice something else, that puzzles me a bit. Here's what ifconfig returns, as expected:
[root@buildbox:~] # ifconfig
eth0 Link encap:Ethernet HWaddr 00:20:ED:B8:E8:EC
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::220:edff:feb8:e8ec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:891 errors:0 dropped:0 overruns:0 frame:0
TX packets:457 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:194025 (189.4 Kb) TX bytes:103657 (101.2 Kb)
Interrupt:16 Base address:0xf00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3470 (3.3 Kb) TX bytes:3470 (3.3 Kb)
And here's the network section of my /etc/rc.conf:
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
eth0="eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
gateway="default gw 192.168.1.254"
ROUTES=(gateway)
What puzzles me: I didn't define anything localhost-like in rc.conf, and yet it's there. How comes?
Last edited by kikinovak (2008-04-10 11:29:19)

Similar Messages

  • List of packages with arch-specific patches

    Considering moving over from Fedora, having just learned about how many Fedora-specific patches are in their repositories.  (Installing vanilla glibc from source bricks my Fedora 22 installs, without incorporating the Fedora-specific patches - which was easy to do, but prefer not to...)
    I'd much prefer to run cleaner vanilla packages, particularly so I can install from svn/git source to fix bugs I run into before they're released.
    Hoping there is a list (or an easy way to get a list) of the packages that arch has put arch-specific patches into.  i.e. Installing through pacman will be a modified version from the actual upstream release of that version.  Totally OK to answer my question outside the context of AUR, because I suspect the list grows when including that.
    Linux From Scratch has a list of what patches are required for their system.  It's bash, bc memory leak, bzip2, coreutils, glibc, kbd backspace, mpfr, readline, and sysvinit.  (Beyond Linux From Scratch has a lot more, and its "list" is visible at http://www.linuxfromscratch.org/patches/blfs/  )
    Hoping there's a (short) list like that for arch as well.  Partially so if I'm installing unreleased source, I know whether I need to incorporate the arch-specific patches (like building my own package for packman) rather than just make install.
    Last edited by jamespharvey20 (2015-06-09 07:55:06)

    I don't think you'll ever need to install unreleased sources as they end up in testing pretty quick. Have a look at https://wiki.archlinux.org/index.php/Arch_Build_System for tips how to modify the official packages.
    As for the list, it's pretty easy to construct. The following is a list of core-packages that have .patch files included in their repo, with the number representing the number of patches:
    for f in packages/*/repos/core-x86_64/*.patch; do f=${f#packages/}; echo ${f%%/*} ; done|sort|uniq -c|sort -rn
    10 libsasl
    9 systemd
    6 make grub
    7 linux-lts
    4 libarchive crda
    3 vi pam mdadm kbd isdn4k-utils iproute2
    2 texinfo shadow openssl openssh nss nfs-utils gcc
    1 xinetd wpa_supplicant usbutils rpcbind psmisc ppp pcre p11-kit openldap net-tools mpfr mkinitcpio-nfs-utils mkinitcpio-busybox m4 lvm2 logrotate linux linux-atm librpcsecgss libffi krb5 keyutils jfsutils iptables hdparm gzip grep glibc glib2 gdbm efibootmgr e2fsprogs coreutils bzip2 bridge-utils binutils bash gnutls
    Last edited by Spider.007 (2015-06-09 11:11:30)

  • How to get time specification detail from database

    Dear All,
    How can I get the time specification detail from data base?
    Time specification is a 32 bit hexadecimal no type guid_32.
    Function wfd_timespec_reload provide the modified time specification detail.
    FUNCTION wfd_timespecs_reload
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_LOGSYS) TYPE  LOGSYS
    *"     VALUE(I_AWTYP) TYPE  WFD_AWTYP
    *"     VALUE(IT_TIMESPEC_KEYS) TYPE  WFD_KEY_TAB
    *"  EXPORTING
    *"     VALUE(ET_TIMESPEC_DETAILS) TYPE  WFD_TIMESPEC_TAB
    *"     VALUE(ET_INVALID_TIMESPECS) TYPE  WFD_KEY_TAB
    *"     VALUE(ET_CHANGED_TIMESPEC_KEYS) TYPE  WFD_KEY_TAB
    *"     VALUE(ET_RETURN) TYPE  BAPIRET2_T
    This function take time spec from data base not from cache(buffer) so provide the modified time spec in the same session.
    I need any newly created time specification detail also. So I can show all the time spec detail in my function module for any user in the same session.
    Can anyone provide the sample code for it?
    Thanks,
    Anup Garg

    Yes I can see the pattern.
    When I get the set of numbers from database UI doesn't know what is the the list of numbers database has. I need to choose some next available number that is not in database. In the list that u are talking about next available number is 7. Its something similar to when we try to create any mailid, while registration it gives some default id which is not existing which user can choose to create his mailid. How can I get similar feature?

  • How can I use Powershell to "Complete dhcp configuration" ?

    I installed the DHCP Server feature with Powershell and now I'm wondering how to "Complete dhcp configuration" also with Powershell?
    Here's what I did (example):
    Install-WindowsFeature DHCP -IncludeManagementTools
    Add-DhcpServerv4Scope -name "Corpnet" -StartRange 10.0.0.100 -EndRange 10.0.0.200
    -SubnetMask 255.255.255.0
    Set-DhcpServerv4OptionValue -DnsDomain corp.contoso.com -DnsServer 10.0.0.1
    Add-DhcpServerInDC -DnsName dc1.corp.contoso.com
    "Server Manager |> DHCP" now informs me that "Configuration required for DHCP Server at DC1" and by selecting "More" I can "Complete dhcp configuration". So, how do I complete the task with Powershell?
    Thanks!

    I installed the DHCP Server feature with Powershell and now I'm wondering how to "Complete dhcp configuration" also with Powershell?
    Here's what I did (example):
    Install-WindowsFeature DHCP -IncludeManagementTools
    Add-DhcpServerv4Scope -name "Corpnet" -StartRange 10.0.0.100 -EndRange
    10.0.0.200 -SubnetMask 255.255.255.0
    Set-DhcpServerv4OptionValue -DnsDomain corp.contoso.com -DnsServer 10.0.0.1
    Add-DhcpServerInDC -DnsName dc1.corp.contoso.com
    "Server Manager |> DHCP" now informs me that "Configuration required for DHCP Server at DC1" and by selecting "More" I can "Complete dhcp configuration". So, how do I complete the task with Powershell?
    Thanks!
    For a very belated answer, you need to set a registry value to tell it that the configuration has been completed.
    Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\ServerManager\Roles\12 -Name ConfigurationState -Value 2;
    Restart-Service DHCPServer;

  • Windows 2008 DNS & DHCP configuration steps for 11gR2 GI install with GNS

    Hi,
    I have windows 2008 R2 server with DNS & DHCP services installed. I am planning to install 2 node RAC with GNS option.
    The problem is i could not find any document to setup the windows 2008 DNS server for the below steps.
    a. Configure GNS VIP : add a name resolution entry in a DNS for the GNS virtual IP address in the forward Lookup file.
    gns-server IN A <virtual_IP>
    where gns-server is the GNS virtual IP address given during grid installation.
    b. Configure the GNS sub-domain delegation: add an entry in the DNS to establish DNS Lookup that directs the DNS resolution of a GNS subdomain to the cluster.
    clusterdomain.example.com. NS gns-server.example.com.
    where clusterdomain.example.com is the GNS subdomain (provided during grid installation) that you
    delegate and gns-server.clustername.com resolves to GNS virtual IP address.
    I am aware that this configuration steps has to be taken care by the System administrator. Here is what he tried and the results.
    My SA was able to Configure GNS VIP in the DNS and the Nslookup works fine for this.
    When he Configures the GNS sub-domain delegation the nslookup fails when trying to resolve the SCAN name.
    Any step by step tutorial for this windows 2008 DNS & DHCP configuration for Oracle GNS setup would be highly appreciated.
    Thanks,
    Ashok Kumar.G

    Hi Guys,
    Any help on this request will be very helpful.
    Thanks,
    Ashok Kumar.G

  • Static IP + DHCP in Preferred Networks - Kind of Stumped

    Hi,
    Here's my situation:
    I log onto 4 different networks throughout the day. Two of them have IP addresses that are managed by DHCP (school +lab), the other two are static IP.
    Right now, I have to go to Preference Pane\Network and change the TCP/IP setting from static to DHCP depending on if I'm at school or not.
    Is there a way in set the DHCP networks to automatically obtain an IP using DHCP, and the static IP networks to connect to the address I decide?
    It would really make my life a lot easier.
    Thanks

    Yes, very easy. Make a New Location for each, each with it's own parameters, and even Interface if you care to.
    Switching is a simple trip to the Apple Menu>Locations.

  • Anchor Guest controller and DHCP configuration

    I checked the cisco documentation about the DHCP configuration but I´m not 100%sure which DHCP server address I must use.
    I  used as example the scope 10.240.97.0/24 for our Guest Users. In this range are the DHCP scope and the Guest interface configured. For the management I used as example the range 10.240.96.0/24.Now I configured our Guest WLC and I insert on the Guest interface as Primary DHCP address the Guest interface address. After I applied I got the message I can´t use this DHCP address. Now I checked the cisco and found following description:
    “If DHCP services are to be implemented locally on the anchor controller, populate the primary DHCP server field with the management IP address of the controller"
    Means it now I must insert as the IP for the Primary DHCP Server on the Guest interface  the IP from the management
    Interface and the controller will then forward the traffic to the internal DHCP scope on the Guest subnet and wil sent it back ?
    ( DHCP proxy is on the Guest WLC  enabled ) .
    Thanks
    Al

    For Anchor you can use either internal or external dhcp server.
    Means it now I must insert as the IP for the Primary DHCP Server on the Guest interface  the IP from the management
    Interface and the controller will then forward the traffic to the internal DHCP scope on the Guest subnet and wil sent it back ?
    Yes. WLC forwards the unicast dhcp req to management ip for guest interface. All cpu generated traffic by default uses management interface as source address i.e., snmp, radius, ping...
    Is your question whether you need routing between guest and management interface.
    No, routing is not required in this case bcoz the interface residing on WLC's management. Also for proxy it uses the virtual ip address for dhcp instead of actual dhcp ip. And only wireless client can get ip from WLC's internal dhcp server.
    If you're using dhcp proxy on wlc and having external dhcp server on different vlan then yes you need routing between the two vlans.

  • [SOLVED] Powerline Query - Not Arch Specific

    Hello,
    Firstly, this question is not Arch specific, however, as an Arch Forum user, I have found Arch Forum Users to be the most 'widely knowledgeable' not only about Arch, but all hardware situations surrounding an Arch Setup (I'm a relatively new, and very keen Arch user).
    My query is this:
    I have a fibre optic broadband router which can provide more bandwidth than a single powerline adapter (ZyXEL PLA4201 v2 500 Mbps) can realistically provide to the desired location.  [Other network traffic transfer options are obviously not an option (WiFi, Ethernet etc. and need not be discussed)].
    If I utilise two powerline adapters (ZyXEL PLA4201 v2 500 Mbps) connected to my fibre optic broadband router and two power sockets at that location, and two powerline adapters connected at the same end power connection, am I likely to achieve a higher throughput by:
    a) connecting them on the same vlan (all four 'paired' on one vlan)
    b) connecting them via two separate vlan's (two 'paired' on two vlans)
    How I utilise the connection at the terminated powerline connectors may vary - as such, my question is simply as above.
    If this question is deemed inappropriate for this forum - obviously I apologise and shall remove - if so, please could anyone suggest if there is any sub-section to the forum that I would be better to post this question?
    Thank you so much to anyone who can explain the technical explanation to this query!
    Frazer.
    Last edited by frazer (2014-08-14 23:11:36)

    runical wrote:
    rsmarples wrote:Well, power is generally done in "rings". Thus in a house with two floors there is a ring for each floor.
    Here's where my knowledge isn't that great - the rings are separate but still slightly joined; ie a plug upstairs can talk to the plug downstairs but not very well because they are not on the same ring.
    Thinking about it, my bulk of my problems were with comms between the two floors.
    I think this differs between countries. As far as I know (I am an electrical engineering student, but not an electrical technician, so not very knowledgeable about the codes), this is not always true. At least in the Netherlands, the power is usually connected in a star connection. This means that there is one central point with cables to the power points. These rings you are talking about were common back in the day though (like in the UK where they even designed the power plugs with this in mind).
    I believe that wiring in rings is a UK thing.  The idea being that you loop the end of cable run back to the breaker so that, from any outlet, there are two paths back to the breaker.  This causes the IR drops on a given circuit to be somewhat mitigated, as no outlet is way out at the end of a run.   In North America (certainly) and I believe most of the world, power is distributed from the breaker panel in a star pattern.  Ideally a device on one outlet talks to a device on another outlet on the same breaker.  It probably provides the best signal integrity.  There is nothing wrong, however, from having to go all the way back to the panel, through a breaker into the bus bars. out another breaker and to an outlet on another branch.  It just provides more opportunities to introduce noise.  A reduction in signal to noise generally results in increased BER (Bit error rate)
    As to the concept of loops.  I had never considered this before, but there is a problem with this layout.  Not necessarily with power distribution, but rather with the integrity of high speed signals.  Arguably, this can no longer be considered a lumped system as the signal propagation time between elements is not small relative to the wavelength of the signals used.  As a loop provides at least two paths from any one point in the system to another point in the system, a signal sent along these separate paths will arrive at the destination at different times.   Depending on the specifics, this could result in nulling and  phase shifts, or in the more extreme, echos.   If things are on a different ring, there are at least four paths between outlets on different rings.  That starts to pose some significant signal integrity issues.   It gives me reason to give the guys that designed this stuff a bit more respect.
    Last edited by ewaller (2014-08-15 18:07:38)

  • Neither firewire nor usb recognised - not Arch specific

    Flabbergasted... I was going to print something today (about two weeks after moving, first time) and noticed that my usb printer is not recognised. I then tried a number of different usb devices and none of them were recognised !???!
    Here an excerpt from dmesg:
    toad@deskarch 945\14 ~ > dmesg|grep error
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device not accepting address 4, error -71
    usb 10-2: device not accepting address 5, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device not accepting address 8, error -71
    usb 10-2: device not accepting address 9, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device not accepting address 12, error -71
    usb 10-2: device not accepting address 13, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device descriptor read/64, error -71
    usb 10-2: device not accepting address 16, error -71
    usb 10-2: device not accepting address 17, error -71
    I googled the error message and found threads dating back to 2005 but nothing recent. I remember having an EHCI problem years ago while still on Etch but other than that I don't know where to start...
    Any pointers much appreciated.
    Last edited by toad (2010-07-22 10:45:06)

    After my initial panic here an update:
    This is not Arch specific as I had the same experience with a live CD. Have since managed to get a few devices recognised, but the printer nor the firewire connection work as yet. And I still get this stuff on dmesg:
    usb 7-1: new full speed USB device using uhci_hcd and address 6
    usb 7-1: device descriptor read/64, error -71
    usb 7-1: device descriptor read/64, error -71
    usb 7-1: new full speed USB device using uhci_hcd and address 7
    usb 7-1: device descriptor read/64, error -71
    usb 7-1: device descriptor read/64, error -71
    usb 7-1: new full speed USB device using uhci_hcd and address 8
    usb 7-1: device not accepting address 8, error -71
    usb 7-1: new full speed USB device using uhci_hcd and address 9
    usb 7-1: device not accepting address 9, error -71
    hub 7-0:1.0: unable to enumerate USB device on port 1

  • DHCP configuration options

    Can anyone tell me how to change the DHCP configuration options - the same information found in dhclient.conf in linux/unix - under OSX? A corporate client of mine provides wireless internet at all their facilities, but no one with a Mac has ever been able to connect. The wireless connection comes up and is stable, but the Mac never receives an IP address. I am fairly certain they forward DHCP requests to a centralized server that handles multiple LAN segments. I suspect something in the format of the DHCP packet, perhaps one of the many options, is causing their router to drop the Mac's DHCP request packet. I have captured DHCP requests from OSX and Win2K using Ethereal, so I have some idea what options to try changing, but I need to know how to go about it. I've tried adding a dhclient.conf file, but OSX seems to ignore this.
    Needless to say, this is not a simple question and I realize I'll be fiddling at low levels. However, I've tried everything there is to try with the control panel, command lines, etc. I generally have no problems getting WiFi to work across Mac and windoze whether at home, in hotel rooms, or at corporate locations, but this one really has me stumped. Any help is appreciated.

    How are you connecting to the wireless network? Is it a closed network with security, or an open network? There are a lot of different protocols in play with a wireless connection, particularly with Cisco equipment. It's possible Macs don't support one of the protocols where Windows does. There may be extra security such as DHCP client IDs, or using DHCP reservations only. There could be MAC address security setup on the wireless APs.
    I would ask one of your PC buddies help you find an unused address. Set that manually and see if everything works. If it does you know you have a DHCP problem. If it doesn't there's a problem with the wireless connection

  • Configure Weblogic-specific settings using annotations in EJB3?

    Hello.
    Something that really bothers me about using EJB3 in Weblogic is that, in our projects (running in Weblogic 10.0), we need to configure Weblogic-specific settings in weblogic-ejb-jar.xml anyway. Things like work managers, JNDI names and security (the latter doesn't work if we just declare it in a spec annotation, we need to also define it in weblogic-ejb-jar.xml).
    It's hard to understand the point of migrating to EJB3 when you can just do half the things using annotations.
    Does Weblogic have extensions to help on that? I never found anything related to this for Weblogic 10.0.
    Thanks.

    The link is interesting, thanks. There are only a few weblogic-specific annotations, but at least it's a start. Unfortunately, it seems to only be available in 10.3.
    About EJBGen, from what I investigated in the past, it would only work well with EJB2 (to generate the weblogic-ejb-jar content, you also have to use EJB2 annotations that were deprecated by EJB3 annotations - if you do this, you will end up with spaghetti code, in my humble opinion).
    Regards,

  • Auto-join different networks (static and DHCP)

    Hello, I am currently using an early 2011 macbook pro, running OSX 10.8.2. I currently work at a few different job sites, where many require static IPs, but at home and the office, we use DHCP to assign IPs. Is there a way to configure my mac to automatically recognize the location where I am, then re-assign it's IPs to either static or to use DHCP? Any help or hack programs would be greatly appreciated. I am a fairly advanced user, and don't mind tweaking the computer.

    The setting for fixed IP address vs. use DHCP is for the network adapter hardware, not the specific network.  There is no mechanism in OS-X, Windows, Linux ... to do something like you ask.  The only way to handle this would be to use an external usb wireless adapter for one of the cases (either DHCP or fixed) and set the internal adapter up for the other case.

  • Netcfg - static eth0 / wlan0 configuration

    Hi all,
    I am trying to setup a home router with Arch Linux and having some difficulty with network profiles.
    eth0 and wlan0 are for my LAN and will be part of the bridge br0
    eth1 is the external interface which uses DHCP to get an IP from the cable modem / FIOS box etc.
    My problem is, I cannot seem to set the IP address for either wlan0 or eth0.
    My configuration looks like:
    CONNECTION='ethernet'
    DESCRIPTION='internal WLAN'
    INTERFACE='wlan0'
    IP='static'
    ADDR='192.168.2.2'
    DNS='127.0.0.1'
    I configured it as ethernet because I will use hostapd to serve out wireless from that interface.
    What else am I missing?  The ip address is never set and the interface is not brought up.
    Walter

    I will give that a try, but as far as why the interfaces eth0 and wlan0 are not being set, that appears to be a different problem altogether.
    Walter

  • Need help with understanding static vs dhcp on wrt54g router

    I currently have a NAS200 device attached to my WRT54G router. The WRT54G is in DHCP mode so as to allow my various laptops and cameras to be accessed over the internet. What happens is that when I have a power failure the NAS200 is given a new ip address even though its plugged into a service port. I am then forced to go into the router and change the port mapping to whatever port the router has given to the NAS. Is there any way to keep the NAS200 at a specific ip address regardless of router resets. Thanks Hexmate

    You have to set the static IP address on the NAS. The NAS is currently configured to use DHCP. Change it there to set a specific static IP address. The router itself does not have to option to set a fixed IP address to a specific device via DHCP.
    For static IP addresses make sure to choose an IP address which is not used by any other device nor is inside the DHCP server address pool of the router. With default configuration a Linksys router uses 192.168.1.1 and the DHCP server uses 192.168.1.100-149, thus you have addresses 192.168.1.2-99 and 150-254 available.
    Use an static IP address like 192.168.1.50, netmask 255.255.255.0, gateway 192.168.1.1 (if the NAS needs internet, e.g. for time synchronization) and DNS 192.168.1.1. That should do it. Again: this has to be done on the NAS device. The router has no option for that.

  • Netctl will not start my static IP network configuration

    Hi,
    I've never been able to set up a simple static IP configuration for my wired network adapter. Now I need to in order to reset a router I have at home. I use (only) netctl profiles to manage my wireless and wired network connections. I've Googled for solutions to my problem, and the most common solution (disable dhcpcd) does not apply to me, since dhcpcd is not running when I try to enable my static IP profile. Can you guys see what I am doing wrong?
    I ran the following commands to generate debugging information.
    systemctl --type=service --no-pager
    ip addr
    cat /etc/netctl/wired-static
    netctl start wired-static
    systemctl --type=service --no-pager
    systemctl status netctl@wired\x2dstatic.service
    journalctl -x -n 26 --no-pager
    Here is the output.
    [root@fenrir ~]# systemctl --type=service --no-pager
    UNIT LOAD ACTIVE SUB DESCRIPTION
    acpid.service loaded active running ACPI event daemon
    dbus.service loaded active running D-Bus System Message Bus
    [email protected] loaded active running Getty on tty1
    kmod-static-nodes.service loaded active exited Create list of required static device nodes for the
    slim.service loaded active running SLiM Simple Login Manager
    systemd-backlight@backlight:acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of backlight:
    systemd-backlight@backlight:intel_backlight.service loaded active exited Load/Save Screen Backlight Brightness of backlight
    [email protected] loaded active exited File System Check on /dev/sda1
    [email protected] loaded active exited File System Check on /dev/sda3
    systemd-journald.service loaded active running Journal Service
    systemd-logind.service loaded active running Login Service
    systemd-random-seed.service loaded active exited Load/Save Random Seed
    systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
    [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill0
    [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill1
    [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill2
    [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill3
    systemd-sysctl.service loaded active exited Apply Kernel Variables
    systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
    systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
    systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
    systemd-udevd.service loaded active running udev Kernel Device Manager
    systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
    systemd-user-sessions.service loaded active exited Permit User Sessions
    systemd-vconsole-setup.service loaded active exited Setup Virtual Console
    [email protected] loaded active running User Manager for UID 1000
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    26 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    [root@fenrir ~]# ip addr
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: enp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 20:cf:30:58:d9:30 brd ff:ff:ff:ff:ff:ff
    3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 1c:4b:d6:40:e3:c2 brd ff:ff:ff:ff:ff:ff
    [root@fenrir ~]# cat /etc/netctl/wired-static
    Description='A basic static ethernet connection'
    Interface=enp1s0
    Connection=ethernet
    IP=static
    Address="192.168.1.23/24"
    [root@fenrir ~]# journalctl -x -n 13 --no-pager
    -- Logs begin at Fri 2014-01-10 12:13:41 CET, end at Tue 2014-06-17 16:09:10 CEST. --
    Jun 17 16:08:55 fenrir systemd[1]: Started User Manager for UID 1000.
    -- Subject: Unit [email protected] has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit [email protected] has finished starting up.
    -- The start-up result is done.
    Jun 17 16:08:55 fenrir slim[253]: /usr/bin/xauth: file /home/willard/.Xauthority does not exist
    Jun 17 16:08:55 fenrir slim[253]: setterm: $TERM is not defined.
    Jun 17 16:08:55 fenrir slim[253]: The XKEYBOARD keymap compiler (xkbcomp) reports:
    Jun 17 16:08:55 fenrir slim[253]: > Warning: Symbol map for key <RALT> redefined
    Jun 17 16:08:55 fenrir slim[253]: > Using last definition for conflicting fields
    Jun 17 16:08:55 fenrir slim[253]: > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
    Jun 17 16:08:55 fenrir slim[253]: > Ignoring extra symbols
    Jun 17 16:08:55 fenrir slim[253]: Errors from xkbcomp are not fatal to the X server
    Jun 17 16:09:10 fenrir sudo[325]: willard : TTY=pts/0 ; PWD=/home/willard ; USER=root ; COMMAND=/usr/bin/su
    Jun 17 16:09:10 fenrir sudo[325]: pam_unix(sudo:session): session opened for user root by willard(uid=0)
    Jun 17 16:09:10 fenrir su[326]: (to root) willard on pts/0
    Jun 17 16:09:10 fenrir su[326]: pam_unix(su:session): session opened for user root by willard(uid=0)
    [root@fenrir ~]# netctl start wired-static
    Job for netctl@wired\x2dstatic.service failed. See 'systemctl status netctl@wired\x2dstatic.service' and 'journalctl -xn' for details.
    [root@fenrir ~]# systemctl --type=service --no-pager
    UNIT LOAD ACTIVE SUB DESCRIPTION
    acpid.service loaded active running ACPI event daemon
    dbus.service loaded active running D-Bus System Message Bus
    [email protected] loaded active running Getty on tty1
    kmod-static-nodes.service loaded active exited Create list of required static device nodes for th
    ●netctl@wired\x2dstatic.service loaded failed failed Networking for netctl profile wired-static
    slim.service loaded active running SLiM Simple Login Manager
    systemd-backlight@backlight:acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of backlight
    systemd-backlight@backlight:intel_backlight.service loaded active exited Load/Save Screen Backlight Brightness of backlight
    [email protected] loaded active exited File System Check on /dev/sda1
    [email protected] loaded active exited File System Check on /dev/sda3
    systemd-journald.service loaded active running Journal Service
    systemd-logind.service loaded active running Login Service
    systemd-random-seed.service loaded active exited Load/Save Random Seed
    systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
    [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill0
    [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill1
    [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill2
    [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill3
    systemd-sysctl.service loaded active exited Apply Kernel Variables
    systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
    systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
    systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
    systemd-udevd.service loaded active running udev Kernel Device Manager
    systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
    systemd-user-sessions.service loaded active exited Permit User Sessions
    systemd-vconsole-setup.service loaded active exited Setup Virtual Console
    [email protected] loaded active running User Manager for UID 1000
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    27 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    [root@fenrir ~]# systemctl status netctl@wired\x2dstatic.service
    [email protected] - Networking for netctl profile wiredx2dstatic
    Loaded: loaded (/usr/lib/systemd/system/[email protected]; static)
    Active: inactive (dead)
    Docs: man:netctl.profile(5)
    [root@fenrir ~]# journalctl -x -n 26 --no-pager
    -- Logs begin at Fri 2014-01-10 12:13:41 CET, end at Tue 2014-06-17 16:18:47 CEST. --
    Jun 17 16:08:55 fenrir systemd[1]: Started User Manager for UID 1000.
    -- Subject: Unit [email protected] has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit [email protected] has finished starting up.
    -- The start-up result is done.
    Jun 17 16:08:55 fenrir slim[253]: /usr/bin/xauth: file /home/willard/.Xauthority does not exist
    Jun 17 16:08:55 fenrir slim[253]: setterm: $TERM is not defined.
    Jun 17 16:08:55 fenrir slim[253]: The XKEYBOARD keymap compiler (xkbcomp) reports:
    Jun 17 16:08:55 fenrir slim[253]: > Warning: Symbol map for key <RALT> redefined
    Jun 17 16:08:55 fenrir slim[253]: > Using last definition for conflicting fields
    Jun 17 16:08:55 fenrir slim[253]: > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
    Jun 17 16:08:55 fenrir slim[253]: > Ignoring extra symbols
    Jun 17 16:08:55 fenrir slim[253]: Errors from xkbcomp are not fatal to the X server
    Jun 17 16:09:10 fenrir sudo[325]: willard : TTY=pts/0 ; PWD=/home/willard ; USER=root ; COMMAND=/usr/bin/su
    Jun 17 16:09:10 fenrir sudo[325]: pam_unix(sudo:session): session opened for user root by willard(uid=0)
    Jun 17 16:09:10 fenrir su[326]: (to root) willard on pts/0
    Jun 17 16:09:10 fenrir su[326]: pam_unix(su:session): session opened for user root by willard(uid=0)
    Jun 17 16:18:41 fenrir systemd[1]: Starting system-netctl.slice.
    -- Subject: Unit system-netctl.slice has begun with start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit system-netctl.slice has begun starting up.
    Jun 17 16:18:41 fenrir systemd[1]: Created slice system-netctl.slice.
    -- Subject: Unit system-netctl.slice has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit system-netctl.slice has finished starting up.
    -- The start-up result is done.
    Jun 17 16:18:41 fenrir systemd[1]: Starting Networking for netctl profile wired-static...
    -- Subject: Unit netctl@wired\x2dstatic.service has begun with start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit netctl@wired\x2dstatic.service has begun starting up.
    Jun 17 16:18:41 fenrir network[442]: Starting network profile 'wired-static'...
    Jun 17 16:18:41 fenrir kernel: atl1c 0000:01:00.0: irq 46 for MSI/MSI-X
    Jun 17 16:18:41 fenrir kernel: IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
    Jun 17 16:18:47 fenrir network[442]: No connection found on interface 'enp1s0' (timeout)
    Jun 17 16:18:47 fenrir network[442]: Failed to bring the network up for profile 'wired-static'
    Jun 17 16:18:47 fenrir systemd[1]: netctl@wired\x2dstatic.service: main process exited, code=exited, status=1/FAILURE
    Jun 17 16:18:47 fenrir systemd[1]: Failed to start Networking for netctl profile wired-static.
    -- Subject: Unit netctl@wired\x2dstatic.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit netctl@wired\x2dstatic.service has failed.
    -- The result is failed.
    Jun 17 16:18:47 fenrir systemd[1]: Unit netctl@wired\x2dstatic.service entered failed state.
    Jun 17 16:18:47 fenrir systemd[1]: Starting Network.
    -- Subject: Unit network.target has begun with start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit network.target has begun starting up.
    Jun 17 16:18:47 fenrir systemd[1]: Reached target Network.
    -- Subject: Unit network.target has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit network.target has finished starting up.
    -- The start-up result is done.
    Last edited by willardthor (2014-06-17 14:37:20)

    There is no link. Bring the link up manually and check status with
    ip link set up enp1s0
    ip link enp1s0
    If the link fails to come up (state other than "UP") it is likely a driver issue. If the link comes up (state UP) but status has "NO-CARRIER" it is likely a hardware issue, either one of the endpoints or the cable. First thing I would try in this case is a different cable.
    You can tell netctl to bring the interface up anyway with the option in /etc/netctl/wired-static
    SkipNoCarrier=yes
    However, the interface will not work until the link is fixed.

Maybe you are looking for

  • Exception Class

    Hi, What is exception class . What is local exception class what is global exception class. Thanks, Medha.

  • How do I restore to a previous back up

    I downloaded and application from the internet and now I cannot locate it anywhere on my computer.  I'm worried that it may contain malware of some sort so I would like to restore my computer to a previous back up on Time Machine however whenever I o

  • Change a migrated DataSource for DB Connect Source System

    Hi, I have created a DataSource for a DB connect Source system with transactioncode RSDBC as follows: 1. select database TableView 2. choose Edit DataSource 3. fill in the field Application Component (default stated NODESNOTCONNECTED) 4. generate dat

  • BAPI for KB11N Transaction

    Hi All, I have requirement to populate standard KB11N fields with few other custom fields also. Please suggest if there is any BAPI or better solution Thanks, Shariq

  • SAP Graphics and IGS

    Hello all, Lately I've found out about SAP Graphics and thought that it might be useful in future for me, so I've decided to learn it. I've found "User's Guide" and "Programming interface" PDFs, but I've also found information that this is obsolete t