I want that in a PCIe slot in my server. I used my wireless PCI adapter as my wireless router in my server, which is then bridged to my PCI ethernet adapter.
# This file describes the network interfaces available on your system<br /> # and how to activate them. For more information, see interfaces(5).</p> <p># The loopback network interface<br /> auto lo<br /> iface lo inet loopback</p> <p># The primary network interface<br /> auto eth0<br /> iface eth0 inet dhcp</p> <p>auto br0<br /> iface br0 inet static<br /> pre-down /etc/init.d/dhcp3-server stop<br /> address 192.168.0.1<br /> netmask 255.255.255.0<br /> post-up iptables-restore < /etc/iptables.up.rules<br /> bridge_ports eth1 wlan0<br /> post-up /etc/init.d/dhcp3-server start<br /> post-up /etc/init.d/hostapd restart</p> <p>iface eth1 inet manual<br /> up ifconfig $IFACE 0.0.0.0 up<br /> up ip link set $IFACE promisc on<br /> down ip link set $IFACE promisc off<br /> down ifconfig $IFACE down</p> <p>iface wlan0 inet manual<br /> up ifconfig $IFACE 0.0.0.0 up<br /> up ip link set $IFACE promisc on<br /> down ip link set $IFACE promisc off<br /> down ifconfig $IFACE down
Add comment