wifi setup ssh

rasplex

#1

Hi,

 

i want to setup wifi with ssh, where are the files ?

 

thanks


#2

Maybe to late for you but for other... as I just had the same need and as I found how to do it...

Enable connman wifi technology (if not already start)

connmanctl enable wifi

Scan for WIFI network nearby:

connmanctl scan wifi

List found WIFI network:

connmanctl services

Create the configuration file to access the network

put your configuration file in /storage/.cache/connman

create a file with the pattern .config

exemple of configure file (works but improvements possible)

[global]

Name = Livebox-8615

Description = Livebox-8615 Wifi service config file

[service_Livebox-8615]

Type = wifi

Name=Livebox-8615

Favorite=true

AutoConnect=true

Passphrase=xxxxxxxxxx

IPv4.method=dhcp

IPv6.method=off

IPv6.privacy=disabled

end of exemple of configure file

connect to WIFI network :

connmanctl scan wifi

connmanctl services

check that the configured network get a "*A" at the begining of the line connmanctl connect wifi_xxxxxxxxx

And it works...