Giter Club home page Giter Club logo

rescue-dg's People

Contributors

davygravy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

rescue-dg's Issues

mail support with *smtp and wolfssl

would be neat to have basic MTA working on this; may be doable with:

not wolfssl (tiny, but not suitable for msmtp w/o some non-trivial patching) [ https://forum.openwrt.org/t/ssmtp-for-21-02/103260 ]
ca-certificates # how to update ?
libgnutls ?
msmtp
~/.msmtprc ?

dropbear: motd for login similar to issue for serial

docs say that unless disabled at compile time, dropbear will great user w/ cat /etc/motd.

must check this out. would be good to see version at login.

later: works using a symlink from /etc/motd -> /etc/issue, but will have to reformat it with the version release stamp.

mtd2.img: make better use of UBIFS space

rootfs.cfg for creating the UBIFS seems to not make good use of space. Push out to 31MiB.

NOTE: at 32MiB, the UBIFS rootfs would not boot - VFS sync error and kernel panic at boot. vol_size=31MiB gives more than 27MiB in df -h with about 3.8MIB unused.

root@rescue:~$ df -h
Filesystem                Size      Used Available Use% Mounted on
ubi0:rootfs              27.2M     23.4M      3.8M  86% /
devtmpfs                249.6M         0    249.6M   0% /dev
tmpfs                   250.1M         0    250.1M   0% /dev/shm
tmpfs                   250.1M     44.0K    250.0M   0% /tmp
tmpfs                   250.1M     88.0K    250.0M   0% /run
/dev/sda1                 7.4G    192.0M      6.9G   3% /media/usb0

uboot does not build w/ gcc 10

Error thrown: "scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc';" u boot

This hit in 2020 and uboot code is now changed to avoid the problem.

We may just turn off uboot build as it is not essential here.

uboot waits too long if the serverip can't be pinged

u-boot waits too long if $serverip can't be pinged. This is annoying and a waste of time.

This seems more reasonable on my network:

preboot_nc=setenv nc_ready 0; for pingstat in 1 2; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi

wiki pages regarding "Testing and Flashing" need correction

The changes for uboot environment to boot rescue-usb are not sufficient. As shown, the are based on (mistaken) assumptions of default uboot env values. At least usb_init , and usb_boot need to be defined, but avoid colliding with bodhi's values.

refererences:
https://github.com/doozan/uBoot/blob/master/environment/uboot.environment.txt
https://www.dropbox.com/s/4smmw2wr4ugayz9/uboot.2016.05-tld-1.environment.bodhi.tar?file_subpath=%2Fuboot.2016.05-tld-1.environment

if up/down automation missing

Not having ifplugd in the image means that if the device isn't connected at boot time, then the network interface is never raised. Since this is a headless box that is only connected to via network and serial console, it shouldn't be a deal breaker, but it would be better to have it built in.

Not sure if scripts would need to be fidgeted with to get the LED to behave...

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.