-=> Vk3jed wrote to All <=-
Vk> I have a Debian 9 netbook here. Because I have an unusual setup
Vk> here, I need to use manual IP address configuration. I used the
Vk> default network manager to setup the static IPv4 and IPv6
Vk> addresses on the wifi interface. When I start the system, all
Vk> works fine, and the correct IPs and routing information as I
Vk> setup via the GUI are in place.
Vk> However, when there's a network upset (most probably due to the
Vk> router rebooting, or some other wifi disturbance), the static IPs
Vk> are gone and are replaced by a DHCP assigned IPv4 address. This
Vk> causes a number of issues, breaking connectivity with the BBS
Vk> that is running on the system.
Vk> In the good old days, I'd have done a total manual configuration,
Vk> and this would have stuck, but I decided to use the tools
Vk> provided for 2 reasons:
Vk> 1. To work with the new ways of doing things, rather than
Vk> figting the system.
Vk> 2. To simplify the configuration of the wifi (i.e. not having to
Vk> mess around with wpa-supplicant directly).
Vk> Anyone seen this behaviour? And better still, anyone have a
Vk> solution?
I'm not a Debian expert, but I do use a couple of Raspberry Pi's
running Raspbian (which is basically Debian Stretch). What has
always worked fine for me is to edit /etc/dhcpcd.conf and just add
the following block on to the end of the file:
interface wlan0
static ip_address=192.168.1.99/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
That's it. Obviously adjust IP's and maybe the interface name to
suit.
... Internal Error: The system has been taken over by sheep at line 19960
--- MultiMail/Linux v0.52
■ Synchronet ■ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
|