LinuxQuestions.org
Visit Jeremy's Blog.
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 07-02-2003, 12:15 PM   #1
DingoDave
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Rep: Reputation: 0
*another* samba client related question


I'm new to samba and am trying to learn. I'm not sure what the problem is. I have a share called linux on my drive. Here's the windows side:
H:\>net view 192.168.1.1
Shared resources at 192.168.1.1
Share name Type Used as Comment
-----------------------------------
Breifcase Disk
linux Disk
The command completed successfully.
H:\>

I can do a start-run \\192.168.1.1 and I see the share.

I jump over to my Linux box (RH9) to connect. Here's the output:

# rpm -q samba-client
samba-client-2.2.7a-7.9.0
#
# smbmount //192.168.1.1/linux$ /mnt/xpbox/
Error connecting to 192.168.1.1 (Connection refused)
1883: Connection to 192.168.1.1 failed
SMB connection failed
#

It seems like it's trying, but it won't connect. I then tried this:
I created a user on the windows box called 'linuxbox' with a password of password. I then typed in:

# mount -t smbfs -o username=linuxbox,password=password //192.168.1.1/linux /mnt/xpbox
Error connecting to 192.168.1.1 (Connection refused)
1890: Connection to 192.168.1.1 failed
SMB connection failed
#


Am I missing something simple? What's the next step in trouble-shooting this? Any ideas?

All help would be appreciated.

Thanks,
Dave
 
Old 07-02-2003, 01:34 PM   #2
bobr
Member
 
Registered: Jun 2003
Distribution: MANDRAKE-REDHAT
Posts: 70

Rep: Reputation: 15
try this first- on linux edit /etc/lmhosts with windows IP and computer name, then try same thing in /etc/hosts
 
Old 07-03-2003, 12:58 PM   #3
DingoDave
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I already made the entry in the /etc/hosts. Pessimistically, I went ahead and edited the lmhosts file as well (in /etc/samba/lmhosts). I even copied it to /etc, but nogo. I appreciate the suggestion. Anything else you can think of? Especially related with the Micr$oft box?

It seems to me that this has to be a XP box issue, but it seems like if it is, others should have run into it as well.

I went ahead and configured samba on my linux host and I can connect to its share without problem from the xp box, but I cannot connect to the smb/cifs share on the XP box from the Linux host.

Any other ideas?
 
Old 07-03-2003, 02:19 PM   #4
bobr
Member
 
Registered: Jun 2003
Distribution: MANDRAKE-REDHAT
Posts: 70

Rep: Reputation: 15
reset all defaults in smb.conf - configure both machines to be in the same workgroup - make sure you have something shared in XP - run this command ]smbclient -L (windos name or IP) - when asked for password press <enter> - what happens?
 
  


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
samba related problem-------- pal Linux - Newbie 4 03-13-2005 03:31 AM
Samba: W2K client OK, XP client hangs Tim Green Linux - Networking 4 08-10-2004 01:55 AM
Some newbie questions related to Oracle client installation. Please help! deanbrown3d Linux - Newbie 7 06-29-2004 12:23 PM
stupid samba question, how can i see all worgroup client connected? bit7 Linux - Software 1 01-06-2004 01:53 AM
Stupid Question #1 - Samba Client baldy3105 Linux - Newbie 8 01-14-2003 06:50 AM

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

All times are GMT -5. The time now is 02:06 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