Wiki source code of Install Luci in the new UI firmware
Last modified by Xiaoling on 2023/04/21 10:22
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.2 | 14 | = 2. Connect to the gateway via SSH = |
![]() |
5.3 | 15 | |
![]() |
6.3 | 16 | |
![]() |
6.1 | 17 | 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 | 18 | |
![]() |
6.3 | 19 | (% style="color:blue" %)**Default credentials**: |
![]() |
5.3 | 20 | |
![]() |
6.1 | 21 | username: root |
22 | assword: dragino | ||
23 | |||
24 | |||
25 | = 3. Install Luci = | ||
26 | |||
![]() |
6.3 | 27 | |
![]() |
6.1 | 28 | Enter the following commands |
29 | |||
![]() |
6.3 | 30 | (% class="box infomessage" %) |
31 | ((( | ||
32 | **opkg update** | ||
![]() |
6.1 | 33 | |
![]() |
6.3 | 34 | opkg install luci ~-~-force-overwrite |
35 | ))) | ||
![]() |
6.1 | 36 | |
![]() |
6.3 | 37 | |
![]() |
1.2 | 38 | (% class="box" %) |
39 | ((( | ||
40 | (% style="color:red" %) | ||
![]() |
6.3 | 41 | **root@dragino-1d25dc:~~# opkg update** |
![]() |
1.2 | 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 | |||
![]() |
1.1 | 57 | |
![]() |
1.3 | 58 | (% style="color: red;" %) |
59 | ((( | ||
![]() |
6.3 | 60 | **root@dragino-1d25dc:~~# opkg install luci ~-~-force-overwrite** |
![]() |
1.3 | 61 | ))) |
![]() |
1.1 | 62 | |
![]() |
1.3 | 63 | (% style="color: black;" %) |
64 | ((( | ||
![]() |
1.2 | 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 | ))) | ||
![]() |
1.3 | 92 | ))) |
![]() |
1.1 | 93 | |
![]() |
4.1 | 94 | |
![]() |
6.1 | 95 | = 3. Web access = |
![]() |
1.1 | 96 | |
![]() |
6.3 | 97 | |
![]() |
6.1 | 98 | The new GUI is working as before. Simply enter the gateway IP address in the address bar of your browser. |
![]() |
5.3 | 99 | |
![]() |
6.1 | 100 | By default: [[http:~~/~~/10.130.1.1/cgi-bin/home.has>>http://10.130.1.1/cgi-bin/home.has]] |
101 | |||
![]() |
5.1 | 102 | [[image:image-20220527170256-1.png||height="550" width="1162"]] |
![]() |
1.1 | 103 | |
104 | |||
![]() |
6.1 | 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 |
![]() |
1.1 | 106 | |
![]() |
4.1 | 107 | [[image:image-20220527170325-2.png]] |
108 | |||
![]() |
6.1 | 109 |