Remote Exploit Forums

Go Back   Remote Exploit Forums > Archives > BackTrack v2.0 Final > Tutorials & Guides


Tutorials & Guides Contributions welcome! Please check the rules & guidelines for posting

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 09-14-2008, 03:11 AM
Junior Member
 
Join Date: Sep 2008
Posts: 13
Default

Quote:
Originally Posted by hippocrates View Post


Now at this point you should really read README_STA, and definitely read iwpriv_usage.txt. These drivers are a bit unusual, in that many of the normal iwconfig commands don’t work, and you need to give iwpriv commands in specific orders in order to get the network to come up properly. You can also use a configuration file if your wireless configuration does not change much. I did not need to change anything in the makefile.

Run the following:



You should see a shiny new ra0 wireless interface listed along with your loopback. Some useful commands:

When I type 'make' I get this:

arch.kimag.es/share/85102260.jpg

Got any ideas?
Reply With Quote
  #22 (permalink)  
Old 09-14-2008, 03:40 PM
Member
 
Join Date: Jun 2008
Posts: 46
Default xorg.conf

hippocrates: Thanks for your guide and efforts


I went ahead and did it the hard way, since I want to keep my sound and LAN drivers working. Everything seemed fine except for the xorg.conf file, I think its either missing
some stuff or its just did not want to work on my eeePC.

For example, after Section "InputDevice"
and before Section "Device", I think that its missing EndSection.


Anyhow, I will post the xorg.conf which I edited using your own version and what was originally there. So this is the result which works fine on mine:



# ************************************************** ********************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# ************************************************** ********************
#
Section "Module"

Load "dbe" # Double buffer extension

SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

Load "type1"
Load "freetype"
Load "glx"
Load "dri"
Load "extmod"
Load "synaptics"

EndSection


Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"

FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"

EndSection

Section "ServerFlags"

Option "AIGLX" "false"
# Option "Xinerama" "true"

EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection


Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
EndSection


Section "InputDevice"

Identifier "Mouse1"
Driver "mouse"
Option "ZAxisMapping" "4 5"
Option "Buttons" "3"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
EndSection


Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1400"
Option "RightEdge" "5900"
Option "TopEdge" "1400"
Option "BottomEdge" "4500"
Option "PalmDetect" "0"
Option "SHMConfig" "true"
Option "SendCoreEvents" "yes"
Option "HorizScrollDelta" "0"
Option "VertScrollDelta" "155"
Option "RBCornerButton" "0"
Option "RTCornerButton" "0"
Option "TapButton2" "0"
Option "MinSpeed" "0.095"
Option "MaxSpeed" "0.38"
Option "VertTwoFingerScroll" "1"
Option "VertEdgeScroll" "0"
Option "HorizEdgeScroll" "0"EndSection
EndSection


Section "Monitor"

Identifier "Monitor0"
Option "DPMS"
VendorName "ASUS"
ModelName "eeePC P901"

EndSection


Section "Monitor"

Identifier "Monitor1"
Option "DPMS"

EndSection


Section "Device"
Identifier "Intel_IEGD-0"
Driver "iegd"
VendorName "Intel(R) DEG"
BoardName "Embedded Graphics"
BusID "0:2:0"
Screen 0
Option "PcfVersion" "1792"
Option "ConfigId" "1"
Option "ALL/1/name" "945GME_1200x600"
Option "ALL/1/General/PortOrder" "40000"
Option "ALL/1/General/DisplayConfig" "1"
Option "ALL/1/General/DisplayDetect" "0"
Option "ALL/1/General/DRI" "1"
Option "ALL/1/Port/4/General/name" "901Screen"
Option "ALL/1/Port/4/General/EdidAvail" "4"
Option "ALL/1/Port/4/General/EdidNotAvail" "4"
Option "ALL/1/Port/4/General/Rotation" "0"
Option "ALL/1/Port/4/General/Edid" "1"
Option "ALL/1/Port/4/FpInfo/BkltMethod" "0"
Option "ALL/1/Port/4/Dtd/1/PixelClock" "48959"
Option "ALL/1/Port/4/Dtd/1/HorzActive" "1024"
Option "ALL/1/Port/4/Dtd/1/HorzSync" "40"
Option "ALL/1/Port/4/Dtd/1/HorzSyncPulse" "144"
Option "ALL/1/Port/4/Dtd/1/HorzBlank" "288"
Option "ALL/1/Port/4/Dtd/1/VertActive" "600"
Option "ALL/1/Port/4/Dtd/1/VertSync" "1"
Option "ALL/1/Port/4/Dtd/1/VertSyncPulse" "4"
Option "ALL/1/Port/4/Dtd/1/VertBlank" "22"
Option "ALL/1/Port/4/Dtd/1/Flags" "0x20000"
Option "ALL/1/Port/4/Dtd/2/PixelClock" "29579"
Option "ALL/1/Port/4/Dtd/2/HorzActive" "800"
Option "ALL/1/Port/4/Dtd/2/HorzSync" "16"
Option "ALL/1/Port/4/Dtd/2/HorzSyncPulse" "96"
Option "ALL/1/Port/4/Dtd/2/HorzBlank" "192"
Option "ALL/1/Port/4/Dtd/2/VertActive" "480"
Option "ALL/1/Port/4/Dtd/2/VertSync" "1"
Option "ALL/1/Port/4/Dtd/2/VertSyncPulse" "4"
Option "ALL/1/Port/4/Dtd/2/VertBlank" "17"
Option "ALL/1/Port/4/Dtd/2/Flags" "0x0"
Option "ALL/1/Port/4/Attr/27" "0"
Option "ALL/1/Port/4/Attr/26" "18"
Option "PortDrivers" "lvds"
EndSection


# Secondary (for dual-head only) display
Section "Device"
Identifier "Intel_IEGD-1"
Driver "iegd"
VendorName "Intel(R) DEG"
BoardName "Embedded Graphics"
BusID "0:2:0"
Screen 1
Option "PcfVersion" "1792"
Option "ConfigId" "1"
Option "ALL/1/name" "945GME_1200x600"
Option "ALL/1/General/PortOrder" "45000"
Option "ALL/1/General/DisplayConfig" "8"
Option "ALL/1/General/DisplayDetect" "1"
Option "ALL/1/General/DRI" "1"
EndSection


Section "Screen"
Identifier "Screen0"
Device "Intel_IEGD-0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x600" "800x600"
ViewPort 0 0
# Virtual 1600 1200
EndSubsection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Intel_IEGD-1"
Monitor "Monitor1"
SubSection "Display"
EndSubSection
EndSection


Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Synaptics Touchpad"
EndSection
Reply With Quote
  #23 (permalink)  
Old 09-14-2008, 03:42 PM
Member
 
Join Date: Jun 2008
Posts: 46
Default Desktop icons

For the Desktop icons, I changed their size to be a bit smaller, it looks much nicer, and its very simple to do:
Go to K --> System --> Settings --> Control Center --> Appearance & Themes --> Icons --> Advanced tab --> I put mine on 32

Last edited by BTuser3; 09-14-2008 at 03:45 PM.
Reply With Quote
  #24 (permalink)  
Old 09-15-2008, 08:22 AM
Junior Member
 
Join Date: Sep 2008
Location: Reading, UK
Posts: 19
Default

Hi there,

I have been trying repeatedly to get this working over the weekend. I am new to alot of this so my knowledge of this subject isnt to great at this time.

I really feel at a lost end now though. I believe I have tried everything to get it to work...

I am trying to get the SD card to boot live, just like if you stuck a BT3 CD into your pc and booted from it...

Heres what I've done so far...

From the top:

1 - I downloaded the BT3 Final USB ISO

2 - Extracted the 2 folders (boot and BT3)

3 - Added the 901_net_gfx.lzm to BT3/optional

4* - Added 'load=901_net_gfx' to the syslinux.cfg in boot/syslinux (I added it to the end of the APPEND line of the section labelled 'STARTX' - is this right?)

5 - Followed this tut on how to make the SD card bootable:

---> http://www.youtube.com/watch?v=6-ebwvv2VkY

6. With the eeepc 901 off, I insert the card and switch it on. I tap esc until the little boot menu appears and select the card.

7. It appears to boot normally - I get the splash screen where its says press tab with a 3 second countdown etc...

8. It autoboots after 3 seconds, then it does the 'loading /boot/vmware' bit with all the white dots.

9. It then immediatly says (under the first loading text above) ''you passed an undefined mode number press return to see video modes or wait 30 secs...''

10. I wait 30 seconds and it continues to load everything.

11. Then it says 'welcome to backtrack 3 final' - ''the system is up and running now'

12. I log in with root / toor and it just gives me the 'bt ~#' bash prompt.

13. I type 'startx' (without the speech marks) and the screen goes black briefly.

14. Then I am presented with a screen full of text. The important stuff being:

''(==) Using config file: "/etc/X11/xorg.comf"
(WW) intel: No matching device section for instance (busID PCI:0:2:1) found
(II) Module already built in
(II) Module already built in
(II) Module already built in
(EE) GARTinit: Unable to open /dev/agpgart (No such file or directory)
(EE) intel(0): Couldnt allocate video memory

Fatal server error:
AddScreen/Screeninit failed for driver 0

giving up
xinit: connection reset by peer (errno 104): unable to connect to X server
xinit: No such process (errno3): server error''

This is as far as I can get. Its really annoying me as I feel so close but yet so far...

If someone could be amazing enough to point me in the right direction or tell me what it is that I'm doing wrong I would be most pleased.

note: I did run airodump-ng from the bash prompt and that seemed to work but the SSIDs were cut off the screen though.

* - I am a little confused about step 4. I have read the tutorials you suggest but I cant link that info to what I'm trying to acheive.

Hippocrates, you suggested to another user:

APPEND vga=785 initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw load=901_net_gfx

I have tried this exactly as you typed it in my syslinux.cfg with no joy.

I dont understand what 'vga=0x317' means either and why you change it in your given text to 'vga=785'

I feel I am so close now. Any help will be very greatfully received.

Thanks in advance,

Ben.
__________________
Its just a hobby that I picked up in the lobby...

Last edited by FarmerB; 09-15-2008 at 08:33 AM.
Reply With Quote
  #25 (permalink)  
Old 09-16-2008, 06:05 AM
Junior Member
 
Join Date: Sep 2008
Location: Reading, UK
Posts: 19
Default

I got this video on Youtube...

http://www.youtube.com/watch?v=r2RFoseeQ-8

It dosent include any extra modules or anything complicated but you can get the basics working enough to pentest wep and wpa networks!

Sweet.
__________________
Its just a hobby that I picked up in the lobby...
Reply With Quote
  #26 (permalink)  
Old 09-18-2008, 04:56 PM
dynamix's Avatar
Junior Member
 
Join Date: Feb 2008
Posts: 8
Default

hippocrates, thank you for your guide.

i am stuck installing the IEGD drivers. I made an installation package for it (i didn't specify DTD as i assume this was part of the config) but don't know how to install it from there?

your help is much appreciated
__________________

Reply With Quote
  #27 (permalink)  
Old 09-20-2008, 04:54 PM
Junior Member
 
Join Date: Jul 2008
Posts: 26
Default

@FarmerB

Hi there - sorry, been absent from the forums for a while. Check out post #16 in this thread for an example of the line in syslinux.cfg you need to use. I also recommend reading Vladsmail's tutorials on BT3 modularity - it explains how to use modules in general in great detail...

You can't get injection working with the 901's internal card yet as far as I know, but I purchased an Alfa USB wireless card and everything works fine with that.
Reply With Quote
  #28 (permalink)  
Old 09-20-2008, 04:57 PM
Junior Member
 
Join Date: Jul 2008
Posts: 26
Default

@BT3User

Thanks for the tip on the desktop icons. I'm glad you managed to get things working the hard way - there may well be a copy / paste error in the xorg.conf, and I'll check it out when I get a chance. Installing the graphics drivers was a real pain, and I'm still waiting for Intel to put out a version where DRI actually works...
Reply With Quote
  #29 (permalink)  
Old 09-20-2008, 05:01 PM
Junior Member
 
Join Date: Jul 2008
Posts: 26
Default

@FarmerB

The errors you are getting indicate that first you don't have the right VGA mode specified in your syslinux.cfg file, and the agpgart bit means you don't have the graphics drivers installed, which probably means you are not loading my module correctly.

When BT3 is booting you should see the various standard modules being loaded, and then at the end you should see my custom module there too. If you don't see that then it is not picking it up somehow. I know the module works since I have used it on several clean installs, as have other people, so it's just a matter of getting the boot process right... I'll post my current syslinux config when I get the chance.
Reply With Quote
  #30 (permalink)  
Old 09-30-2008, 07:14 PM
Junior Member
 
Join Date: Apr 2006
Posts: 22
Default

Hi,

I followed your guide and I see the interface, and I can set it into monitor mode, both by using airmon-ng and manually "iwconfig ra0 mode monitor" but airodump-ng doesn't seem to want to capture any packets or even see any of the interfaces. I've read on the internet that the drivers are a little flaky, is it true or could I possibly be doing smth wrong?
Reply With Quote
Reply

Bookmarks

Tags
901, 945gme, driver, eee

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2