Linux-Setup Digest #83, Volume #19 Wed, 5 Jul 00 12:13:10 EDT
Contents:
Re: Xterm Keyboard Problem on HP Terminal (NorbertSchmidt)
Re: Postscript Level 1 printing under RH6.2 (Grant Taylor)
Re: newbie (Stanislaw Flatto)
Re: Remote printing (Grant Taylor)
No-Floppy Install on Dual-Spindle Laptop? (jonathan nagler)
Re: Which partition do I install linux to? ("David ..")
Re: Can't install Win98 after I've installed Linux. Help. (C.J.)
Re: Need help w/ remote printing and ssh (Grant Taylor)
Re: How to install with no CD-ROM ("Peter Seabrook")
Re: Intial setup of RH 6.2 (C.J.)
Re: new to linux ("intersweat")
Re: Removing Users--How? ("David ..")
IPCHAINS sample script for 3 NICS ("Thierry")
dev/hdc ("intersweat")
Re: Which partition do I install linux to? (Dennis Lee Bieber)
----------------------------------------------------------------------------
From: NorbertSchmidt <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,alt.os.linux.suse
Subject: Re: Xterm Keyboard Problem on HP Terminal
Date: Wed, 05 Jul 2000 17:09:12 +0200
Reply-To: [EMAIL PROTECTED]
Thomas Dickey wrote:
>
> In comp.os.linux.setup NorbertSchmidt <[EMAIL PROTECTED]> wrote:
> > I've got a used HP Entria X-Terminal, which I want to use as a Terminal
> > for a SUSE 6.4 Server.
>
> > The Problem is:
> > I set up the Hardware to use a German Keyboard. It works fine. I've got
> > the @ and | signs on the right keys where they belong to. On the KDE
> > Desktop everything is ok except for the xterm and all programs in xterm.
> > I can't get the AltGr-Q to give me an @ or AltGr-< to give me an |.
> > It looks to me that it is a terminfo or termcap problem beacause when I
> > type in tset -s -q I get:
> > xterm-hp
> > TERM=xterm-hp
>
> no - not terminfo/termcap (it has to be down lower, in xkb, for instance)
Up till now I thougt the problem was because the AltGr-key was not
interpreted right, but now I found out, that AltGr-"+" gives me a ~, so
the AltGr key seems to work....
Can you make xkb IP determind??
Any more ideas
--
Norbert Schmidt
Optische und elektronische Geraete Juelich
Rheingasse 8-10
53113 Bonn
Germany
Tel: +49 228 9838625
Fax: +49 228 631339
------------------------------
From: Grant Taylor <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux,comp.os.linux.hardware,comp.os.linux.redhat
Subject: Re: Postscript Level 1 printing under RH6.2
Date: Wed, 05 Jul 2000 15:23:34 GMT
[EMAIL PROTECTED] (U S-D) writes:
> In article <8jtqsq$19ahr$[EMAIL PROTECTED]>, U S-D wrote:
>> I've recently upgraded from 6.0 to 6.2 and now my Postscript Level
>> 1 printer (OL840) refuses to play ball. Curiously, printtool's
>> Postscript test page is produced fine. I guess this is because it
>> conforms to PS level 1 whereas mpage output does not.
You can use Ghostscript's ps2ps utility to interpret arbitrary modern
Postscript into Postscript at Level 2 or Level 1. This should produce
something useful for your older printer. man ps2ps.
--
Grant Taylor - gtaylor@picante<dot>com - http://www.picante.com/~gtaylor/
Linux Printing HOWTO and Website: http://www.linuxprinting.org/
I offer consulting in most things Unix/Linux/*BSD/Perl/C/C++
------------------------------
From: Stanislaw Flatto <[EMAIL PROTECTED]>
Subject: Re: newbie
Date: Wed, 05 Jul 2000 15:33:15 GMT
sylvain hutchison wrote:
>
> Hi, I've got a very simple question, but might be simple in practice, I
> want to change the name of my computer, cuz the guy that installed linux
>
> for me entered the wrong name, so the IT guy asked me to change the name
>
> of my computer, how do I do that without re-installing linux all over
> again??
>
> Thanks,
> Sly.
Go to directory etc, find there a file called HOSTNAME (capital letters)
and edit it to your preferences.
vi /etc/HOSTNAME
That's all.
If networking was configured than the name may appear in few other
places in network configuration files /etc/hosts and so on.
Have fun...
--
******* Stanislaw ********
Monolog - one person talking to himself,
dialog - two people talking to themselves.
-Shaike Ofir-
------------------------------
From: Grant Taylor <[EMAIL PROTECTED]>
Subject: Re: Remote printing
Date: Wed, 05 Jul 2000 15:36:32 GMT
"Peter C. Lee" <[EMAIL PROTECTED]> writes:
> The Linux printing server has a fixed IP address. The other linux
> machines obtain IP addresses through DHCP. Once a machine obtains
> an IP address, it usually re-obtains the same address after
> reboot. So I list those IP addresses in /etc/hosts.lpd instead of
> all possible IP address under the same domain. However the problem
> is sometimes that a machine may obtain a new IP from the DHCP server
> after rebooting that is not on the list in /etc/hosts.lpd.
> Is these a better way to edit /etc/hosts.lpd that would include all
> possible IP addresses in the same domain. e.g 192.168.1.[2 to 244]
It would be fine to just list them all; try your hand at Perl:
# perl -e 'for (2..244) { print "192.168.1.$_\n"; }' >> /etc/hosts.lpd
Really, though, the best solution is probably LPRng, which has the
proper featureset for use in environments featuring many clients
and/or printers. Plain lpd is a horribly old klunky thing...
Alternatively, you could parcel out fixed IP addresses, with entries
like this in dhcpd.conf:
# static hosts
host cilantro.picante.com {
hardware ethernet 00:00:e8:37:73:69;
fixed-address 192.168.0.4;
option host-name "cilantro";
}
host color-printer.picante.com {
hardware ethernet 00:40:01:41:1f:6f;
fixed-address 192.168.0.9;
option host-name "color-printer";
}
--
Grant Taylor - gtaylor@picante<dot>com - http://www.picante.com/~gtaylor/
Linux Printing HOWTO and Website: http://www.linuxprinting.org/
I offer consulting in most things Unix/Linux/*BSD/Perl/C/C++
------------------------------
From: jonathan nagler <[EMAIL PROTECTED]>
Subject: No-Floppy Install on Dual-Spindle Laptop?
Date: Wed, 05 Jul 2000 08:44:38 -0700
Does anyone have experience installing Linux without a floppy; or
installing Linux on a dual-spindle laptop? I'd like to get a Compaq
Presario 1700; but the cd and floppy are swappable.
Any advice would be appreciated.
-jonathan nagler
[EMAIL PROTECTED]
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Which partition do I install linux to?
Date: Wed, 05 Jul 2000 10:28:58 -0500
Xiang Long Huang wrote:
>
[snip]
>
> If you need to repartition your hard disk and want to preserve your
> data, you will need partitionMagic at
> www.powerquest.com
Or FIPS which comes with most if not ALL distro's and is FREE!
--
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: [EMAIL PROTECTED] (C.J.)
Subject: Re: Can't install Win98 after I've installed Linux. Help.
Date: Wed, 05 Jul 2000 15:46:34 GMT
>That file is the exact reason why I doubt it'll work, it tells the
>system where all the files are located and needs to be changed defore
>you can boot from HDD again.
I would think you could boot, but your additional mounts aren't likely to work
correctly. But is is certainly possible that I'm wrong about this.
>other=/dev/hdb1
> label=win98
> map-drive = 0x81
> to = 0x80
> map-drive = 0x80
> to = 0x81
> table = /dev/hdb
Do the map-drive commands above change how the drives appear to Win98? I
didn't know about that command in LILO. It seems like a fairly elegant way to
handle things. Do utilities that want to access the drives directly work ok,
with drives swapped like this?
------------------------------
From: Grant Taylor <[EMAIL PROTECTED]>
Subject: Re: Need help w/ remote printing and ssh
Date: Wed, 05 Jul 2000 15:47:27 GMT
[EMAIL PROTECTED] writes:
> I run vncclient/vncserver to work from my local machine and run programs
> on a remote server machine via the Internet through a secure shell
> tunnel (ssh-1.2.27). The local machine is running Redhat 6.2, and the
> remote machine is running Redhat 6.0. I would like to generate
> printouts on the remote machine that print on the printer attached to
> the /dev/lp0 on the local machine. I also need this to work through a
> ssh tunnel so that no clear text goes through the Internet.
> I tried this with
> cat file-to-print | ssh local-machine lpr
> and that worked. The problem I have is that I can't configure all my
> clients to print this way. The best I can do is specify what printer I
> want to print to. So my plan is to print to a printer on the remote
> machine that sends the printout to localhost:8515, and then port
> forwarding that port w/ ssh to port 515 on my local machine.
> Does anyone know how to specify in printcap that the printout should go
> to localhost:8515? Or am I even on the right track? I tried specifying
> :rm='localhost:8515':, but lpd choked on that.
Plain LPD chokes on everything ;)
LPRng will support both "AppSocket" (aka stuff a job into the port)
and (I suspect) the LPD protocol on unusual ports. So that would work
for that, if that's how you want to do it. You can also get
"appsocket" support quite trivially in any system through the correct
application of the program netcat (aka "nc").
It might be more transparent to configure an SSH key pair for the lpd
account and allow it to make password-less connections back to your
local machine. Then it becomes trivial to add the proper ssh
incantation as part of the lpd if= filter on the remote machine, such
that normal printing with lpd will "just work" for everyone.
Back in the good old days, when it was all text terminals, we used the
VT escape codes for "send to local printer" to send print jobs in-band
with the terminal data. It might be useful to implement this concept
in VNC; this would result in a much cleaner interface for sites with
multiple remote workers: with manual port forwarding, everyone has to
fiddle with finding an unused port, and random local users can print
to any remote printer. Both these problems would go away were VNC to
support some sort of in-band printing scheme. They could also be
fixed were SSH to do a named pipe or something on one end, so that it
could be stamped with proper permissions.
--
Grant Taylor - gtaylor@picante<dot>com - http://www.picante.com/~gtaylor/
Linux Printing HOWTO and Website: http://www.linuxprinting.org/
I offer consulting in most things Unix/Linux/*BSD/Perl/C/C++
------------------------------
From: "Peter Seabrook" <[EMAIL PROTECTED]>
Subject: Re: How to install with no CD-ROM
Date: Wed, 5 Jul 2000 11:59:42 -0400
Easiest is to do a network install...
Rawrite the network boot disks..
copy contents of the cd to your drive temporarily (or just mount the cd, but
that'll be slower)
connect your machine to his.
boot his machine from the network boot disks, then ftp install from your
machine... that's it!
"Stanislaw Flatto" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Scott Watson wrote:
> >
> > Okay, now I have done it. I told my girlfriend's father that he should
> > install linux as his mailserver as it would run on a 486. Me and my big
> > mouth! He gave me the PC and it doesn't even have a CD 486 33. (I have
a
> > used 5 1/4 if anyone is interested) anyway, this is what I was thinking
for
> > a workaround.
> >
> > Use my pc and rawwrite the rootdisk and bootdisk image onto a floppy
drive.
> > From there I should at least be able to boot his old klunker. Now my
> > problem is how do I access the cd rom on my other pc using my internal
> > network. My question is how do I access my cdrom on either my linux box
or
> > win 98 from his freshly booted pc.
> >
> > Clear as mud!
> >
> > Thanks,
> > Scott
------------------------------
From: [EMAIL PROTECTED] (C.J.)
Subject: Re: Intial setup of RH 6.2
Date: Wed, 05 Jul 2000 16:00:01 GMT
At the command prompt, try
modprobe 3c59x
If you don't get an error, try entering:
/etc/rc.d/init.d/network restart
And check with ifconfig to see if it worked.
If your card is now up, run linuxconf again and enter 3c59x in the part
labeled Kernel modules under the network card setup.
If you get an error when you run modprobe, check in linuxconf and try clearing
out the I/O port and IRQ settings for the network card setup and try the above
again.
In article <[EMAIL PROTECTED]>, "Silly Rabbit"
<[EMAIL PROTECTED]> wrote:
>I checked and found X wasn't installed with the server option, so I
>reinstalled with the Gnome workstation option. I've run Xconfigurator and
>got my resolution set right. When booting, the only failure I get is my
>network card. Eth0 fails. I ran linuxconfigurator and it is showing eth0,
>so I entered my info for host name, dns server and name server 1 and 2. I
>then accepted and went to the shell and used ifconfig and I don't get the
>correct info. I was following another @home users website install help
>guide and it says to use 3coms utility to change the NIC from PNP to ISA. I
>haven't tried that, but I did see a linux driver on the 3com site. What is
>the correct way to get my NIC (3C905) to work in Gnome. Also, where can I
>set up my soundcard?
>
>
>Thanks
>
>Silly Rabbit
>
>
>
------------------------------
From: "intersweat" <[EMAIL PROTECTED]>
Subject: Re: new to linux
Date: Wed, 5 Jul 2000 17:03:02 +0100
I love your disclaimer signature, however I get a bit lost at "the second
god.......". Could you explain that final line and a half?
Cheers
intersweat
"Hexdump" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Wed, 05 Jul 2000 11:01:06 -0700, sylvain hutchison wrote:
> >Hi, I've got a very simple question, but might be simple in practice, I
> >want to change the name of my computer, cuz the guy that installed linux
> >for me entered the wrong name, so the IT guy asked me to change the name
> >of my computer, how do I do that without re-installing linux all over
> >again??
> >
> >Thanks,
> >Sly.
> >
>
> IIRC, you just need to edit "/etc/HOSTNAME".
>
> --
> Hexdump
> Registered Linux User # 168737, http://counter.li.org
>
> "Everything I say is factual,
> unless, of course, I'm wrong,
> or lying."
>
> Disclaimer: Any resemblance between the above views and those of my
> employer, my terminal, or the view out my window are purely
> coincidental. Any resemblance between the above and my own views is
> non-deterministic. The question of the existence of views in the
> absence of anyone to hold them is left as an exercise for the reader.
> The question of the existence of the reader is left as an exercise for
> the second god coefficient. (A discussion of non-orthogonal,
> non-integral polytheism is beyond the scope of this article.)
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Removing Users--How?
Date: Wed, 05 Jul 2000 10:45:36 -0500
Lorne Beckman wrote:
>
> Greetings,
>
> I can't figure out how to remove users from my mail server. Linux
> version 2.0.0.
> "Userdel / deluser" does nothing (command not found). (I use "adduser"
> to add.)
>
> Looked through lots of documentation, but have come up emptyhanded.
> Obviously I pretty much have no clue what I'm doing.
>
> Can you help?
Try: "/usr/sbin/userdel username"
--
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: "Thierry" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.security,comp.security.firewalls
Subject: IPCHAINS sample script for 3 NICS
Date: Wed, 5 Jul 2000 18:07:08 +0200
Can someone point me to an ipchains firewall script that supports for 3 NICs
(1 for Internet, 1 for LAN and 1 for DMZ) ?
Thanks,
Thierry.
--
SENCIS - http://www.sencis.com
remove XX from my email address
------------------------------
From: "intersweat" <[EMAIL PROTECTED]>
Subject: dev/hdc
Date: Wed, 5 Jul 2000 17:10:23 +0100
I installed linux on two of my machines at home using Storm ( a Debian
variant). On one machine everything went fine and I now have a working
version, however the other machine kept thinking it was installing to
dev/hdc instead of what I thought it should be, dev/hda. The hardware setup
is fine since I just wiped win98 off to free up the one and only physical
disk. During the configuration, when it is about to write to disk, an error
comes up saying lilo has an incorrect configuration. I presume I need to
tell it to use hda but I'm really not sure if I'm right and how to change
it. Any suggestions to what I should do to get me back on track?
Many thanks
intersweat
------------------------------
From: Dennis Lee Bieber <[EMAIL PROTECTED]>
Subject: Re: Which partition do I install linux to?
Date: Wed, 05 Jul 2000 09:08:48 -0700
On Wed, 5 Jul 2000 11:17:24 +0100, "Rich S" <[EMAIL PROTECTED]>
declaimed the following in comp.os.linux.setup:
>
> The question is this, I read somewhere that it is important that linux
> resides in a partition below a certain cluster number of the h/drive. Hence
> this would affect the layout of my partitions. Could someone please clarify
> this for me.
>
Apparently the boot loader needs to be cylinder <1024. So you
could create a small (50M I think is large for this, could be wrong, I
only started playing with Linux Sunday) /boot partition just after the
2G Windows. There are some reports of boot loaders that work >1024.
You'll also need to create a Linux swap partition (I've seen
recommendations from 1x to 2.5x size of physical RAM).
> I tried installing linux before and ended up killing a windows partition,
> windows couldnt cope and it trashed my h/drive. So I am being v. careful
> this time. I am thinking of going for SUSE6.4, any comments/other ideas?
>
I installed a magazine cover disk version of Mandrake 7 -- still
need to learn to configure the ZIP, NIC, and Modem (if possible -- I
didn't think that 3COM sucker was a winmodem, but who knows -- was
installed by Dell, I had no choice to leave it off).
I first used Partition Magic 5 to resize my W98 partitions (yes,
plural: C:system, D:applications, E:swap, F:games, G:downloads,
H:text-data, G:graphics-data, I:CD-RW_image) freeing up about 3.5G,
which I also let PM set up as 3G ext2 and .5G swap. This avoided having
to run cryptic fdisk type utilities during the install, I only had to
point Mandrake to the reserved partitions.
Note: I'm in the floppy boot camp; the free space was put at the
end of the 30G drive to avoid moving Windows partition order, and that
put it beyond the 1024 cylinder limit.
--
> ============================================================== <
> [EMAIL PROTECTED] | Wulfraed Dennis Lee Bieber KD6MOG <
> [EMAIL PROTECTED] | Bestiaria Support Staff <
> ============================================================== <
> Bestiaria Home Page: http://www.beastie.dm.net/ <
> Home Page: http://www.dm.net/~wulfraed/ <
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.setup) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************