Re: Terminal Server after hd install (Patch)
1: If you're using rom-0-matic boot floppies, use the most recent
production release.
(( specifically: 5.4.0 and later ) This allows the next suggestion
2: Remove the references to conditionally loading etherboot.nbi
(I.E.: ONLY load pxelinux.0) in /etc/dhcp3/dhcpd.conf
I have the patches for the knoppix-terminalserver script that generates
the files (I thought that I had posted them, but I don't see it, so it
is attached,
possibly a second time).
The patch also makes available an option to use dhcp ports 106[78]
instead of 67/68 -- to coincide with the rom-o-matic option.
Please let me know the results if you use the patch.
Cecil Watson wrote:
Hello Everyone,
Has anyone gotten Knoppix Terminal Server to work after an hd install?
I had this working w/ my own remaster (KnoppMyth), but since the
change to 2.6 and build from scratch, I cannot seen to get it
working. I sent hours this evening looking at knoppix.net, but found
no real answers.
.......
--
Stephen Samuel +1(604)876-0426 samnospam@bcgreen.com
http://www.bcgreen.com/
Powerful committed communication. Transformation touching
the jewel within each person and bringing it to light.
--- /cdrom/home/knoppix40/terminalserver-new 2005-09-29 20:24:45.000000000 -0700
+++ /usr/sbin/knoppix-terminalserver 2005-10-11 06:46:02.706544408 -0700
@@ -60,7 +60,6 @@
for i in $NAMESERVERS; do ALLNAMESERVERS="${ALLNAMESERVERS:+$ALLNAMESERVERS,} $i"; done
GATEWAYS="$GATEWAY"
case "$OPTIONS" in *masq*) GATEWAYS="${IP} $GATEWAYS";; esac
-case "$OPTIONS" in *dhcp1067*) DHCP_PORTS='local-port 1067; remote-port 1068;' ;; esac
ALLGATEWAYS=""
for i in $GATEWAYS; do ALLGATEWAYS="${ALLGATEWAYS:+$ALLGATEWAYS,} $i"; done
cat >/etc/dhcp3/dhcpd.conf <<EOT
@@ -71,13 +70,10 @@
allow bootp;
default-lease-time 600;
max-lease-time 7200;
-$DHCP_PORTS
subnet ${NETWORK}.0 netmask ${NETMASK} {
next-server $IP;
-# if substring (option vendor-class-identifier, 0, 9) = "Etherboot" { filename "etherboot.nbi"; }
-# else { filename "pxelinux.0"; }
- filename "pxelinux.0";
+ filename "pxelinux.0";
option subnet-mask ${NETMASK};
range ${IPRANGE_FROM} ${IPRANGE_TO};
${ALLNAMESERVERS:+option domain-name-servers $ALLNAMESERVERS;}
@@ -452,7 +448,6 @@
ITEM_SQUID="Transparenter WWW Cache/Proxy"
ITEM_IPTABLES="IP Masquerading+Forwarding"
ITEM_NX="NX ThinClient setup"
-ITEM_DHCP1067="DHCP auf wechselnden Toren"
;;
es)
TITLE_CARD="Selecciona el dispositivo de red conectado a la red de clientes"
@@ -482,7 +477,6 @@
ITEM_SQUID="Proxy WWW transparente caché"
ITEM_IPTABLES="Enmascaramiento IP + reenvío"
ITEM_NX="Configuración del ThinClient NX"
-ITEM_DHCP1067="Alternate DHCP ports"
;;
*)
TITLE_CARD="Choose network device connected to client network"
@@ -512,7 +506,6 @@
ITEM_SQUID="Transparent WWW cache/proxy"
ITEM_IPTABLES="IP masquerading+forwarding"
ITEM_NX="NX ThinClient setup"
-ITEM_DHCP1067="DHCP on alternate ports (1067/1068)"
;;
esac
@@ -587,7 +580,6 @@
${USE_BIND:+dns "$ITEM_DNS (+4MB)" on} \
${USE_SQUID:+squid "$ITEM_SQUID (+40MB)" off} \
${USE_NX:+nx "$ITEM_NX" off} \
-dhcp1067 "$ITEM_DHCP1067" off \
2>"$TMP" || bailout 2
OPTIONS="$(sed 's,",,g;s,/, ,g' <$TMP)"
echo "OPTIONS=\"$OPTIONS\"" >>"$CONFIG"
Reply to: