set up wifi hotspot (share internet connection)

Liviu Andronic landronimirc at gmail.com
Sat Apr 27 17:55:43 UTC 2013


On Sat, Apr 27, 2013 at 6:14 PM, Nils Kassube <kassube at gmx.net> wrote:
> Liviu Andronic wrote:
>> On Sat, Apr 27, 2013 at 4:55 PM, Nils Kassube <kassube at gmx.net> wrote:
>> > First of all you need hardware which is capable of running as a
>> > wireless access point, not all chipsets can do that. What wifi
>> > hardware is in your laptop?
>>
>> In the end I managed to set up the Adhoc hotspot using NetworkManager
>> (0.9.4 on Ubuntu Precise), using the following setup.
>> - Laptop A wired onto eth0
>> - Create Adhoc network on Laptop A with "shared internet connection";
>> do not use encryption
>> - Connect Laptop B to Adhoc hotspot. Internet works on Laptop B.
>
> From your initial post I was expecting that you wanted to use your
> laptop as an access point. However adhoc mode is something totally
>
Well, I'm not sure what's the difference between the two. I simply
wanted to have a laptop connected to a wired interface, and render the
internet via a Wi-Fi to other devices.


> different. Still the question remains: what wifi hardware is in your
> laptop? Usually you could find it out with the command
>
> lspci
>
> in a terminal.
>
user at liv-laptop:~$ lspci | grep -i athe
01:00.0 Network controller: Atheros Communications Inc. AR9285
Wireless Network Adapter (PCI-Express) (rev 01)
02:00.0 Ethernet controller: Atheros Communications Inc. AR8132 Fast
Ethernet (rev c0)


Is this good, or bad?


>> However I'm running into a strange issue:
>> If I use no encryption for the Adhoc network, then I manage to connect
>> Laptop B to this network and access the internet. But if I put a WEP
>> password, then internet won't get shared even if Laptop B connects to
>> this network. For obvious reasons I would like to have this hotspot
>> use an encrypted connection.
>
> WEP is as good as no encryption [1], so you might as well use the
> working unencrypted setup. If you want a rather secure encryption, use
> WPA2 or at least WPA. Any halfway modern wifi device should be capable
> of WPA2 but I don't know if adhoc mode supports WPA/WPA2.
>
All security is only there to make things more difficult for the
perpetrator. Between a key, even if a scrawny one, and no key, I'd
rather have a key. At least the kid next door won't bother to connect
to my wifi hotspot.

Thanks,
Liviu


>> Is it possible that this is a bug in NM?
>
> Sorry, I can't help you here - I'm not really familiar with NM because I
> use wicd for my laptop. Furthermore I don't use adhoc mode ...
>
>
> Nils
>
> [1] <http://h-online.com/-732607>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail




More information about the ubuntu-users mailing list