[Cialug] Need help automating log capture/reboot
Justin Richeson
neomatrixjr at gmail.com
Mon Oct 9 22:22:23 UTC 2017
Ok, sorry...logs are not of the /var/log variety apparently...I need to
look at that further.
On Mon, Oct 9, 2017 at 5:19 PM, Justin Richeson <neomatrixjr at gmail.com>
wrote:
> I just installed iwconfig/wireless-tools and it shows that power
> management is off. I don't believe logs are preserved/rotated unless I'm
> missing something. I'm running OSMC for the distrobution on the SD.
>
> On Mon, Oct 9, 2017 at 5:12 PM, David Champion <dchamp1337 at gmail.com>
> wrote:
>
>> Check the power saving mode in the driver? They have some other pointers
>> too in this thread.
>>
>> https://raspberrypi.stackexchange.com/questions/15142/wifi-
>> drops-on-raspberry-pi
>>
>> -dc
>>
>>
>> On Mon, Oct 9, 2017 at 4:51 PM, Adam Hill <adam at diginc.us> wrote:
>>
>> > > copy all logs to a backup/snapshot
>> >
>> > are the logs not preserved / rotated across reboots?
>> >
>> > On Mon, Oct 9, 2017 at 4:01 PM Justin Richeson <neomatrixjr at gmail.com>
>> > wrote:
>> >
>> > > The power supply is supposed to be 5v @ 4A....but unfortunately I
>> don't
>> > > have a good way to test that for sure. I need to build some
>> > multi-adapter
>> > > cables for my in-line power analyzer. Barrel plugs are always a pain
>> > > though since there's so many....
>> > >
>> > > On Mon, Oct 9, 2017 at 3:21 PM, Dave Hala <dave at 58ghz.net> wrote:
>> > >
>> > > > I've ran into this few times over last couple of years, where the
>> USB
>> > hub
>> > > > does not have a large enough power supply when loaded up devices.
>> > > >
>> > > > :) Dave
>> > > >
>> > > > On Mon, Oct 9, 2017 at 3:17 PM, Justin Richeson <
>> neomatrixjr at gmail.com
>> > >
>> > > > wrote:
>> > > >
>> > > > > So, I've got a bit of an odd power/hub setup, but it seems to work
>> > fine
>> > > > for
>> > > > > everything else...
>> > > > > I've got a powered hub...and the raspberry pi is plugged into that
>> > hub
>> > > > as a
>> > > > > device and is being powered by the hub....on one of it's higher
>> power
>> > > > > "charge" ports.
>> > > > > And then the hub is plugged in as a device of the pi so I can use
>> the
>> > > USB
>> > > > > hub...as a hub.
>> > > > > If memory serves then, into the hub I have my wifi stick, a USB
>> > stick,
>> > > a
>> > > > > USB-->Serial adapter for an X10 firecracker, and the pi. I'll
>> put a
>> > > USB
>> > > > > power analyzer on it again when I get home, but if memory serves
>> it's
>> > > had
>> > > > > no power issues...and the pi never shows the power fault icon with
>> > this
>> > > > > setup.
>> > > > >
>> > > > > This is the hub:
>> > > > > http://a.co/aZsGba1
>> > > > >
>> > > > > *NOTE* I just noticed...looking at the hub's description, that the
>> > > > "charge"
>> > > > > ports on the hub are just that...CHARGE ports. In no way is the
>> > > > raspberry
>> > > > > pi a device unto itself via the hub. It's 7+2. 7 HUB ports + 2
>> > Charge
>> > > > > ports.
>> > > > >
>> > > > > On Mon, Oct 9, 2017 at 1:44 PM, L. V. Lammert <lvl at omnitec.net>
>> > wrote:
>> > > > >
>> > > > > > On Mon, 9 Oct 2017, David Champion wrote:
>> > > > > >
>> > > > > > > My first guess with the WiFi adapter is it's a power issue. Is
>> > the
>> > > > usb
>> > > > > > > hubpowered or passive?
>> > > > > > >
>> > > > > > Probably plugged in directly, .. some other suggestion:
>> > > > > >
>> > > > > > * A simple ping script would allow taking action (and recording
>> > to a
>> > > > > > separate log file) - suggest ifdn/ifup the USB interface as a
>> > > first
>> > > > > > test.
>> > > > > >
>> > > > > > * Swap the PS with a new 2A unit anyway. You can get them for a
>> > few
>> > > > > bucks
>> > > > > > from China, or there are a number of US sources.
>> > > > > >
>> > > > > > * Check the temp of the case and be sure you have decent
>> > ventilation
>> > > > > > around the unit - some cases might need a small fan for 24/7
>> > > > > operation.
>> > > > > >
>> > > > > > Let us know what you find, ..
>> > > > > >
>> > > > > > Lee
>> > > > > > _______________________________________________
>> > > > > > Cialug mailing list
>> > > > > > Cialug at cialug.org
>> > > > > > http://cialug.org/mailman/listinfo/cialug
>> > > > > >
>> > > > > _______________________________________________
>> > > > > Cialug mailing list
>> > > > > Cialug at cialug.org
>> > > > > http://cialug.org/mailman/listinfo/cialug
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > NIFCAP -The Premier Client Intake System for Non-Profit
>> Organizations.
>> > > > _______________________________________________
>> > > > Cialug mailing list
>> > > > Cialug at cialug.org
>> > > > http://cialug.org/mailman/listinfo/cialug
>> > > >
>> > > _______________________________________________
>> > > Cialug mailing list
>> > > Cialug at cialug.org
>> > > http://cialug.org/mailman/listinfo/cialug
>> > >
>> > _______________________________________________
>> > Cialug mailing list
>> > Cialug at cialug.org
>> > http://cialug.org/mailman/listinfo/cialug
>> >
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
>>
>
>
More information about the Cialug
mailing list