Here is the issue. I am running Kamikaze 7.09 (2.4 kernel) on WRT54G (v4) with the"cifs" module.
I go to win2k3, and setup a share there, but keep the "File and Printer sharing for MS Networks" disabled.
I try to mount on WRT54G, command similar to:
mount -t cifs //my-pc/share /mnt/point -o unc=\\\\my-pc\\share,ip=192.168.1.100,user=john,pass=doe
And the mount hangs (Ctrl-C to exit).
I go enable "File and Printer sharing for MS Networks", try again. It hangs again (Ctrl-C to exit).
I go to Microsoft firewall (it is "on"), and enable exceptions for "File and Printer sharing".
Now I try to mount, and it succeeds! If I do "umount" and "mount" again, it succeeds again.
I reboot the router, and try the mount. It goes through, but does not mount anything.
I disable "File and Printer sharing for MS Networks" and remove firewall exceptions for "File and Printer sharing", reboot the router, and try the mount. It goes through quickly and does not mount anything.
Only after I reboot Windows 2003, and keep "File and Printer sharing for MS Networks" off, then if I try to mount on WRT, it hangs (good sign!). Then I enable "File and Printer sharing for MS Networks" and make a firewall exception again, and it works.
So there seem to be some tricky interplay between WRT and Windows file sharing going on ...