Hi All.
I have connected a Wavecom Serial GPRS modem to my RB411U running RouterOS 4.11.
It is unable to communicate to the network.
Created PPP Client, and it does connect to the Internet APN and Private APN.
But the PPP client negotiates the wrong Gateway.
[admin@MikroTik] /interface ppp-client> info ppp-out1
status: "ready"
pin-status: "no password required"
functionality: "full"
gprs-class: "B - GPRS & GSM but one at a time"
manufacturer: " WAVECOM WIRELESS CPU"
model: " MULTIBAND 900E 1800 "
revision: "R73_00gg.FSU005 2087432 121208 15:34"
serial-number: "355212010830026"
current-operator: ""
access-technology: ""
signal-strengh: -57
frame-error-rate: "~0.14%"
[admin@MikroTik] /interface ppp-client> print
Flags: X - disabled, R - running
0 X name="ppp-out1" max-mtu=1500 max-mru=1500 mrru=disabled port=serial0
data-channel=0 info-channel=0 apn="internet" pin="" user="internet"
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=no keepalive-timeout=30 allow=pap,chap,mschap1,mschap2
Once its connected, the IP address seems correct, on the Internet APN, and private IP got its static IP on previous attempts
Network seems wrong.
[admin@MikroTik] /ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.1.1/24 192.168.1.0 192.168.1.255 ether1
1 D 41.19.255.233/32 192.168.111.111 0.0.0.0 ppp-out1
[admin@MikroTik] /ip address>
Routing table is also wrong
[admin@MikroTik] /ip route> print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 192.168.111.111 1
1 ADC 192.168.1.0/24 192.168.1.1 ether1 0
2 ADC 192.168.111.111/32 41.19.255.233 ppp-out1 0
[admin@MikroTik] /ip route>
I tried to change the route for 0.0.0.0/0 to use the ppp-out1 as default gateway - no difference.
However it is intresting on the private APN, if i ping another host on the APN the ICMP pings reach that host, but the Mikrotik
is unable to receive anything back.
I have tried so many things, it seems the Mikrotik just cant negotiate a gateway and subnet for some reason.
A normal Windows XP dialup works fine, windows is able to negotiate the link.
I believe this issue is inside the default Linux PPP,
This guy’s PPP session also negotiates the wrong gateway and IP address, and then it gets kicked off.
http://ubuntuforums.org/showthread.php?t=1626402
Has anyone found a way to make this work?
Thank you very much in advance.
Regards,
Johan