Jump to content

KillerKlown

Active Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by KillerKlown

  1. 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!
  2. 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:
  3. 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.
  4. 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

  5. Ohai!

    Maybe it's a stupid question, but I want to be sure: is it risky to poweroff the pineapple just unplugging the PWR cable? Do i have to ssh into the pineapple and power it off by "shutdown" or "poweroff"? To power it on, after shutted it down with the command, do I just have to plug in the PWR cable? Is there a certain sequence of actions I have to do to correctly power on/off the pineapple?
    Sorry again, but it's an expensive toy and I don't want to break it :P

    Thanks in advance!

×
×
  • Create New...