Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
a little more module help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
|the sys admin|
n00b
n00b


Joined: 19 Nov 2002
Posts: 42
Location: Michigan

PostPosted: Sat Dec 07, 2002 1:13 pm    Post subject: a little more module help Reply with quote

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
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Sat Dec 07, 2002 2:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sat Dec 07, 2002 2:45 pm    Post subject: Reply with quote

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
Code:
ls -R .... | more
or the more suffisticated
Code:
ls -R .... | less
(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
View user's profile Send private message
|the sys admin|
n00b
n00b


Joined: 19 Nov 2002
Posts: 42
Location: Michigan

PostPosted: Sat Dec 07, 2002 3:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
beek555
n00b
n00b


Joined: 05 Dec 2002
Posts: 11
Location: Austin, TX

PostPosted: Sat Dec 07, 2002 6:28 pm    Post subject: Reply with quote

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 :wink:
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sat Dec 07, 2002 7:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
|the sys admin|
n00b
n00b


Joined: 19 Nov 2002
Posts: 42
Location: Michigan

PostPosted: Sat Dec 07, 2002 7:47 pm    Post subject: Reply with quote

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 :D

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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sat Dec 07, 2002 10:33 pm    Post subject: Reply with quote

|the sys admin| wrote:
heheheh...It takes a lot to get on my nerves, and you're no wheres near it :D

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
View user's profile Send private message
mooman
Apprentice
Apprentice


Joined: 06 Nov 2002
Posts: 175
Location: Vancouver, WA

PostPosted: Sun Dec 08, 2002 5:42 am    Post subject: Reply with quote

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 :wink:


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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sun Dec 08, 2002 11:53 am    Post subject: Reply with quote

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
Code:
man grep
, 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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