Linux-Misc Digest #422, Volume #21               Mon, 16 Aug 99 06:13:09 EDT

Contents:
  Re: why not C++? (Kaz Kylheku)
  Re: Netscape mail import (Philipp Maier)
  Re: why not C++? (Kaz Kylheku)
  Re: email server and clients for Linux (Robert Kiesling)
  Re: BT878 sound problems (Ralf Siemieniec)
  Re: why not C++? (Stephan Houben)
  Slakware, DSL, dhclient & dhcpd ("bob")
  CVS question (Nguyen-Dai Quy)
  Re: gcc: Internal compiler error: program cc1 got fatal signal 11 (Vilmos Soti)
  my own cron/crontab ([EMAIL PROTECTED])
  Re: Running a program as someone else (Kari Pahula)
  GNOME ppp applet solution (Tweezak)
  Re: VMware - wow! (Mike Willett LADS LDN X7563)

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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Date: Mon, 16 Aug 1999 07:54:30 GMT

On Mon, 16 Aug 1999 06:30:47 GMT, Cocheese <[EMAIL PROTECTED]> wrote:
>Dear Linux Community;
>
>     There has been a puzzling question on my mind for some time. First, I 
>admit i am no Linux Guru so this may be off the wall.
>
>
>*Why Is linux done primarily in the C programming language rather than 
>C++?*

For one thing, when Linux started out, g++ wasn't all that great. 
Only recently has g++ been whipped into shape by the EGCS project.

>     Again I admit it would take a little extra work and put a minor set 
>back in the evolution for a month or 2, but if C++ is so much faster, 

Rewriting significant system components such as the kernel to take advantage of
the features of C++ would not be a month or two setback.

>easier, and stable- WHY NOT?

Doh, because it's NOT so much faster, easier and more stable?  It's not faster
in run-time efficincy, nor in compile time. The history of g++ doesn't exactly
paint a picture of stability either.

C++ requires more extensive run time support. It gives you the object
orientation features, but you are stuck to how they are implemented by the
compiler. Many features in C++ are so complex that significant design choices
are involved in deciding how to implement them even without considering
machine dependencies. Once they are implemented a given way in a compiler,
the users are stuck with that.

Here is trivial example of C++ inflexibility. In C++, your concrete object has
to implement all pure virtual methods inherited from an interface base class.
Otherwise, invocations of that method cause a run time error (call to pure
virtual function).  In many places in the Linux, virtual methods that are not
implemented are represented by a null pointer. The code that wants to call
the method tests for null and bypasses. Don't want to implement poll() in your
driver?  No problem, just set it null.  You can't do this in C++ code without
compiler-specific tricks that are undefined at the language level. The
compiler-generated virtual tables are sacred and untouchable things that are
invisible to the programmer.  The usual escape hatch is to implement the
function, but have it return some ``I am not really implemented'' status.  That
is much more expensive since an actual dispatch has to take place.

Another problem in C++ is that only member functions of a class can be virtual,
not data members. In C, whatever mechanism you use to represent virtual
dispatch tables can also hold things that are not pointers.  Suppose that every
object in a class hierarchy has some characteristic that can be represented by
an integer. The characteristic is shared among all objects belonging to the
same class. In C++, you have to stick this characteristic into a base class
common to all the objects, or else use a virtual function to query the
characteristic. This is stupid, because the characteristic isn't settable for
each object, but is class-wide.  You would ideally want to have some way of
saying ``object->characteristic'' and have virtual lookup take place to return
the class-specific value, but it's not available.  You can do it easily if you
implement your own virtual table mechanisms. A virtual table done explicitly
can easily contain not only pointers to methods, but other class-specific data
as well.

In C++, when you start using multiple inheritance together with polymorphism,
things get very ugly at the compiler level. Depending on the vtable
implementation, you start seeing things like thunk code whose only job it is to
adjust an object pointer's value and then branch to some other code. Such
overheads exist even if you only use a subset of the full capabilities, such as
restricting yourself only to pure abstract base classes to create a single
concrete object.  In actual object oriented programming, this sort of interface
inheritance is frequently all that you need, but C++ compilers make you pay
for the features you are not using.

In Linux, multiple inheritance is handled in an efficient, straightforward
manner. An ``class'', such as driver, implements two or more interfaces, which
are just sets of functions.  Ppointers to these get stuffed into some
``operations'' structures that are static (that's another advantage to doing
things ``manually'': initialize vtables at run time!). The object then contains
some base part which contains a back pointer to the outer object. No
pointer-adjusting thunk functions are needed.  The method itself can frequently
do the conversion simply by retrieving the context pointer from the base part
that it was given in the call. You can almost see the machine code.  (Example
of multiple inheritance: the PPP driver, which is a kind of network device as
well as a kind of TTY line discipline).

>  There are many differences Between the two programming languages and 
>there are huge advantages to C++.

There are big advantages in C++, but I find that too many C versus C++
comparisons are based on false assumptions that none of the new C++ features
can be effectively simulated in C, or that the underlying techniques that the
C++ features support are unavailable to the C programmer.  Assumptions such as
``because C doesn't have classes, object-oriented programming is impossible,
or so difficult as to be utterly impractical''.

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

From: Philipp Maier <[EMAIL PROTECTED]>
Subject: Re: Netscape mail import
Date: Mon, 16 Aug 1999 09:57:09 +0000
Reply-To: [EMAIL PROTECTED]

Christopher Conway wrote:
> 
> I'm trying to move from Netscape Mail on Win98 to
> Linux, but the Linux version provides no mail import
> utility. I tried just copying over my mail dir, but
> the Linux version seems to have a problem with the
> *.snm files and sub-folders.
> 
> 1) Does anybody have some advice on making the
> transition from Netscape Win --> Netscape Linux?

AFAIK both formats are not compatible. Sorry...

PM

-- 

Psion Serie 5mx Pro, SuSE Linux, Sylt and Maerklin mini-club:

www.crosswinds.net/~pmaier

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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Date: Mon, 16 Aug 1999 08:05:07 GMT

On Mon, 16 Aug 1999 06:47:45 GMT, Satch <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Cocheese) wrote in
><[EMAIL PROTECTED]>: 
>
>>*Why Is linux done primarily in the C programming language rather than 
>>
>>C++?*
>
>Good question.  Let me propose an answer.  It has to do with the fact
>that the C++ environment has a lot of "baggage" that would adversely
>affect an operating system. 
>
>First, the object model with its constructors and destructors mandates a
>heavy-duty memory management routine...and usually that memory management
>routine is part of the operating system.  Chicken and egg problem... 

Constructors and destructors don't imply memory management. They are just
functions that initialize and deinitialize an object.  You have to have
constructors and destructors one way or another if you program using
abstract data types, because you need some way to bring each data object
into a sane state.

But there are disadvantages to C++ constructors. For one thing, they do not
return a value. The only sanctioned mechanism for indicating construction
failure is to throw an exception.  Exception handling requires run-time support
and causes an increase in object file size. It has only recently begun to be
properly supported by G++, thanks to EGCS. The implementation adds serious
bloat to object files. 

>Next, it's very difficult to predict how a C++ package is going to react
>in all circumstances, because there is more state inherent in a C++
>program than in a regular C program.  Dynamic detection of object type,
>and run-time binding of objects to subroutines means that you have more
>run-time overhead...and operating systems already take too many cycles
>for the services they provide. 

Linux has dynamic detections and virtual dispatches explicitly done in C.  For
the most part, the mechanisms are clean and easy to understand.  This can be
important if you are oops tracing after a crash.

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

From: [EMAIL PROTECTED] (Robert Kiesling)
Subject: Re: email server and clients for Linux
Date: 16 Aug 1999 06:12:17 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
Stearns25 <[EMAIL PROTECTED]> wrote:
>What email servers and clients are available for Linux?  In Windows, there is
>Exchange and Outlook/Eudora, for example.  What is the equivalent for Linux?
>
>If I set up my Linux (RH 6) box as a mail server, can the users access their
>mail using Eudora and/or Outlook?
>
>Any comments is appreciated.
>
>-al
>

If using POP, look at fetchmail and pop-perl5 for command line use, or
Netscape Communicator or TkRat if you want an all-in-one package.
Servers include the pop3d program, which I haven't used.  All
available on metalab.unc.edu.

Robert Kiesling

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

From: Ralf Siemieniec <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: BT878 sound problems
Date: Mon, 16 Aug 1999 10:22:57 +0200


==============C68F2F65CA393E3BC3BACB35
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Nick C. wrote:

> Trying to make this concise-
> I have an AverMedia TV98(BT878/Philips NTSC tuner), kernel 2.2.10, bttv
> drivers 0.6.4e (although the included bttv drivers in 2.2.10 have the same
> problem). When I try to use xawtv, I get a fine picture, but no sound. I'm
> installing the bttv module with "card=10 radio=0" and have uncommented
> "-D_RESET_MSP_HAUPPAUGE" in the Makefile. The msp3400 patch has been applied.
> I have tried setting "mixer = mixer" is .xawtv and trying all of the values
> I get from the error message, but none of them work. All that happens is that
> I get static and popping noises from my speakers after I load the modules
> but before I run xawtv. When I do run xawtv, the static and popping either
> stop or get very faint. I can hear the TV sound very faintly in the background.
>
> When I type dmesg, it appears that all the modules are loading without
> problems. I cannot, for the life of me, figure this problem out. This is
> the most trouble I have EVER had getting a piece of hardware to work with
> Linux, and I've been using Linux for years on many different computers.
> The AverMedia TV98 is a pretty popular card, so there must be SOMEONE who's
> gotten it to work with Linux, unless it just plain doesn't work.
>
> --
> Nick C. - <[EMAIL PROTECTED]> | E-mail address contains a spamblock
> "Stupidity should be painful."            | Remove IFRICKINHATESPAM to e-mail
> -Anton Szandor LaVey                      | [EMAIL PROTECTED] for the bots

I'm not sure if it works but maybe it is worth a try. There are some options for
the tuner type too (insmod tuner type=xx) which are described in the sources
drivers section, i guess the filename was MODULES. It finally worked in my case
(Hauppauge Win TV Theatre) after spending 3 weeks. But there is still one problem,
that the msp3400-module has to be included with insmod or modprobe each time I
reboot the system...   :-(

Ralf

--
***********************************************
*                                             *
*   Ralf 'Broesel' Siemieniec                 *
*   Dept.of  Solid State Electronics          *
*   Technical University of Ilmenau           *
*   PO BOX 100565                             *
*   D-98684 Ilmenau                           *
*   Germany                                   *
*                                             *
*   Phone : +49 3677 693225                   *
*   Fax   : +49 3677 693132                   *
*   e-mail: [EMAIL PROTECTED]   *
*                                             *
***********************************************



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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
Nick C. wrote:
<BLOCKQUOTE TYPE=CITE>Trying to make this concise-
<BR>I have an AverMedia TV98(BT878/Philips NTSC tuner), kernel 2.2.10,
bttv
<BR>drivers 0.6.4e (although the included bttv drivers in 2.2.10 have the
same
<BR>problem). When I try to use xawtv, I get a fine picture, but no sound.
I'm
<BR>installing the bttv module with "card=10 radio=0" and have uncommented
<BR>"-D_RESET_MSP_HAUPPAUGE" in the Makefile. The msp3400 patch has been
applied.
<BR>I have tried setting "mixer = mixer" is .xawtv and trying all of the
values
<BR>I get from the error message, but none of them work. All that happens
is that
<BR>I get static and popping noises from my speakers after I load the modules
<BR>but before I run xawtv. When I do run xawtv, the static and popping
either
<BR>stop or get very faint. I can hear the TV sound very faintly in the
background.
<P>When I type dmesg, it appears that all the modules are loading without
<BR>problems. I cannot, for the life of me, figure this problem out. This
is
<BR>the most trouble I have EVER had getting a piece of hardware to work
with
<BR>Linux, and I've been using Linux for years on many different computers.
<BR>The AverMedia TV98 is a pretty popular card, so there must be SOMEONE
who's
<BR>gotten it to work with Linux, unless it just plain doesn't work.
<P>--
<BR>Nick C. - &lt;[EMAIL PROTECTED]> | E-mail address contains
a spamblock
<BR>"Stupidity should be 
painful."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| Remove IFRICKINHATESPAM to e-mail
<BR>-Anton Szandor 
LaVey&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| [EMAIL PROTECTED] for the bots</BLOCKQUOTE>
I'm not sure if it works but maybe it is worth a try. There are some options
for the tuner type too (insmod tuner type=xx) which are described in the
sources drivers section, i guess the filename was MODULES. It finally worked
in my case (Hauppauge Win TV Theatre) after spending 3 weeks. But there
is still one problem, that the msp3400-module has to be included with insmod
or modprobe each time I reboot the system...&nbsp;&nbsp; :-(
<P>Ralf
<PRE>--&nbsp;
***********************************************
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 *
*&nbsp;&nbsp; Ralf 'Broesel' 
Siemieniec&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 *
*&nbsp;&nbsp; Dept.of&nbsp; Solid State 
Electronics&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *
*&nbsp;&nbsp; Technical University of 
Ilmenau&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *
*&nbsp;&nbsp; PO BOX 
100565&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 *
*&nbsp;&nbsp; D-98684 
Ilmenau&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 *
*&nbsp;&nbsp; 
Germany&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 *
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 *
*&nbsp;&nbsp; Phone : +49 3677 
693225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 *
*&nbsp;&nbsp; Fax&nbsp;&nbsp; : +49 3677 
693132&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 *
*&nbsp;&nbsp; e-mail: [EMAIL PROTECTED]&nbsp;&nbsp; *
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 *
***********************************************</PRE>
&nbsp;</HTML>

==============C68F2F65CA393E3BC3BACB35==


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

From: Stephan Houben <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Date: 16 Aug 1999 10:32:49 +0200

Cocheese <[EMAIL PROTECTED]> writes:

> Dear Linux Community;
> 
>      There has been a puzzling question on my mind for some time. First, I 
> admit i am no Linux Guru so this may be off the wall.
> 
> 
> *Why Is linux done primarily in the C programming language rather than 
> C++?*
> 
> 
>      Again I admit it would take a little extra work and put a minor set 
> back in the evolution for a month or 2, but if C++ is so much faster, 
> easier, and stable- WHY NOT?

C++ might be easier, but it's not faster, nor stabler, than C.
OK, this depends also on the implementation, but the only serious
free C++-compiler is GCC, and for GCC, this statement is true.

You might want to take into account that Linus still sticks with
an older compiler (2.7, IIRC), because some of the optimisations
in the newer GCC versions break some of the Linux source code.

If even fixing such "minor" problems are that difficult, imagine
what it would mean to convert the whole of Linux to C++.

>   There are many differences Between the two programming languages and 
> there are huge advantages to C++.

There are also huge disadvantages. 
C++ programs need a library for some of their more advanced language
constructs, such as new- and delete-operators, and exception handling. 
Note that kernel memory cannot be swapped out; in a user program,
relying on a big shared library from which not everything is used is
no problem, but in the kernel, it is.

>  The downside is "linux has always been a C based Program so it will always 
> be."   

A C++ Linux would probably mean a complete rewrite.
So who's stopping you from writing "Cocheex" ;-)

> *** BUT THEN AGAIN - ISN'T LINUX ALL ABOUT CHANGE? ***

Did you take a marketing course recently?

Greetings,

Stephan

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

From: "bob" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Slakware, DSL, dhclient & dhcpd
Date: Mon, 16 Aug 1999 02:06:02 -0700

Is there anyone out there currently doing dynamic IP assignment on a DSL
line using dhclient on linux-2.2.6 (Slakware). IP number being offered by
ISP being rejected by dhclient. Any clues?? Something in dhclient.log for
example?? Had circuit for 2 weeks now and still not able to get connected.
DSL on eth1.
LAN on eth0.

============================================================================
=======
send host-name "bat.bda.com";
send dhcp-client-identifier 0:A0:C9:82:C1:E8;
send dhcp-lease-time 3600;
supersede domain-name "bda.com";
prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
 domain-name, domain-name-servers, host-name;
require subnet-mask, domain-name-servers;
timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;
script "/etc/dhclient-script";
media "-link0 -link1 -link2", "link0 link1";
reject 192.21.41.11;

alias {
  interface "eth1";
  fixed-address 192.168.2.1;
  option subnet-mask 255.255.255.255;
}

lease {
  interface "eth1";
  fixed-address 192.168.2.1;
  medium "link0 link1";
  option host-name "bat.bda.com";
  option subnet-mask 255.255.255.0;
  option broadcast-address 192.168.2.255;
  option routers 192.168.2.1;
  option domain-name-servers 127.0.0.1;
  renew 2 2000/1/12 00:00:01;
  rebind 2 2000/1/12 00:00:01;
  expire 2 2000/1/12 00:00:01;
}

============================================================================
====================
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "bda.com";
option domain-name-servers bat.bda.com;

option subnet-mask 255.255.255.224;
default-lease-time 600;
max-lease-time 7200;

subnet 192.21.41.0 netmask 255.255.255.224 {
  option broadcast-address 192.21.41.255;
  option domain-name "bda.com";
  option routers bat.bda.com;
}

subnet 192.168.2.0 netmask 255.255.255.224 {
  option domain-name "bda.com";
  option routers bat.bda.com;
}

# The other subnet that shares this physical network
#subnet 204.254.239.32 netmask 255.255.255.224 {
#  range dynamic-bootp 204.254.239.10 204.254.239.20;
#  option broadcast-address 204.254.239.31;
#  option routers snarg.fugue.com;
#}

#subnet 192.5.5.0 netmask 255.255.255.224 {
#  range 192.5.5.26 192.5.5.30;
#  option name-servers bb.home.vix.com, gw.home.vix.com;
#  option domain-name "vix.com";
#  option routers 192.5.5.1;
#  option subnet-mask 255.255.255.224;
#  option broadcast-address 192.5.5.31;
#  default-lease-time 600;
#  max-lease-time 7200;
#}

# Hosts which require special configuration options can be listed in
# host statements.   If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.

#host passacaglia {
#  hardware ethernet 0:0:c0:5d:bd:95;
#  filename "vmunix.passacaglia";
#  server-name "toccata.fugue.com";
#}

# Fixed IP addresses can also be specified for hosts.   These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP.   Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
#host fantasia {
#  hardware ethernet 08:00:07:26:c0:a5;
#  fixed-address fantasia.fugue.com;
#}

# If a DHCP or BOOTP client is mobile and might be connected to a variety
# of networks, more than one fixed address for that host can be specified.
# Hosts can have fixed addresses on some networks, but receive dynamically
# allocated address on other subnets; in order to support this, a host
# declaration for that client must be given which does not have a fixed
# address.   If a client should get different parameters depending on
# what subnet it boots on, host declarations for each such network should
# be given.   Finally, if a domain name is given for a host's fixed address
# and that domain name evaluates to more than one address, the address
# corresponding to the network to which the client is attached, if any,
# will be assigned.
#host confusia {
#  hardware ethernet 02:03:04:05:06:07;
#  fixed-address confusia-1.fugue.com, confusia-2.fugue.com;
#  filename "vmunix.confusia";
#  server-name "toccata.fugue.com";
#}

#host confusia {
#  hardware ethernet 02:03:04:05:06:07;
#  fixed-address confusia-3.fugue.com;
#  filename "vmunix.confusia";
#  server-name "snarg.fugue.com";
#}

#host confusia {
#  hardware ethernet 02:03:04:05:06:07;
#  filename "vmunix.confusia";
#  server-name "bb.home.vix.com";
#}


TKSIA   bob

--
email - bklungle at ix dot netcom dot com



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

From: Nguyen-Dai Quy <[EMAIL PROTECTED]>
Subject: CVS question
Date: Mon, 16 Aug 1999 11:19:29 +0200

Hi,
I use CVS-1.10.2 on RH5.2. I use "cvs import" for importing 1 source to
repository.
Now I would like to remove it from repository.
I try
$ cvs remove -f toto/*

But there is always this module in $CVSROOT !

Any ideas for help me ?
Thanks.
-- 
NGUYEN-DAI Quy (http://bobo.ltas.ulg.ac.be/~quy)

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

From: Vilmos Soti <[EMAIL PROTECTED]>
Subject: Re: gcc: Internal compiler error: program cc1 got fatal signal 11
Date: Mon, 16 Aug 1999 07:56:45 GMT

davedude wrote:
> 
> Im havin a problem when making a new kernal. Im usin RH 6.0 and
> compiling 2.2.5. right of the cd. On a fresh install.
> 
> 
> I've been fightin this problem for a while now and gettin nowhere. I've
> gone though everythin I can think of. Any help will be greatly
> Appreciated :)
> 
> Thanks

Hi,

Sig 11 usually refers to flaky hardware. Take a look at
http://www.bitwizard.nl/sig11 and decide. This info can be found in
/usr/src/linux/Documentation/Configure.help file.

Vilmos

-- 
Looking for a job in British Columbia.
http://members.home.net/vilmossoti/resume.html

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

From: [EMAIL PROTECTED]
Subject: my own cron/crontab
Date: Mon, 16 Aug 1999 07:59:21 GMT

Suppose I am not the sys admin of a linux system
and I do not have access to the "main" crontab file.
Is it possible to start my own cron demon with my own crontab file ?
May be

/usr/bin/cron /usr/students/people/mycrontab

Is there any other possibility to perform tasks (perl scripts)
at certain times ?

What's the difference to "at" ?

Bye

Marcus


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: Kari Pahula <[EMAIL PROTECTED]>
Subject: Re: Running a program as someone else
Date: 16 Aug 1999 08:54:04 GMT

Jose <jose> wrote:
>Is there a way that root can run a program as a other user without su
>to that account?  Thanks

chmod u+s program
chown user program

See the respective man pages for more info.

su user -c program works nice too.

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

From: Tweezak <[EMAIL PROTECTED]>
Subject: GNOME ppp applet solution
Date: Mon, 16 Aug 1999 01:51:22 -0700

While running X I was able to connect using usernet as configured in
xconfigurator.  When I installed GNOME, I tried using the slick ppp
dialup utility and found I could only connect as root.  However, when I
ran usernet again as a user, I could connect with no problems.  I had
looked for hours for a permissions or path problem but found none.  I
saw several questions posted to various newsgroups about this same issue
so I thought I would put my fix out here.

Firstly, the following commands still worked for all users:

/sbin/ifup ppp0
/sbin/ifdown ppp0

After discovering that (thanks to usenet info), I decided to make my own
applet to run ifup and ifdown.  It turns out there is a second ppp
applet that comes with GNOME.  It is better concealed but it seems to
work for all users.  Here's how you get to it:

1. RIGHT click on an open space on the panel (taskbar, whatever)

2. Move your mouse up until "Add applet >" is highlighted.

3. Move your mouse over and down to "Network."

4. Select "PPP Dialer"

An icon will be added to your panel that looks like a play/pause and
stop button.  Click on the "play" button and your modem should dial. 
Click on the "stop" button and it should disconnect.  This is assuming
that you had working ppp in X before installing GNOME.

Hope this helps.

Tweezak
http://www.teleport.com/~tweezak/

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

From: [EMAIL PROTECTED] (Mike Willett LADS LDN X7563)
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: VMware - wow!
Date: 16 Aug 1999 08:45:15 GMT

In article <[EMAIL PROTECTED]>,
        Luis Paulo <[EMAIL PROTECTED]> writes:
>
>
>Mike Willett LADS LDN X7563 wrote:
>> 
>>
>> It certainly is a WOW!! I'm still on 30 day trial.
>> So far I've set up a virtual partition with Win95 which vmware
>> uses to boot.  I've then got my Linux to Samba across my Win 95 D:
>> and E: drives which contains my applications and data respectively
>> I've got Samba to allow me to print.
>> 
>> Word, Excel & Powerpoint are ok. Access gives licence errors.
>> (Maybe ini files ?)
>> 
>> My only "complaints" are
>> i)   I only posses a 266MHz and 96Mb RAM,  which is fine for
>>      Linux OR Windows but not BOTH!!!  (Can't really blame vmware
>>      for that though - but if they could see their way to giving
>>      me some extra hardware I won't turn it down).
>> 
>> ii)  it takes about 4-5 times longer than normal to shutdown
>>      Windows. Why is that ?
>> 
>
>Are you using a raw disk (your real c: disk) or are you using a virtual
>disk?
>Raw disk virtual machines are very slow, a virtual disk is much better,
>and with your hardware
>and in virtual disk mode you should get about 50% to 80% of windows
>native performance.
>The shutdown time you describe is more typical for a raw disk.

I'm using virtual disks for c: and samba disks for d: and e:

>> iii) I can't use the floppy from Linux. Vmware takes control of it.
>>      use the cdrom either from Linux but I have a CD-Writer
>>      as well so I don't care
>> 
>
>I believe you can. In your virtual machine window, under "Settings", you
>can enable or disable
>the floppy and cdrom, thus allowing other VM's or Linux to control it.

ah but I can only alter those before I enter a sessions rather in 
mid-session.


>> iv)  Sync-ing my real C: drive with all those *.ini files and *.dll
>>      files is a pain in the ass!! Maybe I won't bother attempting it.
>> 
>> v)   I can't use it to play Tomb Raider !!!
>> 
>
>I don't see why not, but I suggest you have a look at vmware newsgroups,
>(news.vmware.com) where these matters are discussed in detail, and by
>people who knows more about it than me.
>

I thought Direct X wasn't supported ?

Mike


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


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