Created
June 13, 2018 18:05
-
-
Save nilox94/7eb75851e8c51fdc620d50227107e336 to your computer and use it in GitHub Desktop.
create a WiFi hotspot with `create_ap` bridging the wired network interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo create_ap `ifconfig -a | awk '/^w.*Ethernet/ { print $1; exit }` `ifconfig -a | awk '/^w.*Ethernet/ { print $1; exit }` $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment