Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
ipxe [Le 24/06/2024, 15:11] andykimpe configuration interface réseau dhcpd |
ipxe [Le 29/06/2024, 14:08] (Version actuelle) andykimpe samba solve acces denied sur winpe 7 |
||
|---|---|---|---|
| Ligne 141: | Ligne 141: | ||
| Pour plus d’info sur la configuration : [[:isc-dhcp-server|isc-dhcp-server]] | Pour plus d’info sur la configuration : [[:isc-dhcp-server|isc-dhcp-server]] | ||
| <code> | <code> | ||
| - | sudo service isc-dhcp-server restart | + | sudo systemctl restart isc-dhcp-server |
| </code> | </code> | ||
| Ligne 169: | Ligne 169: | ||
| Ensuite, redémarrer le service : | Ensuite, redémarrer le service : | ||
| <code> | <code> | ||
| - | sudo service tftpd-hpa restart | + | sudo systemctl restart tftpd-hpa |
| </code> | </code> | ||
| <note tip> | <note tip> | ||
| Ligne 227: | Ligne 227: | ||
| make bin/undionly.kpxe EMBED=chain.ipxe | make bin/undionly.kpxe EMBED=chain.ipxe | ||
| - | cp bin-x86_64-efi/ipxe.efi undionly.kpxe /var/lib/tftpboot/ | + | cp bin-x86_64-efi/ipxe.efi /var/lib/tftpboot/ |
| cp bin-i386-efi/ipxe.efi /var/lib/tftpboot/ipxe32.efi | cp bin-i386-efi/ipxe.efi /var/lib/tftpboot/ipxe32.efi | ||
| + | cp bin/undionly.kpxe /var/lib/tftpboot/ | ||
| </code> | </code> | ||
| La construction nécessite les paquets suivants : [[apt>gcc]] [[apt>binutils]] [[apt>liblzma-dev]] | La construction nécessite les paquets suivants : [[apt>gcc]] [[apt>binutils]] [[apt>liblzma-dev]] | ||
| Ligne 330: | Ligne 331: | ||
| <code> | <code> | ||
| sudo echo "/var/lib/tftpboot/ubuntuinstall *(async,no_root_squash,no_subtree_check,ro) /etc/exports" >> /etc/exports | sudo echo "/var/lib/tftpboot/ubuntuinstall *(async,no_root_squash,no_subtree_check,ro) /etc/exports" >> /etc/exports | ||
| - | sudo service nfs-kernel-server restart | + | sudo systemctl restart nfs-kernel-server |
| </code> | </code> | ||
| ==== Démarrer Windows ==== | ==== Démarrer Windows ==== | ||
| Ligne 445: | Ligne 446: | ||
| [win10] | [win10] | ||
| path = /var/lib/tftpboot/win10 | path = /var/lib/tftpboot/win10 | ||
| - | browseable = no | + | browseable = yes |
| writable = no | writable = no | ||
| guest ok = yes | guest ok = yes | ||
| create mask = 0775 | create mask = 0775 | ||
| directory mask = 0775 | directory mask = 0775 | ||
| + | acl allow execute always = yes | ||
| </file> | </file> | ||