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