Answer the question
In order to leave comments, you need to log in
How to set up a network in OpenWRT?
Good evening everyone. I can not solve one problem, I hope you can help me. There is a virtual machine (VirtualBox), it has its own compiled OpenWrt x86 firmware with almost all the packages I need, except for iptables-mod-extra , I couldn’t include it in the assembly, because it simply isn’t there. Accordingly, the only option is to download on a running machine. The installation was carried out according to these instructions . I put the network bridge (if that). I fulfill all the requirements, and connect to it from the local network. It seems like everything is set up, but there is one thing. The opkg command does not work correctly. For example, I write opkg install iptables-mod-extra
, and he answers
Collected errors:
*opkg_intall_cmd: Cannot install package iptables-mod-extra.
Further interesting, the opkg install command writes to any package what I wrote above, only instead of iptables-mod-extra the name of another package. Then it turns out that the commands opkg list-installed and opkg list , which should show a list of all packages and installed ones, do not react at all, that is, nothing happens. And one more nuance. The ping command does not work properly. The command ping yandex.ru
ping: bad adress 'yandex.ru'
a to 77.88.55.66(yandex.ru) or 8.8.8.8(google.com) and responds normally and pings them, gets answers. On another forum I was told that the network is not configured correctly. But how to set up everyone was silent. Here I come to you.Answer the question
In order to leave comments, you need to log in
1. First, set up access to the Internet, if the domain name does not ping, then the DNS servers are not configured correctly.
2. The source of third-party packages must be configured specifically for your platform.
3. When the two initial steps are done, do opkg update to update the list of available packages.
4. Install the required package opkg install ....
There is also a second option, download the ready-made iptables-mod-extra you need, and install it from the folder where you downloaded it, for example opkg install /tmp/iptables-mod-extra.ipk but if there are dependencies, they must also be downloaded.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question