Linux-Setup Digest #834, Volume #19              Sun, 15 Oct 00 22:13:09 EDT

Contents:
  X-Windows Display Looks like Shit (Nate K)
  Dual boot Win2k & Linus ("Luc Richard")
  Re: Warning:  Setting Locale Failed (Colin Watson)
  Re: change IP address with ifconfig (Colin Watson)
  Re: A new directory hierarchy standard - need opinions (Todd Knarr)
  Re: Minimal embedded linux? (Peter Lewis)
  Re: Bizarre shell problem. NO WAY (Servet Ahmet Cizmeli)
  Re: Minimal embedded linux? (Guy Macon)
  Re: Quake2 for Linux, playing non-root? (E J)
  Red Hat 6.2 Permissions (stcccc)
  Re: How do I turn off the pc speaker (ljb)
  Re: X question (gnome) (Hagbard)
  Re: soundcard drivers for biostar? ([EMAIL PROTECTED])
  Re: Bizarre shell problem. NO WAY (ljb)
  Re: Can I install Caldera OpenLinux 2.4 from CD-ROM on PCMCIA SCSI? (Bob Hauck)
  Flat Panel Problem with RH70 and XFree86-4.0 (PT)
  Re: Red Hat 6.2 Permissions (E J)
  RH 7.0, Linuxconf and Samba ("Adam H.")
  Cloning RH HDD ("Adam H.")

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

From: Nate K <[EMAIL PROTECTED]>
Subject: X-Windows Display Looks like Shit
Date: Sun, 15 Oct 2000 23:10:04 -0000

Being that I'm fairly new to the X-Windows thing, I need some help :)
Is there any tricks to making the display in X-Windows look better,
especially when using Netscape etc.  The webpages just dont seem to fit
together right because the fonts are just crappy looking, any advice would
be greatly appreciated.  I'm running Linux-Mandrake 7.1 

Thanks in advance.
Nate K
[EMAIL PROTECTED]

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

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

From: "Luc Richard" <[EMAIL PROTECTED]>
Subject: Dual boot Win2k & Linus
Date: Sun, 15 Oct 2000 23:11:13 GMT

Hi

Has anyone had any problems running Win2k Pro and Linux (Mandrake, Red Hat,
etc..)?

Any experiences would be helpful.

Thanks
Luc



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

From: [EMAIL PROTECTED] (Colin Watson)
Crossposted-To: comp.os.linux.misc
Subject: Re: Warning:  Setting Locale Failed
Date: 15 Oct 2000 23:19:08 GMT

Bryan Robinson <[EMAIL PROTECTED]> wrote:
>I'm trying to get asDrinks to work on my system.  When I try to run the
>script, I get the following message:
>
>perl: warning: Setting locale failed.
>perl: warning: Please check that your locale settings:
>        LANGUAGE = "en",
>        LC_ALL = "en",
>        LANG = "en"
>    are supported and installed on your system.
>
>This doesn't seem to be well documented.  Can anyone tell me how to
>change these settings, or at least where to look for info?

Erm. LANG=en is a reasonable enough language setting. Your locales are
broken, I think; this accidentally happened on Debian unstable for a
while recently when libc6 was being upgraded. Are you running any kind
of unstable distribution? Or perhaps you just haven't installed your
distributor's [1] locales package, or whatever it's called.

[1] Mandrake, judging from the headers?

-- 
Colin Watson                                     [[EMAIL PROTECTED]]
"But in your dreams, whatever they be / Dream a little dream of me."

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

From: [EMAIL PROTECTED] (Colin Watson)
Subject: Re: change IP address with ifconfig
Date: 15 Oct 2000 23:20:48 GMT

Zhihui Zhang <[EMAIL PROTECTED]> wrote:
>It seems to me that the following command
>
># ifconfig eth0 address x.x.x.x
>
>does not change the address of my machine on RedHat 6.2.  What is the
>problem?

Don't you mean 'ifconfig eth0 x.x.x.x'? The word 'address' in the man
page is just a placeholder for an IP address that you fill in yourself.

-- 
Colin Watson                                     [[EMAIL PROTECTED]]
"However, most netters acknowledge the offline world's advantages,
 despite the fact that it is slow, clunky, and hogs bandwidth."
  - "Surfing on the Internet", J.C. Herz

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

From: Todd Knarr <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.system,comp.os.linux.admin,comp.os.linux.networking
Subject: Re: A new directory hierarchy standard - need opinions
Date: 15 Oct 2000 23:39:11 GMT

In comp.os.linux.development.system <[EMAIL PROTECTED]> 
[EMAIL PROTECTED] wrote:
> When a package has more than a few executeables, or any libraries or
> data it needs to access, I prefer having the whole package "encapsulated"
> where I can see where it is, how much space it all takes, remove it all
> if I want, or tarball it to another machine to run it there.

For viewing, that's what I consider package-management to be for: hold
all the details on the files in a package no matter where they are on the
machine. Integrating packages into the regular system also forces me to
deal with things like library-name conflicts up-front, not later on when
someone finally decides to use the wrong combination of packages at the
same time and something blows up.

> The disadvantage is that a package may need to have some files shared
> between many machines and some files separate per machine.  Perhaps
> the best solution would be /usr/opt and /var/opt.  Those can either or
> both be mounted as distinct filesystems as desired.

I usually like /var/{package}, much like /etc/{package} for configuration.
Why add another level to that directory tree for the same purpose unless
you need to to avoid name conflicts? Same with /etc. I look at it as being
that /var and /etc are where files that'll need to be modified by the
admins go, or where configuration files go, regardless of package. The
/|/usr|/usr/local division is for stuff related to package management
issues and whether something's needed during start-up, not writeability
or access.

> Maybe.  See above for /var/opt.  But I'll extrapolate into /usr/local/opt.
> I usually leave /usr mounted read-only and /usr/local mounted writeable.

For normal things, read-only mounting doesn't matter because nobody but
root should have write access even to /usr/local, let alone /usr ( modulo
a few exceptions handled via SUID/SGID and proper ownerships ). Any work
on packages like you describe I do under a regular user, working under
their own home directory, _then_ port it to system directories when it's
done via a regular install to confirm that it works right. Keeps down the
chance of hosing something and forces me to deal with locations and
permissions without depending on root-specific things.

-- 
If it's a hobby for me and a job for you, why are you doing such a shoddy
job of it?
                                -- Linus Torvalds

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

Crossposted-To: aus.computers.linux,comp.arch.embedded
From: Peter Lewis <[EMAIL PROTECTED]>
Subject: Re: Minimal embedded linux?
Date: Mon, 16 Oct 2000 10:45:28 +1100

On Sun, 15 Oct 2000, Russ.Shaw wrote:
> 
> What would be good 'mainstream' distros for doing a shrink?
> 
>
Hello Russ,

If you have a look at the Linux Router Project (www.linuxrouter.org) and
talk to them (from mem Rick & Charles) they may be able to help you.

I understand they use a number of dists for different images - all to get
a router/firewall on a 1.44 floppy.

Reading their posts, I have seen they are VERY helpful.

--
Regards
Peter
[EMAIL PROTECTED]

--
 

As vinegar to the teeth, and as smoke to the eyes, so is the sluggard to
them that send him.


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

From: Servet Ahmet Cizmeli <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Bizarre shell problem. NO WAY
Date: Mon, 16 Oct 2000 00:02:24 GMT

Vilmos Soti wrote:

> Check with ldd which libraries this program uses. There is a good
> chance the loader cannot find one library.

OK! Let me begin from the beginning. I try to run the file

[root@seawifs lnx86]# ls -l /usr/local/matlab5/etc/lnx86/lmhostid
-rwxr-xr-x   10 106      users      219264 Oct 31  1997
/usr/local/matlab5/etc/lnx86/lmhostid
 
like this 
[root@seawifs lnx86]# /usr/local/matlab5/etc/lnx86/lmhostid
bash: /usr/local/matlab5/etc/lnx86/lmhostid: No such file or directory

this file is an executable 
[root@seawifs lnx86]# file /usr/local/matlab5/etc/lnx86/lmhostid
/usr/local/matlab5/etc/lnx86/lmhostid: ELF 32-bit LSB executable, Intel
80386, v
ersion 1, dynamically linked (uses shared libs), stripped

and ldd (or whoever is supposed to find it) cannot find it either
[root@seawifs lnx86]# ldd /usr/local/matlab5/etc/lnx86/lmhostid
/usr/bin/ldd: /usr/local/matlab5/etc/lnx86/lmhostid: No such file or
directory

 > Also, you can use strace on the binary to check out what file it
> doesn't find, but first, use the ldd command. That is much simpler

OK. strace gives a little more information but I think it has the same
problem as well. 

[root@seawifs lnx86]# strace /usr/local/matlab5/etc/lnx86/lmhostid 
execve("/usr/local/matlab5/etc/lnx86/lmhostid",
["/usr/local/matlab5/etc/lnx86/lmhostid"], [/* 28 vars */]) = 0
strace: exec: No such file or directory

I checked the permissions and they seem OK 
ls -l  /usr/local/matlab5/etc/
drwxrwxr-x    2 root     root         4096 Oct 16 00:49 lnx86

This problem is clearly beyound my limits. 
Please help me! 
Thanks a lot from advance
Servet

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

From: [EMAIL PROTECTED] (Guy Macon)
Crossposted-To: aus.computers.linux,comp.arch.embedded
Subject: Re: Minimal embedded linux?
Date: 16 Oct 2000 00:08:26 GMT

Wolfgang Denk wrote:
>
>When you  build  tightly  embedded  systems,  it's  IMHO  not  really
>efficient to start with any standard distribution and try to "shrink"
>it.  Instead,  you start with the naked linux kernel and add only the
>services you need.
>
>You want to run a web server, just a web server? So what do you need?
>Right, a web server - no init process, no login, no startup  scripts,
>nothing  except the web server, the libraries it needs to run (if you
>don't link it statically in this case), and the web pages it is going
>to serve.
>
>Using this method, on a PowerPC I can build a web  server  demo  with
>(compressed) kernel image of 324774 bytes, and a (compressed) ramdisk
>image of 674939 bytes. This fits easily in a 1 MB flash chip (it even
>leaves enough room for a small boot monitor). Um, and this contains a
>payload of 566 kB web pages...
>
>[See http://www.denx.de/embedded-ppc-en.html for images of  the  demo
>system hardware.]
>

How does your demo compare in functionality to what QNX put on a
1.44 MB Floppy ( http://www.qnx.com/demodisk/ )?

They fit the following in:

POSIX realtime OS
Full windowing system,
Drivers for many common video cards
HTML 3.2 browser,
Embedded web server,
Internet dialer
Drivers for many modems
TCP/IP stack



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

From: E J <[EMAIL PROTECTED]>
Subject: Re: Quake2 for Linux, playing non-root?
Date: Sun, 15 Oct 2000 17:58:38 -0700

You must realize this is a security risk!
You are going to run quake2 as a superuser even though you are running
in your account.
$ su -
password: <secret>
# chmod u+s /quake2_directory/quake2_program


Rob Blomquist wrote:

> I can't believe that I am the only one with this problem, but I can't
> play Quake2 non-root.
>
> I run into 2 problems that cause me to be unable to save my games:
> Failed to open ./baseeq2/save/current/base1.sv2
> Couldn't write to ./baseeq2/save/current/server.ssv
>
> I have checked it all out, and nothing seems to be totally amiss, but
> this is driving me crazy.
>
> I have not found anyother comments on the net about this. Playing as
> root works fine.
> --
> Rob Blomquist
> Kirkland, WA
>
> Gone to the penguins...Bye, bye, Billy-boy....


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

From: stcccc <[EMAIL PROTECTED]>
Subject: Red Hat 6.2 Permissions
Date: Mon, 16 Oct 2000 01:10:03 -0000

This is possibly a stupid question, but I have a directory /proc/6/fd 
which I can not view, delete, or whatever even logged in as root.  Now as 
I understand it, root is God, so why is it I can not look at this 
directory?

Thanks

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

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

From: [EMAIL PROTECTED] (ljb)
Subject: Re: How do I turn off the pc speaker
Date: 16 Oct 2000 01:18:12 GMT

[EMAIL PROTECTED] wrote:
>On 12 Oct 2000 16:26:38 GMT, [EMAIL PROTECTED] (Richard Allan
>Holcombe) wrote:
>
>>I am running Red Hat 6.2.  I found that some of the programs that I use
>>cause the pc speaker to beep when an error occurs in the program.
>>I let some of these programs run overnight, (I xlock'ed my terminal)
>>and came in the next morning to find many annoyed neighbors, that were
>>forced to listen to my machine beep at them for a few hours.  Is there
>>a good way to disable the speaker?  Ideally having xlock turn it off would
>>be nice, but I don't know of any way to do this.
>>Thanks.
>>-- 
>>Richard Holcombe [EMAIL PROTECTED]
>
>Deep in the voluminous documentation is a paragraph about setting the
>speaker beep tone volume and duration in the shell.  Someday I too
>will find it again.  

Use "xset b" from the shell to set volume, pitch, and duration.
"xset q" will show you the current settings.
I have "xset b 50 400 10" in Xsession to get a very quiet short beep; more
like a click actually.
In extreme cases, stuffing tissues between the speaker and the PC case has
been known to work, too.

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

From: Hagbard <[EMAIL PROTECTED]>
Subject: Re: X question (gnome)
Date: Sun, 15 Oct 2000 21:23:15 -0400

bluster,

thanks a bunch... that did the trick (well, it did after i finally
remembered to trim off the dos carriage returns from saving it in
windoze).

it all works now gnome, kde, and switchdesk !!

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.os2.multimedia,comp.os.os2.misc
Subject: Re: soundcard drivers for biostar?
Date: Sun, 15 Oct 2000 20:39:15 -0400

In <39e62720$1$qnivfs$[EMAIL PROTECTED]>, on 10/12/00 
   at 09:00 PM, [EMAIL PROTECTED] said:

You need to identify what chipset you have for sound.  Probably ESS since
they sell a lot of chipsets to board and notebook manufacturers.  You may
be SOL if you try to go above FP6 as ESS abandoned a lot of there older
chipsets when it comes to OS/2 driver development.

Roland

>Greetings!

>This mainboard has an on-board sound chip, something I usually avoid. I
>can't get it to make a sound in OS/2 or in Linux. 

>Anyone got it working?

>F.


>-----------------------------------------------------------
>     Felmon John Davis         
>     [EMAIL PROTECTED]          
>     [EMAIL PROTECTED]           
>     Union College /  Schenectady, NY
>     os/2 - ma kauft koi katz em sack
>-----------------------------------------------------------

-- 
===========================================================
[EMAIL PROTECTED]              To Respond delete ".illegaltospam"
                            MR/2 Internet Cruiser 2.2a
                            For a Microsoft free univers
===========================================================


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

From: [EMAIL PROTECTED] (ljb)
Crossposted-To: comp.os.linux.misc
Subject: Re: Bizarre shell problem. NO WAY
Date: 16 Oct 2000 01:27:38 GMT

[EMAIL PROTECTED] wrote:
>Vilmos Soti wrote:
>
>> Check with ldd which libraries this program uses. There is a good
>> chance the loader cannot find one library.
>
>OK! Let me begin from the beginning. I try to run the file
>...
>like this 
>[root@seawifs lnx86]# /usr/local/matlab5/etc/lnx86/lmhostid
>bash: /usr/local/matlab5/etc/lnx86/lmhostid: No such file or directory
>...
>This problem is clearly beyound my limits. 
>Please help me! 

You tried all the right things... and it still doesn't work. My
guess is that the file looks enough like an executable to make
"file" think it is ("file" only looks at the first few bytes),
but is actually damaged or corrupt beyond that point. When you
straced, execve got it and probably returned ENOEXEC (Exec Format
Error) when it tried to load it. So, is there any way you can
check the integrity of the file? I assume you didn't compile it
yourself; can you compare checksums (cksum) with whoever did?

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

From: [EMAIL PROTECTED] (Bob Hauck)
Crossposted-To: 
alt.os.linux.caldera,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions
Subject: Re: Can I install Caldera OpenLinux 2.4 from CD-ROM on PCMCIA SCSI?
Reply-To: bobh{at}haucks{dot}org
Date: Mon, 16 Oct 2000 01:43:46 GMT

On Sun, 15 Oct 2000 15:02:50 GMT, E. Smith <[EMAIL PROTECTED]> wrote:

>On my subnotebook, I've only got access to a SCSI CD-ROM drive via my
>Adaptec PCMCIA SCSI card.

>I badly want to install COL 2.4.  Can anyone help me?  

This should work, assuming that the PCMCIA card is supported.  You will
likely have to use the boot floppies or the install-from-Windows option
since you probably can't boot from the CD.  If you don't have the
floppies, there should be images and a DOS program called "rawrite" on
the CD.

I installed COL 2.3 on a laptop with an external CD on a PCMCIA card. 
It is not dual-boot, but it installed easily enough.  I have never
installed any version of Linux from within Windows, so I can't tell you
how well that works.


-- 
 -| Bob Hauck
 -| To Whom You Are Speaking
 -| http://www.haucks.org/

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

From: PT <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Flat Panel Problem with RH70 and XFree86-4.0
Date: Mon, 16 Oct 2000 01:49:09 GMT

Just upgraded to RH 7.0 after long and stable experience with 6.0.  I
set up XF86Config as it was in previous setup for my Viewsonic VPD150
flat panel.  I am now getting some flicker (really annoying) and slow
mouse movement (refresh appears to be too slow). I have tried to mess
with hync and vsync but to no effect. Anyone had a similar problem?  is
there anything new in XFree86-4.0 that requires different kernel or
video driver settings for a flat panel?  I also am not too sure what the
relationship is between XF86Config and XF86Config-4....

PST


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

From: E J <[EMAIL PROTECTED]>
Subject: Re: Red Hat 6.2 Permissions
Date: Sun, 15 Oct 2000 19:04:24 -0700

The /proc is a pseudo file system, it is not meant for you to view, delete,
backup, etc.
Check out the man pages for more information.
$ man proc

stcccc wrote:

> This is possibly a stupid question, but I have a directory /proc/6/fd
> which I can not view, delete, or whatever even logged in as root.  Now as
> I understand it, root is God, so why is it I can not look at this
> directory?
>
> Thanks
>
> --
> Posted via CNET Help.com
> http://www.help.com/


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

From: "Adam H." <[EMAIL PROTECTED]>
Subject: RH 7.0, Linuxconf and Samba
Date: Mon, 16 Oct 2000 13:09:03 +1000

Hi,

Just installed RH7, and noticed that their is no longer any options to
modify the Samba settings in LinuxConf. Anyone know where this has gone?

TIA

Adam



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

From: "Adam H." <[EMAIL PROTECTED]>
Subject: Cloning RH HDD
Date: Mon, 16 Oct 2000 13:11:57 +1000

Hi,

I've got a new HDD, and I want to copy everything (including system files)
from my old HDD to the new one. (In Windows, I'd use a program like Norton
Ghost). Is their an easy way to do this in Linux?

TIA

Adam



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


** 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.setup) 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-Setup Digest
******************************

Reply via email to