May 29, 2022

Kaip iš laptopo padaryti bevielio tinklo prisijungimo tašką (Wi-Fi hotspot access point)

Išsaugau sau ir ateities kartoms, kad nereikėtų ieškoti po interneto platybes.

Kad pasidaryti iš savo laptopo bevielio tinklo stotelę, prie kurios galėtum prie interneto pajungti kitus kompus, mobiliakus ir elektronines skaitykles reikia:

1. Programėlės mHotspot

2. Susikonfigūruoti prietaisus:

a) laptopą, kuris yra prijungtas laidu prie interneto ir kuris bus bevielio platintojas,
b) kiekvieną iš savo prietaisų, kuriuose reikalingas internetas.

1 dalis

Programulka mHotspot randasi jos kūrėjų tinklapyje http://www.mhotspot.com/download/

Šiuo metu – dvi versijos: vindausinė ir androidinė. Ubuntu – kaming sūn. Laukiu nekantraudamas, nes Ubuntu, skirtingai nuo Vindausų bevielio prieigą gali padaryti ne su kiekvienu Wi-Fi adapteriu – tipo, trūksta linuksinių draiverių ir šitą funkciją palaiko tik tam tikri modeliai (palaikantys AP mode).

Taigi, atsisiuntėm, susiinstaliavom (aš naudoju 7.6.0.0 versiją, nors yra naujesnė), pasiledžiam ir susitvarkom:

  • Hotspot Name laukelyje – mūsų pageidaujamas vardas, kuriuo prisijungimas bus matomas iš kitų prietaisų
  • Slaptažodis
  • Internet Source – pasirenkame savo laidinį ryšį
  • Max Client – keliems prietaisams leisime jungtis prie savo laptopo

Spaudžiam “Start Hotspot”. Jeigu Hotspot Status žalias “ON”, reiškia dirba.

Nuoroda į Settings – nusistatymai, ar paleidinėti startuojant Vindausus, kaip atnaujinti ir pan.

2 dalis

Imate savo prietaisą, kurį dabar bandysite prijungti prie interneto per laptopo bevielį.

Sėkmės atveju (deja, tai ne mano) pamatote prie Wi-Fi prisijungimų savo naujai sukurtą bevielį tinklą “Mano123”, pasirenkate jį, suvedat slaptažodį ir viskas veikia – prietaisas ne tik prisijungia prie Wi-Fi ryšio, bet ir pasileidžia interneto ryšys.

Toliau skaityti nebereikia einate į feisbuką ir postinate apie savo laimę.

Jeigu tinklą “Mano123” rodo, bet prie jo neprisijungia, skaitote toliau instrukciją basurmaniškai ir jeigu nesuprantate, laukiate, kol aš išversiu ją į gimtąją kalbą:

Iš Michalo Bohuckio (Michal Bohucky) komentaro:

I also had same problem, phones could not obtain IP address or they did and internet didn’t work.

This works for me: (on Windows PC)

***Fixing Internet sharing***

1. Open mHotspot and start Hotspot.

2. On the keyboard press <Win-button> + <R>, this will open Run window.

Type ncpa.cpl and click ok. (This will open and show your network devices)

Click on the Wireless Network Connection with name of your router. We are gonna share now the Internet of this connection. (you should see 2 wifi connection, with your router name and second, which is the new virtual name of mHotspot, we are focusing now on your router name’s connection)

So double click it. It will open new window and on the bottom of that window click on “Properties”.

Then click on the very very top on the 2nd tab called “Sharing”.

Thick the top box saying “Allow other network users to connect through this computer’s Internet connection.”

Home network connection name in the box below should be “Wireless network connection 1 or 2 or 3 etc.”

Then click Ok and close.

Pastaba: Jeigu šioje vietoje staiga ir netikėtai pamatote klaida – “An error occurred while internet connection sharing was being enabled” tipo nifiga niekas nieko jums neleis (kaip kad nutiko man) – skaitote tai, kas parašyta žemiau linijos.

The Internet sharing is now fixed and working and should be as well always working for the future even after restarting the PC it should remember it all from now.

***Fixing Obtaining IP Address***

3. We are gonna set IP address on your phone device to Static IP (manually). (that is the opposite of DHCP)

It means the device is not going to obtain IP address from mHotspot (as this is not working), instead we are gonna tell to our phone or device what the IP address will be and basically set the static IP address for the phone device manually.

On new android devices you can advance configure each Wireless connection separate. So If you set this particular wifi connection to Static IP, then the other wifi connections will remain in DHCP mode and will still connect in other places to wifi automatically as before.

How to set the IP address manually:

On the Windows computer press again keyboard combination <Win-button> + <R>, this will open Run window.

Type ncpa.cpl and click ok. (This will open and show your network devices)

Now find and double click on the Wireless Network Connection with name of mHotspot. This is the computer’s new virtual connection and can only be seen after you Start mHotspot, so make sure the mHotspot app is running on your PC.

After you double clicked this window, in the middle of this window you’ll see “Details”.

Click on “Details” and what we are looking for is “IPv4 Address 192.168.any number.1”. (In my case it was 192.168.137.1.) This is the IP address of the mHotspot virtual router.

Now lets set your Phone’s IP address. (žiūrėti žemiau)

On android click >Settings >Wi-Fi

You shoud see list of wifi connections.

Find the connection with your mHostpot name. (You can set or see this name on your computers running mHotspot app, its called “Hotspot Name” and its on the very top)

So find this name on your Phone’s list wifi networks.

Tap and hold with your finger on this networks name until you’ll see option “Modify network config”.

Tap on “Modify network config” and this will give you to check “Show advanced options”.

In this advanced options you’ll see under IP settings “DHCP”.

Click on it and change DHCP to “Static”. This is our new setting now “Static”.

It will give you then option the enter IP address, Gateway and DNS.

Vindausams ir Androidiniams mobiliakams tas pats:

So lets enter these settings:

IP address: 192.168.any number from before.and this last number is your phones unique number lets say 80.

So in this and my case IP address of my phone will be 192.168.137.80

Numbers 192.168 stays always like this.

Following number 137 is what we saw in details of our virtual network connection for mHotspot.

Last number 80 is chosen by us. For one device is 80, if we setting up another phone or device we chose again new number lets say 81, or 82. etc.

So our phone will have 192.168.137.80, another phone will have 192.168.137.81 and so on..

IP address we will enter is unique for every device or phone and must be different on each phone or device. It will be your phone’s unique signature.

Next fields will be exactly the same for all the devices or phones.

Next field “Gateway”.

Gateway: 192.168.137.1

This is the full IPv4 address we saw in details of our virtual network connection for mHotspot. In my case it was 192.168.137.1.
This will be gateway for every device we want to use.

Network prefix lenght: 24

DNS1: 192.168.137.1

This is again the full IPv4 address we saw in details of our virtual network connection for mHotspot. In my case it was 192.168.137.1.

DNS2: 8.8.4.4

Thats it. Click “Save”.

After you go back you should already be connected.

P.S.: If you going out of the range and back several times and the phone fails to see this your new virtual mHotspot network connection, its very easy quick fix.

Just stop and start again the mHotspot on the PC, takes only few seconds and you’ll connect automatically again.

————————————–

Nelaimėliams, kuriems neleidžia šėrinti interneto ryšio

Solution for An error occurred while internet connection sharing was being enabled (null) issue

Check this before going further

For enabling ICS [Internet Connection Sharing) on your computer, you must enable some features properly. Here are those features that you need to enable.

  •  Network Connections
  • Plug And Play
  • Telephony
  • Remote Procedure Call (RPC)
  • Remote Access Connection Manager
  • Application Layer Gateway Servic
  • Network Location Awareness (NLA)

An error occurred while internet connection sharing was being enabled

If you don’t know how to enable this follow the steps below

♦ Click Start Button
♦ Run
♦ Type “services.msc” and press enter.

Now you can see a huge list and filter what all services you want as I told above.

Enabled all the above and still having the same issue

Now you need to consider about this case. The error can be due to the Firewall in Disable mode. No matter you are using an external antivirus software like Kaspersky, Norton etc. Just enable your Firewall and check Internet connection sharing again.

For enabling and making Firewall as automatic starting, follow the instructions below

♦ Click on the Start Button
♦ On the Search box type services.msc and press Enter button
♦ Now you will see a window with lot of services.
♦ There you could see a service for “Windows Firewall”.

An error occurred while internet connection sharing was being enabled

♦ Right Click and choose properties
♦ Select “Automatic” under the Startup type.

An error occurred while internet connection sharing was being enabled

♦ Choose “Start” to start the service
♦ Press “Apply” and click “OK“.

Now Start enabling the ICS and enjoy Internet Sharing without any other issues. Have this solution helped you to resolve this issue forever?  then don’t forget to comment here about your findings. We appreciate your input. You can also shout here if this doesn’t worked for you.

 

Tavo neįkainojamas pasisakymas: