ShareFS DIscs
Pages: 1 2
Chris Hall (132) 3554 posts |
How does ShareFS recognise remote computers that have a shared disc so that it can add them to Resources:$.Discs? I have several computers on a network, including Iyonix and VRPC (both of which have a drive that is shared) but my Panda can only see one and my Pi can only see the other. If I swop over their network connections (Panda and Pi), they can still only see the share they saw before. There must be a simple solution!! |
Dave Higton (1515) 3526 posts |
I think ShareFS advertises discs via broadcast. Transmission and reception of broadcast can commonly be affected by two things:
|
Chris Hall (132) 3554 posts |
Many thanks. I can reject both of these as in each case the fact that a drive is shared is received, just not by both computers. |
Steve Pampling (1551) 8170 posts |
Actually, until you have checked both you can’t come to that conclusion particularly if you have a firewall rule that allows traffic from one address but not another. 1 That may be a small porky |
Chris Hall (132) 3554 posts |
I don’t think that either Panda or Pi have a firewall. |
Martin Avison (27) 1494 posts |
If A can see B, and C can see D, is it possible that A&B have a different netmask to C&D? Would this give the observed symptoms? As they are all RISC OS machines surely none are running a firewall? |
Steve Pampling (1551) 8170 posts |
Yes. The symptoms are typical of that, however one would assume1 that Chris had actually checked that aspect.
Wrong :) One is VRPC and therefore on either MAC or Windows where firewalls come into play. 1 This does of course break one of my rules: “Never assume”. This afternoon was an example of checking to make sure that a fully trained PET scanner engineer hadn’t configured a default gateway on more than one NIC and improving things no end by removing the erroneous entry. |
Chris Johnson (125) 825 posts |
Afraid I have nothing helpful to add. other than that I have an Iyonix, PandaRO, BB, each with two drives shared, and an RaPi sharing it’s single drive, and I have never had a problem with any of the machines not seeing any of the other shares. |
Chris Evans (457) 1614 posts |
Dave Symes has reported this week in the comp.sys.acorn.? newsgroup what seems to be exactly the same problem. Following many suggestions no solution has been found:-( |
Colin (478) 2433 posts |
Have you tried setting sharefswindow 1 on the iyonix and vrpc I found I needed it on the other machines – ie not the one I thought I had a problem with. |
Raik (463) 2061 posts |
The only “problem” I have, if I share a device “full” (r/w) nit all directorys are visible via ShareFS. It looks like (not sure) the access rights of the files inside are the reason. If any protected files inside, the Dir is not visible. I have unprotect the content of a unvisible folder complete and it was visible after refresh. |
Chris Hall (132) 3554 posts |
I have set ShareFSWindow 1 { > null: } on both VRPC and Iyonix [in Choices.Tasks]. My Iyonix has a static IP address and a netmask (192.168.1.12 and 255.255.255.0), all addresses are 192.168.1.x and the other machines (VRPC, Pi and Panda) have no netmask as they use DHCP. Hope this helps. A can see B and C can see D and this remains the same even if the network connections to A and C are swopped over. I have a switch not a hub so broadcast messages might get suppressed unless they are addressed to a specific machine? Is there a way of telling Resources:Discs about a specific external machine other than receiving a broadcast message? There must be because you can ‘Save Choices’ and the disc icon will be there on start up before it receives a broadcast message and will get greyed out if it doesn’t respond when asked… I can’t find where these choices are stored. |
Colin (478) 2433 posts |
I suppose you have tried having it set on all computers? |
Sprow (202) 1158 posts |
Of course they have netmasks, but just not ones assigned by you, so they could well be wrong. I use a 10.×.×.x address range here, and my old router (before it overheated) didn’t have an option to set the netmask to 255.0.0.0 in the drop down menu, which led to mismatches where a machine set the netmask from the class type and others didn’t. Use ifconfig eb0replacing eb0 with whatever NIC you have, to see what got assigned, or a vaguely recent InetSetup which has the ‘Status’ button in the interfaces dialogue. |
Chris Hall (132) 3554 posts |
Armini can see VRPC share and Panda can see Iyonix share So it looks like computers with static Ip can only see other computers with static IP and computers with DHCP can only see other computers with DHCP. Weird. I have now set the netmask for Iyonix and Panda to 255.255.0.0 and (other than generating extra unwanted broadcast traffic) all is well. Many thanks.
I suppose you have tried having it set on all computers? No. |
Wouter Rademaker (458) 197 posts |
Not weird, but as configured: The machines with the same netmasks and broadcast adresses can work together. 0xffff0000 = 255.255.0.0 |
Chris Hall (132) 3554 posts |
It’s all very well for those who understand this – there is very little documentation. The A9home would not work with too much broadcast traffic requiring switches rather than hubs so I assumed that netmask just cut out unwanted broadcasts specifying a 255 where that element of the address was constant. Anyway thanks for the help it now works OK. I just wish I had asked a year ago!! |
Steve Pampling (1551) 8170 posts |
Well you could look at the wikipedia item but I think this is better: http://www.tcpipguide.com/free/t_IPDefaultSubnetMasksForAddressClassesABandC.htm
Which sort of takes us back to the start of the thread where Dave asked whether the subnet masks were the same on all machines and whether there was a firewall. Then I commented about it being best to check. As Wouter has pointed out the broadcast address for one group is 192.168.255.255 and the other is 192.168.1.255. Simply put the mask does what is says to the masked element of the address so the effective address “seen” is 255.255 in one case and 255 in the other. |
Chris Evans (457) 1614 posts |
Chris: Re IfConfig: kvm_nlist(): Unimplemented SWI ipconfig /all It should give you a fuller list of PCs address, mask etc which presumably is the what VRPC will be using. |
Dave Symes (425) 156 posts |
Chris Hall Wrote: On my thread in comp.sys.networking “ShareFS (Was Re:HostFS)” Tony Moore posted a solution today that completely solved my ShareFS problem. A RPCemu install on one machine that couldn’t be seen on the LAN by any of the other RO installs on other machines. After implementing Tony’s solution on both the RPCEmu and VRPC installs, all RO machine on the LAN can now see and communicate with each other via ShareFS. Also worth noting, the VRPC install Fay has on her Win PC couldn’t be seen by any other RO install, but again using Tony’s solution, now it can. |
Dave Symes (425) 156 posts |
Apologies, a bit missing from my posting. It should have been… “comp.sys.acorn.networking” |
Steve Pampling (1551) 8170 posts |
It would be nice if the info for both solutions (they were different faults1) was available in the same place. I’ve added a comment about subnet masks needing to be the same to the c.s.a.n thread. 1 Chris had an issue with differing subnet masks which effectively made the four machines sit in two different networks (easily done) and IUC you needed a sharefswindow setting modification. |
Chris Hall (132) 3554 posts |
My original question has not been answered fully. ShareFS will show a remote computer in Resources:$.Discs if it receives a broadcast message from the remote computer. After this you can do a ‘Save Mounts’ and the icon for the remote computer will always be there, greyed out if it doesn’t receive a broadcast message or ‘disappears’. How do you put a remote computer that you know exists, but is currently switched off, into the place whewre ‘save mounts’ would expect to put it so that it will appear, albeit greyed out? |
Chris Evans (457) 1614 posts |
I’d be very surprised if that is possible as such but presumably could be hacked somehow, but why not just turn the remote system on, set it and turn if off? |
Andrew Conroy (370) 740 posts |
Bytes 80-106 in the CMOS are for Access and hold details of saved Shares, so theoretically you could hand-edit your CMOS settings (remember to change the final check digit too) to include the name of the share you wished to add. Presumably OS_Byte 162 would do the job for you. |
Pages: 1 2