Re: [gentoo-user] samba no connect from windows

2010-11-12 Thread Stroller
On 13/11/2010, at 12:04am, Harry Putnam wrote: > This samba problem (windows machines cannot connect to gentoo server) > seems to have followed a recent update including samba. > > qlop shows: Mon Nov 1 05:10:33 2010 >>> net-fs/samba-3.5.6 > > Usually I've found I might need to redo passwords

[gentoo-user] samba no connect from windows

2010-11-12 Thread Harry Putnam
This samba problem (windows machines cannot connect to gentoo server) seems to have followed a recent update including samba. qlop shows: Mon Nov 1 05:10:33 2010 >>> net-fs/samba-3.5.6 Usually I've found I might need to redo passwords with smbpasswd. This time, that is not sufficient. Looking

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Stefan G. Weichinger
Am 12.11.2010 22:12, schrieb Etaoin Shrdlu: > On Fri, 12 Nov 2010 21:01:50 + Etaoin Shrdlu > wrote: > >> Also modprobe -k > > I obviously meant lspci -k, though probably rereading the question, it's > not what he wanted. Thanks to all of you, I think I got it now! "modprobe -k" is non-ex

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Etaoin Shrdlu
On Fri, 12 Nov 2010 21:01:50 + Etaoin Shrdlu wrote: > Also modprobe -k I obviously meant lspci -k, though probably rereading the question, it's not what he wanted.

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Etaoin Shrdlu
On Fri, 12 Nov 2010 22:31:09 +0200 Fatih Tümen wrote: > On Fri, Nov 12, 2010 at 21:14, Stefan G. Weichinger > wrote: > > I want to somehow find out the relation between loaded kernel-module and > > ethernet-devicefile. Without physical access ... > > > > In another way: "Which kernel-module is i

Re: [gentoo-user] bash scripting tip

2010-11-12 Thread Philip Webb
101112 Hilco Wijbenga wrote: > On 12 November 2010 09:57, Philip Webb wrote: >> I tried 'function cd2() { cd .. ; cd $1 ; }', > Doesn't 'function cd2() { cd ../$1 ; }' work ? -- Yes Yes, you're correct (slightly red face) ! I'm not sure why I didn't try that variation originally. -- ===

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Fatih Tümen
On Fri, Nov 12, 2010 at 21:14, Stefan G. Weichinger wrote: > I want to somehow find out the relation between loaded kernel-module and > ethernet-devicefile. Without physical access ... > > In another way: "Which kernel-module is in use for /dev/ethX ?" > # ethtool -i eth1 driver: foo_driver versi

Re: [gentoo-user] bash scripting tip

2010-11-12 Thread BRM
- Original Message > From: Hilco Wijbenga > On 12 November 2010 10:36, Hilco Wijbenga wrote: > > On 12 November 2010 09:57, Philip Webb wrote: > >> It needs to be a Bash function, so in ~/.bashrc > >> I tried 'function cd2() { cd .. ; cd $1 ; }', > > > > Doesn't > > > > function c

Re: [gentoo-user] bash scripting tip

2010-11-12 Thread Hilco Wijbenga
On 12 November 2010 10:36, Hilco Wijbenga wrote: > On 12 November 2010 09:57, Philip Webb wrote: >> It needs to be a Bash function, so in  ~/.bashrc >> I tried 'function cd2() { cd .. ; cd $1 ; }', > > Doesn't > > function cd2() { cd ../$1 } > > work? (I haven't tried it.) So yes, this: functio

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Stefan G. Weichinger
Am 12.11.2010 18:51, schrieb Etaoin Shrdlu: > mii-tool -w eth0 > > Also look at ethtool -p (details in the man page). Yep, thanks. Maybe I haven't explained exactly what I mean: I want to somehow find out the relation between loaded kernel-module and ethernet-devicefile. Without physical access

Re: [gentoo-user] 32bit-Executables on a AMD64 system...

2010-11-12 Thread Volker Armin Hemmann
On Tuesday 09 November 2010, meino.cra...@gmx.de wrote: > Hi, > > it is possible to run a 32-bit binary executable on a 64-bit system > (AMD64). yes, if you use the multilib profile. > But: Is it possible to compile source code on a 64-bit system and get > an 32-bit executable a the result ???

Re: [gentoo-user] bash scripting tip

2010-11-12 Thread Hilco Wijbenga
On 12 November 2010 09:57, Philip Webb wrote: > It needs to be a Bash function, so in  ~/.bashrc > I tried 'function cd2() { cd .. ; cd $1 ; }', Doesn't function cd2() { cd ../$1 } work? (I haven't tried it.)

Re: [gentoo-user] bash scripting tip

2010-11-12 Thread Philip Webb
101112 Bill Longman wrote: > On 11/12/2010 09:57 AM, Philip Webb wrote: >> but is there a way to set up a command to goto a parallel dir, >> eg if you're in ~/tmp goto ~/hold ( 2 of my commonly-used dirs) ? >> The elegant way is 'function cd2() { cd .. ; cd $"$1" ; }'. > cd ${PWD/old/new} > wo

Re: [gentoo-user] bash scripting tip

2010-11-12 Thread Bill Longman
On 11/12/2010 09:57 AM, Philip Webb wrote: > There are quick'n'easy commands to goto the previous dir > -- 'cd -' , which cb aliased as 'p' -- > & goto the next-higher dir -- 'cd ..' , which cb aliased as 's' -- , > but is there a way to set up a qne command to goto a parallel dir, > eg if you're i

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Etaoin Shrdlu
On Fri, 12 Nov 2010 16:51:58 +0100 "Stefan G. Weichinger" wrote: > Maybe stupid question: > > How to find out which physical NIC is for example eth0 ? > > If I have 2 NICs in the box, for example one e1000 and one from 3com, > how to find out which one is eth0 ? > > I looked up /etc/udev/rule

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Stefan G. Weichinger
Am 12.11.2010 16:57, schrieb Colt Jones: > I usually do one of two things. Depending on the situation. > > If both NICs are from the same vendor I install mii-tool and only plug > in one port. mii-tool will show link state. This when it negotiates it > will show output like: > > eth0: negotiated

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Stefan G. Weichinger
Am 12.11.2010 17:41, schrieb Tom H: >> Is there another way? on non-udev-systems? > > dmesg | grep ethX I looked that up, there was nothing! Could be that I someday back then did a "dmesg -c" (I have an issue on that server that triggered quite many lines in dmesg). Thanks, S

[gentoo-user] bash scripting tip

2010-11-12 Thread Philip Webb
There are quick'n'easy commands to goto the previous dir -- 'cd -' , which cb aliased as 'p' -- & goto the next-higher dir -- 'cd ..' , which cb aliased as 's' -- , but is there a way to set up a qne command to goto a parallel dir, eg if you're in ~/tmp goto ~/hold ( 2 of my commonly-used dirs

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Tom H
On Fri, Nov 12, 2010 at 10:51 AM, Stefan G. Weichinger wrote: > > How to find out which physical NIC is for example eth0 ? > > If I have 2 NICs in the box, for example one e1000 and one from 3com, > how to find out which one is eth0 ? > > I looked up /etc/udev/rules.d/70-persistent-net.rules where

Re: [gentoo-user] import site fails - why

2010-11-12 Thread Fatih Tümen
On Fri, Nov 12, 2010 at 17:44, Helmut Jarausch wrote: > Meanwhile, I have run python-updater on the master machine and I have > re-install portage. > Then I resync'ed the new machine against this master. > > Still, env-update fails after chroot > Here is the output > > Python 2.6.6 (r266:84292, Oc

Re: [gentoo-user] Re: DNSSEC

2010-11-12 Thread Alan McKinnon
Apparently, though unproven, at 16:18 on Friday 12 November 2010, James did opine thusly: > Alan McKinnon gmail.com> writes: > > My first spot of advice would be to use unbound as your caching servers - > > Did you experiment iwth ldns-utils > (Set of utilities to simplify various dns(sec) task

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Colt Jones
I usually do one of two things. Depending on the situation. If both NICs are from the same vendor I install mii-tool and only plug in one port. mii-tool will show link state. This when it negotiates it will show output like: eth0: negotiated 1000baseT-FD flow-control, link ok eth1: no link If th

[gentoo-user] which NIC is which?

2010-11-12 Thread Stefan G. Weichinger
Maybe stupid question: How to find out which physical NIC is for example eth0 ? If I have 2 NICs in the box, for example one e1000 and one from 3com, how to find out which one is eth0 ? I looked up /etc/udev/rules.d/70-persistent-net.rules where the MAC is determining the devicefile ... Is the

[gentoo-user] Re: DNSSEC

2010-11-12 Thread James
> PowerDNS is a fine auth server. If it suits your needs I'd recommend you try > it first. I don't know about it's DNSSEC abilities or feature roadmap - it's > been a long time since I looked closely at it. Lack of ACLs is what killed > PowerDNS for us, I still feel sad about that "Using

Re: [gentoo-user] import site fails - why

2010-11-12 Thread Helmut Jarausch
On 11/12/10 15:58:27, Fatih Tümen wrote: > On Fri, Nov 12, 2010 at 16:32, Helmut Jarausch > wrote: > > On 11/12/10 15:24:44, Fatih Tümen wrote: > >> On Fri, Nov 12, 2010 at 15:56, Helmut Jarausch > >> wrote: > >> > mount -o bind /proc /nroot/proc > >> > mount -o bind /dev /nroot/proc > >> > >> Th

[gentoo-user] Re: {OT} Deliberately obfuscating my code

2010-11-12 Thread Nikos Chantziaras
On 11/09/2010 06:52 AM, Grant wrote: This is OT, but you guys have proven extremely insightful over the years and I would love to hear what you think. I've been working on a particular software project for a long time. I'd like to hire a team of developers to take over the project, but I conside

Re: [gentoo-user] import site fails - why

2010-11-12 Thread Fatih Tümen
On Fri, Nov 12, 2010 at 16:32, Helmut Jarausch wrote: > On 11/12/10 15:24:44, Fatih Tümen wrote: >> On Fri, Nov 12, 2010 at 15:56, Helmut Jarausch >> wrote: >> > mount -o bind /proc /nroot/proc >> > mount -o bind /dev /nroot/proc >> >> That looks a bit strange to me, doesnt it to you? :) I would

[gentoo-user] Re: {OT} Deliberately obfuscating my code

2010-11-12 Thread Grant Edwards
On 2010-11-11, Grant wrote: >>> Should I only hire coders I can sit in the same room with? >> >> That will probably work best, but it will cost more. >> >> Have you ever managed a programming team before? > > I haven't. Any pointers? Not really. Just be prepared for the programmers to misunder

Re: [gentoo-user] import site fails - why

2010-11-12 Thread Helmut Jarausch
On 11/12/10 15:24:44, Fatih Tümen wrote: > On Fri, Nov 12, 2010 at 15:56, Helmut Jarausch > wrote: > > mount -o bind /proc /nroot/proc > > mount -o bind /dev /nroot/proc > > That looks a bit strange to me, doesnt it to you? :) I would retype > that as follow: > > mount -t proc none /nroot/proc >

Re: [gentoo-user] import site fails - why

2010-11-12 Thread Fatih Tümen
On Fri, Nov 12, 2010 at 15:56, Helmut Jarausch wrote: > mount -o bind /proc /nroot/proc > mount -o bind /dev /nroot/proc That looks a bit strange to me, doesnt it to you? :) I would retype that as follow: mount -t proc none /nroot/proc mount -o bind /dev/ /nroot/dev --    Fatih

[gentoo-user] Re: DNSSEC

2010-11-12 Thread James
Alan McKinnon gmail.com> writes: > My first spot of advice would be to use unbound as your caching servers - Did you experiment iwth ldns-utils (Set of utilities to simplify various dns(sec) tasks) ??? James

[gentoo-user] import site fails - why

2010-11-12 Thread Helmut Jarausch
Hi, I have cloned the root fs and /usr onto a new machine (as I have done many times before) I boot SystemRescueCD and mount the new root on, say, /nroot Then my standard procedure is as follows mount -o bind /proc /nroot/proc mount -o bind /dev /nroot/proc chroot /nroot /bin/bash cp /proc/m

[gentoo-user] genkernel, all modules

2010-11-12 Thread fajfusio
Hi I found that genkernel does not build all available modules. 2 devices have not been detected by a kernel while they were detected with manually configured kernel. How can I force genkernel to build all available modules ? thanks for help

Re: [gentoo-user] Re: Swing !

2010-11-12 Thread Arttu V.
On 11/12/10, Crístian Viana wrote: > are you sure this Swing is Java's? I don't see any reference to Java on > SuperCollider's website. and Swing is always installed in any JRE since > version 1.2. It has mostly cpp files so I'd wager its written in c++. But there seems to be some (optional?) GUI

Re: [gentoo-user] Re: Swing !

2010-11-12 Thread Crístian Viana
are you sure this Swing is Java's? I don't see any reference to Java on SuperCollider's website. and Swing is always installed in any JRE since version 1.2. On Fri, Nov 12, 2010 at 1:59 AM, wrote: > Nikos Chantziaras [10-11-12 04:40]: > > On 11/12/2010 05:05 AM, meino.cra...@gmx.de wrote: > > >

Re: [gentoo-user] Re: {OT} Deliberately obfuscating my code

2010-11-12 Thread Peter Humphrey
On Thursday 11 November 2010 17:33:25 Grant wrote: > > Have you ever managed a programming team before? > > I haven't. Any pointers? Good grief! The literature is full of weighty tomes on the subject, and copious advice is available in multiple news groups - and no doubt e- mail lists too by n

Re: [gentoo-user] intermittent ALSA error

2010-11-12 Thread Eprom
Am 12.11.2010 09:09, schrieb Coert Waagmeester: > Hello all, > > Managed to set my self up with an awesome KDE desktop. > > there is only one problem that only happens occasionally. > > > When I queue a few music videos in vlc and it goes from one to next, > only sometimes it comes with an ALSA

[gentoo-user] intermittent ALSA error

2010-11-12 Thread Coert Waagmeester
Hello all, Managed to set my self up with an awesome KDE desktop. there is only one problem that only happens occasionally. When I queue a few music videos in vlc and it goes from one to next, only sometimes it comes with an ALSA error: ALSA version problem: VLC failed to re-initialize your