Linux-Misc Digest #552, Volume #20                Wed, 9 Jun 99 07:13:07 EDT

Contents:
  Re: newbie: Best way of setting up ip-numbers? (Ronald Hovens)
  Re: Still insalling RH5.2 after a year. ([EMAIL PROTECTED])
  max length of a line in /etc/passwd ("mbannier")
  lilo geo_comp_addr error ([EMAIL PROTECTED])
  SUMMARY: Playing audio cd's doesn't work ([EMAIL PROTECTED])
  Re: Raid 1 mirror in RH 6.0 ([EMAIL PROTECTED])
  Re: Linux on a 486? (John Girash)
  Re: Linux on a 486? (Sparky)
  Re: Network Configurator - What files does it touch? (Mark Tranchant)
  Re: crontab help (almost there!) (Mark Tranchant)
  Re: problems with glibc2 (Mark Tranchant)
  Re: Squid vs IP Masquerading (Dustin Puryear)
  Re: How to get System Commander to boot Linux? (Mohamad SALEH)
  Linux newbie! Help! ("Antony Mak")
  Re: Does Java run well on Linux? (Donal K. Fellows)
  Re: Anyone working on Gimp to .swf plugin ? ([EMAIL PROTECTED])
  Re: LILO and BeOS ("Simon Child")

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

From: Ronald Hovens <[EMAIL PROTECTED]>
Crossposted-To: 
aus.computers.linux,comp.os.linux,comp.os.linux.networking,comp.os.linux.setup,linux.redhat.misc
Subject: Re: newbie: Best way of setting up ip-numbers?
Date: Wed, 09 Jun 1999 11:13:32 +0200

Wheely,

my answers are embedded in your mail below:

Ronald Hovens

Wheely wrote:
> 
> Hi there,
> 
> I wanna install Linux on my system, but I'm not sure what ip-addresses I
> should use for various tasks on my system.
> 
> In the end I'd like to run the following services (all on the SAME pc):
> - FTP
> - Telnet
> - HTTP access (via other W95 machine)
> - dhcpd (so I won't have to setup W95 with an ip-address
> - DNS
> 
> First: CAN it be done?

Of course! Consult the various HOWTOs. If you want to connect local
clients to your linux server which should be able to access the internet
via your linux server, read the IP-masquerading howto. If you will use a
small number of clients, I don't recommend dhcp because it makes some
administrative tasks harder, for example controlling access to services.
just use reserved IP-adresses like 192.168.x.x. for all machines on your
LAN and keep a record of the used ip-addresses. Consult the net-3-howto
for ip-adresses that are reserved for private use.
> 
> Second: can ftp, telnet and http all be running via the same ip-addres?
> (is it possible to give ftp telnet separate ip-addresses?)

They can all run via the same ip-address.
> 
> -> I've set it up, but either http works, OR telnet and ftp work. Never all
> 3 together(?)
> 
I guess you try to use telnet and ftp to a linux server as root. Telnet
and ftp are disabled for root access by default.
If you set things up correctly, all 3 together should work. Consult the
various HOWTOs, starting with the NET-3-HOWTO

> Furthermore, When installing dns and dhcpd I've read somewhere that a
> 'gateway' must be configured. Is this just my main ip-address?
> AND (last one, here) there also needs to be configured a router (routed).
> Does this also have a ip-address of its own?
> 
Note that an ip-address is bound to an interface, not to a machine. If
you connect clients to your linux server via it's ethernet card,
the ip-adress of the linux ethernet card (normally eth0 interface)
should be mentioned as gateway-ip-address in every client's setup. A
router is not needed.

> Questions, questions... but very imortant to me.

A tip: linux is a very wonderful OS, but you have to read documentation
to get a grip on it and make it work the way you want it. You are
wondering if things are possible. With Linux virtually ANYTHING is
possible.
> 
> I hope you find this mail intriguing enough to respond to. You're doing me a
> great favour.
> 
> Kind regards,
> Marcel Post

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

From: [EMAIL PROTECTED]
Subject: Re: Still insalling RH5.2 after a year.
Date: Wed, 09 Jun 1999 08:16:19 GMT

In article <[EMAIL PROTECTED]>,
  Rodney Loisel <[EMAIL PROTECTED]> wrote:
> I bought Redhat 5.2 about a year ago and am still tying to
> get a working environment (Redhat bounced back my requests
> for help even tho' I registered with them and their ridiculous 32
> character registration number.)
> I have spent many, many, hours on the linux.misc news group looking
> for information. I finally got my HP722c working with 'pbm2ppa' after
> several months, I can actually play a CD after buying a commercial
> driver for my sound card. Netscape never worked and apparently
> hasn't for many people. Haven't figured out what to do with the
> default desktop and the really ugly icons and the thing in the
> right hand corner that won't go away.
> I've had 13 years experience, mostly on the Amiga. Some beginning
> 'C' and assem programming, and spent much time using a unix account
> at a local college.
>
> I got off to a bad start with Lilo just getting to LI... so after a
> year I'm still booting from a floppy. I thought it was the dreaded
> 1023 block limit but I've since found out that that is 8 GB and my
> drive is only 4. ( had to reformat, repartition and reinstall windows
> three times.)
>
> I'm not complaining, just letting you know where I've been. I was told
> by a couple of local linux 'gurus' that Linux would be the easiest
thing
>
> in the world to let up and use (just before they left town with no
> forwarding addr.)
>
> My question, finally, is this:
> I really need an alternative to the Amiga and the thing I do most on
> that is graphics and presention programming (a basic-like program
> called the Director2 [not to be confused with the $1000 program for
> Windoze]). Also have a HP cd writer but I gather from the ng's that
> one has to get several programs to do anything useful with that.
>
> A fair number of post on the linux.misc group are complaints
> about how this and that no longer works under RH6.0. That is not
> encouraging even if I could figure out how to upgrade/install the
> new kernal. Yes, I read the HOW-TO several times. (Info overload)
> I have had no problems with file system access. I even heard there
> was an Amiga ffs file system but cannot find it on the RH cd.
> (also haven't found any of the *.c files so that I could figure out
> stuff for myself). Well, that's my sad story. I have made a lot of
> progress but a year is a long time to set up a working system. Any
> suggestion? I want Linux to work but I'm running out of ideas and
> there just isn't enough time to read the thousands of posts on the
> newsgroups. I can only manage a hundred or so a day and so many
> posts leave out much of the details that a new user needs.
>
> I used to be considered the computer expert where I worked but
> this experience has made me wonder if I really want to use
> computers at all any more.
>
> Thanks for reading. I guess there's just too many problems for
> a response but I needed to have my say.
>
> Rodney Loisel <[EMAIL PROTECTED]> Enfield NH USA.
>
>

I am sorry, but I also think that you should leave Linux. Besides, Linux
is still not an OS which offers a variety of graphics tools and
programs. Maybe you should really try Mac or, I am sorry again, Windows.

However you can continue playing with Linux. You might try Mandrake
linux or Free BSD.

P.S. As for the ugly icons - try KDE.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: "mbannier" <[EMAIL PROTECTED]>
Subject: max length of a line in /etc/passwd
Date: Wed, 9 Jun 1999 09:39:32 +0100

Hello,
 I would like to know what is the max length of a line in /etc/passwd
And I would like to know if it's possible to wrap the line with the next one
(maybe with a \)
Thanks
PS : sorry for my poor english.



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

From: [EMAIL PROTECTED]
Subject: lilo geo_comp_addr error
Date: Wed, 09 Jun 1999 08:05:52 GMT

I've rebuilt the kernel to accomodate some new hardware, but
when I run lilo to tell it where the new kernel image is, I
get the message:

geo_comp_addr: Cylinder number is too big (1135 > 1023)

This message appears even if I run lilo on the old lilo.conf
file as well. In any case, the new image is not pointed to and
when I reboot only the old image is accessible.

How can I get around this problem?

thanks,

  edmond


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: SUMMARY: Playing audio cd's doesn't work
Date: 9 Jun 1999 09:40:10 GMT

Hello again,

Well several people asked me to check if there was a cable from
my cd drive to the soundcard. Guess what, there wasn't. I am
duly humbled. Many thanks to all who replied.

Regards,
Roy

In article <7jbac0$e8h$[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (Roy Culley) writes:
> Hello,
> 
> I have never been able to play audio cd's on my Linux pc. After
> installing SuSE 6.1 I have tried once more. I installed the OSS
> commercial package and ran the install script. After running soundon
> I can play audio sounds with the play program that comes with OSS.
> However whenever I run a cd play (have tried xmcd and kscd) nothing
> comes out of the speakers. Both cd players see the cd and I can move
> from track to track and see the timer increasing but no sound. No error
> messages are reported. My pc is an old 133MHz Pentium (non-MMX) and the
> soundcard is an SB16 PnP. I have no sound configured in the kernel,
> 2.2.7. Any help gratefully appreciated.

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

From: [EMAIL PROTECTED]
Subject: Re: Raid 1 mirror in RH 6.0
Date: Wed, 09 Jun 1999 08:25:48 GMT

Ken,
I too am trying to set up raid1 on a rh6.0 machine.
I found the http://ostenfeld.db/~jakob/Software-RAID.HOWTO
has gotten me the furthest.

I installed rh6.0 and followed the latest software raid howto
from ostenfeld.dk/~jakob. Built the raid stuff into 2.2.5 kernel,
marked the raid1's with 'fd', used persistent superblocks and
went thru the process of putting / on /dev/md0 and a seperate
non-raid /boot. So far so good- machine comes up fine mirroring
root and all. Great! but...

But a simple shutdown, turn off the second disk and reboot yeilds
the below error at boot time, and the only way I can recover is
to boot off a non-raid partition and do a 'mkraid --force-sync'
Kind of defeats the purpose of raid1 I'd say!

I don't really need a 'spare' do I? do I need to do something
special to sync the second disk back up? I thought this would
happen automagically.


Also, what's the address to email to to subscribe to the linux raid
list? I tried putting 'subscribe' in an email to
'[EMAIL PROTECTED]' but no I've got nothing back.

Well, I guess I provided more questions than answers ;(

good luck and thanks for any help!

=========== snip ===========

(read) sda3's sb offset: 1028096 [events: 00000018]
autorun ...
considering sda3 ...
  adding sda3 ...
created md0
bind<sda3,1>
running: <sda3>
now!
sda3's event counter: 00000018
md0: max total readahead window set to 128k
md0: 1 data-disks, max readahead per data-disk: 128k
raid1: device sda3 operational as mirror 0
raid1: md0, not all disks are operational -- trying to recover array
raid1: raid set md0 active with 1 out of 2 mirrors
md: updating md0 RAID superblock on device
sda3 [events: 00000019](write) sda3's sb offset: 1028096
md: recovery thread got woken up ...
md0: no spare disk to reconstruct array! -- continuing in degraded mode
md: recovery thread finished ...
. 
... autorun DONE.

============ snip =============


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: John Girash <[EMAIL PROTECTED]>
Subject: Re: Linux on a 486?
Date: 8 Jun 1999 23:47:53 GMT

[EMAIL PROTECTED] wrote:
> John Girash  <[EMAIL PROTECTED]> wrote:

>>I've got an ancient Slackware 2.3 (kernel 1.2.13) on my old 386sx25 laptop
>>w/ 120MB drive & 6 MB RAM. 

> Are there any security patches for 1.2.13, and is it possible to compile
> that 1.2.13 as ELF?  

I wouldn't even know where to go to find out what _current_ security issues
1.2.x has, so I can't help you with that.  But yes, the 1.2.13 kernel was
ELF-able; Slackware 3.0 was ELF and 1.2.13-based if I remember correctly.
Maybe one of the CD exchange sites still has some copies listed.

(I first downloaded linux on the very evening Slacky 3.0 was being put on
cdrom.com -- and was completely unaware of this.  So I grabbed a partially-
there 3.0, couldn't get it to work, and fell back to 1.2.8-based Slacky 2.3.
As a result I was stuck with an a.out system for 2 years longer than would've
been otherwise, b/c the a.out->ELF transition wasn't worth the risk & effort).


>>I doubt that any except Slackware will get a reasonable system within 120mb.

> I've gotten a 20MB system with debian 2.0.  

By "reasonable" I meant with X (as the original poster spec'd), gcc/g++, tex, 
gv, kernel source etc. My rough guess is that such a Debian would take >150MB.

cheers
jg


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

From: Sparky <[EMAIL PROTECTED]>
Subject: Re: Linux on a 486?
Date: Wed, 09 Jun 1999 08:11:43 GMT

Thanks to all those who have voiced their opinions, it has give me a lot
of food for thought.

I really should have mentioned the RAM, but I just couldn't remember how
much was in there.  It used to be 4mb but I've got a feeling I slapped a
8mb chip in their to make it a whopping 12mb Win3.1 power-packed system
;)

I personally love the idea of Linux, but it sounds as the X-windows
system is just too resource intensive for this spec of machine.  As much
as I dislike Micro$oft, it would appear that I might as well stick with
MS Win3.1/MS Word 2.0 - rather than try to get a similar system with
Linux/X-Windows/Linux WordProc (sorry, don't know of any Linux WordPs).

I just wondered if I could use the PC for a simple Word Proc/Spreadsheet
machine under Linux in a 'Windows-type' environment.

Mark.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: Mark Tranchant <[EMAIL PROTECTED]>
Subject: Re: Network Configurator - What files does it touch?
Date: Wed, 09 Jun 1999 08:44:36 +0100
Reply-To: [EMAIL PROTECTED]

Look in /etc/hosts. This is the trouble with "automated" tools - you
have no idea what is really going on.

Mark.

[EMAIL PROTECTED] wrote:
> 
> I did a stupid thing in X-Windows on Red Hat 5.2.  I run a linux/Win95
> 
> network and my linux box has two ethernet cards.  One for a connection
> 
> to the internet, one for a connection to my Win95 box.  I used the
> Network Configurator in X-Windows to change the IP address of the card
> 
> I use to connect to my Win95 box (device is eth0).  I had been
> successfully using 10.0.0.1 as my linux IP and 10.0.0.2 as my Win95
> IP.  I had heard that there were problems with using these IPs on a
> private network and I should use something in the 192.168 range
> instead.  So, I used the Network Configurator tool to change eth0 IP
> to
> a 192.168 address.  Re-boot the system and it starts complaining about
> 
> SIOCADDRT: Invalid argument and route: network address doesn't match
> route address .  It took about half an hour for it to finish booting
> (sysklogd and smbd just sat there till they timed out).  Once it
> booted
> I tried using ifconfig on the command line to reset eth0's settings
> back to what I previously had, but no luck.  Ifconfig showed the
> changes but when I re-booted, same crap.  What files does Network
> Configurator touch?  I use X-Windows from my Win95 box, so I have to
> edit the settings at the console on the command line (I don't run X-
> Windows on the console, but that is another story).
> 
> Any help would be greatly appreciated.

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

From: Mark Tranchant <[EMAIL PROTECTED]>
Subject: Re: crontab help (almost there!)
Date: Wed, 09 Jun 1999 08:51:17 +0100
Reply-To: [EMAIL PROTECTED]

Les Cole wrote:
> 
> One other thing that has me stumped is how to delete a file that I
> inadvertantly put a back quote in front of the filename (during my trial
> and error stage)i.e `date - I have tried rm `date and also rm *.* but to
> no avail.

(Commands enclosed in square brackets below...)

Well, [rm *.*] won't work as `date has no . in it. [rm *] would work,
but would delete everything. [rm -i *] would delete everything, but
prompt you for confirmation of each file. This can be useful if there
are few files in the directory. [rm ?date] would also work (and would
have the additional benefit of deleting the ddate program if you are in
the right directory :-) ).

However, what you need to do is stop the shell from seeing the back
quote as a special character. Use [rm \`date]. The backslash says "don't
read anything special into the next character - it's just a normal
character" to the shell.

Mark.

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

From: Mark Tranchant <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: problems with glibc2
Date: Wed, 09 Jun 1999 08:41:18 +0100
Reply-To: [EMAIL PROTECTED]

Guys - you don't *need* glibc2 to run 2.2.x kernels. The Changes
documentation tells you what version if libc5 / glibc2 you should have
*if you use it*.

Mark.

Mark Johnson wrote:
> 
> >
> > Where to get glibc 2.0.7?
> 
> It tells you in linux-2.2.9/Documentation/Changes

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

From: [EMAIL PROTECTED] (Dustin Puryear)
Subject: Re: Squid vs IP Masquerading
Date: Tue, 8 Jun 1999 21:43:00 -0500
Reply-To: [EMAIL PROTECTED]

On Tue, 25 May 1999 12:42:35 +1000, Ben Short wrote:
>I would use both. I do at home :)
>IP Masqing allows you to get around the hassles of Real Audio etc, and I 
>like the cute error messages SQUID generates on dead websites. I only use 
>squid for WWW....

It's also great for ftp.

-- 
Dustin Puryear
[EMAIL PROTECTED]


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

From: Mohamad SALEH <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.setup,linux.redhat.install
Subject: Re: How to get System Commander to boot Linux?
Date: Wed, 09 Jun 1999 12:23:19 +0200

"Edward J. Smiley Jr." a �crit :

> I am trying to boot Win98, WinNT, and Linux using System Commander.  I
> know that you have to point System Commander at you Linux partition to
> get it to boot.  What partition do I want to point it at and how do I
> point it?
> Also in the future I would like to add Solaris 7.  Would I have to do
> this the same way?  Any help would be greatly appreciated.
>
> Thanks!
> --

I use simply LILO from Linux. It is possible to boot all Windows, Solaris
and naturally Linux
with LILO which is a natural solution when you have Linux.




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

From: "Antony Mak" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Linux newbie! Help!
Date: Thu, 3 Jun 1999 01:46:50 +0800

Hi all,
    I am new to Linux. I just install two Redhat 4.2 linux servers. But have
many problem here. I think the configuration is different from other UNIX.

1.  I export a dir to other one but it can not be mount. the
/var/log/messages always tell me that "insecure". Is this a problem with
"tcpd"? Do I need to modify the files "hosts.allow" and "hosts.deny"? Must I
use "tcpd"?

2. When I use rlogin on a AIX box to them, the /var/log/messages always tell
me access deny by "pam". What is "pam"? How to config it?

3. Every time I reboot the machines, the time is changed to UTC time. Why?

Can anyone point me how to fix this?
thanks in advance
antony



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

From: [EMAIL PROTECTED] (Donal K. Fellows)
Crossposted-To: alt.os.linux.caldera,alt.os.linux,comp.os.linux.advocacy
Subject: Re: Does Java run well on Linux?
Date: 9 Jun 1999 10:00:36 GMT

In article <[EMAIL PROTECTED]>,
Hans Wolters <[EMAIL PROTECTED]> wrote:
> The Ghost In The Machine <[EMAIL PROTECTED]> found a keyboard
>> Lose the '.class' suffix;
>>    java demo
>> will look for the file demo.class and load it.
> 
> Only when he has a ./ in his $CLASSPATH

That will always be the case unless he (or, worse, his sysadmin) has
been unwise enough to decide that frigging the CLASSPATH especially
for Netscape is a good idea.  Fools wiil be fools.

Ideally, your CLASSPATH should be empty/nonexistant.  Especially with
pre-1.2 interpreters...

Donal.
-- 
Donal K. Fellows    http://www.cs.man.ac.uk/~fellowsd/    [EMAIL PROTECTED]
-- The small advantage of not having California being part of my country would
   be overweighed by having California as a heavily-armed rabid weasel on our
   borders.  -- David Parsons  <o r c @ p e l l . p o r t l a n d . o r . u s>

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.graphics.apps.gimp,linux.dev.apps
Subject: Re: Anyone working on Gimp to .swf plugin ?
Date: Wed, 09 Jun 1999 09:02:39 GMT

Still no answer to this ...
A N Y O N E interested ?

+ what ever happend to that project of bringing Gimp to profesional
production (broadcast) quality for use in film ...it was called
something 16 ? ... is there any trace of it .
That was very big after Titanic-Linux News ...


In article <[EMAIL PROTECTED]>,
  Zeljko Blace <[EMAIL PROTECTED]> wrote:
> Hi!
> I saw Macromedia giving a way source code of a player ...
> is anyone doing/interested in building an authoring tool or Gimpl
> plugin  .swf (opensourced Flash file format) saving ?
>
> agood start would be just saving and manipulating of static vector
> drawings and exporting them to .swf ... and maybe with time build it
up
> to a animation ...
>
> ...some related links
>
> http://homepages.tig.com.au/~dkl/swf/
>  http://www.kessels.com/Swiff/index.html
>  http://www.experient.com/flash/
>  http://reality.sgi.com/grafica/flash/DOC.html
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: "Simon Child" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.install,redhat.general
Subject: Re: LILO and BeOS
Date: Tue, 8 Jun 1999 14:43:57 +0100
Reply-To: "Simon Child" <[EMAIL PROTECTED]>

Aureliano Buendia wrote in message <7jilde$2nhg$[EMAIL PROTECTED]>...

>What do you think would be a better solution for triple boot: LILO or
the
>BeOS boot loader? How can I restore LILO (I currently cannot acces
Linux at
>all)


Hopefully you made a boot floppy when installing Linux? If so then boot
off that and then reinstall lilo (add your beos partition to
/etc/lilo.conf and run /sbin/lilo)

If you don't have your boot floppy, try booting off an install floppy
and using the rescue disk, then mount your root partition, then as
above, but when running /sbin/lilo you'll have to get the paths to
lilo.conf correct and use the option to chroot to your mount point,
IIRC.

something like

/mnt/sbin/lilo/ -C /mnt/etc/lilo.conf -r /mnt   (if root partition
mounted at /mnt)

check man lilo

--
Simon Child       Spam trap in Email Address.
Send email to simon.at.child.demon.co.uk  (Replace .at. with the correct
symbol)
Send spam to [EMAIL PROTECTED]




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


** 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.misc) 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-Misc Digest
******************************

Reply via email to