Subj : Re: Networking Questions To : Avon From : Vk3jed Date : Fri Jun 18 2021 07:46 pm -=> On 06-18-21 16:19, Avon wrote to All <=- Av> 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? Av> Solved, ctrl-shift-v ... who knew? Not me :) Cool. :) Av> I see this Av> 1: lo: mtu 65536 qdisc noqueue state UNKNOWN Av> group default qlen 1000 Av> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 Av> inet 127.0.0.1/8 scope host lo Av> valid_lft forever preferred_lft forever Av> inet6 ::1/128 scope host Av> valid_lft forever preferred_lft forever Av> 2: enp4s0: mtu 1500 qdisc pfifo_fast Av> state UP group default qlen 1000 Av> link/ether 1c:6f:65:d7:70:04 brd ff:ff:ff:ff:ff:ff Av> inet 192.168.1.131/24 brd 192.168.1.255 scope global noprefixroute Av> enp4s0 Av> valid_lft forever preferred_lft forever Av> inet6 2001:470:c:123::200/64 scope global noprefixroute Av> valid_lft forever preferred_lft forever Av> inet6 fe80::1e6f:65ff:fed7:7004/64 scope link noprefixroute Av> valid_lft forever preferred_lft forever Av> My intended IPv6 address on this box is 2001:470:c:123::200 and you Av> will see it uses 192.168.1.131 as the local LAN IP. Av> The network card seems to be called enp4s0 and I think the system auto Av> creates that. There's no mention of it in the 'interfaces' file at all. Av> I tried setting this Av> # This file describes the network interfaces available on your system Av> # and how to activate them. For more information, see interfaces(5). Av> source /etc/network/interfaces.d/* Av> # The loopback network interface Av> auto lo Av> iface lo inet loopback Av> # some test settings to set ipv4 Av> auto eth0 Av> iface eth0 inet static Av> address 192.168.1.131 Av> netmask 225.255.255.0 Av> gateway 192.168.1.254 Av> # some test settings to set ipv6 Av> iface eth0 inet6 static Av> address 2001:470:c:123::200 Av> netmask 64 Av> gateway 2001:470:c:123::5 Av> You'll note I tried eth0 but this did not work... when i changed eth0 Av> to enp4s0 the OS booted but at the desktop it said I had no network Av> connection Av> It seems nutty how hard it is to set a static IPv6 address and desired Av> gateway and keep everything else working :( Here's the /etc/network/interfaces on my BBS machine. Multiple static IPs, the works. ;) Note the fe80: address for the default gateway. auto lo iface lo inet loopback iface eth0 inet static address 10.69.181.7 netmask 255.255.255.0 broadcast 10.69.181.255 auto eth0 iface eth0 inet6 static address 2001:44b8:4176:f101::7 netmask 64 gateway fe80::e228:6dff:fe92:8799 iface eth0:0 inet static address 202.12.89.164 netmask 255.255.255.240 gateway 202.12.89.161 broadcast 202.12.89.175 auto eth0:0 iface eth0 inet6 static address 2001:44b8:4176:f101::7 netmask 64 gateway fe80::e228:6dff:fe92:8799 iface eth0:0 inet static address 202.12.89.164 netmask 255.255.255.240 gateway 202.12.89.161 broadcast 202.12.89.175 auto eth0:0 iface eth0:1 inet static address 44.136.76.3 netmask 255.255.255.0 #gateway 44.136.76.1 broadcast 44.136.76.255 up route add -net 44.0.0.0 netmask 255.0.0.0 gw 44.136.76.1 dev eth0:1 auto eth0:1 iface eth0:2 inet static address 10.69.181.6 netmask 255.255.255.0 broadcast 10.69.181.255 auto eth0:2 iface eth0:2 inet6 static address 2001:44b8:4176:f101::6 netmask 64 gateway fe80::e228:6dff:fe92:8799 iface eth0:3 inet static address 202.12.89.162 netmask 255.255.255.240 gateway 202.12.89.161 broadcast 202.12.89.179 auto eth0:3 iface eth1 inet dhcp auto eth1 allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp Av> Any thoughts appreciated. Av> --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64) Av> * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101) .... Always address your elders with respect; they could leave you a fortune. === MultiMail/Win v0.52 --- SBBSecho 3.10-Linux * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109) .