Announcement

Collapse
No announcement yet.

Howto use Network options in Dolphin

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Howto use Network options in Dolphin

    =========================
    Summary - quick guide
    =========================
    1. I just loaded v10.04_x86_64_Desktop on to a brand new HDD. I formatted it using the ext4 filesystem.
    2. I started installing it with only one user and still only have one user.
    3. My goal is to be able to connect to any folder on any HDD on any computer on my home network (windows or linux).
    4. On my home network, I have 3 PCs: 2 kubuntu and one windows.
    5. The kubuntu PCs were wired and the windows-notebook was connected wirelessly.



    Packages installed using kpackagekit [Kstart|Applications|System|Software Management]
    then select "text search" and change it to "Admin Tools" then search for nfs and select the following packages...

    1. Commandline and GUI ACL utilities for the NFSv4 client
    2. NFS support files common to client and server
    3. An nfs idmapping library
    4. support for NFS kernel server
    (nfs-kernel-server)

    (now search for samba and select this package)
    5. A Samba (SMB) share advanced browser for KDE
    (smb4k)


    Packages installed using terminal mode ...
    1. sudo apt-get install windbind
    2. sudo apt-get install smbclient
    3. sudo apt-get install samba-common
    4. sudo apt-get install nfs-common
    5. sudo apt-get install portmap
    6. sudo apt-get install kdenetwork-sharing
    7. sudo apt-get install samba


    Manually edited the following system files using command > sudo nano ...
    /etc/hosts (I added one line for each PCs IP address and computername
    ==========
    192.168.0.10 kub1
    192.168.0.11 kub2
    192.168.0.12 winxp

    /etc/hosts.deny
    ===============
    http-rman : ALL EXCEPT LOCAL

    portmap:ALL
    lockd:ALL
    mountd:ALL
    rquotad:ALL
    statd:ALL


    /etc/hosts.allow
    ================
    ALL: 127.0.0.1 :allow
    ALL: 192.168.0. :allow
    SSHD: 192.168.0. :allow

    portmap: 192.168.0.
    lockd: 192.168.0.
    rquotad: 192.168.0.
    mountd: 192.168.0.
    statd: 192.168.0.

    /etc/exports
    ============
    (note that I manually entered the following line, but somewhere along the trail it was changed by something.)
    /home/user_name/shared1 192.168.0.0/24(async,secure,no_subtree_check,rw,anonuid=65534, anongid=560,nohide)

    Below is what now exists. Again, these 3 lines were entered automatically by something.
    /home/user_name/shared1 192.168.0.0/24(rw,no_subtree_check,async,nohide,anongid=560)
    /home/user_name/shared2 *(async,all_squash)
    /home/user_name/shared3 *(async,all_squash)


    /etc/samba/smb.conf
    ===================
    Below are the lines that touched...

    under [global] heading ....
    workgroup = MYWG
    netbios name = computer_name (however, afterwards I removed this line and everything worked fine without it. My current smb.conf does not have this entry.)
    server string = my_computer_description
    name resolve order = hosts lmhosts wins bcast


    NOTE: that each samba share gets its own heading and these were generated automatically by something. I don't which software install is responsible for creating the following entries.
    But note that these simple samba share definitions work just fine on my home network. I'm sure they're not very secure, but it works.

    [share1]
    path= /home/user/share1
    guest ok = yes

    [share2]
    path= /home/user/share2
    guest ok = yes

    [share3]
    path= /home/user/share3
    guest ok = yes


    ================
    Mounting Shares
    ================
    NOTE: destination folder must exist before attempting to mount.

    To create a folder...
    sudo mkdir /mnt/folder_name (create folder)
    sudo chmod 0775 /mnt/folder_name (you don't have to do this. this command is optional, which sets permissions)

    NOTE: Manually mounting is a temporary situation. Once the computer is turned off your mounts disappear. You can automate this process by editing your system file /etc/fstab

    1. Mounting Linux filesystem ext3 or ext4
    mount -t nfs PC-9.04-docs.local:/home/user/Documents /mnt/PC-9.04-docs <enter>
    2. Mounting Windows filesystem (ntfs) from a linux PC (not from a windows based PC)
    mount -t cifs //remote_computer_name_PC-9.04/home/user_name/sharable_folder_full_pathname /local_mnt/tmp -o user=your_local_username,password=your_local_passw ord <enter>

    ref: http://kubuntuforums.net/forums/inde...1064#msg241064
Working...
X