[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Wed, 24 Feb 2010 22:03:24 +0000 Neil Stone wrote: > Does anyone have a cli script to initiate a ppp link with one of these > puppies ?? I would like to use one on a system that has limited disk > space and no GUI.. > > Cheers Hi Neil, You will most likely need to install some additional package into whatever distro you're thinking of and will almost certainly need to change the USB vendor ID (-v 0x12d1) and USB product ID (-p 0x1446) to match the dongle in question. /lib/udev/modem-modeswitch -v 0x12d1 -p 0x1446 -t option-zerocd After issuing this Linux would seem to re-probe the specific USB device ignoring anything that looks like a CD drive, and so finding the USB serial port. After it has found the serial port, you can treat it just like any other serial modem. I used to use wvdial when connecting to t'Internet via my Nokia N95 in modem mode. Your wvdial.conf might need to look something like this: [Dialer Defaults] Init1=ATZ Init2=ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Init3=AT+CGDCONT=1,"IP","three.co.uk","",0,0 Baud=460800 Modem Type=Analog Modem ISDN=0 Phone = *99# Username = user Password = passwd New PPPD = yes [Dialer Dongle0] modem=/dev/ttyUSB0 Changing the entries in the Init3 line to match your mobile provider's specs. Google is your friend here. Once this is in place, you should be able to initiate a PPP connection by issuing: # wvdial Dongle0 Hope this helps. Grant. :) -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html