刷上OpenWrt之后的中文FAQ

敬告:OpenWrt默认无密码!故请您在首次登入OpenWrt后,务必设置你密码,设备密码要记好了。first login可通过telnet设置密码。

从哪登入?

→ 详见firstlogin

该刷哪个版本的OpenWrt?

As you can see here development, there are always two branches which are being actively worked on. OpenWrt trunk, which is bleeding edge, codename 'Attitude Adjustment', and the current stable release. Do

cat /etc/banner
to see the exact revision. Use that information for bug reports and questions in the forum. Also use it, to look up information yourself: https://dev.openwrt.org/browser

忘记密码了!

无WebUI管理界面,肿么办?

安装一个,比如 LuCI露西。

如何使用CLI (命令行解释器)?

How do I ...?

如何恢复出厂设置及如何进安全模式?

→详见generic.failsafe

不喜欢LuCI

这里有第三方的Web管理界面WebUIs available. All are FOSS, thus you can adapt each of them to your specific needs and likings.

固件中如何安装软件...

→ 用opkg来安装的 opkg, but please read about flash layout

固件中如何卸载软件 ...

→ 见这里 opkg, but please read about flash layout

如何释放一些空间?

通过卸载一些已安装的软件来达到目的。 after flashing OpenWrt onto your Router. You cannot remove packages on the SquashFS partition!

发现bugs如何反溃呢?

诚请您将bugs发送给 ticket system团队。TKS!

是个package都能随意用?

You can check yourself. The OpenWrt repositories are brows-able by web browser. E.g.

为什么没有一个package可用?

Possible reasons:

  • it makes no sense to have this software in the repositories, because it is too bloated/not suited for embedded environments
  • nobody has thought on packaging this software for OpenWrt yet

Possible solutions:

  • create the package yourself: Creating a package
  • do nothing and wait until package becomes available

iptables失效

That be because the firewall-package comes with a configuration already. Certain user chains are created, and packets put into them. When you then later try to catch packets in the INPUT chain, there won't be any, because they are being put into user chains (maybe something like wan_input, lan_input) before that.

Anytime you can type

iptables -L 
to see how things are currently setup, but best thing is, to always know your own setup.

How to view dhcp leases from shell ?

E.g. so:

cat /tmp/dhcp.leases

How do I have it do something every YYY seconds/minutes?

Like on any Linux system, you can use crond. Please consult /etc/crontabs/root

How do I access the syslog messages?

Unless you installed some other log daemons OpenWrt uses by default busybox-klogd and busybox-syslogd for logging. Both use the same circular buffer, which can be from FIXME to FIXME in size. Default is FIXME. Access with command

logread

Back to top

zh-cn/doc/faq/after.installation.txt · Last modified: 2011/11/12 11:40 by leangjia