edwingeorge747 Posted March 2, 2015 Share Posted March 2, 2015 Hello guys, I have a problem in changing current time in the wifi pineapple. I know its a silly thing but i am not to figure it out. Everytime i make it proper it changes. And also i wanted to know how to receive probe requests from cell phones using wifi pineapple. Like obtaining mac address of users along with time stamp. Quote Link to comment Share on other sites More sharing options...
digip Posted March 2, 2015 Share Posted March 2, 2015 (edited) I have a problem in changing current time in the wifi pineapple. I know its a silly thing but i am not to figure it out. Everytime i make it proper it changes.If NTP service is running, you may need to change your time zone since it may automatically update itself based on it's default timezone settings. If after power is gone and it reboots it's not saved, then that also may be why, but I'm not familiar with the hardware and if it has an internal battery for things like the clock and bios or such. https://forums.hak5.org/index.php?/topic/26345-date-and-time/ And also i wanted to know how to receive probe requests from cell phones using wifi pineapple. Like obtaining mac address of users along with time stamp.I may be out of the loop, but I don't think you're going to be able to do what you're asking. If wifi, yes, cell, no, since that's not an 802.11 protocol you can sniff, but someone else chime in since I haven't kept up with the show and what the new Pineapple's capabilities are these days from wifi to GSM and CDMA interception. If you have the pineapple up and running and the phone's wifi enabled with saved AP's then it should on most devices, automatically connect over wifi and show up like any other wireless device would though. There is a subsection dedicated to the pineapple though, which is where you can look of the same question has already been answered. Sure if a mod sees this, will probably move the thread for you, but I would check in there first. Just don't double post the same question there that you did here. Edited March 2, 2015 by digip Quote Link to comment Share on other sites More sharing options...
edwingeorge747 Posted March 4, 2015 Author Share Posted March 4, 2015 How to check whether NTP is running? and how to change default timezone settings Quote Link to comment Share on other sites More sharing options...
cooper Posted March 4, 2015 Share Posted March 4, 2015 ps -ef | grep ntp Look for the location nearest to where you want your timezone to be under /usr/share/zoneinfo so if you were living in the netherlands that would be /usr/share/zoneinfo/Europe/Amsterdam Take the part after the initial part and write that into /etc/timezone so in my example that file would contain the text "Europe/Amsterdam". A restart at this point is the most convenient way to make the system use that timezone. In the mean time you can have any program you start from your current shell accept that timezone when you export TZ=Europe/Amsterdam or whatever is appropriate for you. Verify using the 'date' command. Quote Link to comment Share on other sites More sharing options...
edwingeorge747 Posted March 4, 2015 Author Share Posted March 4, 2015 I could not find the timezone file in etc. I stay in miami. So can you tell accordingly what would i need to do. I think mine is GMT-5.00 Quote Link to comment Share on other sites More sharing options...
cooper Posted March 4, 2015 Share Posted March 4, 2015 (edited) Just create the file. Restricted to the US, your options are: Alaska Aleutian Arizona Central Eastern East-Indiana Hawaii Indiana-Starke Michigan Mountain Pacific Pacific-New Samoa echo "US/[one of the above]" > /etc/timezone Edited March 4, 2015 by Cooper Quote Link to comment Share on other sites More sharing options...
edwingeorge747 Posted March 4, 2015 Author Share Posted March 4, 2015 I am not able to change the time.. Ok just tell me whether i have done correctly.. I created a file timezone using touch timezone and then wrote the text US/Eastern and then run the command echo "US/Eastern" > /etc/timezone. After this when i check the date there is no change. Quote Link to comment Share on other sites More sharing options...
digip Posted March 5, 2015 Share Posted March 5, 2015 Did you reboot or restart NTP afterwards? I think there is another thread though that seb made changes using PHP to updated the time/timezones in hte Mark IV forums describing what was done, but not sure if you edit the PHP to configure your timezone or if they have a config specific for the pineapple that works differently than regular linux or if it even uses NTP. Quote Link to comment Share on other sites More sharing options...
cooper Posted March 5, 2015 Share Posted March 5, 2015 Indeed, it required a restart of the Pineapple. To see what the effect ought to be relative to your current shell, run: export TZ=US/Eastern date Just to stress this point: Anything that you start from this shell session will know about that timezone. Everything else will be none the wiser. Quote Link to comment Share on other sites More sharing options...
edwingeorge747 Posted March 6, 2015 Author Share Posted March 6, 2015 I tried it. Even then its not working. I just saw that there is an opkg package for the timezone- northamerica . But the problem is it shows this error. * verify_pkg_installable: Only have 92kb available on filesystem /overlay, pkg zoneinfo-northamerica needs 94 I even checked and saw that my overlay file is almost full. So can anyone tell me how to change download path for opkg to another folder or to the sd card Quote Link to comment Share on other sites More sharing options...
digip Posted March 7, 2015 Share Posted March 7, 2015 Not sure if you can edit them manually, unpack and repack them, maybe remove some comments and overwrite it, but I'd say, check with Seb in the pineapple forums for help since this is probably already fixed or a solution exists with a one liner command line statement to correct it. 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.