Misc

Here’s how to come up with 978307200 and what this number represents.. the number of seconds in between the years Jan 1st, 1970 and Jan 1st 2001.. which is 31 years + 8 leap year days…so

31 years 365 days 8 leap year days 24 hours in a day 60 minutes in a hour 60 seconds in a minute

((31*365))+8)*24*60*60  = 978307200

So with this info, you can change the unix timestamps into human readable form.

Take your timestamp and add 978307200 to it..

timestamp + 978307200 =

285884884.420929 + 978307200 = 1264192084.42093

Now take 1264192084.42093 and divide this by the # of seconds in a day +25569..

1264192084.42093/86400 + 25569 = 40200.8528289459

Now if you take this 40200.8528289459 and convert this to a date in Excel you will get the timestamp..

40200.8528289459 = Friday, January 22, 2010 20:28:04

In Excel or Libre Office Calc

A2 = unix timestamp

=A2+978307200 = A3

=A3/86400 +25569 = A4

Convert A4 to date …and there you go…

 

I tried about 10 different methods from peoples suggestions on getting my Xbox One to get the network to be an Open Nat, instead of the damn strict NAT and I had a hell of a time getting this to work…finally found this thread on dslresports.com and it worked like a charm.

i have to thank pfsense forum user (and dslr forum user) AhnHEL (he actually found my original post, here, on dslr), he sent me a PM and gave me step by step directions and everything worked, NAT is now reporting as open for the xbone.

just as his directions stated, i recommend putting any settings back to how they were, assuming you followed others threads/directions with no luck. i changed all my settings back to what they were prior to making this thread and followed his directions. the only thing i had to do was pull the power plug from my xbone. after following the steps, the nat went from strict to moderate, but i ran the rest after power cycling the xbone and nat switched to open.

dhcp mapping will work, but i statically set my xbone to an ip outside of the DHCP scope instead.

quote:


Ok, I dont know what you still have setup while you were trying to get this to work but remove any port forwards or rules that you created previously. We’re going to try the UPnP method because its the easiest method to configure. Keep your XBone off while setting this up.

1. I’m sure you have done this, but setup a static DHCP mapping for your XBox One. In my settings below this is 192.168.39.17

2. Now go to Firewall: NAT: Outbound and select Manual Outbound NAT and hit save. This should at default create two entries a LAN mapping and a Localhost mapping.

3. Now add a mapping for your XBox One’s static DHCP IP address on your LAN interface with a /32 as a mask bit in the Source section. In the Translation section of this mapping, select the “Static Port” checkbox. Give the mapping a name like XBone AON and save.

4. Now take this XBone AON mapping rule and move it ABOVE your Default LAN mapping and hit Save.

5. Go to Services: UPnP & NAT-PMP and setup as follows: check enable upnp and nat-pmp, check allow upnp port mapping, external interface, WAN, interaces, LAN, user specified permissions 1, allow 88-65535 192.168.39.17/32 88-65535 Then hit Change.

6. Now to be sure no states to the XBox are lingering from a previous connection, go to Diagnostics: Reset state and Reset.

7. Now fire up your XBox and you should be at NAT Open. If not, double check your settings and if you have a managed switch on your network, disable Multicast filtering on the switch.


regarding number 6, as stated i power cycled off my xbone, clearing the states was not enough.

regarding number 7, the xbone is connected to a managed switch, but i did not need to change any settings on the switch.

thanks again, AhnHEL.

 

Here’s the entire thread.

Found this on one of my Fedora boxes after noticing it was pretty sluggish on bootup. Tool is called systemd-analyze.

$ sudo systemd-analyze
Startup finished in 3405ms (kernel) + 3034ms (initramfs) + 141900ms (userspace) = 148341ms

Find the culprits to your slow ass startup. Hello sendmail..

$ sudo systemd-analyze blame | head -7
60127ms sm-client.service
60058ms sendmail.service
13492ms fedora-loadmodules.service
8489ms fedora-wait-storage.service
5202ms remount-rootfs.service
3176ms systemd-vconsole-setup.service
3127ms fedora-storage-init.service

There’s a bunch more you can do with systemd. You can plot out your boot up times, can mask off services so they don’t startup, look at kernel times etc.

Might continue more on this another time..

ATRIX – External Hard Reset
How do I perform an external “Hard Reset” sequence to manually reset my phone to factory settings?

If there are significant problems with the device or you are not able to perform a factory data reset through settings (locked out of handset, frozen screens), please use the following process to manually reset the phone:

WARNING: Factory Data Reset is a tool used to remove everything that was imported, added or installed on the device. When using this feature; information you have programmed in the handset, i.e. apps downloaded through the Market, Contacts, Email and Social network Accounts is deleted, however, nothing stored on the Internal Storage Memory or MicroSD (if available), i.e., pictures, music, videos, etc. will be affected.

(Steps on Froyo 2.2)

To perform an External Manual Reset of your handset to restore to factory settings, read instructions below and then perform.

  1. Power off the phone, press and hold volume down button, press power button.
  2. Screen will come up with “Fastboot”, press Vol down key to cycle through choices until you get “Android Recovery”, then press Vol up key
  3. Wait for the “triangle ! / Android” screen then go on to step 4
  4. Tap on bottom right corner of the screen (may take a few times). a menu will come up
  5. Tap on “wipe data/factory reset”, and tap OK. Another Confirmation screen will come. Tap Yes and OK
  6. After userdata is cleared, the “reboot system now” option will be highlighted by Default. Tap OK.
  7. Phone will reboot to initial setup MOTOBLUR screen.

Tip: Once you’ve reset your device, you can use your existing account to sync your contacts back to the phone.