View: 5144|Reply: 0

NanoPi M3 Assigns IP Address

[Copy link]

2

threads

3

posts

20

credits

Novice

Rank: 1

credits
20
Published in 2016-8-10 19:18:33 | Show all floors |Read mode
#vim /etc/network/interfaces.d/eth0
auto eth0 inet dhcp
allow-hotplug eth0

#ifcace eth0 inet dhcp
iface eth0 inet static
                address 192.168.1.x
                netmask 255.255.255.0
                gateway 192.168.1.1
                hwaddress ether
                fa:44:18:40:0c:01

#/etc/init.d/networking restart
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list