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