[solved] manually wpa-wlan works, netcfg won't

hi there,
i'm new to arch linux, and actually trying to connect to my wpa-wlan with netcfg...
when i boot my system, wlan works fine with:
sudo iwconfig wlan0 essid "my connection"
sudo wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
sudo dhcpcd wlan0
and i'm able to connect to the internet.
Trying to connect with netcfg2 doesnt work:
sudo netcfg2 default.conf
:: default.conf up
wlan0: timed out
                          - DHCP IP lease attempt failed
(the same with netcfg instead of netcfg2)
i'm wondering what i did wrong. these are my configuration files:
default.conf (Path: /etc/network.d/default.conf)
CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa2"
ESSID="my connection"
KEY="mykey"
IP="dhcp"
TIMEOUT=30
DHCP_TIMEOUT=30
also tried SCAN="no", same error
wpa_supplicant.conf (Path: /etc/wpa_supplicant.conf)
ctrl_interface=/var/run/wpa_supplicant
         eapol_version=1
         ap_scan=1
network={
         ssid="my connection"
         scan_ssid=1
         key_mgmt=WPA-PSK
         psk=687.......c05
any ideas?
Last edited by DaStevo (2009-02-22 22:23:39)

If you're using custom wpa_supplicant.conf file then you should use:
SECURITY=wpa-config
and define the path to the wpa_supplicant.conf file:
WPA_CONF=/etc/wpa_supplicant.conf
I'm not hundred percent sure, but I don't think you need KEY and ESSID variables.

Similar Messages

  • Help, I can't sync any music to my iPhone 5s or iPad 2 ! :( it says it's finished sync but the music is greyed out and not on my devices.. I've tried unchecking the music and doing it manually. Nothing works. I took it to Apple store Robina no help..

    Help, I can't sync any music to my iPhone 5s or iPad 2 ! it says it's finished sync but the music is greyed out and not on my devices.. I've tried unchecking the music and doing it manually. Nothing works. I took it to Apple store Robina no help..

    So I have found a common denominator to this phenomenon. After having the same problem, I started to recopy my playlist of 500+ songs in groups of 10-20, 30+, 75+, and then over a 100+. Any music I have purchased from iTunes won't copy, but everything else did. Unsure if I made a playlist called "Purchased" at some point or this is an iTunes default, I also noticed it had some of the songs contained in my other playlist and was showing on my iPhone. Regardless of what I did such as dragging music from that playlist to the other and clearing songs from that playlist, I removed it altogether from the iPhone itself vs. doing through iTunes. After that, music copied fine to my playlist.
    So, my theory is that iTunes is getting tripped up on purchased tracks already showing on the phone and all songs are showing grayed out/dotted circle because iTunes can't resolve the conflict with purchased tracks.
    Hope this makes sense and is helpful.

  • [SOLVED] netctl fails; wpa_supplicant works

    Hi,
    I ran into something, and managed to get it working, but I'm curious about something that happened in the process.
    I couldn't connect to a local home network using netctl (with wifi-menu), but I can connect using wpa_supplicant/dhcpcd and also using a wpa_configsection profile for netctl. I think the /etc/netctl/wlan0-CourseX file is okay (passwords changed below).
    wlan0-CourseX profile:
    Description='Automatically generated profile by wifi-menu'
    Interface=wlan0
    Connection=wireless
    Security=wpa
    ESSID=CourseX
    IP=dhcp
    Key=Password
    When I do "sudo netctl start wlan0-CourseX", I get
    Job for netctl@wlan0\x2dCourseX.service failed. See 'systemctl status netctl@wlan0\x2dCourseX.service' and 'journalctl -xn' for details.
    which produces
    -- Logs begin at Sat 2013-01-12 17:21:33 EST, end at Mon 2013-06-03 19:41:37 EDT. --
    Jun 03 19:39:31 arch network[5665]: Failed to bring the network up for profile 'wlan0-CourseX'
    Jun 03 19:39:31 arch systemd[1]: netctl@wlan0\x2dCourseX.service: main process exited, code=exited, status=1/FAILURE
    Jun 03 19:39:31 arch systemd[1]: Failed to start Networking for netctl profile wlan0-CourseX.
    -- Subject: Unit netctl@wlan0\x2dCourseX.service has failed
    -- Defined-By: systemd
    -- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
    -- Documentation: [url]http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d[/url]
    -- Unit netctl@wlan0\x2dCourseX.service has failed.
    -- The result is failed.
    Jun 03 19:39:31 arch systemd[1]: Unit netctl@wlan0\x2dCourseX.service entered failed state.
    Jun 03 19:39:31 arch sudo[5658]: pam_unix(sudo:session): session closed for user root
    Jun 03 19:39:32 arch sudo[5856]: raymond : TTY=pts/0 ; PWD=/etc/netctl/examples ; USER=root ; COMMAND=/usr/bin/journalctl -xn
    Jun 03 19:39:32 arch sudo[5856]: pam_unix(sudo:session): session opened for user root by (uid=0)
    Jun 03 19:41:17 arch sudo[5856]: pam_unix(sudo:session): session closed for user root
    Jun 03 19:41:37 arch sudo[5861]: raymond : TTY=pts/0 ; PWD=/etc/netctl/examples ; USER=root ; COMMAND=/usr/bin/journalctl -xn
    Jun 03 19:41:37 arch sudo[5861]: pam_unix(sudo:session): session opened for user root by (uid=0)
    However, when I use wpa_supplicant:
    # wpa_supplicant -Dwext -B -i wlan0 -c /etc/wpa_supplicant.conf
    Successfully initialized wpa_supplicant
    # dhcpcd
    dhcpcd[5918]: version 5.6.8 starting
    dhcpcd[5918]: wlan0: sending IPv6 Router Solicitation
    dhcpcd[5918]: wlan0: rebinding lease of 18.189.107.167
    dhcpcd[5918]: eth0: waiting for carrier
    dhcpcd[5918]: wlan0: reject NAK via 192.168.1.1
    dhcpcd[5918]: wlan0: reject NAK via 192.168.1.1
    dhcpcd[5918]: wlan0: sending IPv6 Router Solicitation
    dhcpcd[5918]: wlan0: broadcasting for a lease
    dhcpcd[5918]: wlan0: offered 192.168.1.2 from 192.168.1.1
    dhcpcd[5918]: wlan0: sending IPv6 Router Solicitation
    dhcpcd[5918]: wlan0: acknowledged 192.168.1.2 from 192.168.1.1
    dhcpcd[5918]: wlan0: checking for 192.168.1.2
    dhcpcd[5918]: wlan0: sending IPv6 Router Solicitation
    dhcpcd[5918]: wlan0: no IPv6 Routers available
    dhcpcd[5918]: wlan0: leased 192.168.1.2 for 86400 seconds
    dhcpcd[5918]: forked to background, child pid 6065
    with the file
    /etc/wpa_supplicant.conf:
    network={
    ssid="CourseX"
    psk="Password"
    pairwise=TKIP
    group=TKIP
    priority=20
    everything works.
    Because wpa_supplicant works, I thought netctl might if I use a configsection (looks more like wpa_supplicant file I referenced?) With this file for netctl,
    wlan0-CourseX_cnfgsec profile:
    Description='A configuration for WPA2 with PEAP'
    Interface=wlan0
    Connection=wireless
    Security=wpa-configsection
    IP=dhcp
    WPAConfigSection=(
    'ssid="CourseX"'
    'group=TKIP'
    'pairwise=TKIP'
    'psk="Password"'
    'priority=20'
    the connection works fine with "sudo netctl start wlan0-CourseX_cnfgsec".
    So, I'm curious why the wifi-menu generated profile wouldn't work, but one with a configsection works fine.
    Thanks!
    Last edited by muon (2013-06-04 17:33:07)

    @luisgmarine, I have tried it with and without the single quotes -- no difference. Thanks for the idea though.
    @progandy, Interesting. I'm not sure how to figure out if it's an issue with the router communication or not, though.
    Anyway, thanks for the ideas and thoughts. I'll mark this as solved, because it is working; I was just curious to see if there was an apparent explanation.

  • How can i make a new map on my mail? The way apple has in the manual doesn't work!

    I want to make a new map for my mails, but the way tha apple gives in the manual doesn't work!

    If you mean other folders then you need to create them in your email client e.g. in a browser (which you can only do in IMAP accounts, not POP account) - you can't create new folders in the Mail app itself

  • Dvd/cd drive works but won't allow me to install new programs from disk, doesn't recognize the disk,

    dvd/cd drive works but won't allow me to install new programs from disk, doesn't recognize the disk, what can I do?

    Well I was able to obtain a work around download of Flash and it installed fine but Firefox tells me it needs updating so I go out, thinking I'm "IN" finally to update it and I get that issue of not being able to get the update for it.  It's a regular laptop, not a touch screen or one of those new fangled ones for todays world.  In fact it's a refurb so it's probably origin date was a year or so ago before all this MS stuff took off fully.  So not understanding why I'm feeling like I'm being BLOCKED from getting the updated Flash I need and desire.  If I click on the little "X" and tell it to ignore the warning the vid will play just fine but don't want to have to do that every time.  Must be a better way. 
    Again, I'm sorry for posting in the wrong forum, getting this posted in the Flash forum was my desire but the way Adobe has this set up I just couldn't figure it out.  I belong to ALLOT of forums and most are pretty straight forward but this one is confusing! 

  • HT1766 I cannot backup my iphone, it keeps telling me the backup is corrupt and not compatible. All forums have suggested I delete the last backup but that was months ago and I'm afraid if I do that and it still doesn't work, I won't have anything saved

    I cannot backup my iphone, it keeps telling me the backup is corrupt and not compatible. All forums have suggested I delete the last backup but that was months ago and I'm afraid if I do that and it still doesn't work, I won't have anything saved. Can anyone help?

    Try to connect in recovery mode, explained in this article:
    iOS: Unable to update or restore
    Before that, back up your device, explained here:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    How to back up your data and set up as a new device
    You can check your warranty status here:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • Premiere Pro CC slows down, then  stops working, then won't work, then it won't quit

    Premiere Pro CC slows down, then  stops working, then won't work, then it won't quit. So I have to force quit every time.
    It does not matter if I am working with HD or 4K - same thing happens.
    This began happening about a week ago. Nothing really new has changed. I tried to repair permissions and check this from a new admin account because I know that is what Adobe thinks the answer to every problem is. But it did not change anything.
    Mac 10.10.2
    3.5 ghz 6-core
    Dual D700
    16GB Ram
    CC 2014

    Used this tip from Adobe and it worked, all running quick and smooth again.
    Hope it works for you too.
    http://blogs.adobe.com/kevinmonahan/2014/09/10/premiere-pro-cc-freezing-on-startup-or-cras hing-while-working-mac-os-x-10-9-and-later/

  • Can't Get Manual Recording To Work

    I have been unable to get manual recording to work and thought this was something to do with having dual monitors.  I have now disabled my second monitor, and it is still not working for me. It's possible that I have done something wrong or have misunderstood what manual recording is.
    To that end I have made a 3 minute video showing you the steps I took while attempting a manual recording of just three print screens.   Please could someone take a look ta the video and tell me if what you see is expected behaviour.  Thank you.
    manual-recording.mp4 - Google Drive

    Thank you for taking a look at the video Rick.  You can probably tell this problem is driving me mad.
    I did as you suggested but it made no difference to the outcome.  So next I uninstalled Captivate, and re-installed with only one monitor active, just in case that mattered.  I then kept it at one monitor but even with only one monitor videos appear in my manual captures.
    So next I re-enabled my second monitor and ran the test again. On monitor 1, video is included no matter what, and on monitor 2 it isn't.  I have filed a bug report with Adobe but so far the response has been to try running it as administrator and also to check the error logs.  I checked those and there is nothing but informationals in there.
    I also ran the entire test when running as an admin, and the results were the same.

  • I have a 2 year old MacBook Pro and the superdrive has stopped working, it won't take discs in as if there is one already inside but iTunes or the dvd player doesn't recognise that there is a disc inside and if there is it can't be ejected

    I have a 2 year old MacBook Pro and the superdrive has stopped working, it won't take discs in as if there is one already inside but iTunes or the dvd player doesn't recognise that there is a disc inside and if there is it can't be ejected, i have tried shutting down and restartinf while holding down the trackpad, as recommended on some forums but that has done nothing
    It might be a huge coincidence but the drive was working fine before i installed lion?

    Installing Lion would not cause the superdrive to stop working.  Are you unsure as to whether or no a cd/dvd is inside?  Something may be broken inside and you should consider bringing it in for service.

  • HT1430 have downloaded OS6, iphone now not working. Won't activate and iTunes is saying no sim card. what do i do next?

    have downloaded OS6, iphone now not working. Won't activate and iTunes is saying no sim card. what do i do next?

    sounds like your phone was hacked to work with your carrier.  Now it is relocked to the rightful carrier.  It cannot be reactivated without a SIM from that carrier.

  • My sons iPod touch stopped working, it won't charge in a docking station and the computer/itunes won't recognize it when connected.  We have tried holding the power and home button at the same time for several seconds, and the screen still stays black

    My sons iPod touch stopped working, it won't charge in a docking station and the computer/itunes won't recognize it when connected.  We have tried holding the power and home button at the same time for several seconds, and the screen still stays black.  Thanks!

    Hello skdog I possibly think your ipod touch is black because it has not charged. If your dock is broken it might just mean the dock will be broken and so might be the USB port. You should see an Apple shop nearby and hand it over and see what they can do. I hope this information works!

  • Non of my video links seem to work; bbcipalyer keeps on loading filmon goes black  website news programs won't start, i downloaded puffin player and through that films and newssites work , youtube won't part etc etc. I have a ipad2

    Non of my video links seem to work; bbcipalyer keeps on loading filmon goes black  website news programs won't start, i downloaded puffin player and through that films and newssites work , youtube won't part etc etc. I have a ipad2

    Non of my video links seem to work; bbcipalyer keeps on loading filmon goes black  website news programs won't start, i downloaded puffin player and through that films and newssites work , youtube won't part etc etc. I have a ipad2

  • My FaceTime won't work it won't let me sign in it says can't connect but my wifi works with my brothers what can I do to fix it?

    My FaceTime won't work it won't let me sign in but my wifi is working on my brother what can I do to fix it?

    Are you trying to FaceTime to your computer, or iPhone with your iPod? Do they share the same address? If so change the address to one of your devices, otherwise it's like trying to call yourself from the same phone. If not the problem, then I'm not understanding your question. Could you restate it with a little more detail. Good luck.

  • My iPad3 has suddenly stopped working, it won't charge up and the screen is blank I have tried to reboot the device by holding the top and home buttons but I don't even get the Apple logo. any advice?

    My iPad3 has suddenly stopped working, it won't charge up and the screen is blank I have tried to reboot the device by holding the top and home buttons but I don't even get the Apple logo. any advice?

    Plug it into the charger/wall socket and let it charge for at least an hour. It just might start charging. If you have already tried charging it for a fair amount of time and it didn't work, try restoring the device with iTunes.
    iOS: Not responding or does not turn on - Apple Support

  • My iphone 5 stopped working, it won't turn on, and i tried charge it yesterday and today

    My iphone 5 stopped working it won't turn on, and i tried charge it yesterday and today

    Hey raphaccarvalho
    If your iPhone is not powering on, then check out the article below to see if you can get it to power back on. You will want to start at step 3 to try and reset it by holding the Sleep/Wake button and Home button for about 10 seconds and see if the Apple Logo comes up.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more about restoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    Regards,
    -Norm G.

Maybe you are looking for