[OpenWRT] How to preset root password when compile OpenWRT

By default, after compiling the OpenWRT, the root password is empty, you can setup it using the web interface. Alternatively, if you didn’t include LuCI when compiling, you can telnet into your router to set it up before be able to connect via ssh.

It’s easy to setup one up when you compile the openwrt build before you write the firmware in. Simply change /package/base-files/files/etc/shadow replacing the 1st line with:


Compile as usual. Your default root password will be “123”.


  1. Adolfo Baylor

    I Will Promote Your Business Via 60,000,000 Real People From Worldwide To Any Niche For Your Business By Contacting Site Webmasters In Your Niche...

    So you can contact the right audience with offers, driving traffic to your website:

    • Show your business/services/video’s to a targeted audience.
    • Requesting link exchanges from other sites in a similar niche.
    • Contacting webmasters about potentially advertising on their sites
    • Research and information requests from any targeted web sources
    • Sending out guest posting and submission requests
    • Getting in contact with potential affiliates to show your services or products
    • Contacting a targeted audience to submit press releases
    • Locating the right people to review your product and services

    GET NOW ==>> http://bit.ly/Promote_Your_Business

    =================================================== Want to change how you receive these emails ? UNSUBSCRIBE == > http://bit.ly/Unsubscribable_Site

    Kind Regards, Axyy Splaiul Independentei, Sectorul 3, 030099

Leave a Reply

Your email address will not be published. Required fields are marked *