LinuxQuestions.org
Register a domain and help support LQ
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 03-13-2003, 12:13 PM   #1
C8H10N4O2
Member
 
Registered: Dec 2002
Location: Australia
Distribution: SuSE, Vector Linux
Posts: 51

Rep: Reputation: 15
Modem wont initialise


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.

Thanks.
 
Old 03-13-2003, 03:23 PM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
on my machine (mandrake 9) the modem sets to /dev/modem
but in fact is on /dev/tty0

once this is changed everything is fine
 
Old 03-13-2003, 04:02 PM   #3
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
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.
 
Old 03-14-2003, 06:43 AM   #4
C8H10N4O2
Member
 
Registered: Dec 2002
Location: Australia
Distribution: SuSE, Vector Linux
Posts: 51

Original Poster
Rep: Reputation: 15
I've already tried all of that. My modem is on /dev/ttyS1, I already have /dev/modem pointed that way. I've tried ajusting it anyway but neither works.

Besides when I get it wrong it tells me that the modem cant be found. I really dont understand, I've never had any problem connecting with other distro's.

Thanks anyway.
 
Old 03-14-2003, 05:02 PM   #5
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Have you checked to make sure that your module is loaded?

lsmod

If ppp_generic or whatever it's called (can't remember off hand), try typing

modprobe ppp

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.
 
Old 03-16-2003, 08:00 AM   #6
C8H10N4O2
Member
 
Registered: Dec 2002
Location: Australia
Distribution: SuSE, Vector Linux
Posts: 51

Original Poster
Rep: Reputation: 15
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?
 
Old 03-16-2003, 09:50 AM   #7
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
just a thought

is "wait for dial tone before dialing" checked?
tried unchecking it?

like i say, just a thought
 
Old 03-16-2003, 01:52 PM   #8
C8H10N4O2
Member
 
Registered: Dec 2002
Location: Australia
Distribution: SuSE, Vector Linux
Posts: 51

Original Poster
Rep: Reputation: 15
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.

http://www.iinet.com.au/support/linux/index.html
 
Old 01-26-2004, 06:06 PM   #9
ken_wood
LQ Newbie
 
Registered: Jan 2004
Location: Dublin Ireland
Distribution: Mandrake, Suse, Lindows
Posts: 2

Rep: Reputation: 0
Thumbs up

I assume you use dial up? In that case it would be worthwhile buying a serial modem, theyre cheap and qlways work with all linux distros. i use on Mandrake Suse and Lindows. Hope this is of some help
 
Old 01-26-2004, 06:12 PM   #10
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
looks like he is using a serial modem.
yes, look up your modems initilisation string, it looks like this is the problem.
 
Old 01-26-2004, 09:11 PM   #11
ken_wood
LQ Newbie
 
Registered: Jan 2004
Location: Dublin Ireland
Distribution: Mandrake, Suse, Lindows
Posts: 2

Rep: Reputation: 0
Is the moden itself working?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB does not initialise on startup unperson Linux - Hardware 1 11-11-2005 11:31 AM
Initialise inetd redneon Slackware 1 07-28-2005 11:53 AM
modem wont finalize kg4ysy Linux - Hardware 2 06-14-2005 11:06 PM
my modem still wont work greyfox007 Mandriva 2 03-31-2004 06:28 PM
Squid Can not initialise dpballey Linux - Networking 2 02-23-2004 11:35 PM


All times are GMT -5. The time now is 06:48 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration