Public folder not so public

Linux2

/etc/nsswitch.conf

Example configuration of GNU Name Service Switch functionality.

If you have the glibc-doc-reference' and info’ packages installed, try:

`info libc “Name Service Switch”’ for information about this file.

passwd: compat
group: compat
shadow: compat

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis

Not sure if this means anything but if this as a DNS issue I’m using opendns but I’m unable to specify that in my router (Superhub)

I think the problem is related to an issue I saw before on BkS’s network where his Virgin Superhub didn’t seem to be acting as a DNS server for the local network, so network discovery wasn’t possible.

it is however easy enough to enter:
smb://192.168.2.x
in the pcmanfm address bar, then bookmark the folder.

Have you got both PC’s using the superhubs IP as the DNS server for the IPv4 connections in NetworkManager ?
(and preferably set IPv6 to “Ignore”)

Not sure if this means anything but if this as a DNS issue I'm using opendns but I'm unable to specify that in my router (Superhub)

YES that’s probably the problem, if you’ve set the opendns server in NetworkManager, openDNS can’t resolve your LOCAL hostnames.

it is however easy enough to enter: smb://192.168.2.x

That seems easy enough I’ll just do that

Have you got both PC's using the superhubs IP as the DNS server for the IPv4 connections in NetworkManager ? (and preferably set IPv6 to "Ignore")

No I have them set to opendns 208.67.222.222 & 208.67.220.220 I felt I had a faster connection that way but it may have been imaginary

IPv6 is set to ignore on both PC’s

YES that's probably the problem, if you've set the opendns server in NetworkManager, openDNS can't resolve your LOCAL hostnames.

Ok should i set it back to router IP ?

Give it a whirl :slight_smile: … you can always change it back … you may have to reboot the PC’s after the change before local network discovery works

As you are using static IP addresses, you could help out by adding the entry into your /etc/hosts file
on Linux2
192.168.2.2 Linux1
and on Linux1:
192.168.2.3 Linux2

That would help in using hostnames instead of IP’s but I doubt if it will help with network discovery

OK i reverted back to router IP and rebooted although that sorted the local network discovery issue it was painfully slow and lost internet connection on both PC’s, so I’ve put them both back to opendns and the internet is fine again

As you are using static IP addresses, you could help out by adding the entry into your /etc/hosts file on Linux2 192.168.2.2 Linux1 and on Linux1: 192.168.2.3 Linux2

Ok I’ll give that a try and let you know how it goes but I’ve had enough for tonight guys

Thanks for your help so far it’s much appreciated

Graeme

To test do this before and after the modifications:

nmblookup -R workgroup

or

nmblookup -R WORKGROUP

As I said, there’s nothing stopping you from bookmarking them after browsing to them by IP

I mean, a bookmark is easier to access than having to go to Go>Network Drives anyway :wink:

Yeah bookmarking is the simple solution in Peppermint, not so simple in Linux Lite which has the thunar file manager as there is no bookmark option in the taskbar, I can add any local folder to the side pane by right clicking>create shortcut>add to side pane, but as I’m already inside the folder I cant do that, if I mount the share (ie open it) I can view the folder in mounted volumes but when I right click on it there’s no option to add to side pane I do have the option to add to desktop but if I select that a message pops up telling me it can’t create the shortcut because it’s not a local file

Is there any specific reason why you are using SAMBA for shared drives ???

Is there any specific reason why you are using SAMBA for shared drives

it’s the only way i know

In Thunar (1.6.3) after mounting the share, navigate to where it displays the folders.
Then right click on a folder → Send to → Side Pane (Create Shortcut)
This should add a shortcut to the side pane in the format:
smb:////
On my system this survives reboot

So what was wrong with this ??
http://linuxforums.org.uk/index.php?topic=11105.0

In Thunar (1.6.3) after mounting the share, navigate to where it displays the folders. Then right click on a folder -> Send to -> Side Pane (Create Shortcut) This should add a shortcut to the side pane in the format: smb://// On my system this survives reboot

I’m not sure what version of thunrar I’m using but if I mount the share the go to that folder & right click>send to I only get 2 options “Desktop (create link)” or “80 GB filesystem” (which is a windows partition) i don’t get any option to send to side pane and even if I choose send to desktop an error message pops up saying “could not create symbolic link to “public on 192.168.2.2.mount” because it is not a local file”

Install pcmanfm :wink: … or just go the whole hog…

Have a look in the help>about menu item of Thunar for the version.

[EDIT]

Doesn’t Thunar allow you to drag and drop folders into the left hand panel to create shortcuts ?

So what was wrong with this ?? http://linuxforums.org.uk/index.php?topic=11105.0

If I fully understood the implications of it I could answer your question ie how would it affect the mounted shares I already have on my NAS, how easy is it to add new shares etc.

Sharing between computers is not that important to me because I store all my data on a NAS so what is important is that all PC,/Laptops etc can share with the NAS but there are instances when it would be helpful to share between 2 PC’s in particular and that’s why I was attempting to do this

But I’m not against the idea if it has benefits so long as you or someone is prepared to help me because I don’t think it’s something I could do myself

Graeme