OK I found a how to.
http://www.e-smith.org/docs/howto/contrib/net_card.htmlThis is my slightly modified version ( I only changes device names I think)
create /etc/e-smith/templates-custom/etc/modules.conf/12eth1
having the following lines:
{
push @lines, "alias eth2 3c59x"
}
# Expand the template:
/sbin/e-smith/expand-template /etc/modules.conf
# Create a config file for each new interface in /etc/sysconfig/network-scripts (The Name of these config files must have the device name in them)
* Use the eth0 device config file as a template for the new devices.
cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1
* edit the config files to include the ip-numbers and netmasks of the additional networks.
pico /etc/sysconfig/network-scripts/ifcfg-eth1
# Start the interface: (this will happen automatically on reboot, but do it now to save rebooting)
* /etc/sysconfig/network-scripts/ifup eth1
# Check status of Interfaces:
* ifconfig eth1
# Check the log file for any error messages
/var/log/messages
# Give the Network "local network" rights with the e-smith web manager.
The Full How To is
http://www.e-smith.org/docs/howto/contrib/net_card.htmlthanx to Allen (admin@allenscomputing.com)
I did actualy see this before but I thought it was only needed for 3 cards or more. But as I am on dial up then this would be the third connection.
Anyway all is working now thanx.
I added the local network as
172.168.0.0
255.255.255.0
192.168.0.1
Thanx