New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Howto - Create Shares on Bubba

A collection of tips on howto tweak your Bubba.
Post Reply
mhouwen
Posts: 4
Joined: 09 May 2008, 13:29

Howto - Create Shares on Bubba

Post by mhouwen »

Hello Community,

I am fairly new with Linux, Debian and Bubba.

How can I create Shares in my Root-dir ?

In the initial set-up I now only see Home
and a share Storage.

How to create additional shares on \\bubba\

any dummie discription :oops: is appreciated,

Thnx, Marc
MartinArvidsson
Posts: 5
Joined: 21 Apr 2008, 13:24

Post by MartinArvidsson »

I'm not 100% sure, but i think you should edit the file smb.conf.

Login via ssh and run su to get root access (password excito) then...

Code: Select all

nano /etc/samba/smb.conf
And add something like

Code: Select all

[foo]
   comment = this is user foo's folder
   writable = no
   guest ok = no
   public = no
   path = /home/foo
then

Code: Select all

/etc/init.d/samba reload
to reload the changes
niklinds
Posts: 13
Joined: 12 Oct 2008, 18:06

Post by niklinds »

Hi

Is it possible to make this decription even more for dummies, I know nothing about Linux hack?
ian
Posts: 128
Joined: 30 Jul 2007, 09:07

Post by ian »

First of all, you need to install some kind of terminal/ssh program; for windows you can use putty, which is completely free.

Once you have installed ie. putty, you need to run it and enter the IP address of your bubba. You will then be asked for your username and password; once you have filled these in, you are logged onto your bubba.

To login as the super-user, you type su, and then fill in excito as the password when prompted. From here on, you can follow Martin's instructions to create new shares on your bubba.

I am no linux expert, but I have been able to install hddtemp and bubbamon using instructions provided in this forum; once you get the hang of it, it's quite fun....
jsilkenas
Posts: 1
Joined: 01 Dec 2008, 22:47

Post by jsilkenas »

:D Thanks for the details here they helped me.

I use an iMac with my bubba server. I opened a Terminal window and on the command line I used:

ssh [IP address of my bubba server]

Got prompted for my bubba user password then I su'ed to root as you can see below.

================
Last login: Tue Dec 2 09:53:31 on console
MyMachine:~ jsilk$ ssh 192.168.6.4
Password:
Linux bubba 2.6.16.16 #1 Tue May 16 21:45:07 CEST 2006 armv4tl GNU/Linux

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Last login: Wed Nov 12 11:38:37 2008 from 192.168.6.5
jsilk@bubba:~$ su
Password:
================

Then I changed directory to /etc/samba/

I made a copy of the smb.conf file using the cp command. then I edited the smb.conf file using the vi command. In the 'Share Definitions' section I added a share called 'general' and used Martin's basic code and added some to ensure that any file in general has got read, write and execute permissions for all as that suited my needs for this particular share.

#======== Share Definitions ==============

[home]
comment = Home Directories
path = /home
browseable = yes
writable = yes
create mask = 0764
directory mask = 0755
public = no
guest ok = no
hide dotfiles = yes
user = @users

[storage]
comment = Common Media storage
writable = yes
guest ok = yes
public = yes
force group = users
force create mode = 0777
force directory mode = 0777
path = /var/samba/public

[general]
comment = Common storage
writable = yes
guest ok = yes
public = yes
force create mode = 0777
force directory mode =0777
hide dotfiles = yes
path = /home/general

===========

Cheers
Johan[/img]
Post Reply