simetnicbr / simetbox-openwrt-feed Goto Github PK
View Code? Open in Web Editor NEWSIMETBox package feed for OpenWRT (comece aqui/start here!)
Home Page: http://simet.nic.br/simetbox
License: GNU General Public License v2.0
SIMETBox package feed for OpenWRT (comece aqui/start here!)
Home Page: http://simet.nic.br/simetbox
License: GNU General Public License v2.0
$ make menuconfig
WARNING: Makefile 'package/feeds/simetbox/simetbox-openwrt-base/Makefile' has a build dependency on 'libpthread', which does not exist
tmp/.config-package.in:108651:error: recursive dependency detected!
tmp/.config-package.in:108651: symbol PACKAGE_simetbox-openwrt-base is selected by PACKAGE_simetbox-openwrt-simet-ma
tmp/.config-package.in:108736: symbol PACKAGE_simetbox-openwrt-simet-ma depends on BUSYBOX_CONFIG_SHA256SUM
package/utils/busybox/config/coreutils/Config.in:412: symbol BUSYBOX_CONFIG_SHA256SUM depends on BUSYBOX_CUSTOM
package/utils/busybox/Config.in:3: symbol BUSYBOX_CUSTOM is selected by PACKAGE_simetbox-openwrt-base
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
Opa, estou tendo dificuldades em compilar o simetbox (mesmo o pacote base, desmarcando os demais addons) usando o branch 17.01-7 do openwrt. Segui as instruções com exceção de setar o "Release version code", que não encontrei. Também comentei a linha 41 do Makefile do simetbox-openwrt-simet-ma para evitar a referência cruzada que surge ao compilar. Mas sempre aborta com a seguinte mensagem de erro:
...
Configuring ip6tables.
Configuring uhttpd-mod-ubus.
Configuring ppp-mod-pppoe.
Collected errors:
- satisfy_dependencies_for: Cannot satisfy the following dependencies for simetbox-openwrt-base:
luci-lib-jsonc
luci-lib-json
- opkg_install_cmd: Cannot install package simetbox-openwrt-base.
package/Makefile:60: recipe for target 'package/install' failed
make[2]: *** [package/install] Error 255
make[2]: Leaving directory '/home/araujo/openwrt/openwrt-17.01.7/openwrt'
package/Makefile:102: recipe for target '/home/araujo/openwrt/openwrt-17.01.7/openwrt/staging_dir/target-mips_24kc_musl-1.1.16/stamp/.package_install' failed
make[1]: *** [/home/araujo/openwrt/openwrt-17.01.7/openwrt/staging_dir/target-mips_24kc_musl-1.1.16/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/araujo/openwrt/openwrt-17.01.7/openwrt'
Build failed - please re-run with -j1 to see the real error message
/home/araujo/openwrt/openwrt-17.01.7/openwrt/include/toplevel.mk:205: recipe for target 'world' failed
make: *** [world] Error 1
Alguma dica do que posso estar fazendo errado? Obrigado.
Bom dia amigos, tudo bem?
Estou com um Archer C60 só que na versão 3.0, posso rodar o
simetbox-openwrt-18.06-snapshot-620-ar71xx-generic-archer-c60-v2 nele?
Ele irá funcionar normalmente?
Status:
OpenWRT master é em geral suportado, mas testado de forma muito limitada.
Ola, gostaria de saber se é possível colocar o sistema em um sistema Docker ou QEMU?
Pois como tenho uma banda mais alta, acredito que os CPEs podem não conseguir mensurar
Obrigado
O sistema se instalou normalmente. Ele ativa a interface LAN (que mudei para DHCP) e ele é acessível na rede. Também funcionou o WIFI, tranquilo.
O problema é que na primeira tela (após a rede LAN ativar o DHCP e o SIMETBOX) que deveria aparecer no SIMET->Resultados do SIMET, está dando erro de:
O que eu poderia fazer?
É interessante se tiver suporte para compilação usando SDK, de forma que a compilação se dá em menos tempo e gera pacotes compatíveis com os releases binários oficiais do openwrt.
Eu tentei fazer com o seguinte roteiro, mas tive problemas de dependência recursiva, e após ajustado manualmente com esse commit ( allgood@d977335 ), e após instalados os pacotes, não consegui rodar o teste.
echo "src-git simetbox https://github.com/simetnicbr/simetbox-openwrt-feed.git" >> feeds.conf.default
./scripts/feeds update -a
./scripts/feeds install -p simetbox -a
./staging_dir/host/bin/usign -G -s ./key-build -p ./key-build.pub -c "SIMETBOX Build signing key"
make
Note: To speed up the build you can add -j5 if you have a quad-core CPU or -j9 if you have a octa-core CPU
make package/index
After the last command, folder ./bin/packages/<arch>/simetbox/
will have the built packages, it can be published on any URL like "https:///simetbox/packages//simetbox/"
From SDK folder, use the command
./staging_dir/host/bin/usign -F -p ./key-build.pub
obtain the content of key-build.pub with
cat key-build.pub
Paste it into the device with the fingerprint obtained on previous command, on folder /etc/opkg/keys/
, example: /etc/opkg/keys/1301dcaaf2d17be3
On the device shell
opkg install simetbox-openwrt-luci
Ola a todos, gerei o firmware para o Roteador Wireless Dual Band AC1200
Archer C50 seguindo o processo do https://github.com/simetnicbr/simetbox-openwrt-feed/blob/master/README.md.
Depois de instalado o firmware, ao acessar o roteador no link http://192.168.1.1 recebo o seguinte erro:
/usr/lib/lua/simet/crontab_writer.lua:1: module 'uci' not found:
no field package.preload['uci']
no file './uci.lua'
no file '/usr/share/lua/uci.lua'
no file '/usr/share/lua/uci/init.lua'
no file '/usr/lib/lua/uci.lua'
no file '/usr/lib/lua/uci/init.lua'
no file './uci.so'
no file '/usr/lib/lua/uci.so'
no file '/usr/lib/lua/loadall.so'
stack traceback:
[C]: in function 'require'
/usr/lib/lua/simet/crontab_writer.lua:1: in main chunk
[C]: in function 'require'
/usr/lib/lua/luci/controller/simet.lua:13: in main chunk
[C]: in function 'require'
/usr/lib/lua/luci/dispatcher.lua:571: in function 'createindex'
/usr/lib/lua/luci/dispatcher.lua:598: in function 'createtree'
/usr/lib/lua/luci/dispatcher.lua:262: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:127: in function </usr/lib/lua/luci/dispatcher.lua:126>
As unicas alterações que eu fiz diferente do manual foi para gerar o firmware para a versão do meu roteador. No make menuconfig escolhi as seguintes opções:
Target System (MediaTek Ralink MIPS)
Subtarget (MT76x8 based boards)
Target Profile (TP-Link ArcherC50 v3)
Desde já agradeço.
Janderson Almeida
O OpenWRT oficialmente não mais recomenda equipamentos com apenas 32MiB de RAM há algum tempo (recomendação originou-se no projeto LEDE). Os seguintes problemas foram reportados:
Observamos problemas de estabilidade em laboratório ao utilizar OpenWRT 2018 (OpenWRT snapshot) sem nenhuma alteração (ou seja, sem LuCI e sem o SIMETBOX) em roteador TP-Link TL-WR842NDv2 (32 MiB RAM, 8MiB FLASH).
Existem reports do próprio driver ath9k (802.11n/an) no kernel 4.9 causar problemas com 32MiB RAM devido a maior utilização de memória para buffers, etc.
A recomendação de possuir mais que 32MiB RAM já exista no LEDE 17.01. O TP-Link TL-WR842NDv2 funciona de forma satisfatória em carga leve, mas observamos problemas nesta plataforma durante tentativa de atualização de firmware, que são agravados quando a interface web é utilizada para atualização.
Provavelmente, o SIMETBOX só suportará roteadores com 32MiB cujo suporte de hardware exista no LEDE 17.01. Hardware novo, que dependa do OpenWRT 2018, terá que possuir mais memória (na prática, isso significa modelos com 64MiB RAM).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.