Tuesday, September 26, 2017

[Solved] Disable hot corner in gnome-shell

1. Start: gnome-shell-extension-prefs
2. scroll down to TaskBar
      -you should see a gear for the settings, click on the gear























      -a new window opens up
3. Go to the Misc tab
      -if it's hidden, you can click the right arrow until you get to Misc,or just make the window bigger
4. Turn "ON" Disable Hot Corner


















5. Close the the TaskBar window and gnome-shell-extension-prefs and you're done!

**I don't remember installing an extension to disable the hot corner so...if you don't find it, let me know!

Friday, January 6, 2017

[solved] ? Windows takes forever / Windows takes a long time to do a windows update

GASP! an MS Windows post! blasphemy!

...but I use Windows at work and ran into the same problem and looked online for ways to solve it but couldn't find a solution...nothing seemed to work.
However! by combining suggestions I ran into something very interesting. Any time there's a Windows update that includes one for Internet Explorer, the update takes forever!
So instead of manually installing everything willy-nilly, just manually install the one for Internet Explorer and update the rest normally.

1. You can just wait until you get that dreaded notice and try your luck...or go to TN Security Advisories and click on Security Bulletin Summaries, the current year...yeah it's 2017 but no updates yet so click on 2016 (unless it's the future!) and then MS16-DEC.
2. Look for the one that says Internet Explorer under Affected Software and click that Bulletin ID, in this case MS16-144.
3. Find your version, download the Monthly Rollup or Security Only file and manually install the update. I chose the Monthly Rollup.
4. Reboot...twice just in case...cause Windows. Then in Task Manager -> Services, make sure BITS is running. Start it up if it's not running and go take a break for a few minutes.
5. Then, if you haven't gotten the "hey there's updates available" message in the tray, try running Windows Update. It should work a lot faster and hopefully get all the necessary updates.

Every now and then (usually three or four times a month) check that BITS is running (I changed mine to automatic...but for some reason, it changes back to manual so I change it to automatic again...and again..) then open up the Windows Update window to make sure it's checking for updates. You can see if it is by looking at the date...if it hasn't changed since the last update, you may have problems during the next update...but fret not, I haven't had any issues these past few months so it does seems to work.

Hope this helped. And let me know if this worked for you!

Cheers!

I may have unintentionally left something out...if you run into a roadblock let me know.
There are plenty of sites that tell you how to manually install updates so I didn't include those instructions here. google it.

Monday, June 17, 2013

Hey Gordon Ramsay et al or whomever will listen...I have an interesting idea for a show!! (June 18, 2013 Japan Standard Time 10:14am)

I bet you get that a lot Chef Ramsay...but I have an idea that is relevant to today's socioeconomic situation. Currently you have shows geared towards those that are basic cooks wanting to become chefs or those that want to make a name for themselves or wanting a turnaround in their current restaurant. But as most people are struggling to make ends meet, I think a show that takes people in the lower class and shows them how to budget correctly and teaches them how to cook smartly will make for an interesting show. I'm kind of sick of seeing Undercover Boss trying to throw in the very often sap story. Every week it has an employee that had this or that happen to them and it seems staged. With the bottom of the lower class society they have a very limited amount to survive and most struggle or starve. I was watching a show about families in welfare trying to make ends meet with around $25 a week just for food. How about a way to teach them how to make nutritional food and feed their families for the whole week at that amount or under instead of eating canned processed food. How to get things for a lower price or even free since most restaurants throw away their food at the end of the day. Even if you only do a few episodes I think it will help those in need especially the children.


Thanks!

Friday, February 1, 2013

[SOLVED] BUFFALO AirStation WHR-G301N not forwarding ports

So my PCi wireless router died after a little over 2.5 years. I was looking to get another cheap router (I got the PCi one at a second hand shop but unopened for around 1800yen (~$20). The good great thing about it was that the port forwarding was super easy. I just needed to figure out how to allow everything thru from my "CTU" (NTT Hikari Fiber's router). After that it was smooth sailing and I was able to access my computer from the outside without any problems.

Fast forward to a few days ago and...well, BUFFALO happened. What a piece of S**T. And I'm not the only one that has issues with it.

[Edit: Please try the port forwarding first with the original firmware before attempting this as you may be one of the lucky ones and have it work right out of the box.]

If you need it to ONLY use the internet and do absolutely NOTHING else...then it's for you. But if you do anything else well you need to modify it and yes...break your warranty. I didn't care about that! I just wanted the port forwarding to work! And if you do too...these are the steps I took and I hope I don't leave anything out.

***Step 1a is if you haven't changed the firmware yet...if you have been mucking with dd-wrt already, go to Step 1b.***

Step 1a.
Get rid of the stupid OEM firmware and get DD-WRT installed. (Just so you know I installed DD-WRT and port forwarding didn't work right away. If yours did then you suck =p ). You can follow these instructions from HERE to get dd-wrt installed. Then once you've upgraded to the latest firmware, changed the username and password...

(Step 1b. - If you do Step 1a skip this one.
So you already have it installed and been pulling your hair out trying to get port forwarding working but it just won't go...well this is EXACTLY what I did. I got OpenWRT's upgrade file from here and get openwrt-ar71xx-generic-whr-g301n-squashfs-factory.bin (maybe you don't have to but this is how I got mine to work...) then do a firmware upgrade and select "Reset to default settings" and start over (actually it didn't install OpenWRT but it was one of the steps I did to get it working. It's highly possible you just need to reset to "factory defaults".)...see step 2)

Step 2.

DON'T click on "Apply Settings" AT ALL until you finish EVERYTHING! even the port forwarding lines.
Instead click on "Save" for each page/change you make.


These are the lines I put in my NAT->Port Range Forwarding. I have 6 lines...just click add 6 times and then enter your info (IP Address of course should be changed to YOUR server IP).

==============================================================
Application start end Protocol IP Address Enable

1 1 138 Both 192.168.0.100 "checked"
2 140 444 Both 192.168.0.100 "checked"
3 446 630 Both 192.168.0.100 "checked"
4 632 8079 Both 192.168.0.100 "checked"
5 8081 22272 Both 192.168.0.100 "checked"
6 2274 65535 Both 192.168.0.100 "checked"
==============================================================


of course you could change the lines to whatever you wish...but with one line from 1 to 65535 didn't work initially for me but that was before I started over. It might work for you.

Step 3.

After I went thru every single tab and option that I needed, I finally clicked on "Apply Settings" while in the Administration->Management tab. Next I clicked on "Reboot Router". I also rebooted my ISP's equipment...Then I waited and got online and crossed my fingers. Using THIS link (Open ports checker) I did what I did MANY times and clicked on check common links at the right (near the bottom)....and oh the sight of the green flags were amazing =) FINALLY!!! it works!

Hope this wasn't a fluke and that it helps SOMEONE out there!
cheers.

Tuesday, July 17, 2012

So it's summer in Japan and teaching at the schools pretty much suck during Summer and Winter...the main reason => NO CENTRAL AIR!! Right now you're literally sweating all over and pretty much thru your clothes. In the winter it's pretty much the opposite, you're freezing your ass off...but since it's summer I decided to make my own little Y U NO poster...


For the love of God, Japan...get central air at the schools!!!!

Thursday, July 5, 2012

Firefox crashing with html5 and flash...possible fix

So Firefox has been crashing a lot when viewing html5 on youtube, etc. If I just watch the files in the non-full screen mode it's okay but if I do anything that changes...such as seek to a different point in the video or maximize the screen it just crashes.

Well for some reason the new firefox (13.0.1 is the one I have) or maybe even the older version, I'm not sure which, added me to the html5 trial on youtube automatically!!! I just left the html5 testing (click on "leave the html5 trial" @ youtube.com/html5) and now all the vids are back to "normal" =D and I have full screen back!!!

Damn you Adobe! fix this already! I would like to see it in html5 but this crashing has got to stop.

Sunday, April 22, 2012

Bypassing (layer 7) firewalls with proxytunnel and ssh over https/ssl

The whole thing is written out all over the internet.
The site I used was HERE.
And it worked after I made a few adjustments and assuming you patched apache2 to accept a CONNECT thru SSL.

To patch apache...You will need to download the source and install this patch.

1. SU to root since it's easier than sudoing everything and it's less likely to run into issues.
cd /usr/src
2. get the dependencies and download the source.
apt-get build-dep apache2; apt-get source apache2
3. extract the source file.
dpkg-source -x apache2_2.2.16-6+squeeze7.dsc
4. apply the patch (e.g. patch -p0<patch)
5. cd into the apache directory if you're not in there already.
cd apache2-2.2.16
6. build the package and install.
dpkg-buildpackage -b && dpkg -i *.deb

Then you need to set up apache.
I have several virtual hosts set up on apache so I decided that I wanted to make this on a vhost also. What I did was make an entry to add a vhost just for ssh over ssl.

This is what my add "looks" like...ssh.server.org is an example, change it to yours. First I forced ssl usage

/etc/apache2/sites-available/vhost1-sslproxy80

<VirtualHost *:80>
ServerName ssh.server.org
ErrorLog /var/log/apache2/ssh-on-ssl-error.log
Loglevel warn
Redirect 301 / https://ssh.server.org
</VirtualHost>


` then to /etc/apache2/sites-available/vhost1-sslproxy443

<IfModule mod_proxy.c>
<VirtualHost *:443>
ServerAdmin http@localhost
ServerName ssh.server.org
DocumentRoot /var/www/ssh-ssl
ServerSignature off
CustomLog /var/log/apache2/ssh-on-ssl.log combined
Errorlog /var/log/apache2/ssh-on-ssl-error.log
<Directory /var/www/ssh-ssl>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# THIS IS THE CONFIG NEEDED FOR OUR TUNNELLING
# Allow proxy connect (forward-proxy) on port 22 (SSH)
ProxyRequests on
AllowCONNECT 22
ProxyVia on
# Deny all proxying by default...

Order deny,allow
Deny from all
Allow from localhost
Allow from any.local.ip
Allow from any.local.ip.hostname.belonging.to.the.server
Allow from anyother.ip.hostname.you.want.to.allow.connect.from

# END OF TUNNELLING CONFIG
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key
SSLEngine On
SSLproxyengine on
</VirtualHost>
</IfModule>


Then enable the 2 sites using a2ensite
a2ensite vhost1-sslproxy80 vhost1-sslproxy443

This next part is the part that made me lose a few hairs since it kept saying "405 method not allowed" and the fix is that you MUST put your vhost name in the /etc/hosts file!!!

Add a line to /etc/hosts
127.0.0.1 ssh.server.org
assuming that you have a public fqdn or dynamic hostname. (FYI I use no-ip.org)

Then check if apache is started.
If all is good then try her out.