@qca9531
更新lede 的源可以啊。

  • 修改 /etc/opkg/distfeeds.conf
  • opkg update
  • opkg install …
root@GL-AR300M:/# cat /etc/opkg/distfeeds.conf 
# src/gz packages http://www.gl-inet.com/lede/2.27/ar71xx/generic
src/gz base http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/base
src/gz packages http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/packages
src/gz routing http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/routing
src/gz telephony http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/telephony
root@GL-AR300M:/# opkg update
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/base
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/packages
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/routing
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/telephony
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/telephony/Packages.sig
Signature check passed.
root@GL-AR300M:/# opkg install freeradius2
Installing freeradius2 (2.2.9-1) to root...
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/packages/freeradius2_2.2.9-1_mips_24kc.ipk
Installing libltdl (2.4-2) to root...
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/base/libltdl_2.4-2_mips_24kc.ipk
Installing libreadline (7.0-1) to root...
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/base/libreadline_7.0-1_mips_24kc.ipk
Installing freeradius2-common (2.2.9-1) to root...
Downloading http://downloads.openwrt.org/releases/17.01.4/packages/mips_24kc/packages/freeradius2-common_2.2.9-1_mips_24kc.ipk
Configuring libltdl.
Configuring libreadline.
Configuring freeradius2-common.
Configuring freeradius2.
root@GL-AR300M:/# radiusd -h
Usage: radiusd [-d db_dir] [-l log_dir] [-i address] [-n name] [-fsvXx]
Options:

  -C              Check configuration and exit.
  -d raddb_dir    Configuration files are in "raddbdir/*".
  -f              Run as a foreground process, not a daemon.
  -h              Print this help message.
  -i ipaddr       Listen on ipaddr ONLY.
  -l log_file     Logging output will be written to this file.
  -m              On SIGINT or SIGQUIT exit cleanly instead of immediately.
  -n name         Read raddb/name.conf instead of raddb/radiusd.conf
  -p port         Listen on port ONLY.
  -s              Do not spawn child processes to handle requests.
  -t              Disable threads.
  -v              Print server version information.
  -X              Turn on full debugging.
  -x              Turn on additional debugging. (-xx gives more debugging).