[SOLVED] dhcpcd exits with no daemon process ... but still works

This is in the newbie corner as I'm baffled by this and not even well enough informed to know where to gather information.
Very recently the behavior of dhcpcd changed.  Previously, it would daemonize and remain in the background: it would show up in pstree and pgrep output.  Now, it still works perfectly, but after it runs, it seems to fully exit without leaving a daemon process - or at least not one that shows up in pstree or pgrep output.
There is no actual problem here, but I'd like to learn about this change if anyone can enlighten me.
Last edited by Trilby (2015-04-25 16:21:29)

I do not (intentionally) use systemd-networkd, and it is not running.
$ pacman -Q dhcpcd
dhcpcd 6.8.1-1
$ systemctl status dhcpcd
● dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; disabled; vendor preset: disabled)
Active: inactive (dead)
I don't use the dhcpcd service - I just envoke it manually.  I'll double check in a moment, but I don't believe I have a connection until I run dhcpcd on my wireless interface (after wpa_supplicant).
So it seems I do need to explicitly run dhcpcd, but I can kill it after it connects, and my connection remains:
# no connection and no active services at start
$ sudo wpa_supplicant -B -i wls1 -c /usr/share/swifer/NETGEAR10
Successfully initialized wpa_supplicant
$ pgrep dhcpcd
$ ping google.com
ping: unknown host google.com
$ sudo dhcpcd wls1
DUID 00:01:00:01:1a:3c:f0:eb:00:26:c6:c9:40:0c
wls1: IAID 6a:76:c9:30
wls1: soliciting an IPv6 router
wls1: rebinding lease of 192.168.1.76
wls1: leased 192.168.1.76 for 86400 seconds
wls1: changing route to 192.168.1.0/24
wls1: changing default route via 192.168.1.1
forked to background, child pid 806
$ ping google.com
PING google.com (74.125.21.101) 56(84) bytes of data.
64 bytes from yv-in-f101.1e100.net (74.125.21.101): icmp_seq=1 ttl=36 time=46.3 ms
^C
--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 46.315/46.315/46.315/0.000 ms
$ pgrep dhcpcd
806
$ sudo killall dhcpcd
$ pgrep dhcpcd
$ ping google.com
PING google.com (74.125.21.101) 56(84) bytes of data.
64 bytes from yv-in-f101.1e100.net (74.125.21.101): icmp_seq=1 ttl=36 time=128 ms
64 bytes from yv-in-f101.1e100.net (74.125.21.101): icmp_seq=2 ttl=36 time=100 ms
64 bytes from yv-in-f101.1e100.net (74.125.21.101): icmp_seq=3 ttl=36 time=53.0 ms
64 bytes from yv-in-f101.1e100.net (74.125.21.101): icmp_seq=4 ttl=36 time=47.0 ms
q64 bytes from yv-in-f101.1e100.net (74.125.21.101): icmp_seq=5 ttl=36 time=48.3 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 47.073/75.519/128.444/33.126 ms
While this time it seems I had to kill dhcpcd myself.  But just the same, it is no longer running, yet my connection stays up.

Similar Messages

  • TS1567 i have uninstalled then reinstalled itunes to solve a problem with apple mobile device, but i get this message during the install. Service  Apple Mobile Device  failed to start. Verify that you have sufficent priveleges to start system services.

    I Have reinstalled itunes to solve a problem with Apple mobile support, but during install i get this message. Service 'Apple Mobile, ( Apple Mobile Device ) failed to start. Verify that you have sufficent privileges to start system services. I'd appreciate any help on this.
    Thanks bluebanana 66

    Hi bluebanana 66,
    Thanks for visiting Apple Support Communities.
    There are a few reasons why you might receive this message after installing iTunes. You may need to verify that iTunes has been completely removed before trying to install again. See this article for the steps to completely remove and reinstall iTunes:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/ht1923
    If the error message persists, see the "Additional troubleshooting" section of this article for some steps that can help solve it:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Best,
    Jeremy

  • My iPod Classic 160GB is recognized by computer, and goes through sync process, but still has old stuff...

    My iPod Classic 160GB is recognized by computer, and goes through sync process, but still has old stuff...
    I feel like there must be an issue with the library location, but I don't know how to correct that.  My Dad recently wiped my computer and deleted Windows XP and installed Windows 7.  I don't know what he did, but my iTunes library is still intact it seems. However, I've added quite a few podcasts that I'd like to sync to my iPod.  When I connect it, it goes through the sync process, but ends quickly and says its safe to disconnect.  None of the new podcasts are on there though.
    Also, there was something really wrong with my iTunes account.  When I went to buy something from the store, it wouldn't accept my password, and when I went to reset it, it wouldn't recognize my birthdate and month (I had the correct username).  I ended up creating a new account and purchasing a song.  This time, it did sync the new song onto my iPod, but not the podcasts I'm trying to sync.
    As far as the library location, is there anything particular that has to be included in that library in order for it to be recognized by iTunes when you sync?  Awhile back (before my Dad worked on my computer), I had changed the folder location to my external hard drive, but in researching, I saw that I still had in another drive some folders with music that is currently on my iPod.  So it looks like I have some stuff on two different drives... Maybe this has something to do with it not syncing right?
    I did check, and my Firewall doesn't have iTunes blocked.
    As you can see, I'm not very experienced with all of this... Sorry for the confusion.  If you are interested in helping me and have any questions, please let me know.
    I'm hoping someone will be able to help me... I desperately want to be able to listen to my podcasts, as I'm a stay-at-home Mom of 4 little ones, and the podcasts are kind of an "escape" for me when the children are napping or playing. :-) 
    Thank you in advance for your help!

    Oh my goodness!!  I am absolutely thrilled right now B-rock!!  I don't know how I missed it, but when I went back to change the setting like you mentioned, I noticed that the very top box that says "Sync Podcasts" wasn't checked!  I have no idea why... But my heart started to race when I checked that box and all of a sudden it started syncing all my podcasts!!  It's gonna take a long time (I have 385 of them!), but I am just so happy you helped me with this problem.  Thank you SO much! 

  • My location services is already on as well as with my facebook apps, but still i am unable to check in. what's wrong? even with my maps, it always say location unavailable. help please.

    my location services is already on as well as with my facebook apps, but still i am unable to check in. what's wrong? even with my maps, it always say location unavailable. help please.

    - The iPod uses the location of a nerby or connected router to determine it location based on a database of routers and their location. It appears that the routers near y are not in Appl'es database.  As of yet, nobody here seems to know how to get routers added to the database.
    - If you go to Strtbucks. McDonalds or another networks does the location show in the Maps app?

  • My iPod stopped working with the USB in my car but still works on it's own. Any suggestions?

    My iPod stopped working with the USB in my car but still works on it's own. Any suggestions?

    Read the car user manual and/or contact the car dealership.
     

  • Iphone 5 got wet last week.  Been in rice until today.  It turned on and worked fine, I could see a water spot in the middle but still worked fine, 3 hours in it shut off to black screen with apple logo.  Any ideas what to do?

    Iphone 5 got wet last week.  Been in rice until today.  It turned on and worked fine, I could see a water spot in the middle but still worked fine, 3 hours in it shut down to the black screen with apple logo.  Screen stays up for 10 seconds ago and then goes black and then black screen with apple logo comes back.  Any ideas what to do?

    At this point it's likely that the iPhone has suffered damage and you'll have to take or send it to Apple for replacement. If you have AppleCare+ coverage on the iPhone, the cost will be US $49. Otherwise the cost will be US $229.
    Regards.

  • HT201412 Safari could not open the page because the server stopped responding- new ipad mini's (2 from separate places) are not working with At & T router but computers work. Can you please help me. I've tried everything. Thanks ya'll!

    Safari could not open the page on my new ipad mini's because the server stopped responding- new ipad mini's (2 from separate places) are not working with At & T router but computers work fine. Yesterday I got it to work. Weird. Can you please help me. I've tried everything. Thanks ya'll!

    Hello SavannahSweetie,
    I was looking into the issue you are desribing, and found a great article for troubleshooting wifi connections with iOS devices. It's called iOS: Troubleshooting Wi-Fi networks and connections and can be found here: http://support.apple.com/kb/ts1398.
    Start with this section, and work your way down if needed.
    Basic troubleshooting
    Tap Settings > Wi-Fi and turn Wi-Fi off and then on again.
    Verify that you are in range of your Wi-Fi router or base station.
    Confirm that your Wi-Fi router and Cable/DSL modem are connected to power and turned on.
    Check whether other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the Internet.
    Update your Wi-Fi router to the latest firmware.For AirPort Base Stations, refer to this article for information about firmware updates. For third-party Wi-Fi routers, check the manufacturer's website for details on updating your firmware.
    Restart your iOS deviceHold the On/Off button until "slide to power off" appears. Slide to power off your device. When it is off, press the On/Off button to turn it back on.
    All the best,
    Sterling

  • HT201401 I am using iphone 3s after updating my phone it is not reading the sim i tried with different sim's but none worked can you please help me

    I am using iphone 3s after updating my phone it is not reading the sim i tried with different sim's but none worked can you please help me

    There is no iPhone 3s.
    What is displaying on the device?
    Has the device ever been hacked or jailbroken?

  • I have just installed iTunes for the first time. When I run the application I get a "iTunes not working" message. Operating system Vista (32 bit). I have tried reinstalling with all firewalls off, but still no success. Have other people had this problem?

    I have just installed iTunes for the first time. When I run the application I get a "iTunes not working" message. Operating system Vista (32 bit). I have tried reinstalling with all firewalls off, but still no success. Have other people had this problem?

    Drrhythm2 wrote:
    What's the best solution for this? I
    Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer.

  • HT1918 My account information match with my credit card, but still ITunes store writitng   a message stating "The credit card was declined." What can I do with this?

    My account information match with my credit card, but still ITunes store writitng   a message stating "The credit card was declined."
    What can I do with this?

    Hi Marvin,
    Thanks for visiting Apple Support Communities.
    Did you receive an email confirmation of your purchase? If so, you can use the steps in this article to report an issue with your order:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/HT1933
    Best Regards,
    Jeremy

  • I have a new iphone 5s with ios 7 , I cannot pair with the bluetooth in my BMW with idrive , can anyone help . My old iphone 4 worked fine , however this was initially paired with older software , but still worked after the upgrade

    I have a new iphone 5s with ios 7 , I cannot pair with the bluetooth in my BMW with idrive , can anyone help . My old iphone 4 worked fine , however this was initially paired with older software , but still worked after the upgrade . I have tried & tried to pair again & that wont work either , suggesting it is the phones software . Can anyone help please

    Hi there soulboycraney,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Troubleshooting Bluetooth connections
    http://support.apple.com/kb/TS4562
    iOS: Troubleshooting car stereo connections
    http://support.apple.com/kb/ts3581
    -Griff W. 

  • App updates download and process but still show needs update

    Since 10.5.3 often i'll have app updates and when i select to download them it will download and process but still stay in update available.  I've tried all the standard, restart, logout etc but they are still there.  Like right now Whiteboard Lite is the one hanging.  Then randomly some day it will go through but its kind of annoying.

    Ok...
    ~/Library/Caches/com.apple.appstore
    ~/Library/Caches/com.apple.storeagent
    ~/Library/Preferences/com.apple.appstore.plist
    ~/Library/Preferences/com.apple.storeagent.plist
    ~/Library/Cookies/com.apple.appstore.plist
    Open a Finder window. Select your Home folder in the Sidebar on the left. Now open the LIbrary folder then the Caches folder.
    Move these files to the Trash: com.apple.appstore and com.apple.storeagent
    Now from the same Library folder open the Preferences folder. Move these files to the Trash.
    com.apple.appstore.plist and com.apple.storeagent.plist
    Same Library folder, open the Cookies folder. Move this file to the Trash.
    com.apple.appstore.plist
    If you don't see the com.apple.storeagent files, don't worry about it.
    Restart your Mac. See if that made a difference.
    Message was edited by: Carolyn

  • My iMessages stopped working on my iMac but still works on my ipad. it is telling me all of my contacts are offline on my mac but on my ipad it all works fine

    my iMessages stopped working on my iMac but still works on my ipad. it is telling me all of my contacts are offline on my mac but on my ipad it all works fine

    Hi...
    With iMessages open on yuour iMac, from the menu bar top of your screen click Messages > My Status
    You can select Off or Online as necessary from there.

  • Why all of a sudden will my iPad not send emails to one specific address at work but still works to everyone else? just keeps saying "failure to send"

    Why all of a sudden will my iPad not send emails to one specific address at work but still work to everyone else at work?

    Contact the person by telecon. Their email address may have changed.
     Cheers, Tom

  • Battery shows nothing but still works

    MacBook Pro Intel Core Duo Battery shows nothing but still works, why?

    Thanks for your response. I reset the SMC and am now seeing an improvement. The battery shows the correct number of charge cycles in the system profiler and the status is showing a charging state now on the menu bar. Thanks again for your response.

Maybe you are looking for

  • Creating OAAM users and groups in external LDAP i.e. OID

    Hi Experts, I am looking for the procedure to create OAAM users and groups in external LDAP i.e. OID. I am using 11gR2. Any pointers would be appreciated. Regards, Subin

  • Dynamic Update of Curve Path

    I am using Photoshop CS6. I created a curve path and a "new" layer that contains the brush stroke applied to the path. I want the brush stroke to dynamically update when the path is modified. Can this be done?

  • Confirmation Dialog Problem

    Hello! I am facing a peculiar problem in the production system where in the confirmation dialog isn't working and the NullPointerException is getting thrown. For some reason the production server isn’t getting the handle for the event even though the

  • PCI-7833R RTSI Bus

    I'm in the process of integrating a second PCI-7833R into my project (a towable wideband echo repeater for submarine target emulation). The first board does the actual echo repeating (acquisition, trigger filtering, and detection, etc.) The second bo

  • Sample program for Workflow configuration

    Hello everybody, can any body plz provide some sample for configuring, registering the workflows in Content DB using the WorkflowManager, WorkflowManagerService and related classes. Thanks Krrish