Linux-Misc Digest #339, Volume #20               Tue, 25 May 99 04:13:09 EDT

Contents:
  Re: "modprobe: can't locate module pf-3" (M van Oosterhout)
  Re: internet (Mohd H Misnan)
  Re: About RealPlayer G2... (Jeremiah)
  Re: w and who, how do I re-install (jason)
  Re: Security: Messages in /var/log/secure (Fred Kuipers)
  Re: Dyslexic Radio Buttons (Rod Smith)
  Re: Kernel 2.2.3 mystery (bernecky)
  Re: ls colors... not recognizing file extensions ("Jürgen Exner")
  Re: AOL access from Linux (Ben Short)
  pptp for linux ?? (Andrew Blatt)
  Re: Recommendation for version of Linux/book on Linux (John Hong)
  Odd Kernel panic ("Eric E. Fronheiser")
  Re: RH 6, sndconfig, sound balster 16 PnP (Silviu Minut)
  Re: cpio headers get misplaced using libc.so.6, gcc 2.7.2.3 (Leif Erlingsson)
  Backing up Linux (John Hong)

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

Date: Tue, 25 May 1999 15:45:57 +1000
From: M van Oosterhout <[EMAIL PROTECTED]>
Subject: Re: "modprobe: can't locate module pf-3"

Timothy J. Lee wrote:
> 
> When booting, a Linux kernel 2.0.36 computer gives messages like
> 
> modprobe: can't locate module pf-3
> modprobe: can't locate module pf-6

If you look in /usr/include/socketbits.h down where you 
see the list of PF_* stuff, you'll see that 3 and 6 refer
to AX.25 and Netrom, neither of which you are likely to have.

> and then stops booting.  What are modules pf-3 and pf-6?

Are you sure this is the cause? It's not that standard
Redhat bug which makes it so that your hostname resolves
to 127.0.0.1, causing sendmail to wait around 3 minutes
while booting?

Wait longer or boot off a floppy or cd and check your
/etc/hosts. Make sure that your hostname is not on the
same line as 127.0.0.1

Hope this helps


Martijn van Oosterhout
Australia

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

From: [EMAIL PROTECTED] (Mohd H Misnan)
Crossposted-To: comp.os.linux,jaring.pcbase,linux.redhat.misc
Subject: Re: internet
Date: 24 May 1999 08:56:58 GMT

On Sat, 22 May 1999 06:47:20 -0400, Craig A. Sharp wrote:
>Saravanan Govindasamy wrote:
>
>> How do i get connected on the internet thru Linux? I tried the PPP dialup
>> utility.
>> My modem dials up and gets connected, a few seconds and then disconnects
>> with the error message "The pppd daemon died Unexpectedly".
>>
>> Sara....
>
>It has nothing to do with your ISP.  I had the same problem with ppp.
>When you run the ppp daemon as root it will work fine.  If you try to run as
>any other user, it will say that the daemon died.
>If you run linuxconf and go to the network section, you will find that the
>ppp device is set to not allow all other users to use the driver.  As a
>result, it will die immediately.  Set this to allow all other users besides
>root to run the daemon and it should work fine.

I've just got an opportunity of installing RH 6.0 yesterday, took quite a while
for me to figure out some of the stuff inside RH 6.0 since some configuration
files have changed. And guess what, /dev/ttyS* are all rw for root only and not
for the others, and pppd is not setuid root. Good for a secured environment, but
for us who're running Linux in our spare time, this can be a disaster.. finding
what went wrong.. RH 6.0 also has /dev/cua* which made obsolute by kernel 2.2.X
and this made my /dev/modem to be linked to /dev/cua* by pcmcia script file. I
need to delete the /dev/cua* to get it working (tho' I can surely edit the
script.. but since /dev/cua* are no longer needed, deleting them won't harm).
Anyway, moral of the story, the standard installation sometime doesn't work for
you, you still need to read the HOWTOs and READMEs and need to manually tweak
your system.

-- 
|Mohd Hamid Misnan|[EMAIL PROTECTED] / [EMAIL PROTECTED]  |i|
|MacOS 8.6    +   |http://www.geocities.com/SiliconValley/3319/      |M|
|AMD K6-2/300 +   |We want to take over the world, but we don't have |a|
|Linux 2.2.5-15 i586 |to do it tomorrow. It's OK by next week - Linus T.|c|

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Jeremiah)
Subject: Re: About RealPlayer G2...
Crossposted-To: comp.unix.bsd.freebsd.misc
Date: Tue, 25 May 1999 05:29:09 GMT

In article <Thq23.631$[EMAIL PROTECTED]>,
        "Jeffrey S. Kline" <[EMAIL PROTECTED]> spake thusly:
> Actually it just comes back full circle since the guys at Real Audio are
> doing nothin more than following that old addage of "Money talks and bull#%%
> walks". Linux users ain't payin' and so we can go without. Unless there is a
> waiving of a "George" or two in front of the faces there at Real, it
> probably is so "back burner" that it may never get done.

        Real Player G2 alpha was released for Linux a few days ago... 
I'm using it right now... it's alpha, but it handles audio fine;
video is a different matter...

        http://www.real.com/products/player/linux.html


Brian

-- 
email to bmeloon1 at twcny dot rr dot com.  evilquaker is a spam collector.

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

From: jason <[EMAIL PROTECTED]>
Subject: Re: w and who, how do I re-install
Date: Tue, 25 May 1999 01:38:33 -0400

Citnam wrote:
> 
> jason wrote:
> 
> > David Daschofsky wrote:
> > >
> > > my webserver was hacked a while back and no longer displays any info when
> > > you type who, or w, why is that and how do I fix it?
> >
> > One word:  "reinstall"
> >
> > If you have been cracked, then this is the *only way* to know that there
> > aren't any backdoors left hanging around on your system.
> >
> > -jason
> 
>    But doesn't Linux already posses a lot of back doors already? (Err, not back
> doors but security leaks) Even with re-installing, the same 'leak' or
> breach-in-security that allowed the one hacker to break into the system in the
> first place, could be exploited again.

I was waiting for someone to point that out.  :-)  I forgot to add, "and patch
your system with the latest version all programs you run."  Thanks for keeping
me honest.  :-)

Later,
-jason

(to reply via email, make the appropriate substitution in my email address)

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

From: Fred Kuipers <[EMAIL PROTECTED]>
Subject: Re: Security: Messages in /var/log/secure
Date: Mon, 24 May 1999 15:21:07 GMT


Paul Kimoto wrote:

> In article <[EMAIL PROTECTED]>, Fred Kuipers wrote:
> >    Recorded in this file are several incoming connects to telnetd,
> > ftpd, imapd, pop3d, fingerd from ip addresses that are unfamiliar (ie, I
> > don't use computers with these ips).  Should I be concerned about these
> > connections?? Are these connections intentional or incidental?
> >
> >    Here are some examples:
> >
> > imapd[1041]: connect from 24.112.93.239
> > in.telnetd[1001]: connect from 206.145.135.10
> > in.telnetd[1001]: connect from 206.145.135.10
>
> The key question is whether your system is set up to allow these
> connections to succeed (usually through the inetd, tcpd, /etc/hosts.*
> system).  It may be that you do not even want some of these daemons
> to run.  (Is imapd the daemon that had all of those Red Hat 5.0
> security problems?)
>

My system is set up to work with _several_ of these services. I personally
telnet and ftp to my machine from work.  Imap is mail and pop3 is mail...
which of these do I need for sendmail to send and receive mail (both internet
and local mail)??  Finger isn't a big deal... I could probably comment it out.

>
> >    These (contiguous) messages _especially concerned_ me:
> >
> > May 15 15:14:04 in.fingerd[680]: connect from 24.112.173.186
> > May 15 15:14:04 in.telnetd[681]: connect from 24.112.173.186
> > May 15 15:14:04 imapd[682]: connect from 24.112.173.186
> > May 15 15:14:05 ipop3d[683]: connect from 24.112.173.186
> > May 15 15:14:05 in.telnetd[684]: connect from 24.112.173.186
>
> 24.112.173.186 (cr222868-a.ktchnr1.on.wave.home.com) is port-
> scanning you, that is, connecting to a range of ports on your
> machine, trying to find out what services you have open, possibly
> in hopes of opening a breach.
>

I'll keep an eye out for this one... >:-|

What is the format of the hosts.* file??

Thanks for the suggestions!!

FK



>
> --
> Paul Kimoto             <[EMAIL PROTECTED]>


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

From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Dyslexic Radio Buttons
Date: 25 May 1999 02:23:31 GMT
Reply-To: [EMAIL PROTECTED]

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        "Elyse M. Grasso" <[EMAIL PROTECTED]> writes:
> I have a brain glitch related to reflectional symmetries across
> horizontal (mostly) and vertical (rarely) axes. In text it is mostly an
> output problem because on input I can use context clues to tell p from b
> and d from q. On output, I can spell aloud (correctly) and say 'p' while
> my hand writes or types 'b' or vice versa, which is spooky. 
> 
> But radio buttons' states can't be determined from context...  
> 
> Is there an existing Linux GUI variant that does NOT implement radio
> buttons as diamond shapes that reflect across their horizontal axis to
> indicate on/off transitions?

Unfortunately, the way the GUI draws widgets is determined by the widget
set used by the PROGRAMMER of an application.  You can't normally change
that yourself, and it'll vary from program to program.  A few widget sets,
such as GTK, do let the user choose from among several different "looks"
for widgets, however, so if you want to choose an application based on the
widget set it uses, and/or if you want to program your own applications,
all is not lost.

-- 
Rod Smith
[EMAIL PROTECTED]
http://www.channel1.com/users/rodsmith
NOTE: Remove the "uce" word from my address to mail me

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

From: bernecky <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: Kernel 2.2.3 mystery
Date: Mon, 24 May 1999 11:39:13 -0500
Reply-To: [EMAIL PROTECTED]

> I upgraded my kernel from 2.0.34 to 2.2.7 and I am using the Red Hat 5.1
> distribution. Fortunately I still have my old kernel so I am able to use
> the ppp option with the old kernel.

I was completely unable to make ppp work with a 2.2.1 kernel, configured

identically to my 2.0.34 (35?) kernel, in which ppp works just peachy.

The 2.2.1 kernel was downloaded; the 2.0.34 kernel and the

rest of the system was as-distributed SuSE 5.3.

So, I've backed off to 2.0.34 until this is resolved.

Bob

Robert Bernecky
[EMAIL PROTECTED]
Snake Island Research Inc
18 Fifth Street, Ward's Island
Toronto, Ontario M5J 2B9
Canada




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

From: "Jürgen Exner" <[EMAIL PROTECTED]>
Subject: Re: ls colors... not recognizing file extensions
Date: Mon, 24 May 1999 19:06:38 -0700
Reply-To: "Jürgen Exner" <[EMAIL PROTECTED]>

John Strange <[EMAIL PROTECTED]> wrote in message
news:7icgfp$ppa$[EMAIL PROTECTED]...
> I added
>
> alias ls="ls --color=tty"
> to /etc/bashrc

Oh, you mean such that other users, who don't want that color trash, have to
unalias your alias explicitely?
Really a great idea.

Is there a specific reason why you didn't put it into your private
~/.bashrc?

jue
--
Jürgen Exner




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

From: [EMAIL PROTECTED] (Ben Short)
Subject: Re: AOL access from Linux
Date: Tue, 25 May 1999 12:40:13 +1000

In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
> Is this possible? - using AOL from Linux?
> The tech support at AOL I spoke to didn't know what Linux is.
> Any help would be much appreciated.
> 
> Anthony Lee
> 
> 
How typical of AOL ;)
I'm sure theres a way, and it could probably be done with a little trial 
and error when making a pppd script, unless of course they use their own 
kind of ppp protocol...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Short                http://www.shortboy.dhs.org
Shortboy Productions     mailto:[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

From: Andrew Blatt <[EMAIL PROTECTED]>
Subject: pptp for linux ??
Date: Mon, 24 May 1999 11:50:14 -0400

Anybody have any good examples of using pptp for linux ??

I would like to know if its possible to use pptp on linux to connect to
a network that is using ms-chap, and secureid authentication ?? Right
now I have to use an NT workstation : and the setup requires :
1) ppp connection to local ISP.
2) an nt user account/password for an NT domain to connect too at the
other end of the pptp connection..
3) secureid username / password..

Any ideas ??

[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED] (John Hong)
Subject: Re: Recommendation for version of Linux/book on Linux
Date: 25 May 1999 06:25:24 GMT

"M C" <[EMAIL PROTECTED]> writes:

>    Total newbie here, sorry.  I'm getting ready to get a new system.  I'll
>be playing games, so I wanted to install Windows 98, but also wanted to do
>some streaming audio and experiment with some other OS's, so I thought I'd
>do a triple boot with NT (server?) and Linux.  I was just curious to know
>what version of Linux I should acquire and install.  The most common one
>seems to be RedHat, but I'm not sure if that would be the best for what I'm
>going to be doing.

        Linux is Linux, no matter what distribution it be (ie. RedHat,
Caldera, Debian, SuSE, etc.)  As for book, there are a lot of good quality
books out there, some better than others.  I can't really make a pick out
of any of them since none are perfect.  What I can do is tell you which
ones to avoid.  The IDG one's (ie. ... for Dummies) Linux books completely
suck, IMO.



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

From: "Eric E. Fronheiser" <[EMAIL PROTECTED]>
Subject: Odd Kernel panic
Date: Tue, 25 May 1999 02:43:21 -0400

I am having this small, but annoying problem, with Redhat 6.0 on a Dell
Inspiron 3200 (dual boot linux/win98).

If I allow LILO to time out and automatically launch linux I get the
following error:

VFS: Cannot open root device 00:30
Kernel Panic: VFS: Unable to mount root fs on 00:30

If I just hit enter at the LILO prompt to start linux everything works as it
should.

This happened first with the 2.2.5 kernel from the redhat cd.  I compiled
and installed the 2.2.9 kernel and am having the same problem.  I've ran
both
Slakware and SuSE on this machine without any problems.

Any help would be appreciated




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

From: Silviu Minut <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x,comp.os.linux.hardware
Subject: Re: RH 6, sndconfig, sound balster 16 PnP
Date: Mon, 24 May 1999 12:51:05 -0400

Here it is: (/etc/isapnp.conf)

(VERIFYLD N)
(DEBUG)
(READPORT 0x020b)
(ISOLATE)
(IDENTIFY *)

# this is my modem (motorola)
(CONFIGURE MOT15f0/90692603 (LD 0

(IO 0 (BASE 0x03e8))
(INT 0 (IRQ 11 (MODE +E)))
(ACT Y)
))

# from here on, is the sound card, AWE64
(CONFIGURE CTL00e4/12636550 (LD 0

(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 1))
(DMA 1 (CHANNEL 5))
(IO 0 (BASE 0x0220))
(IO 1 (BASE 0x0330))
(IO 2 (BASE 0x0388))
(ACT Y)
))

(CONFIGURE CTL00e4/12636550 (LD 1

(IO 0 (BASE 0x0200))
(ACT Y)
))

(CONFIGURE CTL00e4/12636550 (LD 2

(IO 0 (BASE 0x0620))
(IO 1 (BASE 0x0A20))
(IO 2 (BASE 0x0E20))
(ACT Y)
))

(WAITFORKEY)


To create the isapnp.conf file you do
pnpdump > /etc/isapnp.conf

This creates a stub. You must uncomment only the settings that work for
you. How do you know them? From the manual for your card, or from Win95.

Then you run isapnp:
isapnp /etc/isapnp.conf

That's all.




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

From: Leif Erlingsson <[EMAIL PROTECTED]>
Reply-To: Leif Erlingsson <[EMAIL PROTECTED]>
Subject: Re: cpio headers get misplaced using libc.so.6, gcc 2.7.2.3
Date: Tue, 25 May 1999 09:41:11 +0200


This post contains the solution to this problem.

See patch at end.


On Mon, 17 May 1999, Leif Erlingsson wrote:

> 
> CPIO HEADERS MIXED AROUND ON S.u.S.E. 6.0 platform, even
> after I compile myself exactly like I've done on solaris
> both on Intel and on Sparc:
> 
> 
> 
> cpio-2.4.2,
> /lib/libc.so.6,
> gcc version 2.7.2.3
> 
> The flags:    cpio -oc
> 
> 
> This is how the headers look in two different computers:
> 
> Good computer (NOT /lib/libc.so.6):
> 
>0707070015040034371007750007650000040000010000000635055750200002200000001701trickokn/changeIP
> 
> Bad computer (/lib/libc.so.6):
> 
>0707070014030000001100661007750007650000040000010000000000000000006350557502trickokn/changeIP
> 
> 
> 
> Headers get mixed up.  Same job on two different computers,
> first a known good reference (several, including cpio-2.4.2
> on solaris both on Intel and on Sparc):
> 
> 
> Correct:      (see /usr/src/cpio-2.4.2/cpio.h)
> 
> c_magic               070707
> c_dev         001504
> c_ino         003437
> c_mode                100775          C_ISREG + 775
> c_uid         000765
> c_gid         000004
> c_nlink               000001
> c_rdev                000000
> c_mtime               06350557502
> c_namesize    000022
> c_filesize    00000001701     = 961 byte
> trickokn/changeIP
> 
> 
> Here is the cpio-2.4.2 on /lib/libc.so.6, gcc version 2.7.2.3:
> 
> 
> Wrong:                (see /usr/src/cpio-2.4.2/cpio.h)
> 
> c_magic               070707
> c_dev         001403
> c_ino         000000          cleared
> c_mode                110066          should be in c_ino
> c_uid         100775          should be in c_mode
> c_gid         000765          should be in c_uid
> c_nlink               000004          should be in c_gid
> c_rdev                000001          should be in c_nlink
> c_mtime               00000000000     cleared
> c_namesize    000000          should be in c_rdev
> c_filesize    06350557502     should be in c_mtime
> trickokn/changeIP
> 
> 
> Analysis:
> 
> c_magic is in c_magic as it should.
> c_dev seems to be in c_dev as it should.
> 
> c_ino has ended up in c_mode.  (Actually, the lower 16 bits of
> the inode number of "trickokn/changeIP", coded in octal.)
> c_mode has ended up in c_uid.
> c_uid has ended up in c_gid.
> c_gid has ended up in c_nlink.
> c_nlink has ended up in c_rdev.
> c_rdev has ended up in c_namesize.
> c_namesize IS LOST and c_ino seems to have been cleared. 
> c_mtime has ended up in c_filesize.
> c_filesize IS LOST and c_mtime seems to have been cleared.



Hi,

        I've fixed the cpio-2.4.2 problem I previously
reported.  It turned out to be a GCC or LIBC bug.

The included patch is the workaround, see the end of this
mail.


Here's the patch -- save as
/pub/apps/cpio-2.4.2.copyout.c.GCC-libc6-workaround.patch...
________________________________________________________________
*** cpio-2.4.2/copyout.c.orig   Wed Jan 10 17:10:45 1996
--- cpio-2.4.2/copyout.c        Tue May 25 07:01:20 1999
***************
*** 44,49 ****
--- 44,51 ----
       struct new_cpio_header *file_hdr;
       int out_des;
  {
+   /* This is a GCC or libc 6 bug workaround... */
+   int libc6_fix_dev, libc6_fix_rdev;  /* can't be where it should be -- see below */
    if (archive_format == arf_newascii || archive_format == arf_crcascii)
      {
        char ascii_header[112];
***************
*** 108,122 ****
        int dev = 0, rdev = 0;
  #endif
  
        if ((file_hdr->c_ino >> 16) != 0)
        error (0, 0, "%s: truncating inode number", file_hdr->c_name);
  
        sprintf (ascii_header,
               "%06o%06o%06lo%06lo%06lo%06lo%06lo%06o%011lo%06lo%011lo",
!              file_hdr->c_magic & 0xFFFF, dev & 0xFFFF,
               file_hdr->c_ino & 0xFFFF, file_hdr->c_mode & 0xFFFF,
               file_hdr->c_uid & 0xFFFF, file_hdr->c_gid & 0xFFFF,
!              file_hdr->c_nlink & 0xFFFF, rdev & 0xFFFF,
               file_hdr->c_mtime, file_hdr->c_namesize & 0xFFFF,
               file_hdr->c_filesize);
        tape_buffered_write (ascii_header, out_des, 76L);
--- 110,135 ----
        int dev = 0, rdev = 0;
  #endif
  
+       /* This is a GCC or libc 6 bug workaround...    ifndef __MSDOS__,
+        GCC dev_t is of 'unsigned long long int' type, which is making sprintf
+        bug out with confused output as a result below.  To fix this without
+        rewriting libc 6.0, libc6_fix_dev and libc6_fix_rdev is used here: */
+ 
+       /* Can't have this declaration here - is getting parse error before `int'
+       int libc6_fix_dev, libc6_fix_rdev; */
+ 
+       libc6_fix_dev = dev & 0xFFFF;
+       libc6_fix_rdev = rdev & 0xFFFF;
+ 
        if ((file_hdr->c_ino >> 16) != 0)
        error (0, 0, "%s: truncating inode number", file_hdr->c_name);
  
        sprintf (ascii_header,
               "%06o%06o%06lo%06lo%06lo%06lo%06lo%06o%011lo%06lo%011lo",
!              file_hdr->c_magic & 0xFFFF, libc6_fix_dev & 0xFFFF,
               file_hdr->c_ino & 0xFFFF, file_hdr->c_mode & 0xFFFF,
               file_hdr->c_uid & 0xFFFF, file_hdr->c_gid & 0xFFFF,
!              file_hdr->c_nlink & 0xFFFF, libc6_fix_rdev & 0xFFFF,
               file_hdr->c_mtime, file_hdr->c_namesize & 0xFFFF,
               file_hdr->c_filesize);
        tape_buffered_write (ascii_header, out_des, 76L);
________________________________________________________________


Here's how to apply (assuming GNU tar):


tar -zxvf /pub/apps/cpio-2.4.2.tar.gz 
cd cpio-2.4.2
patch < /pub/apps/cpio-2.4.2.copyout.c.GCC-libc6-workaround.patch

Hmm...  Looks like a new-style context diff to me...
The text leading up to this was:
==========================
|*** cpio-2.4.2/copyout.c.orig  Wed Jan 10 17:10:45 1996
|--- cpio-2.4.2/copyout.c       Tue May 25 07:01:20 1999
==========================
Patching file copyout.c using Plan A...
Hunk #1 succeeded at 44.
Hunk #2 succeeded at 110.
done

Then compile as usual!



Thanks for the comments I did receive.
________________________________________________________________
Leif Erlingsson,  Katrinebergsvagen 70, 146 50  Tullinge, Sweden
TEL +46 8 778-5038, MOB +46 709 14-0631, URL http://www.lege.com






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

From: [EMAIL PROTECTED] (John Hong)
Subject: Backing up Linux
Date: 25 May 1999 06:58:29 GMT

        Alright, I've done this before with other OS's like DOS and OS/2.
I would make the bootdisks and use PkZip in order to backup the said OS.
I have had both work fine with compression utilities such as Info-Zip and
RAR.  I was just wondering can you do that with Linux?



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


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