User Tools

Site Tools


doc:faq:after.installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:faq:after.installation [2014/02/24 23:49]
zxdavb
doc:faq:after.installation [2016/10/30 11:09] (current)
hnyman [Is package ... available?] Use 15.05.1 instead of 14.07 as "stable"
Line 1: Line 1:
 +====== FAQ after Installation of OpenWrt ======
 +<WRAP center box 600px>
 +| {{:​meta:​icons:​tango:​dialog-information.png?​nolink}} | There is no preset password in OpenWrt!\\ **You need to set a password at your [[doc:​howto:​firstlogin|first login]] per telnet or the WebUI.** |
 +</​WRAP>​
  
 +
 +===== General =====
 +==== How do I ...? ====
 +->​[[doc:​howto:​generic.overview]]
 +
 +==== How do I login? ====
 +-> follow [[doc:​howto:​firstlogin]]
 +
 +==== What version of OpenWrt do I have installed? ====
 +As you can see here [[about/​development]],​ there are always two branches which are being actively worked on. OpenWrt trunk, which is bleeding edge, codename '​Designated Driver',​ and the [[about:​latest|current stable]] release. Do <​code>​cat /​etc/​banner</​code>​ 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]]
 +
 +==== I forgot my password! ====
 +-> [[doc:​howto:​generic.debrick]]
 +
 +==== I have no WebUI ====
 +Install one, e.g. [[doc:​howto:​luci.essentials|LuCI]].
 +
 +==== How do I use the CLI (command-line interpreter)?​ ====
 +-> [[doc:​howto:​user.beginner.cli]]
 +
 +==== How do I access the syslog messages? ====
 +Unless you installed some other [[doc/​howto/​log.overview|log daemons]], OpenWrt uses by default busybox-klogd and busybox-syslogd for logging. Both use the same circular buffer, which can be accessed with the command <​code>​logread</​code>​
 +
 +==== How do I recover / boot in failsafe mode? ====
 +->​[[doc:​howto:​generic.failsafe]]
 +
 +==== I don't like LuCI ====
 +There are three [[doc/​howto/​webinterface.overview|WebUI]]s available. All are FOSS, thus you can adapt each of them to your specific needs and likings.
 +
 +----
 +
 +===== Installing packages =====
 +==== How do I install ... ====
 +-> with ''​[[doc:​techref:​opkg]]''​
 +
 +==== How do I uninstall ... ====
 +-> with ''​[[doc:​techref:​opkg]]''​
 +
 +==== No space left on device ====
 +
 +see also [[doc:​techref:​opkg#​out_of_space|OPKG troubleshooting:​ Out of space]]
 +
 +=== How do I free up some space? ===
 +By removing packages you installed //after// flashing OpenWrt onto your Router. You cannot remove packages on the [[doc/​techref/​flash.layout|SquashFS partition]],​ which is included in the image you flashed.
 +
 +=== Still not enough free space ===
 +This happens easily with recent firmware on 4MB Flash devices.\\
 +You can press-fit an OpenWrt image into this small flash by building your own image, with only the packages you need, tailored for your usecase.
 +
 +You can build your own image
 +
 +  * via [[doc:​howto:​obtain.firmware.generate|Image Generator]]
 +  * via [[doc:​howto:​build|custom build]]
 +
 +
 +=== I need many MB (GB) free space ===
 +  * If you need even more space for package installation,​ you probably want [[doc:​howto:​extroot|Extroot]].
 +  * If you just want simple USB storage for e.g. pictures, video, music, see [[doc:​howto:​usb.essentials]] and [[doc:​howto:​usb.storage]].
 +
 +==== Howto install opkg packages on a USB stick? ====
 +  * →[[doc:​techref:​opkg#​installation_destinations|opkg installation destinations]]
 +  * →[[doc:​uci:​fstab|/​etc/​config/​fstab]] or →[[doc:​howto:​usb.storage]]
 +
 +==== Where should I send bug reports? ====
 +Please send reproducible bugs to our [[http://​dev.openwrt.org/​report|ticket system]].
 +
 +==== Is package ... available? ====
 +**<color green>​You can check yourself.</​color>​** The OpenWrt repositories are brows-able by web browser. E.g.
 +  * [[https://​downloads.openwrt.org/​chaos_calmer/​15.05.1/​ar71xx/​generic/​packages/​|stable • ar71xx]]
 +  * [[https://​downloads.openwrt.org/​snapshots/​trunk/​lantiq/​generic/​packages/​|trunk • lantiq]]
 +  * etc.
 +
 +==== Why isn't package ... available? ====
 +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: [[doc/​devel/​packages|Creating a package]]
 +  * do nothing and wait until package becomes available
 +
 +==== Cannot satisfy dependencies ====
 +
 +You will get the message //"​Cannot satisfy the following dependencies for..."//​ if you are trying to install packages intended for a trunk build of OpenWrt on a different (older) version, i.e. the package in the trunk repository is for a newer kernel version than the kernel version on your flash.
 +
 +  * As general advice, especially for inexperienced users: Go for the latest //​[[about:​history|stable release]]// version, not a trunk version, and the package repositories will match.
 +  * Try to install via opkg with option ''​[[doc:​techref:​opkg#​options|--force-depends]]''​ (=Install/​remove despite failed dependencies). Mind that this is likely to fail for kernel related packages (kmods).
 +  * [[doc:​howto:​snippets#​make_local_copy_of_packages|Make local copy of trunk packages]] (not recommended,​ needs much space!)
 +
 +==== opkg_configure:​ <​packagename>​.postinst returned 127 ====
 +
 +**Root cause:** ??? //See [[https://​forum.openwrt.org/​|OpenWrt forum]] and add the root cause here  --- tmomas 2015/12/23 21:10//
 +
 +**Solution:​** ??? //See [[https://​forum.openwrt.org/​|OpenWrt forum]] and add the solution here  --- tmomas 2015/12/23 21:10//
 +
 +----
 +
 +===== Network =====
 +
 +==== Howto connect behind another router? ====
 +This scenario: https://​forum.openwrt.org/​viewtopic.php?​pid=204297#​p204297 has three solutions:
 +  * https://​forum.openwrt.org/​viewtopic.php?​pid=204332#​p204332
 +  * maybe see [[doc/​recipes/​dumbap]]
 +
 +==== Howto avoid double NATing? ====
 +see above: Howto connect behind another router?
 +
 +==== iptables does not work as intended ====
 +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 <​code>​iptables -L </​code>​ to see how things are currently setup, but best thing is, to always know your own setup.
 +
 +==== How to view dhcp leases from shell ? ====
 +<​code>​cat /​tmp/​dhcp.leases</​code>​
 +
 +==== I trashed my /​etc/​config/​firewall file, how to reset? ====
 +<code bash> cp -f /​rom/​etc/​config/​firewall /​etc/​config/​firewall
 +/​etc/​init.d/​firewall restart</​code>​
 +
 +==== How can I filter traffic based on FQDN? ====
 +  * netfilter
 +  * HTTP proxy server
 +  * ipset-dns
 +
 +==== No ping to external servers ====
 +==== Internet not reachable ====
 +
 +Something is wrong with your network configuration. Check Netmask, Gateway, DNS settings.
 +-> https://​wiki.openwrt.org/​doc/​howto/​internet.connection
 +
 +----
 +
 +===== Other questions =====
 +==== How do I have it do something every YYY seconds/​minutes?​ ====
 +Like on any Linux system, you can use ''​[[wp>​cron|crond]]''​. Please consult ''​[[doc/​howto/​notuci.config#​etccrontabsroot|/​etc/​crontabs/​root]]''​
 +
 +==== How do I create a cronjob to reboot? ====
 +  * ''​Busybox-crond''​ does not support the //@reboot// directive. The next best place to put @reboot jobs is ''/​etc/​rc.local''​
 +  * [[https://​forum.openwrt.org/​viewtopic.php?​id=45274]]
 +
 +==== How do I turn USB power off? ====
 +See [[doc:​howto:​usb.overview#​turning_usb_power_on_and_off|Turning USB power on and off]].