You are not logged in.

#1 2012-09-14 21:56:11

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

Masquerade issue (Wifi Pineapple MkIV)

I've had a Wifi Pineapple Mark IV for quite some time now, I really want to get playing with it finally, however I seem to be having some trouble getting started.

For those who are unfamiliar with this product; it's a little Fon router running a customised version of OpenWRT used for pen-testing by a group called Hak5.

I'm hoping someone can help with this!

Here's my setup:

MacBook Air running x86_64 Arch Linux (3.5.3-2 kernel with CK patchset)
Interface connected to my home router: wlan0
Interface connected to the Pineapple: eth0 (this is a usb to ethernet dongle, going into the PoE port on the Pineapple)

Hak5 provide a simple quickstart script to get you up and running.

Unfortunately, running this script isn't working for me, basically, all it should allow me to do is simply communicate with it (ssh into it, or to it's admin web UI over http) via ethernet.

Here's the output of ip addr before doing anything:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 10:40:f3:89:c2:e2 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.110/24 brd 192.168.0.255 scope global wlan0
    inet6 fe80::1240:f3ff:fe89:c2e2/64 scope link 
       valid_lft forever preferred_lft forever

However, it's exactly the same output after plugging in the usb/ethernet dongle connected to the Pineapple. It seems I have to manually bring up my eth0 and issue it it's IP address with 'sudo ifconfig eth0 up && sudo ifconfig eth0 172.16.42.42'

So here's ip addr after doing so:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 10:40:f3:89:c2:e2 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.110/24 brd 192.168.0.255 scope global wlan0
    inet6 fe80::1240:f3ff:fe89:c2e2/64 scope link 
       valid_lft forever preferred_lft forever
3: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether b8:8d:12:56:b0:0b brd ff:ff:ff:ff:ff:ff
    inet 172.16.42.42/16 brd 172.16.255.255 scope global eth0

After doing so, this still doesn't work.

I can confirm that the usb/ethernet dongle is functioning fine, I'm able to use it as if it were a standard ethernet connection, also, the tail of dmesg show's no errors:

[ 4073.427765] usb 1-1.3: new high-speed USB device number 9 using ehci_hcd
[ 4073.878903] asix 1-1.3:1.0: eth0: register 'asix' at usb-0000:00:1a.7-1.3, ASIX AX88772 USB 2.0 Ethernet, b8:8d:12:56:b0:0b
[ 4073.879011] usbcore: registered new interface driver asix
[ 4139.789336] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 4327.492209] ip_tables: (C) 2000-2006 Netfilter Core Team

So after trying this and the script, ping requests to 172.16.42.1 (the pineapple's IP) fail, and trying to access http://172.16.42.1/pineapple doesn't work either.

I'm aware that people may not be familiar with this product,and I've currently got a thread open in the Hak5 forums, however, I'm posting in hope that members of the community might be able to shed some light on getting my system to communicate with the Pineapple over ethernet.

Many thanks in advance, any words on this is greatly appreciated.

**Title edited to better fit the subject**

Last edited by Starfall (2012-09-15 08:09:49)


Visit my blog and my DeviatArt page

Offline

Board footer

Powered by FluxBB