Version 1.4 by Xiaoling on 2022/05/14 13:57

Show last authors
1 **~ Contents:**
2
3 {{toc/}}
4
5 = 1. Introduction =
6
7 Gateways can connect to WPA/WPA2 networks
8
9 What does the user need to prepare: The gateway accesses the network normally(Please access the network through other means, such as a WAN port )
10
11 Connect to the gateway's Linux command line via SSH
12
13 = 2. Connect to the gateway's Linux command line =
14
15 User can use Putty or CRT as connection tools and see usermanual's How to connect to the Linux command line via ssh
16
17 == 2.1 Step 1:Install the luci package ==
18
19 Please use the **opkg update;opkg install luci ~-~-force-overwrite** command to install luci package
20
21 (% class="box" %)
22 (((
23 root@dragino-1e9674:~~# '''opkg update;opkg install luci ~-~-force-overwrite'''
24 Downloading https:~/~/downloads.openwrt.org/releases/18.06.8/targets/ar71xx/generic/packages~/~/Packages.gz
25 Updated list of available packages in /var/opkg-lists/openwrt_core
26 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/base~/~/Packages.gz
27 Updated list of available packages in /var/opkg-lists/openwrt_base
28 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/Packages.gz
29 Updated list of available packages in /var/opkg-lists/openwrt_luci
30 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/packages~/~/Packages.gz
31 Updated list of available packages in /var/opkg-lists/openwrt_packages
32 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/routing~/~/Packages.gz
33 Updated list of available packages in /var/opkg-lists/openwrt_routing
34 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/telephony~/~/Packages.gz
35 Updated list of available packages in /var/opkg-lists/openwrt_telephony
36 Downloading http:~/~/www.dragino.com/downloads/downloads/LoRa_Gateway/DLOS8/Firmware/Packages/dragino~/~/Packages.gz
37 Updated list of available packages in /var/opkg-lists/dragino
38 Installing luci (git-20.356.64372-1259bb1-1) to root...
39 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci_git-20.356.64372-1259bb1-1_all.ipk
40 Installing luci-lib-ip (git-20.356.64372-1259bb1-1) to root...
41 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-lib-ip_git-20.356.64372-1259bb1-1_mips_24kc.ipk
42 Installing luci-base (git-20.356.64372-1259bb1-1) to root...
43 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-base_git-20.356.64372-1259bb1-1_mips_24kc.ipk
44 Installing luci-mod-admin-full (git-20.356.64372-1259bb1-1) to root...
45 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-mod-admin-full_git-20.356.64372-1259bb1-1_mips_24kc.ipk
46 Installing luci-theme-bootstrap (git-20.356.64372-1259bb1-1) to root...
47 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-theme-bootstrap_git-20.356.64372-1259bb1-1_all.ipk
48 Installing luci-app-firewall (git-20.356.64372-1259bb1-1) to root...
49 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-app-firewall_git-20.356.64372-1259bb1-1_all.ipk
50 Installing luci-proto-ppp (git-20.356.64372-1259bb1-1) to root...
51 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-proto-ppp_git-20.356.64372-1259bb1-1_all.ipk
52 Installing luci-proto-ipv6 (git-20.356.64372-1259bb1-1) to root...
53 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-proto-ipv6_git-20.356.64372-1259bb1-1_all.ipk
54 Configuring luci-lib-ip.
55 Configuring luci-theme-bootstrap.
56 uci: Entry not found
57 uci: Parse error (too many arguments) at line 22, byte 43
58 Configuring luci-app-firewall.
59 Configuring luci-proto-ppp.
60 Configuring luci-base.
61 Configuring luci-mod-admin-full.
62 uci: Entry not found
63 uci: Parse error (too many arguments) at line 22, byte 43
64 Configuring luci-proto-ipv6.
65 Configuring luci.
66 root@dragino-1e9674:~~#
67 )))
68
69 == 2.2 Step 2:Install the wpad package ==
70
71 Please use the **opkg remove wpad-mini;opkg install wpad** command to wpad package
72
73 (% class="box" %)
74 (((
75 root@dragino-1e9674:~~# opkg remove wpad-mini;opkg install wpad
76 Removing package wpad-mini from root...
77 Installing wpad (2018-05-21-62566bc2-8) to root...
78 Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/base~/~/wpad_2018-05-21-62566bc2-8_mips_24kc.ipk
79 Configuring wpad.
80 root@dragino-1e9674:~~# reboot
81 root@dragino-1e9674:~~#
82 )))
83
84 = 3. Connect to the Enterprise network =
85
86 == 3.1 Step 1:Enter the luci Web and wireless page ==
87
88 User can use the IP address of the gateway(as 10.130.1.1/IP:8000) followed by /luci to enter the luci page
89
90 as **10.130.1.1/cgi-bin/luci** or **adress IP:8000/cgi-bin/luci**
91
92 [[image:https://wiki.dragino.com/images/thumb/7/79/Enter_luci_page.png/600px-Enter_luci_page.png||height="120" width="600"]]
93
94 Enter luci page
95
96 == 3.2 Step 2:Select the connection to Enterprise network ==
97
98 User can enable the WIFI client and edit it with the WPA2-EAP model.
99
100 [[image:https://wiki.dragino.com/images/thumb/a/a0/Select_wireless_page.png/600px-Select_wireless_page.png||height="264" width="600"]]
101
102 Select wireless page
103
104 [[image:https://wiki.dragino.com/images/thumb/c/c7/Enable%26edit.png/600px-Enable%26edit.png||height="291" width="600"]]
105
106 Enable&edit
107
108 [[image:https://wiki.dragino.com/images/thumb/b/bd/Edit_WPA2-EAP_network.png/600px-Edit_WPA2-EAP_network.png||height="364" width="600"]]
109
110 Edit luci WPA2-EAP network
111
112 (% style="color:red" %)
113 Note:If user's enterprise network no certificate required,user only input the username and passwd to Save&Apply