SambaX - Restart Samba automatically when my IP address changes
Operating System: Mac OS X
When my IP address changes, Samba stops responding.
Restart Samba every time my IP address changes.
Use configd to restart Samba automatically when my IP address changes.
This worked at one point. I haven't verified this on Panther. Also, since Jaguar, Mac OS X has had support for Samba built in which kind of makes this discussion obsolete. I mostly keep this around for the kicker and configd banter./p>
I started noticing this problem when I began moving my laptop between networks at home and work. Initially, I would just use the Samba Sharing control panel to stop and then start the smbd and nmbd daemons. Unfortunately this is somewhat cumbersome and really isn't necessary. After a few weeks of poking around on and off, I have found a better solution.
This only works with version SambaX v2.2.2. The newest release from the Xamba project does not work with the method that I am about to describe. However, you can always roll back to the previous version. I assume at this point that you have installed SambaX and SSCT, and that you have at least one working configuration.