This new version of the wireless modem integration package (downloadable from the first posting in this thread) does not affect most users. But anyone who's tried editing initialization strings Init4 and Init6-9 would see them become corrupted over time, making them useless. That is now corrected. I have also "refined" the determination of which modems are "wireless", requiring the option of adding a PIN or APN, versus those that merely emulate the behavior of wired analog modems. In addition, I have added mode-switching support for the Huawei C300, which is otherwise not recognized by either USB_modeswitch or the "option" driver module.
1. For those affected by the init4/Init6-9 corruption, after installing the -7 package, please delete from /etc/wvdial.conf all of the lines in the [wireless] section (except for Init5 if you have used an APN). Then run PupDial and immediately exit from it, to restore the default content for re-editing. Those Init lines should not contain any "\" or "$" characters, which constitute the corruption.
2. Here is how I set up the logic for selecting wireless Init-string groups. This affects what modems allow use of the PIN, APN and edited Init strings. Wired analog and some USB modems do not accommodate the added initialzation strings. The USB modems include those using the cdc-acm and pl2303 drivers and device ttyACM0, because they are either wired or are controlled in the same way as wired. Some of those use device ttyUSB0, as do the newer 3G modems. The extended modem control Init4-9 strings are sent by pupdial only for modems using devices ttyUSB*, ttyHS*, and ttynoz* AND that use drivers hso, option, nozomi, and sierra. If you have a modem that needs the PIN or APN, etc., parameters and is not included in the "wireless" category just defined, please notify me to change my assumptions about this.
3. I have attempted support for the Huawei C300 in response to a request from rajesh009 in another thread:
http://www.murga-linux.com/puppy/viewto ... 985#280985
Here is the essence of the thread:
How to install HUAWEI USB CDC MODEM (C300)?
rajesh009:
I have a Huawei CDMA Mobile C5320 which supports three modes:
1. USB Disk
2. Data
3. PC Sync
Windows XP detects it as HUAWEI USB CDC C300 modem in data mode and dial to the internet. Problem is that I cannot install my HUAWEI USB CDC MODEM (C300) on Puppy Linux. I tried the Connect panel on the Puppy Linux desktop, through dial-up...
I would be grateful if you dedicated Puppy Linux users help me out for solving this problem with simple easy steps. I am yet to understand the confusing coding used to deliver commands in Linux overall.Then again I will try if coding has to be done.
Patriot:
While looking up info on this issue back then, someone seems to have a method to get it to work, here :
http://anand.tch.in/2008/06/connecting- ... uawei.html
http://ubuntuforums.org/showthread.php?t=836952
rerwin:
I see elsewhere [including in the above links] that your modem IDs are vendor 12d1, product 3197, which is apparently not yet supported in linux, except that someone has posted a fix to a good driver to add it...
I could attempt to make that fix; however, the modem may require a "mode switch specification", which has not yet been published. There might be a chance that a mode switching is not needed; so give me a couple of days to work on the fix.
Instead of providing commands, I prefer to try to integrate support for the modem into the wireless-integration package, so it "just works". I have created a mode-switch rule most likely to work as it does for other Huawei modems. However, the driver, module option, must be forced to load, using the BootManager to add it to the load list (with no parameters). (Eventually the driver will probably support automatic loading for the modem; I prefer not to change and recompile the driver unless forcing fails.) I depend on feedback from anyone trying this modem, to know whether it works with Puppy.
Again, if you are not affected by the above modifications to pupdial, do not feel pressured to upgrade to "-7". And if you notice anything not quite right with pupdial (however you may define that), please notify me so I can correct it. Thank you, all, for helping me with this project. I am please with the results so far, but need reports on more different 2G/3G modems in order to feel comfortable submitting it for the "official" puppy.
Richard