SAMBA query times out

A place to ask all newbie questions and not get flamed, though you will get beaten down if you post a newbieish question outside of these walls.
Post Reply
``26``
Newbie
Posts: 3
Joined: Sat Nov 25, 2006 11:41 pm

SAMBA query times out

Post by ``26`` »

hello, hopefully someone can help me solve this issue.
ok for starters I am sharing several drives on an XP machine that has the LAN IP of 192.168.0.27
My xbox_ip is 192.168.0.20
I looked in the hosts file on the xp machine and it just has

Code: Select all

127.0.0.1 localhost
/etc/hosts on the XboX shows

Code: Select all

127.0.0.1 localhost
192.168.0.20 xbox
When I expand SAMBA it sees the name of my network (WORKGROUP)
and the name of my PC (26-AMD64) but when I try to expand it there, it attempts to connect to a 69. IP address. which isn't even close to my LAN or WAN IPs.

Code: Select all

XFSAMBA> nmblookup -a 192.168.0.27
XFSAMBA> smbclient -N -L //26-AMD64
error connecting to 69.25.142.57:445
SMB Query Failed
Again, no idea why it is connecting to that IP addy. Please help if you know the answer.
I did use the search button and learned alot, but not the answer to this problem
dopey
Novice
Posts: 47
Joined: Tue Apr 18, 2006 11:24 pm

Post by dopey »

Personally I have never used the smbclient directly. I just use the mount command (which makes the properly samba calls). If your network hardware is setup correctly then it should work. Can you ping 192.168.15.27 from your Xbox? if so then the command "mount //26-AMD64/{ShareName} /mnt/{someplace} -t smbfs" (you will need to make the directory to mount to first) should mount your smb shares perfectly.
``26``
Newbie
Posts: 3
Joined: Sat Nov 25, 2006 11:41 pm

Post by ``26`` »

Code: Select all

Xbox ~ # mount //26-AMD64/F /mnt/fatx/f
timeout connecting to 69.25.142.57:445
timeout connecting to 69.25.142.57:139
Error connecting to 69.25.142.57 (Operation already in progress)
3693: Connection to 26-AMD64 failed
SMB connection failed

I'm really lost here =(
orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi »

add this to your /etc/hosts then try again.

Code: Select all

127.0.0.1 localhost
192.168.0.20 xbox
192.168.0.27 26-AMD64

your xbox is resolving 26-AMD64 to 69.25.142.57, which is your public IP address, not a Private IP (192.168.0.x)
Post Reply