Jump to content

Getting the Pineapple to work with Mac


Go to solution Solved by bearda,

Recommended Posts

I had no problem with the tetra, it works on my MacBook Air and iMac (both OSX 10.11.3),

you have to use both USB ports on the computer and the USB port marked with ETH on the Tetra.

After its booted, you have a USB network card, and you can use safari to open http://172.16.42.1:1471

I tried this, but it would not show up in my interfaces. I got it set up and running on my linux vm (on my macbook pro) but I rather not have to do that if I don't need to.

  • Upvote 1
Link to post
Share on other sites

Ive tryed many different tutorials on google and youtube and never got it. Then all the sudden yesterday it worked and I have no idea what I did.

do and "ifconfig" and look for an "en#" usually 4 or 5 or so, make sure it shows the pineapple ip, thats about all I can say.

Edited by b0N3z
Link to post
Share on other sites

Rookford343,

The easiest way to get started is by following the Linux startup video that Darren has on this site. You will need to have Realtek USB drivers installed on you macbook, so make sure you go to this link and download the version that matches you operating system.

http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=55&Level=5&Conn=4&DownTypeID=3&GetDown=false

Once these are installed, it looks like there is a DHCP server built in that you can use to connect the WiFi Pineapple TETRA. The only problem you might run into is that OS X will not handle bridging the USB Ethernet to a wireless adapter, you either need to connect wireless interface 1 on the TETRA to an access point or connect the macbook to an Ethernet jack (then you can enable bridging.)

Link to post
Share on other sites

CyberneticEntomologist, kvasir,

After the drivers are installed on El Capitan (10.11.3), you should see a new network device in the System Preferences->Network section. The device will be called "USB 10/100 LAN" and will initially be "Not Connected". Unlock the network settings and make sure that the "Configure IPv4:" is set to "Using DHCP". It is important to unlock the settings, I was not able to get the device connected when it was locked. I have not researched why. You can then connect the USB cable into the Pineapple TETRA. I am using a MacBook Pro that has enough power on the USB 3.0 port [up to 900 mA (milliamps) at 5 V (Volts)] to power on and use the Pineapple. You will not want to stress the single USB port if you are stressing the radios. Now wait for the boot sequence to finish and the blue light to remain on. It usually takes a minute or two after the blue light is on constantly for the DHCP configuration information to be sent to the computer. See this web page https://cs.wmich.edu/~OODA/dhcp_seq.giffor more information about the handshake. When the client is successfully connected, the red dot to the left of the "USB 10/100 LAN" text will turn green and you can connect to the WiFi Pineapple web server on http://172.16.42.1:1471/ or ssh root@172.16.42.1.

I attempted a screenshot, but I was unable to figure out how to upload the image to this web site for reference.

Link to post
Share on other sites

CyberneticEntomologist, kvasir,

After the drivers are installed on El Capitan (10.11.3), you should see a new network device in the System Preferences->Network section. The device will be called "USB 10/100 LAN" and will initially be "Not Connected". Unlock the network settings and make sure that the "Configure IPv4:" is set to "Using DHCP". It is important to unlock the settings, I was not able to get the device connected when it was locked. I have not researched why. You can then connect the USB cable into the Pineapple TETRA. I am using a MacBook Pro that has enough power on the USB 3.0 port [up to 900 mA (milliamps) at 5 V (Volts)] to power on and use the Pineapple. You will not want to stress the single USB port if you are stressing the radios. Now wait for the boot sequence to finish and the blue light to remain on. It usually takes a minute or two after the blue light is on constantly for the DHCP configuration information to be sent to the computer. See this web page https://cs.wmich.edu/~OODA/dhcp_seq.giffor more information about the handshake. When the client is successfully connected, the red dot to the left of the "USB 10/100 LAN" text will turn green and you can connect to the WiFi Pineapple web server on http://172.16.42.1:1471/ or ssh root@172.16.42.1.

I attempted a screenshot, but I was unable to figure out how to upload the image to this web site for reference.

I have installed the Realtek USB drivers onto my MacBook Pro, but I do not see any new device in the Network settings. Is there a different driver I am suppose to install? Or is there something more I have to do once I have installed the Realtek USB drivers?

Link to post
Share on other sites

Updated my iMac 2011 27" to 10.11.4 build 15E33e, and still works,

never had to install a additional driver

system report:

USB 10/100 LAN:

Product ID: 0x8152

Vendor ID: 0x0bda (Realtek Semiconductor Corp.)

Version: 20.00

Serial Number: 001337XXXXXX

Speed: Up to 480 Mb/sec

Manufacturer: Realtek

Location ID: 0xfd130000 / 5

Current Available (mA): 1000

Current Required (mA): 100

Extra Operating Current (mA): 0

BSD Name: en6

ifconfig:

en6: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

options=4<VLAN_MTU>

ether 00:13:37:XX:XX:XX

inet6 fe80::213:37ff:fea5:814a%en6 prefixlen 64 scopeid 0xc

inet 172.16.42.238 netmask 0xffffff00 broadcast 172.16.42.255

nd6 options=1<PERFORMNUD>

media: autoselect (100baseTX <full-duplex>)

status: active

Mac address is masked
Link to post
Share on other sites

Should the 2 microUSB go to the 2 Pineapple Juice 15000s and the regular USB to the Macbook? And what if I want to use the Ethernet cable? I don't have any AC so I have to use 2 batteries. There's no video explaining and it doesn't work.

I don't have a Mac so no good way to test but this thread from the NANO forums may be helpful:

https://forums.hak5.org/index.php?/topic/37483-ics-on-a-mac-a-future-resilient-howto/

Link to post
Share on other sites

I have the Tetra talking to the Mac over http & ssh, but I can't share the internet connection properly...any suggestions? Please do not mention the other forum posts about this or the script on GitHub - those are great suggestions for anyone not running El Capitan, but I'm running 10.11.3 and been banging my head against the wall for about two days now trying every known suggestion I can find - what little there is out there about this...

Currently I've moved the Tetra over to the default ICS network of 192.168.2.0 via SSH...

Help is appreciated. Thanks in advance...

Link to post
Share on other sites

I have the Tetra talking to the Mac over http & ssh, but I can't share the internet connection properly...any suggestions? Please do not mention the other forum posts about this or the script on GitHub - those are great suggestions for anyone not running El Capitan, but I'm running 10.11.3 and been banging my head against the wall for about two days now trying every known suggestion I can find - what little there is out there about this...

Currently I've moved the Tetra over to the default ICS network of 192.168.2.0 via SSH...

Help is appreciated. Thanks in advance...

Sorry, those links are the best I can offer -- We don't have a MAC in the office, and Apple keeps changing the way they handle ICS. Honestly, the easiest thing to do is set up a VM with something like Kali.

There is one more thing you could try - in one of the OSX ICS threads for the NANO, a forum member mentions running some firewall program which handles ICS for you and seems to work reliably. More than that, I really don't know. Apple, please stop changing constantly.

Best Regards,

Sebkinne

Link to post
Share on other sites

If you have Parallels you can install a KDE version of linux and run everything in Coherence mode making it blend in better to the actual mac desktop. I have been doing this for a while because I can only get the NANO to connect after I have turned my firewall off.

Link to post
Share on other sites

Hi All,

Thought I'd post here as I spent about 8 hours last night and didn't get anywhere.

I Will say that I have plugged the tetra directly in to the router and have seen it working at a friends house so can safely eliminate any hardware woes.

Ideally, I wanted to share my wifi connection on OSX to my tetra via the usb-y cable. I knew this was going to be nigh on impossible but gained some hope when I saw this answer by winter_soldier.

ICS on El Capitan

Using the script here as a base : https://github.com/TGYK/OSXwp5

I had to change a couple of strings:

1) 1010* to 1011* to reference El Capitan

2) Change gateway IP to 172.16.42.2 (as 172.16.42.42 is already assigned to the USB interface)

3) Not using ethernet en0, the USB adapter ended up as en9 (I have many usb-adapters and BeagleBones), yours could be different. You'll have to identify your own interface (ifconfig) and adjust the script accordingly.

Script is here: http://pastebin.com/jPjD74Q0

I'm a bit lazy, many improvements could be made to this script to make it more user friendly.

Also full credit to TGYK.

However, the script kept failing when it hit the line

#Set DNS
networksetup -setdnsservers Ethernet $DNSIP $DNSALT
sleep 2

This I figured was because the Realtek USB drivers had named the connection 'USB 10/100 LAN'. I renamed my connection to Ethernet and then the script appeared to run successfully. Still no ICS though.

Ok, so it looked like it wasn't going to work on OSX, Nevermind, half expected that and was hopeful that it would work with Kali.

I downloaded the latest Kali Live CD from http://www.kali.org/downloads/ and loaded it up in to virtual box.

I changed my network adapter to bridged and loaded Kali without installing it.

I was now at the point where I had internet in Kali and could access the tetra on 172.132.42.1:1471. Great :)

To get ICS working i tried the following steps.

open terminal

1. wget wifipineapple.com/wp6.sh

2. chmod +x wp6.sh

3. ./wp6.sh

This brought up the wp6.sh script and I pressed G for guided.

Both the internet and pineapple settings looked correct and the script seemed to execute without error.

Unfortunately though, still no ICS in Kali!.

Link to post
Share on other sites

Think I've worked out the problem and I feel rather silly now.

After you have pressed G and gone through the guided settings.

Make sure you then press C to actually connect using these settings.

I guess I made the assumption that pressing G would take care of this.

Now I can finally start having some fun with this device :)

Link to post
Share on other sites

Just install these drivers:

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=55&Level=5&Conn=4&DownTypeID=3&GetDown=false

and then plug in the tetra via micro USB.

bam. done.

telot

Link to post
Share on other sites

Just install these drivers:

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=55&Level=5&Conn=4&DownTypeID=3&GetDown=false

and then plug in the tetra via micro USB.

bam. done.

telot

Can I ask what OS you are using?

AFAIK, there is no way as of yet to get ICS working on El-capitan.

Getting the pineapple to work is easy, it's ICS which people are struggling with.

I've had a few people ask me about getting this to work natively on OSX. So far, i've had to tell them to hang on from buying until someone has a solution for El-Capitan.

Link to post
Share on other sites

Can I ask what OS you are using?

AFAIK, there is no way as of yet to get ICS working on El-capitan.

Getting the pineapple to work is easy, it's ICS which people are struggling with.

I've had a few people ask me about getting this to work natively on OSX. So far, i've had to tell them to hang on from buying until someone has a solution for El-Capitan.

OSX El Capitan

To get ICS, you just plug in an Ethernet cable to the tetra thats connected to your network. Boom - internet access for the pineapple.

You might be forgetting that the tetra is not designed to be portable (well it can be made so, but the power constraints sure make it challenging) - for portability you want the NANO. The TETRA sits at rick rolling my family and friends - the NANO comes with me for war walking and pineapple'ing on the move.

telot

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...