Freitag, 10. August 2012

openWRT Bridge with Relayd (Pseudobridge)


Recipe for Bridging with Atheros Chipsets


Works for TP-Link TL-WR703n as an example.

based on this two links
http://trac.gateworks.com/wiki/relayd
http://wiki.openwrt.org/doc/recipes/relayclient
https://forum.openwrt.org/viewtopic.php?pid=173467#p173467


Connect your Router with your WAN-Router Device (modem, switch, ... )
root@OpenWrt:~# opkg update
root@OpenWrt:~# opkg install relayd

root@OpenWrt:~# opkg install luci-proto-relay
root@OpenWrt:~# opkg install wpad

root@OpenWrt:~# /etc/init.d/relayd enable

set ip Address of the LAN to something different
root@OpenWrt:/etc/config vi network
config interface lan
        option ifname   eth0
        option type     bridge
        option proto    static
        option ipaddr   10.0.1.1 
        option netmask  255.255.255.0

reboot or restart network.
root@OpenWrt:~# /etc/init.d/network restart

Set your IP Address of your PC to 10.0.1.2
Connect your Router with your PC.
disable any DHCP.

Connect to Luci with your browser to 10.0.1.1


Go to network, wifi make a scan
join your wifi,

make all your settings for the Wifi device, at this part a new interface is created

Go to Network->Interfaces
Edit the new created interface (WWAN) for example

Make a static or dhcp adress here.
disable any DHCP.

Create a new Interface "stabridge" in the Interface section.
use the "relay bridge" protocol

Relay between networks WWAN and LAN.

check
lan/wwan is set to IP address in a different net
interface stabridge is set to relay between lan/eth0 and wwan/wlan0
wlan0/wwan is interface is assigned

change Firewall rules



Zone Forwarding, set to Accept


DONE




Tightvncserver keyboard mismapped/scram




http://ubuntuforums.org/showpost.php?p=7296323&postcount=7

https://wiki.archlinux.org/index.php/TightVNC

http://markus.revti.com/2009/11/ubuntu-9-04-keyboard-mapping-problem-on-tight-vnc/

http://www.tips5.com/how-to-fix-keyboard-mapping-issue-of-gnome-vnc-in-ubuntu

Montag, 6. August 2012

mumuDVB on openWRT and FSG-3

Work in process

http://ocsovszki-dorian.blogspot.co.at/2011/10/tp-link-wr1043nd-openwrt-dvb-t-with.html
https://forum.openwrt.org/viewtopic.php?pid=144920


http://wiki.openwrt.org/doc/howto/usb.video#applications

Howto for NSLU2
http://mumudvb.braice.net/mumudrupal/node/36
http://wiki.openwrt.org/doc/devel/packages

WL500gp with DVB-T stick
http://wl500g.info/showthread.php?24049-DVB-T-Streaming-mit-wl500gp

http://masu.6f.sk/index.php/Nsa310_dvbt

http://www.csquad.org/tag/mumudvb/ <-- need google translator

https://forum.openwrt.org/viewtopic.php?id=12357

 root@fsg3:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 048d:9135 Integrated Technology Express, Inc. Zolid Mini DVB-T Stick


[  820.358795] usb 1-5: new high-speed USB device number 4 using ehci_hcd
r


Bus 002 Device 005: ID ffc0:0040
Bus 001 Device 004: ID 1bcf:2881 Sunplus Innovation Technology Inc.
Bus 002 Device 004: ID 8086:0189 Intel Corp.
Bus 003 Device 004: ID 048d:9135 Integrated Technology Express, Inc. Zolid Mini DVB-T Stick



[13532.230198] usb 3-1: new high-speed USB device number 5 using xhci_hcd
[13532.250902] usb 3-1: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
[13532.250913] usb 3-1: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
[13532.250921] usb 3-1: ep 0x84 - rounding interval to 32768 microframes, ep desc says 0 microframes
[13532.250928] usb 3-1: ep 0x85 - rounding interval to 32768 microframes, ep desc says 0 microframes
[13532.252395] it913x: Chip Version=02 Chip Type=9135
[13532.253837] it913x: Dual mode=0 Remote=5 Tuner Type=6b
[13532.254874] dvb-usb: found a 'ITE 9135 Generic' in cold state, will try to load a firmware
[13532.258261] dvb-usb: did not find the firmware file. (dvb-usb-it9137-01.fw) Please see linux/Documentation/dvb/
for more details on firmware-problems. (-2)
[13532.258271] it913x: DEV it913x Error




http://linuxtv.org/wiki/index.php?title=ITE_IT9135&oldid=30816












T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=048d ProdID=9135 Rev= 2.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0m