OpenWRT in the role of upstream
2014-10-11 09:32
375 查看
OpenWRT in the role of upstream
Pavel Simerda
pavlix@pavlix.net
InstallFest.CZ 2014, Praha
http://data.pavlix.net/installfest/2014/
Software used in OpenWRT
System initialization
Current OpenWRT
procd, ubox
Former OpenWRT
busybox-init, hotplug2, block-mount
Classic distributions
systemd
upstart, udev
sysvinit, rc, udev
Interprocess communication service
Current OpenWRT
ubusd
Classic distributions
dbus-daemon
Common con guration database
Current OpenWRT
uci
Classic distributions
none
Network con guration service
Current OpenWRT
netifd, busybox-udhcpc, odhcp6c
Classic distributions
NetworkManager, dhclient
Client con guration provider
Current OpenWRT
odhcpd (dnsmasq is still default for IPv4)
Classic distributions
dhcp
dnsmasq (for NetworkManager and libvirt)
DNS cache
Current OpenWRT
dnsmasq
Classic distributions
none
dnsmasq
unbound (supports DNSSEC)
Remote shell access
Current OpenWRT
dropbear, telnetd
Classic distributions
openssh
Remote web access
Current OpenWRT
uhttpd, luci
Classic distributions
apache, webmin
OpenWRT software worth considering
Networking software
netifd { the network con guration daemon
odhcpd { DHCPv4, DHCPv6 and RA server
odhcp6c { RA and DHCPv6 client
Networking software: con guration example
/etc/con g/network
config interface lan
option ifname enp0s25
option type bridge
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
Networking software: con guration example
ip address show
2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP>
mtu 1500 qdisc pfifo_fast
master br-lan state DOWN qlen 1000
link/ether f0:de:f1:24:97:32
brd ff:ff:ff:ff:ff:ff
9: br-lan: <NO-CARRIER,BROADCAST,MULTICAST,UP>
mtu 1500 qdisc noqueue state DOWN
link/ether f0:de:f1:24:97:32
brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 192.168.1.255
scope global br-lan
valid_lft forever preferred_lft forever
Other software, dependencies
procd, ubox, libubox -- the base system
ubusd, libubus -- interprocess communication
uci, libuci -- common con guration access
uhttpd, luci -- web interface
Pavel Simerda
pavlix@pavlix.net
InstallFest.CZ 2014, Praha
http://data.pavlix.net/installfest/2014/
Software used in OpenWRT
System initialization
Current OpenWRT
procd, ubox
Former OpenWRT
busybox-init, hotplug2, block-mount
Classic distributions
systemd
upstart, udev
sysvinit, rc, udev
Interprocess communication service
Current OpenWRT
ubusd
Classic distributions
dbus-daemon
Common con guration database
Current OpenWRT
uci
Classic distributions
none
Network con guration service
Current OpenWRT
netifd, busybox-udhcpc, odhcp6c
Classic distributions
NetworkManager, dhclient
Client con guration provider
Current OpenWRT
odhcpd (dnsmasq is still default for IPv4)
Classic distributions
dhcp
dnsmasq (for NetworkManager and libvirt)
DNS cache
Current OpenWRT
dnsmasq
Classic distributions
none
dnsmasq
unbound (supports DNSSEC)
Remote shell access
Current OpenWRT
dropbear, telnetd
Classic distributions
openssh
Remote web access
Current OpenWRT
uhttpd, luci
Classic distributions
apache, webmin
OpenWRT software worth considering
Networking software
netifd { the network con guration daemon
odhcpd { DHCPv4, DHCPv6 and RA server
odhcp6c { RA and DHCPv6 client
Networking software: con guration example
/etc/con g/network
config interface lan
option ifname enp0s25
option type bridge
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
Networking software: con guration example
ip address show
2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP>
mtu 1500 qdisc pfifo_fast
master br-lan state DOWN qlen 1000
link/ether f0:de:f1:24:97:32
brd ff:ff:ff:ff:ff:ff
9: br-lan: <NO-CARRIER,BROADCAST,MULTICAST,UP>
mtu 1500 qdisc noqueue state DOWN
link/ether f0:de:f1:24:97:32
brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 192.168.1.255
scope global br-lan
valid_lft forever preferred_lft forever
Other software, dependencies
procd, ubox, libubox -- the base system
ubusd, libubus -- interprocess communication
uci, libuci -- common con guration access
uhttpd, luci -- web interface
相关文章推荐
- [转] Some of the best Open Source Project's in VC++ & MFC
- Some of the best Open Source Project's in VC++ & MFC
- The Role of Delegation Tokens in Apache Hadoop Security
- How to create a task in the openwrt system, the timer to switch WiFi power。
- Note of big data dummies:Understanding the role of a CMS in big data management
- 论文:The Role of Emotions in Context-aware Recommendation总结
- Create views of OpenCASCADE objects in the Debugger
- Some of the best Open Source Project's in VC++ & MFC
- Notes on “The Role of Manifold Learning in Human Motion Analysis “ - 1
- Some of the best Open Source Project's in VC++ & MFC -- xiaojianpitt
- Open Source Development (This Article Is the Winner of PRSA 2003 Award in Excellence in Technology …
- Some of the Best Open Source Project's in VC++ & MFC
- [转]Some of the Best Open Source Project's in VC++ & MFC
- In order to run a trace against SQL Server you must be a member of sysadmin fixed server role or have the ALTER TRACE permission.
- Some of the best Open Source Project's in VC++ & MFC
- What do you think is the role of parents in preventing crime amongst young people?
- "不是所有工作区中的窗口无法打开"错误消息(Not all of the Windows in the workspace could be open)
- Michael F. Goodchild Talks about the Role of Volunteered Geographic Information in a Postmodern GIS World
- Some of the Best Open Source Project's in VC++ & MFC
- Note of big data dummies:Understanding the role of relational databases in big data