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 have just recently downloaded and installed Mandrake 9.0, and I would love it if not for one thing. I can't get online. I have used this same modem before to connect on a Red Hat machine so I just don't understand what's going on.
Using kppp my modem is detected automatically and set up nicely, my ISP's information is all entered and I click "connect". Then it says "Modem ready" and "Initialising" but nothing happens, it dosent initialise, it just times out and tries again and again but never works.
Does anybody have any idea how I might fix this? I contacted my ISP but they won't give any support for Linux.
Yes, double check your modem location. To find out what /dev/modem points to, type the following at command line (might have to be root):
ls -l /dev/modem
If your modem is like mine, it is located on /dev/ttyS3 (COM4 in Winspeak). Check to see whether kppp is pointing to /dev/modem or if it's pointed to /dev/ttyS*. If it's pointing to /dev/modem and /dev/modem does not point to /dev/ttyS*, then you can either tell kppp to look for /dev/ttyS* or you can create a symlink as root in command line:
ln -s /dev/ttyS* /dev/modem
where the * represents the correct number. Hope this helps.
Have you checked to make sure that your module is loaded?
If ppp_generic or whatever it's called (can't remember off hand), try typing
This might cause it not to work. Also, double-check to make sure that your Primary and Secondary DNS servers are listed as well as the DNS server name for your ISP and that it's correct in Kppp.
Also check to make sure your modem port speed is set to 115200. This can be found in the settings or setup of Kppp. This can cause you problems if not set correctly. Are you on a dedicated line? Plug a phone up to it and check for a dial tone just to make sure. Also, you might want to look into the modem itself. Mandrake may detect it properly, but it could be shot and not work as it should. Check the phone cord itself for any nicks or kinks as well. If none of this works, we'll have to figure out something else. Hope this helps.
I've now tried all that, and even tried installing Red Hat and giving that a go, same problem. The only difference now, from previous time's I've dialed in using Linux is that I'm on a different ISP. I know that they allow me to use Linux, so it's not that.
Now my Linux knowledge is literally zero but I was wondering. Could it have something to do with the initialisation string?
I seem to have now made some progress. While I still havent been able to get online I have been able to make the modem do something (I have no idea what). The following is a link to a page on my ISP's website explaining how to connect using Red Hat. I figured it probably applies to Mandrake too (if not I have a copy of Red Hat I can install) so I did everything it said to the letter, I didnt add or leave out a single space or punctuation mark. For the initialisation string I used "ATZ" because thats what kppp seemed to use by default.
Now when I dial in using Windows I can clearly hear my modem dial the number, and then all the weird noises while it connects. It's something I've heard so much that I easilly recognise it.
When I typed "pppd" in Linux, my modem did start making funny noises like it was connecting, but they were completly different to the noises it usually makes. When the noises stopped I tried opening a browser, but as far as it (and the many other internet apps I tried) was concerned, i wasnt online.
I decided to try something and plugged a phone into the same line as the modem and picked it up to listen. While I'm online in Windows I would hear a loud static noise if I do this. Now it was completly silent. No dial tone so Linux was obviously using the line - I just dont know for what.
Is there possibly an error in the support page that is causing it to come close but not quite work? Anybody know how I can fix it?
Thanks again for all the help so far, and for any anybody is able to give any about this.