close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
- Timestamp:
-
Jan 24, 2012, 1:29:08 PM (14 years ago)
- Author:
-
paqui
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v17
|
v18
|
|
122 | 122 | === Server dhcp external === |
123 | 123 | |
124 | | 1. Add to file /var/lib/tftpboot/pxelinux.cfg/default the identification [wiki:WikiStart/en OpenGnSys] server (ip adress), with repo=xxx.xxx.xxx.xxx |
125 | | {{{ |
126 | | LABEL pxe |
127 | | KERNEL linux |
128 | | APPEND initrd=initrd.gz ip=dhcp ro vga=788 irqpoll acpi=on repo=172.17.36.29 |
129 | | }}} |
130 | | 1. In the configuration file external dhcp server: |
131 | | {{{ |
132 | | # Enables the transfer of the name by dhcp. |
| 124 | By default, OpenGnsys version 1.0.2 use Grub4Dos instead of PXELinux for booting clients. You need to incorporate the following line to configure DHCP service with Grub4Dos. |
| 125 | |
133 | 126 | use-host-decl-names on; |
134 | | # Assign the service pxe: |
135 | 127 | next-server ip_opengnsys; |
136 | | }}} |
137 | | |
138 | | |
139 | | === Server pxe external === |
140 | | |
141 | | 1. Copy files initrd and linux from /var/lib/tftpboot to server pxe external. |
142 | | 1. Copy or integrate the initrd linux parameters (/var/lib/tftpboot/pxelinux.cfg/default), also including the parameter repo=xxx.xxx.xxx.xxx. to server pxe external. (where xxx.xxx.xxx.xxx is the OpenGnSys server ip) |
| 128 | filename "grldr"; |
| 129 | }}} |
| 130 | |
| 131 | If you wish to coexist some servers, you can specify with differents next-server lines in differents groups. |
| 132 | |
| 133 | To change the server of a client, you only have to cut/paste client from one group to another. |
| 134 | |
| 135 | {{{ |
| 136 | group { |
| 137 | next-server [ip_servidor_1]; |
| 138 | host pc1 { |
| 139 | option host-name "xxx.es"; |
| 140 | hardware ethernet xx:xx:xx:xx:xx:xx; |
| 141 | fixed-address xxx.xxx.xxx.xxx; |
| 142 | filename "grldr"; |
| 143 | } |
| 144 | host pc2 .... |
| 145 | } |
| 146 | group { |
| 147 | next-server [ip_servidor_2]; |
| 148 | host pc3 { |
| 149 | option host-name "xxx.es"; |
| 150 | hardware ethernet xx:xx:xx:xx:xx:xx; |
| 151 | fixed-address xxx.xxx.xxx.xxx; |
| 152 | filename "grldr"; |
| 153 | } |
| 154 | host pc4 ... |
| 155 | } |
| 156 | }}} |
| 157 | |
| 158 | If you want to used PXELinux, you should be replaced {{{filename}}} to configure DHCP with PXELinux: |
| 159 | {{{ |
| 160 | filename "pxelinux.0"; |
| 161 | }}} |
| 162 | Also, for compatibility with PXELinux, Web Console Admin Server should be referenced to the boot appropiate process, including the next simbolic link: |
| 163 | |
| 164 | {{{ |
| 165 | sudo ln -fs /opt/opengnsys/www/principal/boot_pxelinux.php boot.php |
| 166 | }}} |
| 167 | |
143 | 168 | |
144 | 169 | |