Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2002 16:37:09 +0200 (MEST)
From:      Adrian Steinmann <ast@marabu.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/40957: rarpd on laptops doesn't find interfaces, fix at http://www.webgroup.ch/ast/rarpd/
Message-ID:  <200207241437.g6OEb9V88771@marabu.ch>

next in thread | raw e-mail | index | archive | help

>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




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