Years ago, I mounted all my remote drives via lines such as this in fstab:
where //compaq/compaqAll was the name of a networked share (computer name/share name, both as defined on the shared computer) and /mnt/compaqAll was the mount point on the local computer.
I don't remember exactly when, but at some point along the way this method stopped working for me. I switched to fstab entries like:
where //192.168.2.104/compaqAll refers to the shared computer's IP address and share name.
It works...except when my IP addresses change. Like when the power goes out, or the DSL modem gets rebooted. Then I have to sort out which computers now have which IP addresses and change all my fstabs.
This is definitely NOT a big issue--or I would've spent some time before now looking for a solution. But it's an annoyance I'd like to get rid of. Does anyone know why my original syntax no longer works?
I know I could set static IP addresses on each box, but I'd just like to know why the old syntax doesn't work.
Code:
//compaq/compaqAll /mnt/compaqAll cifs username=[USERNAME],password=[PASSWORD],domain=workgroup 0 0
I don't remember exactly when, but at some point along the way this method stopped working for me. I switched to fstab entries like:
Code:
//192.168.2.104/compaqAll /mnt/compaq cifs rw,username=[USERNAME],password=[PASSWORD],file_mode=0770,dir_mode=0770,auto 0 0
It works...except when my IP addresses change. Like when the power goes out, or the DSL modem gets rebooted. Then I have to sort out which computers now have which IP addresses and change all my fstabs.
This is definitely NOT a big issue--or I would've spent some time before now looking for a solution. But it's an annoyance I'd like to get rid of. Does anyone know why my original syntax no longer works?
I know I could set static IP addresses on each box, but I'd just like to know why the old syntax doesn't work.
Comment