July 24, 201312 yr Up for grabs here is a plugin version of my shellinabox unmenu package. It is mostly a straight copy of that into plugin form. I am now using the version of shellinabox compiled and patched by overbryn so that this will work in Firefox. Everything seems to work fine for me (I have been running this on my systems for quite some time). The only oddity I have noticed is that every once in awhile shellinabox will stop responding but shows as running via a "ps -ef" on the command line. If this seems to be the case a simple disable -> apply -> enable -> apply will bring it back to life. I have not been able to track down why this is happening but have not looked overly hard. Just download the file and change the .txt end to .plg; you all should know how to do the rest. I have attached a css (green-on-black.css, just change the ending) file to also change it so that there is green text on a black background. place the .css file in the config/plugins/shellinaboxd folder on the flash drive. Then add ",Green:-/boot/config/plugins/shellinaboxd/green-on-black.css" (no quotes) to the CSS line. After enabling it, you can right click in the window and select normal, white, or green. You can create more css files and do the same as above and all will be added to the right click menu. Any questions feel free to ask! 8-5-2013: grab the newest .txt file attached to this post It should fix the issue some users were seeing about the process not starting. 2-8-2014: Added the ability to specify user css files to get different text and background colors. - download the .txt, change to .plg, place in the plugins folder, and delete the .cfg file in the shellinaboxd folder - run installplg or reboot. shellinabox.txt green-on-black.txt
July 24, 201312 yr Hi can you add "--no-check-certificate" to the files that needs it? and verify the md5 checksum? //Peter
July 24, 201312 yr Author Hi can you add "--no-check-certificate" to the files that needs it? and verify the md5 checksum? //Peter google must have changed something... give me a second
July 24, 201312 yr Author try now. Notepad++ was not set correctly on my work machine for whatever reason.
July 24, 201312 yr Author bad MD5, deleting I gened the MD5 twice and it is correct. unless you can provide a difference MD5 for the file that would be great. Never mind... way to early in the morning and I have not had enough coffee as of yet. Try now
July 24, 201312 yr Feedback: It won't start from the web GUI, but with shell command /etc/rc.d/rc.shellinaboxd start works fine And When I have the OpenVPN server running, it's add the vpn server IP to the unraid IP, like this, my unraid IP is 192.168.0.171 and vpn server 10.8.0.1 so its's looks like its add info from both etho and tun0 http://192.168.0.17110.8.0.1:4500/ FYI: I run this test on my VBOX VM machine //Peter
July 24, 201312 yr Author Feedback: It won't start from the web GUI, but with shell command /etc/rc.d/rc.shellinaboxd start works fine And When I have the OpenVPN server running, it's add the vpn server IP to the unraid IP, like this, my unraid IP is 192.168.0.171 and vpn server 10.8.0.1 so its's looks like its add info from both etho and tun0 http://192.168.0.17110.8.0.1:4500/ FYI: I run this test on my VBOX VM machine //Peter I will have to check when I get home. The only thing I changed from my initial build version was to use overbryn's version of shellinabox. AS for the IP thing... that I will look into also. can you remove the openvpn on and see what happens please? I use this code: ifconfig | grep inet | awk 'NF > 3' | awk '{print \$2}' | awk '{split(\$0,a,\":\");print a[2]}' to grab the IP. obviously on your system with OpenVPN this does not work quite correctly. Any idea what might work
July 24, 201312 yr It works without VPN, but only when I start from the command prompt Sent from my iPhone using Tapatalk 2
July 24, 201312 yr try this code, works great. /sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'
July 24, 201312 yr Author It works without VPN, but only when I start from the command prompt Sent from my iPhone using Tapatalk 2 OK, good to know. I will have to look at the OpenVPN plugin then and see if I can figure out a solution. What IP does unRAID show in the Network section (or whatever one it is)?
July 24, 201312 yr Author try this code, works great. /sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' On a system with and without the OpenVPN plugin?
July 24, 201312 yr Yes both with and without VPN , it's looks only on eth0 Sent from my iPhone using Tapatalk 2
July 27, 201312 yr Author OK, so everything looks to be fixed in the version I just uploaded. It turns out the tool I was using to calc the md5 on the windows machine was giving all capitol letters. This was causing issues on the install of the plugin. I recalled the md5 on my Mac this morning and saw the difference. This is also starting for me correctly without issue peter_sm if for some reason it is still not starting for you then we will have to look into that.
July 27, 201312 yr Author Now it works, but there is only a small issue on the GUI.... //Peter Nope, only looks that way in SimpleFeatures. I do not use Simple features and don't really care to try and figure it out there.
July 27, 201312 yr The SF is a pain in the ... right now, I using it only for the WEB server, and I hope someday that we have a web server plugin that are not bounded to SF Great job on this //Peter
July 27, 201312 yr Author The SF is a pain in the ... right now, I using it only for the WEB server, and I hope someday that we have a web server plugin that are not bounded to SF It can be, but then everything can be. I like the updated look it brings but I so rarely look at the unRAID webGUI that I don't really care what it looks like. Great job on this hehe, only took me 4/5 iterations. Stupid md5 tool on windows I was using screwed everything up. Thanks for the testing on this and the updated command to grab the IP address. I really do love shellinabox, I don't bother launching a terminal window anymore once this is installed.
July 27, 201312 yr I like the SF style, and we can hope all these SF plugin can be installed without the "SF "core" in near future, or the SF going to be maintain and be rock solid when we see V5 final. And this plugin is slightly smoother than putty FYI: I did a small change to your plugin, so it fit to SF better ( for me anyway) //Peter
August 4, 201312 yr this still working with this new GUI? installed it on both of my servers but only one has the new gui and on the one with the new gui i get server refused connection on the server with normal SF it works fine .... nothing in the logs... it only says it is running ... oh yeah it tried like 4 different ports ... all same effect screenshot doesn't show the txt about server refused only shows when rolling over the little smiley
August 4, 201312 yr had original web gui plugin installed, but needed one that worked with FF and tried this one with no joy. The service starts but cannot connect no matter what port i switched to... any help would be appreciated
August 4, 201312 yr Author this still working with this new GUI? installed it on both of my servers but only one has the new gui and on the one with the new gui i get server refused connection on the server with normal SF it works fine .... nothing in the logs... it only says it is running ... oh yeah it tried like 4 different ports ... all same effect screenshot doesn't show the txt about server refused only shows when rolling over the little smiley Are you running 5.0rc16c on the new box that you installed the new GUI on? If you hit open in new tab, does it work?
August 4, 201312 yr Author had original web gui plugin installed, but needed one that worked with FF and tried this one with no joy. The service starts but cannot connect no matter what port i switched to... any help would be appreciated See my above post
August 4, 201312 yr tried to open in new tab. does not work tried changing ports and tried again, but no joy...
Archived
This topic is now archived and is closed to further replies.