Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does OpenWRT connect to the router

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to connect OpenWRT to the router. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Connect to the router

Just finished brushing the DIR-505 of OpenWRT, WiFi is not turned on by default, so you can only connect with a network cable. After connecting, configure the computer's network card to 192.168.1.X, or get the address automatically.

SSH is not enabled by default. You can only connect with telnet 192.168.1.1. Change the root password after connecting:

Passwd root

After changing the password, do not turn off telnet, because once closed, you will not be able to connect next time. Connect to the router immediately with the SSH client (putty is recommended, and winscp is recommended for file copying and editing):

Ssh 192.168.1.1

If the connection fails, you need to open the SSH service under the telnet session:

/ etc/init.d/dropbear enable/etc/init.d/dropbear start enable WiFi

It is troublesome to use a wired connection. Next, turn on WiFi to achieve a wireless connection:

Uci set wireless.@wifi-device [0] .values = 0

Uci set wireless.@wifi-iface [0]. Ssid='umu618.com'

Uci set wireless.@wifi-iface [0]. Encryption='psk2+ccmp'

Uci set wireless.@wifi-iface [0]. Key='password'

Uci commit wireless

Wifi

Change time zone

Time is synchronized with the network, so it is important to use the correct time zone to change to the local time zone, for example, UMU uses Taipei time:

Uci set system.@system [0] .zonename='Asia/Taipei'; uci set system.@system [0] .timezone = 'CST-8'; uci commit system; echo CST-8 > / etc/TZ

Change the machine name

Personalized, unnecessary:

Uci set system.@system [0] .hostname = 'DIR-505'; uci commit system; / etc/init.d/dnsmasq restart

Change the welcome language

Personalized, unnecessary:

This is the end of the vi / etc/banner article on "how to connect OpenWRT to the router". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report