Connecting Backtrack to the internet

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4953

bigoxygen

18-08-2008 06:38:00

I am trying to connect to the internet using Backtrack 3. My wireless adapter (WMP54G Linksys, Ralink chipset) is detected, but I cannot find any APs nearby. I used KWiFiManager, but I cannot find any wireless routers. I tried it with Ubuntu, and can successfully connect to my router.

iwconfig (sorry I cannot copy all the output because I can't save anything to my USB drive on Backtrack)

lo no wireless

wlan0 RT61

eth0 no wireless
eth1 no wireless

Spy84464

18-08-2008 21:47:59

Hello,
Which version of the driver are you using? Please post the output of "lsmod | grep rt" as well.

Regards,
Romain

bigoxygen

19-08-2008 00:04:18

lsmod |grep rt

agpgart 31304 0
parport_pc 27940 1
parport 34888 2 lp,parport_pc
rt61 211460 0


I am not sure how to find the version of the driver

bigoxygen

19-08-2008 00:04:49

iwlist wlan0 scan

wlan0 Failed to read scan data Device or resource busy

Spy84464

19-08-2008 17:46:09

How did you install the driver? Using the latest CVS tarball?
Does "ifconfig wlan0 up" work?

bigoxygen

19-08-2008 22:51:54

I have tried
ifconfig wlan0 up

I am not sure if it worked or not. There is no error or message when I run the command.

I am trying to install the driver RT2501PCI/mPCI/CB(RT61RT2561/RT2561S/RT2661)
but I think I need some help

I tried typing 'make' at the cmd line but I get an error. Is there a guide that can show me how to do this.

Thank you very much
Matthew

bigoxygen

19-08-2008 23:09:54

I have followed the instruction but I get many undefined reference errors. Error 1.
Please help

*****************************************************************
RT73 a/b/g STA driver interface with WPA Supplicant
Ralink Tech Corp.
*****************************************************************

Q0. Contents
-----------------------
defconfig
driver_ralink.c
driver_ralink.h
drivers.c
Makefile
README
wpa_supplicant_example.conf


Q1. How to compile
-----------------------
The driver interface was developed on wpa_supplicant v.0.4.7.
You can install the WPA Supplicant Free Edition development from website.

http//hostap.epitest.fi/wpa_supplicant/

After download the package then go to wpa_supplicant directory
Follow the steps..

1.) Copy file "driver_ralink.c" and "driver_ralink.h" we provide to wpa_supplicant directory.
2.) Set driver_ralink configuration as y in the "defconfig" or update to the "defconfig" we provide

# Driver interface for Ralink rt61 driver
CONFIG_DRIVER_RALINK=y

3.) Add wpa_driver_ralink_ops() into wpa_supplicant_drivers() in file "drivers.c"
or update to the file "drivers.c" we provide

#ifdef CONFIG_DRIVER_RALINK
extern struct wpa_driver_ops wpa_driver_ralink_ops; /* driver_ralink.c */
#endif /* CONFIG_DRIVER_RALINK */


struct wpa_driver_ops *wpa_supplicant_drivers[] =
{
#ifdef CONFIG_DRIVER_RALINK
&wpa_driver_ralink_ops,
#endif /* CONFIG_DRIVER_RALINK */
}

4.) Edit the "Makefile" or update to the "Makefile" we provide

ifdef CONFIG_DRIVER_RALINK
CFLAGS += -DCONFIG_DRIVER_RALINK
OBJS_d += driver_ralink.o
endif

5.) type $cp defconfig .config
6.) Compile the source code using 'make' command.


Q2. How to start wpa_supplicant
--------------------------------
1.) First start rt61 driver.

2.) Edit/Create a configuration file of wpa_supplicant.
-a) Set your work directory of wpa_supplicant for sockets
ctrl_interface = YOUR_WORK_PATH

-b) Set YOUR_OPENSC_PATH if need be. (e.g. generate certificates)
opensc_engine_path =/YOUR_OPENSC_PATH/engine_opensc.so
pkcs11_engine_path =/YOUR_OPENSC_PATH/engine_pkcs11.so
pkcs11_module_path =/YOUR_OPENSC_PATH/opensc-pkcs11.so

-c) Set network configuration. (e.g. WPA/EAP-TTLS)

*** refer to wpa_supplicant.conf in details or related documents ***

3.) Manually start wpa_supplicant,
type $./wpa_supplicant -c your_config_file -i ra0 -D ralink

turn on debug mode,
type $./wpa_supplicant -c your_config_file -i ra0 -D ralink -d

Spy84464

20-08-2008 17:34:54

I am trying to install the driver RT2501PCI/mPCI/CB(RT61RT2561/RT2561S/RT2661)[/quote1txu9obn]
We do not support Ralink's drivers, and can't help with them.
Use our releases if you want support from us.