On 1/19/06, Paul T.Threshold <[EMAIL PROTECTED]> wrote:
> On 1/19/06, Kyle Moffett <[EMAIL PROTECTED]> wrote:
> > On Jan 18, 2006, at 13:47, Lorenzo Milesi wrote:
> > >> You can use ifrename or edit /etc/udev/rules.d/30-
> > >> net_persistent_names.rules?
> > >
> > > udev rule to rename iface:
> > > #wifi broadcomm
> > > KERNEL="eth*", SYSFS{address}="00:13:aa:bb:cc:dd", name="bcm0"
> >
> > On my PowerMac, I also rename my eth1394 interface based on SYSFS
> > {device/../../devspec} (effectively a hardware path given by
> > OpenFirmware), and the builtin ethernet interface similarly, because
> > I occasionally change those addresses in the firmware.
> >
> > You can also use NAME="net_wfi", or "net_bcm", or
> > "some_unusual_broadcom_wireless_interface" if you feel like it. You
> > just have to remember what name you use so you can stick it in your
> > ifupdown config (or whatever your distro uses).
>
> i confgured hotplug to change the order modules are loaded added a
> file in /etc/modprobe.d/ containig this line:
> install bcm43xx /sbin/modprobe sungem; /sbin/modprobe eth1394;
> /sbin/modprobe --ignore-install bcm43xx
I'm running this on Slackware. It's a bit convoluted and maybe there
is a cleaner way, but here's what I did:
1) Put aliases under /etc/modprobe.conf (not sure if this is really
needed, but rc.intet1 does some parsing based on aliases)
alias eth0 tg3
alias wlan0 bcm43xx
2) Put in some configuration options in rc.inet1.conf (this one
doesn't quite work on just on its own even though that's what it's
for)
USE_DHCP[0]="no"
IFNAME[0]="wlan0"
USE_DHCP[1]="yes"
IFNAME[1]="eth0"
3) Used ifrename in rc.inet1 just before it does its counting and
naming of interfaces:
if [ -f /etc/iftab ]; then
/sbin/ifrename -p
fi
4) Created iftab:
eth0 mac XX:XX:XX:XX:XX:XX
wlan0 mac YY:YY:YY:YY:YY:YY
If someone uses slackware and has a better way I'd love to hear it,
but this seems to work.
Dori
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
http://lists.berlios.de/mailman/listinfo/bcm43xx-dev