Sorry for cross-posting but I posted it in a wrong newsgroup. Clicked
a wrong link.
I've got a very weird network problem. I've got Ubuntu installed on my
laptop and desktop at home. The desktop is also dual-boot with Windows
XP. Until recently I have not got any serious problems with my home
network. I am using fusesmb to browse samba shares. However a couple
weeks ago I had a problem with my ADSL line and after that I start
having a problem with my network.
In a nutshell when I try to connect to my desktop from the laptop
using its name, it is trying to connect to a completely wrong IP
address and obviously fails. I can connect to IP address though. I do
not have this problem on WIndows: I can connect to my laptop from my
desktop if the latter is running WinXP.
Any help will be really appreciated.
Here comes some console output:
findsmb
*=DMB
+=LMB
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.11.2 LAPTOP [WORKGROUP] [Unix] [Samba 3.0.24]
192.168.11.4 DESKTOP +[WORKGROUP] [Unix] [Samba 3.0.24]
~$ sudo mount -t smbfs -o
username=myname,password=mypass,uid=`whoami`,gid=` whoami`,fmask=000,dmask=000 //
DESKTOP/myname /home/`whoami`/network
Password:
timeout connecting to 212.68.205.86:445
Error connecting to 212.68.205.86 (Connection refused)
8187: Connection to DESKTOP failed
SMB connection failed
~$ ping DESKTOP
PING DESKTOP (212.68.205.66) 56(84) bytes of data.
>From 212.68.205.58 icmp_seq=1 Destination Host Unreachable
my resolv.conf:
nameserver 62.24.199.13
nameserver 62.24.199.23
$ dig DESKTOP
; <<>> DiG 9.3.4 <<>> DESKTOP
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4233
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;DESKTOP. IN A
;; ANSWER SECTION:
DESKTOP. 10000 IN A 212.68.205.86
DESKTOP. 10000 IN TXT "NXDOMAIN"
;; Query time: 40 msec
;; SERVER: 62.24.199.13#53(62.24.199.13)
;; WHEN: Wed Aug 1 18:57:36 2007
;; MSG SIZE rcvd: 60
~$ sudo tcpdump -vn port 53
Password:
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size
96 bytes
18:55:05.630484 IP (tos 0x0, ttl 64, id 25948, offset 0, flags [DF],
proto: UDP (17), length: 51) 192.168.11.2.32782 > 62.24.199.13.53:
39175+ A? DESKTOP. (23)
18:55:05.665483 IP (tos 0x0, ttl 57, id 42944, offset 0, flags [DF],
proto: UDP (17), length: 88) 62.24.199.13.53 > 192.168.11.2.32782:
39175 2/0/0 DESKTOP. A 212.68.205.86, DESKTOP. TXT[|domain]
18:55:14.417913 IP (tos 0x0, ttl 64, id 34747, offset 0, flags [DF],
proto: UDP (17), length: 51) 192.168.11.2.32782 > 62.24.199.13.53:
62887+ A? DESKTOP. (23)
18:55:14.457056 IP (tos 0x0, ttl 57, id 45507, offset 0, flags [DF],
proto: UDP (17), length: 88) 62.24.199.13.53 > 192.168.11.2.32782:
62887 2/0/0 DESKTOP. A 212.68.205.86, DESKTOP. TXT[|domain]
18:55:23.206922 IP (tos 0x0, ttl 64, id 43538, offset 0, flags [DF],
proto: UDP (17), length: 51) 192.168.11.2.32782 > 62.24.199.13.53:
4970+ A? DESKTOP. (23)
18:55:23.247695 IP (tos 0x0, ttl 57, id 47960, offset 0, flags [DF],
proto: UDP (17), length: 88) 62.24.199.13.53 > 192.168.11.2.32782:
4970 2/0/0 DESKTOP. A 212.68.205.86, DESKTOP. TXT[|domain]