| View previous topic :: View next topic |
| Author |
Message |
|the sys admin| n00b


Joined: 19 Nov 2002 Posts: 42 Location: Michigan
|
Posted: Sat Dec 07, 2002 1:13 pm Post subject: a little more module help |
|
|
Okay, brand new install last night and today. Now I am trying to figure out what modules I have to load up.
I run "ls -R /lib/modules/2.4.19-gentoo-r10" and the text flies by before I can see anything.
IS there anyway to tell it to display ONE line and wait for me to hit the space bar or something before displaying the next line?? _________________ Resistance Is Futile, Computers Rule! |
|
| Back to top |
|
 |
really Guru


Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Sat Dec 07, 2002 2:08 pm Post subject: |
|
|
dont you know what modules you compiled in?
list /lib/modules/version/kernel/drivers/
just load your soundcardsmodules if you havem as modules and load the networkmodules if you dont have it in kernel, if all your hardware works then what more do you need? if you need ide-scsi load modprobe sg sr_mod and such if you have a vfat partition modprobe vfat when you like....
just load everything you need and put it in /etc/modules.autoload if you want to....
you dont _need to load modules for example a networkcard you dont have. _________________ NoManNoProblem
Get lost before you get shot. |
|
| Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Sat Dec 07, 2002 2:45 pm Post subject: |
|
|
Well you are one hell of a sysadmin, never hurt of piping to more (it even works on DOS) , .
I guess you've done update-modules and I hope you know what drivers too load for your hardware, seeing you have so much modules, I'm afraid you've compiled every driver as a module (you don't need to you know) well anyway about your question, you could try or the more suffisticated (you can go back and forth and search etc.
Cya lX _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
| Back to top |
|
 |
|the sys admin| n00b


Joined: 19 Nov 2002 Posts: 42 Location: Michigan
|
Posted: Sat Dec 07, 2002 3:31 pm Post subject: |
|
|
Hey....thanks for the help guys.
No, I didn't compile everything as a module, but I did make sure that if I may need it, it was either compiled as a module or built in. As I understand it, modules can be told not to load (commenting out the line?) so that I can diagnose problems.
Also...my alias "|the sys admin|" is just my alias...and my future profession if high school goes weel and college goes well and I manage to soak up all the knowledge  _________________ Resistance Is Futile, Computers Rule! |
|
| Back to top |
|
 |
beek555 n00b

Joined: 05 Dec 2002 Posts: 11 Location: Austin, TX
|
Posted: Sat Dec 07, 2002 6:28 pm Post subject: |
|
|
If you know what you're looking for, you can also pipe to grep
| Code: | | ls -R | grep [keyword] |
to filter out everything else. Basic knowledge, but as long as we're trying to make a sysadmin out of you, I thought I'd add it on  |
|
| Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Sat Dec 07, 2002 7:18 pm Post subject: |
|
|
I hope I didn't offended you, but I was only kidding, .
You can load / unload modules using modprobe and modprobe -r respectivly.
Cya lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
| Back to top |
|
 |
|the sys admin| n00b


Joined: 19 Nov 2002 Posts: 42 Location: Michigan
|
Posted: Sat Dec 07, 2002 7:47 pm Post subject: |
|
|
| lx wrote: | I hope I didn't offended you, but I was only kidding, .
You can load / unload modules using modprobe and modprobe -r respectivly.
Cya lX. |
heheheh...It takes a lot to get on my nerves, and you're no wheres near it
I'm here to learn, hopefully like everyone else. I know enough of Windows (mod at ieXbeta.com if anyone visits there) and I wish to expand my horizons. Especially with DRM technology and Palladium on it's way  _________________ Resistance Is Futile, Computers Rule! |
|
| Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Sat Dec 07, 2002 10:33 pm Post subject: |
|
|
| |the sys admin| wrote: | heheheh...It takes a lot to get on my nerves, and you're no wheres near it  |
I like a challenge, the heat is on, hehehehe,
| |the sys admin| wrote: | (mod at ieXbeta.com if anyone visits there) and I wish to expand my horizons. Especially with DRM technology and Palladium on it's way  |
I salute you, . Hope you find a home in gnu/linux, so you can leave the Windows domain.
Cya lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
| Back to top |
|
 |
mooman Apprentice


Joined: 06 Nov 2002 Posts: 175 Location: Vancouver, WA
|
Posted: Sun Dec 08, 2002 5:42 am Post subject: |
|
|
| beek555 wrote: | If you know what you're looking for, you can also pipe to grep
| Code: | | ls -R | grep [keyword] |
to filter out everything else. Basic knowledge, but as long as we're trying to make a sysadmin out of you, I thought I'd add it on  |
Actually, let me add to this. The two flags for grep that any salt-worthy sysadmin (or poweruser) should know about are:
grep -i pattern - case insensitive search.
grep -v pattern - inverts search and displays every line that doesn't match the pattern. _________________ Linux user off and on since circa 1995 |
|
| Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Sun Dec 08, 2002 11:53 am Post subject: |
|
|
| mooman wrote: | sysadmin (or poweruser) should know about are:
grep -i pattern - case insensitive search.
grep -v pattern - inverts search and displays every line that doesn't match the pattern. |
Well it's better to know , especially if your used to windows, cause I never read any manual, I just figured it out by myself, but on gnu/linux I found out that reading the manuals (and having them at hand) is easy (especially if you know typing "/searchterm" and using n to find the next item). But I'm sure he'll finds his way around,
Cya lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
| Back to top |
|
 |
|