[gentoo-user] Fortran g77 support

2006-10-05 Thread JC Denton
Hi!I need g77 and g95 on my system in order to install a few things like:blaslapackscipyelmer (finite element)I found this post on http://forums.gentoo.org/viewtopic.php?t=266985but this does not help me. When upgrading gcc from 3.4.6 to 4.1.1 I did not add or remove any USE flag so I assume this are my flags:# emerge -pv gcc[ebuild   R   ] sys-devel/gcc-4.1.1  USE="fortran gtk nls (-altivec) -bootstrap -build -doc -gcj (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla"and  I get # cat
 /etc/env.d/05gccPATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man"INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info"LDPATH="/usr/lib/gcc/i686-pc-linux-gnu/4.1.1:/usr/lib/gcc/i686-pc-linux-gnu/3.4.6"GCC_SPECS=""What do I have to do to achieve g77 support?What information do I / you need?RegardsJC 
		Yahoo! 360° – Bloggen und Leute treffen. Erstellen Sie jetzt Ihre eigene Seite – kostenlos!. 


[gentoo-user] [OT] Problem with disk: cannot mount as ext3 but yes as ext2 ???

2006-10-05 Thread Gregory SACRE

Hello,


I had a hard disk attached on an old RedHat PC formatted and mounted
as ext3 filesystem.
I removed the hard disk from the PC and plugged it in my Gentoo box. I
tried to mount it as ext3 file system and got this error:


| # mount -t ext3 /dev/hdd1 /jukebox
| mount: wrong fs type, bad option, bad superblock on /dev/hdd1,
|missing codepage or other error
|In some cases useful info is found in syslog - try
|dmesg | tail  or so


I then tried to see the partition type with fdisk:


| Command (m for help): p
|
| Disk /dev/hdd: 81.9 GB, 81964302336 bytes
| 16 heads, 63 sectors/track, 158816 cylinders
| Units = cylinders of 1008 * 512 = 516096 bytes
|
|Device Boot  Start End  Blocks   Id  System
| /dev/hdd1   1  15881680043232+  83  Linux


My next step was to try to repair it with fsck.ext3:


| fsck.ext3 -p /dev/hdd
| fsck.ext3: Bad magic number in super-block while trying to open /dev/hdd
| /dev/hdd:
| The superblock could not be read or does not describe a correct ext2
| filesystem.  If the device is valid and it really contains an ext2
| filesystem (and not swap or ufs or something else), then the superblock
| is corrupt, and you might try running e2fsck with an alternate superblock:
| e2fsck -b 8193 


I tried what was written with e2fsck:


| e2fsck -b 8193 /dev/hdd
| e2fsck 1.39 (29-May-2006)
| e2fsck: Bad magic number in super-block while trying to open /dev/hdd
|
| The superblock could not be read or does not describe a correct ext2
| filesystem.  If the device is valid and it really contains an ext2
| filesystem (and not swap or ufs or something else), then the superblock
| is corrupt, and you might try running e2fsck with an alternate superblock:
| e2fsck -b 8193 


After googling for a while, and not really finding an answer, I tried
to mount it as readonly, and because of a typo, I mounted it as
ext2... and it worked!!! I tried then to mount it normally, not
anymore as read-only with ext2 format... and it worked!!!
So my first question is: how come?
I'm sure the filetype is ext3 as it can be seen in my old fstab:


| [...]
| /dev/hdb5   swapswapdefaults0 0
| #/dev/hdc1   /jukebox   ext3defaults
  1 1--> this is the one ;-)
| [...]


I thought maybe I could try to repair it with the normal fsck:


| fsck /dev/hdd1
| fsck 1.39 (29-May-2006)
| e2fsck 1.39 (29-May-2006)
| /dev/hdd1: Attempt to read block from filesystem resulted in short
read while reading block 525
|
| /dev/hdd1: Attempt to read block from filesystem resulted in short
read reading journal superblock
|
| fsck.ext3: Attempt to read block from filesystem resulted in short
read while checking ext3 journal for /dev/hdd1


Is there anything wrong with my hardware? Is it a super-block problem?
Is there a way to solve it?

Thank you in advance!

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



[gentoo-user] Eating RAM...

2006-10-05 Thread Luigi Pinna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!
Since I changed my graphic card from ATI to NVIDIA I have a strange 
problem.
I leave my session always on but I see that a process (I don't know I 
can recognize it) eats all my ram and my swap.
The results is that my computer stopped to work. If I log out and log in 
again all my memories (ram and swap) are free again.
I tried nv and nvidia drivers.
I use kde 3.5.2 with a FX5200 on amd64 with 2006.1 desktop profile.
Can you help me?
Thanks a lot,
Luigi
- -- 
Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFJfRqHmkkjmM/hrcRAjo2AJ9eH3EYzQclEXIc2inW6aIDSIX2zACgm4HF
We2wksE9nSqJCT1UuYi0Dh4=
=v+0Z
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems installing on Thinkpad X41 Tablet

2006-10-05 Thread Henk Boom

On 06/10/06, Richard Fish <[EMAIL PROTECTED]> wrote:

Hmm, I haven't booted of a minimal CD in awhile, so I'm not sure
whether the included kernel includes all the right drivers for the USB
media and filesystems.

Does /sys/block/sda/dev exist? (you might need to "mount -t sysfs
sysfs /sys" if /sys isn't mounted at this point)



Yes, after using that mount command both /sys/block/sda/dev and
/sys/block/sdb/dev exist.


Does /proc/filesystems contain vfat?  (Again, might need "mount -t
proc proc /proc")



Yes. It does not have the word "nodev" before it though, in case that
makes a difference.

Thanks,
   Henk Boom
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails

2006-10-05 Thread Richard Fish

On 10/5/06, Kevin O'Gorman <[EMAIL PROTECTED]> wrote:

Why would this need a GNU-specific flag?  Aren't these things some
level of POSIX?  (I'm only guessing; FSF may well have added one
or two, and I want to know either way).



From the ctype.h header file:


/* ISO C99 introduced one new function.  */
#ifdef  __USE_ISOC99
__BEGIN_NAMESPACE_C99

__exctype (isblank);

__END_NAMESPACE_C99
#endif

So isblank is only defined for the C99 namespace, which you get with
either -std=c99 or -std=gnu99 (from the gnu info page).

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



Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails

2006-10-05 Thread Bo Ørsted Andresen
On Friday 06 October 2006 06:49, Kevin O'Gorman wrote:
> On 10/5/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:
> > On Friday 06 October 2006 04:32, Kevin O'Gorman wrote:
> > > gcc -Wall ctype.c -o ctype
> > > I get
> > > ctype.c:21: warning: implicit declaration of function 'isblank'
> >
> > $ gcc -std=gnu99 -Wall ctype.c -o ctype
>
> Why would this need a GNU-specific flag?  Aren't these things some
> level of POSIX?  (I'm only guessing; FSF may well have added one
> or two, and I want to know either way).

After sending the previous mail I figured I probably should have eloborated a 
bit. I didn't actually bother to look up the standards but instead I looked 
in  to find this info...

$ gcc -Wall -o test-kev test-kev.c
test-kev.c: In function ‘main’:
test-kev.c:15: advarsel: implicit declaration of function ‘isblank’
$ gcc -std=c99 -Wall -o test-kev test-kev.c
test-kev.c: In function ‘main’:
test-kev.c:14: advarsel: implicit declaration of function ‘isascii’
$ gcc -std=gnu99 -Wall -o test-kev test-kev.c
$ 

The point is unless someone made a mistake in  isblank is part of the 
C99 standard and isascii is a GNU extension...

-- 
Bo Andresen


pgpF5WibbFAYX.pgp
Description: PGP signature


Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails

2006-10-05 Thread Kevin O'Gorman

On 10/5/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:

On Friday 06 October 2006 04:32, Kevin O'Gorman wrote:
> gcc -Wall ctype.c -o ctype
> I get
> ctype.c:21: warning: implicit declaration of function 'isblank'

$ gcc -std=gnu99 -Wall ctype.c -o ctype

--
Bo Andresen


Why would this need a GNU-specific flag?  Aren't these things some
level of POSIX?  (I'm only guessing; FSF may well have added one
or two, and I want to know either way).

++ kevin

--
Kevin O'Gorman, PhD

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems installing on Thinkpad X41 Tablet

2006-10-05 Thread Richard Fish

On 10/5/06, Henk Boom <[EMAIL PROTECTED]> wrote:

If I go into the shell, I can see that /dev/sdb1 and /newroot both
exist, and manually running "mount /dev/sdb1 /newroot/" (with and
without -t vfat) gives the same error message:
mount: Mounting /dev/sdb1 on /newroot/ failed: Invalid argument


Hmm, I haven't booted of a minimal CD in awhile, so I'm not sure
whether the included kernel includes all the right drivers for the USB
media and filesystems.

Does /sys/block/sda/dev exist? (you might need to "mount -t sysfs
sysfs /sys" if /sys isn't mounted at this point)

Does /proc/filesystems contain vfat?  (Again, might need "mount -t
proc proc /proc")

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



Re: [gentoo-user] python-fchksum problem + access denied

2006-10-05 Thread Bo Ørsted Andresen
On Wednesday 04 October 2006 15:36, Marco Calviani wrote:
> > # ls -ld /usr/lib*
>
> Here it is:
>
> drwxr-xr-x 15 root root  4096 Oct  4 08:54 /usr/lib
> drwxr-xr-x  9 root root  4096 Oct  3 19:19 /usr/lib32
> drwxr-xr-x 41 root root 36864 Oct  4 14:49 /usr/lib64
> drwxr-xr-x  6 root root  4096 Oct  4 12:11 /usr/libexec

On my amd64 system (using the almost the same profile) /usr/lib is a symbolic 
link to /usr/lib64. Of my installed packages 324 install stuff in /usr/lib*. 
Out of those 26 packages install into /usr/lib/, 7 install into /usr/lib32/ 
and 219 packages install into /usr/lib64/...

Does anyone have a clue about how big of a problem (or not?) it is if /usr/lib 
isn't a symbolic link to /usr/lib64? Or safe instructions on how to fix it?

-- 
Bo Andresen


pgpYL4MV5diB0.pgp
Description: PGP signature


Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails

2006-10-05 Thread Bo Ørsted Andresen
On Friday 06 October 2006 04:32, Kevin O'Gorman wrote:
> gcc -Wall ctype.c -o ctype
> I get
> ctype.c:21: warning: implicit declaration of function 'isblank'

$ gcc -std=gnu99 -Wall ctype.c -o ctype

-- 
Bo Andresen


pgpclOwMeZ9b7.pgp
Description: PGP signature


Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails

2006-10-05 Thread Mark Kirkwood

Kevin O'Gorman wrote:

On 10/5/06, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:

On Thursday 05 October 2006 16:10, "Kevin O'Gorman" <[EMAIL PROTECTED]>
wrote about '[gentoo-user] C programming use of isascii(), ispunct() and
isblank() fails':
> Why is it that using some of the macros from ctype.h fails to compile?

You code compiles fine for me.  I'm using... hrm, an invalid profile...
well, gcc --version reports 'gcc (GCC) 4.1.1 (Gentoo 4.1.1-r1)'

> if (ispunct(i)) punctf(" punct");

I did get a link error, because you haven't defined "punctf"; I'll bet 
you

meant "printf".





FWIW - I get "implicit declaration of function 'isblank'" as well - 
system is:


Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 
2.6.17-gentoo-r8 i686)


If I add '-D_GNU_SOURCE' to the compile line then it goes away. Not sure 
if this is the intended behavior tho...



regards

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



Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails

2006-10-05 Thread Kevin O'Gorman

On 10/5/06, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:

On Thursday 05 October 2006 16:10, "Kevin O'Gorman" <[EMAIL PROTECTED]>
wrote about '[gentoo-user] C programming use of isascii(), ispunct() and
isblank() fails':
> Why is it that using some of the macros from ctype.h fails to compile?

You code compiles fine for me.  I'm using... hrm, an invalid profile...
well, gcc --version reports 'gcc (GCC) 4.1.1 (Gentoo 4.1.1-r1)'

> if (ispunct(i)) punctf(" punct");

I did get a link error, because you haven't defined "punctf"; I'll bet you
meant "printf".



--
Kevin O'Gorman, PhD

Hmmm.  I did indeed mean printf -- a goof in s/// stuff.  Anyway, even after
that,when I
gcc -Wall ctype.c -o ctype
I get
ctype.c:21: warning: implicit declaration of function 'isblank'

and I get more of these if I use -ansi.  I can get rid of it by removing -Wall,
but my normal practice is the opposite: I add -Werror.  I'd just like to know
how to make it clean.

++ kevin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: OT: auto rename konsole session tabs?

2006-10-05 Thread Bo Ørsted Andresen
On Friday 06 October 2006 02:41, James wrote:
> This works very good, but it's a bit long.
> I prefer just the host name or  just the ip address. Using this technique
> I get something like this:
> "[EMAIL PROTECTED]:~/projects/manuals - Shell"

To get only the hostname (\h is substituted with the hostname as you can read
in `man bash`) ...

# export PS1=$PS1'\[\033]0;\h\007\]'

Or for the ip you can try this evil command... ;) (it depends on
sys-apps/iproute2 and will be overridden by $PS1 -- try in another terminal if
you just typed the above command) ...

# export PROMPT_COMMAND="ip -o -4 addr show scope global | sed -r 's/.* 
([12]?[0-9]?[0-9](\.[12]?[0-9]?[0-9]){3})\/.*/\x1b]0;\1\x7/'"

(If anyone knows a better way to get the ip and only the ip I'm interested...)

Anyway, what's wrong with Mike Williams' suggestion? That's works fine for me.

-- 
Bo Andresen


pgpyJbYsz3ISl.pgp
Description: PGP signature


[gentoo-user] Re: OT: auto rename konsole session tabs?

2006-10-05 Thread James
Martins Steinbergs  ml.lv> writes:

> This konsolescript does what you need. Logging to remote it shows on tab 
> user  host , on local it shows user or programm runing.

> http://www.kde-apps.org/content/show.php?content=43873


OK, I got this installed. It spits out a bunch of parameter readings
like:



ssh: KONSOLESCRIPTS_KONSOLE_sessionName: Name or service not known
ssh: KONSOLESCRIPTS_getCommand: Name or service not known
ssh: type: Name or service not known
bash: [: missing `]'
bash: function: command not found
konsole-12133
konsole-12134
kwin
kicker
kded
knotify
korgac
klauncher
khotkeys
kdesktop
klipper
ksmserver
kaccess
bash: DCOPRef(konsole-12133,session-2): command not found
konsole-12133
konsole-12134
kwin
kicker
kded
knotify
korgac
klauncher
khotkeys
kdesktop
klipper
ksmserver
kaccess
bash: DCOPRef(konsole-12133,session-2): command not found
Password:
Last login: Thu Oct  5 21:54:10 2006 from 192.168.2.23



But puts nothing in the tab. Any ideas what I'm missing


James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: OT: auto rename konsole session tabs?

2006-10-05 Thread James
Bo Ørsted Andresen  zlin.dk> writes:


> Heh, and then I find the setting: Settings -> Configure Konsole -> General -> 
> Set tab title to match window title. :p


Hello Bo,

This works very good, but it's a bit long.
I prefer just the host name or  just the ip address. Using this technique
I get something like this:
"[EMAIL PROTECTED]:~/projects/manuals - Shell"

Is it way to long.

I think I'll keep searching for a way to just either the hostname
or the IP in the tab

thanks.

James






-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails

2006-10-05 Thread Boyd Stephen Smith Jr.
On Thursday 05 October 2006 16:10, "Kevin O'Gorman" <[EMAIL PROTECTED]> 
wrote about '[gentoo-user] C programming use of isascii(), ispunct() and 
isblank() fails':
> Why is it that using some of the macros from ctype.h fails to compile?

You code compiles fine for me.  I'm using... hrm, an invalid profile... 
well, gcc --version reports 'gcc (GCC) 4.1.1 (Gentoo 4.1.1-r1)'

> if (ispunct(i)) punctf(" punct");

I did get a link error, because you haven't defined "punctf"; I'll bet you 
meant "printf".

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgp6D15zJcfTt.pgp
Description: PGP signature


Re: [gentoo-user] sudo requires password twice

2006-10-05 Thread Boyd Stephen Smith Jr.
On Thursday 05 October 2006 16:36, "Daevid Vincent" <[EMAIL PROTECTED]> 
wrote about 'RE: [gentoo-user] sudo requires password twice':
> I've not figured this out yet, so reposting in case someone has any
> ideas...

Hrm, I either never got the original (not surprising) of I was just 
skimming my mail to quickly and missed your question (even less 
surprising).

> auth   required /lib/security/pam_stack.so service=system-auth

This line...

> authinclude system-auth

and this one are redundant.  They both run through the system-auth chain as 
part of authentication.  In effect you are telling PAM that any sudo 
authentication needs to do system authentication twice w/ whatever 
pam_nologin does in between.

You'll want to remove one or the other, after investigating any subtle 
differences between the two that I'm unaware of, which may or may not 
exist.  (I haven't messed with PAM in months.)

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgpgo3GQfuNsH.pgp
Description: PGP signature


[gentoo-user] Re: unison

2006-10-05 Thread James
Neil Bothwick  digimed.co.uk> writes:


> The only things you are likely to want to exclude are config files, such
> as the mail config you mention. You also need to be sure that changes
> "take"; for example if you sync your Konqueror bookmarks and Konqueror is
> running, it will write its in-memory bookmarks to disc when it exits,
> overwriting the ones you just copied over. You can avoid this by logging
> out of the desktop on the destination machine before syncing.


Hello Neil,

It's almost working perfectly. I have one delimma that I can solve
with a script of my own, but, I was wondering if there is a method
using unison, that I have not read about. The issue is mozilla's
bookmarks.html file synchronization.

System A:
~/.mozilla/default/53a4kpfr.slt/bookmarks.html

System B:
~/.mozilla/default/6xnd2dcf.slt/bookmarks.html

Unison copies both dirs/files correctly back and forth
but the different installations of mozilla use different
paths to their bookmarks.html file.

How would you suggest I fix this (merge) or use one
as the master(correct) copy of bookmarks.html and get
the other installation of mozilla to use the copied
over file?



James


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails

2006-10-05 Thread Boyd Stephen Smith Jr.
On Thursday 05 October 2006 16:10, "Kevin O'Gorman" <[EMAIL PROTECTED]> 
wrote about '[gentoo-user] C programming use of isascii(), ispunct() and 
isblank() fails':
> Why is it that using some of the macros from ctype.h fails to compile?
> In particular, [isascii, ispuncy, and isblank].

I'd be nice if you you let use know the errors you are seeing.  Many of us 
may have a different configuration and be unable to reproduce errors; and 
most of us are neither mind readers nor precognitive so we wouldn't know 
if we'd reproduced the errors or not.

http://www.catb.org/~esr/faqs/smart-questions.html#symptoms

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgphhmdbS4GYk.pgp
Description: PGP signature


Re: [gentoo-user] OT - ipkungfu not

2006-10-05 Thread Boyd Stephen Smith Jr.
On Thursday 05 October 2006 14:44, Hans-Werner Hilse <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] OT - ipkungfu not':
> Concerning the IPs you've mentioned, that looks like
> 70.234.122.249 = 01000110.11101010.0010.1001
> 70.234.122.250 = 01000110.11101010.0010.1010
> 70.234.122.251 = 01000110.11101010.0010.1011
>
> Note that the first 29 bits are all equal.

In addition, the first 30 bits are all equal.

> So it would be sufficient to 
> specify a /29 netmask (255.255.255.248).

However, we can't specify a /30 because two addresses in each block (the 
highest and the lowest) are reserved for "network" (anycast) 
and "broadcast" (multicast).  You don't have to know what these are used 
for, just that you can't assign them.  Since one of your addresses is all 
1's after the common part (IPv4 addres is 32 bits, common part is 30 bits, 
so that means the 2 bits at the end are both 1), you have to move up to a 
larger netmask (in this case the next largest, /29, will do).

> Note that this will also 
> include the IP 70.234.122.248.

As would a /30, but in both cases it will be reserved (for "network") and 
can't be assigned to a single machine.  In a /30 your 70.234.122.251 would 
be reserved (for "broadcast") which is why you need to use /29.

> It would probably not be wise to 
> actually set this as an IP netmask when configuring the interfaces
> (will most certainly break routing and broadcasts),

???  SBC assigns our household a /29 block.  It is *required* that we 
configure that as our 255.255.255.248 as our netmask if we want routing to 
work.

I've also used /30 and /28 networks for routing.  Classful addressing is 
dead, long live CIDR addressing.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgpzAkI0EfNwv.pgp
Description: PGP signature


RE: [gentoo-user] sudo requires password twice

2006-10-05 Thread Daevid Vincent
I've not figured this out yet, so reposting in case someone has any ideas...

I did find this link:
http://www.mail-archive.com/openpkg-users@openpkg.org/msg01747.html

But I tried to add this:

authrequiredtry_first_pass

To my /etc/pam.d/sudo file and it didn't work.
Did I do that wrong?

This is my current file (default)

# File autogenerated by pamd_mimic_system in pam eclass
auth   required /lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
authinclude system-auth
account include system-auth
passwordinclude system-auth
session include system-auth

And I'm using app-admin/sudo 1.6.8_p9-r2 and sys-libs/pam 0.78-r5

DÆVID  

> -Original Message-
> From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, June 11, 2006 10:44 PM
> To: gentoo-user@lists.gentoo.org
> Subject: RE: [gentoo-user] sudo requires password twice
> 
> Just a little more info on this. I noticed on my server which 
> I've not done
> the pam/shadow update emerge yet, this same anomolie 
> occurs... Any ideas on
> why? 
> 
> > -Original Message-
> > From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
> > Sent: Friday, June 09, 2006 2:46 PM
> > To: gentoo-user@lists.gentoo.org
> > Subject: [gentoo-user] sudo requires password twice
> > 
> > I recently did an update world and had that 'pam'/'shadow' issue. 
> > Followed these pages:
> > http://planet.gentoo.org/developers/flameeyes/2006/03/19/the_s
> > hadow_and_pam_
> > login_conflict
> > 
> http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg35692.html
> > 
> > Everything seems fine. 
> > I've rebooted many times since. 
> > I can login from ssh or console. 
> > 
> > One odd behaviour:
> > 
> > [EMAIL PROTECTED] ~ $ sudo ifconfig
> > Password:
> > Password:
> > eth0  Link encap:Ethernet  HWaddr 00:08:74:E0:5C:3B  
> >   inet addr:172.16.35.234  Bcast:172.16.63.255  
> > Mask:255.255.224.0
> > ...
> > 
> > Whenever I first type 'sudo' I am prompted twice?! Then of 
> course sudo
> > remembers me for 5 minutes or whatever the timeout is, so 
> > subsequent 'sudo'
> > calls are not prompted.
> > 
> > I don't know if this is relevant, but perhaps it has to do 
> > with the pam
> > thing above?
> > 
> > locutus ~ # cat /etc/pam.d/sudo
> > # File autogenerated by pamd_mimic_system in pam eclass
> > 
> > auth   required /lib/security/pam_stack.so 
> service=system-auth
> > auth   required /lib/security/pam_nologin.so
> > 
> > authinclude system-auth
> > account include system-auth
> > passwordinclude system-auth
> > session include system-auth
> > 
> > ÐÆ5ÏÐ 
> > 
> > 
> > -- 
> > gentoo-user@gentoo.org mailing list
> > 
> > 
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - mythbackend not binding to port. Why? [SOLVED]

2006-10-05 Thread Michael Sullivan
On Thu, 2006-10-05 at 14:39 -0500, Michael Sullivan wrote:
> On Thu, 2006-10-05 at 14:10 -0500, Michael Sullivan wrote:
> > My mythbackend is screwing up.  I called /usr/bin/mythbackend directly
> > so that I could see what exactly the problem is.  It gave me this:
> > 
> > camille ~ # mythbackend
> > 2006-10-05 14:08:36.085 Using runtime prefix = /usr
> > 2006-10-05 14:08:36.120 New DB connection, total: 1
> > 2006-10-05 14:08:36.127 Connected to database 'mythconverg' at host:
> > localhost
> > 2006-10-05 14:08:36.139 Current Schema Version: 1123
> > Running as a slave backend.
> > 2006-10-05 14:08:36.153 New DB connection, total: 2
> > 2006-10-05 14:08:36.154 Connected to database 'mythconverg' at host:
> > localhost
> > 2006-10-05 14:08:36.156 mythbackend: MythBackend started as a slave
> > backend
> > 2006-10-05 14:08:36.173 New DB connection, total: 3
> > 2006-10-05 14:08:36.174 Connected to database 'mythconverg' at host:
> > localhost
> > 2006-10-05 14:08:36.241 mythbackend version: 0.19.20060121-2
> > www.mythtv.org
> > 2006-10-05 14:08:36.241 Enabled verbose msgs:  important general
> > 2006-10-05 14:08:36.242 AutoExpire: Found 1 recorders w/max rate of 72
> > MiB/min
> > 2006-10-05 14:08:36.244 AutoExpire: Required Free Space: 1.1 GB w/freq:
> > 10 min
> > QServerSocket: failed to bind or listen to the socket
> > 2006-10-05 14:08:36.247 Failed to bind port 6543. Exiting.
> > 
> > 
> > I tried it with and without the firewall running and I got the same
> > results.  Why can't it bind to the port?
> > 
> 
> I think I might have discovered one reason why mythbackend was screwing
> up.  I rebooted my machine and tried mythbackend again after rebooting:
> 
> camille ~ # mythbackend
> 2006-10-05 14:36:41.431 Using runtime prefix = /usr
> 2006-10-05 14:36:41.573 New DB connection, total: 1
> 2006-10-05 14:36:41.574 Unable to connect to database!
> 2006-10-05 14:36:41.574 Driver error was [1/2002]:
> QMYSQL3: Unable to connect
> Database error was:
> Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
> 
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open
> 2006-10-05 14:36:41.633 DB Error (KickDatabase):
> Query was:
> SELECT NULL;
> No error type from QSqlError?  Strange...
> 2006-10-05 14:36:41.688 Failed to init MythContext, exiting.
> 
> So I tried mysql:
> 
> camille ~ # /etc/init.d/mysql start
>  *  ...
>  * Starting mysql (/etc/mysql/my.cnf)
>  * MySQL NOT started (0)
> [ !! ]
> 
> I looked for logs:
> 
> camille ~ # ls /var/log/mysql
> camille ~ #
> 
> camille ~ # cat /var/log/messages | grep 'mysql'
> Jun 16 08:43:44 camille groupadd[27649]: new group: name=mysql, gid=60
> Jun 16 08:43:44 camille useradd[27713]: new user: name=mysql, uid=60,
> gid=60, home=/dev/null, shell=/bin/false
> Jun 18 17:01:18 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Jun 18 17:08:13 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Jun 19 16:15:21 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Jun 20 14:23:09 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Jun 25 20:29:49 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Jul 10 13:52:29 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Jul 20 11:26:56 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Jul 27 08:55:43 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Aug  3 17:50:25 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Aug  8 19:07:39 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Aug 26 21:36:41 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Sep  8 23:02:08 camille usermod[24305]: delete `mythtv' from group
> `mysql'
> Sep  8 23:02:09 camille usermod[24305]: delete `mythtv' from shadow
> group `mysql'
> Sep 15 17:46:20 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> Oct  2 13:13:00 camille rc-scripts: Strange, the socket file already
> exist in "/var/run/mysqld/mysqld.sock"
> camille ~ #
> 
> I can't find any logs as to why mysql won't start.  I can't make sense
> of the /etc/init.d/mysql script.  Can anyone give me a hint as to why
> mysql is not starting?
> 

The mysql problem was because I forgot to update my bind-address in
my.cnf.  Myth is working now...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo box "hangs"

2006-10-05 Thread Dmitry S. Makovey
On Wednesday 04 October 2006 18:24, Mick wrote:
> On Wednesday 04 October 2006 21:01, Dmitry S. Makovey wrote:
> > To eliminate KDE problem I tried to run fluxbox with Firefox &&
> > xterm - same results - hard freeze.
> >
> > Did anybody see something similar or at least some educated
> > guesses are welcome.
>
> Last time I experienced something like this was on a desktop which
> had incompatible memory modules fitted.  Trial and error resulted
> in me removing all but one module and the crashes miraculously
> stopped!  Knoppix alone would not cause any crashes whatsoever, but
> as soon as updatedb and an emerge were to take place
> simultaneously, the system would crash.  In particular, it would
> usually crash when the memory of the modules was about to be
> exhausted and the system was going to start writing on the swap
> partition.  It wouldn't happen every single time, but towards the
> end it was happening every time I booted the darn thing up.

thanks for sharing. One question I have - did you run memtest86 or 
something similar at the time? The reason I'm asking - I ran 
memtest86 on this machine and it showed nothing. I'm not entirely 
sure how much I can trust memtest.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problems installing on Thinkpad X41 Tablet

2006-10-05 Thread Henk Boom

(Sorry if this message appears twice, I don't think I mailed it
correctly the first time)

Hi, I am trying to intall gentoo on a Thinkpad X41 tablet, and am
having some difficulties.

I first partitionned my hard drive in knoppix, my partitions go from
sda1 to sda5. I then made a gentoo 2006.1 min install liveUSB (the X
series laptops have no cdrom) as per the instructions on
http://www.gentoo.org/doc/en/liveusb.xml

Booting from the USB drive, I start the gentoo kernel with "gentoo
dobladecenter doscsi"

The output I can see now (there was more before, but I can't seem to
scroll up) is:

Attempting to mount CD:- /dev/sda4
Attempting to mount CD:- /dev/sda5
Attempting to mount CD:- /dev/sda6
Attempting to mount CD:- /dev/sdb
Attempting to mount CD:- /dev/sdb1
No bootable medium found. Waiting for new devices...
Attempting to mount CD:- /dev/sda
Attempting to mount CD:- /dev/sda1
Attempting to mount CD:- /dev/sda2
Attempting to mount CD:- /dev/sda3
Attempting to mount CD:- /dev/sda4
Attempting to mount CD:- /dev/sda5
Attempting to mount CD:- /dev/sda6
Attempting to mount CD:- /dev/sdb
Attempting to mount CD:- /dev/sdb1
Attempting to mount CD:- /dev/sda
Attempting to mount CD:- /dev/sda1
Attempting to mount CD:- /dev/sda2
Attempting to mount CD:- /dev/sda3
Attempting to mount CD:- /dev/sda4
Attempting to mount CD:- /dev/sda5
Attempting to mount CD:- /dev/sda6
Attempting to mount CD:- /dev/sdb
Attempting to mount CD:- /dev/sdb1

!! Could not find CD to boot, something else needed!

Loading keymaps



Keeping default keymap
Determining root device...

!! The root block device is unspecified or not detected
Please specify a device to boot, or "shell" for a shell...
boot() ::

When I type /dev/sdb:

boot() :: /dev/sdb1

Mounting root...

mount: Mounting /dev/sdb1 on /newroot failed: Invalid argument
!! Could not mount specified ROOT, try again
!! The root block device is unspecified or not detected
Please specify a device to boot, or "shell" for a shell...
boot() ::

If I go into the shell, I can see that /dev/sdb1 and /newroot both
exist, and manually running "mount /dev/sdb1 /newroot/" (with and
without -t vfat) gives the same error message:
mount: Mounting /dev/sdb1 on /newroot/ failed: Invalid argument

Where do I go from here?

Thanks,
Henk Boom
--
gentoo-user@gentoo.org mailing list



[gentoo-user] C programming use of isascii(), ispunct() and isblank() fails

2006-10-05 Thread Kevin O'Gorman

Why is it that using some of the macros from ctype.h fails to compile?
In particular, the three mentioned in the subject: line.

Try this:

#include 
#include 

int main(int argc, char *argv[])
{
   int i;
   for (i = 0; i < 256; i++) {
   printf("%3d: ",i);
   if (isalpha(i)) printf(" alpha");
   if (isalnum(i)) printf(" alnum");
   if (isascii(i)) printf(" ascii");
   if (isblank(i)) printf(" blank");
   if (iscntrl(i)) printf(" cntrl");
   if (isdigit(i)) printf(" digit");
   if (isgraph(i)) printf(" graph");
   if (islower(i)) printf(" lower");
   if (isprint(i)) printf(" print");
   if (ispunct(i)) punctf(" punct");
   if (isspace(i)) printf(" space");
   if (isupper(i)) printf(" upper");
   if (isxdigit(i)) printf(" xdigit");
   printf("\n");
   }

   return 0;
}


--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Blocking only unsuccessful ssh connections

2006-10-05 Thread José González Gómez
2006/10/5, Hans-Werner Hilse <[EMAIL PROTECTED]>:
Hi,On Thu, 5 Oct 2006 20:47:18 +0200"José González Gómez" <[EMAIL PROTECTED]> wrote:> Unfortunately I'm not "responsible" for making these connections. I'm using
> Maven (http://maven.apache.org/) to deploy some files to my server. Maven> seems to use a different ssh connection for every operation it does (check> for current version deployed, read metadata, copy several files to remote
> server...). I'll write to the Maven list to ask about this, maybe there is> some way to slow down or reuse connections.Ah, I see. Well, that's easy to overcome by a SSH-via-SSH tunnel :-)Just make an initial connection like this:
$ ssh -L2:127.0.0.1:22 vhost.isp.organd then either use 127.0.0.1:2 as ssh target host, or configure a
section in your ~/.ssh/config for the tunneled access to the host, e.g.---snipHost tunneledvhostHostName 127.0.0.1Port 2---snipand then just use "tunneledvhost" to connect to.

Great!!! Man, I've got to write down this in my trick book :o)

I'm using Windows at work (yeah, I know) and putty instead of ssh, but
I've done port forwarding before with putty, so I guess I'll have no
problem.

Thank you very very much, best regards
Jose


Re: [gentoo-user] OT - ipkungfu not

2006-10-05 Thread Hans-Werner Hilse
Hi,

On Thu, 05 Oct 2006 13:59:06 -0500
Michael Sullivan <[EMAIL PROTECTED]> wrote:

> What if I wanted 70.234.122.249, 70.234.122.250, and 70.234.122.251 as
> the network.  What would the syntax for those three be?  I've never been
> able to figure out what the 127.0.0.1/8 syntax means... 

That slash notation is a shortcut for the netmask. /8 is the same as
"netmask 255.0.0.0". The number that comes after the slash is the
number of bits that is set in the netmask, counting from left. E.g.:
255.0.0.0 (decimal) = ... (binary).
This is the first eight bits are set.

A netmask gets masked onto the IP it belongs to to determine the net.
That is the network mask is combined via an AND operation with the
tested IP on the one hand and with the other tested IP (e.g. our own)
on the other hand. Both results must match. I'll use the private subnet
192.168.x.y as an example: You can use it as it is specified: To build
some Class-C networks. Such a network is specified as a /24 network.
That's the first 24 bits set and results in a netmask of 255.255.255.0.
That essentially means: all addresses that match the first 24 bits of
the current IP do belong to our network. Such a network would be all IPs
from 192.168.x.0 (x like in our current IP) up to 192.168.x.255. If you
configure it instead with a /16 netmask (255.255.0.0), it would include
everything from 192.168.0.0 up to 192.168.255.255.

Concerning the IPs you've mentioned, that looks like
70.234.122.249 = 01000110.11101010.0010.1001
70.234.122.250 = 01000110.11101010.0010.1010
70.234.122.251 = 01000110.11101010.0010.1011

Note that the first 29 bits are all equal. So it would be sufficient to
specify a /29 netmask (255.255.255.248). Note that this will also
include the IP 70.234.122.248. It would probably not be wise to
actually set this as an IP netmask when configuring the interfaces
(will most certainly break routing and broadcasts), but it can be used
in iptables configuration to match that given range of hosts.

I don't know ipkungfu, but I would be surprised if there wasn't the
possibility to specify more than one "LOCAL_NET". And a better name for
that config setting would actually be "ALLOW_NET" or similar.

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



Re: [gentoo-user] OT - mythbackend not binding to port. Why?

2006-10-05 Thread Michael Sullivan
On Thu, 2006-10-05 at 14:10 -0500, Michael Sullivan wrote:
> My mythbackend is screwing up.  I called /usr/bin/mythbackend directly
> so that I could see what exactly the problem is.  It gave me this:
> 
> camille ~ # mythbackend
> 2006-10-05 14:08:36.085 Using runtime prefix = /usr
> 2006-10-05 14:08:36.120 New DB connection, total: 1
> 2006-10-05 14:08:36.127 Connected to database 'mythconverg' at host:
> localhost
> 2006-10-05 14:08:36.139 Current Schema Version: 1123
> Running as a slave backend.
> 2006-10-05 14:08:36.153 New DB connection, total: 2
> 2006-10-05 14:08:36.154 Connected to database 'mythconverg' at host:
> localhost
> 2006-10-05 14:08:36.156 mythbackend: MythBackend started as a slave
> backend
> 2006-10-05 14:08:36.173 New DB connection, total: 3
> 2006-10-05 14:08:36.174 Connected to database 'mythconverg' at host:
> localhost
> 2006-10-05 14:08:36.241 mythbackend version: 0.19.20060121-2
> www.mythtv.org
> 2006-10-05 14:08:36.241 Enabled verbose msgs:  important general
> 2006-10-05 14:08:36.242 AutoExpire: Found 1 recorders w/max rate of 72
> MiB/min
> 2006-10-05 14:08:36.244 AutoExpire: Required Free Space: 1.1 GB w/freq:
> 10 min
> QServerSocket: failed to bind or listen to the socket
> 2006-10-05 14:08:36.247 Failed to bind port 6543. Exiting.
> 
> 
> I tried it with and without the firewall running and I got the same
> results.  Why can't it bind to the port?
> 

I think I might have discovered one reason why mythbackend was screwing
up.  I rebooted my machine and tried mythbackend again after rebooting:

camille ~ # mythbackend
2006-10-05 14:36:41.431 Using runtime prefix = /usr
2006-10-05 14:36:41.573 New DB connection, total: 1
2006-10-05 14:36:41.574 Unable to connect to database!
2006-10-05 14:36:41.574 Driver error was [1/2002]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2006-10-05 14:36:41.633 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2006-10-05 14:36:41.688 Failed to init MythContext, exiting.

So I tried mysql:

camille ~ # /etc/init.d/mysql start
 *  ...
 * Starting mysql (/etc/mysql/my.cnf)
 * MySQL NOT started (0)
[ !! ]

I looked for logs:

camille ~ # ls /var/log/mysql
camille ~ #

camille ~ # cat /var/log/messages | grep 'mysql'
Jun 16 08:43:44 camille groupadd[27649]: new group: name=mysql, gid=60
Jun 16 08:43:44 camille useradd[27713]: new user: name=mysql, uid=60,
gid=60, home=/dev/null, shell=/bin/false
Jun 18 17:01:18 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Jun 18 17:08:13 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Jun 19 16:15:21 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Jun 20 14:23:09 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Jun 25 20:29:49 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Jul 10 13:52:29 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Jul 20 11:26:56 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Jul 27 08:55:43 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Aug  3 17:50:25 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Aug  8 19:07:39 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Aug 26 21:36:41 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Sep  8 23:02:08 camille usermod[24305]: delete `mythtv' from group
`mysql'
Sep  8 23:02:09 camille usermod[24305]: delete `mythtv' from shadow
group `mysql'
Sep 15 17:46:20 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
Oct  2 13:13:00 camille rc-scripts: Strange, the socket file already
exist in "/var/run/mysqld/mysqld.sock"
camille ~ #

I can't find any logs as to why mysql won't start.  I can't make sense
of the /etc/init.d/mysql script.  Can anyone give me a hint as to why
mysql is not starting?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Blocking only unsuccessful ssh connections

2006-10-05 Thread Hans-Werner Hilse
Hi,

On Thu, 5 Oct 2006 20:47:18 +0200
"José González Gómez" <[EMAIL PROTECTED]> wrote:

> Unfortunately I'm not "responsible" for making these connections. I'm using
> Maven (http://maven.apache.org/) to deploy some files to my server. Maven
> seems to use a different ssh connection for every operation it does (check
> for current version deployed, read metadata, copy several files to remote
> server...). I'll write to the Maven list to ask about this, maybe there is
> some way to slow down or reuse connections.

Ah, I see. Well, that's easy to overcome by a SSH-via-SSH tunnel :-)
Just make an initial connection like this:

$ ssh -L2:127.0.0.1:22 vhost.isp.org

and then either use 127.0.0.1:2 as ssh target host, or configure a
section in your ~/.ssh/config for the tunneled access to the host, e.g.
---snip
Host tunneledvhost
HostName 127.0.0.1
Port 2
---snip
and then just use "tunneledvhost" to connect to.

-hwh

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - mythbackend not binding to port. Why?

2006-10-05 Thread Michael Sullivan
My mythbackend is screwing up.  I called /usr/bin/mythbackend directly
so that I could see what exactly the problem is.  It gave me this:

camille ~ # mythbackend
2006-10-05 14:08:36.085 Using runtime prefix = /usr
2006-10-05 14:08:36.120 New DB connection, total: 1
2006-10-05 14:08:36.127 Connected to database 'mythconverg' at host:
localhost
2006-10-05 14:08:36.139 Current Schema Version: 1123
Running as a slave backend.
2006-10-05 14:08:36.153 New DB connection, total: 2
2006-10-05 14:08:36.154 Connected to database 'mythconverg' at host:
localhost
2006-10-05 14:08:36.156 mythbackend: MythBackend started as a slave
backend
2006-10-05 14:08:36.173 New DB connection, total: 3
2006-10-05 14:08:36.174 Connected to database 'mythconverg' at host:
localhost
2006-10-05 14:08:36.241 mythbackend version: 0.19.20060121-2
www.mythtv.org
2006-10-05 14:08:36.241 Enabled verbose msgs:  important general
2006-10-05 14:08:36.242 AutoExpire: Found 1 recorders w/max rate of 72
MiB/min
2006-10-05 14:08:36.244 AutoExpire: Required Free Space: 1.1 GB w/freq:
10 min
QServerSocket: failed to bind or listen to the socket
2006-10-05 14:08:36.247 Failed to bind port 6543. Exiting.


I tried it with and without the firewall running and I got the same
results.  Why can't it bind to the port?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - ipkungfu not

2006-10-05 Thread Michael Sullivan
On Thu, 2006-10-05 at 19:33 +0200, Hans-Werner Hilse wrote:
> Hi,
> 
> On Thu, 05 Oct 2006 09:45:57 -0500
> Michael Sullivan <[EMAIL PROTECTED]> wrote:
> 
> > On Thu, 2006-10-05 at 15:22 +0200, Hans-Werner Hilse wrote:
> > > Yep. That's how it should be according to your iptables dump. I never
> > > fighted with ipkungfu, but I think the LOCAL_NET configuration opens
> > > the door for the given network. At least that's how I interpret that
> > > comment there that says you should enter loopback network data if not
> > > sure. You probably should really do that.
> > 
> > I've configured it this way because the IP address of each of my
> > computers will be changing once I get this firewall thing working.  I'll
> > try that though.
> 
> Well, I meant: Networks listed in LOCAL_NET are probably _meant_ to
> have full access. So what you describe is essentially a misconception
> about what LOCAL_NET does configure. And since there is a comment in
> the ipkungfu config file that says you should enter 127.0.0.1 there, I
> guess it is meant to generally allow traffic. And you'll probably want
> to allow 127.0.0.1 anyway (if not even 127.0.0.0/8). That configuration
> seems to end up in the iptables INPUT section right before a catch-all
> that drops all other traffic, and that really makes me think that
> everything is working fine, just as configured. Probably changing it to
> the suggested "127.0.0.1" will "fix" the issue.
> 
> -hwh

What if I wanted 70.234.122.249, 70.234.122.250, and 70.234.122.251 as
the network.  What would the syntax for those three be?  I've never been
able to figure out what the 127.0.0.1/8 syntax means... 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Blocking only unsuccessful ssh connections

2006-10-05 Thread José González Gómez
Hi there2006/10/5, Daniel da Veiga <[EMAIL PROTECTED]>:
On 10/5/06, José González Gómez <[EMAIL PROTECTED]> wrote:> Hi there,>> I've got a virtual private server hosted somewhere and they're blocking me
> because their intrusion detection system detects 10 ssh connections in less> than 2 minutes from my current IP. My question is: is it possible for an> intrusion detection system to differentiate between successful and
> unsuccessful ssh connections so they don't block me? Of course all my> connections are successful.>As Hans-Werner already told you, there are better ways to detectintrusion, and of course they could implement it in a way successful
connection would not cause the intrusion detect system to block you,but its a bit more complicated and would involve the whole system,wich most providers do not want/care to have and if they have, theycharge over it.
The questions here, if you don't want to argue with your hostprovider, would be:1) Is there another provider that does not have such limitation?
Well, I would really know about this... does anybody know?
2) 10 connection in 2 minutes is a good config, why do you have somany connections in so little time? Is there another way to do
whatever you're trying to do with less connections?
Unfortunately I'm not "responsible" for making these connections. I'm
using Maven (http://maven.apache.org/) to deploy some files to my
server. Maven seems to use a different ssh connection for every
operation it does (check for current version deployed, read metadata,
copy several files to remote server...). I'll write to the Maven list
to ask about this, maybe there is some way to slow down or reuse
connections.
I've rewrote a complete system just so I would not have to discuss myISP security policies. I guess it was faster to change a few hundred
lines of code than to keep calling them on the phone to argue about it(if I could, I would have changed ISP).
Well, that's another option. After all Maven is open source, so I could
take a look at the code making the connections and try to improve it.

Thanks a lot, best regards
Jose


Re: [gentoo-user] [OT] Blocking only unsuccessful ssh connections

2006-10-05 Thread José González Gómez
Hi2006/10/5, Hans-Werner Hilse <[EMAIL PROTECTED]>:
Hi,On Thu, 5 Oct 2006 17:33:15 +0200"José González Gómez" <[EMAIL PROTECTED]> wrote:> I've got a virtual private server hosted somewhere and they're blocking me
> because their intrusion detection system detects 10 ssh connections in less> than 2 minutes from my current IP. My question is: is it possible for an> intrusion detection system to differentiate between successful and
> unsuccessful ssh connections so they don't block me? Of course all my> connections are successful.Well of course. It takes a bit more work, though. What are you trying?Proving to the hoster that they could do better? I guess they know that
already (and are happy to bill you for better service).
I'm just trying to decide if I should keep my current hoster and find out if this is common practice among hosters.
In short: length of conversation would be an indication. Doesn't workfor simple firewalls that don't really work on full TCP streams. And I
guess that's the reason why your hoster doesn't opt for something moreelaborated.Maybe you should just run ssh on a different port?
Thanks for the idea, I'll take it into account.

Best regards
Jose


Re: [gentoo-user] {OT} dvdrip permissions error, alternative?

2006-10-05 Thread Mike Williams
On Thursday 05 October 2006 17:57, Grant wrote:
> When I click on "RIP Title" in dvdrip, I get a permission denied error
> regarding Project.pm.  All of the other options in the other tabs are
> grayed out and unmodifiable.  If I try to run the program as root, it
> says it cannot open the display.  Does anyone know what's wrong here?
> I've tried amd64 and ~amd64 versions.

What's the error?
I've run dvdrip for a long time and don't get any errors.

> I'm trying to make backups of my DVDs that are smaller than the full
> 8GB but don't lose any noticeable audio or video quality.  I'd be
> happy to just select the audio and video track I want and rip them
> without any transcoding.  Would anyone recommend a program other than
> dvdrip for this?  I would use mplayer's mencode, but mplayer can't
> play my "The Life of Mammals" DVD so I don't think mencode will work.
> I believe that DVD is copy protected.

dvd9to5. If you don't put a blank dvd into the drive it'll leave a DVD image 
under 4.7GB.

I do my DVDs with both dvd9to5 and dvdrip (at 192Kbps MP3 audio, 1500Kbps 
video) and the quality is all but perfect (1800Kbps video should easily clear 
up the very very small lose).

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Blocking only unsuccessful ssh connections

2006-10-05 Thread Daniel da Veiga

On 10/5/06, José González Gómez <[EMAIL PROTECTED]> wrote:

Hi there,

I've got a virtual private server hosted somewhere and they're blocking me
because their intrusion detection system detects 10 ssh connections in less
than 2 minutes from my current IP. My question is: is it possible for an
intrusion detection system to differentiate between successful and
unsuccessful ssh connections so they don't block me? Of course all my
connections are successful.



As Hans-Werner already told you, there are better ways to detect
intrusion, and of course they could implement it in a way successful
connection would not cause the intrusion detect system to block you,
but its a bit more complicated and would involve the whole system,
wich most providers do not want/care to have and if they have, they
charge over it.

The questions here, if you don't want to argue with your host
provider, would be:
1) Is there another provider that does not have such limitation?
2) 10 connection in 2 minutes is a good config, why do you have so
many connections in so little time? Is there another way to do
whatever you're trying to do with less connections?

I've rewrote a complete system just so I would not have to discuss my
ISP security policies. I guess it was faster to change a few hundred
lines of code than to keep calling them on the phone to argue about it
(if I could, I would have changed ISP).

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] watermark PS files

2006-10-05 Thread Joseph
> > watermark to existing PS files (ex. for faxing etc.)
> > Does anybody knows how to do it?
> 
> There are probably other options, but I would vote for using PDF for
> that. Convert your PS files to PDF (using ghostscript's ps2pdfN), then
> use pdftk for making versions with watermarks. Opposite to PS (which
> you can use to do strange things), that will work reliably.
> Caveat: I think pdftk needs gcj<4.0.0 for compilation & at runtime.

Thanks, sounds like a good solution, though you are right I need to to
recompile gcc with gcj

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Blocking only unsuccessful ssh connections

2006-10-05 Thread Hans-Werner Hilse
Hi,

On Thu, 5 Oct 2006 17:33:15 +0200
"José González Gómez" <[EMAIL PROTECTED]> wrote:

> I've got a virtual private server hosted somewhere and they're blocking me
> because their intrusion detection system detects 10 ssh connections in less
> than 2 minutes from my current IP. My question is: is it possible for an
> intrusion detection system to differentiate between successful and
> unsuccessful ssh connections so they don't block me? Of course all my
> connections are successful.

Well of course. It takes a bit more work, though. What are you trying?
Proving to the hoster that they could do better? I guess they know that
already (and are happy to bill you for better service).

In short: length of conversation would be an indication. Doesn't work
for simple firewalls that don't really work on full TCP streams. And I
guess that's the reason why your hoster doesn't opt for something more
elaborated.

Maybe you should just run ssh on a different port?

-hwh

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - ipkungfu not

2006-10-05 Thread Hans-Werner Hilse
Hi,

On Thu, 05 Oct 2006 09:45:57 -0500
Michael Sullivan <[EMAIL PROTECTED]> wrote:

> On Thu, 2006-10-05 at 15:22 +0200, Hans-Werner Hilse wrote:
> > Yep. That's how it should be according to your iptables dump. I never
> > fighted with ipkungfu, but I think the LOCAL_NET configuration opens
> > the door for the given network. At least that's how I interpret that
> > comment there that says you should enter loopback network data if not
> > sure. You probably should really do that.
> 
> I've configured it this way because the IP address of each of my
> computers will be changing once I get this firewall thing working.  I'll
> try that though.

Well, I meant: Networks listed in LOCAL_NET are probably _meant_ to
have full access. So what you describe is essentially a misconception
about what LOCAL_NET does configure. And since there is a comment in
the ipkungfu config file that says you should enter 127.0.0.1 there, I
guess it is meant to generally allow traffic. And you'll probably want
to allow 127.0.0.1 anyway (if not even 127.0.0.0/8). That configuration
seems to end up in the iptables INPUT section right before a catch-all
that drops all other traffic, and that really makes me think that
everything is working fine, just as configured. Probably changing it to
the suggested "127.0.0.1" will "fix" the issue.

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



Re: [gentoo-user] {OT} dvdrip permissions error, alternative?

2006-10-05 Thread Meino Christian Cramer
From: Grant <[EMAIL PROTECTED]>
Subject: [gentoo-user] {OT} dvdrip permissions error, alternative?
Date: Thu, 5 Oct 2006 09:57:03 -0700

> When I click on "RIP Title" in dvdrip, I get a permission denied error
> regarding Project.pm.  All of the other options in the other tabs are
> grayed out and unmodifiable.  If I try to run the program as root, it
> says it cannot open the display.  Does anyone know what's wrong here?
> I've tried amd64 and ~amd64 versions.
> 
> I'm trying to make backups of my DVDs that are smaller than the full
> 8GB but don't lose any noticeable audio or video quality.  I'd be
> happy to just select the audio and video track I want and rip them
> without any transcoding.  Would anyone recommend a program other than
> dvdrip for this?  I would use mplayer's mencode, but mplayer can't
> play my "The Life of Mammals" DVD so I don't think mencode will work.
> I believe that DVD is copy protected.
> 
> - Grant
> -- 
> gentoo-user@gentoo.org mailing list
> 

Hi Grant,

 Try the following:

 As user (not as root) become root with "sux" not with "su".
 Or as user gove root "access permission" to your X server with
 "xhost" (-> see manpage).

 I f this does not help:
 sux to root and check the DISPLAY environment variable, whether it
 is correctly set. Should something like  ":0.0" or "localhost:0.0".

 The above are fixing (may be) the symptoms, not the cause of the
 problem.

 These are comeing from the wrong permissions set for the file
 Project.pm .

 ...but when it is emerged, it should be correctly set.

 At this point I have no clue, whether wrong permissions are given 
 to that file/to those files of package.

 Only my two cents, your currency may vary...

 HTH and keep hacking!
 mcc


 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} dvdrip permissions error, alternative?

2006-10-05 Thread Hemmann, Volker Armin
On Thursday 05 October 2006 18:57, Grant wrote:
> When I click on "RIP Title" in dvdrip, I get a permission denied error
> regarding Project.pm.  All of the other options in the other tabs are
> grayed out and unmodifiable.  If I try to run the program as root, it
> says it cannot open the display.  Does anyone know what's wrong here?
> I've tried amd64 and ~amd64 versions.
>
> I'm trying to make backups of my DVDs that are smaller than the full
> 8GB but don't lose any noticeable audio or video quality.  I'd be
> happy to just select the audio and video track I want and rip them
> without any transcoding.  Would anyone recommend a program other than
> dvdrip for this?  I would use mplayer's mencode, but mplayer can't
> play my "The Life of Mammals" DVD so I don't think mencode will work.
> I believe that DVD is copy protected.
>
> - Grant

stop running it as root.

correct the permissions on the /dev/ files and the dir you try to write too.

Make sure, the user is in the right groups.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] {OT} dvdrip permissions error, alternative?

2006-10-05 Thread Grant

When I click on "RIP Title" in dvdrip, I get a permission denied error
regarding Project.pm.  All of the other options in the other tabs are
grayed out and unmodifiable.  If I try to run the program as root, it
says it cannot open the display.  Does anyone know what's wrong here?
I've tried amd64 and ~amd64 versions.

I'm trying to make backups of my DVDs that are smaller than the full
8GB but don't lose any noticeable audio or video quality.  I'd be
happy to just select the audio and video track I want and rip them
without any transcoding.  Would anyone recommend a program other than
dvdrip for this?  I would use mplayer's mencode, but mplayer can't
play my "The Life of Mammals" DVD so I don't think mencode will work.
I believe that DVD is copy protected.

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



Re: [gentoo-user] 2 remote printing methods

2006-10-05 Thread Neil Bothwick
On Thu, 5 Oct 2006 09:30:51 -0700, Grant wrote:

> Is that correct?  Could I use two remote printers attached to the same
> print server via the ServerName method?

Yes. I have two printers attached to my Mini-ITX server box and both are
available across the network. The only configuration on the client boxes
is to add the ServerName directive, the printers are picked up
automatically.


-- 
Neil Bothwick

[EMAIL PROTECTED]


signature.asc
Description: PGP signature


[gentoo-user] 2 remote printing methods

2006-10-05 Thread Grant

If I'm understanding it correctly, there are two ways to print
remotely via cups.  I can set up the same printer in both the local
and remote cups admins, or I can specify the ServerName directive in
the local /etc/cups/client.conf and only set up the printer on the
remote system.

Is that correct?  Could I use two remote printers attached to the same
print server via the ServerName method?

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



[gentoo-user] watermark PS files

2006-10-05 Thread Joseph
watermark to existing PS files (ex. for faxing etc.)
Does anybody knows how to do it?
I've run onto various scripts but didn't have much luck with most of
them.
This little postscript snippet prints CONFIDENTIAL diagonally across the
page:
example---
/wp$y 792 def
/wp$x 612 def
%---Customize Here---
/font /Helvetica-Bold def
/pointsize 96 def
/text1 (CONFIDENTIAL) def
%---End Customization
/center {dup stringwidth pop
2 div neg 0 rmoveto} def
wp$x 2 div wp$y 2 div pointsize 2 div sub moveto
.85 setgray
font findfont pointsize scalefont setfont
45 rotate
0 0 text1 center ashow
%
end example-

but it needs to be inserted at the right spot or it will not work.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: unison

2006-10-05 Thread Neil Bothwick
On Thu, 5 Oct 2006 15:31:43 + (UTC), James wrote:

> I want to sync up (2) portables, down to every file (including
> dot files, email boxes etc) using unison.  This only applies
> to the user's home dir, not any other files. I have to be ready to
> travel at a moments notice and fix equipment for a variety of
> installations.   I have identical setups on both portables,
> one is a p4 the other an amd64(turion). I cannot be caught
> in a situation where my portable is not ready for field support.
> Are there any files in my home dir that I should exclude from unison
> as they will be different, (due to the nature of the different
> arch's of the machines)?
> 
> I do maintain identical world files on each machine as well as
> similar make.conf entries(except for arch related stuff).
> 
> Off hand, I cannot think of any so I should just be able to point
> unison to the user's home dir (/home/james) and duplicate
> EVERYTHING??
> 
> I do have both system setup to only poll for email when I manually
> request it, but, that's all I can think of.

The only things you are likely to want to exclude are config files, such
as the mail config you mention. You also need to be sure that changes
"take"; for example if you sync your Konqueror bookmarks and Konqueror is
running, it will write its in-memory bookmarks to disc when it exits,
overwriting the ones you just copied over. You can avoid this by logging
out of the desktop on the destination machine before syncing.


-- 
Neil Bothwick

Several errant electrons jumped when they shouldn't have at a place they
shouldn't have, resulting in what shouldn't have. In short, a short.


signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo print server

2006-10-05 Thread Grant

> I'm trying to set up one of my systems as a print server and I'm stuck
> at the point where I should configure the system's printer.  It's a
> headless system so I need to configure the printer through my
> workstation.  I'm using this:
>
> http://www.gentoo.org/doc/en/printing-howto.xml
>
> and I've followed the steps to allow remote administration, but I'm
> not sure how to actually do that.  Should typing this into the browser
> work:
>
> 192.168.0.1:631
>
> I just get the standard:
>
> "Firefox can't establish a connection to the server at 192.168.0.1:631."

Make sure that in /etc/cups/cupsd.conf you have a

Listen 192.168.0.1:631

line. Without it, IIRC, CUPS will listen on localhost:631.


Thank you, just what I needed.  It's not mentioned in the Gentoo
printing doc for some reason, even though they cover remote
administration.

It's now working great via:

http://192.168.0.1:631/printers/brotherhl2040

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



[gentoo-user] Re: unison

2006-10-05 Thread James
Neil Bothwick  digimed.co.uk> writes:


> > > http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=372545  

> > > It's a FONT problem??  



> Is this an old thread or have I missed a lot of posts? Anyway, I had this
> problem a while ago and the fix is simple, emerge
> media-fonts/font-schumacher-misc


Hello Neil,

I had these fonts installed on both systems already.
I went ahead and rebuilt the fonts and unison on both systems.

The gui interface now works greatno problems. (thanks)

On another note, since you have some experience with unison.

I want to sync up (2) portables, down to every file (including
dot files, email boxes etc) using unison.  This only applies
to the user's home dir, not any other files. I have to be ready to
travel at a moments notice and fix equipment for a variety of
installations.   I have identical setups on both portables,
one is a p4 the other an amd64(turion). I cannot be caught
in a situation where my portable is not ready for field support.
Are there any files in my home dir that I should exclude from unison
as they will be different, (due to the nature of the different
arch's of the machines)?

I do maintain identical world files on each machine as well as
similar make.conf entries(except for arch related stuff).

Off hand, I cannot think of any so I should just be able to point
unison to the user's home dir (/home/james) and duplicate
EVERYTHING??

I do have both system setup to only poll for email when I manually
request it, but, that's all I can think of. However, I have
not used something like unison before, so any suggestions
or caveats would be most welcome.


James





-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Blocking only unsuccessful ssh connections

2006-10-05 Thread José González Gómez
Hi there,I've got a virtual private server hosted somewhere and they're blocking me because their intrusion detection system detects 10 ssh connections in less than 2 minutes from my current IP. My question is: is it possible for an intrusion detection system to differentiate between successful and unsuccessful ssh connections so they don't block me? Of course all my connections are successful.
Thanks in advance, best regardsJose


Re: [gentoo-user] OT - ipkungfu not

2006-10-05 Thread Michael Sullivan
On Thu, 2006-10-05 at 15:22 +0200, Hans-Werner Hilse wrote:
> Hi,
> 
> On Thu, 05 Oct 2006 08:07:49 -0500 Michael Sullivan
> <[EMAIL PROTECTED]> wrote:
> 
> > ACCEPT all  --  192.168.1.0/24   anywherestate NEW
> > [...]
> > 
> > And I can still detect all those ports open from nmap on another
> > machine.
> 
> Yep. That's how it should be according to your iptables dump. I never
> fighted with ipkungfu, but I think the LOCAL_NET configuration opens
> the door for the given network. At least that's how I interpret that
> comment there that says you should enter loopback network data if not
> sure. You probably should really do that.
> 
> -hwh

I've configured it this way because the IP address of each of my
computers will be changing once I get this firewall thing working.  I'll
try that though.

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Eth0 not responding (sleeping??)

2006-10-05 Thread Timothy A. Holmes

> > > Flaky switch? (Too) long or bad (non-standard) cabling? That was 
> > > usually the explanation when I was seeing such behaviour.
> > > 
> > Not sure what you mean about hijacking the thread, but I am 
> sorry -- I 
> > didn't mean to do anything wrong.
> 
> No, you're only hurting yourself: Thread hijacking describes 
> using the "reply" facility of your email program to start a 
> new thread (instead of starting a new, fresh email, e.g. by 
> clicking on the ML address).
> Email agents that make use of information in the mail headers 
> for displaying threads will show your mail inside the 
> structure of an existing thread. Some people might not even 
> find your message buried in there. See the following link for 
> knowing what I mean:
> http://groups.google.com/group/linux.gentoo.user/browse_frm/th
> read/601571a0fced1a73/e17f8a0483af6690?tvc=1
> 
> 
> > As far as the switch, its on a hub that is on the span port of a 
> > foundry switch (the hub is used as a poormans network tap -- I have 
> > seen the same type of failure on machines directly connected to a 
> > switch also)
> > 
> > The cable is a commercially manufactured cable that tests out 
> > correctly
> > - -its about 6 feet long
> 
> Did you try if it works with another cable, on another port 
> of the switch/hub? That would be proper exclusion of probable 
> errors. You're description tells me what you have, but not if 
> it's working right now.
> 
> HTH,
> 
> -hwh
> --
> gentoo-user@gentoo.org mailing list
> 
> 


Hans:

Thanks for the explaination -- Outlook strikes again :(

I will change the way I do things

As far as the problem, I am going to try new hardware and see what
happens

TIM

Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - ipkungfu not

2006-10-05 Thread Hans-Werner Hilse
Hi,

On Thu, 05 Oct 2006 08:07:49 -0500 Michael Sullivan
<[EMAIL PROTECTED]> wrote:

> ACCEPT all  --  192.168.1.0/24   anywherestate NEW
> [...]
> 
> And I can still detect all those ports open from nmap on another
> machine.

Yep. That's how it should be according to your iptables dump. I never
fighted with ipkungfu, but I think the LOCAL_NET configuration opens
the door for the given network. At least that's how I interpret that
comment there that says you should enter loopback network data if not
sure. You probably should really do that.

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



Re: [gentoo-user] OT - ipkungfu not

2006-10-05 Thread Michael Sullivan
On Wed, 2006-10-04 at 18:57 -0700, Ryan Tandy wrote:
> Michael Sullivan wrote:
> > I'm having a problem with ipkungfu on one of my boxes.  According to the
> > log files, it's running, but it doesn't seem to be firewall-ing.  It's
> > not working on 192.168.1.2.  Here's nmap output from 192.168.1.3:
> > 
> > camille ~ # nmap -sT -PT 192.168.1.2
> > 
> > Starting Nmap 4.01 ( http://www.insecure.org/nmap/ ) at 2006-10-04 20:39
> > CDT
> > Interesting ports on bullet.espersunited.com (192.168.1.2):
> > (The 1657 ports scanned but not shown below are in state: closed)
> > PORT STATE SERVICE
> > 21/tcp   open  ftp
> > 22/tcp   open  ssh
> > 25/tcp   open  smtp
> > 53/tcp   open  domain
> > 80/tcp   open  http
> > 111/tcp  open  rpcbind
> > 139/tcp  open  netbios-ssn
> > 143/tcp  open  imap
> > 445/tcp  open  microsoft-ds
> > 587/tcp  open  submission
> > 631/tcp  open  ipp
> > 746/tcp  open  unknown
> > 993/tcp  open  imaps
> > 2049/tcp open  nfs
> > 3632/tcp open  distccd
> > MAC Address: 00:10:4B:73:8E:81 (3com)
> > 
> > Nmap finished: 1 IP address (1 host up) scanned in 0.597 seconds
> > 
> 
> OK.  What does iptables -L report?  Is iptables in your default 
> runlevel? (hint: it shouldn't be.)  If iptables is being started after 
> ipkungfu for some reason, it may be overwriting ipkungfu's iptables 
> rules with its saved (blank) ruleset.  Try 'rc-update del iptables && 
> reboot' if iptables is present in any runlevels.  When you start 
> ipkungfu, are there any error messages?

bullet ipkungfu # iptables -L
Chain INPUT (policy DROP)
target prot opt source   destination
ACCEPT all  --  anywhere anywherestate
RELATED,ESTABLISHED
LOGall  --  0.0.0.1  anywhereLOG level
warning prefix `IPKF IPKungFu (--init)'
DROP   all  --  125.250.19.90anywhere
DROP   all  --  abo-140-170-68.bab.modulonet.fr  anywhere
DROP   all  --  220.163.199.101  anywhere
DROP   all  --  217.10.189.30anywhere
ACCEPT all  --  bullet.espersunited.com  anywhere
ACCEPT all  --  camille.espersunited.com  anywhere
ACCEPT all  --  catherine.espersunited.com  anywhere
ACCEPT all  --  bubbles.espersonline.com  anywhere
ACCEPT all  --  192.168.1.101anywhere
ACCEPT all  --  192.168.1.102anywhere
ACCEPT all  --  192.168.1.103anywhere
DROP   all  --  anywhere anywhererecent:
CHECK seconds: 120 name: badguy side: source
LOGtcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,PSH,ACK,URG limit: avg 3/sec
burst 5 LOG level warning prefix `IPKF flags ALL: '
LOGtcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/NONE limit: avg 3/sec burst 5 LOG level
warning prefix `IPKF flags NONE: '
LOGtcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/FIN,PSH,URG limit: avg 3/sec burst 5 LOG
level warning prefix `IPKF PORTSCAN (nmap XMAS): '
LOGtcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/FIN limit: avg 3/sec burst 5 LOG level
warning prefix `IPKF PORTSCAN (nmap FIN): '
LOGtcp  --  anywhere anywheretcp
flags:FIN,SYN/FIN,SYN limit: avg 3/sec burst 5 LOG level warning prefix
`IPKF flags SYN,FIN: '
LOGtcp  --  anywhere anywheretcp
flags:SYN,RST/SYN,RST limit: avg 3/sec burst 5 LOG level warning prefix
`IPKF flags SYN,RST: '
LOGtcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,ACK,URG limit: avg 3/sec burst
5 LOG level warning prefix `IPKF SYN,RST,ACK,FIN,URG: '
LOGtcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/NONE limit: avg 3/sec burst 5 LOG level
warning prefix `IPKF PORTSCAN (nmap NULL): '
DROP   tcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,ACK,URG
DROP   tcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/NONE
DROP   tcp  --  anywhere anywheretcp
flags:FIN,SYN/FIN,SYN
DROP   tcp  --  anywhere anywheretcp
flags:SYN,RST/SYN,RST
DROP   tcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/FIN,PSH,URG
DROP   tcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,PSH,ACK,URG
DROP   tcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/FIN
DROP   tcp  --  anywhere anywheretcp
flags:FIN,SYN,RST,PSH,ACK,URG/NONE
ACCEPT icmp --  anywhere anywhereicmp
echo-request
LOGall  --  anywhere anywherestate
INVALID limit: avg 3/sec burst 5 LOG level warning prefix `IPKF Invalid
TCP flag: '
DROP   all  --  anywher

Re: [gentoo-user] Eth0 not responding (sleeping??)

2006-10-05 Thread Hans-Werner Hilse
Hi,

On Thu, 5 Oct 2006 08:23:38 -0400 "Timothy A. Holmes"
<[EMAIL PROTECTED]> wrote:

> > Flaky switch? (Too) long or bad (non-standard) cabling? That 
> > was usually the explanation when I was seeing such behaviour.
> > 
> Not sure what you mean about hijacking the thread, but I am sorry -- I
> didn't mean to do anything wrong.

No, you're only hurting yourself: Thread hijacking describes using the
"reply" facility of your email program to start a new thread (instead
of starting a new, fresh email, e.g. by clicking on the ML address).
Email agents that make use of information in the mail headers for
displaying threads will show your mail inside the structure of an
existing thread. Some people might not even find your message buried in
there. See the following link for knowing what I mean:
http://groups.google.com/group/linux.gentoo.user/browse_frm/thread/601571a0fced1a73/e17f8a0483af6690?tvc=1


> As far as the switch, its on a hub that is on the span port of a
> foundry switch (the hub is used as a poormans network tap -- I have
> seen the same type of failure on machines directly connected to a
> switch also)
> 
> The cable is a commercially manufactured cable that tests out
> correctly
> - -its about 6 feet long

Did you try if it works with another cable, on another port of the
switch/hub? That would be proper exclusion of probable errors. You're
description tells me what you have, but not if it's working right now.

HTH,

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



Re: [gentoo-user] evolution mail reader won't give up

2006-10-05 Thread Michael Sullivan
On Wed, 2006-10-04 at 19:44 -0700, Kevin O'Gorman wrote:
> On 10/4/06, Michael Sullivan <[EMAIL PROTECTED]> wrote:
> > On Wed, 2006-10-04 at 08:01 -0700, Kevin O'Gorman wrote:
> > > I sent a mail with a bad address, and it continues to haunt me.  I
> > > can't figure out a way to get evolution to just abandon it.  Whenever
> > > I quit, it reminds me that it has unsent mail.  Whenever it retries,
> > > it pops up a dialog giving details: "RCPT TO  failed:
> > >  ... User unknown.
> > >
> > > How do I get evolution to stop nagging me about this?
> > >
> > > ++ kevin
> > >
> > > --
> > > Kevin O'Gorman, PhD
> >
> > Can't you just select your Outbox and delete the email with the bad
> > address?
> 
>  well, um, yes I can.  I just didn't know I had one because
> I've had no other reason to keep the "on this computer" thingy 
> expanded
> 
> thanks.
> 
> ++ kevin
> -- 
> Kevin O'Gorman, PhD

It's okay.  I've had my own share of evolution woes; I've had that
particular one several times.  Unfortunately, after you send an email
there's no way to change anything about it (such as the address line).

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Eth0 not responding (sleeping??)

2006-10-05 Thread Timothy A. Holmes
> Hi,
> 
> First: stop hijacking threads!
> 
> On Wed, 4 Oct 2006 15:21:58 -0400 "Timothy A. Holmes"
> <[EMAIL PROTECTED]> wrote:
> 
> > The problem is that the network adapter seems to "fall asleep"
> > periodically. If I attempt to access the base webpage or 
> ssh, I get no 
> > response till I ping the box -- 8 pings later, it wakes up and acts 
> > normally.  For a while, then it starts over.
> 
> Flaky switch? (Too) long or bad (non-standard) cabling? That 
> was usually the explanation when I was seeing such behaviour.
> 
> -hwh
> --
> gentoo-user@gentoo.org mailing list
Hans:

Not sure what you mean about hijacking the thread, but I am sorry -- I
didn't mean to do anything wrong.

As far as the switch, its on a hub that is on the span port of a foundry
switch (the hub is used as a poormans network tap -- I have seen the
same type of failure on machines directly connected to a switch also)

The cable is a commercially manufactured cable that tests out correctly
- -its about 6 feet long

TIM

Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Eth0 not responding (sleeping??)

2006-10-05 Thread Hans-Werner Hilse
Hi,

First: stop hijacking threads!

On Wed, 4 Oct 2006 15:21:58 -0400 "Timothy A. Holmes"
<[EMAIL PROTECTED]> wrote:

> The problem is that the network adapter seems to "fall asleep"
> periodically. If I attempt to access the base webpage or ssh, I get no
> response till I ping the box -- 8 pings later, it wakes up and acts
> normally.  For a while, then it starts over.  

Flaky switch? (Too) long or bad (non-standard) cabling? That was
usually the explanation when I was seeing such behaviour.

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



Re: [gentoo-user] Re: unison

2006-10-05 Thread Neil Bothwick
On Thu, 05 Oct 2006 08:49:02 +0800, Ow Mun Heng wrote:

> > Anyway, I had this
> > problem a while ago and the fix is simple, emerge
> > media-fonts/font-schumacher-misc  
> 
> I don't have this installed.
> 
> Then I tried to run the GUI and it failed!!

Did you install it?

> It was working previously,
> that's for sure. I wonder if the migrate to Xorg-7 caused this problem.
> (I just migrated last week)

It was the upgrade to modular ~X that broke it for me. I used the
commandline version until I found out about the fonts with some fairly
intensive googling. It's clear you are missing something that was a part
of the old monolithic X, but the error message is about as useful as a
chocolate fireguard :(


-- 
Neil Bothwick

I yam Popeye o'de Borg. Preparez ta be askimiligrated.


signature.asc
Description: PGP signature