Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hardware Autodetection?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Cadmus
n00b
n00b


Joined: 25 Sep 2005
Posts: 2
Location: Edmonton AB, Canada

PostPosted: Sun Sep 25, 2005 9:30 pm    Post subject: Hardware Autodetection? Reply with quote

When I boot to the liveCD to install I noticed that it detects everything I have on boot, for example my wireless/wired ethernet etc. but when I boot to my new base install only things that I have setup properly work. The only reason this is a problem is because I can't seem to get my wireless card setup properly for the life of me.

What I was wondering is how do I make my new install detect and setup things like the liveCD boot? Is it a module or something that needs to be installed or is it just some kind of setting?

I am new to Gentoo and linux administration but not to computers so even if you can just give me a place to start (like the name of said module/setting/app) it would be really helpful.
_________________
Linux Noobie Supreme
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Sep 25, 2005 9:36 pm    Post subject: Reply with quote

The first thing that you need is the correct driver compiled into your kernel or as a module. In the first case, the driver will be loaded in the bootup automatically, since it is into your kernel.

If you compile it as a module, you can use coldplug to autodetect the hardware at boot time, and hotplug to do it automatically whenever any device is hotpluged while your system is up and running (for example when you turn on your usb printer). Of course, you need to know what is the correct driver for your device, and you need to change the relevant option(s) in your kernel and recompile it. Then emerge coldplug and hotplug and start them on bootup

Code:

emerge hotplug coldplug
rc-update add coldplug default
rc-update add hotplug default
/etc/init.d/coldplug start
/etc/init.d/hotplug start
Back to top
View user's profile Send private message
Cadmus
n00b
n00b


Joined: 25 Sep 2005
Posts: 2
Location: Edmonton AB, Canada

PostPosted: Sun Sep 25, 2005 9:58 pm    Post subject: Reply with quote

6thpink wrote:
The first thing that you need is the correct driver compiled into your kernel or as a module. In the first case, the driver will be loaded in the bootup automatically, since it is into your kernel.

If you compile it as a module, you can use coldplug to autodetect the hardware at boot time, and hotplug to do it automatically whenever any device is hotpluged while your system is up and running (for example when you turn on your usb printer). Of course, you need to know what is the correct driver for your device, and you need to change the relevant option(s) in your kernel and recompile it. Then emerge coldplug and hotplug and start them on bootup

Code:

emerge hotplug coldplug
rc-update add coldplug default
rc-update add hotplug default
/etc/init.d/coldplug start
/etc/init.d/hotplug start


I have the correct wireless driver compiled into the kernel but it didn't work on boot. I then set it up as eth1 and it tries to get an IP on boot but eventually fails, when I try to do anything with iwconfig it says the wireless card does not exist.

Is it possible to have my install work the same as the liveCD? (ie. auto detect and configure my devices on boot?)
_________________
Linux Noobie Supreme
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum