Jump to content

locra43ses

Active Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

707 profile views

locra43ses's Achievements

Newbie

Newbie (1/14)

  1. Thanks a lot for all the advises... IT WORKS with BT5 R1 not BT5 R3 :) compat-wireless-2.6.39-1.tar.bz2 failed to install but it works because of the patch patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch and patch -p1 < channel-negative-one-maxim.patch. Below are the details/error. Well thanks for pointing me to this forum site. [b]IT WAS A SUCCESS[/b] :D Let me share my experience here... a bit different. I install it in my current distro "BT5 R3 GNOME 64bit" which has kernel v3.2.6, so I use/download the more current compat-wireless drivers (v3.6.x). Despite the post in that forum that used BT5 R1 that has kernel v2.6.39.4. Then download [i][b]wget http://patches.aircr...one-maxim.patch[/b][/i] --------------------------------------------------------------------- success [i][b]wget http://patches.aircr...ag ack_v1.patch[/b][/i] ---------------------------------------------------------------------- success and run [i][b]patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch[/b][/i] -------------------------------------------- success [b][i]patch -p1 < channel-negative-one-maxim.patch[/i][/b] ---------------------------------------------------------------- [u][b]failed[/b][/u] [i][b]./scripts/driver-select atheros[/b][/i] ---------------------------------------------------------------------------------------- success [i][b]make && make install[/b][/i] --------------------------------------------------------------------------------------------------- success [i][b]modprobe ath9k_hw[/b][/i] ---------------------------------------------------------------------------------------------------- no error I did these few times, I did also [i][b]make unload[/b][/i] in earlier tries... So compat-wireless driver v3.6.x installation is successful. Then reboot PC, still don't have additional network interface i.e. wlan1 for the USB wireless adapter. From this site http://www.aircrack-...compat-wireless it says: maybe that's why [i][b]patch -p1 < channel-negative-one-maxim.patch[/b][/i] failed. So I just download the same distro (BT5 R1) that has been used in the forum that you point to me. Now I used [i][b]wget http://www.orbit-lab....6.39-1.tar.bz2[/b][/i] from that forum. Although [b]compat-wireless-2.6.39-1.tar.bz2[/b] failed to install. This is the error: [CODE] root@bt:/usr/src/compat-wireless-2.6.39-1# make && make install /usr/src/compat-wireless-2.6.39-1/config.mk:204: "WARNING: CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m." ./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h make -C /lib/modules/2.6.39.4/build M=/usr/src/compat-wireless-2.6.39-1 modules make: *** /lib/modules/2.6.39.4/build: No such file or directory. Stop. make: *** [modules] Error 2 [/CODE] Then I run [i][b]ifconfig -a[/b][/i], then now it has [b]wlan1[/b] :o . It turns out that after patching it [i][b]patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch[/b][/i] and [i][b]patch -p1 < channel-negative-one-maxim.patch[/b][/i], USB wi-fi has been identified as [b]wlan1[/b]. Then I just [b][i]apt-get update[/i][/b] and [i][b]apt-get upgrade[/b][/i], it's good that [b]wlan1[/b] is [b]still there[/b], and [b]kernel is not included in the upgrade[/b], it says: [u][b]The following packages have been kept back[/b][/u]. I try to upgrade the kernel by following this link http://www.backtrack...backtrack-5-r2/, but the kernel remains v2.6.39.4. I'm thinking because of the patch earlier, [b]I just want to try if after successfully upgrading the kernel to v3.2.6, would wlan1 will still be there?[/b] Is there another way to upgrade the kernel? Again thanks a lot... :) Any further advice will be greatly appreciated.
  2. [b]wlan0[/b] is the built-in wi-fi adapter - this is actually working, what I mean is when I do [i][b]ifconfig -a[/b][/i] there is no additional network interface, in this case it must be [b]wlan1[/b] for the USB wireless adapter. If everything goes well, then we must have [b]wlan0[/b] and [b]wlan1[/b] in the HOST machine. [CODE] root@bt:~# ifconfig -a lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:336 errors:0 dropped:0 overruns:0 frame:0 TX packets:336 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:22281 (22.2 KB) TX bytes:22281 (22.2 KB) wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: xxxx::xxxx:xxxx:xxxx:xxx/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:32059 errors:0 dropped:0 overruns:0 frame:0 TX packets:22999 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:37652109 (37.6 MB) TX bytes:2362079 (2.3 MB) [/CODE] I recently read about [b]usb_modeswitch[/b] http://www.draisberg...usb_modeswitch/, I had installed [b]usb-modeswitch-1.2.5.tar.bz2, usb-modeswitch-data[/b] and other dependencies successfully but having problem on how to set-up its config file. The ONLY match that I could find for my USB wi-fi in its config file is: but the device ID of my USB wi-fi adapter is [b]not exacty same[/b], via [b][i]lsusb[/i][/b] command it shows: [CODE] root@bt:~# lsusb . <deleted for brevity> . Bus 003 Device 006: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n . . <deleted for brevity> [/CODE] As you can see [b]0cf3:9271, 0cf3[/b] is in the config file but not [b]9271[/b]. I tried to modify/adding the config file, putting the [b]9271[/b] in both the [b]DefaultProduct[/b] and [b]TargetProduct[/b] then replug the USB wi-fi adapter etc... it didnt create additional network interface based on [i][b]ifconfig -a[/b][/i]. Is this device ID is supported by [b]usb_modeswitch[/b]? If I'm not mistaken I just need to have [b](if available)[/b] the correct [b]DefaultProduct[/b] and [b]MessageContent[/b] for the [b]9271[/b]. Is there another way that we could make this work? Thanks for futher assistance :)
  3. It's not a driver issue, after installing BT5r3 in VM, it automatically detects my USB wi-fi adapter, so it creates wlan0. The HOST detects it BUT it didn't create a network interface like wlan1.
  4. How can I make "BT5r3 64bit" HOST (not VM) create a network interface for USB wi-fi adapter? "BT5r3 64bit GNOME" HOST won't create a network interface for USB wireless adapter, but "BT5r3 64bit GNOME" VM creates a network interface such as wlan0. Hello folks, I had installed "Backtrack 5 R3 64bit GNOME" in an External USB HDD. BT5r3 "automatically" recognizes the built-in wireless/wired card and show its network interface as wlan0/eth0 respectively. It also detects the USB wireless adapter via "lsusb" command, but it doesn't create a network interface such as wlan1. "lsusb" command shows: -------------- Atheros Communications, Inc. AR9271 802.11n The USB wireless adapter is supported by the preloaded drivers of BT5r3 because... When I install "BT5r3 64bit GNOME" in a VM, it "automatically" detects my USB wireless adapter, so it creates a network interface as "wlan0". I had tried different ways that I had found in the internet but it doesn't seem to work for me. Some of the things that I've done so far: - at first I install driver ath9k_htc, do lsmod, modprobe, reboot PC etc... - didn't work for me - install also ndiswrapper... - didn't work either - airmon-ng ONLY shows the built-in wifi, NOT the USB wi-fi adapter. The built-in wi-fi is named "wlan0" by the HOST: Interface Chipset Driver wlan0 Atheros ath9k - [phy0] - I already upgraded BT5r3... - didn't work - in the end I found out that THERE IS NO NEED for the USB wi-fi driver installation because "BT5r3 in VM" automatically detects USB wi-fi adapter and creates an interface as wlan0. - meaning to say that upon installation of BT5r3, BT5r3 has the driver for this type of hardware USB wi-fi adapter. - I modify the file in the HOST /etc/udev/rules.d/70-persistent-net.rules - I used the same file in the VM that has the USB wireless info, then replace the HOST file - also try to renamed the HOST file built-in wi-fi "wlan0" to "wlan1", still no interface for USB wi-fi - let's say as wlan0 (I'm hoping that after rebooting, the HOST will create another interface for USB wireless adapter) - I also try to erase this HOST file then reboot PC, hoping that the new file that it will create has additional interface such as wlan1. How can I make my HOST "BT5r3 64bit GNOME" creates a network interface for my USB wirelesss adapter? Thanks. :)
×
×
  • Create New...