Linux-Misc Digest #766, Volume #21 Sat, 11 Sep 99 16:13:07 EDT
Contents:
Re: User can't mount CDROM & Floppy (Shane Blaufuss)
Re: newbie programming questions (Leejay Wu)
Re: xfs on Redhat 6.0 ("Roch Plamondon")
OK Linux (letdown)
Blackbox install problem ("Kajohn Rojanametin")
Re: Problem with compiling c++ source with GNU gcc compiler (Vlar Schreidlocke)
Re: How do you pronounce Linux? (Gergo Barany)
Re: General Rant from a Linux Newbie (Ed Allen)
Re: update (bdflush) not running (Paul Kimoto)
Re: xfs on Redhat 6.0 (Bob Tennent)
NFS on RH 6.0 vs AIX 4.2.1 -- can't mount! (Carl Benson)
Re: New Red Hat - fdisk gone? ("Steve D. Perkins")
Re: xterm broken? (Juergen Heinzl)
Re: Internet access with ASDL (Eric)
X Font Server does not start??? (root)
Re: The game without a name 0.5 released (Torben Ott)
Re: HELP! How to login and activate DSL????
Re: C++ Error (Adrian Hands)
----------------------------------------------------------------------------
From: Shane Blaufuss <[EMAIL PROTECTED]>
Subject: Re: User can't mount CDROM & Floppy
Date: Sat, 11 Sep 1999 18:10:46 GMT
Sim,=20
You need to add the "user" parameter to each volume in /etc/fstab that=20
you want users to mount. "man mount" for specifics; RedHat 5.2 gives=20
an explicit example of doing this to your CD ROM.
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 9/11/99, 8:46:42 AM, Sim Grant <[EMAIL PROTECTED]> wrote regarding=20
User can't mount CDROM & Floppy:
> Hi,
> I've set up some lines of commands in my bashrc -
> alias ls=3D"ls --color"
> alias cdrom=3D"mount -t iso9660 /dev/cdrom /mnt/cdrom"
> alias nocd=3D"umount /mnt/cdrom"
> alias fd=3D"mount /dev/fd0 /mnt/floppy"
> alias nofd=3D"umount /mnt/floppy"
> ...
> ...
> (anyone who likes this short cut can do the same under
> bashrc(if u'r using RH coz Caldera is uing Profile - bare in mind)
> My problem is, it works find to Root(myself) but not to my
> users. What should i do to let my other users to do the mounting as
> well as the root does ?
> It is a single user machine though, me n perhaps my
> housemates.
> Best Regards,
> Sim Grant(Gummy Bear)
------------------------------
From: Leejay Wu <[EMAIL PROTECTED]>
Subject: Re: newbie programming questions
Date: Sat, 11 Sep 1999 14:14:13 -0400
[grumbleshouldinsteadbepostedsomewhereincomplangchierarchygrumble]
Excerpts from netnews.comp.os.linux.misc: 11-Sep-99 newbie programming
questions by "John Mitchell"@earthlin
> I wrote a small program in C that compiled fine under gcc, but when
> I tried to execute it, I got "sementation fault - core dumped". What
> does this mean? To get rid of it, I removed a large (1000 element)
> global array.
It means you dereferenced a pointer you're not allowed to; perhaps
you've free()'d bogus pointers, perhaps you've messed up the pointers
you have, perhaps you've dereferenced free()'d memory... etc.
The 'core dumped' part means that when it crashed, it dumped an image
of the process space in a file called 'core', which can be used in
conjunction with debuggers. If you're not going to use it, erase it;
core dumps can be fairly large.
> Also, when I try to use the gets() function, the compiler tells me
> that it is dangerous and should not be used. How else can I accept
> a variable length string? Right now, I'm using scanf with a
> preallocated character array.
That can be hideously unsafe depending on how much you trust your
inputs. Accepting a string of potentially unbounded length?
Eyeeeugh.
One idea might be going through the 'read' interface. Read in chunks
of fixed size, and keep realloc-ing memory (and checking the return
value! realloc can fail...) as you do so until read() fails w/ an
EOF, 'tho you might have to set O_NDELAY, O_NONBLOCK or something
like that. If it works, it'd be kinda slow but safe.
--
| [EMAIL PROTECTED] | the silly student |
|--------------------------| he writes really bad haiku |
| #include <stddiscl.h> | readers all go mad |
------------------------------
From: "Roch Plamondon" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: xfs on Redhat 6.0
Date: Sat, 11 Sep 1999 18:21:26 GMT
To be sure those numerous attempts to have tt fonts on my machine didnt
corrupt important configuration files i made this
1-whole reinstallation of redhat 6 including reformatting partition
2- exactly what s described below by Jim
The point is my Netscape Navigator still cant show some pages you may try
this one: (this one causes navigator program to exit)
http://www.fishersci.ca/HomePage.nsf/topics/FisherHomeF
and some pages still dont have the good font size, you may try this one:
(The first 2 lines supposed to be in large characters)
http://cafe.rapidus.net/rplamond
Is it possible to view them just like in mswindows browser???
--
Roch Plamondon
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Venez visiter mon site web:
http://cafe.rapidus.net/rplamond
Hal Burgiss <[EMAIL PROTECTED]> a �crit dans le message :
[EMAIL PROTECTED]
> On 8 Sep 1999 21:32:38 -0500, Hal Burgiss <[EMAIL PROTECTED]> wrote:
> >On Wed, 08 Sep 1999 13:08:58 +0200, NGUYEN-DAI Quy
> > <[EMAIL PROTECTED]> wrote:
> >>Jim Ross wrote:
> >>>
> >>> >
> >>> I don't know enought about this to know where you went wrong, but I
> >>> do use these commands with success to install TTF in RH 6.0 for
> >>> Netscape which really does need them.
> >>>
> >>> mkdir /usr/share/fonts/ttfonts
> >>> cp /mnt/c/windows/fonts/*.ttf /usr/share/fonts/ttfonts
> >>> cd /usr/share/fonts/ttfonts
> >>> ttmkfdir -o fonts.dir
> >>> chkfontpath --add /usr/share/fonts/ttfonts
> >>> /etc/rc.d/init.d/xfs restart
> >>>
> >>> I mount my c drive as /mnt/c and there is a space before
> >>> /usr/share/fonts/ttfonts but if might be hard to read from line 2.
> >>> Jim
> >>
> >
> >The above may work for Jim, but I can't get it going, despite doing the
> >above exactly and with minor variations, eg font.scale in lieu of
> >font.dir. I notice also that ttmkfontdir produces an identical file to
> >the old mkfontdir. So what's the point with ttmkfontdir anyway???
> >
>
> Well, I solved my problem. From what I can tell, X uses the FontPath as
> defined in /etc/X11/XF86Config, this regardless of what is in
> /etc/X11/fs/config or whatever font server config file there is. When I
> upgraded, my FontPath was the same from previous version. Once I changed
> it to 'unix/:-1' and commented out the old FontPath, restarted xfs and
> then restarted X, I finally had true type. This may be documented
> somewhere, but it's sure hard to find.
>
>
> --
> Hal B
> [EMAIL PROTECTED]
> --
> Linux helps those who help themselves
------------------------------
From: letdown <[EMAIL PROTECTED]>
Subject: OK Linux
Date: Sat, 11 Sep 1999 09:57:50 -0400
Hello, I am creating a site that deals with linux and programming. It
has only been up
for about two weeks and I can't seem to think of anything original to
put on it. If you have any
good ideas, tutorials, links, articles, etc., or would like to help with
the actual creation of this
site, please send an e-mail to [EMAIL PROTECTED] I am also looking for
people to help with
the actual creation of the site.
-Ryan
------------------------------
From: "Kajohn Rojanametin" <[EMAIL PROTECTED]>
Subject: Blackbox install problem
Date: Sun, 12 Sep 1999 01:27:48 +0700
I try to compile and install Blackbox on RH 6.0. But it has a problem.
After type ./configure in blackbox directory, it told
"creating cache ./config.cache"
"checking for a BSD compatible install ... /usr/bin/install -c"
"checking wheter build environment is sane... yes"
"checking wheter make set ${MAKE}... no"
"checking for working aclocal... missing"
"checking for working autoconf... missing"
"checking for working automake... missing"
"checking for working autoheader... missing"
"checking for working makeinfo... missing"
"checking for gcc... no"
"checking for cc... no"
I can't do further. How can I solve this problem?
thank
KJ.
------------------------------
From: [EMAIL PROTECTED] (Vlar Schreidlocke)
Crossposted-To: comp.os.linux
Subject: Re: Problem with compiling c++ source with GNU gcc compiler
Date: Sat, 11 Sep 1999 18:08:41 GMT
Looks like you have a problem with posting the same question over and
over again also.
On Sat, 11 Sep 1999 18:02:02 +0200, ovaaw <[EMAIL PROTECTED]>
wrote:
>I have a problem with compiling c++ source with the gcc compiler.
>Compiling c works ok.
>When I try to compile a c++ source by typing
>gcc -o programma1 programma1.cc the follwing message is returned by the
>compiler:
>cannot exec cc1plus
------------------------------
From: [EMAIL PROTECTED] (Gergo Barany)
Subject: Re: How do you pronounce Linux?
Date: 11 Sep 1999 17:54:16 GMT
Laurence W Reeves <[EMAIL PROTECTED]> wrote:
>In article <7rbj8h$6s5$[EMAIL PROTECTED]>, Edward
>Westin <[EMAIL PROTECTED]> writes
>>It's Lynn-ux for the OS and Lie-nus for the guy. Don't ask me why though
>>:-) Best Regards...
>
>Curious... I have an english.au file tucked away here which says "My
>name is Lea-nus Tour-vaulds and I pronounce Lea-nooks as Lea-nooks".
>
>Someone must know where I got it from?
It's on your local kernel.org mirror in a directory called SillySounds
(or something similar).
Gergo
--
> This made me wonder, suddenly: can telnet be written in perl?
Of course it can be written in Perl. Now if you'd said nroff,
that would be more challenging... -- Larry Wall
GU d- s:+ a--- C++>$ UL+++ P>++ L+++ E>++ W+ N++ o? K- w--- !O !M !V
PS+ PE+ Y+ PGP+ t* 5+ X- R>+ tv++ b+>+++ DI+ D+ G>++ e* h! !r !y+
------------------------------
Crossposted-To: comp.os.linux.advocacy
Subject: Re: General Rant from a Linux Newbie
From: [EMAIL PROTECTED] (Ed Allen)
Date: Sat, 11 Sep 1999 11:55:59 -0500
In article <[EMAIL PROTECTED]>,
William Wueppelmann <[EMAIL PROTECTED]> wrote:
>In our last episode (Fri, 10 Sep 1999 07:27:51 -0700),
>the artist formerly known as K. Bjarnason said:
>
>This "less choice is good" mentality, apart from being generally dismissive
>of human capability (if not desire) to learn is really a red herring.
>After all, for any particular distribution of Linux, there is only one
>package management system (at most :-)
>
>>Let me know when *Linux* has *a* standard GUI, with *a* standard - and
>>GUI-based - method of installing applications, and we'll compare it to
>>Windows in terms of ease-of-use for the end user.
>
>Once again, this is a really silly argument. Why does more choice make
>Linux any more complicated to learn? You don't want to learn how to use
>fvwm? Then don't! It's that easy. Nothing requires you to learn how to
>use every Window manager just to use X! The fact that you have a choice is
>a Good Thing. You can evaluate all or some of the wm's, maybe ask some
>friends who use them what they think, pick the one that sounds the most
>appealing and use that one. Or, if you really want a Windows-like
>experience, just get someone else to dictate to you which window manager to
>use and learn that one whether it's the best for you or not.
>
You seem to have forgotten that he has had "Redmond Mind Wash".
In his universe, "Only a single *best* can exist", and it *must* be
the one *he* uses. Otherwise *he* might not be *the best*.
Choice implies that his choice might not be *the* best for everything
or everyone.
To preclude the *possibility* of him not choosing correctly he, and
the other Followers of Redmond, will gladly do whatever they can
to reduce reality to as close to "Bill's Vision" as they can.
Their self image will suffer if you make a different choice and
are happy with it.
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: update (bdflush) not running
Date: 11 Sep 1999 14:53:52 -0500
Reply-To: [EMAIL PROTECTED]
In article <7rdrdv$c4g$[EMAIL PROTECTED]>, Phil wrote:
> I've installed RedHat 5.2 (kernel 2.2.11)
> and the update process is not running...
>
> everytime I launch it (/sbin/update), it returns
> with no error messages and the process
> does not run in daemon ... unfortunately :-((
Run "ps auxw". Do you have a (pseudo)process called "kupdate" running,
with a PID approximately 3? If so, then the kernel is taking care of
the task. Accordingly, /sbin/update just exits.
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Bob Tennent)
Crossposted-To: comp.os.linux.x
Subject: Re: xfs on Redhat 6.0
Date: 11 Sep 1999 18:58:01 GMT
Reply-To: rdt(a)cs.queensu.ca
On Sat, 11 Sep 1999 18:21:26 GMT, Roch Plamondon wrote:
>
>The point is my Netscape Navigator still cant show some pages you may try
>this one: (this one causes navigator program to exit)
> http://www.fishersci.ca/HomePage.nsf/topics/FisherHomeF
Not my Netscape 4.61.
>
>and some pages still dont have the good font size, you may try this one:
>(The first 2 lines supposed to be in large characters)
> http://cafe.rapidus.net/rplamond
>
It's one line in 14pt but larger than the lower lines.
>
>Is it possible to view them just like in mswindows browser???
>--
I don't know because I don't have mswindows. You perhaps have the
font preferences wrong. Do
edit -> preferences -> fonts
and select a suitable font, with scaling.
Bob T.
------------------------------
From: Carl Benson <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.aix
Subject: NFS on RH 6.0 vs AIX 4.2.1 -- can't mount!
Date: Sat, 11 Sep 1999 11:18:26 -0700
Hi!
I have a mix of systems running variously RedHat 6.0, AIX 4.2.1,
and AIX 3.2.5.
I've discovered an oddity. Say RHguy is an Intel box running
RH 6.0, AIXguy is an RS/6000 running AIX 4.2.1.
I want to mount RHguy:/home on AIXguy:/RHguy, but all I get
on AIXguy is a message from mount saying "server RHguy not
responding".
Now what's funny is that RHguy can respond, because I can mount
RHguy:/home on AIX 3.2.5 machines and other RH 6.0 machines. And
it's just not AIXguy that has a problem, because I get the same
failure to connect on any other AIX 4.2.1 box. And AIXguy is
happing mounting filesystems from other AIX boxes, too, so NFS
is working fine.
Help, anyone? Did they change the rules between AIX 3.2.5 and 4.2.1?
--
Carl Benson, PHS UNIX SysAdmin (206-667-4862, [EMAIL PROTECTED])
------------------------------
From: "Steve D. Perkins" <[EMAIL PROTECTED]>
Subject: Re: New Red Hat - fdisk gone?
Date: Sat, 11 Sep 1999 15:38:19 -0400
> Does anyone know if Red Hat is really removing this, the only
> usable partitoning tool?
Jesus, I haven't heard that... but I'm still absolutely steaming
from the fact that they took away glint for RPM management with
6.0. If they continue taking away yet ANOTHER all-time favorite
of mine, I'll switch to Suse or Debian immediately!
What the fuck has been wrong with RedHat over this past year?!?
It seems like they're trying to bend over backwards to make
people mad at them....
Steve
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: xterm broken?
Date: Sat, 11 Sep 1999 19:38:43 GMT
In article <7rdrek$8s7$[EMAIL PROTECTED]>, Artit J wrote:
>After compiling xterm from the source, now it just dies with a
>segmentation fault. Any ideas? Right now I am using Eterm, because that
>is the only thing that will work (wterm won't compile, rxvt segfaults).
Cool as I am running xterm as well as rxvt. Okay, right now I'd
say your system is slightly broken and a strace output might
reveal something or compile with -g to get a usable core dump.
Mind I'm not using a distribution ... often makes me wonder whether
this is the reason I have no problems 8-}
Two different xterms emulators dumping core ... I'd be concerned a
wee bit. One note, do not compile with excessive optimizations and
especially -fschedule-insns and -fschedule-insns2 is the right way
to produce faulty code with all gcc / egcs releases since 2.8.0
on I86 machines. Not that it would make much sense with a terminal
emulator anyway, but even so.
Ta',
Juergen
--
\ Real name : J�rgen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Internet access with ASDL
Date: Sat, 11 Sep 1999 19:31:14 GMT
I use US West RDSL (my ISP is uswest.net) which uses DHCP for dynamically
assigning an IP (rather than static). The external Cisco 675 ADSL modem
(router) acts as a DHCP client to get the IP then as a DHCP server (using
NAT) to assign local IP's to all PC's attached to the hub (if more than 1).
Anyway I had some trouble getting it to work at all, but once it's
working with windoze here is how to get it working with RH6.0:
1) I reloaded linux form the (Cheapbytes) CD, as a workstation. I first
tried doing the changes myself but it was too confusing. Since I keep a
copy of all files that I modify/add to the basic workstation on my vfat
(win95) partition it is not that bad to start over.
2) I studied the various ADSL and Networking HOWTO's. My CD is missing the
DHCP-HOWTO which I found at http://www.linuxdoc.org/HOWTO/mini.
3) When I was installing linux I
I answered yes to configure a LAN,
II accepted the NIC (Network ethernet card) it found:
Digital 21040 tulip NIC (acctually its a Netgear FA310TX.
III Selected DHCP as the server type.
4) I booted the new system up. The first thing I did is logon as root,
open a terminal and telnet 10.0.0.1 (the Cisco 675 DHCP server). I never
set a password on it, at the cbos prompt type 'enable' (no passwd for
root), and then type 'show running'. This will display my ISP's DNS
nameservers. exit.
5) Now I can start linuxconf (command or frome the GNOME menu) and select
Config-Client tasks-Name Server Spec (DNS). For nameserver1 just enter the
first IP address (from step 4) and nameserver2 the 2nd (if you have one).
NOTE: I got an error that /etc/resolv.conf had an illeagal entry, so I used
vi to delete the first line which was 'search'.
6) Start Netscape and click on a link. YES!!! It worked, with none of
those errors ' can't find so and so, check your nameserver'.
================== Posted via CNET Linux Help ==================
http://www.searchlinux.com
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: X Font Server does not start???
Date: Sat, 11 Sep 1999 16:23:08 -0300
Hi!
I have a problem here:
I'm running RH6 with graphical login active. (gdm)
Sometimes when I boot the machine, the X Font Server does not start
and then X windows fails to start going from text mode to graphics mode
back and forth.
After 10 or so tries it gives up for 5 minutes and restarts trying.
I realised that loging in and running "xfs" by hand just fixes the
problem until the next reboot.
What can I do?
Thank you very much
------------------------------
From: Torben Ott <[EMAIL PROTECTED]>
Subject: Re: The game without a name 0.5 released
Date: Sat, 11 Sep 1999 20:11:29 +0200
Torben Ott wrote:
> You can download tgwan (~58 kB) in the following file formats:
> - -.tgz
> - -.rpm
> - -.deb
> from http://homes.arealcity.com/lcross.
>
Due to a mistake at building the packages, the files present there
before 11 Sep. 1999 were corrupt. Corrected versions are now available.
You can also download only the corrected parts (together ~8 kB).
A bug fix by Julien Soula is included.
Sorry for this inconvenience.
Torben
------------------------------
From: <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: HELP! How to login and activate DSL????
Date: 11 Sep 1999 20:01:08 GMT
Hello,
Thanks for your reply! USWest uses DHCP to assign my IP. The problem
I'm having is that I have to use Cisco Commander to "login" and activate my
DSL line when I want to use it--my DSL line isn't active all the time (DSL
is new to my area, so they don't offer full time 24hr access yet). When I
use commander to login to USwest and activate my DSL, I have 2 hours of
use, then I'm disconnected automatically. I then have to reconnect to get
back on the net, etc. The login procedure seems similar to a modem dialup
PPP account. What I can't figure out how to do is to connect and activate
my DSL line under Linux since Cisco Commander is a Windows app. (maybe WINE
will work?) Even if it did connect and activate my DSL line using DHCP upon
bootup, I'd have to reconnect somehow after 2 hrs. One thing that is
interesting, is that DHCP works without logging in, because windows uses
this and gets an IP, Gateway, etc, upon bootup without me having to use
Cisco Commander. But I have no real net access until I run Commander, and
then only for 2 hrs each time I login.
Any ideas on how I might be able to "login" to activate my DSL line
under Linux? Do you somehow have to login to BellSouth to get net access,
or once you boot using DHCP are you always on the net? The later is the
type of DSL package I wanted, but as I mentioned, they don't offer 24/7
DSL lines here yet.
Thanks again for your reply!
In comp.os.linux.networking Hal Burgiss <[EMAIL PROTECTED]> wrote:
> On 10 Sep 1999 09:41:12 GMT, [EMAIL PROTECTED]
><[EMAIL PROTECTED]> wrote:
>>Hello,
>> I've got DSL through US West, both the line and as my internet provider.
>>Because my area is new to DSL, I was only able to sign up for something
>>called the "select" program, meaning that I have to use Cisco Commander to
>>login to my provider, which then gives me net access for 2 hours. After 2
>>hours expire, I must reconnect if I wish to get back on the internet.
>>Everything works well under Windows. Now I'd like to use Linux.
>>Unfortunately there isn't a Linux version of Cisco Commander...
>> Does anyone know of a way that I can login to US West under Linux? If I
>>login via Windows and reboot to Linux, everything works fine for 2 hours,
>>then I must reboot to windows, login again, then go back to linux. This is
>>tedious and not a desirable solution because of the 2hr DSL time limit until
>>I must login again.
>> Inside my machine is a 3com 3C905 ethernet card. This plugs into my
>>external Cisco 675 router.
>>
>>Any suggestions would be greatly appreciated.
>>
> I don't know about USWest, but I do this with BellSouth. Do you know the
> protocol they use to assign IPs? Good chance its DHCP. Is there a static
> IP instead? Which distro?
> DHCP is pretty easy to setup. On RH6, all I had to do was start
> 'netcfg', select interface 'eth0', select protocol 'dhcp', and 'start on
> boot', then hit 'activate' button. DHCP does all the negotiation based
> on the MAC address of the NIC which they already have. If you use RH6,
> get the 'pump' update first.
> --
> Hal B
> [EMAIL PROTECTED]
> --
> Linux helps those who help themselves
------------------------------
From: Adrian Hands <[EMAIL PROTECTED]>
Subject: Re: C++ Error
Date: Sat, 11 Sep 1999 15:28:28 -0400
Reply-To: [EMAIL PROTECTED]
Jill wrote:
>
> Trying to do a simple compile for the first time and am getting the
> following. Can someone tell me where I went wrong?
>
> gcc: installation problem, cannot exec `cc1plus': No such file or directory
Did you install egcs-c++ ?
(It's a seperate package from egcs )
$ locate cc1plus
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.27/cc1plus
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cc1plus
/usr/lib/gcc-lib/i386-glibc20-linux/egcs-2.90.29/cc1plus
$ rpm -qf /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cc1plus
egcs-c++-1.1.2-12
$
------------------------------
** 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
******************************