RE: [gentoo-user] at, batch, atd

2005-09-09 Thread Frank Schafer
On Thu, 2005-09-08 at 13:31 +0100, Michael Kintzios wrote:
 
  -Original Message-
  From: Frank Schafer [mailto:[EMAIL PROTECTED] 
  Sent: 08 September 2005 12:56
  To: gentoo-user@lists.gentoo.org
  Subject: Re: [gentoo-user] at, batch, atd
  
  
  On Thu, 2005-09-08 at 13:42 +0200, Christoph Gysin wrote:
   Frank Schafer wrote:
does anyone know, in which packages are the commands 
  ``at'', ``batch'',
``atq'', ``atrm'' and the ``atd'' daemon?
   
   Why not try the obvious?
   
  
  .. because I still haven't Gentoo installed again ;) so I 
  have to search
  the Online Package Database. Searching ``at'' there finds a lot but
  not the at package.
 
 You could check out the search field in http://gentoo-portage.com/ to
 see if it is easier to narrow it down to the more relevant packages?
 -- 
 Regards,
 Mick
 

Searching ``at'' there finds a lot but not the at package. (Using the search 
field)
;)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] HELP! grub stops, only hard reset helps

2005-09-09 Thread Heinz Sporn
Am Donnerstag, den 08.09.2005, 20:20 +0200 schrieb capsel:
 current:
 hda1 swap
 hda2 reiserfs /
 ---previous1---
 hda1 ext2 /boot
 hda2 reiserfs /
 hda3 swap
 ---previous2---
 hda1 swap
 hda2 ext2 /boot
 hda3 reiserfs /
 
 swap is 258MB, /boot is about 24MB, / is rest of disk which is 10GB
 Should I post output of echo -ne p\nq\n | fdisk /dev/hda?
 
 device map:
 (fd0)   /dev/fd0
 (hd0)   /dev/hda
 
 grub.conf:
 ---
 #
 # Sample boot menu configuration file
 #
 #root (hd0,1)
 
 # Boot automatically after 30 secs.
 timeout 30
 
 # By default, boot the first entry.
 default 0
 
 # Fallback to the second entry.
 #fallback 1
 
 # For booting GNU/Linux
 title  Gentoo
 root (hd0,1)
 kernel /boot/bzImage root=/dev/hda2
 #initrd /initrd.img
 
 It doesn't matter which partition layout it is or grub.conf exist it
 still doesn't work.
 
 When you start grub from command line as root it shows how much memory
 it detected. In my case it shows only zeros like this:
 
 GNU GRUB  version 0.96  (0K lower / 0K upper memory)
 
  [ Minimal BASH-like line editing is supported.  For the first word, TAB
lists possible command completions.  Anywhere else TAB lists the possible
completions of a device/filename. ]
 
 -
 After this it halts and only reset works. I can't type anything or
 reset by ALT+CTRL+DEL.

Ok, now we're talking. When you enter Grub this way it doesn't care
about an existing configuration - so IMHO no problem there. Here's what
I would do:

1. Check if top shows reasonable results - if not step 3
2. Re-emerge grub - if that doesn't help - step 3
3. memtest86 for a day


 
 - Lilo works just fine so I can tar my filesystem to disk on USB and
 change partition scheme.
 - No option on BIOS about memory.
 - Laptop (hp pavilion n3390)
 
 And again - what am I doing wrong?
 
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
 [EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
 A-4540 Bad Hall
 Austria / Europe

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Encrypted NFS via ssh tunelling

2005-09-09 Thread Patrick Marquetecken
Hi,

I can do a nfs mount, but for security i would like to do it over ssh.
I always get this error:
mount: localhost:/usr/portage failed, reason given by server: Permission
denied
without the ssh tunnel i have no problems.
There are no firewall between the two machines, ssh between both goes fine.
My setup:
Attach NFS port of Server (2049) to local port 2818
ssh -f -L 2818:10.32.3.172:2049 -l root 10.32.3.172 sleep 86400

Attach mountD port of Server (675) to local port 3818
ssh -f -L 3818:10.32.3.172:675 -l root 10.32.3.172 sleep 86400

Mount
mount -t nfs -o tcp,port=2818,mountport=3818 localhost:/usr/portage
/usr/portage

ps -ef
root  9165 1  0 10:22 ?00:00:00 ssh -f -L
2818:10.32.3.172:2049 -l root 10.32.3.172
root  9173 1  0 10:23 ?00:00:00 ssh -f -L
3818:10.32.3.172:675 -l root 10.32.3.172

whats wrong here ?

TIA
Patrick
-- 
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] jack-audio-connection-kit-0.100.0 ??

2005-09-09 Thread Neil Bothwick
On Fri, 09 Sep 2005 14:03:24 +1200, Nick Rout wrote:

 emerge --digest jack-audio-connection
 
 will build the new digest thing, you no longer need to 
 
 ebuild /long/path/balh.ebuild digest
 
 first.

Neat, when was that added?

 Also remember someone made this ebuild -amd64 for a reason, it may not
 work (or worse it may screw something else). Simply changing -amd64 to
 amd64 or ~amd64 will _not_ fix it, it will merely make it available to
 screw with your system

Is -amd64 in the keywords, or is it simply missing any amd64 entry. It's
quite common for keywords to be missing because the ebuild author hasn't
been able to verify it works on that platform. I quite often add ~amd64 or
~ppc to the keywords (ekeyword is easier than editing the ebuild) and
find it works just fine.

Of course, you should report it as working on Bugzilla if that happens.


-- 
Neil Bothwick

Windows - so intuitive you only need a meg of help files!


pgp1QMiPlpN1u.pgp
Description: PGP signature


Re: [gentoo-user] ebuild error: multiple version parts

2005-09-09 Thread Neil Bothwick
On Fri, 09 Sep 2005 01:58:37 +0300, David Harel wrote:

 I got this script (attached below). When I run it:
 $ ebuild /tmp/28102-ktranslator-0.3.ebuild setup
 I get:
 !!! Name error in 28102-ktranslator-0.3: multiple version parts.
 !!! Error: PF is null '28102-ktranslator-0.3'; exiting.
  
  
  Portage is seeing two version numbers in the filename, 0.3 and 28102. 
  Rename the ebuild to ktranslator-0.3.ebuild.
 
 Now I get:
 !!! aux_get(): ebuild path for '/ktranslator-0.3' not specified:
 !!!None

Of course you are, because the ebuild in in /temp not in your overlay.
You need to save it to
$PORTDIR_OVERLAY/cate-gory/ktranslator/ktranslator-0.3.ebuild


-- 
Neil Bothwick

Energize! said Picard and the pink bunny appeared...


pgpEGANEzfyTg.pgp
Description: PGP signature


Re: [gentoo-user] jack-audio-connection-kit-0.100.0 ??

2005-09-09 Thread Alex
On Friday 09 September 2005 02:03, Nick Rout wrote:
 Not sure what happens if you have more than one overlay.

emerge will choose the last in line (as put in  PORTDIR_OVERLAY) overlay 
containing the ebuild.

 By the way:

 emerge --digest jack-audio-connection

 will build the new digest thing, you no longer need to

 ebuild /long/path/balh.ebuild digest

wow thanx for that :)
-- 
Cheers, Alex.


pgp3DwrmtHlAW.pgp
Description: PGP signature


Re: [gentoo-user] instalation and mount cdrom

2005-09-09 Thread Alex
On Friday 09 September 2005 02:49, Alvin ONeal Jr wrote:
 mount /dev/hdb1 /mnt/cdrom

this should be:
# mount /dev/hdc /mnt/cdrom

-- 
Cheers, Alex.


pgpVcQBTNcBWY.pgp
Description: PGP signature


[gentoo-user] Acer SmartBattery support

2005-09-09 Thread Frank Schafer
Hi list,

just now my Acer TM2313 is emerging system at home. If I return home
from work I plan to complete the installation.
My question: Is gentoo-sources patched with the acpi_sbs patch or will I
need to get it somewhere and patch it myself?

Googling around I found (on the Gentoo forum ;) that the latest release
is acpi_sbs-20050119. Well I got acpi_sbs-20050120 right now.

The posts on the forum are quite old. The patch is for a linux-2.6.10
kernel. Has anyone experiences with a recent kernel in portage and this
patch?

Thanks in advance
Frank

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] howto update whole system and all applications

2005-09-09 Thread pat
Hi all,

I want to update whole my system and all applications. I want this because
I've changed USE flags and changed available locales for the glibc. I know
this update can throw me into troubles, but I want to try this :-)

So, I know the system can be updated by the:
emerge --update --deep system

and the the world can be updated by the:
emerge --update --deep wold

but those two looks simillar to me.

What I have to do to update everything within my Linux box ???

Thanks

 Pat
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Frank Schafer
On Fri, 2005-09-09 at 10:34 +0200, pat wrote:
 Hi all,
 
 I want to update whole my system and all applications. I want this because
 I've changed USE flags and changed available locales for the glibc. I know
 this update can throw me into troubles, but I want to try this :-)
 
 So, I know the system can be updated by the:
 emerge --update --deep system
 
 and the the world can be updated by the:
 emerge --update --deep wold
 
 but those two looks simillar to me.
 
 What I have to do to update everything within my Linux box ???
 
 Thanks
 
  Pat

Hi Pat,

AFAIK it's ``emerge --newuse world'' in the case of a USE flag change.

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread pat
On Fri, 09 Sep 2005 10:37:41 +0200, Frank Schafer wrote
 On Fri, 2005-09-09 at 10:34 +0200, pat wrote:
  Hi all,
  
  I want to update whole my system and all applications. I want this because
  I've changed USE flags and changed available locales for the glibc. I know
  this update can throw me into troubles, but I want to try this :-)
  
  So, I know the system can be updated by the:
  emerge --update --deep system
  
  and the the world can be updated by the:
  emerge --update --deep wold
  
  but those two looks simillar to me.
  
  What I have to do to update everything within my Linux box ???
  
  Thanks
  
   Pat
 
 Hi Pat,
 
 AFAIK it's ``emerge --newuse world'' in the case of a USE flag change.
 
 Regards
 Frank

Yes, it does, but the world doesn't contains all installed applications.

I've tryed to --emptytree flag but still missing some installed applications :-(

Thanks

 Pat
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Alex
On Friday 09 September 2005 08:34, pat wrote:
 What I have to do to update everything within my Linux box ???

emerge --update --deep --newuse world

--update --deep will check the whole dependency tree for updates and 
--newuse will include the packages whose USE-flags changed
-- 
Cheers, Alex.


pgp3OqlsxtFmF.pgp
Description: PGP signature


RE: [gentoo-user] HELP! grub stops, only hard reset helps

2005-09-09 Thread Michael Kintzios


 -Original Message-
 From: Heinz Sporn [mailto:[EMAIL PROTECTED] 
 Sent: 09 September 2005 07:19
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] HELP! grub stops, only hard reset helps
 
[snip]
 Ok, now we're talking. When you enter Grub this way it doesn't care
 about an existing configuration - so IMHO no problem there. 
 Here's what
 I would do:
 
 1. Check if top shows reasonable results - if not step 3
 2. Re-emerge grub - if that doesn't help - step 3
 3. memtest86 for a day

Re-emerge and re-install Grub.  If Grub hangs when you try to install
it, which I assume is what is happening, then you can try starting as: #
grub --no-floppy, to see if it works.  Grub hanging basically implies
that there's a hardware hick up of some sort.

If Lilo works fine regardless and re-emerging/re-installing Grub does
not resolve the problem, could you please show us your Lilo config file
to see if we can draw some parallels between the two boot loaders.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Frank Schafer
On Fri, 2005-09-09 at 12:08 +, Alex wrote:
 On Friday 09 September 2005 08:34, pat wrote:
  What I have to do to update everything within my Linux box ???
 
 emerge --update --deep --newuse world
 
 --update --deep will check the whole dependency tree for updates and 
 --newuse will include the packages whose USE-flags changed

... due to:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=2

# emerge --update --deep --newuse world
# emerge --depclean
# revdep-rebuild

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Neil Bothwick
On Fri, 9 Sep 2005 10:43:51 +0200, pat wrote:

 Yes, it does, but the world doesn't contains all installed
 applications.

It contains all the applications you have explicitly installed, the rest
should be dependencies of these, so will be picked up by --emptytree. You
may have some orphaned dependencies lying around, which depclean will
pick up.

 I've tryed to --emptytree flag but still missing some installed
 applications :-(

You don't really need to rebuild the whole system. Rebuilding glibc will
take care of your changed locales, and --newuse will handle the changed
USE flags. I would do

emerge -av glibc
emerge -uavDN world
emerge -a depclean

Check the packages that depclean wants to remove. If there are any you
want to keep, add them to world with

emerge -n packagename

Let depclean remove the rest and your system should be up to date and
consistent with your settings. The only time you would need to use
--emptytree is if you have changed CFLAGS or LDFLAGS, in which case, you
should do it after carrying out the above steps.


-- 
Neil Bothwick

Apple I (c) Copyright 1767, Sir Isaac Newton.


pgpJZY5Z06CKa.pgp
Description: PGP signature


Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Alex
On Friday 09 September 2005 09:12, Frank Schafer wrote:
 # emerge --update --deep --newuse world
 # emerge --depclean
 # revdep-rebuild

yeap, that would be the coplete prosedure :)
-- 
Cheers, Alex.


pgpnqy1uOGLK5.pgp
Description: PGP signature


Re: [gentoo-user] HELP! grub stops, only hard reset helps

2005-09-09 Thread capsel
 Ok, now we're talking. When you enter Grub this way it doesn't care
 about an existing configuration - so IMHO no problem there. Here's what
 I would do:
 
 1. Check if top shows reasonable results - if not step 3
 2. Re-emerge grub - if that doesn't help - step 3
 3. memtest86 for a day
 

I don't know what are not reasonable results in top - haven't ever
seen such results. IMHO it shows correct values about memory,
processes, buffers and cpu load.

I tryed grub 0.96, 0.97 with same results, reemerging them didn't
helped. If you use grub what CFLAGS do you have? I've got -march=i586
-mcpu=pentium3 -O -pipe.

If it is memory failure what other effects would I see on my system?
My friend had broken RAM and linux was very unstable, he had random
compilation errors and other strange effects.

Is it possible that grub wants to have RAM in first memory slot and
I have it in second one?

I'll leave memtest for a night.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] HELP! grub stops, only hard reset helps

2005-09-09 Thread capsel
 Re-emerge and re-install Grub.  If Grub hangs when you try to install
 it, which I assume is what is happening, then you can try starting as: #
 grub --no-floppy, to see if it works.  Grub hanging basically implies
 that there's a hardware hick up of some sort.
 
 If Lilo works fine regardless and re-emerging/re-installing Grub does
 not resolve the problem, could you please show us your Lilo config file
 to see if we can draw some parallels between the two boot loaders.

grub hangs while booting and there are no errors when I install it on
mbr (BIOS supports only mbr booting).

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread pat
On Fri, 9 Sep 2005 12:30:28 +, Alex wrote
 On Friday 09 September 2005 09:12, Frank Schafer wrote:
  # emerge --update --deep --newuse world
  # emerge --depclean
  # revdep-rebuild
 
 yeap, that would be the coplete prosedure :)
 -- 
 Cheers, Alex.

Frank, Alex

OK, thanks for the help I'll try this one.

 Pat
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Re: iptables example on Gentoo

2005-09-09 Thread Michael Kintzios


 -Original Message-
 From: Dave Nebinger [mailto:[EMAIL PROTECTED] 
 Sent: 08 September 2005 17:42
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Re: iptables example on Gentoo
 
[snip] 
 It does generate iptable rules, but they are customized for 
 shorewall's 
 purposes.  For example, my shorewall setup builds the 
 following iptables 
 rules:
 
 # Generated by iptables-save v1.3.2 on Thu Sep  8 12:32:48 2005
 *nat
 :PREROUTING ACCEPT [34942:3100331]
 :POSTROUTING ACCEPT [106864:7597940]
 :OUTPUT ACCEPT [106858:7597722]
 :net_dnat - [0:0]
 :w1ad_masq - [0:0]
 -A PREROUTING -i w1ad -j net_dnat
 -A POSTROUTING -o w1ad -j w1ad_masq
 -A net_dnat -p udp -m multiport --dports 

What is the [34942:3100331] and [106864:7597940] references above?

 These are all valid rules and are constructed by shorewall.  
 Would they be 
 the same if I hand-coded them?  Absolutely not.  I wouldn't 
 have so many 
 custom chains and would probably reorder the rules to give 
 priorities to 
 specific services.
 
 And, I would argue that whilst these rules are valid and do 
 perform the 
 firewall chores that I want/need, the format of the rules 
 would leave a lot 
 to be desired to try to maintain manually via the command line.

If I understand this right:  Shorewall, firehol, fwbuilder, etc.,
'just-works', but it kludges the iptables?  Some of these 'helpers' may
also require you to learn some additional scripting format other than
the conventional iptables.  I guess that's similar to using some HTML
WYSIWYG instead of hand coding it yourself.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] HELP! grub stops, only hard reset helps

2005-09-09 Thread Mariusz Pękala
On 2005-09-09 11:30:55 +0200 (Fri, Sep), capsel wrote:
 grub hangs while booting and there are no errors when I install it on
 mbr (BIOS supports only mbr booting).

Excuse me, but could you describe what EXACTLY you can see on screen
before GRUB hangs?

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgp7hS2OGNCsH.pgp
Description: PGP signature


Re: [gentoo-user] iptables example on Gentoo

2005-09-09 Thread Timo Boettcher
Hi Dave,


* Dave Nebinger [EMAIL PROTECTED], Tuesday, September 6, 2005, 7:39:53 PM:

 I've been trying to build a simple firewall with a DMZ for a
 web server.

 Dude, trying to use iptables directly was your first mistake.
no, it wasn't.

I have written some small example script
http://forums.gentoo.org/viewtopic.php?p=377447
that (IMO) is quite modular...


 Timo

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: iptables example on Gentoo

2005-09-09 Thread Dave Nebinger

# Generated by iptables-save v1.3.2 on Thu Sep  8 12:32:48 2005
*nat
:PREROUTING ACCEPT [34942:3100331]
:POSTROUTING ACCEPT [106864:7597940]
:OUTPUT ACCEPT [106858:7597722]
:net_dnat - [0:0]
:w1ad_masq - [0:0]
-A PREROUTING -i w1ad -j net_dnat
-A POSTROUTING -o w1ad -j w1ad_masq
-A net_dnat -p udp -m multiport --dports


What is the [34942:3100331] and [106864:7597940] references above?


Without specifying options to iptables-save, it includes the counters in the 
format [packet-counter:byte-counter].  I don't use the counters myself, so I 
don't really know for sure what purpose they serve (I'm sure the doco could 
shed some light on it).  My guess is that they are used for either QOS or 
throttling or something.



These are all valid rules and are constructed by shorewall.
Would they be
the same if I hand-coded them?  Absolutely not.  I wouldn't
have so many
custom chains and would probably reorder the rules to give
priorities to
specific services.

And, I would argue that whilst these rules are valid and do
perform the
firewall chores that I want/need, the format of the rules
would leave a lot
to be desired to try to maintain manually via the command line.


If I understand this right:  Shorewall, firehol, fwbuilder, etc.,
'just-works', but it kludges the iptables?  Some of these 'helpers' may
also require you to learn some additional scripting format other than
the conventional iptables.


I don't think that 'kludges' is the right word for it.

When hand-coding iptables scripts, it makes sense to create custom chains to 
organize your iptables script somewhat.  Shorewall (and the others although 
I'm not familiar with their direct interactions with iptables) does this as 
well.  The difficulty is that shorewall is capable of handling so many 
different configurations.  The various custom chains that it creates are 
targeted towards someone that's using all of the various parts of shorewall; 
when you scale back to a limited setup with a small set of logical rules, 
shorewall still handles it easily but constructs all of the custom chains 
and interlinkings that would be used in a more complex setup.


Which is why the iptables-save output I posted is a heck of a lot bigger 
than what my logical set of rules contains.



I guess that's similar to using some HTML
WYSIWYG instead of hand coding it yourself.


That's a very good analogy, and more apropos to the actual output of 
shorewall et. al.  Although the output of the tool is functionaly similar to 
what you would do by hand, it is typically more complicated and not close to 
what you would have done hand-coding it.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] iptables example on Gentoo

2005-09-09 Thread Dave Nebinger

Dude, trying to use iptables directly was your first mistake.

no, it wasn't.

I have written some small example script
http://forums.gentoo.org/viewtopic.php?p=377447
that (IMO) is quite modular...


Yes, Timo, it is quite modular and quite thorough.  It represents a great 
job at developing a general set of rules.


But I would raise the following issues:

1. FTP support: You've allowed for the active ftp protocols on ports 20  
21, but what about passive?  This traffic will usually be on the higher 
ports (typically a range specified in the configuration for the ftp daemon). 
I do believe that if the ftp daemon tries to open a passive connection 
outbound it's going to get knocked off at the knees.


2. Measure the checks: The more checks that a packet goes through, the 
longer it will take to travel through the iptables stack.  Your script has a 
lot of checks in it.  Consider a pgp packet as it traverses all of the 
chains etc. that you've specified.  You're probably looking at 30+ checks at 
least (although I haven't counted each individual check, but I'm confident 
it is quite a large number).  That's a significant number of hops and means 
the packet is going to be hanging around on the box a lot longer than what 
it really should.


3. No detail on why the checks are ordered in the way they are (is there an 
order?):  As #2 indicates, the increased number of checks that a packet 
needs to be pushed through means it will hang around on the box longer. 
Therefore they should be ordered to give priority to either a) heavily used 
ports or b) ports you want to have processed sooner rather than later.


4. No reason for accepting specific outbound traffic: I tend to prefer 
allowing all outbound traffic and filter on those ports that shouldn't be 
going outbound (i.e. dhcp responses, dns responses, ipp packets, windows 
networking stuff, known trojan/virus ports).  It greatly reduces the number 
of checks outbound traffic needs to go through.


Obviously to improve the throughput you'd have to alter the script to use 
multiple ports on accept lines.  Once you start doing that, though, you lose 
the modularity that you've built into the script.


The point that needs to be made is that there is no 'one iptables script 
fits all'.  Each site, each box for that matter, has it's own set of 
services and it's own usage criteria.  To that end the iptables rules will 
(should) always vary from box to box, whether it is a server, a desktop, a 
gateway, or some combination of the three.


New users looking to get their boxen online grab scripts like this thinking 
they are going to secure it for them, yet they don't understand the nuances 
of the individual rules nor how they are grouped.  How many folks that grab 
the script are going to know what the teamspeak or pgp ports are for and 
whether they need them or not?  How many are going to know that they've 
exposed their system to incoming teamspeak packets, whether they have 
teamspeak or not?


--
gentoo-user@gentoo.org mailing list



[gentoo-user] install Gentoo Linux on RS/6000

2005-09-09 Thread Gentoo Shadow
Dear friends,

i have a old RS/6000(43P Model 150 Type: 7043-150) machine. this is 1st
time i see a such machine. so i don't know how to start to install
it... any now i need to install Gentoo 2005.1. so if any body know how
to access the bios or how to start to install from a cd. please guide
me.-- ...The future lies ahead. ___ Have you mooed today?  ---\^__^ \ (oo) \___
(__)
\
)\/\||--w|||
||Gentoo Linux 2.6.12-gentoo-r4-AIT-v3.3#


Re: [gentoo-user] Encrypted NFS via ssh tunelling

2005-09-09 Thread Hans-Werner Hilse
Hi,

On Fri, 9 Sep 2005 09:29:18 +0200 (CEST)
Patrick Marquetecken [EMAIL PROTECTED] wrote:

 I always get this error:
 mount: localhost:/usr/portage failed, reason given by server: Permission
 denied

 Attach NFS port of Server (2049) to local port 2818
 ssh -f -L 2818:10.32.3.172:2049 -l root 10.32.3.172 sleep 86400
 
 Attach mountD port of Server (675) to local port 3818
 ssh -f -L 3818:10.32.3.172:675 -l root 10.32.3.172 sleep 86400

so the SSH server will make a connection to its own external IP. It
will also probably use its own external IP (not 127.0.0.1) as
originating address. What IPs are allowed access by its /etc/exports ?

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install Gentoo Linux on RS/6000

2005-09-09 Thread John Jolet
there is no bios as such on those boxes.  I think the 43p was a POWER 
architecture box, wasn't it?  I don't know of any linux that will install on 
a POWER architecture box.  In addition, it uses microchannel, not pci (unless 
i'm getting my models mixed up).
On Friday 09 September 2005 10:08, Gentoo Shadow wrote:
 Dear friends,

 i have a old RS/6000(43P Model 150 Type: 7043-150) machine. this is 1st
 time i see a such machine. so i don't know how to start to install it...
 any now i need to install Gentoo 2005.1. so if any body know how to access
 the bios or how to start to install from a cd. please guide me.

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Re: iptables advice for stand alone box under different usage scenarios

2005-09-09 Thread Michael Kintzios


 -Original Message-
 From: Dave Nebinger [mailto:[EMAIL PROTECTED] 
 Sent: 08 September 2005 21:27
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Re: iptables advice for stand 
 alone box under different usage scenarios
 
 
  For the gentoo box to act as the router/gateway/hub, you 
 need more than
  one ethernet card in the box.
 
  OK, but under the ADSL connection scenario (diagram A) I 
 already have a
  hardware router/gateway, so do I still need a two card 
 configuration? 
  What
  I am trying to do is protect the Gentoo box from other 
 boxes in the LAN
  (behind the Netgear router), or when connected to the 
 Internet via dialup
  then protect it from other internet machines.
 
 Depends.  Personnally I had little love for my netgear router 
 when it was in 
 place.  I had a couple of issues:
 
 1.  Although my gentoo box allowed for externally-generated 
 syslog entries, 
 the netgear router (even though the gui suggested it would) would not 
 forward syslog messages to my gentoo box, so I missed out on 
 things like 
 knowing who was hitting the router.

I think that things have improved a lot since you last used netgear.
The DG384 is now on version 2.10.22 of their embedded image firmware,
which offers a lot more functionality than just a couple of years ago.
It now offers VPN with Ipsec connectivity.  Also, it can broadcast the
logs on the LAN, or you can set a specific IP address to FWD them to.
You can of course still use the http gui to see the logs, save them
manually or have them emailed to you regularly, or when a warning/alarm
is triggered.
 
 2. Could not find an easy way to extract the external IP 
 address from the 
 darn thing.  My domain name is managed via dyndns.org, and I 
 only wanted to 
 trigger an update when an actual ip address change occurred.  
 It was either 
 that or tickle the dyndns.org system every few minutes so it 
 would update IP 
 address from the incoming connnection.

I've got a fixed IP address so I didn't need this feature, but
'tickling' the dyndns.org is the default method (don't think that you
can set the interval).  It works like a client which logs on to the
dyndns server and updates the IP address - not sure if it's more
intelligent than just doing that every few minutes).  
 
 3. Performance, over time, would drop down to a trickle.  The 
 only way to 
 get it back up was to reboot the router.  And since I didn't 
 want to expose 
 the admin interface to the world, that meant that I would 
 have to wait till 
 I was on-site to reboot it.

Aahh, that's not on!  I haven't noticed any such problem with mine.  Are
you sure it wasn't an ISP throttling, or contention ratio issue?  Access
to netgear's remote web interface can be restricted to a particular IP
address/port number and you can also remotely reboot the rooter.
 
 4. DNS  DHCP - It still isn't clear to me how their DNS is 
 set up; although 
 it will act as the gateway for internal systems, I couldn't 
 tell if it was 
 using a caching DNS service or was just passing DNS queries 
 up the stream 
 for processing.  DHCP gets managed by the router, so you have 
 little control 
 beyond designating the range to use for dynamic address assignments.

I understand that it can obtain an IP address, subnet mask, DNS server
addresses, and a gateway address if the ISP provides this information by
DHCP.  To act as a DHCP server for the LAN it has to keep its own
routing tables, but I am not sure what it does with regards to DNS.  I
believe that it keeps stuff in the local cache but don't know the size
of the cache.  On the other hand it might just be passing all DNS
queries to the ISP's DNS servers?

 5. No DMZ support - everything plugged into the netgear box 
 is 'exposed'. 
 In my current gentoo gateway, I can and do severely limit 
 traffic on the 
 intranet side while being a little less controlling on the 
 DMZ side.  Should 
 a penentration of the DMZ occur, I know that the line of 
 demarcation between 
 the DMZ and the intranet should protect my sensitive information.

As  I understand it, now you get the full DMZ facility for a complete
box/IP address.

 6. No ssh access, no ability to programmatically get 
 information from the 
 router, and other minor complaints.

Yes, unfortunately there's no raw engine room access, just the http gui,
but for a simple network setup it should be OK.
 
 In any case I ended up dumping netgear and running with a 
 Sangoma ADSL card. 
 All the benefits of using ADSL whilst including all the access and 
 administration my gentoo box allows.

That's for sure a more flexible self-determining approach, especially if
you have a complex network configuration.

Q1. If I connect my Gentoo box on its own (stand alone) via a dialup
modem to the internet what's my internal iface and what is the external?
Q2. Can I run public services http/ftp/mail on the Gentoo box and in
parallel continue using it as a desktop (simultaneously)?  How do I set
this up?  

Re: [gentoo-user] install Gentoo Linux on RS/6000

2005-09-09 Thread Michael Crute
On 9/9/05, John Jolet [EMAIL PROTECTED] wrote:
there is no bios as such on those boxes.I think the 43p was a POWERarchitecture box, wasn't it?I don't know of any linux that will install on
a POWER architecture box.In addition, it uses microchannel, not pci (unlessi'm getting my models mixed up).On Friday 09 September 2005 10:08, Gentoo Shadow wrote:
You should be able to use the PPC version of Gentoo since Power and PPC are basically the same architecture, right?

-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates? 



Re: [gentoo-user] install Gentoo Linux on RS/6000

2005-09-09 Thread John Jolet
On Friday 09 September 2005 10:30, Michael Crute wrote:
 On 9/9/05, John Jolet [EMAIL PROTECTED] wrote:
  there is no bios as such on those boxes. I think the 43p was a POWER
  architecture box, wasn't it? I don't know of any linux that will install
  on
  a POWER architecture box. In addition, it uses microchannel, not pci
  (unless
  i'm getting my models mixed up).
  On Friday 09 September 2005 10:08, Gentoo Shadow wrote:
 
  You should be able to use the PPC version of Gentoo since Power and PPC

 are basically the same architecture, right?
  -Mike
noo.  don't let the similarity in name fool you.  wouldn't hurt to try, 
but i'd be VERY surprised if it works (for instance, the powerpc version of 
aix won't boot one of those and vice-versa)
-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: iptables advice for stand alone box under different usage scenarios

2005-09-09 Thread Dave Nebinger

3. Performance, over time, would drop down to a trickle.  The
only way to
get it back up was to reboot the router.  And since I didn't
want to expose
the admin interface to the world, that meant that I would
have to wait till
I was on-site to reboot it.


Aahh, that's not on!  I haven't noticed any such problem with mine.  Are
you sure it wasn't an ISP throttling, or contention ratio issue?


Well, it would be solved by a router reboot, so I don't think that it could 
be throttling or contention from the ISP side.


I have noticed that there are times when, due to VCI/VPI errors on the ADSL 
line that sometimes retraining results in a significantly lower 
download/upload rate.  When this happens I end up manually stopping/starting 
the ADSL card and that typically brings the throughput rate back up to where 
it should be.  If I'm remote I just trigger a script that manages it for me 
(since the connection goes down in the process) and reconnect after the box 
reconnects itself.



Access
to netgear's remote web interface can be restricted to a particular IP
address/port number and you can also remotely reboot the rooter.


This works if you have a known address that you're going to be coming from. 
But if you need to recycle the router and all you have access to is the 
hotspot at Starbucks, you're kinda limited (for good reasons ;-)



I understand that it can obtain an IP address, subnet mask, DNS server
addresses, and a gateway address if the ISP provides this information by
DHCP.  To act as a DHCP server for the LAN it has to keep its own
routing tables, but I am not sure what it does with regards to DNS.  I
believe that it keeps stuff in the local cache but don't know the size
of the cache.  On the other hand it might just be passing all DNS
queries to the ISP's DNS servers?


Ah, but my gentoo server uses a caching dns scheme, as well as providing 
naming services for boxen inside the network, both of which are not possible 
with the netgear box.



5. No DMZ support - everything plugged into the netgear box
is 'exposed'.
In my current gentoo gateway, I can and do severely limit
traffic on the
intranet side while being a little less controlling on the
DMZ side.  Should
a penentration of the DMZ occur, I know that the line of
demarcation between
the DMZ and the intranet should protect my sensitive information.


As  I understand it, now you get the full DMZ facility for a complete
box/IP address.


I think you're confusing the 'pass through' setup with a dmz.  The pass 
through thing built into the netgear which they refer to as a DMZ just 
routes all traffic inbound to a specific box.  This is useful in gaming 
where one wouldn't know or want to find all of the ports necessary to open 
to get a game to work through a firewall.


For network terminology, however, the DMZ is a separate subnet from your 
primary intranet; each subnet can have multiple boxen residing in it.  Most 
incoming traffic is routed to systems in the DMZ and does not go to the 
intranet subnet.  You can't do this with the netgear without more hardware 
(i.e. a switch plugged into the dmz port of netgear that routes to different 
internal systems).



6. No ssh access, no ability to programmatically get
information from the
router, and other minor complaints.


Yes, unfortunately there's no raw engine room access, just the http gui,
but for a simple network setup it should be OK.


Agreed.  For the average home network user I would say they should use a 
netgear or linksys or something - my setup is not typical and not for 
newbies ;-)



In any case I ended up dumping netgear and running with a
Sangoma ADSL card.
All the benefits of using ADSL whilst including all the access and
administration my gentoo box allows.


That's for sure a more flexible self-determining approach, especially if
you have a complex network configuration.


Well, I don't know if I'd call it complex.  One powerful gentoo box running 
as gateway  server, a DMZ with smaller servers hosting internal and 
external services, and an intranet hosting gentoo  windows boxen.  8 to 10 
boxen at any given time.



Q1. If I connect my Gentoo box on its own (stand alone) via a dialup
modem to the internet what's my internal iface and what is the external?


That will be your ppp interface, a logical interface that should show up 
when you do the ifconfig after connecting.  The internal interfaces will 
still be your ethernet cards and lo.



Q2. Can I run public services http/ftp/mail on the Gentoo box and in
parallel continue using it as a desktop (simultaneously)?  How do I set
this up?  How do I define my ifaces?


Sure.  Just emerge the services you want to run, configure them, then 
rc-update add [service] default.  That will bring the services up when the 
system boots.


Gentoo  linux in general to not make a distinction between a desktop system 
and a server system, as in the Windows world.  The same kernel is used, the 
same core set of software, etc.  The 

Re: [gentoo-user] install Gentoo Linux on RS/6000

2005-09-09 Thread Covington, Chris
 noo.  don't let the similarity in name fool you.  wouldn't hurt to

 try, but i'd be VERY surprised if it works (for instance, the powerpc 
 version of aix won't boot one of those and vice-versa) 

It should work fine:

http://www.tldp.org/HOWTO/IBM7248-HOWTO/

---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] how can i find out my motherboard?

2005-09-09 Thread renna bud
is there a command to let me know the name and model of my motherboard, 
without having to open my pc-case (or worse to find the manual and box in which it came) ? thanks


Re: [gentoo-user] how can i find out my motherboard?

2005-09-09 Thread Jarry

renna bud wrote:


is there a command to let me know the name and model of my motherboard


Some motherboards display it on screen during start-up, on the very
beginning (like my asus mo-bo). Others might show it in bios-screen...

Jarry

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how can i find out my motherboard?

2005-09-09 Thread Mark Knecht
On 9/9/05, renna bud [EMAIL PROTECTED] wrote:
 is there a command to let me know the name and model of my motherboard, 
  without having to open my pc-case (or worse to find the manual and box in
 which it came) ? thanks 

I don't know of one. You can use lspci to get a list of devices, but
not the model number. You'd have to read BIOS to figure this out I
think. Where that info is held in BIOS probably differs from
manufacturer to manufacturer.

I'm interested also. If this was possible then it seems that a Linux
install could do an even better job.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how can i find out my motherboard?

2005-09-09 Thread Dave Nebinger
is there a command to let me know the name and model 
of my motherboard, without having to open my pc-case 
(or worse to find the manual and box in which it came) ? thanks 


emerge dmidecode

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how can i find out my motherboard?

2005-09-09 Thread Holly Bostick
renna bud schreef:
 is there a command to let me know the name and model of my 
 motherboard, without having to open my pc-case (or worse to find the 
 manual and box in which it came) ? thanks

Hi, renna,

As far as I know, there is not such a command-- but there is a command
to find out the information that you're probably looking for (which is
not actually the mobo make and model, but the mobo *chipset*).

You need to know the chipset to work effectively with the kernel; and
the command (as root)

#lscpci

will most likely give you the information you need, as follows:

lspci
:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo
KT266/A/333]
:00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo
KT266/A/333 AGP]
:00:09.0 Multimedia audio controller: C-Media Electronics Inc CM8738
(rev 10)
:00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
:00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
:00:11.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB
1.1 Controller (rev 1b)
:00:11.3 USB Controller: VIA Technologies, Inc. VT82x UHCI USB
1.1 Controller (rev 1b)
:00:11.4 USB Controller: VIA Technologies, Inc. VT82x UHCI USB
1.1 Controller (rev 1b)
:01:00.0 VGA compatible controller: ATI Technologies Inc R350 AH
[Radeon 9800]
:01:00.1 Display controller: ATI Technologies Inc Radeon R350
[Radeon 9800] (Secondary)

As you can see, my chipset is clearly identified as an Apollo KT266A
at with a bus speed of 333 Mhz, VIA is plastered all over the
motherboard resources (host bridge, PCI bridge, USB controller are all
motherboard resources), so it's a VIA chipset, and you also see the chip
numbers for the northbridge and southbridge chips (or you would see the
southbridge if I was using the onboard sound), which is variously listed
as 8233 or VT82686, so you'd know what options were for your actual mobo
when you're configuring your kernel.

However, if you really *really* need to know the mobo manufacturer and
model number for some other reason, I would suggest:

1) looking at your invoice (some computer stores do list the parts they
used when building the PC, some don't)

2) looking in the manual you may have received (the 'specifications'
area of any manual is supposed to tell you what parts the unit is made of)

3) going to the PC manufacturer's website and seeing if they list the
parts used in your model (this could be in service, rather than on the
product page).

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how can i find out my motherboard?

2005-09-09 Thread Mark Knecht
On 9/9/05, Dave Nebinger [EMAIL PROTECTED] wrote:
  is there a command to let me know the name and model
  of my motherboard, without having to open my pc-case
  (or worse to find the manual and box in which it came) ? thanks
 
 emerge dmidecode

Very nice. Thanks!

- Mark

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Squid - http_access deny all not working

2005-09-09 Thread Ryan Viljoen
Hey all

I have a curious problem with squid. At my old high school they have to machines.
Machine A - Mail, file, et al server. It has squid running but deny's
all access except to those fortunate people (IP's). Running red hat
(dont ask not my baby). 192.168.1.3:3128

Machine B - Proxy server. It has squid (192.168.1.4:port 3128) and
dansguardian running (192.168.1.4:8080). Does the authentication
through Machine A. Running Gentoo o///

Up until the other day you could not gain access to squid from port
3128 except for local host. All the comps are setup to use 8080. Now I
did some testing with squid. If I formally declare:
ACL pc src 192.168.1.132
http_access deny pc

That pc is denied access through 3128 yet the others are still allowed through even though:
ACL localhost 127.0.0.1/255.255.255.255
http_access deny !localhost

ACL all src 0.0.0.0/0.0.0.0 
http_access deny all

Now this was working up until the other day :( The same problem is
being experienced on Machine A where people (IP's) that would and
should fall under the deny all rule are not being blocked.

Can anyone speculate as to what may be causing this? I dont know if the [roblems are related but I suspect so. 

Thanks Rav
-- When you play a Microsoft CD backwards you can hear demonic
Voices... that's nothing - when you play it forward it installs Windows


Re: [gentoo-user] how can i find out my motherboard?

2005-09-09 Thread Holly Bostick
Dave Nebinger schreef:
 is there a command to let me know the name and model of my 
 motherboard, without having to open my pc-case (or worse to find 
 the manual and box in which it came) ? thanks
 
 
 emerge dmidecode
 

This looks quite the useful utility, but it doesn't seem to provide the
requested information (or at least, not all of it, and what it does
provide is difficult to recognize):

I know the make and model of my mobo; it's a Shuttle AK32A.

Let's see what dmidecode has to say:

dmidecode
# dmidecode 2.6
SMBIOS 2.2 present.
34 structures occupying 862 bytes.
Table at 0x000F0800.
Handle 0x
DMI type 0, 19 bytes.
BIOS Information
Vendor: Phoenix Technologies, LTD
Version: 6.00 PG
Release Date: 09/27/2002
Address: 0xE
Runtime Size: 128 kB
ROM Size: 256 kB
Characteristics:
ISA is supported
PCI is supported
PNP is supported
APM is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25/360 KB floppy services are supported (int 13h)
5.25/1.2 MB floppy services are supported (int 13h)
3.5/720 KB floppy services are supported (int 13h)
3.5/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
AGP is supported
LS-120 boot is supported
ATAPI Zip drive boot is supported
Handle 0x0001
DMI type 1, 25 bytes.
System Information
Manufacturer:
Product Name:
Version:
Serial Number:
UUID: 1297A232----
Wake-up Type: Power Switch


Handle 0x0002
DMI type 2, 8 bytes.
Base Board Information
Manufacturer:
Product Name: AK32
Version:
Serial Number:

Ok, here's the model name. But I know that because I already know the
model name. Would I know this was the model name if I didn't know what
the model of my mobo was already? I don't think so.
-
Handle 0x0003
DMI type 3, 13 bytes.
Chassis Information
Manufacturer:
Type: Desktop
Lock: Not Present
Version:
Serial Number:
Asset Tag:
Boot-up State: Unknown
Power Supply State: Unknown
Thermal State: Unknown
Security Status: Unknown
Handle 0x0004
DMI type 4, 32 bytes.
Processor Information
Socket Designation: Socket A
Type: Central Processor
Family: Duron
Manufacturer: AMD
ID: 81 06 00 00 FF F9 83 03
Signature: Family 6, Model 8, Stepping 1
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
Version: AMD Athlon(tm) XP
Voltage: 1.6 V
External Clock: 133 

Re: [gentoo-user] how can i find out my motherboard?

2005-09-09 Thread Dave Nebinger
There certainly is a lot of useful information in this output, but it's 
not
necessarily the information needed (and certainly not all of the 
information

requested by the OP). So how would I, or the OP, use this utility
properly to answer the question, What is the make (manufacturer) and
model number of my motherboard? Or does it not answer that question 
fully?


The dmidecode utility dumps all of the DMI information available to the 
BIOS, so it is, in effect, the same thing as checking for the MOBO via the 
BIOS at system boot.


That said, it's important to note that your BIOS knows how to take the DMI 
information and display it in a format for the display at boot time.


So your bios automatically knows it's a shuttle, but the AK32 is used to 
show the exact MOBO revision.


That said, the bios must know to check another DMI value to determine 
whether it is the AK32A as opposed to a straight AK32 or some other 
revision.


On one of my servers, dmidecode produces:

# dmidecode 2.6
SMBIOS 2.3 present.
61 structures occupying 1735 bytes.
Table at 0x000EF130.
Handle 0x
DMI type 0, 19 bytes.
BIOS Information
 Vendor: IBM
 Version: PLKT44AUS
 Release Date: 02/13/2002
 Address: 0xF
 Runtime Size: 64 kB
 ROM Size: 256 kB
 Characteristics:
  ISA is supported
  PCI is supported
  PNP is supported
  APM is supported
  BIOS is upgradeable
  BIOS shadowing is allowed
  Boot from CD is supported
  Selectable boot is supported
  Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
  Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
  5.25/360 KB floppy services are supported (int 13h)
  5.25/1.2 MB floppy services are supported (int 13h)
  3.5/720 KB floppy services are supported (int 13h)
  3.5/2.88 MB floppy services are supported (int 13h)
  Print screen service is supported (int 5h)
  8042 keyboard services are supported (int 9h)
  Serial services are supported (int 14h)
  Printer services are supported (int 17h)
  CGA/mono video services are supported (int 10h)
  ACPI is supported
  USB legacy is supported
  AGP is supported
  LS-120 boot is supported
  ATAPI Zip drive boot is supported
Handle 0x0001
DMI type 1, 25 bytes.
System Information
 Manufacturer: IBM
 Product Name: 686831U
 Version: Not Specified
 Serial Number: 23NN078
 UUID: 0036AB92-E6AD-2212-8B2C-CFF000D0B779
 Wake-up Type: Power Switch
Handle 0x0002
DMI type 2, 8 bytes.
Base Board Information
 Manufacturer: IBM
 Product Name: 686831U
 Version: Not Specified
 Serial Number: JNZNL0T7V8D

The difference in output is merely a reflection of what is stored in the 
DMI; in my case it happens to be a little more complete than yours.


Regardless, the tool provides the best opportunity to get the information 
w/o having to a) find the docs, b) open the box, or c) reboot to get into 
the BIOS.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how can i find out my motherboard?

2005-09-09 Thread Mark Knecht
On 9/9/05, Holly Bostick [EMAIL PROTECTED] wrote:

 This looks quite the useful utility, but it doesn't seem to provide the
 requested information (or at least, not all of it, and what it does
 provide is difficult to recognize):
 
 I know the make and model of my mobo; it's a Shuttle AK32A.
 
 Let's see what dmidecode has to say:
 
SNIP
 
 The manufacturer name, Shuttle, never appears in this output (which is
 not all that surprising, since I don't think Shuttle puts any chips on
 the board that identify themselves as Shuttle-made (as opposed to VIA or
 whoever), but the fact that I'm not surprised is irrelevant to solving
 the problem :) ).
 
 There certainly is a lot of useful information in this output, but it's not
 necessarily the information needed (and certainly not all of the information
 requested by the OP). So how would I, or the OP, use this utility
 properly to answer the question, What is the make (manufacturer) and
 model number of my motherboard? Or does it not answer that question fully?
 
 Holly
 --
 gentoo-user@gentoo.org mailing list
 
 

Hi Holly,
   This machine is a newish Asus A8N-E. Here's a trimmed version of what I see:

lightning ~ # dmidecode | more
# dmidecode 2.6
SMBIOS 2.3 present.
72 structures occupying 2042 bytes.
Table at 0x000F.
Handle 0x
DMI type 0, 20 bytes.
BIOS Information
Vendor: Phoenix Technologies, LTD
Version: ASUS A8N-E ACPI BIOS Revision 1005
Release Date: 06/08/2005
Address: 0xE
Runtime Size: 128 kB


SNIP

Handle 0x0002
DMI type 2, 8 bytes.
Base Board Information
Manufacturer: ASUSTeK Computer INC.
Product Name: A8N-E
Version: 2.XX
Serial Number: 123456789000

So to me it appears to be SMBIOS dependent? 

- Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how can i find out my motherboard?

2005-09-09 Thread Holly Bostick
Mark Knecht schreef:
 On 9/9/05, Holly Bostick [EMAIL PROTECTED] wrote:
 
 
 This looks quite the useful utility, but it doesn't seem to provide
 the requested information (or at least, not all of it, and what it
 does provide is difficult to recognize):
 
 I know the make and model of my mobo; it's a Shuttle AK32A.
 
 Let's see what dmidecode has to say:
 
 
 SNIP
 
 The manufacturer name, Shuttle, never appears in this output (which
 is not all that surprising, since I don't think Shuttle puts any
 chips on the board that identify themselves as Shuttle-made (as
 opposed to VIA or whoever), but the fact that I'm not surprised is
 irrelevant to solving the problem :) ).
 
 There certainly is a lot of useful information in this output, but
 it's not necessarily the information needed (and certainly not all
 of the information requested by the OP). So how would I, or the OP,
 use this utility properly to answer the question, What is the make
 (manufacturer) and model number of my motherboard? Or does it not
 answer that question fully?
 
 Holly -- gentoo-user@gentoo.org mailing list
 
 
 
 
 Hi Holly, This machine is a newish Asus A8N-E. Here's a trimmed
 version of what I see:
 
 lightning ~ # dmidecode | more # dmidecode 2.6 SMBIOS 2.3 present. 72
 structures occupying 2042 bytes. Table at 0x000F. Handle 0x 
 DMI type 0, 20 bytes. BIOS Information Vendor: Phoenix Technologies,
 LTD Version: ASUS A8N-E ACPI BIOS Revision 1005 Release Date:
 06/08/2005 Address: 0xE Runtime Size: 128 kB
 
 
 SNIP
 
 Handle 0x0002 DMI type 2, 8 bytes. Base Board Information 
 Manufacturer: ASUSTeK Computer INC. Product Name: A8N-E Version: 2.XX
  Serial Number: 123456789000
 
 So to me it appears to be SMBIOS dependent?
 
 - Mark
 

Yes, I think that's what I wanted to know; if my mobo is too old or too
dumb or too cheap to give the information, then you're not going to see
it based on this util.

Which seems to kinda suck, but not dmidecode's fault, obviously. But if
you've bought an off-the-rack box with a PCChips mobo (as so many
off-the-rack boxes have), I'm not sure that there's going to be another
way than 'the hard way' (since cheap mobos gotta get cheap somehow).

But hopefully it's just that my mobo is old (before such information
became really ubiquitous to be transmitted) and not that it's cheap and
corners have been cut (which would then be a concern to the OP).

Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't compile gcc

2005-09-09 Thread Jorge Almeida

Title says (almost) all.
Trying to upgrade gcc-3.3.5.20050130-r1 to gcc-3.3.6
Emerge hangs and I have to kill it with Ctrl-C:

creating libg2c.la
(cd .libs  rm -f libg2c.la  ln -s ../libg2c.la libg2c.la)
make[3]: Leaving directory 
`/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libf2c'
: make ; exec true CC='/var/tmp/portage/gcc-3.3.6/work/build/gcc/xgcc 
-B/var/tmp/portage/gcc-3.3.6/work/build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ 
-B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include' 
LD='/usr/i686-pc-linux-gnu/bin/ld' LIBTOOL='/bin/sh ./libtool' WARN_CFLAGS='-W -Wall' 
CFLAGS='-O2 ' CPPFLAGS='' DESTDIR='' AR='ar' RANLIB='ranlib' prefix='/usr' 
exec_prefix='/usr' libdir='/usr/lib' libsubdir='/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6' 
tooldir='/usr/i686-pc-linux-gnu' multi-do DO=all-unilib
make[2]: Leaving directory 
`/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libf2c'
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.6/work/build'
(srcdir=`cd /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/libstdc++-v3; 
${PWDCMD-pwd}`; \
  builddir=`${PWDCMD-pwd}`; \
  /bin/sh 
/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/libstdc++-v3/docs/doxygen/run_doxygen 
\
--mode=man ${srcdir} ${builddir})
:: NOTE that this may take some time...
/usr/bin/doxygen 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/docs/doxygen/man.cfg
Warning: Tag `CGI_NAME' at line 1045 of file 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/docs/doxygen/man.cfg
 has become obsolete.
To avoid this warning please update your configuration file using doxygen 
-u
Warning: Tag `CGI_URL' at line 1051 of file 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/docs/doxygen/man.cfg
 has become obsolete.
To avoid this warning please update your configuration file using doxygen 
-u
Warning: Tag `DOC_URL' at line 1057 of file 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/docs/doxygen/man.cfg
 has become obsolete.
To avoid this warning please update your configuration file using doxygen 
-u
Warning: Tag `DOC_ABSPATH' at line 1063 of file 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/docs/doxygen/man.cfg
 has become obsolete.
To avoid this warning please update your configuration file using doxygen 
-u
Warning: Tag `BIN_ABSPATH' at line 1068 of file 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/docs/doxygen/man.cfg
 has become obsolete.
To avoid this warning please update your configuration file using doxygen 
-u
Warning: Tag `EXT_DOC_PATHS' at line 1074 of file 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/docs/doxygen/man.cfg
 has become obsolete.
To avoid this warning please update your configuration file using doxygen 
-u


I tried with CFLAGS= and still nothing. The system has been giving
some trouble, that's why I thought the problem might be with gcc, having
run out of ideas (e.g., to compile lshw I had to remove '-pipe' from
CFLAGS).
I also tried removing /var/tmp/portage/gcc*


--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't compile gcc

2005-09-09 Thread Dave Nebinger
   /bin/sh 
/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/libstdc++-v3/docs/doxygen/run_doxygen 
\

 --mode=man ${srcdir} ${builddir})
 :: NOTE that this may take some time...
 /usr/bin/doxygen 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/docs/doxygen/man.cfg


Well, doesn't the above note explain it all?  Personnally I'm not using 
doxygen so I had no problems with the gcc upgrade...


When you say system hangs, you don't say if it's hanging for minutes, 
hours, whatever.  But since it's running against a config file in 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3, I'd be 
willing to bet that it will take a great deal of time to complete.


Perhaps you need to remove something from your USE flags to keep doxygen 
from running during the gcc build, or try giving it enough time to complete. 


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Proliant 3000

2005-09-09 Thread Michael W. Holdeman
I have a Compaq Proliant 3000, w 6 18.2 SCSI disks I am building for a file 
server for my department. I have installed an IDE HD 40gig to hold the OS so 
as to reserve all the SCSI space for data. Problem is after installing twice 
and messing around I find that the firmware in teh 3000's was not designed to 
support IDE HD's. I can install to it, I assume it is that it just won't boot 
to it. How do I build a floppy to just get the boot process tarted then look 
to teh HD for kernel and os?

Does this make any sense to anyone?

Mike
-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.11-ck8   |
Win4Lin 5-1-20 netraverse.com   |
Win4LinPro 6.1.1-03 win4lin.com |
|
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Proliant 3000

2005-09-09 Thread Jamie Dobbs
Most likely you need to get hold of a copy of the Comaq SmartStart CDs 
for this machine to set it up to boot from an IDE drive, this will also 
contain the Compaq Array Controller software which will enable you to 
set up the 'BIOS' on the smart controller card to tun the array in the 
way which you want to.

Try the Compaq website and see if you can find something there.

Michael W. Holdeman wrote:

I have a Compaq Proliant 3000, w 6 18.2 SCSI disks I am building for a file 
server for my department. I have installed an IDE HD 40gig to hold the OS so 
as to reserve all the SCSI space for data. Problem is after installing twice 
and messing around I find that the firmware in teh 3000's was not designed to 
support IDE HD's. I can install to it, I assume it is that it just won't boot 
to it. How do I build a floppy to just get the boot process tarted then look 
to teh HD for kernel and os?


Does this make any sense to anyone?

Mike
 



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: how can i find out my motherboard?

2005-09-09 Thread Mick
Holly Bostick wrote:

[snip]
 But hopefully it's just that my mobo is old (before such information
 became really ubiquitous to be transmitted) and not that it's cheap and
 corners have been cut (which would then be a concern to the OP).
 
 Holly

It's probably age related, but price/cost might have something to do with it
too.  I am using lshw (which like other similar utility applications also
includes dmidecode) and because I am running an antique ;-) I can see
rather limited info regarding my *cheap* and *old* mobo:
=
]# lshw   
study1
description: Computer
width: 32 bits
  *-core
   description: Motherboard
   physical id: 0
 *-memory
  description: System memory
  physical id: 0
  size: 255MB
 *-cpu
  product: Pentium III (Coppermine)
  vendor: Intel Corp.
  physical id: 1
  bus info: [EMAIL PROTECTED]
  version: 6.8.1
  size: 600MHz
  width: 32 bits
  capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8
sep mtrr pge mca cmov pat pse36 mmx fxsr sse
*-cache:0
 description: L1 cache
 physical id: 0
 size: 32KB
*-cache:1
 description: L2 cache
 physical id: 1
 size: 256KB
=

Further down it mentions VIA ApolloPro and I can get a more detailed idea of
my chipset, but still no idea which motherboard make or model this sample
of engineering is wearing.  Looking at the manual of the motherboard I see
three different part Nos on the front, so although I can noe guess the make
I am none the wiser of the exact model.  In cases like mine it may
unavoidable to open the PC case, which should take the whole lot of three
minutes (2 minutes looking for a screw driver and 1 minute undoing the
couple of screws :-)

Modern cases have thumb screw(s) and side access which makes the whole
exercise sooo easy, it may be well worth going for it.  The part/model Nos
on the circuit board is usually a dead give away.  However, if even partial
info is obtainable from dmicode, lshw, et al. then getting down and dirty
may not be necessary.  A bit of googling often reveals the rest, along with
latest BIOS patches, downloadable manuals, etc.  Personally, I would always
open the case (I'm curious like that), but understand that if the PC is in
the loft, your garage, or 100 miles away then that approach may not be an
option.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gpilot and Kyocera 7135

2005-09-09 Thread LostSon
Hello 
 I currently have a kyocera 7135 and am trying to sync it up with
gpilot. Unfortunately im not having any luck. What puzzles me is jpilot
works flawlessly. I just set the device which is /dev/tts/USB0 or USB1
whichever and it syncs without a hitch. When adding the gpilot applet to
my bar and going through the wizard i set the device and get to the
first sync step and it just hangs nothing ever happens. I have turned up
the timeout option to 8 and even til still with no luck. Has anyone
gotten a kyocera 7135 to work with gpilot or any ideas on what maybe
wrong, thanks.
-- 
LostSon 

http://www.lostsonsvault.org

  
/\  
\ \  \__/ \__/  
 \ \ (oo) (oo)  
  \_\/~~\_/~~\_ 
 _.-~===~-._ 
(___)
  \___/ 

  I Want To Believe


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


[gentoo-user] ntp-client starting before net.eth0

2005-09-09 Thread Daevid Vincent
What determines the order that things in rc-update (/etc/init.d) start?

I run ifplugd, and I notice that (as the title says), ntp-client is starting
before net.eth0 and therefore can't find the pool.ntp.org site (of course).

/etc/init.d/ntp-client shows

depend()
{
before cron portmap
need net
use dns logger
}

So shouldn't it wait till the network has started and I have an IP address
from ifplugd?

locutus ~ # rc-update show
   acpid | boot   
   alsasound | boot default   
 anacron |  default   
 apache2 |
apmd |
   aumix |  default   
   bluetooth |
bootmisc | boot   
  bootsplash |
 bttrack |
 checkfs | boot   
   checkroot | boot   
   clock | boot   
coldplug |  default   
 consolefont | boot   
 crypto-loop |
   cupsd |
dbus |  default   
 distccd |
  domainname |  default   
  esound |
famd |  default   
gkrellmd |
 gpm |  default   
  hdparm | boot   
hostname | boot   
 hotplug |  default   
 i8k |  default   
 ifplugd |  default   
   inetd |
   ip6tables |
iptables |
irda |
 keymaps | boot   
  kismet |
lisa |  default   
   local |  default nonetwork 
  localmount | boot   
 modules | boot   
   mysql |
net.ath0 |
net.eth0 |
net.eth1 |
net.eth2 |
  net.lo | boot   
net.ppp0 |
   net.wlan0 |
netmount |  default   
nscd |
  ntp-client |  default   
ntpd |
 numlock |
  pcmcia | boot default   
 portmap |
 postfix |  default   
 pwcheck |
 reslisa |
   rgpsp |
   rmnologin | boot   
  rsyncd |
   samba |
   saslauthd |
  serial | boot   
   shorewall |  default   
   spamd |
  splash |
sshd |  default   
  switch |
   syslog-ng |  default   
 urandom | boot   
  vixie-cron |  default   
  vsftpd |
 winbind |
wlan |
 xdm |
  xinetd |  default  


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ntp-client starting before net.eth0

2005-09-09 Thread Edward Catmur
On Fri, 2005-09-09 at 14:08 -0700, Daevid Vincent wrote:
 What determines the order that things in rc-update (/etc/init.d) start?
 
 I run ifplugd, and I notice that (as the title says), ntp-client is starting
 before net.eth0 and therefore can't find the pool.ntp.org site (of course).

Look at RC_NET_STRICT_CHECKING in /etc/conf.d/rc.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] other packages

2005-09-09 Thread John Dangler
I have found an add-in for gimp called GAP (animation).  It is a zipped tar
file.  How can I add this to my gentoo install?
(I'm not sure why it wasn't on portage, but, being fairly new to gentoo, I
can't imagine what has to be done to a package to declare it
'portage-able').

Thanks for any input

John D



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ntp-client starting before net.eth0

2005-09-09 Thread Holly Bostick
Daevid Vincent schreef:
 What determines the order that things in rc-update (/etc/init.d) start?
 
 I run ifplugd, and I notice that (as the title says), ntp-client is starting
 before net.eth0 and therefore can't find the pool.ntp.org site (of course).
 
 /etc/init.d/ntp-client shows
 
 depend()
 {
   before cron portmap
   need net
   use dns logger
 }
 
 So shouldn't it wait till the network has started and I have an IP address
 from ifplugd?

Well, isn't the problem here that the network isn't being requested to
start (until ntp tries to make a connection, which of course attempts to
start it, but then it's too late)?

Look here:

 
 locutus ~ # rc-update show
 net.ath0 |
 net.eth0 |
 net.eth1 |
 net.eth2 |
   net.lo | boot   
 net.ppp0 |
net.wlan0 |

net.lo starts at boot, but no other network service is being started at all.

 netmount |  default   
 nscd |
   ntp-client |  default   

and then here's ntp-client, which needs the network that isn't started.

On the other hand, here's my setup:

rc-update show
  net.eth0 |  default
  net.lo | boot

Both net.lo and net.eth0 are being started, so by the time we get to

  ntp-client |  default

it's capable of making a connection to the server.

So I would suggest

rc-update add net.eth0 default

might solve your problem.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] other packages

2005-09-09 Thread Dave Nebinger

I have found an add-in for gimp called GAP (animation).  It is a zipped tar
file.  How can I add this to my gentoo install?


Well, if you're referring to the one from www.gimp.org, the zipped tarball 
is a source distribution, and you would just need to process it as you would 
a standard source tarball.


Forgive me if you knew this, but basically the steps are:

1. extract the tarball contents.
2. run the configure script (./configure from the directory).  According to 
the INSTALL file, it should be able to guess the correct locations to 
install the gimp plugins, but if you need to specify something directly I'm 
sure there's an argument for configurer to take care of it.

3. build the thing (make).
4. Switch to root and install (make install).


(I'm not sure why it wasn't on portage, but, being fairly new to gentoo, I
can't imagine what has to be done to a package to declare it
'portage-able').


Not everything makes it into portage; it's mostly based on how widely-used a 
package is.  If this one is used little, that would explain why it is not in 
portage.


Not that I've done it, but it is possible to build your own ebuild files; 
there are specific gentoo developer tools to assist in doing this.


But I wouldn't go through all of that hassle; just follow the build/install 
steps as previously listed and you should be golden.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] other packages

2005-09-09 Thread Edward Catmur
On Fri, 2005-09-09 at 17:45 -0400, John Dangler wrote:
 I have found an add-in for gimp called GAP (animation).  It is a zipped tar
 file.  How can I add this to my gentoo install?
 (I'm not sure why it wasn't on portage, but, being fairly new to gentoo, I
 can't imagine what has to be done to a package to declare it
 'portage-able').

There is an ebuild on the Gentoo bugzilla: go to bugs.gentoo.org, search
for gimp-gap, and read the docs on how to use PORTAGE_OVERLAY to merge
ebuilds not in Portage.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ntp-client starting before net.eth0

2005-09-09 Thread Dave Nebinger
So shouldn't it wait till the network has started and I have an IP 
address

from ifplugd?


Well, isn't the problem here that the network isn't being requested to
start (until ntp tries to make a connection, which of course attempts to
start it, but then it's too late)?


[snip]


So I would suggest

rc-update add net.eth0 default


Slightly off...

ifplugd is used to bring a network connection up/down when the network 
device is plugged in or unplugged.  So the OP doesn't want net.eth0 starting 
at boot automatically because the cable might not be plugged in at the time.


Unfortunately that's as much as I know about ifplugd.  I do know that the 
gentoo network scripts will ensure that the provide net flag is defined 
that ntp-client relies upon to do it's thing.


What I don't know is how integrated ifplugd is with the gentoo network 
scripts, if it too ensures the provide net flag is specified.  Nor do I 
know if, upon cable switching from eth0 to eth1 for example, the network 
services that were previously tied to eth0 would be restarted to now use 
eth1...


I'm willing to gues that in the OP's case the ifplugd is not setting the 
provide net flag correctly and/or it is setting the flag before a cable is 
actually connected.  In any case it's probably down  dirty with the gentoo 
networking scripts to figure out how to get the timing to work right...



Dave

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ntp-client starting before net.eth0

2005-09-09 Thread John Jolet


On Sep 9, 2005, at 5:13 PM, Dave Nebinger wrote:

So shouldn't it wait till the network has started and I have an  
IP address

from ifplugd?



Well, isn't the problem here that the network isn't being  
requested to
start (until ntp tries to make a connection, which of course  
attempts to

start it, but then it's too late)?



[snip]



So I would suggest

rc-update add net.eth0 default



Slightly off...

ifplugd is used to bring a network connection up/down when the  
network device is plugged in or unplugged.  So the OP doesn't want  
net.eth0 starting at boot automatically because the cable might not  
be plugged in at the time.


Unfortunately that's as much as I know about ifplugd.  I do know  
that the gentoo network scripts will ensure that the provide net  
flag is defined that ntp-client relies upon to do it's thing.


What I don't know is how integrated ifplugd is with the gentoo  
network scripts, if it too ensures the provide net flag is  
specified.  Nor do I know if, upon cable switching from eth0 to  
eth1 for example, the network services that were previously tied to  
eth0 would be restarted to now use eth1...


I'm willing to gues that in the OP's case the ifplugd is not  
setting the provide net flag correctly and/or it is setting the  
flag before a cable is actually connected.  In any case it's  
probably down  dirty with the gentoo networking scripts to figure  
out how to get the timing to work right...


ifplugd seems to have the ability to do whatever you want when the  
interface gets link and loses it, couldn't you just add the ntp- 
client call in the actions script (as specified in the /etc/conf.d/ 
ifplugd file?).  I just installed ifplugd today, so am by no means an  
expert...

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't compile gcc

2005-09-09 Thread Jorge Almeida

On Fri, 9 Sep 2005, Dave Nebinger wrote:


/bin/sh
 /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/libstdc++-v3/docs/doxygen/run_doxygen
 \
  --mode=man ${srcdir} ${builddir})
: :  NOTE that this may take some time...
 /usr/bin/doxygen
 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/docs/doxygen/man.cfg


Well, doesn't the above note explain it all?  Personnally I'm not using 
doxygen so I had no problems with the gcc upgrade...

I hadn't the faintest idea about what doxygen is. It must have been
emerged as a dependency for something.


When you say system hangs, you don't say if it's hanging for minutes, 
hours, whatever.  But since it's running against a config file in 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3, I'd be 
willing to bet that it will take a great deal of time to complete.

Emerge (not the system) just hangs. I didn't wait time enough...I'm
assuming this has to do with the doc USE variable. Actually, I
upgraded doxygen (which compiled with no optimizations) and gcc now
compiles. Still, couldn't compile mozilla, even with -doc. 
Something is still very much wrong.


Perhaps you need to remove something from your USE flags to keep doxygen from 
running during the gcc build, or try giving it enough time to complete. 


Thanks for the reply.

--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't compile Mozilla, was Can't compile gcc

2005-09-09 Thread Dave Nebinger
When you say system hangs, you don't say if it's hanging for minutes, 
hours, whatever.  But since it's running against a config file in 
/var/tmp/portage/gcc-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3, I'd 
be willing to bet that it will take a great deal of time to complete.



Emerge (not the system) just hangs. I didn't wait time enough...I'm
assuming this has to do with the doc USE variable. Actually, I
upgraded doxygen (which compiled with no optimizations) and gcc now
compiles. Still, couldn't compile mozilla, even with -doc. Something is 
still very much wrong.


Good, got by that issue, but in order to help with the mozilla problem we'll 
need more info...



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] TV capture with mencoder - no sound

2005-09-09 Thread Makurin Roman
В сообщении от Пятница 09 сентября 2005 01:54 Volker Armin Hemmann написал(a):
 On Thursday 08 September 2005 23:39, Makurin Roman wrote:
  Hi All.
  I`m trying to capture some TV programs from my TV-tuner with mencoder,
  but I don`t have any sound. I`ve got AVer TV Studio 307 (saa3174) and it
  works well with tvtime. Here is my mencoder options:
 
  mencoder tv://R10 -tv
  driver=v4l2:fps=25:device=/dev/video0:width=320:height=240:adevice=/dev/d
 sp
 
 :norm=SECAM -ovc xvid -xvidencopts pass=1:vhq=0 -oac mp3lame -lameopts
 
  cbr:br=128 -o tv.avi
 
  What I need to do ?
 
 
  Thanks

 set line in as source?

How can I do this ? :/
I use alsa with oss emulation

 Open alsamixergu and klick on the little white balls, so they become red.


pgpZve1sroe67.pgp
Description: PGP signature


Re: [gentoo-user] TV capture with mencoder - no sound

2005-09-09 Thread Volker Armin Hemmann
On Saturday 10 September 2005 02:01, Makurin Roman wrote:
 В сообщении от Пятница 09 сентября 2005 01:54 Volker Armin Hemmann 
написал(a):
  On Thursday 08 September 2005 23:39, Makurin Roman wrote:
   Hi All.
   I`m trying to capture some TV programs from my TV-tuner with mencoder,
   but I don`t have any sound. I`ve got AVer TV Studio 307 (saa3174) and
   it works well with tvtime. Here is my mencoder options:
  
   mencoder tv://R10 -tv
   driver=v4l2:fps=25:device=/dev/video0:width=320:height=240:adevice=/dev
  /d sp
  
  :norm=SECAM -ovc xvid -xvidencopts pass=1:vhq=0 -oac mp3lame -lameopts
  
   cbr:br=128 -o tv.avi
  
   What I need to do ?
  
  
   Thanks
 
  set line in as source?

 How can I do this ? :/
 I use alsa with oss emulation

: install alsamixergui

When you open it, you will see little white and red balls below the speaker 
symbols. click onto the ones above 'line in' or 'aux' (depends where your 
sound get into the soundcard) until they are red and try again.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] TV capture with mencoder - no sound

2005-09-09 Thread Makurin Roman
В сообщении от Суббота 10 сентября 2005 04:17 Volker Armin Hemmann написал(a):
 On Saturday 10 September 2005 02:01, Makurin Roman wrote:
  В сообщении от Пятница 09 сентября 2005 01:54 Volker Armin Hemmann

 написал(a):
   On Thursday 08 September 2005 23:39, Makurin Roman wrote:
Hi All.
I`m trying to capture some TV programs from my TV-tuner with
mencoder, but I don`t have any sound. I`ve got AVer TV Studio 307
(saa3174) and it works well with tvtime. Here is my mencoder options:
   
mencoder tv://R10 -tv
driver=v4l2:fps=25:device=/dev/video0:width=320:height=240:adevice=/d
   ev /d sp
   
   :norm=SECAM -ovc xvid -xvidencopts pass=1:vhq=0 -oac mp3lame -lameopts
   
cbr:br=128 -o tv.avi
   
What I need to do ?
   
   
Thanks
  
   set line in as source?
 
  How can I do this ? :/
  I use alsa with oss emulation
 
 : install alsamixergui

 When you open it, you will see little white and red balls below the speaker
 symbols. click onto the ones above 'line in' or 'aux' (depends where your
 sound get into the soundcard) until they are red and try again.

thanks, I`ve got it :)


pgpi9wZ9sk4Ro.pgp
Description: PGP signature


Re: [gentoo-user] Multiple Displays nVida vs Radeon... take TWO

2005-09-09 Thread Justin Hart
I actually got mine working pretty happily.  It connected to the
projector today and worked with no problems.

Justin

On 9/7/05, Ow Mun Heng [EMAIL PROTECTED] wrote:
 On Wed, 2005-09-07 at 11:55 +0800, W.Kenworthy wrote:
  I would be interested in a copy of your xorg.conf - its always good to
  see how the other guy does it ...
 
  Mine is at http://wdk.dyndns.org/xorg.conf.html
 
 Here's Mine. (note that The Dual Head is commented out. I don't use dual
 Monitor all that often :-)
 
 Only thing missing now is getting TV-Out to work. :-(
 
 Section ServerLayout
 Identifier X.org Configured
 Screen Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 # Uncommenting this will enable Dual Head
 #   Screen Screen1 LeftOf Screen0
 # This will enable separate displays for Dual Head.
 #   Option  Clone Off
 # Do you want Xinerama??
 #   Option  Xinerama On
 
 
 EndSection
 
 Section Files
 RgbPath  /usr/lib/X11/rgb
 FontPath /usr/share/fonts/misc/
 FontPath /usr/share/fonts/TTF/
 FontPath /usr/share/fonts/Speedo/
 FontPath /usr/share/fonts/Type1/
 FontPath /usr/share/fonts/CID/
 FontPath /usr/share/fonts/75dpi/
 FontPath /usr/share/fonts/100dpi/
 FontPath /usr/share/fonts/artwiz
 FontPath /usr/share/fonts/corefonts
 FontPath /usr/share/fonts/cyrillic
 FontPath /usr/share/fonts/encodings
 FontPath /usr/share/fonts/freefont
 FontPath /usr/share/fonts/local
 FontPath /usr/share/fonts/terminus
 FontPath /usr/share/fonts/ttf
 FontPath /usr/share/fonts/ttf-bitstream-vera
 FontPath /usr/share/fonts/ukr
 FontPath /usr/share/fonts/unifont
 FontPath /usr/share/fonts/util
 EndSection
 
 Section Module
 Load  dri
 Load  glx
 Load  type1
 Load  freetype
 EndSection
 
 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 EndSection
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol IMPS/2
 Option  Device /dev/input/mice
 Option  ZAxisMapping 4 5
 Option  Emulate3Buttons yes
 EndSection
 
 Section Monitor
 #DisplaySize  290   210 # mm
 Identifier   Monitor0
 VendorName   LGP
 ModelNameDELL 1400x1050 Laptop Display Panel
 Option   dpms
 EndSection
 
 Section Monitor
 Identifier  Monitor1
 Option  DPMS
 EndSection
 
 
 Section Device
 ### Available Driver options are:-
 Option  AGPMode   4
 # Addded Ow Mun Heng - Jan 29 2005
 # http://www.gentoo.org/doc/en/dri-howto.xml?style=printable
 Option  EnablePageFlip True
 Identifier  Card0
 Driver  ati
 VendorName  ATI Technologies Inc
 BoardName   Radeon R250 Lf [Radeon Mobility 9000 M9]
 BusID   PCI:1:0:0
 Screen  0
 EndSection
 
 Section Device
 Identifier  Card1
 Driver  ati
 BoardName   ATI Radeon
 BusID   PCI:1:0:0
 Option  DPMS
 Screen  1
 EndSection
 
 
 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 
 # Added Ow Mun Heng - Jan 7 2005
 DefaultDepth 24
 SubSection Display
 Viewport   0 0
 Depth 16
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 24
 EndSubSection
 EndSection
 
 Section Screen
 Identifier  Screen1
 Device  Card1
 Monitor Monitor1
 DefaultDepth24
 Subsection Display
 Depth 24
 Modes 1024x768
 EndSubSection
 EndSection
 
 
 # Added Ow Mun Heng - Apr 10 2005
 #Section Extensions
 #   Option Composite Enable
 #EndSection
 # Added Ow Mun Heng - Nov 4 2004
 
 Section dri
 Mode 0666
 EndSection
 
 
 --
 Ow Mun Heng
 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
 98% Microsoft(tm) Free!!
 Neuromancer 14:54:19 up 1 day, 5:23, 7 users, load average: 0.83, 0.79,
 0.62
 
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Justin W. Hart

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install Gentoo Linux on RS/6000

2005-09-09 Thread Volker Armin Hemmann
Hi,

On Friday 09 September 2005 17:08, Gentoo Shadow wrote:
 Dear friends,

 i have a old RS/6000(43P Model 150 Type: 7043-150) machine. this is 1st
 time i see a such machine. so i don't know how to start to install it...
 any now i need to install Gentoo 2005.1. so if any body know how to access
 the bios or how to start to install from a cd. please guide me.

I have such a cutie too.

If you get linux running on it, could you please drop a notice?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer and/or X optimization

2005-09-09 Thread Walter Dnes
On Thu, Sep 08, 2005 at 06:13:27AM +0200, Volker Armin Hemmann wrote

  Before I
  send off my dead machine to the re-cycling centre, would a Radeon 7000
  be better supported?  I can pull that card from the dead machine and try
  it out.
 
 you should definitely try it.
 The elderly radeon cards are more or less well supported.
  I don't had ATi cards since I sold my Xpert2000 some years ago, BUT when I 
 remember right the articles I read, the Radeon7000 (up to 9200, but ATI users 
 can say more about this) should be very well supported by the dri/gatos 
 drivers.

  No luck.  I don't know how they managed to do it, but I'd can't see
any way of getting the video card out without at least taking off the
cpu cooler, if not the actual cpu itself.  Another thing that hadn't
occured to me before is that the dead machine (ATI Radeon 700) and my
6-year-old emergency backup PIII (ATI Rage Pro, actually a Mach64 chip)
are both AGP cards, but the Radeon X300 is PCI-Express, so the slots are
probably different.

  Strange, but true.  I can get the Radeon 7000 into my 6-year-old Dell's
AGP slot, but I can't get the old Rage Pro into the newer dead machine's
AGP slot, not that it matters.  Oh well, at least my 6-year-old Dell
emergency backup has now been upgraded from an 8 megabyte RagePro to a
32 megabyte Radeon 7000.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer and/or X optimization

2005-09-09 Thread Volker Armin Hemmann
On Saturday 10 September 2005 04:27, Walter Dnes wrote:
Radeon X300 is PCI-Express, so the slots are
 probably different.

   Strange, but true.  I can get the Radeon 7000 into my 6-year-old Dell's
 AGP slot, but I can't get the old Rage Pro into the newer dead machine's
 AGP slot, not that it matters.  Oh well, at least my 6-year-old Dell
 emergency backup has now been upgraded from an 8 megabyte RagePro to a
 32 megabyte Radeon 7000.

that is because of the different AGP standards (1,2,3.0) which have different 
voltages (3v,1,5v,0,8v) and different 'identifaction' keys, which prevent 
inserting a card into a slot, that could damage her with overvoltages and 
vice versa.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] other packages

2005-09-09 Thread Ciaran McCreesh
On Fri, 9 Sep 2005 23:03:26 +0100 Neil Bothwick [EMAIL PROTECTED]
wrote:
| Always search bugs.gentoo.org for any ebuilds not in portage. If that
| fails, try the forums.

Hrm, and be warned that the approximate QA ranking order is, from least
broken to most:

* Stuff in maintainer-wanted on bugzilla with a REVIEWED tag.
* Stuff in the tree.
* Stuff off developer overlays.
* Stuff in maintainer-wanted with no REVIEWED tag.
* Stuff off random russian websites.
* Stuff off the forums.

Expect to have to fix stuff.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpQy73y8UhJw.pgp
Description: PGP signature


[gentoo-user] Audio and permissions.

2005-09-09 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.  I'm sure this question has probably been asked before.  So a
pointer to an archive of this list will suffice (I don't know where
one is).

Anyhow, I only get sound as root.  Meaning, I've compiled the modules,
and configured the kernel for my equipment, and everything seems to
work, as root.  I figure this has to be a permissions thing, but I'm
kind of at a loss as to where I need to give my user account access
(if that is indeed what needs to happen).

Any ideas or pointers would be great!  If you need any info, please ask.

Thanks.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDImctLYGSSmmWCZMRAiLFAKDDXoplPc63/qhD9bxvChqcrlnfRQCfYykO
VXVL8ngTHj9sx7lr6nu07sg=
=KEX+
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Audio and permissions.

2005-09-09 Thread Peter O'Connor

gentuxx wrote:

Hi all.  I'm sure this question has probably been asked before.  So a
pointer to an archive of this list will suffice (I don't know where
one is).

Anyhow, I only get sound as root.  Meaning, I've compiled the modules,
and configured the kernel for my equipment, and everything seems to
work, as root.  I figure this has to be a permissions thing, but I'm
kind of at a loss as to where I need to give my user account access
(if that is indeed what needs to happen).

Any ideas or pointers would be great!  If you need any info, please ask.

Thanks.


As root
# gpasswd -a username audio

Replace username with (you guessed it) your username
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Audio and permissions.

2005-09-09 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter O'Connor wrote:

 gentuxx wrote:

 Hi all. I'm sure this question has probably been asked before. So a
 pointer to an archive of this list will suffice (I don't know where
 one is).

 Anyhow, I only get sound as root. Meaning, I've compiled the modules,
 and configured the kernel for my equipment, and everything seems to
 work, as root. I figure this has to be a permissions thing, but I'm
 kind of at a loss as to where I need to give my user account access
 (if that is indeed what needs to happen).

 Any ideas or pointers would be great! If you need any info, please
 ask.

 Thanks.

 As root
 # gpasswd -a username audio

 Replace username with (you guessed it) your username

K.  I'll give that a shot.  Is that a logout/login situation?

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDInNKLYGSSmmWCZMRAnbxAJsH6IkzgvxSfDuug7HQ2ih0b7uMIwCg0G60
gdgbg142agcrAWW076vLPnM=
=IsWj
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] openLDAP with mysql backend (problems with libmyodbc.so = undefined symbol: lt_dlclose )

2005-09-09 Thread Claudinei Matos
hi,

I'm trying to setup openLDAP to use mysql as backend with a guid I
found here http://www.section6.net/help/openldap.php
Well, I did reinstalled openLDAP with unixODBC use flag on and setup
/etc/unixODBC/ odbc.ini and odbcinst.ini since this files comes empty.
Bellow follow what I setup in these files:

(odbcinst.ini)
[ODBC Drivers]
MySQL = Installed

[MySQL]
Description=ODBC for MySQL
Driver=/usr/lib/libmyodbc3.so

(odbc.ini)
[ODBC Data Sources]
ldap = MySQL LDAP DSN

[ldap]
Driver  = /usr/lib/libmyodbc3.so
Description = OpenLDAP Database
Host= localhost
ServerType  = MySQL
Port= 3306
FetchBufferSize = 99
User= ldap_user
Password= ldap_pass
Database= ldap_db
ReadOnly= no
Socket  = /var/run/mysqd/mysqld.sock

[ODBC]
InstallDir=/usr/local/lib


Well, since I saw that /usr/lib/libmyodbc3.so doesn't exist I've tried
to use libodbc.so instead and even libodbcmyS.so.
The next step was to test odbc connection with iodbctest but this
application hadn't been instaled, so I try to emerge libiodbc and
iodbc.
Well, installing these 2 packages I got iodbctest, tried to connect:

[EMAIL PROTECTED] # iodbctest
iODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.51.0001.0908

Enter ODBC connect string (? shows list): ?

DSN| Description
---
ldap   | MySQL LDAP DSN

but when I try to pass DSN=ldap that's what I get:

Enter ODBC connect string (? shows list): DSN=ldap
1:  (0), SQLSTATE=

Have a nice day.

Looking around I've found that libmyodbc3.so is provided by myodbc
package which one I've emerged and setup in both odbc.ini and
odbcinst.ini like the tutorial says, but now, if I try to run
iodbctest that's what I get when I type DSN=ldap:
1: [iODBC][Driver Manager]/usr/lib/libmyodbc3.so: undefined symbol:
lt_dlclose (0), SQLSTATE=0
2: [iODBC][Driver Manager]Specified driver could not be loaded (0),
SQLSTATE=IM003


Since I got this error, I've thinked that may I had to reinstall
unixODBC, iodbc, libiodbc but even after reinstall all these packages
I still getting the same error.

Do somebody knows how to fix that? Is there another way to use mysql
as a backend to LDAP?

Tks in advice,

Claudinei Matos

-- 
gentoo-user@gentoo.org mailing list