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 01-15-2004, 07:20 AM   #1
B1TW1SE
LQ Newbie
 
Registered: Mar 2002
Location: Midlands, UK
Distribution: RedHat 9, Slackware 9.1, Fedora core 2
Posts: 23

Rep: Reputation: 15
How I got networking working on slack 9.1 with Kernel 2.6.1


Just thought this might be usefull to someone.

As a quick pre-amble I shall give you some history on my problem. As of 2 days ago I still considered myself a Linux newbie and a slave to M$. I decide to see what all this "complile you own kernel" and "Linux 2.6" is all about. I build myself a linux box using Slackware 9.1, get it up and running and download the kernel sources.

I compile the kernel, do the lilo dance and re-boot the machine. Everything looks fine until I notice that I can't ping anything, and ifconfig only shows a loopback adapter. NUTS.

OK, time to check the kernel configuration as I MUST have missed the NIC driver. Ahh, I have, so I compile it into the kernel and re-boot. Whats this, the kernel is too big and overlaps the lilo something or other??? a quick search on google ( from my still working 2.4.22 kernel, winners do backups! ) reveals that I forgot to do the lilo dance after I had re-compiled the kernel. I lilo dance the machine and 2.6 boots.... still with no networking. Some more searching on google seems to indicate the for some reason or another ( I am hoping someone can tell me why ) the 2.6 kernel is not loading the eepro100 module at boot. A quick edit of /etc/rc.d/rc.modules to remove the comment from:
#/sbin/modprobe eepro100
and a final re-boot, networking is finally working and I can type this from my 2.6.1 box.

Huzzah!

I hope this helps someone as all the other info I found while searching was quite cryptic. Now, can someone tell me why I had to do what I did to get the networking working?

PS. I have managed to learn how to use vi during all the fun and games, is there no better cmdline editor??
 
Old 01-15-2004, 08:23 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You had to do the "LILO dance" because when you changed the kernel, you had to add the new image to the bootloader (LILO). When you make changes to LILO, you must run the command lilo to have them saved.

You had to have the correct module for your NIC, because that is similar to a driver file in Windoze.

You can use pico from the command line interface. You cannot save the file you edit with pico unless you're logged in as super user (su), so su to root (type su and then give your password) before using pico. When you have a file open in pico, you will see the instructions at the bottom of the screen. As with most things in *nix, you can get more information from the manual pages on your comp by typing, for example ->
$ man pico

Welcome to LQ, *nix, and the world of open source software!
 
  


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
USB pendrive not working on kernel 2.6.8.1 (Slack 10.0) mmmm Slackware 7 02-16-2005 02:23 PM
Slack 9.1 Networking issue Diminished7th Linux - Networking 2 07-06-2004 12:56 AM
Networking Slack for N00BS? SaintBucky Slackware 1 03-05-2004 03:13 PM
Networking on Slack Linux_Inside Slackware 4 10-29-2003 10:15 AM
Slack 9.1 Networking donnyp02 Slackware 5 10-20-2003 12:30 AM

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

All times are GMT -5. The time now is 12:29 AM.

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