You only have to do one thing.
1. In rc.inet1.conf, as you already have done.
Code:
# Config secondary ip address
IFNAME[1]="eth0:1"
IPADDR[1]="10.0.0.49"
NETMASK[1]="255.255.255.0"
USE DHCP[1]=""
DHCP_HOSTNAME[1]=""
But you can do this too, if you like
2. Disable executable bit on rc.wireless
- this is NOT needed to get the interface up
but only to not get the error message which IS harmless
Code:
chmod -x /etc/rc.d/rc.wireless
And you are done :-)
The advice about rc.netdevice and rc.modules is not needed for
an alias interface, as it is created implicit with the ifconfig command.
It is only if you f.ex want to setup vlan interfaces from rc.inet1.conf,
then the interfaces have to be created beforehand.
To execute rc.modules or any other script, just type the name of the script and press ENTER:
Code:
/etc/rc.d/rc.modules
and press ENTER.