[arm-allstar] Allstar - WiFi - static IP address
Doug Crompton
wa3dsp at gmail.com
Mon Apr 3 11:47:13 EST 2017
See 'man systemd.network'
DHCP=
Enables DHCPv4 and/or DHCPv6 client support. Accepts "yes",
"no", "ipv4", or "ipv6".
'no' is proper but I suspect none works because the first letter is 'n'
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Mon, Apr 3, 2017 at 12:08 PM, "Bryan St Clair via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
> I noticed that you have a difference in config examples for DHCP=no, vs
> DHCP=none
>
> I used =none and worked. Not sure if both syntax work, just a observation
> worth being aware of.
>
>
> On Apr 3, 2017 8:06 AM, David McGough via arm-allstar <
> arm-allstar at hamvoip.org> wrote:
>
>
> Hi John,
>
> You only need to edit the /etc/systemd/network/wlan0.network file, as you
> suggest. The file from one of my RPi3 based repeaters, as an example, is
> seen below....I run static IP addresses on all my systems, and I also use
> WiFi exclusively on my production RPi3 systems (currently controlling 7
> radios / repeaters). I've got no wired ethernet at all! With Ubiquiti
> access points, this config works flawlessly.
>
>
> ------------------------------------------------------------
> --------------------------
> ### Sample file: /etc/systemd/network/wlan0.network
> [Match]
> Name=wlan0
> [Network]
> DHCP=none
> Address=192.168.212.44/24
> Gateway=192.168.212.1
> DNS=127.0.0.1
>
> ------------------------------------------------------------
> --------------------------
>
> 73, David KB4FXC
>
>
>
>
> On Mon, 3 Apr 2017, "John Hoser-Smith via arm-allstar" wrote:
>
> > Doug,
> We have a requirement to assign a Static IP to the Raspberry Pi 3 - WLAN0
> Yes, we've already (correctly) configured the SSID and associated Password.
> Q.)  Do we need to edit any other files in addition to  Â
> /etc/systemd/network/wlan0.network   ?
> entire contents of   wlan0.network are below   (So a static IP
> requires DHCP=no and un-comment the lines below with our correct static
> TCP/IP static IP address????
> Am I missing anything?--pete
> [Match]Name=wlan0[Network]DHCP=yes#DNS=192.168.1.254#Address=
> 192.168.1.87/24#Gateway=192.168.1.254
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
More information about the arm-allstar
mailing list