Chinaunix

标题: CU到底有没有真正的高手----CDMA无线上网卡求助 [打印本页]

作者: FDer    时间: 2006-06-11 16:45
标题: CU到底有没有真正的高手----CDMA无线上网卡求助
freebsd下怎么使用usb口cdma无线上网卡上网.应该怎么设置.
能不能把配置文件写出来呢?
谢谢.在线等.....
各位帮个忙吧.

[ 本帖最后由 FDer 于 2006-6-11 16:53 编辑 ]
作者: FDer    时间: 2006-06-11 16:51
求助
作者: FDer    时间: 2006-06-11 16:52
有没有高手能解决一下呀.
作者: FDer    时间: 2006-06-15 18:15
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Received: OK^M
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Send: ATE1Q0^M
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Expect(100): OK
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Received: ATE1Q0^M^M
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Received: OK^M
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Send: ATDT#777^M
Jun 15 18:05:19 localhos ppp[761]: tun0: Chat: Expect(40): CONNECT
Jun 15 18:05:20 localhos ppp[761]: tun0: Chat: Received: ATDT#777^M^M
Jun 15 18:05:20 localhos ppp[761]: tun0: Chat: Received: CONNECT^M
Jun 15 18:05:20 localhos ppp[761]: tun0: Phase: deflink: dial -> carrier
Jun 15 18:05:21 localhos ppp[761]: tun0: Phase: deflink: carrier -> login
Jun 15 18:05:21 localhos ppp[761]: tun0: Phase: deflink: login -> lcp
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: FSM: Using "deflink" as a transport
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: State change Initial --> Closed
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: State change Closed --> Stopped
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: RecvConfigReq(1) state = Stopped
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MRU[4] 1514
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACCMAP[6] 0x00000000
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MAGICNUM[6] 0x09f57fd1
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  PROTOCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACFCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACFCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  PROTOCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACCMAP[6] 0x00000000
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MRU[4] 1500
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MAGICNUM[6] 0x1387c724
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: SendConfigAck(1) state = Stopped
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MRU[4] 1514
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACCMAP[6] 0x00000000
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MAGICNUM[6] 0x09f57fd1
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  PROTOCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACFCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: LayerStart
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  ACFCOMP[2]
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  PROTOCOMP[2]
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  ACCMAP[6] 0x00000000
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  MRU[4] 1500
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  MAGICNUM[6] 0x1387c724
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: LayerUp
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: SendIdent(0) state = Opened
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  MAGICNUM 1387c724
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  TEXT user-ppp 3.4.2 (built May  7 2006)
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: bundle: Authenticate
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from BJ-PDSN-9)
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: Chap Output: RESPONSE (card)
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: Chap Input: SUCCESS
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: FSM: Using "deflink" as a transport
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: deflink: State change Initial --> Closed
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: deflink: LayerStart.
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: MPPE: Not usable without CHAP81
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP:  DEFLATE[4] win 15
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP:  PRED1[2]
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: deflink: State change Closed --> Req-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: deflink: lcp -> open
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: bundle: Network
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: FSM: Using "deflink" as a transport
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: State change Initial --> Closed
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: LayerStart.
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 127.0.0.1
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  PRIDNS[6] 202.106.46.151
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  SECDNS[6] 255.255.255.255
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: RecvConfigReq(3) state = Req-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots without slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 220.192.0.9
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: SendConfigAck(3) state = Req-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots without slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 220.192.0.9
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: RecvProtocolRej(4) state = Opened
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 220.205.141.101
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] changing address: 127.0.0.1  --> 220.205.141.101
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots without slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] changing compproto: 002d0f01 --> 002d0f00
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  PRIDNS[6] 220.192.0.130
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  SECDNS[6] 220.192.8.58
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: Primary nameserver set to 220.192.0.130
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: Secondary nameserver set to 220.192.8.58
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 220.205.141.101
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots without slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  PRIDNS[6] 220.192.0.130
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  SECDNS[6] 220.192.8.58
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 220.205.141.101
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots without slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  PRIDNS[6] 220.192.0.130
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  SECDNS[6] 220.192.8.58
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: LayerUp.
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: myaddr 220.205.141.101 hisaddr = 220.192.0.9
作者: rainren    时间: 2006-06-15 18:40
没用过, 不过下面的信息可能会帮到你! 看看能否成功!:wink::wink::wink:

http://unix.derkeiler.com/Mailin ... s/2005-06/0350.html


Hi


Don't know why attachment couldn't go through.


So I put it in body:


  


Append to FILE: src/sys/dev/usb/usbdevs


vendor AIRPRIME 0x0f3d AirPrime, Incorporated


vendor NOVATEL 0x1410 Novatel


/* AirPrime products */


product AIRPRIME PC5220 0x0112 CDMA Wireless PC Card


  


/* Novatel products */


product NOVATEL PC620 0x1110 CDMA Wireless PC Card


  


Append to FILE: /etc/usbd.conf


device "Verizon wireless Airprime"


        devname "ucom0"


        vendor 0x0f3d


        product 0x0112


        #attach "/usr/sbin/pppctl /var/run/ppp/3g-ppp quit all;/usr/sbin/ppp
-auto 3g"


        attach "/usr/sbin/ppp -auto 3g"


        detach "/usr/sbin/pppctl /var/run/ppp/3g-ppp quit all"


  


device "Verizon wireless Novatel"


        devname "ucom0"


        vendor 0x1410


        product 0x1110


        #attach "/usr/sbin/pppctl /var/run/ppp/3g-ppp quit all;/usr/sbin/ppp
-auto 3g"


        attach "/usr/sbin/ppp -auto 3g"


        detach "/usr/sbin/pppctl /var/run/ppp/3g-ppp quit all"


  


Append to FILE: /etc/ppp/pppd.conf


3g:


set device /dev/ucom0


set speed 460800 # SPEED IS GOOD!


set phone \#777 # 1 refers to CID


  


# The chat script is a little bit different


set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \


                        \"\" AT OK-AT-OK \


                        AT OK-AT-OK \\dATD\\T TIMEOUT 40 CONNECT"


enable dns


set authname wap


set authkey wap


accept PAP


set login


add default HISADDR


set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0


disable ipv6cp


disable mppe


set reconnect 3 15


  


new FILE: src/sys/dev/usb/uveriz.c,v


  


#include <sys/cdefs.h>


__FBSDID("$FreeBSD: src/sys/dev/usb/uveriz.c,v 1.1 2005/06/08 12:44:09
akurilov Exp $";


  


#include "opt_uvscom.h"


  


#include <sys/param.h>


#include <sys/systm.h>


#include <sys/kernel.h>


#include <sys/malloc.h>


#include <sys/module.h>


#include <sys/fcntl.h>


#include <sys/conf.h>


#include <sys/tty.h>


#include <sys/file.h>


#if defined(__FreeBSD__)


#include <sys/bus.h>


#include <sys/ioccom.h>


#if __FreeBSD_version >= 500014


#include <sys/selinfo.h>


#else


#include <sys/select.h>


#endif


#else


#include <sys/ioctl.h>


#include <sys/device.h>


#endif


#include <sys/proc.h>


#include <sys/poll.h>


#include <sys/sysctl.h>


#include <sys/taskqueue.h>


  


#include <dev/usb/usb.h>


#include <dev/usb/usbcdc.h>


  


#include <dev/usb/usbdi.h>


#include <dev/usb/usbdi_util.h>


#include "usbdevs.h"


#include <dev/usb/usb_quirks.h>


  


#include <dev/usb/ucomvar.h>


  


/* */


#define uveriz_DEBUG 1


  


#ifdef uveriz_DEBUG


#define DPRINTF(x) if (uverizdebug) printf x


#define DPRINTFN(n,x) if (uverizdebug>(n)) printf x


int uverizdebug = 0;


#else


#define DPRINTF(x)


#define DPRINTFN(n,x)


#endif


  


struct uveriz_softc {


            struct ucom_softc sc_ucom;


            u_int16_t sc_flags;


};


  


#define UVERIZ_CONFIG_INDEX 0


#define UVERIZ_IFACE_INDEX 0


#define UVERIZ_MODVER 1


#define UVERIZ_BUFSIZE 1024


  


static const struct usb_devno uveriz_devs[] = {


{ USB_VENDOR_AIRPRIME, USB_PRODUCT_AIRPRIME_PC5220 },


{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_PC620 },


};


#define uveriz_lookup(v, p) usb_lookup(uveriz_devs, v, p)


  


  


Static void uveriz_close(void *, int);


  


struct ucom_callback uveriz_callback = {


            NULL,


            NULL,


            NULL,


            NULL,


            NULL,


            uveriz_close,


            NULL,


            NULL,


};


  


/*USB_DECLARE_DRIVER(uveriz);*/


Static device_probe_t uveriz_match;


Static device_attach_t uveriz_attach;


Static device_detach_t uveriz_detach;


Static device_method_t uveriz_methods[] = {


       /* Device interface */


       DEVMETHOD(device_probe, uveriz_match),


       DEVMETHOD(device_attach, uveriz_attach),


       DEVMETHOD(device_detach, uveriz_detach),


       { 0, 0 }


};


  


  


Static driver_t uveriz_driver = {


       "ucom",


       uveriz_methods,


       sizeof (struct uveriz_softc)


};


  


DRIVER_MODULE(uveriz, uhub, uveriz_driver, ucom_devclass, usbd_driver_load,
0);


MODULE_DEPEND(uveriz, usb, 1, 1, 1);


MODULE_DEPEND(uveriz, ucom, UCOM_MINVER, UCOM_PREFVER, UCOM_MAXVER);


MODULE_VERSION(uveriz, UVERIZ_MODVER);


  


  


USB_MATCH(uveriz)


{


USB_MATCH_START(uveriz, uaa);


  


if (uaa->iface != NULL)


return (UMATCH_NONE);


  


DPRINTFN(20,("uveriz: vendor=0x%x, product=0x%x\n",


uaa->vendor, uaa->product));


  


return (uveriz_lookup(uaa->vendor, uaa->product) != NULL ?


UMATCH_VENDOR_PRODUCT : UMATCH_NONE);


}


  


USB_ATTACH(uveriz)


{


            USB_ATTACH_START(uveriz, sc, uaa);


            usbd_device_handle dev = uaa->device;


            usbd_interface_handle iface;


            usb_interface_descriptor_t *id;


            usb_endpoint_descriptor_t *ed;


            char *devinfo;


            const char *devname;


            int i;


            usbd_status err;


            struct ucom_softc *ucom;


  


            devinfo = malloc(1024, M_USBDEV, M_WAITOK);


            ucom = &sc->sc_ucom;


  


            bzero(sc, sizeof (struct uveriz_softc));


            usbd_devinfo(dev, 0, devinfo);


    /*USB_ATTACH_SETUP;*/


            ucom->sc_dev = self;


            device_set_desc_copy(self, devinfo);


  


            ucom->sc_udev = dev;


            ucom->sc_iface = uaa->iface;


  


            devname = USBDEVNAME(ucom->sc_dev);


            printf("%s: %s\n", devname, devinfo);


  


            DPRINTFN(10,("\nuveriz_attach: sc=%p\n", sc));


  


            /* Move the device into the configured state. */


            err = usbd_set_config_index(dev, UVERIZ_CONFIG_INDEX, 1);


            if (err) {


                        printf("\n%s: failed to set configuration,
err=%s\n",


                               devname, usbd_errstr(err));


                        goto bad;


            }


  


            err = usbd_device2interface_handle(dev, UVERIZ_IFACE_INDEX,
&iface);


            if (err) {


                        printf("\n%s: failed to get interface, err=%s\n",


                               devname, usbd_errstr(err));


                        goto bad;


            }


  


            printf("%s: %s\n", devname, devinfo);


  


            /*sc->sc_flags = uveriz_lookup(uaa->vendor,
uaa->product)->uv_flags;*/


  


            id = usbd_get_interface_descriptor(iface);


  


            ucom->sc_udev = dev;


            ucom->sc_iface = iface;


  


            ucom->sc_bulkin_no = ucom->sc_bulkout_no = -1;


            for (i = 0; i < id->bNumEndpoints; i++) {


                        int addr, dir, attr;


                        ed = usbd_interface2endpoint_descriptor(iface, i);


                        if (ed == NULL) {


                                   printf("%s: could not read endpoint
descriptor"


                                          ": %s\n", devname,
usbd_errstr(err));


                                   goto bad;


                        }


  


                        addr = ed->bEndpointAddress;


                        dir = UE_GET_DIR(ed->bEndpointAddress);


                        attr = ed->bmAttributes & UE_XFERTYPE;


                        if (dir == UE_DIR_IN && attr == UE_BULK)


                                   ucom->sc_bulkin_no = addr;


                        else if (dir == UE_DIR_OUT && attr == UE_BULK)


                                   ucom->sc_bulkout_no = addr;


                        else if (attr == UE_INTERRUPT) {


            printf("interrupt\n";


        }


                        else {


                                   printf("%s: unexpected endpoint(%d
%d)\n", devname, dir, attr);


                                   goto bad;


                        }


            }


            if (ucom->sc_bulkin_no == -1) {


                        printf("%s: Could not find data bulk in\n",


                               USBDEVNAME(ucom->sc_dev));


                        goto bad;


            }


            if (ucom->sc_bulkout_no == -1) {


                        printf("%s: Could not find data bulk out\n",


                               USBDEVNAME(ucom->sc_dev));


                        goto bad;


            }


  


            ucom->sc_parent = sc;


            ucom->sc_portno = UCOM_UNK_PORTNO;


            /* bulkin, bulkout set above */


            ucom->sc_ibufsize = UVERIZ_BUFSIZE;


            ucom->sc_obufsize = UVERIZ_BUFSIZE;


            ucom->sc_ibufsizepad = UVERIZ_BUFSIZE;


            ucom->sc_opkthdrlen = 0;


            ucom->sc_callback = &uveriz_callback;


  


            if (err) {


                        printf("%s: init failed, %s\n",
USBDEVNAME(ucom->sc_dev),


                               usbd_errstr(err));


                        goto bad;


            }


  


            usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, ucom->sc_udev,


                                      USBDEV(ucom->sc_dev));


  


            DPRINTF(("uveriz: in=0x%x out=0x%x\n", ucom->sc_bulkin_no,
ucom->sc_bulkout_no));


            ucom_attach(&sc->sc_ucom);


  


            USB_ATTACH_SUCCESS_RETURN;


  


bad:


            DPRINTF(("uveriz_attach: ATTACH ERROR\n");


            ucom->sc_dying = 1;


            USB_ATTACH_ERROR_RETURN;


}


  


/*


int


uveriz_activate(device_ptr_t self, enum devact act)


{


struct uveriz_softc *sc = (struct uveriz_softc *)self;


int rv = 0;


  


switch (act) {


case DVACT_ACTIVATE:


return (EOPNOTSUPP);


break;


  


case DVACT_DEACTIVATE:


sc->sc_dying = 1;


if (sc->sc_subdev)


rv = config_deactivate(sc->sc_subdev);


break;


}


return (rv);


}*/


  


USB_DETACH(uveriz)


{


    USB_DETACH_START(uveriz, sc);


    int rv = 0;


  


    DPRINTF(("uveriz_detach: sc=%p\n", sc));


            sc->sc_ucom.sc_dying = 1;


            rv = ucom_detach(&sc->sc_ucom);


  


            usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_ucom.sc_udev,


                                      USBDEV(sc->sc_ucom.sc_dev));


  


            return (rv);


}


  


void


uveriz_close(void *addr, int portno)


{


            /*struct uvisor_softc *sc = addr;


            usb_device_request_t req;


            struct uveriz_connection_info coninfo;


            int actlen;


  


            if (sc->sc_ucom.sc_dying)


                        return;


  


            req.bmRequestType = UT_READ_VENDOR_ENDPOINT;


            req.bRequest = UVISOR_CLOSE_NOTIFICATION;


            USETW(req.wValue, 0);


            USETW(req.wIndex, 0);


            USETW(req.wLength, UVISOR_CONNECTION_INFO_SIZE);


            (void)usbd_do_request_flags(sc->sc_ucom.sc_udev, &req, &coninfo,


                                                   USBD_SHORT_XFER_OK,
&actlen,


                                                   USBD_DEFAULT_TIMEOUT);*/


}


  


  


Best regards.


Alexander Kurilovich


  _____


From: Alexander Kurilovich [mailto:alexander_kurilovich@hotmail.com]
Sent: Friday, June 24, 2005 3:34 PM
To: 'freebsd-hackers@freebsd.org'
Subject: Wireless CDMA cards for Verizon


  


Hi


  


I've implemented 2 PCMCI wireless CDMA-3G cards from Verizon. I use them via
'ppp' using 'ucom'.


  


It might be helpful for somebody. Code, ppp.conf and usbd.conf in attached
file.


  


Alexander Kurilovich
作者: rainren    时间: 2006-06-15 18:42
other message:

http://www.freebsd.cz/listserv/a ... 05-July/013588.html
作者: wonjia    时间: 2006-06-15 21:00
代码太长了 郁闷ing
作者: zero-B    时间: 2006-06-15 23:47
对LZ说:

不要一跳上来就问有没高手,Unix系统做桌面是需要很大耐心的。如果你觉得CU没有高手你试试问谁会WEB负载均衡,谁会数据库优化,谁会NFS,绝对给你的答案让你晕乎晕乎的。所以,不要说有没高手,要虚心请教。
作者: hbaoy    时间: 2006-06-16 01:52
不是有种做法是模拟WIN的驱动来运行吗

不知道这个可不可以

HANDBOOK里头说的哪个

PS:严重同意楼上的意见
作者: iceblood    时间: 2006-06-16 09:11
回答你的问题才算高手啊?
我们这里几十万人现在都不是高手。
作者: wind_lq    时间: 2006-06-16 16:14
我知道有一个高手,但是他用的是GPRS上网卡,所以帮不了你。保重




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2