Linux-Misc Digest #392, Volume #24                Sun, 7 May 00 15:13:04 EDT

Contents:
  Re: Redhat 6.1 and FDDI (DEFPA) (Christoph Kukulies)
  Re: Newbie question (Leejay Wu)
  Re: ppp with worldnet.att (Harold Bower)
  ksnapshot equavilent? ("oliver austin")
  Re: redhat 6.1 install woes (Christoph Kukulies)
  Re: segmentation fault ? (Dave Thompson)
  Re: Need to find my IP address ("Christos Karayiannis")
  Re: redhat 6.1 install woes (Christoph Kukulies)
  mail server (Alexis Bilodeau)
  Voodoo3 3500 and bttv (MegaSurge)
  Re: segmentation fault ? ("Peter T. Breuer")
  Re: seyon location ("T.E.Dickey")
  Extracting multiple, COMPRESSED, tar files? (mh)
  mkisofs (Konstantin L Kouptsov)
  Re: Redhat 6.1 and FDDI (DEFPA) (Robert Heller)

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

From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: Re: Redhat 6.1 and FDDI (DEFPA)
Date: 7 May 2000 17:16:03 GMT

Robert Heller <[EMAIL PROTECTED]> wrote:
:   Christoph Kukulies <[EMAIL PROTECTED]>,
:   In a message on 7 May 2000 13:26:27 GMT, wrote :

: CK> I want to configure a RH6.1 system as a router between
: CK> FDDI and 100MBit Fast ethernet.
: CK> 
: CK> I went into the graphical menu to add a module,
: CK> chose eth1 and can't find a module DEFPA.
: CK> 
: CK> Am I lost with Linux here? Should I go over to FreeBSD since I 
: CK> know it's working there?

: No, you need to re-build the kernel.  The DEFPA driver cannot be added
: as a module (I don't know why).  Make sure your kernel sources are

I did what was described in a mini-howto about linux modules
installation this afternoon and it ran about a couple of hours

cd /usr/src/linux
make menuconfig
make dep clean modules modules_install zImage

depmod -a

/etc/lilo.conf:
image=/usr/src/linux/arch/i386/boot/zImage
  label=new
  alias=n
  read-only
  vga=ask
  optional


but since my environment is still a bit fragile - I have to boot from
a floppy because LILO doesn't boot from the hard disk (although I think I 
have adjusted the geometry in the BIOS now correctly).


: installed, go to /usr/src/linux and do a make xconfig (turn on the
: DEFPA driver), make clean, make depend, make bzImage.  *Make sure you
: have at least a boot floppy*.  When the build completes there should be
: a bzImage file in /usr/src/linux/arch/i386/boot/. Copy this file to
: /boot/vmlinuz-2.2.12-20-defxx, copy /usr/src/linux/System.map to
: /boot/System.map-2.2.12-20-defxx, and then edit /etc/lilo.conf to
: include an additional image (DON'T DELETE THE ORIGIAL image= BLOCK):

: image=/boot/vmlinuz-2.2.12-20-defxx
:         label=linux-defxx
:         initrd=/boot/initrd-2.2.12-20.img
:         read-only
:         root=/dev/sda1

: run lilo (MAKE SURE YOU HAVE A BOOT FLOPPY, JUST IN CASE).  Make sure
: /etc/lilo includes 

: prompt
: timeout=50

: and reboot.  Select 'linux-defxx single' at the boot prompt and watch
: the machine boot up and note that the fddi card is seen.  The device
: will be named fddi0.  If all is good, edit /etc/lilo.conf to have a
: line like:

: default=linux-defxx

: run lilo again and exit from the SI bash prompt to get the rest of the
: way up.  You can now fire up X11 (locally or remotely) and use netconfig
: to configure your fddi card.  Note: you won't have to add a module.  The
: fddi device will show up as an available interface.


: CK> 
: CK> -- 
: CK> Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
: CK>                                               


Thanks for the detailed description.



:                          
: -- 
:                                      \/
: Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
: http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
: http://www.deepsoft.com              /\FidoNet:    1:321/153

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

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

From: Leejay Wu <[EMAIL PROTECTED]>
Subject: Re: Newbie question
Date: Sun,  7 May 2000 13:22:53 -0400

Excerpts from netnews.comp.os.linux.misc: 7-May-100 Newbie question by
George [EMAIL PROTECTED] 

[snip]
> This is a multi-part message in MIME format.
> --------------EA74BEFB35B081456B7F2B3E
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit

Kill this.  Standard ASCII suffices for this post.   Ditto for the
.vcf.

> Hello,
>  
>     I have a really simple question.  In the script file for xwindows
> "xinit" I came across this statement:
>  
>     if [ -n "$BASH.ENV" ]; then "$BASH.ENV"
>  
> I am not sure what the -n means and I don't know where to look for this
> usage.  
>
> Does anyone know?

[snip]

It's a shell script?  Then look at the first line of the file, which
is most likely something like

#!/bin/bash

or such.  Whatever's after #! is the path to the shell, which given
the variable naming is probably bash.  It might be /bin/sh, which
on most Linux systems is simply a link to bash, anyway.

Then, check the man page for this shell.  In this case, 'man bash' --
(a VERY long man page...)

[ expr ]

is a 'test' statement, and in particular '-n <string>' returns true
if and only if the string is of non-zero length.

--
|   [EMAIL PROTECTED]        | the silly student          |
|--------------------------| he writes really bad haiku |
|   #include <stddiscl.h>  | readers all go mad         |

    


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

From: Harold Bower <[EMAIL PROTECTED]>
Subject: Re: ppp with worldnet.att
Date: Sun, 07 May 2000 17:35:40 GMT

Chuck Busby wrote:
> 
> Has anyone had success using linux on the worldnet.att isp?  If so, how
> do I log on?  ppp keeps crashing unexpectedly.
> 
> [EMAIL PROTECTED]

What distro are you using?  I made up step-by-step instructions for
TurboLinux (3.6,4.0 and 6.0) making the most use of provided tools and
minimum of editing.

Hal

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

From: "oliver austin" <[EMAIL PROTECTED]>
Subject: ksnapshot equavilent?
Date: Mon, 1 May 2000 18:32:48 +0100

I installed Gnome from a RedHat 6.1 distro but now I need KDEs Ksnpshot to
capture the screen.
Is there a Gnome equivalent?
Thanks

Oliver



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

From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: Re: redhat 6.1 install woes
Date: 7 May 2000 17:55:54 GMT

Leonard Evens <[EMAIL PROTECTED]> wrote:
: Christoph Kukulies wrote:
:> 
:> I tried to install RH 6.1 on a P90 ASUS PCI/P54SP4 board, 64MB,
:> 2 IDE (M-2.2 GB Maxtor, S-2.1 GB Quantum FB), ELSA Victory Erazor,
:> Intel Etherexpress NIC.
:> 
:> Nothing fancy, as one can see.
:> 
:> Installing runs fine, I install a minimum system, on root
:> partition of 2192 MB (or something like that), 350 MB swap on second IDE.
:> 
:> But when I reboot first time I just can see the letters LI
:> (obviously from LILO) and then stop. Nothing anymore. I can only
:> CTRL-ALT-DEL.
:> 
:> Tried this now three times, even with IDE Normal mode.
:> 
:> --
:> Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

: In principle, the installation should have created a boot
: floppy for you.  (If it didn't, reinstall but use the
: upgraded Anaconda installation floppy images from the RedHat

I have the 6.1 distribution. Does Anaconda apply for me here?
Just want to be sure to not run into a mess when I start to overwrite my
6.1 installation with a 6.2 kernel.

: Errata or a mirror site.  Actually, you could probably just
: choose the upgrade option if you have already installed.)  
: Boot from that and use fdisk to
: show your partitioning.  For IDE disks, 
: fdisk -l /dev/hda
: fdisk -l /dev/hdb
: will exhibit the partitioning information.  That way we can
: tell if  you have encountered the 1024 cylinder limit.
: For completeness, also show us what
: more /etc/lilo.conf
: shows, but I expect that would not be the problem.

: If you aren't encountering the 1024 cylinder limit problem,
: there could be some geometry mismatch.  You would have to give
: us more detail about your BIOS and whatever else you can tell
: us.   And of course, there could just have been some glitch
: in the installation such that lilo was not run properly and
: doing again will resolve the issue.

: -- 

: Leonard Evens      [EMAIL PROTECTED]      847-491-5537
: Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

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

From: Dave Thompson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: segmentation fault ?
Date: Sun, 07 May 2000 17:58:53 GMT


Well ... man signal tells me that the signal command installs a new
signal handler.  man core returns nothing, i.e. no manual entry for
core.  These are not particularly illuminating.

I have, however, found some references to segmentation faults with
leafnode/texpire out there in bug reports, so I'll pursue that route.

Thanks for your assistance.

Dave


"Peter T. Breuer" wrote:
> 
> Dave Thompson <[EMAIL PROTECTED]> wrote:
> 
> : What is a segmentation fault ?  I'm getting this message trying to run
> : texpire, part of leafnode.
> 
> Man signal. Man core. Read the unix faq ...
> 
> Its an attempt to access memory space that doesn't belong to it.
> 
> Peter

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

From: "Christos Karayiannis" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: Sun, 7 May 2000 20:56:58 +0300

> > > I used getsockname() as:
> > > if (getsockname(sock, (struct sockaddr *) &host, &addrlen) < 0 ) {
> > >     perror("getsockname");
> > >     exit(1);
> > > }
> > >
> > > printf("My port is %d\n", ntohs(host.sin_port));
> > > printf("My address is %s\n", inet_ntoa(host.sin_addr.s_addr));
> > >
> > >
> > > where host was of type struct sockaddr_in and
> > > addrlen  of type int.
> > >
> > >                         Christos Karayiannis
> > >

Doug Schulz <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have a sockets program an need to find the IP address of the machine
> the program is being run from so I can bind the socket to the correct
> address/port.  I have tried using gethostname coupled with gethostbyname
> and I can only get 127.0.0.1 (localhost address).  I want to find the
> actual IP address of the machine.  Is there a way of doing this.  Any
> help would be great.
>
> FYI this is a UDP app.
>
> Thanks,
>
> Doug
>



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

From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: Re: redhat 6.1 install woes
Date: 7 May 2000 18:09:22 GMT

Leonard Evens <[EMAIL PROTECTED]> wrote:
: Christoph Kukulies wrote:
:> 
:> I tried to install RH 6.1 on a P90 ASUS PCI/P54SP4 board, 64MB,
:> 2 IDE (M-2.2 GB Maxtor, S-2.1 GB Quantum FB), ELSA Victory Erazor,
:> Intel Etherexpress NIC.
:> 
:> Nothing fancy, as one can see.
:> 
:> Installing runs fine, I install a minimum system, on root
:> partition of 2192 MB (or something like that), 350 MB swap on second IDE.
:> 
:> But when I reboot first time I just can see the letters LI
:> (obviously from LILO) and then stop. Nothing anymore. I can only
:> CTRL-ALT-DEL.
:> 
:> Tried this now three times, even with IDE Normal mode.
:> 
:> --
:> Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

: In principle, the installation should have created a boot
: floppy for you.  (If it didn't, reinstall but use the
: upgraded Anaconda installation floppy images from the RedHat
: Errata or a mirror site.  Actually, you could probably just
: choose the upgrade option if you have already installed.)  
: Boot from that and use fdisk to
: show your partitioning.  For IDE disks, 
: fdisk -l /dev/hda
: fdisk -l /dev/hdb
: will exhibit the partitioning information.  That way we can
: tell if  you have encountered the 1024 cylinder limit.


It's working! I had adjusted the disk types once again in the BIOS and
found that if I chose LBA mode with the same geometry as the dmesg probe
output said (523/128/63) it suddenly worked. Phew, strange.

Anyway, I don't need a boot floppy and can now turn to kernel compilation.

Thanks again.

: -- 

: Leonard Evens      [EMAIL PROTECTED]      847-491-5537
: Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

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

From: Alexis Bilodeau <[EMAIL PROTECTED]>
Subject: mail server
Date: Sun, 07 May 2000 18:16:20 GMT

Hi,

I want to setup a little mail server on my machine (running Mandrake
7.0).  There's a need for only four or five mail accounts.  I want to
know which server to use and how to set this up.
I already have a web server with a domain name, if it helps...  I want
these email addresses to be @domainname.com.

Thanks a lot,

-- 
Alexis Bilodeau
eMagiK Technologies
819.371.9273
[EMAIL PROTECTED]

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

From: MegaSurge <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.x
Subject: Voodoo3 3500 and bttv
Date: Sun, 07 May 2000 10:19:01 -0700

How can I setup my voodoo3 3500 to use the TV/FM Tuner abilities?  I
don't know what the chipset is for the card so I'm not sure what to
configure in bttv to make it work or is it even possible?  If it's not
possible with bttv is there any other apps/utils that can be used to get
these abilities functioning on my Voodoo3 3500?  Please help.  Thanks.

-- 
"The world is full of power and energy and a person can go far by just
skimming
off a tiny bit of it." Neal Stephenson - Snow Crash
===============================================================================
|MegaSurge                              |aka PolarBear                        |
|ICQ#:  2908964                         |AOL Messenger Name: megasurg         |
|http://www.setec-astronomy.org         |PGP Pub Key on pgpkeys.mit.edu:11371 |
===============================================================================

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: segmentation fault ?
Date: 7 May 2000 18:16:02 GMT

Dave Thompson <[EMAIL PROTECTED]> wrote:

: Well ... man signal tells me that the signal command installs a new

And lists the signals.

SEE ALSO
       kill(1), kill(2), killpg(2),  pause(2),  raise(3),  sigaction(2),  sig-
       nal(7), sigsetops(3), sigvec(2)

You probably looked at signal(2) instead of signal(7).

: signal handler.  man core returns nothing, i.e. no manual entry for
: core.  These are not particularly illuminating.

It's a unix faq. It doesn't need searching for!

: I have, however, found some references to segmentation faults with
: leafnode/texpire out there in bug reports, so I'll pursue that route.

Stop trying so hard. You are overlooking "the nose on your face" :-).

Peter

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

From: "T.E.Dickey" <[EMAIL PROTECTED]>
Subject: Re: seyon location
Date: Sun, 07 May 2000 18:33:49 GMT

Kevin Bree <[EMAIL PROTECTED]> wrote:
> I am trying to find a version of seyon to run with RH60,RH61 or RH62.
> Is there an RPM or tgz available?

perhaps over in Debian's distribution (there was some issue a while back
whether the code could be modified and redistributed; RH simply dropped
Seyon at that point, but the Debian people followed through and found
the author, who was cooperative).


-- 
Thomas E. Dickey  <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

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

Date: Sun, 07 May 2000 18:38:45 +0000
From: mh <[EMAIL PROTECTED]>
Subject: Extracting multiple, COMPRESSED, tar files?

Is there a way to extract multiple compressed tar files at once?  I
tried the -M option for "multiple volumes" but got an error message to
the effect that this was not possible with compressed files, which is
what I'm trying to work with. I also tried using the "*" wildcard, but
got the same error.

I just downloaded complete sets of HOWTOs and mini-HOWTOs.  Each
collection consists of a single compressed tar file containing multiple
compressed tar files, one for EACH article.  I can't imagine anyone
actually extracting these articles one at a time.

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

From: Konstantin L Kouptsov <[EMAIL PROTECTED]>
Subject: mkisofs
Date: Sun, 07 May 2000 15:04:25 -0400


I am trying to creade a CD image using mkisofs-1.12b5
It appears the image does not have correct file names.
Whatever swithes I give to mkisofs, it creates all files
in 8.3 standard. Why? 



[pooh:~]$ mkisofs -r -L -J -a -o backup_May_5_2000 backup.May.5.2000/

Using .000;1 for  /.pine-debug2 (.pine-debug3)
Using .001;1 for  /.pine-debug3 (.pine-debug4)
Using .002;1 for  /.pine-debug4 (.pine-debug1)
Using WAVELETT.000;1 for  backup.May.5.2000/WaveletTransforms-Part2.nb 
(WaveletTransforms-Part1.nb)
Using MAKEFILE.000;1 for  backup.May.5.2000/DXF/makefile (Makefile)
Using MATRIX.000;1 for  backup.May.5.2000/W/matrix.w~ (matrix.w)
Using PROBLEM_.001;1 for  backup.May.5.2000/problem_7_13_3.2.cpp (problem_7_13_3.1.cpp)
Using PROBLEM_.002;1 for  backup.May.5.2000/problem_7_13_3.1.cpp (problem_7_13_2.cpp)
Using CARDGAME.000;1 for  backup.May.5.2000/project3/part3/cardgames.ads.old 
(cardgames.adb.old)
Using CARDGAME.001;1 for  backup.May.5.2000/project3/part3/cardgames.ali 
(cardgames-pack.ali)

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

From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Redhat 6.1 and FDDI (DEFPA)
Date: Sun, 07 May 2000 19:08:41 GMT

  Christoph Kukulies <[EMAIL PROTECTED]>,
  In a message on 7 May 2000 17:16:03 GMT, wrote :

CK> Robert Heller <[EMAIL PROTECTED]> wrote:
CK> :   Christoph Kukulies <[EMAIL PROTECTED]>,
CK> :   In a message on 7 May 2000 13:26:27 GMT, wrote :
CK> 
CK> : CK> I want to configure a RH6.1 system as a router between
CK> : CK> FDDI and 100MBit Fast ethernet.
CK> : CK> 
CK> : CK> I went into the graphical menu to add a module,
CK> : CK> chose eth1 and can't find a module DEFPA.
CK> : CK> 
CK> : CK> Am I lost with Linux here? Should I go over to FreeBSD since I 
CK> : CK> know it's working there?
CK> 
CK> : No, you need to re-build the kernel.  The DEFPA driver cannot be added
CK> : as a module (I don't know why).  Make sure your kernel sources are
CK> 
CK> I did what was described in a mini-howto about linux modules
CK> installation this afternoon and it ran about a couple of hours
CK> 
CK> cd /usr/src/linux
CK> make menuconfig
CK> make dep clean modules modules_install zImage
CK> 
CK> depmod -a
CK> 
CK> /etc/lilo.conf:
CK> image=/usr/src/linux/arch/i386/boot/zImage
CK>   label=new
CK>   alias=n
CK>   read-only
CK>   vga=ask
CK>   optional

You really shoud copy /usr/src/linux/arch/i386/boot/zImage to the /boot
or / partition, but give it a *different* name (as shown below).  It is
highly likely that '/usr/src/linux/arch/i386/boot/zImage' is way up past
cylinder 1024, which will cause lilo to gag and barf.

CK> 
CK> 
CK> but since my environment is still a bit fragile - I have to boot from
CK> a floppy because LILO doesn't boot from the hard disk (although I think I 
CK> have adjusted the geometry in the BIOS now correctly).

Question: did you install Linux on one *big* partition?  This is
probably not a good idea.   You really should create a *small* (64meg)
root partition at or near the beginning of the disk.  Everything else
can be elsewhere.  If / (or /boot) is on a small partition near the
beginning of the disk, you won't have problems with lilo.

CK> 
CK> 
CK> : installed, go to /usr/src/linux and do a make xconfig (turn on the
CK> : DEFPA driver), make clean, make depend, make bzImage.  *Make sure you
CK> : have at least a boot floppy*.  When the build completes there should be
CK> : a bzImage file in /usr/src/linux/arch/i386/boot/. Copy this file to
CK> : /boot/vmlinuz-2.2.12-20-defxx, copy /usr/src/linux/System.map to
CK> : /boot/System.map-2.2.12-20-defxx, and then edit /etc/lilo.conf to
CK> : include an additional image (DON'T DELETE THE ORIGIAL image= BLOCK):
CK> 
CK> : image=/boot/vmlinuz-2.2.12-20-defxx
CK> :         label=linux-defxx
CK> :         initrd=/boot/initrd-2.2.12-20.img
CK> :         read-only
CK> :         root=/dev/sda1
CK> 
CK> : run lilo (MAKE SURE YOU HAVE A BOOT FLOPPY, JUST IN CASE).  Make sure
CK> : /etc/lilo includes 
CK> 
CK> : prompt
CK> : timeout=50
CK> 
CK> : and reboot.  Select 'linux-defxx single' at the boot prompt and watch
CK> : the machine boot up and note that the fddi card is seen.  The device
CK> : will be named fddi0.  If all is good, edit /etc/lilo.conf to have a
CK> : line like:
CK> 
CK> : default=linux-defxx
CK> 
CK> : run lilo again and exit from the SI bash prompt to get the rest of the
CK> : way up.  You can now fire up X11 (locally or remotely) and use netconfig
CK> : to configure your fddi card.  Note: you won't have to add a module.  The
CK> : fddi device will show up as an available interface.
CK> 
CK> 
CK> : CK> 
CK> : CK> -- 
CK> : CK> Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
CK> : CK>                                               
CK> 
CK> 
CK> Thanks for the detailed description.
CK> 
CK> 
CK> 
CK> :                          
CK> : -- 
CK> :                                      \/
CK> : Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
CK> : http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
CK> : http://www.deepsoft.com              /\FidoNet:    1:321/153
CK> 
CK> -- 
CK> Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
CK>                                                         






                                                            
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

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


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