Linux-Misc Digest #786, Volume #26               Fri, 12 Jan 01 02:13:02 EST

Contents:
  Re: ppp problem with ISP (Glitch)
  Re: ppp problem with ISP (Glitch)
  Re: Sun/HP Gnome support ([EMAIL PROTECTED])
  Re: IDE CD writer ([EMAIL PROTECTED])
  Can you recommend a good Linux book? ("Greg")
  Re: Animated Gif Viewer (Brian & Colleen)
  Re: Can you recommend a good Linux book? (Stanislaw Flatto)
  Re: Swap Partition Size (Floyd Davidson)
  Re: Can you recommend a good Linux book? (Graham Wilson)
  Configuring Linux (Nikhil S. Chitnis)
  PC speaker (BuDMaN)
  Re: device driver dev ([EMAIL PROTECTED])
  Re: Can you recommend a good Linux book? ([EMAIL PROTECTED])
  Changing block size without partitioning (John Hanson)
  Re: question: deleting/undeleting disk partitions (Vladimir Annenkov)
  RPM and matching (Neil Zanella)
  Re: Can you recommend a good Linux book? ("John W. Krahn")
  Re: RPM and matching (Alex)
  Re: RPM and matching (David)
  Re: Softball newbie question(s) (John Hasler)

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

Date: Thu, 11 Jan 2001 23:17:21 -0500
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: ppp problem with ISP


> ]Current lines in /etc/modules.conf are:
> 
> ]alias ppp0        ppp
> ]alias ppp1        ppp
> 
> Remove those lines. They do not belong.

I did

> 
> ]I guess i'd have to recompile a kernel in order to fix that however I
> 
> Do not do that.

already tried,didnt do much. I forget what so dont ask, lol I've tried
too many things to remember the results of all of the ideas.

> 
> ]already did that and teh driver for the 2.4.0-test5 kernel was called
> ]ppp_generic.o.  Do i change the alias ppp0 entry to use ppp_generic
> ]instead of just ppp?
> 
> Ah, so you are also using your own compiled kernel. I assume that you
> have read all the docs in teh kernel having to do with necessity to
> update things with ppp. You are using pppd version 2.4.0?

Yes, im running 2.4.0-test5 and I'm using pppd 2.3.10 I believe. And I
knew there was a possiblity i'd have to update my pppd but I didnt know,
and couldnt find, the doc file that lists what the requirements are. I
posted anothr message in this group yesterday and someone said i do
indeed need to upgrade my pppd to 2.4.0.  I just replied to one person
who responded to that post asking where to get pppd b/c i just looked on
sunsite and didn't see a new version of pppd. There were a lot of other
utilities and an old version of pppd but not 2.4. I'm also getting the
final release of 2.4 kernel right as I type this.

I'm hoping after getting the new pppd some of my probelms will go away,
namely the message about modprobing for ppp.  I have ppp compiled in
(evident from kernel bootup messages listing ppp info) and even when I
recompiled my 2.4.0test5 kernel w/ ppp as a module the module wasn't
named just ppp. it was ppp_generic so i think i was still getting those
modprobe errors but I don't remember for sure.

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

Date: Thu, 11 Jan 2001 23:21:09 -0500
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: ppp problem with ISP



"Peter T. Breuer" wrote:
> 
> In comp.os.linux.misc Bill Unruh <[EMAIL PROTECTED]> wrote:
> > In <[EMAIL PROTECTED]> "Peter T. Breuer" <[EMAIL PROTECTED]> writes:
> > ]In comp.os.linux.misc Glitch <[EMAIL PROTECTED]> wrote:
> > ]> Jan  9 23:13:29 bigblue modprobe: modprobe: Can't locate module ppp0
> > ]FIX!
> > Nothing to fix. There is no module called ppp0 on any Linux system in
> > the world. This is some bug in the modules system or in the kernel
> > module for ppp. It is an error message which comes up sporadically in
> 
> Interesting. Modprobe only asks for ppp0 if it's asked to ask for it.
> DO a strings /sbin/modprobe | grep ppp and you'll see both ppp0 and
> ppp1. Try modprobe -c | grep ppp and you'll see ...
> 
>   alias ppp0 ppp
>   alias ppp1 ppp
>   alias tty-ldisc-3 ppp
> 

yes, those lines are listed in my modules.conf file

> so one would suppose that ppp0 can be requested by the kernel, and
> that it is translated to a call for the ppp module, which he has not
> got (or it would be found).

no, i do not have it. I have it using 2.2.13 but im using 2.4.0test5. I
recompiled my kernel w/ ppp as a module but the module name was
ppp_generic so i think i was still getting errors.  I did try booting
with the default 2.2.13 but I don't remember what happened except that I
didn't make any progress.
> 
> > this group and noone had ever given an explanation of why.
> 
> Because the kernel is asked to access the network device which is known
> as ppp0. Apparently it's ldisc-3.

when i commented out the 'alias ppp0 ppp' line in modules.conf modprobe
then went after the ldisc-3 module thing and I got errors about that
then too.
> 
> > ]> Jan  9 23:13:29 bigblue modprobe: modprobe: Can't locate module ppp0
> > ]> Jan  9 23:13:31 bigblue last message repeated 16 times
> > ]> Jan  9 23:13:31 bigblue chat[305]: ~^?}#@!}!}!} #} }$} } }!}$}%t}"}&}
> > ]> }*} } }'}"
> > ]> }(}"}1}$}%t}3})}#} @{c:wT};~~^?}#@!}!
> 
> > The problem is that he has not terminated his chat script properly. He
> > is trying to wait for a terminal login while the other side is trying to
> > send ppp messages. The chat script must end with
> > CONNECT '\c'

ok...kppp made my chat script so i didnt know. kppp also set up my
pap-secrets file.

> 
> uh, yes. Not that I write a lot of chat scripts, but I would have
> thought all the pre-prepared scripts did. How can he have got rid of
> it?
> 
> > ]> Jan  9 23:13:31 bigblue modprobe: modprobe: Can't locate module ppp0
> > ]> Jan  9 23:13:35 bigblue last message repeated 33 times
> 
> The first error is from modprobe. I'd need to see an ifconfig ppp0.
> 

I can't do that command as my ppp0 interface never comes up...at least I
dont believe so. As i said, i've done so many different things to get
this working i dont remember the results of one idea to another. Sorry.

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

From: [EMAIL PROTECTED]
Reply-to: [EMAIL PROTECTED]
Subject: Re: Sun/HP Gnome support
Date: Fri, 12 Jan 2001 04:17:10 GMT

>>>>> "Roger" == Roger Davis <[EMAIL PROTECTED]> writes:
Roger> Does anyone here have any good inside info (especially from
Roger> Sun's point of view, as I maintain a bunch of Solaris systems)
Roger> on why Sun and HP are going to be offering Gnome desktop
Roger> support soon, but AFAIK haven't said diddly about supporting
Roger> KDE? Is this a GPL vs. Qt license issue, or were there
Roger> technical reasons?

Um, if it _was_ a licensing issue, then it would be a matter of Sun/HP
disliking the _GPL_.

After all, Qt 2.2 _is_ licensed under the GPL.
<http://www.trolltech.com/company/announce/gpl.html>

It seems quite possible that this is the case; I would think it likely
that Sun/HP would prefer the way Gnome libraries are licensed under
the LGPL to the way Qt is licensed under the GPL.

And if Sun/HP prefer "many language bindings" to "C++, and maybe
Perl/Python," that may be a binding _technical_ consideration in the
matter.  

Binary interoperability is an attendant concern, as C-based
environments have established workable ABIs that may even allow mixing
of different compilers, while that is very much Work In Progress for
C++.  After all, the C++ standard was only finalized a couple of years
ago, and getting interoperability of the varying runtime environments
is much more difficult than for C due to the more extensive
requirements, issues including RTTI, external name mangling, vtables,
symbol semantics, COMDAT groups, handling of virtual calls, exception
handlers, ...

Roger> [ Just thought I'd stoke the ongoing Gnome vs. KDE
Roger> flamefest a bit.  ;-> ]

It hardly needs it, and it hardly needs less-than-clued commentary.
-- 
(reverse (concatenate 'string "ac.notelrac.teneerf@" "454aa"))
<http://www.ntlug.org/~cbbrowne/>
As of next Monday, COMSAT will be flushed in favor of a string and two tin
cans.  Please update your software.

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

From: [EMAIL PROTECTED]
Reply-to: [EMAIL PROTECTED]
Subject: Re: IDE CD writer
Date: Fri, 12 Jan 2001 04:17:36 GMT

>>>>> "Bill" == Bill Unruh <[EMAIL PROTECTED]> writes:
Bill> In <[EMAIL PROTECTED]> Lori Holder-Webb
Bill> <[EMAIL PROTECTED]> writes:
>> Right now your system considers your IDE CDRW to be an IDE CD-ROM.
>> This is why it works.  The CD-burning software insists on talking
>> to a SCSI device, which is why you have to recompile the kernel
>> (the things you do at this point will deceive the OS into thinking
>> that your IDE CDRW is really a SCSI CDRW, and you'll be able to
>> make disks).

Bill> PLease, do not recompile your kernel. All distros now have
Bill> ide-scsi already compiled in (anyone up to proving me
Bill> wrong?). Compiling your kernel is more likely to break things
Bill> than to fix things these days. Do you really think that these
Bill> days a distro would leave out ide-scsi with the prevailance of
Bill> ide cdwriter?

Bill> a) put append="hdc=ide-scsi" into the linux section of
Bill> /etc/lilo.conf and then rerun lilo.  

Bill> b) put modprobe ide-scsi into the end of /etc/rc.local or
Bill> /etc/rc.d/rc.local

Bill> Reboot.

Bill> You may also have to repoint the link for /dev/cdrom from
Bill> /dev/hdc to /dev/scd0

A pretty comprehensive page to look at is:
<http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/man/README/README.ATAPI>

I was more comfortable with compiling my own kernel to handle this;
the append of "hdc=ide-scsi" is regrettably underdocumented.  [I was
adding in ReiserFS support, so needed the compile anyways...]

By _knowing_ to look for this, it's easy enough to find references to
this on the web.  But it's decidedly not "intuitive," unless you're
wanting to look at things pretty backwards.  

I can make sense of why the LILO append could work that way, but have
to work my way backwards from knowing the argument; it's rather more
difficult to work forwards from knowing "I want this drive to be
addressed via IDE-SCSI" to determining that I should _pretend_ to
address it as an IDE device...
-- 
(reverse (concatenate 'string "ac.notelrac.teneerf@" "454aa"))
<http://www.ntlug.org/~cbbrowne/>
"Windows95, Word97, Office98: With all the criticisms of MICROS~1, at
least   they  include   ``best-before''  dating   on  many   of  their
products..."  -- [EMAIL PROTECTED]

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

From: "Greg" <[EMAIL PROTECTED]>
Subject: Can you recommend a good Linux book?
Date: Thu, 11 Jan 2001 20:18:33 -0800

If you were on a desert island with your linux box, and were able to take
only one reference / teaching book on Linux, what would it be???

What do you think of O'Reilly's "Running Linux"  and "Linux in a Nutshell"?

I'm can't seem to find Linux tutorials that don't assume either, 1). I've
never seen a computer before, or 2). I am an old kernel hacker who is
reading the manual out of boredom.

I am looking for resources, both in print and online that don't assume too
much either way.

Thanks for your time.

Greg.



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

From: Brian & Colleen <[EMAIL PROTECTED]>
Subject: Re: Animated Gif Viewer
Date: Thu, 11 Jan 2001 20:29:00 -0800

Thanks.

> >
>
> Damn, pressed "send" too soon.
>
> That's `animate` instead of `display`
>
> Eric

--
 Brian & Colleen Smith
 [EMAIL PROTECTED]
 http://mypage.direct.ca/g/greybria




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

From: Stanislaw Flatto <[EMAIL PROTECTED]>
Subject: Re: Can you recommend a good Linux book?
Date: Fri, 12 Jan 2001 15:57:43 +1100

Try "Essential system administration" by Aeleen Frisch (O'Reilly).
Not specific to Linux but has many fine answers.

Stanislaw
Slack user from Ulladulla

Greg wrote:

> If you were on a desert island with your linux box, and were able to take
> only one reference / teaching book on Linux, what would it be???
>
> What do you think of O'Reilly's "Running Linux"  and "Linux in a Nutshell"?
>
> I'm can't seem to find Linux tutorials that don't assume either, 1). I've
> never seen a computer before, or 2). I am an old kernel hacker who is
> reading the manual out of boredom.
>
> I am looking for resources, both in print and online that don't assume too
> much either way.
>
> Thanks for your time.
>
> Greg.


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

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Swap Partition Size
Date: 11 Jan 2001 14:39:21 -0900

Jean-David Beyer <[EMAIL PROTECTED]> wrote:
>Johan Kullstam wrote:
>> 
>[snip]
>
>> i find it useful to seperate swap usage into two kinds
>> 
>> 1) active swapping
>> 
>> 2) dormant program storage
>> 
>> in the first case, you are *running* program(s) which cannot all fit
>> into RAM at one time.  imagine a dozen setiathomes.
>
>Since the instruction space on these is the same, they would not take up
>as much more space as you might think. They do use a lot of data space,
>though and that cannot be shared (for that program, anyway). Also, it

But "instruction space" is not swapped out anyway.  It already
exists on disk as the binary file from which the program was
originally loaded, and if need be it is paged in from that file.
The "data space" is written to the disk swap area.

-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 [EMAIL PROTECTED]

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

From: Graham Wilson <graham01~[EMAIL PROTECTED]>
Subject: Re: Can you recommend a good Linux book?
Date: Thu, 11 Jan 2001 21:25:31 -0800

Greg wrote:
> 
> If you were on a desert island with your linux box, and were able to take
> only one reference / teaching book on Linux, what would it be???
> 
> What do you think of O'Reilly's "Running Linux"  and "Linux in a Nutshell"?
> 
> I'm can't seem to find Linux tutorials that don't assume either, 1). I've
> never seen a computer before, or 2). I am an old kernel hacker who is
> reading the manual out of boredom.
> 
> I am looking for resources, both in print and online that don't assume too
> much either way.
> 
> Thanks for your time.
> 
> Greg.

        There might still be a copy of: 
                
                Debian GNU/Linux 2.1 Unleashed
                by Camou, Goerzen, Van Couwenberghe
                SAMS 2000

at the Half Price computer book store at 8th and Cambie ;) .  G.

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

From: Nikhil S. Chitnis <[EMAIL PROTECTED]>
Subject: Configuring Linux
Date: Fri, 12 Jan 2001 05:30:12 -0000

hi,
i have redhat 6.2 with Win98SE as duel boot. how do i start Apache Server 
and Samba? i have a NE2000 compatible card. Please help me to - 
1. Configure and run apache
2. Configure and run Samba
3. Networking so that i can communicate with other win machines on the 
network. 
Kindly send the help on my following email 
[EMAIL PROTECTED]
thanx
nikhil S. Chitnis

--
Posted via CNET Help.com
http://www.help.com/

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

From: BuDMaN <[EMAIL PROTECTED]>
Subject: PC speaker
Date: Fri, 12 Jan 2001 05:34:48 GMT

Hello,

 Is there any way to redirect all the pc speaker sounds to a sound card? I'm
having problems with my pc speaker and I've a Sound Blaster to use. Any idea?

--
BuDMaN


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED]
Reply-to: [EMAIL PROTECTED]
Subject: Re: device driver dev
Crossposted-To: comp.os.linux.development.apps
Date: Fri, 12 Jan 2001 05:57:42 GMT

>>>>> "Chris" == Chris  <[EMAIL PROTECTED]> writes:
Chris> Andy Jeffries wrote:
>>>   What you need for a print isn't really a driver; it's just a
>>> filter and is done is user space.  You can get the basic idea from
>>> the gimp-print source.

>> Do you know if any of the other printers in gimp-print are
>> "GDI-Printers".  I have vague memories of GDI calls from my Windows
>> programming days, but I have next to no idea of how PostScript
>> works (I believe most of the printer drivers convert xyz to
>> PS/PCL).

Chris> I don't think that most "GDI printers" have command languages
Chris> that have anything to do with the GDI.

Chris> AIUI, the game is that you use the GDI _on the Win32 host_ to
Chris> render the desired printed output into a bitmap in host memory;
Chris> then, you transmit the bitmap data to the printer. The relation
Chris> that the printer has to the GDI is peripheral at best....

See:
<http://msdn.microsoft.com/library/psdk/gdi/wingdistart_9ezp.htm>

  "The Microsoft Windows graphics device interface (GDI) is the
   portion of the Win32 API that enables applications to use graphics
   and formatted text on both the video display and the
   printer. Win32-based applications do not access the graphics
   hardware directly. Instead, GDI interacts with device drivers on
   behalf of applications."

I don't think there's a more direct way of saying "the printer doesn't
do GDI..."

Chris> If you can figure out the raster protocol for the printer (by
Chris> judicious reverse engineering if your jurisdiction allows this,
Chris> otherwise by ESP), then you ought to be able to write a
Chris> Ghostscript driver to emit same to the printer.

With some of the "GDI printers," the manufacturers dumbed down the
hardware to minimize on-board RAM, to save a few bucks, at the cost
that the printing protocol had somewhat stringent "real time"
requirements to feed the microscopic print buffer.  _That_ would
mandate having a pretty special-purpose printer driver that would
manage buffering in the kernel.
-- 
(reverse (concatenate 'string "ac.notelrac.teneerf@" "454aa"))
<http://www.ntlug.org/~cbbrowne/printing.html>
"End users  are just test loads  for verifying that  the system works,
kind of like resistors in an electrical circuit."
-- Kaz Kylheku in c.o.l.d.s

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

From: [EMAIL PROTECTED]
Subject: Re: Can you recommend a good Linux book?
Date: Fri, 12 Jan 2001 05:57:45 GMT

"Greg" <[EMAIL PROTECTED]> writes:
> If you were on a desert island with your linux box, and were able to
> take only one reference / teaching book on Linux, what would it
> be???

> What do you think of O'Reilly's "Running Linux" and "Linux in a
> Nutshell"?

I'd put "Running Linux" high on the list; it certainly has
"diversity."  

You might take a look at the Wrox lineup; if your bias is towards
"traditional" tools, then "Beginning Linux Programming" covers quite a
lot of topics.  If your bias is Gnomely, then the GTK/Gnome book would
be pretty appropriate.  For diverse "cutting edge" stuff [ala LDAP,
XML, GNOME, KDE, CORBA, ...], "Professional Linux Programming" has
pretty wide coverage.  

[Potential Bias Warning: I'm one of the authors of the last book on
that list.  Mind you, I'm not collecting royalties, so I don't have
that particular bias :-).]
-- 
(reverse (concatenate 'string "ac.notelrac.teneerf@" "454aa"))
<http://www.ntlug.org/~cbbrowne/>
"I find it hard to believe a professional programmer could support the
concept of Open Source." -- David J. Owens <[EMAIL PROTECTED]>

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

From: John Hanson <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Changing block size without partitioning
Date: Fri, 12 Jan 2001 06:11:09 GMT

Is it possible to change the block size on an ext2 filesystem without
reformatting?  Mine is currently 4096 and I would like to make 2048 or
1024.

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

From: Vladimir Annenkov <[EMAIL PROTECTED]>
Crossposted-To: alt.solaris.x86,comp.os.misc,comp.unix.solaris
Subject: Re: question: deleting/undeleting disk partitions
Date: Thu, 11 Jan 2001 20:42:09 -0500
Reply-To: [EMAIL PROTECTED]

On Sun, 07 Jan 2001 19:41:17 -0500, Vladimir Annenkov
<[EMAIL PROTECTED]> wrote:

>Can anyone recommend/ point to some source where I can get info on
>reading/editing disk partition tables? 
>
>I am set on installing Solaris onto a disk which already contains
>Linux and FreeBSD.  There is, however a common "slice extends beyond
>end of disk" problem: the installer doesn't like surrounding
>partitions.  Rather than backing up and restoring very large
>partitions, I've saw a post (via deja) about a workaround which
>involves effectively hiding surrounding partitions by temporarily
>deleting them.  Later one can undelete them by restoring some entries
>in the partition table.
>
>Any info/support would be highly appreciated -- thanks.
>
>Vlad


I guess I'm answering my own question here, but what the hell --
thanks to all who replied anyway.  Andries Brower at
http://www.win.tue.nl/~aeb/partitions/partition_tables.html has lots
of useful info.  Also I found a shareware program DiskEdit from Vinoj
Software that lets you edit partition tables in hex.  I used it to
zero out everything from x1BE through x1FD, in effect deleting the
master partition table, then created a solaris overlay (without
overwriting existing partitions, and then restored the appropriate
entries in the partition table by hand.  Easy enough!

By the way, am I the only one with the "stable" 2.4.0 kernel who gets
ext2fs corruption?

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

From: Neil Zanella <[EMAIL PROTECTED]>
Subject: RPM and matching
Date: Fri, 12 Jan 2001 02:53:49 -0330


Hello,

Suppose I want to know the names of all installed RPM packages on my
system whose name starts in foo. Is there an rpm command to do this?

Thanks,

Neil


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

From: "John W. Krahn" <[EMAIL PROTECTED]>
Subject: Re: Can you recommend a good Linux book?
Date: Fri, 12 Jan 2001 06:32:29 GMT

Graham Wilson wrote:
> 
>         There might still be a copy of:
> 
>                 Debian GNU/Linux 2.1 Unleashed
>                 by Camou, Goerzen, Van Couwenberghe
>                 SAMS 2000
> 
> at the Half Price computer book store at 8th and Cambie ;) .  G.

It might be more helpful to give the URL as not everybody who reads this
lives in Vancouver. :-)

http://www.halfpricecomputerbooks.com/

John

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

From: Alex <[EMAIL PROTECTED]>
Subject: Re: RPM and matching
Date: Fri, 12 Jan 2001 01:43:26 -0500

Neil Zanella wrote:
> 
> Hello,
> 
> Suppose I want to know the names of all installed RPM packages on my
> system whose name starts in foo. Is there an rpm command to do this?
> 

rpm -qa | grep foo

hope this helps.

Alex.

> Thanks,
> 
> Neil

-- 
============================================
The Search for Extraterrestrial Intelligence
http://www.seti.org/

Registered with the Linux Counter. ID# 175126
http://counter.li.org/index.html

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

From: David <[EMAIL PROTECTED]>
Subject: Re: RPM and matching
Date: Fri, 12 Jan 2001 00:39:37 -0600

Neil Zanella wrote:
> 
> Hello,
> 
> Suppose I want to know the names of all installed RPM packages on my
> system whose name starts in foo. Is there an rpm command to do this?


rpm -qa | grep foo

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 98.999% of seti users. +/- 0.01%

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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Softball newbie question(s)
Date: Fri, 12 Jan 2001 03:29:08 GMT

Francois Labreque writes:
> But, but, but... Linus Torvalds is NOT american.

He is now.

In any case, the American pronunciation of Linux is 'lie-nux'.  The French
pronunciation may be different (and the French-Canadian different yet
again).
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI

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


** 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 by posting to comp.os.linux.misc.

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