Git Product home page Git Product logo

simetbox-openwrt-feed's People

Contributors

hmh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simetbox-openwrt-feed's Issues

build dependency on 'libpthread'

$ 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'.

Problemas ao compilar

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.

Archer C60(BR) Ver:3.0

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?

Suporte a versões e arquiteturas OpenWRT

Status:

  • OpenWRT 15.05 (legado, ar71xx apenas) -- TL-WR842NDv1/v2 e TL-WR1043v1
  • LEDE 17.04 (ar71xx apenas) -- descontinuado a favor do OpenWRT 18.04
  • OpenWRT 18.04 (ar71xx apenas)
  • OpenWRT 19.07 (ar71xx)
  • OpenWRT 19.07 (ath79)
  • OpenWRT 19.07 ar71xx-> ath79 (migração de modelo para nova arch)
  • OpenWRT 21.02 (ar71xx)
  • OpenWRT 21.02 (ath79)
  • OpenWRT 21.02 (ramips)
  • OpenWRT 22.03 (ath79)
  • OpenWRT 22.03 (ramips)

OpenWRT master é em geral suportado, mas testado de forma muito limitada.

Virtualização

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

Problema no TL 3020

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:

erro_simetbox

O que eu poderia fazer?

Suporte a compilação usando SDK

É 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.

obtain the sdk

add the feed

echo "src-git simetbox https://github.com/simetnicbr/simetbox-openwrt-feed.git" >> feeds.conf.default

install source packages

./scripts/feeds update -a
./scripts/feeds install -p simetbox -a

create signing key

./staging_dir/host/bin/usign -G -s ./key-build -p ./key-build.pub -c "SIMETBOX Build signing key"

build

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

build index

make package/index

publish

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/"

use repository on an openwrt installation

1. get key fingerprint with

From SDK folder, use the command

./staging_dir/host/bin/usign -F -p ./key-build.pub

2. copy content of key-build.pub into device

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

3. install desired packages

On the device shell
opkg install simetbox-openwrt-luci

Erro "module 'uci' not found:" no firmware gerado para Roteador TP Link Wireless Dual Band AC1200 Archer C50

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

Instabilidade do OpenWRT em roteadores com menos que 48MiB RAM

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:

  1. Falha no sysupgrade por falta de memória (RAM) para a tmpfs
  2. Falhas de runtime por OOM (out-of-memory).

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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.