How do I enable WiFi from the Ubuntu 11.10 netroot recovery terminal?

After just 12 hours with Ubuntu, I managed to destroy my ATI fglrx drivers and now I can't repair them without Internet access.

  • Connecting to WiFi via the recovery terminal is different than connecting to Starbucks' WiFi via a normal terminal. Feb 16, 2012 at 11:29

2 Answers 2


What worked for me was sudo service network-manager start.


First, run ifconfig wlan0 up. This will enable wireless. You won't get any feedback unless there's a problem. Next, run iwlist wlan0 scan to scan for nearby wireless networks. Once you have looked at the output and know which wireless network you want to connect to, run iwconfig wlan0 essid NETWORK_ID key s:WIRELESS_KEY, replacing NETWORK_ID with the name (essid) of the nework and WIRELESS_KEY with the network passcode. Hope that helps!

  • 1
    This doesn't work since ifconfig is not installed by default anymore. So on a fresh install of Ubuntu, you would be screwed.
    – ffxsam
    Nov 1, 2017 at 16:48
  • The easiest way to setup the wireless in command line in ubuntu is with the nmcli tool ( the network manager command line ). See basic operations in the documentation: core.docs.ubuntu.com/en/stacks/network/network-manager/docs/…
    – Quentin
    Sep 30, 2020 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.