This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
informatica:hp_z240mt_offstation_pvlicense [2017/08/02 16:57] miquel [Virtual Ethernet Interface] |
informatica:hp_z240mt_offstation_pvlicense [2017/08/03 11:38] miquel [Configurar el mòdul dummy] |
||
---|---|---|---|
Line 277: | Line 277: | ||
* ... | * ... | ||
- | ==== Load dummy module at boot ==== | + | ===== Carregar el mòdul |
- | A Debian, els mòduls que s'han de carregar quan es posa en marxa l' | + | A Debian, els mòduls que s'han de carregar quan es posa en marxa l' |
- | <WRAP info> | + | <file> |
- | The /etc/modules file contains the names of kernel | + | # Load dummy at boot to create virtual network device |
- | </WRAP> | + | dummy |
+ | </ | ||
+ | |||
+ | ===== Configurar el mòdul dummy ===== | ||
+ | |||
+ | Hi ha dues opcions per configurar el dispositiu //dummy0// com a dispositiu de xarxa virtual. La primera opció és posar al fitxer ///etc/modprobe.d/ | ||
+ | |||
+ | < | ||
+ | install dummy / | ||
+ | /sbin/ip link set name ethdummy1 dev dummy0 | ||
+ | </ | ||
+ | |||
+ | La segona és configurar-ho com a servei de //systemd// tal i com s' | ||
+ | |||
+ | < | ||
+ | [Unit] | ||
+ | Description=Dummy network interface for Bruker TopSpin/ | ||
+ | Requires=systemd-modules-load.service | ||
+ | |||
+ | [Service] | ||
+ | Type=oneshot | ||
+ | ExecStart=/ | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | </ | ||
+ | |||
+ | on s'haurà de substituir 00: | ||
+ | |||
+ | Per finalitzar, s' | ||
+ | |||
+ | < | ||
+ | # systemctl enable bruker.licensing | ||
+ | </file> | ||
+ | |||
+ | |||
+ | |||
+ | ===== Referències ===== | ||
- | o dins la carpeta /// | ||
- | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
Line 293: | Line 331: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
- | |||
- | Així doncs... | ||