Open ghost opened 6 years ago
This is probably as good a place as any to report problems. I don't see issues posted here very quickly, I see them eventually.... The firmware that does work for you is built with exactly the sources that you say don't work for you, so the mostly likely explanation is that something went wrong in the build process. Are you building on the gnubee or on some other host? In the latter case it needs to ssh over to the gnubee to compile some code and extract some Debian binaries. Maybe provide a log of the build process? And maybe an "ls -lR" of the initramfs directory created during the build.
here's the build log and ls -lR initramfs
.
the build log shows that swconfig fails to build, I don't know how to fix it, making a fresh clone of gnubee-tools didn't help (even though I have to make a few modifications (use_remote_path.txt))
build.log initramfs_lR.txt use_remote_path.txt (git diff)
This line from your use_remote_path.txt
path=`$remote 'PATH=/sbin:/usr/sbin:$PATH'`
has an issue. You are enclosing the PATH in single quotes ('), which prevent $PATH to be translated, try enclosing them in double quotes (") that do not prevent shell expansion.
Same here:
path=`$remote 'PATH=/sbin:/usr/sbin:$PATH'`
without the quotes the PATH variable gets expanded on the local computer, not on the gnubee. I get the same results without the patch too.
True! But ... What are you trying to achieve with the two commands? On a second read, invoking ssh to the GnuBee with no real command except a variable assignment and trying to get a result into another, makes no sense to me.
the full command is $remote 'PATH=/sbin:/usr/sbin:$PATH' which $b 2> /dev/null
. it returns the path of the to the binary in $b, preferring statically linked binaries
That does make sense. My excuses, somehow the rest of the command escaped my view.
(I'm not sure if this is the right place for this, please tell me if I should reopen the issue somewhere else)
with your linux commit 13e903a94c7301ebf8b4b62c3a1b7ad9fa49e16c and gnubee-tools commit 4372644f7c5e74068517d1ab6160097dd322c3cd my gnubee2 is not able to reach other hosts over the network. the same setup works with the image "gnubee-pc1-900-4.4.144.bin" from http://neil.brown.name/gnubee/. in both cases I'm loading the images with tftp.
I'm running debian 9, here are some other infos about the system when booted with the non working kernel: /etc/network/interfaces (/etc/network/interfaces.d is empty):
uname -a
ip addr
lsmod
ping 192.168.1.1
dmesg_not_working.txt