Results 1 to 7 of 7

Thread: Folder sharing between 2 networked Knoppix boxes

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    9

    Folder sharing between 2 networked Knoppix boxes

    I have a Knoppix 3.2 box (installed on the harddrive), and another box which I booted into Knoppix 3.2 from the CD. Both PCs are on the same LAN. How can cause the second PC to see a shared folder located on the first PC? Does LinNeighborhood work for this?

    J.Neuhoff

  2. #2
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    Midlands, UK
    Posts
    145
    Yes, SAMBA will do this. I set my main Knoppix PC up with a shared folder, that could be viewed r/w from my second (daughters) PC - I only did it last week but didn't make notes. I couldn't get any other method to work. Maybe have a search on this site on SAMBA server?

    If I can find what I changed I'll post it here.

    By the way you can use konqueror to view if you don't want to use linneighborhood - use the prefix 'smb' instead of 'file' or 'ftp' etc.

  3. #3
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    Midlands, UK
    Posts
    145
    I'm amazed, I did make notes!!!!

    Invoke samba for file sharing using systemV init utility to get samaba running at startup (run level 5 and shutting it down too!). Set up which directory is shared by adding the following to the /etc/samba/smb.conf file:-

    [stuart]
    browseable = yes
    path = /home/stuart
    read only = no
    create mask = 0775
    directory mask = 0777

    Setup a password using:-

    smbpasswd 'user' (your choice)

    The directory can be shared from another machine using linNeighborhood or by using the smb://HOME/stuart syntax in Konqueror (haven't worked out how to do printer sharing yet!) - this is the same protocol used by windows for network sharing. Do not confuse this with NFS, or LISa

    After making changes:-

    /etc/init.d/samba restart

  4. #4
    Junior Member
    Join Date
    Mar 2004
    Posts
    1
    When invoking smbpasswd you need to use the -a option unless the user already exists in the file.

    The man page says the following about this option:

    -a
    This option specifies that the username following should be added to the local smbpasswd file, with the new password typed (type <Enter> for the old password). This option is ignored if the username following already exists in the smbpasswd file and it is treated like a regular change password command. Note that the default passdb backends require the user to already exist in the system password file (usually /etc/passwd), else the request to add the user will fail.

    This option is only available when running smbpasswd as root.

  5. #5
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    20
    hum ... why don't you use ssh/scp to access your box with the HD install ?

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Europe
    Posts
    148
    Samba, while a great and powerful solution, is said to be a pita to configure at times. For this reason I too use sftp (start up ssh server on my knoopix box, and then use WinSCP as sftp client on my windows box).

    sftp should work "out-of-the-box" with knoppix, but I'm not sure if there is a nice GUI.

  7. #7
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    If you are sharing folders between to Knoppix boxes, why not just use ssh? Here's what you do. As root, start ssh on the server box like this: /etc/init.d/ssh start If both boxes are running from the CD you will need to give the user knoppix a password. As root, do this: passwd knoppix Then enter you new password. You can then either ssh into you server box from a shell like this: ssh user@ip_for_serverbox or you can access your folders using fish in konqueror. To do the later, simply open konqueror and type the following in the url address bar: fish://user@ip_for_serverbox You will then have access to all the files and folders on the server box through konqueror. If you want to do this all from the command line in an ncurses environment, then I recommend that you look into using mc to ssh into your server box.

Similar Threads

  1. swapping hard disks between 2 boxes
    By masticate in forum Hardware & Booting
    Replies: 3
    Last Post: 05-01-2005, 04:37 PM
  2. networked internet with install
    By adamherb in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-10-2005, 11:05 PM
  3. Knoppix Networked Computer issues.
    By TechniK in forum General Support
    Replies: 12
    Last Post: 07-31-2004, 03:23 AM
  4. All the text is boxes
    By zenkoanlife in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 02-20-2004, 03:39 PM
  5. Replies: 0
    Last Post: 09-15-2003, 02:30 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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory picture

Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory

$16.29



Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC picture

Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC

$19.95



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS picture

Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS

$40.00



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



TeamGroup 16GB PC4 2666 PC4 21300 DDR4 2666MHz 1.2V CL19 Desktop RAM Memory picture

TeamGroup 16GB PC4 2666 PC4 21300 DDR4 2666MHz 1.2V CL19 Desktop RAM Memory

$27.95



Micron (4X16GB) 64GB 2RX4 PC4-2133P-RB0-10 Registered ECC Memory #73 picture

Micron (4X16GB) 64GB 2RX4 PC4-2133P-RB0-10 Registered ECC Memory #73

$54.99



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96