Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    3g Dongle Will Not Show Up in PPP

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    17 Posts 6 Posters 6.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      konradwalsh
      last edited by

      Hi

      Firstly, I have read through every search response I could find and tried every single suggestion but cannot get this working at all.

      Setup:

      ==============================

      Version 2.1-RC0 (i386)
      built on Mon Jun 17 04:12:48 EDT 2013
      FreeBSD 8.3-RELEASE-p8

      You are on the latest version.
      Platform pfSense
      CPU Type Intel(R) Pentium(R) 4 CPU 2.80GHz

      =====================================

      I have two modems - USB Huawei
      Model 1: e122
      Model 2: HiLink E303

      =======================================

      When I plug in either, it is recognised and it says what model it is etc but does not show up in interfaces.

      Yet when I list devices - I can see it is correctly listed in devices.

      I am sure it has to do with the UMASS switching issue but I have tried everything and cannot get it to see it.

      Out of interest, I plugged the e122 into my companies PFSENSE box, at it works immediately. No extra configuration.

      Both work find on a laptop with Windows.

      See screenshots./.. any help is appreciated.

      2013-06-17_14h50_05.png
      2013-06-17_14h50_05.png_thumb

      1 Reply Last reply Reply Quote 0
      • K Offline
        konradwalsh
        last edited by

        One more pic

        2013-06-17_14h52_51.png
        2013-06-17_14h52_51.png_thumb

        1 Reply Last reply Reply Quote 0
        • K Offline
          konradwalsh
          last edited by

          Can anyone even confirm that they got it working with a similar set up?

          Does this info help:

          usbconfig show_ifdrv
          ugen0.1: <uhci root="" hub="" intel="">at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SA                                VE
          ugen0.1.0: uhub0: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">ugen1.1: <uhci root="" hub="" intel="">at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SA                                VE
          ugen1.1.0: uhub1: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">ugen2.1: <uhci root="" hub="" intel="">at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SA                                VE
          ugen2.1.0: uhub2: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">ugen3.1: <uhci root="" hub="" intel="">at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SA                                VE
          ugen3.1.0: uhub3: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">ugen4.1: <ehci root="" hub="" intel="">at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=S                                AVE
          ugen4.1.0: uhub4: <intel 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">ugen4.2: <huawei hilink="" huawei="">at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=                                ON
          ugen4.2.0: umass0: <huawei 0="" 2="" huawei="" hilink,="" class="" 0,="" rev="" 2.00="" 1.02,="" addr="">ugen4.3: <huawei mobile="" hua="" wei="">at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr                                =ON
          ugen4.3.0: u3g0: <3G Modem>
          ugen4.3.3: umass1: <usb mass="" storage="">ugen4.3.4: umass2: <usb mass="" storage="">ugen3.2: <product 0x05cf="" vendor="" 0x1bcf="">at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbp                                s) pwr=ON
          ugen3.2.0: ukbd0: <vendor 0="" 2="" 0x1bcf="" product="" 0x05cf,="" class="" 0,="" rev="" 2.00="" a0.13,="" addr =""  ="">ugen3.2.1: ums0:</vendor></product></usb></usb></huawei></huawei></huawei></intel></ehci></intel></uhci></intel></uhci></intel></uhci></intel></uhci>

          1 Reply Last reply Reply Quote 0
          • W Offline
            wallabybob
            last edited by

            @konradwalsh:

            When I plug in either, it is recognised and it says what model it is etc but does not show up in interfaces.

            Can you give more detail on what you mean by "does not show up in interfaces"?

            Your usbconfig output shows the modem is recognised as a 3G modem (device u3g0 reported) and your device listing shows a /dev/cuaU0.0 device so I would expect you would need to go to Interfaces -> (assign), click on the PPPs tab, then click on the "+" button to add /dev/cuaU0.0 (or cuaU0.1 or cuaU0.2, whichever is the data port)  to the pool of interfaces available for PPP use, similar to what needs to be done after adding a new NIC to the box.

            1 Reply Last reply Reply Quote 0
            • K Offline
              konradwalsh
              last edited by

              Hi
              Exactly.. thats what I expected.. however, if you look at the second reply.. I added a photo of exactly your steps and it shows no interfaces in the list

              2013-06-18_09h55_38.png
              2013-06-18_09h55_38.png_thumb

              1 Reply Last reply Reply Quote 0
              • F Offline
                fragged
                last edited by

                This should be on the 2.1 Snapshots forum. I've been seeing this issue on my box also since the past few weeks. I have 2 Huawei sticks and neither shows any PPP interfaces anymore.

                1 Reply Last reply Reply Quote 0
                • K Offline
                  konradwalsh
                  last edited by

                  oh,thats interesting.. thanks.. so I am wasting my time…

                  I guess I'll downgrade to stable and test again..

                  thanks for letting me know

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    wallabybob
                    last edited by

                    I suspect this might have been caused by the fix for the problem reported in at least a couple of topics including http://forum.pfsense.org/index.php/topic,49094.0.html and http://forum.pfsense.org/index.php/topic,56367.0.html

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      phil.davis
                      last edited by

                      Just for the record, I have a Huawei E1550 HSDPA USB Stick. I haven't used it in production anywhere, but I'm sure I used it on an Alix 2D13 and 2.1-DEVELOPMENT system and it just worked - that was at least 6 months ago when I was doing some testing, training and playing. I tried again about 2 weeks ago and it didn't show up in the GUI - just like reported in this thread. I didn't have time to play.
                      It would be great if these dongles worked - I have some sites that have primary ADSL on the phone line and could choose to failover to a 3G dongle if the ADSL is dead for an extended period.
                      I am not in a position to do any hardware testing/debugging until next week - not near my test Alix right now.

                      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        eri--
                        last edited by

                        That means that the device is not responding to AT OK commands.

                        Before there were some ioctl configuration done on those which was removed now.
                        I have to check on how best to solve this which was not identified until now.

                        For now you can just apply this patch

                        
                        diff --git a/usr/local/www/interfaces_ppps_edit.php b/usr/local/www/interfaces_ppps_edit.php
                        index d953111..abbafa5 100644
                        --- a/usr/local/www/interfaces_ppps_edit.php
                        +++ b/usr/local/www/interfaces_ppps_edit.php
                        @@ -434,7 +434,8 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
                                                        $selected_ports = explode(',',$pconfig['interfaces']);
                                                        if (!is_dir("/var/spool/lock"))
                                                                mwexec("/bin/mkdir -p /var/spool/lock");
                        -                               $serialports = pfSense_get_modem_devices();
                        +                               //$serialports = pfSense_get_modem_devices();
                        +                               $serialports = glob("/dev/cua*");
                                                        $serport_count = 0;
                                                        foreach ($serialports as $port) {
                                                                $serport_count++;
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          AMD_infinium05
                          last edited by

                          I applied this patch through System > patches.

                          I still cant see my 3G Dongle showing up on ppp interface.

                          Am I Missing something.?…

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            konradwalsh
                            last edited by

                            Well, this is what i did
                            I fresh installed 2.03.. then upgraded to the 2.1 RC0
                            It sees my modems now

                            BUt fails to connect..

                            
                            Jun 20 10:51:11	ppp: [opt2_link0] Link: reconnection attempt 185 in 4 seconds
                            Jun 20 10:51:11	ppp: [opt2_link0] LCP: Down event
                            Jun 20 10:51:11	ppp: [opt2_link0] Link: DOWN event
                            Jun 20 10:51:11	ppp: [opt2_link0] MODEM: chat script failed
                            Jun 20 10:51:11	ppp: [opt2_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
                            Jun 20 10:51:11	ppp: [opt2_link0] CHAT: Detected Hayes compatible modem.
                            Jun 20 10:51:11	ppp: [opt2_link0] CHAT: +CGDCONT=1,"IP","3ireland.ie"
                            Jun 20 10:51:10	ppp: [opt2_link0] Link: reconnection attempt 184
                            
                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              konradwalsh
                              last edited by

                              I guess this means something:

                              3GTHREE interface (ppp1)
                              Status	 up
                              PPP	 
                              Uptime	 00:00:0
                              Cell Signal (RSSI)	 rssi:18 level:-77dBm percent:58%
                              Cell Mode	 None, No Service Mode
                              Cell SIM State	 Invalid SIM/locked State
                              Cell Service	 No Service
                              MAC address	 00:00:00:00:00:00
                              IPv6 Link Local	 fe80::212:3fff:feac:3650	  
                              In/out packets	 0/0 (0 bytes/0 bytes)
                              In/out packets (pass)	 0/0 (0 bytes/0 bytes)
                              In/out packets (block)	 0/73 (0 bytes/5 KB)
                              In/out errors	 0/0
                              Collisions	 0
                              

                              But the sim is not locked and on my laptop, there is full coverage..

                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                eri--
                                last edited by

                                Please try with tomorrows snapshots.

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  konradwalsh
                                  last edited by

                                  Sounds Good
                                  Thanks

                                  1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    konradwalsh
                                    last edited by

                                    Latest Snapshot didn't fix things sadly…

                                    Here is my log :

                                    Jun 26 08:24:57	ppp: [opt2_link0] Link: reconnection attempt 1
                                    Jun 26 08:24:54	ppp: [opt2_link0] Link: reconnection attempt 1 in 2 seconds
                                    Jun 26 08:24:54	ppp: [opt2_link0] LCP: Down event
                                    Jun 26 08:24:54	ppp: [opt2_link0] Link: DOWN event
                                    Jun 26 08:24:54	ppp: [opt2_link0] MODEM: chat script failed
                                    Jun 26 08:24:54	ppp: [opt2_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
                                    Jun 26 08:24:54	ppp: [opt2_link0] CHAT: Detected Hayes compatible modem.
                                    Jun 26 08:24:54	ppp: [opt2_link0] CHAT: +CGDCONT=1,"IP","3ireland.ie"
                                    Jun 26 08:24:54	ppp: [opt2_link0] LCP: LayerStart
                                    Jun 26 08:24:54	ppp: [opt2_link0] LCP: state change Initial --> Starting
                                    Jun 26 08:24:54	ppp: [opt2_link0] LCP: Open event
                                    Jun 26 08:24:54	ppp: [opt2_link0] Link: OPEN event
                                    Jun 26 08:24:54	ppp: [opt2] Bundle: Interface ng1 created
                                    Jun 26 08:24:54	ppp: web: web is not running
                                    Jun 26 08:24:54	ppp: process 13685 started, version 5.6 (root@snapshots-8_3-amd64.builders.pfsense.org 10:40 21-Jun-2013)
                                    Jun 26 08:24:54	ppp:
                                    

                                    I updated the firmware
                                    I deleted the connection under interfaces and the ppp connection.
                                    I set them up fresh

                                    1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      eri--
                                      last edited by

                                      Oh you need probably a different thread for you.
                                      You have a different issue than the modem show up on your list.

                                      Please create another thread.

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.