Linux-Misc Digest #777, Volume #24               Sun, 11 Jun 00 13:13:03 EDT

Contents:
  Re: ISO image (Dmitri V)
  Re: linux downloads on dos diskettes (Rod Smith)
  Re: Does IPmasq drop packets? Too much hype? (Andrew Purugganan)
  Re: terminal emulation question or ... ([EMAIL PROTECTED])
  Re: kernel identification? What is "what" in Linux? (Dances With Crows)
  Re: editor search (Paul Kimoto)
  Re: linux downloads on dos diskettes ("Wouter Verhelst")
  Re: Reading CD-RW's (Dances With Crows)
  Re: Kernel Upgrade Problem ("John Battista")
  INN refuses to allow localhost access in Netscape (pasupathy)
  Re: linux downloads on dos diskettes ("Tom Brinkman")
  Re: C++ compiling strange error. (Markus Kossmann)
  input-/output-error ("Hans Werner")
  Re: terminal emulation question or ... (fred smith)
  Re: K7 not in Sync (Scott Alfter)
  printing without lp daemon? (Nicoleta Roman)

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

From: Dmitri V <[EMAIL PROTECTED]>
Subject: Re: ISO image
Date: Sun, 11 Jun 2000 17:50:39 +0300

Vilmos Soti wrote:
> 
> mount -t iso9660 -o loop your.iso.image /mnt/iso/image
> 
> You need loopback device (not network loopback) support in your kernel.
> 
> You can even install RedHat for example from such an image via ftp.
> 
> Vilmos

That was it! Thank you very-very much!

Dmitri

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: linux downloads on dos diskettes
Date: Sun, 11 Jun 2000 15:04:59 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] writes:
> I'm a newbie to linux and would like to further my education by
> compiling my own kernel, installing drivers etc. Now to my question.
> The only internet access I have is on a windoze machine. Can I
> download binaries and compiled code using windoze, onto a dos formated
> floppy and then install these files into my linux box to be compiled.
> Buying the hardware to make my linux box internet accessible would be
> a burden right now. Will this work? 

Yes. As another poster has noted, you lose Linux ownership and
permission information, but most files you download are in tarballs,
RPMs, or some similar package format, so this doesn't really matter;
once you extract the files from their package, the ownership and
permissions will be preserved.

One other caveat: Many Linux files, including a kernel tarball, far
exceed the capacity of a floppy disk. A better solution is to use
something like a Zip disk or LS-120, which has higher capacity. If this
isn't possible, you'll need to use some sort of disk spanning software.
I've never tried doing this between Windows and Linux, so I don't know
what would be compatible.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & multi-OS configuration

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

From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: Re: Does IPmasq drop packets? Too much hype?
Date: 11 Jun 2000 14:46:31 GMT

David Steuber ([EMAIL PROTECTED]) wrote:
: [EMAIL PROTECTED] (Andrew Purugganan) writes:

: ' My linux is the gateway and the Winblows machine that shares its dialup 
: ' connection occasionally suffers from 'server not found', even though the 
: ' Linux box is well connected and can surf

: I'm not clear from your post whether you use your Linux box as a
: masquerading router, or your Windows box.

: I use IPChains on a PPro200 with 128MB RAM and the Linux 2.2.14 kernel 
: built with GCC 2.95.2.  When I am stuffing my DSL connection, my PPPoE 
: client might start to register on top as a busy process, but there is
: no problem at all with IPChains.  None.

THe Linux box is the masquerading router and dials out to the ISP, I use 
it to manage that part of the connection
The sharing works well with one ISP and varies widely only with the other
Might try IPChains tho
--
jazz  annandy AT dc DOT seflin DOT org
Registered linux user no. 164098
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??

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

Crossposted-To: ca.unix,comp.sys.os.linux.admin,comp.unix.questions
Subject: Re: terminal emulation question or ...
From: [EMAIL PROTECTED]
Date: 11 Jun 2000 11:11:54 -0500

On 2000-06-10 [EMAIL PROTECTED] said:
   >Example of Problem:
   >[joe@raven joe]$ term=vt100
   >[joe@raven joe]$ telnet xxx.xxx.xxx.xxx
   >Trying xxx.xxx.xxx.xxx...
   >Connected to xxx.xxx.xxx.xxx
Remember, Unix is case sensitive.  It should be TERM=vt100.

Net-Tamer V 1.08X - Test Drive


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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: kernel identification? What is "what" in Linux?
Date: 11 Jun 2000 11:14:02 EDT
Reply-To: [EMAIL PROTECTED]

On 11 Jun 2000 10:45:44 GMT, Christoph Kukulies 
<<8hvqko$f21$[EMAIL PROTECTED]>> shouted forth into the ether:
>Paul Kimoto <[EMAIL PROTECTED]> wrote:
>: In article <8hqpeh$ku1$[EMAIL PROTECTED]>, Christoph Kukulies wrote:
>:> With what tool can I find out from just looking at the file (a la 
>:> 'what /kernel' or 'what /vmunix' one is used from UNIX systems)?
>
>: If you can find the kernel image ("vmlinuz", "zImage", "bzImage", etc.),
>: you can run "file /path/to/image" on it.
>
>Would that also tell me what version the kernel is  (e.g. 2.2.14?)
>I suspect it only tells me it is a bzipped compressed file.

The version string is offset at 0x57f (1407 decimal) in the zImage
file.  So this silly C hack will tell you what's up if you call it with
the bzImage or zImage as an argument:

#include<stdio.h>
int main(int argc, char **argv)
{
  FILE *ifp;
  int i;
  ifp=fopen(argv[1],"r");
  fseek(ifp,1407,SEEK_SET);
  for(i=0;i<20;i++)
        putchar(getc(ifp));
  fclose(ifp);
  return 0;
}

-- 
Matt G / Dances With Crows              \###| You have me mixed up with more
There is no Darkness in Eternity         \##| creative ways of being stupid?
But only Light too dim for us to see      \#| Beer is a vegetable.  WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL

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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: editor search
Date: 11 Jun 2000 11:15:59 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, Steve Dearth wrote:
>  when i'm ready to do bug
> fixes/etc. i switch over to my windows box and edit using the IBM editor
> iedit.  generally not a great editor, but has a feature i can't live
> without.  When i hit CTL-I, a dialog pops up, i entire a search string,
> and it parses out a list of all of the lines that contain that string.
> move my cursor to that line, hit CTL-a, and i'm at the appropriate
> location in my document.  very handy.  anyone know of a linux text
> editor with this type of functionality?
>
> i know that vim allows my to put my cursor on a string, hit contol-[ and
> get a list of lines containing the string, but this doesn't allow me to
> specify the string outside of the document.

I don't know why an editor should search files (every file on the
filesystem?) that it hasn't been told about, but you can do the
search part with the very simple shell command(line)

$ find / -type f -print | xargs grep "search string" /dev/null

(You can run arbitrary commands using "!" under vi, right?)

-- 
Paul Kimoto             <[EMAIL PROTECTED]>

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

From: "Wouter Verhelst" <[EMAIL PROTECTED]>
Subject: Re: linux downloads on dos diskettes
Date: Sun, 11 Jun 2000 15:21:34 GMT

Rod Smith <[EMAIL PROTECTED]> schreef in berichtnieuws
vUN05.197836$[EMAIL PROTECTED]
> One other caveat: Many Linux files, including a kernel tarball, far
> exceed the capacity of a floppy disk. A better solution is to use
> something like a Zip disk or LS-120, which has higher capacity. If this
> isn't possible, you'll need to use some sort of disk spanning software.
> I've never tried doing this between Windows and Linux, so I don't know
> what would be compatible.

I have. RAR works just fine. you can find software for Windows & for Linux
at www.rarsoft.com
--
Greetings,

Wouter



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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Reading CD-RW's
Date: 11 Jun 2000 11:32:08 EDT
Reply-To: [EMAIL PROTECTED]

On Sun, 11 Jun 2000 14:53:13 GMT, Koen Van Baelen 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>
>I've got a CD-RW thai I created with Adaptec DirectCD with a HP 9100
>CD-writer in Windows. Can I read this CD in a normal CD-ROM player in
>Linux or do I need to get some extra software?

Depends on the filesystem of the CD, and your CD-ROM drive.  First, there
are a lot of older CD-ROM drives that can't read CD-RW media at all
because of the difference in optical properties between normal CD-ROMs and
CD-RWs.  Newer drives with automatic gain control can handle CD-RWs, but
you're probably out of luck if the drive was made before 1997.  Second,
Acraptek's software can write CD-RWs in two ways:  Normal ISO9660 format,
and "packet writing", otherwise known as UDF.  If your software made it
possible to treat the CD-RW like a slow hard drive, with "drag-n-drop"
copying of files, then the CD-RW was packet-written.

UDF read-only filesystem drivers for Linux are available in the latest
development kernel, or at http://trylinux.com/projects/udf/index.html

-- 
Matt G / Dances With Crows              \###| You have me mixed up with more
There is no Darkness in Eternity         \##| creative ways of being stupid?
But only Light too dim for us to see      \#| Beer is a vegetable.  WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL

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

From: "John Battista" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Kernel Upgrade Problem
Date: Sun, 11 Jun 2000 08:30:59 -0700

you can also try make bzlilo
which will make the kernel and cp all the files to /boot.

-John B

"DanH" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>, Jeff Craig
> <[EMAIL PROTECTED]> wrote:
>
> > Now the problem is when I run lilo again to reconfigure it.  I get the
> > following output:
> >
> > Added Windows *
> >
> > Kernel /boot/vmlinuz-2.2.16 is too big
>
> make bzimage
>
> will seriously reduce your kernel's size.
>
> DanH
> --
> UNIX - Not just for vestal virgins anymore
> Linux - Choice of a GNU generation
>



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

From: pasupathy <[EMAIL PROTECTED]>
Crossposted-To: 
jaring.os.linux,comp.os.linux.networking,comp.os.linux.setup,alt.os.linux
Subject: INN refuses to allow localhost access in Netscape
Date: Sun, 11 Jun 2000 23:43:23 +0800

to News Gurus,

pls help , I am trying to setup INN 2.2.1-1 with SUck to automate
newsloading in my RH6.1All seems to work fine.Innd started,adding group
with the Ctlinnd command worked, but when  subscribing to those group in
Netscape (from localhost server)failed.A netscape menu prompts to enter
username,passwd and then ends up with authentication error.Below are
some files u may find useful to diagnose, TIA.
here is my /etc/news/nnrp.access
# Default to no access
*:: -no- : -no- :!*
# Allow access from localhost
localhost:Read Post:::*

this is the var/log/news/news.notice
[root@localhost news]# less news.notice
Jun 12 07:01:57 localhost innd: SERVER descriptors 1024
Jun 12 07:01:57 localhost innd: SERVER outgoing 1011
Jun 12 07:01:57 localhost actived[366]: started
Jun 12 07:01:57 localhost innd: SERVER ccsetup control:13
Jun 12 07:01:57 localhost innd: SERVER lcsetup localconn:15
Jun 12 07:01:57 localhost innd: SERVER rcsetup remconn:5
Jun 12 07:01:57 localhost innd: SERVER bad_newsfeeds no feeding sites
Jun 12 07:01:58 localhost innd: SERVER perl filtering enabled
Jun 12 07:01:58 localhost innd: SERVER starting
Jun 12 07:02:23 localhost innd: SERVER bad_newsfeeds no feeding sites
Jun 12 07:02:23 localhost innd: SERVER newgroup jaring.os.linux as y
Jun 12 07:07:15 localhost innd: localhost connected 17 streaming allowed

Jun 12 07:07:15 localhost innd: localhost:17 closed seconds 1 accepted 0

refused 0 rejected 0
Jun 12 07:07:15 localhost nnrpd[533]:  perl filtering enabled
Jun 12 07:07:15 localhost nnrpd[533]: localhost.localdomain connect
Jun 12 07:07:53 localhost nnrpd[533]: localhost.localdomain bad_auth
Jun 12 07:07:53 localhost nnrpd[533]: localhost.localdomain times user
0.010 system 0.080 elapsed 37.439


this is the var/log/messages
[root@localhost log]# tail -f messages
Jun 12 07:01:52 localhost keytable: Loading
/usr/lib/kbd/keymaps/i386/qwerty/us.kmap.gz
Jun 12 07:01:52 localhost keytable: Loading system font:
Jun 12 07:01:53 localhost rc: Starting keytable succeeded
Jun 12 07:01:53 localhost gpm: gpm startup succeeded
Jun 12 07:01:53 localhost PAM_pwdb[306]: (su) session opened for user
news
by (uid=0)
Jun 12 07:01:57 localhost PAM_pwdb[306]: (su) session closed for user
news
Jun 12 07:01:57 localhost linuxconf: Linuxconf final setup
Jun 12 07:02:00 localhost rc: Starting linuxconf succeeded
Jun 12 07:02:07 localhost PAM_pwdb[409]: (login) session opened for user

root by LOGIN(uid=0)
Jun 12 07:02:35 localhost PAM_pwdb[410]: (login) session opened for user

root by LOGIN(uid=0)
Jun 12 07:15:12 localhost PAM_pwdb[411]: (login) session opened for user

root by LOGIN(uid=0)





--
 ,---._________________________________
  / [EMAIL PROTECTED]               \   |~~\_____/~~\__  |
 |  [EMAIL PROTECTED] tel:06-6781003     >---\______====== )-+
 |  ,---._Seremban,Malaysia ____________/            ~~~|/~~  |
 |/ http://pwp.maxis.net.my/pashupati/pashupati.html    ()



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

From: "Tom Brinkman" <[EMAIL PROTECTED]>
Subject: Re: linux downloads on dos diskettes
Date: Sun, 11 Jun 2000 10:38:48 -0600

In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> I'm a newbie to linux and would like to further my education by
> compiling my own kernel, installing drivers etc.

   You should say what distribution you use.  Still you'll get a lot
of tutorials and 'step by steps' at   http://www.mandrakeuser.org/
 http://jgo.local.net/LinuxGuide/    and 
 http://www.linuxnewbie.org/

 Now to my
> question. The only internet access I have is on a windoze machine.
> Can I download binaries and compiled code using windoze, onto a
> dos formated floppy and then install these files into my linux box
> to be compiled. Buying the hardware to make my linux box internet
> accessible would be a burden right now. Will this work?  Thanks,
> jerbear
> 

  yes if you wanna do it the _hard_ way ;->  try  'info mtools'

   Much easier would be to mount your Windows partition, and if the
linux files to be installed are rpm's, just run 'em from where they
are on your winblows drive.  For tar.gz's, untar them from where they
are on your windoze drive to a dir on your linux drive/partition, eg. 
I use /home/tom/tmp.  In either case you don't _have_ to move the 
files onto your linux partition(s) to use them.  Linux works jus' fine 
with vfat partitions (either fat 16 or 32) and long file names, even
with spaces in them, are no problem.  It's the reverse that's a
problem ;) 

   If you'd rather have them on your linux partition, a simple 'mv'
command will do, or if you're using X (like KDE) you can just drag
and drop them.  Depending on dir and file permissions you may need to 
be 'root' to do all this.

   A search of 'harware modem' at www.pricewatch.com will yield dozens
of hardware modems that work in Linux.  A good buy is a Phoebe that
uses the Texas Instr's chipset, ~ $35   It's basically the same modem
as the much more expensive 3com/USR.
-- 
.      Tom Brinkman      [EMAIL PROTECTED]




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

From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: C++ compiling strange error.
Date: Sun, 11 Jun 2000 17:25:56 +0200

YamYam wrote:
> 
> When I compile a small C++ file like:
> 
> //-------------------------------
> //helo.cpp
> #include <iostream.h>
> int main(void){
>   cout << "Hi there!...\n" ;
>   return 0 ;
> }
> //------------------------------
> 
> I get these messages:
> 
> [root@localhost kpsql-1.0]# g++ helo.cpp -o helo

"g++ -v helo.cpp -o helo " 
will show you the search paths used by g++ and might give you a hint ,
what's going wrong.  


--
Markus Kossmann                                    
[EMAIL PROTECTED]

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

From: "Hans Werner" <[EMAIL PROTECTED]>
Subject: input-/output-error
Date: Sun, 11 Jun 2000 18:06:25 +0200
Reply-To: "Hans Werner" <[EMAIL PROTECTED]>

Hello,

I�ve got a problem with the installation of the program Newtonlink.

I have two Linuc versions installed on my PC. Both Suse 6.0 with
Kernel 2.2.5, both versions installed from the same CD.
Now I wanted to install the program Newtonlink on both Linux systems in the
way the author of the programm wrote it.
On one Linux system it is running, on the other not.

I get the following error message:

bash-2.02# newtonlink -getpnam
Newtonlink Version 1.30, running on Linux
Newtonlink comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are
welcome to redistribute it under the terms of the GNU General Public
License.

Get Newton package names
Make sure Sloup is running on your Newton
Trying to connect to your Newton...
stty: standard input: input-/output-error
stty: standard input: input-/output-error
sub send_line: write systemcall failed at
/usr/lib/newtonlink-1.30/DeviceReadWrite.pl line 168.
bash-2.02# exit

The configure file on both systems ist the same, the perl-file that brings
the error message are also the same..

What can i make to find the error?
Where do I have to search?

Thanks in advanche.



Hans






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

Crossposted-To: ca.unix,comp.sys.os.linux.admin,comp.unix.questions
From: fred smith <[EMAIL PROTECTED]>
Subject: Re: terminal emulation question or ...
Date: Sun, 11 Jun 2000 12:28:36 GMT

In comp.unix.questions Joe Zelwietro <[EMAIL PROTECTED]> wrote:
: Hello All:
<large snippage>
: When I telnet to other (unix, not NT) hosts I DON't have this problem.
: As well, when I connect with this NT host in question using a Windows
: telnet client (with a terminal emulation of vt100/ANSI) I DON'T have
: this problem, so I know that the dynix database on NT is working.  I
: suspected that the terminal emulation on the linux boxes was the problem
: because when I changed the emulation on a windows telnet client to vt-52
: the output was all garbled in a similiar way that I'm getting with the
: linux boxes.  But when I change the emulation on the linux boxes there
: is no change in the output.  Does anybody have any idea why the output
: looks like this when I connect to my NT box from my linux box?

Firstly, if you're using a Linux console, YOU CAN'T CHANGE THE EMULATION.
If, when you say that, you mean you're doing something like:

        TERM=<some arbitrary terminal type>
        export TERM

then you can't do that. The Linux console is a linux console is a linux
console is a...., and nothing you can do, short of rewriting the console
driver, will change it. The TERM environment DESCRIBES its attributes,
it does not CONTROL them.

But perhaps I'm barking up the wrong tree...
Having said that, perhaps you're using minicom or some such terminal
emulator which does provide a changeable emulation?

Well, whatever you're using for a terminal, it seems clear that the
Universe telnet client doesn't emit the right commands for it. Is there
some way to try changing Universe's idea of what your terminal is?

Fred

-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
              it judges the thoughts and attitudes of the heart."  
============================ Hebrews 4:12 (niv) ==============================

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

From: [EMAIL PROTECTED] (Scott Alfter)
Subject: Re: K7 not in Sync
Date: Sun, 11 Jun 2000 16:45:23 GMT

In article <[EMAIL PROTECTED]>,
NewsMail <[EMAIL PROTECTED]> wrote:
>I installed Red Hat 6.2 on my brand new system:
>
>K7V Motherboard with most recent 1007.01a bios
>128 MB SDRAM 133 MHz
>K7 700 MHz processor
>ATI Rage Fury 32MB graphics card
>UDMA-66 Maxtor 20 GB IDE HD
>
>It appears to install in text mode just fine, (although I cannot seem to get
>X configured during install, the install seems to die during probes).
>
>After I create the boot disk and Red Hat reboots I get the following error
>and cannot go any further:
>
>Disabling CPUID Serial number... general protection fault: 0000

It looks like it's trying to disable a P!!!'s serial number.  The problem is
that you're running a K7 that the kernel has somehow mistakenly identified
as a P!!!.  Since you had to boot Linux in order to install it, have you
tried copying the kernel image from that install CD (or wherever it came
from) and using that to boot up?  Once that's done, try rebuilding the
kernel (this assumes that you installed the kernel source).  If it still
doesn't work, you could comment out the code that's causing the
problem...it's in arch/i386/kernel/setup.c.

  _/_
 / v \
(IIGS(  Scott Alfter (remove Voyager's hull number for email address)
 \_^_/  http://salfter.dyndns.org

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

From: Nicoleta Roman <[EMAIL PROTECTED]>
Subject: printing without lp daemon?
Date: Sun, 11 Jun 2000 12:51:15 -0400

Hello all!

I have the following problem: while running Debian Linux on my own
computer, this computer is connected to a network with VERY strict
security issues, and the administrators won't allow me to have (among
others) an lp daemon running (not even temporary, I would think); hence
I am not able to use my local printer (the one connected to my
computer's lpt port).

Does anybody know how to deal with something like this? I am thinking
that there might be a program that would take, let's say, .ps files and
send them to the lpt port in raw format, printer commands and everything
(basically taking the role of the daemon) but which I must run myself
every time I want to print something (scenario like this: from, let's
say, staroffice I print to file, in ps format, and then I run
"no_daemon_print file.ps"); the program most likely tailored for every
printer model (of course!).

Thanks!

Niki


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


** 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.misc) 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-Misc Digest
******************************

Reply via email to