Jump to content

MITM
 Share

Recommended Posts

I seem to be having some issues with internet connection sharing on my Mac which I have Ubuntu 12.04 running on a separate partition. I went through the initial set up as shown in the small booklet I received with the Mark 4. By the way, the firmware on the Pineapple Mark 4 is 2.4.1

I ran the ifconfig command in the terminal, and I got back


eth0 Link encap:Ethernet HWaddr 3c:07:54:11:8b:dd
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3200 errors:0 dropped:0 overruns:0 frame:0
TX packets:4745 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1128146 (1.1 MB) TX bytes:435916 (435.9 KB)
Interrupt:16
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:16436 Metric:1
RX packets:2235 errors:0 dropped:0 overruns:0 frame:0
TX packets:2235 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:200353 (200.3 KB) TX bytes:200353 (200.3 KB)
wlan0 Link encap:Ethernet HWaddr 28:cf:da:dc:a2:30
inet addr:192.168.1.112 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2002:43af:4031:0:cd65:c385:187f:b508/64 Scope:Global
inet6 addr: 2002:43af:4031:0:bc3a:75de:dd04:335f/64 Scope:Global
inet6 addr: 2002:43af:4031:0:2acf:daff:fedc:a230/64 Scope:Global
inet6 addr: fe80::2acf:daff:fedc:a230/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8437 errors:0 dropped:0 overruns:0 frame:0
TX packets:6782 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5189770 (5.1 MB) TX bytes:1143572 (1.1 MB)
[/CODE]

I also ran the iwconfig command and got back this.

[CODE]
lo no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"Linksys"
Mode:Managed Frequency:2.412 GHz Access Point: C0:C1:C0:D1:7E:6B
Bit Rate=48 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=65/70 Signal level=-45 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:12 Invalid misc:15 Missed beacon:0
eth0 no wireless extensions.
[/CODE]

After I downloaded the quick connect script with the commands shown in the booklet

[CODE]
wget wifipineapple.com/wp4.sh
chmod +x wp4.sh
[/CODE]

I then connected the pineapple via ethernet to the laptop and ran the code

[CODE]
sudo ./wp4.sh
[/CODE]

Now I don't know if I went wrong here because I left mostly everything default except for my internet gateway. Was I suppose to change anything else?

[CODE]
_ ___ _______ ____ _ __
| | / (_) ____(_) / __ \(_)___ ___ ____ _____ ____ / /__
| | /| / / / /_ / / / /_/ / / __ \/ _ \/ __ '/ __ \/ __ \/ / _ \
| |/ |/ / / __/ / / / ____/ / / / / __/ /_/ / /_/ / /_/ / / __/
|__/|__/_/_/ /_/ /_/ /_/_/ /_/\___/\__,_/ .___/ .___/_/\___/
OWN the Network /_/ /_/ v2.1
Pineapple Netmask [255.255.255.0]:
Pineapple Network [172.16.42.0/24]:
Interface between PC and Pineapple [eth0]:
Interface between PC and Internet [wlan0]:
Internet Gateway [172.16.42.1]: 192.168.1.1
IP Address of Host PC [172.16.42.42]:
IP Address of Pineapple [172.16.42.1]:
_ . ___ \||/ Internet: 192.168.1.1 - wlan0
( _ )_ <--> [___] <--> ,<><>, Computer: 172.16.42.42
(_ _(_ ,) \___\ '<><>' Pineapple: 172.16.42.0/24 - eth0
SIOCDELRT: No such process
Browse to http://172.16.42.1/pineapple -- Happy Hacking!
[/CODE]

The wifi pineapple access point showed up on my android so I connected, but I am not getting an internet connection coming through. I tried connecting to the wifi pinapples access point with another laptop and phone, but I still did not get internet connection through the Wifi Pineapple. The wifi pineapple was connected to my laptop with the ethernet cable when I tried to connect, but like I said I wasn't getting an internet connection. Nor am I getting an internet connection on the laptop the pineapple is connected to.

I went to the pineapples web interface, and tried revealing the public internet, but I was getting the message "Error Connecting" same thing when I try to view the modules on the Pineapple Bar, and of course when I try to check for upgrades.

So I decided to disconnect the pineapple from the laptop, and just try usb tethering from my android to give the pineapple internet connection. Well I am still not getting any internet connection through to my other devices by connecting to the pineapples access point, but by going to the web interface and trying to reveal the ip I do get a response. It shows the ip of the phone that is providing the internet connection to the pineapple. I don't know what I am doing wrong here any help would be awesome! If I could just get this thing to provide internet connection to other devices then that would be great. Ideally, I would just like to connect the wifi pineapple to internet with a wifi to pc connection.

According the the booklet, "with the connection script it's just a matter of choosing the right interfaces" but I am not sure which interfaces I would have to choose, and if I have to change any other default values given during the setup to accomplish this?

Well like I said, any help would be nice. Thanks!

Link to comment
Share on other sites

  • 4 weeks later...

I am getting the same problem on xubuntu 12.10.

ifconfig:


eth0 Link encap:Ethernet HWaddr dc:0e:a1:24:dd:93
inet6 addr: fe80::de0e:a1ff:fe24:dd93/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1573 errors:0 dropped:2 overruns:0 frame:0
TX packets:1704 errors:0 dropped:0 overruns:0 carrier:17
collisions:0 txqueuelen:1000
RX bytes:192946 (192.9 KB) TX bytes:212527 (212.5 KB)
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:16436 Metric:1
RX packets:2041 errors:0 dropped:0 overruns:0 frame:0
TX packets:2041 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:187300 (187.3 KB) TX bytes:187300 (187.3 KB)
wlan0 Link encap:Ethernet HWaddr c4:46:19:14:5d:66
inet addr:192.168.2.100 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::c646:19ff:fe14:5d66/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11788 errors:0 dropped:0 overruns:0 frame:0
TX packets:10556 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9986612 (9.9 MB) TX bytes:1593652 (1.5 MB)

[/CODE]

iwconfig:

[CODE]
wlan0 IEEE 802.11bgn ESSID:"EBoxG12"
Mode:Managed Frequency:2.422 GHz Access Point: 88:25:2C:21:C7:67
Bit Rate=144.4 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=61/70 Signal level=-49 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:13 Missed beacon:0

[/CODE]

[b]Edit:[/b]

I was able to get back my internet connection on my PC, but now I cannot access the web interface any more.

Edited by yawkat
Link to comment
Share on other sites

On Ubuntu after you connect the pineapple to the lan card right click on your connections (top right) and click Disconnect on your wired connection then run the wp4.sh script.

Thank you, works perfectly. More detailed instructions for reference:

  1. Power the Pineapple
  2. Connect the Pineapple to the PC via LAN (PoE LAN)
  3. Disconnect the wired network
  4. Connect to the wireless network (if you haven't already)
  5. Run the wp4.sh script

Done!

Link to comment
Share on other sites

On Ubuntu after you connect the pineapple to the lan card right click on your connections (top right) and click Disconnect on your wired connection then run the wp4.sh script.

I have seen the network manager take over even after it's connected if you send firmware to the pineapple or reboot it.

Thank you, works perfectly. More detailed instructions for reference:

  1. Power the Pineapple
  2. Connect the Pineapple to the PC via LAN (PoE LAN)
  3. Disconnect the wired network
  4. Connect to the wireless network (if you haven't already)
  5. Run the wp4.sh script

Done!

If you go into your network manager and click "Edit" or "Edit Connections", click on your "Wired" tab, uncheck the automatically connect, that will fix it so even if the pineapple reboots, it wont DHCP. But then it wont ever DHCP :P, but who ties laptops to wires for internet anymore?

Link to comment
Share on other sites

I have seen the network manager take over even after it's connected if you send firmware to the pineapple or reboot it.

If you go into your network manager and click "Edit" or "Edit Connections", click on your "Wired" tab, uncheck the automatically connect, that will fix it so even if the pineapple reboots, it wont DHCP. But then it wont ever DHCP :P, but who ties laptops to wires for internet anymore?

I tried that actually, and it didn't work. And I do use LAN for my laptop :P

Link to comment
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.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...