LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 09-27-2002, 10:09 AM   #1
Dallas Truax
LQ Newbie
 
Registered: Sep 2002
Location: My house
Distribution: Suse 7.2
Posts: 1

Rep: Reputation: 0
Samba on Suse 7.2


Ok, Question first, then info:
I'm trying to mount my windows 98 box from my suse box.
Can that be done? Can anyone tell me some things to check?
Its not working for me.
Here's what mount tells me:
...................
linux> mount -t smbfs -o username=admin,password= //windows/c /annie
2632: session request to WINDOWS failed (Called name not present)
2632: session request to *SMBSERVER failed (Called name not present)
SMB connection failed
............
/etc/hosts has 192.168.1.100 windows
............
the windows box has c drive shared.
............
the windows box has a login admin with no password
............
Oddly, ping 192.168.1.100 returns pings, I thought windows didn't ping... shows what I know.
............
I have a NeXT Station too, but it's on 192.168.1.101, for sure. It's also the DMZ machine to my router, running the web server.
 
Old 09-28-2002, 06:27 PM   #2
shariq
LQ Newbie
 
Registered: Jun 2002
Location: London, UK
Distribution: SuSe 8.0 Pro
Posts: 7

Rep: Reputation: 0
Hi,

Yep - it can be done.

Can you see the SuSE machine from windows (ie if you go to Network Neighbourhood)? If you can't, then perhaps Samba is not configured correctly.

Is Samba running? Type

Code:
smbclient -U% -L localhost
on the SuSE machine and you should get a list of servers on your domain/workgroup. I get this:

Code:
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.3a]

        Sharename      Type      Comment
        ---------      ----      -------
        Downloads      Disk      Downloads
        Multimedia     Disk      Multimedia
        Store          Disk      Store
        IPC$           IPC       IPC Service (Samba Server)
        ADMIN$         Disk      IPC Service (Samba Server)

        Server               Comment
        ---------            -------
        Linux_Machine          Samba Server
        Windows_Machine

        Workgroup            Master
        ---------            -------
        WORKGROUP            Linux_Machine
If you don't get anything similar, check the daemons are running:

Code:
shell> ps -A | grep 'mbd'
  776 ?        00:00:00 nmbd
  789 ?        00:00:00 smbd
if they're not, then start them

Code:
/usr/sbin/smbd
/usr/sbin/nmbd
Assuming Samba is running and you can see the SuSE machine from the Windows machine, then type in your mount string:

Code:
mount -t smbfs -o username="admin",password="" //windows/C /annie
I'm paranoid - hence the "". I'm also assuming you've got a folder called 'annie' in the root.

That should do the trick.

I'm probably stating the obvious here, but it's not the best idea in the world to have a blank admin password and to share the root of your C drive! Oh, if the above doesn't work, create a password for your 'admin' account and try that too.
 
  


Reply



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
Samba in SuSE 8.0? rodda Linux - Networking 1 02-12-2005 11:10 AM
Samba in Suse John_Emad Linux - Networking 9 01-28-2005 06:37 AM
Samba: /etc/samba/dhcp.conf on SuSE 9.1 sskt74 Linux - Networking 0 01-05-2005 05:03 AM
Samba and Suse 9.0 uranologist Linux - Networking 13 02-28-2004 06:16 PM
samba in suse 9.0 misophist Linux - Networking 1 12-18-2003 04:58 AM

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

All times are GMT -5. The time now is 02:19 PM.

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