unevent Posted August 9, 2013 Share Posted August 9, 2013 It's been several years since I had to deal with this, but how do I modify unMENU to use IP addresses instead of host names to reference its unRAID server? There is no local DNS nor Master Browser on the network that does internal host name resolution. No big deal on my computers as I could configure their local host files as necessary, but with the advent of smart phones and tablets, I don't want to deal with individually modifying such devices to fully access all of unMENU's functions which rely heavily on referencing its unRAID server via its host name instead of IP. So what is entailed to change unMENU's referencing method to IP? Bump on this; still awaiting someone's insightful help! Try editing unmenu.conf and add MyHost = [your server IP] Read the comments in unmenu.awk for another method. Quote Link to comment
cassiusdrow Posted August 9, 2013 Share Posted August 9, 2013 It's been several years since I had to deal with this, but how do I modify unMENU to use IP addresses instead of host names to reference its unRAID server? There is no local DNS nor Master Browser on the network that does internal host name resolution. No big deal on my computers as I could configure their local host files as necessary, but with the advent of smart phones and tablets, I don't want to deal with individually modifying such devices to fully access all of unMENU's functions which rely heavily on referencing its unRAID server via its host name instead of IP. So what is entailed to change unMENU's referencing method to IP? Bump on this; still awaiting someone's insightful help! Try editing unmenu.conf and add MyHost = [your server IP] Read the comments in unmenu.awk for another method. Don't modify unmenu.conf. Edit unmenu_local.conf and add these lines: MyHost = [your server IP] unRAIDHost = [your server IP] Quote Link to comment
zoggy Posted August 18, 2013 Share Posted August 18, 2013 Joe, did you ever get around to trying the updated apcupsd 3.14.10 (it detects which shutdown script to use)? For more info see the post: http://lime-technology.com/forum/index.php?topic=27051.msg255301#msg255301 Quote Link to comment
zoggy Posted August 18, 2013 Share Posted August 18, 2013 Joe, small typo in the Perl package, 'cownload' should be 'download will be': whats currently listed, can see it doesn't make too much sense. grammar. PACKAGE_VARIABLE Install MP3 Libraries (YES/NO)||vINSTALL_MP3=NO||If set to "YES", PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'install MP3::Tag' will be invoked and CPAN cownload attempted as part of the installation Joe, I noticed that under the list of drives in the array.. the boot drive always shows up twice.. is it suppose to? See image: Quote Link to comment
Joe L. Posted August 18, 2013 Author Share Posted August 18, 2013 Joe, small typo in the Perl package, 'cownload' should be 'download will be': whats currently listed, can see it doesn't make too much sense. grammar. PACKAGE_VARIABLE Install MP3 Libraries (YES/NO)||vINSTALL_MP3=NO||If set to "YES", PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'install MP3::Tag' will be invoked and CPAN cownload attempted as part of the installation Looks like I need t fix that. Joe, I noticed that under the list of drives in the array.. the boot drive always shows up twice.. is it suppose to? See image: No. It does not show on mine... See my screen shot in the first post of this thread Quote Link to comment
zoggy Posted August 18, 2013 Share Posted August 18, 2013 Joe, small typo in the Perl package, 'cownload' should be 'download will be': whats currently listed, can see it doesn't make too much sense. grammar. PACKAGE_VARIABLE Install MP3 Libraries (YES/NO)||vINSTALL_MP3=NO||If set to "YES", PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'install MP3::Tag' will be invoked and CPAN cownload attempted as part of the installation Looks like I need t fix that. Joe, I noticed that under the list of drives in the array.. the boot drive always shows up twice.. is it suppose to? See image: No. It does not show on mine... See my screen shot in the first post of this thread just checked my main unraid box, same thing there... flash drive shows up under drive not protected by array when it shouldnt... Quote Link to comment
Joe L. Posted August 18, 2013 Author Share Posted August 18, 2013 Joe, small typo in the Perl package, 'cownload' should be 'download will be': whats currently listed, can see it doesn't make too much sense. grammar. PACKAGE_VARIABLE Install MP3 Libraries (YES/NO)||vINSTALL_MP3=NO||If set to "YES", PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'install MP3::Tag' will be invoked and CPAN cownload attempted as part of the installation Looks like I need t fix that. Joe, I noticed that under the list of drives in the array.. the boot drive always shows up twice.. is it suppose to? See image: No. It does not show on mine... See my screen shot in the first post of this thread just checked my main unraid box, same thing there... flash drive shows up under drive not protected by array when it shouldnt... Notice that in both your screen shots that the model/serial number of the flash drive is blank. (probably why it cannot find it to exclude it) Quote Link to comment
zoggy Posted August 18, 2013 Share Posted August 18, 2013 Joe, small typo in the Perl package, 'cownload' should be 'download will be': whats currently listed, can see it doesn't make too much sense. grammar. PACKAGE_VARIABLE Install MP3 Libraries (YES/NO)||vINSTALL_MP3=NO||If set to "YES", PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'install MP3::Tag' will be invoked and CPAN cownload attempted as part of the installation Looks like I need t fix that. Joe, I noticed that under the list of drives in the array.. the boot drive always shows up twice.. is it suppose to? See image: No. It does not show on mine... See my screen shot in the first post of this thread just checked my main unraid box, same thing there... flash drive shows up under drive not protected by array when it shouldnt... Notice that in both your screen shots that the model/serial number of the flash drive is blank. (probably why it cannot find it to exclude it) in unraid.. it can find the serial without any problems. Quote Link to comment
zoggy Posted August 19, 2013 Share Posted August 19, 2013 Here is a new python 2.x package, it includes an option to install python-cheetah (like we do for the PERL package). Thus, this can replace the existing python-2.6.4 package, and also the python-cheetah package as well. Joe, does unmenu's package logic support checking a variable before d/ling an additional package? Currently I just include the package additionally and then check the variable if we should install it or not python-2.6.6-unmenu-package.conf Quote Link to comment
zoggy Posted August 19, 2013 Share Posted August 19, 2013 Joe, small typo in the Perl package, 'cownload' should be 'download will be': whats currently listed, can see it doesn't make too much sense. grammar. PACKAGE_VARIABLE Install MP3 Libraries (YES/NO)||vINSTALL_MP3=NO||If set to "YES", PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'install MP3::Tag' will be invoked and CPAN cownload attempted as part of the installation Joe, I noticed that under the list of drives in the array.. the boot drive always shows up twice.. is it suppose to? See image: rebooted the box, now unmenu sees the serial... and unraid only sees it partially Quote Link to comment
Auggie Posted August 19, 2013 Share Posted August 19, 2013 Try editing unmenu.conf and add MyHost = [your server IP] Read the comments in unmenu.awk for another method. Don't modify unmenu.conf. Edit unmenu_local.conf and add these lines: MyHost = [your server IP] unRAIDHost = [your server IP] I finally got around to trying to implement this but could not locate the unmenu_local.conf file; where is it? Quote Link to comment
cassiusdrow Posted August 19, 2013 Share Posted August 19, 2013 Try editing unmenu.conf and add MyHost = [your server IP] Read the comments in unmenu.awk for another method. Don't modify unmenu.conf. Edit unmenu_local.conf and add these lines: MyHost = [your server IP] unRAIDHost = [your server IP] I finally got around to trying to implement this but could not locate the unmenu_local.conf file; where is it? Should be in /boot/unmenu. Quote Link to comment
betaman Posted August 19, 2013 Share Posted August 19, 2013 Try editing unmenu.conf and add MyHost = [your server IP] Read the comments in unmenu.awk for another method. Don't modify unmenu.conf. Edit unmenu_local.conf and add these lines: MyHost = [your server IP] unRAIDHost = [your server IP] I finally got around to trying to implement this but could not locate the unmenu_local.conf file; where is it? Please report back. I'm still not able to get UnRAID Main working via UnMenu on my iPhone or iPad. I was able to get UnRAID Main to work though so it's a workaround that allows me to shutdown my server remotely (i.e. within my wireless network). Quote Link to comment
unevent Posted August 22, 2013 Share Posted August 22, 2013 Question: Why does unMENU need to access www.ajax.googleapis.com? Quote Link to comment
Joe L. Posted August 22, 2013 Author Share Posted August 22, 2013 Question: Why does unMENU need to access www.ajax.googleapis.com? I am guessing in that one of the more recent additions to it positions it to be able to handle ajax calls in JavaScript. I do not that any are in use at this time. Quote Link to comment
unevent Posted August 22, 2013 Share Posted August 22, 2013 Question: Why does unMENU need to access www.ajax.googleapis.com? I am guessing in that one of the more recent additions to it positions it to be able to handle ajax calls in JavaScript. I do not that any are in use at this time. I see it being access on several pages, such as unMENU syslog. I realize Google has their hands in a lot of things these days, but do we really need it in our media servers? Quote Link to comment
zoggy Posted August 22, 2013 Share Posted August 22, 2013 so what you are talking about is just the loading of jquery from google's CDN. which if theres one place that your browser prob has it cached... its from there. its a common tactic used when your not including the lib yourself. theHEAD = theHEAD "<script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js\"></script>" now, off the top of my head I dont think unmenu actually has the need for jquery anywhere.. this was added on the 1.6 push: http://code.google.com/p/unraid-unmenu/source/diff?spec=svn262&r=262&format=side&path=/trunk/unmenu.awk upon digging it looks like its included because in unmenu.conf users can load their own css/js: UNMENU_SKIN_JS = /var/log/images/stock/unmenu.js okay, there is 1 line of code.. scrollTo which is found in (which scrolls the browser to the top of the page on load): http://code.google.com/p/unraid-unmenu/source/diff?spec=svn262&r=262&format=side&path=/trunk/images/stock/unmenu.js the code could just be rewritten in native prototype/js.. or just nuke the code for now and people just deal with scrolling the window up if needed. or joe could just include jquery with unmenu and save the url call for those that are paranoid. Quote Link to comment
sacretagent Posted August 22, 2013 Share Posted August 22, 2013 Hi Zoggy not paranoid .. but sometimes the query to that google page stops the page from loading completely in firefox... the spinning wheel in the unmenu tab never stops.... what i do mostly is stopping it manually but then the page is not being refreshed any more ... Quote Link to comment
zoggy Posted August 22, 2013 Share Posted August 22, 2013 Hi Zoggy not paranoid .. but sometimes the query to that google page stops the page from loading completely in firefox... the spinning wheel in the unmenu tab never stops.... what i do mostly is stopping it manually but then the page is not being refreshed any more ... prime example of why its always suggested that JS stuff is to be placed at the bottom of the page.. although some would argue that they dont want the page to load to only yet be modified by the JS lib to force a redraw/blocking action... but to each their own. anyways i can submit a fix if needed Quote Link to comment
m4f1050 Posted August 22, 2013 Share Posted August 22, 2013 EDIT: Never mind, found the conf file. file_browser still shows old menu, not sure if this has been reported yet. Quote Link to comment
m4f1050 Posted August 22, 2013 Share Posted August 22, 2013 Try editing unmenu.conf and add MyHost = [your server IP] Read the comments in unmenu.awk for another method. Don't modify unmenu.conf. Edit unmenu_local.conf and add these lines: MyHost = [your server IP] unRAIDHost = [your server IP] I finally got around to trying to implement this but could not locate the unmenu_local.conf file; where is it? Please report back. I'm still not able to get UnRAID Main working via UnMenu on my iPhone or iPad. I was able to get UnRAID Main to work though so it's a workaround that allows me to shutdown my server remotely (i.e. within my wireless network). I edited unmenu.conf and added those 2 lines with the IP address of the server and when connected via VPN I could access everything. It just doesn't show pretty "Tower unRAID Server" on top of the menus... Maybe I can do a script at the end with $("#topTitle").html("Tower unRAID Server"); or theMenu = theMenu "<div style=\"clear:both\"></div></div><div id=\"topTitle\">Tower" on unmenu.awk i.e. MyHost = 192.168.1.2 unRAIDHost = 192.168.1.2 EDIT: It was easier to modify uu and add -v MyHost=192.168.1.2 to awk -W......... and leave #MyHost commented... Quote Link to comment
zoggy Posted August 24, 2013 Share Posted August 24, 2013 Joe, what do you think of going somewhat down this route for the package manager in unmenu? http://jsfiddle.net/s4tLy/1/ this is just a mockup i did while at work. it obviously needs some work. this would allow people to sort the list, search, etc. clicking on the package would take you to the package setup page, currently clicking on the package expands it details then we could toss in a button there to 'configure' said plugin which takes you to the normal page. thus this would mainyl just be a drop in replacement for the existing page. Quote Link to comment
mickeykool Posted August 24, 2013 Share Posted August 24, 2013 I have installed this on 5r16c and every time I reboot machine I have to manually start up unmenu. How can I config unmenu to start up at every boot? Thanks Quote Link to comment
m4f1050 Posted August 24, 2013 Share Posted August 24, 2013 I have installed this on 5r16c and every time I reboot machine I have to manually start up unmenu. How can I config unmenu to start up at every boot? Thanks File /boot/config/go add line: /boot/unmenu/uu Quote Link to comment
m4f1050 Posted August 24, 2013 Share Posted August 24, 2013 EDIT: Never mind, found the conf file. file_browser still shows old menu, not sure if this has been reported yet. Any fix for file_browser yet? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.