如何在野外利用电脑做个WiFi-Spot?

在野外做运动训练试验时经常需要通过4G,LTE等通信方式来上传或更新手机等智能终端的数据。可当你跑到雪山,草原,山谷等电波覆盖不到的地方,数据更新就变成了大课题。

这里介绍一个便携式实用方案,在野外利用手提电脑做个WiFi-Spot,为手机等智能终端提供数据收集的服务器功能。

work outdoor

这里介绍一个实用方案,野外利用手提电脑做个WiFi-Spot,为手机等智能终端提供数据收集的服务器功能。

首先,在手提电脑内安装服务器,例如Apache, WordPress, MySQL等。
之后按照下面的操作内容,在手提电脑设置SoftAP软件,建立WiFi-Spot。

# Set up wifi on localhost using SoftAP
#————————————
0, Target is to:
Setup local pc as a WIFI-Spot for phones to connect to local pc.

1, Reading http://www.infraexpert.com/study/wireless48.html
will help you complete the job smoothly.

2, Open Network, Find “Microsoft Virtual Wifi MiniPort Adapter”,
rename it as “movi-wifi-spot”

3, Open prompt as administrator

4, Enable Wifi adapter
cmd> netsh wlan set hostednetwork mode=allow

5, Name adapter as “movi-wifi-spot”
cmd> netsh wlan set hostednetwork ssid=movi-wifi-spot

6, Set up key
cmd> netsh wlan set hostednetwork key=mvo0315 keyusage=persistent

7, Start SoftAP
cmd> netsh wlan start hostednetwork

8, Check SoftAP
cmd> netsh wlan show hostednetwork

9, Stop SoftAP when it is needed.
cmd> netsh wlan stop hostednetwork

Note:
Steps above will not connect phone to the internet, if phone needs to connect to the internet,you should set local pc works as wifi-routers by just make [network]-[local area]-[property]-[share]-all check

#————————————
# DNS Configuration
#————————————
1, You had better add following entry in C:\Windows\System32\drivers\etc\hosts in the begining.
127.0.0.1 192.168.173.1

#————————————
# Server and Service Configuration
#————————————
1, Due to no DNS server in the network to be constructed,
All services including wordpress must be installed under http://192.168.173.1/.

2, Wordpress configuration”
Assume you have a installation of wordpress under %apache_home%htdocs/wordpress/192x168x173x1/,
you must change wordpress variables of “siteurl, home”to point to 192.168.173.1
Access wordpress like http://192.168.173.1/wordpress/192x168x173x1/.

John Li

John Li

John Li, as one of the founders of movispo.com, was trying to make a change in sport area where the sport skill of athletes and the experiences of coaches were still not easy to be shared among athletes. New ideas come out.

You May Also Like