From owner-freebsd-bugs Wed Jul 24 7:50: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6755C37B400 for ; Wed, 24 Jul 2002 07:50:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9841A43E6A for ; Wed, 24 Jul 2002 07:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6OEo2JU030546 for ; Wed, 24 Jul 2002 07:50:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6OEo2hZ030545; Wed, 24 Jul 2002 07:50:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C0BA37B400 for ; Wed, 24 Jul 2002 07:40:09 -0700 (PDT) Received: from oneplusone.ch (oneplusone.ch [212.55.208.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7660E43E4A for ; Wed, 24 Jul 2002 07:40:08 -0700 (PDT) (envelope-from ast@marabu.ch) Received: (from uucp@localhost) by oneplusone.ch (8.11.4/8.11.3) with UUCP id g6OEe6H65984 for FreeBSD-gnats-submit@freebsd.org; Wed, 24 Jul 2002 16:40:06 +0200 (MEST) (envelope-from ast@marabu.ch) Received: (from ast@localhost) by marabu.ch (8.11.6/8.11.6) id g6OEb9V88771; Wed, 24 Jul 2002 16:37:09 +0200 (MEST) (envelope-from ast) Message-Id: <200207241437.g6OEb9V88771@marabu.ch> Date: Wed, 24 Jul 2002 16:37:09 +0200 (MEST) From: Adrian Steinmann Reply-To: Adrian Steinmann To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: i386/40957: rarpd on laptops doesn't find interfaces, fix at http://www.webgroup.ch/ast/rarpd/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40957 >Category: i386 >Synopsis: rarpd on laptops doesn't find interfaces, fix at http://www.webgroup.ch/ast/rarpd/ >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 24 07:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Adrian Steinmann >Release: FreeBSD-stable i386 >Organization: Webgroup Consulting AG >Environment: System: FreeBSD webgroup.ch 4.5-STYX FreeBSD 4.5-STYX #0: Tue Apr 16 11:06:34 GMT 2002 root@rumori.com:/usr/src/sys/compile/STYX i386 Stock FreeBSD >Description: FreeBSD rarpd returns "no interfaces" on say, laptops, which have removable Ethernet NICs. This can be corrected by replacing the SIOCGIFCONF ioctl() in the init() routine with getifaddrs(). OpenBSD rarpd.c (version 1.29) does it this way and hence I ported that version to -stable retrofitting the few extra options we support under FreeBSD. This directory contains the ported rarpd.c and modified manpages as well as the original OpenBSD and FreeBSD versions. >How-To-Repeat: Start rarpd -a on a laptop with removable PCMCIA NIC. >Fix: http://www.webgroup.ch/ast/rarpd/ contains the OpenBSD version of rarpd ported to FreeBSD. This has been tested on IBM ThinkPAD laptops with ep0 and xe0 inetrfaces (to netboot Sun systems;-). ___________________________________________________________________________ Dr. Adrian Steinmann Webgroup Consulting AG Apollostrasse 21 8032 Zurich Tel +41 1 380 30 80 Fax +41 1 380 30 85 Mailto:ast@webgroup.ch >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message