Community discussions

MikroTik App
 
robertpenz
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 80
Joined: Mon Oct 10, 2011 8:41 am

USB UMTS Stick (Huawei E170) NO CARRIER

Wed Nov 07, 2012 8:58 pm

Hi!

I've a Huawei E170 USB UMTS Stick which works fine under Linux (Centos 6). Now I wanted to use this stick with a Mikrotik (RB751G-2HnD, running 6.0rc2) but I keep getting "NO CARRIER" with a configuration that I believe matches my Linux box. The LED is on the USB stick shows that it is booked into the mobile network. (blue blinking)

This is my configuration
[admin@xxxx] /interface ppp-client> print
Flags: X - disabled, R - running  
 0    name="pppUmtsInternet" max-mtu=1500 max-mru=1500 mrru=disabled port=usb1 data-channel=0 info-channel=0 apn="A1.net" pin="XXXX"
      user="ppp@A1plus.at" password="www" profile=default phone="" dial-command="ATDT" modem-init="" null-modem=no dial-on-demand=no
      add-default-route=no use-peer-dns=no keepalive-timeout=30 allow=pap,chap,mschap1,mschap2
I see the network ....
[admin@xxxx] /interface ppp-client> info pppUmtsInternet
       modem-status: ready
         pin-status: no password required
      functionality: full
       manufacturer: huawei
              model: E17X
           revision: 11.304.17.00.00
      serial-number: xxxxxxxxxxxxxxxx
   current-operator: 23201
  access-technology: 3G
     signal-strengh: -85 dBm
   frame-error-rate: n/a
But in the log I see following
02:31:32 async,ppp,info pppUmtsInternet: initializing modem...
02:31:33 async,ppp,info pppUmtsInternet: dialing out... 
02:31:33 async,debug usb1:0: sent AT+CPIN? 
02:31:33 async,debug usb1:0: rcvd  
02:31:33 async,debug usb1:0: rcvd +CPIN: READY
02:31:33 async,debug usb1:0: sent AT+CGDCONT=1,"IP","A1.net"
02:31:33 async,debug usb1:0: rcvd OK 
02:31:33 async,debug usb1:0: sent ATDT*99***1# 
02:31:33 async,debug usb1:0: rcvd NO CARRIER
02:31:33 async,debug usb1:0: no carrier, redialing
02:31:33 async,debug usb1:0: sent ATDT*99***1#
02:31:33 async,debug usb1:0: rcvd NO CARRIER
02:31:33 async,debug usb1:0: no carrier, redialing
02:31:33 async,debug usb1:0: sent ATDT*99***1#
02:31:33 async,debug usb1:0: rcvd NO CARRIER
02:31:33 async,debug usb1:0: no carrier, redialing
02:31:33 async,debug usb1:0: sent ATDT*99***1#
02:31:33 async,debug usb1:0: rcvd NO CARRIER
02:31:33 async,debug usb1:0: no carrier, redialing
02:31:33 async,debug usb1:0: sent ATDT*99***1#
02:31:33 async,debug usb1:0: rcvd NO CARRIER
02:31:33 async,debug usb1:0: no carrier, redialing
02:31:33 async,debug usb1:0: resetting modem
02:31:34 async,debug usb1:0: sent ATH
02:31:34 async,debug usb1:0: modem hung up
I also tried following:
* modem-init = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
* setting data-chanel to 2

Following is my wvdial.conf which works .. where is the difference?
[Dialer a1umts]
Init1 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init2 = AT+CGDCONT=1,"IP","A1.net"
Modem = /dev/ttyUSB1
Baud = 460800
ISDN = 0
Phone = *99***1#
Password = www
Username = ppp@A1plus.at
here the log of the Linux PC
Nov  7 20:00:57 xxx wvdial[369233]: WvDial: Internet dialer version 1.60
Nov  7 20:00:57 xxx wvdial[369233]: Initializing modem.
Nov  7 20:00:57 xxx wvdial[369233]: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Nov  7 20:00:57 xxx wvdial[369233]: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Nov  7 20:00:57 xxx wvdial[369233]: OK
Nov  7 20:00:57 xxx wvdial[369233]: Sending: AT+CGDCONT=1,"IP","A1.net"
Nov  7 20:00:57 xxx wvdial[369233]: AT+CGDCONT=1,"IP","A1.net"
Nov  7 20:00:57 xxx wvdial[369233]: OK
Nov  7 20:00:57 xxx wvdial[369233]: Modem initialized.
Nov  7 20:00:57 xxx wvdial[369233]: Sending: ATDT*99***1#
Nov  7 20:00:57 xxx wvdial[369233]: Waiting for carrier.
Nov  7 20:00:57 xxx wvdial[369233]: ATDT*99***1#
Nov  7 20:00:57 xxx wvdial[369233]: CONNECT
Nov  7 20:00:57 xxx wvdial[369233]: Carrier detected.  Chatmode finished.
Could it be a power problem? that the stick needs more than the RB751G-2HnD can provide? Any ideas?

Robert
 
lemonsqueeze
just joined
Posts: 1
Joined: Thu Jan 03, 2013 3:41 pm

Re: USB UMTS Stick (Huawei E170) NO CARRIER

Thu Jan 03, 2013 3:47 pm

Hi,
I was having a similar issue with a Huawei E1762 under linux. It seems the modem is getting confused when wvdial starts talking to it before it's finished registering, maybe this is happening here also...
-> using a script to wait until the device is registered before running wvdial solved it.
details here

Who is online

Users browsing this forum: anon31337 and 26 guests