miércoles, 29 de mayo de 2013

instalando DEBIAN GNU/HURD (25-mayo-2013 al 30-mayo-2013 )


recivi mucha ayuda (en ingles) de los canales:

#hurd en el  servidor freenode
#debian-hurd en el servidor OFTC  (el oficial de debian)

ESPECIALMETE GRACIAS A:
(SPECIAL TANKS TO:)
#freenode
 youpi  ,  elmig, braunr , pinotree, Tekk,

#debian-hurd
azeem , pinotree , gnu_srs


descargalo de aki:


http://people.debian.org/~sthibault/hurd-i386/installer/cdimage/


yo me descargue el DVD con un poeso de 1.4 GB
para evitarme problemas

lo instale en MODO TEXTO, por que no me funciono :
la instalacion grafica, tampoco
la instalacion Pseudo-graphic

la instalacion la
hice en QEMU +KVM , con la interfas grafica AQEMU


en la parte final de la instalacion
cuando estas en la estapa  "seleccion e instalacion de paquetes"

kitale la seleccion  a todo (systema base, VNC ,escritorio, etc)
eso es para que pueda continuar,  al parecer es un BUG,
por que si seleccionas alguno no continua

terminando la instalacion
iniciando secion

alex@debian:/home/alex $

cambia a root
su
<contraseña> enter

root@debian:#

al tratar de instalar xorg de daba un error

# aptitude install xorg
 dpkg :warnig; 'idconfig' not found  in PATH or not executable
 ...
......
.....

en  #hurd freenode

<AlexLikeRock>  i instal finished GNU (/hurd)
<AlexLikeRock> but  when i install  "aptitude install xorg"
<AlexLikeRock> they say ....
<AlexLikeRock> dpkg :warnig; 'idconfig' not found  in PATH or not executable
<AlexLikeRock> what its that ?
<pinotree> http://darnassus.sceen.net/~hurd-web/faq/sudo/

en #debian-hurd OFTC

<azeem> right, that is a problem, as su by default does not add /sbin to the Path
<azeem> you need to run "su -"
<AlexLikeRock> excuseme ; whats its "-"
<AlexLikeRock> ?
<azeem> a dash
<AlexLikeRock> of course, but , what its the function ?
<azeem> http://en.wikipedia.org/wiki/Su_%28Unix%29#Usage
<azeem> see the third exapmle
<azeem> example*
<AlexLikeRock> ok,
<azeem> also see su --help
<azeem>   -, -l, --login               make the shell a login shell



su -
apt-get install xorg
apt-get install twm
startx

error:

cannot open keyboard (no such file or directory)

el error no es que tenga mal el teclado , el problema es que no esta activada la consola de HURD, cuando se instala el sistema en "modo texto" se queda la consola en MACH,


--------ESTO NO ES NESESARIO------
----- este dato es solo nota personal,  -----

<AlexLikeRock>  please  helme to configure keyboard
<AlexLikeRock>  /usr/share/X11/xorg.conf.d
<AlexLikeRock>  /usr/share/X11/xorg.conf.d/10-kbd.conf
<AlexLikeRock> hurd detect the keyboard :-(
<elmig> AlexLikeRock: example from xorg.conf
<elmig> http://paste.debian.net/7702/
<elmig> man kbd is also useful

-----
Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver  "kbd"
 Option  "CoreKeyboard"
 Option  "XkbRules" "xorg"
 Option  "XkbModel" "pc105"
 Option  "XkbLayout" "us"
EndSection
 
 ------

 
 
 ----
motivo del error
 
 
<AlexLikeRock> startx twm ---->   " cannot open keyboard (no such file or directoriy)" 
<AlexLikeRock> elmig,  :-(
* Tekk_ (~user@cpe-071-077-203-175.ec.res.rr.com) has left #hurd ("ERC Version 5.3 (IRC client for Emacs)")
<AlexLikeRock> :'''''(
<AlexLikeRock> i goit go
<youpi> AlexLikeRock:  do you have the console started?
<AlexLikeRock> yes
<youpi> (see http://www.debian.org/ports/hurd/hurd-install)
<AlexLikeRock> im in 
<youpi> you mean you eventually got it working?
<AlexLikeRock> no, its my fist time on debian GNU-HURD
<AlexLikeRock> i can lohin
<AlexLikeRock>  but non startx  :-(
<youpi> but is it the hurd console, not the mach console?
<youpi> what does echo $TERM say?
<AlexLikeRock> im confuse (mach, hurd)
<youpi> what does echo $TERM say?
<AlexLikeRock> root@debian : 
<AlexLikeRock> root@debian : # 
<youpi> please type
<youpi> echo $TERM
<youpi> and paste everything that appeared
<AlexLikeRock> say:
<AlexLikeRock> mach-gnu-color
<AlexLikeRock> .
<youpi> so you're not actually running the hurd console
<youpi> that's why X can't open the keyboard
<AlexLikeRock> O.O
<youpi> did you install in textmode, or in pseudo-graphical mode?
<AlexLikeRock> texmode
<youpi> why didn't you use pseudo-grpahical mode?
<AlexLikeRock> pseudo-graphical mode  and graphic mode  they are  stock!
<youpi> "stock"?
<AlexLikeRock> translating...
<elmig> default ?
<AlexLikeRock> stuck  
<AlexLikeRock> stuck on "selecction and instalation of packages"
<youpi> stuck how? where?
<youpi> ok
<AlexLikeRock> then, i choice texmode
<youpi> but the pseudo-graphical screen was showing up right?
<youpi> then you can enable the hurd console in /etc/default/hurd-console
<youpi> by changing ENABLE to true
<youpi> and rebooting
<youpi> (easiest way) 
 AlexLikeRock> cool...
 
------     -------
 
 
 

editar el archivo /etc/default/hurd-console

nano /etc/default/hurd-console


en los primeros  renglones donde dice
enable the hurd console
 cambiar :
ENABLE a true

guardar y reiniciar

inicia como root

su

despues solo

startx
o

startx twm

solo keda hacer que los usuarios comunes entren sin problemas a X.org

reconfiguramos las X

su
su -

dpkg-reconfigure x11-common

y en "allowanybody"  (permitir a todos)

sales  a usuario normal exit y le das startx




Funcionando !!!! con interfas grafica !!!

trabajo finalizado   exitoso



dato extra , para poder salir de las X

# Exiting X when xinit cannot shut down X (as user):
Section "InputDevice"
  Identifier "Generic Keyboard"
  Driver "kbd"
  Option "XkbRules"   "xorg"
#  Option "XkbModel"    "pc105"
  Option "XkbLayout"  "se"
  Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
 
 
 
 ****************************
instalar AUDIO:
 
gracias al usuario 
 
rmh@gnu.org 


Hi,



I managed to play some sound on GNU/Hurd using patched Rump and a modified mplayer. For

those interested:



1. Setup APT repository (https://people.debian.org/~rmh/rump/apt/00README)



2. If using kvm, add "-soundhw ac97". With real hardware ICH/AC97 and Intel HD audio are supported.



3. Install mplayer from the repository and run with: mplayer -ao sun soundfile.ogg



Enjoy 


*************************************
 
 

jueves, 23 de mayo de 2013

[solucionado] mupet64plus no detecta el control (mando)

bueno mi problema era el siguiente

desde terminal:
mupen64plus '/home/usuario/games/n64/Diddy Kong Racing.v64'
 ...
.....


Input: N64 Controller #1: Using stored config for SDL joystick 0 ('PC Game Controller       ')
Input: No auto-configuration found for device 'ZEROPLUS PS(R) Gamepad Adaptor'
Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input Warning: No rumble supported on N64 joystick #1


traduccion:
Input: N64 Controller #1: Using stored config for SDL joystick 0 ('PC Game Controller       ')








encontro una PRE-configuracion para ese control

Input: No auto-configuration found for device 'ZEROPLUS PS(R) Gamepad Adaptor'






NO ENCONTRO alguna PRE-configuracion para  ese dispositivo,
en otras palabras mete la configuracion "a mano"


Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input Warning: No rumble supported on N64 joystick #1





aqui te resume diciéndote que de los 2 controles conectados solo funcionara uno y que NO va a funcionar el vibrador  (maldicion  ¬.¬   )


-------------


preparativos

identifica el numero de dispositivo, conayuda de algun calibrador de controles
por ejmplo jstest-gtk o el del panel de control de KDE (dispositivos / joystick)

el primer control aparece como /dev/input/js0
en mi caso el control problematico es el segundo (ZEROPLUS PS(R) Gamepad Adaptor) y aparece como
"/dev/input/js1"
(device = 1)


SOLUCION:
NOTA, es recomendable hacer una copia de respaldo antes 
cp /usr/share/games/mupen64plus/InputAutoCfg.ini /usr/share/games/mupen64plus/InputAutoCfg.ini-copia

edita el archivo  InputAutoCfg.ini que se encuentra en el folder
/usr/share/games/mupen64plus/

nano /usr/share/games/mupen64plus/InputAutoCfg.ini

 agrega

hasta el fondo del archivo

[EL NOMBRE DE MI CONTROL]
device = X
plugged = True
plugin = 2
mouse = False
AnalogDeadzone = 4096,4096
AnalogPeak = 32768,32768
DPad R = hat(0 Right)
DPad L = hat(0 Left)
DPad D = hat(0 Down)
DPad U = hat(0 Up)
Start = button(9)
Z Trig = button(7)
B Button = button(0)
A Button = button(2)
C Button R = axis(3+)
C Button L = axis(3-)
C Button D = axis(2+)
C Button U = axis(2-)
R Trig = button(6)
L Trig = button(4)
Mempak switch =
Rumblepak switch =
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)
 
 
 y pones los datos correspondientes en

[EL NOMBRE DE MI CONTROL]    <---- eso lo muestra durante el error entre comillas
device = X      <----------------- la equis la sustituyes por el numero de tu dispositivo
 
en mi caso es: 

[ZEROPLUS PS(R) Gamepad Adaptor]
device = 1

entonces me quedo asi

[ZEROPLUS PS(R) Gamepad Adaptor]
device = 1
plugged = True
plugin = 2
mouse = False
AnalogDeadzone = 4096,4096
AnalogPeak = 32768,32768
DPad R = hat(0 Right)
DPad L = hat(0 Left)
DPad D = hat(0 Down)
DPad U = hat(0 Up)
Start = button(9)
Z Trig = button(7)
B Button = button(0)
A Button = button(2)
C Button R = axis(3+)
C Button L = axis(3-)
C Button D = axis(2+)
C Button U = axis(2-)
R Trig = button(6)
L Trig = button(4)
Mempak switch =
Rumblepak switch =
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)
 
fuente:
http://code.google.com/p/mupen64plus/wiki/ControllerSetup
 
en caso de continuar con los problemas esta hay
 varios programas q emulan el teclado con el jostick
como:
  1. joy2key
  2. http://qjoypad.sourceforge.net/
  3. .... tengo sueño -.-
    saludos 
 
 
 
 

viernes, 17 de mayo de 2013

instalar las llaves multimedia

el error

Fetched 198 B in 5s (34 B/s)
Reading package lists... Done
W: GPG error: http://www.deb-multimedia.org testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907



la solucion

paso 1

# apt-get install debian-keyring

paso 2

# gpg --keyring /usr/share/keyrings/debian-keyring.gpg -a --export 07DC563D1F41B907 |apt-key add -


NOTA:
los numeros  raros  07DC563D1F41B907, los tome de el error que me salio  arriba



si tu problema no se  resuelve,
intenta :

1) apt-get install debian-archive-keyring

2) apt-get install deb-multimedia-keyring



jueves, 16 de mayo de 2013

error al pasar de debian oldstable squeeze a estable wheezy


error al tratar de hacer upgrade de oldstable a estable
les
saldra algo como esto


# apt-get update
Get:1 http://ftp.ch.debian.org lenny Release.gpg [386B]
Hit http://ftp.ch.debian.org lenny Release
Ign http://ftp.ch.debian.org lenny/main Packages/DiffIndex
Ign http://ftp.ch.debian.org lenny/main Sources/DiffIndex
Hit http://ftp.ch.debian.org lenny/main Packages
Hit http://ftp.ch.debian.org lenny/main Sources
Hit ftp://ftp.de.debian.org lenny Release.gpg
Get:2 http://security.debian.org lenny/updates Release.gpg [189B]
Get:3 ftp://ftp.de.debian.org lenny Release [63.2kB]
Hit http://security.debian.org lenny/updates Release
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Get:4 ftp://ftp.de.debian.org lenny/main Packages/DiffIndex
Ign ftp://ftp.de.debian.org lenny/main Packages/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Get:5 ftp://ftp.de.debian.org lenny/contrib Packages/DiffIndex
Ign ftp://ftp.de.debian.org lenny/contrib Packages/DiffIndex
Get:6 ftp://ftp.de.debian.org lenny/non-free Packages/DiffIndex
Hit http://security.debian.org lenny/updates/contrib Packages
Ign ftp://ftp.de.debian.org lenny/non-free Packages/DiffIndex
Hit ftp://ftp.de.debian.org lenny/main Packages
Hit ftp://ftp.de.debian.org lenny/contrib Packages
Hit ftp://ftp.de.debian.org lenny/non-free Packages
Hit http://security.debian.org lenny/updates/non-free Packages
Fetched 63.2kB in 1s (40.2kB/s)
Reading package lists... Done
W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: You may want to run apt-get update to correct these problems





solucion

# gpg --export  4D270D06F42584E6 | apt-key add

# apt-key update



fuente:

http://www.linuxquestions.org/questions/debian-26/there-is-no-public-key-available-for-the-following-key-id-705108/

Donarme :->

Donar a AlexLikeRock
muchas gracias por tu ayuda :->

2022

stand by ... PD: "Viva México!"