Code Monkey home page Code Monkey logo

goldenorb's People

Contributors

rooterdairyman avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

goldenorb's Issues

Feature request: Implement conflict logic between uqmi and rqmi (CONFIG_PACKAGE_uqmi and CONFIG_PACKAGE_rqmi).

This is a feature request for building OpenWRT with ROOter:

OpenWRT's package uqmi (CONFIG_PACKAGE_uqmi) and ROOter's package rqmi (CONFIG_PACKAGE_rqmi) do conflict.

The relevant output of

make -j1 V=s 2>&1 | tee make.log

if both are enabled is:

[...]
Configuring luci-appCollected errors:
 * check_data_file_clashes: Package uqmi wants to install file /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/build_dir/target-mips_24kc_musl/root-lantiq/sbin/uqmi
        But that file is already provided by package  * rqmi
 * opkg_install_cmd: Cannot install package uqmi.
 * check_data_file_clashes: Package uqmi wants to install file /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/build_dir/target-mips_24kc_musl/root-lantiq/sbin/uqmi
        But that file is already provided by package  * rqmi
 * opkg_install_cmd: Cannot install package luci-proto-qmi.
[...]
-mwan3.
Configuring libuclient.
Configuring uclient-fetch.
[...]
[...]
[...]
Configuring kmod-net-rtl8192su.
make[2]: *** [package/Makefile:68: package/install] Error 255
make[2]: Leaving directory '/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom'
make[1]: *** [package/Makefile:104: /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/staging_dir/target-mips_24kc_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom'
make: *** [/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/include/toplevel.mk:218: world] Error 2

(CONFIG_PACKAGE_uqmi can easyly get selected by selecting CONFIG_PACKAGE_luci-proto-qmi.)

The feature request is to implement a logic in the configure system which represents the conflict.

External IP Address 'Not Available' due to ipecho.net moving to https

The current script uses a website to get the modem's IP address but is using http instead of https in the URL. A browser will auto redirect but the Lua script will not. The URL needs changed and disable wget's SSL certificate validation. Also, wget in the Lua script runs /bin/wget (no SSL support) whereas the command line runs /usr/bin/wget (symlink to wget-ssl, which supports SSL).

/usr/lib/lua/luci/controller/admin/modem.lua

this line:
os.execute("rm -f /tmp/ipip; wget -O /tmp/ipip http://ipecho.net/plain > /dev/null 2>&1")

should be changed to use https:

os.execute("rm -f /tmp/ipip; wget-ssl --no-check-certificate -O /tmp/ipip https://ipecho.net/plain > /dev/null 2>&1")

ROOter does conflict with OpenWRT trunk: ext-rooter-basic depends on and conflicts with usb-modeswitch.

I am trying to build my personal configured OpenWRT with ROOter for

CONFIG_TARGET_LANTIQ=Y
CONFIG_TARGET_LANTIQ_XWAY=Y
CONFIG_TARGET_lantiq_xway_DEVICE_arcadyan_arv752dpw22=y

(Vodafone DSL-EasyBox 803A / Astoria Networks Arcadyan ARV752DPW22)

and now I came down to isssues which seem related to the ROOter additions.

I use the latest OpenWRT git checkout (trying both branch master: git describe: reboot-6400-g643850f568, Latest git commit hash: 643850f568, Latest git commit time: 2018-03-09T08:18:54+01:00; and branch lede-17.01: git describe: v17.01.4-298-g9bdea6a296, Latest git commit hash: 9bdea6a296, Latest git commit time: 2018-03-08T22:23:57+01:00), and there seems to be a file conflict if I enable ROOter on them:

Configuring

CONFIG_PACKAGE_ext-rooter-basic=y

will select

CONFIG_PACKAGE_usb-modeswitch=y

(The logic for CONFIG_PACKAGE_usb-modeswitch, which I can see in make menuconfig, is:

Selected by: [...] || \
PACKAGE_ext-rooter-basic [=y] && USB_SUPPORT [=y]

since I have USB support, usb-modeswitch will be selected).

However, after doing the usual ./scripts/feeds update -a && ./scripts/feeds install -a, make -j1 V=s menuconfig, make -j1 V=s defconfig, make -j1 V=s download, a run of

make -j1 V=s 2>&1 | tee make.log

will reveal the following (it is a second run of make, to make the log output as small as possible to not duplicate already succeeded stuff):

[...]
Configuring zlib.
ConfiguCollected errors:
 * check_data_file_clashes: Package ext-rooter-basic wants to install file /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/build_dir/target-mips_24kc_musl/root-lantiq/etc/hotplug.d/usb/20-usb_mode
        But that file is already provided by package  * usb-modeswitch
 * check_data_file_clashes: Package ext-rooter-basic wants to install file /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/build_dir/target-mips_24kc_musl/root-lantiq/etc/init.d/usbmode
        But that file is already provided by package  * usb-modeswitch
 * check_data_file_clashes: Package ext-rooter-basic wants to install file /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/build_dir/target-mips_24kc_musl/root-lantiq/etc/usb-mode.json
        But that file is already provided by package  * usb-modeswitch
 * opkg_install_cmd: Cannot install package ext-rooter-basic.
 * check_data_file_clashes: Package ext-rooter-basic wants to install file /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/build_dir/target-mips_24kc_musl/root-lantiq/etc/hotplug.d/usb/20-usb_mode
        But that file is already provided by package  * usb-modeswitch
 * check_data_file_clashes: Package ext-rooter-basic wants to install file /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/build_dir/target-mips_24kc_musl/root-lantiq/etc/init.d/usbmode
        But that file is already provided by package  * usb-modeswitch
 * check_data_file_clashes: Package ext-rooter-basic wants to install file /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/build_dir/target-mips_24kc_musl/root-lantiq/etc/usb-mode.json
        But that file is already provided by package  * usb-modeswitch
 * opkg_install_cmd: Cannot install package ext-rooter4.
ring libopenssl.
Configuring librt.
Configuring wget.
[...]
Configuring kmod-net-rtl8192su.
make[2]: *** [package/Makefile:68: package/install] Error 255
make[2]: Leaving directory '/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom'
make[1]: *** [package/Makefile:104: /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/staging_dir/target-mips_24kc_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom'
make: *** [/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-03-09_14-34-39_-_custom/include/toplevel.mk:218: world] Error 2

Here I attach the following files (they where from compiling with OpenWRT branch master):

  • make.log.txt: The full output of the above mentioned make -j1 V=s 2>&1 | tee make.log (note: About 1.4 MB in size).
  • .config-diff.txt: The output of ./scripts/diffconfig.sh on the configuration which was used.
  • .config.txt: The .config file after a make -j1 V=s menuconfig && make -j1 V=s defconfig used to generate this report.
  • feeds.conf.txt: The feeds.conf I used.

Can we setup real forum website?

Can there be a real forum setup for this project? There are lots of people who want to be part of this, contribute, and learn but there is no good place. The existing forum is a giant thread so many peoples questions get overlooked, lets makes a real forum so this project can grow. thanks

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.