Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unMENU 1.5 ... now available for download.

Featured Replies

  • Author

added the entry and now i get:

 

[->] MAIL FROM:<[email protected]>

 

but still no sucessful email out. Should it say [email protected]?? Is there a variable to set the starting part (root as above) to be my dynamis_dk username?

Yes, in the new version there is..  just uploaded to code.google.com.
  • Replies 1.3k
  • Views 368k
  • Created
  • Last Reply

Well I've carried out the update and re-entered all my details. I i enter 'yahoo.com' in the re-write domain i still get the same [email protected] address in the MAIL FROM part, and if i try my whole email address '[email protected]' i think the program is crashing out as i get this:

 

*** glibc detected *** ssmtp: munmap_chunk(): invalid pointer: 0x0805439b ***

======= Backtrace: =========

/lib/libc.so.6(cfree+0x1bc)[0xb75c113c]

ssmtp[0x804b009]

ssmtp[0x804b9d7]

ssmtp[0x804c303]

/lib/libc.so.6(__libc_start_main+0xe0)[0xb7568390]

ssmtp[0x8049501]

======= Memory map: ========

08048000-0804e000 r-xp 00000000 00:01 583814    /usr/sbin/ssmtp

0804e000-0804f000 rwxp 00005000 00:01 583814    /usr/sbin/ssmtp

0804f000-08074000 rwxp 00000000 00:00 0          [heap]

b73f5000-b73ff000 r-xp 00000000 00:01 573770    /usr/lib/libgcc_s.so.1

b73ff000-b7400000 rwxp 00009000 00:01 573770    /usr/lib/libgcc_s.so.1

b7404000-b740d000 r-xp 00000000 00:01 579814    /lib/libnss_files-2.7.so

b740d000-b740e000 r-xp 00008000 00:01 579814    /lib/libnss_files-2.7.so

b740e000-b740f000 rwxp 00009000 00:01 579814    /lib/libnss_files-2.7.so

b740f000-b7411000 rwxp 00000000 00:00 0

b7411000-b7413000 r-xp 00000000 00:01 579785    /lib/libdl-2.7.so

b7413000-b7414000 r-xp 00001000 00:01 579785    /lib/libdl-2.7.so

b7414000-b7415000 rwxp 00002000 00:01 579785    /lib/libdl-2.7.so

b7415000-b753a000 r-xp 00000000 00:01 582059    /usr/lib/libcrypto.so.0.9.8

b753a000-b754f000 rwxp 00125000 00:01 582059    /usr/lib/libcrypto.so.0.9.8

b754f000-b7552000 rwxp 00000000 00:00 0

b7552000-b7697000 r-xp 00000000 00:01 579770    /lib/libc-2.7.so

b7697000-b7698000 ---p 00145000 00:01 579770    /lib/libc-2.7.so

b7698000-b769a000 r-xp 00145000 00:01 579770    /lib/libc-2.7.so

b769a000-b769b000 rwxp 00147000 00:01 579770    /lib/libc-2.7.so

b769b000-b769e000 rwxp 00000000 00:00 0

b769e000-b76db000 r-xp 00000000 00:01 582071    /usr/lib/libssl.so.0.9.8

b76db000-b76df000 rwxp 0003c000 00:01 582071    /usr/lib/libssl.so.0.9.8

b76df000-b76f3000 r-xp 00000000 00:01 579799    /lib/libnsl-2.7.so

b76f3000-b76f4000 r-xp 00013000 00:01 579799    /lib/libnsl-2.7.so

b76f4000-b76f5000 rwxp 00014000 00:01 579799    /lib/libnsl-2.7.so

b76f5000-b76f8000 rwxp 00000000 00:00 0

b76fb000-b76fc000 rwxp 00000000 00:00 0

b76fc000-b76fd000 r-xp 00000000 00:00 0          [vdso]

b76fd000-b7719000 r-xp 00000000 00:01 579755    /lib/ld-2.7.so

b7719000-b771a000 r-xp 0001b000 00:01 579755    /lib/ld-2.7.so

b771a000-b771b000 rwxp 0001c000 00:01 579755    /lib/ld-2.7.so

bf935000-bf938000 rwxp 00000000 00:00 0          [stack]

bf938000-bf93a000 rw-p 00000000 00:00 0

Aborted

 

My full conf file is like so:

 

[email protected]

mailhub=plus.smtp.mail.yahoo.com:587

[email protected]

hostname=localhost

UseSTARTTLS=NO

AuthUser=dynamis_dk

AuthPass=xxxxxxxx

FromLineOverride=YES

 

  • Author

Well I've carried out the update and re-entered all my details. I i enter 'yahoo.com' in the re-write domain i still get the same [email protected] address in the MAIL FROM part, and if i try my whole email address '[email protected]' i think the program is crashing out as i get this:

 

*** glibc detected *** ssmtp: munmap_chunk(): invalid pointer: 0x0805439b ***

======= Backtrace: =========

/lib/libc.so.6(cfree+0x1bc)[0xb75c113c]

ssmtp[0x804b009]

ssmtp[0x804b9d7]

ssmtp[0x804c303]

/lib/libc.so.6(__libc_start_main+0xe0)[0xb7568390]

ssmtp[0x8049501]

======= Memory map: ========

08048000-0804e000 r-xp 00000000 00:01 583814     /usr/sbin/ssmtp

0804e000-0804f000 rwxp 00005000 00:01 583814     /usr/sbin/ssmtp

0804f000-08074000 rwxp 00000000 00:00 0          [heap]

b73f5000-b73ff000 r-xp 00000000 00:01 573770     /usr/lib/libgcc_s.so.1

b73ff000-b7400000 rwxp 00009000 00:01 573770     /usr/lib/libgcc_s.so.1

b7404000-b740d000 r-xp 00000000 00:01 579814     /lib/libnss_files-2.7.so

b740d000-b740e000 r-xp 00008000 00:01 579814     /lib/libnss_files-2.7.so

b740e000-b740f000 rwxp 00009000 00:01 579814     /lib/libnss_files-2.7.so

b740f000-b7411000 rwxp 00000000 00:00 0

b7411000-b7413000 r-xp 00000000 00:01 579785     /lib/libdl-2.7.so

b7413000-b7414000 r-xp 00001000 00:01 579785     /lib/libdl-2.7.so

b7414000-b7415000 rwxp 00002000 00:01 579785     /lib/libdl-2.7.so

b7415000-b753a000 r-xp 00000000 00:01 582059     /usr/lib/libcrypto.so.0.9.8

b753a000-b754f000 rwxp 00125000 00:01 582059     /usr/lib/libcrypto.so.0.9.8

b754f000-b7552000 rwxp 00000000 00:00 0

b7552000-b7697000 r-xp 00000000 00:01 579770     /lib/libc-2.7.so

b7697000-b7698000 ---p 00145000 00:01 579770     /lib/libc-2.7.so

b7698000-b769a000 r-xp 00145000 00:01 579770     /lib/libc-2.7.so

b769a000-b769b000 rwxp 00147000 00:01 579770     /lib/libc-2.7.so

b769b000-b769e000 rwxp 00000000 00:00 0

b769e000-b76db000 r-xp 00000000 00:01 582071     /usr/lib/libssl.so.0.9.8

b76db000-b76df000 rwxp 0003c000 00:01 582071     /usr/lib/libssl.so.0.9.8

b76df000-b76f3000 r-xp 00000000 00:01 579799     /lib/libnsl-2.7.so

b76f3000-b76f4000 r-xp 00013000 00:01 579799     /lib/libnsl-2.7.so

b76f4000-b76f5000 rwxp 00014000 00:01 579799     /lib/libnsl-2.7.so

b76f5000-b76f8000 rwxp 00000000 00:00 0

b76fb000-b76fc000 rwxp 00000000 00:00 0

b76fc000-b76fd000 r-xp 00000000 00:00 0          [vdso]

b76fd000-b7719000 r-xp 00000000 00:01 579755     /lib/ld-2.7.so

b7719000-b771a000 r-xp 0001b000 00:01 579755     /lib/ld-2.7.so

b771a000-b771b000 rwxp 0001c000 00:01 579755     /lib/ld-2.7.so

bf935000-bf938000 rwxp 00000000 00:00 0          [stack]

bf938000-bf93a000 rw-p 00000000 00:00 0

Aborted

 

My full conf file is like so:

 

[email protected]

mailhub=plus.smtp.mail.yahoo.com:587

[email protected]

hostname=localhost

UseSTARTTLS=NO

AuthUser=dynamis_dk

AuthPass=xxxxxxxx

FromLineOverride=YES

 

I guess you missed where I said to leave Re-Write domain blank.  If you do fill it in, it only gets the domain, not your full e-mail@domain

Well i tried it blank first and it didnt work so i thought i'd misunderstood :)

 

[email protected]

mailhub=plus.smtp.mail.yahoo.com:587

rewriteDomain=

hostname=localhost

UseSTARTTLS=NO

AuthUser=dynamis_dk

AuthPass=xxxxxxxx

FromLineOverride=YES

 

With my config like above, i get the MAIL FROM:<root@localhost> detail returned and same ssmpt error 553. Is the rest of the config about right?? I may post up if anyone else has had issues with using yahoo servers...

 

I'm starting to feel a bit of a noob lol, would you believe i actually work as an IT tech - just goes to show how windows based i've been :)

  • Author

Well i tried it blank first and it didnt work so i thought i'd misunderstood :)

 

[email protected]

mailhub=plus.smtp.mail.yahoo.com:587

rewriteDomain=

hostname=localhost

UseSTARTTLS=NO

AuthUser=dynamis_dk

AuthPass=xxxxxxxx

FromLineOverride=YES

 

With my config like above, i get the MAIL FROM:<root@localhost> detail returned and same ssmpt error 553. Is the rest of the config about right?? I may post up if anyone else has had issues with using yahoo servers...

 

I'm starting to feel a bit of a noob lol, would you believe i actually work as an IT tech - just goes to show how windows based i've been :)

The "sed" command I posted earlier would have removed the entire

rewriteDomain=

line

 

If you were using the package manager in unMENU, and the new .conf file it too would have removed the same line. (or, actually not added it) If you edited the configuration variables, and then pressed the button to re-install with the changed values.   

 

This is not really magic.  It is simply ssmtp doing what you've asked it to do.  The line is there only because it was in the sample I originally started with and because most of the mail providers seem to ignore it if it is not set.  I did not know any better, so I just left it blank.  That does not work for yahoo.  Delete the line from your config file.

 

Download the updated package through unMENU.  It will probably do the right thing if you leave the Re-Write Domain field blank.

 

Or...

 

If you insist on editing the file yourself, delete the entire line that says

rewriteDomain=

 

Joe L.

 

  • Author

Well i tried it blank first and it didnt work so i thought i'd misunderstood :)

 

[email protected]

mailhub=plus.smtp.mail.yahoo.com:587

rewriteDomain=

hostname=localhost

UseSTARTTLS=NO

AuthUser=dynamis_dk

AuthPass=xxxxxxxx

FromLineOverride=YES

 

With my config like above, i get the MAIL FROM:<root@localhost> detail returned and same ssmpt error 553. Is the rest of the config about right?? I may post up if anyone else has had issues with using yahoo servers...

 

I'm starting to feel a bit of a noob lol, would you believe i actually work as an IT tech - just goes to show how windows based i've been :)

 

You probably need:

 

[email protected]

mailhub=plus.smtp.mail.yahoo.com:587                (or possibly port 465)

hostname=localhost

UseSTARTTLS=YES

AuthUser=dynamis_dk

AuthPass=xxxxxxxx

FromLineOverride=YES

Based on settings like the last post, I get:

 

[<-] 220 smtp106.prem.mail.sp1.yahoo.com ESMTP

[->] EHLO localhost

[<-] 250 8BITMIME

[->] STARTTLS

[<-] 502 Command not implemented

ssmtp: Cannot open plus.smtp.mail.yahoo.com:587

 

and with 465 i just get the ssmtp: Cannot open plus.smtp.mail.yahoo.com:465 response might be that port isn't accepting.

 

This is after carrying out a update, modifying the settings on the packages page and installing. Then also tried to reboot the server and carry out the above but unfortunatly still the same.

 

To test, I registered a gmail account and entered there details - poof worked first time. So i think for notifications i'm gonna stick with gmail's smtp and just forward it to my yahoo address.

 

Thanks very much for the help Joe L.

  • Author

A new version of the unmenu_install program is now available.  It will attempt to migrate any configuration values in package.conf files when newer version of those same packages are released.

 

It is now the version set as the "featured download" on the google code page here:

http://code.google.com/p/unraid-unmenu/

 

There is no need to download it specifically, but you can if you prefer.  Un-zip ot to your /boot/unmenu folder.

(If you do download and un-zip it, you should not have to re-configure any updated packages downloaded in the next check for updates) 

 

Otherwise, if you do not download it specifically, it will download itself when you next check for updates using the button in unmenu, and it will be in effect for future updates from that point onward.

 

Joe L.

Hello all!

I have set up email notification but get "sender rejected by administrator"... what does this mean?

I have my own domain 'hdww.us' via 1and1.com.

I have run updates.

Thanks

  • Author

Hello all!

I have set up email notification but get "sender rejected by administrator"... what does this mean?

I have my own domain 'hdww.us' via 1and1.com.

I have run updates.

Thanks

It means you have not configured your mail options properly.

 

It does not believe you are who you are.

 

How did you set the options for ssmtp?

 

Joe L.

Forward "root" email to: [email protected]

E-Mail Server: smtp.1and1.com:587

Use TLS?(YES/NO):YES

Mail ID :[email protected]

Mail Password:xxxx

Mail Domain:localhost

From Line Override (YES/NO): YES

Re-Write Domain

 

When I run 'echo -e... root', the authentication is successful but sender rejected...

 

 

  • Author

Forward "root" email to: [email protected]

E-Mail Server: smtp.1and1.com:587

Use TLS?(YES/NO):YES

Mail ID :[email protected]

Mail Password:xxxx

Mail Domain:localhost

From Line Override (YES/NO): YES

Re-Write Domain

 

When I run 'echo -e... root', the authentication is successful but sender rejected...

You aske it to override the "from" line, but did not give it the re-write domain.  That might be why it is rejecting it.

 

Also... You might try MAIL ID: set to "xxx" instead of "[email protected]"  Many e-mail servers want only the email, not the full email@host.

 

The rejection could be because it knows you are not sending the mail from its server... and trying to spoof an alternative "From:" domain that would normally be from its server.

Forward "root" email to:  [email protected] 

E-Mail Server: smtp.1and1.com:587     

Use TLS?(YES/NO):YES     

Mail ID :[email protected]     

Mail Password:xxxx     

Mail Domain:hdww.us                            <<<<<<<<<<<changed from 'localhost' to 'hdww.us'

From Line Override (YES/NO):  YES 

Re-Write Domain

 

 

;D

Success with the above change...

A new version of the unmenu_install program is now available.  It will attempt to migrate any configuration values in package.conf files when newer version of those same packages are released.

 

It is now the version set as the "featured download" on the google code page here:

http://code.google.com/p/unraid-unmenu/

 

There is no need to download it specifically, but you can if you prefer.   Un-zip ot to your /boot/unmenu folder.

(If you do download and un-zip it, you should not have to re-configure any updated packages downloaded in the next check for updates) 

 

Otherwise, if you do not download it specifically, it will download itself when you next check for updates using the button in unmenu, and it will be in effect for future updates from that point onward.

 

Joe L.

stupid question, Joe.  Where is the check for updates button on unmenu?

I think it's under user scripts

  • Author

I think it's under user scripts

Correct.  If you do not have it, then you might be running an old version of unMENU before it was added.

 

What version of unMENU are you running?

 

If you have the unmenu_install program in place you can use it instead and do it from the command line.

(and it is all the check for updates button does anyway)

 

To check for updates:

unmenu_install -d /boot/unmenu -c

 

To perform the updates:

unmenu_install -d /boot/unmenu -u

 

If you do not have the unmenu_install program then you are definitely using a very old version of unMENU.

Download the unmenu_install program from here: http://code.google.com/p/unraid-unmenu/downloads/list

 

Unzip to the \\tower\flash\unmenu folder.

 

Then log in via telnet or on the system console and run the commands to check for and install the newest version of unMENU.

 

Then... the "Check for Updates" button will be on the user-scripts page.

 

Joe L.

Joe, I've tested that dynamic DNS script over and over again, and it appears to do its job.

 

The code I'm using:

dynamic-dns-unmenu-package.conf

 

PACKAGE_NAME Dynamic DNS - a cron based update script for dynamic DNS addresses
PACKAGE_DESCR 
PACKAGE_INSTALLED /usr/bin/dynamic_dns
PACKAGE_FILE dynamic-dns
PACKAGE_URL none
PACKAGE_DEPENDENCIES none
PACKAGE_VARIABLE Service("No-IP" or "DynDNS")|vSERVICE=DynDNS||Service name.
PACKAGE_VARIABLE Service Address:||vADDRESS=lime-technology.com||User's dynamic address.
PACKAGE_VARIABLE Service User:||vUSERNAME=unRAID||User's login.
PACKAGE_VARIABLE Service Password:||vPASSWORD=unRAID||User's password.
PACKAGE_VARIABLE Update interval(minutes)|vUPTIME=5||Update interval in minutes.
PACKAGE_INSTALLATION echo "USERNAME=\"$vUSERNAME\"">/usr/bin/dynamic_dns
PACKAGE_INSTALLATION echo "PASSWORD=\"$vPASSWORD\"">>/usr/bin/dynamic_dns
PACKAGE_INSTALLATION echo "HOSTNAME=\"$vADDRESS\"">>/usr/bin/dynamic_dns
PACKAGE_INSTALLATION echo "UPTIME=\"$vUPTIME\"">>/usr/bin/dynamic_dns
PACKAGE_INSTALLATION echo "SERVICE=\"$vSERVICE\"">>/usr/bin/dynamic_dns
PACKAGE_INSTALLATION cat >>/usr/bin/dynamic_dns << 'THE_END_OF_SCRIPT'
PACKAGE_INSTALLATION MLASTIP=$(ping -c 1 $HOSTNAME | grep PING | cut -d'(' -f2 | cut -d')' -f1)
PACKAGE_INSTALLATION MIP=$(wget -O - -q checkip.dyndns.org | cut -d' ' -f6 | cut -d'<' -f1)
PACKAGE_INSTALLATION MDYNDNS="https://$USERNAME:[email protected]/nic/update?hostname=$HOSTNAME\
PACKAGE_INSTALLATION M&myip=$IP&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG"
PACKAGE_INSTALLATION MNOIP="https://$USERNAME:[email protected]/nic/update?hostname=$HOSTNAME&myip=$IP"
PACKAGE_INSTALLATION M[ "$SERVICE" = "No-IP" ] && URL=$NOIP
PACKAGE_INSTALLATION M[ "$SERVICE" = "DynDNS" ] && URL=$DYNDNS
PACKAGE_INSTALLATION Mif [ "$IP" != "$LASTIP" ]; then
PACKAGE_INSTALLATION M	RESPONSE=$(wget -O - -q --no-check-certificate $URL | cut -d' ' -f1)
PACKAGE_INSTALLATION M	if [ $RESPONSE = "good" ]; then
PACKAGE_INSTALLATION M		MSG="External IP address changed. Address $HOSTNAME updated to $IP."
PACKAGE_INSTALLATION M		/usr/bin/logger $MSG
PACKAGE_INSTALLATION M	fi
PACKAGE_INSTALLATION Mfi
PACKAGE_INSTALLATION THE_END_OF_SCRIPT
PACKAGE_INSTALLATION sed -i "s/^M//" /usr/bin/dynamic_dns
PACKAGE_INSTALLATION chmod 755 /usr/bin/dynamic_dns
PACKAGE_INSTALLATION crontab -l | sed -e '/dynamic_dns/d' >/tmp/crontab
PACKAGE_INSTALLATION echo "# Run dynamic_dns each $vUPTIME minutes." >>/tmp/crontab
PACKAGE_INSTALLATION echo "*/$vUPTIME * * * * /usr/bin/dynamic_dns 1>/dev/null 2>&1" >>/tmp/crontab
PACKAGE_INSTALLATION crontab /tmp/crontab
PACKAGE_INSTALLATION cp /tmp/crontab /var/spool/cron/crontabs/root-
PACKAGE_INSTALLATION rm /tmp/crontab
PACKAGE_INSTALLATION echo "Version: 1.0" > /var/log/dynamic_dns
PACKAGE_VERSION_TEST grep "Version:" /var/log/dynamic_dns  | awk '{print $2}'
PACKAGE_VERSION_STRING 1.0
PACKAGE_MEMORY_USAGE small

 

I liked the way you've done the mail_status using "sed", so I steal it and applied in the script. If you don't mind, can you do the description of the package? My English is far from being proficient...

 

Thanks a lot for the help.

  • Author

Forward "root" email to:   [email protected]   

E-Mail Server: smtp.1and1.com:587     

Use TLS?(YES/NO):YES     

Mail ID :[email protected]     

Mail Password:xxxx     

Mail Domain:hdww.us                            <<<<<<<<<<<changed from 'localhost' to 'hdww.us'

From Line Override (YES/NO):   YES   

Re-Write Domain

 

 

;D

Success with the above change...

Great news... thanks for the feedback.
  • Author

Joe, I've tested that dynamic DNS script over and over again, and it appears to do its job.

 

The code I'm using:

dynamic-dns-unmenu-package.conf

 

PACKAGE_NAME Dynamic DNS - a cron based update script for dynamic DNS addresses
PACKAGE_DESCR 
PACKAGE_INSTALLED /usr/bin/dynamic_dns
PACKAGE_FILE dynamic-dns
PACKAGE_URL none
PACKAGE_DEPENDENCIES none
PACKAGE_VARIABLE Service("No-IP" or "DynDNS")|vSERVICE=DynDNS||Service name.
PACKAGE_VARIABLE Service Address:||vADDRESS=lime-technology.com||User's dynamic address.
PACKAGE_VARIABLE Service User:||vUSERNAME=unRAID||User's login.
PACKAGE_VARIABLE Service Password:||vPASSWORD=unRAID||User's password.
PACKAGE_VARIABLE Update interval(minutes)|vUPTIME=5||Update interval in minutes.
PACKAGE_INSTALLATION echo "USERNAME=\"$vUSERNAME\"">/usr/bin/dynamic_dns
PACKAGE_INSTALLATION echo "PASSWORD=\"$vPASSWORD\"">>/usr/bin/dynamic_dns
PACKAGE_INSTALLATION echo "HOSTNAME=\"$vADDRESS\"">>/usr/bin/dynamic_dns
PACKAGE_INSTALLATION echo "UPTIME=\"$vUPTIME\"">>/usr/bin/dynamic_dns
PACKAGE_INSTALLATION echo "SERVICE=\"$vSERVICE\"">>/usr/bin/dynamic_dns
PACKAGE_INSTALLATION cat >>/usr/bin/dynamic_dns << 'THE_END_OF_SCRIPT'
PACKAGE_INSTALLATION MLASTIP=$(ping -c 1 $HOSTNAME | grep PING | cut -d'(' -f2 | cut -d')' -f1)
PACKAGE_INSTALLATION MIP=$(wget -O - -q checkip.dyndns.org | cut -d' ' -f6 | cut -d'<' -f1)
PACKAGE_INSTALLATION MDYNDNS="https://$USERNAME:[email protected]/nic/update?hostname=$HOSTNAME\
PACKAGE_INSTALLATION M&myip=$IP&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG"
PACKAGE_INSTALLATION MNOIP="https://$USERNAME:[email protected]/nic/update?hostname=$HOSTNAME&myip=$IP"
PACKAGE_INSTALLATION M[ "$SERVICE" = "No-IP" ] && URL=$NOIP
PACKAGE_INSTALLATION M[ "$SERVICE" = "DynDNS" ] && URL=$DYNDNS
PACKAGE_INSTALLATION Mif [ "$IP" != "$LASTIP" ]; then
PACKAGE_INSTALLATION M	RESPONSE=$(wget -O - -q --no-check-certificate $URL | cut -d' ' -f1)
PACKAGE_INSTALLATION M	if [ $RESPONSE = "good" ]; then
PACKAGE_INSTALLATION M		MSG="External IP address changed. Address $HOSTNAME updated to $IP."
PACKAGE_INSTALLATION M		/usr/bin/logger $MSG
PACKAGE_INSTALLATION M	fi
PACKAGE_INSTALLATION Mfi
PACKAGE_INSTALLATION THE_END_OF_SCRIPT
PACKAGE_INSTALLATION sed -i "s/^M//" /usr/bin/dynamic_dns
PACKAGE_INSTALLATION chmod 755 /usr/bin/dynamic_dns
PACKAGE_INSTALLATION crontab -l | sed -e '/dynamic_dns/d' >/tmp/crontab
PACKAGE_INSTALLATION echo "# Run dynamic_dns each $vUPTIME minutes." >>/tmp/crontab
PACKAGE_INSTALLATION echo "*/$vUPTIME * * * * /usr/bin/dynamic_dns 1>/dev/null 2>&1" >>/tmp/crontab
PACKAGE_INSTALLATION crontab /tmp/crontab
PACKAGE_INSTALLATION cp /tmp/crontab /var/spool/cron/crontabs/root-
PACKAGE_INSTALLATION rm /tmp/crontab
PACKAGE_INSTALLATION echo "Version: 1.0" > /var/log/dynamic_dns
PACKAGE_VERSION_TEST grep "Version:" /var/log/dynamic_dns  | awk '{print $2}'
PACKAGE_VERSION_STRING 1.0
PACKAGE_MEMORY_USAGE small

 

I liked the way you've done the mail_status using "sed", so I steal it and applied in the script. If you don't mind, can you do the description of the package? My English is far from being proficient...

 

Thanks a lot for the help.

I have absolutely no idea of your native language, but your English is better than some of the kids today in the USA.  They can barely write anything, and their ability to put together a sentence, including all the vowels, is sadly lacking. (too much "texting")

 

I'll be happy to add the description.  Thank you for taking the time to put together a unMENU package to help with the configuration.  I know it will be of help to others.

 

Joe L.

I think it's under user scripts

Correct.  If you do not have it, then you might be running an old version of unMENU before it was added.

 

What version of unMENU are you running?

 

If you have the unmenu_install program in place you can use it instead and do it from the command line.

(and it is all the check for updates button does anyway)

 

To check for updates:

unmenu_install -d /boot/unmenu -c

 

To perform the updates:

unmenu_install -d /boot/unmenu -u

 

If you do not have the unmenu_install program then you are definitely using a very old version of unMENU.

Download the unmenu_install program from here: http://code.google.com/p/unraid-unmenu/downloads/list

 

Unzip to the \\tower\flash\unmenu folder.

 

Then log in via telnet or on the system console and run the commands to check for and install the newest version of unMENU.

 

Then... the "Check for Updates" button will be on the user-scripts page.

 

Joe L.

Thanks Joe.

 

this might need its own thread.........but for some reason whenever I try to run any commands on the tower console directly it never works. but if I telnet in and run the same command it works.

Not to be an ass, but did you login on the physical console using 'root' user before typing those commands? And do you see a root prompt that responds when you hit enter?

 

It should be absolutely no different then telnetting in.

 

  • Author

Not to be an ass, but did you login on the physical console using 'root' user before typing those commands? And do you see a root prompt that responds when you hit enter?

 

It should be absolutely no different then telnetting in.

 

I was thinking perhaps he had the CAPS LOCK KEY ON.  That would do it too.

 

Joe L.

Not to be an ass, but did you login on the physical console using 'root' user before typing those commands? And do you see a root prompt that responds when you hit enter?

 

It should be absolutely no different then telnetting in.

 

Yeah, I was using the root user on my monitor and keyboard that is attached to the tower and I did not have the cap lock on.  It would say "bash "something" unmenu_install not found.

but when I did it through the telnet window it worked.

  • Author

Not to be an ass, but did you login on the physical console using 'root' user before typing those commands? And do you see a root prompt that responds when you hit enter?

 

It should be absolutely no different then telnetting in.

 

Yeah, I was using the root user on my monitor and keyboard that is attached to the tower and I did not have the cap lock on.  It would say "bash "something" unmenu_install not found.

but when I did it through the telnet window it worked.

Then you might have forgotten to first

cd /boot/unmenu

The /boot folder is not in the default search path.   If you by chance put unmenu_install somewhere else, instead of /boot/unmenu  (or, more accurately not on the USB flash drive) you would need to set its execute bit first, since the bit is set for you on the flash drive, but not on other file system types.

chmod +x /mnt/disk1/unmenu_install

can anyone provide a link about how i can start unmenu automatically with every unraid server restart/boot?

 

 

edit: because my 2nd question was really dumb. ;)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.