LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-16-2022, 06:03 PM   #1
aonate
LQ Newbie
 
Registered: Aug 2022
Posts: 3

Rep: Reputation: 0
Basic network configuration


Hello,

I'm doing a university project, I need to install the basic N series packages to be able to connect to the internet.

Could someone tell me what these packages are, please.
 
Old 08-16-2022, 07:35 PM   #2
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
https://mirrors.slackware.com/slackw...slackware64/n/

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)

Last edited by !!!; 08-18-2022 at 10:01 AM.
 
Old 08-16-2022, 09:21 PM   #3
ethelack
Member
 
Registered: Mar 2021
Location: New Zealand
Distribution: Slackware
Posts: 82

Rep: Reputation: Disabled
'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.

ca-certificates dhcpcd gnupg gnutls iproute2 iptables iputils libmnl links lynx net-tools nettle network-scripts openssh openssl pam-krb5 wget
 
2 members found this post helpful.
Old 08-17-2022, 12:51 AM   #4
henca
Senior Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 1,012

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
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.

regards Henrik
 
Old 08-17-2022, 04:19 AM   #5
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Well I only got a few of them from /n/ like these packages I modified and/or upgraded manually:
Code:
ca-certificates-20211216-noarch-1
curl-7.81.0-x86_64-1
cyrus-sasl-2.1.27-x86_64-7
dnsmasq-2.86-x86_64-1
gnutls-3.7.2-x86_64-1
iptables-1.8.7-x86_64-3
openssl-1.1.1m-x86_64-1
wget-1.21.2-x86_64-1
And these few are stock DVD packages currently:
Code:
conntrack-tools-1.4.6-x86_64-3
ebtables-2.0.11-x86_64-3
gnupg-1.4.23-x86_64-4
iputils-20211215-x86_64-1
libgcrypt-1.9.4-x86_64-1
libgpg-error-1.44-x86_64-1
libmnl-1.0.4-x86_64-5
libnetfilter_acct-1.0.3-x86_64-4
libnetfilter_conntrack-1.0.8-x86_64-3
libnetfilter_cthelper-1.0.0-x86_64-4
libnetfilter_cttimeout-1.0.0-x86_64-4
libnetfilter_log-1.0.2-x86_64-1
libnetfilter_queue-1.0.5-x86_64-3
libnfnetlink-1.0.1-x86_64-4
libnftnl-1.2.1-x86_64-1
net-tools-20181103_0eebece-x86_64-3
nettle-3.7.3-x86_64-1
nftables-1.0.1-x86_64-1
nghttp2-1.46.0-x86_64-1
p11-kit-0.24.1-x86_64-1
tcpdump-4.99.1-x86_64-1
traceroute-2.1.0-x86_64-4
FWIW the rest of /n/ are fully optional on my system.
 
Old 08-17-2022, 05:30 AM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,474
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
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:

n/iproute2
n/iputils
n/libmnl
n/net-tools
n/network-scripts

That gives you everything you need, and without DHCP you'll have to set an IP address manually.
 
1 members found this post helpful.
Old 08-17-2022, 01:16 PM   #7
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
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!!!

Last edited by !!!; 08-19-2022 at 09:27 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ghost is very basic. VERY BASIC LXer Syndicated Linux News 0 11-16-2013 08:41 AM
Basic Very Basic ? Helen Hatton Linux - Newbie 12 01-04-2009 03:57 PM
GnuCash, KMyMoney - basic, basic questions - please help if you can. brjoon1021 Linux - Software 3 10-20-2008 06:27 PM
Basic Network and Gatework Configuration HELP!!! mudelf Linux - Networking 3 09-23-2003 10:57 AM
I'm a BASIC chap, looking for some info on BASIC programming CragStar Programming 2 01-21-2001 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration