Finish brushing the OpenWrt in the browser cannot access the workaround

Source: Internet
Author: User

In fact, the problem is obvious,
Because it brushes the trunk version of the firmware,
There is no integrated Luci,

Then the next is to install Luci, but installed Luci need to network (but in fact, not the Internet is actually can be installed,)
I said the internet is to give way to the Internet, rather than network cabling, routing computer, and then computer dial-up Internet, such networking,
How do I make routing networking?
1, the simplest way, if you have two routes, or your cat with a routing function,
Set your other route to auto-dial, and set the LAN port setting DHCP to automatically assign IP address, then connect the routed LAN port with a network cable to the WAN port of the route you need to configure, and then connect the routed LAN port you need to configure with a network cable to the computer,
2, configure the routing file, let it automatically dial,
If you don't have another route, you're going to have to move your fingers a little bit.
If you have just brushed the openwrt route, there is no password, we do not have a password to use SSH login or WINSCP,
So we first set the password,
Routing LAN ports and computers with a network cable connection,
The computer opens CMD,

Enter Telnet 192.168.1.1 carriage return


If you are prompted that Telnet is not an executable command, you need to
Control Panel-Programs-programs and features-turn Windows features on or off,
The Telnet server and Telnet client are checked, determined,
After executing the above command, we will login to the route, we set the password,
Input

passwd Root


Tips
changing password for root
New Password:
Enter the password, the attention here, you enter the screen will not react, enter the password to return just,
Tips
Retype Password:
Enter the password again, enter the return,
Although the network can be configured in Telnet, but I recommend the use of WINSCP to configure, clearer, more convenient to operate,
Download WINSCP, run,



Host name Fill 192.168.1.1
Port default 22
User name Root
Password Enter the password you just set,
Protocol set to SCP
Click Login,
You may be prompted for a group error, OK, no impact,
After opening is the following interface:

Point..
This icon goes back to the parent folder,
Go to the/etc/config/folder,
Modify the network file, double-click to open, prompt for error direct OK,

My profile is as follows, everyone under WAN configuration, modify Proto to PPPoE and add username password, specific reference my configuration:

Config interface ' loopback '
Option ifname ' lo '
Option Proto ' Static '
Option IPAddr ' 127.0.0.1′
Option Netmask ' 255.0.0.0′
Config interface ' LAN '
OPTION ifname ' eth0′
Option type ' bridge '
Option Proto ' Static '
Option IPAddr ' 192.168.36.1′
Option Netmask ' 255.255.255.0′
Config interface ' Wan '
OPTION ifname ' eth1′
Option _orig_ifname ' eth1′
Option _orig_bridge ' false '
Option Proto ' PPPoE '
Option username ' ABCDEFG ' ABCDEFG ' changed to your broadband account,
Option password ' 123456′ ' 123456 ' change to your broadband password,
Config switch
Option Name ' eth0′
Option Reset ' 1′
Option Enable_vlan ' 1′
Config Switch_vlan
Option Device ' eth0′
Option VLAN ' 1′
Option Ports ' 0 1 2 3 4′


Click Save, save there will be errors, OK,
After saving successfully (you can close the file again to see if it has been successfully saved,),
Restart the route, (reboot is unplug the power and plug in)
3, the use of wireless connection,
Because this method is not very practical, I will not elaborate on this,
After the router is networked,
We use putty This software to use SSH login, (because we have set the password, so we can not login with Telnet,)
No Putty software students Click here to download, (you can also use Securecrt.rar)
Open putty

Host name Input 192.168.1.1
Port Selection 22
Connection type Select SSH
Open it
User name Root
Password for your own set,
After login
Gradually enter the following command,

opkg Update
Opkg Install Luci luci-i18n-chinses


Wait for the download and install the Luci and Luci Chinese package, and then enter the following command to enable the page,

/etc/init.d/uhttpd Enable
/ETC/INIT.D/UHTTPD Start


Now open your browser, enter http://192.68.1.1
See if the configuration page appears?

Finish brushing the OpenWrt in the browser cannot access the workaround

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.