A
A
andrewshkovskii2012-09-05 18:11:26
Android
andrewshkovskii, 2012-09-05 18:11:26

Convenient sharing of wifi networks using a laptop / android smartphone

The situation is as follows: we came to rest in Bulgaria, a company of 4 people. The hotel has wifi, but paid. We bought access, access is limited to one device, phones catch the network badly, but laptops are excellent.
There are 2 laptops. One under Windows, another under Mac OS X 10.8 (air 2012), and several htc phones under android (Nexus One, One S)
Task:
. There is a desire to share the connection to the entire number. But so far I have not found a way out how to do it concisely and simply.
Any guesses? bluetooth connection is the last option, because the speed is low.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
D
Denis, 2012-09-05
@uscr

I'm afraid the easiest option is: hotel WiFi -> laptop 1 -> wired -> laptop 2 -> WiFi hotspot on laptop 2

S
Samuel_Leonardo, 2012-09-05
@Samuel_Leonardo

try connectify.me
Re-broadcast Wi-Fi is announced in the lite version.

W
Weageoo, 2012-09-06
@Weageoo

On a laptop with Windows, install Connectify or Virtual Router. It is also possible through the console, without third-party software:
Starting a point:

netsh wlan set hostednetwork mode=allow ssid=PointName key=Password keyUsage=persistent
netsh wlan start hostednetwork

Stop:
netsh wlan stop hostednetwork

View settings:
netsh wlan show settings
netsh wlan show hostednetwork setting=security

Combined script for PowerShell:
$ssid = "defaultSSID"
$pass = "defaultPASSWODR"

if ($Args.count > 0) 
{
    if ($Args[0] = "start")
    {
        if ($Args.count > 1) 
        {
            $ssid = $Args[1]
        }
        if ($Args.count > 2) 
        {
            $pass = $Args[2]
        }
        netsh wlan set hostednetwork mode=allow ssid=$ssid key=$pass keyUsage=persistent
        netsh wlan start hostednetwork
    }
    else
    {
        if ($Args[0] = "stop")
        {
            netsh wlan stop hostednetwork
        }
    }
}
else 
{
    netsh wlan show settings
    netsh wlan show hostednetwork setting=security
}

P
Perkov, 2012-09-05
@Perkov

Hotel WiFi -> HTC USB tethering->macos wifi sharing

V
Vladimir Kivva, 2012-09-05
@zionkv

If I were you, without hesitation in the nearest store, without stinting a thousand rubles, I would buy a banal router with a repeater and not suffer from nonsense. Some ASUS RT-G32 , if the memory does not lie, calmly knows how to do this.

A
agmt, 2012-09-05
@agmt

WiFi - laptop - usb / bluetooth - mobile - your own WiFi.
Then you need to force the mobile to route as it should:

route add default gw <ip_of_note_on_usb0> metric 20 # брать интернеты с usb0; метрика опциональна, для работы по gprs в другое время.
sysctl net.ipv4.ip_forward=1
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
iptables -P FORWARD ACCEPT

Didn't check it myself, I could be wrong about something. But at least this will solve the issue of mobility.

P
Peter, 2012-09-07
@overmove

w3bsit3-dns.com/forum/index.php?showtopic=175743 sea of ​​ways to connect + painted about soft ap and ad hoc. There is no ad hoc support in official android firmware, therefore, in order to connect a smartphone to Wi-Fi, a computer requires
1) soft ap support in a laptop
Or
2) root on a smartphone
Or
3) a wifi router with soft ap support

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question