Netcfg wireless-wpa-configsection

In order to use the net-auto-wireless daemon, I'm trying to convert my netcfg profiles from wireless-wpa-config to wireless-wpa-configsection.
The profiles are used for plain WPA connections and changing ESSID and KEY in wireless-wpa-config is usually sufficient to get my wifi working.
However, I'm unsure what things I have to change when going from the wireless-wpa-configsection example. I tried changing ssid and password (and removing some values afterwards) in the CONFIGSECTION string, but I keep getting:
> WPA Authentication/Association Failed
Setting WPA_OPTS created an empty log file and NETCFG_DEBUG="yes" didn't show anything interesting as well...
So what things should I be changing in CONFIGSECTION in order to resolve this?
If you need more details about the specifics of my network(s), please let me know.
Last edited by cafaro (2011-10-31 14:28:23)

I also can't convert successfully

Similar Messages

  • [Solved] netcfg 2.5 Configsection

    Just trying to set-up the new netcfg, after upgrading from 2.2.
    I did copy the /etc/network.d/wireless-wpa-config and point to my /etc/wpa_supplicant.config file, but get this error:
    ctrl_iface exists and seems to be in use - cannot override it
    Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
    There is more but those seem to be the main point as if I delete the file mentioned, I can then connect using netcfg.
    I then realised that the update states that I should use wireless-wpa-configsection. So I'm looking to switch to that, but I'm not quite sure what the settings should be. The wiki does not go into this detail, that I can find.
    What should "identity" and "password" be? My network  requires a wpa key, not username and password.
    Any pointers?
    Last edited by skanky (2010-02-19 11:08:35)

    you are suposed to write you wireless config in wpa_supplicant.conf style in the CONFIGSECTION of a wireless-wpa-configsection.
    if you dont know how man wpa_supplicant.conf should help you.
    something like this:
    CONNECTION="wireless"
    INTERFACE=wlan0
    SECURITY="wpa-configsection"
    ESSID="youressid"
    IP="dhcp"
    CONFIGSECTION='
        ssid="youressid"
        key_mgmt=WPA-PSK
        psk="your key"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=TKIP
        group=TKIP
        priority=10'
    hope it helps

  • [SOLVED] Improve boot up time of wireless WPA protected network

    Hi guys
    I just installed arch for the first time so i am really a newbie
    I have recent hardware intel 2500k, crucial SSD and so on so i can boot up from grub to X using pekwm  as WM (no DM) in about  5 seconds. Very impressive.
    I would like to keep my arch as minimal and tiny as possible.
    My problem is on network boot up time.
    I am using WPA personal wireless network and i have to wait further 10 seconds since the boot of X to have the network working properly. So i have to wait about 15 seconds to have a fully working PC
    I tried wicd. I really don't need network scanning so i followed the the netcfg wiki
    https://wiki.archlinux.org/index.php/Netcfg
    and i am using net-profiles method
    # /etc/rc.conf - Main Configuration for Arch Linux
    # See 'man 5 rc.conf' for more details
    # LOCALIZATION
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/Rome"
    KEYMAP="it"
    CONSOLEFONT=
    CONSOLEMAP=
    LOCALE=
    DAEMON_LOCALE="yes"
    USECOLOR="yes"
    # HARDWARE
    MODULES=()
    USEDMRAID="no"
    USEBTRFS="no"
    USELVM="no"
    # NETWORKING
    HOSTNAME=knembo
    interface=wlan0
    address=
    netmask=
    broadcast=
    gateway=
    NETWORK_PERSIST="no"
    # DAEMONS
    DAEMONS=(dbus @net-profiles)
    Please don't misunderstand me....wait 15 seconds is not really a problem but i would like to know your opinion in fastest  boot up network method to  improve my skill with arch
    Bye
    Last edited by knembo (2012-05-28 23:54:37)

    Shouldn’t you also have a NETWORKS parameter in your /etc/rc.conf ? I’ve been using netcfg for a while now, sorry I cannot tell you if I must wait more-or-less-than 15 seconds for my network to initialize, but it seems pretty fast, almost instantaneous, using wpa2personnal with a static ip.
    3 configuration files are involved in my setup, and for what it’s worth, here they are:
    #1 /etc/rc.conf (only relevant sections shown)
    # NETWORKING
    HOSTNAME="myhost"
    interface=
    address=
    netmask=
    broadcast=
    gateway=
    NETWORK_PERSIST="no"
    NETWORKS=(mywireless) # Requires netcfg
    # + profile in /etc/nework.d/
    # DAEMONS # + net-profiles daemon below
    DAEMONS=(@mpd @net-profiles @dbus @alsa @sshd @syslog-ng @crond !gpm)
    #2 /etc/network.d/mywireless (this file can be named whatever but must match the NETWORKS line in /etc/rc.conf)
    CONNECTION='wireless'
    INTERFACE='wlan0'
    SECURITY='wpa-config'
    WPA_CONF='/etc/wpa_supplicant.conf'
    IP='static'
    ADDR='192.168.1.234'
    NETMASK='255.255.255.0'
    GATEWAY='192.168.1.1'
    #3 /etc/wpa_supplicant.conf
    ctrl_interface=/run/wpa_supplicant
    ctrl_interface_group=wheel
    network={
    ssid="My_SSID"
    key_mgmt=WPA-PSK
    proto=RSN
    group=CCMP
    pairwise=CCMP
    psk=64charactersalphanumericstringthatwasgeneratedusingwpapassphrase
    *Edit* I realize I don’t _have_ to use three files, I know I can also achieve the same result using only two config files (I don’t remember the reason why I setup my connection this way but I like it !) ; anyway, the two last files can also be ‘combined’ like such, so that file #2 (/etc/network.d/mywireless) becomes this :
    CONNECTION='wireless'
    INTERFACE=wlan0
    SECURITY='wpa-configsection'
    IP='static'
    ADDR='192.168.1.234'
    NETMASK='255.255.255.0'
    GATEWAY='192.168.2.1'
    CONFIGSECTION='
    ssid="My_SSID"
    key_mgmt=WPA-PSK
    proto=RSN
    group=CCMP
    pairwise=CCMP
    psk=64charactersalphanumericstringthatwasgeneratedusingwpapassphrase
    so this way there really is no need for file #3 (/etc/wpa_supplicant.conf) (but the NETWORKS line in /etc/rc.conf would still required with though)
    Last edited by Montague (2012-05-16 18:57:17)

  • Wireless WPA Enterprice 802.1X Not working

    We have problems at work. We are unable to connect any mac to the network using Wireless WPA Enterprice 802.1X. The authentification process works and I get authenticated, but I'm unable to access anything. The wired network settings work fine though.
    Could anyone help out with this and share some information?

    The 169 address is self-assigned, which means that your Mac isn't getting any response from the wireless device. It isn't on any sub net and pinging isn't going to happen. Are you sure that it is even really authenticating? Type in a garbage name and password.

  • Printer will not connect wireless WPA passphrase does not match.

    My printer use to work wireless and now has stopped. The passphrase has not been changed, all other wireless computers, PS3 still work. I have re-entered the passphrase several times with same error. Diagnostics resulsts:
    Attention  The WPA security passphrase configured on your HP printer does not match your wireless router setting.
    Solution 1 Run the wireless Setup Wizard to re-enter your wireless network WPA security passphrase.
    DIAGNOSTICS RESULTS
    >Wireless
         - Wireless On     PASS
        - Wireless Working      PASS
    > Connectivity
           - Connected     Not run
           - Disconnected count total    455
           - Disconnected count (last Hour)    0
           - Disconnected count ( last 24 hours)    0
    >  Network
           - Network Name SSID found    PASS
          - other networks detected matching your networks name SSID     NO
           - Wireless networks detected          4
    >Settings
           - Printer Settings consistent with wireless router settings     NOT RUN
           - No filtering     NOT RUN
           - Channel    NOT RUN
          - Security    FAIL
    Current configuration
           - Network Name (SSID)      xxxxxxxx    " the name given is correct"
          - Hardware Address (MAC)  xxxxxxxx
           - ip address        NOT APPLICABLE
          - Configuration Source      NOT APPLICABLE
         -Communitcation Mode      INFRASTRUCTURE
         - Authentication Type         WPA-PSK
        - Encryption         Automatic (AES or TKIP)
         _ Internet       Not applicable
    I have tried several times to input the passphrase, i have reset defults on the modem, i have unpluged the modem. Nothing seems to work. Any ideas on how to fix this problem.  Note: I am able to connect my computer straight to the printer wireless but unable to connect throught the modem. please help.....
    the modem is a UBEE DDW366

    Temporarily remove and disable all security on the router. Now try to connect to your unsecured SSID. Are you successful? If yes, go back and add WPA2-AES with your password and try to connect again.
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • [REOPEN] netcfg wireless connection works on the second start only

    Hi,
    subject tells most of it. I have a HP 8510w with a fresh installed arch setup. I migrated the default network connection to a netcfg-based setup. I set my home wifi settings (WPA128bit), and start netcfg. It fails after a timeout with 'Wireless association failed', and right after a quick netcfg restart connects without any problems.
    Any idea how to get around this problem?
    Last edited by kjozsa (2008-09-18 13:43:07)

    I can reproduce this here and started experiencing this myself recently. I'll see what I can do...
    In the meantime, update to netcfg 2.1 (core) and see if the quirks on the wiki help.
    Last edited by iphitus (2008-09-17 14:28:18)

  • HP Deskjet 3050A J611 series wireless WPA 802.1x configuring steps

    I am having HP Deskjet 3050A J611 series printer and in my office we are having wireless network and i want make this printer as a wireless but we are having WPA enterprise 802.1x wireless settings in our office.
    So i need the configuring steps how to configure WPA enterprise 802.1x wireless settings.
    Your Quick response is highly appreciated.
    Thanks & Regards..
    Ahmed Abdul Ali 

    Hope you a having a great day,
    I am reaching out to probe if you still experience this issue. If you are, Click Here  This are basic steps perhaps you can find answer to your question here, If this does not help Update your post, I will do we best to find answer for you in the other hand if  you are not experiencing this issue any longer you may disregard this post, although I will appreciate if you can take I little bit of your time and let me know.
    Thanks
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • Unable to connect to internet using Wireless WPA after installing XP SP3

    Hi guys,
    Just installled XP SP3 on my X40 and now I cannot connect to a WPA wireless network.  I have updated the drivers etc but still no luck.
    Has anyone else got this problem and been able to fix it.
    I'm sure that if I uninstalled SP3 then it would work but I'd rather get a fix.
    Message Edited by mundo on 08-13-2008 12:57 PM

    I, too, am unable to get a good "connected" session with WPA.
    I have tried Windows Wireless:  stays in the mode: "Authenticating."
    I have tried Intel Proset Wireless: stays in the mode: "Connecting."
    I have tried Access Connections: stops after saying "Waiting for association."
    These different programs allow me to set up WPA profiles, and they see wireless networks and can communicate with them.
    I am on a Thinkpad T-42 (2373-Y3U).  Intel adapter 2200bg.  Windows XP Pro, SP3.
    I have tried WEP, and it works fine.  Other computers connect to (multiple, different) routers with WPA that I have tried, to no avail.
    I loaded latest Intel driver (file name: 7vwc15ww.exe, dated July 29, 2008).  But does not work... 
    I have tried going back to old drivers, but does not work. I have tried the steps: unload driver, load HotKey, Load PowerManagement, Load Access Connections, as described elsewhere, but does not work. 
    Why is this so hard.  Should be a no - brainer, it seems to me.  I've spent hours...
     Thanks, Todd

  • Tecra 9000 Wireless (WPA)

    I am trying to get a Toshiba Tecra 9000 working on our wireless network having just changed from WEP to WPA. Is there an updated driver, etc for this?

    Hello
    Well, your posting is a little bit confused to me.
    As far as I know the WEP (Wired Equivalent Privacy) and WPA (Wireless Protected Access) are different encoding methods. In this case you dont have to install any drivers. Furthermore the WEP is a saver method as WPA because WEP used 128 bit and WPA 48 bit encoding.
    Bye

  • MacBook can't log in to AT&T Uverse wireless WPA network

    I'm unable to log in to my friend's wireless at her house. She has AT&T Uverse... security is "WPA Personal" and I've changed that setting manually... have tried the trick of putting "$" in front of the password (tried it with and without that). Nothing seems to work. I've double checked and we're hitting the correct "2WIRExxx" network. Any ideas?

    I find it very puzzling too Linc, especially as it's not consistent.
    The switcher swapping, sadly made no differnence.
    Given that the routing works fine in reverse (SL accessing Lion) and not when the lion is accessing common shared areas like a drop box, internet, or the network shared drive. I'm not convinced it is switcher delay. Worth a try though
    It seems to be delayed only when trying to connect as a registered administrator on the SL macs.
    @Shootist
    There is only one account per mac. The admin with it's password. Have tried creating another admin user on one SL Mac but this did not help.
    To connect macs we have been using the "connect as" and signing in as a "registerred user" (Then entering the admin login details of the mac you are accessing) 
    We are presented by a list of drives on that device. Selecting one in finder mounts it for access from the external mac with full read write access.
    We are not specifically setting up shared folders, permissions or drives on either machine. But logging in as the remote macs admin.
    This has provided great access between machines until now.

  • G3 imac wireless wpa

    Hi all,
    I am running os 10.3.9 on this G3. I have installed an airport card and can connect fine with
    WEP but no luck with WPA. From reading various posts i understood that installing all software updates would update the airport software to work with WPA but no luck. I have tried downloading the separate airport updates (3.3 plus) but these refuse to install saying I need O.S. 10.4. i am confused by this as Apple seems to say that the updater to 3.3 works with O.S. 10.3.
    Any help appreciated,
    Thanks,
    k

    There is a similar discussion in the iBook G3 forums. Note the post by Ronda Wilson that includes a quote from L4 user Tesserax.
    Here:
    http://discussions.apple.com/thread.jspa?threadID=2114217

  • I just recovered my T40 to factory settings and now it wont connect to my wireless WPA connection...

    help

    Welcome to the forum!
    Can you please post the 7-character model number of your T40 to help us help you better, it should be something like 237x-xxx? 
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • Order of profiles for netcfg-auto-wireless

    Hi fellow Archers,
    I'm running Arch Linux with netcfg 2.5.4 on my laptop, and have several wireless network profiles set up. Amongst other things, I have three profiles for my University WLAN. The reason for this is that the University offers three different wireless networks, one for Staff, one for Students and one unencrypted with a password-protected HTTP proxy. I have access to all three, but I want netcfg to attempt to connect to the networks in that order.
    I have tried to name the profiles as such:
    UniversityAStaff
    UniversityBStudent
    UniversityCOpen
    But that doesn't seem to make any difference; it still connects to the Student network by default.
    Is there any way of setting the priority of the wireless networks that netcfg-auto-wireless tries to connect to?
    Jon

    if you make your profiles like in /etc/network.d/examples/wireless-wpa-configsection you can put a priority falue in the wpa_supplicant section this should do the trick
    edit because of typo
    Last edited by parintachin (2010-03-08 14:48:44)

  • Net-auto-wireless priorities?

    Hey there,
    I've got an annoying problem with netcfg/net-auto-wireless and hope you can help me out.
    Basically, I have a wireless network at home, but there is also the university network. I use a wireless-wpa config for my home network and wireless-wpa-configsection for the university network (since it needs fancy stuff like certificates and such ).
    The problem is that net-auto-wireless seems to favor the university network, although the signal strength is much stronger for my home network. I do not know why this happens - maybe wireless-wpa-configsection entries have a higher priority than wireless-wpa? I would really appreciate it however if anyone could tell me how to get net-auto-wireless to use my home network first when it is available, and only use the university network when the home network isn't there. Any way to do this?
    Cheers,
    Natanji

    Hey there,
    I've got an annoying problem with netcfg/net-auto-wireless and hope you can help me out.
    Basically, I have a wireless network at home, but there is also the university network. I use a wireless-wpa config for my home network and wireless-wpa-configsection for the university network (since it needs fancy stuff like certificates and such ).
    The problem is that net-auto-wireless seems to favor the university network, although the signal strength is much stronger for my home network. I do not know why this happens - maybe wireless-wpa-configsection entries have a higher priority than wireless-wpa? I would really appreciate it however if anyone could tell me how to get net-auto-wireless to use my home network first when it is available, and only use the university network when the home network isn't there. Any way to do this?
    Cheers,
    Natanji

  • [SOLVED] Assistance Connecting WPAIP

    Hello.
    I have spent some time looking up how to write a netcfg configuration file, and I have to finally stop and admit that I am shooting blindly and do not understand what I am doing. I hope someone will take the time to reply to this.
    I have the following configuration file, which is a mix of the file /etc/network.d/wireless-wpa-configsection, and an example file sample available on http://www.it.ubc.ca/internet/wireless/ … Setup.html (scroll to the bottom to see). As the website states, the following may not apply to the ArchLinux distribution. I do not know enough to know what to change, however.
    CONNECTION='wireless'
    DESCRIPTION='Network configuration for UBC Secure'
    INTERFACE=wlan0
    SECURITY='wpa-configsection'
    ESSID='ubcsecure'
    IP='dhcp'
    CONFIGSECTION='
        ssid="ubcsecure"
        scan_ssid=1
        key_mgmt=WPA-EAP
        proto=WPA2 WPA
        eap=PEAP
        group=CCMP TKIP
        pairwise=CCMP TKIP
        ca_cert="/etc/ssl/certs/Thawte_Premium_Server_CA.pem"
        identity="username"
        password="password"
        phase1="peaplabel=0"
        phase2="auth=MSCHAPV2"
        priority=10'
    EDIT:
    I added the lines TIMEOUT=120, DHCP_TIMEOUT=60, and PRE_UP=' iwconfig $INTERFACE essid $ESSID' to the pre-configsection section. The relevant output from "dmesg", which I am reading may be relevant, is:
    iwlagn 0000:03:00.0: ACTIVATE a non DRIVER active station id 0 addr 00:21:04:30:f2:00
    wlan0: deauthenticating from 00:21:04:30:f2:00 by local choice (reason=3)
    cfg80211: Calling CRDA to update world regulatory domain
    ADDRCONF(NETDEV_UP): wlan0: link is not ready
    ADDRCONF(NETDEV_UP): wlan0: link is not ready
    wlan0: direct probe to 00:1e:f7:eb:16:c3 (try 1)
    wlan0: direct probe to 00:1e:f7:eb:16:c3 (try 2)
    wlan0: direct probe to 00:1e:f7:eb:16:c3 (try 3)
    wlan0: direct probe to 00:1e:f7:eb:16:c3 timed out
    wlan0: direct probe to 00:1e:f7:eb:16:c3 (try 1)
    wlan0: direct probe to 00:1e:f7:eb:16:c3 (try 2)
    wlan0: direct probe to 00:1e:f7:eb:16:c3 (try 3)
    wlan0: direct probe to 00:1e:f7:eb:16:c3 timed out
    Last edited by dillesca (2010-11-25 23:00:52)

    I humbly state that I have "figured it out", in the sense that I read through the /etc/wpa_supplicant.conf file and used the information there to arrive at the following simplified /etc/network.d/ubcsecure configuration:
    CONNECTION='wireless'
    DESCRIPTION='Network configuration for UBC Secure'
    INTERFACE=wlan0
    SECURITY='wpa-configsection'
    ESSID='ubcsecure'
    IP='dhcp'
    CONFIGSECTION='
        ssid="ubcsecure"
        key_mgmt=WPA-EAP
        eap=PEAP
        ca_cert="/etc/ssl/certs/Thawte_Premium_Server_CA.pem"
        identity="myname"
        password="password"
        phase1="peaplabel=0"
        phase2="auth=MSCHAPV2"'
    I leave this here for any UBC students who make the switch to ArchLinux (which I strongly recommend) and would like to know how to connect to the university wifi network.
    ubcsecure netcfg configuration file connecting to ubcsecure archlinux using netcfg to connect to ubcsecure connecting to ubcsecure using netcfg
    Last edited by dillesca (2010-11-25 23:02:27)

Maybe you are looking for

  • Measuring Point  / Counter button

    Hi, How to hide / display Measuring point & Counters button in Header data of Reference Functional Location(IL11).(Organisation data). Thanks & Regards, Santhosh

  • SAP BO XI 3.1 Integration Kit installation problem

    Trying to run SAP BO XI 3.1 Integration Kit installation (Windows) and getting error "Installation is unable to proceed because neither Crystal Reports 2008 nor Universe Designer were detected. To perform a client installation please install either C

  • Creative Firmware Probl

    This is a rant, and then I have a question. The Rant: I've been visiting this forum for a while. Our family has three Zen Nano Pluses. I do not understand why the quality of Creative firmware is so low, and I'm asking if anyone understands what the c

  • 10.4.9 and Office 2004

    Since installing 10.4.9 everything works well except for Office 2004. It is really slow to use and intermittingly shuts itself down. The big issue is when I go to install again from disk, the image mounts, you go to install and it stops as well and w

  • Entourage Display Name???

    I know this shouldn't be in this section but MS doesn't seem to have a forum available. Arghh. Anyway, does anyone know how to change the display name that someone sees when they receive a email from me when I'm using Entourage? Thanks a lot.