Command for connecting to WiFi network

Hello,

I am on a Lenovo 100e Chromebook 3 Gen.
x86_64 / Jasperlake / BOOKEM-LPEW / chronos@bookem-rev6
ChromeOS 122.0.6261.100.

I need to connect to a wifi network through the V2 terminal. I ran the command “sudo iw wlan0 scan | grep SSID” to see the list of wifi networks, and I see them, but for the life of me I cannot figure out the command to connect to the network. I know the name and the password, of course; and I’ve tried several commands but failed.

Could somebody please help me?

Just in case, some additional information: GNU Bash, ver.5.1.16(1)-release (x86_64-cros-linux-gnu)

Thank you.

Why do you need to connect to WiFi through VT-2 and not ChromeOS?

I am using the GSC Debug Board (Cr50), and I need a wifi connection for mrchromebox’s script.

You can go out of VT2 go through ChromeOS setup process until you get prompt to connect to network. Connect to wifi network there, hop back to VT2 and you should be able to download script via curl.

2 Likes

ChromeOS uses shill for wifi connections, not iw.

Thank you!