Hi,
I would like to use a small unit running LMDE for capturing a Wifi signal (internet connection), and functioning as an access point for sending out that signal locally again, so other devices can connect to the internet. The unit has two WLAN adapters: one built-in, and one through a USB dongle.
Does anyone have advice on how I should go about to do this?
TIA
PS. I also plan to use the small device as a LAN file server.
Bridging Wifi signal
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Bridging Wifi signal
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Bridging Wifi signal
I am making some progress. I use the USB wifi dongle (wlan1) to capture the foreign network, and I can emit my own wifi network through the built-in wifi antenna (wlan0) using hostapd. Although for now, hostapd needs to be started manually, and when I connect through it, I can't yet reach the foreign wifi to which the USB dongle (wlan1) is connected. Actually, I still need to get the local DHCP server to work correctly. For some reason, it's not allocating an IP address to the device that connects to my Access Point.
Last edited by josefg on Tue Jan 19, 2016 3:46 pm, edited 1 time in total.
Re: Bridging Wifi signal
Sounds like you still need to bridge wlan0 to wlan1.
Would this Arch doc be of any assistance: https://wiki.archlinux.org/index.php/Network_bridge
iproute2 is on your LMDE2 machine, so I would look into those instructions.
As for the DHCP server, you have to make sure it is listening on the correct interface. It's been a VERY long time since I've had to deal with network bridging... and then it was going from parallel-line IP (PLIP) to a dial-up line!
Would this Arch doc be of any assistance: https://wiki.archlinux.org/index.php/Network_bridge
iproute2 is on your LMDE2 machine, so I would look into those instructions.
As for the DHCP server, you have to make sure it is listening on the correct interface. It's been a VERY long time since I've had to deal with network bridging... and then it was going from parallel-line IP (PLIP) to a dial-up line!
Re: Bridging Wifi signal
Thanks for the advice Ben.
Listening to the right interface solved the DHCP issue.
I'm still working on the bridging question. The instructions from the link to archlinux.org don't work as advertised on my system. I'll keep looking into it...
Listening to the right interface solved the DHCP issue.
I'm still working on the bridging question. The instructions from the link to archlinux.org don't work as advertised on my system. I'll keep looking into it...
Re: Bridging Wifi signal
The error I get whilst trying to bridge is:
Code: Select all
sudo ip link set wlan1 master mybridge
RTNETLINK answers: Operation not supported