How To Connect to Internet using USB 3G or USB CDMA Modem

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

How To Connect to Internet using USB 3G or USB CDMA Modem

#1 Post by pri »

if you using windows its easy using usb modem 3g or CDMA modem its plug and isntall all modem and configuration for conected.

in linux you must try something differend, you must learn how to use it and get smarter than before you cant use it. so if you wanted to be smart people, use linux and learn how to use it.

ok let get start plug the modem to USB socket.
if you get new cdroom device appear like this
Image

you must eject it first, or puppy will detect your modem as a cdroom than usb modem.

open console and eject it,
Image

it can be sr0 if you dont have real cdroom or sr1 if you have cdroom

and false cdroom has gone
Image

some times, i need to restart after eject, or you can continue to next step, if fail, it must be reboted first and continue after this point, but make sure there is no fake cdroom come out.

goto menu >> system >> system status and config >> hardinfo hardware manager
and find some usm modem cpu, mine has like this
Image

open console again and type like this
Image

after that open menu>>internet conection wizard and choose to open internet by dialup analog or wireless modem

choose modem by click on choose button
Image

click probe button
Image

and you will get modem detected
Image

fill dialup number, user name and password. depending area or your account
Image
and click conect

if you get like this, you already conected
Image

enjoyy, fast internet using puppy.
Last edited by pri on Fri 22 Feb 2013, 03:17, edited 3 times in total.
Learning by Doing

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

#2 Post by pri »

tested on :
431 and my puplet based on it
LUPU
SALUKI
Learning by Doing

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#3 Post by Flash »

A very nicely done How-To. Thank you. :)

User avatar
Jach1
Posts: 8
Joined: Thu 23 Aug 2012, 23:49
Location: ashhurst, new zealand

#4 Post by Jach1 »

Hi, i connected successfully tonight on 3g vodem stick with puppy after experimenting a bit.

the modem is a k3805-z ZTE

thanks for the posts.

boof
Posts: 579
Joined: Wed 26 Sep 2012, 22:53

5.3.3-4g & K3520 + Vodafone Australia-3G?

#5 Post by boof »

Cannot make sense of instructions and names of things.
Eject /dev/sr1 does NOT remove sr1 icon


get to a point where it's detected carrier & waiting for a prompt, then it hangs until timeout and pppd starts.
connection not successful

tried vfconnect.au, vfprepaidmbb as APN's
*99#, *99***1# & *99**# as prefx phone number.

driver=3 xxxxx cs? 2nd one of 2 similar in list.

Cannot access win driver inside stick to use ndiswrapper.

boof
Posts: 579
Joined: Wed 26 Sep 2012, 22:53

Fixed ZTE -T7 via USB cable to internet.

#6 Post by boof »

init 2# string is
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

mostly self configuring, driver module is
3-c589-cs

USB bluetooth connection looks unlikely,as there is only one possible driver per port(?) & My laptop doesn't have the default bluetooth card

installed.

but I'm online in an acceptable manner. NB port speed is only 115200Kb/ sec. terrible for 3G?

User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

#7 Post by nilsonmorales »

Excelente tuto , gracias

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

Re: 5.3.3-4g & K3520 + Vodafone Australia-3G?

#8 Post by pri »

boof wrote:Cannot make sense of instructions and names of things.
Eject /dev/sr1 does NOT remove sr1 icon

Eject and eject is deferent.
Learning by Doing

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#9 Post by tallboy »

I hope this text will help more than it confuse:
On Tue 08 May 2012, in another thread, Fossil wrote:When the dongle is first plugged in, it is seen as a self-booting CD. The idea being to install all the Windows drivers and desktop control system. Under Linux the Window drivers are not necessary.
What you must do is to change the CD listing to the wifi dongle part. Have you tried removing the dongle then replugging it? If already mounted, right-click, unmount. Remove dongle, reinsert. Are there now two CD mount icons on the desktop?
I have a ZTE MF636 USB modem, and it contains a memory with the windows drivers pre-installed, as well as a slot for an extra SD memory card. On the few puppys that will find it, it comes up like a CD-symbol. I then have to mount and unmount it, and the CD-symbol disappears, and it comes up as a USB memory symbol. In my dpup485, and also puppy432, it is then available as a modem in /dev/ttyUSB2 (the wizard says ttyUSB0, but that doesn't work).

I see that pri's speed is set to 9600 baud, isn't that very low? Mine is 56000.

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
gkgazza27
Posts: 8
Joined: Sat 20 Nov 2010, 19:49
Location: Melbourne, VIC. Australia
Contact:

how to connect to internet using USB 3G or USB CDMA Modem

#10 Post by gkgazza27 »

Great tutorial pri,
thank you for it, I only wish I had seen it a few days earlier since I had the same problem with an Alcatel AL720 usb modem, may I also write a more simple solution to help boof,
'unmount the sr0 by right click on it and select unmount' take usb modem away from pc, the put it back on, then open puppy network wizzard and select the option that pri says and it's the first one from the list of four I think, now the rest I am going to say is only my experience and it might not work for you but it is what I did and got my problem fixed, 'do not click the choose modem button the modem is detected by puppy automaticaly', 'do click on the probe button so Puppy can detect the modem correctly' when that is done please do not change any of the modem info, then go below and fill in correctly the Phone/Access number for the modem carrier, Username which is your email given to you by the modem carrier, your account password, and the wireless APN, make sure that you put all this info correctly or your modem will not be able to connect, I hope this will help a little bit more.
Presice-Puppy 5.4.2, fully installed on an Acer Aspire 3684WXMi :D

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

#11 Post by pri »

tallboy wrote:I hope this text will help more than it confuse:
On Tue 08 May 2012, in another thread, Fossil wrote:When the dongle is first plugged in, it is seen as a self-booting CD. The idea being to install all the Windows drivers and desktop control system. Under Linux the Window drivers are not necessary.
What you must do is to change the CD listing to the wifi dongle part. Have you tried removing the dongle then replugging it? If already mounted, right-click, unmount. Remove dongle, reinsert. Are there now two CD mount icons on the desktop?
I have a ZTE MF636 USB modem, and it contains a memory with the windows drivers pre-installed, as well as a slot for an extra SD memory card. On the few puppys that will find it, it comes up like a CD-symbol. I then have to mount and unmount it, and the CD-symbol disappears, and it comes up as a USB memory symbol. In my dpup485, and also puppy432, it is then available as a modem in /dev/ttyUSB2 (the wizard says ttyUSB0, but that doesn't work).

I see that pri's speed is set to 9600 baud, isn't that very low? Mine is 56000.

tallboy
mine is like that one too, but it work. mybe find something that wrong on command. i never use command mount and unmount.
Learning by Doing

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#12 Post by tallboy »

pri, I don't use the commands 'mount' and 'umount' (in case you are not aware of it, it is correct that the 'n' is missing in the Linux unmount command!).

I just click on the CD symbol to mount it, and as soon as it opens, I right-click on the CD symbol to get a menu, and then choose unmount from the menu.

The problem with many new puppy versions, is that the 'mount' system does not see the modem/memory stick at all! I think our modem problems has to do with the mounting process, rather than recognizing it as a modem; you cannot find a modem that is not mounted!
BTW, the puppy432 is one of the few that works.

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

#13 Post by pri »

owh its about memory card reader that doesn't see. i think it just work on windows. and before instaling in windows, its never appear on windows too.

:D
Learning by Doing

tannaroo
Posts: 23
Joined: Sun 17 Feb 2013, 05:33

#14 Post by tannaroo »

hi,

does anyone know where i can find a script to autoconnect my gprs modem automatically on start-up rather than manually pressing connect?

is there a simple terminal prompt that i can set up as a script?

thanks

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#15 Post by Flash »

Please don't ask the same questions several places in the forum. Thank you. :)

tannaroo
Posts: 23
Joined: Sun 17 Feb 2013, 05:33

#16 Post by tannaroo »

Sorry!

I did look extensively for a suitable autoconnect script but couldnt find one on the forum, hence I thought this thread was most suitable as it applies to me and just need to automate it this tutorial from this thread.

i tried the command: exec etc/ppp/peers/gprsmm but that didnt work.

Sorry again.

Vee727
Posts: 12
Joined: Tue 30 Apr 2013, 10:44

#17 Post by Vee727 »

I'm using Huawei EC156 modem and I do get an sr1 (sr0 is cd drive) but I can't eject it. Any ideas?

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#18 Post by tallboy »

Hi Vee727.
Take a look at my first posts in this thread, and you wil find a description of adding a modem that appear as a CD icon.

If you clicked it, you mounted it. You must unmount it, and then remove it.

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

Vee727
Posts: 12
Joined: Tue 30 Apr 2013, 10:44

#19 Post by Vee727 »

I got really annoyed with that. Then I read the new Slacko 5.5 has support for most 3G modems. So I downloaded it and ran it. Plugged the modem and everything happened on its own. Works like a charm.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#20 Post by Karl Godt »

tannaroo wrote:Sorry!
i tried the command: exec etc/ppp/peers/gprsmm but that didnt work.
/etc/ppp/peers/gprsmm is a configurationfile for /usr/sbin/pppd .

If you want pppd to autoconnect, probably try to add some reconnect tries into /etc/ppp/peers/gprsmm like :

Code: Select all

## The persist tries to reopen the connection if it is dropped. This
## is usefull for example with a Nokia 7650 which only manages to
## 'dial' with every second attempt or when the network likes to drop the
## connection every now and then. It's not fun when the over-night
## 'apt-get dist-upgrade -d -y' fails constantly...
#persist
#maxfail 5
persist
maxfail 5
and run

Code: Select all

/usr/sbin/pppd call gprsmm
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

Post Reply