configure USB Modem with dingo(puppylinux 4.0)

Post Reply
Message
Author
User avatar
mohan34u
Posts: 67
Joined: Wed 14 Nov 2007, 07:22
Contact:

configure USB Modem with dingo(puppylinux 4.0)

#1 Post by mohan34u »

I came across one situation to configure my USB Modem(Qualcomm CDMA Technologies MSM). I put this post to remember the configuration after sometime.

Checking for kernel detection:
------------------------------------

check whether your usb modem detected by kernel

Code: Select all

menu->system->hardinfo hardware configuration->devices->usb devices
(or)

Code: Select all

find /sys -type f -exec file {} \; | grep text$ | sed -e's/\(..*\): ..*/grep -i qualcomm \1 \&\& echo \1/g' | "$SHELL"
replace *qualcomm* with the name of your usb modem.

Load cdc-acm module:
---------------------------

Code: Select all

lsmod | grep -i cdc_acm && modprobe -r cdc_acm
modprobe cdc-acm
Create Interface Device in /dev:
--------------------------------------

Code: Select all

mknod /dev/ttyACM0 c 166 0
Create /etc/wvdial.conf file with the below content.

Code: Select all

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = <isp phone number starting with #>
Username = <username>
Password = <password>
stupid mode = 1
Start `wvdial`:
-----------------
type `wvdial` to connect to the net.

Code: Select all

wvdial
Don't close the terminal where `wvdial` is running. open another terminal to do anything else.

Stop `wvdial`:
-----------------
press CTRL-C in the terminal where `wvdial` running. your ppp connection will be disconnected.

TomM
Posts: 1
Joined: Fri 06 Jun 2008, 10:35

USB mobile connection

#2 Post by TomM »

Mohanji,

Tried to connect to Reliance Net with Puppy 4.00 NOP using your approach. The phone is a popular LG RD2030 with a USB cable. HardInfo shows two USB devices: a USB mouse and an Ark UART USB to serial chip, probably embedded in the USB modem cable.

After running the lsmod and mknod commands the results were as follows:

--> WvDial: Internet dialer version 1.41
--> Cannot open /dev/ttyACM0: Invalid argument
sh-3.00# lsmod | grep -i cdc_acm && modprobe -r cdc_acm
cdc_acm 13984 0
usbcore 127128 8 cdc_acm,usblp,ark3116,usbserial,usbhid,usb_storage,uhci_hcd
sh-3.00# mknod /dev/ttyACM0 c 166 0
mknod: /dev/ttyACM0: File exists
sh-3.00# wvdial
--> WvDial: Internet dialer version 1.41
--> Cannot open /dev/ttyACM0: No such device or address
sh-3.00# lsmod | grep -i cdc_acm && modprobe -r cdc_acm
sh-3.00# lsmod | grep -i cdc_acm && modprobe -r cdc_acm
sh-3.00# mknod /dev/ttyACM0 c 166 0
mknod: /dev/ttyACM0: File exists

Sometimes the lsmod command gives a return and other times no return values are displayed. The mknod and WvDial commands always give the same errors. The ttyACM0 device appears in the /dev folder.

In XP the phone connects with the fussy Reliance driver. In NimbleX Linux the phone connects through kppp (/dev/tts/USB0) then immediately disconnects.

Any suggestions for implementing your approach would be appreciated.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#3 Post by BarryK »

mohan34u,
I am very interested to know whether the cdc_acm module gets loaded automatically with Puppy 4.1alpha2.

It should load automatically if the modem is detected at bootup, also if you hotplug it after bootup.

If anyone else has a usb modem and can try this, please give it a go. If we can get the module to autoload then that's one of the steps solved.
[url]https://bkhome.org/news/[/url]

Post Reply