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