zoukankan      html  css  js  c++  java
  • openwrt 编译常用 luci 插件到固件中

    先更新安装 packages luci

    ./scripts/feeds update packages

    ./scripts/feeds install -a -p packages

    ./scripts/feeds update luci

    ./scripts/feeds install -a -p luci

    设置想要装的包,目前只需要最基本的包,usb samba sd mmc 

    需要什么包,选什么包,在哪里选,选哪个?

    这个要看经验。一般来说USB 需要内核支持。 usb 又分 ohci ehci,U盘的话,要选 usb storage。usb声卡要选 usb sound。

    make menuconfig

    make -j4 V=99

    1, luci 添加多语言支持。加个 にほん 我喜欢的,和一些常用的功能,全部的主题。

    LuCI --->
    1. Collections --->
    <*> luci................... LuCI interface with Uhttpd as Webserve

    2. Modules --->
    Translations --->
    <*> English (en)
    <*> Japanese (ja)  
    <*> Chinese (zh-cn)

    3. Applications --->
    <*> luci-app-commands
    <*> luci-app-samba
    <*> luci-app-uhttpd
    <*> luci-app-upnp.
    <*> luci-app-vnstat

    4. Themes --->
    -*- luci-theme-bootstrap
    <*> luci-theme-freifunk-generic
    <*> luci-theme-material
    <*> luci-theme-openwrt.


    2,网络工具,选几个常用的 
    Network --->
    File Transfer --->
    <*> curl
    <*> vsftpd
    <*> wget...
    <*> ipset.

    3, 声音支持 mpg123 是比较新的 mp3 解码器,比 mad 快。 madplay 直接可以播放 mp3 用来测试不错。
    Sound --->
    <*> alsa-utils
    <*> madplay-alsa
    -*- mpg123

    目前这个主题有点问题,不能保存设置。 还是不选择那几个主题好。 

  • 相关阅读:
    2.socket编程
    1网络编程基础概念
    vim笔记
    mysql示例及练习2
    mysql的示例及练习
    自己封装的mysql应用类示例
    mysql3_pymysql
    mysql2
    mysql1
    python之列表与集合
  • 原文地址:https://www.cnblogs.com/ningci/p/9382233.html
Copyright © 2011-2022 走看看