Compare commits
3 Commits
0b34a68184
...
9ad40116a8
Author | SHA1 | Date |
---|---|---|
|
9ad40116a8 | |
|
718a1752f1 | |
|
e2b969b68a |
|
@ -0,0 +1,10 @@
|
||||||
|
Simplest call.
|
||||||
|
|
||||||
|
calk iwconfig
|
||||||
|
find wifi card name
|
||||||
|
in mant cases this is wlo1 on distros like Fedora
|
||||||
|
|
||||||
|
sudo ./lnxrouter --ap <yourwirelessdevice> <newhotspotname> -p <yourpassword> -g <thenewserversipaddress>
|
||||||
|
|
||||||
|
-g is important otherwise the server address changes everytime.
|
||||||
|
also, unless dhcp is properly configured you're going to have to statically address your clients.
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.7.1b
|
VERSION=0.7.1
|
||||||
PROGNAME="$(basename $0)"
|
PROGNAME="$(basename $0)"
|
||||||
|
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
|
@ -1990,7 +1990,7 @@ run_wifi_ap_processes() {
|
||||||
# sleep 1
|
# sleep 1
|
||||||
#done
|
#done
|
||||||
#echo -n "hostapd PID: " ; cat $CONFDIR/hostapd.pid
|
#echo -n "hostapd PID: " ; cat $CONFDIR/hostapd.pid
|
||||||
pid_watchdog $HOSTAPD_PID 10 "hostapd failed" &
|
pid_watchdog $HOSTAPD_PID 10 "hostapd failed. (tip: try '--hostapd-debug' to get some debug info)" &
|
||||||
sleep 3
|
sleep 3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue