Is there something I have to do to get the PPP menu item in winbox?
I don't see it under the menu bar on the side of winbox
The Piranha is known as the “Wolf of the Water” - No chance of escape for their prey
RB751U-2HnD, RouterOS 5.21
Huawei E3276 modeswitched correctly:
This modem does not appear as a serial modem, only as a network interface. Will need to figure out how to make a connection without using PPP.Code:[admin@MikroTik] > /system resource usb print # DEVICE VENDOR NAME SPEED 0 1:1 RB400 EHCI 480 Mbps 1 1:3 HUAWEI Technology HUAWEI Mobile 480 Mbps [admin@MikroTik] > /port print Flags: I - inactive # NAME CHANNELS USED-BY BAUD-RATE 0 usb1 2 9600
These are the only entries relating to LTE in the ROS 5.xx series changelogs:
I don't see anything in the ROS 6.xx beta series changelogs.What's new in 5.12 (2012-Jan-19 14:31):
*) added support for LTE modems (cdc ethernet type);
What's new in 5.15 (2012-Apr-20 13:11):
*) lte - support for modems which utilize sierra_net driver with product ID 0x68a3,
serial interface is no longer accesable for those modems;
I found a new (to me) LTE tab under Interfaces, but unfortunately mine is empty, unlike this screenshot from the MikroTik forum:
Update: I've just received a reply from MikroTik support:
we only support 2 LTE modems with LTE/network devices (Sierra MC7710 and Bandrich
C501).
For the rest of the modems we only support PPP style connections.
Currently there are no dates when or if we will add more LTE modems as LTE/network
devices.
Last edited by ginggs; 21-01-2013 at 03:34 PM.
I am sure some of you will find this most helpful. I found the original perl script (to be run on a linux box that has ssh access to the Mikrotik in question) on the web somewhere and then modified it to ssh in to a mikrotik and use serial-terminal to issue the AT command to run USSD (Note: the AT command will differ with each modem, so you may have to research the AT command for your specific modem). This particular one is for a machine sitting up in Mozambique, where they dial *100# for a balance.
Usage: ./check_prepaid 192.168.1.1 mypassword
#!/usr/bin/perl
# by Ian Redden (c) 2005 - Modified by kw3g in 2012 for fetching prepaid balance
# Original Purpose: to get info off of a router for looking glass.
#
#-varibles
use Expect;
$ssh = "/usr/bin/ssh";
$router = "$ARGV[0]";
$pass = "$ARGV[1]";
$usernm="admin";
$command = "$ssh -l $usernm $router";
#-connect to router.
$ssh = Expect->spawn("$command");
$ssh->log_stdout(1);
#-check to see if dsa authenticity question appears
if ($ssh->expect(2, "yes/no")) {
print $ssh "yes\r";
}
#-send password.
if ($ssh->expect(undef, "password:")) {
print $ssh "$pass\r";
}
if ($ssh->expect(undef, "admin")) {
print $ssh "/system serial-terminal usb4 channel=2\r";
}
if ($ssh->expect(undef, "prefix")) {
print $ssh "\r";
sleep(1);
print $ssh "AT";
sleep(1);
print $ssh "+CUS";
sleep(1);
print $ssh "D=1,";
sleep(1);
print $ssh "\"*100#\"";
sleep(1);
print $ssh ",15";
sleep(1);
print $ssh "\r";
}
if ($ssh->expect(5, "USD")) {
}
if ($ssh->expect(5, "USD")) {
}
print $ssh "/quit\r";
A small no-ip.org ddns script tested on RouterOS v6.0rc14, which may be useful.
Uses dyndns.org to check your current IP address.
Code:#Dynamic DNS Update Script for No-IP DNS behind nat # Set needed variables :local username "your no-ip user login" :local password "your no-ip password" :local host "your no-ip host name" :global previousIP # print some debug info :log info ("Update No-IP DNS: username = $username") :log info ("Update No-IP DNS: hostname = $host") :log info ("Update No-IP DNS: previousIP = $previousIP") # # behind nat - get the public address using dyndns url http://checkip.dyndns.org /tool fetch mode=http address="checkip.dyndns.org" src-path="/" dst-path="/dyndns.checkip.html" :delay 2 :local result [/file get dyndns.checkip.html contents] :log info "dyndns result = $result" # parse the current IP result :local resultLen [:len $result] :local startLoc [:find $result ": " -1] :set startLoc ($startLoc + 2) :local endLoc [:find $result "</body>" -1] :local currentIP [pick $result $startLoc $endLoc] :log info "No-IP DNS: currentIP = $currentIP" :if ($currentIP != $previousIP) do={ :log info "No-IP: Current IP $currentIP is not equal to previous IP, update needed" :set previousIP $currentIP :local url "http://dynupdate.no-ip.com/nic/update/?myip=$currentIP&hostname=$host" :log info "No-IP DNS: Sending update for $host" /tool fetch url=$url user=$username password=$password mode=http dst-path=("no-ip_ddns_update.txt") :log info "No-IP DNS: Host $host updated on No-IP with IP $currentIP" :delay 2 :local result [/file get "no-ip_ddns_update.txt" contents] :log info "Update Result = $result" } else={ :log info "No-IP: update not needed " } # end
Hi Guys
Thanks to this thread and another on this forum relating to issues I have with my TP Link TL MR 3420 Router and it dropping the 3G connection (which is the only connection option available where I live) I am now the proud owner of a RB951G which I hope to set up tonight. I have started working through the manuals and I am very impressed. Which is better to use for the setup. Winbox or Webfig? It seems as if you guys prefer Winbox? Thanks
I prefer Winbox to Webfig simply because I'm more familiar with Winbox, I don't think Webfig even existed when I started.
I think in the most recent versions of RouterOS you can do almost everything in Webfig anyway, so use whichever you find most convenient.
Great thanks
Ok so here is my first issue. I am using an E220 and connected it. It is flicker dark blue i.e. it can see the 8ta network but it is not connecting. How do I instruct it to connect? Dial on demand is unselected. I tried to add the modem to the DHCP Client settings to get address etc at SP but could not find the interface? Is this required?
You need to setup a PPP connection for internet access. Select the usb port and set the data / info channels for the modem. You need to change the values until you get a connection. You also need to add a default route and add a masquerade rule in your firewall.
Bookmarks