English (unofficial) translations of posts at kexue.fm
Source

Messing with the Network Again...

Translated by DeepSeek V4 Pro. Translations can be inaccurate, please refer to the original post for important stuff.

Tonight, I mainly accomplished two things:

  1. Implemented using my laptop as a WiFi hotspot under Windows 8 to share the campus network (the "Laptop WiFi Hotspot" technology; I wonder if this will shorten the computer’s lifespan). The main method is as follows:

    1.1. Install .NET 3.5. Installation method:

    Mount the Windows 8 installation disc. Then right-click the bottom-left corner of the Start menu (Win + X), select "Command Prompt (Admin)," and enter the following command:

    dism.exe /online /enable-feature /featurename:NetFX3 /Source:F:\sources\sxs

    Where F is the drive letter of the installation disc.

    Next is a long wait, estimated to be about ten minutes, after which a prompt will indicate 100% progress.

    1.2. Install Connectify software. Download the latest Lite version directly from the official website; you can purchase the Pro version if interested. A restart is required after installation, followed by a simple configuration. I will not go into further detail here.

    Note: By the way, I also tried the domestic "WiFi Sharing Genie," but found it would get stuck at "Searching for current configuration information." This frustrated me for several hours and remained unresolved... so I switched back to the foreign software.

    Another method found online is to run the following commands sequentially through an administrator CMD:

    netsh wlan set hostednetwork mode=allow ssid=YourNetworkName key=YourPassword
    netsh wlan start hostednetwork

    Then share the connection via "Change adapter settings." Using this method, my phone could find the signal, but it failed to obtain an IP address during connection for unknown reasons...

  2. Implemented connecting to the campus network under Ubuntu 12.

    The Ruijie client is generally only used under Windows and cannot be used under Linux. Therefore, MentoHUST is needed as a replacement in Ubuntu. However, as a Linux novice, I initially couldn’t figure out how to install MentoHUST in Ubuntu.

    After some research, I managed to learn how. First, download mentohust_0.3.4-1_amd64.deb for use. Download address:
    http://code.google.com/p/mentohust/

    Launch the "Terminal" in Ubuntu. Since no software had been installed previously, the superuser (root) password needs to be set first. Enter the following in the terminal:

    sudo passwd root

    Then repeat the password as prompted. Next, enter:

    su

    to activate the superuser account.

    Navigate to the directory where mentohust_0.3.4-1_amd64.deb is located and run:

    dpkg -i mentohust_0.3.4-1_amd64.deb

    Installation complete!

    Finally, use:

    sudo mentohust

    to start the program and configure the network card, username, and password.

    If you need to modify the username or password, use:

    sudo mentohust -u StudentID -p Password

    to make changes.

Please include the original address when reposting: https://kexue.fm/archives/1715

For more detailed reposting matters, please refer to: Scientific Space FAQ