Can I forward the WiFi hotspot to the local network to turn my PC into a WiFi access point?

I have an ethernet-enabled PC pretty far away from my router and I have poor WiFi reception in my room. I noticed the WiFi hotspot feature in GNOME Settings seems to have a firewall or something that separates any guest devices from the local network, so I can’t pick up on local IPs and it is masked from other network devices. Is there a way to make this hotspot into an effective WiFi access point and just simply forward to my local network to increase my WiFi range to this room? I’m fine connecting to it with a different network name as it is, I just want to be able to see local IPs and stuff. Thanks!

This is how it works for me:

WIFI_SSID="test-ap"
WIFI_PSK="12345678"
sudo nmcli connection add \
    connection.id ap \
    type bridge \
    ifname br0 \
    bridge.stp no
sudo nmcli connection add \
    connection.id lan \
    type ethernet \
    master br0
sudo nmcli connection add \
    connection.id wlan \
    type wifi \
    master br0 \
    wifi.mode ap \
    wifi.ssid "${WIFI_SSID}" \
    wifi-sec.pairwise ccmp \
    wifi-sec.key-mgmt wpa-psk \
    wifi-sec.psk "${WIFI_PSK}"
sudo nmcli connection up ap
sudo nmcli connection up lan
sudo nmcli connection up wlan

Be sure to disable/remove other connections to avoid race conditions.

1 Like

Thanks! I’ll give it a shot…

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.