?>/script>'; } ?> hey guys, i need some help Widgets Magazine

Autor Tema: hey guys, i need some help  (Leído 5064 veces)

0 Usuarios y 1 Visitante están viendo este tema.

jagiro

  • Visitante
hey guys, i need some help
« en: 26-10-2015, 21:59 (Lunes) »
Hey, first of all , i have to say i admire you guys for makin amezing linux distro WifiSlax. Even tough it is in spanish, i enjoy it so much!

i come from backtrack enviroment, i am having hard time with few things. i got mostly everything running, even the scripts in Spanish are really clean! and as a foregner i can find my way .

okay. so here is my question

i installed WifiSlax on the HDD

i did all the updates, distro-upgrades . but i cant figure out how to install Nvidia driver.

i am running on Nvidia GTX 460m

i downloaded some nvidia "modul" from http://www.downloadwireless.net/?dir=modulos/wifislax-4-11-1

i am not exeactly sure what its supposed to do, but i guessed its some kind of driver. i menaged to install it with autoinstall and then by terminal nvidia configure which created the xcorg.conf file

after restarting teh x server. it wouldnt start

so i deleted this conf file and no it works

but i need some instructions on how to install it

thanks

trax69

  • Visitante
Re: hey guys, i need some help
« Respuesta #1 en: 26-10-2015, 22:10 (Lunes) »
create a new file in desktop, copy and paste this code, and save

Código: [Seleccionar]
#!/bin/sh

# Script by www.seguridadwireless.net

SCRIPT_VERSION=20151025

############################################################
## Funciones comunes. Su nombre empieza por f_ ##
############################################################
f_variables(){
. /opt/wifislax-updaters/Funciones/funciones_updater
}

############################################################
## Funciones propias del script. Su nombre empieza por F_ ##
############################################################
# Definicion de variables
F_variables() {
PRGNAM=nvidia
echo -ne "\033]2;${PRGNAM}_updater\007"
WEB=http://www.nvidia.com/object/unix.html
VERSION=`echo $(curl -s $WEB|grep Short|head -n1|cut -d ">" -f2|cut -d "<" -f1)`
EXTENSION=run
SOURCES=$PRGNAM-$VERSION.$EXTENSION
D1=http://es.download.nvidia.com/XFree86/Linux-x86/$VERSION/NVIDIA-Linux-x86-$VERSION.run
D2=http://download.nvidia.com/XFree86/nvidia-installer/nvidia-installer-$VERSION.tar.bz2
D3=http://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-$VERSION.tar.bz2
D4=http://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-$VERSION.tar.bz2
D5=http://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-$VERSION.tar.bz2
D6=http://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-$VERSION.tar.bz2
D7=http://slackbuilds.org/slackbuilds/14.1/system/nvidia-driver.tar.gz
D8=http://slackbuilds.org/slackbuilds/14.1/system/nvidia-kernel.tar.gz
}

##### Funcion para descargar todo #####
F_download(){
aria2c -x8 -Z $D1 $D2 $D3 $D4 $D5 $D6 $D7 $D8
sleep 1
}
F_compilar(){
# Descomprimimos los scripts para compilar kernel y driver
tar xvf nvidia-kernel.tar.gz
tar xvf nvidia-driver.tar.gz
sleep 1
# Damos permisos a los scripts
chmod +x nvidia-kernel/nvidia-kernel.SlackBuild
chmod +x nvidia-driver/nvidia-driver.SlackBuild
# Parcheamos lo necesario para que funcione todo
sed -i "s/352.41/$VERSION/g" nvidia-kernel/nvidia-kernel.SlackBuild
sed -i "s/352.41/$VERSION/g" nvidia-driver/nvidia-driver.SlackBuild
sed -i 's/libEGL.so.$VERSION/libEGL.so.1/g' nvidia-driver/nvidia-driver.SlackBuild
mkdir -p package-nvidia/usr/share/nvidia
sed -i '79acp -Rf ./kernel /tmp/build/nvidia/package-nvidia/usr/share/nvidia' nvidia-kernel/nvidia-kernel.SlackBuild
cp -f ./nvidia-driver/* ./
# Empezamos compilando el kernel
echo
echo "$VERDE"Compilando kernel nvidia ..."$CIERRE"
sleep 1
sh ./nvidia-kernel/nvidia-kernel.SlackBuild
# Ahora compilamos el driver
echo
echo "$VERDE"Compilando drivers nvidia ..."$CIERRE"
sleep 1
sh ./nvidia-driver/nvidia-driver.SlackBuild
# Limpiamos los archivos temporales durante la compilacion
#rm -f nvidia*
rm -f /tmp/nvidia*.tgz
# Copiamos todo para hacer el modulo
cp -Rf /tmp/SBo/package-nvidia-kernel/* package-nvidia
cp -Rf /tmp/SBo/package-nvidia-driver/* package-nvidia
rm -rf /tmp/SBo
}

###################################
## BLOQUE PRINCIPAL DE EJECUCION ##
###################################
# Si se cierra el script inesperadamente, ejecutar la funcion de limpieza
trap f_exitmode SIGHUP SIGINT

#Inicializamos las variables globales
f_variables
#Comprobamos conexion a Internet
f_comprobarConexion
#Inicializamos las variables del script
F_variables
#Creamos directorio de trabajo
f_directorioTemporal
#Mostramos el mensaje de presentacion
f_presentacion
#Comprobamos updates del script
f_comprobarUpdates
#Asignamos o detectamos arquitectura
f_arquitectura
#Comprobamos version instalada del paquete
f_versionInstalada
#Descargamos los sources
F_download
#Descomprimir fichero descargado y compilamos
F_compilar
#Hacemos strip sobre el paquete
f_strip
#Creamos xzm , instalamos y salimos
f_tareasFinales

Open u terminal and run ./name_of_file
or
click right on file and click "Ejecutar en Konsole"

This script is update for Nvidia

When it ends click right on module .XZM from the desktop and click on "Autoinstalar modulo xzm [Wifislax en HDD]

« Última modificación: 26-10-2015, 22:12 (Lunes) por trax69 »

jagiro

  • Visitante
Re: hey guys, i need some help
« Respuesta #2 en: 27-10-2015, 10:58 (Martes) »
hey thank a lot!

it worked!

i did the same thing on my other laptop which uses and AMD card with the ATI driver from the same site. but after reboot the X server is not comming up. not even after i delete the xorg.conf server

trax69

  • Visitante
Re: hey guys, i need some help
« Respuesta #3 en: 27-10-2015, 11:26 (Martes) »
I'm working for other script for ATI...

jagiro

  • Visitante
Re: hey guys, i need some help
« Respuesta #4 en: 27-10-2015, 16:12 (Martes) »
amezing i will keep a watch for your script.

do you have any solution how to get my screen back on with the other laptop, with ati card.its an AMD E450 Radeon 6320


what usualy works in backtrack is apt-get --purge the ati and fglrx driver


trax69

  • Visitante
Re: hey guys, i need some help
« Respuesta #5 en: 27-10-2015, 16:22 (Martes) »
While you wait the script  you can use this module:
https://foro.seguridadwireless.net/live-wifislax/modulos-para-wifislax-4-11/msg332838/#msg332838

For  AMD ATI
« Última modificación: 27-10-2015, 16:23 (Martes) por trax69 »

jagiro

  • Visitante
Re: hey guys, i need some help
« Respuesta #6 en: 27-10-2015, 16:40 (Martes) »
hey there,  i allready have that one in /Downloads

the thing is , my x server is not comming up.  i am stuck with black screen

i am really not sure how to remove the ati driver i installed

right now i am at ctrl alt F2 terminal , trying to remove the instaled one with removepkg and the name.xzm

i think i am doing this all wrong
edit#1

okay i figured out if i use commnd pkgtool i can select installed package. hoop this works . will keep you update

edit#2

okay after the reboot screen was stuck at starting Desktop command (litle bit diffirnt then last time)

i cd to /etc/X11/

and removed xorg.conf (again)

rebooted , my desktop is back but each time it starts up, i can see the mouse and status "iniciando wifislax" it would stop there and throw me back at welcome to wifislax. login please
with each login, it throws me back to the login screen
« Última modificación: 27-10-2015, 16:51 (Martes) por jagiro »

jagiro

  • Visitante
Re: hey guys, i need some help
« Respuesta #7 en: 27-10-2015, 19:31 (Martes) »
okay i resolved the problem

for anyone having same issiue, in short follow what i did in my last post

after all you have to reinstall the mesa driver. cause it gets broken when you install ati

so do: slapt-get -i --reinstall mesa

y

reboot

wel i stll need to nistall ati driver for AMD E450 Radeon 6320

so i anyone have tips please guide me