PDA

View Full Version : Dial-up Modem and KNOPPIX v7.0.4 Live CD ...



ant
09-18-2012, 06:47 PM
Hello.

I got a booted KNOPPIX v7.0.4 Live CD to see an old Creative Modem Blaster V.92 USB (DE5671 Model) dial-up modem when I plugged it in during a session according to dmesg. I don't see to see any dial-up modem terminal programs like KPPP. Did KNOPPIX v7.0.4 get rid of dial-up modem softwares or am I doing this incorrectly? Or do I really need to use its DVD version?

Thank you in advance. :)

klaus2008
09-19-2012, 11:53 AM
I think that the program wvdial could be used to establish a dial-up connection. You can find examples of a configuration file /etc/wvdial.conf on the internet. There is also a program wvdialconf. Don't forget to read the manual pages of wvdial and wvdialconf.

ant
09-19-2012, 06:27 PM
I think that the program wvdial could be used to establish a dial-up connection. You can find examples of a configuration file /etc/wvdial.conf on the internet. There is also a program wvdialconf. Don't forget to read the manual pages of wvdial and wvdialconf.For now, I just want to see if KNOPPIX can communicate to this modem with its AT commands, but it doesn't seem to find the modem at all even though dmesg show detections:

root@Microknoppix:/home/knoppix# wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory

root@Microknoppix:/home/knoppix# 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
ttyS4<Info>: No such device or address
Modem Port Scan<*1>: S4


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://alumnit.ca/wiki/?WvDial


# cat /etc/wvdial.conf
[Dialer Defaults]
Phone =
Username =
Password =
New PPPD = yes


I don't need to dial put yet.


# lsusb
Bus 004 Device 003: ID 148d:1671
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Shouldn't this modem be in lsusb results?

ant
09-19-2012, 07:41 PM
I also noticed if I boot KNOPPIX and Ubuntu v12.04.1 i386 live CDs with the modem connected, then their dmesgs doesn't show the modem at all. Unplugging and replugging will make dmesg show the modem for KNOPPIX, but Ubuntu doesn't identify the USB device at all.

klaus2008
09-19-2012, 09:50 PM
Bus 004 Device 003: ID 148d:1671 lsusb found your modem.
If you search for the USB ID 148d:1671 you will find the page HSF (softmodem) driver (http://www.linuxant.com/drivers/hsf/).
It seems that you need some additional software to use your modem with Linux.

You could download the file hsfmodem_7.80.02.06full_i386.deb.zip from the download section (http://www.linuxant.com/drivers/dgc/downloads-license.php), unzip the file and try to install it with
sudo dpkg -i hsfmodem_7.80.02.06full_i386.deb But the install will fail because the source code is incompatible with the Linux kernel 3.4. You would have to search on the internet for patches.

ant
09-20-2012, 07:42 PM
lsusb found your modem.
If you search for the USB ID 148d:1671 you will find the page HSF (softmodem) driver (http://www.linuxant.com/drivers/hsf/).
It seems that you need some additional software to use your modem with Linux.

You could download the file hsfmodem_7.80.02.06full_i386.deb.zip from the download section (http://www.linuxant.com/drivers/dgc/downloads-license.php), unzip the file and try to install it with
sudo dpkg -i hsfmodem_7.80.02.06full_i386.deb But the install will fail because the source code is incompatible with the Linux kernel 3.4. You would have to search on the internet for patches.I went to http://www.linuxant.com/drivers/hsf/downloads-installer.php to try it:

$ wget http://www.linuxant.com/drivers/dgc/archive/cnxtinstall.run

$ sh ./cnxtinstall.run
Verifying archive integrity... All good.
Uncompressing Linux drivers for Conexant modem chipsets Installer version 1.0.3

If the graphical installer fails to start, you could try the terminal
version that you can start with the following command:

---
sh cnxtinstall.run -- --tty
---

Alternatively, you could manually download and install the packages from the
following pages:

HSF: http://www.linuxant.com/drivers/hsf/full/downloads.php
HCF: http://www.linuxant.com/drivers/hcf/full/downloads.php
DGC: http://www.linuxant.com/drivers/dgc/downloads.php
RIPTIDE: http://www.linuxant.com/drivers/riptide/downloads.php
ALSA driver: http://www.linuxant.com/alsa-driver

Trying to launch a web browser, please wait...

"A username and password are being requested by http://127.0.0.1:18021. The site says: 'Linux drivers for Conexant modem chipsets installation requires system privileges. Please enter root as username and the corresponding password'"

What's the login? I tried no password, but it rejected that. :( This looks like a pain in the butt process. :(

klaus2008
09-20-2012, 08:07 PM
The address 127.0.0.1 is your system (localhost). I think you should issue
sudo passwd and give the user root a password.

ant
09-20-2012, 08:40 PM
The address 127.0.0.1 is your system (localhost). I think you should issue
sudo passwd and give the user root a password.Thanks! That worked. [sighs] This seems impossible. Here's a copy and paste of what I did in Terminal: http://pastebin.com/raw.php?i=876eEaki Maybe I should give up on this super old USB modem I got for free. :)

klaus2008
09-21-2012, 03:14 PM
Predictive diagnostics for card in bus 004:
Modem chipset detected on
SLOT="Bus 004 Device 002:"
NAME=" "
bus=004
USBmodemID=148d:1671
IDENT=hsfmodem
Driver=hsfmodem
[...]
Primary device ID: 148d:1671
Support type needed or chipset: hsfmodem
[...]
Start at http://www.linuxant.com/drivers/hsf/downloads-license.php to find the
hsfmodem package matching your System.I would download the package hsfmodem_7.80.02.06full_i386.deb.zip (http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-7.80.02.06full/hsfmodem_7.80.02.06full_i386.deb.zip) from the download page (http://www.linuxant.com/drivers/hsf/full/downloads.php) to the desktop (/home/knoppix/Desktop).

Then I would download the patches hsfmodem-7.80.02.06-kernel-2.6.37.patch (http://www.openmamba.org/pub/openmamba/devel/patches/hsfmodem-7.80.02.06-kernel-2.6.37.patch), hsfmodem-7.80.02.06-kernel-2.6.39.patch (http://www.openmamba.org/pub/openmamba/devel/patches/hsfmodem-7.80.02.06-kernel-2.6.39.patch), hsfmodem-7.80.02.06-kernel-3.4.patch (http://www.openmamba.org/pub/openmamba/devel-kernel/patches/hsfmodem-7.80.02.06-kernel-3.4.patch) from the openmamba website and save them in /home/knoppix/Desktop.

In the terminal issue

cd /home/knoppix/Desktop
unzip hsfmodem_7.80.02.06full_i386.deb.zip
sudo dpkg -i hsfmodem_7.80.02.06full_i386.deb
The install will fail, but you can apply the patches you downloaded from the openmamba website.

cd /usr/lib/hsfmodem
sudo patch -p1 < /home/knoppix/Desktop/hsfmodem-7.80.02.06-kernel-2.6.37.patch
sudo patch -p2 < /home/knoppix/Desktop/hsfmodem-7.80.02.06-kernel-2.6.39.patch
sudo patch -p2 < /home/knoppix/Desktop/hsfmodem-7.80.02.06-kernel-3.4.patch
sudo dpkg-reconfigure hsfmodem
If necessary, run
sudo hsfconfig to complete the installation, enter license information, or to change your modem's configuration.

I hope that helps, but remember that you have to buy a licence key if you need the modem at full speed.

ant
09-21-2012, 07:44 PM
I would download the package hsfmodem_7.80.02.06full_i386.deb.zip (http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-7.80.02.06full/hsfmodem_7.80.02.06full_i386.deb.zip) from the download page (http://www.linuxant.com/drivers/hsf/full/downloads.php) to the desktop (/home/knoppix/Desktop).

Then I would download the patches hsfmodem-7.80.02.06-kernel-2.6.37.patch (http://www.openmamba.org/pub/openmamba/devel/patches/hsfmodem-7.80.02.06-kernel-2.6.37.patch), hsfmodem-7.80.02.06-kernel-2.6.39.patch (http://www.openmamba.org/pub/openmamba/devel/patches/hsfmodem-7.80.02.06-kernel-2.6.39.patch), hsfmodem-7.80.02.06-kernel-3.4.patch (http://www.openmamba.org/pub/openmamba/devel-kernel/patches/hsfmodem-7.80.02.06-kernel-3.4.patch) from the openmamba website and save them in /home/knoppix/Desktop.

In the terminal issue

cd /home/knoppix/Desktop
unzip hsfmodem_7.80.02.06full_i386.deb.zip
sudo dpkg -i hsfmodem_7.80.02.06full_i386.deb
The install will fail, but you can apply the patches you downloaded from the openmamba website.

cd /usr/lib/hsfmodem
sudo patch -p1 < /home/knoppix/Desktop/hsfmodem-7.80.02.06-kernel-2.6.37.patch
sudo patch -p2 < /home/knoppix/Desktop/hsfmodem-7.80.02.06-kernel-2.6.39.patch
sudo patch -p2 < /home/knoppix/Desktop/hsfmodem-7.80.02.06-kernel-3.4.patch
sudo dpkg-reconfigure hsfmodem
If necessary, run
sudo hsfconfig to complete the installation, enter license information, or to change your modem's configuration.

I hope that helps, but remember that you have to buy a licence key if you need the modem at full speed.

It seems to work. See my Terminal's copy and paste at http://pastebin.com/raw.php?i=YjLE4Sge ... Unfortunately, 14.4k data is for free and I have to pay for it for full package. Is this even legal for them do that? Is there another third party or is this it? :(

klaus2008
09-21-2012, 09:01 PM
There was an earlier version of hsfmodem without speed limitation distributed by Dell for Ubuntu Hardy. There are Ubuntu users who use it in conjunction with the current version of hsfmodem. They had to apply many patches.

I do not think that it is legal to use a driver from Dell without hardware sold by Dell. In my opinion the driver was for their customers only and not for anybody who does not want to support developers but use their products.

You could consider to buy a new modem for the serial port, but most modern computers only have USB ports. Thus most people would also have to buy an adaptor that converts the USB port into a serial port.

I think that your issue is solved because you can Knoppix V7.0.4 make work with your dial-up modem although you have to use additional software. It is not necessary to download the DVD version of Knoppix 7.0.4.

ant
09-21-2012, 09:34 PM
There was an earlier version of hsfmodem without speed limitation distributed by Dell for Ubuntu Hardy. There are Ubuntu users who use it in conjunction with the current version of hsfmodem. They had to apply many patches.

I do not think that it is legal to use a driver from Dell without hardware sold by Dell. In my opinion the driver was for their customers only and not for anybody who does not want to support developers but use their products.

You could consider to buy a new modem for the serial port, but most modern computers only have USB ports. Thus most people would also have to buy an adaptor that converts the USB port into a serial port.

I think that your issue is solved because you can Knoppix V7.0.4 make work with your dial-up modem although you have to use additional software. It is not necessary to download the DVD version of Knoppix 7.0.4.Thanks again. Yeah someone told me just to buy a serial modem with an USB adapter. However, they are old and hard to find these days. What is nice about USB modems is that they supply power through USB. I wasn't expecting these USB modems to be Winmodems and so difficult to deal without Windows OSes. Also, I wasn't expecting its driver not to be free to use for full speed! :(