Subj : Linux from scratch
To : Alan Ianson
From : Maurice Kinal
Date : Mon Jan 02 2023 07:37 pm
Hey Alan!
AI> I just booted my first lfs build yesterday. Linux 6.1.2,
AI> bash 5.2.15 and a recent version of vim.
I just booted kv-6.1.2 early yesterday morning;
> :r !cat /proc/version | sed 's/^/ > /'
> Linux version 6.1.2 (root@motorshed) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39) #1 SMP PREEMPT_DYNAMIC Sun Jan 1 05:22:50 UTC 2023
AI> What a beautiful thing.. :)
Agreed. As far as I am concerned it is the absolute best thing that happened to any computer.
AI> I just need to add a *.eth0 to setup the network (I think).
Yes. On the three lfs systems here, there are two - eth0 and eth1. One is for static IPs on cable, the other for my wired private network. Also wireless hostapd but those are customized setups with their very own extra-special rc scripts. If you want to have a looksee at any of the /etc/sysconfig/ifconfig.eth? don't hesitate to ask and I can netmail then to you. However I think they are pretty straqight forward once you see them in action.
AI> but it uses static IPs and mine is dynamic, my slackware setup
AI> gets the IP with dhcpcd
Right. See
https://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpcd.html for all the gory details. It isn't installed by LFS so you'll need to add it following the BLFS instructions. Same with wpa_supplicant for automagic wireless configurations for client systems.
AI> I wonder if I need to install and setup dhcpcd
Yes you do. I think
https://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpcd.html is the answer to all your questions but if not I believe I have some insight that will take it over the top.
WARNING: LFS is extremely addictive.
Life is good,
Maurice
o- -o o- -o -o -o -o o- -o -o -o -o -o -o o- -o
/) (\ /) (\ (\ (\ (\ /) (\ (\ (\ (\ (\ (\ /) (\
^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^
... Fidonet 4K - Sweet Sixteen Penguins of the Apocalypse.
--- GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)
* Origin: One of us @ (1:153/7001.2989)