I have an Acer laptop (Extensa 4420) with Ubuntu 8.04. The laptop has
a built-in modem, as well as a pc card slot, for which I have an old
modem (which works under windows, and which worked for a friend of
mine on a different laptop under some flavor of linux). I can get
neither to work, and would greatly appreciate your assistance in
getting one of them to work. I'll first give an overview of what I
tried so far, and then more details in Parts A and B below.
Best,
Nikolaus
----------------
The built-in modem is identified under windows as follows:
Under Vista, "Phone and Modem Options" shows that the built-in modem
is an Agere Systems HDA Modem. Under Properies, Diagnostics:
Hardware ID: HDAUDIO\FUNC_02&VEN_11C1&DEV_1040&SUBSYS_10250100&REV_1002
So Vendor ID seems to be 11C1 and Product ID 1040. Accordingly,
I tried to get this modem to work following the instructions at
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/,
but had no success. MORE BELOW IN PART A.
The laptop has also a pc card slot, and I have an old pc card modem
(ZOOM V.92 PC Card Model 3075, the one with an "L" in the serial
number). This modem works under windows (vista), and reportedly
worked for a friend on a different laptop on some version of linux. I
also cannot get this modem to work: The modem is found using
"pccardctl status" or "pccardctl info", "bound to driver "serial_cs"".
But wvdialconf only finds the modem some of the time, and I have not
been able to figure out what causes it to find it or not.
When it is found, the connection speed between wvdial and the pc card
modem is usually extremely slow. I verified this in kermit, where the
command "at&v" takes forever (unless I keep hitting return, upon which
the modem reports back its output about half a line at a time for each
"return").
Finally, the few times I got the connection speed between wvdial and
the modem to be fast, the modem dials correctly and establishes a
connection with the internet service provider, and gets to the point
where it receives the login prompt. Then wvdial submits my username
(souzavonessen@xxxxxxxxxx), which is echoed, however, by the modem as
"ooeeoer.Net". Then nothing works anymore, and the connection breaks.
MORE BELOW IN PART B.
Attachment:
ModemData.txt
=====================================================================
PART A - The Agere Soft Modem:
-
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/linux-image-2.6.21.0-22_2.6.21.0-22_i386.deb
didn't work: When I try to boot into this kernel it fails (freezes
while booting), both with and without kernel boot option "pci=noacpi".
I am ignorant; this is maybe because my CPU is an "AMD Athlon
64X2 Dual-Core Processor TK-55 1.80GHz". If so, how do I install
"kernel-2.6.21.0-22.i686.rpm", and what do I have to do to make this
work?
- I also tried to follow the instructions in
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agere-driver-1.0-10dd.txt
I made sure I have the kernel headers installed (information from
synaptic package manager) for my version of linux,
2.6.24-18-generic. "make" resulted in various warnings (listed a
few lines down), the rest of the installation process seemed to
work. But "sudo wvdialconf" either doesn't detect the modem, or
dies with last output line of
"Modem Port Scan <*1>: S0 S1 S2 S3 Segmentation fault".
---------------------- output of "make" -------------------------
nikolaus@nv-ubuntu:~/modem/agrsm/agrsm$ make
make -C /lib/modules/2.6.24-18-generic/build
SUBDIRS=/home/nikolaus/modem/agrsm/agrsm modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic'
CC [M] /home/nikolaus/modem/agrsm/agrsm/agrsoftmodem.o
CC [M] /home/nikolaus/modem/agrsm/agrsm/serial26.o
/home/nikolaus/modem/agrsm/agrsm/serial26.c: In function
‘serial8250_get_mctrl’:
/home/nikolaus/modem/agrsm/agrsm/serial26.c:1371: warning: unused variable
‘flags’
/home/nikolaus/modem/agrsm/agrsm/serial26.c: In function
‘serial8250_config_port’:
/home/nikolaus/modem/agrsm/agrsm/serial26.c:2039: warning: unused variable
‘ret’
/home/nikolaus/modem/agrsm/agrsm/serial26.c: At top level:
/home/nikolaus/modem/agrsm/agrsm/serial26.c:2131: warning: initialization
from incompatible pointer type
/home/nikolaus/modem/agrsm/agrsm/serial26.c:2132: warning: initialization
from incompatible pointer type
/home/nikolaus/modem/agrsm/agrsm/serial26.c:1922: warning:
‘serial8250_request_rsa_resource’ defined but not used
LD [M] /home/nikolaus/modem/agrsm/agrsm/agrmodem.o
LD [M] /home/nikolaus/modem/agrsm/agrsm/agrserial.o
Building modules, stage 2.
MODPOST 2 modules
WARNING: could not find /home/nikolaus/modem/agrsm/agrsm/.agrsm_core.o.cmd
for /home/nikolaus/modem/agrsm/agrsm/agrsm_core.o
CC /home/nikolaus/modem/agrsm/agrsm/agrmodem.mod.o
LD [M] /home/nikolaus/modem/agrsm/agrsm/agrmodem.ko
CC /home/nikolaus/modem/agrsm/agrsm/agrserial.mod.o
LD [M] /home/nikolaus/modem/agrsm/agrsm/agrserial.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic'
nikolaus@nv-ubuntu:~/modem/agrsm/agrsm$
--------------------------------------------------------------------------
=====================================================================
PART B - The PC Card Modem:
Here is some more information for the pc card modem, in case it helps:
- Output of "pccardctl -vv ls"
- Output of at&v under kermit
- Various examples of wvdialconf finding the pc card modem or not
- The output of wvdial when (by chance?) there is a fast connection
between wvdial and the modem (but even in this case, no success to
conecting to the internet service provider).
-------------- Output of "pccardctl -vv ls" ------------------------------
Socket 0 Bridge: [yenta_cardbus] (bus ID: 0000:0b:06.0)
Configuration: state: on ready: unknown
Voltage: 5.0V Vcc: 5.0V Vpp: 0.0V
--none--
--none--
Socket 0 Device 0: [serial_cs] (bus ID: 0.0)
Configuration: state: on
Product Name: Zoom PCMCIA V92 DataFax
Identification: manf_id: 0x0200 card_id: 0x0001
function: 2 (serial)
prod_id(1): "Zoom" (0x365d0956)
prod_id(2): "PCMCIA V92 DataFax" (0xa6d21139)
prod_id(3): --- (---)
prod_id(4): --- (---)
---------------------------------------------------------------------------
-------------- Output of "at&v" under kermit ------------------------------
C-Kermit 8.0.211, 10 Apr 2004, for Linux
Copyright (C) 1985, 2004,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(...) C-Kermit>set modem type generic (...) C-Kermit>set port /dev/ttyS0
(...) C-Kermit>set speed 115200
/dev/ttyS0, 115200 bps
(...) C-Kermit>set carrier-watch off (...) C-Kermit>connect
Connecting to /dev/ttyS0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
ATZ
OK
AT&V
Option Selection AT Cmd
--------------- ------------ --------
Comm Standard CCITT B
CommandCharEcho Enabled E
Speaker Volume Medium L
Speaker Control OnUntilCarrier M
Result Codes Enabled Q
Dialer Type Tone T/P
ResultCode Form Text V
ExtendResultCode Enabled X
DialTone Detect Enabled X
BusyTone Detect Enabled X
LSD Action Standard RS232 &C
DTR Action Standard RS232 &D
Press any key to continue; ESC to quit.
Option Selection AT Cmd
--------------- ------------ --------
V22b Guard Tone Disabled &G
Flow Control Hardware &K
Error Control Mode V42,MNP,Buffer \N
Data Compression V44 V42bis MNP5 %C
AutoAnswerRing# 0 S0
AT Escape Char 43 S2
CarriageReturn Char 13 S3
Linefeed Char 10 S4
Backspace Char 8 S5
Blind Dial Pause 2 sec S6
NoAnswer Timeout 140 sec S7
"," Pause Time 2 sec S8
Press any key to continue; ESC to quit.
Option Selection AT Cmd
--------------- ------------ --------
No Carrier Disc 2000 msec S10
DTMF Dial Speed 70 msec S11
Escape GuardTime 1000 msec S12
Data Calling Tone Disabled S35
Line Rate 33600 S37
Press any key to continue; ESC to quit.
Stored Phone Numbers
--------------------
&Z0=
&Z1=
&Z2=
OK
---------------------------------------------------------------------------
------------ wvdialconf with pc card modem EJECTED -----------------------
nikolaus@nv-ubuntu:~/Modem$ sudo wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>.
nikolaus@nv-ubuntu:~/Modem$
---------------------------------------------------------------------------
------------ wvdialconf with pc card modem - partial success -------------
nikolaus@nv-ubuntu:~/Modem$ sudo wvdialconf /etc/wvdial.conf
[sudo] password for nikolaus: 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 -- A
ttyS0<*1>: failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- OK
ttyS0<*1>: ATQ0 V1 E1 Z -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS0<*1>: Modem Identifier: ATI -- ATQ0 V1 E1 S0=0
ttyS0<*1>: Max speed is 115200; that should be safe.
ttyS0<*1>: Max speed is 115200; that should be safe.
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- Zoom V.92 PCMCIA
ttyS0<*1>: failed with 115200 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- ATQ0
ttyS0<*1>: and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>.
nikolaus@nv-ubuntu:~/Modem$
---------------------------------------------------------------------------
------------ wvdialconf with pc card modem - success ---------------------
nikolaus@nv-ubuntu:~/Modem$ sudo wvdialconf /etc/wvdial.conf
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 -- A
ttyS0<*1>: failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- OK
ttyS0<*1>: ATQ0 V1 E1 Z -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- ATQ0 V1 E1
ttyS0<*1>: ATQ0 V1 E1 S0=0 &D2 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &D2 +FCLASS=0 -- ATQ0 V1 E1 S
ttyS0<*1>: Modem Identifier: ATI -- OK
ttyS0<*1>: Max speed is 115200; that should be safe.
ttyS0<*1>: ATQ0 V1 E1 S0=0 &D2 -- Zoom V.92 PC
ttyS0<*1>: failed with 115200 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 S0=0 &D2 -- A
ttyS0<*1>: failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 S0=0 &D2 -- OK
Modem Port Scan<*1>: S2 S3
Found a modem on /dev/ttyS0.
Modem configuration written to /etc/wvdial.conf.
ttyS0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &D2"
nikolaus@nv-ubuntu:~/Modem$
---------------------------------------------------------------------------
---- output of "sudo wvdial" in the rare cases I can access the modem -----
Note: The modem establishes a connection, wvdial detects the login
prompt, and tries to send the username,
"souzavonessen@xxxxxxxxxx". The next line echoes, however, not
the correct username, but "ooeeoer.Net", and things go wrong
from there. When I changed the username to "souzavonessen", the
next line echoes "ooee".
--> WvDial: Internet dialer version 1.60
--> 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.
--> Sending: ATDT5524020
--> Waiting for carrier.
ATDT5524020
CONNECT 49333 V44
--> Carrier detected. Waiting for prompt.
Level 3 Comm nas3.2mt1 UQKT2
Username:/login:/Login:
--> Looks like a login prompt.
--> Sending: souzavonessen@xxxxxxxxxx
ooeeoer.Net
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Thu Apr 24 21:06:32 2008
--> Pid of pppd: 7702
--> Using interface ppp0
--> pppd:
ÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½ÃÆ'ƒÂ¯ÃÆ'‚ÂÂÂ� �‚¿ÃƒÆ’Æ'‚½[06][08]HÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½[06][08]
--> pppd:
ÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½ÃÆ'ƒÂ¯ÃÆ'‚ÂÂÂ� �‚¿ÃƒÆ’Æ'‚½[06][08]HÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½[06][08]
--> pppd:
ÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½ÃÆ'ƒÂ¯ÃÆ'‚ÂÂÂ� �‚¿ÃƒÆ’Æ'‚½[06][08]HÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½[06][08]
--> pppd:
ÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½ÃÆ'ƒÂ¯ÃÆ'‚ÂÂÂ� �‚¿ÃƒÆ’Æ'‚½[06][08]HÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½[06][08]
--> pppd:
ÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½ÃÆ'ƒÂ¯ÃÆ'‚ÂÂÂ� �‚¿ÃƒÆ’Æ'‚½[06][08]HÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½[06][08]
--> pppd:
ÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½ÃÆ'ƒÂ¯ÃÆ'‚ÂÂÂ� �‚¿ÃƒÆ’Æ'‚½[06][08]HÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½[06][08]
--> pppd:
ÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½ÃÆ'ƒÂ¯ÃÆ'‚ÂÂÂ� �‚¿ÃƒÆ’Æ'‚½[06][08]HÃÆ'ƒÂ¯ÃÆ'‚¿ÃÆ'‚½[06][08]
--> Disconnecting at Thu Apr 24 21:07:02 2008
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man
pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
---------------------------------------------------------------------------