97 lines
1.9 KiB
Markdown
97 lines
1.9 KiB
Markdown
|
---
|
||
|
title: 74 winlink on android
|
||
|
summary: >
|
||
|
Howdy.
|
||
|
<small>The thumbnail was created with Google AI (Imagen 3).</small>
|
||
|
date: 2024-12-07T17:10:03+01:00
|
||
|
lastmod: 2024-12-08T11:14:49+0000
|
||
|
categories:
|
||
|
- amateur-radio
|
||
|
- computerstuff
|
||
|
tags:
|
||
|
- draft_post
|
||
|
|
||
|
# showBreadcrumbs: true
|
||
|
# showDate: false
|
||
|
# showReadingTime: false
|
||
|
# showWordCount: false
|
||
|
# showPagination: false
|
||
|
|
||
|
# feed_exclude: true
|
||
|
# site_exclude: true
|
||
|
|
||
|
# some help
|
||
|
#
|
||
|
# highlighting with highlights
|
||
|
#
|
||
|
# use table, as inline creates a padding around
|
||
|
# and it pushes the text more to the right side (end of screen)
|
||
|
#
|
||
|
# ~~~html {linenos=table,hl_lines="3-6"}
|
||
|
# ~~~html {linenos=inline,hl_lines="1,3-6"}
|
||
|
|
||
|
draft: 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](https://woad.sumusltd.com/) 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
|