Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Linux programming
       [not found] <19980226032654.25200.qmail@hotmail.com>
@ 1998-02-26  3:46 ` Keith Baker
  0 siblings, 0 replies; 13+ messages in thread
From: Keith Baker @ 1998-02-26  3:46 UTC (permalink / raw)


Where can I get extensive linux programming info?  I am trying to write
some pretty basic stuff and haven't been able to find a good source.  I
know my basic linear programming, but not threaded stuff.  I just tried to
read about "pipes" and they talked about fork() and never explained it...
What am I to do?

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux programming
       [not found] <Pine.BSI.3.95.980225224400.10514A-100000@shell1.cybercom.net>
@ 1998-02-26  3:59 ` Michal Jaegermann
  0 siblings, 0 replies; 13+ messages in thread
From: Michal Jaegermann @ 1998-02-26  3:59 UTC (permalink / raw)


> 
> Where can I get extensive linux programming info?

Wrox Press a while ago had a book which looked quite decent.
Try www.wrox.com.

> I am trying to write
> some pretty basic stuff and haven't been able to find a good source.  I
> know my basic linear programming, but not threaded stuff.

Eh? "Linear programming" is about optimizing solution to a set
of linear inequalities with constraints and computers are used there
only as calculation tools tools.  

> I just tried to
> read about "pipes" and they talked about fork() and never explained it...

This is not a threaded stuff either.  Any book on advanced Unix
programming will do.  Stevens is a classical reference.

  Michal

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux programming
@ 1998-02-26 16:02 David Tucker
  0 siblings, 0 replies; 13+ messages in thread
From: David Tucker @ 1998-02-26 16:02 UTC (permalink / raw)


From My book shelf:
    "Advanced programming in the UNIX environment" by Richard Stevens
ISBN 0-201-56317-7

Dave

-----Original Message-----
From: Keith Baker <toaster@cybercom.net>
To: axp-list@redhat.com <axp-list@redhat.com>
Date: Wednesday, February 25, 1998 7:46 PM
Subject: Linux programming

>Where can I get extensive linux programming info?  I am trying to write
>some pretty basic stuff and haven't been able to find a good source.  I
>know my basic linear programming, but not threaded stuff.  I just tried to
>read about "pipes" and they talked about fork() and never explained it...
>What am I to do?
>
>-- 
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
>
>

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* NIC's
@ 1998-10-27  2:26 Steve G
  1998-10-27  6:36 ` NIC's Maurice Hilarius
  1998-10-27  8:41 ` NIC's W Darlington
  0 siblings, 2 replies; 13+ messages in thread
From: Steve G @ 1998-10-27  2:26 UTC (permalink / raw)
  To: Alpha-Linux List (E-mail)

Hey everyone,

Does anyone have a suggested place of retail for a good 10/100 PCI NIC for
Linux 5.1?  I'm looking for either the DEC Tulip variety or maybe the 3C-905
NIC's they don't seem to make anymore.  I can find plenty 905B's though...

Thanks for the help!

Regards,

Steve




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: NIC's
  1998-10-27  2:26 NIC's Steve G
@ 1998-10-27  6:36 ` Maurice Hilarius
  1998-10-27 17:09   ` NIC's Steve G
  1998-10-27 17:23   ` NIC's Wes Bauske
  1998-10-27  8:41 ` NIC's W Darlington
  1 sibling, 2 replies; 13+ messages in thread
From: Maurice Hilarius @ 1998-10-27  6:36 UTC (permalink / raw)
  To: axp-list

With regards to your message at 08:26 PM 10-26-98 -0600, Steve G. Where you
stated:
>Hey everyone,
>
>Does anyone have a suggested place of retail for a good 10/100 PCI NIC for
>Linux 5.1?  I'm looking for either the DEC Tulip variety or maybe the 3C-905
>NIC's they don't seem to make anymore.  I can find plenty 905B's though...
>
Hey Steve. The Netgear FA310TX is radily available, and cheap like borscht
in Edmonton.

Going prices are around $35.

They also have a kit ( called an SB104 ) with 2 of the 10/100 cards, a
4-port hub, and 2 25' cables for around $100.
Netgear is well distributed, so phone around..


Best regards,

  Maurice W. Hilarius                   Telephone: 01-403-414-9319
  Hard Data Ltd.                      **FAX:       01-403-456-1510
  11060 - 166 Avenue                    email:maurice@harddata.com
  Edmonton, AB, Canada  - T5X 1Y3       http://www.harddata.com
  


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: NIC's
  1998-10-27  2:26 NIC's Steve G
  1998-10-27  6:36 ` NIC's Maurice Hilarius
@ 1998-10-27  8:41 ` W Darlington
  1 sibling, 0 replies; 13+ messages in thread
From: W Darlington @ 1998-10-27  8:41 UTC (permalink / raw)
  To: axp-list

Hi Y'all,

On Mon, Oct 26, 1998 at 08:26:51PM -0600, Steve G wrote:
> Does anyone have a suggested place of retail for a good 10/100 PCI NIC for
> Linux 5.1?  I'm looking for either the DEC Tulip variety or maybe the 3C-905
> NIC's they don't seem to make anymore.  I can find plenty 905B's though...

I'm very fond of the D-Link DFE-500TX, a tulip-based card. I put them in all
my Linux boxes. I get them from http://www.cclcomputers.co.uk for about twenty
five pounds sterling, plus VAT etc.

Regards,
Wesley Darlington,
Dept of Applied Maths,               No `Office 97' documents please.
Queen's University of Belfast.        The X11R6 four - free at last!
(01232) T 273911 F 239182


^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: NIC's
  1998-10-27  6:36 ` NIC's Maurice Hilarius
@ 1998-10-27 17:09   ` Steve G
  1998-10-27 17:56     ` NIC's Michal Jaegermann
  1998-10-27 17:23   ` NIC's Wes Bauske
  1 sibling, 1 reply; 13+ messages in thread
From: Steve G @ 1998-10-27 17:09 UTC (permalink / raw)
  To: axp-list; +Cc: maurice

I have heard of people using the netgear cards, but don't recall seeing that
driver in the kernel...  Is there a "netgear" element, or is it enabled by
some other driver?

Thanks.

Regards,

Steve

-----Original Message-----
From:	Maurice Hilarius [mailto:maurice@harddata.com]
Sent:	Tuesday, October 27, 1998 12:37 AM
To:	axp-list@redhat.com
Subject:	Re: NIC's

With regards to your message at 08:26 PM 10-26-98 -0600, Steve G. Where you
stated:
>Hey everyone,
>
>Does anyone have a suggested place of retail for a good 10/100 PCI NIC for
>Linux 5.1?  I'm looking for either the DEC Tulip variety or maybe the
3C-905
>NIC's they don't seem to make anymore.  I can find plenty 905B's though...
>
Hey Steve. The Netgear FA310TX is radily available, and cheap like borscht
in Edmonton.

Going prices are around $35.

They also have a kit ( called an SB104 ) with 2 of the 10/100 cards, a
4-port hub, and 2 25' cables for around $100.
Netgear is well distributed, so phone around..


Best regards,

  Maurice W. Hilarius                   Telephone: 01-403-414-9319
  Hard Data Ltd.                      **FAX:       01-403-456-1510
  11060 - 166 Avenue                    email:maurice@harddata.com
  Edmonton, AB, Canada  - T5X 1Y3       http://www.harddata.com


--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: NIC's
  1998-10-27  6:36 ` NIC's Maurice Hilarius
  1998-10-27 17:09   ` NIC's Steve G
@ 1998-10-27 17:23   ` Wes Bauske
  1 sibling, 0 replies; 13+ messages in thread
From: Wes Bauske @ 1998-10-27 17:23 UTC (permalink / raw)
  To: axp-list

Maurice Hilarius wrote:
> 
> With regards to your message at 08:26 PM 10-26-98 -0600, Steve G. Where you
> stated:
> >Hey everyone,
> >
> >Does anyone have a suggested place of retail for a good 10/100 PCI NIC for
> >Linux 5.1?  I'm looking for either the DEC Tulip variety or maybe the 3C-905
> >NIC's they don't seem to make anymore.  I can find plenty 905B's though...
> >
> Hey Steve. The Netgear FA310TX is radily available, and cheap like borscht
> in Edmonton.
> 
> Going prices are around $35.
> 
> They also have a kit ( called an SB104 ) with 2 of the 10/100 cards, a
> 4-port hub, and 2 25' cables for around $100.
> Netgear is well distributed, so phone around..
> 

Watch out on the FA310TX. I was in Fry's this weekend
and the chip name no longer says Digital 21140AF, which
is what my last two I bought were. I think they now say
"Netgear" on them....

Chip is the same shape as the 21140AF so it could very
well be a Digital chip with different printing on it.

Just a word of warning. Best to always look to see if
the chip is labeled as expected on any card you buy.

I bought a d-link 10/100 and a GDS 10/100 card this
weekend which have new chips on them (both are different
from a 21140AF and between them they are different).
Got them for $20 each to test out what they are. I'll
probably ask over on Donald Becker's site about them
to see if they are 21140 clones or what...


Wes


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: NIC's
  1998-10-27 17:09   ` NIC's Steve G
@ 1998-10-27 17:56     ` Michal Jaegermann
  1998-10-27 19:37       ` Linux Programming Keith Baker
       [not found]       ` <Pine.BSI.3.95.981027142710.9960A-100000@shell1.cybercom.ne t>
  0 siblings, 2 replies; 13+ messages in thread
From: Michal Jaegermann @ 1998-10-27 17:56 UTC (permalink / raw)
  To: axp-list

Steve G wrote:
> 
> I have heard of people using the netgear cards, but don't recall seeing that
> driver in the kernel...  Is there a "netgear" element, or is it enabled by
> some other driver?

Last time I tried they worked just fine both with current tulip and
de4x5 drivers.

You have to look at a chip used (the latest D-Link cards need "VIA
Rhine" driver - included in 2.0.36pre - for example).

  --mj


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Linux Programming...
  1998-10-27 17:56     ` NIC's Michal Jaegermann
@ 1998-10-27 19:37       ` Keith Baker
  1998-10-27 20:02         ` Jeff Noxon
  1998-10-27 20:07         ` Paul Tomblin
       [not found]       ` <Pine.BSI.3.95.981027142710.9960A-100000@shell1.cybercom.ne t>
  1 sibling, 2 replies; 13+ messages in thread
From: Keith Baker @ 1998-10-27 19:37 UTC (permalink / raw)
  To: axp-list

I have a basic knowledge of C and C++ programming.  What I would like to
get is some links/information on interrupts,threads, and parallel ports.
I can't even find a way to pause my machine for a certail period of time
without doing a loop to slow it down...  Where is all of this wonderfull
info...  I'd like to have a process which "wakes up" every 1/30 of a
second or so, does its task which is simple i/o and then goes back to
sleep.  Oh yeah...  one catch...  The data to output needs to be shared
with another process.  Is two seperate processes really the way to go?  If
not, how do I create this non-linear time based jumping?
Should I just go jump off a bridge instead?  Do I know to little to
attempt thease things?  Oh yeah...  How do I use the parallel port in
linux...  I know I could use a setuid root program and ioperm but I'd like
to be able to access my device from joe shmoe user...  it is a simple box
which takes two different inputs...  its a small DMX interface (A lighting
protocol)..  you strobe a pin to make it klisten for dimmer info and
strobe another to make it listen for level info...  do I need to write a
kernel driver for this?  If so, what resources should I look at?
					Keith


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux Programming...
  1998-10-27 19:37       ` Linux Programming Keith Baker
@ 1998-10-27 20:02         ` Jeff Noxon
  1998-10-27 20:07         ` Paul Tomblin
  1 sibling, 0 replies; 13+ messages in thread
From: Jeff Noxon @ 1998-10-27 20:02 UTC (permalink / raw)
  To: axp-list

Egads!  A delay loop on a multitasking system!

What you want to do is not difficult.

This will provide some instant enilghtenment and gratificaion:

Unix Programming FAQ
http://www.cis.ohio-state.edu/text/faq/usenet/unix-faq/programmer/faq/faq.html

For the parallel port, there are Linux HOWTO's on the subject.  Search for
the Linux Documentation Project.

For Unix programming in general, run (don't walk) out and buy W. Richard
Steven's books on the topic.  IIRC, Advanced Programming In The Unix
Environment is the title of the one you want to buy right away.  He also
has excellent books on network programming.

One last word of advice: Writing setuid programs is not for the novice
if security is a concern at all.

Regards,

Jeff

On Tue, Oct 27, 1998 at 02:37:50PM -0500, Keith Baker wrote:
> I have a basic knowledge of C and C++ programming.  What I would like to
> get is some links/information on interrupts,threads, and parallel ports.
> I can't even find a way to pause my machine for a certail period of time
> without doing a loop to slow it down...  Where is all of this wonderfull
> info...  I'd like to have a process which "wakes up" every 1/30 of a
> second or so, does its task which is simple i/o and then goes back to
> sleep.  Oh yeah...  one catch...  The data to output needs to be shared
> with another process.  Is two seperate processes really the way to go?  If
> not, how do I create this non-linear time based jumping?
> Should I just go jump off a bridge instead?  Do I know to little to
> attempt thease things?  Oh yeah...  How do I use the parallel port in
> linux...  I know I could use a setuid root program and ioperm but I'd like
> to be able to access my device from joe shmoe user...  it is a simple box
> which takes two different inputs...  its a small DMX interface (A lighting
> protocol)..  you strobe a pin to make it klisten for dimmer info and
> strobe another to make it listen for level info...  do I need to write a
> kernel driver for this?  If so, what resources should I look at?


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux Programming...
  1998-10-27 19:37       ` Linux Programming Keith Baker
  1998-10-27 20:02         ` Jeff Noxon
@ 1998-10-27 20:07         ` Paul Tomblin
  1 sibling, 0 replies; 13+ messages in thread
From: Paul Tomblin @ 1998-10-27 20:07 UTC (permalink / raw)
  To: axp-list

Quoting Keith Baker (toaster@cybercom.net):
> without doing a loop to slow it down...  Where is all of this wonderfull
> info...  I'd like to have a process which "wakes up" every 1/30 of a
> second or so, does its task which is simple i/o and then goes back to
> sleep.  Oh yeah...  one catch...  The data to output needs to be shared
> with another process.  Is two seperate processes really the way to go?  If
> not, how do I create this non-linear time based jumping?

99.99% of this stuff is NOT linux specific.  Get a copy of "Advanced
Programming in the Unix Environment" by Stevens.  This book (and his other
books "Unix Network Programming" and "TCP/IP Illustrated") were my bibles when
I was doing C and C++.  Although you might want to start with something a
little less heavy, like Marc Rochind's "Advanced Unix Programming".

> linux...  I know I could use a setuid root program and ioperm but I'd like
> to be able to access my device from joe shmoe user...  it is a simple box
> which takes two different inputs...  its a small DMX interface (A lighting

The program is setuid root, which means that anybody who runs it is
running it with all the permissions of root.  Not a problem - you don't need a
kernel patch for this.  However, you need to be DAMN sure that there aren't
any security holes in your program - no unbound reads into fixed buffers, no
use of gets() or scanf, no stack smashing, etc.  Also make sure the sysadmin
on any system you install this in knows what you're doing - they get pretty
nervous about setuid programs from unknown origins.

-- 
Paul Tomblin, ptomblin@xcski.com.
"The Windows NT workstations locked up every 2.58 minutes...The Linux
workstations [which replaced them] haven't had a problem"
 - Randy Kessell, SBC Communications Inc.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux Programming...
       [not found]       ` <Pine.BSI.3.95.981027142710.9960A-100000@shell1.cybercom.ne t>
@ 1998-10-27 21:03         ` Alessio Sangalli
  0 siblings, 0 replies; 13+ messages in thread
From: Alessio Sangalli @ 1998-10-27 21:03 UTC (permalink / raw)
  To: axp-list

At 14.37 27/10/98 -0500, you wrote:
>I have a basic knowledge of C and C++ programming.  What I would like to
>get is some links/information on interrupts,threads, and parallel ports.

check out the I/O port programming how to - it talks about how to make
precise delays.


ciao
as


Montare un pc in macchina...

http://members.xoom.com/autopc


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~1998-10-27 23:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-27  2:26 NIC's Steve G
1998-10-27  6:36 ` NIC's Maurice Hilarius
1998-10-27 17:09   ` NIC's Steve G
1998-10-27 17:56     ` NIC's Michal Jaegermann
1998-10-27 19:37       ` Linux Programming Keith Baker
1998-10-27 20:02         ` Jeff Noxon
1998-10-27 20:07         ` Paul Tomblin
     [not found]       ` <Pine.BSI.3.95.981027142710.9960A-100000@shell1.cybercom.ne t>
1998-10-27 21:03         ` Alessio Sangalli
1998-10-27 17:23   ` NIC's Wes Bauske
1998-10-27  8:41 ` NIC's W Darlington
  -- strict thread matches above, loose matches on Subject: below --
1998-02-26 16:02 Linux programming David Tucker
     [not found] <Pine.BSI.3.95.980225224400.10514A-100000@shell1.cybercom.net>
1998-02-26  3:59 ` Michal Jaegermann
     [not found] <19980226032654.25200.qmail@hotmail.com>
1998-02-26  3:46 ` Keith Baker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox