Quizzes

OpenWrt fundamentals test

Bronze and Silver draw 10 questions each; Silver covers advanced netifd/procd/ubus. Practice covers the whole tier bank.

Bronze · 80 questions · Exam mode

1After changing the LAN IP in OpenWrt, what is the right way to commit and apply it?
2Which variable must a procd init script set?
3What problem does ubus primarily solve in OpenWrt?
4What is netifd responsible for?
5What does `sysupgrade -n` mean?
6What is the OpenWrt overlay filesystem mainly for?
7What is the default firewall framework in OpenWrt 22.03+?
8What is the OpenWrt ImageBuilder mainly used for?
9What is the most common command to read OpenWrt system logs?
10What does `opkg update` do?
11What normally starts netifd on OpenWrt?
12Which command lists all netifd interface state?
13What does `ifstatus wan` primarily call?
14What does `ifup wan` add compared with only `ubus call network reload`?
15Does netifd apply changes automatically after `uci commit network`?
16Where do OpenWrt protocol handlers usually live?
17Which interface does a protocol handler use to send addresses/routes back to netifd?
18Which two ubus object families does netifd expose?
19What is netifd’s primary configuration source?
20Which of these is NOT netifd’s job?
21ConceptWhich config entry does netifd main() call right before uloop_run()?
22ConceptWhy does config_init_all() call interface_start_pending() at the end?
23ConceptWhy does interface_check_state() require `!config_init`?
24ConceptWhat object name does netifd_ubus_add_interface() register?
25ConceptHow does proto_send_update() hand results back to netifd?
26Where do procd service scripts usually live?
27Which two functions usually bracket a procd service instance?
28Which function sets the service command in procd?
29What does `procd_set_param respawn` do?
30What does `procd_set_param watch network.interface` mean?
31Which function commonly triggers a service reload on UCI changes?
32What is procd’s service_triggers function for?
33What do START/STOP mean in a procd script?
34How do you route a procd service’s stdout/stderr to the system log?
35What is the relationship between procd and systemd on OpenWrt?
36What extra information does `ubus list -v` show?
37What two steps does `ubus call` perform internally?
38What is the difference between `ubus listen` and `ubus subscribe`?
39What does `ubus send myevent` with a JSON payload do?
40What is `ubus monitor` useful for?
41What does a ubus policy do?
42What does blobmsg add over blob?
43What is the most common reason a non-root `ubus_add_object` fails?
44What does `ubus wait_for network.interface.wan` mean?
45What is `-s` in `ubus -s /tmp/ubus.sock call ...`?
46What is the main OpenWrt network configuration file?
47What does `config interface` define?
48What does `config device` describe?
49What is a common way to bridge ports into br-lan?
50What switch architecture is common on newer OpenWrt 21.02+ devices?
51Which type creates an 802.1Q VLAN device in UCI?
52Which section configures VLANs on a DSA bridge?
53How do you attach WiFi to the lan network?
54Which options are used for a static IP interface?
55Which proto gets a WAN address from upstream DHCP?
56Which proto is used for PPPoE?
57Which option binds a modern interface to a low-level device?
58How do you dump all network interface state?
59What does `ifstatus wan` query?
60How do you inspect low-level device eth0?
61After committing network config, how do you make netifd apply it?
62How does `ifup wan` relate to `ubus call network reload`?
63What happens to state set by `ip link set eth0 up` after reboot?
64What does `option auto 0` mean for an interface?
65Which UCI section adds a static route?
66Which configuration entry does netifd main() call last before the event loop?
67What is the core job of config_init_all()?
68What does interface_check_state() mainly use to decide up/down?
69What usually happens on the first call to device_claim()?
70In netifd source, what are `network.interface` and `network.device`?
71Where is flow offloading configured by default in OpenWrt?
72What is software flow offloading?
73What is required for `flow_offloading_hw`?
74With flow offload enabled, what happens to the first packet of a new connection?
75How do you verify the fw4 flowtable exists?
76How do SQM/CAKE and flow offload usually relate?
77What does packet steering mainly improve?
78What is `ethtool -K eth0 gro on`?
79Which scenario needs the most caution with flow offload?
80What is the recommended way to tune software acceleration?
Back