Make the following bits work on Mac (if even possible) ... I am researching comparable commands.
|
func (w *Wireless) downNetworkManager() *InternalError { |
|
func (w *Wireless) upNetworkManager() *InternalError { |
|
for idx, iface := range ifaces { |
|
_, err := ExecCommand("ip", "link", "set", iface, "down") |
|
_, err = ExecCommand("iwconfig", iface, "mode", mode) |
|
_, err = ExecCommand("ip", "link", "set", iface, "up") |
Make the following bits work on Mac (if even possible) ... I am researching comparable commands.
sig-716i/core/ifaces.go
Line 49 in 3147510
sig-716i/core/ifaces.go
Line 61 in 3147510
sig-716i/core/ifaces.go
Line 96 in 3147510
sig-716i/core/ifaces.go
Line 140 in 3147510
sig-716i/core/ifaces.go
Line 147 in 3147510
sig-716i/core/ifaces.go
Line 154 in 3147510