Skip to main content
Lucas
New Member
March 21, 2012
Question

3G Modem ZTE MF190

  • March 21, 2012
  • 7 replies
  • 12172 views
Does anyone know how to configure this modem in a Fortigate 50B? Or even if does it work on it? Thanks in advance.

    7 replies

    Carl_Wallmark
    New Member
    March 22, 2012
    Hi, Should not be a problem, find out the " product-id" and " vendor-id" and then use: config system 3g-modem custom you might also need the " init-str" , google for " message content" for your model.
    Lucas
    LucasAuthor
    New Member
    March 23, 2012
    Should not be a problem, find out the " product-id" and " vendor-id" and then use: config system 3g-modem custom you might also need the " init-str" , google for " message content" for your model.
    Hi Selective, could you give me a configuration example of any 3g modem? I' m new in CLI commands...
    Carl_Wallmark
    New Member
    March 24, 2012
    of course, im gonna present two examples, one pretty easy, and one more advanced: EASY: This one is for a ZTE MF820D 4G LTE, which is " unsupported" On this device i had to turn off the " USB flash" before plugging it in. config system modem set status enable set auto-dial enable set wireless-port 4 <------ The serial port which you can communicate with the modem, you need to find out which one you can use, you should be able to enter ATI and receive some information back. set phone1 " *99#" set extra-init1 " AT+CGDCONT=1,\" IP\" ,\" ONLINE.TELIA.SE\" " <---- Force the APN end config system 3g-modem custom <------ This tells the FortiGate what device its looking for edit 0 set vendor " ZTE" set model " MF820D 4G LTE" set vendor-id 19d2 set product-id 0167 next end ADVANCED: config system modem set status enable set auto-dial enable set wireless-port 1 <------ The serial port which you can communicate with the modem, you need to find out which one you can use, you should be able to enter ATI and receive some information back. set phone1 " *99#" set extra-init1 " AT+CGDCONT=1,\" IP\" ,\" ONLINE.TELIA.SE\" " <---- Force the APN end config system 3g-modem custom edit 0 set vendor " Huawei" set model " E398" set vendor-id 12d1 set product-id 1505 set init-str 55534243123456780000000000000011060000000000000000000000000000 <--- This message content is used when you dont turn off the USB-flash on the device, this tells the device your drivers are installed and you want the device to flip to communication. The string is different for each device. next after the E398 has switched mode: config system 3g-modem custom edit 0 set vendor " Huawei" set model E398 set vendor-id 12d1 set product-id 120c end You also have an undocumented command to use to see your USB devices: fnsysctl cat /proc/bus/usb/devices Debugging: diagnose debug application modemd 255 diagnose debug enable diagnose sys modem ? execute modem trigger/dial/hangup For example, if your want to start an interactiv session with the device, you could type: diagnose sys modem com /dev/ttyusb0 <--- you might have to find out the right com-port, ttyusb0/ttyusb1 and so on, this is important when you set the " wireless-port" Hope this helps you and others, i have spent a few hours on this, as you can see
    MikaelF
    New Member
    March 25, 2012
    Hi, I have been able to activate a Huawei e367 usb modem, as custom and being detected. but when checking the debug output it halts at " send" as below , any ideas? FGT60C3G10022181 # redails:0 isp:0 dev:/dev/ttyusb0 tel:*99# mode=0, dial=2, autodial=1 modem state changed: 6(stopped) -> 0(uninit) modem state changed: 0(uninit) -> 1(inactive) modem: Launch modem due to manual dial. modem: Begin dialing: redials left = 99999 modem state changed: 1(inactive) -> 2(dialing) chat: abort on (BUSY) chat: abort on (NO DIAL TONE) chat: abort on (NO DIALTONE) chat: abort on (NO CARRIER) chat: abort on (NO ANSWER) chat: abort on (ERROR) chat: send (atz^M) chat: expect (OK) chat: atz^M^M chat: OK chat: -- got it chat: send (ath0^M) chat: expect (OK) chat: ^M chat: ath0^M^M chat: OK chat: -- got it chat: send (ats7=90^M) chat: timeout set to 90 seconds chat: expect (OK) chat: ^M chat: ats7=90^M^M chat: OK chat: -- got it chat: send (AT+CGDCONT=1," IP" ," bredband.tre.se" ^M) chat: expect (OK) chat: ^M chat: AT+CGDCONT=1," IP" ," bredband.tre.se" ^M^M chat: OK chat: -- got it chat: send (atdt*99#^M) chat: expect (CONNECT) chat: ^M chat: atdt*99#^M^M chat: CONNECT chat: -- got it chat: send (^M) -------HERE IT STOPS..-------------
    Carl_Wallmark
    New Member
    March 25, 2012
    Hi Mikael, Are you sure about /dev/ttyusb0 ? These devices can have several com-ports, and a few Of them can respond to AT commands, but only one is the right. Try to change the com-port and see what happens: Config sys modem Set wireless-port 1 (raise this with one each time) End
    Suhofruct
    New Member
    November 19, 2020

    Hi!

     

    I have some problem with FortiGate50B and Huawei E352 modem.

     

    It has determined  in Forti:

    T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=12d1 ProdID=14ac Rev= 0.00 S: Manufacturer=Huawei Technologies S: Product=HUAWEI Mobile C:* #Ifs= 6 Cfg#= 1 Atr=c0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=serial E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=5ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=serial E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=5ms E: Ad=84(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=serial E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=serial E: Ad=86(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=87(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=06(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=88(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms

     

    BUT! It connected to mobile network only after I has clicked on button "Dial", and only after I put comand ATI after command diagnose sys modem com /dev/ttyusb0:

     

    FGT50B3G11605532 # diagnose sys modem com /dev/ttyusb0 Serial port: /dev/ttyusb0 Press Ctrl+W to exit.

    atdt*99# 236800

     

    If click ony on button Dial it doesn't connected, it is hanging in the state CONNECTING...

     

    What is problem?

    emnoc
    New Member
    November 19, 2020

    So if you dial from AT commands do you connect? It hard to tell from your output you paste. 

    Also you should start a new thread , you pull up a thread 8 years old and for ZTE. 

     

    Ken Felix

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT