Can we have mips and ash shell support added? I was able to work around ash not working but I can't attempt to compile the remote server on mips as the source isn't open.
how did you work around with bash not available ?
my box doesn't have bash.. it has ash and i am getting an error
@subni9 Sorry, so work around the issue I just installed bash on the device to see if it would work. @egamma Do you want a new request for ash/non bash terminal support instead?
Aw.. yeah I am not allowed to install bash on my box. I do need a new request for ash support..
any updates on this ?
Hi! Trying to install the remote Sever for VS Code on GL.iNet GL-AR750 with Openwrt, receiving "Unsupported architecture error" - whole log see below. Is there a work around or a feature coming for mips architecture?
I fulfilled the requirements:
| OpenSSH server,聽bash, and聽curl聽or聽wget
but is still missing or not up to date:
kernel >= 3.10, glibc >=2.17, libstdc++ >= 3.4.18, Python 2.6 or 2.7, tar
[email protected]
darwin x64
SSH Resolver called for "ssh-remote+gli_router", attempt 1
SSH Resolver called for host: gli_router
Setting up SSH remote "gli_router"
Using commit id "2213894ea0415ee8c85c5eea0d0ff81ecc191529" and quality "stable" for server
Testing ssh with ssh -V
ssh exited with code: 0
Got stderr from ssh: OpenSSH_7.9p1, LibreSSL 2.7.3
Running script with connection command: "ssh" -o ClearAllForwardings=true -o ConnectTimeout=15 "gli_router" bash
Install and start server if needed
Running remote connection script
Unsupported architecture: mips
0986b272-d53a-4363-9b1e-592defca0012##27##
"install" terminal command done
Received install output: 0986b272-d53a-4363-9b1e-592defca0012##27##
Unsupported architecture
The remote server architecture is not supported
Ok my workaround is sshfs to mount my drive locally
@TobSeCretR one of the devices I'm wanting support is a GL.iNet GL-AR750 as well. How did you find using sshfs?
Hello everyone!
I suggest a solution for remoting through visual studio code insider (vs code-insider can remote device using Openwrt). For instance, in Openwrt-SDK folder, I choose "bash", "curl" (for dowload file) package when building the firmware. In this case, I use the Raspberry Pi model 3B hardware and use OpenSDK-18.06. But, it have still failed.
[10:41:08.959] > BusyBox v1.31.0 () multi-call binary.
[10:41:08.959] >[10:41:08.960] >
Usage: ps
[10:41:08.960] >[10:41:08.960] >
Show list of processes
[10:41:08.961] >[10:41:08.961] >
w Wide output
[10:41:08.962] >
bash: line 224: printenv: command not found
[10:41:08.963] >
Starting server...
[10:41:08.964] >[10:41:08.977] > Waiting for server log...
[10:41:08.978] >[10:41:08.979] > sleep: invalid number '.5'
[10:41:08.981] >
Waiting for server log...
[10:41:08.994] >
sleep: invalid number '.5'
[10:41:08.995] >[10:41:08.996] > Waiting for server log...
[10:41:08.997] >
Waiting for server log...
[10:41:08.998] >
sleep: invalid number '.5'
[10:41:09.009] >
sleep: invalid number '.5'
[10:41:09.010] >
Waiting for server log...
[10:41:09.010] >[10:41:09.011] > sleep: invalid number '.5'
[10:41:09.012] >
Waiting for server log...
[10:41:09.013] >
sleep: invalid number '.5'
[10:41:09.015] >
Waiting for server log...
[10:41:09.026] >
sleep: invalid number '.5'
[10:41:09.026] >/root/.vscode-server-insiders/bin/313ede61cbad8f9dc748907b3384e059ddddb79a/server.sh: line 12: /root/.vscode-server-insiders/bin/313e
[10:41:12.927] >
de61cbad8f9dc748907b3384e059ddddb79a/node: not found
[10:41:12.927] >
[10:41:12.927] >
<<< End of server log
nhanlee97
Hello everyone,
I posted my solution for remoting a device using OpenWRT firmware. Link here (https://forum.openwrt.org/t/which-editor-for-develop-application/45815/4)
nhanlee97
Is there any progress?
My solution is to use RMate extension with Python Rmate server on the OpenWRT device. Similar Rmate server with in C can also be used.
Most helpful comment
Hello everyone!
I suggest a solution for remoting through visual studio code insider (vs code-insider can remote device using Openwrt). For instance, in Openwrt-SDK folder, I choose "bash", "curl" (for dowload file) package when building the firmware. In this case, I use the Raspberry Pi model 3B hardware and use OpenSDK-18.06. But, it have still failed.
nhanlee97