Integration of 3G Wireless Modem Detection - 4.1.2 & 4.2.1

A home for all kinds of Puppy related projects
Message
Author
User avatar
droope
Posts: 801
Joined: Fri 01 Aug 2008, 00:17
Location: Uruguay, Mercedes

#441 Post by droope »

Hi,.

Do all modems that are listed on post #2 of this thread work? Can I buy any of them and be sure they will work on my Puppy?

Thanks!
Droope
What seems hard is actually easy, while what looks like impossible is in fact hard.

“Hard things take time to do. Impossible things take a little longer.â€￾ –Percy Cerutty

[url=http://droope.wordpress.com/]Mi blog[/url] (Spanish)

User avatar
kazzamozz
Posts: 70
Joined: Sat 25 Jul 2009, 09:09
Location: Melbourne, Australia
Contact:

#442 Post by kazzamozz »

smokey01 wrote:I finally got the modem working with Wvdial. It was working ok with GPRS but then it stopped and I couldn't get it to work again.
Hi Smokey01

Congrats on your perseverence and getting another modem working, my vodafone was not a prepay, and up till your post, did not know the entry for vodafone prepaid, this will definitely come in handy for my friends kids.

Will keep checking for Rerwins posts to see if he can simplify things for any newbies with that modem. :lol:

Cheers
Kazzamozz

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#443 Post by magerlab »

i tried to use huawei 1550 modem with puppy ( 4.1.2 and boxpupeee )
but no success, unfortunately

modem is not seen in pupdial ( only if i ran manually usb-modeswitch.sh it says that it'seen as a modem, but pupdial does not see any modem at all)

User avatar
droope
Posts: 801
Joined: Fri 01 Aug 2008, 00:17
Location: Uruguay, Mercedes

#444 Post by droope »

Hi there :)

I am about to buy a ZTE MF 636 modem (again, this modem follows me! :P).

It seems that one could install it on puppy linux?

http://www.murga-linux.com/puppy/viewtopic.php?t=41882

I have some doubts, if someone would be so kind and knowledgeable:
  1. 1- (optional :P) Regarding point one, connecting to a windows XP machine. Is there any way to not do so? I do not own a legal copy of windows XP, and would rather acquire some linux experience. :)
    2- Hyperterminal? Does he mean this?
    3- How to connect to/determine which is the port of my modem? Any way of doing this on Linux?
Will much pain follow? Are all modems on the list of #2 post of this thread easily installed?

I will be infinitely grateful :) ( and will add all info to the wiki. )

Cheers!
Droope.
What seems hard is actually easy, while what looks like impossible is in fact hard.

“Hard things take time to do. Impossible things take a little longer.â€￾ –Percy Cerutty

[url=http://droope.wordpress.com/]Mi blog[/url] (Spanish)

Coolsun9
Posts: 12
Joined: Fri 25 Dec 2009, 05:00

#445 Post by Coolsun9 »

Hi neurino,
could you advise how to setup a script file? thanks


neurino wrote:
You can save those 3 steps in a script file to run each time you turn on the eee (not each time you connect) and yes only usb_modeswitch returns something.
Then you could use PupDial to connect

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

3G in Puppy 214X

#446 Post by Aitch »

Hi Rich
I'm back, ..........still trying to get a 'Three UK' ZTE MF627 USBmodem to work for a friend, not on the target EEEPC, as I can't get an install to go...though now trying on an old Pentium mmx with 256mb ram, running ttuuxxx's 214X RC1 [neither 4.21, nor 4.12 will run (Your thread targets) - haven't tried 4.31]
I've added the usb_modeswitch.pet, which seems to do a switch from CD mode to modem mode by issuing a success response using MF628
ZTE MF628+ (tested version from Telia / Sweden)

# Contributor: Joakim Wennergren

# Also applies to MF627 (Tested 3 UK) JF

DefaultVendor= 0x19d2
DefaultProduct= 0x2000

TargetVendor= 0x19d2
TargetProduct= 0x0031

MessageEndpoint=0x01
MessageContent="55534243123456782000000080000c85010101180101010101000000000000"
......but.....
When I check in proc/bus/usb/devices, I still get usb_storage listed , though the device ID has changed from 0x19d2, 0x2000 to 0x19d2, 0x0031, yet still shows 3 drivers missing
lf=0alt....prot=ff driver=0
lf=1alt....prot=ff driver=0
lf=2alt...prot=50 driver=usb-storage
lf=3alt...prot=ff driver=0

None of the Dial progs will find the modem, & I tried the pmodemdiag2010012 pet but when I type pmodemdiag in a terminal I get command not found
missing lib maybe?

I had a look at tempestuous drivers but they are for 2.6.25.16 kernel whereas I am using 2.6.18.1

Are there drivers for this kernel/device?

What else do I need to do, please?

thanks [btw I have yet to try my own E220 with ANY Puppy..... :oops: ]

Aitch :)

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#447 Post by Aitch »

Whilst researching, I came across this

http://blogs.gnome.org/dcbw/2009/03/20/ ... -revolver/

useful info to some - has anyone tried Network Manager [fedora app] in Puppy?

Also, see my post here

http://www.murga-linux.com/puppy/viewto ... 348#387348

Rich/anyone,

ttuuxxx has asked for sourcecode for pmodemdiag for 214X following a post I made there about my previous post, above, as I can't get it to run in 214X RC1

Aitch :)

jfdee
Posts: 13
Joined: Sat 24 Oct 2009, 07:34

#448 Post by jfdee »

Aitch, see smokey01's post above about loading the serial driver.

For your switched device that would be:

Code: Select all

# modprobe -v option
# echo "19d2 0031" > /sys/bus/usb-serial/drivers/option1/new_id

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#449 Post by Aitch »

thanks jfdee/smokey01

I'm now away from the friend's box, right now, but will try that as soon as I go back there, hopefully before he goes back to Italy, as I still intend getting his EEEPC going on puppy/3G....

Aitch :)

User avatar
swiatmar
Posts: 248
Joined: Sat 09 Aug 2008, 19:33
Location: Danube, AT

#450 Post by swiatmar »

Hello!!

I have some problem with my Huawei E169 in Austria.
Everything works fine- the modem is detected. but when I try to connect , I am getting this massage:

Code: Select all

Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATDT*99#
--> Waiting for carrier.
NO CARRIER
username, passwort and APN are correct.
There was something about baud to set it to 460800....

I am getting also this massage:
WARNING! LINE "115200"
in /etc/ppp/options may conflict with wvdial!
I know there are some problems with E 169. ..

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#451 Post by rerwin »

swiatmar,
Thanks for posting here. I may not have the solution, but we should start by establishing which Puppy you are using. Better yet, you could simply step up to my new upgrade packages for 4.3.1. In a few days, I plan to upload a new 3G-pupdial_wireless-13 package that might help. At least that is what I can work with. Please install 4.3.1 (not 'small') and all three of the dotpets at
http://www.murga-linux.com/puppy/viewto ... 235#388235


Aitch, droope,
Sorry to have appeared unresponsive to your recent postings. I have been obsessed with completing a grand modem upgrade, which is now posted at the above link. Please experiment with them under 4.3.1, for the best chance of success. As I said, I plan a retrofit for 4.1.2 and 4.2.1, but that is as far back as I go in the 3G implementation. Earlier than that, I suspect many drivers are missing.

About pmodemdiag: It is a script that is now in the new modem upgrade package, in /usr/sbin. It simply collects files into an archive, so should work as is in 214X. However, I have not been following that saga, so I do not know what it has for 3G, the drivers, and whether it even uses the udev event system (which all the rules are for). I am open to helping get 3G into 214X if it makes any sense at all to do so. We are talking kernel 2.6.25.16 or later, if we expect to get anywhere.
Richard

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#452 Post by Caneri »

Hi All,

@rerwin,
I just started with a Huawei E182E and will need some time to catch up here with your work.

Thanks for all your work!!

@Grant...hiya...hope to chat soon.
Eric

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#453 Post by Aitch »

Rich, 214X uses 2.6.18.1, so no go, eh?

ah, well.....early hardware/ram limitations preclude later puppies, I think


I may have to try something else.....?

When I get back to it, still have to try the EEEPC versions for a friend, and my E220

Latest: Just acquired an Edubook from dkjab, yet to try any puppy on it, has XP installed ideal candidate for 3G/E220....tee hee, more toys :wink:

Aitch :)

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#454 Post by Caneri »

Well so far no joy.

My Huawei E182E shows up as /dev/SHSF0

I tried on a live 4.3.1 with the above .pets and results the same.

I've only had a shorty test so far.....lot's to learn as I haven't used a modem of any kind for years.

I prolly need a rule for this specific 3G plus modem.

Here's the pupscan output......
Manufacturer=Huawei Technologies
Product=HUAWEI Mobile
VendorID=12d1 ProductID=1446 KERNEL-MODULE=usb-storage

Thanks for any direction and help...Eric

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#455 Post by dejan555 »

Huawei E220 is automatically recognized in dpup484 (2.3.60.* kernel), all you have to do is fire up pgprs and enter connection details. No usb modeswitch or patched anything needed. not even modprobe on usbserial (probably has udev rules). Still no luck with ZTE MF626. I can make it switch to modem mode and enter /dev/usb/ttyUSB1 as modem device but immidietly after connect it disconnects and switches to another mode. (3 different modes from pluging it in till modeswitch and disconnect) :(
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#456 Post by rerwin »

Caneri,
For your E182E modem, I suggest trying the new set of packages I mentioned above. However, I do not know the hardware ID of your modem, other than the storage part, which is 12d1:1446. When the modem is in "modem mode" it probably has a different product ID than 1446. With it plugged into a 4.3.1 puppy, look in /tmp/udevtrace.log for "v12d1p14", which should reveal "v12d1p1446" and "v12d1p14xx". It is the "14xx" that I need to know to be sure it is supported.

EDIT: I do not see that the storage part is associated with the usb-storage driver, that is probably necessary for a mode-switch to occur. I hope you find that 14xx entry in the log. It should also have "icff" in the same line. That would mean it is already in modem mode, using the 14xx ID. If you don't find it, I am afraid we are stuck, for now. Maybe a later kernel will have a usb-storage driver that recognizes the v12d1p1446 device.

EDIT: I think the workaround for the absence of usb-storage support for the modem is to use Windows to access the modem in the same machine as Puppy is in, then rebooting to Puppy without removing the device or turning off the power.
Richard

im.saravanan
Posts: 37
Joined: Sun 14 Dec 2008, 02:11

micromax 372G usb modem -How to configure-modem not detected

#457 Post by im.saravanan »

hi i am india. i have bought a micromax 372G 3G usb modem. details at http://www.micromaxinfo.com/products/mmx372g.html.

Features

High Speed 3G USB Modem
Plug n Play-Auto Install Software
SMS & PHB Support
Automatic Network Selection
USB 2.0 Full Speed
T-Flash Memory Reader (upto 2GB)

General Features

HSUPA (2100 MHz)
HSUPA/UMTS/EDGE/GPRS/GSM
HSUPA – 7.2Mbps (Uplink)
USB 2.0 Full Speed
Internal Antenna

System Requirements

Windows 2000/XP/VISTA
Limited Ver. of MAC, LINUX
Standard USB Interface

how to make it detected and work in puppy linux 4.3.1. Need help. In windowsXP device manager the modem is identified as Basecom HS-USB Modem 9000. In modem ddevice properties the device instance id is-->
USB\VID_05C6&PID_9000&MI_03\6&2B1C347C&0&0003.

Though it is a 3G modem. Iam using Idea cellular gprs/Edge internet service. It works fine in XP. But i love Puppy Linux. So i need to make it work. Looking forward for any help from puppy users and gurus.

there are so many posts i am confused. Can anybody give me step by step guidance.

i booted to 4.3.1 from my pendrive and collected following ing info


USB Devices

1. Micromax--vendor id -0x5c6 + product id -f000 class-0x0

/dev/usb has 2 files ttyUSB0 ttyUSB1.

jfdee
Posts: 13
Joined: Sat 24 Oct 2009, 07:34

#458 Post by jfdee »

To use this device it needs to be switched to modem mode. Afterwards it will have a product ID of 0x9000.

For a manual switch do this after plugging in:
# usb_modeswitch -v 0x05c6 -p 0xf000 -M "5553424312345678000000000000061b000000020000000000000000000000"
# modprobe -v option
# echo "05c6 9000" >/sys/bus/usb-serial/drivers/option1/new_id

You can put these lines into a file and run that manually every time you plug in.


im.saravanan
Posts: 37
Joined: Sun 14 Dec 2008, 02:11

#459 Post by im.saravanan »

Thank you jfdee, i crossed the first stage. with those three commands my modem is switched and detetected. But i could connect to internet.

i am using Idea Cellular 2G connection. The dial number is *99# and APN is "internet". and nothings else like id password is required. In pupdial i entered the above. when trying to connect it says

modem intialised and ask for valid id and password.

wvdial.conf look this

[Dialer Defaults]
Modem = /dev/ttyUSB2
Baud = 9600
Init1 =
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Carrier Check = yes
Dial Command = ATDT

[Dialer isp1]
Phone = *99#
Username =
Password =
Stupid Mode = yes
Auto Reconnect = yes

[Dialer isp1apn]
Init5 = AT+CGDCONT=1,"IP","internet"

[Dialer isp2]
Phone =
Username =
Password =
Stupid Mode = no
Auto Reconnect = yes

[Dialer isp2apn]
Init5 = AT+CGDCONT=1,"IP",""

[Dialer pin]
Init1 = AT+CPIN=

[Dialer wireless]
#To force only 2G or 3G, uncomment the Init4 line and append 0 (2G) or 2 (3G), and substitute your operator's name for MYOPS.
#Init4 = AT+COPS=0,0,"Idea",
#Init6-Init9 lines are available for user purposes; the commented examples can be used as described:
#To force the 3G quality of service level, uncomment the Init6/Init7 line pair and set value two places each, for 384k/144k/64k, omitting the "k" (e.g., =1,4,64,384,64,384).
#To list all the APNs stored in the modem, uncomment the Init8 line; check the Connection status log for lines beginning with +CGDCONT:.
#To list the operator identifier stored in the modem, uncomment the Init9 line; check the Connection status log for a line beginning with +COPS:.
#Init6 = AT+CGEQMIN=1,4,64,384,64,384
#Init7 = AT+CGEQREQ=1,4,64,384,64,384
#Init8 = AT+CGDCONT?
#Init9 = AT+COPS?[/quote]

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#460 Post by rerwin »

im.saravanan,
Thank you for posting your modem information. And thank you, jfdee, for your solution. I learned of the "new_id" technique just a week or two ago and have added it to the 3G support. For puppy 4.3.1, Get the updated "fix pack 2" from here: http://www.murga-linux.com/puppy/viewto ... 235#388235
For Puppys 4.1.2 and 4.2.1, get the new 3G_pupdial-wireless-13 package from the first post of this thread.

Please try the appropriate update. Im.saravanan, you can enter any text for the user name and password, and they should be ignored by the ISP, but are required for the dialer command (wvdial). With the update, you should see the modem be detected and the driver loaded automatically, with no need for command-line entries.

One other thing: you may need to select "stupid mode", if you cannot connect.
Richard

Post Reply