Archive for the 'linux' category

I have a simple DIY lo-fi microphone on the pine tree in front of our house: I record 20 sec long samples with it, every 4th hour. Then these wav files get mixed together to produce a 2 minute long output which I can use as a background sound under my automatic webcam timelapse videos. […]

USB reset under Linux

If you want to simulate device unplug and replug from software, use this tool: usbreset /dev/bus/usb/001/006 (001 is the bus ID, 006 is the device ID, you can find these for your device using lsusb)

Modified uvccapture

I’m using Microsoft LifeCam Cinema webcams, which support both YUYV and MJPEG capture modes. However, in YUYV mode, auto exposure correction doesn’t work correctly (or maybe at all). After resetting (or plugging out and in) a webcam, the exposure will be at max, and it won’t auto change if I use the YUYV mode. In […]

Just a note for myself :) 1ffmpeg -i %04d.jpg -f image2pipe -vcodec copy – | ffmpeg -r 4 -f image2pipe -vcodec mjpeg -i – -vcodec mpeg4 -vb 7000000 -an -y out.avi

My VoIP system

In the past few weeks I worked converting our home and work telephone system to VoIP. Here you can see the schematics: I’ve used the following VoIP adapters: Linksys SPA-3000, Linksys PAP2T, Linksys SPA-1001 (all from eBay of course). I have separate Skype users for home and the shop (skype-otthon, skype-uzlet) with a country-wide landline […]

If I call #88 on my VoIP system, I’ll hear a synthesized voice saying the current outside temperature. The quality and readibility is quite bad, but the whole thing is not hard to set up, and this way my Mom & Grandma can also listen to the temperature, so it’s worth it :) Here’s how […]

Measuring temperature

See my other post about measuring temperature with USB Temper devices using a router with OpenWRT here! I’ve bought two TEMPer USB sticks from eBay and installed one of them in my room and the other one on the pine tree in front of our house. The outside sensor is around 3m from the ground, […]

T-Com IPv6 test

My ISP runs an IPv6 test since the autumn of 2009. Now I write a post about my settings on my home Debian server/router which work correctly for me to use IPv6. I have a script called /etc/network/if-up.d/adsl which starts the v4 PPPOE connection: #!/bin/sh pppoe-start /etc/ppp/pppoe-ipv4.conf /etc/network/if-down.d/adsl: #!/bin/sh pppoe-stop /etc/ppp/pppoe-ipv4.conf pppoe-stop /etc/ppp/pppoe-ipv6.conf killall -9 […]

Other sites mostly working? Then your MTU setting is incorrect. Try: ip6tables -t mangle -A FORWARD -p tcp –tcp-flags SYN,RST SYN -j TCPMSS –set-mss 1452 And in radvd.conf (interface xxx section): AdvLinkMTU 1452; Renew your Windows clients with ipconfig /renew6 and then check MTU with netsh interface ipv6 show subinterfaces, it should be 1452. You […]

Here’s how you can make and receive Skype calls from Asterisk without purchasing Skype for Asterisk from Digium. We’ll use stsProxy and SipToSis. The main benefits of this method is that you can access Skype as a normal user, you don’t have to create a business user for the SIP interface needed by Asterisk, and […]

About me

Nonoo
I'm Nonoo. This is my blog about music, sounds, filmmaking, amateur radio, computers, programming, electronics and other things I'm obsessed with. ... »

Twitter

Listening now

My favorite artists