I suspect that Kail linux is grabbing an ip address and gateway using dhcp. The pineapple runs dhcpd on the LAN port and will happily hand out the info. I suspect that your /etc/resolv.conf is also getting changed.
Try disabiling dhcp on the ethernet interface you are connecting with the pineapple.
Chris.