Linux-Misc Digest #539, Volume #27                Thu, 5 Apr 01 15:13:02 EDT

Contents:
  Re: ppp pppissing me off ("000")
  FTP server setup for dummies? ("Jake Burns")
  change ftp directory ("Colin Bondi")
  Adding new modules and kernel recompilation (Brent Burton)
  Re: programs mysteriously segfaulting and exiting (Marc Ledauphin)
  Re: Adding new modules and kernel recompilation ([EMAIL PROTECTED])
  Re: nslookup ok but can't ping (or net browse) (Floyd Davidson)
  Re: ppp pppissing me off (Colin)
  Re: pgp not found although the binary is there (Paul Kimoto)
  Re: Unusual mount problem ("Eric en Jolanda")
  sis900 on silver book PC (Allen Ahoffman)
  Re: SHELL script question (Peter Berends)
  Re: linux-2.4.2 and modules... (Ulrich Brachvogel)
  fetchmail script ("Sudhakar R.")
  MPEGrec Problem (Eric Chun)
  MPEGrec Problem (Eric Chun)
  Re: search all files on a server for a specific IP (Lee Allen)
  Re: Adding new modules and kernel recompilation (Brent Burton)

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

From: "000" <[EMAIL PROTECTED]>
Subject: Re: ppp pppissing me off
Date: Thu, 05 Apr 2001 16:10:22 GMT

In article <[EMAIL PROTECTED]>,
"Mboso" <[EMAIL PROTECTED]> wrote:

> hey, i'm trying to set up my internet connection through ppp. i'm
> using Calder without a GUI or X (wanted to learn how everything works
> before i switch over). the Calera book and gaggle of white pages i
> downloaded don't really do much in the way of explaining chat scripts
> indepth. they just give abstract examples and say do this and this.
> could any one give me a little insight into how chat scripts work or
> point me to a decnt white page or website. i'd appreciate it... Thanks
> 

check the ppp-howto

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

From: "Jake Burns" <[EMAIL PROTECTED]>
Subject: FTP server setup for dummies?
Date: Thu, 5 Apr 2001 10:29:41 -0600

I'm trying to set up an ftp server on my internal network so I can install
linux on my other machines.  Could someone tell me in absolute newbie steps
what to do?

I'm actually trying to install the suse 7.1 iso that is stored on the
server.

The server is RH 6.2, and I downloaded both wuftpd and anonftpd rpms.  I
(rpm -i) installed them.  Now I'm kind of stuck.  I looked in ntsysv for a
startup of the service, couldn't find it there, looked in linuxconf,
couldn't find it there.  Pray tell o' wise newsgroup gods, how might I solve
this problem.

Thanks




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

From: "Colin Bondi" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,linux.redhat.misc
Subject: change ftp directory
Date: Thu, 5 Apr 2001 09:36:25 -0700

Hello:
I have a Redhat 7 server that is running as a web server. httpd and ftp are
working fine. The only question I have is how do you change the default
directory that ftp uses? It is using /var/ftp, but I want people to be able
to ftp files into the web directory (/var/www/html), thats all I need ftp
for on this machine. Can I change the ftp directory to point to the web
folder or can I add a link of some kind to the ftp folder to allow users to
access the web folder? I installed ftp during redhat setup of the
installation CD.
thanks
Colin Bondi



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

Subject: Adding new modules and kernel recompilation
From: [EMAIL PROTECTED] (Brent Burton)
Date: Thu, 05 Apr 2001 16:41:40 GMT

Hi all,

When a new module needs to be added to an already manually
configured and recompiled kernel, does the kernel itself need
recompilation or can the newly compiled module simply be added
via "make modules_install"?  I.e., when modules are used, does
the kernel require any type of module stub to load a module, or
a class of modules?

Thanks,
-bpb


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

From: Marc Ledauphin <[EMAIL PROTECTED]>
Subject: Re: programs mysteriously segfaulting and exiting
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions
Date: Thu, 05 Apr 2001 15:54:56 GMT

That's working fine, but .... Are you sure that your release has been=20
compiled for 386 code ?
By default it's 586 coded

>>>>>>>>>>>>>>>>>> Message d'origine <<<<<<<<<<<<<<<<<<

Le 05/04/2001, =E0 02:26:23 h, "Norman C. Leet" <[EMAIL PROTECTED]> =
vous=20
a =E9crit sur le sujet suivant Re: programs mysteriously segfaulting and=
 exiting:


> I too have experienced multiple <segmentation fault> messages while tr=
ying
> to install slackware on an ancient '386  (actually a '386 card in a Z-=
248
> box).

> Oddly, tomsrtbt (single floppy Linux rescue disk) works flawlessly. Ve=
ry=20
nice.

> memtest86 yields the following on the first pass while testing memory =
in
> the 4 - 640K range:

> Unexpected Interrupt - Halting

> Type:
> PC:  10
> Eflag: 103e48
> CS:  10002
> ErrCode:  102ff8

> Dunno.....probably better off going "dumpster diving" for more up to d=
ate
> hardware than trying to get this thing to work.  Was sort of a neat
> challenge to try to fit slackware linux into it, though.  :-)

> -Norm Leet
> [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED]
Subject: Re: Adding new modules and kernel recompilation
Date: Thu, 05 Apr 2001 17:06:46 GMT

Brent Burton <[EMAIL PROTECTED]> wrote:
> Hi all,

> When a new module needs to be added to an already manually
> configured and recompiled kernel, does the kernel itself need
> recompilation or can the newly compiled module simply be added
> via "make modules_install"?  I.e., when modules are used, does
> the kernel require any type of module stub to load a module, or
> a class of modules?

It depends on how the kernel was compiled the first time around
:-)  Often, compiling the kernel(s) just works.  This isn't always the
case.  For example, if you've already compiled your kernel to support
modularized sound drivers, you should then be able to do a "make
menuconfig" choose whatever sound drivers you want and then "make modules
modules_install".  If your kernel was never compiled for modular sound
drivers, I don't think that will work (though I could be wrong).

Adam


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

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: nslookup ok but can't ping (or net browse)
Date: 05 Apr 2001 09:11:36 -0800

[EMAIL PROTECTED] (Pumpkinhead) wrote:
>>>if i can resolve a host shouldn't i be able to ping it?  
>>
>>Yes -- if the host is up and connected to the network.
>>
>>Resolving a host's name has nothing to do with whether that
>>host is even running or not.
>
>Yes, I realize that.  Weird.  I can ping by address and nslookup
>works.  I don't know why I can't ping by name.  Can this be an
>over-configured win2k issue?

It appears that your name resolver on the win2k system is not
configured correctly.  Nslookup does its own name resolution,
and uses whatever name server it is configured for by default,
which might be very different than the nameserver used by the
system when you run ping or a web browser.  Hence nslookup can
work if your resolver is misconfigure or if the nameserver it
is configured for is down, but ping and the web browser will 
fail.

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

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

From: Colin <[EMAIL PROTECTED]>
Subject: Re: ppp pppissing me off
Date: 05 Apr 2001 13:41:24 -0400

"000" <[EMAIL PROTECTED]> writes:

> In article <[EMAIL PROTECTED]>,
> "Mboso" <[EMAIL PROTECTED]> wrote:
> 
> > hey, i'm trying to set up my internet connection through ppp. i'm
> > using Calder without a GUI or X (wanted to learn how everything works
> > before i switch over). the Calera book and gaggle of white pages i
> > downloaded don't really do much in the way of explaining chat scripts
> > indepth. they just give abstract examples and say do this and this.
> > could any one give me a little insight into how chat scripts work or
> > point me to a decnt white page or website. i'd appreciate it... Thanks
> > 
> 
> check the ppp-howto

I'd try the ISP-Hookup-HOWTO first then the PPP-HOWTO.

-- 
These largely uninformed opinions are not those of my employer
in any way, shape, or form.

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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: pgp not found although the binary is there
Date: 5 Apr 2001 13:59:30 -0500
Reply-To: [EMAIL PROTECTED]

In article <9ahi29$52uij$[EMAIL PROTECTED]>, Stefan Kuhn wrote:
> I got pgp from somewhere else. It actually seems 
> to be something with the libraries. I did the strings /usr/bin/pgp
>  | grep /lib/ld-linux and I got /lib/ld-linux.so.1. Now on my system there 
> is not such a file. So I die ln ld-linux.so.2 ld-linux.so.1 (thought it 
> could work), but I now get an error in loading shared libraries.

You can
(1) install the libc5 compatibility libraries (which would include
    ld-linux.so.1), if SuSE provides these, or
(2) recompile pgp for your libc6 system (you probably have to apply
    the ELF patch), or
(3) switch to GnuPG (http://www.gnupg.org/), which does include _some_
    PGP2 backward-compatibility.

-- 
Paul Kimoto
This message was originally posted on Usenet in plain text.  Any images, 
hyperlinks, or the like shown here have been added without my consent,
and may be a violation of international copyright law.

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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat,linux.redhat.misc
Subject: Re: Unusual mount problem
Date: Thu, 5 Apr 2001 20:02:09 +0200

I'm not going to follow this ridiculous amount of crossposts.
You shouldn't either, so don't post in so many NG's.

> I am a real newbie with Linux so have some very basic questions.

There are several sites that can teach you all about NG posting.
Start reading there.

> I am
> running RH7 and KDE. Linux is dualbooted with Win2000Pro on a Micron 1.2
GHz
> Athlon. What do I need to do to be able to read files on my Win2000 NTFS
> partition from my Linux partition?

You need to mount that partition
(man mount) You will need support for the ntfs filesystem in your kernel.
I can't tell if you have it, you may need to compile that first.

> When I use File Manager in KDE I see
> several drives mounted - CD, floppy, Zip, but if I insert a Zip cartridge,
> for example, don't see anything on it.

it's an empty disc?
Is it not mounted?
(try the mount command without any options)

> I also have a Jaz drive that I don't

Ask the guy that installed it whether he built in support for this.

> see in File Manager, and I also don't see - or at least don't know where
to
> look for - my Win2000 partition.

if you don't even know, how could we?
We don't have access to your PC

> RH7 was installed by my company's Unix/Linux tech, so I am not really up
to
> speed yet on it. He's good, but he's not a teacher.

There are manpages and howto's that can teach you a lot.
And you should buy a book on *NIX just to get familiar with the basics.

> I haven't done anything about mounting anything that isn't already
mounted.

that might explain why you don't see anything on that zip drive.

> I've read a little about autofs, but don't really know if it's on my
> machine, or if it is, how to use it. I barely understand the Linux file
> system.

There's no need to know much about this for you right now.

> I am a pretty experienced DOS/Win user, but never used Linux/UNIX
> before, so am just getting started.

you can't tell :-)

> Can you give me any specific instructions as to how to access my Win2000
> partition (and also shared network drives) from Linux? I do understand
that
> NTFS is read-only at this time, but that's OK for now.

`/sbin/fdisk -l /dev/[hs]d[a-z]`
will show you the partitiontables of your discs.
Look for the NT one (probably hda1)

then mount it:

mount -t ntfs /dev/hda1 /mnt/win2k

There can be lots of reasons why this could fail, but try it.
mount gives pretty good comment about what has failed.

Eric



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

From: Allen Ahoffman <[EMAIL PROTECTED]>
Subject: sis900 on silver book PC
Crossposted-To: comp.os.linux.hardware
Date: 5 Apr 2001 14:21:21 -0400



Does anyone know how to get rh7 working with a silver book PC with a
sis900 network onboard?
It does arp but owo't do ip traffic no matter what I've tried so far.

-- 
Announce Communications Inc
POB 2308
Hyattsville, MD 20784
301-731-5786
[EMAIL PROTECTED]

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

From: Peter Berends <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: SHELL script question
Date: Thu, 05 Apr 2001 18:32:49 GMT

Vilmos Soti wrote:

> > I'm debugging/re-writing a very large shell script ( /bin/sh ).
> > Does anyone know if "sh" has a "goto" statement?  It would be
> > quite helpful to "goto" a section of script ( bypassing code
> > that was already tested ) and pick up execution from there.
>
> One thing you can do is to put an if statement which evaluates false
> around it:
>
> if [ "x" = "y" ]; then
> ...
> ...
> fi
>
> Then just move the "fi" down as you proceed. Not a particularly elegant
> solution, but it does what you want.
>
> Vilmos

It looks like you want to use variables but you're doing it in the wrong
way. :)

    if [ $x == $y ]; then
    # code ...
    fi

Having a look at your linux bootup script may help you a lot! (/etc/rc.d/
)

And check out this pages:
http://www.engr.uky.edu/unixhelp/scrpt/scrpt2.html
http://www.torget.se/users/d/Devlin/shell/

regards,
peter


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

From: Ulrich Brachvogel <[EMAIL PROTECTED]>
Subject: Re: linux-2.4.2 and modules...
Date: Thu, 5 Apr 2001 19:30:13 +0200

Luca Zancan wrote:

> Hi everybody,
> 
> I've got a RedHat 6.2 (kernel version 2.2.14-5.0) and I've tried to
> install a 2.4.2 kernel (downloaded in its "tar.gz" form directly from
> ftp.kernel.org - I would like to try this, instead of the rpm package of
> RedHat...).
> 
> I've got some problems in creating a RAM disk with mkinitrd...
> I must do it because my system boots from a SCSI disk controlled by an
> Adaptec2940UW adapter (I've got 2 SCSI disk and A SCSI cd-rom on the
> same controller).
> 
> mkinitrd tells me that it can't find the "aic7xxx" module (in make
> menuconfig I've selected "loadable module support" and all the stuff
> needed, including the driver for the Adaptec as a module).
> I've noted that the modules stuff is now in
> "/lib/modules/2.4.2/kernel/drivers/" (while before was in
> "/lib/modules/2.2.14-5.0/")...
>.................... snip
Since kernel version 2.4.x as you've seen already the structure of 
modules.conf has changed. You have to install modutils-2.4.x which
can be downloaded from freshmeat, for instance,(=modutils-2.4.1.tar.gz).
The new modutils are downwards compatible to kernel v2.2.x.
> ....................snip
TTFN Ulrich
- 
<O
   \\__///
     /\  Save the curlew!



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

From: "Sudhakar R." <[EMAIL PROTECTED]>
Subject: fetchmail script
Date: Thu, 5 Apr 2001 14:31:01 -0400

Could someone please send me a copy of a working fetchmail script which I
can use in my /etc/rc.d/ folder. I need to start fetchmail at boot time.

Thanx in advance
-sud


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

From: Eric Chun <[EMAIL PROTECTED]>
Subject: MPEGrec Problem
Date: Thu, 05 Apr 2001 13:51:06 -0500

    I'm trying to use a program called mpegrec 1.0 by Andrew Sandoval.
The problem I'm having is that after I record something and try playing
it back using xmms, sound only comes out of the right side of my
speakers.  Does anybody know what is wrong?

    I know the problem has something to do with mpegrec, because when I
try recording something by typing, cat /dev/dsp > myvoice, I get a
recording that comes out of both sides of my speakers.  And I know it's
not lame because I tried converting a wav file into mp3 format and
playing it back.  The problem only occurs when using mpegrec.

Here is my computer setup in the remote case that this is hardware
related:
    Pentium II 266
    Sound Blaster PCI128
    Shuttle HOT637 mobo
    Linux Mandrake 7.1
    96MB RAM
    Maxtor Diamondplus HDD 7.5 Gigs
    Altec Lansing ACS48

Any suggestions into what may be wrong will be greatly appreciated.
Thanks.


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

From: Eric Chun <[EMAIL PROTECTED]>
Subject: MPEGrec Problem
Date: Thu, 05 Apr 2001 13:51:58 -0500

    I'm trying to use a program called mpegrec 1.0 by Andrew Sandoval.
The problem I'm having is that after I record something and try playing
it back using xmms, sound only comes out of the right side of my
speakers.  Does anybody know what is wrong?

    I know the problem has something to do with mpegrec, because when I
try recording something by typing, cat /dev/dsp > myvoice, I get a
recording that comes out of both sides of my speakers.  And I know it's
not lame because I tried converting a wav file into mp3 format and
playing it back.  The problem only occurs when using mpegrec.

Here is my computer setup in the remote case that this is hardware
related:
    Pentium II 266
    Sound Blaster PCI128
    Shuttle HOT637 mobo
    Linux Mandrake 7.1
    96MB RAM
    Maxtor Diamondplus HDD 7.5 Gigs
    Altec Lansing ACS48

Any suggestions into what may be wrong will be greatly appreciated.
Thanks.


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

From: [EMAIL PROTECTED] (Lee Allen)
Subject: Re: search all files on a server for a specific IP
Reply-To: [EMAIL PROTECTED]
Date: Thu, 05 Apr 2001 18:57:35 GMT

On 5 Apr 2001 12:43:33 GMT, [EMAIL PROTECTED] wrote:

>G Berg <[EMAIL PROTECTED]> wrote:
>> Hello.
>
>> Since I need to change the IP of my server I need to find all files which
>> contain this IP-Adress.
>
>Basically everything that you need is in
>
>/etc/sysconf/network-scripts
>/etc/resolv.conf
>/etc/hosts
>/etc/hosts.allow
>/etc/hosts.deny
>
>I'm not completely sure about the first one (this is RedHat-related
>I think), but if you make a grep into /etc you will found.

And the way you do that grep (and to answer your original question)
is:
find /etc -type f -exec fgrep -l "xxx.xxx.xxx.xxx" {} \;

Which means: find every file in & under /etc, examine files only (not
directories), perform the following command on each file
fgrep -l "xxx.xxx.xxx.xxx" {}
substituting the filename for {}

-Lee Allen

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

Subject: Re: Adding new modules and kernel recompilation
From: [EMAIL PROTECTED] (Brent Burton)
Date: Thu, 05 Apr 2001 19:06:16 GMT

[EMAIL PROTECTED] wrote:
| Brent Burton <[EMAIL PROTECTED]> wrote:
| > I.e., when modules are used, does
| > the kernel require any type of module stub to load a module, or
| > a class of modules?  [Does kernel need recompilation too?]
|
| For example, if you've already compiled your kernel to support
| modularized sound drivers, you should then be able to do a "make
| menuconfig" choose whatever sound drivers you want and then "make modules
| modules_install".

I think you're right on this.  It sounds like what I'm seeing.  
Specifically, I had an old ISA NE2000 NIC in the machine with the ne
driver as a module.  With "make xconfig" I added the tulip driver as
another module for the new PCI NIC, ran "make bzImage modules
modules_install".  Nothing new was compiled for the kernel, and
even though I installed the new kernel, the tulip module is working
fine.  It probably would have worked with the last kernel.

Thanks Adam.

-bpb


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


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