Posts

Showing posts with the label Hacking

Wakeup from suspend, wireless Bluetooth / RF keyboard, udev and Ubuntu12.10

Finally got my HTPC wireless controls to wake-up it from suspend. I'm using PS3 BD Bluetooth remote with Trust Bluetooth 3.0 USB receiver (Atheros AR3011) and Logitech Wireless K400r with Logitech Unifying Receiver.

Recovering Zcom ZCN-1523H and Planet WNAP-7300 from bad firmware flash

OpenWrt Attitude Adjustment Beta2 images for Zcom ZCN-1523H a.k.a Planet WNAP-7300 are broken. You can do recovery by opening case (three hidden screws under label on back) and soldering serial port (115200-8-N-1, TX closest to AR71xx, RX next and then GND, ignore fourth pin). After adding serial port cause of fault was quite obvious (kernel lacks support for ZCN-1523H) and also how to repair it without adding serial port.

Send-to-self on Linux

Just copy-paste of script and link to mailing-list archives. This will allow sending traffic to self on linux over physical or virtual wire. This is seriously cool trick and required patches are now included in kernel so it works out of the box on Ubuntu 12.04.

Recovering Buffalo WZR-HP-AG300H from bad firmware upgrade

Recently I managed to flash bad custom build of OpenWrt to my Buffalo WZR-HP-AG300H rendering it unbootable. See below for tips how to flash latest OpenWrt over TFTP from Windows XP client.

Compiling Strongswan 4.6.4 for Ubuntu 12.04

Debian and Ubuntu are still shipping ancient Strongswan packages. Today I wanted to do some testing with kernel crypto algorithms (af-alg) but Ubuntu Stronsgwan package had them disabled.

Handbrake auto-crop and channel logos

Updated:  http://blog.asiantuntijakaveri.fi/2013/04/handbrake-auto-crop-and-channel-logos.html

Linux multipoint GRE tunneling

Here's another interesting little known feature of Linux kernel GRE support.

Layer 2 over Layer 3 using Linux built-in features

Often it's not necessary to encrypt traffic when tunneling L2 network over L3 in corporate environment. I hear, you say use OpenVPN, tinc, gvpe, n2n etc. Now, did you know that there's easy built-in solution that has been part of Linux kernel since 2.6.29? If you need encryption just use IPsec to protect GRE traffic.

Planet WNAP-7300 (Zcomax ZCN-1523H-5) with OpenWrt r29664

It turned out to be just like I suspected , Planet WNAP-7300 (at least with firmware "2.0.3(PL)4") is exactly same device as Zcomax ZCN-1523H-5. Atheros AR7240 rev. 2 at 350MHz, Atheros AR9280 rev 2 5GHz radio, 32MB RAM, 8MB Flash and two 10/100 Ethernet ports. Therefore it works with Zcomax OpenWrt firmware. Bridge performance seems acceptable, around 70Mbit/s real world in bridged mode and 60Mbit/s if OpenWrt is doing NAT. With around 25 meters nearly line-of-sight performance is ~40Mbit/s. All tests uni-directional TCP (FTP/HTTP) with no other traffic than ICMP echo going on at the same time.

Running Mac OSX Lion 10.7.2 with VMware Workstation 8.0.1 for Linux

Host system configuration: Intel Core2Duo 6300 w/VT CentOS 5.7 x64 VMware Workstation 8.0.1

Unpacking Planet Tech. Corp. WNAP-7200 and WNAP-7300 wireless APfirmware

Instructions were tested with Ubuntu 11.04.

Extroot on USB with OpenWrt

My notes on setting up extroot on USB memory stick with OpenWrt on TP-Link MR3220 v1.