Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-15-2004, 06:05 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 19

Rep: Reputation: 0
Question Samba Troubles

I've been trying to get Samba running all day with no luck. I can't see the server from my Windows pc, but I can't even see it from my Linux box either.

When I run the command smbclient //localhost/backup -U jesse, I get the error, "timeout connecting to, timeout connecting to". I have made sure that smb is started, and smbd and nmbd as well. I can smbclient to my Windows pc, and that seems to be working just fine.

There is nothing in the log files that would indicate the problem, just the copyright notice at the start of the file.. Any ideas what I can look at?

Old 11-15-2004, 09:11 PM   #2
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
It is because you have misconfigured samba. The IP address is the loopback device and is not used for network connect.

Try giving your Network Interface Device (Network Card) an IP address like or something similar and then reconfigure Samba.
Old 11-16-2004, 06:24 AM   #3
LQ Newbie
Registered: Nov 2004
Posts: 19

Original Poster
Rep: Reputation: 0
No, I haven't given my NIC an ip address of I've actually got an address of I'm using localhost ( to test with. It doesn't matter if I try to connect to samba using risa (my machine's name), localhost (, or, the results are the same, I won't let me in. If I do a smbclient //risa/backup, or smbclient //, then I get an "error connecting to (Invalid Argument)". That is a different error message than the localhost one. Perhaps I won't be able to use locahost for this. At any rate, I still can't connect.

Old 11-16-2004, 10:28 AM   #4
Registered: Jun 2004
Distribution: Slack
Posts: 214

Rep: Reputation: 30
I was bending my head for ages on Samba. Have you lowered the firewall, as mine was blocking everything even smbclient attempts.

service iptables stop

usually puts it down.
Old 11-16-2004, 03:41 PM   #5
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
Jesse, you are trying to mount a XP drive right?

first lets assume that you have two computers, one name harris and the other harry
Harris has an ip of
Harry has an ip of

Harris is an Linux box and Harry is an windows box.

In harris host file /etc/hosts localhost harry

Then go to cl and ping harry and you should get replys. Once this is done then I will help you with the exact command of mount -t smbfs -o username=bob,password=bob //harry/backup /mnt/backup

This should work fine. Let me know
Also you could post your smb.conf file for me to look at it. or you could testparm it.

Last edited by phatboyz; 11-16-2004 at 03:43 PM.


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
Troubles with samba butler Linux - Software 5 11-30-2004 11:32 PM
samba DC troubles alec77 Linux - Networking 2 07-22-2004 06:51 AM
Samba 3.0.2a troubles digitalgravy Linux - Networking 3 05-12-2004 05:27 PM
Samba troubles... Grim Reaper Linux - Software 13 04-01-2004 07:11 PM
samba client troubles MThunter Linux - Networking 8 07-07-2003 01:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:37 PM.

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