Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Saturday, December 15, 2012

TL-WR1043ND and IPTV/UDP multicast

Let's assume the router is powered by DD-WRT with the address 192.168.1.1.

1. Connect to router, e.g. telnet 192.168.1.1.
2. Download udpxy for Atheros processors (see "CPU Model" on "Status > Router"):
$ wget http://xkr446.hotbox.ru/udpxy -P /tmp
$ chmod +x /tmp/udpxy 
3. Run udpxy:
$ /tmp/udpxy -p 82 -M 30 -B 1Mb -a `nvram get lan_ipaddr`
4. Now check udpxy status on http://192.168.1.1:82/status.
5. Create rules:
$ iptables -I INPUT -i vlan2 -p udp -d 238.0.0.0/8 --dport 1234 -j ACCEPT
$ iptables -D INPUT -p igmp -j DROP
where 238.0.0.0/8 and 1234 -- IPTV streaming subnet and port respectively.
6. Restart router.

Tuesday, July 26, 2011

Installing Catalina 3.0 Linux with patch 3.0.4

Download Catalina 3.0 Linux and patch 3.0.4 from sourceforge.net.

Install the full Catalina 3.0 release first:
$ sudo mkdir /usr/local/lib/catalina
$ sudo tar -zxvf Catalina_3.0_Linux.tgz -C /usr/local/lib/catalina
The patch 3.0.4 must be applied to a full release of Catalina 3.0 (or later). It is a cumulative patch release, which also includes all the fixes in previous patch releases since release 3.0. Get more details from README.WhatsNew file. Apply the patch:
$ sudo unzip -o Catalina_3.0.4_patch.zip -d /usr/local/lib/catalina
Under Linux the following commands should be executed to set your permissions correctly:
$ sudo chmod +x /usr/local/lib/catalina/bin/Set_Linux_Permissions
$ sudo /usr/local/lib/catalina/bin/Set_Linux_Permissions
Now the Catalina compiler can be used as follows:
$ source /usr/local/lib/catalina/bin/use_catalina
$ catalina -h
Update:  Install mono library first to get mscorlib.dll. Catalina is looking for version 1.0.
$ sudo apt-get install libmono1.0-cil
Update:  The Set_Linux_Permissions script from patch 3.0.4 didn't provide correct permissions for include, lib and target directories. You can find my patch here. Moved to discussion on SF forum.

Update: The troubles should be fixed in version 3.1.

Tuesday, March 15, 2011

Ubuntu and battery problems

Since I've moved from Ubuntu 8.04.1 to Ubuntu 10.10 I got a problem with a battery on my old laptop ASUS X51R. After the switching to the battery power the laptop just hangs.

The problem has been solved by updating the bios from version 207 to 209.