Linux-Misc Digest #231, Volume #26                Sun, 5 Nov 00 04:13:02 EST

Contents:
  Why, ext2 don't need defrag (dan)
  libbsd and ssh ([EMAIL PROTECTED])
  Re: Glitch when reading man pages (Hal Burgiss)
  Samba not showing in NetHood ([EMAIL PROTECTED])
  Re: pcmcia: delay eth0 initialization (Bob Martin)
  Re: Telnet/useradd question ("jdn")
  Ways of reducing log files sizes automatically (James D. Robinson)
  Re: Ways of reducing log files sizes automatically (George Georgakis)
  Bind capable of Dynamic DNS? ("Micer")
  Different groups for different ls? ("Micer")
  Re: Just getting into linux ("Micer")
  OpenGL and GNOME (Bill Kocynjski)
  Re: Commands ("Micer")
  Re: Why, ext2 don't need defrag (Christopher Browne)
  Re: usb printer (E J)
  Re: Matrox G100 ("Robert Q. Warshawsky")
  Re: Different groups for different ls? ("Peter T. Breuer")

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

Date: Sat, 04 Nov 2000 21:13:34 -0500
From: dan <[EMAIL PROTECTED]>
Subject: Why, ext2 don't need defrag

Hi,

I understand that the ext2 filesystem is a little "smarter" then the fat
fs, and it does not need to be defrag.  But can someone explain why, I
mean the physical architecture of how the ext2 fs works, or if it's too
much to explain does anyone know of a site that can thoroughtly
breakdown how the ext2 fs works.

Dan


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

From: [EMAIL PROTECTED]
Subject: libbsd and ssh
Date: Sun, 05 Nov 2000 02:26:07 GMT

Hello-

Can any one tell me where i can get libbsd? I tried compile
ssh-1.x and ssh-2.x and keep getting this error message
"/usr/lib/libbsd.a(signal.o): In function `signal':
signal.o(.text+0x22): undefined reference to `_sigintr'"

TIA,
Hoang


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: Glitch when reading man pages
Reply-To: Hal Burgiss <[EMAIL PROTECTED]>
Date: Sun, 05 Nov 2000 02:53:35 GMT

On Sat, 04 Nov 2000 19:45:34 -0600, Leonard Evens <[EMAIL PROTECTED]>
wrote:
>When I use the man command after logging into a remote computer
>with ssh, I find my man pages have  <Ad> in reveerse video at
>the ends of some lines.  (Man is being run on the remote
>computer/)  A while back someone explained what caused this
>and how to get rid of it.  Can anyone remind me?

export LESSCHARDEF=.

Works here. My memory is not good enough to say why. Maybe it is in the
less man page.

-- 
Hal B
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
--

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

From: [EMAIL PROTECTED]
Subject: Samba not showing in NetHood
Date: Sun, 05 Nov 2000 02:52:02 GMT

Hi All,

I have a small Ethernet home network, 2 machines, connected by a hub.
Windows 98 (machine name Lima) and Redhat 6.2 Samba server (machine
name Sierra).

The setup on both machines looks correct. But, I cannot get the Samba
server to show up in the Network Neighborhood. So on the Win98 machine
I did Start--Find--Computer--Sierra and it found it no problem. I
mapped the share /home and /stuff directory to H:\ and I:\ and check
the re-connect at Login.

Next I reboot the Win98 machine, Login, and the Shared /home and /stuff
directory from the Samba server re-connects, Cool.

After I login I open Network Neighborhood and it still does not see the
Samba server, it does show the local machine (LIMA).

In the O'Reilly "Using Samba" book it suggest not loading the NetBEUI
protocol. If I do that I will not have anything show up in the Network
Neighborhood.

Keep in mind that the Mapped Drives to my /home and /stuff directory on
the Samba server is up and running. I can move files back and forth
with no problems. Just as a note I can also telnet and ftp between the
two boxes with no problem.

I'm using SWAT on the Win98 box to configure Samba, it works fine.

Any ides appreciated.



Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: pcmcia: delay eth0 initialization
Date: Sat, 04 Nov 2000 22:12:45 -0600

defkon wrote:
> 
> Hi,
> 
> When I do a /etc/rc.d/init.d/network restart on my laptop I get the
> following message:
> 
> "Bringing up interface eth0: Delaying eth0 initialization. [FAILED]"
> ********************************************************************

[snip]

Right, network does control pcmcia cards, the pcmcia service does. So
network can't start eth0. If pcmcia service is already running, just
plug in the card
-- 

Bob Martin

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

From: "jdn" <[EMAIL PROTECTED]>
Subject: Re: Telnet/useradd question
Date: Sun, 05 Nov 2000 04:55:10 GMT

Ah, the issue with root makes sense, and yes I can telnet in on another
account then su to root, that's fine.

I'm following the man page as far as I can tell, and it doesn't seem to
work, I'll try and figure out what I'm doing wrong with useradd.  I'm not
running X on the box so linuxconf isn't available.

jdn

"dan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> JDN,
>
> For most Linux distributions, you cannot telnet into a machine as root,
> because of security issues, what you can do, is telnet in as another user
and
> 'su'
>
> as far as you not being able to telnet into your machine as other users,
maybe
> the user account is not setup properly, if your not too familiar with
commands
> on the terminal to add users, then try "linuxconf," which should be
included
> in redhat 6.1 (if not installed, install it using rpm)
>
> Dan
>
> jdn wrote:
>
> > Trying to setup to be able to telnet into my RedHat 6.1.
> >
> > I have two accounts that already exist, root and another.
Authentication
> > fails if I try to telnet in as root (according to /var/log/messages),
works
> > with other account.
> >
> > From CLI, I type:
> >
> > 'useradd test'
> >
> > but cannot telnet in using that account, saying authentication fails,
and
> > cannot log in using that account either.
> >
> > How do I get root access to telnet, and how do I create an account using
> > useradd so that I can login and access telnet using that account?
> >
> > Thanks.
> >
> > jdn
> > kingcrim at earthlink dot net
>
>



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

From: [EMAIL PROTECTED] (James D. Robinson)
Crossposted-To: alt.os.linux.slackware,alt.os.linux
Subject: Ways of reducing log files sizes automatically
Date: Sun, 05 Nov 2000 05:17:48 GMT

Hi all,

        I sure that this question has probably been asked before,  but
I cannot find a reference to a good answer.  Well to the question.

        I have been setting up a modem / ppp link recently and have
had the debug functions running, so my logs have increased in size
somewhat and I wish to reduce them.

        Is there a way to remove parts of the file that are older than
30 days for example. 

or
        Store in another file with appropriate months name all
messages that exist for that month and then delete these from the log
files.
        
        All of this to be done in an automatic manner, a friend
suggested crontab but as far as I can see that is only the process
that sets up the timing not the actual process.

        My apologies if this has been asked before but archives at
deja.com seem not to be always accessible from my system currently ie
unreliable.

 --
Best Wishes

Jim R


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

Crossposted-To: alt.os.linux.slackware,alt.os.linux
Subject: Re: Ways of reducing log files sizes automatically
From: [EMAIL PROTECTED] (George Georgakis)
Date: Sun, 05 Nov 2000 05:42:56 GMT

[EMAIL PROTECTED] (James D. Robinson) wrote in <3a07e8e5.50836242@news-
west.look.ca>:

>     Is there a way to remove parts of the file that are older than
>30 days for example. 
>
>or
>     Store in another file with appropriate months name all
>messages that exist for that month and then delete these from the log
>files.
>      
>     All of this to be done in an automatic manner, a friend
>suggested crontab but as far as I can see that is only the process
>that sets up the timing not the actual process.
>
>     My apologies if this has been asked before but archives at
>deja.com seem not to be always accessible from my system currently ie
>unreliable.

You sound like you may want to try logrotate. This is a little utility which 
can be set to rotate nominated logs every day/week/whatever, and have old 
records emailed to you. The system's log files will not exceed a certain pre-
set size limit using logrotate.

I created a logrotate package for Slackware 3.X. It is located at 
ftp.amhuinnsuidhe.cx/pub (Nollaig MacKenzie kindly offered to host it). Note 
that there are three files: logrotat.tgz (the Slackware package), logrotate-
2.5.tar.gz (source), and logrotate-3.3.tar.gz (which I never got around to 
porting).

Robert Stan also created a logrotate.tgz package, and this can be found at 
ftp://ares.rkkengineers.com/pub/slackware/packages/logrotate-3.3.2/ -- I 
think this is the latest version. However, I know that my package will work 
on all Slackware versions from 3.3 onwards, whereas I believe that logrotate-
3.X.X may fail on pre-2.2.X kernels.

HTH
George

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

From: "Micer" <[EMAIL PROTECTED]>
Subject: Bind capable of Dynamic DNS?
Date: Sat, 4 Nov 2000 21:49:38 -0800

I am not yet familiar with bind, and have a customer who is getting set up
on Dynamic DNS. Is it possible to have a Linux-box DNS server do Dynamic DNS
registration within itself whenever the IP address changes? (ie: if all you
have is a dynamic IP rather than static).

Micer



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

From: "Micer" <[EMAIL PROTECTED]>
Subject: Different groups for different ls?
Date: Sat, 4 Nov 2000 21:55:28 -0800

A customer demonstrated their wu-ftp site to me that someone else set up for
them and I noticed something unusual. When you attach to their site over the
web and do an "ls" within wu-ftp you get a groupname of "wu-ftp" for about a
dozen files, and the rest are root. But when you attach to their ftp server
from inside their site passing through their firewall (logging on as root
over SSH) all files show the group "root", including the same ones that
shoed as "wu-ftp" when listed externally.

How is this possible? They suggested that coming in externally uses a
different "ls" than coming in internally. This makes sense because they
copied "ls" into the ftp user's home directory area. But even if two
different "ls" commands were used, how can the groups be different, (ie:
it's exactly the same file isn't it?).

Micer



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

From: "Micer" <[EMAIL PROTECTED]>
Subject: Re: Just getting into linux
Date: Sat, 4 Nov 2000 22:04:59 -0800

When you say "Change to Linux" what do you mean? Do you mean "use Linux
only, and abandon Microsoft", or "use Microsoft for some things and Linux
for others"?

The reason I ask is this: I am also new to Linux, but I want to keep my
Microsoft stuff, therefore I have two machines. I run NT on one and Linux on
the other. I put a simple ipchains script onto the Linux box that NAT's
everthing, (allows the Linux box to forward anything at all to the net, then
get the responses back to my NT client). It works great ... in fact I'm
doing it right now. I am using "Outlook Express" (my favourite for News
Reader groups) from NT Server, and it is passing through a Linux Redhat 6.0
box with packet-forwarding to the internet via ipchains. I can also send and
receive e-mail, browse the web, whatever I want. I have no modem on this
machine; my modem is on the Linux box and it connects via dial-up PPP.
Everthing bound for the internet passes through the Linux box. I have the
best of both worlds.

So depending on what your needs are, why not keep using Outlook Express ...
and then use Linux too. Plus it's a good opportunity for you to learn
ipchains.

Micer



<[EMAIL PROTECTED]> wrote in message news:8u24g8$2um$[EMAIL PROTECTED]...
>Hi there,
>
> I am still new at linux. I am using outlook express for all my emails.
>I was wondering if there is any way to read them if I change to linux?
>Regular email clients are in *.mbx if I am not mistaken and outlook
>express has *.dbx
>
>thanks
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.



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

From: [EMAIL PROTECTED] (Bill Kocynjski)
Crossposted-To: linux.redhat.development,comp.windows.x
Subject: OpenGL and GNOME
Date: Sun, 05 Nov 2000 06:06:18 GMT

Can you use OpenGL with GNOME, as you can with X and Motif?   Are there
any books on this, like "OpenGL Progamming for the X Window System" by
Kilgard?

Are there any issues about drivers or graphics hardware support under
GNOME and OpenGL?

Thanks
Bill


--OpenGL and GNOME

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

From: "Micer" <[EMAIL PROTECTED]>
Subject: Re: Commands
Date: Sat, 4 Nov 2000 22:26:49 -0800

How bout some of these suckers?

http://www.hawken.edu/help/linux.html
http://www.poulpetersen.dk/xfiles/ukrh52in.htm
http://sunsite.dk/linux-newbie/Linux_commands.htm
http://www.er.uqam.ca/nobel/r10735/unixcomm.html

Buy a book too, but the above answers your question directly. Good luck ...
you'll need it.

Micer


Eirik Br�then <[EMAIL PROTECTED]> wrote in message
news:vE1N5.2970$[EMAIL PROTECTED]...
>Im new to Linux, and need to learn som basics. Does anyone know a *good*
web
>page with basic commands and a "intro" to how Linux works?
>
>Eirik
>
>
>



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

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Why, ext2 don't need defrag
Reply-To: [EMAIL PROTECTED]
Date: Sun, 05 Nov 2000 06:21:15 GMT

In our last episode (Sat, 04 Nov 2000 21:13:34 -0500),
the artist formerly known as dan said:
>I understand that the ext2 filesystem is a little "smarter" then the fat
>fs, and it does not need to be defrag.  But can someone explain why, I
>mean the physical architecture of how the ext2 fs works, or if it's too
>much to explain does anyone know of a site that can thoroughtly
>breakdown how the ext2 fs works.

See:
<http://step.polymtl.ca/~ldd/ext2fs/ext2fs_toc.html>
   Analysis of the Ext2fs structure

As well as the references by R�my Card and Theodore Ts'o that are
referenced therein.

It is _NOT_ a "comparative analysis of ext2fs _as compared to DOS FAT_"
and thus will not provide a detailed answer as to _why_ ext2 is better.

That is left as an exercise to the gentle reader; if you're not up
to looking at the sources and assessing it yourself, you would likely
not be able to find actual value in anything more specific than the
rather blank claim that "ext2 allocates files more intelligently than
FAT."
-- 
[EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/linuxkernel.html>
Of course, unless one has a theory, one cannot expect much help from a
computer unless _it_ has a theory)...  -- Marvin Minsky

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

From: E J <[EMAIL PROTECTED]>
Subject: Re: usb printer
Date: Sat, 04 Nov 2000 22:57:25 -0800

1) http://www.linux-usb.org/
2) wait for linux kernel 2.4
3) use the development linux kernel 2.4 test

Paulie wrote:

> How do I get my Deskjet 970cse to work using usb?
>
> Thanks for the help.


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

From: "Robert Q. Warshawsky" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.install
Subject: Re: Matrox G100
Date: Sun, 05 Nov 2000 07:34:03 GMT

Look at http://www.xfree86.org.  This is where you will find out what the
xfree binaries, supplied in the RedHat distribution for video, will do. I
assume that SuSe uses them as well.

BTW, I assume you mean the G400?

-S

Milan Kratka wrote:

> Does anyone know wether I could use a dualheaded Matrox G100 video card
> with Linux (RedHat 7.0 or SuSe 7.0)?
> I have dual flat screens as well.  Matrox offers a beta drivers for G200
> and up and I was trying to follow their README
> file instructions but did not get far with it.
>
> Thanks for any hint.
>
> Milan Kratka


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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Different groups for different ls?
Date: 5 Nov 2000 08:29:37 GMT

Micer <[EMAIL PROTECTED]> wrote:
: A customer demonstrated their wu-ftp site to me that someone else set up for
: them and I noticed something unusual. When you attach to their site over the
: web and do an "ls" within wu-ftp you get a groupname of "wu-ftp" for about a
: dozen files, and the rest are root. But when you attach to their ftp server
: from inside their site passing through their firewall (logging on as root
: over SSH) all files show the group "root", including the same ones that
: shoed as "wu-ftp" when listed externally.

: How is this possible? They suggested that coming in externally uses a

They have a different passwd file for externals than internals (at
least for anonymous users). Incoming guests are chrooted to the ftp
base directory, below which there is a different etc/passwd and bin/ls.

Peter

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


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