Re: Using any network interface whatsoever (solution?)

2006-04-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Darren Pilgrim <[EMAIL PROTECTED]> writes: : M. Warner Losh wrote: : > : > The device subsystem already exports a bus-dependent plug and play : > position. No need to make it specific to USB/PCI/whatever. : : Where is this information found? I can't f

Re: Using any network interface whatsoever (solution?)

2006-04-09 Thread Darren Pilgrim
M. Warner Losh wrote: The device subsystem already exports a bus-dependent plug and play position. No need to make it specific to USB/PCI/whatever. Where is this information found? I can't find anything obvious that wouldn't change if you inserted a bus in the middle of the probe order. _

Re: Using any network interface whatsoever (solution?)

2006-04-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Darren Pilgrim <[EMAIL PROTECTED]> writes: : Mike Meyer wrote: : > In <[EMAIL PROTECTED]>, Darren Pilgrim <[EMAIL PROTECTED]> typed: : >> You could test two different drivers on the same hardware and you wouldn't : >> have to duplicate or modify your ifc

Re: Using any network interface whatsoever (solution?)

2006-04-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Mike Meyer <[EMAIL PROTECTED]> writes: : Of course, this doesn't help the OP's problem of wanting to be able to : address the sole interface in a system without knowing it's name in : advance. Maybe a feature to provide a default name for an interface if

Re: Re: Using any network interface whatsoever (solution?)

2006-04-09 Thread Sergey Babkin
>From: Mike Meyer >In <[EMAIL PROTECTED]>, Darren Pilgrim <[EMAIL PROTECTED]> typed: >> >> That's far better than trying to remember what's on em0. >> > >> > That's certainly true. But is there an advantage to tieing the >> > PublicLAN name to a MAC address as opposed to em0? >> You could test t

Re: Using any network interface whatsoever (solution?)

2006-04-09 Thread Darren Pilgrim
Mike Meyer wrote: In <[EMAIL PROTECTED]>, Darren Pilgrim <[EMAIL PROTECTED]> typed: You could test two different drivers on the same hardware and you wouldn't have to duplicate or modify your ifconfig lines in /etc/rc.conf, just run: Yup, and this is an advantage. On the other hand, if you tie

Re: Using any network interface whatsoever (solution?)

2006-04-09 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Darren Pilgrim <[EMAIL PROTECTED]> typed: > Mike Meyer wrote: > > In <[EMAIL PROTECTED]>, Darren Pilgrim <[EMAIL PROTECTED]> typed: [Tying names to MAC addresses.] > >> That's far better than trying to remember what's on em0. > > > > That's certainly true. But is there an a

Re: Using any network interface whatsoever (solution?)

2006-04-08 Thread Darren Pilgrim
Mike Meyer wrote: In <[EMAIL PROTECTED]>, Darren Pilgrim <[EMAIL PROTECTED]> typed: >> If you add something to /etc/rc.d so that a sh-ified version of this script runs after all interfaces have attached but before any numbering or cloning takes place you can have lines like this in /etc/rc.con

Re: Using any network interface whatsoever (solution?)

2006-04-08 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Darren Pilgrim <[EMAIL PROTECTED]> typed: > Mike Meyer wrote: > > In <[EMAIL PROTECTED]>, David Taylor <[EMAIL PROTECTED]> typed: > >> That doesn't quite work, though. Unless you require everyone wanting > >> to distinguish between LAN and WAN interfaces uses different type

Re: Using any network interface whatsoever (solution?)

2006-04-08 Thread Darren Pilgrim
Mike Meyer wrote: In <[EMAIL PROTECTED]>, David Taylor <[EMAIL PROTECTED]> typed: That doesn't quite work, though. Unless you require everyone wanting to distinguish between LAN and WAN interfaces uses different types of hardware for each card, they'll still end up with xl0 and xl1 (or whatever