Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
networking for a newbie
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mrfinch
n00b
n00b


Joined: 14 Mar 2005
Posts: 11
Location: Bristol, England

PostPosted: Thu Aug 11, 2005 1:42 am    Post subject: networking for a newbie Reply with quote

I have two computers on my home network.


Desktop = Runs Gentoo
Laptop = Runs Windows XP

The Desktop goes through the Router via Ethernet and the Laptop is wirelessly connected.


I have all My Music on the Desktop computer and want to bring them over to the laptop via the network as other methods have so far failed (this includes adding files in disk mode and pulling them over, iPod is being a dick atm) - I can't find any Samba tutorials which are geared for an unexperienced user ... I've only got as far as being able to see the folders in "My Network Places" but haven't been able to open them (if you understand what I mean by that?)


I have installed SSHD on the desktop and used WinSCP3 on the laptop, but that doesn't keep the connection for the transfer of the Music folder and kills the internet totally on the desktop until I reboot (annoooyyyinngg) - so that went out the window.

I was wondering if someone could help me out by writing or directing me to a HOWTO to solve this problem. At the moment I have an iPod which is empty and useless, GTKpod never seems to work (no matter all the things I try from reading around the forums) - so I am just going to have to bring all the music across somehow.




Cheers for anyone who is patient enough to help me through this!
Back to top
View user's profile Send private message
msalerno
Veteran
Veteran


Joined: 17 Dec 2002
Posts: 1338
Location: Sweating in South Florida

PostPosted: Thu Aug 11, 2005 2:02 am    Post subject: Reply with quote

Your best bet would probably be to learn samba, it's useful in so many ways. www.samba.org, these forums, www.gentoo-wiki.com and many other sites provide great documentation about how to setup a samba server.

By far the best samab document I have found is here: http://us2.samba.org/samba/docs/man/smb.conf.5.html

There are also tools to help you configure samba, webmin (emerge -p webmin) and swat which comes with samba.

There are countless resources that can be used. My recomendation is to read through the docs on samba.org to get a better understanding. In the mean time, try something like this:

/etc/samba/smb.conf
Code:
[global]
        workgroup = Gentoo
        netbios aliases = gentooserver
        server string = Media Server
        security = SHARE
        log level = 1
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
        load printers = No
        disable spoolss = Yes
        preferred master = No
        local master = No
        domain master = No
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        hide dot files = No

[music]
        comment = All our music
        path = /media/music
        force user = mp3
        read only = No
        guest ok = Yes
        hosts allow = 192.168.10.0/24


Of course, change the ip ranges throughout the config, and change the path in the [music] section. Also, with this configuration, the linux user mp3 will be the user you will be connecting as, so adjust your permissions accordingly. There is almost no security with this config, so its up to you to secure.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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