[gentoo-user] CTRL+ALT arrows keys to move between words in Konsole

2006-11-04 Thread Marco Lazzeri

Hi,

many emerges ago, I used to move between words in my bash Konsole
keeping pressed CTRL+ALT and using the arrows keys, exactly like the
more classic ESC+B (backward)  ESC+F (forward) do.

Somewhere I lost that behavior. Do you know why? And, more important,
do you know how I could restore that?

Thanks.

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



Re: [gentoo-user] ETH0 Startup Problem

2006-11-04 Thread Neil Bothwick
On Fri, 3 Nov 2006 22:28:06 -0500, Ryan Crisman wrote:

 Anyone have any ideas.  The eth0 worked on the live CD and when i do
 LSPCI i can see that it see the device.

Did you build the correct module with your kernel? lsmod will show if
it's loaded. If you're not sure which one you need, run lsmod from the
live CD to see what that's using.


-- 
Neil Bothwick

What is about L'waxana Troi that makes me melt. * Odo


signature.asc
Description: PGP signature


Re: [gentoo-user] CTRL+ALT arrows keys to move between words in Konsole

2006-11-04 Thread Benno Schulenberg
Marco Lazzeri wrote:
 many emerges ago, I used to move between words in my bash Konsole
 keeping pressed CTRL+ALT and using the arrows keys, exactly like
 the more classic ESC+B (backward)  ESC+F (forward) do.

How to do it for Ctrl+Alt+arrow I don't know, but for just 
Ctrl+arrow add this to your /etc/inputrc:

\e[1;5C: forward-word
\e[1;5D: backward-word

Or for Alt+arrow:

\e[1;3C: forward-word
\e[1;3D: backward-word

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



Re: [gentoo-user] Networking problems

2006-11-04 Thread Jeff Cranmer
After reading the comments at the top of the /etc/conf.d/net, a blank file will 
automatically use DHCP for any net.* scripts in /etc/init.d, so I commented out 
all the parameters that I'd added.  The file then matches the one in the livecd 
boot-up that I used to install the OS.

For the /etc/resolv.conf file, I have:
search belkin
nameserver 192.168.2.1
nameserver 207.69.188.185
nameserver 207.69.188.186
nameserver 207.69.188.187

route -n returns
Kernel IP routing table
Destination   Gateway  Genmask   FlagsMetricRef 
Use  Iface
192.168.2.0  0.0.0.0255.255.255.0 U 0  0
0  eth0
127.0.0.0  0.0.0.0255.0.0.0U 0  
00  lo
0.0.0.0 192.168.2.1  0.0.0.0   UG  0 0  
  0  eth0

Comparing this with the equivalent working connection via my Mandriva Linux 
boot-up,  /etc/resolv.conf is the same, but route -n returns
Kernel IP routing table
Destination   Gateway  Genmask   FlagsMetricRef 
Use  Iface
192.168.2.0  0.0.0.0255.255.255.0 U 10 0
0  eth0
169.254.0.0   0.0.0.0   255.0.0.0U 10 0 
   0  eth0
127.0.0.0  0.0.0.0255.0.0.0U 0  
00  lo
0.0.0.0 192.168.2.1  0.0.0.0   UG  10 0 
   0  eth0

The main difference is that the metric column is all 0 on my non-working 
install, and I'm missing the 169.254.0.0 row from route -n

I'm not using genkernel.  Is it possible that a kernel misconfiguration is 
responsible for the problems I'm having?

Thanks

Jeff


-Original Message-
From: Novensiles divi Flamen [EMAIL PROTECTED]
Sent: Nov 3, 2006 10:15 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Networking problems

On Saturday 04 November 2006 09:57, Jeff Cranmer wrote:
 I seem to have some network issues with my gentoo install

 I have /etc/init.0/net.eth0 configured to run at the default runlevel.
 It appears to startup ok.  No firewall has been installed yet.
 The network appears to startup eth0 correctly, obtaining a dhcp address
 from my cable provider via the router.

Are you getting DNS and default route settings from the DHCP server? Your 
option 'nodns' means you'd need to have it set manually. 

cat /etc/resolv.conf should show the value of your DNS server.

route -n should show your default gateway. Check that both values are sane.

- Noven
-- 
-- Novensiles divi Flamen --
 Miles Militis Fons 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wireless on boot

2006-11-04 Thread Luigi Pinna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alle 19:54, giovedì 2 novembre 2006, Mick ha scritto:

 If I understand you correctly, you won't find the entry you're
 looking for. You need to create a link with the name of your usb card
 interface. ifconfig -a will show you what the new network card is
 recognised as and then you have to link it to /etc/init.d/net.lo. 
 For example, if ifconfig shows you a new interface called wlan0 then
 you need to run something like this:

 # cd /etc/init.d
 # ln -s net.lo net.wlan0

 Then, set something like RC_NET_STRICT_CHECKING=no in your
 /etc/conf.d/rc and all the right things should happen when you boot
 up.

Ok, I did it: it works!
But I continue to have some problems...
First, on boot time net.eth0 gives up and I must wait until timeout 
before that boot could continue.
Second net.wlan0 fails with a strange message, it says that no wlan0 are 
present on system to check hardware and driver. 
The strange thing is that after boot I had already network and that 
message:
WARNING:  net.wlan0 has started but is inactive
WARNING:  ntp-client is scheduled to start when net.wlan0 has started.
WARNING:  festival is scheduled to start when net.wlan0 has started.
WARNING:  sshd is scheduled to start when net.wlan0 has started.
WARNING:  netmount is scheduled to start when net.wlan0 has started.
WARNING:  samba is scheduled to start when net.wlan0 has started.

How can I solve it? Boot is too slow...

  A second question: some times the connection gets down but dhcpcd
  doesn't see it and the only solution is to kill wpa_supplicant and
  dhcpcd and restart them.
  How can I prevent this problem, or connect automatic again?

 Sorry, not adequately clued up on this, to offer any reliable advice.
  I know that the wpa_supplicant requires the iface to stay up,
 something which may not happen if dhcpcd goes down and takes the
 iface with it.  You may want to try adding an option like
 dhcpcd_wlan0=-o in your /etc/conf.d/net to see if it makes any
 difference.  Someone more knowledgeable in network matters ought to
 advise here.
 HTH.

I found the problem! I used wpa_supplicant with this command line:
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
- -B says to work as daemon, but it can't change keys and after my key 
expiration the system disconnect me.
Now it works fine.
Thanks,
Luigi
- -- 
Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFTI1XHmkkjmM/hrcRAtziAJ9M+9VBdEDIJPaaPdOGj7+uo/NZBwCfZvzc
vVLRPEE0YBK7GZWgVXKD0gw=
=NXEM
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Secure remote backup

2006-11-04 Thread Dan Johansson
Me and a friend are looking into the possibility to do 
cross-site-remote-backups (I'm backing up my data to a directory in his box 
and he on mine). We want the connection and remote-storage to encrypted and 
we do not want to open too many ports in our firewalls. Any suggestions on  
how this could be accomplished?
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


pgpEwRe2SauSu.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Secure remote backup

2006-11-04 Thread Etaoin Shrdlu
On Saturday 4 November 2006 13:56, Dan Johansson wrote:

 Me and a friend are looking into the possibility to do
 cross-site-remote-backups (I'm backing up my data to a directory in
 his box and he on mine). We want the connection and remote-storage to
 encrypted and we do not want to open too many ports in our firewalls.
 Any suggestions on how this could be accomplished?

Backuppc (it's in portage) uses rsync over ssh, so you only need to open 
a single port in the firewall. Optionally, backuppc offers an http 
interface to monitor its status, so maybe you'll want to open port 80 as 
well.
Use an encrypted filesystem to store backups, and you should be done.

Note: the above setup probably needs some work if you want full 
automation.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Networking problems

2006-11-04 Thread Mick
On Saturday 04 November 2006 12:24, Jeff Cranmer wrote:

 Comparing this with the equivalent working connection via my Mandriva Linux
 boot-up,  /etc/resolv.conf is the same, but route -n returns Kernel IP
 routing table
 Destination   Gateway  Genmask   FlagsMetricRef
 Use  Iface 192.168.2.0  0.0.0.0255.255.255.0 U 
10 00  eth0 169.254.0.0   0.0.0.0   
255.0.0.0U 10 00  eth0
 127.0.0.0  0.0.0.0255.0.0.0U 0 
 00  lo 0.0.0.0 192.168.2.1  0.0.0.0
   UG  10 00  eth0

Have you tried only entering config_eth0=( dhcp ) in your /etc/conf.d/net 
and leaving all the routing and dns setting to dhcpcd to sort out?  Have you 
a complicating LAN arrangement that requires the nodns option?
-- 
Regards,
Mick


pgpjZMRYQ5bKt.pgp
Description: PGP signature


[gentoo-user] Unable to emerge with nss_ldap in use.

2006-11-04 Thread Qian Qiao

Hi,

I've come across this very strange problem.

I have a few work stations configured to use pam_ldap and nss_ldap.
The portage user and portage group are on the local machines, i.e, in
/etc/passwd and /etc/group.

with
passwd:  files ldap
shadow:  files ldap
group: files ldap
in /etc/nsswitch.conf

getent passwd shows the protage user just fine, same goes for the
portage group.

However emerge will not work. If I emerge a package, it fails at
downloading packages, looks like it doesn't have permission to write
to /usr/portage/distfiles.

setting /etc/nsswitch.conf to:
passwd:  compat
shadow:  compat
group:   compat
will allow me to emerge packages, however, ldap users won't be able to log on.

Have I done anything wrong? I did google for the answer, however, I
wasn't able to find any. Any help will be greatly appreciated.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Secure remote backup

2006-11-04 Thread Daniel Iliev
Dan Johansson wrote:
 Me and a friend are looking into the possibility to do 
 cross-site-remote-backups (I'm backing up my data to a directory in his box 
 and he on mine). We want the connection and remote-storage to encrypted and 
 we do not want to open too many ports in our firewalls. Any suggestions on  
 how this could be accomplished?
   

I use ssh with no-password login + scp. Here is a small article on how
to achieve this functionality:
http://ariadne.mse.uiuc.edu/Cluster/ssh_log_through.html

HTH

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Networking problems

2006-11-04 Thread Jeff Cranmer
Perhaps removing all the lines from the net configuration script was the key 
after all.
It didn't work on the next boot-up cycle, but on the one following that, 
without performing any extra configuration steps, the network connection was 
operational :-/

I have a network.  Now I can proceed with installing kde :-)

The results of ifconfig and route -n are unchanged.

Jeff


-Original Message-
From: Mick [EMAIL PROTECTED]
Sent: Nov 4, 2006 8:29 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Networking problems

On Saturday 04 November 2006 12:24, Jeff Cranmer wrote:

 Comparing this with the equivalent working connection via my Mandriva Linux
 boot-up,  /etc/resolv.conf is the same, but route -n returns Kernel IP
 routing table
 Destination   Gateway  Genmask   FlagsMetricRef
 Use  Iface 192.168.2.0  0.0.0.0255.255.255.0 U 
10 00  eth0 169.254.0.0   0.0.0.0   
255.0.0.0U 10 00  eth0
 127.0.0.0  0.0.0.0255.0.0.0U 0 
 00  lo 0.0.0.0 192.168.2.1  0.0.0.0
   UG  10 00  eth0

Have you tried only entering config_eth0=( dhcp ) in your /etc/conf.d/net 
and leaving all the routing and dns setting to dhcpcd to sort out?  Have you 
a complicating LAN arrangement that requires the nodns option?
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Some problems I've been having

2006-11-04 Thread Harley Peters

Michael Sullivan wrote:

On Fri, 2006-11-03 at 16:39 +, Neil Bothwick wrote:

On Fri, 03 Nov 2006 10:28:15 -0600, Michael Sullivan wrote:


Run make menuconfig, press / and type 'CX2341'.

It said No Matches Found.  Should I just mask this version of ivtv for
now until I get a newer kernel?

Which kernel are you using?



camille ~ # uname -a
Linux camille 2.6.17-gentoo-r8 #1 SMP Fri Nov 3 08:09:55 CST 2006 i686
Intel(R) Celeron(R) CPU 2.66GHz GenuineIntel GNU/Linux




Ivtv version 0.8.0 is for the 2.6.18 kernel only. You need to use 
version 0.7.x for the 2.6.17 kernel.


Harley

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Secure remote backup

2006-11-04 Thread Neil Bothwick
On Sat, 4 Nov 2006 13:56:04 +0100, Dan Johansson wrote:

 Me and a friend are looking into the possibility to do 
 cross-site-remote-backups (I'm backing up my data to a directory in his
 box and he on mine). We want the connection and remote-storage to
 encrypted and we do not want to open too many ports in our firewalls.
 Any suggestions on how this could be accomplished?

I use a combination of sshfs and encfs to keep my backups encrypted at
Strongspace. You can use this with any online backup or web hosting
services as long as they allow ssh file transfers (you don't need ssh
login).


-- 
Neil Bothwick

WinErr 012: Window closed - Do not look inside


signature.asc
Description: PGP signature


[gentoo-user] xorg 7.0 to 7.1 -- is this a problem

2006-11-04 Thread Adrian

Greetings all;

I was intending to upgrade xorg 7.0 to 7.1, before doing so I noticed
something.  I'm not sure if this is a problem or not, so I wanted to
ask before I mess up my system.

First, take a look when I do a pretend to see what would happen when
emerging 7.0, which is currently installed:
--

Sat Nov 04 09:34:17
/home/skippi/0data/data/2print
 skippy $  emerge -pv =xorg-x11-7.0-r1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-x11-7.0-r1  USE=3dfx
INPUT_DEVICES=keyboard mouse -acecad -aiptek -calcomp -citron
-digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen
-jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax
-penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void
-wacom VIDEO_CARDS=fbdev i810 vesa vga -apm -ark -chips -cirrus
-cyrix -dummy -fglrx -glint -i128 -i740 -imstt -mach64 -mga -neomagic
(-newport) -nsc -nv -nvidia -r128 -radeon -rendition -s3 -s3virge
-savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3)
(-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l
-via -vmware -voodoo 0 kB

Total size of downloads: 0 kB
-

Note that it will use the flags/devices for keyboard, mouse, fbdev i810
vesa vga.  These are indicated in make.conf and correct.

Now, I pretend for 7.1
--

Sat Nov 04 09:35:12
/home/skippi/0data/data/2print
 skippy $  emerge -pv xorg-x11

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] x11-apps/mesa-progs-6.5.1 [6.4.2] 0 kB

[ebuild U ] x11-proto/glproto-1.4.8 [1.4.7] USE=-debug 0 kB

[ebuild U ] media-libs/mesa-6.5.1-r1 [6.4.2-r2] USE=doc nptl%*
-debug -hardened -motif VIDEO_CARDS=i810 -mach64 -mga -none -r128
-radeon -s3virge -savage -sis (-sunffb) -tdfx -trident -via 0 kB

[ebuild U ] x11-base/xorg-server-1.1.1-r1 [1.0.2-r7] USE=3dfx%*
dri ipv6 nptl%* sdl%* xorg%* -aiglx% -debug -dmx% -kdrive% -minimal
-xprint INPUT_DEVICES=keyboard%* mouse%* -acecad% -aiptek% -calcomp%
-citron% -digitaledge% -dmc% -dynapro% -elo2300% -elographics% -evdev%
-fpit% -hyperpen% -jamstudio% -joystick% -magellan% -microtouch%
-mutouch% -palmax% -penmount% -spaceorb% -summa% -synaptics% -tek4957%
-ur98% -vmmouse% -void% -wacom% VIDEO_CARDS=fbdev%* i810%* vesa%*
vga%* -apm% -ark% -chips% -cirrus% -cyrix% -dummy% -epson% -fglrx%
-glint% -i128% -i740% (-impact) -imstt% -mach64% -mga% -neomagic%
(-newport) -nsc% -nv% -nvidia% -r128% -radeon% -rendition% -s3%
-s3virge% -savage% -siliconmotion% -sis% -sisusb% (-sunbw2) (-suncg14)
(-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx% -tga%
-trident% -tseng% -v4l% -via% -vmware% -voodoo% 0 kB 

[ebuild U ] x11-base/xorg-x11-7.1 [7.0-r1] USE=(-3dfx%*)
INPUT_DEVICES=(-acecad%) (-aiptek%) (-calcomp%) (-citron%)
(-digitaledge%) (-dmc%) (-dynapro%) (-elo2300%) (-elographics%)
(-evdev%) (-fpit%) (-hyperpen%) (-jamstudio%) (-joystick%)
(-keyboard%*) (-magellan%) (-magictouch%) (-microtouch%) (-mouse%*)
(-mutouch%) (-palmax%) (-penmount%) (-spaceorb%) (-summa%)
(-synaptics%) (-tek4957%) (-ur98%) (-vmmouse%) (-void%) (-wacom%)
VIDEO_CARDS=(-apm%) (-ark%) (-chips%) (-cirrus%) (-cyrix%) (-dummy%)
(-fbdev%*) (-fglrx%) (-glint%) (-i128%) (-i740%) (-i810%*) (-imstt%)
(-mach64%) (-mga%) (-neomagic%) (-newport%) (-nsc%) (-nv%) (-nvidia%)
(-r128%) (-radeon%) (-rendition%) (-s3%) (-s3virge%) (-savage%)
(-siliconmotion%) (-sis%) (-sisusb%) (-sunbw2%) (-suncg14%) (-suncg3%)
(-suncg6%) (-sunffb%) (-sunleo%) (-suntcx%) (-tdfx%) (-tga%)
(-trident%) (-tseng%) (-v4l%) (-vesa%*) (-vga%*) (-via%) (-vmware%)
(-voodoo%) 0 kB 

[ebuild U ] x11-drivers/xf86-video-vesa-1.2.1
[1.0.1.3] USE=-debug 0 kB 

[ebuild U ]
x11-drivers/xf86-video-vga-4.1.0 [4.0.0.5] USE=-debug 0 kB

[ebuild U ] x11-drivers/xf86-input-mouse-1.1.1 [1.0.4] USE=-debug
0 kB 

[ebuild U ] x11-drivers/xf86-video-fbdev-0.3.0 [0.1.0.5]
USE=-debug 0 kB 

[ebuild U ] x11-drivers/xf86-video-i810-1.6.5
[1.4.1.3] USE=dri -debug 0 kB 

[ebuild U ] x11-drivers/xf86-input-keyboard-1.1.0 [1.0.1.3] USE=-debug 0 
kB

Total size of downloads: 0 kB
---

Here, the xorg-x11-7.1 does not indicate any of these flags will be
used.  Is this the correct behaviour?  Or is something going on?

Thank you very much.
Adrian



-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ETH0 Startup Problem

2006-11-04 Thread Ryan Crisman
The livecd has 8139cp and 8139too loaded but the installed version only has 8139cp loaded, and mii also is loaded with both the network modules out to the side of it on the live cd, and the install only has the one to the side of it.
Thats what it was displaying so I did:echo 8139too  /etc/modules.autoload.d/kernel-2.6and that fixed the problem.  Thanks Neil for the LSMOD command
On 11/4/06, Neil Bothwick [EMAIL PROTECTED] wrote:
On Fri, 3 Nov 2006 22:28:06 -0500, Ryan Crisman wrote: Anyone have any ideas.The eth0 worked on the live CD and when i do LSPCI i can see that it see the device.Did you build the correct module with your kernel? lsmod will show if
it's loaded. If you're not sure which one you need, run lsmod from thelive CD to see what that's using.--Neil BothwickWhat is about L'waxana Troi that makes me melt. * Odo
-- Ryan Crisman


Re: [gentoo-user] xorg 7.0 to 7.1 -- is this a problem

2006-11-04 Thread Andrey
On Saturday 04 November 2006 16:58, Adrian wrote:
 Here, the xorg-x11-7.1 does not indicate any of these flags will be
 used.  Is this the correct behaviour?  Or is something going on?

Try to use: emerge -pvuDN xorg-x11 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: xorg 7.0 to 7.1 -- is this a problem

2006-11-04 Thread Harm Geerts
On Saturday 04 November 2006 17:58, Adrian wrote:
 I was intending to upgrade xorg 7.0 to 7.1, before doing so I noticed
 something.  I'm not sure if this is a problem or not, so I wanted to
 ask before I mess up my system.

Don't ask, search.
This has been asked and answered a few times on the ML, forums and I wouldn't 
be suprised if someone filed a bug report about it.

But just for you:
The USE flags have been moved from x11-base/xorg-x11 to x11-base/xorg-server
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wireless on boot

2006-11-04 Thread Neil Bothwick
On Sat, 4 Nov 2006 13:53:39 +0100, Luigi Pinna wrote:

 But I continue to have some problems...
 First, on boot time net.eth0 gives up and I must wait until timeout 
 before that boot could continue.

emerge ifplugd and read the comments about it in /etc/conf.d/net.example


-- 
Neil Bothwick

B?#$^f, said Pooh, as line noise garbled his transmission.


signature.asc
Description: PGP signature


[gentoo-user] Bringing services back up

2006-11-04 Thread Grant

When one of my systems loses its connection to the wireless network
for a period of time, it stops the services which rely on net.ath0.
Once it's back on the network, I can run 'rc' to start all the
services again.  Is there a way to have those services start again on
their own once net.ath0 is reconnected?

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



[gentoo-user] WinXP under VMWare: no sound

2006-11-04 Thread Sergio Polini
I'm experimenting with VMWare.
I've installed VMWare Workstation (5.5.1.19175-r7 ebuild) and created 
a Windows Virtual Machine.
Then I've installed VMWare Player (in another Gentoo partition), so I 
can play the VM I've created.
It works fine. Running Internet Explorer under Linux is rather 
amusing ;-) Well, I've installed VMWare because I _must_ run a few 
Windows apps (not IE ;-)) and don't like to shutdown my Gentoo box to 
do that. But that is another matter...
Now I have what I needed, but I can't help experimenting
Sound does not work. Sometimes (not always) I get a message 
like cannot connect to /dev/dsp.
Even if I do not get that message, even if the sound card looks 
connected (no red x) sound is not working.
I've found a VMWare document about a wrapper:
http://kb.vmware.com/vmtnkb/search.do?cmd=displayKCdocType=kcexternalId=1611sliceId=SAL_Public
but it looks suited for versions 3.x, 4.x, and 5.0.x.
Moreover, I've installed it and got:

[sp ~]$ vmwarearts 
[1] 5669
[sp ~]$ ERROR: ld.so: object 'libvmdsp.so' from LD_PRELOAD cannot be 
preloaded: ignored.

And no sound, of course
Any hints?
Thanks
Sergio
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] WinXP under VMWare: no sound

2006-11-04 Thread Richard Fish

On 11/4/06, Sergio Polini [EMAIL PROTECTED] wrote:

Sound does not work. Sometimes (not always) I get a message
like cannot connect to /dev/dsp.
Even if I do not get that message, even if the sound card looks
connected (no red x) sound is not working.
I've found a VMWare document about a wrapper:


The problem is that /dev/dsp is the legacy OSS api, and does not
support dmix (software mixing of audio).  Thus only one application
can access /dev/dsp at a time unless your card supports hardware
mixing.  So most likely, /dev/dsp is already in use by some app.

The workaround to this is to use a wrapper such as aoss or vmware-dsp
that fakes out the application when it tries to open /dev/dsp and uses
another audio API instead (alsa for aoss, esd or artsd for
vmware-dsp).

http://kb.vmware.com/vmtnkb/search.do?cmd=displayKCdocType=kcexternalId=1611sliceId=SAL_Public

but it looks suited for versions 3.x, 4.x, and 5.0.x.
Moreover, I've installed it and got:


FYI, there is an ebuild available for this...emerge vmare-dsp.


[sp ~]$ ERROR: ld.so: object 'libvmdsp.so' from LD_PRELOAD cannot be
preloaded: ignored.


What does ldd /usr/lib/libvmdsp* report?  (or whatever directory
libvmdsp got installed to..)

-Richard

PS:The real fix for this is for VMWare to *stop* using the deprecated
OSS API for sound, and implement real ALSA compatibility.  I highly
recommend sending this request to them!
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] WinXP under VMWare: no sound

2006-11-04 Thread Sergio Polini
Richard Fish:
 On 11/4/06, Sergio Polini [EMAIL PROTECTED] wrote:
  Sound does not work. Sometimes (not always) I get a message
  like cannot connect to /dev/dsp.
  Even if I do not get that message, even if the sound card looks
  connected (no red x) sound is not working.
  I've found a VMWare document about a wrapper:

 The problem is that /dev/dsp is the legacy OSS api, and does not
 support dmix (software mixing of audio).  Thus only one application
 can access /dev/dsp at a time unless your card supports hardware
 mixing.  So most likely, /dev/dsp is already in use by some app.

alsasound?
kde? even if I have auto-suspend enabled?

 The workaround to this is to use a wrapper such as aoss or
 vmware-dsp that fakes out the application when it tries to open
 /dev/dsp and uses another audio API instead (alsa for aoss, esd or
 artsd for vmware-dsp).

 http://kb.vmware.com/vmtnkb/search.do?cmd=displayKCdocType=kcexte
rnalId=1611sliceId=SAL_Public

  but it looks suited for versions 3.x, 4.x, and 5.0.x.
  Moreover, I've installed it and got:

 FYI, there is an ebuild available for this...emerge vmare-dsp.

Oops! ;-)
It emerged app-emulation/emul-linux-x86-soundlibs-2.3 too (Im running 
Gentoo AMD64), but then:

01:56:32 (200.82 KB/s) - `/usr/portage/distfiles/vmwaredsp-1.3.tar.gz' 
saved [52412/52412]

 * checking ebuild checksums ;-) ...
  
[ ok ]
 * checking auxfile checksums ;-) ...   
  
[ ok ]
 * checking miscfile checksums ;-) ...  
  
[ ok ]
 * checking vmwaredsp-1.3.tar.gz ;-) ...
  
[ ok ]
 Unpacking source...
 Unpacking vmwaredsp-1.3.tar.gz 
to /var/tmp/portage/vmware-dsp-1.3/work
 Source unpacked.
 Compiling source 
in /var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3 ...
 * Building aRts support only.
make -C 32 default
make[1]: Entering directory 
`/var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3/src/32'
cc -c -W -Wall -O2 -fPIC -o vmdsp.o ../vmdsp.c
cc -shared -Wl,-version-script=../vmdsp.map -o libvmdsp.so 
vmdsp.o  -lpthread -ldl -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: 
libvmdsp.so: undefined versioned symbol name [EMAIL PROTECTED]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: 
failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libvmdsp.so] Error 1
rm vmdsp.o
make[1]: Leaving directory 
`/var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3/src/32'
make: *** [default] Error 2

!!! ERROR: app-emulation/vmware-dsp-1.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  vmware-dsp-1.3.ebuild, line 58:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call 
stack if relevant.

:-(

  [sp ~]$ ERROR: ld.so: object 'libvmdsp.so' from LD_PRELOAD cannot
  be preloaded: ignored.

 What does ldd /usr/lib/libvmdsp* report?  (or whatever directory
 libvmdsp got installed to..)

From my former install (1611_fvmwaredsp-1.3.tgz):

testing ~ # ldd /usr/lib/libvmdsp.so
ldd: warning: you do not have execution permission for 
`/usr/lib/libvmdsp.so'
libpthread.so.0 = /lib/libpthread.so.0 (0x2b944790f000)
libdl.so.2 = /lib/libdl.so.2 (0x2b9447a25000)
libc.so.6 = /lib/libc.so.6 (0x2b9447b29000)
/lib64/ld-linux-x86-64.so.2 (0x4000)


 PS:The real fix for this is for VMWare to *stop* using the
 deprecated OSS API for sound, and implement real ALSA
 compatibility.  I highly recommend sending this request to them!

Sure, but first I'ld like to get sound working ;-)

Thanks
Sergio

-- 
gentoo-user@gentoo.org mailing list