-
Notifications
You must be signed in to change notification settings - Fork 47
static_ip.conf
The file can be found at /data/etc/static_ip.conf
. At first boot, it is created from the template file /boot/static.conf
, if present, or otherwise from /etc/static.conf
, if present.
If the file is present at all, values defined by it are used to control the static IP configuration of the system.
This is a simple shell script that should contain only name="value"
lines. The file is sourced by the network init script.
If set, will assign the defined static IP to the first enabled network adapter, in this order: wlan0
and eth0
. If both wireless and ethernet connections are enabled, the ethernet connection will always use DHCP.
The format is the following: ip/mask
(e.g. 192.168.1.16/24
).
If set, will be used as the default gateway (e.g. 192.168.1.1
).
If set, will be used to set the DNS server (e.g. 8.8.8.8
).
- bluetooth.conf
- captive-portal.conf
- cpufreq.conf
- date.conf
- dnsmasq.conf
- docker-compose.yml
- dtoverlays
- dyndns-update.sh
- environment
- firewall.sh
- fstab.user
- hostapd.conf
- ifalias.conf
- localtime
- modprobe.conf
- modules
- mongodb.conf
- netwatch.conf
- ntp.conf
- os.conf
- proftpd.conf
- redis.conf
- smb.conf
- ssh/config
- ssh/sshd_config
- ssl/domain
- ssl/email
- static_ip.conf
- sysctl.conf
- toemmc.conf
- version
- watchdog.conf
- wpa_supplicant.conf