trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: April 2020

Re: [trinity-users] setting static ip in network

From: Felix Miata <mrmazda@...>
Date: Sat, 18 Apr 2020 16:27:41 -0400
Marvin Jones via trinity-users composed on 2020-04-18 14:00 (UTC-0600):

> Years go by between the times I install a new Ubuntu/Trinty.
> It is now time again -- this time to build a machine
> to replace my wife's antique Win XP.
 
> I just did the install with Trinity's CD image Ubuntu 18.02/Trinity 14.07.
 
> I want to set a static IP for the box -- and get rid of the DHCP crap.
 
> All the searching either shows
 
> Make changes to the /etc/netplan yaml file
> 	-- there isn't any - just an empty directory!
 
>  -or-
 
> "Click on top right network icon and select settings corresponding to
> the network interface you wish to assign with the static IP address."
> 	--- ya, well, this is Trinity.
 
> ..and, of course NONE of this resembles anything I remember from
> hacking my Ubuntu 16.04 with Trinity from a WAY LONG time ago.
 
> Could someone please point me where to start?

I really don't remember the official procedure for configuring Ubuntu networking,
but here's what may be all that you need to know from one of my many using static IP:

# inxi -Snxxza
System:    Kernel: 4.15.0-91-generic x86_64 bits: 64 compiler: gcc v: 7.4.0
           parameters: ro root=LABEL=<filter> net.ifnames=0 radeon.si_support=0 amdgpu.si_support=1 ipv6.disable=1
           noresume mitigations=auto consoleblank=0 plymouth.enable=0 vga=791 video=1440x900@60 
           Desktop: Trinity R14.0.7 tk: Qt 3.5.0 info: kicker wm: Twin 3.0 dm: TDM Distro: Ubuntu 18.04.4 LTS (Bionic Beaver)
Network:   Device-1: Marvell 88E8056 PCI-E Gigabit Ethernet vendor: SysKonnect driver: sky2 v: 1.30 port: d800 bus ID: 02:00.0
           chip ID: 11ab:4364
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.###.###
        netmask 255.255.255.0
        network 192.168.###.###
        broadcast 192.168.###.###
        gateway 192.168.###.###
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 192.168.###.###
        dns-search my.lan
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/