24

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.

Petrus Theron
  • 341
  • 1
  • 2
  • 6

2 Answers2

22

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

Vincent Wetzel
  • 321
  • 2
  • 3
11

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!

William
  • 7,668
  • 7
  • 40
  • 75
  • 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 01 '17 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: https://core.docs.ubuntu.com/en/stacks/network/network-manager/docs/configure-wifi-connections – Quentin Sep 30 '20 at 12:30