Ath9k wireless card "Cannot assign requested address"

# ip link set wlan0 up
RTNETLINK answers: Cannot assign requested address
#ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> ntu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope list lo
2: wlan0 <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 01:08:ca:e6:bc:76 brd ff:ff:ff:ff:ff:ff
#iwconfig
lo      no wireless extensions
wlan0   IEEE 802.11bgn  ESSID:off/any
        Mode:Managed Access Point: Not-Associated  TX-Power-0dBm
        Retry long limit:7  RTS thr:off  Fragment thr:off
        Encryption key:off
        Power Management:on
Please do excuse if there's a silly typo somewhere in those; not knowing how to do it any better, I've simply re-typed the terminal output into this computer, so I can't promise it free of mistakes. (There's got to be a better way to do that, right?
Asus UX31E-DH72 Zenbook
clean install of the 2011.08.19-core-x86_64 release
There is no ethernet port; only WiFi and a ASIX AX88772B USB-to-ethernet that shipped with the system. (no optical drive either; but that's not really relevant to this)
My current system has never been on the internet (well, since I wiped the Windows off of it...), and so I haven't been able to pacman properly. When I try to use makepkg, it claims it's missing a dependency on Linux-Headers. However, I do know that the wireless card works, seeing as how it had been working just fine under Windows.
If it's relevant: during install, I left the NETWORKING section of rc.conf blank (as the Beginner's Guide says to do for DHCP), like so:
HOSTNAME="zen"
interface=wlan0
address=
netmask=
broadcast=
gateway=
#NETWORKS=(main)
Disclaimer: I'm rather new to the forums here and entirely new to Arch (which is my first Linux distro after years of OSX and a few weeks of Windows). Not scared of the command-line, but you may have to spell things out. Also, I understand if you'd rather not spend time explaining yourself, but I'm a strong believer in teach-a-man-to-fish, so if you'd like to explain rather than just walk through, it'd be much appreciated. Thanks!

Welcome and congrats on your decision to grace your sleek new laptop with an equally sleek OS :-)
Just in case you have not found that yet: there is actually a wiki page on your notebook for later setup specifics: https://wiki.archlinux.org/index.php/Asus_Zenbook_UX31E
BTW: I just read there that the usb ethernet is supported in later/newer kernels out-the-box (if setting up wifi really does fail, you can get a later ISO maybe and use that for starters).
As I understand your current setup state, you have installed the system with the core August release and it boots fine? Please confirm.
Also please confirm the exact wifi card the notebook has:
lspci -nn | grep net
or
lspci -nn >> ryebookpcidevices.txt
The later pipes the output to a file. Doing the command again, appends to the file. We only need the exact PCI ID of the wifi card to double check. To save typing even that ID you can maybe copy the file you created "ryebookpcidevices.txt"  to an usb stick, if that automounts under /media/...
Next, please quote here any errors you get when re-loading the ath9k module (all commands below need root/sudo):
rmmod ath9k
modprobe ath9k
If you get errors, check whether
rfkill list
gives valid output (not sure if that package is on the ISO, i doubt it actually).
If modprobe does without error, please retry your trial to connect with the card by directly issuing
iwlist wlan0 scan
Give us feedback on what happens then. If there is an error, try
ip link set down
and start from step 0 in the wireless wiki: https://wiki.archlinux.org/index.php/Wi … nual_setup
Your output says "Mode:managed", so something seems working there already..
For "makepkg" you indeed need the headers, but you dont say what you want to compile at this stage.

Similar Messages

  • Rcmd: socket: Cannot assign requested address on Solaris 10

    Hi,
    I am having some problems with rsh/remsh on solaris 10
    while trying to rsh from a V890 to another V890 , I am getting this error message sometimes "rcmd: socket: Cannot assign requested address" and the /var/adm/messages file shows this
    May 26 11:26:54 hostname rsh[7895]: [ID 521673 daemon.notice] connection from "hostname" (IP address) - bad port
    This is causing an issue because the app team is cont.injecting files from/to servers
    the release level is Solaris 10 5/08 and the patch level is Generic_127127-11
    Any help would be appreciated

    Try to reduce the tcp wait time to 1 minute.
    #ndd -set /dev/tcp tcp_time_wait_interval 60000
    This setting do not survive a reboot. Tune the paramter to the value which works fine for you. Create a script with the correct setting and add it to rc scripts directory.

  • Error starting HTTP-Server: Cannot assign requested address: JVM_Bind

    Hi.
    Anyone know how to configure the Oracle HTTP server within Jdeveloper9i to work?
    When I try run a JSP page, I get the following error:
    C:\Oracle9iDS\jdk\bin\javaw.exe -ojvm -classpath C:\Oracle9iDS\j2ee\home\oc4j.jar com.evermind.server.OC4JServer -config C:\Oracle9iDS\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8888, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Error starting HTTP-Server: Cannot assign requested address: JVM_Bind
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Please contact me at [email protected]
    cheers paul

    A JVM_Bind error means that the port is already in use. This is an unusual error message to get because JDev scans the ports ahead of time to make sure they are free before launching the server.
    Check if you have any processes running that might be holding port 8888. There might be a previous instance of the OC4J server running that hasn't released port 8888 yet. On Windows, at a command prompt, you can use "netstat -a" to see local ports that are in use.

  • Ntp refuses to sync with error "Can't assign requested address"

    I'm attempting to use ntp to sync to several different time servers, including hte apple server and those in the ntp.org server pool. In all cases, I cannot sync correctly, with many system log and consol error messages of the form:
    ntpd[5123]: sendto(xxx.xxx.xxx.xxx): Can't assign requested address
    I checked that the firewall is allowed UDP connections on port 123. Some googling hinted that hte problem may be changing IP address of my laptop when i sleep it and wake with a different IP, so I manually restarted it, and everything was fine.
    Anyone know how to reliably start/restart ntp when I wake from sleep?
    cheers

    It looks like Java is consuming all client-side TCP
    ports. When the error occurs, I also start to have
    problems connecting from my browser to any Web-page.I would take this as an indication, that the problem is on the server side and the web server might keep some resources after the client disconnects from the socket. You could verify that if you run your test program from another computer after the error occurs. If that program is again able to open connections, then this might indicate that the problem is in fact on the client side. However if also access from another machine is blocked, then I would guess it is a server side problem.
    Am I having to wait for the garbage collector to free
    the ports, or is this an OS X problem?Garbage collection is not an issue here.

  • Scoket connect fails with: Can't assign requested address

    Hi All,
    I am running Java on Mac OS X 10.4.8 (Intel). I run the following code:
    for (i=0; i<20000; i++) {
         java.net.Socket socket = new java.net.Socket();
         socket.connect(new java.net.InetSocketAddress("localhost", 80));
         socket.close();
    After about 16380 local TCP connections, connect is failing with the error message "Can't assign requested address".
    After waiting for a while, I can connect again.
    It looks like Java is consuming all client-side TCP ports. When the error occurs, I also start to have problems connecting from my browser to any Web-page.
    Am I having to wait for the garbage collector to free the ports, or is this an OS X problem?
    Any help or ideas would be welcome.
    Thanks,
    Paul

    It looks like Java is consuming all client-side TCP
    ports. When the error occurs, I also start to have
    problems connecting from my browser to any Web-page.I would take this as an indication, that the problem is on the server side and the web server might keep some resources after the client disconnects from the socket. You could verify that if you run your test program from another computer after the error occurs. If that program is again able to open connections, then this might indicate that the problem is in fact on the client side. However if also access from another machine is blocked, then I would guess it is a server side problem.
    Am I having to wait for the garbage collector to free
    the ports, or is this an OS X problem?Garbage collection is not an issue here.

  • [ID 365563 daemon.error] can't get stderr port: Cannot assign requested add

    Hello friends, i m getting the messages bellow in error logs, please suggest me what i have to do
    " [ID 365563 daemon.error] can't get stderr port: Cannot assign requested add"

    Hi Tom,
         Thanks, but at this point, I've rebooted, checked and double-checked more times than I'd care to count...:(
         Since I can see the NMEA strings when the GPS module is hooked-up to the USB port, I guess I'll assume there's some reason why the
         AMA0 UART has not been released, or that the GPS receives some different signals through the TTY that it's not seeing through the AMA0.
          As I mentioned, when I use 'cat /dev/ttyAMA0', it just hangs, like it's getting no data. I'll keep looking...
         Thanks for your help,
              Dave

  • T430 with Intel Ultimate-N 6300 wireless card cannot see 5Ghz network

    I have two machines with the exact same Intel 6300 AGN wireless cards.  Both running Widowns 7 64-bit.  Both have same versions of Intel drivers installed.  The X230 sees and connects to my 5Ghz wireless network.  The T430 sees only the 2.4Ghz network.  The 5Ghz network is not even displayed in its list of available networks.
    The T430 sees other 5Ghz networks in the neighborhood.  Using inSSIDer I can see that the wifi card is functioning on the 5Ghz frequency as it displays 3 other nearby networks.  But I have no way to test connection since those are not my networks and are secured (as is mine).
    Windows also shows those neighboring 5Ghz networks in the list of available connections.  Only my own 5Ghz network is absent from both lists.
    Both my 2.4 and 5Ghz bands are broadcasing their SSID's.  All MAC filtering is correct and both machines are allowed on the networks.  The WPA keys are correct.
    I have even copied the network settings from the working X230 using the "Copy this network profile to a USB flash drive" option from the wireless network properties window and added the 5Ghz network to the T430 using the USB key.  So I know the settings are identical.
    I ran Lenovo diagnostics Wireless Quick Test on both machines and got identical successfull results.
    The only thing amusing about this issue is that the X230 wifi card was purchased from an eBay seller in China and that is the one that works.  The card in T430 came with the laptop direct from Lenovo and that one has trouble.  Both cards have Lenovo FRU numbers and clearly are whitelist approved since they both work.  Just that the T430 card only sees the 2.4Ghz network.
    I have assigned static IP addresses to both machines on the network.
    I have rebooted the router.
    I have run all Lenovo and Windows updates on both machines.
    If anyone has further suggestions I woul really appreciate assistance.
    Thank you.
    Any suggestions would be appreciated.
    .NET Software Developer
    ThinkPad T440s (20AQ005TUS) | ThinkPad ThinkPad T430 (2342CTO) | Lenovo H430 (25582AU) | ThinkPad X230 (2306CTO)
    Solved!
    Go to Solution.

    Thanks for posting your update. Glad your issue is resolved.
    Please consider marking your own post as the solution as it may help other members of the community.
    Regards.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • MEGA 180 Wireless Card Cannot Run - No Resources

    Well, I FINALLY got the MEGA 180 to recognize the built-in wireless card, but the card will not run becuase the system is telling me that there are no available resources for the card... huh?
    Does anyone know what this means and how I can get my built-in wireless working?  I currently have an external USB wireless adapter working, but I'd really like to remove it and try the built-in one.
    Thanks,
    Matt

    Nice little update to report.
    When I had my MEGA 180 open to lap the heatsink and reapply the Arctic Silver, I decided to check the Mini-PCI card to make sure everything was ok.  Sure enough, it was not fully seated in the socket.  This would explain why my wireless card would never work.
    I pushed it in firmly, and when the system started back up, voila!  I had built-in wireless.
    Horrible quality control out of MSI to let a system go from the factory like this, but I'm glad it was something small.

  • Wireless clients cannot get ip address

    I have 7 WLANs configured all work fine but the latest. The 7th WLAN I configured will not let clients get an IP address. I can plug a wire into the port with the same VLAN configured on the port and I get an IP address but wireless clients connected to an AP on that port cannot get an IP adddress. Any suggestions would be appreciated.

    Hello,
    where is the DHCP server configured?
    - do all other 6 WLAN's work fine with the same DHCP server.
    - do you have any H-REAP VLAN mapping , or AP groups configured?
    they will override the WLAN-interface configuration.
    Kind regards
    Talal
    =======
    please rate answers that you find useful , and mark as answered - when it is :-) - so others can find it easily

  • Upgraded to Maverick. Now cannot connect to wifi. All my other devices will connect. Have rest wireless hot spot switch and cable modem. Other devices still connect but MacPro does not. MacPro wireless is self assigning an IP address blocking access.

    Upgraded to Maverick. Now cannot connect to wifi. All my other devices will connect. Have rest wireless hot spot switch and cable modem. Other devices still connect but MacPro does not. MacPro wireless is self assigning an IP address blocking access. It will connect if I connect to my iPhone hot spot via wifi. Any ideas?

    If you follow this video you'll see how to delete your WiFi AP from the OS, this will allow you to select it again which I feel will correct your problem.
    https://app.box.com/s/fe7v7h7kywjr23spumqp

  • Can't connect wireless due to "self-assigned IP address"

    I recently switched from PC to Macbook. I cannot log on to many wifi networks I could previously access with my ThinkPad. The computer successfully finds the network and has a strong signal but will not connect. Under network status, I get a message that says something like "Your Macbook is connected to the wireless network but AirPort has a self-assigned IP address and may not be able to connect to the network."
    Ive tried various options but still no luck. This mostly happens in public Wi-Fi networks such as internet cafes, airports and Starbucks' T-Mobile networks. Thanks!

    Can you connect to any wireless location? Or does not fail only in certain places? If you can't connect anywhere, it is your problem. If you can connect in some places but not others, it is their problem.
    It wouldn't surprise me if there is some new, cheap vendor of wireless access points that doesn't do the network settings correctly and only Windows machines will connect to it.
    You were a ThinkPad owner, so you weren't a typical PC user anyway. Most of them use PCs only because they are cheap, cheap, cheap. Is it 3.29 cheaper than a Mac? Buy it! Those people are now making cheap wireless access turnkey solutions. I have seen people like that before. Just because there are hundreds of millions of pounds of equipment depending on the software, or people's lives, doesn't mean they know how to do networking. They may be so incompetent they don't know they are incompetent. Those types typcially would never, ever think to test their product on a Mac.

  • Airport and a self-assigned IP address - can't access wireless net

    I have a strange issue with Airport picking up a wireless network.
    I'm not in my usual location using my MacBook Pro.
    There is a wireless network here.
    Airport sees it, and asks for the password (provided to me).
    Airport looks connected, but, I see the message: "Airport has a self-assigned IP Address and may not be able to connect to the internet".
    And in fact, it cannot. I've run through the diagnostics routine twice, and no go.
    How do I get Airport to accept an IP address from this wireless configuration?

    I am having a nearly identical problem. The solution provided did not work for me.
    We have two MacBook laptops, one is mine and the other my wife's. My laptop still works fine. The AirPort communicates well with the wireless router. My wife's laptop just started having this problem about a week ago. The latest Airport software updates helped, but did not solve.
    The problem is that I now have to go into network diagnostics everytime to connect my wife's laptop to the wireless router. I have to re-enter the password to the router each time. Once I enter the password, it finds the IP address and connects everything properly. I checked the keychain password and it is there, so I don't know why it keeps losing the IP address.
    One thing that I did preceded this problem. I changed my router password to WEP. If anyone knows if this could cause the problem, let me know.

  • "Airport has a self assigned IP address & cannot connect to internet"

    Hi, I'd appreciate any insight at all on this...
    Apologies in advance for this vast post...!
    (but I guess I may as well mention everything I've already tried...)
    BACKGROUND:
    I was recently trying to add an Airport Express Base Station to an existing ethernet and wireless network, which has been working flawlessly for 3 years.
    (Network consists of an ethernet-connected G4 Dual 1.42 desktop running OS X.3.3, and two wireless-connected iBooks- one a 12" running OS X.3.5, the other a 14" on OS X.4.2).
    For various reasons, I've now given up with the Airport Express, but ...
    PROBLEM:
    On the wireless 12" iBook- "Safari can't open the page "xxx" because it can't find the server "xxx"- ie, the internet connection is now wonky.(The problem is the same in Firefox, IE, and Camino too).
    The fault must be with configuration on this laptop, as the other two machines on this network are still running and connecting normally with no problems at all.
    What is the cause of this problem? (IP addresses? DNS server?)
    WHAT I'VE TRIED SO FAR:
    1. First looked at System Preferences --> Network --> Network Status, where I see this;
    "Airport is connected to the network "Fritz!Box SL WLAN". Airport has a self-assigned IP address and may not be able to connect to the Internet."
    Alongside it an amber button (which is usually green).
    Then according to JohnHuber1's suggestion in Discussions on May 3rd 2006;
    "Go to System Preferences --> Network and double click on Airport to open its preferences. Click on theTCP/IP tab and select Configure IvP4: "Using DHCP" and click on Apply Changes to save it."
    I tried toggling this (it was already set this way), and then Restarted, but it hasn't helped.
    I also tried clicking the 'Renew DHCP lease' button. Also hasn't helped.
    2. Repaired permissions. It hasn't helped.
    3. Read Apple KB article No:106798- 'Troubleshooting "Server could not be found" messages'.
    From this article, it seems that
    a) The problem cannot be caused by "an actual loss of internet connection", as the other 2 machines are still connecting fine.
    b) Typing http://17.254.0.91 instead of http://www.apple.com makes no difference, therefore it doesn't APPEAR to be a DNS server problem. (?)
    4. Tried to reconfigure the Airport settings using Network SetUp Assistant.
    This allows me to select Airport as my connection method, select the network from the list; but once I've entered the network password and pressed 'continue', it then gives me a dialogue box, saying
    "Unable to establish a network connection. Your computer could not connect to the internet. Click OK to go back and change your network settings and try again".
    Returning to Network Prefs, I now see a box saying "Your Network Settings have been changed by another application".
    I can't seem to get out of that vicious circle.
    5. Opened a fresh Test Account, behaviour is the same here as in the regular user account.
    6. Opened Network Utility, tried to 'Ping' on 17.254.0.91 (Apple site). Then tried to Ping my network router (192.168.178.1), and then also the other 2 computers on the network. Result in each case was "10 packets transmitted, 0 packets received, 100% packet loss".
    What can I do to fix this problem? I suspect it's some small configuration checkbox in Network preferences which I've inadvertently altered.
    But have I got any idea what I've done...?
    Sorry for the epic post. But you get the idea...!
    Thanks for your thoughts...
    G4 Dual 1.42, FW800, 2GB RAM, (OSX.3.3), iBook G4 (1.2ghz, 1GB RAM, OSX.3.5)   Mac OS X (10.3.3)   3 int.HDs, 3 Lacie ext.HDs, Logic Pro 6.4, RME Fireface 800.

    Hi Grant, thanks for jumping in...
    Have you removed the troublesome Airport Express?
    Certainly have, that was Step 1 several days ago!
    Are you using encryption?
    Yes, I have to enter a password every time I've tried to use Network Set Up Assistant. I'm pretty sure I've got it right- it won't accept anything else.
    Have you limited your network to only certain M.A.C. Addresses?
    Not as far as I'm aware. Could I have done it inadvertently?
    Is the Wireless Router set to allow the connection of slower 802.11b devices like the iBook?
    Guess it must be... it worked fine before, and is still ok with the other 14" iBook.
    Are you connecting to a Wireless Router and not to another Macintosh computer?
    Hmm... I ASSUMED I was connecting to the WLAN router. The G4 desktop has no wireless capability itself, could I still be connecting to that regardless?
    Internet access has never been affected in the past by that machine being on or off...
    You will not be able to get anywhere until you have an IP address in the same subnet as your Router
    (generally high octets the same, last octet different). Can you think of any reason why your Router
    should not give you an IP address in this range?
    Err... now I'm lost, sorry! What's an octet?
    I really appreciate you taking the time to help me out Grant... sorry I'm not really up to speed!
    Cheers, Andy.

  • HT4628 My Mac Air OSX10.8.5 won't connect to the internet as it says it has a self assigned IP address and thus cannot connect to the internet. I can only connect to a network by manually typing in the configuration specs. Please help.

    My mac air OSX10.8.5 won't connect to the internet. It says it has a 'self assigned IP address and therefore cannot connect to the internet'. Network diagnostics is unable to the solve the problem. It happened suddenly for no reason and now I cannot connect except by typing in the configuration settings manually. Please help me!

    Use the Airport Utility or log into your wireless device via http and ensure the DHCP/NAT service is enabled.  If accessing via HTTP, you will need to manually set an ip within your local subnet (eg: 192.168.0.x).

  • Cannot connect to internet as Airport "has a self assigned IP address"?

    I suddenly cannot connet to wireless internet as the Airport has a "self assigned IP address" whatever that is. I have tried removing other wireless connectons but it makes no difference. I'm trying to use the wireless connection at the hotel I'm stying in..its working fine on this computer. Any suggestions ...PLEASE?
    Thanks

    Hmmm... well, not what I was hoping to find b/c that is not really a helpful answer, l.b, but thanks for joining in on the discussion. I too just experienced the same problem. Yesterday I was connected just fine, a little slow, but connecting just the same. I was able to do my banking, browsing & what have ya. Today I get up and have no internet connection and my computer says it Airport has self-assigned an ip address and I cannot connect to the Internet. I haven't done anything different and as I can tell, they haven't done anything different either. My iMAC will not connect, but this piece of poop del mini will as will my iphone4 and all three of my kids' ipod touches. Soooo.... anyone else have a solution b/c I am totally at a loss here. I really need my iMac to connect. Got things to do that I can't do on here.

Maybe you are looking for

  • Error while booting: SIOCADDRT: File Exists

    I have a Toshiba laptop with two nics built in, one 100mb ethernet plug, one wireless.  I do not use the wireless nic.  When my laptop boots I get the "Starting Network" message then a [FAIL] with a "SIOCADDRT:: File Exists" error, however, the netwo

  • How can I view backed up iPhoto images from another computer?

    Hi! I have an iMac, and a MacBook Pro. I have backed up both my iMac and MBP to a Seagate FreeAgent 1 TB external hard drive. I am going abroad, and I want to delete my photos from my MBP. Before I do that I want to be sure that I can still be able t

  • CiscoWorks LMS 3.2 Won't Start on Windows Server 2008 Enterprise

    All, I installed CiscoWorks LMS 3.2 RME on Windows Server 2008 Enterprise and the daemon manager won't start.  The server is a VMware ESX server 4.0. I've uninstalled and reinstalled and still nothing. I get message "The service is not responding to

  • Manifest and classpath

    How do you update the classpath information in the manifest of a jar file?

  • Doubt on QM Certificate

    Hi All, I have a requirement to modify the QM - Certificate ( COA ). The layout is so critical to modify the existing script. So can we use smartform in place of the SAP Script for the certificate. But the Characteristic assignment of the certificate