Networking :: Samba troubles



I'm trying to network win98 and DSL machines using Samba. The DSL machine can access the 98 machine but the 98 machine doesn't see the DSL machine. LinNeighborhood sees the group, machine and shared directory while Network Neighborhood just sees itself.

How do I get my windows 98 machine to see my DSL machine?

I have not worked with a windows 98 machine and samba so I am not sure of what is needed on the windows machine.  But do you have the smb.conf file setup on the DSL box?
[global]
security = share
workgroup = Work
netbios name = abcd
encrypt passwords = yes

[MP3]
comment = everyone
path = /mnt/hdb2/MP3s
browseable = yes
public = yes
readonly = no

This is the most I could make out of what I've found online. I've also been using the smbd -D command (that returns "segmentation fault")  and nmbd - D.

Quote

This is the most I could make out of what I've found online. I've also been using the smbd -D command (that returns "segmentation fault")  and nmbd - D.


The segmentation fault is not good.  Try doing

Code Sample

root@ruby:/opt/samba# ps ax | grep nmbd
 987 ?        S      0:36 /usr/sbin/nmbd start
6379 pts/1    S      0:00 grep nmbd
root@ruby:/opt/samba# ps ax |grep smbd
 985 ?        S      0:01 /usr/sbin/smbd start
5558 ?        S      0:00 /usr/sbin/smbd start
6384 pts/1    S      0:00 grep smbd
root@ruby:/opt/samba#


Not sure why I have two instances of smbd running but I it runs around the clock so I am not going to play with it.  You should see both smbd and nmbd running.  I start them with

Code Sample

# samba
/usr/sbin/smbd start
/usr/sbin/nmbd start


Not sure if that makes a difference but until you get smbd running your windows machines will not see the DSL share(s).  Also when you make a change to your smb.conf file (which looks ok as is) and stop and restart smbd, do not expect your windows machines to see it immediately.  I am guessing but I believe that the samba information is updated periodicly and it can take a minute or two before the change is reflected through out your network.

I had the same problem and got the win to connect to the dsl by entering in the terminal...

sudo su
smbd restart &
nmbd restart &

What file would these commands be entered into to make the restart automatic, and what is the exact syntax.

Next Page...
original here.