SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Edit: See #3 & ignore all the following, because I didn't realize the OP meant 'minimum' by the word 'basic', sorry. (I was focused on the philosophy of: simply 'install everything', to avoid any possible dependency issues.)
Note that you can click on the .txt and/or Details link, to get more information on each.
P. S. Welcome to LQ, the official forum for slackware. There are tons of very nice 'slackers' (users) here!!!
Best wishes in your college project. Feel free to tell us more, and to ask questions. It would be real cool to hear of a school using slackware to teach 'true' Linux
Edit, added the next day. (Maybe OT so not a new post)
IF you're interested in the extreme minimal Linux distro, with just a single executable busybox, have a look at mll. I run it in virtualbox, and it uses just the udhcpc 'applet'. (See its /etc/autorun/20_network.sh) It's designed to be rebuilt from scratch!!! (but I must confess to the ultimate catb.org FAQ sin of being too lazy to even begin reading the few pages on how to: do it simply. Or maybe it's my five second attention span that's only long enough to read a single switch LOL)
'N' packages required for a functioning basic install using dhcpd not NetworkManager, when you run the "netconfig" tool select the configuration for a dhcp network.
You will need to consider what you mean with "connect to the internet".
The net-tools package might be enough if you only want to be able to set a static ip-address and a default route.
If you want to do more than just ping ip-adresses on the internet you might also want the network-scripts package which will give you a /etc/resolv.conf which you can configure for DNS lookups of hostnames.
If you want to run a web browser like firefox you will need packages outside the n-series, but you have probably already figured that one out.
Usually, the way to install Slackware is to do a full install instead of trying to figure out what packages are missing and what functionality you did not install.
It is highly recommended that you run a full installation, particularly if you're new to Slackware and don't have the experience to know which packages you need.
With that said, you can get basic networking with just these packages:
None!!! (I think this might be like how the mini.iso works)
IF interested, give this answer a try. I tested it and it works (on my N00b new beautiful slackware install)
booting with the kernel parameter: single (run-level 1; I haven't [yet] tried a [Vbox] install of Slackware without the N set)
Code:
cd /boot/initrd-tree # kinda like mll distro!!!
sbin/ifconfig eth1 up # this is a link to busybox, and my device is eth1, not 0
# or: ip link set eth1 up # again, YOU probably have eth0
sbin/udhcpc -i eth1 -v # probably no switches are needed, for you. See --help
sbin/ip addr add <$ip udhcpc got>/<$mask again from udhcpc> dev eth1 # or 0 etc.
# or deprecated ifconfig eth<#> <IPaddr> up
sbin/ip route add default via <$router> dev eth1 # or deprecated route command
# see mll's /etc/05_rc.dhcp .... I think udhcpc passes those variables!!!
ping -c 2 8.8.8.8 # worked for me
# echo 'nameserver 8.8.8.8' > /etc/resolv.conf
# ping LQ.org # works!!! DONE!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.