Linux-Development-Sys Digest #652, Volume #7      Sun, 5 Mar 00 11:13:18 EST

Contents:
  Re: Help! local hosts name resolving does not work (Juergen Heinzl)
  Lexmark1100 printer driver for 2.2.12-20 ("kiwa macey")
  Re: Struct size and allocate problem! need help. (Charles Bryant)
  Re: Nonblocking connect() delays before returning (Daniel Bruce Lynes)
  Re: Struct size and allocate problem! need help. (Daniel Bruce Lynes)
  Re: Linux ODBC (Daniel Bruce Lynes)
  Re: getting a linksys ether fast card to work in red hat 6.1 (Daniel Bruce Lynes)
  Ghosting OS ("Nera")
  Re: getting a linksys ether fast card to work in red hat 6.1 (David T. Blake)
  Re: Binary compatibility: what kind of crack are they smoking? (Greystoke)
  Re: What's GNU/Linux? (Edward Rosten)
  Re: What's GNU/Linux? (Christian =?iso-8859-1?Q?J=F6nsson?=)
  Installing glibc (Please Help!) (Martin Wackenhut)
  Re: What's GNU/Linux? (J.H.M. Dassen (Ray))
  Re: Installing glibc (Please Help!) (Jeff Biviano)
  Re: Installing glibc (Please Help!) (Paul Kimoto)

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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: Help! local hosts name resolving does not work
Date: Sat, 04 Mar 2000 20:42:21 GMT

In article <[EMAIL PROTECTED]>, Thomas F. Drescher 
wrote:
>Hi there specialists,
>
>I hope some of the network programmers can help me because i'm 
>fuddling around with this problem since two weeks.. (thats annoying 
>-almost like using WINDOZE- isn't it?!?!)
Almost, not quite but almost.

>My SuSE 6.2 system doesn't want to resolve the local host names � in 
>some cases.
>
>Question: Why is the 'route' output different now (Kernel 2.2.10) from 
>Kernel 2.0.xx ?
>
>1) # /sbin/route (Kernel 2.2)
>
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags Metric Ref    
>Use Iface
>192.168.111.3   *               255.255.255.255 UH    0      0        
[...]
>2) # /delix5.1/sbin/route (Kernel 2.0)
>
>Kernel routing table
>Destination     Gateway         Genmask         Flags MSS    Window 
>Use Iface
>zeppo.drescher. *               255.255.255.255 UH    0      0        
>0 plip1
[...]

route -V ... different versions, no /etc/networks and resolver cannot
resolve on one machine but not the other.
>
>As u see in 2) the /etc/hosts contents are correct. DNS has been shut 
>down (for now) so the /etc/host.conf contains:
>
>order hosts
>multi on
>
>1st consequence/problem: also the names in hosts.allow are not 
>resolved - I can work around by putting in IP numbers  127.0.0.1, 
>192.168.111.1, ... - WHY ?
>>Feb 24 03:31:35 groucho in.telnetd[1729]: warning: /etc/hosts.allow,
>>line 8: can't verify hostname: gethostbyname(groucho.drescher.net)
>>failed

Yes, it should be ...
order hosts,bind
... and for, not only, completeness you might need a decent ...
/etc/nsswitch.conf:
===================

[ ... stuff ........ ]
hosts:          files dns [NOTFOUND=return UNAVAIL=return]
[ ... more stuff ... ]

... for instance. Here try /etc/hosts first, then dns and in both
cases, not found or service not available, return.

Make sure ...
/etc/resolv.conf:
=================

domain          seg.v.org
nameserver      192.168.21.1 192.168.21.2 192.168.21.3

... is okay too.

>2nd consequence when DNS is enabled: it always tries to dial out the 
>ippp0 to resolve the local hosts. Hey that costs money here in .de! 
>(How much has the responsible been payed by the phone companies since 
>i've seen that's a problem which bothers much ppl)  ;-( 

By the way, /etc/hosts is world readable, isn't it ?

>So any comments and helpful hints are appreciated! Can i find a 
>solution by recompiling the kernel with a special option? I verified 
>that the second route output is consistent with the /proc/net/route 
>content (Strange: when i delete a route in 1) it disappears...but in 
>/proc/net/route it is still there, also 2) displays it)

No.

[...]
>Another(?) problem is the following tcpdump output - but i think it 
>already has been answered by the networking newsgroup. (No more 
>comment)
>
># ping 192.168.111.4 (default -> ippp0)
>
>truncated-ip - 1186 bytes missing!0.84.0.216 > 0.0.64.1: (frag 
>0:1280@8192) [ttl 0]
>truncated-ip - 1186 bytes missing!0.84.0.218 > 0.0.64.1: (frag 
>0:1280@8192) [ttl 0]
>truncated-ip - 1186 bytes missing!0.84.0.220 > 0.0.64.1: (frag 
>0:1280@8192) [ttl 0]
>truncated-ip - 1186 bytes missing!0.84.0.222 > 0.0.64.1: (frag 
>0:1280@8192) [ttl 0]
>
>truncated-ip - 16307 bytes missing!0.84.1.107 > 0.0.64.1: (frag 
>31534:16401@63488+) [ttl 0] (bad cksum 4500!, optlen=-20[|ip])
>truncated-ip - 16307 bytes missing!0.84.1.113 > 0.0.64.1: (frag 
>31528:16401@63488+) [ttl 0] (bad cksum 4500!, optlen=-20[|ip])
>truncated-ip - 16307 bytes missing!0.84.1.117 > 0.0.64.1: (frag 
>31524:16401@63488+) [ttl 0] (bad cksum 4500!, optlen=-20[|ip])
>truncated-ip - 16307 bytes missing!0.84.1.121 > 0.0.64.1: (frag 
>31520:16401@63488+) [ttl 0] (bad cksum 4500!, optlen=-20[|ip])
>truncated-ip - 16307 bytes missing!0.84.1.125 > 0.0.64.1: (frag 
>31516:16401@63488+) [ttl 0] (bad cksum 4500!, optlen=-20[|ip])
>g

Off the cuff ... cannot tell.

Cheers,
Juergen

-- 
\ Real name     : J�rgen Heinzl                 \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /

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

From: "kiwa macey" <[EMAIL PROTECTED]>
Subject: Lexmark1100 printer driver for 2.2.12-20
Date: Sun, 5 Mar 2000 11:57:58 +1100

I have just started learning linux on my home computer and was unable to
find any printer drivers for my Lexmark 1100 el'cheapo printer.

I was wondering if anyone knows of anywhere or anything that will do the
job??



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

From: Charles Bryant <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,comp.os.linux.development.apps,comp.unix.sco.misc,comp.unix.sco.programmer,comp.unix.unixware.misc,tw.bbs.comp.linux
Subject: Re: Struct size and allocate problem! need help.
Date: 5 Mar 2000 00:49:22 -0000

In article <[EMAIL PROTECTED]>,
P.G.Hamer <[EMAIL PROTECTED]> wrote:
>Charles Bryant wrote:
>> There's no inconsistencey. All of char, short, and long can be 32
>> bits, in which case sizeof(long)==sizeof(short)==sizeof(char)==1.
>
>Can you elaborate on this.
>
>My dated 2nd edition of K&R states that sizeof() gives the size in /bytes/.

Where?

>It also states that sizeof(char)==1.
>
>While I'm not certain that these two statements are necessarily mutually
>consistent, it does suggest that sizeof(32bit-type) == 4.

It would. But a char can be bigger than 8 bits, and on some
processors all types are 32-bit (i.e. char, short, int, long).

-- 
Eppur si muove


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

From: Daniel Bruce Lynes <[EMAIL PROTECTED]>
Subject: Re: Nonblocking connect() delays before returning
Date: Sun, 05 Mar 2000 01:49:02 GMT

On Fri, 3 Mar 2000, David wrote:

> When I connect() to some hosts, occasionally it does not return
> immediately even though I have my socket-fd set to non-blocking. I've
> seen delays as long as 5 or even 20 seconds, then an EINPROGRESS.
> 
> Is there a bug in the linux kernel? I believe it should return
> EINPROGRESS immediately. I am running version 2.2.14 of the kernel.
> 
> Any ideas as to what might be causing this? How to get around it?
> Whether it's a bug in the kernel?
 
In the 2.0.35, 2.2.6, and 2.2.10 kernels it works fine.  When it works normally,
you'll get a bunch of EINPROGRESS's, and then it will return success.  The
number of EINPROGRESS's is dependent upon the speed of the link between yourself
and the remote host.


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

Crossposted-To: 
alt.os.linux,comp.os.linux.development.apps,comp.unix.sco.misc,comp.unix.sco.programmer,comp.unix.unixware.misc,tw.bbs.comp.linux
From: Daniel Bruce Lynes <[EMAIL PROTECTED]>
Subject: Re: Struct size and allocate problem! need help.
Date: Sun, 05 Mar 2000 02:09:51 GMT

On 1 Mar 2000, Jaron wrote:

>     I encounter a compiling program as below:
> 
>     struct    a {
>         unsigned char    a1;
>         unsigned char    a2;
>         unsigned short    a3
>         unsigned short    a4
>         unsigned long    a5;
>     };
> 
> the structure size must be 10 but use sizeof print out is 12...
> I know this is the alignment problem of structure ..
> But how to resolve it ?
> I need to know the compiler option like -xx ?
> do anyone konw about this ?

Try a compiler option, or the more portable option (works on gcc, g++, egcs,
Watcom, Borland, and Microsoft compiler products on all platforms I've used them
with...Linux, OS/2, Win32, and DOS):

#pragma pack(1) /* Packs on byte align */
#pragma pack(2) /* Packs on word align */
#pragma pack(4) /* Packs on doubleword align */
#pragma pack(8) /* Packs on quadword align */


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

From: Daniel Bruce Lynes <[EMAIL PROTECTED]>
Subject: Re: Linux ODBC
Date: Sun, 05 Mar 2000 02:12:21 GMT

On Tue, 29 Feb 2000, John Smith wrote:

> are there any odbc c/c++ libraries available?

unixODBC (formerly LinuxODBC) is at:  www.unixodbc.org

OpenODBC is at www.openodbc.org

btw, you might want to keep this in comp.os.linux.development.apps next time..it
doesn't really have anything to do with the system.


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

From: Daniel Bruce Lynes <[EMAIL PROTECTED]>
Subject: Re: getting a linksys ether fast card to work in red hat 6.1
Date: Sun, 05 Mar 2000 02:26:22 GMT

On Sun, 27 Feb 2000, Lee Klasing wrote:

> I have a question i have a network card that wasnt detected in install and
> im a newbie.  It is used for a cable modem and i dont know how to setup the
> card?
> any ideas?

If I remember correctly, those ones use the ne2k-pci module.  Try:

insmod /lib/modules/2.2.10/net/ne2k-pci.o
modprobe ne2k-pci

Replace '2.2.10' with your kernel version


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

From: "Nera" <[EMAIL PROTECTED]>
Subject: Ghosting OS
Date: Sun, 5 Mar 2000 12:43:02 +0800

Dear all

    I have installed win98 in my PC and I have used Norton Ghost to have a
backup of my OS.

    Now I want to install linux in the same PC. As I know, I need to use
LILO to have multi boot to
different OS.

    I want to know after I have installed the linux, can I recover my system
by using the backup made
from Norton Ghost ?

Thx in advance



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

From: [EMAIL PROTECTED] (David T. Blake)
Subject: Re: getting a linksys ether fast card to work in red hat 6.1
Date: 5 Mar 2000 06:50:05 GMT
Reply-To: [EMAIL PROTECTED]

Daniel Bruce Lynes <[EMAIL PROTECTED]> wrote:
> On Sun, 27 Feb 2000, Lee Klasing wrote:
> 
> > I have a question i have a network card that wasnt detected in install and
> > im a newbie.  It is used for a cable modem and i dont know how to setup the
> > card?
> > any ideas?
> 
> If I remember correctly, those ones use the ne2k-pci module.  Try:
> 
> insmod /lib/modules/2.2.10/net/ne2k-pci.o
> modprobe ne2k-pci



Sorry. Ether fast is tulip based.



-- 
Dave Blake
[EMAIL PROTECTED]

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

From: Greystoke <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.setup
Subject: Re: Binary compatibility: what kind of crack are they smoking?
Date: Sat, 4 Mar 2000 16:47:32 -0500

On Feb 25, Albert Ulmer spake the following:

: Mario Klebsch wrote:
: > >But Linux *is* only a kernel.

: > I know, that is one of its core problems. :-(

At it's basest form yes -- but the told that go with it are almost
_always_ the same. Not to mention that if this thread is still on the
binary compatibility -- any incompatibilities accross distributions is due
to the _version_ of the C library being used.

: I'm not so sure about that. Thanks to the fact that Linux is only a
: kernel, it can be used in a multitude of ways, not only PC Operating
: Systems, but mobile embedded devices as well. Try running AIX on your
: PDA...

Amen

: > >If your talking about an operating system,
: > >you should be calling it GNU/Linux, like i.e. Debian does.

: > Well, that probably would be Debian GNU/Linux, and there is RatHad,
: > SUSE, Caldera,... They all claim to be Linux, but in fact are
: > different OSes.

No! they are the same OS with some different interfaces put between the
user and the base. -- I use three distributions interchangably and as long
as I make sure they're all more or less on the level with each other
_everything_ that works on one will work with the other.

: Nonsense, they all cater the diverse needs of various users. In my view
: that's the main point about the whole open source movement: CHOICE! It
: is good to be different!

I agree here. 

        Cheers,
                Greyson

#!/usr/bin/perl
@a=(Lbzjoftt,Inqbujfodf, Hvcsjt); $b="Lbssz Wbmm" ; $b =~ y/b-z/a-z/ ; $c = " Tif ". 
@a ." hsfbu wj" ."suvft pg b qsphsbnnfs" . ":\n"; $c =~y/b-y/a-z/; print"\n\n$c "; 
for($i=0; $i<@a; $i++) { $a[$i] =~ y/b-y/a-z/; if($a[$i]eq$a [-1]) {print"and $a[$i]." 
; }else{ print"$a[$i], "; }}print"\n\t\t--$b\n\n"; 


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

From: Edward Rosten <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.setup
Subject: Re: What's GNU/Linux?
Date: Sun, 05 Mar 2000 10:17:28 +0000

Christopher Browne wrote:
> Read:
> 
> <a href= "http://www.fsf.org/bulletins/bull24.html#SEC8"> What Is a
> GNU/Linux System? </a> by Richard M. Stallman
> 
> If the FSF had decided to create a Linux distribution, and called it
> GNU/Linux, this would have been well and fine.
> 
> Unfortunately, RMS spends a whole lot of time repetitively explaining
> to people that:
> 
>   "We use Linux-based GNU systems today for most of our work, and we
>    hope you use them too. But please don't confuse the public by using
>    the name "Linux" ambiguously. Linux is the kernel, one of the
>    essential major components of the system. The system as a whole is
>    more or less the GNU system. Please use the term "Linux-based GNU
>    system" or "GNU/Linux" when you talk about the system which is a
>    combination of Linux and GNU."
> 
> I think he'd accomplish more by "fighting" other battles.
> 

I agree with RMS on this one. Most of what we know as 'Linux' is
actually GNU stuff. The kernel is only one bit of the OS. Calling
GNU/Linux Linux kind of takes away the recognition of the FSF. Many
people think that Linus did the whole lot (more or less), and whilts I
think that what Linus has done is fantastic, it is worth recognising
that much of it had already been done - the FSF was just looking for a
kernel.

-Ed
-- 
Did you know that the reason that windows steam up in cold weather is
because
of all the fish in the atmosphere?
        -The Hackenthorpe Book Of Lies

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

From: Christian =?iso-8859-1?Q?J=F6nsson?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.setup
Subject: Re: What's GNU/Linux?
Date: Sun, 05 Mar 2000 11:42:56 GMT

First of all, I'd like to say that I agree, in a perfect world, I'd prefer
GNU/Linux
instead of just linux. I do want to appreciate the FSF held co-operration
of
many, many people around the world and the net. But, please, this is not
the work
of RMS alone either, with all due respect. Neither is it fair, IMHO, to
claim "the
FSF was just looking for a kernel." It's the "just" in there I oppose
to; linus' effort
is tremendous, as is who ever helped him in getting *linux* working. Now,
it's
free to everyone to *use* the source, if stated properly the origin and
copyleft(!)
notice. And, to be quite honest, why continue this debate? There's is only
a matter
of taste, and perhaps an act of appreciation, on what you call things,
right?

So, in a perfect world, I'd like to see everyone change from calling Linux
linux
and call it Gnu/Linux instead. But whom can I change?

Cheers,

/ChJ

Edward Rosten wrote:

> Christopher Browne wrote:
> > Read:
> >
> > <a href= "http://www.fsf.org/bulletins/bull24.html#SEC8"> What Is a
> > GNU/Linux System? </a> by Richard M. Stallman
> >
> > If the FSF had decided to create a Linux distribution, and called it
> > GNU/Linux, this would have been well and fine.
> >
> > Unfortunately, RMS spends a whole lot of time repetitively explaining
> > to people that:
> >
> >   "We use Linux-based GNU systems today for most of our work, and we
> >    hope you use them too. But please don't confuse the public by using
> >    the name "Linux" ambiguously. Linux is the kernel, one of the
> >    essential major components of the system. The system as a whole is
> >    more or less the GNU system. Please use the term "Linux-based GNU
> >    system" or "GNU/Linux" when you talk about the system which is a
> >    combination of Linux and GNU."
> >
> > I think he'd accomplish more by "fighting" other battles.
> >
>
> I agree with RMS on this one. Most of what we know as 'Linux' is
> actually GNU stuff. The kernel is only one bit of the OS. Calling
> GNU/Linux Linux kind of takes away the recognition of the FSF. Many
> people think that Linus did the whole lot (more or less), and whilts I
> think that what Linus has done is fantastic, it is worth recognising
> that much of it had already been done - the FSF was just looking for a
> kernel.
>
> -Ed
> --
> Did you know that the reason that windows steam up in cold weather is
> because
> of all the fish in the atmosphere?
>         -The Hackenthorpe Book Of Lies


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

From: Martin Wackenhut <[EMAIL PROTECTED]>
Subject: Installing glibc (Please Help!)
Date: Sun, 05 Mar 2000 13:55:24 +0100

Hi everybody!

I allready posted this message a few days ago but nobody answered. So
please help me this time.

I need to know how to Install the glibc "by hand" this means:
Copiing every single file to the exact location and creating the
specific symlinks.

Has anybody an idea or a good documentation telling me all this.
That would be great.

Martin

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

From: [EMAIL PROTECTED] (J.H.M. Dassen (Ray))
Crossposted-To: comp.os.linux.advocacy
Subject: Re: What's GNU/Linux?
Date: Sat, 4 Mar 2000 17:56:59 +0100

Christopher Browne <[EMAIL PROTECTED]> wrote:
>If the FSF had decided to create a Linux distribution, and called it
>GNU/Linux, this would have been well and fine.

At one time, Debian GNU/Linux was intended to become the FSF's GNU/Linux
distribution. Due to differences of opinion regarding distribution
development, this hasn't materialised.
-- 
Ray Dassen <[EMAIL PROTECTED]>

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

From: Jeff Biviano <[EMAIL PROTECTED]>
Subject: Re: Installing glibc (Please Help!)
Date: Sun, 05 Mar 2000 13:43:28 GMT

Martin Wackenhut wrote:

> Hi everybody!
>
> I allready posted this message a few days ago but nobody answered. So
> please help me this time.
>
> I need to know how to Install the glibc "by hand" this means:
> Copiing every single file to the exact location and creating the
> specific symlinks.
>
> Has anybody an idea or a good documentation telling me all this.
> That would be great.
>
> Martin

http://www.gnu.org/software/libc/faq-index.html#4

-Jeff


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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Installing glibc (Please Help!)
Date: 5 Mar 2000 10:59:15 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
Martin Wackenhut wrote:
> I need to know how to Install the glibc "by hand" this means:
> Copiing every single file to the exact location and creating the
> specific symlinks.
>
> Has anybody an idea or a good documentation telling me all this.

Build and test from source code, then run "make -n install".

-- 
Paul Kimoto             <[EMAIL PROTECTED]>

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


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