6 Software
User Manual
61/374
6.4.4
IP handling
This chapter describes how
DNSMASQ
IP forwarding
NAT
can be handled on the TC1 system.
High Level Hardware Access
Path
Input
information
Output
information
Description
/etc/init.d/scripts/dnsmasq
p1
-
This shell script starts the DHCP and DNS
services for the selected interface.
p1:
< start > starts service for eth0 / wlan0 if
rc.conf eth0 configuration is static /
wlan0 configuration is set to "AP" and
DNS = "ON", else no DNSMASQ service
is set for eth0 / wlan0
< stop > stops DHCP and DNS service
for eth0 / wlan0
< restart > processes stop and start
/etc/init.d/scripts/ip_forwarding p1
-
This shell script starts the IP Forwarding and
NAT services for the selected interface.
p1:
< start > starts service for eth0 / wlan0 /
ppp0 if service is set to "ON" in rc.conf
and NAT, else IP Forwarding is switched
off anyway. NAT for ppp0 is set by
default.
< stop > stops IP Forwarding anyway
< restart | reload > processes stop and
start
Interface at rc.conf: Set DNSMASQ, IP forwarding and NAT parameters
# Handling those settings in etc/init.d/rc.conf
# --------------- DNSMASQ / IP FORWARDING / NAT
# Start the dnsmasq service on eth0 (works only with ETH0_CONF=static or uboot)
# (uses /etc/dnsmasq_lan.conf) by setting export to "ON", else service will be deactivated.
export ETH0_DNSMASQ="OFF"
# Start the dnsmasq service on wlan0 (works only with WLAN0_CONF=AP)
# (uses /etc/dnsmasq_wlan.conf) by setting export to "ON", else service will be
deactivated.
export WLAN0_DNSMASQ="ON"
# Activate service by setting export to "ON", else disables IP forwarding for eth0 / wlan0/
Содержание TC1
Страница 1: ...TC1 User Manual Version of this document V1 00r0 ...
Страница 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Страница 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Страница 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Страница 174: ...7 Teleservice Application Framework User Manual 174 374 ADDRESS 6 SIZE 4 TYPE UINT32 UNIT COMMENT EnginePower ...
Страница 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...
Страница 223: ...7 Teleservice Application Framework User Manual 223 374 Association between logic hysteresis and threshold ...
Страница 293: ...8 Development Tools User Manual 293 374 3 Adapt the Build Options in order to build the binary with debug symbols ...
Страница 302: ...8 Development Tools User Manual 302 374 2 Adapt the Build Options in order to build the binary with debug symbols ...