Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to use an Intel/Conexant winmodem to connect

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> DSL-N Tips and Tricks
View previous topic :: View next topic  
Author Message
Juanito



Joined: 11 Sep 2006
Posts: 88
Location: Dubai, U.A.E.

PostPosted: Tue Nov 14, 2006 3:05 pm    Post subject: How to use an Intel/Conexant winmodem to connect Reply with quote

This post describes how you can download the free Linuxant deb package to install the modules and files required to use an Intel/Conexant "winmodem" under DSL-N using the Knoppix 4.0.2 CD to create the modules/files and using wvdial to connect to the Internet.

Note that the winmodem drivers so created are limited to 14.4k (but this allows you to test things out before thinking about paying US$19.99 for the 56k drivers) and wvdial is required since I could not figure out how to persuade the DSL-N dialer to talk to ttySHSF0

As far as I can tell from the Linuxant web site, the hsfmodem driver should work for a lot of Intel/Conexant winmodems.

If anybody is interested, I can post the dsl packages for hsfmodem and wvdial

root@dslbox:~# lspci -v

0000:00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01) (prog-if 00 [Generic])
Subsystem: Conexant: Unknown device 5422
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at d400 [size=256]
I/O ports at d080 [size=128]
Capabilities: [50] Power Management version 2

In order to find the correct Linuxant driver, download the cnxtinstall.run utility from


then

root@dslbox:~# sh cnxinstall.run

Please ensure that all modems are attached to the machine.
Press enter to continue.

Detecting all PCI and USB devices in your system... please wait...
Done.

Supported Device Detected
=========================
Name: Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller
PCI ID: 8086:24C6 14F1:5422
Needed package: hsfmodem
Note: The MC97 modem connected to this AC97 device can be from various manufacturers but only those based on Conexant are supported.

System Information
==================
Distribution: Debian testing/unstable
Kernel version: 2.6.12
Kernel architecture: x86

Recommended Action
==================
The following package should be installed: hsfmodem

To automatically perform the recommended action, you need an active Internet connection. If you do not have one, please use the system and device information above to download and install the right package available at:

HSF:
HCF:
RIPTIDE:

Do you want to install this package ([y]/n)?

Conexant HSF softmodem driver Installer version 0.9.8
Copyright (c) 2004-2005 Linuxant inc.

Generating the list of available packages...
Downloading 100%

The following package is compatible with your system:
Generic package : hsfmodem_7.47.00.03full_i386.deb.zip

[stop at this point, manually download deb and boot Knoppix 4.0.2 CD

knoppix:~# touch mymarker
knoppix:~# dpkg -i /hsfmodem_7.47.00.03full_i386.deb
Selecting previously deselected package hsfmodem.
(Reading database ... 97963 files and directories currently installed.)
Unpacking hsfmodem (from .../hsfmodem_7.47.00.03full_i386.deb) ...
Setting up hsfmodem (7.47.00.03full) ...
Conexant HSF softmodem driver, version 7.47.00.03full

If you need license keys, assistance or more information, please go to:


When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".

No pre-built modules for: Knoppix-4.0.2 linux-2.6.12 i686-SMP

Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.12/build]

Building modules for kernel 2.6.12, using source directory
/lib/modules/2.6.12/build. Please wait...
done.

Automatically guessed region (using timezone): "USA"

Please enter region name for modem unit 0 [USA]:

Setting region for modem unit 0: "USA"

To change, use "hsfconfig --region" or "AT+GCI=<T35code>"
The current region can be displayed by entering "ATI9" in a terminal program.

Note: we respect user privacy. Email addresses are not communicated
nor used for any purpose other than to manage licenses!

Please enter your email address [unknown]: juanito@xxx.com

License keys can be obtained from
Without one, the modem operates in FREE mode (max 14.4Kbps data only, no fax)

The registration ID for modem unit 0 is: A0C8-677C-ACC0

Please enter license key [FREE]:

Setting license for modem unit 0: "juanito@xxx.com/FREE"

Note: HDA support not compiled in the driver

Note: kernel module snd-via82xx-modem overridden by hsfmc97via
Note: kernel module snd-intel8x0m overridden by hsfmc97ich hsfmc97sis
Note: kernel module snd-atiixp-modem overridden by hsfmc97ati

Current parameters: ("hsfconfig --info")

Config for modem unit 0: /dev/ttySHSF0
Device instance: 0-PCI-8086:24c6-14f1:5422
HW revision : CXT22 SSD=18 LSD=0x10
HW profile name: hsfmc97ich
Registration ID: A0C8-677C-ACC0
License owner : juanito@xxx.com
License key : FREE
License status : FREE (max 14.4kbps data
Current region : USA (T.35 code: 00B5)

The /dev/modem alias (symlink) points to /dev/tty/SHSF0


knoppix:~# find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | tee files

[edit file "files" in order to get a minimum list of files required to make a hsfmodem.dsl (long and painful process) and use it to create hsfmodem.dsl package. Boot back into DSL-N and load hsfmodem.dsl]

[note that loading ttySHSF automatically loads all of the modules required - a bunch of them - to make things work]

root@dslbox:~# modprobe /dev/ttySHSF
root@dslbox:~# lsmod
Module Size Used by
snd_hda_intel 15968 0
snd_hda_codec 54656 1 snd_hda_intel
snd_pcm_oss 47264 0
snd_pcm 77316 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 23556 1 snd_pcm
snd_page_alloc 11268 2 snd_hda_intel,snd_pcm
hsfusbcd2 62488 0
hsfmc97sis 64144 0
hsfmc97ati 63120 0
hsfmc97ali 69780 0
hsfmc97via 65432 0
hsfmc97ich 67600 0
hsfpcibasic2 63760 0
hsfserial 23940 7 hsfusbcd2,hsfmc97sis,hsfmc97ati,hsfmc97ali,hsfmc97via,hsfmc97ich,hsfpcibasic2
hsfengine 1316500 8 hsfusbcd2,hsfmc97sis,hsfmc97ati,hsfmc97ali,hsfmc97via,hsfmc97ich,hsfpcibasic2,hsfserial
hsfosspec 88168 10 hsfusbcd2,hsfmc97sis,hsfmc97ati,hsfmc97ali,hsfmc97via,hsfmc97ich,hsfpcibasic2,hsfserial,hsfengine
hsfsoar 89224 7 hsfusbcd2,hsfmc97sis,hsfmc97ati,hsfmc97ali,hsfmc97via,hsfmc97ich,hsfpcibasic2
snd_mixer_oss 18304 1 snd_pcm_oss
snd 46820 6 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
...
usbcore 102492 8 hsfusbcd2,hsfosspec,usbhid,usb_storage,ohci_hcd,uhci_hcd,ehci_hcd

[apt-get install wvdial]

root@dslbox:~# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.

ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Port Scan<*1>: S2 S3 S4 S5 S6 S7
ttySHSF0<*1>: ATQ0 V1 E1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 Z -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySHSF0<*1>: Modem Identifier: ATI -- 56000
ttySHSF0<*1>: Speed 4800: AT -- OK
ttySHSF0<*1>: Speed 9600: AT -- OK
ttySHSF0<*1>: Speed 19200: AT -- OK
ttySHSF0<*1>: Speed 38400: AT -- OK
ttySHSF0<*1>: Speed 57600: AT -- OK
ttySHSF0<*1>: Speed 115200: AT -- OK
ttySHSF0<*1>: Speed 230400: AT -- OK
ttySHSF0<*1>: Speed 460800: AT -- OK
ttySHSF0<*1>: Max speed is 460800; that should be safe.
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
...

listing of /etc/wvdial.conf created by wvdialconf

[Dialer Defaults]
Modem = /dev/ttySHSF0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = 5005555
Username =
Password =

root@dslbox:~# wvdial
--> WvDial: Internet dialer version 1.54.0
--> 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: ATDT5005555
--> Waiting for carrier.
ATDT5005555
CONNECT 460800
--> Carrier detected. Waiting for prompt.
username

--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Tue Nov 14 16:10:08 2006
--> pid of pppd: 2652
--> Using interface ppp0
--> local IP address 86.96.102.248
--> remote IP address 213.42.8.12
--> primary DNS address 213.42.20.20
--> secondary DNS address 195.229.241.222
[open Sea Monkey web browser, connects to DSL home page - success]
<ctrl-c>
Caught signal #2! Attempting to exit gracefully...
--> Terminating on signal 15
--> Connect time 2.5 minutes.
--> Disconnecting at Tue Nov 14 16:12:37 2006
root@dslbox:~#
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> DSL-N Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group