Dialup/Wireless Modem Upgrade Packages for Puppy 4.3+

Post Reply
Message
Author
User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#101 Post by jemimah »

Heh - being without internet for a few hours is punishment enough for him. ;)

Further research suggest the sierra_net module is supposed to work with this modem. But it doesn't. I'm rebuilding the kernel now to see if I can fix it.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#102 Post by jemimah »

WhhoooHooo! My kernel patch worked! I just added the pci id to sierra.c.

So nevermind. :D

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

#103 Post by rerwin »

bignono1,
I have been googling for clues on things to try regarding the "bad init string" problem. I found some ideas to try one at a time.

1. Some solutions simply insert more commands into the Init3 string, adding S7=60 S30=0, resulting in:
ATQ0 V1 E1 S0=0 S7=60 S30=0 &C1 &D2 +FCLASS=0

2. Keying off of your APN of "pps", I found a web page where you can get modem setup information, but it requires your "subscriber code", so I cannoot read it. But you can: http://www.kw.zain.com/kw/af/services/m ... 53&lang=en

3. The modems usually need to be "initialized" in a Windows system, then removed before exiting the initialization program. Be sure yours has been initialized.

4. Many users disable the requirement for a SIM PIN code. Otherwise, you need to enter one in pupdial. If you are uncertain about the SIM PIN, you can find out its status this way:
- add a command to the Init2 string, to make it:
ATZ +CPIN?
- Connect and view the response in the log window, for examples.
+CPIN: SIM PIN <==== modem requires sim pin
+CPIN: READY <======shows the modem is now ready

5. The logon and password given for your provider is "pps" for both (w/o quotes).

That's what I found. Apparently many people have trouble with ZTE modems. Maybe that is because there are so many out there. Or not. I hope these help you along.

If not, can you install wary 0.9.8 and try your modem with it. It has the most recent developments for modems and might help.
Richard

User avatar
bignono1
Posts: 360
Joined: Sun 17 May 2009, 07:30
Location: Q8

#104 Post by bignono1 »

Gooooood news :I am on line using my USB modem after more than 4 months .
Here is what i did finally:
1.Connected the modem to a win xp machine .
2.Unpluged the modem while still on line.
3.Removed the pps from APN.
4.Phone no. *99***1#
The modem switch WAS changed to ttyUSB1, I DID NOT CHANGE IT


Thank you Richard , you are great.
And here is the pmodemdiag again for the record.
Thank you again Richard , i am really happy because of you.

User avatar
bignono1
Posts: 360
Joined: Sun 17 May 2009, 07:30
Location: Q8

#105 Post by bignono1 »

Hi,
Same modem on lucid puppy 5.0.1
Just inputed pps in APN field.
The diag file is attached.

User avatar
bignono1
Posts: 360
Joined: Sun 17 May 2009, 07:30
Location: Q8

#106 Post by bignono1 »

Barking loud on lupup 5.1.1

User avatar
Insomniacno1
Posts: 188
Joined: Fri 24 Jul 2009, 22:43

#107 Post by Insomniacno1 »

I hope you can use this info to fix the probleme in all Puppy versions. This is how I got Huawei E1552 Globe Tattoo Usb modem to work in Peppermint One 08042010(some of the info is pieced together from other sites):

Before you start, install usb modeswitch from synaptics.

Instructions:

1. Insert your Huawei USB.

2. From a terminal window, type lsusb:

Code:

lsusb

hit Enter and you should see an output like this:

Code:

Bus 001 Device 011: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 001 Device 002: ID 1bcf:0007 Sunplus Innovation Technology Inc.
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

3. The output will show the vendor ID and the product ID (12d1 and 1001 in the above example - it might be different on your machine) .

4. Create a udev rule by typing

Code:

gksu gedit /etc/udev/rules.d/15-huawei-e620.rules

I named my file 15-huawei-e620.rules because that's what lsusb showed from no. 2 then copy+paste the code below:

SUBSYSTEM=="usb",SYSFS{idProduct}=="1001",SYSFS{idVendor}=="12d1",RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1001 --type option-zerocd"

NOTE the code above should be 1 line only, no wordwrap!!

Just be sure to replace (if necessary) the correct values you got for your product and vendor IDs.

Save the file and type exit to close the terminal window.

5. Safely remove the USB drive then reinsert.

6. The Network manager will automatically detect your USB, But if not then create a new Mobile Broadband connection manually. Just right-click on the network manager icon, choose Edit Connections, go to Mobile Broadband, and click Add.

7. Proceed with the prompts, choosing Huawei, and Globe (I chose plan unlisted).
Here are the values that worked for me:

Number: *99#
APN: http.globe.com.ph
Under PPP settings, I chose PAP as the only authentication method.

NOTE: If you don't have gedit then install it by typing apt-get install gedit and yes when asked. Then proceed to step 4.


As I said in the start I hope you can use this info to make Puppy work just as smooth. That is one of the reasons I'm using Peppermint instead of Puppy. Puppy is faster than and work better with only 192Mb ram, but there is also video playback which don't work so well on the included mPlayer. Plus the fact that Puppy higher than 4.2.1 don't find my HDD.

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

#108 Post by rerwin »

Insomniacno1 wrote:7. Proceed with the prompts, choosing Huawei, and Globe (I chose plan unlisted).
Here are the values that worked for me:

Number: *99#
APN: http.globe.com.ph
Under PPP settings, I chose PAP as the only authentication method.

. . .

As I said in the start I hope you can use this info to make Puppy work just as smooth. That is one of the reasons I'm using Peppermint instead of Puppy. Puppy is faster than and work better with only 192Mb ram, but there is also video playback which don't work so well on the included mPlayer. Plus the fact that Puppy higher than 4.2.1 don't find my HDD.
Thanks for posting your experience with Peppermint. I see no reason why the latest updates to 4.3.1 (posted on page 1) would not support your modem automatically. The only unusual-looking comment is about choosing PAP authentication. Does Globe require that and does CHAP not work? If so, puppy has a simple way to force PAP for particular APNs.

I conclude that you are not able to use puppy 4.3.1 due to a problem with recognizing your hard drive (HDD). I may not be much help with that, but we could start by your describing what happens. Unfortunately, the upgrades in this thread support only 4.3.1 and later. So we need to get past the HDD issue first. I would like to work with you to get your modem working in 4.3.1, if you are willing to work with me.
Richard

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

Modem support upgraded to wary 0.9.8 level +

#109 Post by rerwin »

Dialup modem users,
I have added an upgrade to "level 9" of modem support, to incorporate all that I learned from improvements to the wary series of development versions. It includes a tailored version of the remaster script, to copy some files not already handled by remasterpup2. You can now make a new CD after installing all of the relevant packages from page 1.

Those with Agere modems can add those drivers, but should use the versions attached here -- in addition to the 11c11040 variant on page 4 -- because these are renamed with ".HIDE" to avoid unnecessary copying of the modules on first use of any of the group in a "frugal" installation. Although variant support was added in level 8, the means of managing the variants has changed to avoid some problems with the old method. The direct link to 11c11040 is: http://www.murga-linux.com/puppy/viewto ... h&id=33171

Note that the new level 9 does not include the logic for accumulating online time, now at least partially in wary, because I doubt that facility is complete. However, it does have updates to the ALSA sound support, which may or may not help. Since there are several under-the-covers changes, I hope some of you will try out the new packages and report any remaining problems.

For the future, I plan to consolidate the modem fixes and others in a "puppy 4.3.1 Upgrade Central" thread, to simplify upgrading 4.3.1 for new users or those sticking with 4.3.1 while wary gets proven. Since Barry has resumed responsibility for module-loading and modem support in woof, wary and quirky, I expect to continue supporting 4.3.1, as well as contributing to his effort.
Richard

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

modem_fix_pack_delta-8_to_9.pet corrected

#110 Post by rerwin »

To those who downloaded modem_fix_pack_delta-8_to_9.pet for the first three downloads, the original package erroneously overwrote a critical script file with an incorrect version. The correct version is in pup_event_backend_modprobe_fix_to_p43x-5.8.pet.

Instead of installing the corrected package, please simply re-install pup_event_backend_modprobe_fix_to_p43x-5.8.pet if you installed it before delta-8_to_9. If you installed it afterward, you already have the correct version of the script.
Richard

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

Intel 537 modem support restored

#111 Post by rerwin »

I have corrected the pup_event_backend_modprobe_fix_to_p43x-5.8.pet package, after download number 5, to prevent the timeout of module loading for the Intel 537 modems. If you have such a modem, please re-download (from thread page 1) and install that package.
Richard

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

Further cleanup of modem support

#112 Post by rerwin »

I have uploaded the two main modem/modprobe packages (on page 1 of this thread) to straighten out some details and synchronize some code with the "zzz package". The changes do not include the new USB "hot plug" rewrite of modem support.

- SmartLink initialization script split into a separate one for the USB modem and eliminate the use of 2 links to the single script (slmodem).

- To prevent system lockup if the SL USB modem is unplugged, modemprobe_erase now kills the slmodemd daemon, which appears to be the cause. Be warned that this modem must not be unplugged while selected -- it is not "hot pluggable".

- Changed the DGC preference back to favoring the dgcmodem module instead of cdc_acm (if both support the device). Since the DGC driver uses an additional device node, it may support more features than cdc_acm (such as fax -- but not proven).

- From zzz for USB-serial (ttyUSBn) modems, added the modem_stats test to verify the chosen port responds to "AT" commands.

Since these are minor changes, made mainly to complete the details of "pre-zzz" modem support, there is no need to reinstall except to verify there is no regression in modem functionality. Please report here any such regressions. Thanks.
Richard

User avatar
Insomniacno1
Posts: 188
Joined: Fri 24 Jul 2009, 22:43

#113 Post by Insomniacno1 »

rerwin wrote:
Insomniacno1 wrote:7. Proceed with the prompts, choosing Huawei, and Globe (I chose plan unlisted).
Here are the values that worked for me:

Number: *99#
APN: http.globe.com.ph
Under PPP settings, I chose PAP as the only authentication method.

. . .

As I said in the start I hope you can use this info to make Puppy work just as smooth. That is one of the reasons I'm using Peppermint instead of Puppy. Puppy is faster than and work better with only 192Mb ram, but there is also video playback which don't work so well on the included mPlayer. Plus the fact that Puppy higher than 4.2.1 don't find my HDD.
Thanks for posting your experience with Peppermint. I see no reason why the latest updates to 4.3.1 (posted on page 1) would not support your modem automatically. The only unusual-looking comment is about choosing PAP authentication. Does Globe require that and does CHAP not work? If so, puppy has a simple way to force PAP for particular APNs.

I conclude that you are not able to use puppy 4.3.1 due to a problem with recognizing your hard drive (HDD). I may not be much help with that, but we could start by your describing what happens. Unfortunately, the upgrades in this thread support only 4.3.1 and later. So we need to get past the HDD issue first. I would like to work with you to get your modem working in 4.3.1, if you are willing to work with me.
Richard
I'm always willing to get things working:) When booting 4.3.1(or any other newer version) everything goes well and I come to the desktop. Now I would like to use the universal installer to install this puppy version to my empty hdd, but it says no device found.

There is no sda listed on the desktop, only floppy and CD and if I insert an USB it will be listed.

Running gparted also says no device.

What I have read other places is that puppy 4.2.1 retro is the last to support this old HW.

http://www.thinkwiki.org/wiki/Category:570

JBJ

User avatar
Insomniacno1
Posts: 188
Joined: Fri 24 Jul 2009, 22:43

#114 Post by Insomniacno1 »

Update, I was so lucky to find a 4.3.2 retro version of 2.6.21.7 and running that right now from the CD - it finds the HDD:). I will install it and if you can help me set up the Huawei E1552 I would very much appreciate it:)

I have downloaded all the files you have posted in the last 8 pages, just tell me which ones to install and in what order:)

Thanx

JBJ

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

#115 Post by rerwin »

Insomniacno1,
As I just now re-read your earlier posting, the thought occurred to me to use 4.2.1 to set up the HD with gparted the way you want it, then boot 4.3.1 to use the drive. You are way ahead of me on that! The packages should also work with 4.3.2, although I have not verified that with the retro kernel. I suspect that there are old USB-modem drivers in it, if any at all. But once you have the drive partitioned and formatted, I would think the regular 4.3.2 or 4.3.1 should work.

You do not need the packages beyond the first page, as they have been included in the ones I indicate here:

pup_event_backend_modprobe_fix_to_p43x-5.8.pet
modem_fix_pack_delta-6_to_8.pet
modem_fix_pack_delta-8_to_9.pet
usb-modeswitch-data-20101202.pet
usb-modeswitch-1.1.4.pet

This order is good, although I think only the 6-to-8 and 8-to-9 packages require that order (for the obvious reason).

The agrsm packages are for PCI analog modems. The pmodemdiag files are users' diagnostic tarballs for troubleshooting. You do not need either set.

These packages represent my latest, best effort up to the point where Barry has redesigned much of my work, in Wary 5. I plan to support puppy 4 as long as there is interest in it. (Correction: And pre-zzz puppy 5s, too.) Your effort with these packages will be helpful to me (and the community) to verify modem support in puppy 4(.1/.2). We might even find an obscure bug in the process, so I thank you in advance for your patience with any problems.

If we have problems even with the standard kernel (2.6.30.5), we may need to find a later version of one or two drivers that are available in another thread. But first things first.
Richard
Last edited by rerwin on Wed 05 Jan 2011, 03:02, edited 1 time in total.

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

#116 Post by BarryK »

rerwin wrote:These packages represent my latest, best effort up to the point where Barry has redesigned much of my work, in Wary 5. I plan to support puppy 4 as long as there is interest in it. Your effort with these packages will be helpful to me (and the community) to verify modem support in puppy 4(.1/.2). We might even find an obscure bug in the process, so I thank you in advance for your patience with any problems.
I don't think Lucid 5.2-beta is using zzz.
[url]https://bkhome.org/news/[/url]

User avatar
Insomniacno1
Posts: 188
Joined: Fri 24 Jul 2009, 22:43

#117 Post by Insomniacno1 »

rerwin wrote:Insomniacno1,
As I just now re-read your earlier posting, the thought occurred to me to use 4.2.1 to set up the HD with gparted the way you want it, then boot 4.3.1 to use the drive. You are way ahead of me on that! The packages should also work with 4.3.2, although I have not verified that with the retro kernel. I suspect that there are old USB-modem drivers in it, if any at all. But once you have the drive partitioned and formatted, I would think the regular 4.3.2 or 4.3.1 should work.
The 4.3.1 does not recognize the hdd, no matter what version I have used. Then it does not matter if I use 4.2.1 to set up the HDD with Gparted. Only retro version with 2.6.21.7 kernel will work with this laptop, I sure hope Barry will make retro versions of the new Puppies since we are a few with old laptops that like to try the new stuff:)
rerwin wrote: You do not need the packages beyond the first page, as they have been included in the ones I indicate here:

pup_event_backend_modprobe_fix_to_p43x-5.8.pet
modem_fix_pack_delta-6_to_8.pet
modem_fix_pack_delta-8_to_9.pet
usb-modeswitch-data-20101202.pet
usb-modeswitch-1.1.4.pet

This order is good, although I think only the 6-to-8 and 8-to-9 packages require that order (for the obvious reason).
Richard
As I type this, I'm just about to install in the proposed order:) I made a try myself before, with installing all the files you have uploade except the Agere and that ended up with that I had to reinstall Puppy, because connection wizard no longer worked:(

Hope this will:)

JBJ

User avatar
Insomniacno1
Posts: 188
Joined: Fri 24 Jul 2009, 22:43

#118 Post by Insomniacno1 »

Small Problem, the modem is not being detected:( I'm using the same USB port as I did when running Peppermint.

Some screenshots attached.

Right now I'm using my WI-fi usb to write this:)

Is there something I missed, I installed all the files in the order you mentioned:)

How to do the Pmodemdiag?

Is there any USB tool that need to be installed?

JBJ
Attachments
2.jpg
(149.94 KiB) Downloaded 534 times
1.jpg
(130.76 KiB) Downloaded 554 times

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

#119 Post by rerwin »

Insomniacno1,
I suspect the problem is that the really-retro (2.6.21) kernel does not have drivers that support your modem. If there are any, at all, they probably don't recognize relatively recent wireless modems. Technosaurus has had to build updated versions for the 2.6.30 kernel and maybe even for 2.6.25. But I don't recall seeing anything about 2.6.21 drivers.

Can you give me a link to the download of the puppy you are using? I cannot find 4.3.2 retro in any searches, forum or google. Then I could confirm my suspicion.
Richard

User avatar
Insomniacno1
Posts: 188
Joined: Fri 24 Jul 2009, 22:43

#120 Post by Insomniacno1 »

rerwin wrote:Insomniacno1,
I suspect the problem is that the really-retro (2.6.21) kernel does not have drivers that support your modem. If there are any, at all, they probably don't recognize relatively recent wireless modems. Technosaurus has had to build updated versions for the 2.6.30 kernel and maybe even for 2.6.25. But I don't recall seeing anything about 2.6.21 drivers.

Can you give me a link to the download of the puppy you are using? I cannot find 4.3.2 retro in any searches, forum or google. Then I could confirm my suspicion.
Richard
Hello again, here is the link:

http://brainwavedesigncentral.net/dima/ ... o-puppies/

It is the pup-432-retro-retro-2.6.21.7.iso I was using since I read on the net that the 2.6.25.16 kernel would not work with my laptop.

Since I could not get it to work, I have (for now, until there is a Puppy way), installed Tinyme(Unity linux) and funny enough that one works with wifi and Huawei e1552(had to install usb_mosdeswitch and ad a conf file).
(If someone tries this then, after install, log out and log in with LXDE desktop instead of the default - say yes to make LXDE default - it is way faster)

But I really like to get Puppy working so please let me know if there is any development in this case.

Thanx for all your help:)

JBJ

Post Reply