Post Reply 
installing minimserver on netgear R7000 router flashed with advanced tomato firmware
04-04-2017, 15:35 (This post was last modified: 04-04-2017 15:50 by dafart.)
Post: #1
installing minimserver on netgear R7000 router flashed with advanced tomato firmware
Dear all, I'd really like to have my router run minimserver..
I've spend several day trying to get java installed but to no avail.
I have a limited linux experience..
The firmware runs this kernel: Linux Tomato 2.6.36.4brcmarm #2 SMP PREEMPT Mon Dec 5 07:41:30 CET 2016 armv7l GNU/Linux

I tried the following versions of java:
ejdk-8u121-linux-armv6-vfp-hflt.tar.gz
jdk-8u121-linux-arm32-vfp-hflt.tar.gz
jdk-8u121-linux-arm64-vfp-hflt.tar.gz
ejre-7u71-fcs-b14-linux-arm-vfp-hflt-client_headless-26_sep_2014.tar.gz
jdk-7u60-linux-arm-vfp-hflt.tar.gz

But with none of them it was possible to run "java -v", (I always got the "java not found error..)

I guess this has to do with my PATH settings but I have no idea how to solve this..

Is there someone who can point me to the right direction?

I have an USB stick with entware installed and I have created a build environment using entware..

Also I tried to follow the examples given in this post: https://forum.minimserver.com/showthread...ht=openwrt but like I said I'm stuck with the java executable not being found..

My /opt/etc/profile file loks like this:
Code:
#!/bin/sh

# Please note it's not a system-wide settings, it's only for a current
# terminal session. Point your f\w (if necessery) to execute /opt/etc/profile
# at console logon.

export PATH=/opt/bin:/opt/sbin:$PATH
export TERMINFO=/opt/share/terminfo
export TERM=xterm
export TMP=/opt/tmp
export TEMP=/opt/tmp
alias mc="mc -c"

# You may define localization
#export LANG='ru_RU.UTF-8'
#export LC_ALL='ru_RU.UTF-8'
export LANG='en_US.UTF-8'
export LC_ALL='en_US.UTF-8'

And my /etc/profile file looks like this:
Code:
xport PATH="/bin:/usr/bin:/sbin:/usr/sbin:/home/$USER:/mmc/sbin:/mmc/bin:/mmc/usr/sbin:/mmc/usr/bin:/opt/sbin:/opt/bin:/opt/usr/sbin:/opt/usr/bin:`nvram get env_path`"
export PS1='\u@\h:\w\$ '

alias l='ls -lFA'
alias ll='ls -lF'

ldd() {
        LD_TRACE_LOADED_OBJECTS=1 $*;
}

[ -f /jffs/etc/profile ] && . /jffs/etc/profile
[ -f /opt/etc/profile ] && . /opt/etc/profile
Thanks in advance!

Daf
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
installing minimserver on netgear R7000 router flashed with advanced tomato firmware - dafart - 04-04-2017 15:35

Forum Jump:


User(s) browsing this thread: 2 Guest(s)