LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-01-2006, 11:21 AM   #1
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
slmodem and "no dialtone"


Hi,
I have a Toshiba Satellite M70 with an slmodem. Kanotix comes with slmodem, which I'm using. I've been able to run slmodem and it creates the link /dev/ttySL0. However, if I try to connect using either wvdial or kppp, it always gives me "no dial tone" although I'm sure that the modem is working as I dual-boot and windows can use the modem without any problems.

Here's the output of my attempt at connecting:

root@Kano:~# wvdial
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT&F
AT&F
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT3660077
--> Waiting for carrier.
ATDT3660077
NO DIALTONE
--> No dial tone.
--> Disconnecting at Sat Apr 1 14:17:18 2006

My wvdial.conf file is as follows:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Password = a
Phone = 3660077
Modem Type = Analog Modem
Baud = 460800
New PPPD = on
Modem = /dev/ttySL0
Init = AT&F
ISDN = 0
Username = a
Carrier Check = no

Thank you for your help (PS. I don't need a username / password but I set them to a and a).
 
Old 04-01-2006, 11:54 AM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
If your slmodem driver is a 2.9.x version you need to start the daemon in a terminal before the dialer will work.

Quote:
slmodemd /dev/ttySL0
Note: don't try putting it in a script to run at startup.
 
Old 04-01-2006, 11:54 AM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
slmodem has been a pain on the notebook at some time or other depends on kernel and slmodem version. Read over this post and see if you can manually off-hook the modem. Once the /dev/ttySL0 is active goto your alsamixer or aumix or kmix. In alsamixer you will need to issue the command as ' alsamixer -c1 ' for the second sound device which is what the modem is using slmodem. Same for others I believe. Just run ' man aumix ' for help.

Once you have it open, one should be called hook or something. Toggle it by hitting the M key. If no dailtone check volume in the other list. Note not all behave this way I have seen not list a volume level in that subchannel.

Also you have the baud at 460800. It needs to be 115200. And also no hardware carrier as well. Software xon/xoff is okay I beleive. Its been a while since I found a small external pocket modem to use on the notebook or use my cell phone as a modem as well.

Brian1


Brian1
 
Old 04-03-2006, 03:29 AM   #4
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
Thanks Brian1. I tried it out but it still didn't work. I then rebooted and tried it out again again and it worked. I'm going to try reboot / hibernating my machine and see if it still works
 
Old 04-03-2006, 03:52 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Glad to be of help. Not sure what became the issue. Only real change on my system is the kernel. Maybe the slmodem drivers need updated for new kernels. Some big changes since 2.6.14 has been going on.

Brian1
 
Old 04-03-2006, 05:23 PM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
That does seem to be true. The 2.9.10 driver worked for me from 2.6.11 through 2.6.14. When I upgraded to 2.6.15 it wouldn't build anymore. I had to find the 2.9.11 driver.
 
Old 04-08-2006, 04:17 AM   #7
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
Unfortunately, it doesn't seem to be working I tried using both alsamixer -c1 and also kmix and I set the hook on in both of them as well as the modem speaker. However, I noticed something strange. Right after it dials and fails and gives me the "no dialtone" message, I noticed that it reset the alsamixer settings and that the hook is turned off as well as the modem speaker. Any ideas? Thanks for your help.
 
Old 04-13-2006, 03:51 AM   #8
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
Any ideas why these settings are being modified whenever it tries to connect and possibly being the reason that it keeps giving me "No Dial Tone"?
 
Old 04-16-2006, 03:32 PM   #9
milanc
LQ Newbie
 
Registered: Apr 2006
Posts: 27

Rep: Reputation: 15
wvdial has problems with waiting for slmodem dial tone...

You can try the soution at linmodems.technion.ac.il/travelmate800.ubuntu.slmodem.html
Well, to sum up the whole thing: it says you should use the line "Init2 = ATQ0 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

(X3 makes wvdial dial without waiting for the dial tone...)

I hope it will help...
 
Old 04-16-2006, 03:35 PM   #10
milanc
LQ Newbie
 
Registered: Apr 2006
Posts: 27

Rep: Reputation: 15
oops sorry i didn't read the whole thing very well...
i should first learn to read, then write, then answer on forums!

Last edited by milanc; 04-16-2006 at 03:37 PM.
 
Old 04-19-2006, 04:11 AM   #11
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
Just a quick update. It seems that I've been able to get it back and working. Basically, I don't do anything with alsamixer. I just rmmod snd_intel8x0m and modprobe it and then run the slmodem daemon. This seems to be especially true if you're coming out of hibernation (swssus) (1) kill the slmodem daemon 2) rmmod 3) modprobe 4) restart the daemon 5) kppp). I had read somewhere that it has to be loaded after snd_intel8x0, so it should work if you rmmod and then modprobe. Also, if it tells you that snd_intel8x0m is busy, it's usually firefox (from my experience), so close firefox and try again. I'm posting now from a dial-up connection.
 
  


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
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 01:03 AM
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"No Dialtone " -Netodragon modem polytropos Linux - Hardware 4 08-31-2007 10:01 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:22 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