AW: [jcifs] unable to fetch workgroups under winxp

Michael B Allen mba2000 at ioplex.com
Fri Aug 8 09:50:46 EST 2003


> thx for your quick answer
>
>> >>nbtstat -a 192.168.0.1
>> >
>> > LAN-Verbindung:
>> > Knoten-IP-Adresse: [192.168.0.1] Bereichskennung: []
>> >
>> >       NetBIOS-Namentabelle des Remotecomputers
>> >
>> >        Name               Typ          Status
>> >     ---------------------------------------------
>> >     SOUL           <00>  EINDEUTIG   Registriert
>> >     NOD            <00>  GRUPPE      Registriert
>> >     SOUL           <20>  EINDEUTIG   Registriert
>> >     NOD            <1E>  GRUPPE      Registriert
>> >     NOD            <1D>  EINDEUTIG   Registriert
>> >     ..__MSBROWSE__.<01>  GRUPPE      Registriert
>>
>> So are you running nbtstat on the machine you're runnin jCIFS
>> on? Is the XP machine 192.168.0.1? Are you running nbtstat on
>> 192.168.0.1 or is that different machine?
>
> nbtstat is running on the same machine i am using jCIFS on which is the
> xp machine with the 192.168.0.1 ip.
> so it is all the same computer here.

Then I guess the machine is not listening on the interface jCIFS is
broadcasting on. Java does not provide a way to determine the broadcast
address of interfaces so we use 255.255.255.255. This is usually
sufficient but you might try to specify it explicitly with the baddr
properties. If you are only interested in the localhost you might try
127.0.0.255 too. Unfortunately there have been vague reports that XP and
W2K do not listen on any interfaces under certain circumstances in which
case there's probably little you can do.

Mike



More information about the jcifs mailing list