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