Sierra Wireless MC7304 - Setup?



  • I've just built myself a new pfSense box, and wanted to get a 3g/4g failover working… I've done a fair bit of search but found nothing conclusive on getting the MC7304 to work.

    It's being detected be not giving any serial interfaces. I suspect I need to change it's mode somehow (I remember using usb_modeswitch on Linux with an older USB modem) but not sure on this card.

    If anyone has any insights on getting the card to work!

    ugen0.2: <sierra wireless,="" incorporated="" mc7304="">at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

    bLength = 0x0012
      bDescriptorType = 0x0001
      bcdUSB = 0x0200
      bDeviceClass = 0x0000  <probed by="" interface="" class="">bDeviceSubClass = 0x0000
      bDeviceProtocol = 0x0000
      bMaxPacketSize0 = 0x0040
      idVendor = 0x1199
      idProduct = 0x68c0
      bcdDevice = 0x0006
      iManufacturer = 0x0001  <sierra wireless,="" incorporated="">iProduct = 0x0002  <mc7304>iSerialNumber = 0x0003  <retrieving string="" failed="">bNumConfigurations = 0x0001</retrieving></mc7304></sierra></probed></sierra>



  • I don't have exactly the same modem myself, but I suppose it will not work with pfSense:

    • there is no support for MBIM or QMI
    • some Sierra devices expose only single serial modem interface while pfSense would like to see 2 ports, one for PPP and another for the control

    Anyway, you can try. Please show the output of AT!UDUSBCOMP=? and AT!UDUSBCOMP?
    Don't forget to unlock commands with AT!ENTERCND="A710" (assuming you have a com port exposed by the card)

    Edit:
    just noticed "not giving any serial interfaces". It's probably not the best approach, but you may need to use Windows or Linux machine to make the change. There are some recipes on Internet, just google for "mc7304 enable ports"



  • Actually MBIM is what it needs. The MC73xx family is all the same.

    
    root@E6420:~ # cu -l /dev/cuaU0.2
    Connected
    at
    OK
    atz
    OK
    at!udinfo?
    VID: 0x1199
    APP PID: 0x68C0
    BOOT PID: 0x68C0
    Interface: QBI
    Manufacturer: Sierra Wireless, Incorporated
    Product: MC7354
    
    OK
    at!entercnd="A710"
    OK
    at!udusbcomp=?
    0  - reserved                                     NOT SUPPORTED
    1  - DM   AT                                      SUPPORTED
    2  - reserved                                     NOT SUPPORTED
    3  - reserved                                     NOT SUPPORTED
    4  - reserved                                     NOT SUPPORTED
    5  - reserved                                     NOT SUPPORTED
    6  - DM   NMEA  AT    QMI                         SUPPORTED
    7  - DM   NMEA  AT    RMNET1 RMNET2 RMNET3        SUPPORTED
    8  - DM   NMEA  AT    MBIM                        SUPPORTED
    9  - MBIM                                         SUPPORTED
    10 - NMEA MBIM                                    SUPPORTED
    11 - DM   MBIM                                    SUPPORTED
    12 - DM   NMEA  MBIM                              SUPPORTED
    13 - Config1: comp6    Config2: comp8             NOT SUPPORTED
    14 - Config1: comp6    Config2: comp9             SUPPORTED
    15 - Config1: comp6    Config2: comp10            NOT SUPPORTED
    16 - Config1: comp6    Config2: comp11            NOT SUPPORTED
    17 - Config1: comp6    Config2: comp12            NOT SUPPORTED
    18 - Config1: comp7    Config2: comp8             NOT SUPPORTED
    19 - Config1: comp7    Config2: comp9             SUPPORTED
    20 - Config1: comp7    Config2: comp10            NOT SUPPORTED
    21 - Config1: comp7    Config2: comp11            NOT SUPPORTED
    22 - Config1: comp7    Config2: comp12            NOT SUPPORTED
    
    OK
    at!udusbcomp?
    !UDUSBCOMP: 8
    
    OK
    
    

    Notice udusbcomp=8 and that is MBIM +GPS+AT Console+DM

    So AndrewZ is absolutely right is that it needs switching from QMI mode for the serial ports to show up in FreeBSD/pfSense.
    You can use a Linux LiveCD and minicom into the modem and do the switch with at!udusbcomp=8.


  • Netgate Administrator

    When you switch it to composition 8 you are enabling the AT port which is what pfSense can use. You get an MBIM port too but there is no MBIM support in FreeBSD yet.

    It would work equally well in compositions 6, 7 or 8 but not in 9 which is probably what it was set by default.

    if you choose 14 or 19 then you get two USB config indexes and can choose between them.

    Steve