Jump to content

Biggy2872

Members
  • Content Count

    258
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Biggy2872

  • Rank
    Advanced Member

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you very much ashman70. It was indeed another device on the network. A TP-Link wireless repeater. Weird, it has never caused an issue before.
  2. Hello all, Long time user, but I believe this is my first request for help... It's also been a while since I have posted. I have been fighting this issue for a few days now and cannot for the life of me find a solution. Searching google and the forum have yielded no results. The story: Unraid 6.1.6 I had a data disk show up as red the other day. I bought a new hard drive and replaced the disk (physically inside the computer). I booted up the computer back up and now my eth0 interface won't get a good ip address via dhcp. My syslog shows it getting a good ip(192.168.1.3) from my router(192.168.1.1) but then drops it in favour of a non-valid ip address(for my network, from 192.168.0.254 which does not exist on my network). I have tried rebooting my router, using different ports on the router as well as multiple cables. I even purchased a new pci Ethernet card with the same result. The last reboot, a few weeks ago, was without any issue. Syslog attached. these lines stand out to me: Apr 21 17:47:27 server dhcpcd[1417]: eth0: sending DISCOVER (xid 0xaa5107c2), next in 4.0 seconds Apr 21 17:47:27 server dhcpcd[1417]: eth0: offered 192.168.1.3 from 192.168.1.1 Apr 21 17:47:27 server dhcpcd[1417]: eth0: sending REQUEST (xid 0xaa5107c2), next in 3.2 seconds Apr 21 17:47:27 server dhcpcd[1417]: eth0: acknowledged 192.168.1.3 from 192.168.1.1 Apr 21 17:47:27 server dhcpcd[1417]: eth0: probing for 192.168.1.3 Apr 21 17:47:27 server dhcpcd[1417]: eth0: ARP probing 192.168.1.3 (1 of 3), next in 1.7 seconds Apr 21 17:47:29 server dhcpcd[1417]: eth0: ARP probing 192.168.1.3 (2 of 3), next in 1.8 seconds Apr 21 17:47:29 server dhcpcd[1417]: eth0: ignoring offer of 192.168.0.103 from 192.168.0.254 Apr 21 17:47:29 server dhcpcd[1417]: eth0: ignoring offer of 192.168.0.103 from 192.168.0.254 Apr 21 17:47:29 server dhcpcd[1417]: eth0: NAK: from 192.168.0.254 Apr 21 17:47:29 server dhcpcd[1417]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' NAK Apr 21 17:47:29 server dhcpcd[1417]: eth0: soliciting a DHCP lease Apr 21 17:47:29 server dhcpcd[1417]: eth0: sending DISCOVER (xid 0xcebf097), next in 3.2 seconds Apr 21 17:47:29 server dhcpcd[1417]: eth0: offered 192.168.0.103 from 192.168.0.254 Apr 21 17:47:29 server dhcpcd[1417]: eth0: sending REQUEST (xid 0xcebf097), next in 3.9 seconds Apr 21 17:47:29 server dhcpcd[1417]: eth0: ignoring offer of 192.168.0.103 from 192.168.0.254 Apr 21 17:47:29 server dhcpcd[1417]: eth0: acknowledged 192.168.0.103 from 192.168.0.254 Apr 21 17:47:29 server dhcpcd[1417]: eth0: probing for 192.168.0.103 Apr 21 17:47:29 server dhcpcd[1417]: eth0: ARP probing 192.168.0.103 (1 of 3), next in 1.7 seconds Apr 21 17:47:29 server dhcpcd[1417]: eth0: ignoring offer of 192.168.1.3 from 192.168.1.1 Apr 21 17:47:31 server dhcpcd[1417]: eth0: ARP probing 192.168.0.103 (2 of 3), next in 1.1 seconds Apr 21 17:47:31 server dhcpcd[1417]: eth0: ARP probing 192.168.1.3 (3 of 3), next in 2.0 seconds Apr 21 17:47:32 server dhcpcd[1417]: eth0: ARP probing 192.168.0.103 (3 of 3), next in 2.0 seconds Apr 21 17:47:33 server dhcpcd[1417]: eth0: leased 192.168.0.103 for 60 seconds Apr 21 17:47:33 server dhcpcd[1417]: eth0: renew in 30 seconds, rebind in 52 seconds Apr 21 17:47:33 server dhcpcd[1417]: eth0: writing lease `/var/lib/dhcpcd/dhcpcd-eth0.lease' Apr 21 17:47:33 server dhcpcd[1417]: eth0: adding IP address 192.168.0.103/24 Apr 21 17:47:33 server dhcpcd[1417]: eth0: adding route to 192.168.0.0/24 Apr 21 17:47:33 server dhcpcd[1417]: eth0: adding default route via 192.168.0.254 Apr 21 17:47:33 server dhcpcd[1417]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' BOUND Apr 21 17:47:33 server dhcpcd[1417]: forking to background Apr 21 17:47:33 server dhcpcd[1464]: eth0: ARP announcing 192.168.1.3 (1 of 2), next in 2.0 seconds Apr 21 17:47:33 server dhcpcd[1417]: forked to background, child pid 1464 Can someone please provide some assistance in helping me resolve this issue? Thank you in advance. syslog20160421.txt
  3. I want to report a small bug and fix... Currently the way the package manager is coded and the included (?!?) v1.2 rc.local_startup package file are written, it produces an unexpected error... There is no file to download and therfore no md5 to check. When you load up the package manager on a system without the rc.d TPBA structure, the following error is reported "(MD5 of existing downloaded file NOT matched - download may be corrupted.)" and the button to install the package instead asks if I want to re-download the file. This is despite the fact that there is no file to download and there is no md5 specified in the config file AND the package manager recognizes the fact that it does not need to download a file (message beside the package name says "Package not yet installed (no download needed)"). I devised one possible solution. 990-unmenu-wget.awk Starts at line 334 # package is not installed yet, but is downloaded if ( package_url[i] == "none" ) { theHTML = theHTML "<td><font color=\"purple\">Package not yet installed (no download needed)</font></td>" nomd5 = "true" } else { theHTML = theHTML "<td><font color=\"purple\">Package downloaded, but not yet installed</font></td>" } if ( nomd5 == "true" || VerifyMD5( PACKAGE_DIRECTORY "/" package_file[i], package_md5[i] ) == "OK" ) { theHTML = theHTML "<td><input type=submit name=\"manual_install-" package_file[i] "\" value=\"Install " package_file[i] "\"</td>" nomd5 = "" } else { theHTML = theHTML "<td><b><font color=\"red\"> (MD5 of existing downloaded file NOT matched - download may be corrupted.)</b></font>" theHTML = theHTML "<input type=submit name=\"download-" package_file[i] "\" value=\"Re-Download " package_file[i] "\"</td>" } I added line 337: nomd5 = "true" and added the condition to line 341(previously 340): if ( nomd5 == "true" || VerifyMD5( PACKAGE_DIRECTORY ... and finally I added line 343: nomd5 = "" There are other ways to fix this problem and Joe L. will probably come up with a better one. But this will work in the interim. Cheers, Matt
  4. If I'm not mistaken you could probably do one or the other or both... A)You can have the "spare" drive as a cache drive B)You can not set it as a cache drive on the devices page on the main web gui. This would leave the drive unassigned on the array and available for any use you see fit. C)Format it with reiserfs on the first physical partition of the drisk and format the rest in the same/different filesystem. Use the first partition as a cache drive and use the second partition as a drive for Qnap 509 Pro Cheers, Matt
  5. 4.5 Final Torrent http://linuxtracker.org/index.php?page=torrent-details&id=b1a968ee3226f902cb1f8d4b2b4fd5e43aa7e26f Cheers, Matt
  6. I have a question regarding the new mdcmd spinup <slot> command. When executed, will this command re-start the spindown timer? The reason I ask is that I am trying to edit a modified version of Joe L.'s spin_drives.sh script for keeping drives spun up while certain ips are present on the network. I have it set to send the command every 10 minutes while the ips are online. I just want to make sure that the command will reset the spindown timer otherwise there is the potential for a drive to be spun down for up to 10 minutes before it is spun back up again, which will very likely cause problems for one or two of my media players. Cheers, Matt
  7. B13 Torrent http://linuxtracker.org/index.php?page=torrent-details&id=4888a689e0bb69013eb7edc641aa4715f6d268fe Cheers, Matt
  8. Thanks, tried this morning and linuxtracker.org would not load the uploading page. will keep beta11 torrent up while it is still available from limetech website download page. Cheers, Matt
  9. BETA 10 Torrent deleted from linuxtracker... here's beta 11 torrent: http://linuxtracker.org/index.php?page=torrent-details&id=372dfcd849e19024605dcd434917948471f89e97 Cheers, Matt
  10. Beta 9 torrent is still being offered and seeded at linuxtracker.org. Please go into My Panel, scroll to the bottom and delete beta9. If it's not on the download page, it's probably best not to offer it to anyone else in the torrent community. OOPS.... Pressed delete to get rid of it, but didn't confirm on the second screen. Mistake fixed! Cheers, Matt EDIT: The IE window with the confirmation screen has been open for the last 7hrs (approx) just waiting for me to kill it.
  11. It should work, but if you don't like that solution or run into problems, you can use the following: Here is the modified package .conf for unmenu. Just copy into your package folder and go into the unmenu package manager and disable, then re-enable the package for AUTO install. or add the following line to your apcupsd-unmenu-package.conf.auto_install (in your package folder as well) sed -i -e "s:^\(TIMEOUT \)0:\1180:" /etc/apcupsd/apcupsd.conf just BEFORE the line /sbin/apcupsd. Your apcupsd-unmenu-package.conf.auto_install file would look like this: installpkg apcupsd-3.14.3-i486-1kjz.tgz sed -i -e "s/^DEVICE \/dev\/ttyS0/#DEVICE \/dev\/ttyS0/" /etc/apcupsd/apcupsd.conf sed -i -e "s/WALL=wall/WALL=\"mail -s 'unRAID_Server_UPS_Alert'\"/" /etc/apcupsd/apccontrol sed -i -e "s:^\(TIMEOUT \)0:\1180:" /etc/apcupsd/apcupsd.conf /sbin/apcupsd #Now, put into place the shutdown script replacement echo "/sbin/powerdown" >/etc/apcupsd/doshutdown echo "exit 99" >>/etc/apcupsd/doshutdown chmod 755 /etc/apcupsd/doshutdown sed -i -e "s/\/sbin\/poweroff/\/etc\/apcupsd\/apccontrol killpower; \/sbin\/poweroff/" /etc/rc.d/rc.6 (EDIT: AS ALWAYS USE A UNIX FRIENDLY TEXT EDITOR) NEW apcupsd-unmenu-package.conf PACKAGE_NAME apcupsd - A daemon for controlling APC UPS devices PACKAGE_DESCR Apcupsd can be used for power management and controlling most PACKAGE_DESCR of APC's UPS models on Unix and Windows machines. <br>Apcupsd works with most of APC's PACKAGE_DESCR Smart-UPS models as well as most simple signalling models such as Back-UPS and BackUPS-Office. #PACKAGE_URL http://www.linuxpackages.net/redirect.php?id=12025&url=http://www.linuxpackages.net/download.php?id=12025 PACKAGE_URL http://linuxpackages.cs.utah.edu//Slackware-12.0/ken/apcupsd-3.14.3-i486-1kjz.tgz PACKAGE_FILE apcupsd-3.14.3-i486-1kjz.tgz PACKAGE_INSTALLED /sbin/apcaccess PACKAGE_DEPENDENCIES /usr/bin/mail, /sbin/powerdown PACKAGE_MD5 98ef68509ed27848f3a8782784d42c42 PACKAGE_INSTALLATION installpkg apcupsd-3.14.3-i486-1kjz.tgz PACKAGE_INSTALLATION sed -i -e "s/^DEVICE \/dev\/ttyS0/#DEVICE \/dev\/ttyS0/" /etc/apcupsd/apcupsd.conf PACKAGE_INSTALLATION sed -i -e "s/WALL=wall/WALL=\"mail -s 'unRAID_Server_UPS_Alert'\"/" /etc/apcupsd/apccontrol PACKAGE_INSTALLATION sed -i -e "s:^\(TIMEOUT \)0:\1180:" /etc/apcupsd/apcupsd.conf PACKAGE_INSTALLATION /sbin/apcupsd PACKAGE_INSTALLATION #Now, put into place the shutdown script replacement PACKAGE_INSTALLATION echo "/sbin/powerdown" >/etc/apcupsd/doshutdown PACKAGE_INSTALLATION echo "exit 99" >>/etc/apcupsd/doshutdown PACKAGE_INSTALLATION chmod 755 /etc/apcupsd/doshutdown PACKAGE_INSTALLATION sed -i -e "s/\/sbin\/poweroff/\/etc\/apcupsd\/apccontrol killpower; \/sbin\/poweroff/" /etc/rc.d/rc.6 PACKAGE_VERSION_TEST /sbin/apcaccess status 2>&1 | grep RELEASE | awk '{print $3}' PACKAGE_VERSION_STRING 3.14.3 PACKAGE_MEMORY_USAGE Light (10K to 500K)
  12. Yes, you need to tell it to use the "new" (as in settings, not location of the file) config file. You do this with the -f argument. apcupsd -f /etc/apcupsd/apcupsd.conf To make these changes permanent(i'm going to assume you use the unmenu package manager to install it), you will need to edit the apcupsd-package-unmenu.conf in your package directory and add/modify some sed lines to make the changes for you on boot. If you give me an idea of the changes you made, possibly include the "new" version of your config file and we can get you set up with your new commands. Cheers, Matt
  13. As you suggested you need to edit the PACKAGE_URL line. There is also a line in the config to specify the filename once it is downloaded. You would need to hake sure the new filename is reflected there (PACKAGE_FILE) as well as any references to the file in the PACKAGE_INSTALLATION lines. Cheers, Matt
  14. Beta 11 Torrent... Deleted Beta 9 & 10 Torrents from previous post http://linuxtracker.org/index.php?page=torrent-details&id=372dfcd849e19024605dcd434917948471f89e97 Cheers, Matt
  15. EDIT NEW Beta 11 Torrent http://linuxtracker.org/index.php?page=torrent-details&id=372dfcd849e19024605dcd434917948471f89e97 (sorry weebo, i'm bored, needed something to do) Cheers, Matt