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

Re: any last words before I install kernel 2.6?



On Thu, Jul 15, 2004 at 03:02:05PM +0200, John van Spaandonk wrote:
> On Wednesday 14 July 2004 11:39, John Summerfield wrote:
> > John van Spaandonk wrote:
> > >On Tuesday 13 July 2004 01:29, Dan Jacobson wrote:
> > >>Any last words before I
> > >># apt-get install kernel-image-2.6-k7
> > >>on my home (sid) PC?
> > >>
> > >>Will things break that used to work in 2.4?
> > >
> > >I still stick with 2.4 for the following reason.
> > >
> > >I use two ethernet cards:
> > >eth0 is connected to the cable modem (it has to be this
> > >particular card because of the MAC address)

You can also use ifconfig to lie about the MAC address - I did this on 
one machine when I changed NICs and didn't want to hassle with my ISP
regarding the change.

E.g. add a
    pre-up ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
stanza to your network/interfaces file.  (Of course this doesn't solve
the problem about them behaving differently in 2.4 vs. 2.6).

> > >eth1 is my home network
> > >2.6 reverses the names eth0 and eth1
> > >Apparently the PCI scanning order
> > >changed - right, why keep something the same if you can change it? :-)
snip

ifrename is available in Sarge & Sid (note I have not used it--but it
seems suited for this purpose).  I suppose udev might do this also, but
I haven't tried it.

$apt-cache show ifrename

Package: ifrename
Priority: extra
Section: net
Installed-Size: 60
Maintainer: Guus Sliepen <guus@debian.org>
Architecture: i386
Source: wireless-tools
Version: 26+27pre22-1
Depends: libc6 (>= 2.3.2.ds1-4), libiw27 (>= 26+27pre10)
Filename: pool/main/w/wireless-tools/ifrename_26+27pre22-1_i386.deb
Size: 37400
MD5sum: 74b13cffda8ff9a00e779cd94db6c490
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.

HTH

-- 
Chris Harris <charris@rtcmarketing.com>
-------------------------------------------
GNU/Linux --- The best things in life are free.



Reply to: