Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File Sharing

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Networking
View previous topic :: View next topic  
Author Message
PaulSchroeder90



Joined: 20 May 2006
Posts: 7

PostPosted: Thu May 25, 2006 12:11 am    Post subject: File Sharing Reply with quote

Hi

I have DSL-N booting of a USB-HDD
I like it alot
Anyways...

I have some music and other files on my other computer (Windows), that i would like to access. I have yet to find a way to do this. Do I need to use an FTP?

Thanks for the Help

-Paul
Back to top
View user's profile Send private message
[IDC]Dragon



Joined: 22 Apr 2006
Posts: 41
Location: Hannover, Germany

PostPosted: Fri May 26, 2006 1:16 pm    Post subject: Samba setup Reply with quote

You can use Samba, that's perhaps the most seamless on the windows side. There is a myDSL extension in the collection which works.
Being client is the more easy way. You can access your windows shares with that.
To be a server (publish shares towards Windows) is more tricky, requires some setup. I have it working since yesterday. I have modified the .dsl package a bit, to include an empty /var/log/samba/ directory. Without that, it was complaining.
More specific, what I did was to add /etc/samba/ to the .filetool.lst persisting mechanism, add early mounting of my server disk to /opt/bootlocal.sh, as well as the start of the Samba daemons nmbd and smbd. Here I had the additional twist that the network must be ready when calling these, but it's happening in the background and I got a race condition. To configure the samba server itself, you have to customize /etc/samba/smb.conf. The key to my yesterday success was to modify "security = share" instead of user, freeing it from authorisation woes.
Feel free to ask if you have any problems with it.
Back to top
View user's profile Send private message
PaulSchroeder90



Joined: 20 May 2006
Posts: 7

PostPosted: Fri May 26, 2006 7:02 pm    Post subject: Reply with quote

Thanks for the help
I apologize for making this post
I should have looked harder before making the post
A mod can delete this post now
Back to top
View user's profile Send private message
jz21082



Joined: 02 Aug 2006
Posts: 7
Location: CA, USA

PostPosted: Wed Aug 02, 2006 12:15 am    Post subject: Re: Samba setup Reply with quote

Hi Dragon,

[would you please write more detail steps how to setup the file sharing between windows and DSL-N (linux)? It is better on both side setup. Thanks
Back to top
View user's profile Send private message
jimihieu



Joined: 05 May 2006
Posts: 51

PostPosted: Wed Aug 02, 2006 3:38 pm    Post subject: Re: Samba setup Reply with quote

[quote="jz21082"]Hi Dragon,

[would you please write more detail steps how to setup the file sharing between windows and DSL-N (linux)? It is better on both side setup. Thanks[/quote]

for easy and beginner like me.
Here is what i did...
Make the folder you want to share in windows box become SHARED FOLDER!
donwload samba.dsl from DSL website and install it and turn it on....
Assume all the networks name and stuff on windows box are default when you just set up windows....
All i did is after open samba it detect my windows box IP and name straight away so i just click on it and then "scan with user name"
I just enter user name and password (if made) and there you go.....everything in the windows box that was shared is seen :)
good luck!
Back to top
View user's profile Send private message
jz21082



Joined: 02 Aug 2006
Posts: 7
Location: CA, USA

PostPosted: Wed Aug 02, 2006 7:45 pm    Post subject: Re: Samba setup Reply with quote

hi jimihieu,

Thanks for the tip.

I used Samba that comes with DSL-N RC3, which can see my windows system, but not share folder. Do you have any idea why? or what should I setup? Thanks

BTW, how to install samba.dsl if I finf one.
Back to top
View user's profile Send private message
jimihieu



Joined: 05 May 2006
Posts: 51

PostPosted: Thu Aug 03, 2006 1:27 pm    Post subject: Re: Samba setup Reply with quote

[quote="jz21082"]I used Samba that comes with DSL-N RC3, which can see my windows system, but not share folder. [/quote]

Well same as me...that why i said "SCAN AS USERNAME" then enter any username you have in your windows.

[quote="jz21082"]BTW, how to install samba.dsl if I finf one.[/quote]

to install, open samba.dsl by command : mydsl-load
all done Smile
good luck
Back to top
View user's profile Send private message
jz21082



Joined: 02 Aug 2006
Posts: 7
Location: CA, USA

PostPosted: Fri Aug 04, 2006 1:35 am    Post subject: Re: Samba setup Reply with quote

Thanks jimihieu. It works now.
Back to top
View user's profile Send private message
jimihieu



Joined: 05 May 2006
Posts: 51

PostPosted: Sat Aug 12, 2006 6:15 am    Post subject: Sharing between DSL-N and FC Reply with quote

Im trying to share files between DSL and FC

in DSL i turn on SSH server and in FC i use fish protocol
however it keep asking for SSH access with username and password
i enter username at either roor or dsl and password when i 1st run DSL.....all failed!
anyone has any idea? also my dsl never asking for password when boot up anyway!

so is there a default password????????????????or how to change current password for either root or dsl?

really need help!
thanx
Back to top
View user's profile Send private message
roberts



Joined: 17 Apr 2006
Posts: 320
Location: OC CA USA

PostPosted: Sat Aug 12, 2006 6:28 am    Post subject: Reply with quote

When booting use the boot option [i]secure[/i]
This will prompt you for passwords for both user dsl and root
Or if already booted and running...
$ sudo passwd
This will prompt you to change root password
$ sudo passwd dsl
This is prompt to change user dsl password
Back to top
View user's profile Send private message Visit poster's website
jimihieu



Joined: 05 May 2006
Posts: 51

PostPosted: Sat Aug 12, 2006 7:47 am    Post subject: Reply with quote

hi
still get this error even though i reboot DSL as "dsl ssh"
then do "passwd"
from FC box ssh into DSL box and get this error:
[code:1]root@192.168.1.3's password:
Permission denied (publickey,password,keyboard-interactive).[/code:1]

please help .
thanx
Back to top
View user's profile Send private message
jimihieu



Joined: 05 May 2006
Posts: 51

PostPosted: Sat Aug 12, 2006 8:11 am    Post subject: HOWTO file sharing between FC3 and DSL Reply with quote

Alright after few hours searching and testing on DSL forum
i found the best solutions to share files between FC3 box and DSL box
boot up dsl livecd such as:
dsl norestore secure ssh (choose options that you like but this is mine Smile )
then turn on SSH server on DSL box from Control Panel
in FC box open Konqueror and enter in the address bar:

drag anything U want into that FISH!
all done...
sigh!
thanx.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group