Go to advanced search

by Bosse_B
Sat Nov 01, 2014 8:08 pm
Forum: General discussion
Topic: How to make samba share writable?
Replies: 14
Views: 5344

Re: How to make samba share writable?

If your USB stuff isn't defined in /etc/fstab it must be defined in the auto-mounter parms. Take a look at /etc/auto.master It turns out that fstab (shown above) does not mention these mounts at all. And there is no /etc/auto.master file/dir But there is a /etc/usbmount dir containing a usbmount.co...
by Bosse_B
Sat Nov 01, 2014 5:37 pm
Forum: General discussion
Topic: Automount USB disk as same samba drive?
Replies: 14
Views: 12505

Re: Automount USB disk as same samba drive?

I edited the smb.conf file and changed the path to /media/usb
then restarted samba.
I get access now too so the symlink I did seems superfluous.
But I still have the same permission problems....
by Bosse_B
Sat Nov 01, 2014 4:57 pm
Forum: General discussion
Topic: How to make samba share writable?
Replies: 14
Views: 5344

Re: How to make samba share writable?

I am not sure I understand all of this but here is a sequence of root commands that shows the problem: 1) cat fstab shows how it looks like 2) ls -l shows the current permissions 3) chmod tries to change permissions 4) ls -l same permissions afterwards root@raspbian-pi:/media# cat /etc/fstab proc /p...
by Bosse_B
Sat Nov 01, 2014 12:42 pm
Forum: General discussion
Topic: How to make samba share writable?
Replies: 14
Views: 5344

Re: How to make samba share writable?

Well, the thumb drive is FAT32 and I am pretty sure it would not work if I move it to Windows if the file system is changed to ext4. This connection is meant to be used as follows: 1- Connect to the Pi via VPN (it is about 6000 km away but has OpenVPN on it) 2- Transfer files to the share via VPN 3-...
by Bosse_B
Sat Nov 01, 2014 12:36 pm
Forum: General discussion
Topic: Automount USB disk as same samba drive?
Replies: 14
Views: 12505

Re: Automount USB disk as same samba drive?

Maybe you can give me instructions on how I can do that? The smb.conf file would be one place and mine looks like this: [data] comment = Data share path = /data browseable = yes read only = no Is it just as simple as changing this to: [data] comment = Data share path = /media/usb browseable = yes re...
by Bosse_B
Sat Nov 01, 2014 12:12 pm
Forum: General discussion
Topic: How to make samba share writable?
Replies: 14
Views: 5344

Re: How to make samba share writable?

- Created a symlink to /media/usb0 named /data for sharing the usb thumb, which mounts to /media/usb0 What are the rights for the mount point itself? root@raspbian-pi:/media# ls -l total 36 lrwxrwxrwx 1 root root 4 Oct 31 19:36 usb -> usb0 drwxr-xr-x 2 root root 4096 Nov 1 10:54 usb0 drwxr-xr-x 2 r...
by Bosse_B
Sat Nov 01, 2014 10:30 am
Forum: General discussion
Topic: How to make samba share writable?
Replies: 14
Views: 5344

How to make samba share writable?

I have set up samba on a raspbian Pi. Everything seems to work as expected except from a real showstopper... I am totally unable to use the samba share as intended because it seems impossible to write to the folder except using sudo on the Pi console. That kinda defeats the purpose of a shared disk!...
by Bosse_B
Fri Oct 31, 2014 7:36 pm
Forum: General discussion
Topic: Automount USB disk as same samba drive?
Replies: 14
Views: 12505

Re: Automount USB disk as same samba drive?

I have gotten further now! USB drives mount automatically on insertion. :D After extensive googling I found this informative page , which actually solved the first part of my problem. What it suggested is that I install usbmount: sudo apt-get install usbmount After I did so I can now attach up to 8 ...
by Bosse_B
Fri Oct 31, 2014 3:20 pm
Forum: General discussion
Topic: Automount USB disk as same samba drive?
Replies: 14
Views: 12505

Re: Automount USB disk as same samba drive?

UPDATE There seems to be a difference between the way RASPBMC and RASPBIAN behave. I used a KINGSTON Micro-USB thumb drive of 8 GB to test. First I changed the name of the FAT32 volume from KINGSTON to USBTHUMB in Win7. RASPBMC Then I plugged it into the RASPBMC Pi and could observe that /media now...
by Bosse_B
Fri Oct 31, 2014 2:35 pm
Forum: General discussion
Topic: Automount USB disk as same samba drive?
Replies: 14
Views: 12505

Re: Automount USB disk as same samba drive?

Thanks, but it seems like you have to somehow marry together the specific drive (usb thumb or a usb connected hard drive) to a mount inside the pi such that if you connect something other than this specific drive you are back at zero again... I would like it to work like in Windows, i.e. when I plug...
by Bosse_B
Fri Oct 31, 2014 12:28 pm
Forum: General discussion
Topic: Automount USB disk as same samba drive?
Replies: 14
Views: 12505

Re: Automount USB disk as same samba drive?

Seems like noone has a clue to this, or am I posting to the wrong sub-forum??? To simplify matters even further: How can I get to a situation where a USB memory stick is automatically mounted when it is inserted? And unmounted when the USB is removed? I want to work with USB thumb drives like I do i...
by Bosse_B
Wed Oct 29, 2014 1:38 pm
Forum: General discussion
Topic: Automount USB disk as same samba drive?
Replies: 14
Views: 12505

Automount USB disk as same samba drive?

Is it possible and if so how do I set it up? I need to make it possible for the pi to mount an external USB disk attached via a USB hub (because of power needs) automatically when it is connected. Then I also want to be able to read/write files to it using a samba shared drive name via the network. ...
by Bosse_B
Mon Oct 27, 2014 6:45 pm
Forum: General discussion
Topic: Need to transfer files to remote site using pi VPN
Replies: 1
Views: 651

Re: Need to transfer files to remote site using pi VPN

I should add that I have looked at a number of samba tutorials so I know how to set up the service. However, I would like for the Pi to publish whatever disk is inserted into USB as the DATA share, so my daughter can insert whatever disk and it will be accessible afterwards via samba. Is this possib...
by Bosse_B
Mon Oct 27, 2014 6:11 pm
Forum: General discussion
Topic: Need to transfer files to remote site using pi VPN
Replies: 1
Views: 651

Need to transfer files to remote site using pi VPN

I have set up OpenVPN server on a Pi B+ which I have left at my daughter's home so I can connect to her network. I planned on doing some file transfers over to her (grandchildren movies and such) using a network disk attached to her router. But now it turns out that the router is an Apple Airport an...
by Bosse_B
Fri Oct 17, 2014 5:10 pm
Forum: Advanced users
Topic: Using Pi as relay between networks?
Replies: 4
Views: 1242

Re: Using Pi as relay between networks?

After reading the replies here and also a private message directing me towards a TP-LINK product I started a more extensive Google search and found a lot of suggestions there. What I now would like to do is to attach a separate wifi router to the main router and set it up for a new SSID and differen...
by Bosse_B
Thu Oct 16, 2014 12:29 am
Forum: General discussion
Topic: How can I find if software is installed?
Replies: 8
Views: 3741

Re: How can I find if software is installed?

Thanks guys,
I tried the apt-get install pptpd and it told me that I already had the latest version!
So I am good to go.
by Bosse_B
Wed Oct 15, 2014 10:57 pm
Forum: General discussion
Topic: How can I find if software is installed?
Replies: 8
Views: 3741

How can I find if software is installed?

Not very Linux savvy.... I want to know if a specific software is installed in my Pi. In this case it is pptp VPN server, which is installed using command: sudo apt-get install pptpd I want to avoid overwriting any already installed version so I just want to know if it is there already. How do I acc...
by Bosse_B
Wed Oct 15, 2014 3:07 am
Forum: Advanced users
Topic: Using Pi as relay between networks?
Replies: 4
Views: 1242

Using Pi as relay between networks?

Is it possible to use two Pi as some kind of relay between networks? Say I have an Internet connection to one building on the property and there is another about 100 m away that I also want to be connected but I don't want to pull a network cable across. Could I use two Pi units as some kind of brid...
by Bosse_B
Tue Oct 07, 2014 9:09 pm
Forum: General discussion
Topic: Mobile network module for the Pi?
Replies: 1
Views: 439

Mobile network module for the Pi?

I am looking for a module (not USB, but communicating through pins to the Pi) that could allow it to connect to the mobile network. In the end if the project turns out good I would put it on a separate PCB along with some other circuitry and connect to the Pi. Basically I need to receive commands an...
by Bosse_B
Thu Oct 02, 2014 6:30 am
Forum: Advanced users
Topic: Configuring PPTP VPN server on two interfaces?
Replies: 2
Views: 1987

Re: Configuring PPTP VPN server on two interfaces?

Thanks for your input! I have additional questions since I have messed up iptables by mixing up the IP addresses of my three Pi:s.... Q1: Editing backup? If I use iptables-save as you describe the result is a text file with the rules. Can I edit this file and remove the lines with the wrong IP addre...
by Bosse_B
Wed Oct 01, 2014 6:09 am
Forum: Advanced users
Topic: Configuring PPTP VPN server on two interfaces?
Replies: 2
Views: 1987

Configuring PPTP VPN server on two interfaces?

As described in another thread I have tried getting my Pi B+ wireless using a Realtec WiFi micro adapter. I managed to configure it to actually connect to the WEP WiFi but now I have found a different problem: The Pi is running a PPTP VPN server and in this case it works fine when using the wired Et...
by Bosse_B
Tue Sep 30, 2014 8:56 pm
Forum: Troubleshooting
Topic: How to connect WEP WiFi network?
Replies: 6
Views: 2301

Re: How to connect WEP WiFi network?

This is the WiFi part of the network restart messages: Listening on LPF/wlan0/00:e0:4c:0b:8a:47 Sending on LPF/wlan0/00:e0:4c:0b:8a:47 Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on wl...
by Bosse_B
Tue Sep 30, 2014 8:48 pm
Forum: General discussion
Topic: Pi B+ - where are the voltage testpoints?
Replies: 6
Views: 1385

Re: Pi B+ - where are the voltage testpoints?

PP1 & PP2 = +5VDC directly from the mirco USB PP7 = +5VDC after the fuse. PP3 = Ground (But easier to connect at other places such as metal shields on Ethernet jack etc). THanks! I found the PPx points and measured PP1 agains the Ethernet case. It was a bit low at 4.86V, but I guess it is still wit...
by Bosse_B
Tue Sep 30, 2014 7:55 pm
Forum: Troubleshooting
Topic: How to connect WEP WiFi network?
Replies: 6
Views: 2301

Re: How to connect WEP WiFi network?

I may have stumbled across the solution!
I removed the quotes around the ssid so the lines now reads:

Code: Select all

iface wlan0 inet dhcp
   wireless-essid myssidname
   wireless-key FF23ED193A
And now it managed to connect!
by Bosse_B
Tue Sep 30, 2014 7:52 pm
Forum: Troubleshooting
Topic: How to connect WEP WiFi network?
Replies: 6
Views: 2301

Re: How to connect WEP WiFi network?

The tutorial seems to suppose WPA as was the one I linked to.
WEP is not mentioned.

Go to advanced search