Saturday, 15 May 2010

ubuntu 14.04 - Automating/scripting Wifi connections -



ubuntu 14.04 - Automating/scripting Wifi connections -

i using ubuntu 14.04 external wifi key.

my goal connect wifi spot without going through gui using script have tried next commands:

-nmcli nm wifi on -nmcli -p dev wifi -nmcli con id "essid"

the sec command gives me list of available wifi issues, when seek connect 3rd command error prevents connection:

-error: unknown login: "essid".

i've tried many other commands located in wireless part of forum, without success. if utilize gui , click 1 time on wifi spot connect without above commands works.

thank involvement in concern. sorry bad english.

"nmcli con up" connects existing connections , uses saved named of connetion id, not ssid of network.

to connect "new" wireless network use: nmcli wifi connect <(b)ssid> [password ] [wep-key-type key|phrase]

wifi ubuntu-14.04

No comments:

Post a Comment