4

I wonder if it should be possible to have an wireless access point using hostapd (as described in Set up an access point) on the same interface that connects to a wireless network for internet.

I have a working setup where hostapd runs on wlan0 and I can use the internet from eth0 - so internet and AP are on different interfaces/devices.

The wireless card is a Intel Centrino Advanced-N 6205 card.

Should this be possible given this hardware in general?

3 Answers 3

1

There are WiFi cards that can act as both a station and as an AP. I've heard that there are Atheros cards that are capable of doing that, however I have not been able to obtain one to test it out with.

I don't think the Intel Centrino devices are able to do it however.

0

It is not possible. You would need two wireless cards.

0

As it is said in Richard Hum's answer you can not configure one interface to be both AP and WiFi client. However I think that what you are trying to do is bridging between your ethernet interface and your wireless interface.

For the question, yes, it is possible. In order to achieve that you need:

  • Configure your wlan0 interface to run as a AP (explained in the link you wrote)
  • Connect you eth0 to internet
  • Then establish a bridge (a virtual connection) between the wireless interface in which hostapd should be running. A very documented guide of how to do it can be found in here

The schema would be:

INTERNET <-> eth0 <-virtual connection-> wlan0 <-> wifi_clients

This is as for the software. As for the hardware the WiFi need to support AP wireless mode (you can see the different modes here )

I have taken a overview through the tech specs of your card and it supports it

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .