[SOLVED] Wifi won't auto connect on boot - systemd issue?

I'm using netcfg and have a working profile for a WPA wireless network. Connecting using netcfg from the terminal works reliably.
However, I can't get automatic wifi connection at boot to work. I've followed the wiki instructions on the netcfg page, but some thing isn't quite right.
Last in the post is the output from:
$ systemctl status net-auto-wireless.service
Could this be some kind of timing / starting order issue with systemd and the network-related services?
Any ideas anyone?
net-auto-wireless.service - Provides automatic netcfg wireless connection
Loaded: loaded (/usr/lib/systemd/system/net-auto-wireless.service; enabled)
Active: active (running) since Sat, 2013-01-12 20:32:01 CET; 1min 39s ago
Process: 1142 ExecStart=/usr/bin/netcfg-wpa_actiond $WIRELESS_INTERFACE (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/net-auto-wireless.service
└─1323 /usr/sbin/wpa_actiond -p /run/wpa_supplicant -i wlan...
Jan 12 20:32:00 carbon systemd[1]: Starting Provides automatic netcfg wireless connection...
Jan 12 20:32:00 carbon netcfg-wpa_actiond[1142]: catland
Jan 12 20:32:01 carbon wpa_actiond[1323]: Starting wpa_actiond session for interface 'wlan0'
Jan 12 20:32:01 carbon systemd[1]: Started Provides automatic netcfg wireless connection.
Jan 12 20:32:04 carbon wpa_actiond[1323]: Interface 'wlan0' connected to network 'CATLAND'
Jan 12 20:32:04 carbon dhcpcd[1402]: version 5.6.4 starting
Jan 12 20:32:04 carbon dhcpcd[1402]: wlan0: sending IPv6 Router Solicitation
Jan 12 20:32:04 carbon dhcpcd[1402]: wlan0: sendmsg: Cannot assign requested address
Jan 12 20:32:04 carbon dhcpcd[1402]: wlan0: broadcasting for a lease
Jan 12 20:32:08 carbon dhcpcd[1402]: wlan0: send_raw_packet: Network is down
Jan 12 20:32:08 carbon dhcpcd[1402]: wlan0: sending IPv6 Router Solicitation
Jan 12 20:32:08 carbon dhcpcd[1402]: wlan0: sendmsg: Network is unreachable
Jan 12 20:32:12 carbon dhcpcd[1402]: wlan0: sending IPv6 Router Solicitation
Jan 12 20:32:12 carbon dhcpcd[1402]: wlan0: sendmsg: Network is unreachable
Last edited by 4ZM (2013-01-14 08:16:17)

For posterity: the problem seems to be that I hadn't enabled netcfg@<networkprofile>.service with systemd. I had only enabled my wired profile. I.e. doing 'systemctl enable [email protected]' fixed it.
In short this was a failure to configure netcfg startup with systemd. But hey, that makes it (drum roll...) a sysytemd issue! Like most of the problems one encounters while setting up a computer; it is a configuration issue (i.e. PEBKAC). But hey, thats what the forums are for.
@Trilby, @WonderWoofy Thank you both for your insightful, constructive and, above all, helpful comments. I hope everyone else coming to this thread for information on why their wifi won't start will find them every bit as useful as I did.

Similar Messages

  • WiFi on New iPad won't auto connect at home

    Even though I have ASK TO JOIN NETWORKS off and successfully type the WiFi password, the iPad defaults to cellular if left in stand by for a few hours.
    I can work in WiFi, but if I come back to the iPad later in the day. I'll have to join the network again.
    I have an Airport Extreme (latest update) and use it with a first generation iPad, 2 iPhone4s and an iPhone 3G, all of which work fine. Only the new iPad had this problem.
    I have my work network setup also, and that auto connects, so it might be the relationship between the Airport and the new iPad.
    Am i the only one with this issue?
    Thanks

    It's strange, I did searches with similar issues but didn't find any until I posted this. Then several came up as related. Sorry for the duplication.

  • IMac Won't Auto Connect To Internet Via Ethernet Cable

    I'm Using An iMac OSX Leopard, And When I Turn On My Computer The Internet Isn't Connected Even Though It Works. I Get Server Not Found In Safari And Firefox. I Have To Unplug The Ethernet Cable And Plug It Back In For It To Work, But If I Turn Off The Computer When I Turn It Back On It Doesn't Work Again. When I Open Diagnosis Everything Is Connect Except For Internet And Server Until I Unplug The Ethernet Cable And Plug It Back In. I Tried Using WiFi But The Same Thing Happens; The Internet Works, But It Doesn't Auto Connect Even Though The Computer Is Set To Remember The Network And Connect Automatically. There Is No Firewall On. Are There Any Solutions? Thanks For Your Help.

    Have you tried System Preferences/Network/Assist Me/Assistant?
    Network locations (Mac OS X v10.6 and later)

  • New iPod Touch Wifi won't stay connected?

    Just bought new 16 GB iPod Touch, and it won't stay connected to my home WiFi. Even after a reset of network connection, re-enter WiFi info and Touch connects for a few minutes and then loses connectivity even tho WiFi bars still show. Turning WiFi off and on does not fix problem. Turning iPod off and back on will allow Touch to reconnect, but again only for a few minutes at best.

    Does the iPod work OK with other networks?
    Do other devices work OK?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Airport won't auto connect to my router, connects to the neighbors regularl

    Hey,
    Every time I close my computer it logs off of the internet, which bugs me. Additionally when I open the computer back up instead of auto connecting to my internet, it connects to the neighbors internet titled Lynksis.
    Can anyone tell me how to resolve these problems? thanks!
    Kristian

    Kristian,
    Rob has it mostly right, but you might not see just what he indicated. Once you see the "Airport" pane, you will see a pull-down menu in the body of the window (the "By default, join:" menu). This pull-down will read either "Automatic" or "Preferred networks." Only if it shows "Preferred networks" will you see the actual list of networks you have allowed your Mac to join. By changing the menu to read "Preferred," you can see and edit the list.
    My recommendation is to get to the list, make your changes (which should amount to removing the "Linksys" network, plus any other generically-named networks you find), then change the pull-down to "Automatic." Using the options in this manner will do the most to reduce the chances of you having to adjust things manually on a regular basis.
    Scott

  • My macbook air won't auto connect to wifi

    I've had my Macbook Air for 2 months. For the first month and a bit it connected to Wifi automatically but now when I first log in and after sleep mode I have to manually connect. I have played around with the system prefrences but to no avail, it's probably something really simple I'm missing! I'll be extremely grateful for any suggestions

    Try the following, in order, until (hopefully) resolved:
    1a. Delete Preferred Network(s)
    System Preferences > Network > AirPort > Advanced > AirPort tab
    Under "Preferred Networks," delete the network(s) you regularly use from the list.
    1b. Delete AirPort Keychain Entries
    Launch the "Keychain Access" application located in Applications/Utilties.
    Click on the "Kind" filter at the top, and look for any "AirPort network password" entries...and delete them.
    1c. Add Preferred Network(s)
    System Preferences > Network > AirPort > Advanced > AirPort tab
    Add the preferred network(s) using the "+" button.
    Restart or log out then back in.
    2. Move System Configuration Files
    (Note: You will have to reestablish your network connections settings.)
    Go to /Library/Preferences
    Move the SystemConfiguration folder to the desktop.
    Restart your Mac. (Note: OS X will rebuild the files that are now sitting on your desktop. If this doesn't resolve the issue, you can move the folder back to it's original location.)

  • Wifi is not auto connect after resume from sleep

    I keep my Mac Book Pro up-to-date with software updates.
    I recently update to OS X 10.8.3 (12D78).
    Since then when I open my laptop after closing it and put it to sleep the wifi connection does not re-connect automatically.
    I have to click on the wifi sign near the clock and select the network to connect to.
    How can I make it connect automatically like it used to?

    Wifi problems seem to crop up a lot on here and unfortunately there doesn't seem to be a 'one fix' solution.
    However, sometimes any one of the following can help although, unfortunately, not always - in no particular order:
    Check wifi security - if it's WEP change it to WPA or WPA2 (preferably, as it's more secure)
    Change the wifi channel on the router
    Create a new Network Location: http://support.apple.com/kb/HT5289
    Reboot the router
    Also take a look at this link and the links within the article for other ideas. They mainly reference Lion, but still seem to be relevant to Mountain Lion:
    http://osxdaily.com/2011/11/06/lion-wi-fi-problems-solution-mac/?utm_source=feed burner&utm_medium=feed&utm_campaign=Feed%3A+osxdaily+%28OS+X+Daily%29&utm_conte n t=FaceBook
    ...and this link:
    http://osxdaily.com/2012/11/30/resolving-stubborn-wi-fi-connection-problems-in-m ac-os-x/

  • AirPort won't auto connect after resetting admin password

    The other day I reset my admin password using the install disk and now AirPort won't log on automatically when I start my laptop. Has this happened to any one else? I have tried going through the network preferences, internet connect, and tried a couple of other things and the problem hasn't been fixed.

    Try the following, in order, until (hopefully) resolved:
    1a. Delete Preferred Network(s)
    System Preferences > Network > AirPort > Advanced > AirPort tab
    Under "Preferred Networks," delete the network(s) you regularly use from the list.
    1b. Delete AirPort Keychain Entries
    Launch the "Keychain Access" application located in Applications/Utilties.
    Click on the "Kind" filter at the top, and look for any "AirPort network password" entries...and delete them.
    1c. Add Preferred Network(s)
    System Preferences > Network > AirPort > Advanced > AirPort tab
    Add the preferred network(s) using the "+" button.
    Restart or log out then back in.
    2. Move System Configuration Files
    (Note: You will have to reestablish your network connections settings.)
    Go to /Library/Preferences
    Move the SystemConfiguration folder to the desktop.
    Restart your Mac. (Note: OS X will rebuild the files that are now sitting on your desktop. If this doesn't resolve the issue, you can move the folder back to it's original location.)

  • Touch Generation 5 WiFi won't stay connected

    I recently got a new 5th Generation iPod touch. I have a Netgear wireless adapter, and for some reason, when ever I reenter my house, I must restart my wireless so that my iPod can connect to it. However, now, my wireless will keep going out, and I will have to restart my wireless all of the time. Is there any way I can change my wireless settings, so that my iPod will stay connected? (my old 3rd generation had the same problem, but after i restarted the wireless once, it would stay  connected until I left the house).
    Thanks

    So you're saying that it's only your phone that has the wifi problem? Like your friends are using the same wifi as you, but only you lose connection while they don't?
    If that's the case, does the wifi have a passcode? And also some wifi networks have a verification before the wifi becomes accessible. For example, you may connect to a wifi network without having to put a password, but then you would need to open Safari and you would need to confirm some things before you're able to use it. Like in college, the wifi is free and open to everyone but only students who have a user and pass are able to access the wifi.
    2nd possible solution is to reset your network settings. Go to Settings > General > Reset > Reset Network Settings. See if that works.
    3rd, restart your phone by turning it on/off.
    4th, restore your phone on iTunes.

  • IOS 6, wifi won't stay connected no matter what I do

    I just updated to iOS 6, and it seems it's full of bugs in the wifi department. I can connect to my wifi, it works slowly for about 4 minutes and then it just drops and all apps tell me that there's no internet connection. The wifi signal still shows on the top with full bar, but it just doesn't work. It's like those phony wifi signals you find when you're outside. Is there anything I can do? Is apple on the case?

    Try:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset Network Settings: Settings>General>Reset>Reset Network Settings
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • Wifi won't stay connected after switching phone off and back on

    This does not seem to be the apparently common problem of either dropping wi-fi signal OR losing wi-fi after the phone sleeps.
    I have a 3GS. My wi-fi works fine all day while I'm around the house even with multiple sleep events. However, when I switch off my phone at night and then turn it back on again the next morning, the phone stays on 3G. If I go to the wi-fi settings, it shoes wi-fi is "on" and I can select my network and it will join it right away. It just doesn't rejoin automatically.
    I am not certain about this, but I think this problem may have only started when I recently switched on the "ask to join networks" setting. I have tried turning this off but still the problem remains.
    My wife's 3GS and my son's 4 both stay connected after a switch off and back on, and we are all using the same network.
    If anyone has any suggestions I would be most appreciative. With three of us now sharing the cell data plan we are getting very close to the limit each month and want to maximize wi-fi usage.
    Thanks.

    SKAshanchi wrote:
    From this article:
    http://support.apple.com/kb/HT5883?viewlocale=en_US&locale=en_US
    Note: Touch ID cannot be used for purchases if Require Password in Settings > General > Restrictions is set to Immediately.
    I don't have any restrictions set on my phone at all.

  • Wifi won't hold connectivity

    I'm reading over other comments but haven't found a solution yet. Our MacAir won't hold the connectivity or automatically find the wireless network. Once we click wireless at the top of the screen and it turns on, we can count to 10 and it will jump off again. Causing lots of frustration. The router seems fine as I'm not having any trouble with my Kindles, nor the other 20 iPads in the cart under the MacAir. We are currently running OS X 10.8.5.  One forum suggested deleting some files in Library/Preferences/SystemConfiguration (specifically:
    com.apple.airport.preferences.plist
    com.apple.network.identification.plist
    NetworkInterfaces.plist
    preferences.plist)
    Then reboot. Didn't work. Before I go too much further and really cause issues, please advise.

    We reset the MTU to 1454. So far, so good.

  • SOLVED: Why won't Satellite 4090XCDT not boot with DVD-R/W drive?

    Hi,
    as I stated in the other thread which has been closed already, I purchased an used Satellite notebook which would not boot from the 3rd Party DVD-RW drive (Quanta Storage SDW-042) included, even though Windows could it read well enough.
    I found out why, starting with the help of the user replies in the other thread.
    In the user manual there is a description in the capitel about system configuration regarding tconfig, which proved to be a valuable hint: HDD = Primary IDE (1F0H/IRQ14) (...), CD-ROM = Secondary IDE (170H/IRQ15). Compared to my desktop, it seemed to me that both drives should be masters on Cable Nr. 1 and Cable Nr. 2, not like Master and Slave on the same HDD Cable. So, my CD-ROM probably had to be Master.
    Then I researched further into the matter and found out, that there are CD-ROM where cable select choses if they are master or slave. Then I found in
    http://www.dschen.de/laptop_brenner/ a remark that in his Toshiba Satellite Pro 4290, there seemed to be no Cable Select and his notebook expected the CD-ROM (or the DVD drive he wished to use) to be a master.
    Cable select means that Pin 47 is grounded, which he did by applying a drop of solder from Pin 47 to Pin 49, which is besides Pin 47. I tried the same and took apart the DVD drive which was in my Notebook. (My record in taking apart my notebook and mounting everything again correctly now has gone down to 50 minutes). And know what, my Satellite 4090XCDT now can boot from the DVD RW!
    To perform the task I needed a watchmaker's screwdriver to open the DVD RW (three screws, and then you must insert a pin to open the tray and see the plug from the backside), a 12 Volt pin type soldering iron for SMD and I controlled the solder bridge with a stereo microscope, so this task is not trivial. See the mentioned link to find out which pins are bridged (sorry, the website is in german but the Pic is clear: in the upper row of pins, the only you can see, the 2nd and third from the right). And of course with a replacement part "from the scrap", you might grant your notebook a second life but you run a risk, because you can not know what you have, master or slave (by firmware or hardware), broken anyway, cable select - and another website states that they have watched up to 17 firmware variants in exactly the same drive, depending on what notebook it was intended for use.

    Wow, thats really interesting posting, buddy!
    Thank you! :)
    I will save this thread in my Bookmarks.

  • My WiFi won't stay connected for longer than 5 minutes!

    My problem is that my connection is okay for roughly 5 minutes and then the connection just disappears for no reason whilst Airport is still showing as connected. If I run Network Diagnostics it tells me that I have a working connection and to check if I typed the address correctly. If I then turn Airport off and then on again I will get the connection back for the same amount of time until it goes again.
    And to add to the annoyance of this problem is that tomorrow my connection might be absolutely fine. But then 5 days later, out of the blue the problem can start up again. There is no consistency to this issue, its very unpredictable and a huge pain in the ***.
    Any ideas? I have looked at similar solutions on this website and in regards to IP address and other things that have been mentioned I am set up correctly. I have had this problem before and it was easy to fix just by resetting the Airport box manually and then creating a new wireless network and reconnecting. But I have tried that many times now and the problem still persists. Also, all phones and the 2 other computers in my house (one iMac purchased last year and a PC) do not have this problem. This is an older iMac running OS X version 10.4.11.
    Any solutions would be greatly appreciated!

    The problem is still persisting intermittently. Its incredibly annoying as the connection has been fine for a couple of weeks now, but today I get home from work and it's happening again. Unfortunately your solution did not work so I have included screenshots of the Airport and TCP/IP tabs of my network preferences if that helps.
    The screenshots below will appear when I click "configure", I don't have an "advanced" button or a DNS tab by the looks of it.

  • [Solved] MPD won't play when started via systemd

    When I try to play from mpd (after starting it from systemd with "systemctl start mpd"), nothing happens. In ncmpcpp, when I press play, it quickly shows play and then immediately goes to "paused". When I start MPD normally from the command line (just by running "mpd"), it works fine, but for some reason, some conflict is being caused by systemd.
    Is there anywhere I should start to look? I don't really know how to troubleshoot it, as I don't know how to make it log without running it from the command line.
    EDIT: I set up systemd --user and wrote a service for it. It seems that mpd was running as root and caused some permissions issues.
    Last edited by miscsubbin (2013-06-11 01:03:34)

    Raynman wrote:
    Output ends up in the journal by default.
    When starting "normally", do you also start mpd as root (since there is no "--user" in your systemctl call)?
    I just checked and it is running as root, however, when I do
    systemctl --user enable mpd
    I get:
    Failed to issue method call: Process /bin/false exited with status 1

Maybe you are looking for