Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I posted in the Network section but have no responses yet. I'm trying to connect to the internet with my 3Com serial internal modem (not a winmodem). It works great with Xandros but every other distro pretty much tells me when I try to connect the modem is busy. Never does begin to dial. Seems as if something else may be running in the background when booting up and using the modem. How can I check to see what's running in the background in my KDE GUI?? In WinXP the old Ctl-Alt-Del will pop up a task manager and you can check and close running applications. Is there something similar with Linux KDE to do the same?? Maybe I can close whatever seems to be using my modem. I can't remember which distro it was but a weather forecast window kept popping up and I'm sure was trying to access the internet?? Thanks!
For finding out what processes are running, and killing unwanted processes, try htop. Your distro probably has a package for this, if it's not currently installed on your computer. If not, you can download it and install it from http://htop.sourceforge.net/. Or try running top, which is the forerunner of htop.
I doubt that your modem problem is due to a weather applet trying to run, however. I'm assuming that the modem you speak of is a dial-up modem, and not a modem for adsl connections. And so, I'm assuming that you're using KPPP to try to set it up. Often when KPPP doesn't find a modem, it reports that it's "busy". My suggestion, then, is to explicitly state the modem device, and not leave it as the default "/dev/modem". Here are the Windows equivalents:
COM1 = ttyS0
COM2 = ttyS1
COM3 = ttyS2
COM4 = ttyS3
COM5 = ttyS4
So, do not leave the setting as "/dev/modem", but set it to "ttyS?" (replacing the "?" with the appropriate number.) If you don't know the correct number, try them all.
PS, if you are talking about an ADSL modem/router, well, that's a different kettle of fish.
Last edited by mark_alfred; 05-16-2006 at 12:22 PM.
Thanks for the reply and advice! Will give the htop or top command a try after I get home from work.
You're probably right about some program running in the background not causing my modem to say "busy"!! By the way it is a dial-up. What's strange is I've got it working on three or four different distro installs and every one of them has it running on different ttyS?? settings. I would think if the internal modem is installed on a specific PCI slot it would read the same on every system. On the distros I do NOT have my modem working, Linspire, aLinux, Suse10, and Mandriva I have tried every ttyS? setting there was. Seems the ones I can get it working on, Xandros, Fedora 4 & 5 have an automatic modem detector and finds it everytime. Not sure what that auto-detector does that I don't do manually. And the Fedora 5 modem detector found the modem on ttyS14. There is no such option on any of the manual installs, only goes as high as ttyS13!!
Oh well, nobody said Linux was going to be easy. Learning as I go, and trust me there's a lot to learn!!
I had a very similar problem years ago when I was using a dial-up modem. My modem was on /dev/ttyS4, but the detection only went up to /dev/ttyS3. I was told to open a terminal and su to root. Now, using your favorite editor (ie, gedit, or kwrite), open the following file:
Now add the following to this file:
pre-install serial rm /dev/modem
post-install serial ln -s /dev/ttyS14 /dev/modem
In your case I'm assuming /dev/ttyS14. If not, try other ones, like /dev/ttyS0.
Save the file and close your editor. Next, still as root, type in:
After that is run, reboot.
According to the people giving me this advice, it "tells modutils to run the specified commands during boot but this will happen after the autoconfig and therefore will override autoconfig." What exactly that means, I'm not sure, but it did work for me. In short, it was problems with the symlink. I first got this advice in a Mepis thread, at http://www.mepis.org/node/935. Granted, this advice is years old, and for Mepis; so, it may not work. The other suggestion I have is to check out forums specific to your distro. What is your distro?
Thanks again for the reply! I am new to Linux and just playing with many different distros. Am at work right now but here is a list of what I've experimented with to this point I think!!
Xandros 3.02--modem works great, autodetected
Mandriva 2006--modem worked once, now busy all the time!
Slackware 10.2--modem works
Fedora 4 & 5--modem works, autodetected by system-config-network
Mepis 4.3--modem busy or not recognized
Ubuntu 5.10--modem not recognized
Debian 3.1--modem not recognized
Lindrake ??--modem busy or not recognized
aLinux ??--modem busy or not recognized
PCLinux .92--modem busy or not recognized
Gentoo ??--modem busy or not detected
Suse 10--modem busy or not detected
This pretty well says what I've played with. Mostly using KDE GUI.
I did find a driver at USR for my modem in an .rpm format. I know this only works on certain distros, but might help detection process!!
No I haven't. Have read a little about it but not familiar. Do I have to install on most of these distros I've listed or is it normally pre-installed?? If I have to install, I'll have to do alot of reading to find which type file to use .rpm, etc and how to install. I believe this is a command run program, would prefer GUI such as KPPP, but if this works, might be the ticket. Is this going to tell me what Comm port and ttySx the modem is installed to? If so maybe I can use that info to program KPPP and get it to work.
My other suggestion is to just use Xandros, since it worked and found it hassle free - especially if you have either the deluxe or business edition. It's also pretty compatible with the Debian repositories, I think, and has good support.
When I first started, I used an open circulation release of the Corel Linux operating system, and it was fantastic. Corel was developed from Debian, and used KDE (which was rare for a Debian based distro at the time). The Corel OS had the best hardware detection of its time, and a very easy install. A lot of people knocked Corel, but I think it did a lot to change how people viewed the potential of Linux. When Corel withdrew from Linux, the OS was taken over by Xandros.
Probably will use the most user-friendly system, but having fun learning about Linux with the other distros I've tried. Will never learn unless you "break a few eggs"!!
Tried wvdial last night after work with my Fedora 5 setup. Scanned the ports and came back with a message saying it could not detect a modem. Really strange because when I got done scanning with wvdial I opened the Network Config program and dialed out on the internet with it! Guess there's no such thing as a sure bet!! The sytem-config-network program found my modem immediately!! Go figure!!
No I'm sorry I haven't! Been busy in my spare time reformatting my Linux hard drive to try and set up a multi-boot system. Have set up 7 5MB partitions and trying to get grub to recognize and boot any of them.
Will try your #5 suggestion tonight after I get home from work and see if it helps! Have lots to learn about Linux, but this is both challenging and fun! Thanks for all your help and suggestions!! Really appreciation the patience!