Hello everybody,
I just got my new Asus ROG G55VW-S1025D and installed BackTrack 5 R3 x64 as the only OS (I will use the laptop mainly for pen-testing and other sysadmin stuff) ... The laptop specs are as follows :
From the ground up there are some issues that I encountered (Remember ...this is a clean install with the updates available on 27.11.2012):Code:G55VW-S1025D Display: 15.6" 1920x1080 60Hz Matte Intel Core i7-3610QM (2.30GHz, 1600MHz, 6MB), Video nVidia GeForce GTX660M 2GB GDDR5, RAM 8GB DDR3 1600MHz (2x4GB, 2 sloturi libere), HDD 750GB 7.200rpm, SuperMulti DL DVD+/-RW, Card Reader 3-1 (SD/MMC/MS), Speakers Sonic Master, HD webcam, LAN 10/100/1000, WLAN b/g/n, no Modem, Bluetooth 4.0, no Finger Print Reader, Ports: 4xUSB3.0/1xHDMI/1xRJ45/1xVGA/1xMic/1xHeadphone/1xmini Display Port
*** Everything will be done as root or you can add "sudo" in front of every command line except the commented ones (between /*...*/)***
1. Update Backtrack
2. nVidia Driver Instalation ():Code:/* Update Backtrack*/ apt-get update apt-get upgrade apt-get dist-upgrade
The first thing you have to to is to logout or close the Xorg server and then:
And just follow the instructions on screen to finish the installation...then just reboot and everything will work !Code:wget uk.download.nvidia.com/XFree86/Linux-x86_64/310.19/NVIDIA-Linux-x86_64-310.19.run /* Download the nVidia GTX660M driver(or go to the nVidia website and download the driver you need or a newer version of the driver)*/ chmod +X NVIDIA-Linux-x86_64-310.19.run /* Make the installation file executable*/ ./NVIDIA-Linux-x86_64-310.19.run /* Start the installation*/
3. Wireless NIC (Network Internet Controller)
As you probably already noticed you can't find anywhere (in the online specs) the model/version/producer of the wireless controller and at the first boot after installation if you run "ifconfig" or "iwconfig" you wont find any wireless adapter! Only in "lspci" it is shown as "Network controller: Intel Corporation Device 0887 (rev c4)" !! To work around this issue you have to do as follows:
After the Reboot open a console and run "ifconfig" or "iwconfig" and your Wireless NIC should appear on the list (notice the wlan0 ? that is my network controller wifi interface )Code:wget http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.6/compat-wireless-3.6.8-1.tar.bz2 /*Download the latest Compat Drivers*/ bunzip2 compat-wireless-3.6.8-1.tar.bz2 && tar xvf compat-wireless-3.6.8-1.tar /*Extract the files*/ cd compat-wireless-3.6.8-1 && make && make install /*Install the drivers*/ wget http://distfiles.exherbo.org/distfiles/iwlwifi-2030-ucode-18.168.6.1.tgz /* Download iwlwifi-2030-ucode-18.168.6.1.tgz */ tar xvf iwlwifi-2030-ucode-18.168.6.1.tgz /* Extract the files from the archive */ cd iwlwifi-2030-ucode-18.168.6.1 /* Go to the folder */ mv * /lib/firmware/ /* Move all the files into /lib/firmware */ reboot
Sample Output :
Next you will have to open Wicd Network Manager (default in Backtrack) go to Preferences and at the Wireless Interface ad "wlan0" (or what other interface you have) !! Reboot and now your wifi should work !!Code:wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Now ... the Aircrack tools "work" after this but at first glance:
- there is no channel hopping ... the channel is fixed on channel 1 even if you specify --cswitch (I will have to investigate further but i don`t have the time now)
- didn't test to see if injection and everything else works But I will asap !
4. Illuminated Keyboard and other Fn+Fx keys To make it work Do this:
Code:git clone git://git.iksaif.net/acpi4asus-dkms.git cd acpi4asus-dkms make make install rebootthen :Get the archive at http://ubuntuforums.org/showthread.p...6#post12054636 (ubuntu forums account + minimum of 50 posts required) or http://markmail.org/message/idvl6s27r26xzorb (no account required)
Note: there is perhaps more suitable place to get the asus-wmi kernel module sources, the patch and the dkms conf file
extract the archive, and then extract the .deb and get the sources inside (asus-wmi.c is already patched with above patch):
replace 3.4.6-1-ARCH by your output for uname -rCode:# cp -a usr/src/asus-wmi-0.2 /usr/src/ # cd /usr/src/ # dkms add -m asus-wmi -v 0.2 # dkms built -m asus-wmi -v 0.2 -k 3.4.6-1-ARCH # dkms status # dkms install -m asus-wmi -v 0.2 -k 3.4.6-1-ARCH # dkms status
Actually all you have to do is to install acpi4asus-master ... if it doesn't work take the steps above !Code:cp patch.patch /usr/src/linux/ cd /usr/src/linux/ patch -p1 < patch.patch reboot
keyboard backlight script
In the same style that for screen backlight. As root, create the file /usr/local/share/kbd_backlight:
Allow file to be executed :Code:#!/bin/bash path="/sys/class/leds/asus::kbd_backlight" #path="/sys/class/leds/asus\:\:kbd_backlight" # max should be 3 max=$(cat ${path}/max_brightness) # step: represent the difference between previous and next brightness step=1 previous=$(cat ${path}/brightness) function commit { if [[ $1 = [0-9]* ]] then if [[ $1 -gt $max ]] then next=$max elif [[ $1 -lt 0 ]] then next=0 else next=$1 fi echo $next >> ${path}/brightness exit 0 else exit 1 fi } case "$1" in up) commit $(($previous + $step)) ;; down) commit $(($previous - $step)) ;; max) commit $max ;; on) $0 max ;; off) commit 0 ;; show) echo $previous ;; night) commit 1 ;; allowusers) # Allow members of users group to change brightness sudo chgrp users ${path}/brightness sudo chmod g+w ${path}/brightness ;; disallowusers) # Allow members of users group to change brightness sudo chgrp root ${path}/brightness sudo chmod g-w ${path}/brightness ;; *) commit $1 esac exit 0
Allow users to change brightness at each boot :Code:# chmod +x /usr/local/share/kbd_backlight
Adding to .zshrc or .bashrc :Code:# echo "/bin/bash /usr/local/share/kbd_backlight allowusers" >> /etc/rc.local
allows to easy toggle backlight in terminal :Code:alias -g "kbd_backlight"="/bin/bash /usr/local/share/kbd_backlight"
5. Sound volume is low and adjusting the volume doesn't work + trying to access Sound Preferences hangs at "waiting for audio server" (or something like that) .Code:$ kbd_backlight up $ kbd_backlight down $ kbd_backlight max $ kbd_backlight off $ kbd_backlight night $ kbd_backlight 2 $ kbd_backlight show
This can be solved by installing the ALSA Pulse plugin, the PulseAudio daemons and the PulseAudio tools.
(as root)
Next go to Sound Preferences/Hardware/ , select Internal Audio and at the Profiles tab select Analog Stereo Duplex !Code:apt-get install libasound2-plugins "pulseaudio-*" paman padevchooser paprefs pavucontrol pavumeter
Next go to Output, select Internal Audio Analog Stereo and down at Connector select Analog Speakers and close the window !
Go to System/Preferences/Startup Applications/Add and add this command "/usr/bin/pulseaudio"
If the microphone from the laptop doesn't work go to Sound Preferences/Hardware/ , select Input and at Connector select Microphone 2 and close the window!
I`ll get back on this thread asap and as i discover other problems/solutions I will post them here !
Any questions are welcome and please don`t be a troll !!


