Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface=wlan2
- dhcp-range=192.168.1.2,192.168.1.30,255.255.255.0,12h
- dhcp-option=3,192.168.1.1
- dhcp-option=6,192.168.1.1
- server=8.8.8.8
- log-queries
- log-dhcp
- listen-address=127.0.0.1
- interface=wlan2
- ssid=wifi
- hw_mode=g
- channel=11
- macaddr_acl=0
- ignore_broadcast_ssid=0
- auth_algs=1
- wpa=2
- wpa_passphrase=12345678
- wpa_key_mgmt=WPA-PSK
- wpa_pairwise=CCMP
- wpa_group_rekey=86400
- ieee80211n=1
- wme_enabled=1
- airmon-ng check kill
- airmon-ng start wlan2
- hostapd hostapd.conf
- ifconfig wlan2 up 192.168.1.1 netmask 255.255.255.0
- route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1
- dnsmasq -C dnsmasq.conf -d
- iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
- iptables --append FORWARD --in-interface wlan2 -j ACCEPT
- echo 1 > /proc/sys/net/ipv4/ip_forward
- eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 192.168.88.77 netmask 255.255.255.0 broadcast 255.255.255.0
- inet6 XX::XX:XX:XX:XX prefixlen 64 scopeid 0x20<link>
- ether XX:XX:XX:XX:XX:XX txqueuelen 1000 (Ethernet)
- RX packets 51716 bytes 38469469 (36.6 MiB)
- RX errors 0 dropped 19 overruns 0 frame 0
- TX packets 54456 bytes 8342685 (7.9 MiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- lo: 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 1000 (Local Loopback)
- RX packets 7780 bytes 1590754 (1.5 MiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 7780 bytes 1590754 (1.5 MiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet6 XX::XX:XX:XX:XX prefixlen 64 scopeid 0x20<link>
- ether XX:XX:XX:XX:XX:XX txqueuelen 1000 (Ethernet)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 15 bytes 1506 (1.4 KiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- wlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet6 XX::XX:XX:XX:XX prefixlen 64 scopeid 0x20<link>
- ether XX:XX:XX:XX:XX:XX txqueuelen 1000 (Ethernet)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 0 bytes 0 (0.0 B)
- TX errors 0 dropped 15 overruns 0 carrier 0 collisions 0
- wlan2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet6 XX::XX:XX:XX:XX prefixlen 64 scopeid 0x20<link>
- ether XX:XX:XX:XX:XX:XX txqueuelen 1000 (Ethernet)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 0 bytes 0 (0.0 B)
- TX errors 0 dropped 15 overruns 0 carrier 0 collisions 0
- wlan0 IEEE 802.11 ESSID:off/any
- Mode:Managed Access Point: Not-Associated Tx-Power=31 dBm
- Retry short limit:7 RTS thr:off Fragment thr:off
- Encryption key:off
- Power Management:on
- eth0 no wireless extensions.
- lo no wireless extensions.
- wlan2 IEEE 802.11 ESSID:off/any
- Mode:Managed Access Point: Not-Associated Tx-Power=18 dBm
- Retry short limit:7 RTS thr:off Fragment thr:off
- Encryption key:off
- Power Management:off
- wlan1 IEEE 802.11 ESSID:off/any
- Mode:Managed Access Point: Not-Associated Tx-Power=18 dBm
- Retry short limit:7 RTS thr:off Fragment thr:off
- Encryption key:off
- Power Management:off
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 0.0.0.0 192.168.88.1 0.0.0.0 UG 0 0 0 eth0
- 51.68.180.4 192.168.88.1 255.255.255.255 UGH 0 0 0 eth0
- 192.168.88.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement