Index: [Article Count Order] [Thread]

Date: Wed, 12 Dec 2007 13:55:01 +0100
From: Karsten Keil <kkeil@suse.de>
Subject: [users:00435] Re: DNS test
To: users@tahi.org
Message-Id: <20071212125501.GA22741@pingi.kke.suse.de>
In-Reply-To: <1197459789.777.10.camel@ul000134.eu.tieto.com>
References: <1197378984.22082.20.camel@ul000134.eu.tieto.com> <413E0188-3063-4DA9-ABF4-A849E6D163AF@tahi.org> <1197448006.777.4.camel@ul000134.eu.tieto.com> <20071212101511.GA1505@pingi.kke.suse.de> <1197459789.777.10.camel@ul000134.eu.tieto.com>
X-Mail-Count: 00435

On Wed, Dec 12, 2007 at 12:43:09PM +0100, Karsten Stenzhorn wrote:
> As far as I can tell from the readme file it only needs to know the
> interface to use on TN. They don't mention anything about the MAC and
> it's not in the sample tn.def neither.

3.1.6. /usr/local/v6eval/etc/tn.def

Copy sample tn.def to tn.def. Then, adjust Link0 entry in the file.

        After install v6eval, please setup configuration file
        # cd /usr/local/v6eval/etc
        # cp tn.def.sample tn.def
        # vi tn.def

        "Link0" entry MUST have:
                - the EXACT name of Tester Interface.
                - a EXACT MAC address.

        # diff -u tn.def.sample tn.def
        --- tn.def.sample       Wed Jan 18 17:13:25 2006
        +++ tn.def      Fri Jun 23 17:15:46 2006
        @@ -18,7 +18,7 @@

         #linkname      interface       BOGUS ether source address
         #              name            of the Tester Interface
        -Link0          de0             00:00:00:00:01:00
        +Link0          em0             AA:AA:AA:AA:AA:AA
         #Link1         de1             00:00:00:00:01:01
         #Link2         de2             00:00:00:00:01:02
         #Link3         de4             00:00:00:00:01:03
                        ^^^             ^^^^^^^^^^^^^^^^^
                         |                  |
                         +-- TN I/F name    + MAC address of TN I/F



I did interprete a EXACT MAC address as the real MAC address.

I have the DNS test running on FreeBSD 6.2.

> 
> However I have narrowed the error down to syswrite line in kCommon.pm
> 
> sub
> kWriteUnixDomain($$)
> {
> 	my ($sock, $data) = @_;
> 
> 	return(syswrite($sock, $data, length($data)));  <---Error
> }
> 

> 
> On Wed, 2007-12-12 at 11:15 +0100, Karsten Keil wrote:
> > On Wed, Dec 12, 2007 at 09:26:46AM +0100, Karsten Stenzhorn wrote:
> > > Yes, I have v6eval installed. I have succesfully run logo phase 2 test
> > > and the IPsec test. But it's not the DHCP test I'm trying to run. It is
> > > the DNS client test. And it uses KOI:
> > > 
> > 
> > Did you run the test as root ?
> > There was a claim in INSTALL.ct to run the DNS test as root:
> > Test requires root privilege to run, because it is listening 53 port.
> > 
> > And a other difference to logo phase 2 test and IPSEC test is, that it need
> > the real MAC address of the TN in tn.def.
> > 
> > > On Wed, 2007-12-12 at 11:15 +0900, Hiroshi MIYATA wrote:
> > > > Hi Karsten,
> > > > 
> > > > First of all, DHCPv6 test requires v6eval rather Koi.
> > > > Have you instlled v6eval?
> > > > 
> > > > ....miyata
> > > > 
> > > > On 2007/12/11, at 22:16, Karsten Stenzhorn wrote:
> > > > 
> > > > > I'm having trouble running the DNS test. While executing I get  
> > > > > following
> > > > > error:
> > > > >
> > > > > ========== TEST 1 ==========
> > > > > ./CL/CL_RFC1034_3_1_LabelLength.seq -log 1.html -ti "Label length"
> > > > > forkCmdWoCheck()... tcpdump -n -s 2000 -x -e -i fxp1 -w
> > > > > 1.html.Link0.dump
> > > > > bind: Can't assign requested address
> > > > > Error:DNSStartRecv:kPacket_StartRecv
> > > > > ERROR:DNSStartConnect
> > > > > FAIL
> > > > >
> > > > > I'm running it on a FreeBSD 6.2
> > > > > Platform: KOI-1.1.1
> > > > > test tool: 1.1.1
> > > > >
> > > > > I'm not able to find the place where the bind error is triggered.
> > > > >
> > > > > regards
> > > > > Karsten Stenzhorn
> > > > >
> > > > >
> > > > >
> > > > 
> > > > 
> > 

-- 
Karsten Keil
SuSE Labs
ISDN and VOIP development
SUSE LINUX Products GmbH, Maxfeldstr.5 90409 Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg)