LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wvdial.conf - - Ubuntu 9.04 -- GPRS Motorola L9 -- Lenovo 3000 series G430 (https://www.linuxquestions.org/questions/linux-newbie-8/wvdial-conf-ubuntu-9-04-gprs-motorola-l9-lenovo-3000-series-g430-757669/)

sanjayt70 09-25-2009 02:58 AM

wvdial.conf - - Ubuntu 9.04 -- GPRS Motorola L9 -- Lenovo 3000 series G430
 
using Lenovo 3000 series G430 Laptop. I have installed Ubuntu 9.04 and want to use Motorola L9 GPRS connectivity. (No problems with Vista basic.)
The wvdial configs I tried don't work. .
------------------------------------------------------------------------
Modemdata.txt file is as follows ..
------------------------------------------------------------------------
Only plain text email is forwarded by the Discuss@Linmodems.org List Server,
as HTML can contain viruses. Use as the email Subject Line:
YourName, YourCountry kernel 2.6.28-11-generic
With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
YourCountry will enable Country specific guidance. Linux experts in YourCountry
can be found through: http://www.linux.org/groups/index.html.
They will know your Country's modem code, which may be essential for dialup service.
Responses from Discuss@Linmodems.org are sometimes blocked by an Internet Provider mail filters.
So in a day, also check the Archived responses at http://www.linmodems.org
-------------------------- System information ----------------------------
CPU=i686,
Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
scanModem update of: 2009_08_15
The modem symbolic link is /dev/modem -> ttySHSF0
There are no blacklisted modem drivers in /etc/modprobe* files
Potentially useful modem drivers now loaded are:
hsfserial snd_hda_intel

The /proc/asound/ audio+modem diagostics are being copied.
Attached USB devices are:
ID 064e:a102 Suyin Corp.
ID 22b8:4810 Motorola PCS Triplet GSM Phone (storage)
ID 15d9:0a33
If a cellphone is not detected, see http://ubuntuforums.org/archive/index.php/t-878554.html
A sample report is: http://linmodems.technion.ac.il/biga.../msg00578.html

If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@linmodems.org

For candidate card in slot 00:1b.0, firmware information and bootup diagnostics are:
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:1b.0 8086:293e 17aa:3a0d Audio device: Intel Corporation 82801I

Modem interrupt assignment and sharing:
22: 933882 962 IO-APIC-fasteoi HDA Intel
--- Bootup diagnostics for card in PCI slot 00:1b.0 ----
[ 0.488173] pci 0000:00:1b.0: reg 10 64bit mmio: [0xf4a00000-0xf4a03fff]
[ 0.488216] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[ 0.488220] pci 0000:00:1b.0: PME# disabled
[ 11.832858] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 11.832934] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 12.830246] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/input/input11
[ 12.831416] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/input/input12
[ 12.832321] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/input/input13
[ 12.833109] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/input/input14
[ 15.498744] HDA Intel 0000:00:1b.0: PCI INT A disabled
[ 15.686785] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 15.687042] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 16.192153] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/input/input15
[ 16.195056] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/input/input16
[ 16.199429] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/input/input17
[ 16.201095] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/input/input18

The PCI slot 00:1b.0 of the modem card may be disabled early in
a bootup process, but then enabled later. If modem drivers load
but the modem is not responsive, read DOCs/Bootup.txt about possible fixes.
Send dmesg.txt along with ModemData.txt to discuss@linmodems.org
if help is needed.



===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.

The ALSA verion is 1.0.20
The modem cards detected by "aplay -l" are:
card 0: Intel [HDA Intel], device 6: Conexant HSF Modem [Conexant HSF Modem]

The /proc/asound/pcm file reports:
-----------------------
00-00: CONEXANT Analog : CONEXANT Analog : playback 1 : capture 1
00-01: Conexant Digital Audio : Conexant Digital Audio : playback 1
00-06: Conexant HSF Modem : Conexant HSF Modem : playback 1 : capture 1

about /proc/asound/cards:
------------------------
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf4a00000 irq 22

PCI slot 00:1b.0 has a High Definition Audio Card
The drivers are in the kernel modules tree at:
/lib/modules/2.6.28-11-generic/kernel/sound/pci/hda/snd-hda-intel.ko

Modem data is not obvious in the /proc/asound/ files
which have been copied to Modem/ALSAroot.tgz.
Please send this file to scanModem maintainer:
marvin.stodolsky@gmail.com

If not a Conexant modem, the driver snd-hda-intel with its dependent drivers:
snd_hda_intel 34376 2
snd_hda_codec 84224 2 snd_hda_codec_conexant,snd_hda_intel
snd_pcm 82948 4 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd 66724 17 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_s eq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 17032 2 snd_hda_intel,snd_pcm
----------
provide audio + modem support with the modem chip residing on the subsystem.
Any particular card can host any one of several soft modem chips.

=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive diagnostics for card in bus 00:1b.0:
Modem chipset detected on
NAME="Audio device: Intel Corporation 82801I "
CLASS=0403
PCIDEV=8086:293e
SUBSYS=17aa:3a0d
IRQ=22
HDA=8086:293e
SOFT=8086:293e.HDA
IDENT=hsfmodem
SLMODEMD_DEVICE=hw:0,6
Driver=hsfmodem-drivers

For candidate modem in: 00:1b.0
0403 Audio device: Intel Corporation 82801I
Primary device ID: 8086:293e
Subsystem PCI_id 17aa:3a0d
Softmodem codec or chipset from diagnostics:
from Archives:



Support type needed or chipset: hsfmodem


Writing DOCs/Intel.txt

For owners of a Dell PCs with Conexant HSF modems, a driver source package with full speed enabled is available, but requires driver compiling. Read DOCs/Conexant.txt

From http://www.linuxant.com/drivers/hsf/...ubuntu-x86.php
download hsfmodem-7.80.02.02full_k2.6.28_11_generic_ubuntu_i386.deb.zip
Under Linux unpack with:
$ unzip hsfmodem*.zip
Then install with:
$ sudo dpkg -i hsfmodem*.deb
Subsequently, the modem should be found with
$ sudo wvdialconf /etc/wvdial.conf
Edit in your personal information with:
$ sudo gedit /etc/wvdial.conf
and try dialing out with:
$ sudo wvdial.
See DOCs/Testing.txt for details.

The directions following below need only be pursued, if the above procedures are not adequate.

Start at http://www.linuxant.com/drivers/hsf/...ds-license.php to find the
hsfmodem package matching your System. For several Linux distros, there are
precompiled drivers matched to specific kernels. These have within the FileName,
your KernelVersion: 2.6.28_11_generic
They can be found through http://www.linuxant.com/drivers/hsf/full/downloads.php
A more precise location may be given a few paragraphs below.
If an EXACT Match with your your KernelVersion is not found, one of the
"Generic packages with source" near the bottom of the page must be used.
Downloaded packages must be moved into the Linux partition (home folder is OK)
and unzipped with:
unzip hsf*.zip
The installation command for a .deb suffic packages is, with root/adm permission:
sudo dpkg -i hsf*.deb
while for .rpm suffix it is, with:
rpm -i hsf*.rpm

Support for Conexant chips hosted on High Definition Audio cards may require
installation of additional packages, one of the alsa-driver-linuxant packages
on http://www.linuxant.com/alsa-driver/ At the same time download the
alsa-driver-1.0.17-1.patch , in case it prove to be later needed. During the
hsfmodem install, there will be a message if there is necessary installation of
alsa-driver-linuxant

The installation command for a .deb suffic packages is, with root/adm permission:
sudo dpkg -i hsf*.deb
while for .rpm suffix it is, with:
rpm -i hsf*.rpm

There may a message that "Dependencies" are not satisfied. In this case the Ubuntu/Debian packages to be installed are linux-libc-dev & libc6-dev. Package
names may be different for other Linuxes. If not on your install CD, these
packages can be searched for at http://packages.ubuntu.com. After download,
they can be coinstalled with:
sudo dpkg -i li*.deb
Again try the alsa-driver-linuxant

There may be a message that the patch must be applied. In this case get the
ftp://ftp.alsa-project.org/pub/drive...1.0.17.tar.bz2
Under Linux, this package is unpacked with:
$ tar jxf alsa*.tar.bz2
Next the patch is applied with:
$ patch -p0 < alsa-driver-1.0.17-1.patch

See http://linmodems.technion.ac.il/biga.../msg00838.html
for details on compiling and installing replacement snd-hda-intel + its
dependent drivers.
After the installation is completed, rerun the hsfmodem installation.
Reboot and try to detect the modem with Root permission:
sudo wvdialconf /etc/wvdial.conf

Read DOCs/Conexant.txt

Writing DOCs/Conexant.txt


Completed candidate modem analyses.

The base of the UDEV device file system is: /dev/.udev

Versions adequately match for the compiler installed: 4.3.3
and the compiler used in kernel assembly: 4.3.3

The patch utility is needed and is needed for compiling ALSA drivers, and possibly others.


Minimal compiling resources appear complete:
make utility - /usr/bin/make
Compiler version 4.3
linuc_headers base folder /lib/modules/2.6.28-11-generic/build

However some compilations and executable functions may need additional files,
in the FileNames.h (so called kernel "h"eaders) collection installed in /usr/include/ .
For martian_modem, additional required packages are needed. The also required headers of package libc6 are commonly installed by default.
Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev packages, for kernels 2.6.24 and later versions.
In not included on your install CD, search for them at http://packages.ubuntu.com
or comparable Repository for other Linux distros.
When compiling ALSA drivers, the utility "patch" will also be needed.




If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev

If an alternate ethernet connection is available,
$ apt-get update
$ apt-get -s install linux-kernel-devel
will install needed packages.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:

Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb


Checking pppd properties:
-rwsr-xr-- 1 root dip 277352 2009-02-20 22:55 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
http://linmodems.technion.ac.il/linm.../msg02637.html

To enable dialout without Root permission do:
$ su - root (not for Ubuntu)
sudo chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
sudo chmod a+x /usr/sbin/pppd

Checking settings of: /etc/ppp/options
asyncmap 0
noauth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

In case of a message like:
Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/biga.../msg04656.html

Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0 eth1
Which can interfere with Browser naviagation.

Don't worry about the following, it is for experts should trouble shooting be necessary.
==========================================================

Checking for modem support lines:
--------------------------------------
/device/modem symbolic link: lrwxrwxrwx 1 root root 8 2009-09-20 12:23 /dev/modem -> ttySHSF0
slmodemd created symbolic link /dev/ttySL0:
Within /etc/udev/ files:
/etc/udev/rules.d/00-hsf.rules:KERNEL=="ttySHSF0", SYMLINK="modem"
Within /etc/modprobe.conf files:
/etc/modprobe.d/hsf.conflicts.conf:install snd-via82xx-modem /bin/true # temporarily disabled by hsf - conflicts with hsfmc97via
/etc/modprobe.d/hsf.conflicts.conf:install snd-atiixp-modem /bin/true # temporarily disabled by hsf - conflicts with hsfmc97ati
/etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem
/etc/modprobe.d/hsf.conf:alias /dev/modem /dev/ttySHSF
/etc/modprobe.d/hsf.conf:install /dev/ttySHSF /sbin/modprobe hsfpcibasic2; /sbin/modprobe hsfpcibasic3; /sbin/modprobe hsfmc97ich; /sbin/modprobe hsfmc97via; /sbin/modprobe hsfmc97ali; /sbin/modprobe hsfmc97ati; /sbin/modprobe hsfmc97sis; [ -e /lib/modules/`uname -r`/extra/hsfusbcd2.ko ] && /sbin/modprobe hsfusbcd2; /sbin/modprobe snd_hda_intel; [ -e /lib/modules/`uname -r`/extra/snd-hda-codec-hsfmodem.ko ] && /sbin/modprobe snd-hda-codec-hsfmodem; /bin/true
/etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2
Within any ancient /etc/devfs files:

Within ancient kernel 2.4.n /etc/module.conf files:
/etc/modules.conf:alias /dev/modem /dev/ttySHSF
/etc/modules.conf:probeall /dev/ttySHSF hsfpcibasic2 hsfpcibasic3 hsfmc97ich hsfmc97via hsfmc97ali hsfmc97ati hsfmc97sis hsfusbcd2 snd_hda_intel snd-hda-codec-hsfmodem
--------- end modem support lines --------

j_jerry 09-26-2009 01:35 PM

post your wvdial.conf


All times are GMT -5. The time now is 06:37 PM.