mirror of
https://github.com/Dichgrem/luci-app-nyn.git
synced 2025-12-16 05:32:01 -05:00
style:readme
This commit is contained in:
31
README.md
31
README.md
@@ -8,6 +8,15 @@
|
|||||||
|
|
||||||
> Attention ! The nyn project is archived and it is recommended to use the c language version of zzz instead of it ! In order to commemorate nyn, the name of this project is not modified.
|
> Attention ! The nyn project is archived and it is recommended to use the c language version of zzz instead of it ! In order to commemorate nyn, the name of this project is not modified.
|
||||||
|
|
||||||
|
## How to use
|
||||||
|
|
||||||
|
- Step 0: Make sure you have an ``openwrt router``, ``download the ipk`` in Releases in this project, and ``upload and install`` it in the system-package of the Luci background.
|
||||||
|
- Step 1:Fill in the user name: Student ID@operator. For example, ``212306666@cucc``, China Unicom is cucc, mobile is cmcc, and telecom is ctcc.
|
||||||
|
- Step 2: Fill in the password. The ``initial password`` is the last six digits of the ID card by default. It can be modified in the official client.
|
||||||
|
- Step 3: Select your network card; generally speaking, you can use ``ip addr`` to view the network card that has been assigned an IP, such as eth1.
|
||||||
|
- Step 4: ``Start the service`` and observe whether you can access the Internet, and then enable ``scheduled startup``; because the campus network will be closed from 12:00 to 7:00 the next day.
|
||||||
|
- Finally,enjoy it!
|
||||||
|
|
||||||
## How to build
|
## How to build
|
||||||
|
|
||||||
- First clone this repository to the package directory of the openwrt you want to compile:
|
- First clone this repository to the package directory of the openwrt you want to compile:
|
||||||
@@ -15,31 +24,35 @@
|
|||||||
```
|
```
|
||||||
cd ./package
|
cd ./package
|
||||||
git clone https://github.com/Dichgrem/luci-app-nyn.git
|
git clone https://github.com/Dichgrem/luci-app-nyn.git
|
||||||
|
cp -r ./luci-app-nyn/luci-app-zzz ./
|
||||||
|
cp -r ./luci-app-nyn/zzz ./
|
||||||
|
rm -rf ./luci-app-nyn
|
||||||
```
|
```
|
||||||
- Then select ``Network->nyn`` and ``LuCI->Applications->luci-app-nyn`` in make menuconfig and change them to "M" state;
|
- Then select ``Network->zzz`` and ``LuCI->Applications->luci-app-zzz`` in make menuconfig and change them to "M" state;
|
||||||
|
|
||||||
- Finally, run
|
- Finally, run
|
||||||
```
|
```
|
||||||
make package/luci-app-nyn/clean V=s
|
make package/luci-app-zzz/clean V=s
|
||||||
make package/luci-app-nyn/compile V=s
|
make package/luci-app-zzz/compile V=s
|
||||||
```
|
```
|
||||||
and
|
and
|
||||||
```
|
```
|
||||||
make package/nyn/clean V=s
|
make package/zzz/clean V=s
|
||||||
make package/nyn/compile V=s
|
make package/zzz/compile V=s
|
||||||
```
|
```
|
||||||
to start build.
|
to start build.
|
||||||
|
|
||||||
- You can use this command to find the compiled ipk:
|
- You can use this command to find the compiled ipk:
|
||||||
|
|
||||||
```
|
```
|
||||||
❯ find bin/ -name "nyn*.ipk"
|
❯ find bin/ -name "zzz*.ipk"
|
||||||
bin/packages/x86_64/base/nyn_1.0.0-r1_x86_64.ipk
|
bin/packages/x86_64/base/zzz_1.0.0-r1_x86_64.ipk
|
||||||
❯ find bin/ -name "luci-app-nyn*.ipk"
|
❯ find bin/ -name "luci-app-zzz*.ipk"
|
||||||
bin/packages/x86_64/base/luci-app-nyn_0_all.ipk
|
bin/packages/x86_64/base/luci-app-zzz_0_all.ipk
|
||||||
```
|
```
|
||||||
|
|
||||||
## Acknowledgements
|
## Acknowledgements
|
||||||
|
|
||||||
|
- [diredocks/zzz](https://github.com/diredocks/zzz)
|
||||||
- [diredocks/nyn](https://github.com/diredocks/nyn)
|
- [diredocks/nyn](https://github.com/diredocks/nyn)
|
||||||
- [bitdust/njit8021xclient](https://github.com/bitdust/njit8021xclient)
|
- [bitdust/njit8021xclient](https://github.com/bitdust/njit8021xclient)
|
||||||
|
|||||||
Reference in New Issue
Block a user