The IP address used in the script is that of the Windows PC offering the network share.
If the address of that PC is fixed then you can use the script even if the tablet's is obtained by DHCP.
If the PC also has a dynamic address then you'll have to manually issue the mount command line using the current address.
The thing is, we're not using full Samba here, so there is no Netbios name resolution that could abstract the IP address to a workgroup/domain name.
OK, thanks. I'll probably switch away from DHCP then, once I've got everything set up in the new home.
Whats the process to dumping the script into /root
When I try to do this I don't have permission even though I have gainroot access.
Could you provide a detailed method to do so, please excuse my ignorance of linux. I have been cruising the net/ forums / newgroups etc on ways to do this. But unfortunetly I'm resorting to gravelling for the answer.
After you've run 'sudo gainroot' run 'su -' which'll put you in actual root mode (so far as I know). Try it then. (That'll load root's environment variables, etc)
OK, thanks. I'll probably switch away from DHCP then, once I've got everything set up in the new home.
It doesn't have to be all or nothing. You can very well use a fixed address on your main PC (outside the router's DHCP range) and keep DHCP for the rest (tablet, visiting laptops etc.). That's what I do at home.
It doesn't have to be all or nothing. You can very well use a fixed address on your main PC (outside the router's DHCP range) and keep DHCP for the rest (tablet, visiting laptops etc.). That's what I do at home.
Yes, I got that; your explanation was very clear. However, the network structure we have in mind doesn't so much have one dedicated server, than several server-like workstations. So going all fixed addresses might be better.
Has anyone figured out mounting another drive besides C? I get a permission denied error when I try to mount a drive - even though it is shared and can be used by other computers.
I've done various shares using smbbrowser. https://garage.maemo.org/projects/smbbrowser/
The program is unstable, but I was able to create the mount and it still worked even after the program crashed. This given I was using a local admin and password for the login. I'm not sure if you can get it to connect using a blank password.