Wiki source code of Install Luci in the new UI firmware
Version 6.1 by Jean-Philippe Gagné on 2022/11/25 00:54
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
5.2 | 1 | (% class="wikigeneratedid" %) |
2 | **Table of Contents:** | ||
3 | |||
4 | {{toc/}} | ||
5 | |||
6 | |||
7 | |||
![]() |
1.2 | 8 | = 1. Introduction = |
![]() |
1.1 | 9 | |
![]() |
5.3 | 10 | |
![]() |
6.1 | 11 | In the new firmware version, Luci is removed. If you want to install Luci package, you can use the command line: |
![]() |
1.1 | 12 | |
![]() |
4.1 | 13 | |
![]() |
6.1 | 14 | = 3. Connect to the gateway via SSH = |
![]() |
5.3 | 15 | |
![]() |
6.1 | 16 | You can use [[Putty>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]] or any SSH client to connect the the gateway. |
![]() |
1.1 | 17 | |
![]() |
6.1 | 18 | **Default credentials**: |
![]() |
5.3 | 19 | |
![]() |
6.1 | 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 | |||
![]() |
1.2 | 33 | (% class="box" %) |
34 | ((( | ||
35 | (% style="color:red" %) | ||
![]() |
6.1 | 36 | root@dragino-1d25dc:~~# opkg update |
![]() |
1.2 | 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 | |||
![]() |
1.1 | 52 | |
![]() |
1.3 | 53 | (% style="color: red;" %) |
54 | ((( | ||
![]() |
6.1 | 55 | root@dragino-1d25dc:~~# opkg install luci ~-~-force-overwrite |
![]() |
1.3 | 56 | ))) |
![]() |
1.1 | 57 | |
![]() |
1.3 | 58 | (% style="color: black;" %) |
59 | ((( | ||
![]() |
1.2 | 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 | ))) | ||
![]() |
1.3 | 87 | ))) |
![]() |
1.1 | 88 | |
![]() |
4.1 | 89 | |
![]() |
5.3 | 90 | |
![]() |
6.1 | 91 | = 3. Web access = |
![]() |
1.1 | 92 | |
![]() |
6.1 | 93 | The new GUI is working as before. Simply enter the gateway IP address in the address bar of your browser. |
![]() |
5.3 | 94 | |
![]() |
6.1 | 95 | By default: [[http:~~/~~/10.130.1.1/cgi-bin/home.has>>http://10.130.1.1/cgi-bin/home.has]] |
96 | |||
![]() |
5.1 | 97 | [[image:image-20220527170256-1.png||height="550" width="1162"]] |
![]() |
1.1 | 98 | |
99 | |||
![]() |
6.1 | 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 |
![]() |
1.1 | 101 | |
![]() |
4.1 | 102 | [[image:image-20220527170325-2.png]] |
103 | |||
![]() |
6.1 | 104 |