Re: [PLUG] Hard Drives - WD Red Pro?

2017-11-14 Thread Keith Lofstrom
On Tue, Nov 14, 2017 at 05:11:41PM -0800, Bill Barry wrote: > I would comment that the angst about buying from local merchants is > unnecessary. If you feel bad about buying from Amazon or Newegg or buying In the past, buying locally meant buying from someone I know, trust, and can talk to and get

Re: [PLUG] Hard Drives - WD Red Pro?

2017-11-14 Thread Daniel Bolduc
While there are brand-centric trends in general, I think what really comes out of these reports is that there specific models with very high failure rates. Mostly these are seagate drives yes, but other seagate models don't necessarily have issues. On Tue, Nov 14, 2017 at 8:27 PM, Nathan O'Brenna

Re: [PLUG] Hard Drives - WD Red Pro?

2017-11-14 Thread Daniel Bolduc
Whenever possible I always check Backblaze's reports on hard drive reliability before purchasing one. Not all models are included, only the ones they use as a company, but so far as I know it is the only large scale reporting of drive reliability that exists. https://www.backblaze.com/blog/hard-dr

Re: [PLUG] Hard Drives - WD Red Pro?

2017-11-14 Thread Bill Barry
On Tue, Nov 14, 2017 at 4:21 PM, Keith Lofstrom wrote: > I'm looking for big hard drives for disk-to-disk backup. > I want reliability; speed and access time less important. > 5400 RPM is probably more reliable than 7200 RPM. > > I used to buy large hard drives from local merchants; > with Enu an

Re: [PLUG] Hard Drives - WD Red Pro?

2017-11-14 Thread Russell Senior
Fwiw, I have purchased several 4TB WD Gold drives recently. I like pretty colors. On Tue, Nov 14, 2017 at 4:49 PM, John Jason Jordan wrote: > On Tue, 14 Nov 2017 16:21:04 -0800 > Keith Lofstrom dijo: > >>I am leaning towards Western Digital Red Pro 8TB with >>the 5 year warranty. > > I recently

Re: [PLUG] Hard Drives - WD Red Pro?

2017-11-14 Thread John Jason Jordan
On Tue, 14 Nov 2017 16:21:04 -0800 Keith Lofstrom dijo: >I am leaning towards Western Digital Red Pro 8TB with >the 5 year warranty. I recently went through the same shopping experience with more or less the same needs as you, and the WD Red Pro 8TB is what I ended up with. I have had them les

[PLUG] Hard Drives - WD Red Pro?

2017-11-14 Thread Keith Lofstrom
I'm looking for big hard drives for disk-to-disk backup. I want reliability; speed and access time less important. 5400 RPM is probably more reliable than 7200 RPM. I used to buy large hard drives from local merchants; with Enu and Pacific Micro gone, I know of no good local options. Iguana has

Re: [PLUG] Closing sockets using atexit C code.

2017-11-14 Thread John Meissen
larry.brig...@gmail.com said: > TCP Connections will linger in the kernel for about 15 minutes after the > application closes them. Those can be seen from netstat or ss as TIME_WAIT. > A user/process has limits on file descriptors. A non-root user by default is > only allowed 1024. Actually,

Re: [PLUG] Setting laptop network for new router configuration

2017-11-14 Thread Rich Shepard
On Tue, 14 Nov 2017, wes wrote: If DHCP is enabled on the router, and some new device connects to your local network, and also has DHCP enabled, the router will assign the next IP address in its sequence to the device. If anything else on the local network already has that address set statically

Re: [PLUG] Closing sockets using atexit C code.

2017-11-14 Thread Larry Brigman
TCP Connections will linger in the kernel for about 15 minutes after the application closes them. Those can be seen from netstat or ss as TIME_WAIT. A user/process has limits on file descriptors. A non-root user by default is only allowed 1024. On Nov 14, 2017 1:33 PM, "michael" wrote: > Than

Re: [PLUG] Setting laptop network for new router configuration

2017-11-14 Thread wes
On Tue, Nov 14, 2017 at 1:49 PM, Rich Shepard wrote: > On Tue, 14 Nov 2017, Rich Shepard wrote: > > Stay tuned. Update Real Soon Now. >> > > Wes, > > Thanks for the lesson. Connecting to a LAN port and temporarily setting > the laptop eth0 to use DHCP made the difference. This is on a Linksys

Re: [PLUG] Setting laptop network for new router configuration

2017-11-14 Thread Rich Shepard
On Tue, 14 Nov 2017, Rich Shepard wrote: Stay tuned. Update Real Soon Now. Wes, Thanks for the lesson. Connecting to a LAN port and temporarily setting the laptop eth0 to use DHCP made the difference. This is on a Linksys wrt54g v.2 router. I also upgraded the firmware to 4.21.5. On the

Re: [PLUG] Closing sockets using atexit C code.

2017-11-14 Thread michael
Thank you. Another question, how can I tell if the program opening sockets is crashing enough times to cause problems for other processes? My hypothesis is that this program opens 3 sockets and crashes, sockets linger for a while. Do this n times, the Pi starts to have problems. If the Pi is res

Re: [PLUG] Setting laptop network for new router configuration

2017-11-14 Thread Rich Shepard
On Tue, 14 Nov 2017, wes wrote: Should be in a LAN port, plugging your laptop into the WAN port will not do you any good. Wes, I wondered about this. I think your initial assumption that some other setting must be off is erroneous. But I can't offer much more without knowing more about th

Re: [PLUG] Setting laptop network for new router configuration

2017-11-14 Thread wes
On Tue, Nov 14, 2017 at 10:54 AM, Rich Shepard wrote: > On Tue, 14 Nov 2017, Jim Garrison wrote: > > c) It should come with DHCP enabled and should assign the laptop >> a valid address when you plug in the ethernet cable, if you let it >> > > Jim, > > Changed the laptop's eth0 to use DHCP and

Re: [PLUG] Setting laptop network for new router configuration

2017-11-14 Thread Rich Shepard
On Tue, 14 Nov 2017, Jim Garrison wrote: c) It should come with DHCP enabled and should assign the laptop a valid address when you plug in the ethernet cable, if you let it Jim, Changed the laptop's eth0 to use DHCP and it's connected to the router's WAN port. Rebooted laptop. No ipv4 add

Re: [PLUG] Closing sockets using atexit C code.

2017-11-14 Thread John Meissen
Sockets are just file descriptors. All file descriptors should be closed automatically as part of the process termination cleanup that the system does. While it's good practice to handle these sorts of things they will happen automatically if you don't. > In C there is an atexit function that

[PLUG] Closing sockets using atexit C code.

2017-11-14 Thread michael
In C there is an atexit function that takes no arguments. Because of this, you can't pass in the file descriptors for your sockets. Uge! Short of making these integers global, how can I close these sockets on premature program termination? int client=0,server=0; void exiting() { close(c

Re: [PLUG] Setting laptop network for new router configuration

2017-11-14 Thread Rich Shepard
On Tue, 14 Nov 2017, Jim Garrison wrote: a) It's not necessarily the 192.168.1.0/24 subnet. Sometimes it's 192.168.0.0/24, you have to check the documentation that came with the router, or look on the manufacturer's website. b) The router address isn't necessarily .1, it could be .254 c) I

Re: [PLUG] Setting laptop network for new router configuration

2017-11-14 Thread Jim Garrison
a) It's not necessarily the 192.168.1.0/24 subnet. Sometimes it's 192.168.0.0/24, you have to check the documentation that came with the router, or look on the manufacturer's website. b) The router address isn't necessarily .1, it could be .254 c) It should come with DHCP enabled and should

[PLUG] Setting laptop network for new router configuration

2017-11-14 Thread Rich Shepard
My limited experience suggests that all routers are delivered with the IP address of 192.168.1.1. To configure the router a portable (usually) host needs to be converted from its LAN to the 192.168.1.0/24 subnet. I want to learn what needs to be checked and altered as necessary when changing the