clever-knife-27154
11/14/2022, 3:11 AM2022/11/14 02:58:46 no server address provided
~ # netclient -v
Netclient CLI version v0.9.4
~ # cat /proc/cpuinfo
system type : Qualcomm Atheros QCA9533 ver 2 rev 0
machine : GL.iNet GL-AR300M16
processor : 0
cpu model : MIPS 24Kc V7.4
BogoMIPS : 432.53
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16
Options implemented : tlb 4kex 4k_cache prefetch mcheck ejtag llsc dc_aliases perf_cntr_intr_bit perf
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
~ # uname -a
Linux OpenWrt 5.10.146 #0 Fri Oct 14 22:44:41 2022 mips GNU/Linux
~ # cat /etc/banner
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 22.03.2, r19803-9a599fee93
-----------------------------------------------------
jolly-london-20127
11/14/2022, 1:33 PMclever-knife-27154
11/14/2022, 3:22 PMbored-island-21407
11/16/2022, 10:19 PMsudo ./netclient install
clever-knife-27154
11/16/2022, 10:20 PMbored-island-21407
11/16/2022, 10:20 PMclever-knife-27154
11/16/2022, 10:21 PMbored-island-21407
11/16/2022, 10:21 PMclever-knife-27154
11/16/2022, 10:22 PMbored-island-21407
11/16/2022, 10:23 PMclever-knife-27154
11/16/2022, 10:30 PM/tmp # ./netclient-mips-upx install
./netclient-mips-upx: line 1: syntax error: unexpected "("
That gave me a syntax error. So I checked if Netclient is installed already per the previous instructions from sbilly GitHub.
/tmp # netclient
USAGE:
netclient [global options] command [command options] [arguments...]
VERSION:
v0.9.4
COMMANDS:
join Join a Netmaker network.
leave Leave a Netmaker network.
checkin Checks for local changes and then checks into the specified Netmaker network to ask about remote changes.
push Push configuration changes to server.
pull Pull latest configuration and peers from server.
list Get list of networks.
uninstall Uninstall the netclient system service.
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
--version, -v print the version (default: false)
I did not see any install option unlike the option I see when I do the same on my MacOS
sudo netclient
VERSION:
v0.16.1
COMMANDS:
join Join a Netmaker network.
leave Leave a Netmaker network.
pull Pull latest configuration and peers from server.
list Get list of networks.
uninstall Uninstall the netclient system service.
daemon run netclient as daemon
install install binary and daemon
connect connect netclient to a given network if disconnected
disconnect disconnect netclient from a given network if connected
help, h Shows a list of commands or help for one command
But I still tried to run the command:
/tmp # netclient install netclient-mips-upx
No help topic for 'install'
What would you suggest I try next?/tmp # lscpu
Architecture: mips
Byte Order: Big Endian
CPU(s): 1
On-line CPU(s) list: 0
Model: MIPS 24Kc V7.4
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
BogoMIPS: 432.53
Flags: mips16
Caches (sum of all):
L1d: 32 KiB (1 instance)
L1i: 64 KiB (1 instance)
root@GL-AR750S:~# lscpu
Architecture: mips
Byte Order: Big Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
BogoMIPS: 385.84
L1d cache: 32 KiB
L1i cache: 64 KiB
bored-island-21407
11/22/2022, 8:03 AMclever-knife-27154
11/22/2022, 4:42 PM/tmp # wget http://192.168.1.150:8000/netclient-mips-upx
Downloading 'http://192.168.1.150:8000/netclient-mips-upx'
Connecting to 192.168.1.150:8000
Writing to 'netclient-mips-upx'
netclient-mips-upx 100% |*******************************| 3796k 0:00:00 ETA
Download completed (3887584 bytes)
/tmp # mv netclient-mips-upx netclient
/tmp # chmod +x netclient
/tmp # ./netclient install
./netclient: line 1: syntax error: unexpected "("
/tmp # bash
bash-5.1# ./netclient install
bash: ./netclient: cannot execute binary file: Exec format error
bash-5.1# chmod -x netclient
bash-5.1# ./netclient install
bash: ./netclient: Permission denied
bored-island-21407
11/22/2022, 5:46 PMclever-knife-27154
11/22/2022, 5:47 PMboundless-photographer-22783
11/23/2022, 7:50 AMArchitecture: mips
Byte Order: Little Endian
Byte Order: Big Endian
you can try it outclever-knife-27154
11/24/2022, 12:56 AMboundless-photographer-22783
11/24/2022, 11:29 AMBig Endian
will be supported through https://github.com/gravitl/netmaker/pull/1756