[Ping sktsee] Re: Agere WinModem 56k on Thinkpad - Working!

NoOp glgxg at sbcglobal.net
Sat Jul 9 03:42:08 UTC 2011


On 02/26/2008 03:54 PM, sktsee wrote:
> 
> On Tue, 2008-02-26 at 11:47 -0800, NoOp wrote: 
>> On 02/26/2008 09:33 AM, NoOp wrote:
>> > On 02/25/2008 07:51 PM, sktsee wrote:
>> > 
>> >> 
>> >> Just curious, but does your Agere modem have the Mars DSP chip? The PCI
>> >> ids for these models would be in the range of 11c1:0440 thru 11c1:045d.
>> >> (might also have Xircom vendor id of 115d:) This series has a supported
>> >> driver in linux that works with SMP capable kernels, unlike the ltmodem
>> >> an ltserial driver. If your modem pci id falls into the range listed
>> >> above, and you want try out the "martian" driver with the generic
>> >> kernel, you can get it here:
>> >> http://martian.barrelsoutofbond.org/
>> >> 
>> >> I've used it since feisty and it works well pretty well.
>> >> 
>> > 
>> > Thanks! I'll look into that and give it a try.
>> > The laptop is showing 11c1:0449. The one in my desktop is showing
>> > 11c1:044f (can't get that one to break dialtone yet - works fine in
>> > WinXPPro).
>> > 
>> > 
>> 
>> martian works on the laptop with the generic kernal - even did a reboot
>> to make sure, thanks!
>> 
>> Interesting though that it needs to be run as root (sudo anyways). I
>> also like using the gnome-ppp GUI so I guess I'll need to write a script
>> to start martian_modem (sudo martian_modem) and then gnome-ppp (gksu
>> gnome-ppp).
>> 
>> Now I'll try it on the desktop later and see if I can get it working
>> there. Thanks again sktsee :-)
>> 
> But wait, there's more! :)
> Attached is the martian init script to run martian_modem as a daemon. I
> made a slight modification to the command line to enable logging and to
> set the permission to 660 on /dev/ttySM0 and changed the group ownership
> to "dialout". I then copied it to /etc/init.d, and did an "sudo
> update-rc.d martian start 45 2 3 4 5 . stop 55 0 1 6 ." to update the
> links.
> 
> Only drawback to using it this way is that the martian_modem helper
> program puts a 5-7% continuous load on the CPU while connected, dropping
> down to a 2-4% load while disconnected. For the desktop machine, it
> won't matter so much, but for the laptop it can be a concern in a low
> battery situation. Of course, you can always stop the service to save on
> battery life.

After all this time I finally got the desktop modem to break dialtone &
dial. Original thread:
<http://comments.gmane.org/gmane.linux.ubuntu.user/137305>

On 10.10 maverick, I did a make install of martian-full-20100123.tar.gz,
purged martian-modem & reinstalled martian-modem and:
$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3
WvModem<*1>: Cannot get information for serial port.
ttySM0<*1>: ATQ0 V1 E1 -- OK
ttySM0<*1>: ATQ0 V1 E1 Z -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySM0<*1>: Modem Identifier: ATI -- LT V.92 Data+Fax Modem Version 8.30
ttySM0<*1>: Speed 4800: AT -- OK
ttySM0<*1>: Speed 9600: AT -- OK
ttySM0<*1>: Speed 19200: AT -- OK
ttySM0<*1>: Speed 38400: AT -- OK
ttySM0<*1>: Speed 57600: AT -- OK
ttySM0<*1>: Speed 115200: AT -- OK
ttySM0<*1>: Speed 230400: AT -- OK
ttySM0<*1>: Speed 460800: AT -- OK
ttySM0<*1>: Max speed is 460800; that should be safe.
ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Modem dials & connects gets carrier from the remote modem.
gnome-ppp log indicates it's problem with password (username & password
are correct):

-> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Please enter password (or empty password to stop):
--> Sending: ATM1L3DT[snip]
--> Waiting for carrier.
ATM1L3DT717-2412
CONNECT 48000 V42bis
--> Carrier detected.  Waiting for prompt.
--> Connected, but carrier signal lost!  Retrying...
--> Sending: ATM1L3DT[snip]
--> Waiting for carrier.
STATION ID - sjoca07rs08pr004,sfoca44ev
Welcome
Please Sign-on:
ATM1L3DT717-2412
Please Sign-on:
Name, password pair incorrect
Please Sign-on:
Name, password pair incorrect
Please Sign-on:
Login failed, reason = (-180,sfoca44ev,1310181922-000,sjoca07rs08pr004)
Connection closed by foreign host.
--> Carrier detected.  Waiting for prompt.
--> Connected, but carrier signal lost!  Retrying...
--> Sending: ATM1L3DT[snip]
--> Waiting for carrier.
NO CARRIER
--> No Carrier!  Trying again.
--> Maximum Attempts Exceeded..Aborting!!
--> Disconnecting at Fri Jul  8 20:27:17 2011

If I turn on stupid mode:

-> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Please enter password (or empty password to stop):
--> Sending: ATM1L3DT[snip]
--> Waiting for carrier.
ATM1L3DT717-2412
CONNECT 45333 V42bis
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Fri Jul  8 20:35:02 2011
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 4704
--> Using interface ppp0
--> Disconnecting at Fri Jul  8 20:35:04 2011
--> The PPP daemon has died: Authentication error.
--> We failed to authenticate ourselves to the peer.
--> Maybe bad account or password? (exit code = 19)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 19)

Any clue as to what I'm doing wrong?

Gary





More information about the ubuntu-users mailing list