Sorry for the delay.
It's a Huawei HSDPA USB modem with model E220. It is connected through the Swedish operator Telia, but my guess is that it's europeean settings.
I have the same modem and on my desktop distro have it working perfictly with this guide http://www.tlug.org.za/wiki/index.php/Vodacom_3G
. I'm tring to get it going on ipcop except obviously replacing modprobe option with modprobe usbserial vendor=0x12d1 product=0x1003 (I think where the 2.6 kernel guides just show modprobe option the "option module" simply figures out which modem u have huawei or otherwise and types in all the appropriate modprobe usbserial + vendorID + productID for you .. unnecssary but easyer[removes a lot of manual work hunting down the IDs])
Honnett from my own success I guarantee modprobe usbserial vendor=0x12d1 product=0x1003 plus that url will make a E220 work on linux so don't give up!
Currently i just chucked modprobe usbserial vendor=0x12d1 product=0x1003 just above the line `echo "Mounting other filesystems"` in /etc/rc.d/rc.sysinit cause i can't seem to get it to work in /etc/modules.conf. (well dmesg dose report anything when i plug it in doing it the modules.conf way anway)
Davidsworld whats wrong with scripts; if i could put in /etc/ppp/chat-3g-connect and /etc/ppp/peers/3g then type $pon 3g I would have got this working by now! .. Ok so i would rather have it in the gui so i can use all the ipcop features but in my rare (special cell modem) case I don't know how to do the simple web gui way.
One thing I'm trying to do with web interface way is OK AT+CGDCONT=1,"IP","APNname" how do i put in the APN the web way?
what do i put in the first drop down list Modem or serial ?
If someone has made a modifyed pppsetup.cgi thats a bit better please may I have directions.
Also theres a field called Script name on the pppsetup.cgi page can i use that to use chat-3g-connect or something, how does that field work?
Looking at the road map http://ipcop.org/index.php?module=pnWikka&tag=IPCopRoadmap
it says "Add 3G usbserial modems support from web GUI" well thats good! I hope that includes a box for the APN
My last question is is there away to do a pon 3g in Ipcop (as in any way i can run scripts from bash)
P.S sorry for my rambled wording of things.
You can but the chatscripts are antiquated and I believe from the Cretacious period. You did miss one very important feature in the usbserial module that IPCop 1.4.18 has and that is to set the endpoint buffer size to 4096 at least but you need your vendor id and device id to do it. When I patched it originally before handing it over to the IPCop team, I set it up to use an optional parameter called maxSize, if you do not specify this, the usbserial will default to a 64 byte buffer size rather than 4096 bytes which is needed for 3G to prevent usb packet fragmentation. The entire init string can contain the apn under the modem section so having a gui apn entry is really unnecessary, in fact cellular data devices for the last decade at least will work with a single one line concatenated init string including the apn. There are changes being made to the web gui more or less to set the maxSize parameter. The latest 2.6 kernels already have 3G drivers that have the 4096 endpoint buffer in them but we won't have that until version 2.0 of IPCop and preliminary testing with my 3G hardware did not yield the same throughput as the patched usbserial with the adjustable endpoint buffer we use in 1.4.18 granted that 2.0 is currently at 1.9svn and is pre pre alpha in development, still, we can patch the usbserial driver in the 2.6 kernel if it needs to happen when we get to that point.
You use "Modem on usb0" for the device normally but usb1 is available as well should the modem need to attach to it instead but it is not likely, and the phone number would be something like *99# and a good example of an init string in the modem menu is AT&F&D2&C1E0V1S0=0+CGDCONT=1,"IP","isp.cingular"
And the /etc/modules.conf example would be
alias char-major-188 usbserial
options usbserial vendor=0x1410 product=0x4300 maxSize=4096
You would substitute your vendor and product id in place of what I have as would you replace isp.cingular with your apn from your carrier. You likely have a generic username and password while you are setting up the dialup page. Yet another example in the case of AT&T/Cingular which my examples all use is
Sun Cobalt Raq 550 PIII 1.26ghz LCD replaced with 16x2 White Oled. Quad Intel 82546EB PMC on PCI-X adapter.
Raqcop-2.1.5 Flash Raid 1 with Two Transcend Industrial CF Drives and Syba adapters.
Bridged Actiontec 702 ADSL 2+ Modem using Frontier ADSL complete with blocked port 25 in both directions, sigh....
WLAN AP Addon using RT 3072 Chipped Premiertek Powerlink PL-18N connected to built in USB port.