From owner-freebsd-stable Tue Oct 3 10:27:30 2000 Delivered-To: freebsd-stable@freebsd.org Received: from bbnrel4.net.external.hp.com (bbnrel4.net.external.hp.com [155.208.254.68]) by hub.freebsd.org (Postfix) with ESMTP id A67E437B502 for ; Tue, 3 Oct 2000 10:27:25 -0700 (PDT) Received: from hpcpbla.bri.hp.com (hpcpbla.bri.hp.com [15.144.112.65]) by bbnrel4.net.external.hp.com (Postfix) with ESMTP id A0648150BF; Tue, 3 Oct 2000 19:27:19 +0200 (METDST) Received: from sse0691.bri.hp.com (sse0691.bri.hp.com [15.144.0.53]) by hpcpbla.bri.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.0) with ESMTP id SAA15589; Tue, 3 Oct 2000 18:26:55 +0100 (BST) Received: (from steve@localhost) by sse0691.bri.hp.com (8.9.3/8.9.3) id SAA05216; Tue, 3 Oct 2000 18:29:26 +0100 (BST) (envelope-from steve) Date: Tue, 3 Oct 2000 18:29:26 +0100 From: Steve Roome To: Warner Losh Cc: behanna@zbzoom.net, Thomas David Rivers , freebsd-stable@FreeBSD.ORG, jim@siteplus.net Subject: Re: 4.1-RELEASE pccard? Message-ID: <20001003182926.M1786@moose.bri.hp.com> Mail-Followup-To: Steve Roome , Warner Losh , behanna@zbzoom.net, Thomas David Rivers , freebsd-stable@FreeBSD.ORG, jim@siteplus.net References: <200010031528.JAA26440@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <200010031528.JAA26440@harmony.village.org>; from imp@village.org on Tue, Oct 03, 2000 at 09:28:09AM -0600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Oct 03, 2000 at 09:28:09AM -0600, Warner Losh wrote: > In message Chris BeHanna writes: > : > It might not be your problem, but it was easily/grottily solved with a > : > few lines like in /usr/src/sys/dev/ed/if_ed_pccard.c such as : > : > > : > ether_addr[0] = 0; > : > ether_addr[1] = 0xe0; > : > .. etc.. > : > ether_addr[5] = 0x26; > : > > : > Nasty hack and all, not the right way etc. etc. but in a results > : > oriented world and all! =) Obviously I wouldn't advocate this sort of > : > kludgery, it's a pain for things like cvsup. > : > : If you find you have to do this a lot, you can do one of two > : things: > > Isn't that what the ether keyword is for. > ether 0x12 > or whatever. Pccardd also tries to figure it out itself, but > sometimes needs help. I know what the MAC address is supposed to be! I've been through all of the cards attribute memory but can't find it. It was about a month back now, but the only MAC address that works was not anywhere within the cards memory that I could see. That doesn't make a lot of sense to me, as surely it has to either be in there somewhere or perhaps (unlikely?) coded somehow, but I certainly couldn't find it at all. Which is why I opted for the nasty hack. I know it looks really stupid, but honestly I didn't step lightly into hardcoding my MAC address before really trying very hard to use the ether offset option! I'll give anything else a go to find it properly as I'd rather have a less ugly hack... Although... the net card itself had a dodgy cable converter (the thing that goes from RJ45 <-> PCcard-whatever it is 15 pin connector) so I've soldered a RJ45 female connector directly onto the pccard pcb. I wasn't expecting this to work as I've not got the most precise soldering iron! Stop laughing! It's been on 24/7 for a month since with no problems other than a dieing LCD screen. It makes a great router/mail server at home. Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message