Linux-Misc Digest #54, Volume #28                 Thu, 7 Jun 01 18:13:04 EDT

Contents:
  Re: /dev on vfat partition (Agent Smiths)
  Re: /dev on vfat partition (Agent Smiths)
  Re: New Server: Hardware under Linux (Robert Ullman)
  bc&linux ("Eric Flies")
  Re: Printing margins/alignment (Dave Uhring)
  Re: rc.local file. (Micah Cowan)
  Re: Compiling QT - doesnt accept custom include directory (Dave Uhring)
  Re: Print to a PDF (Dave Uhring)
  Re: Compiling QT - doesnt accept custom include directory (Anton Suchaneck)
  Help with vloopback ("Ivo Nikolov")
  Re: I need a really small distro for an old puter ("Missy")
  Re: Virtual hosts not working with apacheconf (RH7.1)? (Michael Heiming)
  Re: Compiling QT - doesnt accept custom include directory ("Peter T. Breuer")
  How much is Linux (TM) worth? (Wroot)
  Re: New Server: Hardware under Linux (Robert Heller)
  Re: /dev on vfat partition ("Peter T. Breuer")

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

From: [EMAIL PROTECTED] (Agent Smiths)
Subject: Re: /dev on vfat partition
Date: Thu, 07 Jun 2001 17:14:17 GMT

"Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
>Agent Smiths <[EMAIL PROTECTED]> wrote:
>> RH sucks more resources than windows. I am trying to save
>> disk space. Therefore your loopback solution won't work.
>
>You need about 8MB for a sensible working networked installed system
>(stripped down debian, but you can strip down anything).

No. I want to build desktop. Why would I otherwise bother
with W95? I have 1G of disk, OSes eat up  around 400MB of
it.

Btw, how do you force linux to use umsdos/dmsdos on rootfs
instead of vfat/msdos? It seems to rely on some
autodetection feature.

Also, I don't understand what did you say about /linux
configuration in other post. It isn't in docs and my
experiment failed.

>> Also I don't like commercial distros (due to RH XP).
>
>XP?

experience :)


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

From: [EMAIL PROTECTED] (Agent Smiths)
Subject: Re: /dev on vfat partition
Date: Thu, 07 Jun 2001 17:21:44 GMT

"Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
>Agent Smiths <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] (Agent Smiths) wrote:
>> I tried umsdos. First it uses plain msdos. Second it cannot
>
>What do you mean "plain msdos"?

I can do mount -t umsdos, but I cannot do this on bootup.
Kernel somehow guesses fs of root and it guesses msdos/vfat
rather than umsdos.

>Here are the kernel config options:
>
>   CONFIG_MSDOS=m
>   CONFIG_UMSDOS_FS=m
>   CONFIG_DMSDOS_FS=m
>   CONFIG_UMSDOS_UPON_DMSDOS=y

Mmmm. I am just downloading dmsdos. I tried umsdos
inbetween. From above I see, I will have to recompile. This
is a lot of trouble. Give me time please.

[a bit of flame snipped]
Sorry, I was unclear. I restated my questions in this and
other post.


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

From: Robert Ullman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: New Server: Hardware under Linux
Date: Thu, 07 Jun 2001 15:09:26 -0500

Byron,

Thanks for your input.  I do have a question.
Why is raid/caching pretty pointless if we're
only going to use two drives?

For our application, we cannot afford to lose
data, and we cannot afford to be down for long
if a disk crashes.  I thought RAID 1, using only
2 disks, would be what we need to do.
What would u recommend?

        Robert

Byron Miller wrote:

> My one recommendation, don't spend so much on a raid/caching controller if
> all
> you will use is two drives. Pretty pointless.  And for a server, your not
> going to
> need to worry about video card, monitor or cdrom speed necessarily. Drop
> those
> components to max out on memory.
>
> -byron
>

stuff deleted...



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

From: "Eric Flies" <[EMAIL PROTECTED]>
Subject: bc&linux
Date: Thu, 7 Jun 2001 22:07:50 +0200

hi all,

i am a newby in linux and have some problems
opening some specific ports on my linux server:
my m8 and me speak over battlecom but it is impossible to connect over the
firewall i geuss.
port udp 2300 upto 2400
        tcp 2300 upto  2400
        tcp 47624
        udp 47624
and   udp 28800 upto 28900

some ports have to be open but how i am using mndr 8.0
and have a adsl connection.
ip server 192.168.0.1
winsuck  dhcp 192.168.0.16

thk in advance for the help

Eric Flies

[EMAIL PROTECTED]






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

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Printing margins/alignment
Date: Thu, 7 Jun 2001 15:14:28 -0500

Gavin McCord wrote:

> The page size on my Epson Stylus 500 seems to be off. I'm not entirely
> sure whether it's just the page offset, the margins, or the scale of the
> page.
> 
> I'm using the STP driver with apsfilter and a2ps. I've tried
> the apsfilter test page and it overlaps slightly, printing onto
> two pages. I've calculated offsets using the instructions
> provided and have added them to the /etc/apsfilter/apsfilterrc
> file,  though they don't seem to be making a difference.
> 
> I've also tried the Ghostscript align.ps file, but that only prints
> out as a text file. (Other PS files, I've created with LaTeX print
> out fine, except for the margins being off, the problem I'm
> trying to fix.)
> 
> So, is there anything else I can use to try and fix my page margins/
> alignment, whatever?
> 

You might want to edit /etc/apsfilter/apsfilterrc and change your 
postscript conversion utility from a2ps to enscript.  And make sure that 
/etc/a2ps.cfg and /etc/enscript.cfg have been set for your paper size.


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

Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: rc.local file.
From: Micah Cowan <[EMAIL PROTECTED]>
Date: 07 Jun 2001 13:16:08 -0700

[EMAIL PROTECTED] (Lew Pitcher) writes:

> On 06 Jun 2001 12:58:36 -0700, Micah Cowan <[EMAIL PROTECTED]> wrote:
> 
> >[EMAIL PROTECTED] (Lew Pitcher) writes:
> >
> >> On 06 Jun 2001 18:25:54 +0300, Markku Kolkka
> >> <[EMAIL PROTECTED]> wrote:
> >> 
> >> >"Liverpool_fc" <[EMAIL PROTECTED]> writes:
> >> >> however this file looks like a script. and i need to add a few services/
> >> >> modules that start on boot.
> >> >
> >> >Services are started at boot by scripts in the /etc/rc.d/init.d
> >> >directory and symlinks to those scripts in /etc/rc.d/rc[0-6].d
> >> 
> >> Not on all systems. This is a SysV'ism that only _some_ Linux distros
> >> have adopted.
> >
> >s/_some_/most/
> 
> I'll stick by '_some_ distros', but give you '_most_ commercial
> distros'.
> 
> >At least, AFAICT.  But now I'm curious - what distros /don't/ use
> >SysV's init?
> 
> I didn't say that they didn't use SysV's init. I said that they didn't
> use SysV's phylosophy of organizing the init scripts.

O I C.  That's different - I've seen distros that do that.

Micah

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

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Compiling QT - doesnt accept custom include directory
Date: Thu, 7 Jun 2001 15:20:05 -0500

Peter T. Breuer wrote:

> Anton Suchaneck <[EMAIL PROTECTED]> wrote:
>> Hi there,
> 
>> I need to install QT in the home directory (non root). I downloaded
>> qt-2.2.4 from ftp.troll.no and configured with
>> ./configure -I/usr/src/linux/include
> 
> This is not a valid configure option. Try configure --help !
> 
>> But it still cannot find the headers there (errno.h, limits.h). Why does
>> it
> 
> Where?
> 
>> ignore my argument? Thanks for help.
> 
> Your argument is meaningless. It might be better if it told you instead
> of ignoring it!
> 
> Peter
> 

Take a look in the configs directory.  Edit linux-g++-shared as needed.  
Then back in the QTDIR run ./configure --help in order to view all your 
other options.


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

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Print to a PDF
Date: Thu, 7 Jun 2001 15:22:02 -0500

Sebastien Stormacq wrote:

> Stephen,
> 
> When you have Ghostscript installed, there is a program called ps2pdf
> (just a wrapper in fact around the gs program) that can handle the ps ->
> pdf transformation.
> 
> So, I guess it must be possible to define a PS -> PDF -> file filter in
> the /etc/printcap
> Basically, it is just the setup of a filter that converts the info to
> PDF and then save it to a file.
> 
> I never took the time to do it by myself ... Should anybody have done
> that (or any better solution :-) I am interrested too !
> 
> Thanks
> 
> Seb
> 
> Stephen J. Thompson wrote:
> 
>> Hello all,
>> 
>> Is it possible to set up cups to have a printer definition that will
>> print out to a PDF file?
>> 
>> Thanks.
>> 
>> Stephen.
>> 
>> 
> 
> 

man ps2pdf


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

From: Anton Suchaneck <[EMAIL PROTECTED]>
Subject: Re: Compiling QT - doesnt accept custom include directory
Date: Thu, 7 Jun 2001 21:38:26 +0100

Hi again,

>> I need to install QT in the home directory (non root). I downloaded
>> qt-2.2.4 from ftp.troll.no and configured with
>> ./configure -I/usr/src/linux/include
> This is not a valid configure option. Try configure --help !
Thats what configure is saying:
Usage: ./configure [-debug] [-release] [-shared] [-static] [-gif] [-no-gif] 
\
        [-sm] [-no-sm] [-thread] [-no-thread] [-qt-zlib] [-system-zlib] \
        [-qt-libpng] [-system-libpng] [-no-jpeg] [-system-jpeg] \
        [-no-<module>] [-kde] [-Istring] [-Lstring] [-Rstring] [-lstring]T
...
    -Istring ........... Add an explicit include path.
    -Lstring ........... Add an explicit library path.
    -Rstring ........... Add an explicit dynamic library runtime search 
path.
    -lstring ........... Add an explicit library.
>> But it still cannot find the headers there (errno.h, limits.h). Why does
>> it
> 
> Where?
In /usr/src/linux it should be searching for include/errno.h
> Your argument is meaningless. It might be better if it told you instead
> of ignoring it!
It is telling me about wrong arguments when I use somethings meaningless.
Thanks for help

Bye

Anton



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

From: "Ivo Nikolov" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux.mandrake,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Help with vloopback
Date: Thu, 07 Jun 2001 21:09:11 GMT

Hi all,

I need to create an OVERLAY video source with vloopback so that RealProducer
can use it.

Anyone can give me some help?

Thanks,
Ivo



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

From: "Missy" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,aus.computers.linux
Subject: Re: I need a really small distro for an old puter
Date: Thu, 07 Jun 2001 21:32:54 GMT

I've been given alot of neat stuff to look at..but I bit the dust and bought
2.5 gig hard drive...Debian sounds like the best to go with.


"Missy" <[EMAIL PROTECTED]> wrote in message
news:7mwT6.3189$[EMAIL PROTECTED]...
> I have no idea, maybe? I think someone said they had linux on a
> microchannel....I was wrong about mine being a 56 or 57, it's a 77.
>
> "Wayne Osborn" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > In article <QMgS6.13626$[EMAIL PROTECTED]>,
> > "Missy" <[EMAIL PROTECTED]> wrote:
> >
> > > I have a PS/2 56 or 57 made in 1992 with OS/2 currently on it. I know
> > > nothing about OS/2, nor really want it. I got this puter to put Linux
on
> > > and tinker with it without destroying my parents puter. lol Does
anyone
> > > have suggestions of what distro to put on it? It has a 216MB hard
drive
> > > and 8MB of RAM, a floppy drive, and a 'cd-rom reader with a caddy'
that
> > > I've yet to install. Thanks!
> > >
> > > Missy
> > >
> > >
> > SHeeks, I remeber them.... Does Linux support Microchannel????
> >
> > --
> >   Wayne A. Osborn, SCADA Engineer.[dnar AT iinet DOT net DOT au]
> >   Registered Linux User #212818.  [2.2.16-22-Win4Lin-686] [i686]
> >  10:40pm  up 3 days, 10:54,  2 users,  load average: 2.00, 2.00, 2.00
> >   ...Real Programmers don't eat quiche.  They eat Twinkies and Szechwan
> food.
> >
>
>
>



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

Date: Thu, 07 Jun 2001 23:43:36 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Virtual hosts not working with apacheconf (RH7.1)?

luther wrote:
> 
> I am trying to get apache working correctly with several virtual hosts. I am
> not sure which version of Apache it is, but it installed with RedHat 7.1
> 
> I am using Apache Configuration.
> On the Main tab I have "All available addresses on port 80" - this is fine -
> I want to access the default server if I use 127.0.0.1 etc. etc.
> I have one static IP address available to me so I am using Name-Based
> Virtual hosting.
> On the Virtual Hosts tab I have:
> 
> "Default Virtual Host" - root is /var/www/html/ - Default Virtual Host -
> "Handle all remaining unhandled requests"
> "Domain1" - root is /var/www-domain1/html/ - Named based virtual host
>    IP Address: *
>    Host Name: domain1.com
>    Aliases: www.domain1.com
> "Domain2" - root is /var/www-domain2/html/ - Named based virtual host
>    IP Address: *
>    Host Name: domain2.com
>    Aliases: www.domain2.com
> etc.
> 
> DNS points domain1, domain2, etc., all to the same IP address, which maps to
> this Linux machine.
> 
> If I open a browser on "http://domain2.com"; then I get the correct web page;
> /var/www-domain2/html/index.html
> If I open a browser on "http://domain1.com"; then I get the correct web page;
> /var/www-domain1/html/index.html
> 
> However...
> if I open a browser on ANY OTHER PAGE, such as:
> http://127.0.0.1/
> http://192.168.2.15/ (LAN ip)
How should apache know which vhost you want to see?

> http://www.domain2.com
> etc.,
> then I always get /var/www-domain1/html/index.html, although I expect
> /var/www/html/index.html for the first two and
> /var/www-domain2/html/index.html for the third one.
> 
> So I have two problems.
> 1) The ServerAlias directives are NOT showing up in the apache configuration
> file (I checked /etc/httpd/conf/httpd.conf and didn't see them there,
> although that is where the virtual hosts are defined. The file has a warning
> to modify it as apacheconf will overwrite it, but apacheconf ain't doin' its
> job!) This appear to be a BUG, to me.
> 2) The defaults are not working the way I expected. It seems that everything
> falls to DOMAIN1 when it should fall to the DEFAULT. Is that a problem with
> the options I chose, or a problem with apacheconf?
> 
> How can I resolve these two issues? Thanks in advance..

Forget about the "configtool", vi, a good book about apache, the docs
that
come with apache and the man pages 'apropos apache' shows, should be all
needed.

Good luck

Michael Heiming

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Compiling QT - doesnt accept custom include directory
Date: Thu, 07 Jun 2001 21:39:40 GMT

Anton Suchaneck <[EMAIL PROTECTED]> wrote:
> Hi again,

>>> I need to install QT in the home directory (non root). I downloaded
>>> qt-2.2.4 from ftp.troll.no and configured with
>>> ./configure -I/usr/src/linux/include
>> This is not a valid configure option. Try configure --help !
> Thats what configure is saying:
> Usage: ./configure [-debug] [-release] [-shared] [-static] [-gif] [-no-gif] 

If it says that, then it is NOT a standard configure script.

> \
>         [-sm] [-no-sm] [-thread] [-no-thread] [-qt-zlib] [-system-zlib] \
>         [-qt-libpng] [-system-libpng] [-no-jpeg] [-system-jpeg] \
>         [-no-<module>] [-kde] [-Istring] [-Lstring] [-Rstring] [-lstring]T
> ...
>     -Istring ........... Add an explicit include path.

Yes, OK, apparently yes. This is a nonstandard configure script that
accepts nonstandard arguments. It is not generated by autoconf. But
your include path in itself is nonsense: you do NOT want to include
kernel headers in a userspace compilation.

>     -Lstring ........... Add an explicit library path.
>     -Rstring ........... Add an explicit dynamic library runtime search 
> path.
>     -lstring ........... Add an explicit library.
>>> But it still cannot find the headers there (errno.h, limits.h). Why does
>>> it
>> 
>> Where?
> In /usr/src/linux it should be searching for include/errno.h
>> Your argument is meaningless. It might be better if it told you instead
>> of ignoring it!
> It is telling me about wrong arguments when I use somethings meaningless.
> Thanks for help

??

errno.h and limits.h are in your standard include path. They're in
/usr/include:

   barney:/usr/oboe/ptb/tex/general% locate /limits.h
   /usr/include/limits.h
   /usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/include/limits.h
   ....


   barney:/usr/oboe/ptb/tex/general% locate /errno.h
   /usr/include/bits/errno.h
   /usr/include/errno.h
   /usr/include/sys/errno.h
   ...

and if you don't have them then you have a messed up installation of
the C headers and you can't compile any C code, let alone libqt.

Peter

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

From: [EMAIL PROTECTED] (Wroot)
Subject: How much is Linux (TM) worth?
Date: 7 Jun 2001 14:51:55 -0700

I wonder how much Microsoft would pay Linus to buy the Linux trademark 
(they can't buy all the code that was written under GPLs, but they can
buy the trademark, can't they?)

Wroot

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

From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: New Server: Hardware under Linux
Date: 7 Jun 2001 22:04:35 GMT

  Robert Ullman <[EMAIL PROTECTED]>,
  In a message on Thu, 07 Jun 2001 15:09:26 -0500, wrote :

RU> Byron,
RU> 
RU> Thanks for your input.  I do have a question.
RU> Why is raid/caching pretty pointless if we're
RU> only going to use two drives?

With only two drives, only RAID 1 makes sense -- disk drives are large
enough / fast enough that appending or striping will buy little. 
*Mirroring* (RAID 1) does make sense, but this is a fairly 'light duty'
level of RAID.  The fancy (more $$$) RAID controllers are not needed for
just RAID 1 -- most of the features of the more costly RAID controllers
relating to striping (I/O spread over several (many) disks) or
high-speed parity (n+1 disks) and handling things like sparesets -- you
include in your raid array and *extra* disk, that is not part of any
RAID set.  If one of the other disks dies, the RAID controller can
re-create the 'lost' data bits (using the parity disk) on the 'spare'
disk and re-create the raid set using the spare disk and take the 'bad'
disk off line.  With hot-swappable disks, the bad disk can be swapped
*while everything is up and running*.  All of the extra capability costs,
but with only two disks, it is a waste of money...

I think this is what Byron means.

RU> 
RU> For our application, we cannot afford to lose
RU> data, and we cannot afford to be down for long
RU> if a disk crashes.  I thought RAID 1, using only
RU> 2 disks, would be what we need to do.
RU> What would u recommend?
RU> 
RU>         Robert
RU> 
RU> Byron Miller wrote:
RU> 
RU> > My one recommendation, don't spend so much on a raid/caching controller if
RU> > all
RU> > you will use is two drives. Pretty pointless.  And for a server, your not
RU> > going to
RU> > need to worry about video card, monitor or cdrom speed necessarily. Drop
RU> > those
RU> > components to max out on memory.
RU> >
RU> > -byron
RU> >
RU> 
RU> stuff deleted...
RU> 
RU> 
RU>                                                                






                       
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: /dev on vfat partition
Date: Thu, 7 Jun 2001 23:58:39 +0200

Agent Smiths <[EMAIL PROTECTED]> wrote:
> "Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
>>Agent Smiths <[EMAIL PROTECTED]> wrote:
>>> [EMAIL PROTECTED] (Agent Smiths) wrote:
>>> I tried umsdos. First it uses plain msdos. Second it cannot
>>
>>What do you mean "plain msdos"?

> I can do mount -t umsdos, but I cannot do this on bootup.

Your root partition must be umsdos, which is to say, vfat (msdos).
The kernel should then (historically has) looked for a umsdos
directory called \linux which contains recognizable structures.

I do not know if the current kernel code is working for that feature.
Ask the author.

> Kernel somehow guesses fs of root and it guesses msdos/vfat
> rather than umsdos.

Peter

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


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

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