项目作者: borgified

项目描述 :
wifi profile switcher
高级语言: Shell
项目地址: git://github.com/borgified/wifi.git
创建时间: 2018-04-25T06:15:49Z
项目社区:https://github.com/borgified/wifi

开源协议:

下载


NAME

  1. ./wifi.sh - switch between wifi profiles (for ubuntu systems)

SYNOPSIS

  1. ./wifi.sh [OPTION]...

DESCRIPTION

  1. ./wifi.sh
  2. Lists available wifi profiles (no args)
  3. ./wifi.sh use <profile>
  4. Switch to a defined profile

EXTRA NOTES

Your /etc/network/interfaces should contain:

  1. source /etc/network/interfaces.d/*

so that it will read the profiles that we will be symlinking there.

Put wifi profiles in ${HOME}/.interfaces/

Example of a profile:

  1. iface wlan0 inet dhcp
  2. wpa-ssid my_wifi_ssid
  3. wpa-psk my_wifi_passwd

After switching profiles, you’ll probably want to sudo ifdown wlan0 and sudo ifup wlan0 to reconnect.