1.9 KiB
title | summary | date | lastmod | categories | tags | draft | |||
---|---|---|---|---|---|---|---|---|---|
74 winlink on android | Howdy. <small>The thumbnail was created with Google AI (Imagen 3).</small> | 2024-12-07T17:10:03+01:00 | 2024-12-08T11:14:49+0000 |
|
|
true |
I've recently switched from iOS to Android on my smartphone, so I also wanted to try the Android way of Winlinking again...
I will use WoAD for this.
stop network
sudo systemctl stop wpa_supplicant@wlan0.service
flush ip and routes
sudo ip addr flush dev wlan0 sudo ip route flush dev wlan0
set address
sudo ip address add 192.168.30.1/24 broadcast + dev wlan0
set as UP if not automatic
sudo ip link set dev wlan0 up
start dhcpd server
config:
option domain-name "mobile"; default-lease-time 600; max-lease-time 7200; authoritative; log-facility local7; subnet 192.168.30.0 netmask 255.255.255.0 { option routers 192.168.30.1; option subnet-mask 255.255.255.0; option domain-name "mobile"; option domain-name-servers 192.168.30.1; range 192.168.30.2 192.168.30.40; }
start with
sudo systemctl start dhcp4.service
also start hostap service
sudo systemctl start hostapd.service
stop everything and brink back internet on wlan0
sudo systemctl stop {hostapd.service,dhcpd4.service}
sudo ip r flush dev wlan0 sudo ip a flush dev wlan0
check with ip r
and ip a
if they are empty
now again start wpa_supplicant @ wlan0 service
sudo systemctl start wpa_supplicant@wlan0.service
you should soon get your old ip address of the network back