hello:
After seen the unofficially How to of the agere softmodem (senden to my by a linmodem discussion list user ) and try almost everything I had decided to make a fat32 partition for a win98 in order to use the modem with the commercial driver. I am not happy with this solution but what else I can do?.
Any way , here y post the how to for other partners that may need in the future.
Regards.
How To:
------------
This instruction set was provided by Hugo Canilli. He has thus had success with this AGRSM code requiring modem, under Linuxes: Ubuntu versions 6.10, 7.04, 7.10 and slackware 12.0. Marv Stodolsky lightly edited the text.
00) Be sure than kernel headers are installed. Under Ubuntu,
they are provided by a package pair with name format like
linux-headers-2.6.22-14 linux-headers-2.6.22-14-generic
with 2.6.22-14-generic being the boot kernel version
0) Download the package agrsm-20070804.tar.gz to your Desktop.
Open a terminal.
Type the following:
cd ~/Desktop
tar xzvf agrsm-20070804.tar.gz
cd agrsm
make
sudo make install
Note: the sudo is for usage in Ubuntu related Linux Distros/
For other Linuxes, first acquire Root/Adm powers with:
su - root
which will typically return a leading line with # ,
and Commands can be given without sudo:
make install
This completes the driver installation.
The two above steps need only be repeated when a new kernel is installed,
which always requires matching drivers.
1) Next load the drivers
sudo modprobe agrmodem
sudo modprobe agrserial
which should announce creation of /dev/ttyAGS3
2) It is convient to create symbolic links, which dialer utilities will follow,
to the real port /dev/ttyAGS3 .
sudo ln -s /dev/ttyAGS3 /dev/ttySAGR
sudo ln -s /dev/ttyAGS3 /dev/modem
Check with:
ls -l /dev/ttyAGS3 /dev/ttySAGR /dev/modem
whose output should include:
/dev/modem --> /dev/ttyAGS3
/dev/ttySAGR --> /dev/ttyAGS3
3) The first critical functial test is:
sudo wvdialconf /etc/wvdial.conf
which searches through potential ports for modem responses.
A success will end with a section like:
--------
ttySAGR<*1>: Modem Identifier: ATI -- Agere SoftModem Version 2.1.40
ttySAGR<*1>: Speed 4800: AT -- OK
ttySAGR<*1>: Speed 9600: AT -- OK
ttySAGR<*1>: Speed 19200: AT -- OK
ttySAGR<*1>: Speed 38400: AT -- OK
ttySAGR<*1>: Speed 57600: AT -- OK
ttySAGR<*1>: Speed 115200: AT -- OK
ttySAGR<*1>: Max speed is 115200; that should be safe.
ttySAGR<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttySAGR.
Modem configuration written to /etc/wvdial.conf.
ttySAGR<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
--------
Then you can proceed to try a dialout (see below).
A failure will include lines like:
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
Sorry, no modem was detected!
In this case there are a few Remedies to try.
R1) edit your grub or lilo parameter to the kernel with the option "pci=noacpi"
For example in a Ubuntu system, gedit can be used to modify the file /boot/grub/menu.lst
with command:
sudo gedit /boot/grub/menu.lst
The middle of menu.lst includes sections correponding to each bootup choice like:
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
Make a copy of this section, and edit to:
title Ubuntu 7.10, kernel 2.6.22-14-generic without acpi
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic ro quiet splash pci=noacpi
initrd /boot/initrd.img-2.6.22-14-generic
quiet
Save the edit
Restart the computer.
Among the bootup options, make the new choice:
Ubuntu 7.10, kernel 2.6.22-14-generic without acpi
Test for modem detection, through steps 1,2 and 3
Go to the dialout test if successful.
R2) If not, try to disable the sound in the bootup BIOS.
R2a) Note a success can sometimes be achieved by moving the modem card to other PCI slot. But this option is not available on laptops.
See success report:
http://linmodems.technion.ac.il/bigarch/archive-eighth/msg00304.htmlFollow prior steps 1,2 and 3 for testing, retaining the bootup acpi=off parameter.
Dialout procedure
------------------
First edit in your dialout information with:
sudo gedit /etc/wvdial.conf
In the sample below, the lines beginning with are informative, not essential.
The line order is not important.
[Dialer defaults]
# Lines begining with # are comments.
# wvdial will look for this file at /etc/wvdial.conf
# or /home/LoginName/.wvdial.rc
Baud = 115200
Modem = /dev/ttySAGR3
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
# Lack of dialtone acquisition can be due to low line voltage,
# a common problem in Italy.
# Try inserting a "dial without waiting": X3
# Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0
# In case of connection instabilities, specify a lower frequency:
# Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=34
## Outside the USA, a country setting may be needed
# Init3 = AT+CGI=hexadecimal_country_code
ISDN = 0
Modem Type = Analog Modem
Phone = Dialout_phone_number
# if going through a switch board, a perhaps necessary pause can produced with a comma:
# Phone = 1,Dialout_phone_number
Username = LoginName
# if Internet Provider is MSN.net, use under Linux: MSN/LoginName
Password = YourPassWord
## If CONNECT is achieved but browsing fails, try activating the following line
# Auto DNS = yes
## To make a logfile wvdial.out
# wvdial 2>&1 | tee wvdial.out
# # For some Internet providers, the following line is necessary
# Stupid Mode = yes
## for other wvdial options, do "man wvdial" or see the documentation in
## /usr/share/doc/wvdial/
## End wvdial.conf