Go to advanced search

by thagrol
Thu Jul 07, 2016 3:22 pm
Forum: Troubleshooting
Topic: Mounted USB share but cannot write to it
Replies: 14
Views: 4422

Re: Mounted USB share but cannot write to it

Something is not right there. With "-o umask=0000" the output from mount|grep... should have been something like this: /dev/sdd1 on /mnt type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro) You're showing the same output after...
by thagrol
Thu Jul 07, 2016 12:10 pm
Forum: Troubleshooting
Topic: Mounted USB share but cannot write to it
Replies: 14
Views: 4422

Re: Mounted USB share but cannot write to it

However once I mount the USB using sudo mount -o uid=pi /dev/sda1 /home/mediaplayer/USB followed by ls -l its back to the following drwxr-xr-x 6 root root 4096 Jan 1 1970 USB Change your mount command to sudo mount -o umask=0000 /dev/sda1 /home/mediaplayer/USB See my first post above for the explan...
by thagrol
Thu Jul 07, 2016 11:34 am
Forum: Troubleshooting
Topic: Mounted USB share but cannot write to it
Replies: 14
Views: 4422

Re: Mounted USB share but cannot write to it

Yes, you need to mount with sudo. Normal users aren't usually permitted to mount drives. Couple more thing to try: Unmount the drive and sudo chmod a+w /home/mediaplayer/USB then remount the drive If you haven't already add "read only = No" to the share definition in your smb.conf If those don't hel...
by thagrol
Wed Jul 06, 2016 6:49 pm
Forum: Troubleshooting
Topic: Mounted USB share but cannot write to it
Replies: 14
Views: 4422

Re: Mounted USB share but cannot write to it

Oh, and "chown" won't work on any FAT filesystem (not just FAT32) as they don't support file ownership.
by thagrol
Wed Jul 06, 2016 6:47 pm
Forum: Troubleshooting
Topic: Mounted USB share but cannot write to it
Replies: 14
Views: 4422

Re: Mounted USB share but cannot write to it

rpdom wrote: mount -o uid=pi /dev/sda1 /home/mediaplayer/USB
This sets the owner of the mount, files and directories not permissions. Doing so may or may not affect access over samba depending on a number of factors including who you login to the share as.
by thagrol
Wed Jul 06, 2016 6:45 pm
Forum: Troubleshooting
Topic: Mounted USB share but cannot write to it
Replies: 14
Views: 4422

Re: Mounted USB share but cannot write to it

Add "umask=0000" (without quotes) to your mount options and remount your USB drive. As said above FAT32 doesn't support linux file permissions but this fakes read, write and execute permissions for all users.
by thagrol
Wed Jul 06, 2016 5:54 pm
Forum: Raspbian
Topic: Samba - File size limit exceeded
Replies: 5
Views: 5147

Re: Samba - File size limit exceeded

That suggests the issue is windows related. Have you tried using "Map network drive" to assign the share a drive letter on windows? While I can't duplicate your setup, with Windows 10 Home 64bit I can transfer large files to and from a share on my NAS running debian wheezy 64bit and samba 3.6.6 with...
by thagrol
Tue Jul 05, 2016 9:28 pm
Forum: Raspbian
Topic: Samba - File size limit exceeded
Replies: 5
Views: 5147

Re: Samba - File size limit exceeded

I don't see anything obvious in your smb.conf. Some things that might be worth investigating: Is the actually enough space on the HDD? (It's probably not this but check anyway) Has the mount succeded? Is there anything relevant in samba's log file? Have any file size limits been set on the server? W...
by thagrol
Tue Jun 14, 2016 1:34 pm
Forum: Other projects
Topic: PC Power Control
Replies: 0
Views: 327

PC Power Control

I've seen "can my pi control power for my PC?" asked several time on these forums (in one form or another) so I though I'd share my solution. It provides control of power on, power off, and reset via a web interface and via wake on lan magic packets with no destructive hardware mods and no addition ...
by thagrol
Thu May 26, 2016 1:37 pm
Forum: Automation, sensing and robotics
Topic: Pi Zero as a Camera Remote
Replies: 15
Views: 4732

Re: Pi Zero as a Camera Remote

If you don't mind risking your camera (don't blame me if this breaks it), with the camera switched on connect a volt meter between each function pin and ground (one pin at a time). With scale set appropriately on the meter this should show what voltage is present. If it's negative switch the meter c...
by thagrol
Tue May 17, 2016 1:03 am
Forum: Raspbian
Topic: Anonymous Samba share on Raspberry Pi3 and Samba 4.2
Replies: 11
Views: 7447

Re: Anonymous Samba share on Raspberry Pi3 and Samba 4.2

Your permissions, mount options and output from smbclient all look good. I'm afraid I know almost nothing about Macs and OS X, except that it's based on some unix like OS. That said, it's probably worth checking what credentials the GUI is trying to use. Changing the workgroup in smb.conf shouldn't ...
by thagrol
Fri May 13, 2016 5:32 pm
Forum: Troubleshooting
Topic: How to automount a shared folder without user password.
Replies: 5
Views: 8028

Re: How to automount a shared folder without user password.

Actually, the above steps do allow login without passwords. With two caveats: 1. Not when the share is the root of a drive. C:\foo works, C:\ doesn't. 2. Permissions have been set appropriately on the share (simplest to to give full access to "Everybody") especially when using anonymous login (sec=n...
by thagrol
Fri May 13, 2016 4:25 pm
Forum: Beginners
Topic: external SD in a USB card reader: which path?
Replies: 10
Views: 1955

Re: external SD in a USB card reader: which path?

Can you remember what you selected for "Copy to device"? ls <copy to device>* should give you a list of device and partitions. mount will tell you whether they're mounted and where. If they're not mounted, they can be mounted one at a time by sudo mount <copy to device><n> /mnt e.g. sudo mount /dev/...
by thagrol
Fri May 13, 2016 4:14 pm
Forum: Automation, sensing and robotics
Topic: WANTED: Three beta testers for low cost robot project
Replies: 13
Views: 2870

Re: WANTED: Three beta testers for low cost robot project

I'd be happy to help out. Was involved with another beta test last year.

I've access to Pi A, B (two revisions), A+, B+, compute module and Zero if that helps and used to test software for a living.
by thagrol
Fri May 13, 2016 4:01 pm
Forum: Troubleshooting
Topic: How to automount a shared folder without user password.
Replies: 5
Views: 8028

Re: How to automount a shared folder without user password.

I may have a workaround, but it won't work if your shares are the root of a drive (e.g. c:\), I'm not sure why. I'm assuming Windows 10 as I don't have easy access to any earlier versions so modify these instructions as needed. On your Windows PC Open Control Panel and go to"Network and Internet", t...
by thagrol
Fri May 13, 2016 1:00 pm
Forum: Raspbian
Topic: Anonymous Samba share on Raspberry Pi3 and Samba 4.2
Replies: 11
Views: 7447

Re: Anonymous Samba share on Raspberry Pi3 and Samba 4.2

pcmanbob wrote:so I would say yes it can be done.
That's useful to know.

My suspicion is that the cause will boil down to a broken smb.conf (see my earlier post) coupled with a fat32/exfat parition mounted with the default options. Won't know for sure until the op comes back with the info I suggested he post.
by thagrol
Fri May 13, 2016 10:10 am
Forum: Troubleshooting
Topic: How to automount a shared folder without user password.
Replies: 5
Views: 8028

Re: How to automount a shared folder without user password.

Try replacing "password=yourpassword" with "guest".

See http://linux.die.net/man/8/mount.cifs
by thagrol
Fri May 13, 2016 9:48 am
Forum: Raspbian
Topic: Anonymous Samba share on Raspberry Pi3 and Samba 4.2
Replies: 11
Views: 7447

Re: Anonymous Samba share on Raspberry Pi3 and Samba 4.2

More suggestions: Back up your smb.conf and try a minimal one instead e.g. [global] workgroup = WORKGROUP [MY_SHARE] comment = XMP Share path = /mnt/myshare writeable = Yes read only = no guest ok = yes only guest = Yes create mask = 0777 directory mask = 0777 browseable = Yes public = yes Don't for...
by thagrol
Thu May 12, 2016 9:57 pm
Forum: Raspbian
Topic: Anonymous Samba share on Raspberry Pi3 and Samba 4.2
Replies: 11
Views: 7447

Re: Anonymous Samba share on Raspberry Pi3 and Samba 4.2

A few other things to look into: It looks like the config for [MY_SHARE] has been inserted in the middle of the config for the [homes] share rather than after it. Try moving it so that it is between the lines: valid users = %S # Un-comment the following and create the netlogon directory for Domain L...
by thagrol
Tue May 10, 2016 11:58 am
Forum: Troubleshooting
Topic: Samba and acces on windows
Replies: 36
Views: 4255

Re: Samba and acces on windows

wonderingwalker wrote:With the command mount I got this
Looks to me like your disks aren't mounted. Nothing is showing in the output for your mount points, nor for any /dev/sd* devices.
by thagrol
Mon May 09, 2016 7:36 pm
Forum: Troubleshooting
Topic: Samba and acces on windows
Replies: 36
Views: 4255

Re: Samba and acces on windows

How are those disks formatted and what mount options are you using?

If you're not sure post the output of

Code: Select all

mount
here.
by thagrol
Sun Apr 24, 2016 7:23 pm
Forum: Troubleshooting
Topic: "wake on lan"
Replies: 6
Views: 9274

Re: "wake on lan"

There's a setting in kodi to send a wake on lan packet to a fileserver before it tries to access it. Don't have access to my kodi box atm to check where exactly it is, but its probably turned on.
by thagrol
Tue Apr 19, 2016 8:29 pm
Forum: Troubleshooting
Topic: Error setting permissions
Replies: 5
Views: 3333

Re: Error setting permissions

Does "/media/pi/SERVER" exist?

It has to exist and be a directory before you can mount something there?
by thagrol
Mon Apr 18, 2016 3:37 pm
Forum: Troubleshooting
Topic: Error setting permissions
Replies: 5
Views: 3333

Re: Error setting permissions

I typed 'sudo mount -a /media/pi/SERVER' and didn't give any feedback That would cause the pi to attempt to mount everything in /etc/fstab and, probably, ignore "/media/pi/SERVER" as it's not in there thus it won't mount your external drive. The command you want is sudo mount /dev/<partition id> <m...
by thagrol
Sun Apr 17, 2016 3:00 pm
Forum: Raspbian
Topic: Can a running program on Pi be shown on a tablet or similar?
Replies: 5
Views: 1002

Re: Can a running program on Pi be shown on a tablet or simi

Bosse_B wrote: I was looking for a way to send only the application window over...
Have a look at X11 forwarding:https://www.google.co.uk/#q=x11+forwarding

Go to advanced search