Linux-Development-Sys Digest #40, Volume #8      Sun, 23 Jul 00 19:13:09 EDT

Contents:
  Re: Can i get a MAC address ? (Michael Meding)
  Re: Can i get a MAC address ? (Chris J/#6)
  Re: glibc-2.1.3 problems --- why not using bash204 ? (Kaz Kylheku)
  Re: Can i get a MAC address ? (Kaz Kylheku)
  Re: HTML mail? (Frank Sweetser)
  Re: glibc-2.1.3 problems --- why not using bash204 ? (Michael Meding)
  Re: Can i get a MAC address ? (Michael Meding)
  Re: Can i get a MAC address ? (Dave Platt)
  Re: Still no NFS in 2.2.16 ([EMAIL PROTECTED])
  What does this error mean? (ed doyle)
  Re: URGENT: NFS Mount RedHat 6.2 from Solaris (Edward A. Falk)
  Re: HTML mail? (Larry Ebbitt)
  Re: Can i get a MAC address ? (David Wragg)
  Re: measuring time on LINUX (David Wragg)
  Re: CLONE_PID and -lpthread (David Wragg)
  Re: HTML mail? ([EMAIL PROTECTED])
  Re: URGENT: NFS Mount RedHat 6.2 from Solaris (Mike Frisch)
  kernel compile issues (J. Roe)

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

From: Michael Meding <[EMAIL PROTECTED]>
Subject: Re: Can i get a MAC address ?
Date: Sun, 23 Jul 2000 18:17:06 +0200
Reply-To: [EMAIL PROTECTED]

Hi there,

you have seen it ? Thats funny because that screws microsoft guid
contained in word documents. I think they are using the mac to
"personalize" your documents. :-))

Ok, but when they are two macs how does it behave when they are on the
same network ? And I guess the vendor of the identical macs is in breach
of contract with the organization which hands out the mac numbers.

What do you think ?

Regards

Michael

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

From: [EMAIL PROTECTED] (Chris J/#6)
Subject: Re: Can i get a MAC address ?
Reply-To: [EMAIL PROTECTED]
Date: 23 Jul 2000 18:49:12 +0100

Michael Meding  <[EMAIL PROTECTED]> wrote:
>Hi there,
>
>I don't think the mac adress can be changed. At least it was intended
>that you can't. This is due to the nature of it, the producer of nics
>gets a certain amount of mac's another get another batch of mac's so
>there is no thing as to identical mac's on this planet. At least thats
>what I think.
>
>Please prove me wrong otherwise.
>

To my knowledge some advanced cards as well as some UNIX workstations 
allow a user to change the MAC through software. Dunno the reason for
this, but in the case of where some software uses the MAC as part of its
licensing, it saves you having to relicense if the card is replaced :)

Chris...

-- 
@}-,'--------------------------------------------------  Chris Johnson --'-{@
    / "(it is) crucial that we learn the difference / [EMAIL PROTECTED]  \
   / between Sex and Gender. Therein lies the key  /                       \ 
  / to our freedom" -- LB                         / www.nccnet.co.uk/~sixie \ 

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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: glibc-2.1.3 problems --- why not using bash204 ?
Reply-To: [EMAIL PROTECTED]
Date: Sun, 23 Jul 2000 18:33:04 GMT

On Sun, 23 Jul 2000 17:23:29 +0200, Michael Meding <[EMAIL PROTECTED]> wrote:
>Hi,
>
>is there something buggy in the bash that hinders compiles ?

Bash is needed to execute various scripts that play a role in the build.  The
versions of tools used in the build do make a difference; you have to have a
sufficiently great version of make, bash and so on.

-- 
Any hyperlinks appearing in this article were inserted by the unscrupulous
operators of a Usenet-to-web gateway, without obtaining the proper permission
of the author, who does not endorse any of the linked-to products or services.

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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: Can i get a MAC address ?
Reply-To: [EMAIL PROTECTED]
Date: Sun, 23 Jul 2000 18:35:34 GMT

On Sun, 23 Jul 2000 17:17:47 +0200, Michael Meding <[EMAIL PROTECTED]> wrote:
>Hi there,
>
>I don't think the mac adress can be changed. At least it was intended
>that you can't. This is due to the nature of it, the producer of nics
>gets a certain amount of mac's another get another batch of mac's so
>there is no thing as to identical mac's on this planet. At least thats
>what I think.
>
>Please prove me wrong otherwise.

I seem to believe, perhaps incorrectly, that some adapters have addresses that
can be reprogrammed from the host machine.

-- 
Any hyperlinks appearing in this article were inserted by the unscrupulous
operators of a Usenet-to-web gateway, without obtaining the proper permission
of the author, who does not endorse any of the linked-to products or services.

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

From: [EMAIL PROTECTED] (Frank Sweetser)
Subject: Re: HTML mail?
Date: 23 Jul 2000 18:21:46 GMT

Marc A. Lepage <[EMAIL PROTECTED]> wrote:
>Larry Ebbitt wrote:
>> 
>> "Marc A. Lepage" wrote:
>> >
>> 
>> > So how do I send HTML email using mail on the command line? Is there a
>> > way to specify that the content of the message is HTML instead of text?
>> > How do I go about this?
>> >
>> 
>> HTML is for the web.  Mail should be plain, monospaced text, no wider than
>> 76 characters or so.  I filter HTML mail, which is almost always spam,
>> directly to the bit bucket.
>
>Thanks for the lecture.
>
>This is to be internal corporate mail on an intranet. It will report the
>results of nightly automated builds to software developers. It will
>include summaries of compilation and unit test run logs. It will include
>hyperlinks to the full logs for developers to consult when failures have
>occurred.

Fair enough.

The answer is very simple - the mail app sends what it gets.  Give it
plain text, it sends text.  If you want to send html, send it html.

echo "<html> (etc, etc) </html>" | mail ...

-- 
Frank Sweetser rasmusin at wpi.edu, fs at suave.net
Full-time WPI Network Tech, Part time Linux/Perl guy
If I don't document something, it's usually either for a good reason,
or a bad reason.  In this case it's a good reason.  :-)
             -- Larry Wall in <[EMAIL PROTECTED]>

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

From: Michael Meding <[EMAIL PROTECTED]>
Subject: Re: glibc-2.1.3 problems --- why not using bash204 ?
Date: Sun, 23 Jul 2000 20:49:01 +0200
Reply-To: [EMAIL PROTECTED]

Thats what I guessed. Thing is the guy from SuSE recommended not using
bash204. Bas204 is imho latest. I also have more compiler rpoblems if
using this version. Now I am back to 203, that helped a lot.

Question is, what is wrong and why does something depend on it in 204.

Regards

Michael

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

From: Michael Meding <[EMAIL PROTECTED]>
Subject: Re: Can i get a MAC address ?
Date: Sun, 23 Jul 2000 20:51:35 +0200
Reply-To: [EMAIL PROTECTED]

I can't think of that. Since the maufacturer takes responsibility for
the correctness and uniqueness of the mac in the card.

I only can think of special adaptors for testing purposes, and think
normally the mac's are hardcoded in there to prevent changing. The idea
was to have a unique possibility to adress a specific adaptor,
worldwide.

Please if I am wrong, tell me otherwise since I am no expert when it
comes to networking internals.


Regards

Michael Meding

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

From: [EMAIL PROTECTED] (Dave Platt)
Subject: Re: Can i get a MAC address ?
Date: Sun, 23 Jul 2000 21:18:59 GMT

In article <[EMAIL PROTECTED]>,
Michael Meding  <[EMAIL PROTECTED]> wrote:

>I can't think of that. Since the maufacturer takes responsibility for
>the correctness and uniqueness of the mac in the card.
>
>I only can think of special adaptors for testing purposes, and think
>normally the mac's are hardcoded in there to prevent changing. The idea
>was to have a unique possibility to adress a specific adaptor,
>worldwide.
>
>Please if I am wrong, tell me otherwise since I am no expert when it
>comes to networking internals.

>From what I understand, if you want to run the old DECNET protocol,
you have to be able to set the MAC address yourself - DECNET uses the
MAC address for routing purposes.  A bad idea, I don't doubt, but
that's how it works.

It's fairly common for Ethernet chips to be able to read their MAC
address from an on-card PROM/EEPROM chip, or to accept them
programatically from the driver or BIOS, or both.  This can allow for
a cost reduction in embedded-system and on-the-motherboard
applications.  You can eliminate the need for a separate EEPROM, by
having the BIOS or driver do the initialization based on a unique MAC
address programmed into the system's main ROM/EPROM/flash chip or
stored in the auxiliary storage bytes in a battery-backed clock chip.

In these cases, the responsibility for making sure that the interface
has a globally-unique MAC address still exists - but the
responsibility is implemented at the system level rather than within
the chip or card.

-- 
Dave Platt                                           [EMAIL PROTECTED]
Visit the Jade Warrior home page:  http://www.radagast.org/jade-warrior/
  I do _not_ wish to receive unsolicited commercial email, and I will
     boycott any company which has the gall to send me such ads!

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

From: [EMAIL PROTECTED]
Subject: Re: Still no NFS in 2.2.16
Date: 23 Jul 2000 21:54:00 GMT

Rex Dieter <[EMAIL PROTECTED]> wrote:
I didn't say I couldn't enable it; I said it didn't work ; )

Hugh

: You need to enable the "experimental drivers" switch before you'll see the
: option to enable kernel NFS support.


: Or better yet, use an official kernel from a Linux distribution (redhhat,
: mandrake, valinux, etc...) so that you (usually) don't have to worry about
: stuff like this.  (-:

: --
: Rex Dieter
: Computer System Administrator
: Mathematics and Statistics
: University of Nebraska Lincoln

: <[EMAIL PROTECTED]> wrote in message news:8l4jm0$8tq$[EMAIL PROTECTED]...
:> Never got a reply to my previous post; why doesn't knfsd work in 2.2.16
: (at
:> least on Linux)?  I always get an error with "nfssvc".
:>
:> It seems to work fine with kernel 2.2.12, which I'm currently using.  I
: built
:> both kernels from source, using the same nfs options.
:>
:> I'd very much appreciate any pointers to info on this problem.
:>
:> Hugh
:> [EMAIL PROTECTED]


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

From: ed doyle <[EMAIL PROTECTED]>
Subject: What does this error mean?
Date: Sun, 23 Jul 2000 18:09:01 -0500
Reply-To: [EMAIL PROTECTED]

Hi,
What does this link error mean and how do I fix it?

/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

I tried find / -name " crt1.o" -print and it found nothing. I installed
gcc from a CD which I would think would have all librariy files.

Thanks for any help on fixing?

Ed Doyle
[EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Edward A. Falk)
Crossposted-To: comp.os.linux.networking,alt.linux,linux.redhat
Subject: Re: URGENT: NFS Mount RedHat 6.2 from Solaris
Date: 23 Jul 2000 22:27:25 GMT

In article <[EMAIL PROTECTED]>,
Barry P. Evans <[EMAIL PROTECTED]> wrote:
>THANKS TO ALL THAT REPLIED, THIS ISSUE HAS BEEN RESOLVED.
>
>Well we got it working!
>
>We applied some patches (actually VA Linux did that for us) and then

Hi; could you post a summary of what you did to make it work?  Perhaps
a pointer to the patches?


So far, I've discovered that you need to enable the "experimental"
interfaces for the kernel config and then enable the nfsd kernel
module.  Just running NFSD doesn't cut it any more.

Now, when I run /etc/rc.d/init.d/nfs start, I get this output:

        Starting NFS services:  [  OK  ]
        Starting NFS quotas: [  OK  ]
        Starting NFS mountd: mountd: couldn't stat /var/lib/nfs/etab
        [FAILED]
        Starting NFS daemon: [  OK  ]

What is this /var/lib/nfs/etab file, and why should I even have
to worry about it?

At any rate, when I try to execute "showmount -e" locally, I get

    rpc mount export: RPC: Unable to receive; errno = Connection refused

When I execute "showmount -e falconer" from my Solaris box, I get

    showmount: falconer: RPC: Miscellaneous tli error - An event requires 
attentionError 0


This sucks big time.  Whatever happened to just editing /etc/exports
and having it work?  I'm a busy person; I don't have time to learn
this stuff all over again every time RedHat puts out a new release.

Frankly, I'm more than a little pissed of at RedHat right now.  Every
release seems to be a little more unstable than the one before it.

--
-ed falk, [EMAIL PROTECTED]  See *********************#*************#*
http://www.rahul.net/falk/whatToDo.html    #**************F******!******!*!!****
and read 12 Simple Things You Can Do       ******!***************************#**
to Save the Internet                       **#******#*********!**WW*W**WW****

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

Date: Sun, 23 Jul 2000 18:29:24 -0400
From: Larry Ebbitt <[EMAIL PROTECTED]>
Subject: Re: HTML mail?

"Marc A. Lepage" wrote:

> 
> This is to be internal corporate mail on an intranet. It will report the
> results of nightly automated builds to software developers. It will
> include summaries of compilation and unit test run logs. It will include
> hyperlinks to the full logs for developers to consult when failures have
> occurred.
> 

I'm sorry, I didn't deduce that from the silver polish on your thumb <g>.
I'm also sorry I don't know the answer to your question.  You just happend
to hit one of my hot buttons.

-- 
Larry Ebbitt - Linux + OS/2 - Atlanta

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

From: David Wragg <[EMAIL PROTECTED]>
Subject: Re: Can i get a MAC address ?
Date: 23 Jul 2000 21:16:51 +0000

[EMAIL PROTECTED] (Kaz Kylheku) writes:
> On Sun, 23 Jul 2000 17:17:47 +0200, Michael Meding <[EMAIL PROTECTED]>
> wrote:
> >Hi there,
> >
> >I don't think the mac adress can be changed. At least it was intended that
> >you can't. This is due to the nature of it, the producer of nics gets a
> >certain amount of mac's another get another batch of mac's so there is no
> >thing as to identical mac's on this planet. At least thats what I think.
> >
> >Please prove me wrong otherwise.
> 
> I seem to believe, perhaps incorrectly, that some adapters have
> addresses that can be reprogrammed from the host machine.

This seems like a rerun of a very similar thread in this same group a
couple of weeks ago.

>From reading Linux Ethernet drivers, and from reading the specs for a
few NICs, it seems to me that *most* adapters allow the MAC to be
freely set by software (there are good reasons, related to multicast,
why this is so).  Thankfully, most drivers just use the MAC stored in
a PROM on the card, which is usually allocated by the manufacturer in
accordance with the rules.

(I picked up a copy of the 1980 DEC/Intel/Xerox Ethernet spec the
other day, which gives the address at Xerox to write to if you want to
allocate your own block of MAC addresses ;-)


David Wragg

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

From: David Wragg <[EMAIL PROTECTED]>
Subject: Re: measuring time on LINUX
Date: 23 Jul 2000 21:21:08 +0000

[EMAIL PROTECTED] writes:
> I need to measure the amount of time some code
> path takes and need a way to get the finest time
> stamp before and after the code.  This is for
> LINUX on an intel 386 architecture.

On Pentiums and later, you can use this macro to get the processor
cycle count into a 64-bit variable:

#define RDTSC(val) \
     __asm__ __volatile__ ("rdtsc" : "=A" (val))

It's not very useful for general profiling, but when you already know
where the hot-spots in your code are, and want to shave cycles off
their running time, it can be very useful.

David Wragg

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

From: David Wragg <[EMAIL PROTECTED]>
Subject: Re: CLONE_PID and -lpthread
Date: 23 Jul 2000 21:25:46 +0000

[EMAIL PROTECTED] writes:
> Does anyone know if shared ID's on Linux threads will ever be a
> reality in the standard kernel and library? I know that the question
> provokes alot of "colorful" conversations on the kernel list, but I
> have yet to find a simple yes or no answer anywhere.

Perhaps it generates colorful conversations on linux-kernel because
there is no simple yes or no answer?

Recently, 2.2 and 2.3/2.4 have both stopped userspace being able to
use the CLONE_PID flag, since in the several years it has been
present, no-one has seen fit to fully implement it (that is, in a way
that is useful to a pthreads implementation).  So while a more
conformant pthreads implementation for Linux is likey to arise at some
point, it seems unlikely that it will use CLONE_PID.


David Wragg

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

From: [EMAIL PROTECTED]
Subject: Re: HTML mail?
Date: Sun, 23 Jul 2000 22:46:20 GMT

Larry Ebbitt <[EMAIL PROTECTED]> wrote:
>> This is to be internal corporate mail on an intranet. It will report the
>> results of nightly automated builds to software developers. It will
>> include summaries of compilation and unit test run logs. It will include
>> hyperlinks to the full logs for developers to consult when failures have
>> occurred.

> I'm sorry, I didn't deduce that from the silver polish on your thumb <g>.
> I'm also sorry I don't know the answer to your question.  You just happend
> to hit one of my hot buttons.

First of all, let me contribute my $0.02 to the flame war. HTML mail
can be useful, provided you're expecting it. I used to receive a daily
newspaper which had an option for either unformatted text, or
html. The html was preferable at the time, because I didn't have a way
to automatically follow hyperlinks on the console, but I could pass
the entire message to lynx easily.

As to the original question, my suggestion is you take a look at
metasend(1), part of the metamail package.

-- 
Matt Gauthier <[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED] (Mike Frisch)
Crossposted-To: comp.os.linux.networking,alt.linux,linux.redhat
Subject: Re: URGENT: NFS Mount RedHat 6.2 from Solaris
Date: Sun, 23 Jul 2000 22:52:40 GMT

On 23 Jul 2000 22:27:25 GMT, Edward A. Falk <[EMAIL PROTECTED]> wrote:
>So far, I've discovered that you need to enable the "experimental"
>interfaces for the kernel config and then enable the nfsd kernel
>module.  Just running NFSD doesn't cut it any more.

That's not 100% correct.  You can use the built-in implementation of NFS,
but for optimal performance/reliability and NFSv3 support, you need to use
the kernel patches at http://nfs.sourceforge.net.  Full documentation for
applying these patches is there.

>At any rate, when I try to execute "showmount -e" locally, I get
>
>    rpc mount export: RPC: Unable to receive; errno = Connection refused

To me, this would indicate that you do not have the portmap service
running.  Run ntsysv and ensure it's configured to run at startup.

>This sucks big time.  Whatever happened to just editing /etc/exports
>and having it work?  I'm a busy person; I don't have time to learn
>this stuff all over again every time RedHat puts out a new release.

Nobody is forcing you to use these experimental patches, hence the reason
why they're called 'experimental'.

>Frankly, I'm more than a little pissed of at RedHat right now.  Every
>release seems to be a little more unstable than the one before it.

And if you had actually paid for support, they'd be more than happy to
help out...

Mike.


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

From: J. Roe <[EMAIL PROTECTED]>
Subject: kernel compile issues
Date: Sun, 23 Jul 2000 22:46:00 GMT

Hello,

I have Red Hat 6.2  and kernel version 2.2.14-5.0.
The kernel that is set from the initial install loads fine for me.
However when I try to recompile the kernel I get major problems with
things failing to startup or the kernel just freezes up all together.
So, for example if I'm trying to compile support for my zip drive, then
things like my eth0 fails to load, and my sound module fails to load.
And I didn't touch these options when running the xconfig.

I was assuming that when I run make xconfig the options are ones that
are set for my already working kernel.  However, is it correct to say
that this isn't the case?  That these are arbirtrary values rather?

My problem is I'm not having any luck recompiling the kernel to suit my
computers needs.  And I really don't know enough to go through every
option in the xconfig and set it correctly for my system.  Is there a
way to determine the settings for the kernel that works for me now and
then when I run xconfig to set all those values the same and then work
from there?

I hope that someone can help me with this.

Thanks

--
Janine Roe
[EMAIL PROTECTED]

...the more i learn, the less i know about before
the less i know, the more i want to look around...


Sent via Deja.com http://www.deja.com/
Before you buy.

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


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

Reply via email to