[UCLA-LUG] RE: Linux digest, Vol 1 #403 - 10 msgs
Samir Thapa
samir@msbc.com
Fri, 5 May 2000 07:23:10 -0700
Pls unsubscribe me.
Samir
-----Original Message-----
From: linux-admin@linux.ucla.edu [mailto:linux-admin@linux.ucla.edu]
Sent: Friday, May 05, 2000 7:11 AM
To: linux@linux.ucla.edu
Subject: Linux digest, Vol 1 #403 - 10 msgs
Send Linux mailing list submissions to
linux@linux.ucla.edu
To subscribe or unsubscribe via the web, visit
http://linux.ucla.edu/mailman/listinfo/linux
or, via email, send a message with subject or body 'help' to
linux-request@linux.ucla.edu
You can reach the person managing the list at
linux-admin@linux.ucla.edu
When replying, please edit your Subject line so it is more specific than
"Re: Contents of Linux digest..."
Today's Topics:
1. Lilo and NT (bootsect.lnx file) (MIng Yu)
2. Re: Lilo and NT (bootsect.lnx file) (mike chan)
3. Re: $PATH (Frederick Lee)
4. Re: Running something at shutdown? (Erik Hovland)
5. print under novell network using nprint (MIng Yu)
6. Re: print under novell network using nprint (Josh Barratt)
7. LUG Birds of a Feather (Gareth J. Greenaway)
8. Re: print under novell network using nprint (MIng Yu)
9. .login (Donald Wong)
10. I Love You virus (Clara Wu)
--__--__--
Message: 1
From: MIng Yu <mingqiang.yu@anderson.ucla.edu>
To: linux@linux.ucla.edu
Date: Thu, 4 May 2000 11:27:31 -0700 (Pacific Daylight Time)
Subject: [UCLA-LUG] Lilo and NT (bootsect.lnx file)
Reply-To: linux@linux.ucla.edu
I've installed both NT and Redhat 6.2 on my machine. So, in
order to dual boot by c: drive, I need to copy a file called
bootsect.lnx to my C:\ drive and add one line
c:\bootsect.lnx="Linux" to my C:\boot.ini file. But my question
is, under what situations I have to update this file in my C:\
drive? In the NT OS loader+linux miniHowTO, it says that "A new
copy of bootsect.lnx must be transfered to C:\bootsect.lnx every
time the bootsector of your linux-partition has been modifiled.
This happens for example when you install a new kernel with
lilo." So, when I install a new kernel, I need to update this
file. But what about other cases (i.e. add/remove hardware,
add/remove partition and so on)?
Thanks a for your help.
ming
----------------------
--__--__--
Message: 2
Date: Thu, 04 May 2000 11:37:54 -0700
To: linux@linux.ucla.edu
From: mike chan <snotty@linux.com>
Subject: Re: [UCLA-LUG] Lilo and NT (bootsect.lnx file)
Reply-To: linux@linux.ucla.edu
the general rule is any time you run lilo to update your boot sector,
you're gonna hve to go through the whole process again.. dd->file, copy
file->win partition...
if you modify the hard drive partitions on which your linux/nt, you
probably have to redo your lilo... the problem with the NT boot loader is
that you're going to need a floppy to get into your linux if your partition
# changed for your linux partition, while lilo lets you pass a lot of
kernel parameters that allow you to boot w/o a boot floppy...
mike
At 11.27 AM 5.4.2000 -0700, you wrote:
>I've installed both NT and Redhat 6.2 on my machine. So, in
>order to dual boot by c: drive, I need to copy a file called
>bootsect.lnx to my C:\ drive and add one line
>c:\bootsect.lnx="Linux" to my C:\boot.ini file. But my question
>is, under what situations I have to update this file in my C:\
>drive? In the NT OS loader+linux miniHowTO, it says that "A new
>copy of bootsect.lnx must be transfered to C:\bootsect.lnx every
>time the bootsector of your linux-partition has been modifiled.
>This happens for example when you install a new kernel with
>lilo." So, when I install a new kernel, I need to update this
>file. But what about other cases (i.e. add/remove hardware,
>add/remove partition and so on)?
>
>Thanks a for your help.
>
>
> ming
>----------------------
>
>
>
>
>_______________________________________________
>UCLALUG Linux mailing list - Linux@linux.ucla.edu
>http://linux.ucla.edu/mailman/listinfo/linux
>
snotty e/c
PGP Key http://www.linuxvalue.com/pgp.html
--__--__--
Message: 3
Date: Thu, 4 May 2000 12:17:40 -0700
From: Frederick Lee <phaethon@fire.csua.ucla.edu>
To: linux@linux.ucla.edu
Subject: Re: [UCLA-LUG] $PATH
Reply-To: linux@linux.ucla.edu
On Thu, 04 May 2000 00:26:43 -0700, said Namson Tran <namson@ucla.edu>:
>Where is the PATH variable absolutely declared? Everywhere I look, I see a
>reference to $PATH, but no place where PATH is actually defined. Thanks for
>any help in advance.
>
>namson
GNU bash has a built-in "absolutely minimal" PATH setting. This is
configurable when the shell is being compiled (e.g. by the vendor for
a binary distribution); due to Unix patterns, the most common built-in
PATH is "/bin:/sbin:/usr/bin:/usr/sbin" (or something along those lines).
Site-specific settings are in /etc/profile and/or /etc/bashrc. If PATH
isn't set in these, bash will keep its builtins.
User-specific settings are in ~/.bash_profile, ~/.bashrc, and/or ~/.profile.
IIRC, these files inherit the settings from the site-wide files.
-Fred
--__--__--
Message: 4
Date: Thu, 4 May 2000 13:28:34 -0700
From: Erik Hovland <ehovland@zig.usc.edu>
To: linux@linux.ucla.edu
Subject: Re: [UCLA-LUG] Running something at shutdown?
protocol="application/pgp-signature"; boundary="D6IIOQQv2Iwyp54J"
Reply-To: linux@linux.ucla.edu
--D6IIOQQv2Iwyp54J
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
On Wed, May 03, 2000 at 07:01:22PM -0700, Todd A. Lyons wrote:
> Erik Hovland wrote:
>=20
> > Actually init level 6 is reboot, close though. 0 is the base run
> > level, 1 and 2 are always passed through on the way up and on the way
>=20
> Which distro is this on? Runlevel 0 is shutdown on my system. Or is
> this an apples and oranges type deal?
By base run level I do mean nothing going on or shutdown. Sorry,
wording was confusing.
E
--=20
Erik Hovland
USC Linux User Group President
http://sclug.usc.edu/~ehovland/
GnuPG public key: http://sclug.usc.edu/~ehovland/ehovland.gpg
"Your bastard child of a network has grown up, gone to counseling
and doesn't want to talk to you anymore." - shupe
--D6IIOQQv2Iwyp54J
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE5Ed1x4U3i4m+7U54RAeYaAJ9M5TeQ66IJFrhA+oq7HS2ZgAhYPQCfeOCP
ErHqciwyITpF0XEWWMHLK38=
=6uil
-----END PGP SIGNATURE-----
--D6IIOQQv2Iwyp54J--
--__--__--
Message: 5
From: MIng Yu <mingqiang.yu@anderson.ucla.edu>
To: linux@linux.ucla.edu
Date: Thu, 4 May 2000 14:34:12 -0700 (Pacific Daylight Time)
Subject: [UCLA-LUG] print under novell network using nprint
Reply-To: linux@linux.ucla.edu
I've configured my linux to be able to print to a novell network
printer using IPX. Here is what I've done:
1. in file /etc/rc.d/rc.local, add one line: /sbin/ipx_configure
--auto_interface=on --auto_primary=on
2. in /usr/bin, chmod 4755 to files slist, ncpmount, ncpumount,
pqlist and nprint.
3. under my home directory, mkdir printing
4. under home directory, create a file .nwclient with the
servername/login name in.
5. after "ncpmount printing" to the network printer, I'm able to
print using nprint -q printername filename
The printer does print my file, but there is one problem. Each
line is printed under the previous line but after the last
character of the previous line. So, it can only print the first
few lines and stop. It seems that there are some hidden
characters before each line so the printer recognizes it with
some special meaning and indent that line. Could you tell me
what could cause this problem and how I can fix it?
Thanks.
ming
----------------------
--__--__--
Message: 6
From: "Josh Barratt" <jbarratt@ucla.edu>
To: <linux@linux.ucla.edu>
Subject: Re: [UCLA-LUG] print under novell network using nprint
Date: Thu, 4 May 2000 15:00:30 -0700
charset="iso-8859-1"
Reply-To: linux@linux.ucla.edu
This is called stair-stepped text -- it's due to the missing CR in unix text
files. There used to be a checkbox in redhat printtool that lets you turn
off stair stepped text, but it seems to be missing now (?)
Anyway, here's a fix:
Fixing stair-stepped text
If you got stair-stepped text when you redirected text directly to the
printer port, then printing a text file through lpr will be no different.
The answer to this problem is to define a printer filter that will process
the data before it reaches the printer (in this case, we need carriage
returns added to the end of each line).
Defining a printer filter is done by using the if= parameter (if stands for
input filter) in your /etc/printcap file. For example, you could add this
line to your printer definition (don't forget to put the slashes in
appropriate places and restart lpd):
:if=/usr/bin/todos:
Anything that gets printed through that queue will first be passed through
the todos program (which will add the necessary carriage return to the end
of each line). If todos doesn't exist on your system, you can create a
replacement by putting the following lines in /usr/bin/todos (don't forget
to run 'chmod 755 todos' to make it executable).
:#!/usr/bin/perl
while (<>)
chomp;
print "$_\r\n";
}
Have fun . . .
----- Original Message -----
From: MIng Yu <mingqiang.yu@anderson.ucla.edu>
To: <linux@linux.ucla.edu>
Sent: Thursday, May 04, 2000 2:34 PM
Subject: [UCLA-LUG] print under novell network using nprint
> I've configured my linux to be able to print to a novell network
> printer using IPX. Here is what I've done:
>
> 1. in file /etc/rc.d/rc.local, add one line: /sbin/ipx_configure
> --auto_interface=on --auto_primary=on
> 2. in /usr/bin, chmod 4755 to files slist, ncpmount, ncpumount,
> pqlist and nprint.
> 3. under my home directory, mkdir printing
> 4. under home directory, create a file .nwclient with the
> servername/login name in.
> 5. after "ncpmount printing" to the network printer, I'm able to
> print using nprint -q printername filename
>
> The printer does print my file, but there is one problem. Each
> line is printed under the previous line but after the last
> character of the previous line. So, it can only print the first
> few lines and stop. It seems that there are some hidden
> characters before each line so the printer recognizes it with
> some special meaning and indent that line. Could you tell me
> what could cause this problem and how I can fix it?
>
> Thanks.
>
>
> ming
> ----------------------
>
>
>
>
> _______________________________________________
> UCLALUG Linux mailing list - Linux@linux.ucla.edu
> http://linux.ucla.edu/mailman/listinfo/linux
>
--__--__--
Message: 7
Date: Thu, 4 May 2000 22:15:46 +0000 (GMT)
From: "Gareth J. Greenaway" <gareth@wiked.org>
To: linux@linux.ucla.edu
Subject: [UCLA-LUG] LUG Birds of a Feather
Reply-To: linux@linux.ucla.edu
Okay I got some good ideas from everyone in regard to this event, they are
below. The date for the event is May 27th and will start around 1pm. The
format of it, is as follows. We will have tables setup around the Nortel
cafeteria, a section for each topic. People can then move thru out the
room to the various areas were the various topics will be
discussed. There will not be demonstrations there, it is just
discussions. I repeat, No demonstrations. That being said there will be
one person for each topic that will act as the organizer, not the
moderator but just someone to hang out at the table, etc. Any questions
anyone has please let me know. Thanks guys.
Current List of Topics
----------------------
Security
Web Development Tools (web servers,scripting languages)
GUIs(best,worst,etc)
Linux IDEs (integrated development enviroment)
GUI programming (QT,GTK,FLTK,etc)
Multmedia programming (graphics/sound)
Linux Database solutions
Graphics Manipulation
Instant Messaging (AIM,ICQ)
Linux on different architectures (Sparc,Alpha, ARM)
---
Gareth J. Greenaway
gareth@wiked.org
--__--__--
Message: 8
From: MIng Yu <mingqiang.yu@anderson.ucla.edu>
To: linux@linux.ucla.edu
Cc: linux@linux.ucla.edu
Subject: Re: [UCLA-LUG] print under novell network using nprint
Date: Thu, 4 May 2000 15:34:39 -0700 (Pacific Daylight Time)
Reply-To: linux@linux.ucla.edu
The problem is that I'm not using printtool to configure the
novell network printer but doing this through IPX. It doesn't
use printcap file. Do you know where I should put the printer
filter then?
Thanks.
On Thu, 04 May 2000 15:00:30 -0700 Josh Barratt
<jbarratt@ucla.edu> wrote:
> This is called stair-stepped text -- it's due to the missing CR in unix
text
> files. There used to be a checkbox in redhat printtool that lets you turn
> off stair stepped text, but it seems to be missing now (?)
>
> Anyway, here's a fix:
> Fixing stair-stepped text
>
> If you got stair-stepped text when you redirected text directly to the
> printer port, then printing a text file through lpr will be no different.
> The answer to this problem is to define a printer filter that will process
> the data before it reaches the printer (in this case, we need carriage
> returns added to the end of each line).
>
> Defining a printer filter is done by using the if= parameter (if stands
for
> input filter) in your /etc/printcap file. For example, you could add this
> line to your printer definition (don't forget to put the slashes in
> appropriate places and restart lpd):
>
> :if=/usr/bin/todos:
> Anything that gets printed through that queue will first be passed through
> the todos program (which will add the necessary carriage return to the end
> of each line). If todos doesn't exist on your system, you can create a
> replacement by putting the following lines in /usr/bin/todos (don't
forget
> to run 'chmod 755 todos' to make it executable).
> :#!/usr/bin/perl
> while (<>)
>
> chomp;
> print "$_\r\n";
> }
>
> Have fun . . .
> ----- Original Message -----
> From: MIng Yu <mingqiang.yu@anderson.ucla.edu>
> To: <linux@linux.ucla.edu>
> Sent: Thursday, May 04, 2000 2:34 PM
> Subject: [UCLA-LUG] print under novell network using nprint
>
>
> > I've configured my linux to be able to print to a novell network
> > printer using IPX. Here is what I've done:
> >
> > 1. in file /etc/rc.d/rc.local, add one line: /sbin/ipx_configure
> > --auto_interface=on --auto_primary=on
> > 2. in /usr/bin, chmod 4755 to files slist, ncpmount, ncpumount,
> > pqlist and nprint.
> > 3. under my home directory, mkdir printing
> > 4. under home directory, create a file .nwclient with the
> > servername/login name in.
> > 5. after "ncpmount printing" to the network printer, I'm able to
> > print using nprint -q printername filename
> >
> > The printer does print my file, but there is one problem. Each
> > line is printed under the previous line but after the last
> > character of the previous line. So, it can only print the first
> > few lines and stop. It seems that there are some hidden
> > characters before each line so the printer recognizes it with
> > some special meaning and indent that line. Could you tell me
> > what could cause this problem and how I can fix it?
> >
> > Thanks.
> >
> >
> > ming
> > ----------------------
> >
> >
> >
> >
> > _______________________________________________
> > UCLALUG Linux mailing list - Linux@linux.ucla.edu
> > http://linux.ucla.edu/mailman/listinfo/linux
> >
>
>
> _______________________________________________
> UCLALUG Linux mailing list - Linux@linux.ucla.edu
> http://linux.ucla.edu/mailman/listinfo/linux
ming
----------------------
--__--__--
Message: 9
From: "Donald Wong" <dwing13@ucla.edu>
To: <linux@linux.ucla.edu>
Date: Thu, 4 May 2000 22:41:38 -0700
charset="iso-8859-1"
Subject: [UCLA-LUG] .login
Reply-To: linux@linux.ucla.edu
I can't seem to locate the .login file in my home directory, and I did a
search and nothing came up. Do I have to create one?
--__--__--
Message: 10
Date: Fri, 5 May 2000 02:48:46 -0700 (PDT)
From: Clara Wu <yichingw@seas.ucla.edu>
To: linux@linux.ucla.edu
Subject: [UCLA-LUG] I Love You virus
Reply-To: linux@linux.ucla.edu
Within today, i got 5 times virus alert!
Don't know how to say, i just feel i choose linux is correct decision
and i am free of those virus :)
________________________________________________
Wu, Yi-Ching, Clara, PhD candidate
Civil and Environmental Engineering, UCLA.
Tel(O) 310-2067162
4154 Engineering I, UCLA
Los Angeles, CA90095
--------------------------------------------------
--__--__--
_______________________________________________
UCLALUG Linux mailing list - Linux@linux.ucla.edu
http://linux.ucla.edu/mailman/listinfo/linux
End of Linux Digest