Results 1 to 7 of 7

Thread: SAMBA, NFS, FTP any connection.

  1. #1
    Junior Member
    Join Date
    Mar 2004
    Location
    socal
    Posts
    3

    SAMBA, NFS, FTP any connection.

    I have Knoppix 3.2 installed on HD and am trying to connect either way between KnoppixBox and a Mac running OSX.3

    My main goal is to be able to edit a website on the Apache Server on the Knoppix box, uploading files from my Mac.

    Loading Knoppix was a breeze. Apache no prob, I have a Swiki running, but no luck with any type of NFS connection to the KnoppixBox. I installed Proftpd but can't write to any files even if connected. I've checked and set permissions. I've played around with the SAMBA.conf file and have been able to see the directory I wanted to mount but then denied access.(now I just get an error mssg -36 saying data can't be read)

    I'm a newbie and have no clue why it isn't working. I've scoured Google but am getting nowhere. It seems that NFS and FTP are basic services a Linux box should supply and I can't believe I'm having so much difficulty. Any help will be greatly appreciated.

    Thanks.

    SJG

  2. #2
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    If an ftp server is running on the knoppix box you should be able to ftp into the knoppix box as a user and put files into the users home directory. Then move the files into /var/www (as root) or wherever you need them.

    HTH

    ~rock

  3. #3
    Senior Member registered user
    Join Date
    Nov 2003
    Posts
    361
    Are you running the ftp server as a daemon or are you expecting inetd to start it whenever you connect ? In the latter case you need to edit /etc/inetd.conf (and maybe restart inetd)
    Unencrypted services like nfs and ftp are not considered secure anymore (well, ftp is ok for anonymous access) so they are disabled by default. For what you want to do I would recommend using ssh instead though.

  4. #4
    Junior Member
    Join Date
    Mar 2004
    Location
    socal
    Posts
    3
    Thanks for the responses.

    What is the process to use ssh? How do I get that configured on my server to allow access to files?

    Thanks again.

  5. #5
    Senior Member registered user
    Join Date
    Nov 2003
    Posts
    361
    Quote Originally Posted by SJG
    What is the process to use ssh? How do I get that configured on my server to allow access to files?
    IIRC the ssh server should be running already if you haven't disabled it, to check do this:

    Code:
    ps auxwww | grep sshd | grep -v grep
    If nothing shows up you need to start it:
    Code:
    /etc/init.d/ssh
    (as root of course)

    To make that permanent one would do something like this:
    Code:
    ln -s /etc/init.d/ssh /etc/rc0.d/K20ssh
    ln -s /etc/init.d/ssh /etc/rc2.d/S20ssh
    ln -s /etc/init.d/ssh /etc/rc3.d/S20ssh
    ln -s /etc/init.d/ssh /etc/rc4.d/S20ssh
    ln -s /etc/init.d/ssh /etc/rc5.d/S20ssh
    ln -s /etc/init.d/ssh /etc/rc6.d/K20ssh
    Use scp to copy things from one machine to the other and ssh to get a console on the other machine. A reasonable place to start would be to read the man pages:

    Code:
    man ssh
    and
    Code:
    man scp

  6. #6
    Junior Member
    Join Date
    Mar 2004
    Location
    socal
    Posts
    3
    Wow, SSH works like a charm. Who'd a thought to read the manual, lol.

    Thanks for your help.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by windos_no_thanks

    To make that permanent one would do something like this:
    Code:
    ln -s /etc/init.d/ssh /etc/rc0.d/K20ssh
    ln -s /etc/init.d/ssh /etc/rc2.d/S20ssh
    ln -s /etc/init.d/ssh /etc/rc3.d/S20ssh
    ln -s /etc/init.d/ssh /etc/rc4.d/S20ssh
    ln -s /etc/init.d/ssh /etc/rc5.d/S20ssh
    ln -s /etc/init.d/ssh /etc/rc6.d/K20ssh

    To do it properly with the Debian method you would either update-rc.d ssh defaults or update-rc.d ssh start 20 2 3 4 5 . stop 20 0 1 6 . as root and it will create the proper links for you.

Similar Threads

  1. samba is gay
    By ghostblaze in forum General Support
    Replies: 4
    Last Post: 11-04-2004, 03:14 AM
  2. Samba and MTU
    By jimbo62 in forum Networking
    Replies: 4
    Last Post: 08-15-2004, 03:22 AM
  3. editing /KNOPPIX/etc/samba/samba.conf as root ?!?!
    By smarchand291 in forum General Support
    Replies: 0
    Last Post: 11-08-2003, 11:41 PM
  4. how to use samba?
    By juan_sck in forum General Support
    Replies: 2
    Last Post: 10-17-2003, 01:36 PM
  5. Samba?
    By Tovi in forum General Support
    Replies: 4
    Last Post: 04-21-2003, 08:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure picture

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure

$107.99



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD picture

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD

$265.00



Lacie 2big Quadra RAID 2 x 2 TB 4 TB Only 158 hours  picture

Lacie 2big Quadra RAID 2 x 2 TB 4 TB Only 158 hours

$199.00



2-Bay/4-Bay Hard Drive Enclosure for 3.5

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2

$75.99



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



Oyen Digital MOBIUS 5-Bay RAID Enclosure USB 3.0/eSATA/FireWire picture

Oyen Digital MOBIUS 5-Bay RAID Enclosure USB 3.0/eSATA/FireWire

$140.00



Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M picture

Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M

$580.00



LSI 9461-16i MEGARAID RAID 12GBPS 16 PCIE3.0  PORT KIT W/BATTERY 03-50011-69004 picture

LSI 9461-16i MEGARAID RAID 12GBPS 16 PCIE3.0 PORT KIT W/BATTERY 03-50011-69004

$145.99



Dell PowerVault DL2200 2x Xeon E5620 24GB RAM H700 2x500GB SAS RAID1 picture

Dell PowerVault DL2200 2x Xeon E5620 24GB RAM H700 2x500GB SAS RAID1

$230.00