Linux-Misc Digest #168, Volume #25               Tue, 18 Jul 00 12:13:04 EDT

Contents:
  Re: logging DNS/web access ("Peter T. Breuer")
  Re: Are there substantially more/less RPMs for RH or SuSE? ("Peter T. Breuer")
  Re: memory allocator for specified areas (Conor Williams)
  Re: Just a Few Kwestionz.....(long) (N/A)
  Re: NFS (Dances With Crows)
  Re: How to install soundcard? ("Adam")
  Re: screensaver or similar generating problem ("Simon")
  Re: Linux Friendly DSL ISPs (Hal Burgiss)
  Re: Defraging against LILO? ("Peter T. Breuer")
  Modprobe runs all the time (Jessica Miller)
  Compatable NVIDIA Card for linux?
  Re: Voice Recording (Vilmos Soti)
  Re: Linux Friendly DSL ISPs (Hal Burgiss)

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: logging DNS/web access
Date: 18 Jul 2000 15:06:35 GMT

blowfish <[EMAIL PROTECTED]> wrote:
: "Peter T. Breuer" wrote:
:> Shawn Button <[EMAIL PROTECTED]> wrote:
:> : does anyone know how to log web page requests from internal clients?
:> : Upper management wants a running log of what pages are requested from
:> : our clinet machines. Redhat 6.1 is our gateway/NAT machine. Any advice
:> Pass all requests through squid as a proxy and look at the graphs
:> generated (if I understand you correctly ...  it's not clear if you're
:> asking about accesses to your server or to other servers).
: I *don't* think you can get an accurate figure from Squids. Squids is a
: caching proxy, therefore , pages are send out from cache, and not the
: actual hit on the httpd.

But what he wants is the number of requests, not the number of httpd
hits. I'm still not sure whether he wants to log outsiders calling in,
or insiders calling out, though.

: You *can* actually shut down your back end server if you have a large
: enough cache in Squids, and all of the pages have been requested before,


Peter

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Are there substantially more/less RPMs for RH or SuSE?
Date: 18 Jul 2000 15:08:26 GMT

aflinsch <[EMAIL PROTECTED]> wrote:
: blowfish wrote:

:> 
:> If compiled from source yourself. It doesn't matter if it's for i286 or
:> i100,000,086. It's configured *exactly* to *your* machine.
: I agree with you on the compile from source, but that looses whatever
: advantages that rpm has (notably the ease of finding exactly what is
: installed on the system).
: Personally I prefer rebuilding rpms from a src rpm, then installing.
: that gives me the advantages of both worlds.

Start adding a list of what you've installed in /var/log/packages/ ...

:-)

Peter

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

From: Conor Williams <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.programmer,comp.unix.solaris,comp.os.vxworks
Subject: Re: memory allocator for specified areas
Date: Tue, 18 Jul 2000 16:25:35 +0000


==============CDF0E8E2636642BB77541517
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Roy Gordon wrote:

> Is there a (thread safe) memory allocator for Unix that operates on a
> specified area of memory?
>
> We need one for allocating/deallocating arbitrary chunks from shared
> memory segments at well known addresses.
>
> Typically for these kinds of things, you create and area providing a
> starting address and size, and it returns a handle to that area.  Then,
> that handle is an additional parameter to its analogues to malloc, free,
> etc.
>
> The vxWorks memPartLib library does exactly this, but I've not been able
> to find anything like it on Unix using the man pages and apropos.
>
> -- Roy

have you looked at shmget and shmat (on Solaris & Linux)
Conor


--
 -----------------------------------------------------------------------
          (,_    ,_,    _,)     |  Conor Williams
          /�\`-._( )_.-'/�\     |
         / � \`-'/ \'-`/ � \    |
        /__�.-'`-\_/-`'-.�__\   |  Email: [EMAIL PROTECTED]
 -----------------------------------------------------------------------



==============CDF0E8E2636642BB77541517
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Roy Gordon wrote:
<blockquote TYPE=CITE>Is there a (thread safe) memory allocator for Unix
that operates on a
<br>specified area of memory?
<p>We need one for allocating/deallocating arbitrary chunks from shared
<br>memory segments at well known addresses.
<p>Typically for these kinds of things, you create and area providing a
<br>starting address and size, and it returns a handle to that area.&nbsp;
Then,
<br>that handle is an additional parameter to its analogues to malloc,
free,
<br>etc.
<p>The vxWorks memPartLib library does exactly this, but I've not been
able
<br>to find anything like it on Unix using the man pages and apropos.
<p>-- Roy</blockquote>
have you looked at shmget and shmat (on Solaris&nbsp;&amp; Linux)
<br>Conor
<br>&nbsp;
<pre>--&nbsp;
&nbsp;-----------------------------------------------------------------------
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (,_&nbsp;&nbsp;&nbsp; 
,_,&nbsp;&nbsp;&nbsp; _,)&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; Conor Williams
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&Yacute;\`-._( 
)_.-'/&Yacute;\&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; / &Yacute; \`-'/ \'-`/ &Yacute; 
\&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
/__&Yacute;.-'`-\_/-`'-.&Yacute;__\&nbsp;&nbsp; |&nbsp; Email: [EMAIL PROTECTED]&nbsp;
&nbsp;-----------------------------------------------------------------------</pre>
&nbsp;</html>

==============CDF0E8E2636642BB77541517==


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

From: N/A <[EMAIL PROTECTED]>
Subject: Re: Just a Few Kwestionz.....(long)
Date: Tue, 18 Jul 2000 15:30:04 GMT


joseph wrote:
> 
> 
> 
> N/A <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > i have a few questions about Corel Linux Delux if you could answere 
them
> > maybe:
> >
> >
> > 1) how do i change that virtual desktop stuff so i can see my whole
> > desktop display in one screen?
> 
> 
>     If the resolution you are seeing is 1024x68,
>     put
> 
>     virtual 1024 768
> 
> 
>     in the section that specifies the modes and color depth. They are
> probably at the  bottom of the XF86Config file, which would be 
in /etc/X11
> or in the X11 install directory.
> 
> You can cycle through the screen resolutions with
> ctrl+alt+ kp_plus
>              + kp_minus
> 
> I am not sure if the alt is needed but you can give it a try.
> 
> 
> 
> > 2) what does xvidtune do and how can i run it?
> 
> That allows you to control the monitor.
> You can move the screen around, shrink or expand it, ( both x and y) , 
and
> it will also print out the mode line that you need to put into the
> XF86Config file to get that particular mode.
> But it will work off of the existing modes defined in the file.
> If you want to peg the vert. refresh at 85 hz ( or any other) , then read
> the docs that's in X's doc directory for how to set up a mode line.
> Build a mode line with your desired refresh rate, and some sane values 
for
> the other columns. Then get into X, open a terminal and type xvidtune. 
Now
> move the screen around and reshape it till you like it.There should be a
> button saying something about mode line. Press that, and the line 
matching
> the current mode will show up on the x-term window. Make sure you copy it
> down.
> Exit from X, ( if all else fails ctrl+alt+bksp will kill it imedeately.)
> and then edit XF86Config's section where the different resolutions are
> setup, and putin the mode line with some unique string. 
Even "My85Hzsetting
> " is fine, so long as you put the same string into the display section.
> 
> Add the resolution at the begining because when X comes up, it uses the
> first resolution by default, but you can change that.
> 
> By default you are at 8bpp, 640x480
> There are ways to change this but it's in the X or XF86Config man page.
> 
> 
> 
> 
> > 3) when running XF86Setup how do i apply the changes or does it do it
> > automitically?
> From what I have seen, you have to quit and restart the XServer.
> 
> > 4) how can 'virtual' help me?
> 
> I have no idea but here's what I do:
> 
> on screen 1, gnotepad is open to the file I'm messing with. on the same
> screen I have a xterm with gcc. There's another xterm for launching the 
app.
> There's a netscape window for reading the online docs.
> with 1600x1200, I use a 1024x768 screen. I move over to netscape to read
> things.
> Then I move back to the editor. And then to the consoles.
> 
> On screen 2 I have winamp playing something,
> On  screen 4 I have  mail and news clients running.
> 
> 
> 
> > 5) are there any linux commands that would be helpful?
> 
> ls -al
> lists all in long format
> 
> ls -al | grep ^d
> Get a listing of all directories.
> 
> vi - very useful editor- simple, quick and the only one I use . Comes in
> very handy when you type "linux single" at the lilo prompt to try to 
repair
> someething that is preventing a normal boot up.
> 
> 
> > thanx so much.
> 
> Not so fast.
> 
> If you are going to be messing around with X's config then do yourself a
> favour and set up to boot in to the text mode .
> to set linux to boot into the text mode ( run level 3 ),
> you could try typing "init 3" in an xterm.There is an init file it could 
be
> inittab or something like that.
> The file will have detailed instructions on changing the run level.
> 
> run level 3 is text mode
> 
> 5 is XWindows.
> 
> I think 6 is reboot :)
> 
> 
> Once logged in, type startx to start the xserver.
> when you exit X, type log out at the command prompt.
> 
> 
> 
> 
> 
> between 5  & 3 the only difference is the UI mode.
> 
> 
> Before messing with the system, get familiar with the command line. and 
Get
> a handle on vi.
> 
> Simple commands  ( note the case of the letter):
> "i" - insert at current pos.
> "A" - append to end of line.
> 
> r- replace the character the cursor is standing on.
> R- start replacing from the current character onwards.
> 
> When you are typing, you are in "edit" mode. to go back to command mode
>  where you can scroll around, delete lines etc.. ) hit esc. If it beeps, 
it
> means it is already in command mode.
> 
> movement keys - usually the arrow keys are already mapped. but just in 
case
> :
> 
>     k                              up
> h        l                    left     right
>      j                              down
> 
> 
> to save :
> go to command mode, ( always)
> type ":w" and enter
> that's colon-q
> 
> to write and quit
> :wq
> 
> This next one is very important!!
> to exit without writing the changes you have made
> ":q!" - that's an exclamation mark
> 
> 
> it's been some time since I messed with X's configuration .
> Set aside a few hours to mess with xvidtune. And backup the old config 
file.
> 
> 
> 
> Good luck.
> 
> 
> > Posted via CNET Help.com
> > http://www.help.com/
> 
> thank u for taking the time to answere these questions, the anweres were 
definetly found helpful.


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

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: NFS
Date: 18 Jul 2000 15:36:11 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 18 Jul 2000 10:59:40 -0700, sylvain hutchison 
<[EMAIL PROTECTED]> wrote:
>Hi, I'm using Red Hat 6.1 at work, and I need to know where Automounter
>and NFS or YP are mounted,

Huh?  You can mount an NFS volume anywhere you want.  You need NFS
filesystem support compiled into the kernel or as a module--the stock RH
kernel should have those things available.  Then all you need to do is:

mount -t nfs servername:/path/to/directory /local/mount/point

If you're trying to make your machine an NFS/YP server, you have to set
a couple of programs going.  RedHat's administration tool (Linuxconf?)
can set this up for you; you must have the NFS server and the portmapper
started at boot time, and you need to edit /etc/exports to allow your
server to export directories to other machines.

A lot of detailed info is available at the following URLs:
http://linuxdoc.org/HOWTO/NFS-HOWTO.html
http://linuxdoc.org/HOWTO/NIS-HOWTO.html

-- 
Matt G|There is no Darkness in eternity/But only Light too dim for us to see
"We should have a policy against using personal resources for company
business."  "The Company didn't pay for these pants, so I'm taking them
off at the door!"  --J. Moore and A. DeBoer, the Monastery



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

From: "Adam" <[EMAIL PROTECTED]>
Subject: Re: How to install soundcard?
Date: Tue, 18 Jul 2000 11:55:04 -0400

In redhat, you can also type in:

setup

and you'll get several choices - one is the sound configurator (that way you
don't have to go down thru the list: soundconfg, sndcnfg, sndconfig... ;-)

Also, make sure the driver is built into your kernel or as a module...
--

Adam
http://www.chainsawlinux.com
http://guidetocomputers.org

Imagine, your whole life hasn't even happened yet.




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

From: "Simon" <[EMAIL PROTECTED]>
Subject: Re: screensaver or similar generating problem
Date: Tue, 18 Jul 2000 16:40:30 +0100

Is there APM in the BIOS????  If so disable it..

Simon

"Fernando" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have no mouse.  This is an "embebed" machine.
>
> Dmitri V wrote:
>
> > Well, have you tried connecting mouse and moving it a little bit?
> >
> > HTH
> >
> > Dmitri
>
>
>
> --
> These are my personal opinions.
> Email: sanabriaf at yahoo dot com
>
>



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

From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: Linux Friendly DSL ISPs
Reply-To: [EMAIL PROTECTED]
Date: Tue, 18 Jul 2000 15:38:15 GMT

On Tue, 18 Jul 2000 10:53:43 -0500, Jan Schaumann
<[EMAIL PROTECTED]> wrote:
>
>check out http://www.speakeasy.net (or .org)
>I have 4 Static IP's,
>run my own http-,mail- and nameserver,
>have a tiny little LAN,
>unlimited bandwidth,
>am allowed to run whatever I want (gnutella,napster,game-server,chat-client etc)

Thanks! Already had several good reports about them. Quality is another
issue, and they seem to keep people happy.

-- 
Hal B
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
--

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Defraging against LILO?
Date: 18 Jul 2000 15:38:09 GMT

In comp.os.linux.misc Unai Garro <[EMAIL PROTECTED]> wrote:
: But it does not seem to be only that. The partition table seems to be
: damaged too. Should that recover it also?

How do you know, and what do you mean by "damaged"? Is it consistent?
If so, it's undameged but possibly has been changed. At any rate, check
it out after booting from a rescue diskette or the cd. If booting
from diskette you'll need a rescue root diskette as well as the rescue
boot diskette ... if your system is weirded, that is, and you're not
using a one-diskette rescue system ... 

(until you start giving details, as in literal error messages and 
configuration printouts, you will continue to receive only the vaguest
of replies!)

: "Peter T. Breuer" wrote:
:> In comp.os.linux.misc Unai Garro <[EMAIL PROTECTED]> wrote:
:> : I had installed both Linux Mandrake 7.0 and the Win98 on the same hard
:> : disk, when I decided to defragment the disk under Windoze. I thought
:> : that this should not be a problem, because Windows was not able to 'see'
:> : the Linux partitions. It has however destroyed the LILO, so it is not
:> : possible to boot up neither Linux nor Windoze.
:> 
:> Well, so what? Put it back. Get out your rescue diskette or
:> installation cd and boot from that, and put lilo back on the MBR
:> once booted.

Peter

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

From: Jessica Miller <[EMAIL PROTECTED]>
Subject: Modprobe runs all the time
Date: Tue, 18 Jul 2000 11:03:18 -0500
Reply-To: [EMAIL PROTECTED]

Is it necessary for Modprobe to run constantly?  This a.m. I had 4
instances of it and they're using a LOT of processor time.  It seems
modprobe is using any spare processor time but it goes down when
something else starts.

I killed it a few days ago but last night it restarted.  What is
starting it and does it need to run?  If not, how can I stop it?  Maybe
it's not hurting anything but it doesn't look right to have it running
all the time and using up all that processor time.

Tnx,
Kerry

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

From: <[EMAIL PROTECTED]>
Subject: Compatable NVIDIA Card for linux?
Date: Tue, 18 Jul 2000 12:05:25 -0400

Hello,
I've got a computer with win98 , linux and w2k on it, and would like to
upgrade the VC.
Currently I have a G200 with 2 V2's, which are showing signs of age :
1024x768 begining to look like jerky in Klingon Academy.
The processor is a AMD TBird @700, and memory is 128M

My problem : Most of the Cards out there are quite new ( GeForce MX, ATI
Radeon etc...) and I am not sure if they'll work with X.
So of the following does any one have any info on compatability with linux
and the XServers?
I do not play games on linux, only on win98, so the 3D support in linux is
not an issue.

GeForce MX,
ATI Radeon
Voodoo 5
Your suggestions welcome . :)

The G200 has been a breeze to set up and I have been using it ever since ,
without problems, upgrades or any worries. It's perfect for Linux, but with
a 700 mhz processor, both it and the V2's may be well beyond their limit.

The funny part is , the Quake 2 in software mode and 3d accelerated mode are
different only in the visuals .   Game play is smooth as ever even at
1024x768.  :)
But  I don't play Q2. I used it to make sure the glide drivers were working,
and then left it on overnight for a burn in .

So I would like to upgrade, but not at the cost of loosing Linux
functionality.


???
TIA

joseph









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

Crossposted-To: alt.os.linux
Subject: Re: Voice Recording
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Tue, 18 Jul 2000 16:08:10 GMT

[EMAIL PROTECTED] writes:

> How do I record my voice (from the microphone) to wav or, better yet,
> mp3? (My system is RH6.2)

Just do a

cat /dev/audio > soundfile

and then you can convert your soundfile to anything you want.

Vilmos

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

From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: Linux Friendly DSL ISPs
Reply-To: [EMAIL PROTECTED]
Date: Tue, 18 Jul 2000 16:09:40 GMT

On Tue, 18 Jul 2000 15:38:15 GMT, Hal Burgiss <[EMAIL PROTECTED]> wrote:
>On Tue, 18 Jul 2000 10:53:43 -0500, Jan Schaumann
><[EMAIL PROTECTED]> wrote:
>>
>>check out http://www.speakeasy.net (or .org)
>>I have 4 Static IP's,
>>run my own http-,mail- and nameserver,
>>have a tiny little LAN,
>>unlimited bandwidth,
>>am allowed to run whatever I want (gnutella,napster,game-server,chat-client etc)
>
>Thanks! Already had several good reports about them. Quality is another
>issue, and they seem to keep people happy.

PS -- I've got a short list started:

 http://feenix.eyep.net/dsl/linux_dsl.html


-- 
Hal B
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [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