Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2005 11:40:08 -0400
From:      James Snow <snow+freebsd-current@teardrop.org>
To:        Sam Leffler <sam@errno.com>
Cc:        freebsd-current@freebsd.org
Subject:   OpenBSD dhclient segmentation fault
Message-ID:  <20050608154008.GA89099@teardrop.org>
In-Reply-To: <42A70EAB.4030108@errno.com>
References:  <20050607034620.GA32718@odin.ac.hmc.edu> <20050607045745.GC2338@odin.ac.hmc.edu> <20050608125222.GA88177@teardrop.org> <42A70EAB.4030108@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 08, 2005 at 08:28:43AM -0700, Sam Leffler wrote:
> 
> Please send me your dhclient.conf file and anything else relevant 
> (Verbatim) as attachments (or an attached tarball).

Here you go:

# $FreeBSD: src/etc/dhclient.conf,v 1.3 2001/10/27 03:14:37 rwatson Exp
$
#
#       This file is required by the ISC DHCP client.
#       See ``man 5 dhclient.conf'' for details.
#
#       In most cases an empty file is sufficient for most people as the
#       defaults are usually fine.
#
send host-name "snow";
prepend domain-name "teardrop.org ";
# supersede domain-name-servers 66.92.66.16;

interface "ath0" {
        media 
        # net1
        "ssid net1 channel 5 wepmode on wepkey 0xwepkey", 

        # net2
        "ssid net2 channel 11 wepmode on wepkey 0xwepkey",

        # net3
        "ssid net3 channel 8 wepmode on wepkey 0xwepkey",

        # net4
        "ssid net4 channel 4 wepmode on wepkey 0xwepkey",

        # net5
        "ssid net5 channel 1 wepmode off";
}

All I've changed are comments, SSIDs, and WEP keys. I can include them
if you really think they're likely to be part of the problem.

I've used the "interface ath0" statement as a way of easily
finding the various wireless networks I connect to. The "supersede
domain-name-servers" line I uncomment when I'm at a site that doles out
broken DNS servers.

I've since recompiled dhclient with debugging symbols enabled, but it
appears that this segfault only occurs when it actually receives a reply
to a query sent out via ath0 with one of the above media statements.
Since I'm not near my wireless networks at the moment, I won't be able
to provide a backtrace for a several hours. Sorry.


-Snow




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050608154008.GA89099>