Jump to content

Wifi Pineapple Mark IV: No Internet connection


KillerKlown
 Share

Recommended Posts

Hi, folks!

I have a problem with my new (and first) Pineapple Mark IV:

I've just configured the net settings on my Macbook Pro. Wifi on top, ethernet on bottom and enabled internet sharing from wifi to ethernet.

I can see the Pineapple, I can connect to the web GUI and SSH into it. It can search for probes, but maybe it is doing only in wlan, cause when I ping Google from the Pineapple (in the ssh session or in the web GUI), it can't ping it.

So... what is wrong with my configuration? Do I have to modify something also in the Pineapple? Why it doesn't get the Internet access from my Mac?

Thank you in advance! :D

Edited by KillerKlown
Link to comment
Share on other sites

Hi, folks!

I have a problem with my new (and first) Pineapple Mark IV:

I've just configured the net settings on my Macbook Pro. Wifi on top, ethernet on bottom and enabled internet sharing from wifi to ethernet.

I can see the Pineapple, I can connect to the web GUI and SSH into it. It can search for probes, but maybe it is doing only in wlan, cause when I ping Google from the Pineapple (in the ssh session or in the web GUI), it can't ping it.

So... what is wrong with my configuration? Do I have to modify something also in the Pineapple? Why it doesn't get the Internet access from my Mac?

Thank you in advance! :D

Check the IP address of your laptops ethernet port. If it's not 172.16.42.42, then you'll need to either force that IP address, or update the routing table in your Pineapple.

Link to comment
Share on other sites

Check the IP address of your laptops ethernet port. If it's not 172.16.42.42, then you'll need to either force that IP address, or update the routing table in your Pineapple.
This is my Pineapple's routing table:Destination     Gateway         Genmask         Flags Metric Ref    Use Ifacedefault         172.16.42.42    0.0.0.0         UG    0      0        0 br-lan172.16.42.0     *               255.255.255.0   U     0      0        0 br-lan
And in my Mac's settings I've set (on ethernet):

IP Address: 172.16.42.42

Subnet mask: 255.255.255.0
Router: 172.16.42.1
DNS: 8.8.8.8
and still doesn't work... also after a reboot.
Edited by KillerKlown
Link to comment
Share on other sites

In the setup instructions for the Windows ICS, it says to leave the default gateway blank for the Ethernet connected to the Pineapple.

Give that a try?

Try doing a traceroute on your Pineapple and see where the buck stops. If it gets to your ethernet interface on the Mac and stops, then you know your issue is on the bridge.

Link to comment
Share on other sites

I've deleted the DNS entry and tried the traceroute on the web GUI and in the ssh session:

Web GUI response:

blank page with this message: "The CGI process did not produce any response"

SSH session:

root@Pineapple:~# traceroute 173.194.44.16
traceroute to 173.194.44.16 (173.194.44.16), 30 hops max, 38 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15^C

:wacko:
Link to comment
Share on other sites

I've deleted the DNS entry and tried the traceroute on the web GUI and in the ssh session:

Web GUI response:

blank page with this message: "The CGI process did not produce any response"

SSH session:

root@Pineapple:~# traceroute 173.194.44.16
traceroute to 173.194.44.16 (173.194.44.16), 30 hops max, 38 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15^C

:wacko:

173.194.44.16 <--- What IP address is this? Is this your wlan IP address on your mac?

Link to comment
Share on other sites

Ok, so...

This is how the lan is configured (between Pineapple and Mac via ethernet)

config interface lan                option ifname   eth0                option type      bridge                option proto    static                option ipaddr   192.168.2.254                option netmask  255.255.255.0                option gateway  192.168.2.1                option dns        8.8.8.8

And this is how dhcp on lan is configured

config 'dhcp' 'lan'                option 'interface' 'lan'                option 'start' '100'                option 'limit' '150'                option 'leasetime' '12h'                option 'ignore' '0'                list 'dhcp_option' '3,192.168.2.1'                list 'dhcp_option' '6,192.168.2.254,8.8.8.8'


ifconfig on Pineapple:

root@Pineapple:~# ifconfig
br-lan Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:192.168.2.254 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:440 errors:0 dropped:29 overruns:0 frame:0
TX packets:467 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:37044 (36.1 KiB) TX bytes:56793 (55.4 KiB)
eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:516 errors:0 dropped:25 overruns:0 frame:0
TX packets:467 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:52922 (51.6 KiB) TX bytes:56793 (55.4 KiB)
Interrupt:5
eth1 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:4
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:116 errors:0 dropped:0 overruns:0 frame:0
TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9404 (9.1 KiB) TX bytes:9404 (9.1 KiB)
wlan0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:235 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:0 (0.0 B) TX bytes:22872 (22.3 KiB)

ifconfig on Mac (en0 is ethernet and en1 is wifi):

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=2b<RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4>
ether XX:XX:XX:XX:XX:XX
inet6 fe80::426c:8fff:fe12:f63d%en0 prefixlen 64 scopeid 0x4
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
media: autoselect (100baseTX <full-duplex,flow-control>)
status: active

en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether XX:XX:XX:XX:XX:XX
inet6 fe80::7ed1:c3ff:fe71:3d18%en1 prefixlen 64 scopeid 0x5
inet 192.168.1.72 netmask 0xffffff00 broadcast 192.168.1.255
media: autoselect
status: active

Ping on 192.168.2.254

PING 192.168.2.254 (192.168.2.254): 56 data bytes
64 bytes from 192.168.2.254: seq=0 ttl=64 time=0.490 ms
64 bytes from 192.168.2.254: seq=1 ttl=64 time=0.323 ms
64 bytes from 192.168.2.254: seq=2 ttl=64 time=0.263 ms
64 bytes from 192.168.2.254: seq=3 ttl=64 time=0.269 ms

Ping on 192.168.2.72

root@Pineapple:~# ping 192.168.2.72
PING 192.168.2.72 (192.168.2.72): 56 data bytes
not working
Ping on 192.168.2.1
PING 192.168.2.1 (192.168.2.1): 56 data bytes
not working
I'm really getting mad :wacko: hope you can help me!
Edited by KillerKlown
Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

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   1 member

×
×
  • Create New...