Linux-Setup Digest #301, Volume #21              Fri, 25 May 01 10:13:10 EDT

Contents:
  Re: Connection through (Freesco-)router (Dean Thompson)
  Re: Connection through (Freesco-)router (Huub)
  Re: innd not working (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
  Re: Connection through (Freesco-)router (Dean Thompson)
  Re: can't compile qt-2.3.0 with -xft. Why? ("ne...")
  Re: @Home setup SO SLOW ("LRW")
  Re: File system design ("ne...")
  RH7.1 - USB mouse problem (Timothy Stark)
  Does RH7.1 support firewire? (Timothy Stark)
  Re: 3CXFE575BT PCMCIA on LINUX 7.1 on Thinkpad 760XL (9547-U9C) ("Doug Reiland")
  Netscape 4 mail & vfat under Linux 2.4 (Craig Goodrich)
  Re: Rows and Columns and Colors and Attributes ("Greg Berchin")
  Re: changing user in init.d startup script ("Doug Reiland")
  Kernel panic while trying to install RH Linux 6.0 (dasp)
  Re: Mandrake 8.0 & Duplicate Win HDD's (Justo M. Casablanca)
  install a HP6L LaseJet printer. ("Eric Chow")
  Re: Connection through (Freesco-)router (Huub van Niekerk)
  Re: Connection through (Freesco-)router (Dean Thompson)
  Re: Samba Printing! (Rod Smith)
  Re: XWindows desktop not fully coming up. Please help? (LRW)
  Re: Forget LILO and use grub on mandrake 7.0 (JLucien)

----------------------------------------------------------------------------

From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: redhat.config,comp.os.linux.networking
Subject: Re: Connection through (Freesco-)router
Date: Fri, 25 May 2001 21:10:57 +1000


Hi!,

> I have installed NAT/Firewalling, for obvious reason: no intrusion from 
> outside. When I select IP Forwarding it says: meant to forward your 
> FTP/HTTP server to the internet (which isn't my intention).
> The little scheme I noted below is on the test pc connected to the router. 
> So the test pc doesn't need firewalling.
>
> Is port-redirection the same as IP-forwarding?

Port redirection and IP-Forwarding to some degree are the same thing allowing
people to access your WWW server on the internal LAN by accessing the WWW port
on your firewall/gateway server.  However, I thought you wanted to do
Masquerading where you allow a machine on the inside to surf the net.

See ya

Dean Thompson

-- 
+____________________________+____________________________________________+
| Dean Thompson              | E-mail  - [EMAIL PROTECTED] |
| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

------------------------------

From: Huub <[EMAIL PROTECTED]>
Crossposted-To: redhat.config,comp.os.linux.networking
Subject: Re: Connection through (Freesco-)router
Date: Fri, 25 May 2001 13:14:25 +0200

Hi,

I only want my pc from behind the router being able to surf the net..
So, I guess I don't need either port-redirection or IP-Forwarding...

Huub


Dean Thompson wrote:

> Hi!,
>
> > I have installed NAT/Firewalling, for obvious reason: no intrusion from
> > outside. When I select IP Forwarding it says: meant to forward your
> > FTP/HTTP server to the internet (which isn't my intention).
> > The little scheme I noted below is on the test pc connected to the router.
> > So the test pc doesn't need firewalling.
> >
> > Is port-redirection the same as IP-forwarding?
>
> Port redirection and IP-Forwarding to some degree are the same thing allowing
> people to access your WWW server on the internal LAN by accessing the WWW port
> on your firewall/gateway server.  However, I thought you wanted to do
> Masquerading where you allow a machine on the inside to surf the net.
>
> See ya
>
> Dean Thompson
>
> --
> +____________________________+____________________________________________+
> | Dean Thompson              | E-mail  - [EMAIL PROTECTED] |
> | Bach. Computing (Hons)     | ICQ     - 45191180                         |
> | PhD Student                | Office  - <Off-Campus>                     |
> | School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
> | MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
> | Melbourne, Australia       |                                            |
> +----------------------------+--------------------------------------------+


------------------------------

From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: innd not working
Date: Fri, 25 May 2001 13:16:54 +0200

On Fri, 25 May 2001, Harry Glinos wrote:

> I'm trying to setup a news server using innd. Currently, it works great a an
> inhouse server, but I wan't to host a few newsgroups in alt.* I've added
> some peers my innfeed.conf and incoming.conf files. Appearantly, according
> to a network monitor that I have, the server isn't making any attempt to
> connect with the peer. I'm using innd that comes packaged with RH 7.0. Can
> anyone help me out with this one.

That's not he way feeding works. When you set up a peer with an incoming
feed, INN will wait for the peer to send articles. It won't download the
articles. Outgoing feeds will be sent - but the peer need to be
configured to receive a feed.

If you are only going to host a few groups, you will probably need to
download articles with newsx or suck and send them out with nntpsend.

You can also ask your ISP (or someone else) to provide a feed - but that
is not likely to be free.

Rasmus

-- 
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
I don't suffer from insanity, i enjoy every minute of it!
================================= [ moffe at amagerkollegiet dot dk ] =


------------------------------

From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: redhat.config,comp.os.linux.networking
Subject: Re: Connection through (Freesco-)router
Date: Fri, 25 May 2001 21:17:09 +1000


Hi!,

> I only want my pc from behind the router being able to surf the net..
> So, I guess I don't need either port-redirection or IP-Forwarding...

You will still need to use ip-forwarding.  I am sick of trying to do it via
the menus with Freesco we will do it manually.  Can you log into the router
and type the commands: "ipchains" and see whether or not it comes back with
command not found or whether it actually gives you the usage for the command.

See ya

Dean Thompson

-- 
+____________________________+____________________________________________+
| Dean Thompson              | E-mail  - [EMAIL PROTECTED] |
| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

------------------------------

Crossposted-To: alt.os.linux
From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: can't compile qt-2.3.0 with -xft. Why?
Date: Fri, 25 May 2001 12:23:44 GMT

On May 25, 2001 at 09:47, J�rgen Diez eloquently wrote:

>>I'd say it looks like you havnt installed XFree 4.03 and all its header
>>files properly..
>
>I downloaded xfree 4.02 and patched it up to 4.03
>the compilation made no errors and the make install work also properly. I
>don't know, where there should be my mistake
Did you install freetype2 _before_ X???

-- 
Registered Linux User # 125653 (http://counter.li.org)
The only time a dog gets complimented is when he doesn't do anything.
                -- C. Schulz
  8:23am  up 14:59,  7 users,  load average: 0.00, 0.00, 0.00


------------------------------

From: "LRW" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.help
Subject: Re: @Home setup SO SLOW
Date: Fri, 25 May 2001 12:25:40 GMT

Thanks for the advice!! But I really want to edit the files myself manually,
as I used Linuxconf once to configue Apache, and it completely hosed my
http.conf (sp?).
BTW, is the /etc/hosts file basically the same thing as an LMHOSTS in
Windows? I ask because your saying yours is large made the connection for
me.

Liam

"Neil Cherry" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>>SNIP<<
>
> My /etc/hosts file is very large but the single entry looks like this:
>
> 24.2.89.230    AB12345-A.x.yy.home.com AB12345-A
>
> I'm static.
>
> Using Linuxconf may help (it's on your system), but then you'll have
> to play with the client setting under network (and figure out where
> everything is).
>
> --
> Linux Home Automation           Neil Cherry             [EMAIL PROTECTED]
>>SNIP<<



------------------------------

From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: File system design
Date: Fri, 25 May 2001 12:26:45 GMT

On May 25, 2001 at 00:04, Mukundan Sudarsan eloquently wrote:

>Hi guys!
>
>I donno if this is the right place to post this question but where would
>
>i get detailed information on how the file system design goes on Linux.
>I would love some information also on how to start writing file system
>drivers.
>
>Any pointers in this regard will be greatly appreciated.
>Please help.
First: use the source.
Second: get the kernel mailing list.
Third: Check out the other linux newsgroups like the
hardware and development ones.

-- 
Registered Linux User # 125653 (http://counter.li.org)
"I go on working for the same reason a hen goes on laying eggs."
- H. L. Mencken
  8:25am  up 15:01,  7 users,  load average: 0.00, 0.00, 0.00


------------------------------

From: Timothy Stark <[EMAIL PROTECTED]>
Subject: RH7.1 - USB mouse problem
Date: Fri, 25 May 2001 12:57:30 -0000

Hello folks:

Recently I installed Red Hat 7.1 into my PC.  Red Hat Installation 
recongized my USB mouse (Microsoft Internet Explorer) clearly but...
When I rebooted the system, it did recongized my USB mouse but Xfree86 v4
did not recongize it.  How do I make Xfree86 v4 to recongize my USB mouse
by mouseconfig, etc??

Thank you!

-- Tim Stark

-- 
Timothy Stark   <><     Inet: [EMAIL PROTECTED]
==========================================================================
"For God so loved the world, that he gave his only begotten Son, that 
whosoever believeth in him should not perish, but have everlasting life.
Amen." -- John 3:16 (King James Version Bible)

------------------------------

From: Timothy Stark <[EMAIL PROTECTED]>
Subject: Does RH7.1 support firewire?
Date: Fri, 25 May 2001 13:00:04 -0000

Hello folks,

Since I have three firewire devices on my PC, I have a question for you.
Does Linux 2.4 support firewire interface?  I have Red Hat Linux 7.1
system.  Three firewire devices are Pyro webcam, Sony camcorder, and Pyro
flash reader for my digicam.

Thank you!

-- Tim Stark

-- 
Timothy Stark   <><     Inet: [EMAIL PROTECTED]
==========================================================================
"For God so loved the world, that he gave his only begotten Son, that 
whosoever believeth in him should not perish, but have everlasting life.
Amen." -- John 3:16 (King James Version Bible)

------------------------------

From: "Doug Reiland" <[EMAIL PROTECTED]>
Subject: Re: 3CXFE575BT PCMCIA on LINUX 7.1 on Thinkpad 760XL (9547-U9C)
Date: Fri, 25 May 2001 09:03:18 -0400

I suggest going to http://sourceforge.net/projects/pcmcia-cs/. This is the
home page for the linux pcmcia project. There is a mailing list you ask post
to as well as archives that you can search and some documentation.

A couple of days ago I found the answer to why my linksys modem/ethernet
combo card was not working in the archives.


"Mike" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I am at my wits end - well, almost...
>
> My end goal is to use a Thinkpad 760XL (9547-U9C) as a LINUX firewall
> - for fun.  I have successfully loaded the OS but have become
> confused.  I am not sure if my NIC is not configured correctly, or the
> PCMCIA, or what.  I am in need of a helping hand, and would appreciate
> any dedicated assistance for a while from anyone here.  I have done a
> great deal of reading but I feel that I have read so much, that I have
> confused myself.
>
> I have scoured these posts but have found little help.  I am ready
> willing and able to send anyone the information needed to help me in
> my quest.
>
> What I am trying to do, I am sure has been done.  If you are out there
> and can reply, please email me.
>
> Thank you all for your support.
>
> Mike
>
> [EMAIL PROTECTED]



------------------------------

From: Craig Goodrich <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Netscape 4 mail & vfat under Linux 2.4
Date: Fri, 25 May 2001 08:12:06 -0500

Back in March on linux.debian.user, Tim Ford described a problem with storing
Netscape mail files on a vfat volume under Linux 2.4:  Netscape can't/won't
read them.  Tim had been accessing them through symbolic links in the user's
home directory.  The setup worked fine under kernel 2.2.

I have exactly the same problem.  Netscape (v. 4.75 & 4.76) is instructed
to use /dosg/Mail for mail files by prefs.js -- I tried using symlinks long
ago (4.2?, Linux 1.4?) and all hell broke loose when Netscape did a "compact
folders", so I've just used a manual entry in prefs.js ever since.  This
has been working fine for years, modulo Netscape's earlier multiple-window
crashes and the Linux version's belief that the Win32 index .snm files
were supposed to be mail folders.  It *still* works fine under Linux 2.2.

But under 2.4, Netscape can't read the mail files.  He gets the directory
entries just fine -- the folder list is OK -- but shows all folders as
empty.

The only (apparently) response to Tim's message suggested -- cryptically
and unhelpfully -- that the problem was "permission related" -- yet I
habitually log into Linux as root (I know, I know ...), and this setup
has been working fine for years.  It *still* works fine when I boot
a 2.2 or earlier kernel.

Mozilla (.8, .9 and dailies built on my machine) handles mail files on
a vfat volume just fine.  So the difficulty only occurs with Netscape
4 (I haven't reinstalled 3 to test) and kernel 2.4.  It's not a Debian-
specific problem, either, since insofar as my system is anything identi-
fiable, it's a sporadically and randomly upgraded RH 6 with locally built
libs and compilers (running on a dual-P233 machine).

Help!

Thanks,

Craig
=============
Craig Goodrich
Rural Village Systems
somewhere in the woods near Huntsville, Alabama

Politics for the Thinking Redneck       -- http://airnet.net/craig/g4c
Linux miscellany                        -- http://airnet.net/craig/linux

==========
          When taxes are too high,
           people go hungry.
           When the government is too intrusive,
           people lose their spirit.

           Act for the people's benefit.
           Trust them; leave them alone.

                -- Tao Te Ching, #75 (ca. 400 BC)



------------------------------

From: "Greg Berchin" <[EMAIL PROTECTED]>
Subject: Re: Rows and Columns and Colors and Attributes
Date: Fri, 25 May 2001 08:13:56 -0500

Thanks for the info on frame buffers.  I compiled support into the kernel
and put "vga=ASK" into "lilo.conf".  One of the modes gives me 132x44,
exactly what I wanted.

Trouble is, the boot continues in 132x44 text mode until just before the
"login:" prompt, at which time something in the system resets the mode to
80x25.  Things scroll by so quickly that I have not been able to see what is
doing it.  Any ideas?

Thanks again,
Greg



------------------------------

From: "Doug Reiland" <[EMAIL PROTECTED]>
Subject: Re: changing user in init.d startup script
Date: Fri, 25 May 2001 09:15:29 -0400

That does seem too far off. If you look at some other init scripts, they are
using a shell function called daemon in /etc/rc.d/init.d/functions.

example from xfs) daemon xfs -droppriv -daemon

The first argument is the username.
Looking at the daemon(), it is doing:
nice -n $nicelevel initlog $INITLOG_ARGS -c "su $daemon_user -c \"$*\"" &&
success "$base startup" || failure "$base startup"

This should be able to shrink this to:
"su $daemon_user -c \"$*\""





"Joseph Delaney" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> How do you change the user that a owns  a process that loads during the
> server startup?
>
> I am trying to start up JRun for serving Java Server Pages, but using
> the default script that JRun puts into /etc/init.d causes JRun to run as
> a root process. Since we are using JRun to write files submitted through
> HTML forms, the files then have root ownership. This is annoying at
> least, and I'm afraid it could potentially be used as a security breach.
>
> So I modified the startup script to su to another user when starting
> JRun. This works if I manually call the script, but if I restart the
> server JRun starts with root ownership again. This is the command I
> used:
>
> su --command="/opt/JRun/bin/jrun -start" -m username
>
> What am I doing wrong?
>
> Thanks for any help.
>



------------------------------

From: [EMAIL PROTECTED] (dasp)
Subject: Kernel panic while trying to install RH Linux 6.0
Date: 25 May 2001 06:20:49 -0700

Hi,

I have built a 486 box from old components (mb, ram, hard disk etc.)
and it seems that it works now. The hard disk is an old Seagate 210MB
disk, I have 16MB of RAM, and the hard disk is connected to a VLB
controller. I have installed DOS without problem on this disk, and it
works.

However when I try to install red hat linux 5.2 (or 6.0) the installer
loads the boot.img from the diskette and it halts with the following
message:

CRC Error
Cannot open root device 08:22
kernel panic: VFS: unable to mount root fs on 08:22

I first thought that the diskette with the boot.img is corrupted, so I
tried with different diskettes, but the result is same. Same thing
happens with red hat linux 5.2 and red hat linux 6.0, ie the message
is same. Red hat linux 6.2 doesn't wanna install, it asks for some
driver disk in the beginning of the installation, and then halts if
you don't provide one.

What seems to be the problem? As I said, the hard disk works fine with
ms-dos put on it (it boots, reads/writes etc.), so I don't believe
that this is a hardware problem. And what device 08:22 is?

TIA,
dasp

------------------------------

From: Justo M. Casablanca <[EMAIL PROTECTED]>
Subject: Re: Mandrake 8.0 & Duplicate Win HDD's
Date: Fri, 25 May 2001 13:30:09 -0000


David wrote:
> 
> Boot into linux and take a look in /etc/fstab if you have it setup so
> that you can mount the windoz partition from linux. In the line for the
> windoz partition it should have  "0  0"  at the end of the line without
> the quotes.

Thx for your reply.  I would have seen it earlier except for some reason
cnet did not e-mail me when the reply was recorded.

Anyway I did what you said.  My windows (hda1) partition has always
mounted just fine under Linux.  It's my D: drive (hdc1) that won't
mount.  I have copied-and-pasted my /etc/fstab file below:

============================= /etc/fstab start ====================
/dev/hda8 / ext2 defaults 1 1
/dev/hda5 /boot ext2 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
/dev/hda1 /mnt/windows vfat 
user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0
============================== /etc/fstab end =====================

As you can see, hdc1 is not listed.  This is because Mandrake
refused to mount this partition during Mandrake installation.
At installation time, Mandrake gave me the same error produced
by the following command:

mount -t vfat /dev/hdc1 /mnt/windata

mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
       or too many mounted file systems

Now, I know for a fact that hdc1 is a FAT32 partition.  I'm also
pretty darn sure I used the mount command correctly, so what is
this "bad superblock" stuff, and is there a way to fix it ?

I'm almost to the point where I'm ready to repartition hdc.  I
already have all my data backed up on CDRW's, and since windows
and Linux are both on hda..........

But, I thought I'd give this one last shot.

Thx for your help !!!!

--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: "Eric Chow" <[EMAIL PROTECTED]>
Subject: install a HP6L LaseJet printer.
Date: Fri, 25 May 2001 21:35:16 +0800

Hello,

Would you please to teach me how to install a HP 6L LaserJet Printer to
Linux ?

Would you please to teach me how I can just modify some config file to
install it ?

What config files fo I need to modify and what services do I need to restart
?


I can use printtool to setup a printer, but I want to setup a new printer
manually(modify config files).
Please teach me and show me how, thanks a lot ?

Best regards,
Eric




------------------------------

From: Huub van Niekerk <[EMAIL PROTECTED]>
Crossposted-To: redhat.config,comp.os.linux.networking
Subject: Re: Connection through (Freesco-)router
Date: Fri, 25 May 2001 15:41:16 +0200

Hi Dean,

I taken the test to another (W95) pc. Easy to configure and done in a minute. So
the router works...the problem is the Linux-configuration on the pc (and I've 3
of them..)

Thank you for your help and time

Huub

Dean Thompson wrote:

> Hi!,
>
> > I only want my pc from behind the router being able to surf the net..
> > So, I guess I don't need either port-redirection or IP-Forwarding...
>
> You will still need to use ip-forwarding.  I am sick of trying to do it via
> the menus with Freesco we will do it manually.  Can you log into the router
> and type the commands: "ipchains" and see whether or not it comes back with
> command not found or whether it actually gives you the usage for the command.
>
> See ya
>
> Dean Thompson
>
> --
> +____________________________+____________________________________________+
> | Dean Thompson              | E-mail  - [EMAIL PROTECTED] |
> | Bach. Computing (Hons)     | ICQ     - 45191180                         |
> | PhD Student                | Office  - <Off-Campus>                     |
> | School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
> | MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
> | Melbourne, Australia       |                                            |
> +----------------------------+--------------------------------------------+


------------------------------

From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: redhat.config,comp.os.linux.networking
Subject: Re: Connection through (Freesco-)router
Date: Fri, 25 May 2001 23:44:30 +1000


Hi!,

> I taken the test to another (W95) pc. Easy to configure and done in a 
> minute. So the router works...the problem is the Linux-configuration on the 
> pc (and I've 3 of them..)

What did you do to the PC ?, you should just do it to the Linux machines as
well.  You just need to set their gateway address to be the address of the
internal server and that the DNS values in /etc/resolv.conf should be setup
correctly.

See ya

Dean Thompson

-- 
+____________________________+____________________________________________+
| Dean Thompson              | E-mail  - [EMAIL PROTECTED] |
| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

------------------------------

From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Samba Printing!
Date: Fri, 25 May 2001 13:45:39 -0000
Reply-To: [EMAIL PROTECTED]

[Posted and mailed]

In article <9ekn0t$[EMAIL PROTECTED]>,
        "Eric Chow" <[EMAIL PROTECTED]> writes:
> Hello,
> 
> I modify the /etc/printcap as following :
> =========================================
> hp6l|lp:\
>        :cm=HP LaserJet 6L:\
>        :lp=/dev/hp6l:\
>        :sd=/var/spool/lpd/hp6l:\
>        :af=/var/spool/lpd/hp6l/acct:\
>        :mx#0:\
>        :if=/usr/bin/smbprint:
> =========================================
> 
> When I use lpr to print a file. It seems that no response to the Printer but
> had no errors.
> Do I need mount the Windows Printer first ? How to mount it ? Would you
> please to teach me ?

The best way to do this is to use your OS's printer setup utilities,
because there are subtle differences in different smbprint scripts,
which make them expect different information in different locations. At
the very least, you need to tell us what distribution you're using and
what version of Samba (the version number and where you obtained it).

As a general rule, you'll need to create a file somewhere with login
information for the Samba share. For instance, on some distributions,
you'd create a /var/spool/lpd/hp6l/.config file that looks like this:

share=//server/printername
user="someuser"
password="thepassword"

You might need to create a file with somewhat different information, or
put it somewhere else, or call it something else. Load your smbprint
script into a text editor and look it over to figure out what's needed.
(This may require some knowledge of scripting, though.) As I said, it's
usually easier to use whatever tool your distribution provides to
configure printers, like Red Hat's printtool or SuSE's YaST.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

------------------------------

From: LRW <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.help
Subject: Re: XWindows desktop not fully coming up. Please help?
Date: Fri, 25 May 2001 09:05:34 -0500

OK OK. I'm convinced.
But here's my question: I set up another account for myself, what groups
should I make myself a part of that will still allow me to add packages
and install software, like MySQL and ASP packages and various RPMs and
such?
If I give myself the root group, how would that be different from just
BEING root? And if I su to root, how is THAT different from just being
root?

I really do want to play it safe, but I also need to retain control.

BTW, one other thing if I may...I use RedHat's UserManager, but because
I like to know what's going on I'm investigating my /etc/passwd and
found something I don't understand:
liam:x:500:0:Liam:/home/liam:/bin/bash
mike:x:501:501:Mike M:/home/mike:/bin/bash
mysql:x:100:101:MySQL server:/var/lib/mysql:/bin/bash
(obviously the last 3 entries)
This is the other half of what I mean by needing to learn user managing.
I assume the 'x' is password, and the 1st number is the user number, but
what's the 2nd number? Why does 'liam' have 0 and mike have '501' which
also happens to match his user number of '501'? And for that matter, why
does MySQL have a group of '101'?

Sincerely, I appreciate any help. I'm striving to learn as much as I can
any way I can. I hate bugging people all the time (I'm also sure I've
brought many people to saying "man what a freakin newbie idiot",) so if
you have any suggestions of documentation on this and user managing in
general I'd appreciate it.
I've tried various "man" attempts and haven't been able to come up with
anything quite related.

Thanks!!!
Liam


"Peter T. Breuer" wrote:
> 
> LRW <[EMAIL PROTECTED]> wrote:
> > The reason I asked why I asked why is because I'm confused about why
> > this box works perfectly right out of installation without a .xinitrc
> > when it sounds as though that file is necessary.
> 
> Necessary for what? Not for "working"! That file is only "necessary"
> for forcing a menu choice automatically for a xdm-mediated login -
> and even then only if it's mentioned that way in your systemwide
> initrc. Lots of factors intervene.
> 
> > And I'm running as root because I'm having to do installations of
> > packages left and right so I thought I might as well stay as root. I've
> 
> No, DON'T run as root. Use sudo.
> 
> > been so busy getting the machine set up right that I haven't had time
> > yet to study up on user managing enough yet to create another account
> 
> This hardly requires study! That's like saying "I've been training so
> hard that I haven't studied up on how to walk to the door of the
> breakfast room". Edit /etc/passwd and give yourself an account. This
> should absolutely be step zero in the use of any machine. How can you
> possibly test any of your installations if you don't have any users
> to test them?
> 
> > for myself that has all the benefits but none of the risks root has.
> 
> Peter

------------------------------

From: [EMAIL PROTECTED] (JLucien)
Subject: Re: Forget LILO and use grub on mandrake 7.0
Date: Fri, 25 May 2001 14:02:52 GMT

On Thu, 24 May 2001 23:17:34 -0700, "mike" <[EMAIL PROTECTED]> wrote:

>i need information on using grub as my os loader... i am running win98 and
>linux just fine, if i use a boot disk... lilo apparently has a problem with
>LBA and partitions over 8GB... something about 1024 sectors :) any way i am
>still new to the linux game so insalling a new boot loader is a little over
>my head... instructions, links, downloads, or docs please... i am not afraid
>to read, or ruin my computer:) but i need help...
>
>

I'm in the same position as you!

There is an excellent article on GRUB in the May Linux Journal mag -
it can be found online here:
http://noframes.linuxjournal.com/lj-issues/issue85/4622.html

HTH,
JLucien.


------------------------------


** 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 by posting to comp.os.linux.setup.

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
******************************

Reply via email to