Wiki source code of How to connect to the Enterprise network
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.3 | 1 | **~ Contents:** | |
1.1 | 2 | ||
1.3 | 3 | {{toc/}} | |
4 | |||
5 | = 1. Introduction = | ||
6 | |||
1.5 | 7 | ((( | |
1.2 | 8 | Gateways can connect to WPA/WPA2 networks | |
1.5 | 9 | ))) | |
1.1 | 10 | ||
1.5 | 11 | ((( | |
1.2 | 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 ) | |
1.5 | 13 | ))) | |
1.1 | 14 | ||
1.5 | 15 | ((( | |
1.2 | 16 | Connect to the gateway's Linux command line via SSH | |
1.5 | 17 | ))) | |
1.1 | 18 | ||
1.3 | 19 | = 2. Connect to the gateway's Linux command line = | |
1.1 | 20 | ||
1.2 | 21 | User can use Putty or CRT as connection tools and see usermanual's How to connect to the Linux command line via ssh | |
1.1 | 22 | ||
1.3 | 23 | == 2.1 Step 1:Install the luci package == | |
1.1 | 24 | ||
1.2 | 25 | Please use the **opkg update;opkg install luci ~-~-force-overwrite** command to install luci package | |
1.1 | 26 | ||
1.4 | 27 | (% class="box" %) | |
28 | ((( | ||
1.5 | 29 | root@dragino-1e9674:~~# '''opkg update;opkg install luci ~-~-force-overwrite''' | |
1.4 | 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 | ))) | ||
1.1 | 74 | ||
1.3 | 75 | == 2.2 Step 2:Install the wpad package == | |
1.1 | 76 | ||
1.2 | 77 | Please use the **opkg remove wpad-mini;opkg install wpad** command to wpad package | |
1.1 | 78 | ||
1.4 | 79 | (% class="box" %) | |
80 | ((( | ||
1.5 | 81 | root@dragino-1e9674:~~# opkg remove wpad-mini;opkg install wpad | |
1.4 | 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 | ))) | ||
1.1 | 89 | ||
1.3 | 90 | = 3. Connect to the Enterprise network = | |
1.1 | 91 | ||
1.3 | 92 | == 3.1 Step 1:Enter the luci Web and wireless page == | |
1.1 | 93 | ||
1.2 | 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 | |
1.1 | 95 | ||
1.2 | 96 | as **10.130.1.1/cgi-bin/luci** or **adress IP:8000/cgi-bin/luci** | |
97 | |||
1.6 | 98 | ((( | |
1.3 | 99 | [[image:https://wiki.dragino.com/images/thumb/7/79/Enter_luci_page.png/600px-Enter_luci_page.png||height="120" width="600"]] | |
1.6 | 100 | ))) | |
1.2 | 101 | ||
102 | Enter luci page | ||
103 | |||
1.3 | 104 | == 3.2 Step 2:Select the connection to Enterprise network == | |
1.2 | 105 | ||
106 | User can enable the WIFI client and edit it with the WPA2-EAP model. | ||
107 | |||
1.6 | 108 | ((( | |
1.3 | 109 | [[image:https://wiki.dragino.com/images/thumb/a/a0/Select_wireless_page.png/600px-Select_wireless_page.png||height="264" width="600"]] | |
1.6 | 110 | ))) | |
1.2 | 111 | ||
112 | Select wireless page | ||
113 | |||
1.6 | 114 | ((( | |
1.3 | 115 | [[image:https://wiki.dragino.com/images/thumb/c/c7/Enable%26edit.png/600px-Enable%26edit.png||height="291" width="600"]] | |
1.6 | 116 | ))) | |
1.2 | 117 | ||
118 | Enable&edit | ||
119 | |||
1.6 | 120 | ((( | |
1.3 | 121 | [[image:https://wiki.dragino.com/images/thumb/b/bd/Edit_WPA2-EAP_network.png/600px-Edit_WPA2-EAP_network.png||height="364" width="600"]] | |
1.6 | 122 | ))) | |
1.2 | 123 | ||
124 | Edit luci WPA2-EAP network | ||
125 | |||
1.4 | 126 | (% style="color:red" %) | |
1.2 | 127 | Note:If user's enterprise network no certificate required,user only input the username and passwd to Save&Apply |