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

Contents:
  eject privilege (wroot)
  Re: Linux in college & high school (Carl Fink)
  Re: eject privilege (DanH)
  Re: kgcc, where is it in rh 7.1? ("Bluesky")
  I want DivX for Linux (NEWBIE) (Gobbo)
  test, please ignore, sorry ("BolideWu")
  Re: No DNS with DHCP sometimes (Dean Thompson)
  Re: test, please ignore, sorry ("BolideWu")
  Re: I want DivX for Linux (NEWBIE) ([EMAIL PROTECTED])
  Re: permission denied? ("Olav Fossgaard")
  memory and swaps. ("Joel")
  Re: eject privilege (wroot)
  Catch-22 on Red Hat 7.0+update rpms install ("Norm")
  Re: permission denied? (Dave Uhring)
  Re: kgcc, where is it in rh 7.1? (Dave Uhring)
  Re: kgcc, where is it in rh 7.1? (Dave Uhring)
  Re: Linux in college & high school (somebody)
  Re: chown to another user (give a file away). (John Hasler)
  Re: Linux in college & high school (Dave Martel)
  Re: Linux in college & high school (Matthew Gardiner)
  Re: ORiNOCO Wavelan Question ("Jason Luther")
  Re: fdisk without restart (Lucius Chiaraviglio)

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

From: wroot <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.debian.user
Subject: eject privilege
Date: Sun, 13 May 2001 22:05:15 -0400

Hi,

I'm wondering why I can't do "eject" unless I'm root. The error is:
        eject: unable to find or open device for: `cdrom'  
I can, however, mount /cdrom. I can also do "eject" as root.

Why?

The fstab line is
/dev/cdrom  /cdrom  iso9660 defaults,ro,user,noauto  0  0   

ls -l /dev/cdrom /dev/hdc gives:
lrwxrwxrwx    1 root     root            3 May  8 18:24 /dev/cdrom -> hdc
brw-rw----    1 root     disk      22,   0 Nov 30 10:22 /dev/hdc

Thanks

Wroot


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

From: [EMAIL PROTECTED] (Carl Fink)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Linux in college & high school
Date: 14 May 2001 02:08:35 GMT
Reply-To: [EMAIL PROTECTED]

On Sun, 13 May 2001 17:59:07 -0600 Dave Martel <[EMAIL PROTECTED]> wrote:

>I started thinking about that after hitting Send. FreeBSD is derived
>from BSD but I'm not sure what the relationship is between the
>development team and Berkely.

None.  See www.freebsd.org.  It's *based* on UC Berkeley 4.4BSD, though.
-- 
Carl Fink               [EMAIL PROTECTED]
I-Con's Science and Technology Programming
<http://www.iconsf.org/>

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

From: DanH <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.debian.user
Subject: Re: eject privilege
Date: Sun, 13 May 2001 22:34:28 -0400

wroot wrote:
> 
> Hi,
> 
> I'm wondering why I can't do "eject" unless I'm root. The error is:
>         eject: unable to find or open device for: `cdrom'
> I can, however, mount /cdrom. I can also do "eject" as root.
> 
> Why?
> 
> The fstab line is
> /dev/cdrom  /cdrom  iso9660 defaults,ro,user,noauto  0  0
> 
> ls -l /dev/cdrom /dev/hdc gives:
> lrwxrwxrwx    1 root     root            3 May  8 18:24 /dev/cdrom -> hdc
> brw-rw----    1 root     disk      22,   0 Nov 30 10:22 /dev/hdc

as root:

chmod 666 /dev/hdc
or
chown <username> /dev/hdc

DanH
-- 
Air Cav Reference Board
http://www.cavalrypilot.com
UNIX - Not just for vestal virgins anymore

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

From: "Bluesky" <[EMAIL PROTECTED]>
Subject: Re: kgcc, where is it in rh 7.1?
Date: Mon, 14 May 2001 11:35:40 +0900

I also check, and install all compat*.*, in both cd 1 & 2, they seem
to be different, yet the message is that they are already installed.

Can I just rename the reference in Makefile from gcc to kgcc,
as some gentleman pointed out some time ago ?

TIA

SN

---

"Dave Uhring" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> John Doe wrote:
>
> > Can someone tell me how I
> > can install kgcc for redhat 7.1?
> >
> > I looked under RPMS directories
> > with cheapbytes cds 1 and 2 and
> > cannot find anything named kgcc
> >
> > Thanks
> >
>
> Look under 'compat'
>


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

From: Gobbo <[EMAIL PROTECTED]>
Subject: I want DivX for Linux (NEWBIE)
Date: Mon, 14 May 2001 04:34:18 +0200

I got SuSE 7.1 with Kernel 2.4 and it seems to work fine, the last thing I 
need to make it working perfectly is a divx-codec. but as i am a newbie i 
don't know which files i need, where i can download them and where i have 
to install them...

thx in advance
gobbo

-- 
powered by SuSE Linux
http://www.gobbo.de

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

From: "BolideWu" <[EMAIL PROTECTED]>
Subject: test, please ignore, sorry
Date: Mon, 14 May 2001 10:45:49 +0800





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

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 12:49:57 +1000


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: "BolideWu" <[EMAIL PROTECTED]>
Subject: Re: test, please ignore, sorry
Date: Mon, 14 May 2001 10:47:26 +0800

test again.
"BolideWu" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
>
>



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

From: [EMAIL PROTECTED]
Subject: Re: I want DivX for Linux (NEWBIE)
Date: Mon, 14 May 2001 02:56:58 GMT

Gobbo <[EMAIL PROTECTED]> wrote:
> I got SuSE 7.1 with Kernel 2.4 and it seems to work fine, the last thing I 
> need to make it working perfectly is a divx-codec. but as i am a newbie i 
> don't know which files i need, where i can download them and where i have 
> to install them...

> thx in advance
> gobbo

http://divx.euro.ru/

The best divx encoder/decoder, IMHO...  I've always compiled from source,
but you might have better luck with an RPM instead.

Adam

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

From: "Olav Fossgaard" <[EMAIL PROTECTED]>
Subject: Re: permission denied?
Date: Mon, 14 May 2001 04:56:26 +0200

"marshall" <[EMAIL PROTECTED]> wrote:

> Newbie question:
> New clean install of Mandrake 8.0 with default package installation.
> Have downloaded staroffice 5.2 binary and trying to install it in the
> /home directory. However, when start a konsole session, go to /home and
> type ./so-5_2-----.bin, I get PERMISSION DENIED. So, I logged in as root
> and the same occurred. Does anyone have any ideas what I need to do to
> install these?
> 

Make the file executable first: "chmod +x filename.bin"

Olav

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

From: "Joel" <[EMAIL PROTECTED]>
Subject: memory and swaps.
Date: Sun, 13 May 2001 22:13:21 -0500

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.



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

From: wroot <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.debian.user
Subject: Re: eject privilege
Date: Sun, 13 May 2001 23:17:25 -0400

DanH wrote:

>> brw-rw----    1 root     disk      22,   0 Nov 30 10:22 /dev/hdc
> chmod 666 /dev/hdc

But how come I could mount /cdrom ?

Wroot


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

From: "Norm" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.security
Subject: Catch-22 on Red Hat 7.0+update rpms install
Date: Sun, 13 May 2001 20:24:19 -0700

I am faced with the problem of installing Red hat 7.0 plus the
updates from the Red Hat update site.  Attempting, logically,
to install the fixes in date order, I am faced with the
following problem:

When Red Hat updates a module for bug fixes or security more
than once, they go back to the older problem(s) for which
the module had to be updated for, and change the rpm involved
to the newest rpm for the module.  This makes sense in that
you would not have to update the module twice.  However, it
also results in dependency problems after many fixes have
occurred.

Example:  The 2nd and 23rd problems required updating rpm
"larry".  When you try to install larry-*.rpm and the other
rpms needed to fix problem #2, you find that larry-*.rpm
requires the new version of the "moe" rpm that was updated
for problem #17.  When you try to add moe-*.rpm into the rpm
command, you find that moe fails because "shemp" isn't
installed.  Try to install "shemp" and you find out it
multiply defines the routine "__eyepokeclient" along with the
installed version of the curly rpm.  Curly was updated along
with to fix problem #12 (at which point larry and moe could
be installed without curly but now required shemp).  And so
on...

Of course,the Red Hat Network will solve this problem for
you with up2date if you buy a subscription from them, but I
feel it should be possible to create a fully updated system
in some sort of systematic manner.  Has anyone come up with
one that works without a payment or subscription service?
--
Norm (This message does not constitute an endorsement of the
news service which inserted the advertisement below).





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

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: permission denied?
Date: Sun, 13 May 2001 22:35:10 -0500

Olav Fossgaard wrote:

> "marshall" <[EMAIL PROTECTED]> wrote:
> 
>> Newbie question:
>> New clean install of Mandrake 8.0 with default package installation.
>> Have downloaded staroffice 5.2 binary and trying to install it in the
>> /home directory. However, when start a konsole session, go to /home and
>> type ./so-5_2-----.bin, I get PERMISSION DENIED. So, I logged in as root
>> and the same occurred. Does anyone have any ideas what I need to do to
>> install these?
>> 
> 
> Make the file executable first: "chmod +x filename.bin"
> 
> Olav
> 

And don't forget to add the option following the command " /net", without 
the quotes of course.  The each user can cd into the program directory 
where office52 is installed and execute ./setup to install a small office52 
directory in home.

That way everybody has his own work space.


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

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: kgcc, where is it in rh 7.1?
Date: Sun, 13 May 2001 22:40:15 -0500

Bluesky wrote:

> I also check, and install all compat*.*, in both cd 1 & 2, they seem
> to be different, yet the message is that they are already installed.
> 
> Can I just rename the reference in Makefile from gcc to kgcc,
> as some gentleman pointed out some time ago ?
> 
> TIA
> 
> SN
> 
> ---
> 
> "Dave Uhring" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
>> John Doe wrote:
>>
>> > Can someone tell me how I
>> > can install kgcc for redhat 7.1?
>> >
>> > I looked under RPMS directories
>> > with cheapbytes cds 1 and 2 and
>> > cannot find anything named kgcc
>> >
>> > Thanks
>> >
>>
>> Look under 'compat'
>>
> 
> 

I have had some problems building with gcc-2.96 so I renamed gcc to 
gcc-2.96 and symlinked kgcc to gcc.

# mv /usr/bin/gcc /usr/bin/gcc-2.96
# ln -s /usr/bin/kgcc /usr/bin/gcc

and then you don't have to play with the Makefiles to get a compatible 
compiler.  Red Hat played with the Makefile in their Linux source tree, but 
that source tree is useless for building the alsa drivers.  So I got the 
2.4.4 kernel tarball off my server and built it.  Then I could build the 
alsa drivers.


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

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: kgcc, where is it in rh 7.1?
Date: Sun, 13 May 2001 22:43:44 -0500

Bluesky wrote:

> I also check, and install all compat*.*, in both cd 1 & 2, they seem
> to be different, yet the message is that they are already installed.
> 
> Can I just rename the reference in Makefile from gcc to kgcc,
> as some gentleman pointed out some time ago ?
> 
> TIA
> 
> SN
> 
> ---
> 
> "Dave Uhring" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
>> John Doe wrote:
>>
>> > Can someone tell me how I
>> > can install kgcc for redhat 7.1?
>> >
>> > I looked under RPMS directories
>> > with cheapbytes cds 1 and 2 and
>> > cannot find anything named kgcc
>> >
>> > Thanks
>> >
>>
>> Look under 'compat'
>>
> 
> 

Here are the compat packages which I have installed

compat-egcs-g77-6.2-1.1.2.14
compat-egcs-c++-6.2-1.1.2.14
compat-glibc-6.2-2.1.3.2
compat-egcs-6.2-1.1.2.14
compat-libs-6.2-3
compat-libstdc++-6.2-2.9.0.14
compat-egcs-objc-6.2-1.1.2.14

If you don't have the compat-egcs-6.2-1.1.2.14 installed, then you don't 
have kgcc.


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

From: somebody <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Linux in college & high school
Date: Mon, 14 May 2001 03:49:34 GMT

[EMAIL PROTECTED] (Carl Fink) stands accused of saying:

>On Sun, 13 May 2001 17:59:07 -0600 Dave Martel <[EMAIL PROTECTED]> wrote:
>
>>I started thinking about that after hitting Send. FreeBSD is derived
>>from BSD but I'm not sure what the relationship is between the
>>development team and Berkely.
>
>None.  See www.freebsd.org.  It's *based* on UC Berkeley 4.4BSD, though.

*sigh*.. .i guess u guys missed my hidden point.. i'll use the <sarcasm>
</sarcasm> tags next time.



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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: chown to another user (give a file away).
Date: Mon, 14 May 2001 01:11:28 GMT

SammyTheSnake writes:
> I can't really see why, though, if you can make a shell script to do your
> dirty work, you can do exactly the same with a C program...

There is a race condition in starting up an interpreter.  This is a FAQ.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI

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

From: Dave Martel <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Linux in college & high school
Date: Sun, 13 May 2001 21:43:56 -0600

On Mon, 14 May 2001 03:49:34 GMT, somebody <[EMAIL PROTECTED]> wrote:

>[EMAIL PROTECTED] (Carl Fink) stands accused of saying:
>
>>On Sun, 13 May 2001 17:59:07 -0600 Dave Martel <[EMAIL PROTECTED]> wrote:
>>
>>>I started thinking about that after hitting Send. FreeBSD is derived
>>>from BSD but I'm not sure what the relationship is between the
>>>development team and Berkely.
>>
>>None.  See www.freebsd.org.  It's *based* on UC Berkeley 4.4BSD, though.
>
>*sigh*.. .i guess u guys missed my hidden point.. i'll use the <sarcasm>
></sarcasm> tags next time.
>

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



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

From: Matthew Gardiner <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Linux in college & high school
Date: Mon, 14 May 2001 16:00:32 +1200

Mudshark wrote:
> 
> I taught an introduction to programming course at my high-school and
> used a linux server with great success. The students used ssh to
> connect to the server, learned vi, learned some shell programming,
> basic perl, c/c++, used the compilers, and even mucked around with
> awk/sed/grep and regular expressions. They were quite productive, and
> learned the command line easily.
> 
> I introduced a bunch of lower achieving kids to linux this semester.
> they are intrigued by the elegant command line interface, and have no
> problem learning basic commands and simple shell scripting.
> 
> The high-school is a fantastic place to introduce linux. there are
> tons of older 486 machines lying about with vga monitors everywhere,
> hell, slap linux on every one of them, and you have a state of the art
> programming/ tcp/ip networking environment in no time.
> 
> Kandah
> 
ALso, taking in account that most highschools don't have a few thousand
to throw here and there for the latest wizz bang piece of software. Most
Primary schools in New Zealand are using either Apple Mac's or Acorns,
and in high schools, either NT 4 or Win95.

Matthew Gardiner

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

From: "Jason Luther" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: ORiNOCO Wavelan Question
Date: Sun, 13 May 2001 20:36:10 -0700

It's not possible with any of the Linux drivers that are available. You'd
need drivers (and probably firmware) from Orinoco.

The only access point software I'm aware of is available for some
Intersil-based cards at http://www.linux-wlan.org/.

Good luck,
Jason

"Dan Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Does anyone know of a way to make a linux box with a wavelan card act
> like an access point instead of a peer-to-peer station?  I have a
> Silver ORiNOCO card installed and working in the linux box.  There are
> lots of things that do not work in peer-to-peer mode (like security
> apparantly) and I was wondering if you can get the linux box to act
> like an access point.  I know the lucent access points use the actual
> wavelan card in them, so I thought there might be a way..
>
> Thanks!
>
> --Dan



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

From: [EMAIL PROTECTED] (Lucius Chiaraviglio)
Subject: Re: fdisk without restart
Reply-To: [EMAIL PROTECTED]
Date: Mon, 14 May 2001 04:07:31 GMT

"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?

-- 
Lucius Chiaraviglio
New e-mail address is approximately:  [EMAIL PROTECTED]
To get the exact address:                         ^^^^^^^^^^^^^^^^^
Replace indicated characters with common 4-letter word meaning the same thing
and remove underscores (Spambots of Doom, take that!).

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


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