Posts: 279
afab4
Joined: 17 Oct 2009
#1
This is a tip from m_pav that bears repeating witn a new release of antiX in the near future.
Mike says, and I quote:
I have always had some issues with finding and using network shares using any of the light DE's, but AntiX comes with smbnetfs installed by default.

Set rox-filer or pcmanfm to show hidden files, then create 2 folders in your /home, call one of them lan and the other one .smb. You can of course use any name you want instead of lan, just make sure you match it when typing in the console.

Copy 2 files, from your home folder with the names; smbnetfs.conf and smb.conf into the .smb folder. You can now reset rox or pcmanfm to hide the hidden files.

Open a console and issue the following command as a regular user

Code: Select all

smbnetfs lan


This should quickly scan your network and mount all available shares into the lan folder. Sometimes, you will appear to get nothing, even though you know you have shares available, but do not despair.

I prefer to use pcmanfm, so my instructions are related to that, rather than rox-filer. With the lan folder open, let's say the path in the address bar shows /home/demo/lan
If you know a share exists at a machine named mike, but it did not show up, simply type /mike at the end of the path displayed in the address bar, tap your enter key and presto, the shares show up, even though the machine named mike did not appear in the list of available shares. It is faster if you know the ip address, and it may even be possible to browse shares across a NAT connection that you wouldn't otherwise have access to.

If you, like me, have a need to always use shared folders, you can add smbnetfs lan & to the /icewm/startup file and your network shares will only be a short click away.

Have fun.

Mike P
I can't comment on the NAT info Mike gives but smbnetfs has never failed me yet. Of course pcmanfm is not on the menu any more so rox-filer or perhaps SpaceFM will have to suffice.
Also, you may have to add your user name to the fuse group to allow you to mount the shares. eg:

Code: Select all

root@E4300:/home/afab4
# adduser afab4 fuse