LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2004, 02:10 PM   #1
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
Modem installed successfully... questions on how I did it.


I just installed a modem in my RH9.0 linux machine and got it working almost without a hitch. I'm pretty impressed at how quickly it went. However, I didn't understand exactly what all was going on as a lot of it was automated and whatnot. Therefore, I have a couple general questions that this experience brought to mind...

1. When I installed the software for the modem, it installed the driver for it and associated it with the correct hardware. How would I go about doing this manually? In other words, how can you change/add/remove a driver for a given device?

2. How can you determine which file in the /dev directory represents the device you are looking for? And, inversely, how can you find which device a given file in the /dev directory represents (if any)?

3. Once the modem has made a connection to some other host (an ISP in my case), it then has a new alias in the networking scheme (ppp0 in my case). How is this determined? Can it be set manually? What exactly is the difference between the name ppp0 and the /dev/modem file?


Thanks in advance.
 
Old 08-12-2004, 02:18 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
1. I guess most of the "drivers" you use for devices are kernel modules, that are installed into the kernel (possibly at run time with modprobe). they can be added via

modprobe <modulename>
-OR-
insmod <modulename>

and removed with

rmmod <modulename>

to/from a running kernel. the other chance is that they are built in the kernel, so they're there all the time and this is useless.

2. you basically can't there are some rules, but they don't always be like that...like harddsik partitions are represented by the name hdaX where X is the number of the partition; hda1, hda2, hda3 and so on. tty's are one type of devices, and so on..the numbers after the names depend on how many devices of the same kind are plugged in and so on..but this thing is, too, changing all the time (devfs changing to udev or what was it called and that way...)

3. the /dev/modem represents your modem device. ppp0 means a point-to-point-protocol (ppp) link number 0 (zero), the first one you have opened. it's the way the connection is made, whereas /dev/modem is the device file telling about your modem (hardware)
 
  


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
xvid installed successfully but xine ... g-string 3 Linux - Software 2 08-16-2005 10:32 AM
Fedora Core 3 installed successfully etcetera Fedora 2 08-13-2005 05:36 AM
Successfully Installed Rhythmbox! THX75 Fedora 10 03-03-2005 02:28 PM
Successfully installed debian-how to add packages ninadb Linux - Newbie 2 09-15-2004 04:48 AM
Anyone successfully installed komba on rh73? Noerr Linux - Software 0 06-08-2002 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:00 PM.

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