• Linux from scratch

    From Alan Ianson@1:153/757 to Maurice Kinal on Mon Jan 2 11:34:54 2023
    Hello Maurice,

    I just booted my first lfs build yesterday. Linux 6.1.2, bash 5.2.15 and a recent version of vim. What a beautiful thing.. :)

    I have no network support since I haven't yet installed a config in /etc/sysconfig. When booting and udev starts up I see it has loaded the e1001e module and that is what I need for network support. I just need to add a *.eth0 to setup the network (I think).

    The lfs website has an example config but it uses static IPs and mine is dynamic, my slackware setup gets the IP with dhcpcd but I don't see a network config file for it, so I'm not sure what it would look like.

    I wonder if I need to install and setup dhcpcd (beyond lfs talks about that) but I wonder if I can use the current setup to get my IP from dhcp?

    Any advice?

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Maurice Kinal@1:153/7001.2989 to Alan Ianson on Mon Jan 2 19:37:52 2023
    Hey Alan!

    I just booted my first lfs build yesterday. Linux 6.1.2,
    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

    What a beautiful thing.. :)

    Agreed. As far as I am concerned it is the absolute best thing that happened to any computer.

    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.

    but it uses static IPs and mine is dynamic, my slackware setup
    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.

    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)
  • From Andrew Alt@1:261/38 to Alan Ianson on Wed Feb 22 23:33:20 2023
    Alan Ianson wrote to Maurice Kinal <=-

    Hello Maurice,

    I just booted my first lfs build yesterday. Linux 6.1.2, bash 5.2.15
    and a recent version of vim. What a beautiful thing.. :)

    Looks like I missed the party (just going through some recent history from this echo now).

    But congrats, Alan!


    --
    -Andy
    Website: https://andy5995.github.io


    ... GitHub == Open Source == Microsoft == wtf?
    -+- MultiMail/Linux v0.52-c9c24da

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: Prism bbs (1:261/38)
  • From Alan Ianson@1:153/757 to Andrew Alt on Thu Feb 23 02:08:26 2023
    I just booted my first lfs build yesterday. Linux 6.1.2, bash 5.2.15
    and a recent version of vim. What a beautiful thing.. :)

    Looks like I missed the party (just going through some recent history from this echo now).

    I'm still partying, so feel free to join in!

    But congrats, Alan!

    I really like the lfs setup. I've thought of doing it for years but never got it done until recently, I never should have put it off.

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Alan Ianson@1:153/757 to Andrew Alt on Thu Feb 23 15:02:56 2023
    I really like the lfs setup. I've thought of doing it for years but
    never got it done until recently, I never should have put it off.

    Did you get modemu2k and minicom installed yet?

    Not yet but it is on my todo list. I need that terminal for zmodem and friends.

    I plan to grab the sources and patches from the slackware source tree for minicom and lrzsz. I had a look at the SlackBuild but I got lost in there so I need to sit down and work it out.

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Alan Ianson@1:153/757 to Andrew Alt on Fri Feb 24 04:12:06 2023
    I really like the lfs setup. I've thought of doing it for years but
    never got it done until recently, I never should have put it off.

    Did you get modemu2k and minicom installed yet?

    I did. I'm logged in with minicom now using modemu2k and just tested a couple downloads.

    Works like a champ!

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Andy Alt@1:103/705 to Alan Ianson on Sun Feb 26 14:22:00 2023
    Alan Ianson wrote to Andrew Alt <=-

    I really like the lfs setup. I've thought of doing it for years but
    never got it done until recently, I never should have put it off.

    Did you get modemu2k and minicom installed yet?

    I did. I'm logged in with minicom now using modemu2k and just tested a couple downloads.

    Works like a champ!

    Awesome!

    But I doubt I'll be maintaining modemu2k much longer. Syncterm is superior and I don't think
    I'll have the interest or motivation to implement ssh support for modemu2k.


    --
    -Andy
    Website: https://andy5995.github.io


    ... 2 + 2 = 5 for extremely large values of 2.
    --- MultiMail/Linux v0.52-c9c24da
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Alan Ianson@1:153/757.2 to Andy Alt on Sun Feb 26 14:57:52 2023
    Hello Andy,

    But I doubt I'll be maintaining modemu2k much longer.

    I'm not sure that anyone cares about such things anymore, but I do.

    I'm not sure there is much to be done with modemu2k now but I hope you can keep an eye on it.

    Syncterm is superior and I don't think I'll have the interest or motivation to implement ssh support for modemu2k.

    I have always had syncterm installed. It has always built and run for me even on the console but I haven't had success building syncterm here without xorg and friends.

    I have xorg and friends installed now so I'm sure I can get it done but minicom is working for me anyway.


    Ttyl :-),
    Al

    ... It doesn't work, but it looks pretty.
    --- GoldED+/LNX 1.1.5-b20230221
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.2)