I’ve deployed the Wifi pineapple firmware on a GL-AR150, and wanted to use the second ethernet port for connecting to the Internet.
The normal configuration is to connect the controlling PC to the WAN port on the GL-AR150, this is eth0 within Wifi Pineapple. The web interface on the wifi pineapple does not appear to allow configuration of the other interface. Logging into the GL-AR150 using ssh allows configuration of eth1. I use ssh to set the IP address on eth1, which reports an error, but seems to work.
root@Pineapple:~# ifconfig eth1 192.168.1.252 255.255.255.0 ifconfig: SIOCSIFADDR: Invalid argument root@Pineapple:~#
The default route can now be added to eth0 using the web gui.
Bridged networks can be displayed using the command:
root@Pineapple:~# brctl show bridge name bridge id STP enabled interfaces br-lan 7fff.e4956e4061d2 no eth0 wlan0 root@Pineapple:~#