Impostare una scheda di rete usb aggiuntiva su Raspberry

From RVM Wiki
Revision as of 09:20, 18 November 2021 by Gabriele.vivinetto (talk | contribs) (Created page with "* Inserire la scheda ed identificarla: ip link : eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/et...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Inserire la scheda ed identificarla:
ip link
: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
   link/ether 00:0a:cd:25:8d:e1 brd ff:ff:ff:ff:ff:ff
  • Impostare l'ip statico ed eventuali altri parametri:
 vi /etc/dhcpcd.conf
interface eth1
static ip_address=192.168.252.252/24
#static routers=192.168.252.254
#static domain_name_servers=8.8.8.8
  • Riattivare tutte le interfacce per pulire la config di rete:
ip link set dev eth0 down;  ip link set dev eth0 up
ip link set dev eth1 down;  ip link set dev eth1 up

Riferimenti