Compare commits
5 Commits
16eb7e8565
...
c1bad5f7ff
Author | SHA1 | Date |
---|---|---|
|
c1bad5f7ff | |
|
fbad56f05c | |
|
c376609896 | |
|
a8ae765f03 | |
|
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.
|
|
@ -327,7 +327,7 @@ Options:
|
|||
--dns <ip>|<port>|<ip:port>
|
||||
DNS server's upstream DNS.
|
||||
Use ',' to seperate multiple servers
|
||||
(default: use /etc/resolve.conf)
|
||||
(default: use /etc/resolv.conf)
|
||||
(Note IPv6 addresses need '[]' around)
|
||||
--no-dns Do not serve DNS
|
||||
--no-dnsmasq Disable dnsmasq server (DHCP, DNS, RA)
|
||||
|
@ -453,7 +453,6 @@ Visit [**my homepage** 🏡](https://garywill.github.io) to see **more tools and
|
|||
## TODO
|
||||
- WPA3
|
||||
- Global IPv6
|
||||
- Explictly ban forwarding if not needed
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ Options:
|
|||
--dns <ip>|<port>|<ip:port>
|
||||
DNS server's upstream DNS.
|
||||
Use ',' to seperate multiple servers
|
||||
(default: use /etc/resolve.conf)
|
||||
(default: use /etc/resolv.conf)
|
||||
(Note IPv6 addresses need '[]' around)
|
||||
--no-dns Do not serve DNS
|
||||
--no-dnsmasq Disable dnsmasq server (DHCP, DNS, RA)
|
||||
|
@ -862,7 +862,7 @@ get_pid_by_dbus_name() {
|
|||
|
||||
which dbus-send >/dev/null 2>&1 || return 1
|
||||
|
||||
pid="$( dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID string:$DBUS_NAME | grep " uint32 " | awk '{print $2}' )" 2>/dev/null
|
||||
pid="$( dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID string:$DBUS_NAME 2>/dev/null | grep " uint32 " | awk '{print $2}' )"
|
||||
r=$?
|
||||
|
||||
echo "$pid"
|
||||
|
|
Loading…
Reference in New Issue