Re: [gentoo-user] Re: Xorg-server and my mouse

2009-04-10 Thread Fred Elno

 Dale:

Did my etc-update and went to log into KDE.  No keyboard.  No
mouse.  No nothing.  I knew the new xorg-server update was going to make
me change a few things but I thought I would be ABLE to change the
thing.

 *g*

 Today 'emerge --sync' followed by 'emerge -uDN world' changed my xorg to
 1.5. After 'startx' i had my usual icewm screen but no working mouse or
 keyboard.

I had to unplug the computer then add softlevel=boot to get to
where I could even fix the stupid thing.

 I preferred ssh from another computer. ;)

While I was trying to recover and reading, it appears I have to update
my kernel for this thing to work.

 That depends. Look in 'sudo make menuconfig' at Device Drivers-Input
 device support for Event interface. If available and unchecked, select
 it and recompile your kernel.

 I had done so because it was mentioned in the 'Xorg 1.5 Upgrade Guide',
 http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.5-upgrade-guide.xml

 Wasn't enough, though.

 - Xorg.0.log -
 (EE) Failed to load module evdev (module does not exist, 0)
 ---

 But 'modprobe evdev' succeeded. *g*

 After pulling out some hairs and examining 'emerge -pv xorg-server'
 closer i changed

 - /etc/make.conf -
 INPUT_DEVICES=keyboard mouse
 

 to

 - /etc/make.conf -
 INPUT_DEVICES=keyboard mouse evdev
 ---

 and recompiled xorg-server. Now i had working mouse and keyboard under X.

 Then i noticed that my german keyboard layout was gone. The Upgrade
 Guide was not very clear in this point. At least for me.

I have the same problem for my French keyboard layout, so here is what I do:
Change my section InputDevice in /etc/X11/xorg.conf from:

Section InputDevice
Identifier Keyboard0
Driver kbd
Option AutoRepeat 500 30
Option XkbRules xorg
Option XkbModel pc105
Option XkbLayout fr
EndSection

To this:

Section InputDevice
Identifier  Keyboard0
Option  AutoRepeat 500 30
Option  CoreKeyboard
Option  XkbLayout fr
Option  XkbModel  evdev
Option  XkbRulesxorg
Driver  evdev
EndSection

After that I have to find the fdi file for my keyboard and change it according 
to
my xorg.conf:
Here is what I have in the fdi file:

$ nano /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi
?xml version=1.0 encoding=ISO-8859-1? !-- -*- SGML -*- --
deviceinfo version=0.2
  device
match key=info.capabilities contains=input.keymap
  append key=info.callouts.add type=strlisthal-setup-keymap/append
/match

match key=info.capabilities contains=input.keys
  merge key=input.xkb.rules type=stringxorg/merge

  !-- If we're using Linux, we use evdev by default (falling back to
   keyboard otherwise). --
  merge key=input.xkb.model type=stringkeyboard/merge
  match key=/org/freedesktop/Hal/devices/computer:system.kernel.name
 string=Linux
merge key=input.xkb.model type=stringevdev/merge
  /match

  merge key=input.xkb.layout type=stringfr/merge
  merge key=input.xkb.variant type=string /
/match
  /device
/deviceinfo

After that killing X, then restarting hald daemon and when I restart X
I have my French Layout back.

Hope it's help

 Time for a break, so i decided to disable hal for a while, drink some
 coffee and smoke some pipes. ;)

 - /etc/X11/xorg.conf -
 Section ServerFlags
   Option AutoAddDevices  false
 EndSection
 ---

 Now i have commented out these lines because i found a way for my german
 keyboard layout. Hm, just noticed that i have also to do something for
 my compose key. Sigh.

 Hartmut





=
* Site  web: http://www.drakonix.fr *
=




Re: [gentoo-user] mp3/ogg editing

2008-11-29 Thread Fred Elno
Hello,

I did you try Audacity?


 Hi,

 I am looking for a ogg/mp3 editing softwarei (gui), which is able to
 cut/append such streams without loss due to reencoding.

 What software is worth trying ?

 Thank  you very much for your help in advance!

 Kind regards,
 mcc


 --
 Please don't send me any Word- or Powerpoint-Attachments
 unless it's absolutely neccessary. - Send simply Text.
 See http://www.gnu.org/philosophy/no-word-attachments.html
 In a world without fences and walls nobody needs gates and windows.




http://www.drakonix.fr




Re: [gentoo-user] mp3/ogg editing

2008-11-29 Thread Fred Elno

 Hello,


 I tought this one decodes before editing ???



This is what I found in audacity homepage:

Audacity is free, open source software for recording and editing sounds. It is 
available for Mac OS X, Microsoft
Windows, GNU/Linux, and other operating systems.

So I think he is able to edit sounds, you just open your file, then apply some 
audio filter on it, cut a part of it
tweak volume etc...

But perhaps I have not well understood your question (my english is not so good 
), and maybe I put you in a wrong way.


 Fred Elno [EMAIL PROTECTED] [08-11-29 16:21]:
 Hello,

 I did you try Audacity?

 
  Hi,
 
  I am looking for a ogg/mp3 editing softwarei (gui), which is able to
  cut/append such streams without loss due to reencoding.
 
  What software is worth trying ?
 
  Thank  you very much for your help in advance!
 
  Kind regards,
  mcc
 
 
  --
  Please don't send me any Word- or Powerpoint-Attachments
  unless it's absolutely neccessary. - Send simply Text.
  See http://www.gnu.org/philosophy/no-word-attachments.html
  In a world without fences and walls nobody needs gates and windows.
 
 


 http://www.drakonix.fr



 --
 Please don't send me any Word- or Powerpoint-Attachments
 unless it's absolutely neccessary. - Send simply Text.
 See http://www.gnu.org/philosophy/no-word-attachments.html
 In a world without fences and walls nobody needs gates and windows.




http://www.drakonix.fr




Re: [gentoo-user] Atheros chip with airodump-ng

2008-11-07 Thread Fred Elno

 Hi All,

 I have been experimenting with my wireless cardbus and cannot get it
 to work with airodump-ng:

 From lshw:

  *-network
   description: Wireless interface
   product: AR5212 802.11abg NIC
   vendor: Atheros Communications, Inc.
   physical id: 3
   bus info: [EMAIL PROTECTED]:04:00.0
   logical name: wifi0
   version: 01
   serial: XX:XX:XX:XX:XX:XX
   width: 32 bits
   clock: 33MHz
   capabilities: pm bus_master cap_list logical ethernet
 physical wireless
   configuration: broadcast=yes driver=ath_pci ip=XX.XX.XXX.XXX
 latency=168 maxlatency=28 mingnt=10 module=ath_pci multicast=yes
 wireless=IEEE 802.11g

 lspci -v gives:

 04:00.0 Ethernet controller: Atheros Communications, Inc. AR5212
 802.11abg NIC (rev 01)
 Subsystem: PROXIM Inc Device 0a10
 Flags: bus master, medium devsel, latency 168, IRQ 11
 Memory at 4400 (32-bit, non-prefetchable) [size=64K]
 Capabilities: [44] Power Management version 2
 Kernel driver in use: ath_pci
 Kernel modules: ath_pci

 I am using net-wireless/madwifi-ng-0.9.4

 When I run airmon-ng it shows my ath0 interface:

 # airmon-ng


 Interface   Chipset Driver

 wifi0   Atheros madwifi-ng
 ath0Atheros madwifi-ng VAP (parent: wifi0)

 Running 'airmon-ng start wifi0' it creates a new VAP ath1 and puts it
 in Monitor mode.  So far so good, but running airodump-ng shows no
 data being captured.  Trying to stop ath0 (in case it interferes)
 shuts down /etc/init.d/net.ath0, although I still get ath1 shown in
 iwconfig.

 Have I missed something basic here?  Do I need perhaps to add net.ath1
 - /etc/init.d/net.lo in the same way that I have done for ath0?
 --
 Regards,
 Mick



Hi Mick,

I have te same thing when using kismet, after starting kismet if I use 
airmon-ng to look at my interfaces, I have this:

$ airmon-ng
wifi0   Atheros madwifi-ng
ath0Atheros madwifi-ng VAP (parent: wifi0)
kis0Atheros madwifi-ng VAP (parent: wifi0)

Then if I want to shootdown kis0, I will use airmon-ng like this:

$ airmon-ng stop kis0

And kis0 will be destroyed.
So I think you can destroy any child of wifi0 by doing this with airmon-ng

For enabling monitor mode I do like you:

$ airmon-ng start wifi0

It will create a new child of wifi0, ath1 in my case.
Then starting 'airodump-ng ath1' will let me capture packet coming on ath1, if 
of course any AP are active in my
neighbourhood

To destroy ath1 you do like for destroying kis0

$ airmon-ng stop ath1

Hope it help


http://www.drakonix.fr




Re: [gentoo-user] AutoFS with LDAP

2008-10-20 Thread Fred Elno
Yes I also use autofs with openldap.
My setup is as this: the PDC is running on a gentoo box and provide system 
authentification with openldap to windows
client and also gentoo client, I also use samba for filesharing between client 
and server.
Because I don't want my users being able to see at other users home directory I 
use autofs which  mount only user
logged in home directory on the client.

I am not a specialist in Openldap so I don't know if I will be able to help 
you, but if it can help, I can give you
this link :  http://www.drakonix.fr/index.php?id=gentootab=21pid=26#t03

It point to my setup documentation and perhaps you will found usefull 
information.
You will also find some links to other wiki's and doc which talk about this 
subject.

Oh I forgot it is written in French but all the command used and file 
configuration are written
And excuse me for my poor English ;)

Hope it's help

Fred

 Folks,

 Has anyone used AutoFS with the automounter information coming from
 LDAP?

 I have a LDAP server with the necessary maps setup.  I have a number of
 LDAP clients on Debian successfully using this.  However, I cannot get
 this to work with Gentoo.  When I try to start autofs I get a message
 saying failed.  I have also tried starting by handing using the
 automount command that is running on my Debian box, however, it just
 exits.  The /usr/lib/autofs/autofs-ldap-auto-master returns the correct
 information.  However, automounter will not start.

 Mike.




http://www.drakonix.fr