How to set up Wi-Fi Hotspot for sharing using 2 wired and 1 Wi-Fi network cards?

view story

http://askubuntu.com – I have 3 network cards installed in my ubuntu 10.04 server and I want to configure Internet sharing and file sharing on eth1 for wired users and wlan0 for wireless users. Static ip: eth0: eth1: wlan0: /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address netmask network broadcast gateway #The secondary network interfaces auto eth1 iface eth1 inet static address netmask 255.0.0. (HowTos)