How to install LuCI after refreshing the OpenWRT Standard Edition firmware

Source: Internet
Author: User
Tags i18n

1. Connect to the router of OpenWRT

Use a network cable to connect the LAN port of the computer to the LAN port of the router, and then perform the following operations:

1. Open PuTTY and click "Session" in the tree list;
2. Enter "192.168.1.1" in the Host Name (or IP address) text box and "22" in the Port text box ";
3. Select "Telnet" in Connection type and press the Open button to enter the Linux terminal of the router. The OpenWRT welcome interface and root @ OpenWRT: ~ are displayed :~ # Prompt;
Note: You can use the Windows Command Telnet to perform the above operations.

Ii. Modify the Root password

1. on the Linux terminal, enter "passwd root" and prompt the message "Changing password for root New passoword;
2. Enter the password of the root user. No character or mask is displayed during the input process. After the input is complete, press enter to display the Retype password: prompt;
3. enter the Password of the root user again. The character or mask is not displayed during the input process. After the input is complete, press Enter. The prompt "Password for root changed by root" appears, indicating that the Password of the root user is successfully changed, to ensure security, OpenWRT will disable the Telnet service of the router. Later, you can only log on to the Linux terminal of the router through the ssh protocol and the root user password.

3. Modify the network configuration to connect to the Internet

Use a network cable to connect the WAN port of the router to the Ethernet interface of the cat;

1. Use WinSCP to log on to the vro;
2. Go to the/etc/config directory of the vro and double-click to open the network file;
3. Modify the "config interface 'wan '" project as follows:

Config interface 'wan'
Option ifname 'eth1'
Option _ orig_ifname 'eth1'
Option _ orig_bridge 'false'
Option proto 'pppoe'
Option username 'your bandwidth account'
Option password 'account password'

4. Press Ctrl + S to save the file, or click the Save icon to display the prompt window again. Press "no" to display the upload prompt;
5. Open the network file again and make sure the modification is successful;
6. Press Ctrl + P to open putty and log on to the Linux terminal of the vro;
7. Enter "/etc/init. d/network restart" at the prompt and wait for a while. A few lines of status information such as "'radio0' is disabled" indicate that the restart is complete;
8. Enter "Ping 8.8.8.8" at the prompt. If the ping succeeds, the Internet is successfully connected. Press Ctrl + C to stop the ping operation;

4. Install the Web Management Interface Lucy;

1. on the Linux terminal of the vrolinux displayed in putty, enter "opkg updateprohibited" to start and download packages.gz and update it;
2. Enter "opkg install luci_trunk + svn9663-1_ar71xx.ipk", install Lucy subject, first start to automatically download a variety of associated libraries, after the download will automatically install the configuration, and finally display "refreshing Luci .";
3. Enter "opkg install luci-i18n-chinese_trunk + svn9663-1_ar71xx.ipk", install Lucy Simplified Chinese language; and finally display "rolling ing luci-i18n-chinese .";
4. Enter "opkg install luci-theme-bootstrap_trunk + svn9663-1_ar71xx.ipk", install LuCY theme, and finally display "refreshing luci-theme-bootstrap .";
5. Enter "/etc/init. d/uhttpd enable" and press enter to open the uhttpd service;
6. Enter "/etc/init. d/uhttpd start" and press enter to enable uhttpd to start automatically;
7. Enter "192.168.1.1" in the Computer Browser. If you can access the vro, LuCY is successfully installed;
8. Go to the System Option page of the LuCY interface;
9. Open the Language and Style option page;
10. Select "chinese" in the Language box and change the Language to chinese;
11. Select "Bootstrap" in the following box under Design and change the topic to Bootstrap;
12. Press Save & Apply to Save and Apply the settings;
13. Press the "Logout" option to exit. The Chinese Bootstrap logon interface is displayed.

V. Other key points

In steps 2nd, 3, and 4 of section 4, you can download these three ipk packages and use WinSCP to put them in the/tmp directory of the vro, run the "cd/tmp" command to go to the/tmp directory and run the command to avoid connection errors.

Offline batch ipk Installation Method

1. Download the *. ipk plug-in package;
2. Use WinSCP to upload a. ipk, B. ipk, and c. ipk to/tmp;
3. Run PuTTY:

Opkg update
Cd/tmp
Opkg install a B c

Modify the software source of the ipk package

The/etc/opkg. conf file records the software source. The address after src/gz Packages is the software source. The opk. conf file code is as follows:

# Src/gz packages http://downloads.openwrt.org/snapshots/development code /#/chip /packages/
Src/gz Packages ftp: // a: a@192.168.1.100
Dest root/
Dest ram/tmp
Lists_dir ext/var/opkg-lists
Option overlay_root/overlay
Dest plugin_root/plugin_root

View the installed ipk:

Opkg list-installed

Delete an installed ipk:

Opkg remove xxxx. ipk

Display file:

Cat etc/config/network

Edit file:

Vim etc/config/network

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.