Re: [gentoo-user] KDE 4.2: Emerge of ksysguard and ksmserver failed

2009-01-28 Thread Volker Armin Hemmann
On Mittwoch 28 Januar 2009, Tomas Linhart wrote:
> Hello all,
>
> I've decided to try out KDE 4.2. I unmasked all the packages that I
> needed, but when I was emerging kde-base/ksysguard I got the following
> error:
>
> Linking CXX shared library ../../lib/libkdeinit4_ksysguard.so
> [ 98%] Built target kdeinit_ksysguard
> Scanning dependencies of target ksysguard
> [100%] Building CXX object
> ksysguard/gui/CMakeFiles/ksysguard.dir/ksysguard_dummy.o
> Linking CXX executable ksysguard
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
> `QByteArray::indexOf(char const*, int) const'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
> `QPainter::drawPixmap(QPointF const&, QPixmap const&)'
> collect2: ld returned 1 exit status
> make[2]: *** [ksysguard/gui/ksysguard] Error 1
> make[1]: *** [ksysguard/gui/CMakeFiles/ksysguard.dir/all] Error 2
> make: *** [all] Error 2
> /usr/libexec/paludis/utils/emake: emake returned error 2
>
> !!! ERROR in kde-base/ksysguard-4.2.0:
> !!! In cmake-utils_src_make at line 1409
> !!! Make failed!
>
> !!! Call stack:
> !!!* cmake-utils_src_make
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:1409)
> !!!* kde4-base_src_make
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3760)
> !!!* kde4-meta_src_compile
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3997)
> !!!* src_compile
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:5071)
> !!!* ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:54)
> !!!* ebuild_main (/usr/libexec/paludis/ebuild.bash:482)
> !!!* main (/usr/libexec/paludis/ebuild.bash:498)
>
> diefunc: making ebuild PID 3618 exit with error
> die trap: exiting with error.
>
>
> I didn't see any other error during the merge.
>
> The same error occurred when emerging kde-base/ksmserver.
>
> I tried to re-emerge qt-* packages but the error remains the same.
>
> Does somebody have a idea what could be wrong?

re-emerge the qt packages in the right order. 
then emerge kdelibs again, then the rest. Stuff like this happens when qt is 
updated after kdelibs is built against it.





Re: [gentoo-user] KDE 4.2: Emerge of ksysguard and ksmserver failed

2009-01-28 Thread Tomas Linhart
2009/1/29 Nick Cunningham :
>
>
> Some basic info like emerge --info (or paludis equivilant) would be a good
> start, likewise confirming that the build still fails with portage would
> also be useful (im not saying anything about paludis before any flamewars
> start, just wanting to rule out the package manager as a cause).

I have already tried to install the package using emerge, but the
result is still the same. My emerge --info looks like this:

Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.2,
glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)
=
System uname: 
Linux-2.6.28-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-glibc2.2.5
Timestamp of tree: Thu, 29 Jan 2009 06:15:02 +
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python: 2.5.4-r2
dev-util/ccache: 2.4-r8
dev-util/cmake:  2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.2
sys-apps/sandbox:1.3.3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
/etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/paludis/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages
parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo";
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/paludis/repositories/local
/var/paludis/repositories/kde
/var/paludis/repositories/overlay-watzke-cz
/var/paludis/repositories/sunrise
/var/paludis/repositories/paludis-extras"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 bash-completion berkdb bzip2
cdr cli cracklib crypt cups dbus dri dvd dvdr fortran gdbm gif gpm hal
iconv ipv6 isdnlog jpeg kde midi mmx mmxext mp3 mudflap multilib
ncurses nls nptl nptlonly opengl openmp paludis pam pcre perl pppd
python qt4 readline reflection session spl sse sse2 ssl sysfs tcpd
unicode vim-syntax xcomposite xorg zlib" ALSA_CARDS="ali5451 als4000
atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371
es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident
usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug
ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route
share shm softvol" APACHE2_MODULES="actions alias auth_basic
authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user
autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires
ext_filter file_cache filter headers include info log_config logio
mem_cache mime mime_magic negotiation rewrite setenvif speling status
unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" LINGUAS="cs en" USERLAND="GNU" VIDEO_CARDS="ati fbdev
fglrx radeonhd vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I have also tried to build it without ccache and with MAKEOPTS="-j1"
but no luck, with -j1 the error only appears earlier

Scanning dependencies of target ksysguard
[ 73%] Building CXX object
ksysguard/gui/CMakeFiles/ksysguard.dir/ksysguard_dummy.o
Linking CXX executable ksysguard
/usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
`QByteArray::indexOf(char const*, int) const'
/usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
`QPainter::drawPixmap(QPointF const&, QPixmap const&)'
collect2: ld returned 1 exit status
make[2]: *** [ksysguard/gui/ksysguard] Error 1
make[1]: *** [ksysguard/gui/CMakeFiles/ksysguard.

Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-28 Thread Grant
>> > Does anyone know how to put my USB wireless network adapter into
>> > promiscuous mode so I can see everything that's happening wirelessley
>> > on my network in wireshark?
>>
>> ifconfig eth1 promisc
>>
>> But at least tcpdump puts the interface into promiscous mode
>> automatically, so there is a chance that wireshark does the same.
>>
>>
>
> Another way is to use airmon-ng from the aircrack-ng package:
>
> airmon-ng start wlan0

I can't get that to work.  I get:

# airmon-ng start wlan0
Interface   Chipset Driver
wlan3   ath5k_pci - [phy0]
wlan0   Ralink 2573 USB rt73usb - [phy1]/usr/sbin/airmon-ng: line 338:
/sys/class/ieee80211/phy1/add_iface: No such file or directory
mon0: ERROR while getting interface flags: No such device
(monitor mode enabled on mon0)

It looks like I'm supposed to have /sys/class/ieee80211/phy1/add_iface
which isn't there.  I've tried with net.wlan0 started and stopped.

- Grant



Re: [gentoo-user] gentoo mail server

2009-01-28 Thread Tom Brown
Freakin awesome guys!

Thank you very much for your replies. This is what I got out of it:

1) Gentoo evolves. There are no major upgrades. This is a huge "go with
gentoo" point. I've never seen an operating system that didn't have
issues after a major upgrade. This means an updated system with gentoo,
all the time. No 'reinstall from scratch' every two years. Oh yeah, I've
got software that won't work after a major upgrade.

2) Gentoo requires attention. These are production servers I'm talking
about. What sysadmin doesn't check in their production servers on
regular basis? Yeah, I check in the the debian servers all the time.
That's on top of the automated emails I get reporting on the health of
the system. Ok, I don't have to do anything to them. So, I'll have to be
carefully before doing an update. I don't see that as too much to ask if
I don't have to reinstall from scratch!

Thanks guys!
Tom





Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-28 Thread Grant
 > Does anyone know how to put my USB wireless network adapter into
 > promiscuous mode so I can see everything that's happening wirelessley
 > on my network in wireshark?

 ifconfig eth1 promisc

 But at least tcpdump puts the interface into promiscous mode
 automatically, so there is a chance that wireshark does the same.


>>>
>>> Another way is to use airmon-ng from the aircrack-ng package:
>>>
>>> airmon-ng start wlan0
>>
>> Thanks everyone.  I didn't realize it but monitor mode is what I'm
>> after.  aircrack-ng looks interesting too.  Is there something similar
>> with a GUI?  airsnort seems to be discontinued.  What is iw for?
>
> iw - show / manipulate wireless devices and their configuration
>
> Usage:  iw [options] command
> Options:
>--debug enable netlink debugging
>--version   show version
> Commands:
>help
>event
>list
>phy  info
>dev  set channel  [HT20|HT40+|HT40-]
>phy  set channel  [HT20|HT40+|HT40-]
>dev  set freq  [HT20|HT40+|HT40-]
>phy  set freq  [HT20|HT40+|HT40-]
>phy  set name 
>dev  set meshid 
>dev  set monitor  [...]
>dev  info
>dev  del
>dev  interface add  type  [mesh_id
> ] [flags ...]
>phy  interface add  type  [mesh_id
> ] [flags ...]
>dev  station dump
>dev  station set  plink_action 
>dev  station del 
>dev  station get 
>dev  mpath dump
>dev  mpath set  next_hop
> 
>dev  mpath new  next_hop
> 
>dev  mpath del 
>dev  mpath get 
>reg set 
>dev  get mesh_param 
>dev  set mesh_param  

Are we talking about the same thing?

iw: "nl80211 userspace tool for use with aircrack-ng"

- Grant



Re: [gentoo-user] KDE 4.2: Emerge of ksysguard and ksmserver failed

2009-01-28 Thread Nick Cunningham
2009/1/28 Tomas Linhart 

> Hello all,
>
> I've decided to try out KDE 4.2. I unmasked all the packages that I
> needed, but when I was emerging kde-base/ksysguard I got the following
> error:
>
> Linking CXX shared library ../../lib/libkdeinit4_ksysguard.so
> [ 98%] Built target kdeinit_ksysguard
> Scanning dependencies of target ksysguard
> [100%] Building CXX object
> ksysguard/gui/CMakeFiles/ksysguard.dir/ksysguard_dummy.o
> Linking CXX executable ksysguard
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
> `QByteArray::indexOf(char const*, int) const'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
> `QPainter::drawPixmap(QPointF const&, QPixmap const&)'
> collect2: ld returned 1 exit status
> make[2]: *** [ksysguard/gui/ksysguard] Error 1
> make[1]: *** [ksysguard/gui/CMakeFiles/ksysguard.dir/all] Error 2
> make: *** [all] Error 2
> /usr/libexec/paludis/utils/emake: emake returned error 2
>
> !!! ERROR in kde-base/ksysguard-4.2.0:
> !!! In cmake-utils_src_make at line 1409
> !!! Make failed!
>
> !!! Call stack:
> !!!* cmake-utils_src_make
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:1409)
> !!!* kde4-base_src_make
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3760)
> !!!* kde4-meta_src_compile
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3997)
> !!!* src_compile
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:5071)
> !!!* ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:54)
> !!!* ebuild_main (/usr/libexec/paludis/ebuild.bash:482)
> !!!* main (/usr/libexec/paludis/ebuild.bash:498)
>
> diefunc: making ebuild PID 3618 exit with error
> die trap: exiting with error.
>
>
> I didn't see any other error during the merge.
>
> The same error occurred when emerging kde-base/ksmserver.
>
> I tried to re-emerge qt-* packages but the error remains the same.
>
> Does somebody have a idea what could be wrong?
>
> Thanks.
>
> Tomas
>
>
Some basic info like emerge --info (or paludis equivilant) would be a good
start, likewise confirming that the build still fails with portage would
also be useful (im not saying anything about paludis before any flamewars
start, just wanting to rule out the package manager as a cause).

It looks like its failing on something to do with webkit maybe, so try
rebuilding webkit first?

Just some ideas to get you started :)

- Nick


Re: [gentoo-user] Re: How to remove packages from /usr/portage/packages ?

2009-01-28 Thread Neil Bothwick
On Thu, 29 Jan 2009 01:41:23 +0200, Nikos Chantziaras wrote:

> > You want to get rid of ALL of them?
> > 
> > rm -rf /usr/portage/packages/*  
> 
> If that's safe, then I guess that'll do :P

Even rm -fr /usr/portage/packages is safe.

If you want to do it selectively, remove the tbz2 files from ${PKGDIR}/
All then use symlinks (or find) to get rid of the dangling links this
leaves.


-- 
Neil Bothwick

Never kiss anything that doesn't have lips.


signature.asc
Description: PGP signature


Re: [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)?

2009-01-28 Thread Joshua Murphy
On Wed, Jan 28, 2009 at 3:10 PM, Neil Bothwick  wrote:
> On Wed, 28 Jan 2009 11:48:37 -0500, Joshua Murphy wrote:
>
>> > =x11-wm/awesome-3.1-r1 ~amd64
>> >
>> > in /etc/portage/package.keywords
>> >
>> > but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
>> > which fails, so the whole process is stopped.
>>
>> echo \>x11-wm/awesome-3.1-r1 >> /etc/portage/package.mask
>> # and to prevent downgrades
>
> That blocks all future updates, not just the broken one.
>
>
> --
> Neil Bothwick
>
> If there is light at the end of the tunnel...order more tunnel.
>

Ah... I didn't read closely what the reason for wanting to hold at the
current version was, in the little time I had at that moment I just
threw an answer to the exact question in the title of the mail...
"hold a package at a specific version" ... you're right, though, for
the given reasons they're likely far better off only blocking the
problematic one.

-- 
Poison [BLX]
Joshua M. Murphy



[gentoo-user] Re: How to remove packages from /usr/portage/packages ?

2009-01-28 Thread Nikos Chantziaras

Shawn Haggett wrote:

On Wednesday 28 January 2009 17:14:46 Nikos Chantziaras wrote:

Is there some automated way to remove the packages I created with
'quickpkg' and reside inside /usr/portage/packages without doing it by
hand?  I don't mean 'eclean'.  That won't remove those that are installed.


You want to get rid of ALL of them?

rm -rf /usr/portage/packages/*


If that's safe, then I guess that'll do :P




Re: [gentoo-user] How to remove packages from /usr/portage/packages ?

2009-01-28 Thread Shawn Haggett
On Wednesday 28 January 2009 17:14:46 Nikos Chantziaras wrote:
> Is there some automated way to remove the packages I created with
> 'quickpkg' and reside inside /usr/portage/packages without doing it by
> hand?  I don't mean 'eclean'.  That won't remove those that are installed.

You want to get rid of ALL of them?

rm -rf /usr/portage/packages/*

Shawn



Re: [gentoo-user] X-forwarding questions

2009-01-28 Thread Paul Hartman
On Wed, Jan 28, 2009 at 2:30 PM, Daniel Troeder  wrote:
> Am Dienstag, den 27.01.2009, 14:25 -0800 schrieb Grant:
>> Using -C, gimp is about 10x more responsive than if I don't.  I was
>> surprised too.  My laptop and the "remote" system are 15 feet away
>> from each other on the same wireless network, with the router in
>> between.
> Most X programs store their bitmaps in the X server - not the program.
> You can see this if you look at the memory usage. So lots of data is
> transfered if using gimp :)
>
> BTW: If you can use cable instead of wireless, you may have a _much_
> better experience, because of the latency that wireless adds.
>
> BTW2: If your bandwidth is really small, you should use VNC instead of
> ssh-X - though that's not to nice with image editing :)

NX is the king... it's about a million times faster than VNC or ssh X
forwarding (or windows RDP).

net-misc/nxserver-freeedition is at the top of my "must have" list.
viewing full-screen images or working with gimp probably won't be a
treat no matter what, but it'd probably be many orders of magnitude
faster than ssh forwarding.



Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-28 Thread Paul Hartman
On Wed, Jan 28, 2009 at 2:17 PM, Grant  wrote:
>>> > Does anyone know how to put my USB wireless network adapter into
>>> > promiscuous mode so I can see everything that's happening wirelessley
>>> > on my network in wireshark?
>>>
>>> ifconfig eth1 promisc
>>>
>>> But at least tcpdump puts the interface into promiscous mode
>>> automatically, so there is a chance that wireshark does the same.
>>>
>>>
>>
>> Another way is to use airmon-ng from the aircrack-ng package:
>>
>> airmon-ng start wlan0
>
> Thanks everyone.  I didn't realize it but monitor mode is what I'm
> after.  aircrack-ng looks interesting too.  Is there something similar
> with a GUI?  airsnort seems to be discontinued.  What is iw for?

iw - show / manipulate wireless devices and their configuration

Usage:  iw [options] command
Options:
--debug enable netlink debugging
--version   show version
Commands:
help
event
list
phy  info
dev  set channel  [HT20|HT40+|HT40-]
phy  set channel  [HT20|HT40+|HT40-]
dev  set freq  [HT20|HT40+|HT40-]
phy  set freq  [HT20|HT40+|HT40-]
phy  set name 
dev  set meshid 
dev  set monitor  [...]
dev  info
dev  del
dev  interface add  type  [mesh_id
] [flags ...]
phy  interface add  type  [mesh_id
] [flags ...]
dev  station dump
dev  station set  plink_action 
dev  station del 
dev  station get 
dev  mpath dump
dev  mpath set  next_hop

dev  mpath new  next_hop

dev  mpath del 
dev  mpath get 
reg set 
dev  get mesh_param 
dev  set mesh_param  



Re: [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)?

2009-01-28 Thread Man Shankar
On 20:41 Wed 28 Jan , momesso.and...@gmail.com wrote:
> Sorry for topposting (BlackBerry behavior).
> 
> I think that if emerge =x11-wm/awesome-3.1.1 fails, you should file a bug 
> before masking it. 
> 
> 
> Momesso Andrea
> 
> 

+1

FWIW, have been using that version for about 10 days. Works great here.
What is the error you get?

> > > =x11-wm/awesome-3.1-r1 ~amd64
> > >
> > > in /etc/portage/package.keywords
> > >
> > > but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
> > > which fails, so the whole process is stopped.  
 
Normally, that works unless the greater version is stable or you have
accepted keyword for the greater version in some other place.

-- 

Thanks & Regards,
Man Shankar 



Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-28 Thread Grant
> Does anyone know how to put my USB wireless network adapter into
> promiscuous mode so I can see everything that's happening wirelessley
> on my network in wireshark?
>
 ifconfig eth1 promisc

 But at least tcpdump puts the interface into promiscous mode
 automatically, so there is a chance that wireshark does the same.



>>> Another way is to use airmon-ng from the aircrack-ng package:
>>>
>>> airmon-ng start wlan0
>>>
>>
>> Thanks everyone.  I didn't realize it but monitor mode is what I'm
>> after.  aircrack-ng looks interesting too.  Is there something similar
>> with a GUI?  airsnort seems to be discontinued.  What is iw for?
>>
>> - Grant
>>
>>
> iwconfig is the command in the "wireless-tools" package to configure a
> wireless interface.

I'm sorry, I meant the "iw" package in portage.

- Grant



[gentoo-user] Disable xterm scroll-to-bottom and auto scrolling

2009-01-28 Thread David Sveningsson
Hi, I disabled xterm scroll-to-bottom using -si but it is pretty much
useless since the output keeps scrolling anyway. I would like to be able
to scroll freely in the terminal output without any interfering
automatic scrolling. Like Terminal.app in Mac OSX. I've tried reading
the manual and googled a bit but I couldn't find anything. Is it possible?
-- 


//*David Sveningsson [eXt]*

Freelance coder | Game Development Student
http://sidvind.com

Thou shalt make thy program's purpose and structure clear to thy fellow
man by using the One True Brace Style, even if thou likest it not, for
thy creativity is better used in solving problems than in creating
beautiful new impediments to understanding.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)?

2009-01-28 Thread momesso . andrea
Sorry for topposting (BlackBerry behavior).

I think that if emerge =x11-wm/awesome-3.1.1 fails, you should file a bug 
before masking it. 


Momesso Andrea


-Original Message-
From: Neil Bothwick 

Date: Wed, 28 Jan 2009 20:10:05 
To: 
Subject: Re: [gentoo-user] how to hold a package at a specific version (so 
  emerge -uD world doesn't change it)?


On Wed, 28 Jan 2009 11:48:37 -0500, Joshua Murphy wrote:

> > =x11-wm/awesome-3.1-r1 ~amd64
> >
> > in /etc/portage/package.keywords
> >
> > but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
> > which fails, so the whole process is stopped.  
> 
> echo \>x11-wm/awesome-3.1-r1 >> /etc/portage/package.mask
> # and to prevent downgrades

That blocks all future updates, not just the broken one.


-- 
Neil Bothwick

If there is light at the end of the tunnel...order more tunnel.





Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-28 Thread Saphirus Sage
Grant wrote:
 Does anyone know how to put my USB wireless network adapter into
 promiscuous mode so I can see everything that's happening wirelessley
 on my network in wireshark?
 
>>> ifconfig eth1 promisc
>>>
>>> But at least tcpdump puts the interface into promiscous mode
>>> automatically, so there is a chance that wireshark does the same.
>>>
>>>
>>>   
>> Another way is to use airmon-ng from the aircrack-ng package:
>>
>> airmon-ng start wlan0
>> 
>
> Thanks everyone.  I didn't realize it but monitor mode is what I'm
> after.  aircrack-ng looks interesting too.  Is there something similar
> with a GUI?  airsnort seems to be discontinued.  What is iw for?
>
> - Grant
>
>   
iwconfig is the command in the "wireless-tools" package to configure a
wireless interface.



Re: [gentoo-user] X-forwarding questions

2009-01-28 Thread Daniel Troeder
Am Dienstag, den 27.01.2009, 14:25 -0800 schrieb Grant:
> Using -C, gimp is about 10x more responsive than if I don't.  I was
> surprised too.  My laptop and the "remote" system are 15 feet away
> from each other on the same wireless network, with the router in
> between.
Most X programs store their bitmaps in the X server - not the program.
You can see this if you look at the memory usage. So lots of data is
transfered if using gimp :)

BTW: If you can use cable instead of wireless, you may have a _much_
better experience, because of the latency that wireless adds.

BTW2: If your bandwidth is really small, you should use VNC instead of
ssh-X - though that's not to nice with image editing :)

Bye,
Daniel


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: [gentoo-user] X-forwarding questions

2009-01-28 Thread Grant
>> That's the weird part.  Local gimp and remote gimp side-by-side on the
>> same screen look different.  For example, the edges of the buttons and
>> widgets in local gimp are rounded but they aren't in remote gimp.  Not
>> a big deal though.
>
> So what do gimp look like when you run it locally on the "remote"
> machine (i.e. not using ssh)?

gimp run without ssh on the remote machine looks just like gimp run on
the local machine.  It only looks funny over ssh.

- Grant


>> When I ssh -X, start gimp, close gimp, and close the ssh session, the
>> terminal prompt disappears and only the cursor is visible in the
>> terminal.  I have to ctrl+c to bring the prompt back.  This doesn't
>> happen with ssh -X unless I open gimp during the session.
>
> So this only happens with gimp? It may be that gimp doesn't exit
> "properly"... I'm just guessing and I don't know why that would be.
>
>> Using -C, gimp is about 10x more responsive than if I don't.  I was
>> surprised too.  My laptop and the "remote" system are 15 feet away
>> from each other on the same wireless network, with the router in
>> between.
>
> Ah, well... can't argue with that. :-)
>
> Best regards
>
> Peter K



Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-28 Thread Grant
>> > Does anyone know how to put my USB wireless network adapter into
>> > promiscuous mode so I can see everything that's happening wirelessley
>> > on my network in wireshark?
>>
>> ifconfig eth1 promisc
>>
>> But at least tcpdump puts the interface into promiscous mode
>> automatically, so there is a chance that wireshark does the same.
>>
>>
>
> Another way is to use airmon-ng from the aircrack-ng package:
>
> airmon-ng start wlan0

Thanks everyone.  I didn't realize it but monitor mode is what I'm
after.  aircrack-ng looks interesting too.  Is there something similar
with a GUI?  airsnort seems to be discontinued.  What is iw for?

- Grant



Re: [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)?

2009-01-28 Thread Neil Bothwick
On Wed, 28 Jan 2009 11:48:37 -0500, Joshua Murphy wrote:

> > =x11-wm/awesome-3.1-r1 ~amd64
> >
> > in /etc/portage/package.keywords
> >
> > but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
> > which fails, so the whole process is stopped.  
> 
> echo \>x11-wm/awesome-3.1-r1 >> /etc/portage/package.mask
> # and to prevent downgrades

That blocks all future updates, not just the broken one.


-- 
Neil Bothwick

If there is light at the end of the tunnel...order more tunnel.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-28 Thread Saphirus Sage
Dominic Kexel wrote:
> On Wed, 28 Jan 2009 18:17:18 +0100
> Miernik  wrote:
>
>   
>> Grant  wrote:
>> 
>>> Does anyone know how to put my USB wireless network adapter into
>>> promiscuous mode so I can see everything that's happening wirelessley
>>> on my network in wireshark?
>>>   
>> ifconfig eth1 promisc
>>
>> But at least tcpdump puts the interface into promiscous mode
>> automatically, so there is a chance that wireshark does the same.
>>
>>
>> 
>
> Another way is to use airmon-ng from the aircrack-ng package:
>
> airmon-ng start wlan0
>
>
>   
Or, depnending on your driver, you could try:
ifconfig wlan1 down
iwconfig wlan1 mode monitor
ifconfig wlan1 up
airodump-ng wlan0

This is assuming you have the wireless-tools emerged.



Re: [gentoo-user] X-forwarding questions

2009-01-28 Thread Mark Knecht
On Tue, Jan 27, 2009 at 2:25 PM, Grant  wrote:

>
> When I ssh -X, start gimp, close gimp, and close the ssh session, the
> terminal prompt disappears and only the cursor is visible in the
> terminal.  I have to ctrl+c to bring the prompt back.  This doesn't
> happen with ssh -X unless I open gimp during the session.
>

I see this sometimes with ssh even when I don't run an X app remotely.
I think it's an ssh thing and my guess is that it's local, not remote.
If I don't hit control C, go to another machine and shell into the
same remote machine my login on that end from the first machine is
gone.

>> Btw, the -C option is unnecessary unless you are using a very slow 
>> connection.
>
> Using -C, gimp is about 10x more responsive than if I don't.  I was
> surprised too.  My laptop and the "remote" system are 15 feet away
> from each other on the same wireless network, with the router in
> between.
>

I agree. Going across the net I find -C  to be quite helpful running
something like Firefox.

Note that since I manage the machine at the other end I actually use

ssh -X -Y -C -c blowfish

The -Y seems to let a few more things work. Not a big deal but it's
the way I do it.

I think -c blowfish may be the default but I type is anyway.

Cheers,
Mark



Re: [gentoo-user] X-forwarding questions

2009-01-28 Thread pk
Grant wrote:

> That's the weird part.  Local gimp and remote gimp side-by-side on the
> same screen look different.  For example, the edges of the buttons and
> widgets in local gimp are rounded but they aren't in remote gimp.  Not
> a big deal though.

So what do gimp look like when you run it locally on the "remote"
machine (i.e. not using ssh)?

> When I ssh -X, start gimp, close gimp, and close the ssh session, the
> terminal prompt disappears and only the cursor is visible in the
> terminal.  I have to ctrl+c to bring the prompt back.  This doesn't
> happen with ssh -X unless I open gimp during the session.

So this only happens with gimp? It may be that gimp doesn't exit
"properly"... I'm just guessing and I don't know why that would be.

> Using -C, gimp is about 10x more responsive than if I don't.  I was
> surprised too.  My laptop and the "remote" system are 15 feet away
> from each other on the same wireless network, with the router in
> between.

Ah, well... can't argue with that. :-)

Best regards

Peter K



Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-28 Thread Dominic Kexel
On Wed, 28 Jan 2009 18:17:18 +0100
Miernik  wrote:

> Grant  wrote:
> > Does anyone know how to put my USB wireless network adapter into
> > promiscuous mode so I can see everything that's happening wirelessley
> > on my network in wireshark?
> 
> ifconfig eth1 promisc
> 
> But at least tcpdump puts the interface into promiscous mode
> automatically, so there is a chance that wireshark does the same.
> 
> 

Another way is to use airmon-ng from the aircrack-ng package:

airmon-ng start wlan0


-- 
Dominic Kexel 



[gentoo-user] KDE 4.2: Emerge of ksysguard and ksmserver failed

2009-01-28 Thread Tomas Linhart
Hello all,

I've decided to try out KDE 4.2. I unmasked all the packages that I
needed, but when I was emerging kde-base/ksysguard I got the following
error:

Linking CXX shared library ../../lib/libkdeinit4_ksysguard.so
[ 98%] Built target kdeinit_ksysguard
Scanning dependencies of target ksysguard
[100%] Building CXX object
ksysguard/gui/CMakeFiles/ksysguard.dir/ksysguard_dummy.o
Linking CXX executable ksysguard
/usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
`QByteArray::indexOf(char const*, int) const'
/usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
`QPainter::drawPixmap(QPointF const&, QPixmap const&)'
collect2: ld returned 1 exit status
make[2]: *** [ksysguard/gui/ksysguard] Error 1
make[1]: *** [ksysguard/gui/CMakeFiles/ksysguard.dir/all] Error 2
make: *** [all] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in kde-base/ksysguard-4.2.0:
!!! In cmake-utils_src_make at line 1409
!!! Make failed!

!!! Call stack:
!!!* cmake-utils_src_make
(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:1409)
!!!* kde4-base_src_make
(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3760)
!!!* kde4-meta_src_compile
(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3997)
!!!* src_compile
(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:5071)
!!!* ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:54)
!!!* ebuild_main (/usr/libexec/paludis/ebuild.bash:482)
!!!* main (/usr/libexec/paludis/ebuild.bash:498)

diefunc: making ebuild PID 3618 exit with error
die trap: exiting with error.


I didn't see any other error during the merge.

The same error occurred when emerging kde-base/ksmserver.

I tried to re-emerge qt-* packages but the error remains the same.

Does somebody have a idea what could be wrong?

Thanks.

Tomas



[gentoo-user] Re: wlan0 promiscuous mode

2009-01-28 Thread Miernik
Grant  wrote:
> Does anyone know how to put my USB wireless network adapter into
> promiscuous mode so I can see everything that's happening wirelessley
> on my network in wireshark?

ifconfig eth1 promisc

But at least tcpdump puts the interface into promiscous mode
automatically, so there is a chance that wireshark does the same.





Re: [gentoo-user] wlan0 promiscuous mode

2009-01-28 Thread Paul Hartman
On Wed, Jan 28, 2009 at 11:00 AM, Grant  wrote:
> Does anyone know how to put my USB wireless network adapter into
> promiscuous mode so I can see everything that's happening wirelessley
> on my network in wireshark?

wlanconfig ath0 create wlandev wifi0 wlanmode monitor

Something like that. Not sure if the Gentoo Way(tm) is different but
that's the command I use in BackTrack live CD



[gentoo-user] wlan0 promiscuous mode

2009-01-28 Thread Grant
Does anyone know how to put my USB wireless network adapter into
promiscuous mode so I can see everything that's happening wirelessley
on my network in wireshark?

- Grant



Re: [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)?

2009-01-28 Thread Joshua Murphy
On Wed, Jan 28, 2009 at 10:33 AM, Miernik  wrote:
> I am doing a 'emerge -uD' but one of the packages the version currently
> in portage doesn't compile, so I want to keep my current version, and
> prevent emerge from trying to update it. How can I put a package on hold
> (like in Debian)?
>
> I tried inserting:
>
> =x11-wm/awesome-3.1-r1 ~amd64
>
> in /etc/portage/package.keywords
>
> but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
> which fails, so the whole process is stopped.

echo \>x11-wm/awesome-3.1-r1 >> /etc/portage/package.mask
# and to prevent downgrades
echo \> /etc/portage/package.mask


-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] Network access to mysql

2009-01-28 Thread Alejandro
2009/1/28 AllenJB 

> Peter Humphrey wrote:
>
>> Afternoon all,
>>
>> I have mysql running on my workstation and on my local server, and I want
>> to connect as an ordinary user from the workstation to the server; I can't.
>> This is what happens:
>>
>> $ mysql -p -h serv.ethnet
>> Enter password:
>> ERROR 2003 (HY000): Can't connect to MySQL server on 'serv.ethnet' (111)
>>
>> The same thing happens if I try as root.
>>
>> I can connect locally as myself or as root on either machine and
>> manipulate tables in various ways. I haven't yet installed a firewall on
>> either machine.
>>
>> I've set DEBUG=4 in /etc/conf.d/mysql on both machines, but nothing shows
>> up in /var/log/mysql/*; only some startup debug messages. I've run tcpdump
>> on the server, which shows that one packet passes in each direction,
>> followed immediately by a reverse lookup of the workstation being sent to
>> the name server. I don't know why nothing happens after the name-service
>> request is answered, but it seems to imply that the workstation is refusing
>> the request itself rather than forwarding it to the server.
>>
>> I can't see anything in /etc/conf.d/mysql or in /etc/mysql/* on either
>> machine to restrict network access, so what have I missed?
>>
>>
> Check the bind-address setting in /etc/my.cnf - if this is 127.0.0.1 then
> no other machines will be able to connect to the mysql server. To listen on
> all available interfaces, this setting should be "0.0.0.0" or unset.
>
> Also check that skip-networking is not enabled.
>
> Too late for me.


Re: [gentoo-user] Network access to mysql

2009-01-28 Thread AllenJB

Peter Humphrey wrote:

Afternoon all,

I have mysql running on my workstation and on my local server, and I want to 
connect as an ordinary user from the workstation to the server; I can't. 
This is what happens:


$ mysql -p -h serv.ethnet
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on 'serv.ethnet' (111)

The same thing happens if I try as root.

I can connect locally as myself or as root on either machine and manipulate 
tables in various ways. I haven't yet installed a firewall on either 
machine.


I've set DEBUG=4 in /etc/conf.d/mysql on both machines, but nothing shows up 
in /var/log/mysql/*; only some startup debug messages. I've run tcpdump on 
the server, which shows that one packet passes in each direction, followed 
immediately by a reverse lookup of the workstation being sent to the name 
server. I don't know why nothing happens after the name-service request is 
answered, but it seems to imply that the workstation is refusing the 
request itself rather than forwarding it to the server.


I can't see anything in /etc/conf.d/mysql or in /etc/mysql/* on either 
machine to restrict network access, so what have I missed?




Check the bind-address setting in /etc/my.cnf - if this is 127.0.0.1 
then no other machines will be able to connect to the mysql server. To 
listen on all available interfaces, this setting should be "0.0.0.0" or 
unset.


Also check that skip-networking is not enabled.



[gentoo-user] Network access to mysql

2009-01-28 Thread Peter Humphrey
Afternoon all,

I have mysql running on my workstation and on my local server, and I want to 
connect as an ordinary user from the workstation to the server; I can't. 
This is what happens:

$ mysql -p -h serv.ethnet
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on 'serv.ethnet' (111)

The same thing happens if I try as root.

I can connect locally as myself or as root on either machine and manipulate 
tables in various ways. I haven't yet installed a firewall on either 
machine.

I've set DEBUG=4 in /etc/conf.d/mysql on both machines, but nothing shows up 
in /var/log/mysql/*; only some startup debug messages. I've run tcpdump on 
the server, which shows that one packet passes in each direction, followed 
immediately by a reverse lookup of the workstation being sent to the name 
server. I don't know why nothing happens after the name-service request is 
answered, but it seems to imply that the workstation is refusing the 
request itself rather than forwarding it to the server.

I can't see anything in /etc/conf.d/mysql or in /etc/mysql/* on either 
machine to restrict network access, so what have I missed?

-- 
Rgds
Peter



Re: [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)?

2009-01-28 Thread Stroller


On 28 Jan 2009, at 15:33, Miernik wrote:

I am doing a 'emerge -uD' but one of the packages the version  
currently

in portage doesn't compile, so I want to keep my current version, and
prevent emerge from trying to update it. How can I put a package on  
hold

(like in Debian)?

I tried inserting:

=x11-wm/awesome-3.1-r1 ~amd64

in /etc/portage/package.keywords

but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
which fails, so the whole process is stopped.


I think you need to use /etc/portage/package.mask instead.

Stroller.




[gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)?

2009-01-28 Thread Miernik
I am doing a 'emerge -uD' but one of the packages the version currently
in portage doesn't compile, so I want to keep my current version, and
prevent emerge from trying to update it. How can I put a package on hold
(like in Debian)?

I tried inserting:

=x11-wm/awesome-3.1-r1 ~amd64

in /etc/portage/package.keywords

but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
which fails, so the whole process is stopped.







Re: [gentoo-user] Internet radio?

2009-01-28 Thread Stroller


On 28 Jan 2009, at 12:45, Peter Humphrey wrote:


On Tuesday 27 January 2009 23:41:32 Mark Knecht wrote:

I should have stated that he has almost no interest in listening to  
music.
He wants to listen to news form around the world. BBC, NPR and  
whatever he

can find.


I don't know whether the BBC streams in mp3 or just allows you to  
download
things in that format. Its main streaming service uses the REAL  
protocol

these days.


Yes, it's Real if you go to http://www.bbc.co.uk/radio1/ and click on  
the "Listen Live" button.


I experimented with saving these with mplayer recently, and I believe  
that you may need to use its --playlist option in order for the URLs  
to work right. However I was successfully able to cancel the recording  
and resume using the same URL, which makes me think one could use cron  
to record shows on schedule.


The BBC iPlayer now offers radio, too, and I am given to understand  
that its radio shows are in decent (high?) quality MP3 format. You can  
download iPlayer shows using the iplayer-dl script  but I think you need to know the ID number of the show first, which  
you need to get from the iPlayer website. So this may not be so good  
for casual listening (official iPlayer may be good for that).


If anyone knows of an overlay which tracks iplayer-dl, BTW, please let  
me know.


Stroller.




Re: [gentoo-user] Amarok only masked with ~x86 keyword

2009-01-28 Thread Peter Humphrey
On Tuesday 27 January 2009 22:50:59 Paul Hartman wrote:

> Overall I would say at this poin, other than the Last.fm support, I
> prefer the old Amarok in almost every way to the new one. UI was
> better, performance was better, display of collection was better.
> Maybe there are some new features that I'm not aware of that might
> make me love Amarok 2.

Sounds like time for a complaint via bugzilla.


-- 
Rgds
Peter



Re: [gentoo-user] Internet radio?

2009-01-28 Thread Peter Humphrey
On Tuesday 27 January 2009 23:41:32 Mark Knecht wrote:

> I should have stated that he has almost no interest in listening to music.
> He wants to listen to news form around the world. BBC, NPR and whatever he
> can find. 

I don't know whether the BBC streams in mp3 or just allows you to download 
things in that format. Its main streaming service uses the REAL protocol 
these days.

-- 
Rgds
Peter



Re: [gentoo-user] Internet radio?

2009-01-28 Thread Neil Bothwick
On Tue, 27 Jan 2009 17:51:23 -0800, Mark Knecht wrote:

> The one thing I'm not liking about it was it is that it created
> /etc/portagexs which now stops me from bash auto-completing my tab
> commands the way I'm used to doing it for all these years. A trade
> off...

That's fixed in the latest PortageXS, which autounmask uses. It now keeps
its configs in /etc/pxs.


-- 
Neil Bothwick

"An investment in knowledge always pays the best interest." - Benjamin
Franklin


signature.asc
Description: PGP signature