Damn Linux!

Associate
Joined
1 Sep 2009
Posts
16
Hi guys, total noob here

well i am trying to access files stored on my linux computer/server (Ubuntu) on my windows xp netbook, so i installed Samba on the server, and i can see the printer service on the netbook via "View Workgroup Computers" but i cant see the hard drive.

I tried to share the hard drive but i dont have permission since im not the owner... How do i edit smb.conf and save it accordingly?

Thanks a lot guys
 
First backup the smb.conf file...

Code:
sudo /cp /etc/samba/smb.conf smb.conf.old

Try adding the following to your smb.conf file...

Code:
[Guest Share]

Comment = Guest Share
Path = /YourPath/YourShare
Browseable = yes
Read only = no
Guest OK = yes
Public = yes
Guest Account = Nobody

Then restart samba...

Code:
sudo /etc/init.d/samba restart

You will need to put in a samba user/name and password to access the share. I'm not 100% sure on how to enable 100% guest access to the share without authentication.
 
Last edited:
Thanks very much mate!

I've located the shared drive using my netbook but now its asking me to log in? What authentication do i use? I've tried the username and password i use to log onto Ubuntu, but no luck

Thanks
 
No problems mate.

Try the following command to setup a samba password for your account...

PHP:
sudo smbpasswd yourusername
 
I think you have to add a username to samba as markyb has suggested.

If/when you need to access files on the linux box from windows you simply enter the SAMBA username and password, when prompted on the windows box. All should work then.

Then in terminal, if you are running a GUI do this command:

Code:
sudo gedit /etc/samba/smb.conf
If you are not running a GUI do this in terminal:

Code:
sudo nano /etc/samba/smb.conf

To save a file in nano simply press ctrl and x together, then press y or n to save when prompted.

At the very buttom of the file you can add your folders you wanna share, here is one of my shares as an example for you:

Code:
[TV]
path= /mnt/storage1/TV/
browseable = yes
comment = TV
writable = yes
public = no
guest ok = no
create mask = 0755
directory mask = 0755
 
Well i've sorted a few of my problems now.
1. I've got the torrent client to work and can access it from other computers as i want to.
2. I've got the fileshare to work on my other windows computers as i want to

Is there a way that i can remotely access the server desktop on another computer as if i was actually sitting there? A little like Remte desktop connection on windows?

I cant get my 360 to 'see' the server. Tried to use Mediatomb, but i dont know if im using it correctly to be honest.

Can you guys offer any assistance?

Cheers
 
you need a vnc client to view the desktop, I did exactly what you want to do when I started out :) I can't recall the name of the VNC I used so I will wait for someone to post recommendations.

As for mediatomb I have a ps3 but this should do the trick...

http://scrambled.wordpress.com/2008...ictures-and-movies-to-an-xbox-360-with-linux/

It does cost money but from the comments on the site, the trial may not expire.

also this one...

http://blog.hacker.dk/2009/05/xbox-360-streaming-protocol-from-linux/?reffed=1

Maybe worth posting on ubuntuforums.org about this, I think my PS3 is easier to setup than the 360 in linux. Google reviels that Micrsoft has embedded a media centre connect feature or summit.
 
Back
Top Bottom