Subj : Re: Networking Questions
To   : All
From : Avon
Date : Fri Jun 18 2021 04:19 pm

On 18 Jun 2021 at 04:10p, Avon pondered and said...

Av> first hurdle... how do I now copy/paste text from a text editor into this
Av> terminal window running Mystic?

Solved, ctrl-shift-v   ... who knew? Not me :)

I see this

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
   inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
   inet6 ::1/128 scope host
      valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP group default qlen 1000
   link/ether 1c:6f:65:d7:70:04 brd ff:ff:ff:ff:ff:ff
   inet 192.168.1.131/24 brd 192.168.1.255 scope global noprefixroute enp4s0
      valid_lft forever preferred_lft forever
   inet6 2001:470:c:123::200/64 scope global noprefixroute
      valid_lft forever preferred_lft forever
   inet6 fe80::1e6f:65ff:fed7:7004/64 scope link noprefixroute
      valid_lft forever preferred_lft forever

My intended IPv6 address on this box is 2001:470:c:123::200 and you will see
it uses 192.168.1.131 as the local LAN IP.

The network card seems to be called enp4s0 and I think the system auto
creates that. There's no mention of it in the 'interfaces' file at all.

I tried setting this

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# some test settings to set ipv4

auto eth0
iface eth0 inet static
 address 192.168.1.131
 netmask 225.255.255.0
 gateway 192.168.1.254

# some test settings to set ipv6

iface eth0 inet6 static
  address 2001:470:c:123::200
  netmask 64
  gateway 2001:470:c:123::5


You'll note I tried eth0 but this did not work... when i changed eth0
to enp4s0 the OS booted but at the desktop it said I had no network
connection

It seems nutty how hard it is to set a static IPv6 address and desired gateway
and keep everything else working :(

Any thoughts appreciated.

--- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
* Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)