[SOLVED] Scan for wireless networks at boot

Lately I've been making extensive use of public wifi hotspots (libraries FTW), as mobile broadband is simply too unreliable to give me a persistent (and cheap) connection.
Is it possible to use some combination of netcfg and wifi-select (or similar tools) to scan for wireless networks at boot?
I've already got entries in rc.conf for my mobile dongle and automatically detecting ethernet connections, but it's pointless adding entries for whichever wireless profiles I might use as searching for these and discovering they don't exist just needlessly slows the boot process, whereas running something similar to wifi-select at boot (with a timeout so an unattended boot won't wait for me to make a selection) would avoid this.
* Obviously I could just wait until the system has booted and then bring up the interface I wanted manually, but generally I only reboot my system after updates, and I only download updates at a wifi hotspot, so I was hoping to automate something here.
Last edited by zoqaeski (2012-03-28 12:11:21)

Isn't net-auto-wireless or net-profiles with menu what you want? https://wiki.archlinux.org/index.php/ne … omatically

Similar Messages

  • IPad could not scan for wireless networks

    My iPad 2 was bought in April 2011. And just a few hours ago it suddenly disconnected from my home WIFI.
    I tried to reconnect it, but it either kept scanning the network or kept prompting the warning message "iPad could not scan for wireless networks".
    My Macbook Pro, iPhone and another iPad 3 were all working fine with my two different WIFI points at home yet only my iPad 2 couldn't scan both WIFI at all.
    I have tried to:
    1. Reboot IOS (turn it off and on)
    2. Take out sim card
    3. Reset Network Settings
    4  Reset All Settings
    5. Restore iPad from iTune
    I've called Apple, obviously they had no clues about this problem and they just adviced me to send in my iPad 2 for 1-to-1 change.
    This seems to be a common unsolved issue for apple users. Has anyone solved this before?
    Now I'm worrying will my iPad 3 get the same issue in future. it makes me quite frustrated

    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
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router (Auto is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    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
    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

  • Ipad 2 Cannot scan for wireless networks

    Why can't my ipad 2 scan for wireless networks?  Was on airport mode but turned airport mode off.  Turned on wi-fi.  Reset network settings.  Tried turning ipad off and turning it back on.  Keep getting same message.  Could not scan for wireless networks.  Any ideas?

    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
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router (Auto is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    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
    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

  • Bummer..my phone quit scanning for wireless networks

    in Baja on vacation and my phone suddenly stopped scanning for wireless networks. Got any ideas? My partners iphone works fine. I reset my wireless networks in the settings window. I tried manually entering the network name and pass code. I removed and replaced my sim card. I'm hesitant to synch, backup and reset my phones settings since I definitely don't want to compromise it further. Been there done that.

    Here is a solution that might help. I too had the unhappy message of " could not scan for wireless networks". Thinking it was a wifi hardware problem or software problem made me give up until an idea hit me. Maybe it was an app. that was giving me problems. So I deleted an app. I had , which was Devicescape Easy Wifi, and did a reset network setting. This solved my problem. So look at your app. list and delete any wifi app. and see if that works.

  • TS1398 this didn't help me at all. out of the clear clue my iPad can't even scan for wireless networks. even when I type in my home wireless network name. my phone can connect to it but for whatever reason my iPad won't. nothing I've tried works. I'm ****

    believe me I've tried EVERTHING and my iPad still 'can't scan for wireless networks'. it happened all of a sudden and is really really frustrating. I really don't want to have to drive 40 minutes to the nearest 'genius bar'. I'm about ready to break this thing over my knee. I've even tried the frig trick. it worked for about 30 seconds. and then? nothing. any non sarcastic suggestions?

    believe me I've tried EVERTHING and my iPad still 'can't scan for wireless networks'. it happened all of a sudden and is really really frustrating. I really don't want to have to drive 40 minutes to the nearest 'genius bar'. I'm about ready to break this thing over my knee. I've even tried the frig trick. it worked for about 30 seconds. and then? nothing. any non sarcastic suggestions?

  • IPhone 4S - Could not scan for wireless networks - help needed please

    Hi
    Can anyone offer any advice please.
    My 4s has developed an wifi issue. It cant scan for wireless networks My bluetooth is intermittent also.
    I have turned it on/off, rebooted, reset all networks, reset to factory settings, set to airplane mode, set to do not disturb - everything and all to no avail.
    I am under a two year contract with Vodafone and went into their branch at Merry Hill, Dudley today and they failed to help me saying it was nothing to do with them.
    I am at a loss as to what to do. I have not had any accident with my phone and it is still in mint condition.
    Can anyone please offer any suggestions on what to do.
    Many thanks.

    Apple's out-of-warranty policy is a feeble attempt at covering up it's issues and is a clear cut demonstration for their lack of respect for its user base. Their WIFI/Bluetooth dropping issues have been around for several years now and it started within the last 3 IOS updates. Apple engineers acknowledge this problem and don't have a solution yet... this was confirmed at the Genius Bar at their Nashua, NH outlet. My phone is 6 months passed warranty and my Verizon contract isn't up for renewal for another 6 months.
    There are a lot of complaints about this (a LOT), yet Apple continues to stick its head in the sand instead of owning up to providing shoddy hardware and/or glitches software. They certainly don't want to be in the business of replacing phones, so they put the onus on us by charging $200 for a replacement... such a deal for Apple!
    Apple's support communities are basically useless on this subject with a lot of screwy so-called solutions to work around their flaws. I've seen one  fix where you heat up the phone with a hairdryer until the temp warning appears and then refrigerate it for 10 minutes... then BINGO, it's all fixed! Ya right!!!
    Resetting network settings, or all settings (including a complete reset) is ineffective and appears to do nothing more than to further upset Apple users once they realize that they have wasted their time following Apple's so-called fix.
    I just wonder if or when Apple pulls it's collective head out of the sand will they be able to see that their competition has surpassed them by leaps and bounds. There really isn't any good reason to stick with Apple now-a-days since their conscience passed away. Their competition offers superior technology while Apple continues to impress up with new connector technology and placement of their sockets.
    I am finished with Apple and am incredibly sick of their spoon feeding what they want rather than what we want.
    The best way to make Apple improve is to provide them with a taste of their own WIFI/Bluetooth offerings by DROPPING THEM!
    They have abandoned us and have no problem trying to charge us to replace their flawed technology instead of doing the right thing!
    Dale E Alden
    Groton, MA 01450

  • Stuck interrupt when scanning for wireless networks (Athero chipset)

    I'm working on getting wireless running on my Thinkpad T40 with an Atheros AR5211 a/b adapter. The ath5k module loads automatically, and the dmesg output seems to indicate that it is properly detecting the card:
    % dmesg|grep ath
    [ 4.767272] ath5k 0000:02:02.0: registered as 'phy0'
    [ 5.042780] ath: EEPROM regdomain: 0x61
    [ 5.042787] ath: EEPROM indicates we should expect a direct regpair map
    [ 5.042793] ath: Country alpha2 being used: 00
    [ 5.042796] ath: Regpair used: 0x61
    [ 5.478542] ath5k: phy0: Atheros AR5211 chip found (MAC: 0x42, PHY: 0x30)
    [ 5.478549] ath5k: phy0: RF5111 5GHz radio found (0x17)
    [ 5.478553] ath5k: phy0: RF2111 2GHz radio found (0x23)
    I brought the interface up using ip:
    % ip link show wlan0
    4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether [redacted] brd ff:ff:ff:ff:ff:ff
    The trouble comes when I try to scan for wireless networks. I run "sudo iw dev wlan0 scan". At this point, the system becomes very sluggish, and the load average began to monotonically increase. The scan never completes; I left it for 15-20 minutes and cut it off when the load passed 3.5. The load average did not go down after iw was killed. Checking in top, the CPU was pretty evenly split between a kworker process and ksoftirqd, even with the scan terminated.
    I've searched around, and while there are all manner of problems reported with getting various wireless configurations to work, no one seems to get tripped up at the scanning phase like this. Does anyone know of diagnostics I could try (or perhaps other scan tools?) to narrow down what is actually causing the CPU to get hammered?
    Last edited by Gavster (2014-01-15 02:57:56)

    I got a chance to play around with this a bit more, trying wireless_tools this time:
    % sudo iwlist wlan0 scan
    wlan0 Failed to read scan data : Resource temporarily unavailable
    As before, the load average then continues to increase until the system becomes unusable. This would lead me to believe that I have a driver or kernel issue, since that would be the commonality between the two tools.
    The other interesting output is this:
    % dmesg|tail
    [ 280.973316] ath5k: phy0: too many interrupts, giving up for now
    [ 280.989985] ath5k: phy0: too many interrupts, giving up for now
    [ 281.004548] ath5k: phy0: too many interrupts, giving up for now
    [ 281.019983] ath5k: phy0: too many interrupts, giving up for now
    [ 281.034543] ath5k: phy0: too many interrupts, giving up for now
    [ 281.049984] ath5k: phy0: too many interrupts, giving up for now
    [ 281.064543] ath5k: phy0: too many interrupts, giving up for now
    [ 281.079983] ath5k: phy0: too many interrupts, giving up for now
    [ 281.094544] ath5k: phy0: too many interrupts, giving up for now
    [ 281.109122] ath5k: phy0: too many interrupts, giving up for now
    Looking at longer tails, this message repeats many many times, interspersed with:
    net_ratelimit: 321 callbacks suppressed
    With various values for 321. Some interrupt getting stuck would make sense for why the load average blows up, but I really don't know how to fix that ...
    I verified on the ath5k site (http://wireless.kernel.org/en/users/Dri … rted_Chips) that my chip is supported:
    % lspci
    02:02.0 Ethernet controller: Qualcomm Atheros AR5211 Wireless Network Adapter [AR5001X 802.11ab] (rev 01)
    Any tips for what might cause a stuck interrupt like that?

  • TS1559 could not scan for wireless networks.

    Wifi not working on my Iphone.  All I get is "Could not scan for wireless networks."  Does anyone have a solution to this problem?

    If no change after powering the iPhone off and on and/or after a reset which is similar to a computer restart, try resetting network settings on the iPhone at Settings > General > Reset.
    If no change after that, try restoring the iPhone with iTunes as a new iPhone or not from the backup but update the iPhone's backup immediately before doing so for later use.
    If no change after restoring the iPhone with iTunes as a new iPhone or not from the iPhone's backup, the iPhone has a hardware problem.

  • Iphone 4s cannot scan for wireless networks

    i have rebooted and everything else. my iphone 4s cannot scan for wireless networks. i have had this phone for a few months, no problems until today
    i have done the reset, nothing...help!

    >> Duplicate post removed to comply with Verizon Wireless Terms of Service.  See "Verizon 3G" Icon has Disappeared <<
    Message was edited by: Verizon Moderator

  • TS1398 'could not scan for wireless networks' problem

    I keep getting 'could not scan for wireless networks' whenever I try to connect. I have turned wi-fi off/on, restarted my network, iPod touch, and the home modem. What are some other options for fixing this problem?

    Try:
    - A reset. Nothing is 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.
    - 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

  • Error: "can not scan for wireless networks" 1st gen iphone running 3.1.2

    My iphone will no longer scan for wireless networks. I am running an airport network via my imac and the rest of the computers, as well as two iphone 3GS phones can see it, but my 1st Gen iphone now gives me the error "can not scan for wireless networks". I have done the Home + Power button thing, reset the network settings and no help yet.
    Any suggestions?

    OK. There are reports of bad wifi chips, but lets try some more things first.
    I assume your router is set to b/g compatible & not "n" only, correct? The iphone only works on g. Next, try this: Shut down the WiFi, and turn off "Ask to Join Networks". Then turn the iPhone completely off, by holding the top button down until the red slider came up, slid it off, and wait a few moments.
    Turn the phone back on, then turn on the WiFi, and then "Ask to Join Networks".
    See if that helps.

  • HT5569 cannot scan for wireless networks

    I cannot connect to any wi-fi network. My wif- is working at home, I am connected right now to the wi-fi with my computer, but this phone wont connect to any network at all.  I have read the recommended steps posted on this website. I have tried rebooting, resetting the network connections, etc. I tried manually entering the name of the network and the screen says "cannot scan for wireless networks".  I have had this problem since upgrading the operating system a few days ago.   Nothing is working and this is very frustrating. 

    After being to the apple store twice, trying various restore attempts and a host of other things. I have found out the phone is screwed because of the apple update.  I ended up losing content, losing the ability to connect to wifi, so lost the ability to get my cloud backups, lost my ability to get my work email as well and that is that. I have spent hours dealing with this now.  Apple store told me I should just upgrade my phone to a 5 when my contract is up cause there is nothing they can do. If I had known all of this would have happened I would never have updated.  The guy at the apple store told me he didnt do the update on his phone because of all the issues with it. Thanks Apple.  Thanks for sending out a system upgrade that really downgrades our phones and ****** us off.  My time is valuable as is all the data that is lost.  I am royally ****** off. You have lost my loyalty.  I might just upgrade to some other type of phone instead of an iphone.

  • TS1398 cannot scan for wireless networks

    My phone will not connect to home wi-fi. My DH's iphone is connecting fine, but mine won't and it doesn't list any options for network connections. wi-fi is ON. Ask to join networks is ON. Error msg "cannot scan for wireless networks". I turned the phone off and also reset network.No changes....Thanks in advance for your help

    I have had this issue of not scanning for WiFi networks as well. I just tried the following, and it has worked for me, at least for the last 12 hours or so:
    1. Turn ON Airplane Mode
    2. Power off the phone normally: Hold power and home keys for 6 sec, then swipe the "power off" slider.
    3. Waited 1 minute
    4. Turn on phone, wait for it to reboot itself
    5. Turn OFF airplane mode,
    Immediately, all WiFi networks popped up, and I could select my home network with the same saved password etc.
    Of course, this might not work for every case, but it's easier than a phone restore and worth a try.
    Darryl

  • " couldn't scan for wireless networks ".. No WiFi :(

    Hello .. I have an Iphone 4S and it was connecting to wifi normally .. but lately it's not .. whenever i try to search for networks .. i get nothing .. even if i tried  to enter the network name I get a message " couldn't scan for wireless networks "!!!
    can some one help me with that please ..
    Thanks

    See Here  >  Joining and troubleshooting Wi-Fi networks
    From Here  >  http://www.apple.com/support/iphone/wifi/

  • "could not scan for wireless networks" iphone6 or iOS 8?

    new iPhone 6 with iOS 8.  Wifi works fine for a few hours and then drops.  The wifi connect screen sits there spinning and if I attempt a manual connecation I get the message:
    "could not scan for wireless networks"
    Only solution so far has been rebooting. 
    No issues with older devices and iOS 8.  Just the iPhone 6.
    As this issue seems to come out every time Apple release new hardware I am hoping it's just a bug that will be squashed and as such wanted to bring it up on the forums.  Will also report to support. 

    Hi Uncle Ook,
    From what I've read, other iPhone 6 users have experience this issue too. I've read that by doing these steps it may help resolve your issue:
    Open Settings
    General
    Reset
    Reset Network Settings
    Enter your Passcode if prompted
    Tap Reset Network Settings
    What this will do is reset your network settings. By doing this we'll reset any issues to default settings that'll help fix your issue by setting the network settings to default settings.
    You'll see a series of different screens. This is normal. Just wait until it's completely done. You'll know when it's done when it takes you to the lock screen. You'll need to unlock your iPhone after that and try reconnecting to your wireless network that you were attempting to join. I'm not sure however that these steps will help permanently or temporarily, but I'm sure Apple will fix this issue within the next update that comes out. I hope this helps, and if you have any other questions please don't hesitate to ask.

Maybe you are looking for