PfSense 2.0 with Alix 2d.13 & Huawei E160 - "LCP: parameter negotiation failed"



  • Hi

    Im trying to set up PfSense 2.0with the Alix 2d.13 and 3g-modem Huawei E160, but it is failed.
    The same hardware under linux (Debian Squeeze, 2.6.32-5) an windows xp works perfectly.

    Any hints?

    A few logs, tests & conf's attached

    cu -l /dev/cuaU0.1

    Connected
    
    ATI
    Manufacturer: huawei
    Model: E160E
    Revision: 11.604.21.57.00
    IMEI: XXXXXXXXXXXXXXX
    +GCAP: +CGSM,+DS,+ES
    
    OK
    

    devinfo -rv | grep u3g

    u3g0 pnpinfo vendor=0x12d1 product=0x1003 devclass=0x00 devsubclass=0x00 sernum="" release=0x0000 intclass=0xff intsubclass=0xff at bus=1 hubaddr=1 port=1 devaddr=2 interface=0
    
    

    dmesg | grep usbus1

    usbus1: EHCI version 1.0
    usbus1: <amd cs5536="" (geode)="" usb="" 2.0="" controller=""> on ehci0
    usbus1: 480Mbps High Speed USB v2.0
    ugen1.1: <amd> at usbus1
    uhub1: <amd 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr=""> on usbus1
    Root mount waiting for: usbus1 usbus0
    Root mount waiting for: usbus1
    ugen1.2: <huawei technology=""> at usbus1
    ugen1.2: <huawei technology=""> at usbus1 (disconnected)
    ugen1.2: <huawei technology=""> at usbus1
    u3g0: <huawei 0="" 2="" technology="" huawei="" mobile,="" class="" 0,="" rev="" 2.00="" 0.00,="" addr=""> on usbus1
    umass0: <huawei 0="" 2="" technology="" huawei="" mobile,="" class="" 0,="" rev="" 2.00="" 0.00,="" addr=""> on usbus1
    umass1: <huawei 0="" 2="" technology="" huawei="" mobile,="" class="" 0,="" rev="" 2.00="" 0.00,="" addr=""> on usbus1</huawei></huawei></huawei></huawei></huawei></huawei></amd></amd></amd>
    

    usbconfig -d ugen1.2 dump_device_desc

    ugen1.2: <huawei mobile="" huawei="" technology="">at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
    
      bLength = 0x0012 
      bDescriptorType = 0x0001 
      bcdUSB = 0x0200 
      bDeviceClass = 0x0000 
      bDeviceSubClass = 0x0000 
      bDeviceProtocol = 0x0000 
      bMaxPacketSize0 = 0x0040 
      idVendor = 0x12d1 
      idProduct = 0x1003 
      bcdDevice = 0x0000 
      iManufacturer = 0x0002  <huawei technology="">iProduct = 0x0001  <huawei mobile="">iSerialNumber = 0x0000  <no string="">bNumConfigurations = 0x0001</no></huawei></huawei></huawei> 
    

    /var/etc/mpd_opt1.conf

    startup:
            # configure the console
            set console close
            # configure the web server
            set web close
    
    default:
    pppclient:
            create bundle static opt1
            set iface name ppp0
            set iface route default
            set iface disable on-demand
            set iface idle 0
            set iface enable tcpmssfix
            set iface up-script /usr/local/sbin/ppp-linkup
            set iface down-script /usr/local/sbin/ppp-linkdown
            set ipcp ranges 0.0.0.0/0 10.64.64.0/0
            set ipcp enable req-pri-dns
            set ipcp enable req-sec-dns
            #log -bund -ccp -chat -iface -ipcp -lcp -link
    
            create link static opt1_link0 modem
            set link action bundle opt1
            set link disable multilink
            set link keep-alive 10 60
            set link max-redial 0
            set link disable chap pap
            set link accept chap pap eap
            set link disable incoming
            set link mtu 1492
            set auth authname "fonic"
            set auth password fonic
            set modem device /dev/cuaU0.1
            set modem script DialPeer
            set modem idle-script Ringback
            set modem watch -cd
            set modem var $DialPrefix "DT"
            set modem var $Telephone "*99#"
            set modem var $APN "pinternet.interkomm.de"
            set modem var $APNum "1"
            open^M
    
    

    ppp log

    Oct 18 23:15:03 router ppp: [opt1_link0] chat: Dialing server at *99#...
    Oct 18 23:15:03 router ppp: [opt1_link0] chat: Connected at an unknown speed.
    Oct 18 23:15:03 router ppp: [opt1_link0] MODEM: chat script succeeded
    Oct 18 23:15:03 router ppp: [opt1_link0] Link: UP event
    Oct 18 23:15:03 router ppp: [opt1_link0] LCP: Up event
    Oct 18 23:15:03 router ppp: [opt1_link0] LCP: state change Starting --> Req-Sent
    Oct 18 23:15:03 router ppp: [opt1_link0] LCP: SendConfigReq #1
    Oct 18 23:15:03 router ppp: [opt1_link0]   ACFCOMP
    Oct 18 23:15:03 router ppp: [opt1_link0]   PROTOCOMP
    Oct 18 23:15:03 router ppp: [opt1_link0]   ACCMAP 0x000a0000
    Oct 18 23:15:03 router ppp: [opt1_link0]   MRU 1500
    Oct 18 23:15:03 router ppp: [opt1_link0]   MAGICNUM 958770d0
    Oct 18 23:15:05 router ppp: [opt1_link0] LCP: SendConfigReq #2
    Oct 18 23:15:05 router ppp: [opt1_link0]   ACFCOMP
    Oct 18 23:15:05 router ppp: [opt1_link0]   PROTOCOMP
    Oct 18 23:15:05 router ppp: [opt1_link0]   ACCMAP 0x000a0000
    Oct 18 23:15:05 router ppp: [opt1_link0]   MRU 1500
    Oct 18 23:15:05 router ppp: [opt1_link0]   MAGICNUM 958770d0
    Oct 18 23:15:07 router ppp: [opt1_link0] LCP: SendConfigReq #3
    Oct 18 23:15:07 router ppp: [opt1_link0]   ACFCOMP
    Oct 18 23:15:07 router ppp: [opt1_link0]   PROTOCOMP
    Oct 18 23:15:07 router ppp: [opt1_link0]   ACCMAP 0x000a0000
    Oct 18 23:15:07 router ppp: [opt1_link0]   MRU 1500
    Oct 18 23:15:07 router ppp: [opt1_link0]   MAGICNUM 958770d0
    Oct 18 23:15:09 router ppp: [opt1_link0] LCP: SendConfigReq #4
    Oct 18 23:15:09 router ppp: [opt1_link0]   ACFCOMP
    Oct 18 23:15:09 router ppp: [opt1_link0]   PROTOCOMP
    Oct 18 23:15:09 router ppp: [opt1_link0]   ACCMAP 0x000a0000
    Oct 18 23:15:09 router ppp: [opt1_link0]   MRU 1500
    Oct 18 23:15:09 router ppp: [opt1_link0]   MAGICNUM 958770d0
    Oct 18 23:15:11 router ppp: [opt1_link0] LCP: SendConfigReq #5
    Oct 18 23:15:11 router ppp: [opt1_link0]   ACFCOMP
    Oct 18 23:15:11 router ppp: [opt1_link0]   PROTOCOMP
    Oct 18 23:15:11 router ppp: [opt1_link0]   ACCMAP 0x000a0000
    Oct 18 23:15:11 router ppp: [opt1_link0]   MRU 1500
    Oct 18 23:15:11 router ppp: [opt1_link0]   MAGICNUM 958770d0
    Oct 18 23:15:13 router ppp: [opt1_link0] LCP: SendConfigReq #6
    Oct 18 23:15:13 router ppp: [opt1_link0]   ACFCOMP
    Oct 18 23:15:13 router ppp: [opt1_link0]   PROTOCOMP
    Oct 18 23:15:13 router ppp: [opt1_link0]   ACCMAP 0x000a0000
    Oct 18 23:15:13 router ppp: [opt1_link0]   MRU 1500
    Oct 18 23:15:13 router ppp: [opt1_link0]   MAGICNUM 958770d0
    Oct 18 23:15:15 router ppp: [opt1_link0] LCP: SendConfigReq #7
    Oct 18 23:15:15 router ppp: [opt1_link0]   ACFCOMP
    Oct 18 23:15:15 router ppp: [opt1_link0]   PROTOCOMP
    Oct 18 23:15:15 router ppp: [opt1_link0]   ACCMAP 0x000a0000
    Oct 18 23:15:15 router ppp: [opt1_link0]   MRU 1500
    Oct 18 23:15:15 router ppp: [opt1_link0]   MAGICNUM 958770d0
    Oct 18 23:15:17 router ppp: [opt1_link0] LCP: SendConfigReq #8
    Oct 18 23:15:17 router ppp: [opt1_link0]   ACFCOMP
    Oct 18 23:15:17 router ppp: [opt1_link0]   PROTOCOMP
    Oct 18 23:15:17 router ppp: [opt1_link0]   ACCMAP 0x000a0000
    Oct 18 23:15:17 router ppp: [opt1_link0]   MRU 1500
    Oct 18 23:15:17 router ppp: [opt1_link0]   MAGICNUM 958770d0
    Oct 18 23:15:19 router ppp: [opt1_link0] LCP: SendConfigReq #9
    Oct 18 23:15:19 router ppp: [opt1_link0]   ACFCOMP
    Oct 18 23:15:19 router ppp: [opt1_link0]   PROTOCOMP
    Oct 18 23:15:19 router ppp: [opt1_link0]   ACCMAP 0x000a0000
    Oct 18 23:15:19 router ppp: [opt1_link0]   MRU 1500
    Oct 18 23:15:19 router ppp: [opt1_link0]   MAGICNUM 958770d0
    Oct 18 23:15:21 router ppp: [opt1_link0] LCP: SendConfigReq #10
    Oct 18 23:15:21 router ppp: [opt1_link0]   ACFCOMP
    Oct 18 23:15:21 router ppp: [opt1_link0]   PROTOCOMP
    Oct 18 23:15:21 router ppp: [opt1_link0]   ACCMAP 0x000a0000
    Oct 18 23:15:21 router ppp: [opt1_link0]   MRU 1500
    Oct 18 23:15:21 router ppp: [opt1_link0]   MAGICNUM 958770d0
    Oct 18 23:15:23 router ppp: [opt1_link0] LCP: parameter negotiation failed
    Oct 18 23:15:23 router ppp: [opt1_link0] LCP: state change Req-Sent --> Stopped
    Oct 18 23:15:23 router ppp: [opt1_link0] LCP: LayerFinish
    Oct 18 23:15:23 router ppp: [opt1_link0] Link: DOWN event
    Oct 18 23:15:23 router ppp: [opt1_link0] LCP: Down event
    Oct 18 23:15:23 router ppp: [opt1_link0] LCP: state change Stopped --> Starting
    Oct 18 23:15:23 router ppp: [opt1_link0] LCP: LayerStart
    Oct 18 23:15:23 router ppp: [opt1_link0] Link: reconnection attempt 1 in 3 seconds
    Oct 18 23:15:26 router ppp: [opt1_link0] Link: reconnection attempt 1
    Oct 18 23:15:26 router ppp: [opt1_link0] chat: Detected Hayes compatible modem.
    Oct 18 23:15:26 router ppp: [opt1_link0] chat: Dialing server at *99#...
    Oct 18 23:15:26 router ppp: [opt1_link0] chat: The remote modem did not answer.
    Oct 18 23:15:26 router ppp: [opt1_link0] MODEM: chat script failed
    Oct 18 23:15:26 router ppp: [opt1_link0] Link: DOWN event
    Oct 18 23:15:26 router ppp: [opt1_link0] LCP: Down event
    Oct 18 23:15:26 router ppp: [opt1_link0] Link: reconnection attempt 2 in 2 seconds
    Oct 18 23:15:28 router ppp: [opt1_link0] Link: reconnection attempt 2
    Oct 18 23:15:29 router ppp: [opt1_link0] chat: Detected Hayes compatible modem.
    Oct 18 23:15:29 router ppp: [opt1_link0] chat: Dialing server at *99#...
    Oct 18 23:15:29 router ppp: [opt1_link0] chat: The remote modem did not answer.
    Oct 18 23:15:29 router ppp: [opt1_link0] MODEM: chat script failed
    Oct 18 23:15:29 router ppp: [opt1_link0] Link: DOWN event
    Oct 18 23:15:29 router ppp: [opt1_link0] LCP: Down event
    
    


  • I am using the Huawei E220 on the Alix 2d.13. It is working but only with 1Mbit/s. On my linux machine I get up to 5Mbit/s with the same modem.


Locked