Linux-Misc Digest #852, Volume #27               Mon, 14 May 01 04:13:02 EDT

Contents:
  Re: Linux in college & high school ("Bobby D. Bryant")
  Re: Linux in college & high school (Craig Kelley)
  Re: Guid generator for unix. ([EMAIL PROTECTED])
  How to auto start xscreensaver daemon when X & Window Maker starts ? ("ThanhVu 
Nguyen")
  Re: No DNS with DHCP sometimes ("grendel")
  Re: No DNS with DHCP sometimes (Dean Thompson)
  Re: No sound; Something wrong with mixer. Help ("grendel")
  Re: configuring sound on debian stable (wroot)
  date/year change on Linux ("Waldermar")
  Re: memory and swaps. ("Norm")
  Re: how to change the resolution of the command prompt when startinf Linux ? ("Norm")
  Re: fdisk without restart (Juergen Pfann)
  memory usage ("Wong Ching Kuen Frederick")
  Re: Problem compiling Ed-0.2 ("Peet Grobler")
  Re: Configuring CDRW & RH 7.1 ("ThanhVu Nguyen")
  Re: memory usage (nordi)
  Re: Odd Lilo Dual-Boot Behavior ("Eric")
  Re: memory usage ("Peet Grobler")
  Re: Catch-22 on Red Hat 7.0+update rpms install ("Anthony DeRobertis")

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

From: "Bobby D. Bryant" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Linux in college & high school
Date: Sun, 13 May 2001 22:32:05 +0600

Dave Martel wrote:

> Or at least a smiley. Without the necessary voice cues, sarcasm just
> doesn't come across well in text.

Without the necessary voice cues, everything appears to be marked with implicit
<flamebait></flamebait> tags.

Bobby Bryant
Austin, Texas



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

From: Craig Kelley <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Linux in college & high school
Date: 13 May 2001 22:53:54 -0600

somebody <[EMAIL PROTECTED]> writes:

> Craig Kelley <[EMAIL PROTECTED]> stands accused of saying:
> 
> >Well, MacOS X is simply Apple's version of Linux.
> 
> is freebsd simply freebsd's version of Linux?

Sure!  And Linux is Linus' (et all) version of freebsd.

The point is:  they all work together and they're all open.  Microsoft
is pretty much the only closed/secret shop left.

-- 
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley  -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block

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

From: [EMAIL PROTECTED]
Subject: Re: Guid generator for unix.
Crossposted-To: comp.os.linux.development.system
Date: Mon, 14 May 2001 05:00:02 GMT

[EMAIL PROTECTED] (Nick Andrew) writes:
> Chronos Tachyon <[EMAIL PROTECTED]> writes:
> 
> >On Wed 09 May 2001 03:03, Sujeet Kharkar wrote:
> >> Do any one knows of any utility for unix which is equivalent of guidgen on
> >> windows ?
> 
> 
> >You can do something similar with the following quick perl script.  If you 
> >want an actual GUID (complete with brackets and dashes), you'll need to 
> >alter the program somewhat.
> 
> >--- cut ---
> >#!/usr/bin/perl
> 
> >open(RND,"/dev/urandom");
> >read(RND,$guid,8);
> >close(RND);
> >print unpack("H*",$guid), "\n";
> >--- cut ---

> ... merely reduces the chance of collision, and does not eliminate
> it.  I thought GUIDs were supposed to be nominally globally unique,
> not just show low chance of collision.

> I'd suggest adding to the 8 random bytes, the FQDN of the local host
> and return values from time() and getpid().

Better than that, the FQDN _ought_ to be replaced by the MAC address
of one's Ethernet card; that is supposed to be "nominally globally
unique" in and of itself.

There's a program "uuidgen" that allows taking _either_ approach,
whilst using the formal DCE format.
-- 
(reverse (concatenate 'string "ac.notelrac.teneerf@" "454aa"))
http://www.ntlug.org/~cbbrowne/resume.html
I just got skylights put in my place. The people who live above me are
furious.

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

From: "ThanhVu Nguyen" <[EMAIL PROTECTED]>
Subject: How to auto start xscreensaver daemon when X & Window Maker starts ?
Date: Mon, 14 May 2001 01:01:26 -0400

Hi,

When I used Gnome,  the xscreensaver daemon was invoked
automatically.  I just recently changed to WM, and would like to have it
starts auto as with Gnome.  I try to append the command
exec xscreensaver &  in .XClients-defaults but that doesn't start the
problem.  What do I have to do for it to auto in WM. 

Thanks for all inputs.

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

From: "grendel" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,alt.os.linux.suse,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: No DNS with DHCP sometimes
Date: Mon, 14 May 2001 04:48:15 GMT

I'm a DHCP client not server. I always boot to runlevel 2. Anyway it's
inconsistent. I always will get an IP address so that part of the DHCP
request works perfect. However the other info doesn't always get returned.

"Dean Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Hi!,
>
> > SuSE 7.0 (2.2.16)
> >
> > At home I run Linux connected to my ISP getting an IP from them via
DHCP.
> > Sometimes it works great and when I look in the resolv.conf there is my
DNS
> > server, search and domain all gotten via DHCP (not in rc.config).
However
> > sometimes when I've booted I'll start X or something and go to browse
and I
> > can't get anywhere. I can ping an IP address but no name resolution.
When I
> > look in resolv.conf there is nothing but the domain that I put in
rc.config
> > at install. Therefore the ISP info wasn't written for some reason. Any
> > ideas? Thanks in advance.
>
> Sounds like something like the DHCP server is linked to start at RunLevel
3
> but may not be executed when the system is booting into run level 5 which
is X
> windows.  Check the links which are executed at the various run levels and
> make sure that you are starting your dhcp server/client at runlevel 5 as
well.
>
> 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: 
alt.os.linux,alt.os.linux.suse,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: No DNS with DHCP sometimes
Date: Mon, 14 May 2001 15:06:14 +1000


Hi!,

> I'm a DHCP client not server. I always boot to runlevel 2. Anyway it's
> inconsistent. I always will get an IP address so that part of the DHCP
> request works perfect. However the other info doesn't always get returned.

Hmm, well that is strange.  You might like to check to see whether or not
there is a later version of your dhcp client program.  It seems strange that
you get the data some of the time and not at other times.

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: "grendel" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,alt.os.linux,alt.os.linux.suse,comp.os.linux.setup,creative.products.sound_blaster.live
Subject: Re: No sound; Something wrong with mixer. Help
Date: Mon, 14 May 2001 04:52:21 GMT

I tryed this and for the mixer anda  couple other things it said NO CONFIG
or something like that. The card however showed fine. Anyway I went into X
and moved the volume up for everything with one of the other mixers and
sound is fine. However access to the mixer by amixer is unsuccessful. I will
always get this message no matter what I do with utils like amixer,
alsamixer or even alsactl when I try to use the alsactl -store option. I
need this ro create an asound.conf which does not exist on my system because
alsaconf cannot create it.


"Dave Uhring" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> grendel wrote:
>
> >
> > I have a soundblaster live value and have followed the directions in the
> > article in the SuSE sdb called "ALSA update for SuSE SuSE 6.4/7.0/7.1
and
> > do not have sound. After the alsa update my card was recognized by
> > alsaconfig. However when it trys to adjust the volumes and change the
> > mixer it fails. No asound.conf is created. Here are the error messages.
I
> > have verified that the sound drivers are loaded. They even say this
using
> > "alsasound status".
> >
> > "Could not initialize..."
> >
> > "No mixer config in the /etc/asounf.conf. You have to unmute your card.
> > Mixer 0/0 'open error."
> >
> >
> >
> > I've even tryed manually unmuting the mixer and even accessing it via
> > amixer but I always get the message about the "Mixer 0/0 ' open error.
> > Even when I try different device names this happens. Thanks.
> >
> >
> >
>
> # cat /proc/asound/sndstat
> # lsmod
>



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

From: wroot <[EMAIL PROTECTED]>
Subject: Re: configuring sound on debian stable
Date: Mon, 14 May 2001 01:15:39 -0400

Peter T. Breuer wrote:

> The kernel driver probably does work but the alsa drivers are clearly
> miles superior.  

So I'm trying this with alsa drivers now and I get the same error.

> So if you have problems with the kernel driver, that
> would be your first, painless, option.  Anyway, you have presented no
> data, so for all I know you are spelling the driver name wrong ...
> what are these "lines" that you have added, and what does the resulting
> modules.conf look like, and what is the result of loading the cs4232
> module (with modprobe, show dmesg output)?

$ modprobe snd 
$ modprobe snd-card-cs4232 snd_port=0x534 snd_irq=5 
(same IO & IRQ as with Redhat)
ERROR:
/lib/modules/2.2.19/misc/snd-card-cs4232.o: init_module: Device or resource 
busy
Hint: this error can be caused by incorrect module parameters, including 
invalid IO or IRQ parameters

$ dmesg
isapnp: Card 'LT Win Modem'
isapnp: Card 'Onboard PnP Audio'
isapnp: 2 Plug & Play cards detected total
snd: isapnp detection failed and probing for CS4232 is not supported
snd: CS4232 soundcard #1 not found at 0x534 or device busy
snd: CS4232 soundcard #2 not found or device busy

Thanks

Wroot

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

From: "Waldermar" <[EMAIL PROTECTED]>
Subject: date/year change on Linux
Date: Mon, 14 May 2001 05:34:49 GMT

Hi all,

I know I can use date to change time/date, but I couldn't
find a way to only update the year part... Each time I
change time I need to put complete string for the
time/date. Is there a way to do it?

Thanks,
--V.

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

From: "Norm" <[EMAIL PROTECTED]>
Subject: Re: memory and swaps.
Date: Sun, 13 May 2001 22:35:50 -0700


"Joel" <[EMAIL PROTECTED]> wrote in message 
news:9dnirk$si2$[EMAIL PROTECTED]...
> Hi.  I was wondering if there is a way to have certain processes (such as
> the automount service, and some others) to use only the virtual memory,
> instead of using the physicle memory.  I only have 32 megs of ram and it's
> always completely used up, so then the programs I load later have to use the
> swap drive, and they run slower.  I want the X windows system to run on the
> physicle memory, and the servers (that aren't used much) such as telnet,
> ftp, automount, etc. to be loaded in the swap.  Do you understand what I'm
> saying?  If there is such a way to specify what memory and program should
> use, I'd like to know.  BTW, I'm using RedHat 7.1.
> Thanks in advance.

First, the CPU has to execute the code and read the data out of the
physical RAM, so if Linux could try hard to swap a "low-priority"
process out to disk I think it would result in excessive, maybe
constant disk usage.

Anyway, I think your concept of what is happening is backwards.  When
you start X after starting other programs, the other programs are
moved out to swap if room is needed for X.  The other programs may be
loaded at lower virtual addresses, but the higher virtual addresses
where X is loaded afterwards will be the ones in RAM.

The swapping is occurring because either the first-loaded programs are
actually being executed by the CPU (and again, have to be pulled into
RAM - which means the Xwindows stuff has to be swapped out, and in
again when X is used) or because X needs to swap some of itself or
executing X applications to have enough room.
--
Norm (Supernews inserting their name in the "Organization" header does
not indicate any endorsement of their service by myself)





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

From: "Norm" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,alt.os.linux.mandrake
Subject: Re: how to change the resolution of the command prompt when startinf Linux ?
Date: Sun, 13 May 2001 23:08:32 -0700


"Yves Leung-Tack" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]...
> Hi,
>
>
>    I have Mandrake 7.2 and I use the command prompt startup (Bash)
> (X has to be start manually with).
> I'd like to use a higher resolution for that command prompt ex:1024x768
>
> Can someone point me out how to achieve that ?
>
> Thanks a lot ..!!!

Instructions can be found in the kernel documentation, in the
svga.txt file in the linux source tree, usually located at
usr/src/linux/Documentation/svga.txt:

[snippet begins]
   The video mode to be used is selected by a kernel parameter which can be
specified in the kernel Makefile (the SVGA_MODE=... line) or by the "vga=..."
option of LILO (or some other boot loader you use) or by the "vidmode" utility
(present in standard Linux utility packages). You can use the following values
of this parameter:
[snippet ends - see the file itself]
--
Norm



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

From: Juergen Pfann <[EMAIL PROTECTED]>
Subject: Re: fdisk without restart
Date: Mon, 14 May 2001 07:58:05 +0200

Lucius Chiaraviglio wrote:
> 
> "Lutz Lehmann" <[EMAIL PROTECTED]> wrote:
> >                [. . .] There's NO WAY to modify the partition table of the
> >root disk without rebooting
> 
>         Why -- is Windows NT/2000 doing something more risky than normal for
> Windows :-) by modifying the partition table in Disk Administrator/Disk
> Management without rebooting?
> 

With those systems, there also are conditions that require rebooting - 
for instance some (not all I admit) drive letter changes. 

SCNR 

Juergen

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

From: "Wong Ching Kuen Frederick" <[EMAIL PROTECTED]>
Subject: memory usage
Date: Mon, 14 May 2001 14:34:38 +0800

using top, i get the following memory usage?! can anyone tell me what is the
diff between used, free, shrd, buff and cached?! how can i know when i
should add more memory to my system?! many thanks.

  2:18pm  up 10 days,  3:03,  1 user,  load average: 0.10, 0.04, 0.01
47 processes: 46 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  0.9% user,  0.4% system,  0.0% nice,  0.4% idle
Mem:   126596K av,  124668K used,    1928K free,       0K shrd,     964K
buff
Swap:   72284K av,    9984K used,   62300K free                   81380K
cached



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

From: "Peet Grobler" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: Problem compiling Ed-0.2
Date: Mon, 14 May 2001 08:50:19 +0200

Strange enough... I build a Linux from Scratch this weekend as well. Got the
same problem, though I cannot remember the exact messages. I continued to
install the other software, and the machine is now completely installed,
except for ed. I've tried installing it now, once the machine is fully
installed, but no luck, same problem.

Maybe, if you have the exact make error messages, you should post them to a
forum on www.linuxfromscratch.org, or open a bug report for it, or
something.

Please let me know what you do, since I need to get this resolved as well.

Michael Pye wrote in message ...
>I'm building a Linux from Scratch system and I am receiving an error about
a
>function being defined twice while making Ed-0.2
>
>I have tried the copy from both the LFS site and the GNU site, but neither
>will compile. I am using the latest versions of both gcc and the glibc
>(2.95.3 and 2.2.2). I can't find any patches like the one used to solve a
>similar problem in the findutils-4.1 package.
>
>Has anyone else come across this or a way around it?
>
>Thanks
>
>MP
>
>



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

From: "ThanhVu Nguyen" <[EMAIL PROTECTED]>
Subject: Re: Configuring CDRW & RH 7.1
Date: Mon, 14 May 2001 02:46:48 -0400

No, it ididn't say you need to boot lilo to boot linux - it says to use
tutorial then you need to boot linux with lilo because later on it will
tell you to write some stuffs to lilo .

sorry for the misunderstanding .


In article <S9pL6.6546$[EMAIL PROTECTED]>, "cbbrowne"
<[EMAIL PROTECTED]> wrote:

> "ThanhVu Nguyen" <[EMAIL PROTECTED]> writes:
>> The reason I asked is because I saw the tutorial on rh & cdrw says that
>> you need boot linux with lilo.  (at linuxnewbie.com) ...
> 
> Which is quite inaccurate.  You do _NOT_ "need" to boot Linux using
> LILO.
> 
> --> On IA-32 architectures, some distributions use a program called
>     "GRUB" instead of LILO.
> 
> --> On a system running some variation on MS-DOS [Windows 95/98
>     probably qualify well enough), there is a program called LINLOAD
>     which boots Linux from DOS.
> 
> --> On Alpha systems, Linux can assortedly be booted using programs
>     called MILO and SRM that are _not_ the same thing as LILO.
> 
> --> On SPARC systems, there is a boot program called SILO.
>

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

From: nordi <[EMAIL PROTECTED]>
Subject: Re: memory usage
Date: Mon, 14 May 2001 09:00:47 +0200

Wong Ching Kuen Frederick wrote:

> using top, i get the following memory usage?! can anyone tell me what is
> the diff between used, free, shrd, buff and cached?! how can i know when i
> should add more memory to my system?! many thanks.

used: sum of all memory usage (pretty unimportant IMO)
free: free memory (unimportant as well)
shrd: shared memory (libraries I guess)
buff: buffers (especially big if you are doing a lot of stuff on your disk)
cached: memory used for disk caching

The number that really interests you is    used-buff-cached    because 
this is the amount of memory really used up by programs directly. You can 
get this number by running "free", it will give you a line that says 
-/+buffers/cache which contains that information.

>   2:18pm  up 10 days,  3:03,  1 user,  load average: 0.10, 0.04, 0.01
> 47 processes: 46 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states:  0.9% user,  0.4% system,  0.0% nice,  0.4% idle
> Mem:   126596K av,  124668K used,    1928K free,       0K shrd,     964K
> buff
> Swap:   72284K av,    9984K used,   62300K free                   81380K
> cached

Looks like you are really using a lot of memory (121M out of 126M used). If 
that's normal for your machine you should consider getting more RAM. 128M 
is not that expensive.

nordi

-- 
Linux - Less bugs for less bucks!

Visit http://private.addcom.de/nordi

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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Odd Lilo Dual-Boot Behavior
Date: Mon, 14 May 2001 09:34:41 +0200

> help me with the testing. Now, ever since LILO changed to use
> map-drive instead of the any_d loader, Win has always seen the Linux
> partition as an "unformatted" drive (drive G: on my setup). It would
> complain about "drive G" every time the anti-virus software was run or
> when the trash bin was emptied or when I'd accidently click the drive
> in windows explorer. But ever since Slack was up those 5 days, Win no
> longer sees the Linux partition in any of those cases (just as Win
> didn't see the Linux partition back in the any_d loader days).

Windows does *not* see the linux partition, and it never will.
Windows will see extended partitions (type 0x05/0x0F).
And it expects a windows partition inside. If that's not there, it'll
assign a drive letter to the extended partition. That's probably what you
have seen. It can be solved in the partitiontable. If an extended partition
contains only linux logicals, make the extended partition type 0x85. That
way, windows will never be able to see that drive again.

Eric



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

From: "Peet Grobler" <[EMAIL PROTECTED]>
Subject: Re: memory usage
Date: Mon, 14 May 2001 10:00:09 +0200

126596K (available) - 964K (buffers) - 81380K (cached) = 44252K
Meaning, you're effectively using only 44MB of memory, the other 81MB is
buffers and cache. If you see this happening, with buffers and cached so low
that you can work out (using above function) that you're actually using more
than 64MB, then only should you consider upgrading (in my opinion). Having
81MB for cache  & buffers is more than sufficient.

> Mem:   126596K av,  124668K used,    1928K free,       0K shrd,     964K
> buff
> Swap:   72284K av,    9984K used,   62300K free                   81380K
> cach
nordi wrote in message <9dnvuc$dmb$[EMAIL PROTECTED]>...
Wong Ching Kuen Frederick wrote:

> using top, i get the following memory usage?! can anyone tell me what is
> the diff between used, free, shrd, buff and cached?! how can i know when i
> should add more memory to my system?! many thanks.

used: sum of all memory usage (pretty unimportant IMO)
free: free memory (unimportant as well)
shrd: shared memory (libraries I guess)
buff: buffers (especially big if you are doing a lot of stuff on your disk)
cached: memory used for disk caching

The number that really interests you is    used-buff-cached    because
this is the amount of memory really used up by programs directly. You can
get this number by running "free", it will give you a line that says
-/+buffers/cache which contains that information.

>   2:18pm  up 10 days,  3:03,  1 user,  load average: 0.10, 0.04, 0.01
> 47 processes: 46 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states:  0.9% user,  0.4% system,  0.0% nice,  0.4% idle
> Mem:   126596K av,  124668K used,    1928K free,       0K shrd,     964K
> buff
> Swap:   72284K av,    9984K used,   62300K free                   81380K
> cached

Looks like you are really using a lot of memory (121M out of 126M used). If
that's normal for your machine you should consider getting more RAM. 128M
is not that expensive.

nordi

--
Linux - Less bugs for less bucks!

Visit http://private.addcom.de/nordi



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

From: "Anthony DeRobertis" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.security
Subject: Re: Catch-22 on Red Hat 7.0+update rpms install
Date: Mon, 14 May 2001 04:07:27 -0400

In article <[EMAIL PROTECTED]>, "Norm" <[EMAIL PROTECTED]>
wrote:

> but I feel it should be
> possible to create a fully updated system in some sort of systematic
> manner. 

ncftp updates.redhat.com
... get update for your distro ...

rpm -Fhv *.rpm

There is no reason to do them in the order released, or one at a time.
Let RPM work out the dependencies!

If it complains about missing packages, do a rpm -Uhv on them, then try
the rpm -Fhv line again.

You could even use rpm's various dependency options to tell you which
packages must be rpm -U'd first. Once you put all this in a script, you
have an up2date equivelant.

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


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