2

Is it possible to use only one wireless card to connect to other wifi network to access internet and share the internet to other devices via same wireless card at same time ?

No! I didn't mean hotspot since it means only sharing internet of other network card's (example, eth0) via wifi

I am doing two things at same time:

  1. connect to other wifi using wireless card wlan0
  2. share internet via same wireless card wlan0
  • you mean hotspot? – Thushi Dec 16 '14 at 19:58
  • @Thushi no I didn't mean hotspot since it means only sharing internet via wifi – Edward Torvalds Dec 16 '14 at 20:02
  • How is that not a hotspot? – Celada Dec 16 '14 at 20:29
  • @Celada HotSpot just share other network card's (example, eth0) internet – Edward Torvalds Dec 16 '14 at 20:30
  • I don't think it matters where the upstream Internet connection is coming from, it's still a hotspot. Wikipedia says: "A hotspot is a site that offers Internet access over a wireless local area network (WLAN) through the use of a router connected to a link to an Internet service provider. Hotspots typically use Wi-Fi technology." – Celada Dec 16 '14 at 20:32
1

I believe that some, but not all wifi chipsets will allow 2 subinterfaces, one of them in master mode and one of them in client mode.

The difficulty is that there is only one radio. The client subinterface needs to search for the SSID it wants to join and set the radio to the same channel as the access point it associates to. Master subinterfaces, on the other hand, are normally set to a fixed channel. You may have difficulty getting things configured so that the two subinterfaces don't step on each other's channel settings. The usual tools for configuring wifi interfaces probably won't help you with that task. Hardcoding the channel number all around seems the best option.

One way or the other, you'll be stuck with both subinterfaces on the same channel, which means you only have half the bandwidth available, because the same traffic has to go in and back out on the same radio frequencies.

  • Your question asks about using the same wifi card for both networks, hence that's what my answer is talking about, and hence the limitation of only one radio. If you have multiple wifi cards that it's a totally different question and it's much easier. – Celada Dec 16 '14 at 20:44
  • your answer is still vague. atleast mention any product or technical description of such card – Edward Torvalds Dec 16 '14 at 20:49
  • I'm sorry, I don't know vendors or models of cards that will work. Perhaps someone else with concrete experience will provide a better answer. – Celada Dec 16 '14 at 20:51
  • then from where you came to know ? haha – Edward Torvalds Dec 16 '14 at 20:53
  • From working with commercially available "repeaters" and half-remembered perusals through madwifi source code. – Celada Dec 16 '14 at 20:54
0

Yes it is possible to share internet through same wireless card through which you are connect to some WIFI.

You have to check whether your wireless card supports this feature or not. Following links will help you to do so:

  1. Connectify for Linux with Single wireless interface
  2. How do I create a WiFi hotspot sharing wireless internet connection (single adapter)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.