Other contacts

Novi članci

Flickr Goodness


wireless Archive

June 19, 2013 @ 21:14

Reading temperature with WR703N and DS18B20 on OpenWrt


You can easily get temperature readings from external Dallas DS18S20 sensors (1-wire protocol) on your TP-Link WR703N.
First things first, grab your credit card and order few Dallas DS18S20 sensors and usb to serial adapters. Now you need to connect Dallas DS18S20 sensor to USB to serial adapter.
After you got hardware part sorted now you need to setup software part. Main tool for reading temperature from 1-wire sensors is digitemp. Digitemp uses bit-banging to emulate 1-wire protocol over serial port.
opkg install digitemp
You also need usb to serial kernel module (driver) so install that also:
opkg install kmod-usb-serial-cp210x
After digitemp is installed you need to search 1-wire bus for all connected sensors, each sensor has it’s unique address so is has to be discovered and added to config file with this command:
digitemp_DS9097 -s /dev/ttyUSB0 -i
Now you can read temperature from your sensor:
digitemp_DS9097 -a -q

Filed under diy, english, gadgets, wireless · 1 Comment »

April 15, 2013 @ 10:16

Compiling tunneldigger client on Fedora

Compiling tunneldigger client on Debian/Ubuntu is pretty straight forward if you follow official instructions.
For Fedora I just needed to find appropriate package names and install them first:
sudo yum install iproute bridge-utils libnetfilter_conntrack python-devel libevent-devel ebtables libnl-devel python-pip
then you just need to pull code from git:
git clone git://github.com/wlanslovenija/tunneldigger.git
and then just compile tunnel-digger client:
cd tunneldigger/client


Filed under english, wireless · No Comments »

April 13, 2013 @ 19:52

Tweak Wireless Power Output on OpenWrt and Linux

This post is just to remind me later of few misc openwrt wireless commands.
First there is no iwconfig you need to install it:
opkg update
opkg install wireless-tools

iwconfig command shows current wireless power outpu:
# iwconfig
wlan0 IEEE 802.11bgn Mode:Master Tx-Power=20 dBm

Maximal power is defined by multiple capability of your hardware and by laws in your country (regulatory domain).
Read rest of story…

Filed under diy, english, linux, tips&tricks, wireless · No Comments »

May 9, 2012 @ 22:23

Maximum wifi speed with OpenWRT? (802.11a Turbo mode aka Super A)

Hi, we have been testing what is the absolute maximum speed over wifi when using openwrt, for out test we used this hardware:
– 2 x Ubiquity Router station
– 2 x Wistron CM9 802.11a/b/g mini pci cards
– 2 x 3dBi omni antennas
– openwrt version – backfire 10.03.1
– wifi driver – madwifi
– distance – 2 meters (same room)
– encryption – psk2
For benchmarking we installed iperf package and used default settings (tcp packets in one direction).
First we tested “plain” 802.11a mode (hwmode 11a) on channel 40 and we got 30-35Mbit speeds.
Then we switched to 801.11a turbo (hwmode 11ast) and got 55-60 Mbit speeds.
Is this the maximum speed possible? Are there any other tweaks we can do to get faster speeds?
Did you get faster speeds? How? Which gear did you use? We didn’t make results artificially better by using udp packags, my guess by using udp packages we could get near 100 Mbit speeds.
Are there any openwrt tutorials for tweaking and benchmarking maximum speed?

Filed under linux, wireless · No Comments »

February 9, 2012 @ 12:41

Snježni wifi kraljevi

Od danas Hrvatska uz natjecanje Snježna kraljica ima još jedno novo natjecanje a to su Snježni wifi kraljevi ;)
U natjecanju mogu sudjelovati svi zainteresirani, cilj je u što ekstremnijim uvjetima postaviti što više nove wifi opreme na krovove zgrada. Pravila su jednostavna a nagrade neprocjenjive.
Pogledajte kako je bilo u Osijeku prvom timi iz ekipe OsijekWirelessa koji su se okušali u ovome novome sportu na ovome online albumu.


Filed under croatian, diy, wireless · 2 Comments »

August 25, 2011 @ 8:14

OpenWRT installation from Tomato

I have an older Linksys WRT54GL v1.1 with Tomato firmware. Although I’m a hardcore Linux geek I never used OpenWRT, yeah, I know – shame on me ;)
OpenWRT wiki has installation instructions that explain how users should first install 2.4 linux kernel based image, set some nvram options, and then install or update to latest 2.6 based firmware image, but WIKI has no links how to do an update.
Read rest of story…

Filed under diy, gadgets, linux, tips&tricks, wireless · 5 Comments »

July 4, 2011 @ 17:30

Google caught cheating in Android@Home demo

You would expect that Google will use Android@Home protocol in it’s Android@Home demo [1], right?
Well it looks like Google got caught cheating. It looks like Google has actually used equipment from Synapse Wireless [3] and their protocol called Snap [4], and not their own, in-house developed Android@Home protocol.
Why did they do that? My guess is that they have limited developer resources who could code such a complicated protocol and wanted to do field survey how would press, other companies and general public react before they pored expensive development hours into questionably interesting product.
Nice try Google, but it is still cheating.
I would like to share comment from LinuxMCE [5] (most advanced smart home solution and it runs in Linux) forums by Darren:
“Interesting…. but Google would have to buy it and open it up a bit more for it to provide a real alternative.
From the Synapse website “Synapse Wireless Inc. provides patented hardware and software technology that helps tie together devices for remote monitoring and control.”
So in terms of an application layer free of patents – not at the moment. But perhaps Google will but the company, open source the stack and donate the patents to one of the open consortium’s.
We’re still in for a bit of waiting it seems.”
I really hope that either Google buys Synapse Wireless and releases it’s patents to one of open consortium’s or does so with their own (hopefully in development) Android@Home protocol.
[1] Android@Home demo at Google Keynote
[2] Google’s Android@Home – The plot thickens…
[3] Synapse Wireless
[4] Snap protocol
[5] LinuxMCE

Filed under english, gadgets, wireless · No Comments »

February 17, 2010 @ 9:55

Which wireless driver does your wireless card uses on Fedora and Ubuntu?

If you have a new Fedora user (or user of any other distro) who has problems using his wireless card first thing you need is for him to tell you which wireless card he has and which wireless driver his card uses. For experienced users this is trivial and can be done in several ways. I found that this can be a bit tricky for new users and there isn’t one simple command that displays ONLY this information.
This one liner seams to do the trick for PCI wireless cards:
lspci -k|grep -i -E “wireless|wlan|802.11″ -A 2
Also try this command:
lshw -class network |grep -i ‘description: wireless’ -A 11

30:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
	Kernel driver in use: b43-pci-bridge
	Kernel modules: ssb

02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG 
Network Connection (rev 02)
	Kernel driver in use: iwl3945
	Kernel modules: iwl3945

01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg 
Wireless PCI Express Adapter (rev 01)
	Kernel driver in use: ath_pci
	Kernel modules: ath5k, ath_pci

3:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
     Kernel driver in use: iwlagn
     Kernel modules: iwlagn

I tried this with Intel, Atheros and Broadcom wireless cards. Do you know of a better way to do this? How would you do this for USB wireless cards?

Filed under linux, tips&tricks, wireless · 10 Comments »

May 29, 2009 @ 13:40

Fedora 11 fail because of Anaconda :(

I have tested Fedora 11 alpha, beta and now preview releases on few of my laptops and I’m really impressed by how Fedora 11 works once it is installed.
The problems I’ve encountered are those within the installation part – it seems like anaconda installer has become much worse than it was in Fedora 10 and in previous versions.
I watched how OpenSuse and Ubuntu teams have really polished their installers and hoped that Fedora 10 or 11 would have some more polish in GUI because if you just look at OpenSuse or Ubuntu screenshots you will see how outdated Fedora’s anaconda installer looks in comparison to them. I agree that in Fedora 10 there was no feature that lacked (except installer failed on Asus eee 701 laptops) but I really hoped that GUI would get a fresh look also, it really needs one general overhaul, especially in partitioning part of the installer. The inner working of anaconda previous to Fedora 11 was in top shape so that is why I was so surprised how bad anaconda is performing in Fedora 11 Preview release!
The only way to install Fedora 11 is to leave the default settings while in partitioning part of the installer. If you try ANY option with existing partitions on the hard drive, it will just crash the installer! I didn’t find any way how to create custom partitions in anaconda installer, delete partition or delete the whole disk without installer crashing on me. Are you looking how to create custom LVM partitions? Forget it. Encryption? No way. If you have hard drive with no partitions the chances are 50:50 for your installer not to crash, and again, you can’t erase the hard drive without installer crashing :(
Read rest of story…

Filed under english, fedora, gadgets, linux, wireless · 13 Comments »

October 4, 2008 @ 21:06

Für Elise – not on Fedora :(

Für Elise - not on Fedora :(

I’ve been trying for some time use Elisa media center on Fedora but it seams that Elisa is too elusive for Fedora. Current version on Elisa home page is 0.5.12 but if you install Elisa on Fedora 9 you will get much older 0.3.2, even bigger issue is that Elisa doesn’t work because of some broken dependencies.
You can look at Fedora Bugzilla; more specifically look at bugs #446051 and #429590.
So I guessed that there will be some “break my Fedora box” packages in F9 updates-testing repos, but unfortunately there were none :(
So I booted Fedora 10 beta – this is the bleeding edge Fedora so I thought there had to be new Elisa package in F10, but guess what? Fedora 10 also has old Elisa 0.3.2 which doesn’t work.
I also tried manually getting packages from freshrpms testing repo, I downloaded and saved all the rpm packages and tried to install them but there were some unmet dependencies :(
I tried installing pigment-python-0.3.8-1.fc9.i386.rpm but that packet needs libpigment-0.3.so.8, libpigment-gtk-0.3.so.8 and libpigment-imaging-0.3.so.8 but pigment-devel-0.3.9-1.fc9.i386.rpm packet provides only so.7 but no so.8 libraries…
I hope these issues will get sorted out as soon as possible. I’m willing to test Elisa packages and help that way so that working and updated Elisa gets into Fedora 10 repositories.
I found out how you can install elisa on Fedora 9 thanks to thm on #fedora-devel irc channel, and it isn’t too hard.

First you need to setup freshrpms repository; just copy the code below, but you need to remove [ ] around etc because my blog has protection that prevents me to write that path.

su -
cat < /[etc]/yum.repos.d/freshrpms-testing-elisa.repo
name=Freshrpms Testing (elisa)


and then just install elisa:

yum --enablerepo=freshrpms-testing-elisa install elisa



Filed under english, gadgets, linux, pc hardver, wireless · 2 Comments »


    Flickr photostream

    SSL is required

    Meta meta :)