On Thu, 22 Apr 2010 07:44:04 -0600 Ted Roby <ted.r...@gmail.com> wrote:
> Novatel (0x1410) makes an MC760 (0x6002) used by > Virgin Mobile in their BroadBand2Go card. First things first. You will probably need to put it into a ms-windows machine with the vendor/carrier provided software to do the initial device configuration (e.g. "activation" including getting the prl and similar downloads). As mentioned, there are typically more than one serial ports on these devices. Only one of the serial ports is used for the connection, while the others are for undocumented "management" purposes. You'll need to experiment to figure out which is the right port. These cards can attach to different networks, such as QNC, RTT, EVDO Rev0, EVDO RevA, GSM. GPRS, UTMS, HSDPA, ... and you can control the network via the AT commands. Unfortunately, some devices will uncontrollably "float" between networks depending on usage and/or signal strength. With some providers, you need to use the correct phone number in your ppp.conf, typically "#777" but with other providers, this doesn't matter. Similarly, with some providers the authname and authkey matter (some use the device phone number), but with other providers they don't matter, or need to be set to known values. One thing to note is the setting for 'speed' only matters on some devices while other devices ignore the provided value. I've got no clue how the MC760 works. >From what I've read, Virgin Mobile Broadband uses PAP and CHAP must be disabled, but I'm thousands of miles away from being able to test it, so I'm uncertain if it's true. >From the file content and file names, it seems you've found hints from the linux users like: http://forums.whirlpool.net.au/forum-replies-archive.cfm/808806.html The good thing about the above link is it seems to show the AT commands for controlling which network you connect to with virgin. Reformatting the information into a simple ppp.conf should not be too difficult. Below is my ppp.conf and dmesg for an EVDO device running on Verizon here in the states. Yours will obviously be different, but it might be a helpful reference. jcr ----------------------------------------------------------------------- # Default Settings # set log debug async connect Phase Chat LCP IPCP CCP tun command default: set log connect Phase Chat LQM LCP IPCP CCP tun command # NOTE: need to document AT codes for QNC, RTT, EVDO, etc. # For old 14.4K QNC Network # AT$QCMDR=2;AT$QCQNC=1 # For 128K144K RTT "Express Network" # AT$QCMDR=3;AT$QCQNC=0 # For EVDO # AT (unknown) # VerizonWireless 1xEVDO/1xRTT vzw: set device /dev/cuaU0 set speed 230400 set phone "#777" set authname vzw3g.com set authkey vzw set server /var/run/ppp.pid "" 0177 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" \ AT OK \ ATZ0 OK \ ATQ0 OK \ ATV1 OK \ ATE1 OK \ AT+EFCS=2 OK \ AT&V OK \ \\dATDT\\T TIMEOUT 30 CONNECT" set login set redial 3 0 set timeout 0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add! default HISADDR enable dns disable ipv6cp enable lqr accept lqr set cd off # set mru 2048 # set mtu 2048 # set mru 2048 # set mtu 2048 # set ctsrts off # set escape 0xff # set accmap 000a0000 # enable echo # set echoperiod 30 # disable vjcomp # deny vjcomp # disable deflate pred1 vjcomp acfcomp chap chap81 mppe # deny deflate pred1 vjcomp acfcomp chap chap81 mppe # disable vjcomp pred1 deflate lqr # deny vjcomp pred1 deflate lqr # disable vjcomp pred1 deflate # deny vjcomp pred1 deflate # disable lqr # deny lqr #EOF ----------------------------------------------------------------------- OpenBSD 4.7 (GENERIC) #556: Tue Mar 9 09:46:59 MST 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 400 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 133783552 (127MB) avail mem = 120979456 (115MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/01/01, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.2 @ 0xfb410 (64 entries) bios0: vendor Dell Computer Corporation version "A10" date 08/01/01 bios0: Dell Computer Corporation OptiPlex GX1 400MTbr+ apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc670/176 (9 entries) pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc0000/0x8000 0xc8000/0x8000 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xf4000000, size 0x4000000 ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Rage Pro" rev 0x5c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02 pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <IC35L060AVV207-0> wd0: 16-sector PIO, LBA48, 38162MB, 78156288 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM SC-140B, d005> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11 piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: SMI iic0 at piixpm0 admtemp0 at iic0 addr 0x1a: Xeon spdmem0 at iic0 addr 0x52: 128MB SDRAM ECC PC100CL2 cbb0 at pci0 dev 14 function 0 "Ricoh 5C475 CardBus" rev 0x81: irq 10 ppb1 at pci0 dev 15 function 0 "DEC 21152 PCI-PCI" rev 0x03 pci2 at ppb1 bus 3 xl0 at pci0 dev 17 function 0 "3Com 3c905B 100Base-TX" rev 0x24: irq 11, address 00:c0:4f:27:c5:90 exphy0 at xl0 phy 24: 3Com internal media interface isa0 at piixpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec usb0 at uhci0: USB revision 1.0 uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20 pcmcia0 at cardslot0 biomask ef65 netmask ef65 ttymask ffff mtrr: Pentium Pro MTRR support vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root root on wd0a swap on wd0b dump on wd0b ohci0 at cardbus0 dev 0 function 0 "NEC USB" rev 0x43: irq 10, version 1.0 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "NEC OHCI root hub" rev 1.00/1.00 addr 1 ohci1 at cardbus0 dev 0 function 1 "NEC USB" rev 0x43: irq 10, version 1.0 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1 umsm0 at uhub1 port 1 configuration 1 interface 0 "Qualcomm, Incorporated Qualcomm CDMA Technologies MSM" rev 1.10/0.00 addr 2 ucom0 at umsm0 umsm1 at uhub1 port 1 configuration 1 interface 1 "Qualcomm, Incorporated Qualcomm CDMA Technologies MSM" rev 1.10/0.00 addr 2 ucom1 at umsm1 ucom0 detached umsm0 detached ucom1 detached umsm1 detached umsm0 at uhub1 port 1 configuration 1 interface 0 "Qualcomm, Incorporated Qualcomm CDMA Technologies MSM" rev 1.10/0.00 addr 2 ucom0 at umsm0 umsm1 at uhub1 port 1 configuration 1 interface 1 "Qualcomm, Incorporated Qualcomm CDMA Technologies MSM" rev 1.10/0.00 addr 2 ucom1 at umsm1 -- The OpenBSD Journal - http://www.undeadly.org