:: Re: [DNG] Post-install configuratio…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: terryc
Datum:  
To: dng
Betreff: Re: [DNG] Post-install configuration questions
On Tue, 7 Jan 2025 20:30:28 -0500
Walter Dnes <waltdnes@???> wrote:
......zip

> Two questions...
>
> 1) How do I properly uninstall (and purge) XFCE and then install
> ICEWM? The XFCE desktop comes up automatically at boot-up, so there
> seems to be some additional "behind-the-scenes" stuff going on.


I beleve it to be;
sudo apt install icewm
sudo apt purge xfwm4

>
> 2) How do I specify a fixed IP address. This is to allow ssh from my
> other machine, and scp files back and forth. Ideally, I'd like the
> /etc/hosts entry to be...
>
> 192.168.1.251  dev1.waltdnes.org       dev1


sudo vi /etc/network/interfaces

change

iface eth0 inet dhcp

to


iface eth0 inet static

and add/change

     address 19.168.1.251/16
     gateway 182.168.1.1  <- or whatever it is.


At one stage you also added
    dns-gateway 192.168.1.1, 192.168.1.3, 9.9.9.9   or whatever
    search waltdnes.org  <- your domain


But as it says in comment in that file, these have all shifted to the
resolvconf package, but if you have trouble getting stuff to work, you
can add them back in.

It is also a good idea to make sure your dhcp server do not offer any
fixed ip address.

YMMV, but I strip out the DHCP packages and have only my modem/router
offer a very restricted range of dhcp addresses.

Since almost everything here is static, I tended to allocate fixed IPs
in bands according to type of devices. YMMV






>