Date: Fri, 23 Aug 2002 21:23:20 +0200 From: Adrian Steinmann <ast@marabu.ch> To: mobile@freebsd.org Subject: rarpd on laptops doesn't find interfaces, fix at http://www.webgroup.ch/ast/rarpd/ Message-ID: <200208231923.VAA16307@marabu.marabu.ch>
next in thread | raw e-mail | index | archive | help
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. This has been tested on IBM ThinkPAD laptops with ep and xe PCMCIA network cards on -stable (to netboot Sun systems;-). I've submited this change request and it's filed under http://www.freebsd.org/cgi/query-pr.cgi?pr=40957 I'd be very much obliged if someone would review it and possibly commit it to our tree for 4.7 and 5. Adrian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208231923.VAA16307>