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/03 09:27] miquel [Load dummy module at boot] |
informatica:hp_z240mt_offstation_pvlicense [2017/08/03 12:40] miquel [Referències] |
||
---|---|---|---|
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 / | + | # Load dummy at boot to create virtual network device |
- | </WRAP> | + | dummy |
+ | </file> | ||
- | o dins la carpeta /// | + | ===== Configurar el mòdul |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[http:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | Així doncs, creo el fitxer ///etc/modules-load.d/ | + | Hi ha dues opcions per configurar |
< | < | ||
- | # Load dummy at boot to create virtual network device | + | install |
- | dummy | + | /sbin/ip link set name ethdummy1 dev dummy0 |
</ | </ | ||
- | i al fitxer | + | La segona és configurar-ho com a servei de //systemd// tal i com s' |
< | < | ||
- | install dummy /sbin/ | + | [Unit] |
+ | Description=Dummy network interface for Bruker TopSpin/ParaVision | ||
+ | Requires=systemd-modules-load.service | ||
+ | |||
+ | [Service] | ||
+ | Type=oneshot | ||
+ | ExecStart=/sbin/ip link set dev dummy0 | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
</ | </ | ||
+ | on s' | ||
+ | |||
+ | Per finalitzar, s' | ||
+ | |||
+ | < | ||
+ | # systemctl enable bruker.licensing | ||
+ | Created symlink from / | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ===== Referències ===== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||