Re: [gentoo-user] qpkg -q - am I interpreting it correctly?

2003-08-29 Thread Renat Golubchyk
On Thursday 28 August 2003 22:54, Mark Knecht wrote:
Or can I infer that kdemultimedia is not needed by anything (except
 itself?) and remove it safely? Maybe the ebuild incorrectly installed it,
 but the program doesn't depend on it?

Well, if qpkg doesn't show the dependencies properly it is always possible to 
look at the ebuild itself. ;-)
Part of the DEPEND variable in the ebuild is
 =kdelibs-3.0
 kdemultimedia
 =qt-3.0
Also if you look at rosegarten's homepage you will see in the requirements 
section:
Rosegarden-4 uses the KDE 3 libraries, so you will need KDE 3.x with Qt3. You 
don't actually need to use the KDE desktop, you just need the library 
packages installed on your system.


Hope that helps.

Cheers,
Renat


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] HD back up

2003-08-29 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

first of all, thank you... this script was very useful.
I'm modifying it for my own uses... may I ask why the sleep 4 after the 
mount ?
Thanks.
El Jueves Agosto 28 2003 19:26, Peter Ruskin escribió:
 On Thursday 28 Aug 2003 22:06, Pupeno wrote:
  Hello... I have one HD with a various partitions (10 GB NTFS, the
  linux swap, the /boot partition and my main partition), it is an 80
  GB HD... I have another 80 GB HD to make back ups... what method of
  backing up do you recomend me ? Something that is fast to recover
  being that I have a whole HD to do the back up ? Something that is
  faster than doing a whole 'copy' every night ?
  Thank you.

 #==
 #! /bin/bash
 # /usr/local/bin/my-rsync
 ###
 # Backup Script
 ###

 BACKUP_TO=/mnt/backup
 EXCLUDE=/usr/local/bin/rsync-exclude

 echoMounting boot partition...
 mount /boot -o ro
 echo
 echoMounting backup disk...
 mount $BACKUP_TO
 sleep 4
 echo
 echoPerforming backup...
 echo
 rsync --progress --delete -av --exclude-from=$EXCLUDE /
 $BACKUP_TO/rsync/

 echo
 echoUnmounting boot and backup partitions...

 /bin/umount -l /boot
 /bin/umount -l $BACKUP_TO

 echo
 echoSpinning down backup disk...
 /sbin/hdparm -y /dev/hdc  # spin down disk
 #==
 # /usr/local/bin/rsync-exclude:
 - /tmp/
 - /var/lib/init.d/
 - /mnt/backup/
 - /mnt/cdrom/
 - /mnt/floppy/
 - /proc/
 - /usr/portage/distfiles/
 - /root/.ccache/
 - /home/peter/.ccache/
 #==

 Peter

- -- 
Pupeno: [EMAIL PROTECTED]
http://www.kde.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/TpL9Lr8z5XzmSDQRAoLbAKCYo2ZhvwTiSOpadDcfM/O5qyqliACfb+i6
1gByDM5fz7WvPNF7tDTHopU=
=O2En
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



[gentoo-user] apache still wants to be emerged when apache2 is installed.

2003-08-29 Thread Carlos
Hey people,
I have a working install of apache2, I was previously running apache1, after 
the upgrade I unmerged apache1 but whenever I do an emerge -UD world it wants to 
install it again. Any idea on why? qpkg -q shows that nothing is depending on apache1 
that isn't covered by apache2.

Regards,
Carlos.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] HD back up

2003-08-29 Thread Peter Ruskin
On Friday 29 Aug 2003 00:40, Pupeno wrote:
 first of all, thank you... this script was very useful.

You're welcome.

 I'm modifying it for my own uses... may I ask why the sleep 4 after
 the mount ?

The last line of the script:
/sbin/hdparm -y /dev/hdc
spins the disk down.  This disk is only used for backups, so it is spun 
down at the end, to reduce power and noise.  The sleep is to allow time 
for it to spin up again.  It may not be needed but it does no harm.

I run this daily as a cron job.  After the first day it's very quick, 
and it's the fastest way I've found to restore yesterday's stuff.

Peter
-- 
==
Gentoo: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
kernel-2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+
==


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] HD back up

2003-08-29 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What I did, diferent to you... is create exactly the same partitions in the 
second disk and I mount them with exactly the same hierachy as the root, but 
in /mnt/backup and the, rsync the whole root to /mnt/backup, so, everything 
should end up in it's own partition automatically, right ?
Thanks.

El Jueves Agosto 28 2003 21:10, Peter Ruskin escribi:
 On Friday 29 Aug 2003 00:40, Pupeno wrote:
  first of all, thank you... this script was very useful.

 You're welcome.

  I'm modifying it for my own uses... may I ask why the sleep 4 after
  the mount ?

 The last line of the script:
   /sbin/hdparm -y /dev/hdc
 spins the disk down.  This disk is only used for backups, so it is spun
 down at the end, to reduce power and noise.  The sleep is to allow time
 for it to spin up again.  It may not be needed but it does no harm.

 I run this daily as a cron job.  After the first day it's very quick,
 and it's the fastest way I've found to restore yesterday's stuff.

 Peter

- -- 
Pupeno: [EMAIL PROTECTED]
http://www.kde.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/TprZLr8z5XzmSDQRAkvoAJ4zASiJ30qK6kMTsAzE7ft9Tm3SeACdFFQ3
/P8hp1uxlz98d/kPr6DrVXk=
=NFeU
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Slots and duplicates

2003-08-29 Thread Andrew Farmer
At 28 August, 2003 Renat Golubchyk wrote:
 Hello list!
 
 How do I know, which duplicate packages I need? Here is what I have:
 
 $ qpkg --dups -v
 app-text/docbook-sgml-dtd-3.1-r1
 app-text/docbook-sgml-dtd-3.0-r1
 app-text/docbook-sgml-dtd-4.1-r1
 app-text/docbook-sgml-dtd-4.0-r1
 app-text/docbook-sgml-dtd-4.2
 dev-java/java-sdk-docs-1.4.1
 dev-java/java-sdk-docs-1.4.2
 dev-libs/glib-1.2.10-r5
 dev-libs/glib-2.2.2
 media-libs/freetype-2.1.4
 media-libs/freetype-1.3.1-r3
 sys-libs/db-1.85-r1
 sys-libs/db-3.2.9-r7
 x11-libs/gtk+-1.2.10-r10
 x11-libs/gtk+-2.2.1-r1
 x11-libs/gtkglarea-1.2.3-r1
 x11-libs/gtkglarea-1.99.0
 
snip

Don't know about the docbook-sgml-dtds, but you will want to keep both
1.x and 2.x versions of glib, gtk+, and freetype, as the two are really
rather different from each other. For example, gtk+-1.* and gtk+-2.* are
completely incompatible with each other; programs for one must be rewritten
to use the other.

As for the rest, I don't know. Unmerge the old one and see what breaks?
;-)

-- 
Andrew Farmer
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] HD back up

2003-08-29 Thread Stephen Liu
Hi Pupeno,

Are you connecting the backup hard drive as Master to secondary IDE or
as SLAVE to Primary IDE

Kindly advise.  Thanks in advance.

B.Regards
Stephen Liu

On Fri, 2003-08-29 at 05:06, Pupeno wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello... I have one HD with a various partitions (10 GB NTFS, the linux swap, 
 the /boot partition and my main partition), it is an 80 GB HD... I have 
 another 80 GB HD to make back ups... what method of backing up do you 
 recomend me ? Something that is fast to recover being that I have a whole HD 
 to do the back up ? Something that is faster than doing a whole 'copy' every 
 night ?
 Thank you.
 - -- 
 Pupeno: [EMAIL PROTECTED]
 http://www.kde.org


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] HD back up

2003-08-29 Thread Stephen Liu
Hi Peter,

Could you please advise how to use your script to start backup.  Also
can backup start automatically at scheduled time?

Thanks in advance.

B.Regards
Stephen Liu


On Fri, 2003-08-29 at 06:26, Peter Ruskin wrote:
 On Thursday 28 Aug 2003 22:06, Pupeno wrote:
  Hello... I have one HD with a various partitions (10 GB NTFS, the
  linux swap, the /boot partition and my main partition), it is an 80
  GB HD... I have another 80 GB HD to make back ups... what method of
  backing up do you recomend me ? Something that is fast to recover
  being that I have a whole HD to do the back up ? Something that is
  faster than doing a whole 'copy' every night ?
  Thank you.
 
 #==
 #! /bin/bash
 # /usr/local/bin/my-rsync
 ###
 # Backup Script
 ###
 
 BACKUP_TO=/mnt/backup
 EXCLUDE=/usr/local/bin/rsync-exclude
 
 echoMounting boot partition...
 mount /boot -o ro
 echo
 echoMounting backup disk...
 mount $BACKUP_TO
 sleep 4
 echo
 echoPerforming backup...
 echo
 rsync --progress --delete -av --exclude-from=$EXCLUDE / 
 $BACKUP_TO/rsync/
 
 echo
 echoUnmounting boot and backup partitions...
 
 /bin/umount -l /boot
 /bin/umount -l $BACKUP_TO
 
 echo
 echoSpinning down backup disk...
 /sbin/hdparm -y /dev/hdc  # spin down disk
 #==
 # /usr/local/bin/rsync-exclude:
 - /tmp/
 - /var/lib/init.d/
 - /mnt/backup/
 - /mnt/cdrom/
 - /mnt/floppy/
 - /proc/
 - /usr/portage/distfiles/
 - /root/.ccache/
 - /home/peter/.ccache/
 #==
 
 Peter


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kspell with kmail?

2003-08-29 Thread Steven
Hello Paul!

Thank you ever so much for taking the moment to write. I just went
through and tested kmail with the settings you suggested and still
no success... :-(

However, at this point, having seen that you don't appear to have
any problems, and assuming your running a fairly standard instance
of Gentoo/Kmail, I'm beginning to wonder if something didn't go
wrong with my system along the way.

What I'm doing now is re-merging aspell, aspell-en, and then I'll
give it another go. If it is the KDE side of things that needs re-merging
I don't know when I'll find the time seeing as I'm only running on a
laptop with a Celeron 550mhz... ;-)

Again, thank you very much for the note of suggestion. It's truly
greatly appreciated.

All the best,

Steven

On Thursday 28 August 2003 03:18, Paul Stear wrote:
 Hi Steven,

 I have just seen this thread and have checked how mine is set up.

 In kmail composer
 Tools  - Spelling( to operate or the ABC button at the top(
 Settings - Spellchecker

 Dictionary  English ( United Kingdom)
 Encoding ISO 8859-1
 Client Aspell

 If you do not have aspell doemerge aspell aspell-en, this should put
 everything in place.

 The other way to set it up is from the control centre spanner on the task
 bar and goto kde components - Spell Checking

 I hope this works, let me know, good luck

 regards
 Paul
   -- This message was sent using gentoo linux and kmail --


 --
 [EMAIL PROTECTED] mailing list

-- 
Know your neighbor. Discover independent media:
http://www.thislife.org/ - This American Life - documenting everyday life in the US.
http://www.humanmedia.org/ - Promoting compassion, service, generosity and equality.
http://www.worldlinktv.org/ - a global perspective on news, current events and 
culture

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] HD back up

2003-08-29 Thread Peter Ruskin
On Friday 29 Aug 2003 01:53, Stephen Liu wrote:
 Hi Peter,

 Could you please advise how to use your script to start backup.  Also
 can backup start automatically at scheduled time?

 Thanks in advance.

 B.Regards
 Stephen Liu

# chmod a+x /usr/local/bin/my-rsync
...then edit root's crontab:
# crontab -e
and add these lines:

MAILTO=normal user
# do rsync backup nightly
0 1 * * * /usr/local/bin/my-rsync

then it will run at 1 o'clock every morning


 On Fri, 2003-08-29 at 06:26, Peter Ruskin wrote:
  On Thursday 28 Aug 2003 22:06, Pupeno wrote:
   Hello... I have one HD with a various partitions (10 GB NTFS, the
   linux swap, the /boot partition and my main partition), it is an
   80 GB HD... I have another 80 GB HD to make back ups... what
   method of backing up do you recomend me ? Something that is fast
   to recover being that I have a whole HD to do the back up ?
   Something that is faster than doing a whole 'copy' every night ?
   Thank you.
 
  #==
  #! /bin/bash
  # /usr/local/bin/my-rsync
  ###
  # Backup Script
  ###
 
  BACKUP_TO=/mnt/backup
  EXCLUDE=/usr/local/bin/rsync-exclude
 
  echoMounting boot partition...
  mount /boot -o ro
  echo
  echoMounting backup disk...
  mount $BACKUP_TO
  sleep 4
  echo
  echoPerforming backup...
  echo
  rsync --progress --delete -av --exclude-from=$EXCLUDE /
  $BACKUP_TO/rsync/
 
  echo
  echoUnmounting boot and backup partitions...
 
  /bin/umount -l /boot
  /bin/umount -l $BACKUP_TO
 
  echo
  echoSpinning down backup disk...
  /sbin/hdparm -y /dev/hdc# spin down disk
  #==
  # /usr/local/bin/rsync-exclude:
  - /tmp/
  - /var/lib/init.d/
  - /mnt/backup/
  - /mnt/cdrom/
  - /mnt/floppy/
  - /proc/
  - /usr/portage/distfiles/
  - /root/.ccache/
  - /home/peter/.ccache/
  #==
 
 
  Peter

 To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

 --
 [EMAIL PROTECTED] mailing list

-- 
==
Gentoo: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
kernel-2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+
==


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Slots and duplicates

2003-08-29 Thread Renat Golubchyk
On Friday 29 August 2003 02:28, Andrew Farmer wrote:
 At 28 August, 2003 Renat Golubchyk wrote:
  Hello list!
 
  How do I know, which duplicate packages I need? Here is what I have:
 
  $ qpkg --dups -v
  app-text/docbook-sgml-dtd-3.1-r1
  app-text/docbook-sgml-dtd-3.0-r1
  app-text/docbook-sgml-dtd-4.1-r1
  app-text/docbook-sgml-dtd-4.0-r1
  app-text/docbook-sgml-dtd-4.2
  dev-java/java-sdk-docs-1.4.1
  dev-java/java-sdk-docs-1.4.2
  dev-libs/glib-1.2.10-r5
  dev-libs/glib-2.2.2
  media-libs/freetype-2.1.4
  media-libs/freetype-1.3.1-r3
  sys-libs/db-1.85-r1
  sys-libs/db-3.2.9-r7
  x11-libs/gtk+-1.2.10-r10
  x11-libs/gtk+-2.2.1-r1
  x11-libs/gtkglarea-1.2.3-r1
  x11-libs/gtkglarea-1.99.0

 snip

 Don't know about the docbook-sgml-dtds, but you will want to keep both
 1.x and 2.x versions of glib, gtk+, and freetype, as the two are really
 rather different from each other. For example, gtk+-1.* and gtk+-2.* are
 completely incompatible with each other; programs for one must be rewritten
 to use the other.

I'm aware of that. But why are the dependency lists exactly the same? For 
example:

$ qpkg -q -I gtk
x11-libs/gtkglarea-1.2.3-r1 *
DEPENDED ON BY:
dev-ml/lablgtk-1.2.5
x11-libs/gtkglarea-1.99.0 *
DEPENDED ON BY:
dev-ml/lablgtk-1.2.5
x11-libs/gtk+-2.2.1-r1 *
DEPENDED ON BY:
app-editors/gvim-6.2-r2
dev-ml/lablgtk-1.2.5
kde-base/kdemultimedia-3.1.2-r1
media-gfx/gimp-1.2.4
media-gfx/gimp-print-4.3.18
media-libs/gdk-pixbuf-0.21.0
media-libs/libdv-0.99
media-sound/lame-3.93.1-r1
media-sound/xmms-1.2.7-r20
media-video/mjpegtools-1.6.0-r7
media-video/mplayer-0.90-r2
net-www/mozilla-1.4-r3
net-www/netscape-flash-6.0.79
x11-libs/gtkglarea-1.2.3-r1
x11-libs/gtkglarea-1.99.0
x11-themes/gtk-theme-switch-2.0.0_rc2
x11-libs/gtk+-1.2.10-r10 *
DEPENDED ON BY:
app-editors/gvim-6.2-r2
dev-ml/lablgtk-1.2.5
kde-base/kdemultimedia-3.1.2-r1
media-gfx/gimp-1.2.4
media-gfx/gimp-print-4.3.18
media-libs/gdk-pixbuf-0.21.0
media-libs/libdv-0.99
media-sound/lame-3.93.1-r1
media-sound/xmms-1.2.7-r20
media-video/mjpegtools-1.6.0-r7
media-video/mplayer-0.90-r2
net-www/mozilla-1.4-r3
net-www/netscape-flash-6.0.79
x11-libs/gtkglarea-1.2.3-r1
x11-libs/gtkglarea-1.99.0
x11-themes/gtk-theme-switch-2.0.0_rc2


Cheers,
Renat


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] HD back up

2003-08-29 Thread Stephen Liu
Hi Peter,

Thanks for your advice.

$ cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly


Shall I retain the above and add

MAILTO=normal user
# do rsync backup nightly
0 1 * * * /usr/local/bin/my-rsync

Kindly advise.  Thanks in advance.

B.R.
Stephen



On Fri, 2003-08-29 at 09:03, Peter Ruskin wrote:
 On Friday 29 Aug 2003 01:53, Stephen Liu wrote:
  Hi Peter,
 
  Could you please advise how to use your script to start backup.  Also
  can backup start automatically at scheduled time?
 
  Thanks in advance.
 
  B.Regards
  Stephen Liu
 
 # chmod a+x /usr/local/bin/my-rsync
 ...then edit root's crontab:
 # crontab -e
 and add these lines:
 
 MAILTO=normal user
 # do rsync backup nightly
 0 1 * * * /usr/local/bin/my-rsync
 
 then it will run at 1 o'clock every morning
 
 
  On Fri, 2003-08-29 at 06:26, Peter Ruskin wrote:
   On Thursday 28 Aug 2003 22:06, Pupeno wrote:
Hello... I have one HD with a various partitions (10 GB NTFS, the
linux swap, the /boot partition and my main partition), it is an
80 GB HD... I have another 80 GB HD to make back ups... what
method of backing up do you recomend me ? Something that is fast
to recover being that I have a whole HD to do the back up ?
Something that is faster than doing a whole 'copy' every night ?
Thank you.
  
   #==
   #! /bin/bash
   # /usr/local/bin/my-rsync
   ###
   # Backup Script
   ###
  
   BACKUP_TO=/mnt/backup
   EXCLUDE=/usr/local/bin/rsync-exclude
  
   echoMounting boot partition...
   mount /boot -o ro
   echo
   echoMounting backup disk...
   mount $BACKUP_TO
   sleep 4
   echo
   echoPerforming backup...
   echo
   rsync --progress --delete -av --exclude-from=$EXCLUDE /
   $BACKUP_TO/rsync/
  
   echo
   echoUnmounting boot and backup partitions...
  
   /bin/umount -l /boot
   /bin/umount -l $BACKUP_TO
  
   echo
   echoSpinning down backup disk...
   /sbin/hdparm -y /dev/hdc  # spin down disk
   #==
   # /usr/local/bin/rsync-exclude:
   - /tmp/
   - /var/lib/init.d/
   - /mnt/backup/
   - /mnt/cdrom/
   - /mnt/floppy/
   - /proc/
   - /usr/portage/distfiles/
   - /root/.ccache/
   - /home/peter/.ccache/
   #==
  
  
   Peter


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Installing Gentoo on RAID box question

2003-08-29 Thread Stephen Liu
Hi Kai,

Thanks for your advice.

On Wed, 2003-08-27 at 02:58, Kai Lindenberg wrote:

  I use this RAID-0 box to test dual-boot OS, Win2K and Linux.  I
  may encounter difficulty in this test. 
 
 So, to use this os combination, you need an ataraid driver for 
 windows compatibility. I don't know if there is a driver, but you 
 may ask google. The stable gentoo-sources support the highpoint and 
 promise raid feature only.

I have searched with google.com and posted to other lists.  The driver
in question is unavailable

  After first installing Win2K and
  coming to installing Linux the latter can't see the raid
  controller but 2 drives.  Gentoo will be installed on the 1st
  drive leaving the 2nd drive empty.  If no solution found I have
  to remove the raid driver/feature only using it as ATA133
  controller because the motherboard only supports ATA33.
 
 IIRC, there is the possibility to have direct software RAID in at 
 least one win version, so you can habe different RAIDS on different 
 partitions.

What is IIRC?  

Whether you meant after booting up the CD I issue following command at
prompt

# gentoo md

Can gentoo see a single hard drive and Win2K partition as well, not 2
hard drives?

- snip -
  Where I can find en ebuild, on the CDs downloaded or from Gentoo
  website?
 
 these documents are not especially for gentoo, you can find them 
 with google (keywords: ataraid howto)

Noted with thanks

B.R.
Stephen


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] HD back up

2003-08-29 Thread Andrew Farmer
At 29 August, 2003 Stephen Liu wrote:
 Hi Peter,
 
 Thanks for your advice.
 
 $ cat /etc/crontab
 SHELL=/bin/bash
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 MAILTO=root
 HOME=/
 
 # run-parts
 01 * * * * root run-parts /etc/cron.hourly
 02 4 * * * root run-parts /etc/cron.daily
 22 4 * * 0 root run-parts /etc/cron.weekly
 42 4 1 * * root run-parts /etc/cron.monthly
 
 
 Shall I retain the above and add
 
 MAILTO=normal user
 # do rsync backup nightly
 0 1 * * * /usr/local/bin/my-rsync
 
 Kindly advise.  Thanks in advance.

No. Use /etc/cron.daily.

(Look in the directory; any files set +x will be run daily. Root's
crontab should not be modified, really.)

-- 
Andrew Farmer
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] HD back up

2003-08-29 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Remember to have /usr/local/bin/rsync-exclude with the list of 
files/directories to exclude.

El Jueves Agosto 28 2003 22:45, Stephen Liu escribi:
 Hi Peter,

 Thanks for your advice.

 $ cat /etc/crontab
 SHELL=/bin/bash
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 MAILTO=root
 HOME=/

 # run-parts
 01 * * * * root run-parts /etc/cron.hourly
 02 4 * * * root run-parts /etc/cron.daily
 22 4 * * 0 root run-parts /etc/cron.weekly
 42 4 1 * * root run-parts /etc/cron.monthly


 Shall I retain the above and add

 MAILTO=normal user
 # do rsync backup nightly
 0 1 * * * /usr/local/bin/my-rsync

 Kindly advise.  Thanks in advance.

 B.R.
 Stephen

 On Fri, 2003-08-29 at 09:03, Peter Ruskin wrote:
  On Friday 29 Aug 2003 01:53, Stephen Liu wrote:
   Hi Peter,
  
   Could you please advise how to use your script to start backup.  Also
   can backup start automatically at scheduled time?
  
   Thanks in advance.
  
   B.Regards
   Stephen Liu
 
  # chmod a+x /usr/local/bin/my-rsync
  ...then edit root's crontab:
  # crontab -e
  and add these lines:
 
  MAILTO=normal user
  # do rsync backup nightly
  0 1 * * * /usr/local/bin/my-rsync
 
  then it will run at 1 o'clock every morning
 
   On Fri, 2003-08-29 at 06:26, Peter Ruskin wrote:
On Thursday 28 Aug 2003 22:06, Pupeno wrote:
 Hello... I have one HD with a various partitions (10 GB NTFS, the
 linux swap, the /boot partition and my main partition), it is an
 80 GB HD... I have another 80 GB HD to make back ups... what
 method of backing up do you recomend me ? Something that is fast
 to recover being that I have a whole HD to do the back up ?
 Something that is faster than doing a whole 'copy' every night ?
 Thank you.
   
#==
    #! /bin/bash
# /usr/local/bin/my-rsync
###
# Backup Script
###
   
BACKUP_TO=/mnt/backup
EXCLUDE=/usr/local/bin/rsync-exclude
   
echoMounting boot partition...
mount /boot -o ro
echo
echoMounting backup disk...
mount $BACKUP_TO
sleep 4
echo
echoPerforming backup...
echo
rsync --progress --delete -av --exclude-from=$EXCLUDE /
$BACKUP_TO/rsync/
   
echo
echoUnmounting boot and backup partitions...
   
/bin/umount -l /boot
/bin/umount -l $BACKUP_TO
   
echo
echoSpinning down backup disk...
/sbin/hdparm -y /dev/hdc# spin down disk
#==
    # /usr/local/bin/rsync-exclude:
- /tmp/
- /var/lib/init.d/
- /mnt/backup/
- /mnt/cdrom/
- /mnt/floppy/
- /proc/
- /usr/portage/distfiles/
- /root/.ccache/
- /home/peter/.ccache/
#==
   
   
Peter

 To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

 --
 [EMAIL PROTECTED] mailing list

- -- 
Pupeno: [EMAIL PROTECTED]
http://www.kde.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/TrmmLr8z5XzmSDQRAnwgAKDAicotX8Swld0u4Yy1DX+M/034tgCfWrWr
RB7/TdB/XXbue8AbeePT6wU=
=OPpl
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Installing Gentoo on RAID box question

2003-08-29 Thread Andrew Gaffney
Stephen Liu wrote:
What is IIRC?  
If I remember correctly...Don't you speak internet? ;)

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] HD back up

2003-08-29 Thread Stephen Liu
Hi Pupeno,

On Fri, 2003-08-29 at 10:25, Pupeno wrote:

 Remember to have /usr/local/bin/rsync-exclude with the list of 
 files/directories to exclude.

$ ls /usr/local/bin/
cdrwtool  mkudffs   scalc  simpress  spadmin  tkfax
installwatch  pktsetup  sdraw  smath swriter  tkscan

scalc, simpress, sdraw, smath are symbolic links.  rsync-exclude is
not there

$ which rsync
/usr/bin/rsync

$ locate rsync-exclude
could not find this file

B.Regards
Stephen



 El Jueves Agosto 28 2003 22:45, Stephen Liu escribió:
  Hi Peter,
 
  Thanks for your advice.
 
  $ cat /etc/crontab
  SHELL=/bin/bash
  PATH=/sbin:/bin:/usr/sbin:/usr/bin
  MAILTO=root
  HOME=/
 
  # run-parts
  01 * * * * root run-parts /etc/cron.hourly
  02 4 * * * root run-parts /etc/cron.daily
  22 4 * * 0 root run-parts /etc/cron.weekly
  42 4 1 * * root run-parts /etc/cron.monthly
 
 
  Shall I retain the above and add
 
  MAILTO=normal user
  # do rsync backup nightly
  0 1 * * * /usr/local/bin/my-rsync
 
  Kindly advise.  Thanks in advance.
 
  B.R.
  Stephen
 
  On Fri, 2003-08-29 at 09:03, Peter Ruskin wrote:
   On Friday 29 Aug 2003 01:53, Stephen Liu wrote:
Hi Peter,
   
Could you please advise how to use your script to start backup.  Also
can backup start automatically at scheduled time?
   
Thanks in advance.
   
B.Regards
Stephen Liu
  
   # chmod a+x /usr/local/bin/my-rsync
   ...then edit root's crontab:
   # crontab -e
   and add these lines:
  
   MAILTO=normal user
   # do rsync backup nightly
   0 1 * * * /usr/local/bin/my-rsync
  
   then it will run at 1 o'clock every morning
  
On Fri, 2003-08-29 at 06:26, Peter Ruskin wrote:
 On Thursday 28 Aug 2003 22:06, Pupeno wrote:
  Hello... I have one HD with a various partitions (10 GB NTFS, the
  linux swap, the /boot partition and my main partition), it is an
  80 GB HD... I have another 80 GB HD to make back ups... what
  method of backing up do you recomend me ? Something that is fast
  to recover being that I have a whole HD to do the back up ?
  Something that is faster than doing a whole 'copy' every night ?
  Thank you.

 #==
 #! /bin/bash
 # /usr/local/bin/my-rsync
 ###
 # Backup Script
 ###

 BACKUP_TO=/mnt/backup
 EXCLUDE=/usr/local/bin/rsync-exclude

 echoMounting boot partition...
 mount /boot -o ro
 echo
 echoMounting backup disk...
 mount $BACKUP_TO
 sleep 4
 echo
 echoPerforming backup...
 echo
 rsync --progress --delete -av --exclude-from=$EXCLUDE /
 $BACKUP_TO/rsync/

 echo
 echoUnmounting boot and backup partitions...

 /bin/umount -l /boot
 /bin/umount -l $BACKUP_TO

 echo
 echoSpinning down backup disk...
 /sbin/hdparm -y /dev/hdc  # spin down disk
 #==
 # /usr/local/bin/rsync-exclude:
 - /tmp/
 - /var/lib/init.d/
 - /mnt/backup/
 - /mnt/cdrom/
 - /mnt/floppy/
 - /proc/
 - /usr/portage/distfiles/
 - /root/.ccache/
 - /home/peter/.ccache/
 #==


 Peter


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] protest?

2003-08-29 Thread bob bob
How long is this protest going to go on for? its really irritating for those 
of us not in europe that want to find information on the web...



Imagine a school with children that can read and write, but with teachers 
who cannot, and you have a metaphor of the Information Age in which we 
live.   - Peter Cochrane

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Slow boot with Serial ATA Harddisk

2003-08-29 Thread Bryce
On Thursday 28 August 2003 10:17 am, Arlo wrote:

 is there a way to get the driver not to look at hdg or to fail more
 quickly?

in the kernel params, put hdg=none

 I also get a message waring that my harddisk is not running in DMA mode and
 that fsck with run very slowly in this state (PIO?).

 Normaly I set the DMA using the hdparm script added to the boot runlevel.
 However that does not get run until the boot process is more or less over.

 can I force the SATA driver to use DMA from the start?
yeah, its in the kernel config and you disable multi-mode by default.

bryce


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] HD back up

2003-08-29 Thread Andrew Gaffney
Stephen Liu wrote:
Hi Pupeno,

On Fri, 2003-08-29 at 10:25, Pupeno wrote:


Remember to have /usr/local/bin/rsync-exclude with the list of 
files/directories to exclude.


$ ls /usr/local/bin/
cdrwtool  mkudffs   scalc  simpress  spadmin  tkfax
installwatch  pktsetup  sdraw  smath swriter  tkscan
scalc, simpress, sdraw, smath are symbolic links.  rsync-exclude is
not there
$ which rsync
/usr/bin/rsync
$ locate rsync-exclude
could not find this file
Create this file yourself and populate it.

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] HD back up

2003-08-29 Thread Stephen Liu
Hi Andrew,

Thanks for your advice.

On Fri, 2003-08-29 at 10:21, Andrew Farmer wrote:
  
  $ cat /etc/crontab
  SHELL=/bin/bash
  PATH=/sbin:/bin:/usr/sbin:/usr/bin
  MAILTO=root
  HOME=/
  
  # run-parts
  01 * * * * root run-parts /etc/cron.hourly
  02 4 * * * root run-parts /etc/cron.daily
  22 4 * * 0 root run-parts /etc/cron.weekly
  42 4 1 * * root run-parts /etc/cron.monthly
   
  Shall I retain the above and add
  
  MAILTO=normal user
  # do rsync backup nightly
  0 1 * * * /usr/local/bin/my-rsync
  
 No. Use /etc/cron.daily.
 
 (Look in the directory; any files set +x will be run daily. Root's
 crontab should not be modified, really.)

# ls /etc/cron.daily/
00-logwatch  logrotaterpm   tetex.cron
0anacron makewhatis.cron  slocate.cron  tmpwatch

# cat /etc/cron.daily/0anacron
#!/bin/sh
#
# anacron's cron script
#
# This script updates anacron time stamps. It is called through
run-parts
# either by anacron itself or by cron.
#
# The script is called 0anacron to assure that it will be executed
# _before_ all other scripts.

anacron -u cron.daily


I could not discover any files set +x

Thanks

B.Regards
Stephen


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] HD back up

2003-08-29 Thread Stephen Liu
Hi Andrew

On Fri, 2003-08-29 at 11:35, Andrew Gaffney wrote:
- snip -
  
  $ locate rsync-exclude
  could not find this file
 
 Create this file yourself and populate it.

What will be the standard content of

rsync-exclude

other than adding following

MAILTO=root
# do rsync backup nightly
0 1 * * * /usr/local/bin/my-rsync

What shall I change my-rsync to?

Thanks in advance.

B.R.
Stephen



To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] protest?

2003-08-29 Thread Azhdeen
On Friday 29 August 2003 05:13, bob bob wrote:
 How long is this protest going to go on for? its really irritating for
 those of us not in europe that want to find information on the web...

Imagine what it is for us europeans, who all year long get bothered with US 
niceties such as DRM, Patriot Act, licences, and so on.

Azhdeen


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] HD back up

2003-08-29 Thread Nick Van Vlaenderen

On Fri, 29 Aug 2003, Stephen Liu wrote:

 Date: 29 Aug 2003 11:57:47 +0800
 From: Stephen Liu [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] HD back up
 
 Hi Andrew
 
 On Fri, 2003-08-29 at 11:35, Andrew Gaffney wrote:
 - snip -
   
   $ locate rsync-exclude
   could not find this file
  
  Create this file yourself and populate it.
 
 What will be the standard content of
 
 rsync-exclude
 
 other than adding following
 
 MAILTO=root
 # do rsync backup nightly
 0 1 * * * /usr/local/bin/my-rsync
 
 What shall I change my-rsync to?
 
 Thanks in advance.
 
 B.R.
 Stephen
 
I guess my-rsync is just the backupscript you put in /usr/local/bin/
 
 
 To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.
 
 --
 [EMAIL PROTECTED] mailing list
 
 
 
 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] protest?

2003-08-29 Thread bob bob
ohh I know all about that.. our gov (australian) will bend over backwards 
for those tricks as well :-(



Imagine a school with children that can read and write, but with teachers 
who cannot, and you have a metaphor of the Information Age in which we 
live.   - Peter Cochrane


From: Azhdeen [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [gentoo-user] protest?
Date: Fri, 29 Aug 2003 07:25:52 +0200
MIME-Version: 1.0
Received: from gentoo.org ([204.126.2.42]) by mc5-f1.law1.hotmail.com with 
Microsoft SMTPSVC(5.0.2195.5600); Thu, 28 Aug 2003 22:32:49 -0700
Received: (qmail 22336 invoked by uid 1002); 29 Aug 2003 05:26:06 -
Received: (qmail 903 invoked from network); 29 Aug 2003 05:26:05 -
X-Message-Info: JGTYoYF78jHtmIdxwfZdyR/ZLDWuwJix
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Id: Gentoo Linux mail gentoo-user.gentoo.org
X-BeenThere: [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
User-Agent: KMail/1.5.2
References: [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
Message-Id: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 29 Aug 2003 05:32:49.0715 (UTC) 
FILETIME=[FC2FF030:01C36DEE]

On Friday 29 August 2003 05:13, bob bob wrote:
 How long is this protest going to go on for? its really irritating for
 those of us not in europe that want to find information on the web...

Imagine what it is for us europeans, who all year long get bothered with US
niceties such as DRM, Patriot Act, licences, and so on.
Azhdeen

--
[EMAIL PROTECTED] mailing list
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

--
[EMAIL PROTECTED] mailing list


[gentoo-user] Procmail and mail notification

2003-08-29 Thread Jason Stubbs
Hello all,

I'm not too familiar with procmail, so I don't know if what I want to do is 
possible. I've only just started using it and thanks to Spider's guide have 
Spam-Assassin working with it correctly. Here's the current situation:

Me and my girlfriend have one computer - a laptop. I want to use it 24/7, she 
wants to use it just to check mail every so often. So, what I want to do is 
have procmail send details of any new messages that aren't spam to my 
girlfriend's mobile. That is, not the whole message, only the date/time, 
sender and subject - maybe a couple of lines like Spam-Assassin does for 
spam-mail as well.

My guess is that it is not directly possible with procmail. I'm guessing that 
I'd have to use some sort of script to pipe each e-mail message through. Any 
suggestions on how I could write such a script?

Thanks in advance,
Jason

--
[EMAIL PROTECTED] mailing list



[gentoo-user] do I need mplaier?

2003-08-29 Thread Alberto Bert
Hi all,

as I know, I need to install mplayer in order to listen the music in some sites,
but do I really need it? I already have xmms and I don't want to fill my box
with programs that I'll (almost) never use. Furthermore mplayer brings a lot of
other stuff in emerging.
Can I use xmms with some setting to listen to that music.
I'm using mozilla and konqueror as brousers.

Thanks to everyone,
this mailing list help me really a lot,
thanks guys,
Alberto

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Poll #6

2003-08-29 Thread Stephen Clowater
 The question is:

 Where do you do for Gentoo support?
 a) personal acquaintance
 b) gentoo-user mailing list
 c) gentoo-dev mailing list
 d) gentoo bugzilla
 e) gentoo forums
 f) gentoo channel on irc
 g) google
 h) other (specify)

The answerfirst G, then A then H, (reading the code, man pages, conf
files, any other documentation) ect and finally B and C together :)



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Slow X startup

2003-08-29 Thread Chris I
On 2003.08.28 20:48, Andrew Farmer wrote:
Lately, I've noticed that X seems to take entirely too long to come
up.
After starting xdm, the machine takes as much as perhaps 25 to 35
seconds to display the login screen -- it used to take just one or two
--
and switching to the X virtual terminal from a console takes 12
seconds
or more: at first, I just get a blank VC, then the XDM panel is
partially
displayed for another five seconds or so with a frozen cursor, before
I
can log in. My XF86Config is attached. As implied in the file, I'm
using
a Rage128 (yes, old) with a PS2 mouse. The setup has worked in the
past
without problems... I'm using ~x86 world, though.
(and snippit)

Section InputDevice
Identifier  USBMouse
Driver  mouse
Option  Protocol IMPS/2
Option  Device /dev/input/mouse0
Option  ZAxisMapping 4 5
Option  Buttons 5
EndSection
Does it make a difference on whether you are starting X with or without 
your USB mouse present? I would think that X might have a problem as 
the mouse0 device does not always exist unless there is actually a 
mouse0. Try /dev/input/mice, which includes all input/mouseX devices, 
if you ever have more than one, but more importantly: it always there.

(more snip)
Section InputDevice
Identifier  gpm
Driver  mouse
Option  Protocol IMPS/2
Option  Device /dev/gpmdata
Option  ZAxisMapping 4 5
Option  Buttons 5
EndSection
Does it also make a difference if you do not start gpm and comment out 
this section in your config? I'm not familiar with gpm usage, so it is 
just a suggestion to try and either narrow down the problem, or cancel 
this as a cause.

Also, have you had a look through X's log file? Anything interesting 
pop up in there?

--

Chris I

Friends may come and go, but enemies accumulate.
-- Thomas Jones

pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Booting kernel on pld pentium

2003-08-29 Thread Dave Henry
On Fri, 2003-08-29 at 04:01, Jan Meier wrote:
 Hello,
 i installed gentoo on my old pentium computer to function as a gateway. But 
 there is a problem when i am booting the kernel. After some moments it stops 
 booting. The last output is: Freeing unued kernel memory 124k freed. And 
 after that it stops and doesnt go on.
 What can I do? Why is that?
 Bye
 Jan
 
 
 --
 [EMAIL PROTECTED] mailing list
 
 

How old is the pentium? If its a pentium classic you need to set
CHOST=i586-pc-linux-gnu instead of i686. If you don't you get the
problem you are describing. I made the same mistake on a K6 system.

Dave


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread martin
 
what kernel-sources are you using? did you make your kernel with 'genkernel'? 
 
i had once also a problem, that the kernel i did with 'genkernel' caused 
a 'kernel panic' during boot and hung. but i don't know why. then i build 
the kernel manually and everything went well... 
 
so, if you used 'genkernel', try to make your kernel manually... 
 
cheers, 
martin 
 
 
Zitat von Nick Van Vlaenderen [EMAIL PROTECTED]: 
 
 Hello, 
  
 I was going to install Gentoo on an AMD Duron 1000, but when I start  
 booting, the boot prompt comes up... I hit enter and it starts loading. A  
 few seconds later, a black screen appears. I tried the other kernel (smp)  
 as well, but nothing happened. Can someone tell me what's wrong, or did  
 someone else have this problem? 
  
 Cheers, 
  
 Nick 
  
 You Might Be A Programmer If ... Before you move into a new house or  
 apartment, the most important thing to you is the type and amount of  
 wiring with which it is equipped. 
  
 -- 
 [EMAIL PROTECTED] mailing list 
  
 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] QT-3.2 ebuild waiting for KDE 3.2 ?

2003-08-29 Thread Chris van der Pennen




I'm surprised this ebuild hasn't been masked, myself. It's annoying having to remask it every sync when I go to update.

Chris

On Thu, 2003-08-28 at 22:57, Frank Hellmuth wrote:

Hi,

I just want to know if I understand the following output of emerge -Dup world 
correctly:

[blocks B ] kde-base/kdelibs-3.2 (from pkg x11-libs/qt-3.2.1)
[ebuild U ] x11-libs/qt-3.2.1 [3.1.2-r5]

I guess it's an ebuild for QT 3.2.1 available wich want's to upgrade the 
installed 3.12-r5. This is blocked because it would break compabiltiy with 
the installed kdelibs 3.1.3, and kdelibs-3.2 are not yet available (and will 
be for some months...)

So, if my interpretation is correct, this is the first time I see a package 
waiting for the release of another, clever portage... :) and I will have get 
used to these lines in the next months (or switch to kde-cvs) ?!

Frank
 


--
[EMAIL PROTECTED] mailing list




-- 
I'm going to Vietnam at the request of the White House. President Johnson
says a war isn't really a war without my jokes.
-- Bob Hope








signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Nick Van Vlaenderen
I am just booting from the CD so I don't even have a base system, and I 
just need to boot from the kernel on the CD to start the installation...

You Might Be A Programmer If ... Before you move into a new house or 
apartment, the most important thing to you is the type and amount of 
wiring with which it is equipped.

On Fri, 29 Aug 2003, martin wrote:

 Date: Fri, 29 Aug 2003 10:06:37 +0200
 From: martin [EMAIL PROTECTED]
 To: [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] basic Gentoo CD doesn't boot
 
  
 what kernel-sources are you using? did you make your kernel with 'genkernel'? 
  
 i had once also a problem, that the kernel i did with 'genkernel' caused 
 a 'kernel panic' during boot and hung. but i don't know why. then i build 
 the kernel manually and everything went well... 
  
 so, if you used 'genkernel', try to make your kernel manually... 
  
 cheers, 
 martin 
  
  
 Zitat von Nick Van Vlaenderen [EMAIL PROTECTED]: 
  
  Hello, 
   
  I was going to install Gentoo on an AMD Duron 1000, but when I start  
  booting, the boot prompt comes up... I hit enter and it starts loading. A  
  few seconds later, a black screen appears. I tried the other kernel (smp)  
  as well, but nothing happened. Can someone tell me what's wrong, or did  
  someone else have this problem? 
   
  Cheers, 
   
  Nick 
   
  You Might Be A Programmer If ... Before you move into a new house or  
  apartment, the most important thing to you is the type and amount of  
  wiring with which it is equipped. 
   
  -- 
  [EMAIL PROTECTED] mailing list 
   
  
 
 
 
 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Gustav_Schaffter




Try booting with the 'nousb' option. (Unless you need USB support during
the installation.)

Gus





   
  
  Nick Van Vlaenderen  
  
  nick.vanvlaenderen@To:   [EMAIL PROTECTED]  
 
  pandora.be cc:   (bcc: Gustav 
Schaffter/CDS/CG/CAPITAL)   
  Subject:  Re: [gentoo-user] basic 
Gentoo CD doesn't boot   
  29-08-2003 10:16 
  
  Please respond to
  
  gentoo-user  
  
   
  
   
  




I am just booting from the CD so I don't even have a base system, and I
just need to boot from the kernel on the CD to start the installation...

You Might Be A Programmer If ... Before you move into a new house or
apartment, the most important thing to you is the type and amount of
wiring with which it is equipped.

On Fri, 29 Aug 2003, martin wrote:

 Date: Fri, 29 Aug 2003 10:06:37 +0200
 From: martin [EMAIL PROTECTED]
 To: [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] basic Gentoo CD doesn't boot


 what kernel-sources are you using? did you make your kernel with
'genkernel'?

 i had once also a problem, that the kernel i did with 'genkernel' caused
 a 'kernel panic' during boot and hung. but i don't know why. then i build

 the kernel manually and everything went well...

 so, if you used 'genkernel', try to make your kernel manually...

 cheers,
 martin


 Zitat von Nick Van Vlaenderen [EMAIL PROTECTED]:

  Hello,
 
  I was going to install Gentoo on an AMD Duron 1000, but when I start
  booting, the boot prompt comes up... I hit enter and it starts loading.
A
  few seconds later, a black screen appears. I tried the other kernel
(smp)
  as well, but nothing happened. Can someone tell me what's wrong, or did

  someone else have this problem?
 
  Cheers,
 
  Nick
 
  You Might Be A Programmer If ... Before you move into a new house or
  apartment, the most important thing to you is the type and amount of
  wiring with which it is equipped.
 
  --
  [EMAIL PROTECTED] mailing list
 






--
[EMAIL PROTECTED] mailing list





--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Nick Van Vlaenderen


On Fri, 29 Aug 2003 [EMAIL PROTECTED] wrote:

 Date: Fri, 29 Aug 2003 10:21:06 +0200
 From: [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] basic Gentoo CD doesn't boot
 
 
 
 
 
 Try booting with the 'nousb' option. (Unless you need USB support during
 the installation.)
 
 Gus
 
I did, but the black screen appears again...
 
 
 
 
  
 
   Nick Van Vlaenderen
 
   nick.vanvlaenderen@To:   [EMAIL PROTECTED]

   pandora.be cc:   (bcc: Gustav 
 Schaffter/CDS/CG/CAPITAL)   
   Subject:  Re: [gentoo-user] basic 
 Gentoo CD doesn't boot   
   29-08-2003 10:16   
 
   Please respond to  
 
   gentoo-user
 
  
 
  
 
 
 
 
 
 I am just booting from the CD so I don't even have a base system, and I
 just need to boot from the kernel on the CD to start the installation...
 
 You Might Be A Programmer If ... Before you move into a new house or
 apartment, the most important thing to you is the type and amount of
 wiring with which it is equipped.
 
 On Fri, 29 Aug 2003, martin wrote:
 
  Date: Fri, 29 Aug 2003 10:06:37 +0200
  From: martin [EMAIL PROTECTED]
  To: [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: Re: [gentoo-user] basic Gentoo CD doesn't boot
 
 
  what kernel-sources are you using? did you make your kernel with
 'genkernel'?
 
  i had once also a problem, that the kernel i did with 'genkernel' caused
  a 'kernel panic' during boot and hung. but i don't know why. then i build
 
  the kernel manually and everything went well...
 
  so, if you used 'genkernel', try to make your kernel manually...
 
  cheers,
  martin
 
 
  Zitat von Nick Van Vlaenderen [EMAIL PROTECTED]:
 
   Hello,
  
   I was going to install Gentoo on an AMD Duron 1000, but when I start
   booting, the boot prompt comes up... I hit enter and it starts loading.
 A
   few seconds later, a black screen appears. I tried the other kernel
 (smp)
   as well, but nothing happened. Can someone tell me what's wrong, or did
 
   someone else have this problem?
  
   Cheers,
  
   Nick
  
   You Might Be A Programmer If ... Before you move into a new house or
   apartment, the most important thing to you is the type and amount of
   wiring with which it is equipped.
  
   --
   [EMAIL PROTECTED] mailing list
  
 
 
 
 
 
 
 --
 [EMAIL PROTECTED] mailing list
 
 
 
 
 
 --
 [EMAIL PROTECTED] mailing list
 
 
 
 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Jason Stubbs
On Friday 29 August 2003 16:31, Nick Van Vlaenderen wrote:
 I was going to install Gentoo on an AMD Duron 1000, but when I start
 booting, the boot prompt comes up... I hit enter and it starts loading. A
 few seconds later, a black screen appears. I tried the other kernel (smp)
 as well, but nothing happened. Can someone tell me what's wrong, or did
 someone else have this problem?

I'd say to try without the framebuffer. Do you get a graphical screen at all? 
At what point does the black screen appear?

Regards,
Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] protest?

2003-08-29 Thread Jorge Almeida
 On Fri, 29 Aug 2003, bob bob wrote:

 How long is this protest going to go on for? its really irritating for those 
 of us not in europe that want to find information on the web...
 
 
 
 Imagine a school with children that can read and write, but with teachers 
 who cannot, and you have a metaphor of the Information Age in which we 
 live.   - Peter Cochrane
 
 _
 STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
 http://join.msn.com/?page=features/junkmail
 
 
 --
 [EMAIL PROTECTED] mailing list
 
How is one supposed to know what you're talking about? Telepathy?
-- 
Jorge Almeida


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Jason Stubbs
On Friday 29 August 2003 17:58, Nick Van Vlaenderen wrote:
 On Fri, 29 Aug 2003, Jason Stubbs wrote:
  Date: Fri, 29 Aug 2003 17:45:02 +0900
  From: Jason Stubbs [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: [gentoo-user] basic Gentoo CD doesn't boot
 
  On Friday 29 August 2003 16:31, Nick Van Vlaenderen wrote:
   I was going to install Gentoo on an AMD Duron 1000, but when I start
   booting, the boot prompt comes up... I hit enter and it starts loading.
   A few seconds later, a black screen appears. I tried the other kernel
   (smp) as well, but nothing happened. Can someone tell me what's wrong,
   or did someone else have this problem?
 
  I'd say to try without the framebuffer. Do you get a graphical screen at
  all? At what point does the black screen appear?
 
  Regards,
  Jason

 What actually happens is this:

 Loading Gentoo...
 Loading initrd...

 Then the screen appears... And at what point should I have a graphical
 screen? The only thing I see is the boot prompt when the system starts and
 then the black screen...

The graphical screen should appear as soon as initrd is finished loading. I'm 
not sure exactly what option you need to specify to turn off the framebuffer, 
but there should be help option somewhere in the boot menu. Find whatever 
says to use textmode and then try that. Also, I think it's turned off by 
default, but try acpi=off as well if you still have problems.

Regards,
Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] protest?

2003-08-29 Thread bob bob
Heh.. sorry.. I aussumed you'd know.. almost everyone else does..

try this link:
http://dev.gentoo.org/~spider/


Imagine a school with children that can read and write, but with teachers 
who cannot, and you have a metaphor of the Information Age in which we 
live.   - Peter Cochrane


From: Jorge Almeida [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [gentoo-user] protest?
Date: Fri, 29 Aug 2003 10:12:36 +0100 (WEST)
MIME-Version: 1.0
Received: from gentoo.org ([204.126.2.42]) by mc5-f13.law1.hotmail.com with 
Microsoft SMTPSVC(5.0.2195.5600); Fri, 29 Aug 2003 02:12:48 -0700
Received: (qmail 22970 invoked by uid 1002); 29 Aug 2003 09:12:38 -
Received: (qmail 31029 invoked from network); 29 Aug 2003 09:12:38 -
X-Message-Info: JGTYoYF78jHafVH/hFUFqMqo+RqecICL
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Id: Gentoo Linux mail gentoo-user.gentoo.org
X-BeenThere: [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
X-Authentication-Warning: fulla.math.ist.utl.pt: jalmeida owned process 
doing -bs
In-Reply-To: [EMAIL PROTECTED]
Message-ID: 
[EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 29 Aug 2003 09:12:49.0352 (UTC) 
FILETIME=[B7C8B480:01C36E0D]

 On Fri, 29 Aug 2003, bob bob wrote:

 How long is this protest going to go on for? its really irritating for 
those
 of us not in europe that want to find information on the web...



 Imagine a school with children that can read and write, but with 
teachers
 who cannot, and you have a metaphor of the Information Age in which we
 live.   - Peter Cochrane

 _
 STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
 http://join.msn.com/?page=features/junkmail


 --
 [EMAIL PROTECTED] mailing list

How is one supposed to know what you're talking about? Telepathy?
--
Jorge Almeida

--
[EMAIL PROTECTED] mailing list
_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Christian Banik
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Freitag, 29. August 2003 10:16 schrieb Nick Van Vlaenderen:
 I am just booting from the CD so I don't even have a base system, and I
 just need to boot from the kernel on the CD to start the installation...

Maybe you should add noapic to the booting line.

I also had strange issues with my Toshiba Satellite 2430 (P4-Notebook) with 
several kernels from Gentoo 1.4 or Knoppix 3.2. My self-made kernels were 
only working if Local APIC support on uniprocessors (CONFIG_X86_UP_APIC) 
was completely deactivated in the kernel config.

It can help when you try it with a Gentoo 1.2 Boot CD.

Best regards,
Christian

- -- 
Christian Banik
ICQ #12712782 -- UMS: +49 (0) 721 - 15 14 22 42 1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/TycgVsozj6PI2MMRAvNbAJ99+6TYKyvzpwkeZIKrlkiiBww1pgCfQkmR
Q0BJm5x7cHaxoLl8pPckDlc=
=+VYY
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] HD back up

2003-08-29 Thread Peter Ruskin
Hi Stephen,

I obviously didn't make myself clear enough.

I have one disk dedicated to backups.

This is the backup script my-rsync, which I put in /usr/local/bin:
#==
#! /bin/bash
# /usr/local/bin/my-rsync
###
# Backup Script
###

BACKUP_TO=/mnt/backup
EXCLUDE=/usr/local/bin/rsync-exclude

echoMounting boot partition...
mount /boot -o ro
echo
echoMounting backup disk...
mount $BACKUP_TO
sleep 4
echo
echoPerforming backup...
echo
rsync --progress --delete -av --exclude-from=$EXCLUDE / \
$BACKUP_TO/rsync/

echo
echoUnmounting boot and backup partitions...

/bin/umount -l /boot
/bin/umount -l $BACKUP_TO

echo
echoSpinning down backup disk...
/sbin/hdparm -y /dev/hdc# spin down disk
#==

As root, I did:
chmod a+x /usr/local/bin/my-rsync
...to make the script executable

In the script you'll see EXCLUDE=/usr/local/bin/rsync-exclude.  This 
means that you list all the files you want to exclude from the backup 
in a file you create (I called mine rsync-exclude and put it in 
/usr/local/bin).  See `man rsync` for more information.

My /usr/local/bin/rsync-exclude looks like this:
#==
- /tmp/
- /var/lib/init.d/
- /mnt/backup/
- /mnt/cdrom/
- /mnt/floppy/
- /proc/
- /usr/portage/distfiles/
- /root/.ccache/
- /home/peter/.ccache/
#==

As Andrew Farmer suggested, you can use /etc/cron.daily to have it run 
automatically.  Before you do so, run it manually to make sure it works 
for you, altering the mountpoint ($BACKUP_TO) and /dev/hdc in the spin 
down disk part to suit your installation.  My /etc/fstab entry for 
$BACKUP_TO reads:
/dev/hdc1 /mnt/backup ext3 noauto,noatime,users 0 0
...so, like /boot, it's only mounted when needed.

When you are ready to add the backup script to cron.daily, become root 
and do:
cp /usr/local/bin/my-rsync /etc/cron.daily/

Hope this helps you.

Peter
-- 
==
Gentoo: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
kernel-2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+
==


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Gwendolyn van der Linden
 I also had strange issues with my Toshiba Satellite 2430
 (P4-Notebook) with
 several kernels from Gentoo 1.4 or Knoppix 3.2. My
 self-made kernels were
 only working if Local APIC support on uniprocessors
 (CONFIG_X86_UP_APIC)
 was completely deactivated in the kernel config.

Same here.  I don't believe that has ever worked for me, desktop nor
laptop.

Gwendolyn.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Joel Wright
Instead of just hitting enter at the boot prompt, use nofb. I had the
same problem using an ati 9700. The nofb kernel should be fine.

Joel.

On Fri, 2003-08-29 at 08:31, Nick Van Vlaenderen wrote:
 Hello,
 
 I was going to install Gentoo on an AMD Duron 1000, but when I start 
 booting, the boot prompt comes up... I hit enter and it starts loading. A 
 few seconds later, a black screen appears. I tried the other kernel (smp) 
 as well, but nothing happened. Can someone tell me what's wrong, or did 
 someone else have this problem?
 
 Cheers,
 
 Nick
 
 You Might Be A Programmer If ... Before you move into a new house or 
 apartment, the most important thing to you is the type and amount of 
 wiring with which it is equipped.
 
 --
 [EMAIL PROTECTED] mailing list
 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Ing. Martin Gauklitz
 
you can try to turn every automatic detection off on the boot prompt... 
press F2 (and/or F3) at the boot prompt to see what options you can give 
 use as much no...-options as you can... 
 
 
Zitat von Nick Van Vlaenderen [EMAIL PROTECTED]: 
 
  
  
 On Fri, 29 Aug 2003, Jason Stubbs wrote: 
  
  Date: Fri, 29 Aug 2003 17:45:02 +0900 
  From: Jason Stubbs [EMAIL PROTECTED] 
  Reply-To: [EMAIL PROTECTED] 
  To: [EMAIL PROTECTED] 
  Subject: Re: [gentoo-user] basic Gentoo CD doesn't boot 
   
  On Friday 29 August 2003 16:31, Nick Van Vlaenderen wrote: 
   I was going to install Gentoo on an AMD Duron 1000, but when I start 
   booting, the boot prompt comes up... I hit enter and it starts loading. 
 A 
   few seconds later, a black screen appears. I tried the other kernel 
 (smp) 
   as well, but nothing happened. Can someone tell me what's wrong, or did 
   someone else have this problem? 
   
  I'd say to try without the framebuffer. Do you get a graphical screen at 
 all?  
  At what point does the black screen appear? 
   
  Regards, 
  Jason 
   
 What actually happens is this: 
  
 Loading Gentoo... 
 Loading initrd... 
  
 Then the screen appears... And at what point should I have a graphical  
 screen? The only thing I see is the boot prompt when the system starts and  
 then the black screen... 
  
 Nick 
   -- 
  [EMAIL PROTECTED] mailing list 
   
   
   
   
  
 -- 
 [EMAIL PROTECTED] mailing list 
  
 

--
[EMAIL PROTECTED] mailing list



[gentoo-user] perl-tk and ExtUtils-MakeMaker can't coexist?

2003-08-29 Thread Klavs Klavsen
Hi guys,

I posted this at gentoo-dev too - but I don't know where it actually goes.
a dev made this restriction - so this makes it belong on dev I think.

But on the other hand - I'm a user who wants to use it - not an official dev (only got 
a few ebuilds in the tree :)

I'm getting this when I try to emerge perl-tk:

# emerge perl-tk
Calculating dependencies ...done!

!!! Error: the dev-perl/ExtUtils-MakeMaker-6.05-r6 package conflicts
with this package and both can't be installed on the same system
together.

Anybody know why this is? There's nothing about it in the Changelog :(

I NEED perl-Tk - and ExtUtils-MakeMaker was a dependency from Apache or
PHP I think and I don't want to break them :(
-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.  


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Procmail and mail notification

2003-08-29 Thread Marshal Newrock
On Fri, 29 Aug 2003, Jason Stubbs wrote:

 Me and my girlfriend have one computer - a laptop. I want to use it 24/7, she
 wants to use it just to check mail every so often. So, what I want to do is
 have procmail send details of any new messages that aren't spam to my
 girlfriend's mobile. That is, not the whole message, only the date/time,
 sender and subject - maybe a couple of lines like Spam-Assassin does for
 spam-mail as well.

 My guess is that it is not directly possible with procmail. I'm guessing that
 I'd have to use some sort of script to pipe each e-mail message through. Any
 suggestions on how I could write such a script?

I don't have procmail on this computer, but I think I can give a rough
idea of what to do.  First, read the procmail man page about the flags.
You'll want to clone the message and process only the header.  If it's to
your girlfriend and not spam (with negative regexp for spamassassin header
line), then filter it.  The following script should work, though you
should doublecheck, as I haven't dealt much with multiline strings and
I've never sent mail from a perl script before.

#!/usr/bin/perl
$myemail = ;
$notify_subject = New mail!;
$header = /^(From|Date|Subject)/;
open MAIL,|mail -s $notify_subject $myemail;
print MAIL $header;
close MAIL;

Adapt to your own desires and needs.  :)

-- 
Caution: Product will be hot after heating


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Ernie Schroder
You didn't mention your motherboard but my nforce2 based board wouldn't 
boot without the nonet option. (It has an onboard nic)

Ernie



On Friday 29 August 2003 04:21 am, [EMAIL PROTECTED] wrote:
 Try booting with the 'nousb' option. (Unless you need USB support
 during the installation.)

 Gus






   Nick Van Vlaenderen
   nick.vanvlaenderen@To:  
 [EMAIL PROTECTED] pandora.be cc:   (bcc:
 Gustav Schaffter/CDS/CG/CAPITAL) Subject:  Re: [gentoo-user] basic
 Gentoo CD doesn't boot 29-08-2003 10:16
   Please respond to
   gentoo-user






 I am just booting from the CD so I don't even have a base system, and
 I just need to boot from the kernel on the CD to start the
 installation...

 You Might Be A Programmer If ... Before you move into a new house or
 apartment, the most important thing to you is the type and amount of
 wiring with which it is equipped.

 On Fri, 29 Aug 2003, martin wrote:
  Date: Fri, 29 Aug 2003 10:06:37 +0200
  From: martin [EMAIL PROTECTED]
  To: [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: Re: [gentoo-user] basic Gentoo CD doesn't boot
 
 
  what kernel-sources are you using? did you make your kernel with

 'genkernel'?

  i had once also a problem, that the kernel i did with 'genkernel'
  caused a 'kernel panic' during boot and hung. but i don't know why.
  then i build
 
  the kernel manually and everything went well...
 
  so, if you used 'genkernel', try to make your kernel manually...
 
  cheers,
  martin
 
  Zitat von Nick Van Vlaenderen [EMAIL PROTECTED]:
   Hello,
  
   I was going to install Gentoo on an AMD Duron 1000, but when I
   start booting, the boot prompt comes up... I hit enter and it
   starts loading.

 A

   few seconds later, a black screen appears. I tried the other
   kernel

 (smp)

   as well, but nothing happened. Can someone tell me what's wrong,
   or did
  
   someone else have this problem?
  
   Cheers,
  
   Nick
  
   You Might Be A Programmer If ... Before you move into a new
   house or apartment, the most important thing to you is the type
   and amount of wiring with which it is equipped.
  
   --
   [EMAIL PROTECTED] mailing list

 --
 [EMAIL PROTECTED] mailing list





 --
 [EMAIL PROTECTED] mailing list

-- 
Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



[gentoo-user] * error scanning /etc

2003-08-29 Thread Simon Mushi
Hi everyone,

Has anyone experienced this error message :

* error scanning /etc

right after emerging any package...cos that is what I have been getting
for the last week and a half andi don't know why it started.

Best

Simon


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification (Half-SOVLED)

2003-08-29 Thread Jason Stubbs
On Friday 29 August 2003 21:13, Marshal Newrock wrote:
 On Fri, 29 Aug 2003, Jason Stubbs wrote:
  Me and my girlfriend have one computer - a laptop. I want to use it 24/7,
  she wants to use it just to check mail every so often. So, what I want to
  do is have procmail send details of any new messages that aren't spam to
  my girlfriend's mobile. That is, not the whole message, only the
  date/time, sender and subject - maybe a couple of lines like
  Spam-Assassin does for spam-mail as well.
 
  My guess is that it is not directly possible with procmail. I'm guessing
  that I'd have to use some sort of script to pipe each e-mail message
  through. Any suggestions on how I could write such a script?

 I don't have procmail on this computer, but I think I can give a rough
 idea of what to do.  First, read the procmail man page about the flags.
 You'll want to clone the message and process only the header.  If it's to
 your girlfriend and not spam (with negative regexp for spamassassin header
 line), then filter it.  The following script should work, though you
 should doublecheck, as I haven't dealt much with multiline strings and
 I've never sent mail from a perl script before.

Hmmm, I don't understand your script at all! But that's only because I don't 
know Perl. :-( That's alright though, coz I've got something that works. His 
a little bash script that does what I want:

#!/bin/sh
cat /dev/stdin  tmp1
grep Date: tmp1  tmp2
grep From: tmp1  tmp2
grep Subject: tmp1  tmp2
cat tmp2 | mail -s Mail Notification [EMAIL PROTECTED]
cat tmp1

The only problem with it is if two messages are being processed at the same 
time. And to put in the correct mail address... Anybody know how I can create 
a unique temp file from bash?

Regards,
Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification (SOVLED)

2003-08-29 Thread Jason Stubbs
Okay! Done it. Here's the script if anyone else is interested:

#!/bin/sh

MAILADDR=[EMAIL PROTECTED]
TMP1=`mktemp /tmp/mailcheck.XX`
TMP2=`mktemp /tmp/mailcheck.XX`

cat /dev/stdin  $TMP1
grep Date: $TMP1 | head -n 1  $TMP2
grep From: $TMP1 | head -n 1  $TMP2
grep Subject: $TMP1 | head -n 1  $TMP2
cat $TMP2 | mail -s Mail Notification $MAILADDR
cat $TMP1

rm $TMP1
rm $TMP2


Piping the appropriate mail through it with procmail should do what I want. 
Now to test it in the real world...

Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] Audigy2 configuration

2003-08-29 Thread Daniel Robbins
On Sun, 2003-08-24 at 02:45, Leonid Podolny wrote:
 Hi,
 This issue is not strictly gentoo-related, but I hope someone has 
 encountered it in the past and can help me. 
 I've recently bought an audigy2 card. I had no idea that it could be 
 unsupported -- after all, the creative production is as mainstream as 
 could be :). However, I can't get it to work.

When it comes to the emu10k1 drivers on sourceforge, it appears you are
not alone:

http://sourceforge.net/tracker/index.php?func=detailaid=644751group_id=44773atid=440822

It appears that the cvs version of the emu10k1 driver may have some
Audigy 2 support. By now it could have complete support. I've opened a
Gentoo bug on this issue for you:

http://bugs.gentoo.org/show_bug.cgi?id=27529

Feel free to create a bugzilla account and add yourself to the cc list
for this bug (I think bugzilla should let you do that with no special
privs.)

Best Regards,

Daniel



signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Procmail and mail notification (SOVLED)

2003-08-29 Thread Jason Stubbs
Hmmm

I've called the script notify and changed it as follows:

#!/bin/sh

TMP1=`mktemp /tmp/mailcheck.XX`
TMP2=`mktemp /tmp/mailcheck.XX`

cat /dev/stdin  $TMP1
grep Date: $TMP1 | head -n 1  $TMP2
grep From: $TMP1 | head -n 1  $TMP2
grep Subject: $TMP1 | head -n 1  $TMP2
cat $TMP2 | mail -s Mail Notification $1
cat $TMP1

rm $TMP1
rm $TMP2


In ~/.procmailrc, I have put:

:0fw
* ^X-Spam-Status: No*
| /usr/local/bin/notify jason


However, *any* mail that goes through it comes out blank! Whether it is spam 
or not! The script works fine from the shell so it's got to be something 
wrong with how I'm using procmail. I can't see where the error is though. I 
checked the $TMP files and both come out blank, so it seems that procmail is 
not piping the mail through the filter. Either way, it doesn't explain why 
spam is being corrupted as well. Can anyone help? Pretty please??

Thanks in advance,
Jason

--
[EMAIL PROTECTED] mailing list



[gentoo-user] emerge plustek-parallel

2003-08-29 Thread Ernie Schroder
I have this old plustek parallel port scanner that I can get to work 
sometimes It currently isn't being seen.(probably a version# problem 
but it's been too much of a bother to futz around with it.
So, I was looking for the driver directory and did 
$ locate plustek
I was surprized to find an ebuild in portage for plustek-parallel-0.42.9
It IS masked but I decided to give it a shot. It failed and I've been 
looking at the output to figure out why but I can't figure it out. 
Below is the last 30 lines or so of the output:

/lib/modules/2.4.20-gentoo-r1/build/include/linux/fs.h:297:35: 
linux/supermount_fs_i.h: No such file or directory
In file included from 
/lib/modules/2.4.20-gentoo-r1/build/include/linux/sched.h:30,
 from 
/lib/modules/2.4.20-gentoo-r1/build/include/linux/mm.h:22,
 from 
/lib/modules/2.4.20-gentoo-r1/build/include/linux/poll.h:10,
 from h/plustek_sysdep.h:92,
 from h/plustek_scan.h:60,
 from src/scale.c:39:
/lib/modules/2.4.20-gentoo-r1/build/include/linux/grsecurity.h:12:26: 
linux/grdefs.h: No such file or directory
/lib/modules/2.4.20-gentoo-r1/build/include/linux/grsecurity.h:56:25: 
linux/grmsg.h: No such file or directory
src/scale.c:134:80: warning: no newline at end of file
In file included from 
/lib/modules/2.4.20-gentoo-r1/build/include/linux/capability.h:17,
 from 
/lib/modules/2.4.20-gentoo-r1/build/include/linux/binfmts.h:6,
 from 
/lib/modules/2.4.20-gentoo-r1/build/include/linux/sched.h:9,
 from 
/lib/modules/2.4.20-gentoo-r1/build/include/linux/mm.h:22,
 from 
/lib/modules/2.4.20-gentoo-r1/build/include/linux/poll.h:10,
 from h/plustek_sysdep.h:92,
 from h/plustek_scan.h:60,
 from src/tpa.c:47:
/lib/modules/2.4.20-gentoo-r1/build/include/linux/fs.h:297:35: 
linux/supermount_fs_i.h: No such file or directory
In file included from 
/lib/modules/2.4.20-gentoo-r1/build/include/linux/sched.h:30,
 from 
/lib/modules/2.4.20-gentoo-r1/build/include/linux/mm.h:22,
 from 
/lib/modules/2.4.20-gentoo-r1/build/include/linux/poll.h:10,
 from h/plustek_sysdep.h:92,
 from h/plustek_scan.h:60,
 from src/tpa.c:47:
/lib/modules/2.4.20-gentoo-r1/build/include/linux/grsecurity.h:12:26: 
linux/grdefs.h: No such file or directory
/lib/modules/2.4.20-gentoo-r1/build/include/linux/grsecurity.h:56:25: 
linux/grmsg.h: No such file or directory
src/tpa.c:1151:80: warning: no newline at end of file
make: *** [.depend] Error 1

!!! ERROR: media-gfx/plustek-parallel-0.42.9 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)

Any ideas?

-- 
Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Newbie : list of files and packages ?

2003-08-29 Thread Stphane Peron
Title: Message



Hi all 
!

I have found a file 
containing all packages available in /usr/portage.

Is there such a file 
that give in which package I can find a binary.
For example, I would 
like to install latex How can I find the package containing latex 
?

Thanks for your help 


Regards

Stéphane 
PERON


Ce message contient des informations confidentielles ou appartenant au
Cr=e9dit Lyonnais et est =e9tabli =e0 l'intention exclusive de ses
destinataires. Toute divulgation, utilisation, diffusion ou reproduction
(totale ou partielle) de ce message, ou des informations qu'il contient,
doit =eatre pr=e9alablement autoris=e9e. Tout message =e9lectronique est
susceptible d'alt=e9ration et son int=e9grit=e9 ne peut =eatre assur=e9e.
Le Cr=e9dit Lyonnais d=e9cline toute responsabilit=e9 au titre de ce
message s'il a =e9t=e9 modifi=e9 ou falsifi=e9. Si vous n'=eates pas
destinataire de ce message, merci de le d=e9truire imm=e9diatement et
d'avertir l'exp=e9diteur de l'erreur de distribution et de la destruction
du message.
Cr=e9dit Lyonnais, SA au capital de Euros 1.832.530.645 - RCS Lyon B 954 509 741
Si=e8ge Central : 19, boulevard des Italiens. 75002 Paris. France

This e-mail contains confidential information or information belonging
to Cr=e9dit Lyonnais and is intended solely for the addressees.
The unauthorised disclosure, use, dissemination or copying (either whole
or partial) of this e-mail, or any information it contains, is prohibited.
E-mails are susceptible to alteration and their integrity cannot be guaranteed.
Cr=e9dit Lyonnais shall not be liable for this e-mail if modified or falsified.
If you are not the intended recipient of this e-mail, please delete it
immediately from your system and notify the sender of the wrong delivery
and the mail deletion.
Cr=e9dit Lyonnais SA.
Share Capital of Euros 1.832.530.645.
Registered Office : Lyon (B 954 509 741)
Central and administrative Office : 19, boulevard des Italiens. 75002 Paris. France

--
[EMAIL PROTECTED] mailing list

[gentoo-user] promise ultra33 pci card and cdrom

2003-08-29 Thread William Kenworthy
I am using a promise ultra33 pci card to handle my ide cdwriter as the
two MB ideports each have a raid0 disk on them.  The promise card has a
cd only, no hard disks.

I am getting errors on the scsi emulation, but find I cant turn dma on
using hdparm as there is no /dev/hde, though /dev/cdroms/cdrom0 is
present.

There is an ide host0, and a host2, but no host1 so is devfs stuffing
up?

Is there an alternative way to turm dma on, and any other features of
the ultra33 besides hdparm?



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Newbie : list of files and packages ?

2003-08-29 Thread Panard
man qpkg
man etcat

Le Vendredi 29 Août 2003 15:17, Stéphane Peron a écrit :
  Hi all !

  I have found a file containing all packages available in /usr/portage.

  Is there such a file that give in which package I can find a binary.
  For example, I would like to install latex  How can I find the
  package containing latex ?

  Thanks for your help

  Regards

  Stéphane PERON

-- 

 [EMAIL PROTECTED]http://www.inzenet.org

Computers are like air-conditioners, they stop working properly when you open 
Windows.


--
[EMAIL PROTECTED] mailing list



[gentoo-user] how to allow dialin via isdn?

2003-08-29 Thread a_k_b
is there a way to allow a user to dialin via isdn, so he is part of my lan? with 
windows i did this to play lan games over a wan connection, such as vpn. but i cant 
really use vpn, since the other user is restricted to direct dialin instead of using 
the internet (its faster and doesnt cost any cent to use the normal isdn line, but 
internet costs).

arne

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Newbie : list of files and packages ?

2003-08-29 Thread Mark Knecht
Title: Message



emerge 
-S latex possibly?

  -Original Message-From: Stéphane Peron 
  [mailto:[EMAIL PROTECTED]Sent: Friday, August 
  29, 2003 6:18 AMTo: [EMAIL PROTECTED]Subject: 
  [gentoo-user] Newbie : list of files and packages ?
  Hi all 
  !
  
  I have found a 
  file containing all packages available in /usr/portage.
  
  Is there such a 
  file that give in which package I can find a binary.
  For example, I 
  would like to install latex How can I find the package 
  containing latex ?
  
  Thanks for your 
  help 
  
  Regards
  
  Stéphane 
  PERON


Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Andrew Gaffney
Nick Van Vlaenderen wrote:
  You Might Be A Programmer If ... Before you move into a new house or
apartment, the most important thing to you is the type and amount of 
wiring with which it is equipped.
That's me! :)

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Procmail and mail notification

2003-08-29 Thread Christopher Fisk
On Fri, 29 Aug 2003, Jason Stubbs wrote:

My guess is that it is not directly possible with procmail. I'm guessing that 
I'd have to use some sort of script to pipe each e-mail message through. Any 
suggestions on how I could write such a script?

I've answered this on the forums at 
http://forums.gentoo.org/viewtopic.php?t=23703postdays=0postorder=ascstart=6

The perl script would be edited to have the proper phone number, but that 
should do what you are looking for.



Christopher Fisk
--
BOFH Excuse #106:
The electrician didn't know what the yellow cable was so he yanked the 
ethernet out.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Number pad?

2003-08-29 Thread Ernie Schroder
I have a pretty much standard 104 key keyboard. The number keys don't 
work in X. It makes no difference whether or not the Num Lock LED is on 
or off it just won't work. It works just fine in a virtual terminal.
My 2nd machine (running Windowmaker in stead of KDE doesn't have the 
same problem, despite identical keyboard sections in XF86Config. (boxes 
share keyboard through a KVM switch) Also changing machine 2 to start 
KDE still works properly.
The settings within KDE --control center-- peripherals -- keyboard 
appear identical.  

Any ideas?


-- 
Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Christopher Fisk
On Fri, 29 Aug 2003, Andrew Gaffney wrote:

Nick Van Vlaenderen wrote:
   You Might Be A Programmer If ... Before you move into a new house or
 apartment, the most important thing to you is the type and amount of 
 wiring with which it is equipped.

That's me! :)

My most important thing about when I buy a house will be if there is high 
speed access available.  I can run the wireing myself, or even use 
wireless, but dialup just isn't an option anymore.


Christopher Fisk
--
BOFH Excuse #342:
HTTPD Error 4004 : very old Intel cpu - insufficient processing power

--
[EMAIL PROTECTED] mailing list



[gentoo-user] iptables help

2003-08-29 Thread Andrew Gaffney
I'm trying to create a firewall using iptables. I want it to drop 
incoming packets except to ports 22, 25, and 80 unless the source 
address is 192.168.254.x. I'm asking before I do this because I'm 
accessing the computer remotely right now and I don't want to cut myself 
off from it. I'm thinking something like:

iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p all -j DROP
-or-

iptables -P INPUT DROP
iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
Would either of these get me the desired results?

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] iptables help

2003-08-29 Thread Jason Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'd suggest the second option, but be sure to change the policy to DROP
_after_ you've set up rules to allow you access.

- -Jason Martin


On Fri, 29 Aug 2003, Andrew Gaffney wrote:

 I'm trying to create a firewall using iptables. I want it to drop
 incoming packets except to ports 22, 25, and 80 unless the source
 address is 192.168.254.x. I'm asking before I do this because I'm
 accessing the computer remotely right now and I don't want to cut myself
 off from it. I'm thinking something like:

 iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
 iptables -A INPUT -p tcp --dport 22 -j ACCEPT
 iptables -A INPUT -p tcp --dport 25 -j ACCEPT
 iptables -A INPUT -p tcp --dport 80 -j ACCEPT
 iptables -A INPUT -p all -j DROP

 -or-

 iptables -P INPUT DROP
 iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
 iptables -A INPUT -p tcp --dport 22 -j ACCEPT
 iptables -A INPUT -p tcp --dport 25 -j ACCEPT
 iptables -A INPUT -p tcp --dport 80 -j ACCEPT

 Would either of these get me the desired results?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.3.2 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQE/T3WLl2ODWuqVSBMRAjaFAJ4u7K/8vRn4V+U2ZiXeK/P6XsfgMgCfUlmM
bTfnZuOLgTiwZeCfOjrvTQc=
=vjys
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] iptables help

2003-08-29 Thread Andrew Gaffney
So I should do:

iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -P INPUT DROP
The first line would accept anything from any IP in the 192.168.254.0 
netblock, lines 2-5 anything on port 22, 25, or 80, and the last, set it 
to drop everything else?

Jason Martin wrote:
I'd suggest the second option, but be sure to change the policy to DROP
_after_ you've set up rules to allow you access.
-Jason Martin

On Fri, 29 Aug 2003, Andrew Gaffney wrote:


I'm trying to create a firewall using iptables. I want it to drop
incoming packets except to ports 22, 25, and 80 unless the source
address is 192.168.254.x. I'm asking before I do this because I'm
accessing the computer remotely right now and I don't want to cut myself
off from it. I'm thinking something like:
iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p all -j DROP
-or-

iptables -P INPUT DROP
iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
Would either of these get me the desired results?



--
[EMAIL PROTECTED] mailing list


--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] iptables help

2003-08-29 Thread Andrew Farmer
At 29 August, 2003 Andrew Gaffney wrote:
 I'm trying to create a firewall using iptables. I want it to drop 
 incoming packets except to ports 22, 25, and 80 unless the source 
 address is 192.168.254.x. I'm asking before I do this because I'm 
 accessing the computer remotely right now and I don't want to cut myself 
 off from it.
snip

I'd suggest using the projectfiles.com rc.firewall script. Works For Me,
and it can do some rather neat NAT sorts of things, too. I don't know
how well it'll work under Gentoo as a startup script, but you can always
just run it manually.

http://projectfiles.com/firewall/


-- 
Andrew Farmer
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] iptables help

2003-08-29 Thread Andrew Dacey
- Original Message - 
From: Andrew Gaffney [EMAIL PROTECTED]
To: Gentoo User [EMAIL PROTECTED]
Sent: Friday, August 29, 2003 12:47 PM
Subject: [gentoo-user] iptables help


 I'm trying to create a firewall using iptables. I want it to drop
 incoming packets except to ports 22, 25, and 80 unless the source
 address is 192.168.254.x. I'm asking before I do this because I'm
 accessing the computer remotely right now and I don't want to cut myself
 off from it. I'm thinking something like:

 iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
 iptables -A INPUT -p tcp --dport 22 -j ACCEPT
 iptables -A INPUT -p tcp --dport 25 -j ACCEPT
 iptables -A INPUT -p tcp --dport 80 -j ACCEPT
 iptables -A INPUT -p all -j DROP

 -or-

 iptables -P INPUT DROP
 iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
 iptables -A INPUT -p tcp --dport 22 -j ACCEPT
 iptables -A INPUT -p tcp --dport 25 -j ACCEPT
 iptables -A INPUT -p tcp --dport 80 -j ACCEPT

 Would either of these get me the desired results?


I'd be tempted to add a line of

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

That way any traffic you initiate from that box will be able to get back in.

As someone else mentioned, I'd use the option of setting the INPUT policy to
DROP but make sure to set that AFTER you've setup the other rules.

Andrew frugal Dacey
[EMAIL PROTECTED]
http://www.tildefrugal.net/


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] iptables help

2003-08-29 Thread Andrew Gaffney
Andrew Dacey wrote:
- Original Message - 
From: Andrew Gaffney [EMAIL PROTECTED]
To: Gentoo User [EMAIL PROTECTED]
Sent: Friday, August 29, 2003 12:47 PM
Subject: [gentoo-user] iptables help



I'm trying to create a firewall using iptables. I want it to drop
incoming packets except to ports 22, 25, and 80 unless the source
address is 192.168.254.x. I'm asking before I do this because I'm
accessing the computer remotely right now and I don't want to cut myself
off from it. I'm thinking something like:
iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p all -j DROP
-or-

iptables -P INPUT DROP
iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
Would either of these get me the desired results?


I'd be tempted to add a line of

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

That way any traffic you initiate from that box will be able to get back in.

As someone else mentioned, I'd use the option of setting the INPUT policy to
DROP but make sure to set that AFTER you've setup the other rules.
So, it should be:

iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -P INPUT DROP
Correct?

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Slow boot with Serial ATA Harddisk

2003-08-29 Thread Arlo
Thanks for the tips. I added teh hdg=none to my grub.conf and it worked like a 
charm. 
However I'm not sure what you mean by disable multi-mode I ran make menuconfig 
and under [IDE ATA and ATAPI Block Devices] 
[]Use Multi mode by devault is already disabled. Should I turn it on? 
or is there another setting I'm not seeing. I thought I could add the hdparm 
rc-script as a dependency to the checkfs rc-script so when fsck gets called 
the harddisk will already be in DMA mode. However I am yet to make this work.

Thanks again for taking the time.
-Arlo-


On Thursday 28 August 2003 11:22 pm, you wrote:
 On Thursday 28 August 2003 10:17 am, Arlo wrote:
  is there a way to get the driver not to look at hdg or to fail more
  quickly?

 in the kernel params, put hdg=none

  I also get a message waring that my harddisk is not running in DMA mode
  and that fsck with run very slowly in this state (PIO?).
 
  Normaly I set the DMA using the hdparm script added to the boot runlevel.
  However that does not get run until the boot process is more or less
  over.
 
  can I force the SATA driver to use DMA from the start?

 yeah, its in the kernel config and you disable multi-mode by default.

 bryce


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Installing Gentoo on RAID box question

2003-08-29 Thread Kai Lindenberg
Hi Stephen,

Am Freitag, 29. August 2003 04:24 schrieb Stephen Liu:

[...]

 Can gentoo see a single hard drive and Win2K partition as well,
 not 2 hard drives?

yes, that's the right to exist for the ataraid drivers besides md.

Kai



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] iptables help

2003-08-29 Thread Andrew Gaffney
Andrew Gaffney wrote:
Andrew Dacey wrote:

- Original Message - From: Andrew Gaffney 
[EMAIL PROTECTED]
To: Gentoo User [EMAIL PROTECTED]
Sent: Friday, August 29, 2003 12:47 PM
Subject: [gentoo-user] iptables help



I'm trying to create a firewall using iptables. I want it to drop
incoming packets except to ports 22, 25, and 80 unless the source
address is 192.168.254.x. I'm asking before I do this because I'm
accessing the computer remotely right now and I don't want to cut myself
off from it. I'm thinking something like:
iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p all -j DROP
-or-

iptables -P INPUT DROP
iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
Would either of these get me the desired results?




I'd be tempted to add a line of

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

That way any traffic you initiate from that box will be able to get 
back in.

As someone else mentioned, I'd use the option of setting the INPUT 
policy to
DROP but make sure to set that AFTER you've setup the other rules.


So, it should be:

iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -P INPUT DROP
Correct?
Something I forgot to mention is that there is a 2nd interface: ppp0. I 
have a ppp dial-in server set up for my use. I have a few iptables rules 
set up to NAT stuff from ppp0 out through eth0. Will the above rules 
interfere with that?

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] HD back up

2003-08-29 Thread Ernie Schroder
On Friday 29 August 2003 06:21 am, Peter Ruskin wrote:
 Hi Stephen,

 I obviously didn't make myself clear enough.

 I have one disk dedicated to backups.

 This is the backup script my-rsync, which I put in /usr/local/bin:
 #
== #! /bin/bash
 # /usr/local/bin/my-rsync
 ###
 # Backup Script
 ###

 BACKUP_TO=/mnt/backup
 EXCLUDE=/usr/local/bin/rsync-exclude

 echoMounting boot partition...
 mount /boot -o ro
 echo
 echoMounting backup disk...
 mount $BACKUP_TO
 sleep 4
 echo
 echoPerforming backup...
 echo
 rsync --progress --delete -av --exclude-from=$EXCLUDE / \
   $BACKUP_TO/rsync/

 echo
 echoUnmounting boot and backup partitions...

 /bin/umount -l /boot
 /bin/umount -l $BACKUP_TO

 echo
 echoSpinning down backup disk...
 /sbin/hdparm -y /dev/hdc# spin down disk
 #
==

 As root, I did:
 chmod a+x /usr/local/bin/my-rsync
 ...to make the script executable

 In the script you'll see EXCLUDE=/usr/local/bin/rsync-exclude. 
 This means that you list all the files you want to exclude from the
 backup in a file you create (I called mine rsync-exclude and put it
 in /usr/local/bin).  See `man rsync` for more information.

 My /usr/local/bin/rsync-exclude looks like this:
 #
== - /tmp/
 - /var/lib/init.d/
 - /mnt/backup/
 - /mnt/cdrom/
 - /mnt/floppy/
 - /proc/
 - /usr/portage/distfiles/
 - /root/.ccache/
 - /home/peter/.ccache/
 #
==

 As Andrew Farmer suggested, you can use /etc/cron.daily to have it
 run automatically.  Before you do so, run it manually to make sure it
 works for you, altering the mountpoint ($BACKUP_TO) and /dev/hdc in
 the spin down disk part to suit your installation.  My /etc/fstab
 entry for $BACKUP_TO reads:
 /dev/hdc1 /mnt/backup ext3 noauto,noatime,users 0 0
 ...so, like /boot, it's only mounted when needed.

 When you are ready to add the backup script to cron.daily, become
 root and do:
 cp /usr/local/bin/my-rsync /etc/cron.daily/

 Hope this helps you.

 Peter


Peter,
Your script looks like it might do the trick for me. I do have a couple 
of questions though. How would I adapt it for a remote backup location? 
/mnt/backup is a normally unmounted disk on my secondary Gentoo box. I 
have configured passwordless ssh between USER with sudo privledges on 
the machine to be backed up, to [EMAIL PROTECTED] The way to ssh in to 
the remote box, mount /mnt/backup and then do the rsync eludes me. I 
wonder if you might steer me in the right direction.
The second question is about the rsync command in your script. What 
does the --delete option do? Does it delete old backups? Forgive me for 
being a bit dense here, but I'm rather new at scripting.
-- 
Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] iptables help

2003-08-29 Thread Rudmer van Dijk
On Friday 29 August 2003 19:21, Andrew Gaffney wrote:
 Andrew Gaffney wrote:
  iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
  iptables -A INPUT -p tcp --dport 22 -j ACCEPT
  iptables -A INPUT -p tcp --dport 25 -j ACCEPT
  iptables -A INPUT -p tcp --dport 80 -j ACCEPT
  iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
  iptables -P INPUT DROP
 
  Correct?

 Something I forgot to mention is that there is a 2nd interface: ppp0. I
 have a ppp dial-in server set up for my use. I have a few iptables rules
 set up to NAT stuff from ppp0 out through eth0. Will the above rules
 interfere with that?

not really, but do you want to block local machines? if you only want to block 
outside connections then you can use something like the following.

Rudmer

---

# allow forwarding
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
   iptables -A FORWARD -m state --state NEW -i ! ppp0 -j ACCEPT
   iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
   iptables -A INPUT -m state --state NEW -i ! ppp0 -j ACCEPT
   
   
# masquerade local - internet connections
   iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
   
   
# maximize ssh response
   iptables -t mangle -A PREROUTING -p tcp --sport ssh -j TOS --set-tos 
Minimize-Delay

# accept ssh, web and mail connections
   iptables -A INPUT -p tcp --dport ssh -j ACCEPT
   iptables -A INPUT -p tcp --dport http -j ACCEPT
   iptables -A INPUT -p tcp --dport smtp -j ACCEPT
   
   
# set policy for chains
   iptables -P INPUT DROP
   iptables -P OUTPUT ACCEPT
   iptables -P FORWARD DROP
   
   
# enable and masquerade forwarded packages
echo 1  /proc/sys/net/ipv4/ip_forward
# disable ExplicitCongestionNotification
echo 0  /proc/sys/net/ipv4/tcp_ecn



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] iptables help

2003-08-29 Thread Andrew Gaffney
Rudmer van Dijk wrote:
On Friday 29 August 2003 19:21, Andrew Gaffney wrote:

Andrew Gaffney wrote:

iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -P INPUT DROP
Correct?
Something I forgot to mention is that there is a 2nd interface: ppp0. I
have a ppp dial-in server set up for my use. I have a few iptables rules
set up to NAT stuff from ppp0 out through eth0. Will the above rules
interfere with that?


not really, but do you want to block local machines? if you only want to block 
outside connections then you can use something like the following.

	Rudmer

---

# allow forwarding
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
   iptables -A FORWARD -m state --state NEW -i ! ppp0 -j ACCEPT
   iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
   iptables -A INPUT -m state --state NEW -i ! ppp0 -j ACCEPT
  
# masquerade local - internet connections
   iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
  
# maximize ssh response
   iptables -t mangle -A PREROUTING -p tcp --sport ssh -j TOS --set-tos 
Minimize-Delay

# accept ssh, web and mail connections
   iptables -A INPUT -p tcp --dport ssh -j ACCEPT
   iptables -A INPUT -p tcp --dport http -j ACCEPT
   iptables -A INPUT -p tcp --dport smtp -j ACCEPT
  
# set policy for chains
   iptables -P INPUT DROP
   iptables -P OUTPUT ACCEPT
   iptables -P FORWARD DROP
  
# enable and masquerade forwarded packages
echo 1  /proc/sys/net/ipv4/ip_forward
# disable ExplicitCongestionNotification
echo 0  /proc/sys/net/ipv4/tcp_ecn
You misunderstand. With your example, I believe you have ppp0 as the 
external connection and eth0 acting as the internal connection to the 
LAN. ppp0 is not the internet connection. eth0 is connected to a router 
that is connected to a T1. I want to allow all traffic to and from ppp0 
and masquerade anything from ppp0 out to the LAN/internet through eth0. 
I want anything incoming connections into eth0 with a source address of 
192.168.254.0/24 to be allow through. Anything other incoming 
connections into eth0 (from the internet) I want to be blocked unless it 
is for port 22, 25, or 80.

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Procmail and mail notification (SOVLED)

2003-08-29 Thread Marshal Newrock
On Fri, 29 Aug 2003, Jason Stubbs wrote:

 #!/bin/sh

 TMP1=`mktemp /tmp/mailcheck.XX`
 TMP2=`mktemp /tmp/mailcheck.XX`

 cat /dev/stdin  $TMP1
 grep Date: $TMP1 | head -n 1  $TMP2
 grep From: $TMP1 | head -n 1  $TMP2
 grep Subject: $TMP1 | head -n 1  $TMP2
 cat $TMP2 | mail -s Mail Notification $1
 cat $TMP1

 rm $TMP1
 rm $TMP2


 In ~/.procmailrc, I have put:

 :0fw
 * ^X-Spam-Status: No*
 | /usr/local/bin/notify jason


 However, *any* mail that goes through it comes out blank! Whether it is spam
 or not! The script works fine from the shell so it's got to be something
 wrong with how I'm using procmail. I can't see where the error is though. I
 checked the $TMP files and both come out blank, so it seems that procmail is
 not piping the mail through the filter. Either way, it doesn't explain why
 spam is being corrupted as well. Can anyone help? Pretty please??

It's been a little while since I've done something like this, but I think
I've got it.  'cat /dev/stdin' is the wrong way to read input to a
command.  Also, I'd just save everything in a variable, and avoid disk
access.  And make sure you're only sending the header.  I believe there's
an 'h' flag for procmail to do this.  Scanning every line of a 5MB email
will be a bit of a performance loss.

#!/bin/bash
notify_msg=
while read header_line
do
if `echo $header_line | egrep -q '^(From|Date|Subject)'`
then
notify_msg=${notify_msg}${header_line}\n
fi
done
echo -e $notify_msg | mail -s Mail Notification $1


If you don't understand the grep line, read the entire grep man page top
to bottom.  It will be one of the more useful things you do.

Hope this helps.

-- 
Caution: Product will be hot after heating


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] unable to emerge ffmpeg

2003-08-29 Thread Mike McGranahan
Hi,

Thank you for your reply.

Andrew wrote:
 At 27 August, 2003 [EMAIL PROTECTED] wrote:
 I am trying to emerge ffmpeg as a dependency to the transcode package.
 However I run into this error:

 [snip]
 snip again
 ffplay.o(.text+0x5dd): In function `main':
 /var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/ffpla
 y.c:1388: undefined reference to `XOpenDisplay'

 You'll need to install the X libraries to make this compile. Adding +X
 to USE isn't enough -- the package *should* have a dependency on xfree.
 Bug?

I have xfree installed.  I emerged xfree explicitly, one time with -X USE
flag, and one time with +X.  After each emerge, I attempted 'emerge
--oneshot ffmpeg', with both X and -X USE flags.  In all four cases, the
above error resulted.  I know I have (at least some) xfree libs installed,
because I successfully emerge imlib2 which links against them (I believe).

'emerge -p xfree' returns:

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] x11-base/xfree-4.3.0-r2

'ls /usr/X11R6/lib/lib*' returns:

/usr/X11R6/lib/libFS.a/usr/X11R6/lib/libXmuu.so.1
/usr/X11R6/lib/libGLw.a   /usr/X11R6/lib/libXmuu.so.1.0
/usr/X11R6/lib/libI810XvMC.a  /usr/X11R6/lib/libXp.a
/usr/X11R6/lib/libICE.a   /usr/X11R6/lib/libXp.so
/usr/X11R6/lib/libICE.so  /usr/X11R6/lib/libXp.so.6
/usr/X11R6/lib/libICE.so.6/usr/X11R6/lib/libXp.so.6.2
/usr/X11R6/lib/libICE.so.6.3  /usr/X11R6/lib/libXpm.a
/usr/X11R6/lib/libMesaGL.so   /usr/X11R6/lib/libXpm.so
/usr/X11R6/lib/libOSMesa.a/usr/X11R6/lib/libXpm.so.4
/usr/X11R6/lib/libOSMesa.la   /usr/X11R6/lib/libXpm.so.4.11
/usr/X11R6/lib/libOSMesa.so   /usr/X11R6/lib/libXrandr.a
/usr/X11R6/lib/libOSMesa.so.4 /usr/X11R6/lib/libXrandr.so
/usr/X11R6/lib/libOSMesa.so.4.0   /usr/X11R6/lib/libXrandr.so.2
/usr/X11R6/lib/libSM.a/usr/X11R6/lib/libXrandr.so.2.0
/usr/X11R6/lib/libSM.so   /usr/X11R6/lib/libXrender.a
/usr/X11R6/lib/libSM.so.6 /usr/X11R6/lib/libXrender.so
/usr/X11R6/lib/libSM.so.6.0   /usr/X11R6/lib/libXrender.so.1
/usr/X11R6/lib/libX11.a   /usr/X11R6/lib/libXrender.so.1.2
/usr/X11R6/lib/libX11.so  /usr/X11R6/lib/libXss.a
/usr/X11R6/lib/libX11.so.6/usr/X11R6/lib/libXt.a
/usr/X11R6/lib/libX11.so.6.2  /usr/X11R6/lib/libXt.so
/usr/X11R6/lib/libXRes.a  /usr/X11R6/lib/libXt.so.6
/usr/X11R6/lib/libXTrap.a /usr/X11R6/lib/libXt.so.6.0
/usr/X11R6/lib/libXTrap.so/usr/X11R6/lib/libXtst.a
/usr/X11R6/lib/libXTrap.so.6  /usr/X11R6/lib/libXtst.so
/usr/X11R6/lib/libXTrap.so.6.4/usr/X11R6/lib/libXtst.so.6
/usr/X11R6/lib/libXau.a   /usr/X11R6/lib/libXtst.so.6.1
/usr/X11R6/lib/libXau.so  /usr/X11R6/lib/libXv.a
/usr/X11R6/lib/libXau.so.6/usr/X11R6/lib/libXv.so
/usr/X11R6/lib/libXau.so.6.0  /usr/X11R6/lib/libXv.so.1
/usr/X11R6/lib/libXaw.a   /usr/X11R6/lib/libXv.so.1.0
/usr/X11R6/lib/libXaw.so  /usr/X11R6/lib/libXvMC.a
/usr/X11R6/lib/libXaw.so.6/usr/X11R6/lib/libXxf86dga.a
/usr/X11R6/lib/libXaw.so.6.1  /usr/X11R6/lib/libXxf86dga.so
/usr/X11R6/lib/libXaw.so.7/usr/X11R6/lib/libXxf86dga.so.1
/usr/X11R6/lib/libXaw.so.7.0  /usr/X11R6/lib/libXxf86dga.so.1.0
/usr/X11R6/lib/libXcursor.a   /usr/X11R6/lib/libXxf86misc.a
/usr/X11R6/lib/libXcursor.so  /usr/X11R6/lib/libXxf86misc.so
/usr/X11R6/lib/libXcursor.so.1/usr/X11R6/lib/libXxf86misc.so.1
/usr/X11R6/lib/libXcursor.so.1.0  /usr/X11R6/lib/libXxf86misc.so.1.0
/usr/X11R6/lib/libXdmcp.a /usr/X11R6/lib/libXxf86rush.a
/usr/X11R6/lib/libXext.a  /usr/X11R6/lib/libXxf86vm.a
/usr/X11R6/lib/libXext.so /usr/X11R6/lib/libXxf86vm.so
/usr/X11R6/lib/libXext.so.6   /usr/X11R6/lib/libXxf86vm.so.1
/usr/X11R6/lib/libXext.so.6.4 /usr/X11R6/lib/libXxf86vm.so.1.0
/usr/X11R6/lib/libXfont.a /usr/X11R6/lib/libdps.a
/usr/X11R6/lib/libXfont.so/usr/X11R6/lib/libdps.so
/usr/X11R6/lib/libXfont.so.1  /usr/X11R6/lib/libdps.so.1
/usr/X11R6/lib/libXfont.so.1.4/usr/X11R6/lib/libdps.so.1.0
/usr/X11R6/lib/libXfontcache.a/usr/X11R6/lib/libdpstk.a
/usr/X11R6/lib/libXft.a   /usr/X11R6/lib/libdpstk.so
/usr/X11R6/lib/libXft.so  /usr/X11R6/lib/libdpstk.so.1
/usr/X11R6/lib/libXft.so.1/usr/X11R6/lib/libdpstk.so.1.0
/usr/X11R6/lib/libXft.so.1.1  /usr/X11R6/lib/libfntstubs.a
/usr/X11R6/lib/libXft.so.2/usr/X11R6/lib/libfontenc.a
/usr/X11R6/lib/libXft.so.2.1  /usr/X11R6/lib/liboldX.a
/usr/X11R6/lib/libXi.a/usr/X11R6/lib/libpsres.a
/usr/X11R6/lib/libXi.so   /usr/X11R6/lib/libpsres.so
/usr/X11R6/lib/libXi.so.6 /usr/X11R6/lib/libpsres.so.1
/usr/X11R6/lib/libXi.so.6.0   /usr/X11R6/lib/libpsres.so.1.0
/usr/X11R6/lib/libXinerama.a  /usr/X11R6/lib/libxf86config.a
/usr/X11R6/lib/libXmu.a   /usr/X11R6/lib/libxkbfile.a
/usr/X11R6/lib/libXmu.so  

Re: [gentoo-user] HD back up

2003-08-29 Thread Peter Ruskin
On Friday 29 Aug 2003 18:08, Ernie Schroder wrote:
 On Friday 29 August 2003 06:21 am, Peter Ruskin wrote:
  Hi Stephen,
 
  I obviously didn't make myself clear enough.
snip
 Peter,
   Your script looks like it might do the trick for me. I do have a
 couple of questions though. How would I adapt it for a remote backup
 location? /mnt/backup is a normally unmounted disk on my secondary
 Gentoo box. I have configured passwordless ssh between USER with sudo
 privledges on the machine to be backed up, to [EMAIL PROTECTED] The way
 to ssh in to the remote box, mount /mnt/backup and then do the rsync
 eludes me. I wonder if you might steer me in the right direction.

Sounds like a good idea Ernie.  I'm afraid I've never done anything like 
that though, so I can't offer any advice.  I suppose you could use NFS, 
with an fstab entry like:
remotebox:/mnt/backup  /mnt/remote/mnt/backup nfs 
user,noauto,rw,rsize=8192,wsize=8192,nolock 0 0
(all one line)
...and an entry in the remote box's /etc/exports like:
/mnt/backup 192.168.0.0/255.255.255.0(sync,insecure,no_root_squash,rw)

Then you wouldn't need to use ssh.  (man exports(5))


   The second question is about the rsync command in your script. What
 does the --delete option do? Does it delete old backups? Forgive me
 for being a bit dense here, but I'm rather new at scripting.

The script makes a mirror of your system.  If you delete any files, the 
rsync --delete flag deletes those files on the backup next time it's 
run; otherwise the backup would continually grow (man rsync).  Downside 
of this is that you only have the opportunity to recover accidentally 
deleted files (one of the main reasons for having a backup, after all) 
up to the next backup run.  This isn't a problem for me because I have 
another backup strategy using tar.  I suppose you could alter the 
script so that it only does the delete thing once a week, say.

if it's Sunday; then
  rsync --progress --delete -av --exclude-from=$EXCLUDE / \
   $BACKUP_TO/rsync/
else
  rsync --progress -av --exclude-from=$EXCLUDE / \
   $BACKUP_TO/rsync/
fi

Peter
-- 
==
Gentoo: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
kernel-2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+
==


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: [gentoo-x86] [gentoo-user] iptables help

2003-08-29 Thread Alex
In all this mess remember to accept packets to lo from your box as well as
posibly  icmp errors

$iptables -A INPUT -i lo -j ACCEPT  #Established related will take care of
the return packets

$iptables -A INPUT -p ICMP --icmp-type 0 -j ACCEPT
echo Accepting ECHO REPLYS

$iptables -A INPUT -p ICMP --icmp-type 3 -j ACCEPT
echo Accepting DESTINATION UNREACHABLE

$iptables -A INPUT -p ICMP --icmp-type 5 -j ACCEPT
echo Accepting REDIRECTS

#maybe
#$iptables -A INPUT -p ICMP --icmp-type 8 -j ACCEPT
#echo Accepting ECHO

$iptables -A INPUT -p ICMP --icmp-type 11 -j ACCEPT
echo Accepting TIME EXCEEDED



And. if your doing this remotely copy this to a file make it exacutable and
set cron to run it every hour or so while your working out the bugs ...so if
you do lock yourself out the system will open itself back up without you
having to go anywhere.

#!/bin/sh
#   Flush and Reset IPTABLES to default values

for f in filter nat mangle
do
$iptables -t $f -F
$iptables -t $f -X
done

#   Reset default policy
#   filter table

for r in INPUT FORWARD OUTPUT
do
$iptables -t filter -P $r ACCEPT
done



.my $0.02
-alex


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] protest?

2003-08-29 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

El Viernes Agosto 29 2003 00:13, bob bob escribió:
 How long is this protest going to go on for? its really irritating for
 those of us not in europe that want to find information on the web...
I hope that it is as long as needed... and I'm not european, not even living 
there, but it is nice to know there's still a place in the world with nice 
and logic laws.
Thanks.
- -- 
Pupeno: [EMAIL PROTECTED]
http://www.kde.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/T6DkLr8z5XzmSDQRAjbSAJ9Rp5LQFgFFAsEMA4+vu4KJXifstgCg3Zgb
isx2vAGVfkAThTMWn/7RfF0=
=qTZl
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] iptables help

2003-08-29 Thread Peter Eis
Why hazzle with iptables?
I'd rather recommend using shorewall (emerge shorewall). It's much 
easier to configure and has as lot features you'll probably want.

Peter

Andrew Gaffney wrote:

I'm trying to create a firewall using iptables. I want it to drop 
incoming packets except to ports 22, 25, and 80 unless the source 
address is 192.168.254.x. I'm asking before I do this because I'm 
accessing the computer remotely right now and I don't want to cut 
myself off from it. I'm thinking something like:

iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p all -j DROP
-or-

iptables -P INPUT DROP
iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
Would either of these get me the desired results?



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] iptables help

2003-08-29 Thread nmeyers
On Fri, Aug 29, 2003 at 08:52:42PM +0200, Peter Eis wrote:
 Why hazzle with iptables?
 I'd rather recommend using shorewall (emerge shorewall). It's much 
 easier to configure and has as lot features you'll probably want.

I'll second that. Shorewall works at a higher level of abstraction -
letting you design network zones and policies - rather that dealing with
the details of constructing iptables commands. It's very flexible and,
after a short learning curve, very powerful and easy to use.

Nathan Meyers
[EMAIL PROTECTED]

 
 Peter
 
 Andrew Gaffney wrote:
 
 I'm trying to create a firewall using iptables. I want it to drop 
 incoming packets except to ports 22, 25, and 80 unless the source 
 address is 192.168.254.x. I'm asking before I do this because I'm 
 accessing the computer remotely right now and I don't want to cut 
 myself off from it. I'm thinking something like:
 
 iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
 iptables -A INPUT -p tcp --dport 22 -j ACCEPT
 iptables -A INPUT -p tcp --dport 25 -j ACCEPT
 iptables -A INPUT -p tcp --dport 80 -j ACCEPT
 iptables -A INPUT -p all -j DROP
 
 -or-
 
 iptables -P INPUT DROP
 iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
 iptables -A INPUT -p tcp --dport 22 -j ACCEPT
 iptables -A INPUT -p tcp --dport 25 -j ACCEPT
 iptables -A INPUT -p tcp --dport 80 -j ACCEPT
 
 Would either of these get me the desired results?
 
 
 
 
 --
 [EMAIL PROTECTED] mailing list
 
 
 

-- 

--
[EMAIL PROTECTED] mailing list



[gentoo-user] emerge world conflicts

2003-08-29 Thread Collins Richey
How is one supposed to resolve a conflict like this one?

[blocks B] dev-libs/libelf (from pkg sys-devel/prelink-20030811)
[blocks B] dev-libs/libelf (from pkg dev-libs/elfutils-0.84)
[ebuildU ] dev-libs/elfutils-0.84 [0.76-r1] 
[ebuildU ] sys-devel/prelink-20030811 [20030217] 

I've tried emerge -c libelf, but the package is marked as portected, so
nothing happens.

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.



--
[EMAIL PROTECTED] mailing list



[gentoo-user] net-mail/evolution-1.4.4

2003-08-29 Thread Mark Knecht
Hi,
   This has been going on for a few hours this morning. Has anyone else
seen this?

Thanks,
Mark

SNIP
 Updating Portage cache...  ...done!

Wizard root # emerge --deep --update -p world

These are the packages that I would merge, in order:

Calculating world dependencies /
emerge: there are no masked or unmasked ebuilds to satisfy
dev-python/PyXML.

!!! Problem with ebuild net-mail/evolution-1.4.4
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
Wizard root # 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] net-mail/evolution-1.4.4

2003-08-29 Thread Michael Schreckenbauer
Am Freitag, 29. August 2003 21:42 schrieb Mark Knecht:
 Hi,
This has been going on for a few hours this morning. Has anyone else
 seen this?

 Thanks,
 Mark

 SNIP

  Updating Portage cache...  ...done!

 Wizard root # emerge --deep --update -p world

 These are the packages that I would merge, in order:

 Calculating world dependencies /
 emerge: there are no masked or unmasked ebuilds to satisfy
 dev-python/PyXML.

 !!! Problem with ebuild net-mail/evolution-1.4.4
 !!! Possibly a DEPEND/*DEPEND problem.

 !!! Depgraph creation failed.
 Wizard root #

Hi,

8
emerge: there are no masked or unmasked ebuilds to satisfy dev-python/PyXML.

!!! Problem with ebuild app-editors/emacs-21.3-r1
!!! Possibly a DEPEND/*DEPEND problem.
8

There is a topic in the forums about that:
http://forums.gentoo.org/viewtopic.php?t=79159
No solution yet afaik.

Cheers
Michael


--
[EMAIL PROTECTED] mailing list



[gentoo-user] NVidia Riva TNT32 x OpenGL

2003-08-29 Thread Fellipe Weno



Hi all,

I want configure my XFree to use glx support but it 
dont work i install nvidia-kernel and gl support but its dont work
i run opengl config i change to nvidia gl and if a 
try run xfree its dont start.
any idea is appreciated.

banza


Re: [gentoo-user] NVidia Riva TNT32 x OpenGL

2003-08-29 Thread Andrew Farmer
At 29 August, 2003 Fellipe Weno wrote:
 Hi all,
 
 I want configure my XFree to use glx support but it dont work i install 
 nvidia-kernel and gl support but its dont work
 i run opengl config i change to nvidia gl and if a try run xfree its dont start.
 any idea is appreciated.

Did you install xfree-drm?

-- 
Andrew Farmer
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


[gentoo-user] Tungsten T and Gentoo

2003-08-29 Thread dsoper
Hi all,

Has anyone gotten the Palm Tungsten T to work with Gentoo?  I've tried
the following:

1)  Replaced visor.c and visor.h in the gentoo sources with the
respective files in 2.4.22-vanilla.
2)  Compiled in all the kernel modules and inserted them as instructed
in the various howtos.
3)  Tried the various suggestions as to which /dev/usb/tts/ to use.
4)  Emerged hotplug.
5)  Done a hard reset.

When I try to sync the PDA, I can see the thing in /proc/bus/usb/device,
but I can't get it to sync.  Anyone have any ideas on this?

Cheers,
Dennis


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] NVidia Riva TNT32 x OpenGL

2003-08-29 Thread Michael Schreckenbauer
Am Freitag, 29. August 2003 22:45 schrieb Andrew Farmer:
 At 29 August, 2003 Fellipe Weno wrote:
  Hi all,
 
  I want configure my XFree to use glx support but it dont work i install
  nvidia-kernel and gl support but its dont work i run opengl config i
  change to nvidia gl and if a try run xfree its dont start. any idea is
  appreciated.

 Did you install xfree-drm?

Hello,
xfree-drm is not necessary, if you are using nvidia-kernel and nvidia-glx ;-) 
Have you changed your /etc/X11/XF86Config to use the nvidia-driver? There's a 
section that should read similar to this:
Section Device
  BoardNameAutoDetected
  Driver   nvidia  -- if you have nv or something diff here, change
  Identifier   Device[0]
  Option   dpms
  Option   HWCursor 1
  VendorName   AutoDetected
EndSection

If this does not help, could you post your /var/log/XFree86.0.log?

HTH
Michael


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] NVidia Riva TNT32 x OpenGL

2003-08-29 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

El Viernes Agosto 29 2003 18:09, Michael Schreckenbauer escribió:
 Am Freitag, 29. August 2003 22:45 schrieb Andrew Farmer:
  At 29 August, 2003 Fellipe Weno wrote:
   Hi all,
  
   I want configure my XFree to use glx support but it dont work i install
   nvidia-kernel and gl support but its dont work i run opengl config i
   change to nvidia gl and if a try run xfree its dont start. any idea is
   appreciated.
 
  Did you install xfree-drm?

 Hello,
 xfree-drm is not necessary, if you are using nvidia-kernel and nvidia-glx
 ;-) Have you changed your /etc/X11/XF86Config to use the nvidia-driver?
 There's a section that should read similar to this:
 Section Device
   BoardNameAutoDetected
   Driver   nvidia  -- if you have nv or something diff here,
 change Identifier   Device[0]
   Option   dpms
   Option   HWCursor 1
   VendorName   AutoDetected
 EndSection

 If this does not help, could you post your /var/log/XFree86.0.log?

 HTH
 Michael

To use nvidia-glx, doen't you need to run 
opengl-update nvidia 
as well ?
Thanks

- -- 
Pupeno: [EMAIL PROTECTED]
http://www.kde.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/T8UZLr8z5XzmSDQRAvzuAJ9DE6EcRF8YcYgTQSH1Za0/lHp14gCgiyqI
FyMZEBQjdeAtZdQpWaNbMRk=
=vewP
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification (not SOLVED)

2003-08-29 Thread Spider
begin  quote
On Fri, 29 Aug 2003 23:25:03 +0900
Jason Stubbs [EMAIL PROTECTED] wrote:

 To add some further information, I've found the following in 
 /var/log/mail/current:
 
 Aug 29 23:20:30 [procmail] Suspicious rcfile /home/jason/.procmailrc
 
 
 My /etc/procmailrc, btw, is as follows:
 
 DEFAULT=/var/spool/mail/$LOGNAME
 
 :0fw
 *  256000
 | /usr/bin/spamc -f
 
 INCLUDERC=$HOME/.procmailrc
 
 
 Byte for byte matching Spider's recommendations.

interesting.
Could you add VERBOSE=yes to the procmailrc and see that we can have
some information as to what is suspect?


-- 
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Procmail and mail notification (not SOLVED)

2003-08-29 Thread Spider
begin  quote
On Fri, 29 Aug 2003 23:25:03 +0900
Jason Stubbs [EMAIL PROTECTED] wrote:

 On Friday 29 August 2003 22:50, Jason Stubbs wrote:
  However, *any* mail that goes through it comes out blank! Whether it
  is spam or not! The script works fine from the shell so it's got to
  be something wrong with how I'm using procmail. I can't see where
  the error is though. I checked the $TMP files and both come out
  blank, so it seems that procmail is not piping the mail through the
  filter. Either way, it doesn't explain why spam is being corrupted
  as well. Can anyone help? Pretty please??
 
 To add some further information, I've found the following in 
 /var/log/mail/current:
 
 Aug 29 23:20:30 [procmail] Suspicious rcfile /home/jason/.procmailrc
 
 
 My /etc/procmailrc, btw, is as follows:
 
 DEFAULT=/var/spool/mail/$LOGNAME
 
 :0fw
 *  256000
 | /usr/bin/spamc -f
 
 INCLUDERC=$HOME/.procmailrc
 
 
 Byte for byte matching Spider's recommendations.
 

oh wait, I think I have it..
I Read The Fine Manual:

Suspicious rcfile x 

The owner of the rcfile was not the recipient or   
root, the file was world writable, or the direc-
tory that contained it was  world  writable,  or 
this  was the default rcfile ($HOME/.procmailrc)
and either it was group writable or the directo-   
ry that contained it was group writable (the
rc-file was not used).


//Spider


-- 
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] NVidia Riva TNT32 x OpenGL

2003-08-29 Thread Michael Schreckenbauer
Am Freitag, 29. August 2003 23:26 schrieb Pupeno:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 El Viernes Agosto 29 2003 18:09, Michael Schreckenbauer escribió:
  Am Freitag, 29. August 2003 22:45 schrieb Andrew Farmer:
   At 29 August, 2003 Fellipe Weno wrote:
Hi all,
   
I want configure my XFree to use glx support but it dont work i
install nvidia-kernel and gl support but its dont work i run opengl
config i change to nvidia gl and if a try run xfree its dont start.
any idea is appreciated.
  
   Did you install xfree-drm?
 
  Hello,
  xfree-drm is not necessary, if you are using nvidia-kernel and nvidia-glx
  ;-) Have you changed your /etc/X11/XF86Config to use the nvidia-driver?
  There's a section that should read similar to this:
  Section Device
BoardNameAutoDetected
Driver   nvidia  -- if you have nv or something diff here,
  change Identifier   Device[0]
Option   dpms
Option   HWCursor 1
VendorName   AutoDetected
  EndSection
 
  If this does not help, could you post your /var/log/XFree86.0.log?
 
  HTH
  Michael

 To use nvidia-glx, doen't you need to run
 opengl-update nvidia
 as well ?
 Thanks

 - --
 Pupeno: [EMAIL PROTECTED]
 http://www.kde.org

Hello,
yes, you are right, that's needed :-) I think, this was meant by 
...i run opengl config i change to nvidia gl..., but I could be wrong about 
that. Good point you mentioned this.

Greetings
Michael


--
[EMAIL PROTECTED] mailing list



[gentoo-user] S3 Savage and OpenGL?

2003-08-29 Thread Nathaniel McCallum
Is there a way to get opengl to work with a S3 Savage?  Thanks!
-- 
Nathaniel McCallum
[EMAIL PROTECTED]
http://glis.sourceforge.net


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] protest?

2003-08-29 Thread Mark Knecht
 El Viernes Agosto 29 2003 00:13, bob bob escribió:
  How long is this protest going to go on for? its really irritating for
  those of us not in europe that want to find information on the web...
 I hope that it is as long as needed... and I'm not european, not
 even living
 there, but it is nice to know there's still a place in the world
 with nice
 and logic laws.
 Thanks.
 - --
 Pupeno: [EMAIL PROTECTED]

I guess I need to go do some reading, because I don't understand the
protest. It always seems, to me anyway, like the have not's trying to use
what the have's have for free. It always comes off, to me, like it's a
requirement for companies to pay employees wages, but companies shouldn't be
able to own property, physical or intellectual no matter what they paid the
people to do the work.

Where can I read a discussion about both sides of this to get the other
point of view?

And sorry for using bandwidth, but at least I am trying to be constructive.

Thanks,
Mark



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] NVidia Riva TNT32 x OpenGL

2003-08-29 Thread Nicolas STURMEL
Michael Schreckenbauer wrote:
 
 Hello,
 yes, you are right, that's needed :-) I think, this was meant by 
 ...i run opengl config i change to nvidia gl..., but I could be wrong about 
 that. Good point you mentioned this.
 

Look at your XF86Config, you probably didn't enable the glx extension,
here is a piece of mine ( I use the nvidia driver with a Geforce4
MX440SE ) :

Loaddbe   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection  extmod
  Optionomit xfree86-dga   # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Loadtype1
Loadspeedo
Loadfreetype
Loadxtt

# This loads the GLX module
Load   glx
# This loads the DRI module
Load   dri

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge world conflicts

2003-08-29 Thread Spider
begin  quote
On Fri, 29 Aug 2003 13:24:42 -0600
Collins Richey [EMAIL PROTECTED] wrote:

 I've tried emerge -c libelf, but the package is marked as portected,
 so nothing happens.

you want -C not -c, difference there. (see man emerge for details.)


//Spider
-- 
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end


pgp0.pgp
Description: PGP signature


[gentoo-user] Build of ghostscript 7.05.6-r3 fails on gentoo 1.2

2003-08-29 Thread Konstantinos Agouros
Hi,

I tried to upgrade to the latest ghostscript version and got the following:

./src/gdevmjc.c:1753: invalid lvalue in assignment
./src/gdevmjc.c:1754: invalid lvalue in assignment
./src/gdevmjc.c:1755: `k7' undeclared (first use in this function)
./src/gdevmjc.c:1755: (Each undeclared identifier is reported only once
./src/gdevmjc.c:1755: for each function it appears in.)
./src/gdevmjc.c:1755: warning: right shift count = width of type
./src/gdevmjc.c:1757: `k8' undeclared (first use in this function)
./src/gdevmjc.c:1757: warning: right shift count = width of type
./src/gdevmjc.c:1760: warning: left shift count = width of type
./src/gdevmjc.c:1760: warning: left shift count = width of type
./src/gdevmjc.c:1780: warning: right shift count = width of type
./src/gdevmjc.c:1782: warning: right shift count = width of type
./src/gdevmjc.c:1784: warning: right shift count = width of type
./src/gdevmjc.c:1786: warning: right shift count = width of type
./src/gdevmjc.c:1790: warning: left shift count = width of type
./src/gdevmjc.c:1790: warning: left shift count = width of type
./src/gdevmjc.c:1790: warning: left shift count = width of type
./src/gdevmjc.c:1790: warning: left shift count = width of type
make: *** [obj/gdevmjc.o] Error 1

!!! ERROR: app-text/ghostscript-7.05.6-r3 failed.

Anybody a comment on that?

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: [EMAIL PROTECTED]
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] protest?

2003-08-29 Thread Renat Golubchyk
On Friday 29 August 2003 23:50, Mark Knecht wrote:
 I guess I need to go do some reading, because I don't understand the
 protest. It always seems, to me anyway, like the have not's trying to use
 what the have's have for free. It always comes off, to me, like it's a
 requirement for companies to pay employees wages, but companies shouldn't
 be able to own property, physical or intellectual no matter what they paid
 the people to do the work.

 Where can I read a discussion about both sides of this to get the other
 point of view?

Here is the main anti-patent site with many links and background information.
http://swpat.ffii.org/index.en.html
And it is pretty objective too. For even more links you can check out 
slashdot.

Oh, and by the way, as reported in the German heise newsticker, the vote in 
the European Parliament on the proposed legislation has been postponed due to 
the protest.


Cheers,
Renat


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] protest?

2003-08-29 Thread Norberto BENSA
Jorge Almeida wrote:
  On Fri, 29 Aug 2003, bob bob wrote:
  How long is this protest going to go on for? its really irritating for
  those of us not in europe that want to find information on the web...

 How is one supposed to know what you're talking about? Telepathy?

Go around. Check slashdot. Personally, I think this protest only hurts people 
using OSS. The pretest is absolutely pointless.

Regards,
Norberto


pgp0.pgp
Description: signature


[gentoo-user] KDE Sound

2003-08-29 Thread Ash Varma
Hello.

I have a problem with sounds and KDE.

I have ALSA compiled in as per instructions, and sound works perfectly
from XMMS and ogg123... However, on KDE startup, I get the following
message:


Sound server informational message:
Error while initializing the sound driver
device /dev/dsp can't be opened (no such file or directory)
The sound server will continue to use the null output device


However, as reported earlier, if I start XMMS music works fine.

There is no file/directory called /dev/dsp



Machine details:
Linux io 2.4.22 #1 Thu Aug 28 12:47:55 NZST 2003 i686 AMD Athlon(tm) XP 1800+ 
AuthenticAMD GNU/Linux
Gentoo Base System version 1.4.3.10

kde-3.1.3

alsa-lib-0.9.6
alsa-oss-0.9.6
alsa-driver-0.9.6
alsa-utils-0.9.6-r1

xmms-1.2.7-r25
alsa-xmms-0.9.12

/bin/ls: /dev/dsp: No such file or directory



Any help in getting sound working in KDE would be very much appreciated.



TIA
Ash




-- 

Ash Varma
[EMAIL PROTECTED]

... The prejudices people feel about each other disappear when then get
to know each other.
-- Kirk, Elaan of Troyius, stardate 4372.5

--
[EMAIL PROTECTED] mailing list



  1   2   >