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

Re: change the naming of eth0 and eth1



Hi,

> You can do this by specifying the irq and IO on the boot command line. I have 
> had to do this many times in the past on firewalls and such. Here is an 
> example from my firewall "ether=10,0x7000,eth0" which is 
> ether=irq,base_io_addr,dev_name. I have this in my lilo.conf.

For some reason this does not work for me:

(lilo.conf: append="ether=30,0x2040,eth0 ether=31,0x2000,eth1")

# cat /proc/cmdline
auto BOOT_IMAGE=linux root=900 ether=30,0x2040,eth0 ether=31,0x2000,eth1

ok, but ifconfig is just the other way round:

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:07:E9:04:A7:FD
...
          Interrupt:31 Base address:0x2000 Memory:fe9e0000-fea00000

eth1      Link encap:Ethernet  HWaddr 00:07:E9:04:A7:FC
...
          Interrupt:30 Base address:0x2040 Memory:fe9c0000-fe9e0000

Cheers, Thomas




Reply to: