Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

On Windows, my laptop's wireless card had the ability to share its own internet by Wi-Fi Direct. I could connect by laptop to other devices via Intel's My Wi-Fi program, which I believe uses Wi-Fi Direct, and then share my internet to them. Is there any way to do this in Ubuntu?

My laptop model: Samsung NP300E5A. My wireless card: Intel Corporation Centrino Wireless-N 130.

Thanks!

EDIT: I am using Ubuntu 12.04. Also, I am not trying to share my ethernet connection. I am trying to share my wireless connection to other Wi-Fi devices. See here.

share|improve this question

4 Answers 4

Seems like you have misunderstood WiFi Direct use case. WiFi Direct is not about sharing the connection (as you wrote it), but a peer-to-peer communication without involving AP.

The sad truth is that you cannot mix WiFi Direct with Station mode, which so far makes the whole idea of using WiFi Direct pretty useless. At least I'm not aware about any solution that is capable of doing that.

My advise to you - wait at least couple of years until this technology will be widely supported. Currently, since this technology is primarily driven by Sony, WiFi Direct is already present in their TV's, so you can stream videos/photos to Sony TV directly from your WiFi Direct supported device. Excerpt from the same link:

Sometimes your friends want to share their personal photos and videos on your beautiful HDTV. With Sony's Wi-Fi Direct™ Mode, your friends can throw personal content to your TV without connecting to your home network. Wi-Fi Direct completely bypasses the Wi-Fi access point/router, so it’s easy to set up.

By the way, latest Android version supports WiFi Direct as well, Galaxy Nexus has it.

share|improve this answer
    
Ah, thanks. Refining question now. –  funkeh May 9 '12 at 22:18
    
Samsung phones support Wi-Fi Direct. It would be great if the answer explicitly included information on Wi-Fi Direct support under Ubuntu. –  user239558 Feb 25 '13 at 12:49
    
Now, nearly a year later after I wrote my answer, every Android OEM supports WiFi-Direct. –  Andrejs Cainikovs Feb 25 '13 at 15:15

This is well documentated in Ubuntu Community Help Wiki.

Because is a large text, i send the link: WifiDocs/ShareEthernetConnectionThroughWireless

Good luck.

share|improve this answer
2  
+'d for pointing out that the documentation does exist :) –  Zuul May 16 '12 at 12:40

This link contains all the help you need, it solved this same issue for me too >> http://mydailyhash.wordpress.com/2010/07/16/internet-connection-sharing-on-ubuntu-windows-with-ad-hoc-2/

share|improve this answer
    
Thank you, but this does not solve my problem. Your article is about sharing an Ubuntu laptop's Ethernet connection to a Windows laptop via Wi-Fi, whereas I'm trying to share my Ubuntu laptop's Wi-Fi via Wi-Fi. –  funkeh May 6 '12 at 22:06

As @Andrejs Cainikovs says the technology is not wi-fi direct. So reading your question and answer, let me rephrase your question.

You are connected to internet via wi-fi and want to share it over the same device by creating some access point. Am I right?

If so, I am afraid at the time of writing this case is not possible in any other OS other than windows 7 (may be the list will include win8).

Windows 7 has internal support to create a wlan hosted network. In windows if you open the network and internetNetwork Connections, you can see with your actual wlan device there are one or two extra device described as Microsoft virtual wi-fi miniport like below.

wi-fi virtual

This is virtualization of physical adapter. Read more about it here.

To achieve this requirement you need to by a wireless device/wireless repeater. :)

Smiler Question : -

http://superuser.com/questions/233924/share-a-wifi-connection-through-wifi-on-mac-os-x

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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