Guest User

Untitled

a guest
Sep 14th, 2025
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | Software | 0 0
  1. # my custom layer recipe for network interface :
  2.  
  3. /poky/meta-custom/recipes-core/ifupdown$ tree
  4. .
  5. ├── init-ifupdown
  6. │ └── interfaces
  7. └── init-ifupdown_%.bbappend
  8.  
  9. 2 directories, 2 files
  10.  
  11. # cat init-ifupdown_%.bbappend
  12. FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
  13.  
  14. # Interfaces file :
  15. # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
  16.  
  17. # The loopback interface
  18. auto lo
  19. iface lo inet loopback
  20.  
  21. # Wired or wireless interfaces
  22. auto eth0
  23.  
  24. iface eth0 inet static
  25. address 169.254.1.100
  26. netmask 255.255.255.0
  27.  
Advertisement
Add Comment
Please, Sign In to add comment