Linux-Misc Digest #719, Volume #27               Thu, 26 Apr 01 08:13:02 EDT

Contents:
  Re: Where to find source? (Jim Cochrane)
  Re: Where to find source? (David)
  disk space (Rabi Gurung)
  compile gcc on Suse 7.1 ("frank iversen")
  Re: disk space (David)
  Re: disk space ("Peter T. Breuer")
  PPPOE Problem ("gog")
  Re: Route and Gatway on Linux Router ("vitas")
  filesystem standard ("Simon Frohn")
  printing to a file ("Silvestre Malta")
  Re: ZIP ext2 vs fat16 and speed ("Jarkko Hakala")
  Re: Route and Gatway on Linux Router ("Sander")
  Realtek 8139b NIC ("MrHyde")
  Re: filesystem standard ("Peter T. Breuer")
  pop3 account ("FooSi")
  Re: boot record disaster -- help! (Jack Kaufmann)
  Expanding full partitions ("Mikael \"Elvis\" Ahlgren")
  What to backup? ("Dennis")
  I don't believe my eyes ("FEEB")
  Re: clock: how to tell date it's localtime (Jean-David Beyer)

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

From: [EMAIL PROTECTED] (Jim Cochrane)
Subject: Re: Where to find source?
Date: 26 Apr 2001 01:10:50 -0600

Often a search of well-chosen key words on google will be successful for
something like this - for example:

quota linux source tar

BTW, if your going to study the X Window source, you've got a lot of work
ahead of you. :-)

In article <3ae7abea$0$[EMAIL PROTECTED]>,
Peet Grobler <[EMAIL PROTECTED]> wrote:
>Where do I find the source for a certain utility in Linux?
>
>e.g., at the moment, I'm looking for the source for
>X Windows
>quota
>psacct
>
>Is there some archive somewhere that holds all the source? Please, not
>RPM's, I do not have RPM installed. I'm looking for the source-x.x.tar.bz2
>(/.gz) source package.
>
>Please let me know.
>
>


-- 
Jim Cochrane
[EMAIL PROTECTED]

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

From: David <[EMAIL PROTECTED]>
Subject: Re: Where to find source?
Date: Thu, 26 Apr 2001 07:18:21 GMT

Jim Cochrane wrote:
> 
> Often a search of well-chosen key words on google will be successful for
> something like this - for example:
> 
> quota linux source tar

 Try:  http://www.google/linux/

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.174% of seti users. +/- 0.01%

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

From: Rabi Gurung <[EMAIL PROTECTED]>
Subject: disk space
Date: Thu, 26 Apr 2001 07:30:05 -0000

 Hi,
    is there anybody who can help me to determine where the disk space is 
taken up having over 100 users on the system,to identify which user are 
taking the most storage, and then the next most and so on.
   thanks
  Rabi

--
Posted via CNET Help.com
http://www.help.com/

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

From: "frank iversen" <[EMAIL PROTECTED]>
Subject: compile gcc on Suse 7.1
Date: Thu, 26 Apr 2001 10:14:00 +0200

Hello,

I have installed Suse 7.1 and want
to compile the gcc-2.95, which comes with the cd's.

We have to compile the gcc, because we have a change in the sources.
On Suse 6.4,  we have no problems.

On Suse 7.1,
I create an extra directory,
I configure with the default-settings and
I start make.
The error:
libio/indstream.cc, line 82: 'struct streampos' used where an 'int' was
expected.

I look in the headers, streampos is a define of _IO_fpos64_t or anythink
like
this !?

So long
Frank Iversen




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

From: David <[EMAIL PROTECTED]>
Subject: Re: disk space
Date: Thu, 26 Apr 2001 08:14:01 GMT

Rabi Gurung wrote:
> 
>  Hi,
>     is there anybody who can help me to determine where the disk space is
> taken up having over 100 users on the system,to identify which user are
> taking the most storage, and then the next most and so on.
>    thanks
>   Rabi


If you don't have a lot of users then you can use "du" to do it.

 du -h /home/username

That will show how much disk space the user's home directory is using.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.174% of seti users. +/- 0.01%

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: disk space
Date: Thu, 26 Apr 2001 09:52:17 +0200

Rabi Gurung <[EMAIL PROTECTED]> wrote:
>     is there anybody who can help me to determine where the disk space is 
> taken up having over 100 users on the system,to identify which user are 
> taking the most storage, and then the next most and so on.

The traditionsl thing is something like

    du -sx * | sort -n -k 1

(I don't see that that one-liner needed "help" !)

Or if you are running quotas (as you should be ..), then repquota will
help you.

Peter

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

From: "gog" <[EMAIL PROTECTED]>
Subject: PPPOE Problem
Date: Thu, 26 Apr 2001 09:24:33 +0100

Hi,
    dsl in our german office recently stopped working for no aparrent
reason. I've had Telekom DSL working fine for a week then it started to
fail. Here is the connect log:


Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <mru 1492> <asyncmap 0x0> <magic 0x442b05fa>
<pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1492> <auth pap> <magic 0xf65887a4>]
sent [LCP ConfAck id=0x1 <mru 1492> <auth pap> <magic 0xf65887a4>]
rcvd [LCP ConfAck id=0x1 <mru 1492> <asyncmap 0x0> <magic 0x442b05fa>
<pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x442b05fa]
sent [PAP AuthReq id=0x1 user="000111111111111001111111#[EMAIL PROTECTED]"
password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=0xf65887a4]
rcvd [PAP AuthNak id=0x1 "0028 LSSTG004 0009912719 vip lock"]
Remote message: 0028 LSSTG004 0009912719 vip lock
PAP authentication failed
sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
rcvd [LCP TermReq id=0x2]
sent [LCP TermAck id=0x2]
rcvd [LCP TermAck id=0x2]
Connection terminated.


So my question is... what's a vip lock? has the isp locked my password?


G09
South Wales
UK



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

From: "vitas" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,comp.os.linux,comp.os.linux.networking
Subject: Re: Route and Gatway on Linux Router
Date: Wed, 25 Apr 2001 01:48:24 +0200

route add -net ?
"me" <[EMAIL PROTECTED]> wrote in message
news:xejF6.14$[EMAIL PROTECTED]...
>     I currently have two subnets, 10.10.10.0 and 10.10.9.0  connected
> together using linux as router between the two of them.
>     My problem is that I currently have a dsl connection on my subnet
> 10.10.10.0  which is set as the default gateway on the router.  But the
> other subnet 10.10.9.0 will soon have its own dsl connection.
>     How can I set up the router so that the both subnets can still see ach
> others windows and linux samba shares, yet the 10.10.9.0 subnet will not
try
> to connect to the internet using my dsl connection?   And vice versa from
> the other subnet of 10.10.10.0 will not try to connect to the internet
over
> the 10.10.9.0 subnet?
>
> Current setup is as follows.
>
>                              ____other pc's on 10.10.10.0
> ___other pc's on 10.10.9.0
>                              |
> |
> 10.10.10.100 ---------- 10.10.10.1 and 10.10.9.1 ---------10.10.9.?
> firewall                                    linux   router
> firewall
>
>
>
> Chris
>
>



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

From: "Simon Frohn" <[EMAIL PROTECTED]>
Subject: filesystem standard
Date: Thu, 26 Apr 2001 11:36:15 +0200

Hi,

maybe this question is a little bit stupid ...
What is the best place to put the htdocs directory
of apache (according to the filesystem standard).

The contents of the directory will change very
fast also will its size increase by 8 MB every Week.
This directory will be writeable by an unprivileged
user ('nouser') because uploads will be done using
the webserver.

I think /usr is not the right place because this directory
should be mountable read-only.
Perhaps there should be created a special-user webmaster,
and then use its home directory?
Or should htdocs placed somewhere in /var ?


-Simon



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

From: "Silvestre Malta" <[EMAIL PROTECTED]>
Subject: printing to a file
Date: Thu, 26 Apr 2001 10:42:11 +0100

Hello,
Can any one help me doing the following:

I would like to redirect /dev/lp0 to a file ...
I want that wen someone print any thing , taht thing goes to a file and not
to the printer ....

Can any one help me ?



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

From: "Jarkko Hakala" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: ZIP ext2 vs fat16 and speed
Date: Thu, 26 Apr 2001 12:45:35 +0300

"Nigel Jewell" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Dear all,
>
> I have an ZIP 250 drive (that uses the ide-floppy driver) and have found
> the process to be VERY slow when writing to EXT2 formatted disks.  It is
> fine when writing to FAT16 disks.
>
> Copy 250Mb to a FAT16 filesystem can take a couple of minutes.  Copying
> 250Mb to a EXT2 filesystem can take most of the day.  Is there anything
> that I can do to speed up the EXT2 writes?
>
> I'm using Redhat 7.1, with a 2.4.3 kernel, although I've experienced
> this with 2.2.x kernels aswell.

I've not used a Zip-drive, but this should speedup any such media in
general(or it'd be more like a workaround):Copy the whole raw disk, say
/dev/zip0 onto your harddisk or ramdisk('dd if=/dev/zip0 of=/var/zipfile'),
mount the file('mount /var/zipfile /mnt/something -o loop'), useit, umount,
copy the file to /dev/zip0(with dd again).

The copy-in and copy-out processes take a long time of course, but should
be faster than reading 250Mb of random-access files from it.

Perhaps, as you say "ide-floppy driver", hdparm can set up write-caching
for it with 'hdparm -W 1 /dev/zip0'. Another thing would be that you should
do the ext2fs with larger block size, as the interleave & stuff of Zip-drive
is propably optimized for FAT-usage.

---
Jarkko Hakala
http://byterapers.com/~jhakala/
IRCnet: privmsg jakemus :




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

From: "Sander" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,comp.os.linux,comp.os.linux.networking
Subject: Re: Route and Gatway on Linux Router
Date: Thu, 26 Apr 2001 09:55:48 GMT


[root@sokal /root]# route add
Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M]
[[dev]
 If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
                              [netmask N] [mss Mss] [window W] [irtt I]
                              [mod] [dyn] [reinstate] [[dev] If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
       inet_route [-FC] flush      NOT supported
[root@sokal /root]#

vitas <[EMAIL PROTECTED]> schreef in berichtnieuws [EMAIL PROTECTED]
> route add -net ?
> "me" <[EMAIL PROTECTED]> wrote in message
> news:xejF6.14$[EMAIL PROTECTED]...
> >     I currently have two subnets, 10.10.10.0 and 10.10.9.0  connected
> > together using linux as router between the two of them.
> >     My problem is that I currently have a dsl connection on my subnet
> > 10.10.10.0  which is set as the default gateway on the router.  But the
> > other subnet 10.10.9.0 will soon have its own dsl connection.
> >     How can I set up the router so that the both subnets can still see
ach
> > others windows and linux samba shares, yet the 10.10.9.0 subnet will not
> try
> > to connect to the internet using my dsl connection?   And vice versa
from
> > the other subnet of 10.10.10.0 will not try to connect to the internet
> over
> > the 10.10.9.0 subnet?
> >
> > Current setup is as follows.
> >
> >                              ____other pc's on 10.10.10.0
> > ___other pc's on 10.10.9.0
> >                              |
> > |
> > 10.10.10.100 ---------- 10.10.10.1 and 10.10.9.1 ---------10.10.9.?
> > firewall                                    linux   router
> > firewall
> >
> >
> >
> > Chris
> >
> >
>
>



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

From: "MrHyde" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.development.system
Subject: Realtek 8139b NIC
Date: Thu, 26 Apr 2001 12:05:59 +0200

HIi,

 I'm trying to use the rtl8139 driver with a RTL8139B (96394S1 - 9260TAIWAN)
Chip integrated on a  Cyrix ST-3WT Mainboard, and I've got a problem. The
driver module is loaded correctly but the NIC doesn't work correctly: it can
send packets, but it  doesn't receive. I'm trying with diferent Linux
distributions (Red-Hat 5.x & 6.x) and with diferent kernel versions (2.0.x,
2.2.x, 2.4.x) and the problem continues. I thought that it was a hardware
problem of the NIC, but in my last trials I tested this mainboard with
Win'98 and the NIC works correctly  (!?).

 The manual of the board says that is 802.3 and 802.3u full compatible, and
 the pinout of the RJ45 connector is:
 Pin 1 Transmit output +
 Pin 2 Transmit output -
 Pin 3 Receive input +
 Pin 6 Receive input -
 Resting pins are not connected.

 Why this card works in Windows and is not working in Linux?? What should I
 try?

 Thanks a lot.

 _____________________
 Oscar Vico
 SOL services on line, s.a.
 Serrano Anguita 10, 3 D
 28004 Madrid - Spain
 Tel. +34 91 446 7984
 Fax. +34 91 446 6965






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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: filesystem standard
Date: Thu, 26 Apr 2001 12:27:05 +0200

Simon Frohn <[EMAIL PROTECTED]> wrote:
> Perhaps there should be created a special-user webmaster,
> and then use its home directory?
> Or should htdocs placed somewhere in /var ?

Either place is appropriate for http docs. The apache docs can be in a
completely different place from your system web home. I maintain
a user called www with his home in the standard place, but keep
other apache files in /var, where it gives me a warm fuzzy feeling
to know that they could dispper in a moment ...

Peter

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

From: "FooSi" <[EMAIL PROTECTED]>
Subject: pop3 account
Date: Thu, 26 Apr 2001 18:34:04 +0800

I want to provide some users who can use pop3 accounts but they can't use
telnet and ftp and anything except pop3.
The situation is there exists some users who can use telnet and ftp in the
system. So there is a mix of different users in the system. I think I will
use qmail instead of sendmail. I want to know which solution(easy to
setup,manage,secure) is the best to handle these users.

thanks




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

From: Jack Kaufmann <[EMAIL PROTECTED]>
Subject: Re: boot record disaster -- help!
Date: Thu, 26 Apr 2001 11:24:54 GMT

This is a multi-part message in MIME format.
==============4A697951781B471E10881E4D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Eric wrote:
> 
> > I have (had) LILO in the MBR, with linux and win98 as the options.  Today,
> > when I went to reboot, instead of getting the normal LILO screen I got
> > "Starting ONTRACK . . ." followed by a blue box identifying Seagate
> 
> annoying programs heh.
> 
> > Technology Inc - DiscWizard, DDO v 9.50, followed after a couple of blank
> > lines with the letters LI.
> 
> Odd. Anything weird in the BIOS?
> The LI may be caused through this program. It may have changed the CHS
> settings for this disc. Rerunning lilo should solve that.
> 
> > I booted linux with a boot disk and made sure lilo.conf was correct,
> showing
> > that I was booting from hda, then ran Lilo hoping that it would reinstall
> > lilo.conf in the MBR, but with no luck.
> 
> luck?
> Run lilo. It either succeeds or fails. You don't need luck here.
> `/sbin/lilo -v -v`
> Does it succeed?
> 
> > I should add that while in linux I
> > can access the C:drive's dos/windows files as normal, so if there is a
> drive
> > problem it's limited to the MBR.
> 
> No it's limited to crappy OS's (and some bootloaders)
> 
> > I had done nothing out of the ordinary to have caused this disaster.  Does
> > anyone have any ideas as to how I can get lilo back, or some other boot
> > loader installed?  Thanks.
> 
> rerun lilo.
> Are you sure lilo.conf contains the right stuff? Show it.
> 
> Eric

Attached are (1) my lilo.conf file, and (2) the results of 'lilo -v
-v'.  As mentioned, it doesn't seem to do any good.  Any ideas?  Thanks.
==============4A697951781B471E10881E4D
Content-Type: text/plain; charset=us-ascii;
 name="lilo.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="lilo.txt"

LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman

Reading boot sector from /dev/hda
Merging with /boot/boot.b
Secondary loader: 11 sectors.
Mapping message file /boot/message
Message: 46 sectors.
Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
Mapped 6 (4+1+1) sectors.
Added win98-2000 *
Boot image: /boot/vmlinuz-2.2.16-22
Setup length is 7 sectors.
Mapped 1228 sectors.
Added linux
/boot/boot.0300 exists - no backup copy made.
Map file size: 13824 bytes.
Writing boot sector.

==============4A697951781B471E10881E4D
Content-Type: text/plain; charset=us-ascii;
 name="lilo.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="lilo.conf"

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=WIN98-2000

other=/dev/hda1
        label=win98-2000

image=/boot/vmlinuz-2.2.16-22
        label=linux
        read-only
        root=/dev/hdb6

==============4A697951781B471E10881E4D==


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

From: "Mikael \"Elvis\" Ahlgren" <[EMAIL PROTECTED]>
Subject: Expanding full partitions
Date: Thu, 26 Apr 2001 14:29:29 +0300

I am running a Linux system (Penguin Computing (RH 6.1)) and need to expand
the var partition immediately. Which is the best and safest way to do this?


Mikael Ahlgren



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

From: "Dennis" <[EMAIL PROTECTED]>
Subject: What to backup?
Date: Thu, 26 Apr 2001 15:41:47 +0400

Hi guys

I have been asked to format a RedHat 6.0 machine and to re-install the 7.0
version
The server hosts 2 web sites and runs sendmail on it.Nothing else.

What do i have to backup in addition to the data. What i mean is what
configuration

files usually should be backup? How can i keep existing user names & email

addresses without having to recreate from scratch?

Thanks for your support

Rgds
Dennis



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

From: "FEEB" <[EMAIL PROTECTED]>
Subject: I don't believe my eyes
Date: Thu, 26 Apr 2001 07:39:01 -0400 (EDT)
Reply-To: "FEEB" <[EMAIL PROTECTED]>

I asked Yahoo! Customer Care if there is an interface between what they 
call "Yahoo Groups" and UseNet, in other words, if it is possible to 
receive their groups over the NNTP.

This is the answer.  Talk about incompetence, geez:

==================

Hello Frank,

Thank you for writing to Yahoo! Customer Care.

If you are connecting to the Internet from behind a firewall and/or 
proxy server, you may have trouble using our Java Chat software.  To get
around this, you can either try our HTML Chat software (a good solution 
for most but not all users) or contact your system administrators to 
request that they give you access to our servers.

The HTLM chat is currently not supported.  Please check back for future 
updates.

Please let us know if you have further questions.

Regards,

Customer Care



Original Message Follows: 
=========================

Group Name:  Any

Are you a... Member

Subject: Other

Type your feedback here:
 Is there an interface between
Yahoo Groups and UseNet?
Is it possible to receive
the Yahoo groups via NNTP?
Thanks

Frank Bures, <grandial at softex.cz> 



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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: clock: how to tell date it's localtime
Date: Thu, 26 Apr 2001 08:05:21 -0400

Johan Kullstam wrote:
> 
> Jean-David Beyer <[EMAIL PROTECTED]> writes:
> 
> > "Peter T. Breuer" wrote:
> > >
> > > Jeffrey J. Bacon <[EMAIL PROTECTED]> wrote:
> > > > my hardware clock is set to my localtime but the date program brings it
> > >
> > > That's an error. Set it to UTC.
> >
> > This may not be practical for a user of Microsoft products, such as
> > the Windows OS that absolutely insists on your computer running local
> > time, and will set it that way whether you want it so or not.
> 
> how does windows know what time it is?  it asks you.  lie.  tell
> windows you live in greenwich england and don't believe in daylight
> savings.  windows cannot handle time properly.  there is not much you
> can do about it beyond letting windows lose.
> 
I have not had to lie to Windows 95. I just let Windows 95 run the
clock, and tell Linux that the clock is in local time. Works fine for
me, except when Windows diddles to daylight savings time in January
(happened only once): Linux could not handle that, but neither could
Windows, really.

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey     http://counter.li.org 
^^-^^ 8:00am up 5 days, 14:25, 6 users, load average: 2.19, 2.19, 2.17

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


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