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 04-10-2012, 09:07 PM   #1
steviebob
Member
 
Registered: Jan 2010
Location: Arkansas
Distribution: Slackware-Current, LFS
Posts: 136

Rep: Reputation: 16
Compiled custom kernel; Network devices don't show up?


Hi all, I just compiled a custom kernel on this laptop.

I used the configuration file from the old kernel, and disabled some things I didn't need (like bluetooth and pcmcia card support, this laptop has neither), ran make, make modules_install and make bzImage, installed the kernel etc etc.

Everything went fine and dandy, but when I type ifconfig or iwconfig when using said kernel, it doesn't show wlan0 or eth0.

I played around with /etc/rc.d/rc.inet1.conf and got eth0 to show up and work, but I can't for the life of me get wlan0 to show.

Any ideas?

~Steve
 
Old 04-11-2012, 04:22 PM   #2
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 308

Rep: Reputation: 287Reputation: 287Reputation: 287
What wireless adapter is in your laptop, and which original/new kernels are you using?
 
Old 04-11-2012, 04:48 PM   #3
Dman58
Member
 
Registered: Nov 2010
Location: The Danger Zone
Distribution: Slackware & everything else in a VM
Posts: 294

Rep: Reputation: 31
Probably have to load the kernel module for you particular adaptor which is . . . Only you know that one. Then alias it to wlan0 or what have you then make it perminent by adding it in your init script.
 
Old 04-11-2012, 05:09 PM   #4
steviebob
Member
 
Registered: Jan 2010
Location: Arkansas
Distribution: Slackware-Current, LFS
Posts: 136

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by CTM
What wireless adapter is in your laptop, and which original/new kernels are you using?
I'm using an Atheros 5001 wireless adapter. I have the stock kernel that comes with Slackware 13.37 and the new one is the newest one from kernel.org, 3.4-rc2

Quote:
Originally Posted by DMAN58
Probably have to load the kernel module for you particular adaptor which is . . . Only you know that one. Then alias it to wlan0 or what have you then make it perminent by adding it in your init script.
I told the kernel to compile the module into the kernel itself. Then I recompiled it as a regular module, loaded it and it still didn't work. eth0 is showing up (the actual ethernet port on the side of the laptop) but wlan0 still doesn't show, even though it's right there when I check for it with lspci.
 
Old 04-11-2012, 06:13 PM   #5
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
Quote:
even though it's right there when I check for it with lspci.
Did you tried to use wicd ore something similar? A don't know much about Atheros chips, but it is possible problem in firmware. A have had similar problem on stock Slackware64 13.37 kernel with broadcom adapter(i.e lspci showed module b43 is loaded, but interface is unconfigurable), then I tried to use wicd - without success. Then I examined /var/log/syslog and found error entries about missing firmware. Installed firmware and interface began to work flawlessly(w/o wicd).
 
Old 04-12-2012, 02:57 PM   #6
steviebob
Member
 
Registered: Jan 2010
Location: Arkansas
Distribution: Slackware-Current, LFS
Posts: 136

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by FeyFre View Post
Did you tried to use wicd ore something similar? A don't know much about Atheros chips, but it is possible problem in firmware. A have had similar problem on stock Slackware64 13.37 kernel with broadcom adapter(i.e lspci showed module b43 is loaded, but interface is unconfigurable), then I tried to use wicd - without success. Then I examined /var/log/syslog and found error entries about missing firmware. Installed firmware and interface began to work flawlessly(w/o wicd).
Yes I did. I used wpa_gui to see if anything was connecting and-- what do you know, "wpa_supplicant not loaded". Console, "wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf", error about wlan0 not existing. :/
 
  


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
compiled custom kernel, 3 questions Daedra Slackware 5 02-15-2008 06:04 AM
kernel panic while booting custom compiled 2.6.24 kernel on RHEL 4 AS samkraju Red Hat 4 02-10-2008 12:55 AM
custom compiled kernel 2.6.21.1 and rc.modules matters Slackware 14 05-18-2007 08:56 AM
Just compiled a custom kernel no sound. Royle Debian 5 01-23-2005 05:10 AM
Updating a custom-compiled kernel mooreted Linux - Software 2 03-01-2004 09:55 AM

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

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