Facebook   Twitter    e-mail newsletter    YouTube    RSS Feed    Android App    iPhone and iPad App     BlackBerry App    


Page 5 of 6 FirstFirst 12345 6 LastLast
Results 61 to 75 of 79

Thread: MikroTik RouterBoard and USB 3G Modems

  1. #61
    Senior Member
    Join Date
    Aug 2011
    Location
    Orbiting a distant star
    Posts
    439
    Blog Entries
    1

    Default

    Had a bit of an issue with a Vodafone K4605 in one of my RB751U's the last two days.

    My Data and Info channel reset scripts could not recover the problem condition and on both occasions the modem showed a flashing green indicator every 2-3 seconds or so, telling me the RF circuits were switched off.
    (Should expect flashing blue when registered on network)

    Found this to be related to the timing between the AT+CFUN=4 and AT+CFUN=6 commands that I send over both the Data and Info serial channels. Not sure what causes this problem condition to occur, but it seems the Data channel serial connection "hangs" for some reason and cannot be used for the reset sequence.

    The reset sequence commences over the Info channel serial port and the modem does respond to AT+CFUN=4 by switching off its RF circuits, but then it does not respond to AT+CFUN=6 to complete the reset sequence and switch its RF circuits on again.

    I increased the timing between the two commands from 5 to 15 seconds and it now works as expected.
    Funny thing is, the timing between commands in the Data channel reset sequence is still set at 5 seconds and it works fine, when the data serial channel is not in a hung state.

  2. #62

    Default

    Thx Guys, your posts was extremely helpful as I acquired a RB751U-2HnD and coupled it with a E367 Dongle from MTN, running very nicely!!

  3. #63
    Senior Member
    Join Date
    Aug 2011
    Location
    Orbiting a distant star
    Posts
    439
    Blog Entries
    1

    Default

    Quote Originally Posted by gertkokpe View Post
    Thx Guys, your posts was extremely helpful as I acquired a RB751U-2HnD and coupled it with a E367 Dongle from MTN, running very nicely!!
    Good to hear!
    I've upgraded all my RB751U's to the latest RouterOS V5.18
    No issues so far.
    Give it a try if you haven't already done so.

  4. #64
    Senior Member
    Join Date
    Aug 2011
    Location
    Orbiting a distant star
    Posts
    439
    Blog Entries
    1

    Default

    I finally got around to looking at why I could not access my CCTV camera web server, using its DDNS host name (myhost.myddns.org) [example only] from a computer or mobile phone (WiFi) on the same internal network. Using its direct IP of 192.168.1.99 was never a problem.

    My camera web server (192.168.1.99) uses port 80 for the web browser interface and port 37666 for the mobile phone viewer software on my Android phone.

    The problem is explained in the Mikrotik Wiki at:
    http://wiki.mikrotik.com/wiki/Hairpin_NAT

    The solution wasn't as simple for my dual/triple wan setup RB751U as provided by the Wiki article.
    I suspect this may have to do with the traffic marking for the multiple wan interfaces, in the Mangle rules previously posted.

    After searching through the Mikrotik forums, the solution was a two part configuration as follows....

    Part1:
    Code:
    /ip firewall nat
    add action=masquerade chain=srcnat comment=\
        "Hairpin NAT for local DVR Clients" dst-address=192.168.1.99 \
        dst-port=80,37666 protocol=tcp src-address=192.168.1.0/24
    Part2:
    Code:
    /ip firewall nat
    add action=dst-nat chain=dstnat comment=\
        "Hairpin NAT part2" dst-address=!192.168.1.0/24 \
        dst-address-type=local dst-port=80,37666 protocol=tcp to-addresses=\
        192.168.1.99
    **without dst-address-type=local in Part2, web browser attempts to open a website (port 80), end up being sent to the local 192.168.1.99 server.

    I can't say I fully understand why this configuration works, but it does.
    Maybe there is a better way of doing this.
    Last edited by Base122; 08-07-2012 at 11:26 PM.

  5. #65
    Senior Member
    Join Date
    Aug 2011
    Location
    Orbiting a distant star
    Posts
    439
    Blog Entries
    1

    Default

    Had a requirement to set the wireless radio on a RB751U to switch on and off at certain times.
    E.g. On during business hours only (07:00 - 17:00)

    The simplest solution was to use the scheduler to enable and disable the radio at the required times.
    However, if the router was powered off sometime during the night in this example and only switched on after the 07:00 ON time, the scheduler ON time event, would never happen and the radio would remain off.

    This script checks at whatever scheduled intervals the user requires, if the radio is supposed to be ON or OFF and then sets it accordingly.

    It could be adapted for example to enable and disable your 3G modem WAN link, if you only wanted the router to have an active internet connection for certain time periods.

    Code:
    # Script to ensure wireless lan radio is ON or OFF #
    # between user selected times #
    # The radio ON/OFF operation will not be performed if the system #
    # clock is not in sync with local time, unless so required #
    # Remember router is set back to default time after a reboot #
    # Schedule this script at required intervals #
    # Written by Peter James 2012-07-19 #
    # Tested on RB751U and RouterOS v5.19 #
    
    #####################################
    ## Set the Radio ON and OFF times here ##
    :local RadioOnTime "07:00";
    :local RadioOffTime "17:00";
    
    # set to "no" if clock is being set manually after each reboot #
    # set to "yes" if clock is being set using NTP client #
    :local UseNTPClientStatus "yes";
    #####################################
    
    :log info "RadioOnOff Script Starting";
    # get the name of the wlan radio interface #
    :local RadioName [/interface get [find type=wlan] name];
    :log info "Radio Name = $RadioName";
    
    # First check if system clock has been syncronized with local time #
    :local NTPSyncState [/system ntp client get status];
    :log info "NTP Client Status = $NTPSyncState";
    
    # Don't perform radio On or Off operation, if current real time is unknown, unless required #
    :if (($NTPSyncState="synchronized") or ($UseNTPClientStatus="no")) do {
    
    :local CurrentTime [/system clock get time];
    :log info "Current Time = $CurrentTime";
    
    # Check current ON or OFF status of radio #
    :local RadioDisabled [/interface get $RadioName disabled];
    :log info "Radio Disabled = $RadioDisabled";
    
    
    # Where the ON time is set earlier than the OFF time #
    :if ($RadioOnTime < $RadioOffTime) do {
    
    # Radio should be ON between these times #
    :if (($CurrentTime > $RadioOnTime) and ($CurrentTime < $RadioOffTime)) do {
    
    if ($RadioDisabled=true) do {
    :log info "Radio was OFF, now switching ON";
    /interface enable $RadioName;
    }
    } else {
    
    if ($RadioDisabled=false) do {
    :log info "Radio was ON, now switching OFF";
    /interface disable $RadioName;
    }
    
    }
    
    }
    
    # Where the ON time is set later than the OFF time #
    :if ($RadioOnTime > $RadioOffTime) do {
    
    # Radio should be OFF between these times #
    :if (($CurrentTime < $RadioOnTime) and ($CurrentTime > $RadioOffTime)) do {
    
    if ($RadioDisabled=false) do {
    :log info "Radio was ON, now switching OFF";
    /interface disable $RadioName;
    }
    } else {
    
    if ($RadioDisabled=true) do {
    :log info "Radio was OFF, now switching ON";
    /interface enable $RadioName;
    }
    
    }
    
    }
    
     } else {
    
    :log info "System clock may not be synchronized to local time, unable to perform operation";
    
    }
    
    :log info "RadioOnOff Script completed";
    Last edited by Base122; 21-07-2012 at 09:27 AM. Reason: Small script mod

  6. #66

    Default

    Bass122 or others

    I have the RB751U-2HnD router, Internet connection via WISP


    I now connected a cell c modem to the router as well and are able to get on the Internet.

    I also have a IP camera connected to the router.

    I am trying to access this ip camera feed via the Internet. Firstly is it possible?
    Please assist I'm a total noob with this.
    The Piranha is known as the “Wolf of the Water” - No chance of escape for their prey

  7. #67
    Super Grandmaster ginggs's Avatar
    Join Date
    Jun 2006
    Location
    Good-w00t! Cape Town
    Posts
    7,692

    Default

    Quote Originally Posted by piranha786 View Post
    I now connected a cell c modem to the router as well and are able to get on the Internet.

    I also have a IP camera connected to the router.

    I am trying to access this ip camera feed via the Internet. Firstly is it possible?
    Please assist I'm a total noob with this.
    Yes, but your SIM card will need to be provisioned for the 'unrestricted' APN:
    http://mybroadband.co.za/vb/showthre...restricted-APN

  8. #68

    Default

    Very helpful of you sharing this info, thanks both of you.
    * The routerboard comes with OS level 4... do you have to upgrade to level 5 to connect and do NAT with 3G?
    * Modem compatibility: How do you know what modems will be compatible? What happens if a particular modem you get in the future is not compatible. Is there a way you can add it?
    * Do 3G modems generally use the same AT commands? Why is compatibility between 3G routers and dongles such a big issue?
    * Can you do scripting with Level4?
    * Do you need to be familiar with scripting to just get connected with a 3G dongle? (and maybe set the 3g as secondary and ADSL as primary)
    * How long did it take you to learn how to use this stuff? I've already bought a RB750 to play with (no USB)

  9. #69
    Super Grandmaster ginggs's Avatar
    Join Date
    Jun 2006
    Location
    Good-w00t! Cape Town
    Posts
    7,692

    Default

    Quote Originally Posted by Lope View Post
    * The routerboard comes with OS level 4... do you have to upgrade to level 5 to connect and do NAT with 3G?
    Don't get confused between RouterOS versions and license levels.
    See:
    http://wiki.mikrotik.com/wiki/Manual...License_Levels
    Quote Originally Posted by Lope View Post
    * Modem compatibility: How do you know what modems will be compatible? What happens if a particular modem you get in the future is not compatible. Is there a way you can add it?
    See:
    http://wiki.mikrotik.com/wiki/Suppor...dware#3G_cards
    You can't add it yourself, but you can contact Mikrotik support, they are very quick to respond.
    Quote Originally Posted by Lope View Post
    * Do 3G modems generally use the same AT commands? Why is compatibility between 3G routers and dongles such a big issue?
    No, each manufacturer has their own command set. Some ZTE modems even have different AT commands depending on the chipset used.
    It is best to stick with one of the better supported manufacturers, like Sierra Wireless or Huawei.
    Quote Originally Posted by Lope View Post
    * Can you do scripting with Level4?
    Yes.
    Quote Originally Posted by Lope View Post
    * Do you need to be familiar with scripting to just get connected with a 3G dongle? (and maybe set the 3g as secondary and ADSL as primary)
    No.
    Quote Originally Posted by Lope View Post
    * How long did it take you to learn how to use this stuff? I've already bought a RB750 to play with (no USB)
    It took a couple of evenings the first time, make sure you have internet access by some other means so you can look at the wikis and other information online.
    Last edited by ginggs; 15-08-2012 at 02:41 PM.

  10. #70

    Default

    Hi Lope,
    Sorry but my techies do not have the same equipment that you have so we could not test it for you. we suggest you follw ginggs advice especially making sure you have a backup access to the internet. Also document everything beforre you change it.

    Regards

    Tim

  11. #71

    Default

    apologies for unrelated post but I have a query...
    Is it feasible to get Microtik for a high volume usage building? Say about 800 users on WiFi with the hardware on the roof?
    Is there any specific company that offers the best advise to install? Who is the best to connect to once I have committed to Microtik, if I go that route?
    I am not techie inclined but I am evaluating this business opportunity.
    Thanks

  12. #72

    Default ZTE 3G and Mikrotik RB751G No Browsing

    Wonder if anyone can perhaps help me, having a weird issue that I can't seem to get my head around. I have a ZTE MF668 Modem and Routerboard 751G-2HnD (at this point using 8ta SIM).

    I managed to connect after setting the following on the ppp-out1:

    L2 MTU: 1480
    Max MTU: 1480
    Max MRU: 1480
    Port: usb1
    Data Channel: 1
    Info Channel: 1
    Number: *99#
    APN: internet

    My routes are generating dynamically, and I have added NAT masquerade. I can tracert, I can ping, I can't browse anything other than Facebook (of all things). Skype works, Facebook works, nothing else. I've fiddled with MTU/MRU a bit, but no joy.

    I'm a bit of a noob on Mikrotiks, but get by, however this is confusing me. I've looked through a few articles on the RouterOS forum, but none seem to highlight what I'm experiencing, as my DNS does appear to work (tracert etc).

    Any ideas welcome.
    If at first you don't succeed, skydiving is probably not for you.

  13. #73

    Default

    And of course, within a minute of posting this and trying again, it works.

    Disabled "Use Peer DNS" in ppp-out1.
    If at first you don't succeed, skydiving is probably not for you.

  14. #74

    Default

    For interests sake, 8ta SIM seems to need "Use Peer DNS" disabled, CellC SIM seems to need it enabled.

    In the end, I've just switched to Google DNS and both work.
    If at first you don't succeed, skydiving is probably not for you.

  15. #75

    Default

    I have the RB751U-2HnD router with the cell c huawei E1725

    I want to setup a home network using the following:

    1. Network cable plugged into PC
    2. wireless link to laptop, Ipad, phones etc.
    3. cell c huawei E1725 USB stick plugged into router for Internet, shared on the network.

    Could you guys please assist, step by step.

    The default router IP is 192.168.88.1

    the PC IP automatically go to a different range 169. .. .
    the laptop (which is wireless) gets an IP address in the correct region 192.168.x.x
    The Piranha is known as the “Wolf of the Water” - No chance of escape for their prey

Page 5 of 6 FirstFirst 12345 6 LastLast

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •