Linux-Development-Sys Digest #26, Volume #7 Fri, 6 Aug 99 13:14:15 EDT
Contents:
clapack (Eduardo Cuansing)
Re: Network Driver Ioctl (Frank Sweetser)
Re: unique machine ID for Linux on ix86 platform? (Frank Sweetser)
Re: Rewriting Linux ..... (Marco Al)
Custom Install Screen (Kevin Waterson)
Re: no-lilo problem (Joe Pfeiffer)
Re: unique machine ID for Linux on ix86 platform? (Remco Wouts)
Re: Seeking Linux UDP broadcast forwarding solution ([EMAIL PROTECTED])
Re: Rewriting Linux ..... (H. Peter Anvin)
Re: Rewriting Linux ..... ("Sascha Bohnenkamp")
Re: unique machine ID for Linux on ix86 platform? (Etienne Lorrain)
Re: unique machine ID for Linux on ix86 platform? (Remco van den Berg)
Re: unique machine ID for Linux on ix86 platform? (Remco van den Berg)
Re: Parallel Sound Card Drivers (Grant Guenther)
Re: unique machine ID for Linux on ix86 platform? (Remco van den Berg)
Re: is there a book about the 2.2.x internals? ("Sascha Bohnenkamp")
Optimize Linux for AMD K6-2/3 ("mkloer")
Re: java compiler ("Rex Dieter")
Re: unique machine ID for Linux on ix86 platform? (Robert Krawitz)
Re: Rewriting Linux ..... (Andrew J Robbie)
Graphics Library (not X) (JC)
----------------------------------------------------------------------------
From: Eduardo Cuansing <[EMAIL PROTECTED]>
Subject: clapack
Date: Thu, 5 Aug 1999 23:50:03 -0500
Has anyone tried using CLAPACK in RH Linux (kernel 2.2.5)? How were you
able to write the makefile? I have already explicitly defined some
include files but the compiler still can not seem to see them...
Thanks in advance,
Ed
------------------------------
From: Frank Sweetser <[EMAIL PROTECTED]>
Subject: Re: Network Driver Ioctl
Date: 06 Aug 1999 00:26:28 -0400
[EMAIL PROTECTED] writes:
> I am trying to implement ioctls with a network driver. However I am
> confused as to where the driver is. In order to find the file
> descriptor
> of a character devices one simply uses
> file =fopen("dev/foo","r");
> fd=fileno(file);
>
> and
>
> ioctl(fd,cmd,arg);
>
>
> but the network interface doesn't appear on the filesystem. what do i
> do?
you can do ioctl on a socket as well. after all, it's just another file
descriptor...
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public servers
It's a brave man who, when things are at their darkest, can kick back and
party!
-- Dennis Quaid, "Inner Space"
------------------------------
From: Frank Sweetser <[EMAIL PROTECTED]>
Subject: Re: unique machine ID for Linux on ix86 platform?
Date: 06 Aug 1999 00:24:30 -0400
[EMAIL PROTECTED] (Andreas Dilger) writes:
> In article <[EMAIL PROTECTED]>,
> Eric Hegstrom <[EMAIL PROTECTED]> wrote:
> >Well, how about having a license server on some sort of "secure"
> >(meaning trusted and controlled access) machine on the internal company
> >network. This license server could then validate requests from machines
> >running this software. Are there any free license server packages out
> >there?
> >
> >Wouldn't this be considered a technical solution?
>
> It would be a technical solution that wouldn't prevent someone from
> abusing the software.
not entirely true. the cryptography field has developed authentication
protocols that could indeed limit the number of copies of a given software
package active at any given time, and also safely check for the existence
of a valid, non-easily-fakable, unique key. of course, you then go from
the machine being a SPOF for the software running on that machine, to the
license server being a SPOF for that software package running on *all* your
machines. ask our unix admins some time how much they like the FlexLM
license manage, and you'll get an idea =)
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public servers
It's a brave man who, when things are at their darkest, can kick back and
party!
-- Dennis Quaid, "Inner Space"
------------------------------
From: Marco Al <[EMAIL PROTECTED]>
Subject: Re: Rewriting Linux .....
Date: Fri, 06 Aug 1999 07:32:45 +0200
Indigo news wrote:
>
> hi,
> I was just wondering if anyone here was interested in trying to port linux
> from a monolithic kernel to a micro kernel. This sounds like a really big
> thing, but hopefully, with a bit of work, it should be possible to allow the
> execution of programs that were designed for the monolithic approach.
> John Hennessy
> [EMAIL PROTECTED]
Something like http://os.inf.tu-dresden.de/L4/LinuxOnL4/ you mean? :)
Marco
------------------------------
From: Kevin Waterson <[EMAIL PROTECTED]>
Subject: Custom Install Screen
Date: Fri, 06 Aug 1999 16:11:38 +1000
How is the installation screen Customized..
Is there some sort of docs?
Is this done with syslinux or mtools
Kind regards
Kevin
--
_ _
/ / (_)__ __ ____ __ [EMAIL PROTECTED]
/ /__/ / _ \/ // /\ \/ / Systems Administator
/____/_/_//_/\_,_/ /_/\_\ ...... http://www.oceania.net ......
------------------------------
From: Joe Pfeiffer <[EMAIL PROTECTED]>
Subject: Re: no-lilo problem
Date: 05 Aug 1999 09:54:42 -0600
"J. Escalante" <[EMAIL PROTECTED]> writes:
> Since I don't have any other OS than Linux Slackware running in my
> computer, what I want is not to
> have lilo at boot up time.
> The small partition where DOS resided, I made it the swap partition and
> the rest is all Linux.
> Using fdisk, I toggled the boot switch in the big partition, now that I
> rebooted my machine, I got a
> message saying that there was not operating system.
> I really don't know what the problem could be, but I want to get rid of
> LILO and any other OS, but
> LINUX.
You have to have LILO. A bit more precisely, you have to have a boot
loader -- something sitting in the boot sector that tells the machine
how to load the OS. The normal boot loader for Linux is LILO.
--
Joseph J. Pfeiffer, Jr., Ph.D. Phone -- (505) 646-1605
Department of Computer Science FAX -- (505) 646-1002
New Mexico State University http://www.cs.nmsu.edu/~pfeiffer
------------------------------
Subject: Re: unique machine ID for Linux on ix86 platform?
From: Remco Wouts <[EMAIL PROTECTED]>
Date: 06 Aug 1999 10:25:43 +0200
[EMAIL PROTECTED] (Remco van den Berg) writes:
> On Thu, 05 Aug 1999 14:10:03 GMT, Stuart R. Fuller wrote:
> >Remco van den Berg ([EMAIL PROTECTED]) wrote:
> >: Are there any solutions known for getting an unique system ID from Linux
> >: machine on an ix86 architecture?
why don't you use a dongle?
--
remco
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.networking
Subject: Re: Seeking Linux UDP broadcast forwarding solution
Date: 6 Aug 1999 16:24:00 +0800
Have a check on ipportfw in Linux networking.
In comp.os.linux.networking epadin <[EMAIL PROTECTED]> wrote:
> The Cisco router has a 'udp forward' command whereby you specify the
> UDP port and it will forward all UDP broadcast traffic seen on the
> port. I am seeking a program that will emulate this Cisco feature on a
> Linux machine. My company is willing to pay for a programmer to develop
> this program if it is not already part of the already available
> programs out there.
------------------------------
From: [EMAIL PROTECTED] (H. Peter Anvin)
Subject: Re: Rewriting Linux .....
Date: 6 Aug 1999 07:22:31 GMT
Reply-To: [EMAIL PROTECTED] (H. Peter Anvin)
Followup to: <7oe20e$3nn$[EMAIL PROTECTED]>
By author: "Sascha Bohnenkamp" <[EMAIL PROTECTED]>
In newsgroup: comp.os.linux.development.system
>
> >> I was just wondering if anyone here was interested in trying to
> >> port linux from a monolithic kernel to a micro kernel. This
> >> sounds like a really big thing, but hopefully, with a bit of
> >> work, it should be possible to allow the execution of programs
> >> that were designed for the monolithic approach.
> >
> >I've been thinking about it for one reason: To save some recompilations.
> how much of those 2min. will you save than? *grin*
>
That's what modules and initrd are for.
-hpa
--
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
------------------------------
From: "Sascha Bohnenkamp" <[EMAIL PROTECTED]>
Subject: Re: Rewriting Linux .....
Date: Fri, 6 Aug 1999 09:16:09 +0200
>> I was just wondering if anyone here was interested in trying to port
linux
>> from a monolithic kernel to a micro kernel. This sounds like a really big
>> thing, but hopefully, with a bit of work, it should be possible to allow
the
>> execution of programs that were designed for the monolithic approach.
>
>I've been thinking about it for one reason: To save some recompilations.
how much of those 2min. will you save than? *grin*
------------------------------
From: Etienne Lorrain <[EMAIL PROTECTED]>
Subject: Re: unique machine ID for Linux on ix86 platform?
Date: Fri, 06 Aug 1999 10:01:10 +0100
Andreas Dilger wrote:
> ...
> With Linux, you have to trust the users, as it's almost impossible to
> have a "node locked license", because you can ALWAYS change the kernel
> to return a different MAC address, or "fake" a call to a remote system
> for authentication. The only real secure way would be to have important
> parts of the application NOT RUN ON THE LOCAL SYSTEM. This would be a
> kind of "client-server security", which could be done with Sun RPC, or
> even better, DCE, which was designed for this type of application.
Another way to have an important part of the application not on
the system would be to have it on an hardware parallel port plug
key, one of the intelligent one which can crypt and decrypt.
I think, IHMO, that storing all constant data (if you have big arrays)
or even a part of the code on the PC, as encrypted, and for your program
to run you have to send all encrypted information to the key (for
decryption), is a quite good protection: the protection is a physical
device you have to watch for. Someone with a good knowledge could
debug (with gdb) your software to get back the decrypted data,
so you should not decrypt all at once in your application, but anyway
if he has access to the key he can also steal it, that is simpler for
him. It is then better to _not_ have the PC on a network.
You could also have the complete application running on a parport
key if they were enought powerfull...
The problem is that (I think) nobody has made such a parport key,
with the basic libraries (you need the source to check them!),
for Linux or other PC Unix system.
Just my 0.002,
Etienne.
------------------------------
From: [EMAIL PROTECTED] (Remco van den Berg)
Subject: Re: unique machine ID for Linux on ix86 platform?
Date: 6 Aug 1999 11:49:55 GMT
On 6 Aug 1999 00:53:19 GMT, Andreas Dilger wrote:
>In article <[EMAIL PROTECTED]>,
>Eric Hegstrom <[EMAIL PROTECTED]> wrote:
>>Well, how about having a license server on some sort of "secure"
>>(meaning trusted and controlled access) machine on the internal company
>>network. This license server could then validate requests from machines
>>running this software. Are there any free license server packages out
>>there?
>>
>>Wouldn't this be considered a technical solution?
>
>In the end, it is better just to give the code to people you trust, or
>have them sign an NDA, or bank on good human nature. Most applications
>these days don't have such hassles because it costs more to handle the
>administrative problems that it does to lose some sales to "pirates".
Sales is not the problem, but the "intellectual property" inside the
application.
- Remco van den Berg
============================================================================
Philips Semiconductors B.V. tel:(+31 40 27)22031 fax:22764 Room: BE-326
mailto:[EMAIL PROTECTED] seri: rvdberg@nlsce1
home Email: [EMAIL PROTECTED] (preferred for non-commercial mail)
============================================================================
Microsoft and Lotus Notes free. Don't send me any Microsoft attachments.
============================================================================
------------------------------
From: [EMAIL PROTECTED] (Remco van den Berg)
Subject: Re: unique machine ID for Linux on ix86 platform?
Date: 6 Aug 1999 11:43:19 GMT
>> The problem is that I want to make some software only for internal Philips
>> usage. The software is confidential. That's why.
>
>Mark it confidential? - or haven't you got trust in the users?
Students?!
>Or you could consider to have the software run on a server, to which
>will connect to use the program. This ensures, that the software will
>not be duplicated...
We don't want to use our own computing resources. That's why I wanted
to port the application to Linux and put some protection in it.
- Remco van den Berg
============================================================================
Philips Semiconductors B.V. tel:(+31 40 27)22031 fax:22764 Room: BE-326
mailto:[EMAIL PROTECTED] seri: rvdberg@nlsce1
home Email: [EMAIL PROTECTED] (preferred for non-commercial mail)
============================================================================
Microsoft and Lotus Notes free. Don't send me any Microsoft attachments.
============================================================================
------------------------------
From: [EMAIL PROTECTED] (Grant Guenther)
Subject: Re: Parallel Sound Card Drivers
Date: 6 Aug 1999 11:29:40 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 04 Aug 1999 14:02:05 -0400, Shawn Craver <[EMAIL PROTECTED]> wrote:
>I have been told that the sound card built into my backpack clone will
>not work under linux. My questions are this:
> 1.) Is this true?
> 2.) If so, would it be worth my time to try and write a driver or
>would it be too
> hard?
> 3.) Where would be a good place to look for information on how to go
>about
> writing such a driver (I am very familliar with C, just never
>written a linux
> driver before) ?
What do you mean by backpack "clone" ?
I'm probably the person you should be talking to - so contact me directly
and we can see what the possibilities are.
==========================================================================
Grant R. Guenther [EMAIL PROTECTED]
==========================================================================
------------------------------
From: [EMAIL PROTECTED] (Remco van den Berg)
Subject: Re: unique machine ID for Linux on ix86 platform?
Date: 6 Aug 1999 11:55:07 GMT
On 06 Aug 1999 10:25:43 +0200, Remco Wouts wrote:
>[EMAIL PROTECTED] (Remco van den Berg) writes:
>
>> On Thu, 05 Aug 1999 14:10:03 GMT, Stuart R. Fuller wrote:
>> >Remco van den Berg ([EMAIL PROTECTED]) wrote:
>> >: Are there any solutions known for getting an unique system ID from Linux
>> >: machine on an ix86 architecture?
>why don't you use a dongle?
>--
>remco
'cause I hate dongles!
--
- Remco van den Berg
============================================================================
Philips Semiconductors B.V. tel:(+31 40 27)22031 fax:22764 Room: BE-326
mailto:[EMAIL PROTECTED] seri: rvdberg@nlsce1
home Email: [EMAIL PROTECTED] (preferred for non-commercial mail)
============================================================================
Microsoft and Lotus Notes free. Don't send me any Microsoft attachments.
============================================================================
------------------------------
From: "Sascha Bohnenkamp" <[EMAIL PROTECTED]>
Subject: Re: is there a book about the 2.2.x internals?
Date: Fri, 6 Aug 1999 15:35:03 +0200
no
------------------------------
From: "mkloer" <[EMAIL PROTECTED]>
Subject: Optimize Linux for AMD K6-2/3
Date: Fri, 06 Aug 1999 14:03:26 GMT
Hi! Can I optimize/compile Applikations especially for the AMD K6-2/3?
Can I optimize the Kernel too? Thanks
--
Posted via Talkway - http://www.talkway.com
Exchange ideas on practically anything (tm).
------------------------------
From: "Rex Dieter" <[EMAIL PROTECTED]>
Subject: Re: java compiler
Date: Fri, 6 Aug 1999 08:27:04 -0500
Timothy Murphy wrote in message <7oajcu$[EMAIL PROTECTED]>...
>Jonathan Geach <[EMAIL PROTECTED]> writes:
>
>>RH6 actually comes with kaffe, I don't really like it though, but it is
already
>>on the cd if you want it. If you are serious though, use IBM's JDK.
>>http://alphaworks.ibm.com
>
>This is slightly misleading.
>For the standard Linux Java compiler, see http://www.blackdown.org/ .
There's nothing misleading about it.
Kaffe can do java and compile java.
IBM's JDK is very good and faster than Blackdown's JDK.
Rex Dieter
Computer System Administrator
Mathematics and Statistics
University of Nebraska Lincoln
------------------------------
From: Robert Krawitz <[EMAIL PROTECTED]>
Subject: Re: unique machine ID for Linux on ix86 platform?
Date: 06 Aug 1999 11:13:05 -0400
[EMAIL PROTECTED] (Remco van den Berg) writes:
> >> The problem is that I want to make some software only for internal Philips
> >> usage. The software is confidential. That's why.
> >
> >Mark it confidential? - or haven't you got trust in the users?
>
> Students?!
Students are people too!
> >Or you could consider to have the software run on a server, to which
> >will connect to use the program. This ensures, that the software will
> >not be duplicated...
>
> We don't want to use our own computing resources. That's why I wanted
> to port the application to Linux and put some protection in it.
You're really asking a lot here: you want to restrict the application
to certain machines (but not your own), you don't want to use a
dongle, you don't want to trust your users.
The PC architecture does not have any kind of host ID built in. Other
platforms (such as Suns) do, but even in Solaris it's possible to hack
the kernel to make it return something else. On Linux it would be
even easier, assuming that a hardware host ID existed: since the
entire kernel source is available, simply hack it (this isn't going to
be running on your machines, since you specifically don't want to use
your own resources).
--
Robert Krawitz <[EMAIL PROTECTED]> http://www.tiac.net/users/rlk/
Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail [EMAIL PROTECTED]
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
------------------------------
From: [EMAIL PROTECTED] (Andrew J Robbie)
Subject: Re: Rewriting Linux .....
Date: Sat, 07 Aug 1999 02:22:29 +1000
In article <[EMAIL PROTECTED]>, M van Oosterhout
<[EMAIL PROTECTED]> wrote:
> Indigo news wrote:
> >
> > hi,
> > I was just wondering if anyone here was interested in trying to port linux
> > from a monolithic kernel to a micro kernel. This sounds like a really big
> > thing, but hopefully, with a bit of work, it should be possible to allow the
> > execution of programs that were designed for the monolithic approach.
See the MkLinux project. It is a co-located Mach kernel and linux
server running on PowerPC systems (maybe others?). It is reputedly
a tad slower than the monolithic LinuxPPC. However, this is perhaps
a bit biased as all the application programs are designed and
compiled for a monlithic model.
There are many other micro and nano kernels around, such as MacOS X (via
NeXT) / Darwin, Fiasco/L4, GNU Debian/Hurd etc.
> There was a famous discussion between Tanenbaum and Linus a few
> years back, with Tanenbaum arguing the merits of micro-kernels.
>
> Basically, WHY do you want a microkernel?
>
> Microkernels are not intrinsically any better than monolithic kernels.
> Anything can be done in either.
You could write all software in assembler too, but I doubt you could
feasably do "anything". The nice feature of micro kernels is the
provision for greater kernel modularity and reliability. So to say the
monolithic linux kernel is 'better' than a microkernel (and there are
micro kernels other than Mach) is just propaganda.
> Also, programs do not care whether the kernel is micro or monolithic.
> It's called an implementation specific detail.
This is not true. There are many things which smarter and better
designed OS can do which the standard unix clone struggles with.
Look a bit beyond hello world.
In article <[EMAIL PROTECTED]>, Erik de Castro Lopo
<[EMAIL PROTECTED]> wrote:
# Before you embark on this project I suggest you do a bit of research.
#
# Firstly read the full discussion Linus had with Andrew Tannenbaum (sp?)
# about the pros and cons of monolithic vs micro-kernels :
#
# http://www.dina.kvl.dk/%7Eabraham/Linus_vs_Tanenbaum.html
#
# This argument took place some time ago and Linux has since added
# loadable kernel modules which is bascially what micro-kernels are
# all about.
This is one of those priceless over-simplifications / misunderstandings
that usenet and the media is so good at. I hope you don't mind if I put
it in my sig file, to be repeated for others to be flabbergasted at.
Regards,
Andrew
--
Signature being reconstructed to meet draft IEEE sig standard.
------------------------------
From: JC <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.x
Subject: Graphics Library (not X)
Date: Fri, 06 Aug 1999 16:31:02 GMT
Hello,
This may probably sound stupid to most of you but
I'm just a Linux newbie.
So far, I've been programming console apps in Linux using
gcc and cc.
I'm now interested to know how to program in graphics mode.
I don't know how to explain this but I used to program
in DOS using Borland Turbo C, which has a (documented) graphics
library. I'm sure some of you know what I'm talking about
and have used it.
I'm looking for an equivalent in gcc linux. (It doesn't have
graphics.h does it?) I don't want to resort to assembly language
since I know linux has a (documented) graphics library somehow.
Please help me, I'd really appreciate it.
Please email me. Thank you!
JC
[EMAIL PROTECTED]
================== Posted via CNET Linux Help ==================
http://www.searchlinux.com
------------------------------
** 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.development.system) 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-Development-System Digest
******************************