1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Manual, documentation for CLI interface to ASUS routers?

Discussion in 'Asuswrt-Merlin' started by Piero Brewer, May 19, 2019.

  1. Piero Brewer

    Piero Brewer Occasional Visitor

    Joined:
    May 13, 2019
    Messages:
    14
    Is there any documentation for the CLI? I just finished resolving a problem with accessing the web based interface but would prefer the CLI, bash, its scriptability and flexibility. Is there any resource associated with Merlin ASUSwrt for this? Thanks in advance!
     
  2. adampk17

    adampk17 Regular Contributor

    Joined:
    Sep 17, 2013
    Messages:
    144
    It’s really just Linux so maybe start with tutorials for that.
     
  3. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    9,092
    Location:
    UK
    There's nothing specifically for the CLI, but it's largely a standard busybox/linux environment so most generic documentation is applicable.

    For Merlin-specific information there is the wiki.
     
  4. Piero Brewer

    Piero Brewer Occasional Visitor

    Joined:
    May 13, 2019
    Messages:
    14
    It's very different from most Linux-es ... definitely different from CentOS. At least when it comes to making persistent changes ... what command does that? Is there a file to edit? Most of the commands only work until the router is rebooted. Then? There's the Trend Micro security changes ...
     
  5. Piero Brewer

    Piero Brewer Occasional Visitor

    Joined:
    May 13, 2019
    Messages:
    14
    I will look thank you!!!
     
  6. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    9,092
    Location:
    UK
    You're right that it's not like a Linux distribution (like Centos) but it's fairly typical of an embedded Linux (like OpenWRT, DD-WRT, etc).
     
  7. martinr

    martinr Part of the Furniture

    Joined:
    Nov 27, 2014
    Messages:
    2,086
    Location:
    United Kingdom
    One thing you might try, if there was a specific area you were interested is to use an external search engine including the word “code”, because the commands you’re looking for are contained in a section marked “code”. So if you are looking for commands related to nvram, the search terms would be:

    asus merlin forum code nvram

    and if it was commands for say rebooting, you’d change nvram for reboot

    You can also try the forum’s internal search engine, which should bring up results sorted chronologically. I used the terms code and nvram and got results, but sometimes it will object to just a couple of search keywords.


    Set aside a lot of time and have a big notepad handy.
     
    jsbeddow and L&LD like this.