SysTutorials

MobileNet Configuration on Linux: HKUST Setup Guide

· updated April 12, 2026

To connect to HKUST’s sMobileNet wireless network via NetworkManager, you’ll need to configure WPA2 Enterprise authentication with PEAP. This guide covers the required settings.

Network Settings

Configure the following parameters in NetworkManager:

Basic Settings:

Authentication Details:

Certificate:

Configuring via GUI

  1. Open NetworkManager settings (system settings or nmtui in terminal)
  2. Select “Add” or “+” to create a new connection
  3. Choose “Wi-Fi” as the connection type
  4. Enter SSID: sMobileNet
  5. Under Security, select “WPA & WPA2 Enterprise”
  6. Configure the EAP method:
    • EAP method: PEAP
    • Anonymous identity: (leave blank)
    • CA certificate: (None)
    • PEAP version: Automatic
    • Inner authentication: MSCHAPv2
  7. Enter your HKUST credentials
  8. Save and connect

Configuring via nmcli

You can also configure this from the command line using nmcli:

nmcli connection add type wifi con-name sMobileNet ifname wlan0 ssid sMobileNet
nmcli connection modify sMobileNet wifi-sec.key-mgmt wpa-eap
nmcli connection modify sMobileNet 802-1x.eap peap
nmcli connection modify sMobileNet 802-1x.phase2-auth mschapv2
nmcli connection modify sMobileNet 802-1x.identity "username@ust.hk"
nmcli connection modify sMobileNet 802-1x.password "your-password"
nmcli connection up sMobileNet

Replace username@ust.hk with your actual HKUST username and your-password with your password.

Manual Configuration via nmtui

If you prefer the terminal UI:

nmtui

Navigate to “Edit a connection” → “Add” → “Wi-Fi”, then enter the settings listed above.

Troubleshooting

Connection fails with authentication error:

CA certificate warning: This is expected behavior with sMobileNet. The warning is safe to ignore — the connection will still function properly.

No PEAP option available: Ensure you have the required packages installed:

# Debian/Ubuntu
sudo apt install wpasupplicant network-manager

# RHEL/Fedora/CentOS
sudo dnf install wpa_supplicant NetworkManager

# Arch
sudo pacman -S wpa_supplicant networkmanager

Connection drops or reconnects frequently: Check your system’s power management settings. Disable wireless power saving if needed:

sudo iw wlan0 set power_save off

To make this persistent across reboots, add to /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf:

[connection]
wifi.powersave = 2

Verification

After connecting, verify your connection:

nmcli connection show sMobileNet
nmcli device wifi show

Check IP assignment:

ip addr show wlan0

This configuration works on all major Linux distributions that use NetworkManager, including Fedora, RHEL, CentOS, Debian, Ubuntu, and Arch Linux.

2026 Best Practices and Advanced Techniques

For MobileNet Configuration on Linux: HKUST Setup Guide, understanding both the fundamentals and modern practices ensures you can work efficiently and avoid common pitfalls. This guide extends the core article with practical advice for 2026 workflows.

Troubleshooting and Debugging

When issues arise, a systematic approach saves time. Start by checking logs for error messages or warnings. Test individual components in isolation before integrating them. Use verbose modes and debug flags to gather more information when standard output is not enough to diagnose the problem.

Performance Optimization

Security Considerations

Security should be built into workflows from the start. Use strong authentication methods, encrypt sensitive data in transit, and follow the principle of least privilege for access controls. Regular security audits and penetration testing help maintain system integrity.

These complementary tools expand your capabilities:

Integration with Modern Workflows

Consider automation and containerization for consistency across environments. Infrastructure as code tools enable reproducible deployments. CI/CD pipelines automate testing and deployment, reducing human error and speeding up delivery cycles.

Quick Reference

This extended guide covers the topic beyond the original article scope. For specialized needs, refer to official documentation or community resources. Practice in test environments before production deployment.

← All posts