Hot!3G Modem ZTE MF190

Author
Lucas
New Member
  • Total Posts : 2
  • Scores: 0
  • Reward points: 0
  • Joined: 2012/03/21 11:12:11
  • Status: offline
2012/03/21 11:18:09 (permalink)
0

3G Modem ZTE MF190

Does anyone know how to configure this modem in a Fortigate 50B? Or even if does it work on it?

Thanks in advance.
< Message edited by Lucas -- 3/21/2012 11:20:31 AM >
#1

7 Replies Related Threads

    Selective
    Expert Member
    • Total Posts : 2744
    • Scores: 119
    • Reward points: 0
    • Joined: 2007/07/03 10:44:56
    • Location: Gothenburg - Sweden
    • Status: offline
    RE: 3G Modem ZTE MF190 2012/03/22 03:41:08 (permalink)
    0
    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.
    < Message edited by Selective -- 3/22/2012 3:41:18 AM >

    FCNSA, FCNSP
    ---
    FortiGate 200A/B, 224B, 110C, 100A/D, 80C/CM/Voice, 60B/C/CX/D, 50B, 40C, 30B
    FortiAnalyzer 100B, 100C
    FortiMail 100,100C
    FortiManager VM
    FortiAuthenticator VM
    FortiToken
    FortiAP 220B/221B, 11C
    #2
    Lucas
    New Member
    • Total Posts : 2
    • Scores: 0
    • Reward points: 0
    • Joined: 2012/03/21 11:12:11
    • Status: offline
    RE: 3G Modem ZTE MF190 2012/03/23 11:24:01 (permalink)
    0

    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...
    #3
    Selective
    Expert Member
    • Total Posts : 2744
    • Scores: 119
    • Reward points: 0
    • Joined: 2007/07/03 10:44:56
    • Location: Gothenburg - Sweden
    • Status: offline
    RE: 3G Modem ZTE MF190 2012/03/24 00:59:31 (permalink)
    0
    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
    < Message edited by Selective -- 3/24/2012 1:32:39 AM >

    FCNSA, FCNSP
    ---
    FortiGate 200A/B, 224B, 110C, 100A/D, 80C/CM/Voice, 60B/C/CX/D, 50B, 40C, 30B
    FortiAnalyzer 100B, 100C
    FortiMail 100,100C
    FortiManager VM
    FortiAuthenticator VM
    FortiToken
    FortiAP 220B/221B, 11C
    #4
    MikaelF
    New Member
    • Total Posts : 13
    • Scores: 0
    • Reward points: 0
    • Joined: 2005/01/26 08:01:30
    • Status: offline
    RE: 3G Modem ZTE MF190 2012/03/25 01:20:16 (permalink)
    0
    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..-------------
    #5
    Selective
    Expert Member
    • Total Posts : 2744
    • Scores: 119
    • Reward points: 0
    • Joined: 2007/07/03 10:44:56
    • Location: Gothenburg - Sweden
    • Status: offline
    RE: 3G Modem ZTE MF190 2012/03/25 01:39:53 (permalink)
    0
    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
    < Message edited by Selective -- 3/25/2012 1:40:38 AM >

    FCNSA, FCNSP
    ---
    FortiGate 200A/B, 224B, 110C, 100A/D, 80C/CM/Voice, 60B/C/CX/D, 50B, 40C, 30B
    FortiAnalyzer 100B, 100C
    FortiMail 100,100C
    FortiManager VM
    FortiAuthenticator VM
    FortiToken
    FortiAP 220B/221B, 11C
    #6
    Suhofruct
    New Member
    • Total Posts : 2
    • Scores: 0
    • Reward points: 0
    • Joined: 2020/11/18 03:56:37
    • Status: offline
    Re: RE: 3G Modem ZTE MF190 2020/11/19 06:39:33 (permalink)
    0
    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?
    #7
    emnoc
    Expert Member
    • Total Posts : 5863
    • Scores: 387
    • Reward points: 0
    • Joined: 2008/03/20 13:30:33
    • Location: AUSTIN TX AREA
    • Status: online
    Re: RE: 3G Modem ZTE MF190 2020/11/19 08:35:12 (permalink)
    0
    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

    PCNSE 
    NSE 
    StrongSwan  
    #8
    Jump to:
    © 2020 APG vNext Commercial Version 5.5