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 05-28-2015, 03:44 PM   #1
Invarianz
Member
 
Registered: May 2015
Location: Germany
Distribution: Slackware_64-14.1 on an MSI GP60 2PE
Posts: 30

Rep: Reputation: Disabled
Question Question regarding the network configuration chapter of slackbook


Hello there,

so i decided to switch to Slackware because i wanted better control over my system as well as a deeper understanding on how Linux works.
That's why i'm reading the Slackbook as a reference for all configurations that need to be done.
I'm now at Network Configuration chapter and wanted to activate the Kernel module loading my ethernet card driver.
Slackbook suggests to uncomment the relevant device in the /etc/rc.d/rc.modules file. Since my device was not listed there and "netconfig" did not create the /etc/rc.d/rc.netdevice file i was sure that my ethernet network card is not recognized by the Kernel. The same goes with the Wlan configuration.
But now comes the twist:
If i start the x server with startx and load my KDE environment the ethernet as well as the wlan work flawlessly out of the box. How is this possible and where does the right device driver suddenly come from?
Do not get me wrong i do not want to be ungrateful that my network actually works but i would really love to know why!

Regards and thanks in advance for the fast answers!
 
Old 05-29-2015, 10:01 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,064

Rep: Reputation: Disabled
Hello and welcome to SlackLand,

the slackbook is slightly outdated on that respect: nowadays most network cards and wireless adapters are automatically recognized and the relevant modules automatically loaded at boot. Therefore the netconfig script no more creates a rc.netdevice file[1] as that task is performed by udev: in other words the card detection and loading of the relevant module is done by udev. But yes your ethernet network card is recognized, else you couldn't get a connection. The same goes for the wireless adapter.

This is easy to check: as root, type:
Code:
lspci -knn| grep -iA3 net
Also, a new configuration option "NetworkManager" is now available in netconfig, that comes handy because it can manage wireless connections in addition to wired ones. Probably that's what you rightly chose, that's why ethernet as well as the wlan work flawlessly out of the box.

[1]It can still, probing for network cards, but only if you uncomment the line that just contains "DONOTPROBE=true". I guess that few people need to do that nowadays.

Last edited by Didier Spaier; 05-29-2015 at 10:13 AM. Reason: footnote added.
 
Old 05-29-2015, 02:20 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
There is better documentation nowadays, in the SlackDocs Project: http://docs.slackware.com/slackware:...e_your_network
 
Old 05-29-2015, 05:20 PM   #4
Invarianz
Member
 
Registered: May 2015
Location: Germany
Distribution: Slackware_64-14.1 on an MSI GP60 2PE
Posts: 30

Original Poster
Rep: Reputation: Disabled
Thanks for the fast response! I will retrieve my information from the online documentation from now on. The explanation with udev was a great addition for further informations. Keep up the good work!
 
  


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
[SOLVED] facing problem in setting the network configuration in chapter 7.2 in LFS dragonprasad Linux From Scratch 11 02-19-2014 10:11 AM
[SOLVED] LFS 7.3 Chapter 7.2.2 Creating Network Interface Configuration Files DeeGee Linux From Scratch 23 07-03-2013 11:59 PM
[SOLVED] Help with network configuration in Chapter 7.2.2 of LFS 7.1 engineer Linux From Scratch 9 01-21-2013 08:11 PM
Ελληνική μετάφραση του Slackbook / Hellenic translation of Slackbook Panagiotis_IOA Slackware 6 08-29-2006 07:32 AM
Got a question about network configuration zikfreak Linux - Networking 2 08-19-2001 02:45 PM

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

All times are GMT -5. The time now is 08:47 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