LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-19-2013, 09:36 PM   #16
AminhoVic
LQ Newbie
 
Registered: Apr 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled

Hello,

Thanks for the help guys!

frankbell

Quote:
what specific wireless chipset you have
Chipset; Ralink RT3070

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:~#
____________________________________________________

Ztcoracat

I get nothing on both Backtrack & Kali linux...

Code:
root@kali:~# su
root@kali:~#
I think Root is a super user, isn't it ?

_______________________________________________________

I have tried to search this file via "Leafpad" & "GVim" Kali Linux, An also on Backtrack

"Kwrie" but unfortunately the folder "Network" doesn't exist on "apt"

and just to confirm, look I have listed what's in the folder "apt"

Code:
root@kali:~# cd /etc/apt
root@kali:/etc/apt# network
bash: network: command not found
root@kali:/etc/apt# ls
apt.conf.d        preferences.d  sources.list~   trustdb.gpg  trusted.gpg.d
listchanges.conf  sources.list   sources.list.d  trusted.gpg
root@kali:/etc/apt#
And then I have used a command to search for files;

Code:
root@kali:~# find / -name interfaces
/usr/lib/i386-linux-gnu/directfb-1.2-9/interfaces
/usr/share/doc/ppp/examples/interfaces
/usr/share/dbus-1/interfaces
/etc/network/interfaces
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;

Driver ; http://www.mediafire.com/download.php?7m6f75ckhf0u234

PDF Tuto; http://www.mediafire.com/view/?os1y9q76h36e7s4

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

Last edited by AminhoVic; 04-19-2013 at 09:40 PM.
 
Old 04-19-2013, 09:40 PM   #17
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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?

Last edited by Ztcoracat; 04-19-2013 at 09:47 PM.
 
Old 04-19-2013, 09:49 PM   #18
AminhoVic
LQ Newbie
 
Registered: Apr 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
I don't get why you wouldn't have that /etc/apt/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?
You left out a word; (/apt)

Anyway read my last reply, bcause Finally I found this file...
 
Old 04-19-2013, 09:55 PM   #19
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by AminhoVic View Post
You left out a word; (/apt)

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-

Last edited by Ztcoracat; 04-19-2013 at 10:05 PM.
 
Old 04-19-2013, 10:15 PM   #20
AminhoVic
LQ Newbie
 
Registered: Apr 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
No problem at all Sir!

Okey.. we will wait Mister Frankbell to help us.
 
Old 04-20-2013, 08:39 PM   #21
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
I've no personal experience with Ralink, but I found this thread on the Ubuntu forums.

http://askubuntu.com/questions/14876...ireless-driver

Hope it helps.
 
1 members found this post helpful.
Old 04-20-2013, 09:50 PM   #22
AminhoVic
LQ Newbie
 
Registered: Apr 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hi,

No, It doesn'nt help

Code:
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 ?
 
Old 04-21-2013, 04:16 PM   #23
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
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"?

Last edited by Ztcoracat; 04-21-2013 at 04:18 PM.
 
Old 04-21-2013, 04:38 PM   #24
AminhoVic
LQ Newbie
 
Registered: Apr 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hi Ztcoracat,

Quote:
Is that a Linux distro?
Yes according to the website

Translated...

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:~#
 
Old 04-21-2013, 05:03 PM   #25
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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.


About Beini sounds nice and new-
Not sure how many gigabytes that distribution is. You'd have to search for more info-
http://distrowatch.com/dwres.php?resource=major

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--

Last edited by Ztcoracat; 04-21-2013 at 05:09 PM.
 
Old 04-21-2013, 05:15 PM   #26
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
If I were you; I would read all of the Backtrack documentation and see if there is some way to 'troubleshoot' this wireless saga and bring it to a resolution.
http://www.backtrack-linux.org/forum...ad.php?t=42074
http://www.backtrack-linux.org/wiki/index.php/FAQ

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--
 
Old 04-22-2013, 01:56 AM   #27
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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.
 
Old 04-22-2013, 04:54 PM   #28
AminhoVic
LQ Newbie
 
Registered: Apr 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hi All,

Quote:
If I were you; I would read all of the Backtrack documentation and see if there is some way to 'troubleshoot'
I have done that..

Look I found the driver listed on Known Bugs in BackTrack

Quote:
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
Fix for the BackTrack 5 r1, but me I'm installing the R2, anyway I will give it a try..

Quote:
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:
Code:
root@bt:~# ln -s /usr/src/linux /lib/modules/2.6.39.4/build
root@bt:~# cd/usr/src/
root@bt:~# wget http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2011-07-14.tar.bz2
root@bt:~# tar jxpf compat-wireless-2011-07-14.tar.bz2  
root@bt:~# wget http://www.backtrack-linux.org/2.6.39.patches.tar
root@bt:~# tar xpf 2.6.39.patches.tar
root@bt:~# cd compat-wireless-2011-07-14 
root@bt:~# patch -p1 < ../patches/mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch 
root@bt:~# patch -p1 < ../patches/mac80211.compat08082009.wl_frag+ack_v1.patch 
root@bt:~# patch -p1 < ../patches/zd1211rw-2.6.28.patch 
root@bt:~# patch -p1 < ../patches/ipw2200-inject.2.6.36.patch 
root@bt:~# make 
root@bt:~# make install
root@bt:~# reboot
When I type the first command I get;

Code:
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 View Post
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...

Thanks!
 
Old 04-23-2013, 02:07 AM   #29
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Is the VM installed within another OS?
 
Old 04-23-2013, 02:53 AM   #30
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
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.

If you want cutting edge Fedora is for you!
http://fedoraproject.org/
http://www.youtube.com/watch?v=Addend7o5lg

Or Ultimate Edition 3.5 which was built from Ubuntu and Debian-
I talk to the men that developed this distro and it is AMAZINGLY ASTONISHING! But so is FEDORA!
https://www.ultimateeditionoz.com/
https://www.ultimateeditionoz.com/about

The cool thing about Linux AminhoVic is that you can try a handful of them and decide from there.

When I was new to Linux I burned Linux Mint, Debian, Fedora, Ultimate Ed, and Ubuntu-
Debian is a rock solid distro and it's secure. I know, I've been running it a while-
http://www.youtube.com/watch?v=9IXPRyAwW2o
http://www.youtube.com/watch?v=dicKge7Bjkc

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!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wicd - No wireless networks found couf Linux - Wireless Networking 9 10-03-2011 08:18 PM
No wireless networks found abh Linux - Wireless Networking 2 09-07-2010 02:11 AM
No Wireless networks found under Wicd nickboarder27 Linux - Wireless Networking 5 05-26-2010 09:18 PM
Backtrack 3 error interface not found RohanTheLinuxer Linux - Wireless Networking 5 08-25-2008 04:40 AM
Wireless Networks Not Found HexJunkie Linux - Wireless Networking 2 10-19-2006 12:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration