|
From: KP.Kirchdoerfer <ka...@be...> - 2025-08-11 14:57:06
|
Hi;
Am Samstag, 9. August 2025, 21:42:53 Mitteleuropäische Sommerzeit schrieb Jim
Munro:
> Hi all,
> Looks the the kernel modules (drivers ->hid) are missing after release
> 7.3.1.1. Looking forward to anyone that has a tool chain that can
> compile a 6.12.13 kernel with the hid modules.
> Not totally sure on these modules but its my best guess.
Hopefully;
the USB-HID support has been missing on most kernel configs; fixed configs has
been committed to git for next release.
kp
> Thanks
> Jim
>
> On 8/9/2025 1:59 PM, Jim Munro wrote:
> > Hi all,
> > Had to tweak the backup.sh script in /sbin. Added *-4* option to the
> > line that starts with <in.tftpd *-4* -l -s $STORAGE_MEDIA>
> > Needed to add /sbin/backup.sh to local(files).
> > Seems to work for my purposes. YMMV
> > This leaves only usb keyboard issue.
> > Jim
> >
> > #!/bin/sh
> >
> > . /etc/backup.conf
> >
> > if [ -z "$STORAGE_MEDIA" ]; then
> > exit 1;
> > fi
> >
> > files=`ls $STORAGE_MEDIA`
> > fl=""
> > for i in $files; do
> > fl=$fl+$i
> > done;
> > in.tftpd *-4* -l -s $STORAGE_MEDIA
> > wget --post-data="$fl" $MIRROR/backup.cgi -O /tmp/bk.res
> > if [ "`cat /tmp/bk.res`" -ne 0 ]; then
> > echo `date`": Backup failed" >>/var/log/backup.log
> > else
> > echo `date`": Backup successful" >>/var/log/backup.log
> > fi
> > kill `ps |grep "$STORAGE_MEDIA"|awk '{print $1}'`
> > rm /tmp/bk.res
> >
> > On 8/6/2025 4:24 PM, Jim Munro wrote:
> >> Hi everyone,
> >>
> >> Decided to update my leaf box to newer hardware. Was running
> >> 7.0.0-rc1 which is now a bit dated. Everything was running quite well.
> >>
> >> New hardware is a M720Q tiny pc. Trying to get my power footprint
> >> lower for UPS battery backup.
> >>
> >> Anyway I went with the 7.5.0-RC1 and encountered a few problems.
> >>
> >> The usb keyboard no longer works on the system console. Tried few
> >> thing but couldn't get it to work. Happens on other hardware as well.
> >>
> >> The backup module seems to require new dependencies which I tried
> >> adding. Finally it starts a backup to another machine but is
> >> exceeding slow
> >>
> >> and the Save feature of the lrp menu quits working after a backup is
> >> started. This is reproduce-able.
> >>
> >> from leaf.cfg
> >>
> >> # List of packages to load
> >> LRP="root license local bbnameif tc ppp pppoe ezipupd ipset iptables\
> >> shorwall libelf bbntpd perl etherw knockd libpcap *libintl libpsl*\
> >> openvpn easyrsa libssl openssl liblzo libcrpto ethtool dnsmasq\
> >> modules dropbear mhttpd lighttpd webconf pppscrpt libsens sensors\
> >> libgmp libuuid libpcre wget libz libnettle snmpmibs *libunistring*\
> >> libm libsnmp libnl3 netsnmpd tftpd backup nano patch"
> >>
> >> The modules I added to leaf.cfg are bolded
> >>
> >> firewall# ps w|grep backup
> >> 9139 root 1400 S {backup} /bin/sh /etc/cron.weekly/backup
> >> 9140 root 1404 S {with_storage} /bin/sh
> >> /usr/sbin/with_storage /var/lib/lrpkg/mnt /sbin/backup.sh
> >> 9144 root 1432 S {backup.sh} /bin/sh /sbin/backup.sh
> >> 10709 root 1412 S grep backup
> >>
> >> firewall# cat /etc/backup.conf
> >> MIRROR="http://a.b.c.d/cgi-bin"
> >> LOGGING=1
> >> LRPKG="/var/lib/lrpkg"
> >> MNT="$LRPKG/mnt"
> >>
> >> firewall# cat backup.sh
> >> #!/bin/sh
> >>
> >> . /etc/backup.conf
> >>
> >> if [ -z "$STORAGE_MEDIA" ]; then
> >> exit 1;
> >> fi
> >>
> >> files=`ls $STORAGE_MEDIA`
> >> fl=""
> >> for i in $files; do
> >> fl=$fl+$i
> >> done;
> >> in.tftpd -l -s $STORAGE_MEDIA
> >> wget --post-data="$fl" $MIRROR/backup.cgi -O /tmp/bk.res
> >> if [ "`cat /tmp/bk.res`" -ne 0 ]; then
> >> echo `date`": Backup failed" >>/var/log/backup.log
> >> else
> >> echo `date`": Backup successful" >>/var/log/backup.log
> >> fi
> >> kill `ps |grep "$STORAGE_MEDIA"|awk '{print $1}'`
> >> rm /tmp/bk.res
> >>
> >>
> >> Any help or I can help troubleshooting, please advice.
> >>
> >> Jim
> >>
> >> ------------------------------------------------------------------------
> >> leaf-user mailing list: lea...@li...
> >> https://lists.sourceforge.net/lists/listinfo/leaf-user
> >> Support Request -- http://leaf-project.org/
> >
> > ------------------------------------------------------------------------
> > leaf-user mailing list: lea...@li...
> > https://lists.sourceforge.net/lists/listinfo/leaf-user
> > Support Request -- http://leaf-project.org/
>
> ------------------------------------------------------------------------
> leaf-user mailing list: lea...@li...
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
|