[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting up alias for orinoco_cs



Hi Jason!

On Thu, Oct 28, 2004 at 01:50:53PM -0500, Jason Martens wrote:
> Is there a way I can set up an alias so the wireless is always eth2 (or
> wlan0 or something like that)?  

ms@spot:~$ apt-cache show ifrename
Package: ifrename
Maintainer: Guus Sliepen <guus@debian.org>
Architecture: i386
Version: 26+27pre26-2
Description: Rename network interfaces based on various static criteria
 Ifrename allow the user to decide what name a network interface will have.
 Ifrename can use a variety of selectors to specify how interface names match
 the network interfaces on the system, the most common selector is the
 interface MAC address.

ms@spot:~$ cat /etc/iftab 
lan  mac 00:...
wlan  mac 00:...

ms@spot:/etc/network/if-pre-up.d$ cat ifrename 
#!/bin/sh
IFRENAME=/sbin/ifrename
[ -x "$IFRENAME" ] && $IFRENAME

So with staring networking renames all interfaces according to /etc/iftab.

Problem solved :)

cu, ms

-- 
n: Michael Schiansky (geek / nerd / dd)
e: michael@schiansky.de e: ms@its.ms
m: +49 163 49 33 688

Attachment: signature.asc
Description: Digital signature


Reply to: