Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Here is what I get when I run the command: ifconfig -a
Code:
root@kali:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0c:29:98:d1:da
inet addr:192.168.11.132 Bcast:192.168.11.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe98:d1da/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1782 (1.7 KiB) TX bytes:2092 (2.0 KiB)
Interrupt:19 Base address:0x2024
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:65536 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)
wlan0 Link encap:Ethernet HWaddr 00:c0:ca:6c:61:11
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)
root@kali:~#
The lsusb command, Hope this will help you...
Code:
root@kali:~# lsusb
Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@kali:~#
Hhmm.. I hope that is the file that you are looking for;
Quote:
/etc/network/interfaces
Here is what's inside that file on Kali Linux:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
And on BackTrack;
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
________________________________________________
Quote:
your Wireless Adapter needs a driver.
I don't think so, because on Beini the usb wireless adapter works fine, please check the picture in my first post..
On Beini Works fine exactly at "Root Shell" & "Minidwep-gtk" And It doesn't work on "FeedingBottle" (Found 0 APs!) I don't know why??
Anyway I get nothing when I run this command, Should I replace "lspci" with "lsusb" command ?
Code:
root@kali:~# lspci | grep -i network
root@kali:~#
_______________________________________________
I have tried to install the driver of my wireless usb adapter which I found it on the Alfa's CD Drivers;
I need help on this step: sudo insmod rt2870sta.ko
it says; Error: could not load module rt2870sta.ko: No such file or directory
and when I have used; sudo insmod rt3070sta.ko
I get; could not insert module rt3070sta.ko: Unknown symbol in module
What's wrong ?
Code:
root@kali:~# cd Desktop/
root@kali:~/Desktop# cd driver/
root@kali:~/Desktop/driver# ld
ld: no input files
root@kali:~/Desktop/driver# ls
chips iwpriv_usage.txt README_STA_usb sta
common Makefile RT2870STACard.dat sta_ate_iwpriv_usage.txt
include os RT2870STA.dat tools
root@kali:~/Desktop/driver# sudo make
make -C tools
make[1]: Entering directory `/root/Desktop/driver/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/root/Desktop/driver/tools'
/root/Desktop/driver/tools/bin2h
cp -f os/linux/Makefile.6 /root/Desktop/driver/os/linux/Makefile
make -C /lib/modules/3.7-trunk-686-pae/build SUBDIRS=/root/Desktop/driver/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.7-trunk-686-pae'
CC [M] /root/Desktop/driver/os/linux/../../common/crypt_md5.o
CC [M] /root/Desktop/driver/os/linux/../../common/crypt_sha2.o
CC [M] /root/Desktop/driver/os/linux/../../common/crypt_hmac.o
CC [M] /root/Desktop/driver/os/linux/../../common/crypt_aes.o
CC [M] /root/Desktop/driver/os/linux/../../common/crypt_arc4.o
CC [M] /root/Desktop/driver/os/linux/../../common/mlme.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_wep.o
CC [M] /root/Desktop/driver/os/linux/../../common/action.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_data.o
CC [M] /root/Desktop/driver/os/linux/../../common/rtmp_init.o
CC [M] /root/Desktop/driver/os/linux/../../common/rtmp_init_inf.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_tkip.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_aes.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_sync.o
CC [M] /root/Desktop/driver/os/linux/../../common/eeprom.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_sanity.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_info.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_cfg.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_wpa.o
CC [M] /root/Desktop/driver/os/linux/../../common/dfs.o
CC [M] /root/Desktop/driver/os/linux/../../common/spectrum.o
CC [M] /root/Desktop/driver/os/linux/../../common/rtmp_timer.o
CC [M] /root/Desktop/driver/os/linux/../../common/rt_channel.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_profile.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_asic.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_cmd.o
CC [M] /root/Desktop/driver/os/linux/../../os/linux/rt_profile.o
CC [M] /root/Desktop/driver/os/linux/../../chips/rtmp_chip.o
CC [M] /root/Desktop/driver/os/linux/../../sta/assoc.o
CC [M] /root/Desktop/driver/os/linux/../../sta/auth.o
CC [M] /root/Desktop/driver/os/linux/../../sta/auth_rsp.o
CC [M] /root/Desktop/driver/os/linux/../../sta/sync.o
CC [M] /root/Desktop/driver/os/linux/../../sta/sanity.o
CC [M] /root/Desktop/driver/os/linux/../../sta/rtmp_data.o
CC [M] /root/Desktop/driver/os/linux/../../sta/connect.o
CC [M] /root/Desktop/driver/os/linux/../../sta/wpa.o
CC [M] /root/Desktop/driver/os/linux/../../sta/ags.o
CC [M] /root/Desktop/driver/os/linux/../../sta/sta_cfg.o
CC [M] /root/Desktop/driver/os/linux/../../common/rt_os_util.o
CC [M] /root/Desktop/driver/os/linux/../../os/linux/sta_ioctl.o
/root/Desktop/driver/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’:
/root/Desktop/driver/os/linux/../../os/linux/sta_ioctl.c:899:20: warning: array subscript is below array bounds [-Warray-bounds]
CC [M] /root/Desktop/driver/os/linux/../../os/linux/rt_linux.o
CC [M] /root/Desktop/driver/os/linux/../../os/linux/rt_main_dev.o
CC [M] /root/Desktop/driver/os/linux/../../common/ba_action.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_mac_usb.o
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPFreeTxRxRingMemory’:
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:235:9: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:242:9: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:280:11: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __HTTX_BUFFER **’
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c: In function ‘NICInitTransmit’:
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:509:12: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPAllocTxRxRingMemory’:
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:568:13: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘struct __HTTX_BUFFER **’
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:598:12: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:612:12: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:630:13: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/driver/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘UCHAR **’
CC [M] /root/Desktop/driver/os/linux/../../common/rtusb_io.o
CC [M] /root/Desktop/driver/os/linux/../../common/rtusb_data.o
CC [M] /root/Desktop/driver/os/linux/../../common/cmm_data_usb.o
CC [M] /root/Desktop/driver/os/linux/../../common/ee_prom.o
CC [M] /root/Desktop/driver/os/linux/../../common/ee_efuse.o
CC [M] /root/Desktop/driver/os/linux/../../common/rtmp_mcu.o
CC [M] /root/Desktop/driver/os/linux/../../chips/rt30xx.o
/root/Desktop/driver/os/linux/../../chips/rt30xx.c: In function ‘RT30xx_ChipSwitchChannel’:
/root/Desktop/driver/os/linux/../../chips/rt30xx.c:601:17: warning: unused variable ‘BbpR109’ [-Wunused-variable]
/root/Desktop/driver/os/linux/../../chips/rt30xx.c:600:30: warning: unused variable ‘Tx1FinePowerCtrl’ [-Wunused-variable]
/root/Desktop/driver/os/linux/../../chips/rt30xx.c:600:8: warning: unused variable ‘Tx0FinePowerCtrl’ [-Wunused-variable]
CC [M] /root/Desktop/driver/os/linux/../../common/rt_rf.o
CC [M] /root/Desktop/driver/os/linux/../../common/rtusb_bulk.o
CC [M] /root/Desktop/driver/os/linux/../../os/linux/rt_usb.o
CC [M] /root/Desktop/driver/os/linux/../../chips/rt3070.o
CC [M] /root/Desktop/driver/os/linux/../../common/rtusb_dev_id.o
CC [M] /root/Desktop/driver/os/linux/../../os/linux/rt_usb_util.o
CC [M] /root/Desktop/driver/os/linux/../../os/linux/usb_main_dev.o
LD [M] /root/Desktop/driver/os/linux/rt3070sta.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /root/Desktop/driver/os/linux/rt3070sta.o
see include/linux/module.h for more information
CC /root/Desktop/driver/os/linux/rt3070sta.mod.o
LD [M] /root/Desktop/driver/os/linux/rt3070sta.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.7-trunk-686-pae'
cp -f /root/Desktop/driver/os/linux/rt3070sta.ko /tftpboot
root@kali:~/Desktop/driver# sudo insmod rt2870sta.ko
Error: could not load module rt2870sta.ko: No such file or directory
root@kali:~/Desktop/driver# cd os/linux/
root@kali:~/Desktop/driver/os/linux# sudo insmod rt2870sta.ko
Error: could not load module rt2870sta.ko: No such file or directory
root@kali:~/Desktop/driver/os/linux# sudo insmod rt2870sta.ko
Error: could not load module rt2870sta.ko: No such file or directory
root@kali:~/Desktop/driver/os/linux# ls
br_ftph.c Makefile.6 rt3070sta.o rt_profile.c sta_ioctl.c
cfg80211.c Makefile.clean rt_linux.c rt_profile.o sta_ioctl.o
cfg80211drv.c modules.order rt_linux.o rt_symb.c usb_main_dev.c
config.mk Module.symvers rt_linux_symb.c rt_usb.c usb_main_dev.o
inf_ppa.c rt3070sta.ko rt_main_dev.c rt_usb.o vr_bdlt.c
Makefile rt3070sta.mod.c rt_main_dev.o rt_usb_util.c vr_ikans.c
Makefile.4 rt3070sta.mod.o rt_proc.c rt_usb_util.o
root@kali:~/Desktop/driver/os/linux# sudo insmod rt3070sta.ko
Error: could not insert module rt3070sta.ko: Unknown symbol in module
Yes, 'su' is super user. Maybe Backtrack uses 'sudo' instead--
Each distro is different. Ubuntu uses 'sudo' Debian uses 'su'
Try 'sudo' than your password-
I don't get why you wouldn't have that /etc/network/interfaces file-- Most perplexing to me--
Let's see what our Guru; Frankbell says because at this point I am sitting back and saying: Hun?
Anyway read my last reply, bcause Finally I found this file...
I was wrong; AminhoVic:
/apt is not a part of that interfaces file. My mistake, sorry-
Yes, that is the right file but arguments concerning your ip address, netmask, network, gateway and broadcast are not in that file as they should be. That's why I suggested we wait for our Guru; Mr. Frankbell-
root@kali:~# sudo apt-get install linux-headers-$(uname -r) build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
linux-headers-3.7-trunk-686-pae is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 302 not upgraded.
root@kali:~# cd Desktop
root@kali:~/Desktop# cd rt
root@kali:~/Desktop/rt# sudo make && sudo make install
make -C tools
make[1]: Entering directory `/root/Desktop/rt/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/root/Desktop/rt/tools'
/root/Desktop/rt/tools/bin2h
cp -f os/linux/Makefile.6 /root/Desktop/rt/os/linux/Makefile
make -C /lib/modules/3.7-trunk-686-pae/build SUBDIRS=/root/Desktop/rt/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.7-trunk-686-pae'
CC [M] /root/Desktop/rt/os/linux/../../common/crypt_md5.o
CC [M] /root/Desktop/rt/os/linux/../../common/crypt_sha2.o
CC [M] /root/Desktop/rt/os/linux/../../common/crypt_hmac.o
CC [M] /root/Desktop/rt/os/linux/../../common/crypt_aes.o
CC [M] /root/Desktop/rt/os/linux/../../common/crypt_arc4.o
CC [M] /root/Desktop/rt/os/linux/../../common/mlme.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_wep.o
CC [M] /root/Desktop/rt/os/linux/../../common/action.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_data.o
CC [M] /root/Desktop/rt/os/linux/../../common/rtmp_init.o
CC [M] /root/Desktop/rt/os/linux/../../common/rtmp_init_inf.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_tkip.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_aes.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_sync.o
CC [M] /root/Desktop/rt/os/linux/../../common/eeprom.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_sanity.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_info.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_cfg.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_wpa.o
CC [M] /root/Desktop/rt/os/linux/../../common/dfs.o
CC [M] /root/Desktop/rt/os/linux/../../common/spectrum.o
CC [M] /root/Desktop/rt/os/linux/../../common/rtmp_timer.o
CC [M] /root/Desktop/rt/os/linux/../../common/rt_channel.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_profile.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_asic.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_cmd.o
CC [M] /root/Desktop/rt/os/linux/../../os/linux/rt_profile.o
CC [M] /root/Desktop/rt/os/linux/../../chips/rtmp_chip.o
CC [M] /root/Desktop/rt/os/linux/../../sta/assoc.o
CC [M] /root/Desktop/rt/os/linux/../../sta/auth.o
CC [M] /root/Desktop/rt/os/linux/../../sta/auth_rsp.o
CC [M] /root/Desktop/rt/os/linux/../../sta/sync.o
CC [M] /root/Desktop/rt/os/linux/../../sta/sanity.o
CC [M] /root/Desktop/rt/os/linux/../../sta/rtmp_data.o
CC [M] /root/Desktop/rt/os/linux/../../sta/connect.o
CC [M] /root/Desktop/rt/os/linux/../../sta/wpa.o
CC [M] /root/Desktop/rt/os/linux/../../sta/ags.o
CC [M] /root/Desktop/rt/os/linux/../../sta/sta_cfg.o
CC [M] /root/Desktop/rt/os/linux/../../common/rt_os_util.o
CC [M] /root/Desktop/rt/os/linux/../../os/linux/sta_ioctl.o
/root/Desktop/rt/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’:
/root/Desktop/rt/os/linux/../../os/linux/sta_ioctl.c:899:20: warning: array subscript is below array bounds [-Warray-bounds]
CC [M] /root/Desktop/rt/os/linux/../../os/linux/rt_linux.o
CC [M] /root/Desktop/rt/os/linux/../../os/linux/rt_main_dev.o
CC [M] /root/Desktop/rt/os/linux/../../common/ba_action.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_mac_usb.o
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPFreeTxRxRingMemory’:
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:235:9: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:242:9: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:280:11: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __HTTX_BUFFER **’
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c: In function ‘NICInitTransmit’:
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:509:12: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPAllocTxRxRingMemory’:
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:568:13: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘struct __HTTX_BUFFER **’
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:598:12: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:612:12: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:630:13: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
/root/Desktop/rt/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘UCHAR **’
CC [M] /root/Desktop/rt/os/linux/../../common/rtusb_io.o
CC [M] /root/Desktop/rt/os/linux/../../common/rtusb_data.o
CC [M] /root/Desktop/rt/os/linux/../../common/cmm_data_usb.o
CC [M] /root/Desktop/rt/os/linux/../../common/ee_prom.o
CC [M] /root/Desktop/rt/os/linux/../../common/ee_efuse.o
CC [M] /root/Desktop/rt/os/linux/../../common/rtmp_mcu.o
CC [M] /root/Desktop/rt/os/linux/../../chips/rt30xx.o
/root/Desktop/rt/os/linux/../../chips/rt30xx.c: In function ‘RT30xx_ChipSwitchChannel’:
/root/Desktop/rt/os/linux/../../chips/rt30xx.c:601:17: warning: unused variable ‘BbpR109’ [-Wunused-variable]
/root/Desktop/rt/os/linux/../../chips/rt30xx.c:600:30: warning: unused variable ‘Tx1FinePowerCtrl’ [-Wunused-variable]
/root/Desktop/rt/os/linux/../../chips/rt30xx.c:600:8: warning: unused variable ‘Tx0FinePowerCtrl’ [-Wunused-variable]
CC [M] /root/Desktop/rt/os/linux/../../common/rt_rf.o
CC [M] /root/Desktop/rt/os/linux/../../common/rtusb_bulk.o
CC [M] /root/Desktop/rt/os/linux/../../os/linux/rt_usb.o
CC [M] /root/Desktop/rt/os/linux/../../chips/rt3070.o
CC [M] /root/Desktop/rt/os/linux/../../common/rtusb_dev_id.o
CC [M] /root/Desktop/rt/os/linux/../../os/linux/rt_usb_util.o
CC [M] /root/Desktop/rt/os/linux/../../os/linux/usb_main_dev.o
LD [M] /root/Desktop/rt/os/linux/rt3070sta.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /root/Desktop/rt/os/linux/rt3070sta.o
see include/linux/module.h for more information
CC /root/Desktop/rt/os/linux/rt3070sta.mod.o
LD [M] /root/Desktop/rt/os/linux/rt3070sta.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.7-trunk-686-pae'
cp -f /root/Desktop/rt/os/linux/rt3070sta.ko /tftpboot
make -C /root/Desktop/rt/os/linux -f Makefile.6 install
mkdir: cannot create directory `/etc/Wireless': File exists
make[1]: Entering directory `/root/Desktop/rt/os/linux'
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /root/Desktop/rt/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/3.7-trunk-686-pae/kernel/drivers/net/wireless/
install -m 644 -c rt3070sta.ko /lib/modules/3.7-trunk-686-pae/kernel/drivers/net/wireless/
/sbin/depmod -a 3.7-trunk-686-pae
make[1]: Leaving directory `/root/Desktop/rt/os/linux'
root@kali:~/Desktop/rt# make clean
cp -f os/linux/Makefile.clean os/linux/Makefile
make -C os/linux clean
make[1]: Entering directory `/root/Desktop/rt/os/linux'
rm -f ../../common/*.o
rm -f ../../common/.*.{cmd,flags,d}
rm -f ../../os/linux/*.{o,ko,mod.{o,c}}
rm -f ../../os/linux/.*.{cmd,flags,d}
rm -fr ../../os/linux/.tmp_versions
rm -f ../../os/linux/Module.symvers
rm -f ../../os/linux/Modules.symvers
rm -f ../../os/linux/Module.markers
rm -f ../../os/linux/modules.order
rm -f ../../chips/*.o
rm -f ../../chips/.*.{cmd,flags,d}
rm -f ../../sta/*.o
rm -f ../../sta/.*.{cmd,flags,d}
make[1]: Leaving directory `/root/Desktop/rt/os/linux'
rm -rf os/linux/Makefile
root@kali:~/Desktop/rt# cd ..
root@kali:~/Desktop# rm -rf rt
root@kali:~/Desktop#
Interfaces file:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
It's not about Driver, My usb wireless adapter works fine on Beini and plus when I replug the adapter to another USB port it works and sometimes it doesn't, when it works I can see Networks.. however When I try to search for them again they disappear..
The question is, What distinguishes Beini from Backtrack ?
The question is, What distinguishes Beini from Backtrack
Beini is foreign to me-- Is that a Linux distro?
Backtrack is based on a Debian GNU/Linux distribution.
The BackTrack distribution originated from the merger of two formerly competing distributions which focused on penetration testing: see"Wikipedia"
Did you try what our Guru told you to try in post # "15"?
Beini: A complete system developed to check the safety of wireless networks based on Tiny Core Linux. FeedingBottle, aircrack-ng GUI for beini
Beini is a mini distribution GNU / Linux that will allow them to test the security of a wireless access point. Also, it is based on Tiny Core Linux
________________________________________________
Quote:
Did you try what our Guru told you
Yes, Here is what I get when I run the command: ifconfig -a
Code:
root@kali:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0c:29:98:d1:da
inet addr:192.168.11.132 Bcast:192.168.11.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe98:d1da/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1782 (1.7 KiB) TX bytes:2092 (2.0 KiB)
Interrupt:19 Base address:0x2024
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:65536 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)
wlan0 Link encap:Ethernet HWaddr 00:c0:ca:6c:61:11
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)
root@kali:~#
The lsusb command;
Code:
root@kali:~# lsusb
Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@kali:~#
Without any doubt; this is your Adapter that provides you the wireless--
Code:
Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
If indeed you have installed a driver for that adapter; your wireless should be recognized and working after a reboot-
If not; than (I don't know; ask Frankbell) if something is not right in the output of "ifconfig -a"
(or) something in that interfaces file is not right-
I am currently facing a similar issue myself--(my wireless is not working) We are in the same situation and I get how it's annoying. I understand-
I'm picking apart this interfaces file and comprehending the output to the wireless cmds and the 'how to' configure what needs adjustments. A way to learn more about this is the terminal by running-
Code:
man interfaces
Sometimes and in some cases it's an option to roll forward to another version of the kernel to make hardware comply.
So; if your wondering the difference between the 2 distributions it's most likely a difference is size, what commandline utility it uses, (Ex Fedora uses 'Yum')and how package management is handled-
Some distro's you have to manually handel your own packages and perform your own dependency resolution manually-
(Slackware for Ex And some distro's (like Ubuntu) are only supported by the team that developed it for a certain period- This is called a LTS:-
Lot's of different contributing factors you have to know and look at--
Maybe even sit back and think about considering another distribution. It is an option if you want.
If you really want to stay with Backtrack; I totally get it--
If VM ware is similar to Vbox then you won't have wireless connection because the VM would show a wired connection to host. In order to get wireless scanning you may have to make an install directly to machine.
rt2800usb drivers are dodgy. Some cards go into monitor mode, but don't show and data captured. If this is your case, try compiling custom drivers from a compat-wireless branch. For mosre
In some cases we've seen cards using the rt2800usb drivers (such as the AWUS036NH and AWUS036NEH ALFAs) act strange with the BT5R1 kernel. If this happens to you, you can try installing a recent compat-wireless and building it on your own. This specific version will work:
root@bt:~# ln -s /usr/src/linux /lib/modules/2.6.39.4/build
ln: creating symbolic link `/lib/modules/2.6.39.4/build': No such file or directory
Seconde command I get;
Code:
root@bt:~# cd/usr/src/
bash: cd/usr/src/: No such file or directory
What's wrong ?
Quote:
I am currently facing a similar issue myself--(my wireless is not working) We are in the same situation and I get how it's annoying. I understand-
Yeaaah
Ztcoracat, even you haven't resolved my issue, I would like to Thank you for your time and also all things that you have teached me and all the informations that you wrote.. Many thanks to you.
I think I'll switch to another distribution.. what would you advise me to choose ?
Frankbell, maybe you're busy.. but Please write me whenever you have time, feel free to do that at any time I'm subscribed to this Thread. I NEED Help!
Quote:
Originally Posted by EDDY1
If VM ware is similar to Vbox then you won't have wireless connection because the VM would show a wired connection to host. In order to get wireless scanning you may have to make an install directly to machine.
No, no sorry that is not right OR I don't get what you said, please could you be more specific ? in the other hand I'll try to run BackTrack using Live USB... and see if it will recognize my USB wireless adapter...
Ztcoracat, even you haven't resolved my issue, I would like to Thank you for your time and also all things that you have teached me and all the informations that you wrote.. Many thanks to you.
Your very Welcome AminhoVic!
And I'm always happy to teach
As far as what distro for you to try-:- Depends on 2 things:
What architecture you have and what you want.
I tried all of them on a Live DVD/CD first before I installed the distro of my choice.
Distro Watch is the place to go-
The 3 oldest distro's still supported are Slackware, Debian and Red Hat.
Red Hat is a 'paid subscription' Centos is free!
Fedora is Red Hat's test bed; btw-
Slackware and Arch Linux have their own tools unlike RPM (Fedora uses) and APT (Debian)uses-
With Slackware you would have to manually resolve your own dependency (dependencies)
Dependency is a program or lib that another program needs to run-
Fedora's (YUM- commandline utility) does it for you-
What ever Linux distribution that you choose I wish you the best!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.