Date: Fri, 17 Oct 2003 10:07:23 -0500 From: "John" <sephtin@techgodz.com> To: <freebsd-mobile@freebsd.org> Subject: defaultrouter fails on boot, and reinserted card not getting correct config info... Message-ID: <000901c394c0$5f490b00$8122410a@corporate.amfam.com>
index | next in thread | raw e-mail
Hi!
I'm running 5.1 on a laptop. [sephtin@draxa ~]$ uname -a
FreeBSD draxa.techgodz.com 5.1-RELEASE-p5 FreeBSD 5.1-RELEASE-p5 #1: Mon Oct
6 10:35:12 CDT 2003 root@draxa.techgodz.com:/usr/obj/usr/src/sys/draxa
i386
I have 2 problems:
1) When booting, with a PC-Card (wi0) in, no matter what defaultrouter= is
set to in /etc/start_if.wi0 it always uses what's in /etc rc.conf. I don't
understand! /etc/start_if.${interface} is sourced in both
/etc/network.subr, as well as /etc/pccard_ether.
It is DEFINITELY getting my card's ifconfig_wi0 info from start_if.wi0 (as
that is the only place I have the ssid, wepmode and wepkey set, and it finds
them correctly...). Shouldn't I be able to override the defaultrouter= in
rc.conf with what's in /etc/start_if.wi0???
Just thought to add: the default route that I'm trying to add IS on the
same subnet as the IP of the nic... so it isn't failing because of that...
2) On my laptop, I have 2 pccards. One is the dlink wireless (wi0)
mentioned above, the other is a linksys 10/100. I NEVER have them in at the
same time.
When I boot with the wireless card in (after setting the default route by
hand... (see problem #1), I remove the card. I get notification that the
card has been removed (wi0: detached). I then re-insert the card, and get a
notification that the card was inserted(wi0: <card info from
pccard.conf>..., followed by it's mac addy, chipset, and supported rates.
When I do an ifconfig, it does NOT contain my info for the card (IP,
netmask, ssid, wepmode, nor wepkey). Shouldn't it get this info from
/etc/start_if.wi0???
I would think it should get both the ifconfig_wi0 parameters, as well as the
default router. It is also strange to note, that even if I have
defaultrouter= set in rc.conf, it doesn't access it from there... ?
Google has so far told me how I'm supposed to set up defaultrouter= in my
rc.conf, but doesn't go into what in the startup scripts is failing.
Can anyone shed some light, or at least point me in the right direction??
Thanks!
John
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c394c0$5f490b00$8122410a>
