0
라즈베리 파이에 설치된 odoo posbox에 고정 IP 주소를 할당하려고합니다. 나는 두 솔루션이 일Odoo POSBOX가 정적 IP 주소를 할당합니다.
auto eth0
iface eth0 inet static
address 192.168.0.30
netmask 255.255.255.0
gateway 192.168.0.1
,
interface eth0
static ip_address=192.168.0.30/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
이 또한 너무과
을/etc/네트워크/인터페이스 파일을 편집하려고 추가하여
/etc/dhcpcd.conf 파일을 편집했지만, 내 PC를 재부팅 할 때마다 dhcpcd가 새 IP 주소를 할당합니다.
갱신-rc.d -f dhcpd가이