Vk3jed wrote to All <=-
I have a Debian 9 netbook here. Because I have an unusual setup
here, I need to use manual IP address configuration. I used the
default network manager to setup the static IPv4 and IPv6
addresses on the wifi interface. When I start the system, all
works fine, and the correct IPs and routing information as I
setup via the GUI are in place.
However, when there's a network upset (most probably due to the
router rebooting, or some other wifi disturbance), the static IPs
are gone and are replaced by a DHCP assigned IPv4 address. This
causes a number of issues, breaking connectivity with the BBS
that is running on the system.
In the good old days, I'd have done a total manual configuration,
and this would have stuck, but I decided to use the tools
provided for 2 reasons:
1. To work with the new ways of doing things, rather than
figting the system.
2. To simplify the configuration of the wifi (i.e. not having to
mess around with wpa-supplicant directly).
Anyone seen this behaviour? And better still, anyone have a
solution?
On 05-26-19 08:22, Dan Clough wrote to Vk3jed <=-
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.
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 94 |
Nodes: | 16 (0 / 16) |
Uptime: | 09:53:31 |
Calls: | 5,138 |
Calls today: | 5 |
Files: | 8,491 |
D/L today: |
1 files (279K bytes) |
Messages: | 352,562 |