20180129_jeffrey - silenceuncrio/diary GitHub Wiki
review
่ฉฆ่ไพๆ quagga package ๅ ๅ ฅ m360
ๆพๅฐไธๅ OpenWrt package feed containing community maintained routing packages
GitHub - https://github.com/openwrt-routing/packages
่ค่ฃฝๅ ถ quagga ่ณๆๅคพ่ณ M360P ็ package/net/quagga
้ ไพฟไฟฎๆน proscend open source dependency
diff --git a/package/proscend/Makefile b/package/proscend/Makefile
index dca8ec3..e20f479 100644
--- a/package/proscend/Makefile
+++ b/package/proscend/Makefile
@@ -25,7 +25,8 @@ define Package/proscend
+mosquitto-nossl \
+libpam \
+postfix \
- +xl2tpd
+ +xl2tpd \
+ +quagga
TITLE:=The proscend ICOS library and utilities
endef
ๅๅฐ M360P ่ท็ฎ้ make menuconfig
Network -> Routing and Redirection -> quagga
็ถๅพๆ quagga-bgpd
้ธ่ตทไพ ๅ
ถ้ค็ไฟๆ้ ่จญ
.config - OpenWrt Configuration
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโ quagga................................. The Quagga Software Routing Suite โโโโโโโโโโโโโ
โ Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are hotkeys. โ
โ Pressing <Y> includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to exit, <?> โ
โ for Help, </> for Search. Legend: [*] built-in [ ] excluded <M> module < > module capable โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ --- quagga................................. The Quagga Software Routing Suite โ โ
โ โ <*> quagga-bgpd......................... BGPv4, BGPv4+, BGPv4- routing engine โ โ
โ โ < > quagga-isisd........................................ IS-IS routing engine โ โ
โ โ < > quagga-libospf.............................................. OSPF library โ โ
โ โ -*- quagga-libzebra............................................ zebra library โ โ
โ โ < > quagga-ospf6d...................................... OSPFv3 routing engine โ โ
โ โ < > quagga-ospfd....................................... OSPFv2 routing engine โ โ
โ โ < > quagga-ripd........................................... RIP routing engine โ โ
โ โ < > quagga-ripngd....................................... RIPNG routing engine โ โ
โ โ < > quagga-vtysh................ integrated shell for Quagga routing software โ โ
โ โ <*> quagga-watchquagga....................................... Quagga watchdog โ โ
โ โ <*> quagga-zebra................................................ Zebra daemon โ โ
โ โ โ โ
ๅๅฐ M360P ่ท็ฎ้ make V=s
compile ้ไบ
้ฒ M360P/proscend
make clean
ๅ make menuconfig
็ขบ่ช BGP ๅ่ฝๆ้ๅ
compile ้ไบ
upgrade ๅฐๆฟๅญ่ฉฆ่ฉฆ
้็ถๆ้ปๅ้ก ไฝๅฏไปฅๅ commit ไบ
commit b2f7c027c6ea828dd14f786c97abe1911105085e
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Jan 29 11:54:10 2018 +0800
add quagga package for 'BGP' function
m360p_defconfig | 19 +-
package/net/quagga/Makefile | 283 +++++++++++++++++
package/net/quagga/files/quagga | 335 +++++++++++++++++++++
package/net/quagga/files/quagga.conf | 7 +
package/net/quagga/files/quagga.init | 11 +
package/net/quagga/patches/140-holdtimer-set.patch | 22 ++
.../net/quagga/patches/150-no-cross-fs-link.patch | 40 +++
.../quagga/patches/170-use-supported-pagers.patch | 29 ++
8 files changed, 739 insertions(+), 7 deletions(-)
bgp module init fail ๆฏๅ ็บ _verify_setting()
ๆฒๆ return ICOS_SUCCESS
้ๅๆ่ฟฐ
m300 project ๆฒ้ๅๅ้กๅฏ่ฝๆฏ default return value ๅๅฅฝๆฏ 0(ICOS_SUCCESS
)
ไธ code ๅ
commit fd363db2416cc232c946d8ca295d39aaa7aff9fe
Author: jeffrey <[email protected]>
Date: Mon Jan 29 13:25:25 2018 +0800
return 'ICOS_SUCCESS' explicitly
proscend/prosrc/icos/icoslib/bgp/bgp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
ๅ ถไป module ไนๆ้กไผผ็ๅ้กไธไฝตไฟฎๆ
commit 5e96029bcbf18de0f8140db5110f1be16248b749
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Jan 29 13:35:26 2018 +0800
return 'ICOS_SUCCESS' explicitly
proscend/prosrc/icos/icoslib/gre/gre.c | 2 ++
proscend/prosrc/icos/icoslib/ip_alias/ip_alias.c | 3 +--
proscend/prosrc/icos/icoslib/pptpd/pptpd.c | 2 ++
3 files changed, 5 insertions(+), 2 deletions(-)
commit aba75710050fac101b90b7aa70619e09e73dbc79
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Jan 29 15:29:34 2018 +0800
workaroud the 'keepalived' package
- use version 1.2.19 instead of 1.3.9
- use 'git checkout 4006865' at 'https://github.com/openwrt/packages.git'
- modify the 'DEPENDS' or it will be filled at compile
- turn on the libnl package
m360p_defconfig | 4 +-
package/net/keepalived/Makefile | 18 ++++----
package/net/keepalived/files/hotplug-user | 7 ---
package/net/keepalived/files/keepalived.config | 2 +-
package/net/keepalived/files/keepalived.init | 50 +++-------------------
package/net/keepalived/files/keepalived.user | 14 ------
.../101-0001-vrrp-update-struct-msghdr.patch | 50 ++++++++++++++++++++++
...Reinstate-initialisation-of-msghdr-fields.patch | 41 ++++++++++++++++++
8 files changed, 109 insertions(+), 77 deletions(-)
commit a2bcce7cbc5ea10342f91acfa9f897e2f1ab9e81
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Jan 29 16:26:00 2018 +0800
keep the '/www.cgi-bin/luci' for reference now
proscend/prosrc/webcgi/Makefile | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
commit 7110aecfc2abec2288d29c2bc53e39dde967fa9e
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Jan 29 16:46:57 2018 +0800
turn on 'openssl-util' - open source SSL toolkit (utility)
m360p_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b851a54d04a4b3b3f693e2066395b8f8ff9a9d14
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Jan 29 17:11:04 2018 +0800
for bring up proscend web service
- stop the uhttpd at '/etc/rc.local' currently
- uhttpd will tart first then stop
- prepare the 'install' task for 'prosrc/www'
commit 92aa9f75da975f0d4f4f42ac4f7372dde67ffd22
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Jan 29 17:58:40 2018 +0800
now 'rc.local' does not stop the uhttpd
proscend/base_fs/default/rootfs/etc/rc.local | 3 ---
1 file changed, 3 deletions(-)