Wiki source code of Install Luci in the new UI firmware
Last modified by Xiaoling on 2023/04/21 10:22
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="wikigeneratedid" %) | ||
2 | **Table of Contents:** | ||
3 | |||
4 | {{toc/}} | ||
5 | |||
6 | |||
7 | |||
8 | = 1. Introduction = | ||
9 | |||
10 | |||
11 | In the new firmware version, Luci is removed. If you want to install Luci package, you can use the command line: | ||
12 | |||
13 | |||
14 | = 2. Connect to the gateway via SSH = | ||
15 | |||
16 | |||
17 | You can use [[Putty>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]] or any SSH client to connect the the gateway. | ||
18 | |||
19 | (% style="color:blue" %)**Default credentials**: | ||
20 | |||
21 | username: root | ||
22 | assword: dragino | ||
23 | |||
24 | |||
25 | = 3. Install Luci = | ||
26 | |||
27 | |||
28 | Enter the following commands | ||
29 | |||
30 | (% class="box infomessage" %) | ||
31 | ((( | ||
32 | **opkg update** | ||
33 | |||
34 | opkg install luci ~-~-force-overwrite | ||
35 | ))) | ||
36 | |||
37 | |||
38 | (% class="box" %) | ||
39 | ((( | ||
40 | (% style="color:red" %) | ||
41 | **root@dragino-1d25dc:~~# opkg update** | ||
42 | (% style="color:black" %)Downloading https:~/~/downloads.openwrt.org/releases/18.06.8/targets/ar71xx/generic/packages~/~/Packages.gz | ||
43 | Updated list of available packages in /var/opkg-lists/openwrt_core | ||
44 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/base~/~/Packages.gz | ||
45 | Updated list of available packages in /var/opkg-lists/openwrt_base | ||
46 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/Packages.gz | ||
47 | Updated list of available packages in /var/opkg-lists/openwrt_luci | ||
48 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/packages~/~/Packages.gz | ||
49 | Updated list of available packages in /var/opkg-lists/openwrt_packages | ||
50 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/routing~/~/Packages.gz | ||
51 | Updated list of available packages in /var/opkg-lists/openwrt_routing | ||
52 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/telephony~/~/Packages.gz | ||
53 | Updated list of available packages in /var/opkg-lists/openwrt_telephony | ||
54 | Downloading http:~/~/www.dragino.com/downloads/downloads/LoRa_Gateway/DLOS8/Firmware/Packages/dragino~/~/Packages.gz | ||
55 | Updated list of available packages in /var/opkg-lists/dragino | ||
56 | |||
57 | |||
58 | (% style="color: red;" %) | ||
59 | ((( | ||
60 | **root@dragino-1d25dc:~~# opkg install luci ~-~-force-overwrite** | ||
61 | ))) | ||
62 | |||
63 | (% style="color: black;" %) | ||
64 | ((( | ||
65 | Installing luci (git-20.272.49300-479154e-1) to root... | ||
66 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci_git-20.272.49300-479154e-1_all.ipk | ||
67 | Installing luci-base (git-20.272.49300-479154e-1) to root... | ||
68 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-base_git-20.272.49300-479154e-1_mips_24kc.ipk | ||
69 | Installing luci-mod-admin-full (git-20.272.49300-479154e-1) to root... | ||
70 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-mod-admin-full_git-20.272.49300-479154e-1_mips_24kc.ipk | ||
71 | Installing luci-theme-bootstrap (git-20.272.49300-479154e-1) to root... | ||
72 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-theme-bootstrap_git-20.272.49300-479154e-1_all.ipk | ||
73 | Installing luci-app-firewall (git-20.272.49300-479154e-1) to root... | ||
74 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-app-firewall_git-20.272.49300-479154e-1_all.ipk | ||
75 | Installing luci-proto-ppp (git-20.272.49300-479154e-1) to root... | ||
76 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-proto-ppp_git-20.272.49300-479154e-1_all.ipk | ||
77 | Installing luci-proto-ipv6 (git-20.272.49300-479154e-1) to root... | ||
78 | Downloading https:~/~/downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci~/~/luci-proto-ipv6_git-20.272.49300-479154e-1_all.ipk | ||
79 | Configuring luci-theme-bootstrap. | ||
80 | uci: Entry not found | ||
81 | uci: Parse error (too many arguments) at line 22, byte 43 | ||
82 | Configuring luci-app-firewall. | ||
83 | Configuring luci-proto-ppp. | ||
84 | Configuring luci-base. | ||
85 | Configuring luci-mod-admin-full. | ||
86 | uci: Entry not found | ||
87 | uci: Parse error (too many arguments) at line 22, byte 43 | ||
88 | Configuring luci-proto-ipv6. | ||
89 | Configuring luci. | ||
90 | root@dragino-1d25dc:~~# | ||
91 | ))) | ||
92 | ))) | ||
93 | |||
94 | |||
95 | = 3. Web access = | ||
96 | |||
97 | |||
98 | The new GUI is working as before. Simply enter the gateway IP address in the address bar of your browser. | ||
99 | |||
100 | By default: [[http:~~/~~/10.130.1.1/cgi-bin/home.has>>http://10.130.1.1/cgi-bin/home.has]] | ||
101 | |||
102 | [[image:image-20220527170256-1.png||height="550" width="1162"]] | ||
103 | |||
104 | |||
105 | The LuCI interface is accessible via the URL [[http:~~/~~/10.130.1.1/cgi-bin/luci/>>http://10.130.1.1/cgi-bin/luci/]], adjust the IP accordingly | ||
106 | |||
107 | [[image:image-20220527170325-2.png]] | ||
108 | |||
109 |