Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Jan 2020, 14:47
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
configure USB Modem with dingo(puppylinux 4.0)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
mohan34u


Joined: 14 Nov 2007
Posts: 67

PostPosted: Sun 18 May 2008, 14:17    Post subject:  configure USB Modem with dingo(puppylinux 4.0)
Subject description: simple howto to configure USB Modem
 

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:
menu->system->hardinfo hardware configuration->devices->usb devices

(or)
Code:
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:
lsmod | grep -i cdc_acm && modprobe -r cdc_acm
modprobe cdc-acm


Create Interface Device in /dev:
--------------------------------------
Code:
mknod /dev/ttyACM0 c 166 0


Create /etc/wvdial.conf file with the below content.

Code:

[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:

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.
Back to top
View user's profile Send private message Visit poster's website 
TomM

Joined: 06 Jun 2008
Posts: 1

PostPosted: Fri 06 Jun 2008, 06:45    Post subject: USB mobile connection  

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.
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9174
Location: Perth, Western Australia

PostPosted: Fri 06 Jun 2008, 19:28    Post subject:  

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.

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0327s ][ Queries: 11 (0.0049s) ][ GZIP on ]