Huawei 3g (K3520) and mikrotik

Hi!

I’ve found many topics about 3g, but there isn’t any could resolve my problem.

So I’ve got a Huawei K3520 type USB modem, and like to use it under routeros (newest 5.12).

[admin@MikroTik] /interface ppp-client> info vodanet 
             status: ready
         pin-status: no password required
      functionality: full
       manufacturer: huawei
              model: K3520
           revision: 11.314.12.02.00
      serial-number: 353284021113066
   current-operator: 21670
  access-technology: 3G
     signal-strengh: -83 dBm
   frame-error-rate: n/a
-- [Q quit|D dump|C-z pause]

The interface config is:

[admin@MikroTik] > interface ppp-client print  
Flags: X - disabled, R - running 
 0    name="vodanet" max-mtu=1500 max-mru=1500 mrru=disabled port=usb2 data-channel=0 info-channel=0 
      apn="internet.vodafone.net" pin="xxxx" user="" password="" profile=default phone="*99***1#" 
      dial-command="ATDT" modem-init="" null-modem=no dial-on-demand=no add-default-route=yes 
      use-peer-dns=yes keepalive-timeout=30 allow=pap,chap,mschap1,mschap2 
[admin@MikroTik] >

(I have overwritten the real pin of the sim-card, but the real one is written in the config)


I have tried the apn “internet.vodafone.net” and “standardnet.vodafone.net”, but doesn’t work. On my home linux box I use this 3g-stick to connect, that uses “standardnet.vodafone.net” and works well.
Can I debug somehow the mikrotik box, to guess what could be its problem, cause it only writes into the log infinitely:

05:26:08 async,ppp,info vodanet: terminating... - modem hunged up 
05:26:08 async,ppp,info vodanet: disconnected 
05:26:18 async,ppp,info vodanet: initializing... 
05:26:18 async,ppp,info vodanet: reseting link... 
05:26:19 async,ppp,info vodanet: initializing modem... 
05:26:20 async,ppp,info vodanet: dialing out... 
05:26:21 async,ppp,info vodanet: terminating... - modem hunged up 
05:26:21 async,ppp,info vodanet: disconnected 
05:26:31 async,ppp,info vodanet: initializing... 
05:26:31 async,ppp,info vodanet: reseting link... 
05:26:32 async,ppp,info vodanet: initializing modem... 
05:26:33 async,ppp,info vodanet: dialing out... 
05:26:34 async,ppp,info vodanet: terminating... - modem hunged up 
05:26:34 async,ppp,info vodanet: disconnected 
05:26:44 async,ppp,info vodanet: initializing... 
05:26:44 async,ppp,info vodanet: reseting link... 
05:26:45 async,ppp,info vodanet: initializing modem... 
05:26:46 async,ppp,info vodanet: dialing out... 
05:26:47 async,ppp,info vodanet: terminating... - modem hunged up 
05:26:47 async,ppp,info vodanet: disconnected 
05:26:57 async,ppp,info vodanet: initializing... 
05:26:57 async,ppp,info vodanet: reseting link...

When I sign the “dial on demand” checkbox, the interface pretends to be running, gots an IP address (10.x.y.z, as Normis said in an other thread this is just a fake address, and doesn’t means the interface is connected normally).


could anybody help what can I do to get working this stick?

Connect to the modem on console:

/system serial-terminal port=usb2 channel=0

Then type

at!gstatus?

Hi, thanks for answering!


for AT command answers :

[admin@MikroTik] > /system serial-terminal port=usb2 channel=0

[Ctrl-A is the prefix key]


at
OK
ati
Manufacturer: huawei
Model: K3520
Revision: 11.314.12.02.00
IMEI: 353284021113066
+GCAP: +CGSM,+DS,+ES
OK



at!
COMMAND NOT SUPPORT

But as you can see if I command AT! (extended with an exclamation mark) says command not supported :frowning:


[admin@MikroTik] > /system serial-terminal port=usb2 channel=0

[Ctrl-A is the prefix key]


at! gstatus?
COMMAND NOT SUPPORT
at!gstatus
COMMAND NOT SUPPORT

I don’t know did you mean with or without question mark as the end of the command, but I’ve tried both, but the “command not supported” answer doesn’t means good by myself.

Any other idea?

Sorry AT!GSTATUS is not Huawei command.

Try to add ATZ command at the begining of Init string