Monday, January 17, 2011

How to connect Samsung 46c750 to Internet without USB Dongle

Hi Folks,

As you see i'm quite effective today i share lots of info about home networking. Here's another trick for you. I have recently purchase a Samsung 46C750 which has lots of capabilities like DLNA rendering, Internet TV (i still not manage to make it work, but i'm working on it) and accessing inter via it's widgets (i'll come to them in another post don't worry).

To be able to do that you need to connect your TV to a network in my of your case it is your home router which has access to internet and probably your PC which act as a DLNA server in your network. Well you can make it easily if your router and your TV is close to each other but in my case they're 20 meters away each other and i don't like long cable around me. So i decided to make it wireless cause my router has wireless interface however i realized that my TV doesn't support any other USB Wireless dongle except Samsung LinkStick which is not available in my country. Yeah that sucks :)

Anyway no worries if you have another wireless router which is able to make wireless bridge connection. My previous post "How to set up WDS between RT TI and Broadcom Routers" explains how to make this 2 wireless router talk to each other. I only didn't mention in that post, how to plug another network device to second wireless bridged router to be able to share internet from WDS enabled router.


Soho ADSL routers designed to set default gateways from physical interface like ADSL port which is you WAN connection, and some other only routers (not the ones ADSL capable) can use its LAN as WAN interface or has separate WAN port. In our case we a router which has wl0/LAN, br0/LAN and ppp0/WAN interfaces. If we change wl0 as our WAN it will be all good. To be able to this you gotta get rid of ppp0 interface. There are ways to do that, from cli or Web GUI. I've done from Web GUI by deleting WAN connections. Then i set a static IP address with proper netmask for LAN interface. Then in routing menu i set its default gateway IP to WDS router's IP address. Remember they're bridge routers they must be in same subnet.

Samsung TV has a network setting test tool, you can test it if your internet connection ok.

I hope you find it useful.

Typhoon Master

How to set up DLNA server for Samsung 46C750

Hi Folks,

After couple weeks of dealing with well-known DLNA servers like TwonkMedia, MediaTomb, Serviio, TVersity, miniDLNA i finally find what i am looking for. It is surprising that the solution is from Samsung which is called Samsung PC Share Manager.

This is a Win-based program and it easily share your content with your TV through DLNA protocol. But it is better than any other DLNA server that i tested so far. Cause it has all the strengths but not the weaknesses, weaknesses like not playing .mkv or load subtitles. Samsung PC Share Manager can plat mkv and add subtitles (it should be named same with video file).

Only trick in the program you gotta allow your TV to get shared content from your PC. To do that, Share->Set Device Policy->Select your TV and Set State "Accepted". That's all. Well done Samsung.

I hope you find it useful.

Typhoon Master

Sunday, January 16, 2011

How to set up X11 Forwarding on Ubuntu Server

Hi Folks,


This is a trick that i've used before and forget to add here. Sometimes you need to run a wireshark within a server which has no GUI. X11 forwarding is here for rescue. To able to forward your X11, follow the instruction below.


1) Let's install wireshark first with "apt-get install wireshark". This will install wireshark and its all dependences to your Ubuntu server.
2) Let's change sshd for X11 forwarding,


To do that,


vi /etc/ssh/sshd_config


and change following,



X11Forwarding yes
X11DisplayOffset 10


3) Let's configure X server on your Ubuntu server so it can serve X11 to your Windows machine.


 To do that you will need to use xhost to configure it.


Consider your Ubuntu server has 192.168.1.2 and your Windows machine which we will install XMing client to get X11 streaming has 192.168.1.3.



set DISPLAY=192.168.1.2:0
xhost +192.168.1.3
export DISPLAY=192.168.1.2:0



Therefore we allow 192.168.1.3 to get X11 forwarding from 192.168.1.2:0


4) In putty you should set X11 Forwarding true, which can be found in Connection/SSH/X11 click X11 Forwarding every time you would like to conect with X11 abilities.
5) Install XMing to your windows machine (Nothing tricky about it)
6) Run wireshark from Ubuntu shell from X11 forwarding enabled putty.


That's all, if everthing is ok you should be able to see wirehark opening in your windows machine.


Cheers


I hope you find it useful


Typhoon Master



How to set up WDS between RT TI and Broadcom Routers

Hi All,

WDS configuration might be a lil bit tricky but it is easier that it seems. Here's how i manage to create WDS connection between 2 different brand router. One of the routers have TI which has RT 2.95, other has a generic Broadcom software with Turkish language. Before get started, here is some version of these routers,

TI Router (which is the main WDS router in this case),

Firmware version information
BUILD=RouterTech_3.7.1B_1350A_20110103_2.95_AR7WRD_psbl
VERSION=1350A_20110103
BOARD=AR7WRD
TARGET=psbl
FSSTAMP=20110103015426
ROHS=1

Wireless version information
6.3.1.26, 3/22/2006

PSP version information

Linux OS DSL-PSP 5.2.1.1 on DEV_BasePSP7.4.4.24_Patch compiled at Jan 3 2011 01:51:05
Avalanche SOC Version: 0x10002b
Operating in cached, write back, write allocate mode
CPU Frequency: 211968000 Hz
System Bus frequency: 105984000 Hz
VBUS frequency: 52992000 Hz


Driver version information
Core Logic version: 3.7.1B
Texas Instruments : CPMAC Linux DDA version 1.9
Texas Instruments : CPMAC DDC version 0.3
ATM Driver version:[7.01.00.10]
DSL HAL version: [7.01.00.08]
DSP Datapump version: [7.01.01.00] Annex A
SAR HAL version: [01.07.2c]
PDSP Firmware version:[0.54]
Chipset ID: [Ohio250(7200/7100A2)]

Broadcom Router (Wireless Bridge)

BoardID: 96338W
Software Version: 3.08L.01.A2pB022c.d20d
Bootloder (CFE) Sürümü: 1.0.37-8.7
Wireless Driver Version: 3.131.35.6.cpe2.0a.sd-e1

On TI Router,

1) Setup a wireless interface with SSID >>|<< (in Setup link)



2) Set Channel 3 (in setup)



3) Set up a WPA2 with pre-shared key (in Security)



4) Enable access list with allow option and add Broadcom router's wireless MAC address in that list (in Management)





5) Select Crude for WDS Mode, don't change any other option but uplink and Downlink 1, enable both and put Broadcom router's wireless MAC address there, same MAC address in allow list.



TI side is done. In my previous firmware there was a WDS Status link to check uplink and downlink of WDS is working or not but RT hasn't this link.

On Broadcom Router,

1) Setup a SSID >>|<< (same as on TI, this is important, we will bridge them)



2) Security must be open (don't worry there will be no connections to this router but TI router, if you want to put security WDS will be failed)



3) In advanced menu set the channel 3 (same as on TI)



4) In wireless bridge menu select Wireless Bridge and Bridge restriction should be Enabled (Scan), now Broadcom will search the wireless network to find proper wireless connection to bridge which is TI in this case. Click Remote Bridges MAC Address Save/apply.



5) Disable DHCP server (optional)
6) Delete all WAN connections (optional)

Broadcom side is done.

I use this connection to share my TI router's internet connection with my Samsung TV. Also DLNA is working.

Please check screen shots for detailed info.

I hope you find it useful.

Cheers

Typhoon Master