Hello,
I’m trying to get to work my old Huawei E3131 under MT hAC ac². This device I have successfully switched to modem mode and used with pppd daemon
under many Linux distributions for years (like 10 years). The setup is almost default:
asyncmap 0
noauth
xonxoff
local
lock
show-password
noipdefault
-detach
-pap
-chap
debug
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
Current modem setup is:
[admin@gw] > system serial-terminal port=usb1 channel=0
[Ctrl-A is the prefix key]
ATI
Manufacturer: huawei
Model: E3131
Revision: 22.157.39.00.105
IMEI: 862571020549538
+GCAP: +CGSM,+DS,+ES
OK
[admin@gw] > interface ppp-client set WAN-NJU info-channel=0
[admin@gw] > interface ppp-client info WAN-NJU duration=5
modem-status: call in progress
pin-status: no password required
functionality: full
manufacturer: huawei
model: E3131
revision: 22.157.39.00.105
serial-number: 862571020549538
current-operator: 26003 (cellid: 5c85, lac: d037)
imsi: 260032001252410
access-technology: 3G
signal-strength: -83 dBm
frame-error-rate: n/a
name="WAN-NJU" max-mtu=1500 max-mru=1500 mrru=disabled port=usb1 data-channel=0 info-channel=0 apn="internet" pin="" user="internet"
password="internet" profile=default-encryption phone="*99#" dial-command="ATDT" modem-init="" null-modem=no dial-on-demand=no
add-default-route=yes default-route-distance=2 use-peer-dns=no keepalive-timeout=30 allow=""
Modem gets into connected state by sendidng:
ATH
AT+CGDCONT=1,"IP","internet"
ATDT*99#
And all it works perfectly. But the problems starts when ppp is negotiating the connection parameters.
At the end I just get modem hangup.
The debug log:
async,ppp,info MikroTik: WAN-NJU: terminating... - hungup
async,ppp,debug MikroTik: WAN-NJU: LCP lowerdown
async,ppp,debug MikroTik: WAN-NJU: LCP down event in starting state
async,ppp,info MikroTik: WAN-NJU: disconnected
async,ppp,info MikroTik: WAN-NJU: initializing...
async,ppp,info MikroTik: WAN-NJU: resetting link...
async,debug MikroTik: usb1:0: sent ATH
async,debug MikroTik: usb1:0: rcvd OK
async,ppp,info MikroTik: WAN-NJU: initializing modem...
async,ppp,info MikroTik: WAN-NJU: dialing out...
async,debug MikroTik: usb1:0: sent AT+CGDCONT=1,"IP","internet"
async,debug MikroTik: usb1:0: rcvd OK
async,debug MikroTik: usb1:0: sent ATDT*99#
async,debug MikroTik: usb1:0: rcvd CONNECT
async,ppp,debug MikroTik: WAN-NJU: LCP lowerup
async,ppp,debug,packet MikroTik: WAN-NJU: sent LCP ConfReq id=0xe
async,ppp,debug,packet MikroTik: <magic 0xb1daa98>
async,ppp,debug,packet MikroTik: <pcomp>
async,ppp,debug,packet MikroTik: <accomp>
async,ppp,debug MikroTik: WAN-NJU: LCP open
async,ppp,debug,packet MikroTik: WAN-NJU: rcvd LCP ConfReq id=0x1
async,ppp,debug,packet MikroTik: <mru 1500>
async,ppp,debug,packet MikroTik: <asyncmap 0x0>
async,ppp,debug,packet MikroTik: <magic 0x5d050000>
async,ppp,debug,packet MikroTik: <pcomp>
async,ppp,debug,packet MikroTik: <accomp>
async,ppp,debug,packet MikroTik: <auth chap>
async,ppp,debug,packet MikroTik: WAN-NJU: sent LCP ConfRej id=0x1
async,ppp,debug,packet MikroTik: <auth chap>
async,ppp,debug,packet MikroTik: WAN-NJU: rcvd LCP ConfAck id=0xe
async,ppp,debug,packet MikroTik: <magic 0xb1daa98>
async,ppp,debug,packet MikroTik: <pcomp>
async,ppp,debug,packet MikroTik: <accomp>
async,ppp,debug,packet MikroTik: WAN-NJU: rcvd LCP ConfReq id=0x2
async,ppp,debug,packet MikroTik: <mru 1500>
async,ppp,debug,packet MikroTik: <asyncmap 0x0>
async,ppp,debug,packet MikroTik: <magic 0x5d050000>
async,ppp,debug,packet MikroTik: <pcomp>
async,ppp,debug,packet MikroTik: <accomp>
async,ppp,debug,packet MikroTik: WAN-NJU: sent LCP ConfAck id=0x2
async,ppp,debug,packet MikroTik: <mru 1500>
async,ppp,debug,packet MikroTik: <asyncmap 0x0>
async,ppp,debug,packet MikroTik: <magic 0x5d050000>
async,ppp,debug,packet MikroTik: <pcomp>
async,ppp,debug,packet MikroTik: <accomp>
async,ppp,debug MikroTik: WAN-NJU: LCP opened
async,ppp,info MikroTik: WAN-NJU: authenticated
async,ppp,debug MikroTik: WAN-NJU: IPCP lowerup
async,ppp,debug MikroTik: WAN-NJU: IPCP open
async,ppp,debug,packet MikroTik: WAN-NJU: sent IPCP ConfReq id=0xe
async,ppp,debug,packet MikroTik: <addr 0.0.0.0>
async,ppp,debug MikroTik: WAN-NJU: IPV6CP open
async,ppp,debug MikroTik: WAN-NJU: MPLSCP lowerup
async,ppp,debug MikroTik: WAN-NJU: MPLSCP open
async,ppp,debug,packet MikroTik: WAN-NJU: sent MPLSCP ConfReq id=0xe
async,ppp,debug MikroTik: WAN-NJU: BCP open
async,ppp,debug MikroTik: WAN-NJU: CCP lowerup
async,ppp,debug MikroTik: WAN-NJU: CCP open
async,ppp,debug MikroTik: WAN-NJU: LCP lowerdown
async,ppp,debug MikroTik: WAN-NJU: LCP closed
async,ppp,debug MikroTik: WAN-NJU: CCP lowerdown
async,ppp,debug MikroTik: WAN-NJU: BCP lowerdown
async,ppp,debug MikroTik: WAN-NJU: BCP down event in starting state
async,ppp,debug MikroTik: WAN-NJU: IPCP lowerdown
async,ppp,debug MikroTik: WAN-NJU: IPV6CP lowerdown
async,ppp,debug MikroTik: WAN-NJU: IPV6CP down event in starting state
async,ppp,debug MikroTik: WAN-NJU: MPLSCP lowerdown
async,ppp,debug MikroTik: WAN-NJU: CCP close
async,ppp,debug MikroTik: WAN-NJU: BCP close
async,ppp,debug MikroTik: WAN-NJU: IPCP close
async,ppp,debug MikroTik: WAN-NJU: IPV6CP close
async,ppp,debug MikroTik: WAN-NJU: MPLSCP close
async,ppp,info MikroTik: WAN-NJU: terminating... - hungup
async,ppp,debug MikroTik: WAN-NJU: LCP lowerdown
async,ppp,debug MikroTik: WAN-NJU: LCP down event in starting state
async,ppp,info MikroTik: WAN-NJU: disconnected
And this goes into infinite loop.
I think there is a problem with the profile (default-encription). I tried useing default profile but no luck. Always the same hangup.
I was also trying to change some options in the profiles but nothing solved the problem. Now the profiles are having default configuration.
Flags: * - default
0 * name="default" local-address=default-dhcp remote-address=default-dhcp use-mpls=default use-compression=default use-encryption=no
only-one=default change-tcp-mss=yes use-upnp=default address-list="" on-up="" on-down=""
1 * name="default-encryption" use-mpls=default use-compression=default use-encryption=yes only-one=default change-tcp-mss=yes use-upnp=default
address-list="" on-up="" on-down=""
Anybody can help me in setting up this link?