What's new

Closed How to share softether connection as hotspot (wifi connection)?

Status
Not open for further replies.

ourtxt

Addict
Joined
Dec 13, 2015
Posts
155
Reaction
107
Points
120
ONE-time SETUP.
Steps:
1) Download the following scripts:
Script to START Hotspot:
You do not have permission to view the full content of this post. Log in or register now.
Script to STOP Hotspot:
You do not have permission to view the full content of this post. Log in or register now.

2) Open SoftEther then Connect.

3) Start the Hotspot.
Double-click "START Hotspot.bat" script. Click Yes to confirm.

4) Follow the instructions listed on each of the following pics:

hs1.png hs2.png

5) Stop the Hotspot.
Double Click "STOP Hotspot.bat" script. Click Yes to confirm.

6) Start the Hotspot AGAIN.

Wifi SSID: ACTiVE
Wifi Password: active01

CREDIT:
- Script contributed by Dennis van Gils at You do not have permission to view the full content of this post. Log in or register now.
- Script are safe and tested 100% working.
- Credit goes to those who shared their wisdom and personal servers on SoftEther. Mabuhay po kayo.
 

Attachments

Code:
@echo off
REM    Copyright (C) 2013 
REM       Shaleen Jain
REM       shalzz@outlook.com
REM
REM       Batch file for creating Wifi Hotspot
if _%1_==_payload_  goto :payload

:getadmin
    echo %~nx0: elevating self
    set vbs=%temp%\getadmin.vbs
    echo Set UAC = CreateObject^("Shell.Application"^)                >> "%vbs%"
    echo UAC.ShellExecute "%~s0", "payload %~sdp0 %*", "", "runas", 1 >> "%vbs%"
    "%temp%\getadmin.vbs"
    del "%temp%\getadmin.vbs"
goto :eof

:payload
    echo %~nx0: running payload with parameters:
    echo %*
    echo ---------------------------------------------------
    cd /d %2
    shift
    shift
    rem put your code here
    rem e.g.: perl myscript.pl %1 %2 %3 %4 %5 %6 %7 %8 %9
    :start
@ECHO off
ECHO  Please select one of the options
ECHO  --------------------------------------------------------------------------------------------------------------------------
ECHO  1 Hotspot settings
ECHO  2 Start Hotspot
ECHO  3 Stop  Hotspot
ECHO  --------------------------------------------------------------------------------------------------------------------------

SET /p option=Please enter one of the options:

if %option%==1  ( goto setup )      else set /a er=1
if %option%==2  ( goto start1 )      else set /a er=er+1
if %option%==3  ( goto stop )       else set /a er=er+1

:noOption
if %er% GEQ 3 (
Echo Error!
Echo Please enter a correct option
@pause
cls 
goto start
)

:setup
SET /p ssid=Please enter the Hotspot name:
SET /p key=Please enter the Hotspot password greater the 8 digits:
netsh wlan set hostednetwork mode=allow ssid=%ssid% key=%key%
if %errorlevel%==0 (
ECHO Setup complete
)
@pause
cls 
goto start

:start1
netsh wlan start hostednetwork
@pause
cls 
goto start

:stop
netsh wlan stop hostednetwork
@pause
cls 
goto start
goto :eof[ZoneTransfer]
AppZoneId=4

yan paps mas maganda two in one na yan pwede mo pa i-set ssid saka pass
 
Correction sa FIRTS picture.
"Network Connections" ang dapat piliin (not Disk Management)

Nagkamali po.
 
Status
Not open for further replies.
Back
Top