AthosPorthosAramis
-
Posts
2 -
Joined
-
Last visited
Posts posted by AthosPorthosAramis
-
-
Hi,
I received my TETRA 3 weeks ago. Following Hak5 videos, I managed to connect to http://172.16.42.1:1471 and to use and load various modules through Firefox on a laptop running native Kali Linux. However, I am trying to use the TETRA as 2 antennas (1 to monitor, 1 to inject) using Terminal. I have been trying to troubleshoot the my TETRA to do this seemingly simple task for the last 3 weeks. I have looked through the Hak5 forums, I searched innumerable keyword combinations to find answers to specific problems, and I am still stuck... So I feel it is time for me to ask for some input from more knowledgeable users. Going back to the basics, here is what my system looks like:
root@root:~# lsb_release -a
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: kali-rolling
Codename: kali-rolling
My dry-loop ADSL is connected via cat5e cable directly in the TETRA. The TETRA receives power via both 12V DC and the USB Y-cable connected to the ETH1 port. The TETRA displays the steady yellow LED (RJ45 is plugged in) and the steady blue LED. I am writing this post using this setup (ie. not from a different machine).
Running "ifconfig" while my TETRA is not connected to my laptop via the Y-cable, I get:
root@root:~# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:6b:23:d5:8b:14 txqueuelen 1000 (Ethernet)
RX packets 47227 bytes 57879819 (55.1 MiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 29694 bytes 3159545 (3.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xe4400000-e4420000lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 230 bytes 16362 (15.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 230 bytes 16362 (15.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.15.106 netmask 255.255.255.0 broadcast 192.168.15.255
inet6 fe80::9f2d:c539:5bfe:b755 prefixlen 64 scopeid 0x20<link>
ether b4:b6:76:31:77:84 txqueuelen 1000 (Ethernet)
RX packets 3859 bytes 1070183 (1.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 299 bytes 53455 (52.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0Running "ifconfig" while my Tetra is connected to my laptop via the Y-cable, I get:
root@root:~# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:6b:23:d5:8b:14 txqueuelen 1000 (Ethernet)
RX packets 47227 bytes 57879819 (55.1 MiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 29694 bytes 3159545 (3.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xe4400000-e4420000eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.42.224 netmask 255.255.255.0 broadcast 172.16.42.255
inet6 fe80::213:37ff:fea6:3c06 prefixlen 64 scopeid 0x20<link>
ether 00:13:37:a6:3c:06 txqueuelen 1000 (Ethernet)
RX packets 893 bytes 315394 (308.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1167 bytes 424293 (414.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 234 bytes 16518 (16.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 234 bytes 16518 (16.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.15.106 netmask 255.255.255.0 broadcast 192.168.15.255
inet6 fe80::9f2d:c539:5bfe:b755 prefixlen 64 scopeid 0x20<link>
ether b4:b6:76:31:77:84 txqueuelen 1000 (Ethernet)
RX packets 4181 bytes 1153216 (1.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 324 bytes 57219 (55.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0So I deduce the TETRA is "eth1", and it is "up".
However, when I run "iwconfig", I get:
root@root:~# iwconfig
lo no wireless extensions.eth1 no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:"My ESSID"
Mode:Managed Frequency:2.412 GHz Access Point: C8:D7:19:EB:AC:15
Bit Rate=1 Mb/s Tx-Power=15 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=50/70 Signal level=-60 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:104 Missed beacon:0So, eth1 shows "no wireless extensions". At this point, I should mention that I have already run "apt-get update && apt-get upgrade" to ensure Kali is running all the latest files and drivers.
When I run "airmon-ng start eth1", I get:
root@root:~# airmon-ng start eth1
Found 4 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'PID Name
537 NetworkManager
606 wpa_supplicant
5836 dhclient
7395 dhclientPHY Interface Driver Chipset
phy0 wlan0 iwlwifi Intel Corporation Centrino Advanced-N 6235 (rev 24)
So, I run "airmon-ng check kill", and I get:
root@root:~# airmon-ng check kill
Killing these processes:
PID Name
606 wpa_supplicant
7395 dhclientIf I run "airmon-ng start eth1" again, I get:
root@root:~# airmon-ng start eth1
PHY Interface Driver Chipset
phy0 wlan0 iwlwifi Intel Corporation Centrino Advanced-N 6235 (rev 24)
To my understanding, "wlan0" is my laptop's wireless adapter.
So, what could be the problem? I updated/upgraded pretty much everything, so I doubt the driver is at fault. If I run "lsusb" with the TETRA's USB Y-cable connected to my laptop, I get::
root@root:~# lsusb
Bus 004 Device 003: ID 08ff:168b AuthenTec, Inc.
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 04f2:b32a Chicony Electronics Co., Ltd
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 010: ID 0bda:8152 Realtek Semiconductor Corp.
Bus 001 Device 005: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
If I run "lsusb" with the TETRA's USB Y-cable disconnected from my laptop, I get all the above, except "Bus 001 Device 010: ID 0bda:8152 Realtek Semiconductor Corp.". So, I deduce "Device 10" is the TETRA.
Running "lsusb -t", I get:
root@root:~# lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
|__ Port 5: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 3: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 3: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 3: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 4: Dev 10, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
I find that the driver for Device 10 (TETRA) is r8152. After checking around, it appears my laptop is using the latest revision of this driver.
So, I am not running a VM, but a native, updated/upgraded Kali-rolling, and I can't get my TETRA to work in Terminal using airmon-ng, airodump-ng or aireplay-ng.
Can anyone suggest where I should investigate next?
Thank you all for any help/recommendation you can provide.
Trying to get Tetra to work via Terminal
in WiFi Pineapple TETRA
Posted
Thank you very much for the clarification and for taking the time to reply. Your impression was correct. I thought the TETRA (connected via USB Y-cable to the ETH1 port) would behave in the same way as two Alfa AWUS036Nxx wireless adapters which would also be plugged via USB. I will give the openwrt.org link you provided a try and see if I get the TETRA to work the way I would like it to.
Otherwise, I suppose I will have to use the TETRA's web interface and modules.
Thanks!