0

I'm running Raspberry Pi (3B+) 9 (stretch) Wlan0 connected to WAN with network info stored in wpa_supplicant.conf.

I recently purchased an Wifi dongle in order to create a wireless access point from which an Arduino can connect and transmit data (temperature readings) in to the raspberry with a lightweight webserver. This secondary network does not need to be bridged with wlan0 (WAN), since its purpose is to only retrieve data from arduino.

I'm able to find several questions which addresses the issue of using the second wlan1 as a repeater or bridge to wlan0, but not as stand alone local network. Preferably i also want the network SSID to be hidden.

Any good solutions ?

  • 2
    Just follow this tutorial but leave out the routing and masquerade part. If you want to use systemd-networkd you could also follow this tutorial. – jake Aug 5 at 19:46
  • The first tutorial solved my problem. Thanks Jake – Adrianni Aug 11 at 17:49
0

Follow the normal dhcpcd setup for wlan0.

See How to set up networking/WiFi

The Foundation Access Point tutorial should explain how to configure the second interface.

interface wlan1
    static ip_address=192.168.4.1/24
    nohook wpa_supplicant
  • Thank you for your reply. Jake's reply in question post solved my problem. – Adrianni Aug 11 at 17:51
0

For a simple setup you can use an Access point as WiFi router/repeater with additional WiFi-dongle. It uses systemd-networkd so you do not need any additional software. The setup is called a router/repeater but it is no problem to disable routing. In file /etc/systemd/network/08-wlan0.network there is an option IPForward=yes. Simply just comment it and you do not have a WiFi router/repeater anymore, just an access point and a client connection to your internet router.

  • Thank you for your reply. I had some issues using this setup and ended up using Jake's reply in OP. – Adrianni Aug 11 at 17:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.