Linux Build - how to connect to the Web Ide #6692
Replies: 1 comment
-
Posted at 2016-02-29 by Wilberforce This works:
I have checked telnet is not running - well it doesn't answer on :
Posted at 2016-03-01 by @gfwilliams I think @tve made the default telnet port on Linux 2323 - info here On Linux you can't create a port below 1000 without admin priviledges, and generally you don't want to have to run Espruino like that. Just typing Posted at 2016-03-01 by Wilberforce Thanks for replying Posted at 2016-03-01 by @MaBecker telnet syntax
Posted at 2016-03-01 by Wilberforce hmm. nobody home with:
or adding to the web ide.. Also, is this a concern - and what is the cause? Posted at 2016-03-01 by @MaBecker @wilberforce come to https://gitter.im/espruino/Espruino to gitter Posted at 2016-03-01 by Wilberforce Thanks to @MaBecker, it turns out the Makefile had the telnet off by default, need to do a pull request and update! BOARD=LINUX
Posted at 2016-03-01 by Wilberforce
Linux esp8266-VirtualBox 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:18:00 UTC 2015 i686 i686 i686 GNU/Linux`
Using built-in specs.
Ok on this system:
root@nodejs ~/Espruino# gcc -v
So I'm wondering if it a gcc version thing? Posted at 2016-03-02 by @gfwilliams Ahh, thanks for letting me know. I guess I'm not 100% sure if it should be on by default then, since it's a massive security hole if anyone is currently using Espruino and isn't expecting a port to be opened. You can always do For It's not a huge deal since it's actually pretty rare that particular argument format is used - I doubt you'd notice a problem. If you do come across it, you'll notice that some of the arguments get corrupted, but it won't cause a crash or anything. When you post stuff like that up in future, please can you try and surround it in the 3 backticks? As it is, it's a real pain to look through and see what's text you've written and what's command output. Posted at 2016-03-02 by Wilberforce I did try to use back ticks, but it went bung, so I removed them! I thought I would add now on the iPad, however the character isn't on the keyboard! For the Linux build is there any other way of loading code via the ide, if there isn't - that's why I was expecting it to be on by default. Can it be called a security hole if it's not on a default port? As you say documenting makes all the difference! I updated the gcc compiler on the 32 bit system - it made no difference Posted at 2016-03-02 by @gfwilliams
You probably need an empty line before and after - markdown is a pain like that!
Kind of. You can set Linux up such that Espruino auto-runs and is accessible using a telnet server - There was a post on the forum about it. @tve only added the internal server relatively recently.
I imagine so, yes. If I could port-scan your PC and then access it remotely with no password, I think that's something you'd want to fix :) IMO the command-line option would be the way to go, and it can be documented in Posted at 2016-03-02 by Wilberforce
Agreed
http://www.espruino.com/Reference#Telnet Posted at 2016-03-03 by tve I wanted to use the telnet service on linux to run some tests (I think it was to make sure that the service wasn't tied to anything specific in the esp8266), so I made the changes necessary to be able to enable it, but I didn't want to open up the port in general given the security issues. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-02-29 by Wilberforce
I've built using these instructions in a linux VM:
http://forum.espruino.com/comments/5764/
The exe spins up:
How do I connect with the Web ide?
I tried adding the IP of the VM under communications > Connect over Ip Address, however the instance is not found.
Do you need to set up a virtual com port, or can connect via IP to a Linux instance.
I'm hoping the VM version will be a lot more snappy for development - especially uploading when developing modules!
Beta Was this translation helpful? Give feedback.
All reactions