subarus
Group: Members
Posts: 75
Joined: May 2004 |
|
Posted: Jan. 09 2005,07:31 |
|
Got It !! Samba is fully working (as a file server, NOT file transfer) from DSL to DSL. It has been working from Windows tp DSL out-of-the-box, will check if it works from DSL to Windows later. I am writting this down so I can retrace my steps to find out what actually went on.
I dont know exactly what I did.. but these are chronological events as far as I could remember. Dont know which of these steps or combo of steps did it though:
1) Thought that since both client and server has the same name (box) since i run livecd, I changed the client name to 'T41' user@T41:~# smbtree -U% ---> got nothing from server 2) on server: start to laboriously uncommenting each damn line like an idiot server:/opt/samba/smb.conf workgroup = WORKGROUP server string = Samba Server host allow = <something> smbtree at client see NOTHING 3) edit more lines in smb.conf security=share client sees Nothing 4) socket options = TCP+NODELAY local master = no os level =20 domain master = yes client sees nothing 5) preferred master = yes wins support = yes nothing all these while smbclient -L localhost sees all shares smbclient -L server-ip sees all shares but linneighborhood and smbtree cant see it 6) At this point I spend like 2.5 days and was pretty pissed. Started to readup Knoppix docs , readup slackware docs, redhat docs; consider changing distro again reluctantly. realised that other distros kept refering to 'samba start, smb start' but about 9 pages down google search I saw smbd -D; nmbd -D command 7) on server side : kill -9 `pidof smbd` smbd -D; nmbd -D LO and BEHOLD; smbtree on client finally sees the server refresh on linneighborhood sees nothing; but add command finally sees the server, mount it and did some sanity check, everything automagically works !!!
|