Author Topic: HOWTO: Network Neighborhood (My Network) in VL 6 Standard/Light  (Read 8717 times)


  • Vectorian
  • ****
  • Posts: 1132
HOWTO: Network Neighborhood (My Network) in VL 6 Standard/Light
« on: September 05, 2009, 11:58:55 pm »
(Thunar, PCManFM, Xfe, mc, console, etc)

These instructions will assist you in creating static network browsing capabilities similar to a "Network Neighborhood" or "My Network" showing workgroups/domains and their associated network systems.

Note: You will need nmblookup installed in order to build fusesmb. This utility is found in the samba package for VL6 Standard, and in the 'windows_networking' package for VL6 Light.

Note2: If you're using KDE or konqueror, you probably won't need this. But, then again, this may provide a more static network location similar to what you're used to in Windows.

Note3: When I wrote this I had not seen toothandnails HOWTO which also describes the process in very good detail. Please refer to for additional details and perspective. Sometimes reading the same thing written differently helps "paint the picture" even more clearly. Thanks ToothAndNails!!

SECTION 1: This section deals with getting your linux-to-windows browsing capabilities configured so you can easily browse your networked Windows systems.

1.Install fusesmb
   a. wget -c
   b. installpkg fusesmb-0.8.7-i586-1vl59.tlz

      Alternative to above steps (build the fusesmb package using source and slackbuild):
      a. wget -c
      b. tar -xvvzf fusesmb.tar.gz
      c. cd fusesmb
      d. wget -c
      e. ./fusesmb.SlackBuild
      f. installpkg /tmp/fusesmb-0.8.7-i486-1_SBo.tgz
      g. mv /tmp/fusesmb-0.8.7-i486-1_SBo.tgz /root

2. Create a 'fuse' group if one does not already exist.
   a. Group id 106 worked for me, but check your /etc/group file for the highest number less than 500 and
       increment one number higher. The following may help you quickly see all 3 digit group numbers:
           grep "[:][[:digit:]]\{3\}[:]" /etc/group
   b. groupadd -g <group_id_number> fuse
3. Add users to the 'fuse' group that should have access to network.
   a. manually edit /etc/group and add usernames to the fuse group
   b. example) fuse:x:106:<username>,root
   a. usermod -G fuse <username> (don't use this command; this will remove your user from their current groups)
   b. do once for each user you want added to the 'fuse' group
4. Enable the 'fuse' service via vasm (vasm/service/srvset/initlevel/fuse checkbox)

1. Create a network mountpoint.
   a. mkdir ~/My_Network
2. Create default fusesmb.conf
   a. mkdir ~/.smb
   b. cp /usr/doc/fusesmb-0.8.7/fusesmb.conf.ex ~/.smb/fusesmb.conf
   c. chmod 600 ~/.smb/fusesmb.conf
3. Configure fusesmb.conf for your local network
   a. nano ~/.smb/fusesmb.conf
   b. Uncomment: [global]
   c. Uncomment and adjust: username=user (this is your windows username)
   d. Uncomment and adjust: password=totallysecret (this is your windows password)
   e. More examples on configuring this file are found in fusesmb.conf.
4. Make sure your network is up and running, and you are connected.
5. Start fusesmb with your network mountpoint path
   a. fusesmb ~/My_Network this point you are essentially done, however there are some useful tips/modifications below...

Browse/Bookmark using Thunar, PCManFM, Xfe, and simlar file managers:
1. Navigate to the network mountpoint and browse away.
2. (optional) Thunar/PCManFM: Drag the network mountpoint to left bar to make a permanent shortcut
3. (optional) Xfe: Browse to your network mountpoint, click on Bookmarks, choose Add Bookmark.
4. (optional) XFCE: Drag-and-drop your network mountpoint on your desktop for a desktop shortcut.

To unmount the network share if needed (as user):
1. fusermount -u ~/My_Network

1. Make sure you uncommented '[global]' in ~/.smb/fusesmb.conf.
2. Reboot your system and check the network mountpoint after a couple minutes of uptime.
3. If your network mountpoint is not available, make sure fusesmb is started.
   a. As user: fusesmb ~/My_Network
   b. Wait 7 minutes and check if your workgroup shows up in the mountpoint
4. If still no network, try fusesmb.cache.
   a. As user: fusesmb.cache
   b. Wait 7 minutes and check mountpoint again (refresh browser if needed)
5. If still no network, please reply to this post with details of troubles and the community will gladly try to help.

SECTION 2: This section just sets your system up to autostart fusesmb upon reboot so your network mountpoint is active and ready once your system is up and running.

To make your new network mountpoint autostart on reboot:
1. edit /etc/rc.d/rc.local
   a. As root, add the following to end of file and save:
       su - <username> -c "fusesmb ~/My_Network"

SECTION 3: This section deals with configuring your linux system for easy windows-to-linux browsing. This section touches on configuring your server message block configuration file (/etc/samba/smb.conf), however since this file is highly configurable this is IN NO WAY a thorough description. I'll only touch on the tip of the tip of the iceberg - just enough to allow windows to "see" a networked linux system.

1. Edit your /etc/samba/smb.conf
   a. Change 'workgroup' to match your local workgroup (you could stop with this step if you want).
   b. Add linux shares towards end of file (you could stop with this step if you want).
   c. More generally, set smb.conf according to your needs.
2. Enable the 'samba' service (vasm/service/initlevel/samba checkbox)
3. Add your linux user to samba
   a. smbpasswd -a username
   b. set password when prompted (this can be different than your linux password)
   c. these are the credentials you'll use when accessing your system from a Windows system

I've tested this on VectorLinux 6.0 Standard Gold and Light, and can confirm that it works and is REALLY cool - talk about easy network browsing!! I hope you find this as useful as I have.

« Last Edit: February 05, 2010, 02:46:12 pm by newt »