Date: Sun, 12 Oct 2003 08:23:56 -0700 From: Lars Eggert <larse@ISI.EDU> To: Peter Losher <plosher-keyword-freebsd.a36e57@plosh.net> Cc: freebsd-mobile@freebsd.org Subject: Re: /etc/rc.d/location script issues... (location.sh) Message-ID: <3F89720C.1090702@isi.edu> In-Reply-To: <200310120010.40759.plosher@plosh.net> References: <200310120010.40759.plosher@plosh.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Peter, Peter Losher wrote: > So I have been using Lars Eggert's location.sh (v1.25) script (seen at > http://www.isi.edu/larse/etc.html), and it's just what I am looking for > as I am usually at several sites, with a mix of wireless and wired net > access. (esp. now that I can use the Broadcom NIC on my Inspiron 5100 in > -current - Yay!) However I have some issues, and I wondered whether > anyone has come across them, and if they got around them. > > First - is there any way to specify what interfaces get probed by the > script? With my wireless card, I have three possible NIC's - the > wireless card (wi0), the on-board Broadcom BCM4401 (bfe0), and the > support for a Firewire NIC (fwe0). Now I don't ever see myself plugging > in a Firewire NIC anytime soon, so I would rather not have that > interface probed. I have tried setting "network_interfaces="wi0 bfe0 > lo0"" in rc.conf, but it looks like location.sh doesn't honor it. it probes all interfaces it finds, except loopback. I had not thought about limiting this, but if you have a patch to restrict probing to $network_interfaces, please send it to me. > Second - Anyone get this around 10 times when each interface doesn't get > a response to a ping? > > Can't grep /var/run/dhclient.leases : No such file or directory > (another reason why I don't want fwe0 probed, it's another delay) There's probably some error redirection into /dev/null missing. You can also try lowering probe_delay. > Third - How do you find out what IP should be probed?. I have been able > to detect wireless hubs/AP's just fine, but esp. on wired nets, I have > tried probing switches, default route, etc. and I get no ping response. Probing works best with the arping port installed. The ping/shcp probes don't work in many cases. If you don't have arping installed, I strongly recommend it. Good peers for probing are nodes at a given location that don't change IP addresses often, e.g., routers and servers. Lars -- Lars Eggert <larse@isi.edu> USC Information Sciences Institute [-- Attachment #2 --] 0 *H 010 + 0 *H 080fErtcvE.0 *H 010 UZA10UWestern Cape10U Cape Town10U Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H personal-freemail@thawte.com0 000830000000Z 040827235959Z010 UZA10UWestern Cape10U Cape Town10 U Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000 *H 0 32c %E>nx'gڈD)c5*mp<ܮto034qmOe KaU5u'rװ|CBPQ<9TIf - ki N0L0)U"0 010UPrivateLabel1-2970U0 0U0 *H 1KG]qSl]y=&b""I'{9$ *8PUl LGlX1B li+@]jy.%݊ Z<D&iHΥbb090 vo0 *H 010 UZA10UWestern Cape10U Cape Town10 U Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300 030801172929Z 040731172929Z0T10 UEggert1 0U*Lars10ULars Eggert10 *H larse@isi.edu0"0 *H 0 >ן~H(ԢGV׆־25B03ݰת^RIH =%J kA^R)y H80P~qrU|c~\;ҋ^哪!֍&d@Cd"O"f$FrGe|r<z"%h+Z`3<}̘}9ʮcnb6RX ٫e~XgK7,ìEYU? V0T0*+e!0 00L2uMyffBNUbNJJcdZ2s0U0 larse@isi.edu0U0 0 *H 5Kkt[@jj:Fg Xj(8yPo!})5M[ ش]wʼnQd!GyFRiKd!8h\7γSD`a[qiY+Gqn?!090 vo0 *H 010 UZA10UWestern Cape10U Cape Town10 U Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300 030801172929Z 040731172929Z0T10 UEggert1 0U*Lars10ULars Eggert10 *H larse@isi.edu0"0 *H 0 >ן~H(ԢGV׆־25B03ݰת^RIH =%J kA^R)y H80P~qrU|c~\;ҋ^哪!֍&d@Cd"O"f$FrGe|r<z"%h+Z`3<}̘}9ʮcnb6RX ٫e~XgK7,ìEYU? V0T0*+e!0 00L2uMyffBNUbNJJcdZ2s0U0 larse@isi.edu0U0 0 *H 5Kkt[@jj:Fg Xj(8yPo!})5M[ ش]wʼnQd!GyFRiKd!8h\7γSD`a[qiY+Gqn?!100010 UZA10UWestern Cape10U Cape Town10 U Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30 vo0 + 0 *H 1 *H 0 *H 1 031012152356Z0# *H 1GZڔ怬[_aw0R *H 1E0C0 *H 0*H 0 *H @0+0 *H (0 +710010 UZA10UWestern Cape10U Cape Town10 U Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30 vo0*H 1010 UZA10UWestern Cape10U Cape Town10 U Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30 vo0 *H P BIáAyJcWηW3V~¯6KJikF}꿯yݸT=gT !=ep^JNh[dcY]L wW@= jIqRd/6e#P2G}a7Aݔ{ZGfΝ-C_ HIIrDͷiPi}U[*~LLr'П̪WGCvhBϳ_ob~hV)6#
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F89720C.1090702>
