Conectando no Wifi via Shell (com e sem proxy)

From Basef
Revision as of 16:14, 19 February 2019 by Admin (Talk | contribs) (Criou página com 'Para conectar com Proxy: <source lang="bash"> nmcli device wifi rescan gsettings set org.gnome.system.proxy mode 'manual' gsettings set org.gnome.system.proxy use-same-proxy...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Para conectar com Proxy:

nmcli device wifi rescan
 
gsettings set org.gnome.system.proxy mode 'manual'
gsettings set org.gnome.system.proxy use-same-proxy true
gsettings set org.gnome.system.proxy ignore-hosts "['localhost', '127.0.0.0/8', '::1', 'jira', 'gitlab', '10.8.2.198']"
 
gsettings set org.gnome.system.proxy.http host 'host-do-proxy-ou-ip'
gsettings set org.gnome.system.proxy.http port 8080
gsettings set org.gnome.system.proxy.http enabled true
gsettings set org.gnome.system.proxy.https host 'host-do-proxy-ou-ip'
gsettings set org.gnome.system.proxy.https port 8080
gsettings set org.gnome.system.proxy.http enabled true
 
nmcli dev wifi connect NOME-DO-WIFI password 1q2w3e4r5t


Para conectar sem Proxy:

nmcli device wifi rescan
 
gsettings set org.gnome.system.proxy mode 'auto'
gsettings set org.gnome.system.proxy use-same-proxy true
gsettings set org.gnome.system.proxy ignore-hosts "['localhost', '127.0.0.0/8', '::1']"
 
gsettings set org.gnome.system.proxy.http host ''
gsettings set org.gnome.system.proxy.http port 0
gsettings set org.gnome.system.proxy.http enabled true
gsettings set org.gnome.system.proxy.https host ''
gsettings set org.gnome.system.proxy.https port 0
gsettings set org.gnome.system.proxy.http enabled true
 
nmcli dev wifi connect NOME-DO-WIFI