Wpa supplicant can't get it to work on boot(netcfg) [solved]

As the title using Ralink RT2870 chipset with rt2870sta module.
rc.conf
NETWORKS=(wpa_suppl)
DAEMONS=(syslog-ng netfs crond hal fam @vmware @sensors @cups network_profiles)
All other networking bits commented out.
cat /etc/network.d/wpa_suppl
TIMEOUT=60
CONNECTION='wireless'
DESCRIPTION='A wpa_supplicant configuration based wireless connection'
INTERFACE='wlan0'
SECURITY='wpa-config'
WPA_CONF='/etc/wpa_supplicant.conf'
IP='dhcp'
cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=network
update_config=1
network={
ssid="Myconnection"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=hashedsomepasskey
On boot it doesn't connect but running netcfg wpa_suppl it works fine. I'm not sure if it is related but in my boot messages I get
/etc/rc.d/functions: line 192: /etc/rc.d/network_profiles: No such file or directory
Which is correct is this related have I missed something in the tuts. Its just I didn't see any mention of this part and was under the impression network.d was the correct place. Line 192 seems to be looping through the daemons so I'm not sure what is triggering this.
Can any one point me in the correct direction as to why it is working manually but not on boot?
Last edited by FeatherMonkey (2010-09-27 00:51:27)

The daemon is called "net-profiles", not "network_profiles".
Last edited by hokasch (2010-09-26 23:21:49)

Similar Messages

  • How can I get MagicTrackpad to work with Boot Camp and Windows Vista?

    Just installed Lion and then installed Magic Trackpad. Now I need to know how to get the Magic Tackpad to work with Windows Vista in my Boot Camp partition. Windows Bluetooth recognizes the Magic Trackpad but it says the device won't confirm the passkey. No passkey came with the Magic Trackpad and the option to not use a passkey still doesn't achieve connection with Windows. Suggestions/ comments, please.
    TIA,
    Picman

    UPDATE
    Just completed several lengthy sessions with Apple Tech Support (escalated to excellent Sr. Advisor). Bottom line is that there seems to be no answer to the problem of the Magic Trackpad not being able to maintain its pairing/connection with Windows (Vista in my case) or OS X (10.7 in my case) when switching Boot Camp partitions. In fact, when trying to re-pair it is necessary to remove the MTP batteries first. To pair at all with Windows requires the use of the Bluetooth passkey "0000" (not provided in MTP documentation). This achieves limited MTP/Windows functionality (cursor and "click" control only - with BC 3.1. BC 3.2 is supposed to provide more gestures, but I have not gotten there yet). Appears that when switching back to OS X, that passkey has remained with the MTP and is not what OS X is looking for, so it fails the connection. Removing/replacing the batteries probably dumps the passkey and allows the OS X connection. The Sr. Advisor says he sees this issue often (including with Windows 7) in their internal chat rooms, but no solution. He will be referring it to the engineers and will let me know the outcome. Meantime, assuming I keep the MTP, I'll have to resign myself to using a wired mouse when going to Windows (not a huge inconvenience, since it's only for Quicken; but the issue is worse than "in-elegant" for Apple!
    I am satisfied that I have obtained the best possible help from Apple on this issue. If anybody has more, please reply.
    Thanks,
    picman

  • Cisco 1812 wireles setup, can't get it to work

    Hello everyone,
    I've read trough the "871 wireless setup" topic, which I found very helpful, but I still can't get my wireless working. Basically I have a Cisco 1812W and I would like both wireless and wired to be on the same subnet. We aren't using DHCP, so the IP's are all static (even for the wireless clients). I can connect to my wireless SSID, but ping doesn't go trough either way. Wired connections are working fine. So the wireless client is connected, but has no IP address as far as the router goes (show Dot11 associations shows it's IP as 0.0.0.0) , but the wireless client does have an IP set up.
    I guess I'm overlooking something in my config, so here it is (i took out the firewall rules and aaa setup, they aren't relevant if i'm not mistaken and there's a limit to post size):
    ip cef
    ip tcp synwait-time 10
    no ip bootp server
    ip name-server <removed>
    ip name-server <removed>
    crypto pki trustpoint TP-self-signed-1358229530
    enrollment selfsigned
    subject-name cn=IOS-Self-Signed-Certificate-1358229530
    revocation-check none
    rsakeypair TP-self-signed-1358229530
    crypto pki certificate chain TP-self-signed-1358229530
    certificate self-signed <removed>
    quit
    username <removed>
    bridge irb
    interface Null0
    no ip unreachables
    interface FastEthernet0
    description $ETH-WAN$$FW_OUTSIDE$
    ip address extip extsubnet
    ip access-group 101 in
    ip verify unicast reverse-path
    no ip redirects
    no ip unreachables
    no ip proxy-arp
    ip nbar protocol-discovery
    ip flow ingress
    ip flow egress
    ip nat outside
    ip inspect sdm_ins_in_100 in
    ip inspect SDM_MEDIUM out
    ip virtual-reassembly
    ip route-cache flow
    duplex auto
    speed auto
    interface FastEthernet1
    no ip address
    no ip redirects
    no ip unreachables
    no ip proxy-arp
    ip route-cache flow
    shutdown
    duplex auto
    speed auto
    interface BRI0
    no ip address
    no ip redirects
    no ip unreachables
    no ip proxy-arp
    encapsulation hdlc
    ip route-cache flow
    shutdown
    interface FastEthernet2
    interface FastEthernet3
    interface FastEthernet4
    interface FastEthernet5
    interface FastEthernet6
    interface FastEthernet7
    interface FastEthernet8
    interface FastEthernet9
    interface Dot11Radio0
    description 802.11g
    no ip address
    encryption mode ciphers tkip
    ssid <removed>
    authentication open
    authentication key-management wpa
    guest-mode
    wpa-psk ascii 7 <removed>
    speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
    station-role root
    bridge-group 1
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    interface Dot11Radio1
    description 802.11a
    no ip address
    shutdown
    encryption key 1 size 40bit 7 1ED10A3EC0C5 transmit-key
    encryption mode wep mandatory
    speed basic-6.0 9.0 basic-12.0 18.0 basic-24.0 36.0 48.0 54.0
    station-role root
    interface Vlan1
    description $FW_INSIDE$
    no ip address
    no ip redirects
    no ip unreachables
    no ip proxy-arp
    ip virtual-reassembly
    ip route-cache flow
    bridge-group 1
    interface BVI1
    ip address <internal router ip> <subnet>
    ip access-group 100 in
    ip nat inside
    ip virtual-reassembly
    ip route 0.0.0.0 0.0.0.0 <external router IP> permanent
    ip flow-top-talkers
    top 5
    sort-by bytes
    ip http server
    ip http access-class 1
    ip http authentication local
    ip http secure-server
    <bunch of static nats>
    <access rules>
    no cdp run
    radius-server attribute 32 include-in-access-req format %h
    radius-server vsa send accounting
    control-plane
    bridge 1 protocol ieee
    bridge 1 route ip
    line con 0
    line aux 0
    line vty 0 4
    access-class 102 in
    password 7 <removed>
    transport input ssh
    scheduler allocate 4000 1000
    webvpn context Default_context
    ssl authenticate verify all
    no inservice
    end

    Okay, I've somewhat figured it out. Apparently my WPA-PSK configuration doesn't work with the integrated Broadcom adapter found in the laptop I was testing it with.
    Either that or my WPA-PSK configuration is broken.
    I switched over to an open network with no encrpytion and everything works now.

  • Can't get netcfg2 to work

    hey guys, I can't get netcfg2 to work on my machine... really annoying upgrade check this:
    [network.d]% diff examples/wpa.example home
    1,2c1,2
    < CONNECTION="wireless"
    < INTERFACE=wlan0
    > CONNECTION="home"
    > INTERFACE=eth1
    5,6c5,6
    < ESSID="mynetwork"
    < KEY="SomePasskey"
    > ESSID="Lebowski"
    > KEY="foobar"
    [network.d]% sudo netcfg2 home
    > home is not a valid connection, check spelling or look at examples
    Any ideas? Also, why do I have to specify CONNECTION="foo"? the filename is enough to get the name, no?
    chris
    Last edited by delmonico (2008-03-28 17:54:41)

    I can't get work netcfg2...
    if I run
    iwconfig wlan0 essid SpeedTouch5F3851 enc open s:LesPiTTareL
    it works great, I can connect to my wireless network but...
    if I configure my /etc/network.d/celadina in this way:
    CONNECTION="wireless"
    DESCRIPTION="Connessione wireless casa Bergamo"
    INTERFACE=wlan0
    ESSID=SpeedTouch5F3851
    KEY=LesPiTTareL
    SECURITY=wep
    IP="static"
    IFOPTS="192.168.1.70 netmask 255.255.255.0"
    GATEWAY=192.168.1.254
    and running
    netcfg2 celadina
    I get this error message
    :: celadina up - Could not set wireless configuration [FAIL]
    [root@Arials skioppetto]# "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Invalid argument.
    I think the error is in SECURITY but I can0t find a solution... I've tried also with IWOPTS and if I don't
    define SECURITY it doesn't give any errors but it can't connect becouse key remains off
    I use rt61 wireless module; when I connect trough the first way I don't get any wep modules loaded even if it works...
    I think the problem could be the kernel module.
    What do you think about?

  • HT1695 My iPad shows it is connected to the Internet wherever there is free wifi but it is getting up and I can't get it to work? I tried rebooting but it didn't help. Any suggestions?

    My iPad shows it is connected to the Internet wherever there is free wifi but it is getting up and I can't get it to work? I tried rebooting but it didn't help. Any suggestions?

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Have entrourage and want to use Mail. Can't get it to work.

    I had a macbook and purchased the Microsoft office for Mac which included Entrourage.
    I have now purchased a new macbook Pro and want to begin to use Mail rather than Entrourage. 
    I have Entrourage on my new computer but i can't get it to transfer my information to the the Mail program
    I am on Charter.net at my office and sbcglobal.net at home.
    How can i get this to work.  I can receive on Mail, but i can't send.

    check your outgoing port settings and make sure it's using a specific port and not the default port, also you might want to check to see if it is using SSL, TLS or any other encryption.  Verify the setting from your old machine setup.

  • Got my password wrong twice and my mini is disable. I connected to iTunes, but can't get it to work. Can some one guide my through?

    got my password wrong twice and my mini is disable. I connected to iTunes, but can't get it to work. Can some one guide my through?

    If it's showing the red disabled screen due to incorrect passcodes then you may need to put the iPad into recovery mode : http://support.apple.com/kb/ht1808 - you should then be able to reset the iPad via your computer's iTunes and restore/resync your content to it

  • HT1151 i have a new apple external dvd drive, and i can't get it to work with my iMac?

    I have a new apple dvd drive, I was told it will work with my imac,  but when i plug it in ...nothing... iv been for update... still nothing. How can i get it to work???

    If it is this drive, note that it is for MBA's and Mini's only:
    http://store.apple.com/us/product/MC684ZM/A
    Ciao.

  • Is there a way to reset my messages account, I can't get iMessage to work on IPad nor Mac osx. Help please this is really frustrating.

    Is there a way to reset my messages account, I can't get iMessage to work on IPad nor Mac osx. Help please this is really frustrating.

    Hi,
    Is there an iPhone involved ?
    If not, what happens  if you remove the Apple ID on the iPad and then set it in Airplane Mode (allow a couple of minutes at this point) followed by re-adding the Apple ID ?
    What, if any error messages are appearing on the Mac when you try to launch the App or Login to the iMessages server ?
    Is the Apple ID linked to an iCloud account ?
    In Messages 7 (Mountain Lion) this did not seem to be important but it seems it is in Mavericks/Messages 8
    9:14 pm      Friday; April 11, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • I bought an IR receiver and an Apple Remote, and I can't get it to work. What am I doing wrong?

    I bought an IR receiver and an Apple Remote, and I can't get it to work. What am I doing wrong? The receiver is a Lenovo eHome OVU430006/01 USB IR Receiver.

    Hello,
    You would need to pair the Apple Remote with the receiver. So I would use the generic Mac/PC receiver and follow these instructions:
    http://support.apple.com/kb/HT1619
    If that doesn't work then check in System Profiler to see if the IR receiver has been recognized by the PowerBook's hardware. You may require the install of drivers for this device to be recognized.
    Best of luck

  • I have a go daddy email account and I can't get it to work on my iPad

    I have a go daddy email account and I can't get it to work on my iPad

    Try turning the email account off and then turn it on again. Settings>Mail, Contacts, Calendars>select your gmail account>Off. Go to the mail app and then come back to the account in the settings and turn it on again.
    If you can't find any other way for the iPad to accept the password, delete the email account and then add it back onto the iPad.

  • I have a Mac Mini and I can't get it to work with my Ricoh Aficio MP 161.  Any ideas?

    I have a Mac Mini and I can't get it to work with my Ricoh Aficio MP 161.  Any ideas?

    The latest Apple driver support begins with the MP 171.
    Here is Ricoh's official driver download page specifically for the Afico MP 161. Note that new drivers for this device were released on Aug 2, and include Lion and Mountain Lion.
    Hopefully, this will solve your device issues.

  • My iPhone 5 went black. I tried pushing the on/off button and the circle button at the same time.  It worked once and then it happened again and I can't get it to work.

    Iphone 5 went black.  Tried pushing on/off and circle at the same time.  Worked yesterday and then did it again today.  Can't get it to work.

    You need to hold those button longer until you see the apple logo, then release, then wait for the phone to boot back up.

  • I just got a new computer with Windows 7 and all my songs were transferred to my new computer along with itunes.  But I can't get it to work.  I also tried downloading Quicktime and couldn't get it to download.

    I just bought a new computer and had files transferred along with itunes to the new computer.  I can't get it to work.  It doesn't recognize the extensions for itunes.  I also tried downloading Quicktime and couldn't get it to download.

    iOS: Device not recognized in iTunes for Windows
    I would start with:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • I bought a DataPilot to transfer my pictures from my phone to my macbook, and I can't get it to work

    I bought a DATAPILOT to transfer pictures to my macbook and can't get it to work.  Any suggestions please?

    Best if you try and explain what you are trying to acheive.
    Iphoto is a different paradigm than you're used to. I don't understand why you are trying to transfer your edited photos back to an external disk.
    There are tutorials here
    http://www.apple.com/findouthow/photos/
    Regards
    TD

Maybe you are looking for

  • Adobe Photoshop CS5 failed to install. None of the solutions in the previous thread worked.

    I RAN ADOBE SUPPORT ADVISER AND IT SAID cpsid_90243r4: Error DW020 or DW050 occurs during installation - Creative Suite 5.5, Flash CS5.5, Flash Builder 4.5 My laptop's running on windows vista home premium, sp2,32bit Intel(R) Core(TM)2 Duo CPU T7700

  • Why have I lost the data display on my thumbnails in bridge?

    I had my thumbnails set to display capture info and file name. Everything was working ok until yesterday. Now they are just blank with on info. How can I get them to display the data again?

  • How to output BufferedImage as PNG in HTML page

    I have a servlet that creates a chart as a BufferedImage. I can output it as a file using ImageIO.write(bimg,"PNG","fn.ext") I would rather put it in a web page but I don't know how. It seems I can either put out an html page or an image file but not

  • A few people can't see it

    Put up my site. It works fine for most people. But two have told me they are having trouble getting on. I've logged on from mac and PC, using Firefox, Safari and Internet Explorer. Anyone have this sort of issue? thanks. -dan

  • DEBMAS06 IDoc, field for e-mail address

    Hi guys, I do not know if this is the correct forum to post this question, but I have the following issue in XI mapping: I cannot find a field to pass the e-mail address for the customer. Any ideas ?