Hello folks,
I am trying to create a twin of my home WLAN using my Alfa AWUS036NHA adapter, following the guide at:
http://grdriftkinghackingteam.blogsp...in-method.html
I have done everything just as in the tutorial, except that I used isc-dhcp-server instead of dhcp3 and adjusted the paths accordingly.
I am having problems at this step:
Code:
route add -net 192.168.1.1 netmask 255.255.255.0 gw 192.168.1.2
When I execute this command it tells me "netmask doesn't match route address".
Code:
root@KALI:~# route add -net 192.168.1.1 netmask 255.255.255.0 gw 192.168.1.2
route: netmask doesn't match route address
Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables
route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.
route {-h|--help} [<AF>] Detailed usage syntax for specified AF.
route {-V|--version} Display version/author and exit.
-v, --verbose be verbose
-n, --numeric don't resolve names
-e, --extend display other/more information
-F, --fib display Forwarding Information Base (default)
-C, --cache display routing cache instead of FIB
<AF>=Use '-A <af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)
My system is Kali 1.07 64bit running on VMware as a HDD installation. Here is some more information:
ifconfig
Code:
root@KALI:~# ifconfig
at0 Link encap:Ethernet HWaddr 00:24:fe:43:68:21
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::224:feff:fe43:6821/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:648 (648.0 B)
eth0 Link encap:Ethernet HWaddr 00:0c:29:30:a7:66
inet addr:192.168.42.128 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe30:a766/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:413 errors:0 dropped:0 overruns:0 frame:0
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:47165 (46.0 KiB) TX bytes:4105 (4.0 KiB)
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:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3600 (3.5 KiB) TX bytes:3600 (3.5 KiB)
mon0 Link encap:UNSPEC HWaddr 00-C0-CA-75-D1-61-3A-30-00-00-00-00-00-00-00-00
UP BROADCAST NOTRAILERS RUNNING PROMISC ALLMULTI MTU:1800 Metric:1
RX packets:42913 errors:0 dropped:1895 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4197380 (4.0 MiB) TX bytes:0 (0.0 B)
iwconfig
Code:
root@KALI:~# iwconfig
mon0 IEEE 802.11bgn Mode:Monitor Frequency:2.412 GHz Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
at0 no wireless extensions.
airmon-ng check
Code:
root@KALI:~# airmon-ng check
Found 1 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 kill (some of) them!
-e
PID Name
6754 dhclient
Process with PID 9028 (airbase-ng) is running on interface mon0
I would greatly appreciate it if you could help me solve this problem.
This is my first post in the forums and I tried my best to follow the guidelines from the "How To" post for newbs, but please tell me if you need additional information or there is anything inadequate about my post.
Thank you in advance!