[SOLVED]dhcpcd does not start on boot anymore

Hello,
I reinstalled Arch last night to try and be as to the letter as possible because I had three bad installs( or so I thought https://bbs.archlinux.org/viewtopic.php?id=195192 ) and it was going well. I tweaked some SSD Optimization configs and went to bed.
Today I wanted to install OpenBox so first I tried to update my system with pacman -Syu (without reading the change log or anything of course) and I couldn't download anything. A quick ping to google.com gave an unknown host error. Nothing has changed over night and I rebooted the machine last night a couple of times and I always had internet connection. The guide said that dhcpcd runs automatically on boot and I looked through the change logs at the places I understood and couldn't find anything about this being disabled on boot now. I do see that it was updated in the last 24 hours but again, nothing about auto run on boot being disabled.
Little things like this bug me, I can enable the service using systemctl and call it a day but I was wondering if I was the only one experiencing this. If I'm the only one then it probably isn't a good thing.
SOLVED: Did not read the Beginner's Guide within context of the installation medium.
Last edited by SirMyztiq (2015-03-29 01:20:49)

nullified wrote:
SirMyztiq wrote:I updated the packages and just went to bed.
What packages were upgraded? If I am understanding you correctly, dhcpcd was enabled and working fine before the upgrade, but after the upgrade dhcpcd appears to be disabled. Is that correct? Two bits of informaiton you should post here are the complete list of updated packages and the output of
systemctl status dhcpcd
SirMyztiq wrote:Nothing has changed over night and I rebooted the machine last night a couple of times and I always had internet connection.
You previously say you upgraded then went to bed, so that would be the change. I'm a little confused by these seemingly contradictory assertions.
I apologize for the confusion.
I'll give you the current list of packages as soon as I install a browser on my machine(I'm on my laptop) but I can tell you that all I had last night was the "base" and "base-devel" packages installed. I mainly did tweaking like setting the scheduler dynamically on my ssd to "deadline" following the SSD Optimization wiki and read a bit about OpenBox to make sure I get it right. I also rebooted the computer a couple of times to check for that "time out" bug I mentioned. It all checked out, so I went to bed.
I power her up today, try to do a system update and I wasn't able to. A ping to google.com gave me an "unknown host" error. I checked both the "status" and whether it was "enabled" with their respective systemctl commands and both gave me the feedback that it was not active nor was it enabled.
I'll edit the original post to be more clear and look like I have some grasp of English.

Similar Messages

  • Windows does not start at boot

    Hello,
    Windows does not start at boot, how? 'Safe Mode either )

    If your system is not properly booting then you must press F8 when start the system then there are two option
    Repair Window,start window normally if not properly work then you will install again operating system.

  • [solved]firefox does not start anymore: (firefox:4358): Bonobo-WARNING

    Hi All,
    Firefox has always worked on the laptop of my girfrind, until yesterday. When I run firefox from the command line I get the following message, and firefox does not start.
    ingeborg@laptop:/storage/home/ingeborg$ firefox
    (firefox:4358): Bonobo-WARNING **: Bonobo must be initialized before use
    ingeborg@laptop:/storage/home/ingeborg$
    Versions:
    ingeborg@laptop:/storage/home/ingeborg$ firefox -v
    Mozilla Firefox 3.6.12, Copyright (c) 1998 - 2010 mozilla.org
    $ uname -a
    Linux laptop 2.6.35-ARCH #1 SMP PREEMPT Sat Oct 30 19:57:05 UTC 2010 i686 Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz GenuineIntel GNU/Linux
    When I move .mozilla, firefox starts without problem, so there must be something wrong with the information in ~/.mozilla:
    $ mv .mozilla/ .mozilla-moved
    ingeborg@laptop:~$ firefox
    (firefox:4852): Bonobo-WARNING **: Bonobo must be initialized before use
    (firefox:4852): Bonobo-WARNING **: Bonobo must be initialized before use
    (firefox:4852): Bonobo-WARNING **: Bonobo must be initialized before use
    ingeborg@laptop:~$
    Any Idea's how I can figure out what file is causing this problem in .mozilla?
    What does code 4358 and 4852 from firefox mean?
    Best regards,
    Cedric
    Last edited by cdwijs (2011-01-03 12:05:23)

    I have reproduced the problem:
    1)Move (or remove) ~/.mozilla
    2)goto this website : http://toolbar.zynga.com/install/farmville/
    3)login with a valid facebook acount
    4)Click install, and then click allow, install now, restart namoraka, restart, finish, and then click save and quit.
    Now firefox does not start anymore.
    Is it usefull when I make a tar file of .mozilla and post it here?
    Best regards,
    Cedric

  • [Solved] Network does not starts on every boot

    Yet another problem on fresh arch...
    Network service does not starts every time I booting my headless. For every 10 attempts service starts 5 or 6 times only.
    Ping says: Networking unreachable.
    systemctl status network:
    network.service - Static IP Connectivity
    Loaded: loaded (/etc/systemd/system/network.service; enabled)
    Active: inactive (dead)
    'systemctl start network' just hangs. In order to get it start I have to reboot the box hoping next boot service will start.
    I am not using dhcp (if it makes a sence). Service was configured as described in wiki for static IP assigning.
    The config itself:
    [Unit]
    Description=Static IP Connectivity
    Wants=network.target
    Before=network.target
    BindsTo=sys-subsystem-net-devices-enp4s1.device
    After=sys-subsystem-net-devices-enp4s1.device
    [Service]
    Type=oneshot
    RemainAfterExit=yes
    ExecStart=/sbin/ip link set dev enp4s1 up
    ExecStart=/sbin/ip addr add 192.168.1.5/24 dev enp4s1
    ExecStart=/sbin/ip route add default via 192.168.1.1
    ExecStop=/sbin/ip addr flush dev enp4s1
    ExecStop=/sbin/ip link set dev enp4s1 down
    [Install]
    WantedBy=multi-user.target
    What's wrong?
    Thanks in advance for any help.
    Last edited by chord (2013-06-03 17:04:55)

    Thaks for your reply.
    I got this interface name from ip addr,  how it should be named if 'enp4s1' is wrong?
    journalctl is here: http://bpaste.net/show/104083/
    I found only one string realted to this device name:
    Jun 03 15:18:23 localhost systemd[1]: Expecting device sys-subsystem-net-devices-enp4s1.device...
    Is there some other logs where it can be checked?

  • [Solved]Laptop does not start (not even bios)

    Hi all,
    I was about to install archlinux on my laptop. When I generate partitions (I used GPT), I saw something like this:
    "If you have a BIOS motherboard (or plan on booting in BIOS compatibility mode) and you want to setup GRUB on a GPT-partitioned drive, you will need to create an extra BIOS Boot Partition of size 1 or 2 MiB and EF02 type code. Syslinux does not need one."
    So, I was planning to make this. When I run cgdisk, I was that lthere was a 1007kb unusued(?) space. So I thought I can use this space for boot sector. Then I changed its type to EF02. When I did this, my laptop shutted down quickly and does not start again. When I press the power up button; I hear the usual starting noise, and then it shuts down again.
    What did I do to my laptop?
    What I tried:
    Remove battery, wait for 5 minutes, try again
    Remove hdd, try again
    Unplug&plug bios battery, try again
    Edit: Solved with a shame. Wall-charger was unplugged. This topic can be removed.
    Last edited by firatakandere (2013-12-24 17:09:56)

    firatakandere wrote:Wall-charger was unplugged. This topic can be removed.
    Why?  Others may learn for your experience
    Welcome to Arch Linux.

  • Ssh does not start at boot

    Hi All
    As my title explains, ssh does not start when I reboot.
    I can start it like: ./usr/lib/ssh/sshd
    So my question is: how can I change this behaviour and let ssh start at boot ?
    Thanks a lot in advance
    Luca

    thnx a lot!!!!
    Luca

  • LaunchDaemon does not start at boot, but manually

    Hi all
    I have a LaunchDaemon entry for apache that does not start at system boot.
    It contains the following keys that might affect the behaviour.
    <key>OnDemand</key>
    <false/>
    <key>RunAtLoad</key>
    <true/>
    I can manually load the script using
    sudo launchctl load /LibraryLaunchDaemomns/org.macports.svn.plist
    Maybe I did not fully understand the LaunchDaemon concept. My program is
    a wrapper that will start svnserve as a standalone server.
    As I mentioned earlier it works fine manually, both "load" and "unload" successfully start and stop the service.
    I'd appreciate any comments
    Thanks a lot

    Good evening
    I want to startup my SVN service on a local RAID volume, but need to wait
    until it is mounted. To do so I added the following to my daemons plist:
    <key>KeepAlive</key>
    <dict>
    <key>PathState</key>
    <string>/Volumes/RAID</string>
    </dict>
    Maybe this is useful to someone in this forum.
    Cheers

  • [SOLVED] CUPS does not start

    I don't know if this issue is a bug or if I'am doing something terribly wrong.
    I've installed ArchLinux without GUI, just base, as a pure printserver a few weeks ago with only cups running and it worked.
    But when I try to do exactly the same installation again on same PC (tried IPFire meanwhile) it is a mess!
    First CUPS suddenly needs avahi to be running (enabled).
    Without it, I get a 'core-dump' error:
    systemd-coredump[###]: Process 255 (cupsd) dumped core.
    systemd[1]: cups.service: main process exited, code=dumped, status=6/ABRT
    Next cups does not start, does not offer shared printers and is not accessible through web interface until I start it manually.
    Than everything works as supposed.
    On reboot: same procedure!
    Of course I edited 'cupsd.conf' on the server, added
    Listen *:631
    and
    Allow from 192.168.XXX.XXX/24
    to all <Loaction> entries.
    Though I enabled cups (which in fact only enables the cups.socket) I do not get it to work.
    So it seems to be a problem with this non reacting cups.socket, perhaps?
    BTW: sshd.socket works.
    There are no errors which I could post.
    I've also reinstalled serveral times...
    PS:
    Menawhile I found a workaround:
    # systemctl disable cups
    # sudo ln -s '/usr/lib/systemd/system/cups.service' '/etc/systemd/system/multi-user.target.wants/cups.service'
    but I still wonder, why the intitial configuration which worked till a few days suddenly stopped working...
    Last edited by renegat (2013-02-27 14:28:14)

    renegat wrote:
    I don't know if this issue is a bug or if I'am doing something terribly wrong.
    I've installed ArchLinux without GUI, just base, as a pure printserver a few weeks ago with only cups running and it worked.
    But when I try to do exactly the same installation again on same PC (tried IPFire meanwhile) it is a mess!
    First CUPS suddenly needs avahi to be running (enabled).
    Without it, I get a 'core-dump' error:
    systemd-coredump[###]: Process 255 (cupsd) dumped core.
    systemd[1]: cups.service: main process exited, code=dumped, status=6/ABRT
    Next cups does not start, does not offer shared printers and is not accessible through web interface until I start it manually.
    Than everything works as supposed.
    On reboot: same procedure!
    Of course I edited 'cupsd.conf' on the server, added
    Listen *:631
    and
    Allow from 192.168.XXX.XXX/24
    to all <Loaction> entries.
    Though I enabled cups (which in fact only enables the cups.socket) I do not get it to work.
    So it seems to be a problem with this non reacting cups.socket, perhaps?
    BTW: sshd.socket works.
    There are no errors which I could post.
    I've also reinstalled serveral times...
    PS:
    Menawhile I found a workaround:
    # systemctl disable cups
    # sudo ln -s '/usr/lib/systemd/system/cups.service' '/etc/systemd/system/multi-user.target.wants/cups.service'
    but I still wonder, why the intitial configuration which worked till a few days suddenly stopped working...
    Using the .socket will activate cups on access. Which is much better than keeping it running all the time. Unless you want it running all the time.. Up to you.
    I'm curious what your cups.service acutally looks like.. since you shouldn't be having to make a symlink manually.. That's what systemctl enable is for, as you probably know.  And why not paste the socket too while you're at it.. Mine are at the bottom of this reply. I also added the cups.path so you can compare and see if anything went wrong there.. Mine works great on 3.7.9-1 kernel.
    I'm not sure why you're linking cups.service to multi-user.target.wants/ but it should be WantedBy=printer.target.. Have a look below.
    * enabling cups.service should create symlinks for the service unit and the path
    * enabling cups.socket should only create the symlink for the socket.
    ╰─╼ cat cups.socket
    [Unit]
    Description=CUPS Printing Service Sockets
    [Socket]
    ListenStream=/var/run/cups/cups.sock
    [Install]
    WantedBy=sockets.target
    ╰─╼ cat cups.service
    [Unit]
    Description=CUPS Printing Service
    [Service]
    ExecStart=/usr/sbin/cupsd -f
    PrivateTmp=true
    [Install]
    Also=cups.socket cups.path
    WantedBy=printer.target
    ╰─╼ cat cups.path
    [Unit]
    Description=CUPS Printer Service Spool
    [Path]
    PathExistsGlob=/var/spool/cups/d*
    [Install]
    WantedBy=multi-user.target

  • [solved] LXDE does not start

    I have installed lxde accoriding to the wiki (I was using xfce, which starts fine using the follwing configuration files, without the lines, marked by #new) and I have adopted the configuration files, but lxde does not start. I'm not using a login manager, x starts automatically.
    ~/.bash_profile
    # ~/.bash_profile
    export DESKTOP_SESSION=LXDE#new
    [[ -f ~/.bashrc ]] && . ~/.bashrc
    [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
    ~/.xinitrc
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    #startxfce4 #old
    exec startlxde #new
    ~/.bashrc
    # ~/.bashrc
    # If not running interactively, don't do anything
    [[ $- != *i* ]] && return
    alias ls='ls --color=auto'
    alias ls='ls --color=auto'
    alias reboot="sudo reboot"
    alias poweroff="sudo poweroff"
    alias halt="sudo halt"
    alias skype='LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype'
    PS1='[\u@\h \W]\$ '
    Last edited by mumpf (2013-06-05 20:06:42)

    So, when you login, startx is not executed? Or does X start and immediately exit/crash? Do other parts of .bash_profile get executed, i.e., if you echo $DESKTOP_SESSION, does it say LXDE, do you see the results of .bash_rc (prompt, aliases)? Then check if XDG_VTNR is set, and DISPLAY.
    (After your edit:) If you only changed the exec line, then I assume X still starts, but startlxde fails? So X immediately exits or something? Do you get any useful messages in the logs?
    Last edited by Raynman (2013-05-29 09:16:36)

  • Dhcpcd does not start automatically on boot

    Hi everyone,
    I have just installed Arch (64 bit) and am running on a dynamic, wired connection.
    I followed the Beginners' Guide and enabled the dhcpcd service during the installation so that it would start automatically on boot.
    systemctl enable [email protected]
    However, I currently must issue the command "dhcpcd" each boot before the internet starts to work.
    Does anyone know how I can automate this process or if I need to further configure my network connection?
    Thank you in advance.
    Last edited by Ipozya (2012-11-15 11:29:05)

    foppe wrote:
    Check the output from
    # systemctl status [email protected]
    to debug the issue you're experiencing.
    % sudo systemctl status [email protected]
    [email protected] - dhcpcd on eth0
    Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled)
    Active: failed (Result: exit-code) since Tue, 2012-11-15 20:38:16 GMT; 27 sec ago
    Process: 244 ExecStart=/sbin/dhcpcd -A -q -w %I (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/[email protected]/eth0
    Nov 15 20:37:47 arch dhcpcd[244]: eth0: sending IPv6 Router Solicitation
    Nov 15 20:37:47 arch dhcpcd[244]: eth0: sendmsg: Cannot assign requested address
    Nov 15 20:37:47 arch dhcpcd[244]: eth0: broadcasting for a lease
    Nov 15 20:37:51 arch dhcpcd[244]: eth0: sending IPv6 Router Solicitation
    Nov 15 20:37:55 arch dhcpcd[244]: eth0: sending IPv6 Router Solicitation
    Nov 15 20:37:59 arch dhcpcd[244]: eth0: sending IPv6 Router Solicitation
    Nov 15 20:37:59 arch dhcpcd[244]: eth0: no IPv6 Routers available
    Nov 15 20:38:16 arch dhcpcd[244]: timed out
    Nov 15 20:38:16 arch systemd[1]: Failed to start dhcpcd on eth0.
    Nov 15 20:38:16 arch systemd[1]: Unit [email protected] entered failed state
    Dhclient did not work automatically on boot either.
    Others seem to have experienced similar issues but I don't see any real solutions in any of these posts, despite being marked as solved. For example, adding "-t 120" to the dhcpcd start line in /usr/lib/systemd/system/[email protected] did not work for me.
    I also tried the following but it did not work either and I had to issue "dhcpcd" before internet started working.
    Install and configure wired and wireless networking
    # pacman -S netcfg ifplugd
    # cd /etc/network.d
    # ln -s examples/ethernet-dhcp .
    Make sure the WIRED_INTERFACE and WIRELESS_INTERFACE lines is uncommented
    # nano /etc/conf.d/netcfg
    # systemctl enable net-auto-wired.service
    # pacman -S wireless_tools wpa_supplicant wpa_actiond dialog
    # systemctl enable net-auto-wireless.service
    https://bbs.archlinux.org/viewtopic.php?pid=1176656
    https://bbs.archlinux.org/viewtopic.php?pid=1189587
    https://bbs.archlinux.org/viewtopic.php?pid=1180192
    Last edited by Ipozya (2012-11-15 21:08:03)

  • [SOLVED] Imapd does not start (only during boot process)

    I'm running a courier-imap server.
    A few days ago I noticed I did not receive any mails anymore. Then I found my imapd daemon was not running anymore.
    I then stopped the daemon process together with the xinetd daemon (which lets me connect to my imap server via my local network).
    I restart from a terminal both daemons (imapd an xinetd) and ... everything is up and running ! Note that I have to stop xinetd too because only stopping imapd and restarting doesn't help.
    I reboot my PC ... again no imapd anymore. During the boot process I do not get any error message though ...
    I'm completely puzzled
    The problem started when I upgraded to the linux 3.0.1 kernel ...
    Last edited by Strider (2011-08-14 07:59:41)

    I managed to get the problem solved by removing and re-installing the courier-imap package. Don't know why that solved it though ...
    Last edited by Strider (2011-08-14 07:59:05)

  • [solved] systemd services not starting at boot (or at all)

    On my router, some systemd services fail to start at boot.
    The services are :
    adsl (pppoe connetction on the wan interface)
    shorewall (funny again for a router)
    logind (brings up only tty1, and not the others with a 'timeout' error)
    adsl starts fine manually after booting up
    the others don't work, I have to launch shorewall with the old sysvinit rc script (and it works)
    I really don't know, what happened to logind...
    Last edited by scar (2012-11-30 10:20:44)

    cups: avahi client failed
    adsl: timeout (ppp0 running on eth0, the service did not found eth0)
    shorewall: did not work by the systemctl command, only with the old rc script
    I'm not sure if there was an error with logind, but I've had only tty1, not all the others (I have not touched /etc/inittab)
    since this was a very old install (but up to date), I've decided to reinstall the whole thing,
    Everything works
    (But reinstalling does not solve any problem, it erases the problems...)
    Last edited by scar (2012-11-30 10:21:20)

  • [SOLVED] Arch does not start into gnome desktop

    I installed arch from the scratch into a new hard drive due to a disk failure in the old one. After installing it, I booted into gnome3 desktop without problems.
    Today I have upgraded it by performing:
    #pacman -Syu
    and also I have installed some other no important packages mplayer, banshee, etc... also I have seen that my kernel has been upgraded into 3.11.4-1-ARCH fro 3.10.10-1-ARCH.
    After rebooting, my arch does not boot, even in fallback mode. It starts cleaning blocks from the partitions, and then after it is done, cursor is blinking and no other messages are printed out. It stays with cursor blinking forever. I have a GUID Partition table and a LVM2 where all paritions are made.
    I can log in into console by pressing CTRL+ALT+F2. Once I have prompted I have no network interfaces, only lo (loopback). If I do:
    #ip link show
    #ip addr list
    I only get lo (loopback) interface listed, others like wifi and ethernet cable does not appear.
    If I perform below:
    #journalctl -xn
    I do not see any problematic message, only this one:
    Failed to open private bus connection
    Any ideas why arch is not booting and get into gnome session (login window)?
    UPDATED:
    The problem is that once I have performed the full system update with:
    #pacman -Syu
    My kernel images has been upgraded and successfully generated into 3.11.4-1-ARCH but I have seen that my kernel, after log in to console and performing:
    $uname -r
    it says kernel version continues being 3.10.10-1-ARCH so at startup images genereated into 3.11.4-1-ARCH do not match so cursor remains blinking forever....
    I am trying to update the kernel but now I have no internet connection, no network interfaces are shown.... so how to do this now? chrooting?
    Last edited by toni (2013-10-12 18:32:10)

    ewaller wrote:Check the output of uname -a and of pacman -Qi linux and ensure that the versions match.  If they don't, you are somehow starting using the wrong kernel and it cannot find its modules.
    You are right, see my updated post, for some reason image were successfully generated into 3.11.4-1-ARCH but kernel has not been updated and it remains in 3.10.10-1-ARCH.... so they do not match and arch does not boot.... so cursor remains blinking forever....

  • Skype does NOT start with Windows Anymore (start S...

    My Skype NO LONGER starts with Windows anymore!!! I HAVE to manually open Skype!!! I cheked the options and "start Skype with Windows" IS checked!!! I tried unchecking the option and rechecking it, made no difference!!! how do I fix??

     Just because Skype isn't starting up automatically doesn't mean it isn't trying.  Other applications you have loading at startup could be slowing down Skype's ability to start.  You can run msconfig ( Start - Run  (Wink key + R) -  "msconfig".  Under the startup tab you can see if Skype is set to start or not.  You can also uncheck everything else but Skype and see if it comes up them.  If it does, using a process of elimination you should be able to determine the application causing the probelm.  If you do not see anything for Skype you can use the registry files provided to toggle that feature on/off just as the Skype program attempts to.
    Attachments:
    Start_Skype.zip ‏2 KB

  • Update to 10.4.6 Word does not start some documents anymore...

    have big problems with word.
    some documents do not start anymore, mostly komplex documents....

    I have had problems with MS Word after two other OS updates (including 10.4.6). This may not work for you; however, it did for me (and it was what MS advised me for my font corruption indication problem): Re-boot holding the shift key down (to perform a Safe Boot). Hold it down until the red "Safe Boot" nomenclature is seen on the log in screen. Starting up in a Safe Boot clears the font cache automatically. Then, just re-boot normally. This might work. If not, no gain, no loss. Hope it helps you.
    Barry
    PowerBook G4 & PowerMac G4   Mac OS X (10.4.6)  

Maybe you are looking for

  • Trouble with getting document to print full A4 size

    I want to print a Word document converted to pdf. But in the adobe preview  before printing I see the bottom has a shaded in area which no matter what size i try or setting the sahde remains and the printout ends up higher up on th epage..What can I

  • GP60: After installing new NVIDIA driver, no brightness controls work now.

    Hey guys! I have a small problem I'm hoping someone might know how to fix. I just installed a new NVIDIA driver update (I'm now on build ) and now my brightness controls won't work. My computer is stuck in a very bright setting, and I don't know how

  • L530, E31 drivers missing in Update Retriever

    Hi, we use the TV update retriever in combination with ThinInstaller so do our driver installations. Unfortunately two drivers are missing/not listed in the update retriever repository: For the ThinkPad L530 (2479) the STElectronics TPM Driver (G3Z10

  • Weblogic server 9.1 upgrade problem

    We had our application running on WLS 8.1. Trying to upgrade to 9.2 using teh upgrade.sh script ( which uses 'java weblogic.Upgrade' inside ). Even after it has reported that it has successfully upgraded the domain, when I login using the admin conso

  • My ipod 3rd generation touch wheel won't charge on my laptop..

    I have an iPod 3rd Generation with touch wheel. When I attach it to my laptop it will not charge and not only that, if I attach it to my laptop FULLY CHARGED the battery seems to drain in a few seconds and the the ipod goes dead.  This means that i c