Re: Dial-up modem 'No CARRIER'
(second try to post this)
:> > The laptop modem is dialing and exchanging with the ISP. Then, 24 times
:> > out of 25, all I get is 'NO CARRIER'. Very occasionally, I connect
:> > I'm on 2.3.13 etch.
I guess you mean 2.6.13... kernel version is quite important,
: Sorry, I posted before disappearing for the night, and realised I should
: have provided more info.
: The modem is:
: 0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
: Family) AC'97Modem Controller (rev 04) (prog-if 00 [Generic])
: Subsystem: Acer Incorporated [ALI]: Unknown device 007a
Ok, Intel AC97 modem. I guess you are using the snd-intel-8x0m kernel
module (or whatever it's called, I don't have access to my laptop ATM).
: I'm using sl-modem-daemon. My location is the UK, which is what I have
: selected in the sl-modem-daemon configuration.
I assume you use the ALSA method of the sl-modem-daemon. In this case,
the reason for your failures might be that the modem is not "off the
hook". See, the kernel/ALSA developers decided to add an additional
"off-hook" mixer control to the modem driver. This appeared in kernel
2.6.12. By default, this mixer control is muted which means that the
modem will just not work. You first have to take the modem "off the
hook", e.g. by running
alsamixer -D hw:1
If this shows an "off-hook" control, press "M" to unmute the control
and exit alsamixer. Afterwards, your modem should be able to connect.
At least this solution worked for me on an IBM ThinkPad R32 (2658BQG).
If you want to automate this, you can put a call to amixer into your
dial-scripts, or into the slmodem-startup-scripts... but I forgot the
exact syntax. Might be "amixer -D hw:1 sset Off-hook unmute".