LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-02-2003, 09:09 AM   #1
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
Can Someone Please Post "The Complete Idiots' guide to samba networking!' ???


Hi All,
before flaming me for putting a topic that has been asked before, please note that YES i DID search the forums extensively, AND yes, I did post similar topics before.

After fighting with Samba / Windows XP and trying zillions of things i STILL seem to not be able to communicate both ways between Windows XP and SuSE Linux Professional 8.1

BOTH firewalls have been switched off (SuSE side and XP side), and gues account privelages have been set up for Samba and on WIndows XP as well.

Can someone PLEASE post a complete IDIOT'S guiide to how to get basic file sharing to work Between Linux and Windows XP pro ??

Thanx
 
Old 04-02-2003, 09:47 AM   #2
jownas
LQ Newbie
 
Registered: Dec 2002
Posts: 12

Rep: Reputation: 0
I think this one is really good:
http://www.oreilly.com/catalog/samba...ook/index.html
 
Old 04-02-2003, 09:56 AM   #3
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I agree with jownas, the O'Reilly book on Samba is really good. You can read the online HTML version, or download the PDFs to view them offline, or just buy the book!
 
Old 04-02-2003, 12:00 PM   #4
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
That book rules. Well worth purchasing.
 
Old 04-02-2003, 12:32 PM   #5
aherm
Member
 
Registered: Jan 2003
Location: upNorth
Distribution: openSuSE/uBuntu
Posts: 410

Rep: Reputation: 30
Add webmin and linneighborhood to the mix ;-)

Get it here:
http://rpm.pbone.net
www.rpmseek.com


Have a lot of fun :-)
 
Old 04-02-2003, 01:48 PM   #6
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
Quote:

Error

We're sorry, the URL, http://www.oreilly.com/catalog/samba/chapt is either incorrect or no longer available.

If you followed this link from outside of one of our sites, we'd appreciate if you'd let the owner of the referring page know.

If you followed it from within our sites, or if you believe you received this message in error, please e-mail us and let us know that you got error 404 looking for http://www.oreilly.com/catalog/samba/chapt which was linked to on page [none] .
?????

I use LinNeighborhood, but I am having trouble establoshing the Linux machine on the network. I can't see the XP machine either!
 
Old 04-02-2003, 01:57 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try adding "er/book/index.html" to your URL
 
Old 04-03-2003, 01:06 PM   #8
aherm
Member
 
Registered: Jan 2003
Location: upNorth
Distribution: openSuSE/uBuntu
Posts: 410

Rep: Reputation: 30
Open your linneigborhood (Kicker -> Internet -> Tools -> LinNeighborhood)

Click on your LinNeighborhood's Option -> Preferences, fill:
Workgroup: yourworkgroup (mine is WORKGROUP = windows default)

If you click on the LinNeighborhood's pingu you should see under your 'linux' tree 'WORKGROUP' click on that. Voilla you will see your xp/windows machine names appeared (shared folders, printer, scanner, etc may not yet appeared).

Click again on any machine name and login as user on that machine with correct password. Voila: appears shared folder on that machine (right click and mount as root) and voilla suddenly you can e.g. copy or open the shared files ...

Install webmin and access it using your webbrowser: https://localhost:10000/

Don't forget to post your
/etc/samba/smb.conf
here for us to easily assist you

And check in /usr/share/doc/packages/samba/README.SuSE for the pecialities of the Samba package are described.


So good luck and have a lot more fun
 
Old 04-03-2003, 03:37 PM   #9
TexasDex
Member
 
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133

Rep: Reputation: 15
Try the path /usr/shared/swat/using_samba/index.html

On RH8 this is the table of contents for Robert Eckstein's eBook Using Samba It's a tad advanced at times, but it has a good basic section on setting it up at first.
 
Old 04-03-2003, 05:58 PM   #10
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
[b]Nope![/b]

Quote:

Open your linneigborhood (Kicker -> Internet -> Tools -> LinNeighborhood)

Click on your LinNeighborhood's Option -> Preferences, fill:
Workgroup: yourworkgroup (mine is WORKGROUP = windows default)

If you click on the LinNeighborhood's pingu you should see under your 'linux' tree 'WORKGROUP' click on that. Voilla you will see your xp/windows machine names appeared (shared folders, printer, scanner, etc may not yet appeared).

Click again on any machine name and login as user on that machine with correct password. Voila: appears shared folder on that machine (right click and mount as root) and voilla suddenly you can e.g. copy or open the shared files ...

Install webmin and access it using your webbrowser: https://localhost:10000/

Don't forget to post your
/etc/samba/smb.conf
here for us to easily assist you

And check in /usr/share/doc/packages/samba/README.SuSE for the pecialities of the Samba package are described.


So good luck and have a lot more fun


Nope! Tried That Already. That was one of the very first steps I tried to make sure I scan the right workgroup, and still nothing. By nothing I mean NO MACHINES nothing. This behaviour takes place under both Windows XP (where it fails to see Linux) and Linux (where it fails to see Windows XP).
Also Note: I tried Windows 2000 on this very same network and it works like a dream

Thanx for the replies everyone. Keep them coming!
 
Old 04-03-2003, 06:11 PM   #11
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
The Oreilly Link:

I tried the Orielly link. It has good directions for Win 95/98/NT. However these directions do NOT (repeat: DO NOT) work for Windows 2000/XP. In fact Windows 2000/XP looks different (A LOT different).


Can anyone please help?
 
Old 04-03-2003, 06:24 PM   #12
timfair
LQ Newbie
 
Registered: Nov 2002
Distribution: RedHat 8
Posts: 14

Rep: Reputation: 0
Smile WinXP NIC settings

Make sure that your advanced TCP/IP properties for your NIC in windoze XP is set to enable NetBIOS over TCP/IP under the WINS tab. Seems WinXP disables this by default. It has caused many headaches for me as it is very easy to overlook. I think they did this as a security measure but who knows .... Hope that helps
 
Old 04-04-2003, 02:26 AM   #13
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
Quote:
WinXP NIC settings ( post #12)

Make sure that your advanced TCP/IP properties for your NIC in windoze XP is set to enable NetBIOS over TCP/IP under the WINS tab. Seems WinXP disables this by default. It has caused many headaches for me as it is very easy to overlook. I think they did this as a security measure but who knows .... Hope that helps
Thanx for the reply timfair. I always make sure its enabled when i mess with the network. It IS enabled, adns still nothing. NOTE: both nmbd and smbd ARE running!!!

Code:
]
linux:/home/samer # rcsmb status
Checking for Samba classic SMB daemon                                                                                                                      running
linux:/home/samer # rcnmb status
Checking for Samba classic NMB daemon                                                                                                                      running
linux:/home/samer #
]
 
Old 04-04-2003, 04:00 AM   #14
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
OK, lets go back to basics.

1. Can you ping to and from both machines by IP address?
2. on win2000 type "nbtstat -A <linux_ip>", do you get the name table?
3. on linux type "nmblookup -A <windoze_ip>", do you get the name table?
4. now on win do "nbtstat -a <linux_name>", does it resolve by name?
5. similarly on linux do "nmblookup <windoze_name>", does it resolve the windoze IP address?

IF OK so far you have proven that basic IP and Netbios/tcp is working as it should.

6. Now on Linux do "smbclient -L <windoze_name>", hopefully it will ask you for a password, which you won't know yet. Hit return and it will deny you entry. Thats good! at least the server is actively denying you so comms is now good.

7. On win do "net view \\<linux name>" you may get pw asked for again or you may get a list of shares, either way its good.

See how far you get with this. If its all OK up to here then we need to sort out user names etc.
 
Old 04-04-2003, 04:42 AM   #15
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
OK just had fiddle with mine (as it were).

On 2000 set your guest account to no password. On linux you should now be able to do -

smbclient -L \\<win_name> -U guest

at password prompt, just hit return, you should get a share listing from your windoze box.

Now on Linux, add a user and make sure that user, password and smbuser password match the user and password that you logged onto windoze with. You can do it differently but windoze can be a bit funny about it.

now on windows do "net use * \\<linux_name>\<share>" and it should go.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Idiots guide to debian mcgworld Debian 3 02-19-2005 12:51 PM
Where can I find an idiots guide to dvd ripping? jimdaworm Linux - Software 4 06-04-2004 03:57 PM
idiots guide to CD burning needed woodywellhung Linux - Software 5 05-08-2004 07:12 PM
Idiots guide to DVB Nova-t Looking_Lost Linux - Hardware 4 04-26-2004 07:55 AM
Is there a complete guide for Postfix for idiots? ziggie216 Linux - Software 1 11-12-2003 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration