[CentOS] elrepo kmod-sk98lin.i686
Scott Robbins
scottro at nyc.rr.com
Tue Sep 3 13:10:39 UTC 2013
On Tue, Sep 03, 2013 at 02:02:08PM +0100, Steve Brooks wrote:
>
> > You don't actually need hwaddr in your ifcfg-* files -- though it's
> > probably not a bad thing to have the MAC in there. [As Scott pointed out,
> > it's all about what udev has in its rules.]
> >
> >
> >>
> >> You also have to look at /etc/udev/rules.d/70-persistent-net.rules
> >>
>
> I am using "centos 5" and it seems the "udev" cam in with e16 ... So can't
> go that way..
Cursory googling indicates that you can create the file (and directories if
needed). The line in there would read something like
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth0"
with XX:XX etc being the hardware address. It's all on one line and
quotation marks are used as shown.
All this is untested by me on CentOS 5.x
--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
More information about the CentOS
mailing list