I have USB logging enabled in Vera, and after a couple of hours i had a look at my LuaUPnP.log file. But that is still in /var/log/cmh. I thought that would be on the USB stick now ? I am using WinSCP to access mt Vera, but cannot see the USB on there. I think something must be written onto USB though, as when i enabled it it had 3% used, not it is 4%
And on Vera i have this error log:
Errors log:
2013-10-22_19:10:00 CHECKDISK: Starting to check device: /dev/sda1 with: /usr/sbin/e2fsck
2013-10-22_19:10:01 (/dev/sda1) : Successfully checked
But nothing new has been added to that since (2 hours ago), the error message came up after enabling USB logging
I’m not an expert on this but as I understand what linux does is to map or “mount” the USB drive into the directory structure i.e. /tmp/log/cmh now points to the usb drive (/dev/sda1).
Try typing mount at the linux prompt and you should see something like :
/dev/sda1 on /tmp/log/cmh type ext3 (rw,noatime,nodiratime,errors=continue,barrier=0,data=ordered)
[quote=“Jams, post:2, topic:177475”]I’m not an expert on this but as I understand what linux does is to map or “mount” the USB drive into the directory structure i.e. /tmp/log/cmh now points to the usb drive (/dev/sda1).
Try typing mount at the linux prompt and you should see something like :
/dev/sda1 on /tmp/log/cmh type ext3 (rw,noatime,nodiratime,errors=continue,barrier=0,data=ordered)[/quote]
You are right. Unlike Windows, unix/linux systems always mounts disks at mount points in the file system. A mount point is just a folder, and after a successful mount, the content of the disk appears to be the content of the said folder. A “disk” in this context can be any device that can hold a file system, e.g. a hard disk, a SSD dis, a USB stick etc.
http://www.linfo.org/mounting.html
Although i know my way round Windows i have no idea about linux. I manage to ssh into my Vera or iphones / appletv’s but thats as far as it goes… So will try to find the directory later. How to get to a linux prompt - no idea…
With SSH you run in a couple of different modes:
SSH without any other options should typically open a shell (something that gives you a command prompt)
The following basic commands will get you started:
The cd command will change the directory. In this example it will take you to the directory with the logs.
cd /tmp/log/cmh
The ls command (short for list) will list the files in the specified directory. If no directory is given … it uses the current directory. The following provides a detailed directory ordered by modification date ascending.
ls -altr
The cat command (or more command) will list the contents of the specified file. To list the Vera Log file:
cat /tmp/log/cmh/LuaUPnp.log
or if you are already in the directory:
cat LuaUPnP.log
Note the shell will do file name expansion … so if you type
cat Lua then the TAB key … it will select the rest of the file … since it is unique.
That reminds me very much of the good old dos… so doesnt sound too complicated. I am using i thin its called wsc or something like that to ssh into my vera, not sure as its on the PC at home
A related product scp uses SSH to copy files to/from a machine using ssh protocol.
WSC on windows stands for Window Script Components … this is not SSH … but you could have some other product with the same name/acronym.
The program i am using is WinSCP
That is a packaged version of scp and is only used for file transfers.
I believe Putty (Search ssh and putty) is a free ssh client for Windows.
Yes i have putty i use that to ssh into my iphone. Thanks, i’ll give it a try.