Samba not working properly
When I have my internet connection plugged in to the internet port on my Linksys WRT56G router I cannot mount Samba shares with either of my windowsXP computers. When I unplug the internet from the router I can mount both of the other computers and transfer files normally, both wirelessly and wired. What the heck is causing this issue? Everything else works normally wirelessly (TiVo, 360, Wii, notebook and HTPC) so this is the only issue I have, any help greatly appreciated.
Thanks!
Comments
Answer these questions, and we'll have a better idea of where you stand:
1) Are all machines assigned to the same Windows workgroup?
2) Is DHCP on in the router?
3) Are there any machines assigned to the DMZ in the router?
4) With the router WAN port unplugged, do all machines have 192.168.1.x IPs?
5) With the WAN port connected and all machines rebooted, do all machines still have 192.168.1.x IPs?
6) Can you see the Linux box from a Windows machine with ping?
7) Does issuing "sudo /etc/init.d/samba stop" on the box with the Samba share generate an error?
EDIT: Last I remember, Linksys routers use 1 as the default C (third) level IP address. As long as all the addresses start with 192.168, and the C block is the same on all computers, it doesn't matter what number it uses.
2. I am using static IP.
3. DMZ is disabled.
4. Yes, at least I think they do . . .
5. see #4.
6. The windows laptop succesfully pinged the Linux box with the internet connection plugged into the router.
7. Nope, it says "Stopping Samba daemons"
Wow, thanks for the quick and indepth response. I hope my replies make some kind of sense.
I have nothing useful to add to the real topic at hand, however.
If you're still having trouble, try using 192.168.196.D (or anything that's not 0, 1, 5, 10, 100 or 200; these are the most popular C blocks) for your IPs. If you don't have a dedicated line to your ISP and your neighbor sucks at setting up his/her home network, your PCs may be trying to resolve your IPs on someone else's network.