On 10/26/2014 02:54 AM, Gordan Bobic wrote:
On 08/21/2014 02:36 PM, Robert Moskowitz wrote:
I want a static IPv4 and IPv6 address. I also want to specify the MAC
addr, rather than using the random local scope addr created basic on the
SID.
I tried using system-config-network, but it does not list any devices to
configure!
I tried creating a base ifcfg-eth0, but something is wrong and it does
not like it. It seems to be ignoring it.
So how do I get this working?
I know this is a couple of months late, but it just occurred to me
that in addition to making sure your udev rules and ifcfg config file
match the MAC address you may need to set the MAC address of the NIC
manually due to uboot bugs. I had to do similar for my QNAP server.
The new uboot in F21 beta fixes the Cubietruck MACaddr problem. I may
do some experimenting, but once F21 ships, I will work on a Redsleeve
build with it rather than the current F19 uboot and modules.
Watch for a post on the Centos-arm list from me on uboot issues. I have
been exposed to a lot on the Fedora-arm list...
Take a look here:
http://wiki.redsleeve.org/index.php/QNAP_TS-421#Enable_Alignment_Warnings_and_Configure_MAC_Addresses
Specifically, you may want something like this:
# cat /etc/sysconfig/modules/eth.modules
#!/bin/bash
/sbin/ip link set dev eth0 address 00:11:22:33:44:55
/sbin/ip link set dev eth1 address 00:11:22:33:44:56
Obviously, replace the address there with whatever is correct for your
device.
It's not a proper fix, but it's a reasonable workaround.
Gordan
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users