Hi,

what i have is a Debian Based Server that runs as a router as well. At the moment i have 2Nic's installed for the routeing. One is for the ppp service that connects to the dsl and the other one goes straight into a accessspoint with integrated switch.
So what happens is when a wireless client connects is that it goes through the accesspoint into the local network ... and the server.
I have a prism based NIC in the Server as well and would like to get rid of the accesspoint and make my server an accesspoint as well.
But im running into problems here.
How do i have to configure the /etc/network/interfaces for this to work?

At the moment the accesspoint is also doing the routeing really. It's a Fritz!Box and that was the easiest way to bring VOIP to my network. But i wanna get rid of it all switch it over to GBit and be done with that accesspoint Fritz!Box Thing.

Here is my interfaces:
Code:
# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.1
        netmask 255.255.255.0
        broadcast 192.168.0.255
        network 192.168.0.0
        gateway 192.168.0.128

auto ppp0
iface ppp0 inet ppp
        pre-up ifconfig eth1 0.0.0.0 up
        post-down ifconfig eth1 down
        provider dsl-provider

manual eth2
iface eth2 inet static
        pre-up iwconfig eth2 key ****
        pre-up iwconfig eth2 essid ****
        pre-up iwconfig eth2 mode master
        address 192.168.0.4
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.128
How does it need to look? I wanna have the eth2 (prism based wifi) as an accesspoint for my wifi clients. I also wanna have the eth0 for my wired local network. Oh both need to be on the same network and need to communicate to each other.
How do i do that?

Thanks for your help.

g/K