condor Posted March 9, 2012 Share Posted March 9, 2012 The wiki page says it's version 1.0.1 Your link says it's version 1.0.2 both are named update.bin i am too stoned right now Quote Link to comment Share on other sites More sharing options...
Valsacar Posted March 9, 2012 Share Posted March 9, 2012 I just upgraded from 1.0.1 to 1.0.2 and it reset everything, I was playing with rick roll and it was gone, my changes to /etc/config/wireless and /etc/config/uhttpd were gone, as was my changed password... was that intended with upgrades? Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted March 9, 2012 Share Posted March 9, 2012 I just upgraded from 1.0.1 to 1.0.2 and it reset everything, I was playing with rick roll and it was gone, my changes to /etc/config/wireless and /etc/config/uhttpd were gone, as was my changed password... was that intended with upgrades? Think of "Upgrade" as a firmware flash. The settings will be changed to defaults just as a Linksys firmware upgrade. Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted March 9, 2012 Author Share Posted March 9, 2012 The wiki page says it's version 1.0.1 Your link says it's version 1.0.2 both are named update.bin i am too stoned right now I will make sure to clarify that in the post. The latest firmware will always live at upgrade.bin AND at upgrade-version.bin. This is because of the coming OTA upgrade. You can trust the latest post, the links will be correct as will the changelog. If there is a new version that post will be upgraded. The wiki may be a bit slower. Best, Sebkinne Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted March 9, 2012 Share Posted March 9, 2012 I will make sure to clarify that in the post. The latest firmware will always live at upgrade.bin AND at upgrade-version.bin. This is because of the coming OTA upgrade. You can trust the latest post, the links will be correct as will the changelog. If there is a new version that post will be upgraded. The wiki may be a bit slower. Best, Sebkinne I updated the wiki with this information Seb ;) Quote Link to comment Share on other sites More sharing options...
DeSkiCiO Posted March 9, 2012 Share Posted March 9, 2012 Hi! Yesterday I decided to pull out my FON 2201 and try out what I could do with it. At first I started messing with the Jasager cook. And then I read that the pineapple MK3 was compatible with the fonera so I went ahead and flashed it. It's not working awesomely but I'm able to boot and access the router so I'm fine with that. The issue comes when I try to update to MK4. I try to upload the upgrade.bin with winscp and when I get to 50% it crashes and the fonera reboots! (Probably out of space) My only option is to flash using the gargoyle FonFlash.exe, but I can't find the .squashfs and the .lzma to do so. Can I use this 2 instead? http://www.wifipineapple.com/mk4/factory/rootfs.bin http://www.wifipineapple.com/mk4/factory/kernel.bin Thanks guys! Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 9, 2012 Share Posted March 9, 2012 (edited) Hi! Yesterday I decided to pull out my FON 2201 and try out what I could do with it. At first I started messing with the Jasager cook. And then I read that the pineapple MK3 was compatible with the fonera so I went ahead and flashed it. It's not working awesomely but I'm able to boot and access the router so I'm fine with that. The issue comes when I try to update to MK4. I try to upload the upgrade.bin with winscp and when I get to 50% it crashes and the fonera reboots! (Probably out of space) My only option is to flash using the gargoyle FonFlash.exe, but I can't find the .squashfs and the .lzma to do so. Can I use this 2 instead? http://www.wifipinea...tory/rootfs.bin http://www.wifipinea...tory/kernel.bin Thanks guys! you need to read before doing something like this!!! the mark4 is not compatible with the fon yet. upgrade.bin is only used for the mark4 hardware. do not attempt to flash until there is a release for the earlier hardware. Edited March 9, 2012 by petertfm Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted March 9, 2012 Share Posted March 9, 2012 Seb, I was looking at a possibility to power on/off some of the Leds on the MK4. I found that you use wifiLedOff/wifiLedOn for karma status. I ssh'ed on the MK4 and tried to issue command wifiLedOff but I get the following error: Error whilst opening /dev/gpio Do you know what the issue can be ? Do you know another way to control the Leds ? Thanks! Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted March 9, 2012 Author Share Posted March 9, 2012 Whistle Master, I have re-written them to work for the MK4 already, it has just not been implemented yet. I had forgotten to remove the scripts. Expect it in the next build. Best, Sebkinne Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted March 9, 2012 Share Posted March 9, 2012 You're the man ;) Thanks ! Quote Link to comment Share on other sites More sharing options...
DeSkiCiO Posted March 10, 2012 Share Posted March 10, 2012 you need to read before doing something like this!!! the mark4 is not compatible with the fon yet. upgrade.bin is only used for the mark4 hardware. do not attempt to flash until there is a release for the earlier hardware. Hehehehe! I couldn't find any information thats why I asked :) I'll keep on playing with the Mark3 then! Thanks for the help. Quote Link to comment Share on other sites More sharing options...
abs0lut3z33r0 Posted March 10, 2012 Share Posted March 10, 2012 Is the upgrade.pin complete FW , will it work with OpenWRT AP121's ? Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 10, 2012 Share Posted March 10, 2012 Sebkinne? I have a question and a couple ideas when I add ifconfig wlan0 down macchanger -r wlan0 ifconfig wlan0 up to the startup script at the very top before wifiled It does not seem to change the mac of wlan0? odly if i check the log it shows that the mac was changed? and my ideas/hopes for the firmware are: a place to edit the mac address of wlan0 in the ui. and when you change the ssid inside the ui, have it stick after reboots I am on 1.0.2 and have karma autostart. thank you again:-) Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted March 10, 2012 Author Share Posted March 10, 2012 Sebkinne? I have a question and a couple ideas when I add ifconfig wlan0 down macchanger -r wlan0 ifconfig wlan0 up to the startup script at the very top before wifiled It does not seem to change the mac of wlan0? odly if i check the log it shows that the mac was changed? I will check this out to see that it works properly. I am quite sure it does though as I have used it before. But yeah, I will check it out. and my ideas/hopes for the firmware are: a place to edit the mac address of wlan0 in the ui. and when you change the ssid inside the ui, have it stick after reboots Both of these options are coming. I have to be honest, I forgot about the persistence thing. Both input boxes will have a "persistent?" checkbox next to them. Thanks! Best Regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
dang Posted March 10, 2012 Share Posted March 10, 2012 Sebkinne? I have a question and a couple ideas when I add ifconfig wlan0 down macchanger -r wlan0 ifconfig wlan0 up to the startup script at the very top before wifiled It does not seem to change the mac of wlan0? odly if i check the log it shows that the mac was changed? and my ideas/hopes for the firmware are: a place to edit the mac address of wlan0 in the ui. and when you change the ssid inside the ui, have it stick after reboots I am on 1.0.2 and have karma autostart. thank you again:-) For now if you need a persistent ssid you can find it under /etc/config/wireless near the bottom option ssid pineapple Quote Link to comment Share on other sites More sharing options...
craig Posted March 11, 2012 Share Posted March 11, 2012 My new Mark 4 arrived (Thank you), and I would like to upgrade to the latest firmware. Would you be willing to post the md5sum along with the firmware upgrade.bin file? That would give me more confidence that the downloaded upgrade is correct before I upgrade. Keep up your great work, Craig Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 11, 2012 Share Posted March 11, 2012 I will check this out to see that it works properly. I am quite sure it does though as I have used it before. But yeah, I will check it out. Both of these options are coming. I have to be honest, I forgot about the persistence thing. Both input boxes will have a "persistent?" checkbox next to them. Thanks! Best Regards, Sebkinne Great:-) I found what works for macchanger in the execute on boot script under jobs tab wifi hostapd_cli -p /var/run/hostapd-phy0 karma_enable #Don't touch this ifconfig wlan0 down macchanger -r wlan0 ifconfig wlan0 up exit 0 for whatever reason it needs to be after "hostapd_cli -p /var/run/hostapd-phy0 karma_enable #Don't touch this" and before "exit 0" Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 11, 2012 Share Posted March 11, 2012 Great:-) I found what works for macchanger in the execute on boot script under jobs tab wifi hostapd_cli -p /var/run/hostapd-phy0 karma_enable #Don't touch this ifconfig wlan0 down macchanger -r wlan0 ifconfig wlan0 up exit 0 for whatever reason it needs to be after "hostapd_cli -p /var/run/hostapd-phy0 karma_enable #Don't touch this" and before "exit 0" Scratch that it works:-( if I have the pineapple start without karma enabled it seems to work you see pineapple ssid broadcasted but as soon as you enable karma there is no network broadcasted. also on a side note if you use the -r switch in macchanger random mac it seems to give the same one out all the time probably using the up time as a randomizer and since macchanger -r wlan0 runs at the same time it gets the same results. Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 11, 2012 Share Posted March 11, 2012 sorry if it looks like I am posting here a lot. Still on mark4 v1.0.2 BUG: refresh link at bottom of log tab does not refresh. And a question if anyone can answer? How can I make the WPS button script toggle between enabling and disabling dnsspoof? here is what i used to enable dnsspoof: php /www/pineapple/startdnsspoof.php Quote Link to comment Share on other sites More sharing options...
dang Posted March 11, 2012 Share Posted March 11, 2012 sorry if it looks like I am posting here a lot. Still on mark4 v1.0.2 BUG: refresh link at bottom of log tab does not refresh. And a question if anyone can answer? How can I make the WPS button script toggle between enabling and disabling dnsspoof? here is what i used to enable dnsspoof: php /www/pineapple/startdnsspoof.php The first day I got my pineapple iv I went here pineapple wiki but looks like the wps button guide changed. Made for more functionality. Forum Link Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted March 11, 2012 Author Share Posted March 11, 2012 BUG: refresh link at bottom of log tab does not refresh. The log does not constantly update. It may take some time for new content to show up. I just tested it and it worked for me. Can anyone else reproduce? Try waiting for a minute and hitting the refresh button again. Best, Sebkinne Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted March 11, 2012 Share Posted March 11, 2012 Seb, Regarding, the IP address of the WAN Port, the command seems to be incorrect, as it tries to get information about the "wan" interface but if I ssh in the pineapple and issue a ifconfig command, I don't see any "wan" interface. Also, the cut -c6-16 isn't enough for an IP like XXX.XXX.XXX.XXX ifconfig wan | grep inet | awk '{print $2}' | cut -c6-16 The command should be the following, isn't it ? ifconfig eth1 | grep inet | awk '{print $2}' | cut -c6-20 Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 11, 2012 Share Posted March 11, 2012 The log does not constantly update. It may take some time for new content to show up. I just tested it and it worked for me. Can anyone else reproduce? Try waiting for a minute and hitting the refresh button again. Best, Sebkinne Seb it still happens, when I go to the log tab and wait for a bit then press the refresh link at the bottom of the page nothing happens? but when i press the refresh button in my firefox browser it refreshes the page and there is new entries in the log. another question I have is: when karma is enabled at the bottom of my list of possible APs to connect to there is a network called "Other Network"? it seems to be detecting a network that is using a hidden ssid because when i connect windows asks for the ssid. I am using windows 7 64bit. thanks again:-) Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 12, 2012 Share Posted March 12, 2012 reverse ssh sounds good but also having services like DynDns Ect that home routers sometimes make use of would be cool. sign up with one of the many available IE get a SomeNameYouPicked.dyndns.org then through the pineapple UI set it up and from that point on use "ssh root@SomeNameYouPicked.dyndns.org"? Quote Link to comment Share on other sites More sharing options...
Valsacar Posted March 12, 2012 Share Posted March 12, 2012 (edited) Great:-) I found what works for macchanger in the execute on boot script under jobs tab wifi hostapd_cli -p /var/run/hostapd-phy0 karma_enable #Don't touch this ifconfig wlan0 down macchanger -r wlan0 ifconfig wlan0 up exit 0 for whatever reason it needs to be after "hostapd_cli -p /var/run/hostapd-phy0 karma_enable #Don't touch this" and before "exit 0" I found a solution, but it can increase boot time quite a bit (anywhere between 0 and 15 seconds in my setup, but you can change that). Unfortunately random isn't available, so this was the only solution I could come up with. Create a new script, I called mine changemac.sh !#/bin/bash read RAND RAND=$(($RAND % 15)) ifconfig wlan0 down sleep $RAND macchanger -r wlan0 ifconfig wlan0 up wifi The % 15 is your max, so you can change that to whatever you want (ie % 10 for 0-10) chmod +x changemac.sh I put mine in /root (home directory). edit /etc/config/wireless comment out (or remove) the line that says "option macaddr" Add a line that says "option phy phy0" Then in your boot script make it this: wifi hostapd_cli -p /var/run/hostapd-phy0 karma_enable #Don't touch this dd if=/dev/urandom bs=1 count=1 | hexdump -e '5/1 "%1d"' | /root/changemac.sh exit 0 That's it, it'll use /dev/urandom to get some random bits, change it into a number between 0-255, then drop that down to 0-15 and sleep for that long. It's not clean, but it works... if anyone can clean it up or find a better way let me know. Edited March 13, 2012 by Valsacar 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.