From 74bcada8e174b97d050be4557169ac3ae2b18736 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 8 Dec 2024 12:14:49 +0100 Subject: [PATCH] adds new draft post about winlink on android --- .../android_emcom_thumb.png | 3 + .../posts/2024/74-winlink-on-android/index.md | 96 +++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 content/posts/2024/74-winlink-on-android/android_emcom_thumb.png create mode 100644 content/posts/2024/74-winlink-on-android/index.md diff --git a/content/posts/2024/74-winlink-on-android/android_emcom_thumb.png b/content/posts/2024/74-winlink-on-android/android_emcom_thumb.png new file mode 100644 index 0000000..01d8e21 --- /dev/null +++ b/content/posts/2024/74-winlink-on-android/android_emcom_thumb.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29e0968a86b7cb3747b0efb6942fea5f569cdfd23e0e5195a237e412e7162e44 +size 41633 diff --git a/content/posts/2024/74-winlink-on-android/index.md b/content/posts/2024/74-winlink-on-android/index.md new file mode 100644 index 0000000..19a7a54 --- /dev/null +++ b/content/posts/2024/74-winlink-on-android/index.md @@ -0,0 +1,96 @@ +--- +title: 74 winlink on android +summary: > + Howdy. + The thumbnail was created with Google AI (Imagen 3). +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