From: eduard@kaihh.hanse.de (Eduard Werner) Subject: Topics: Pentium, telnet, lpd, editing x-fonts Date: Sat, 21 Aug 1993 14:57:20 GMT
A: PENTIUM. Does anybody know whether or not linux will work on a
Pentium machine? (I might get one next month but I should know
beforehand, if possible.)
B: TELNET PROBLEMS. The configuration is as follows: linux box: 386/40
with copro, 2 AT-HD (120MB/250MB), Color Image VGA, Ne-2 ethernet
card. To this an AT286 (20Mhz, some VGA, 20MB HD, NE1000, MS-DOS5) is
connected via Thin Ethernet cable. On the DOS side there is a packet
driver (LSL.COM and NE1000.COM) and a Kermit 3.12. Those two machines
are the only ones in that "net" (but there will be more).
Under linux 0.99pl9 there were only little problems with a garbled
terminal under EMACS (probably due to unsufficient terminal
padding). Under pl10, pl11, pl12a with the new net software it takes
painful 2.5 minutes to establish the telnet connection, :-( After that
everything is OK and running with no problems at normal speed. Can
anyone tell me what the hell my computer is doing during those 2.5
minutes ?????? (Someone's using the AT so it would be nice if this
could be solved.) BTW: ping works all right, telnet localhost is as
fast as should be, netstats reports an established telnet connection
already :->> after 1 minute. My ifconfig looks like this:
lo IP ADDR 127.0.0.1 BCAST 127.255.255.255 NETMASK 255.0.0.0
MTU 2000 METRIC 0 POINT-TO-POINT ADDR 0.0.0.0
FLAGS: 0x0049 ( UP LOOPBACK RUNNING )
eth0 IP ADDR 192.0.2.1 BCAST 192.0.2.255 NETMASK 255.255.255.0
MTU 1500 METRIC 0 POINT-TO-POINT ADDR 0.0.0.0
FLAGS: 0x0043 ( UP BROADCAST RUNNING )
I'm including my rc, rc.local, rc.net1 and rc.net2 here:
rc:
#!/bin/sh
# /etc/rc - generic system configuration script
PATH=/usr/bin:/bin:/etc:/usr/X386/bin:/usr/TeX/bin; export PATH
# If we we shut down with "shutdown -f" don't check file systems.
if [ -f /fastboot ]
then
echo "Checking file systems..."
echo /dev/fd0:
xfsck -a /dev/fd0
fi
rm -f /fastboot
rm -f /etc/mtab* /etc/nologin
mount -av
swapon -a
# tmp and usr may be mounted, so we do these rm's after mount
rm -f /usr/spool/uucp/LCK*
rm -rf /tmp/*
# remove /etc/utmp and touch it
rm -f /etc/utmp
touch /etc/utmp
# remove /etc/wtmp and touch it if it is too big.
#find /etc/wtmp -size +20000c -exec rm -f {} \;
# to save some floppy disk space, we delete /etc/wtmp.
rm -f /etc/wtmp
if [ ! -f /etc/wtmp ]; then
touch /etc/wtmp
fi
sh /etc/rc.local
/etc/lpd
#### End of rc
#### rc.local:
hostname -S sibz
rm -f /etc/nologin
/bin/sh /etc/rc.d/rc.net1
/bin/sh /etc/rc.d/rc.net2
setterm -blank 10 -store -term console \
-clear rest -foreground green \
-background black > /dev/tty1
setterm -blank 10 -store -term console \
-clear all -foreground yellow \
-background black > /dev/tty2
setterm -blank 10 -store -term console \
-clear all -foreground white \
-background black > /dev/tty3
setterm -blank 10 -store -term console \
-clear all -foreground red \
-background black > /dev/tty4
#### End of rc.local
#### rc.net1
IPADDR="192.0.2.1"
NETMASK="255.255.255.0"
NETWORK="192.0.2.0"
BROADCAST="192.0.2.255"
/etc/ifconfig lo 127.0.0.1 up
/etc/route add 127.0.0.1
/etc/ifconfig eth0 ${IPADDR} up netmask ${NETMASK} broadcast ${BROADCAST}
/etc/route add ${IPADDR}
/etc/route add ${NETWORK}
#### End of rc.net1
#### rc.net2
CONF="/conf/net"
NET="/usr/etc"
IN_SERV="rwhod lpd"
LPSPOOL="/var/spool/lpd"
# Continue setting up networking if this has been configured.
if [ ! -s ${CONF}/NETWORKING ]
then
exit 0
fi
if [ "`/bin/cat ${CONF}/NETWORKING`" != "YES" ]
then
exit 0
fi
echo -n "NET: "
if [ -f ${NET}/syslogd ]
then
echo -n "syslogd "
${NET}/syslogd
fi
if [ -f ${NET}/inetd ]
then
echo -n "inetd "
${NET}/inetd
else
echo "no INETD found. INET cancelled!"
exit 1
fi
### end of rc.net2
C: LPD. It simply doesn't work and I don't know why. I've included
it in the rc script but all printing jobs report something like "no
daemon present". Starting it again by hand doesn't help either.
The queued jobs will only be printed after restarting linux.
However, one can *not* include lpd into rc and then start lpd for
every printing job again (after that job). Any clues?
D: EDITING X-FONTS. I'm in need for X-fonts (cyrillic, slavic etc.)
which I might want to adapt anyway. Does there exist X-font packages
for slavic languages and/or an editor for X-fonts?
Yours, Eduard
WINDOWS --- from the people who gave you EDLIN!