Scrag Posted August 31, 2013 Share Posted August 31, 2013 Rather than buy a new ALFA wireless NIC, I figured id just buy a new pineapple. My first pineapple connects to any available open wireless LAN, thanks to Sympac's script. I figured to tether my new pineapple to this one, Id have to disable the bridge (172.16.42.1) on it and setup a static IP on it as if it was like my laptop. Ive attached a JPEG showing my basic configuration. I edited /etc/config/network (i think I have that right) to the following below: config interface loopback option ifname lo option proto static option ipaddr 127.0.0.1 option netmask 255.0.0.0 #config interface lan # option ifname eth0 # option type bridge # option proto static # option ipaddr 172.16.42.1 # option netmask 255.255.255.0 # option gateway 172.16.42.42 # option dns 8.8.8.8 config interface wan option ifname eth1 # option proto dhcp option proto static option ipaddr 172.16.42.42 option netmask 255.255.255.0 option gateway 172.16.42.1 option dns 8.8.8.8 #config switch eth0 # option enable_vlan 1 #config switch_vlan # option device eth0 # option vlan 1 # option ports "0 1" config interface usb option ifname usb0 option proto dhcp Anyway, now my first pineapple, the one that connects automatically to the internet, doesnt boot up fully. Please tell me what I did wrong. Thank You Very Much!!! Scrag Quote Link to comment Share on other sites More sharing options...
Scrag Posted August 31, 2013 Author Share Posted August 31, 2013 Maybe an easier way to put this question would be - How do I turn one of my pineapples (the LAN Client) into a normal "PC" so to speak. Since im tethering another pineapple (the AP) to it, im trying to remove the bridge and setup a static IP on eth1 with an IP of 172.16.42.42 on the LAN Client pineapple. This is what im trying to accomplish above in my network config, but since my pineapple doesnt come up, im assuming i did somethng wrong. Thanks again. Scrag Quote Link to comment Share on other sites More sharing options...
deathdealerxx Posted August 31, 2013 Share Posted August 31, 2013 (edited) To tether one pineapple to the other all you need to do is the following. 1st Pineapple everything is default. 2nd Pineapple set your ipaddr to 172.16.42.2 and gateway to 172.16.42.1. That's it. You have to connect PoE/Lan to PoE/Lan http://www.youtube.com/watch?v=DHBd-2yI6M0 Edited August 31, 2013 by deathdealerxx Quote Link to comment Share on other sites More sharing options...
Scrag Posted August 31, 2013 Author Share Posted August 31, 2013 Awesome! Thank you very much Deathdealerxx. Quote Link to comment Share on other sites More sharing options...
Scrag Posted September 1, 2013 Author Share Posted September 1, 2013 (edited) Actually it looks like im still having issues. Ive gone through the video a few times that Deathdealerxx provided. Its seems very simple. Ive tried this as the video instructed and it didint work. See Below: uci set network.lan.ipaddr=172.16.42.2 uci set network.lan.gateway=172.16.42.1 uci commit network <reboot> I re-flashed my Pineapples and tried again - still no go. My first pineapple (172.16.42.1) uses wlan0 to connect to the closest open Access Point it can. This so far works fine. It connects and I have internet access on the pineapple. This pineapple I just intend to use as a wireless NIC to get internet. The 2nd pineapple (172.16.42.2.), as set with the uci commands, will not get to the internet. Both pineapples can ping one another, but the 2nd one has no internet. And of course, If I connect to the wireless on the 2nd pineapple (as its my AP pineapple) clients have not internet access. Do I need to setup a route statement on one of these pineapples? Do I need to run the wp4.sh script on the 172.16.42.1 pineapple? Thanks, Scrag Edited September 1, 2013 by Scrag Quote Link to comment Share on other sites More sharing options...
Scrag Posted September 1, 2013 Author Share Posted September 1, 2013 Nevermind. I got it to work. I had to run the "not so quick version" of the wp4.sh script on my (172.16.42.1) pineapple. I subsitiuted eth0 for br-lan in the script and now everything works. :) Quote Link to comment Share on other sites More sharing options...
deathdealerxx Posted September 1, 2013 Share Posted September 1, 2013 you could also use the WiFi Manager and setup ICS. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.