Jump to content

xathor

Active Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

xathor's Achievements

Newbie

Newbie (1/14)

  1. Hi. I made some posts a few weeks ago about wanting to connect to distant wifi... didn't really get answers. Now that I am here I figured I would try this again. There's a WPA2 network of wifi spots that all have the same ESSID. All the passwords are the same (I have the password) but for some reason depending on which you connect to it gives you a different IP address. So far I can tell there's a 192.168.8.0 and a 192.168.12.0 network. One gives me an IP of 192.168.8.88, subnet 255.255.254.0 and a GW of 192.168.8.1 with a broadcast of 192.168.9.255. The other gives me an IP of 192.168.12.6, subnet 255.255.254.0 and a GW of 192.168.12.1 with a broadcast of 192.168.13.255. I've never seen a network setup like this, although I am by no means a networking expert. I brought my Pineapple IV and the USB external wifi with me. I also have a powered USB hub. I initially thought about using the Pineapple plugged into a hub with the 2gb USB and USB wifi plugged in to connect to wifi and repeat it locally. I wanted to use wlan1 on the Pineapple to connect to the distant wifi, then use wlan0 to create my own local network that routes thru the distant AP. I set up this scenario at home and it worked out well... I just didn't think it would be WPA2. Unfortunately I have no clue how to connect to a WPA2 network using the Pineapple. I fumbled around with wpa_supplicant with no success. I would just plug in the USB wifi card to my laptop, but I have a MacBook Pro and there aren't any drivers for it. I was running a VM with Parallels and Windows 7/Linux which works except the laptop gets rather warm and I have a small SSD so having the VM on the SSD takes up a lot of space. I figure the Pineapple making its own wifi network is a more efficient solution, that way I can have my MBP and other wifi devices on the network without struggle. I figured you guys would know how to connect the Pineapple to a WPA2 network and also make it stay connected to a certain AP. When the signal gets low it tries to connect to the other AP and gives me a different IP, which is rather annoying when I am trying to upload reports. Hopefully you guys can help or help me think of a better solution.
  2. I have a Pineapple Mark IV, connected to it via USB is an Alfa wifi adapter. I have taken the Alfa card (wlan1) and connected it to my home wifi router that has an address of 192.168.1.1. I have given wlan1 the ip of 192.168.1.173 with a 255.255.255.0 subnet. On the Pineapple, I connect via Wifi to it. It's ip is 172.16.42.1. Now if I do a ping 192.168.1.1 on the pineapple I get nothing. By default the 'route' looks like so: Destination Gateway Genmask Flags Metric Ref Use Iface default 172.16.42.42 0.0.0.0 UG 0 0 0 br-lan 172.16.42.0 * 255.255.255.0 U 0 0 0 br-lan 192.168.1.0 * 255.255.255.0 U 0 0 0 wlan1 So I do a 'route add default gw 192.168.1.1' and 'route del default gw 172.16.42.42' ... which leaves me with: Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan1 172.16.42.0 * 255.255.255.0 U 0 0 0 br-lan 192.168.1.0 * 255.255.255.0 U 0 0 0 wlan1 Now I can ping out to external IP's by both IP and name on the pineapple. Now, on a client connected to the pineapple. I can reach the web interface but I can't ping the distant router 192.168.1.1. I can, oddly, do a tracert on the client and DNS resolves a hostname. If I do on the client (a computer connected to the pineapple via wifi) 'tracert google.com' I get Tracing route to google.com [74.125.137.100] over a maximum of 30 hops: 1 3 ms 1 ms 1 ms Pineapple.lan [172.16.42.1] 2 * * * // Ctrl-C here I've tried playing with route but I am not that knowledgeable on it. Any help? :) --thanks
  3. I also noticed something strange after playing with airmon-ng earlier... even after a reset and firmware re-flash. If I log in via SSH and do a iwconfig I get mon.wlan0 up; Also, if I ifconfig I see it as well. If I run airmon-ng I see... wlan0 Atheros ath9k - [phy0] mon.wlan0 Atheros ath9k - [phy0] IEEE Unknown Unknown (MONITOR MODE NOT SUPPORTED) 802.11bgn Unknown Unknown (MONITOR MODE NOT SUPPORTED) Mode:Monitor Unknown Unknown (MONITOR MODE NOT SUPPORTED) Frequency:2.462 Unknown Unknown (MONITOR MODE NOT SUPPORTED) GHz Unknown Unknown (MONITOR MODE NOT SUPPORTED) Tx-Power=18 Unknown Unknown (MONITOR MODE NOT SUPPORTED) dBm Unknown Unknown (MONITOR MODE NOT SUPPORTED) I've seen in other posts people have had this issue but I haven't seen how people fixed it. It persists thru firmware flashing (http based). If I 'airmon-ng stop mon.wlan0' and 'airmon-ng stop wlan0' then bring the interface back up with 'ifconfig wlan0 up' it gets rid of the issue but keeps people from being able to connect to my wifi. :( Weird.
  4. What I have to work with: Pineapple Mark IV, Alfa AWUS036NHA, 2 (kit provided omnidirectional antennas), 1 plane type directional antenna. I have a high-gain 16db antenna on order. Hi, Just got my pineapple yesterday and played with at a bit yesterday. Seems like a fun toy with a bit of a learning curve. I like it so far. Unfortunately a lot of how-to's seem to be on github and they are all removed. :( My plan is pretty simple... I would like to connect to a distant wifi network with the directional antenna connected to the Alfa via USB to the pineapple. Then with the wifi on the pineapple I would like to repeat the wireless network under a different SSID with WPA2 encryption. I would also like to take all the connections that connect to my repeated wifi and tunnel them thru SSH to my computer back home. I am having some difficulty setting this up and I would like guidance or tips on this scenario. Any guidance or help would be appreciated. Edit: To get answers more directly related to my question.
×
×
  • Create New...