Re: FTP via terminal

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ed Skinner
Date:  
To: plug-discuss
Subject: Re: FTP via terminal
Here are my "quick and dirty" notes on setting up Samba. Note that your
mileage may vary depending on both the Linux and the Windows variants.
In the following, my systems are "gort" and "marvin" (two great SciFi robots).

Server-side (Linux, on system "gort")
    Create a directory: /home/eskinner/samba
    As root:
        Edit /etc/samba/smb.conf and add:
            [eskinner]
                comment = Ed Skinner's Samba Directory
                path = /home/eskinner/samba
                guest account = eskinner
                read only = No
        mksmbpasswd.sh < /etc/passwd > /etc/samba/smbpasswd
        gvim /etc/samba/smbpasswd # Trim for security
        smbpasswd root # Set root user's password
        smbpasswd edski # Set edski user's password
        Edit /etc/samba/smbusers so it contains:
            root = administrator admin
            nobody = guest pcguest smbguest
            eskinner = edski
        /sbin/service smb start
        /sbin/chkconfig smb on
Client-side (Windows XP, on system "marvin")
    Login as a user with administrative permissions
    Edit \I386\HOSTS
        Give it same contents as /etc/hosts on Linux
    Launch "My Network Places" (it's on the Desktop)
        Should see "eskinner Samba Server (Gort)"
            May need to drill-down "Entire Network" first
        Open (double-click) it
            Tools -> Map Network Drive
            Drive: Z:
            Folder: \\Gort\eskinner
            Check: Reconnect at logon
                (The reconnect doesn't always work?)
    Windows-key + E (launches Explorer)
        Double-click the "Disconnected Network Drive"
        Username: MARVIN\eskinner, Password: whatever


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss