Hi Thomas,

On Fri, Jan 24, 2025 at 06:48:08PM +0100, Thomas Anderson wrote:
> ip a ->
> 2: enp27s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000
>     link/ether 30:9c:23:b7:48:8c brd ff:ff:ff:ff:ff:ff
>     inet 192.168.1.6/24 brd 192.168.1.255 scope global noprefixroute enp27s0
>        valid_lft forever preferred_lft forever
>     inet6 fe80::329c:23ff:feb7:488c/64 scope link
>        valid_lft forever preferred_lft forever

Seems reasonable.

> cat /etc/network/interfaces

This file, for you, is basically empty (everything except "lo" is
commented out. I'm guessing you don't have anything special inside
/etc/network/interfaces.d/ directory, so networking is set up by
NetworkManager as we would expect.

NetworkManager can be configured both by GUI application and by command
line, which is useful when doing support over email like this.

Can you do:

$ nmcli connection show

and then of the ones shown, do a further

$ nmcli connection show THATNAME

where "THATNAME" is the name from the "NAME" column that seem relevant.
For you it's probably "enp27s0" or "default" or something.

As a workaround, if you know that your router should be 192.168.1.1 then
you can at each boot, as root, type:

# ip route add default via 192.168.1.1

and that will temporarily set the default gateway. But this should be
fixable in N-M settings.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

Reply via email to