# Connecting the Omega to Wi-Fi Hotspot that Requires Login

Last edited by Boken Lin, 2015-11-28 00:08:19

In order to connect to some Wi-Fi hostspots in certain hotels or restaurants, you will need to first connect to the Wi-Fi and login via your browser before you can access the Internet. Since the Omega does not have a browser, you will need to use your computer or smartphone to login for the Omega. To connect the Omega to one of these Wi-Fi hotspots, following the following instruction:

## 1. Enable the Access Point (AP) on the Omega

Access Point on the Omega should be enabled by default. If it isn't already enabled, you will need to connect to the Omega via the serial terminal. Then, to enable the Access Point, you will need to edit /etc/config/wireless. Uncomment or add the following lines to the file:

config wifi-iface
option network 'wlan'
option mode 'ap'
option ssid 'Omega AP'
option encryption 'psk2'
option key 'onioneer'

Then, to restart the Wi-Fi service with the new configuration:

wifi

Your Access Point should be turned on at this point.

## 2. Connect the Omega to the Wifi router

Next, you will need to connect the Omega to the Wi-Fi hotspot of the hotel/restaurants you are in. To do this, you will use the wifisetup command:

root@Omega-0104:/# wifisetup
Onion Omega Wifi Setup

Select from the following:
1) Scan for Wifi networks
2) Type network info
q) Exit

Selection:

Just follow the instruction to scan the Wi-Fi network and connect to it.