TV=Network HUB for WIRELESS-ETH0?

Ideas and dreaming will go this forum

gchirtoaca
Posts: 36
Joined: Wed May 05, 2010 9:31 pm
Location: Bucharest, Romania
Contact:

TV=Network HUB for WIRELESS-ETH0?

Post by gchirtoaca »

Hi,

This may be an absurd question, but...I want to use the network connection of the TV, that is wirelessly connected to my router, so that my IPTV box, connected to the unused wired LAN port of TV, will be able to also get a connection to the router.
This is because I want to get rid of the cable that's now connecting the IPTV box to my router.
I'm a Linux beginer, but I guess there is a way to connect the wired LAN interface eth0 to the wireless interface ra11n0. I have access to the TV shell. I activated the eth0 interface using "ifconfig eth0 up" and gave it an IP address.

Thank you.
Samsung LE37B653T5PXZG, T-CHLCIPDEUC 2008.2 firmware, Advanced Mode Patch
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: TV=Network HUB for WIRELESS-ETH0?

Post by juusso »

Actually I think we need to set up network client-bridge.

What is needed:
  • busybox brctl applet
    It can be downloaded from here.
  • bridge module support for kernel (recompiled kernel or separate module)
    I stuck on error:

    Code: Select all

    LD [M]  net/bridge/bridge.o
    /bin/sh: .tmp_versions/bridge.mod: No such file or directory
    make[1]: *** [net/bridge/bridge.o] Error 1
    make: *** [net/bridge/bridge.ko] Error 2
    After some researches i found possible solution:
    The solution:
    make -C /usr/src/redhat/BUILD/kernel-2.6.21/linux-2.6.21.i686/ SUBDIRS=net/bridge/ modules
    But it did not help:

    Code: Select all

    root@localhost:/usr/src/linux/linux-r011# make -C /usr/src/linux/linux-r011/ SUBDIRS=net/bridge/ modules
    make: Entering directory `/usr/src/linux/linux-r011'
    
      WARNING: Symbol version dump /usr/src/linux/linux-r011/Module.symvers
               is missing; modules will have no dependencies and modversions.
    
      Building modules, stage 2.
      MODPOST
    /bin/sh: scripts/mod/modpost: No such file or directory
    make[1]: *** [__modpost] Error 127
    make: *** [modules] Error 2
    make: Leaving directory `/usr/src/linux/linux-r011'
    
    Another possible solution did not help as well.
  • Some configuration to convert TV to wireless client (or repeater?) :D
    http://www.adamsinfo.com/brctl-creating ... rk-bridge/
    http://www.faqs.org/docs/Linux-HOWTO/BR ... -THE-UTILS
    https://help.ubuntu.com/community/Bridg ... Interfaces
The question is: what is wrong with my compiler? (i use native toolchain)

p.s. Finally i figured out - the missing *.mod file for module i get with this command:

Code: Select all

make -C /usr/src/linux/linux-r011/ SUBDIRS=net/bridge/ module
make -C /usr/src/linux/linux-r011/ SUBDIRS=fs/cifs/ modules
I do not know why i got this error earlier... :roll:
I still get same error after distclean for any module i want to compile and fix it with command above.

Now my cross-compiler runs (well? not sure yet - i still get a lot of warnings while kernel compilation and it ends with error...)

p.p.s. I installed CodeSourcery compiler for arm. I`ll write short how-to later.
Linux version grab here.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
marcelru
Official SamyGO Developer
Posts: 171
Joined: Thu Oct 01, 2009 7:27 am

Re: TV=Network HUB for WIRELESS-ETH0?

Post by marcelru »

Don't know what went wrong juuso,

I just did
make menuconfig, switch on Ethernet bridging,
make -j3
and hey presto,
bridge.ko built within seconds. (not that I am going to use it)

kernel 2.6.18_SELP_ARM-something, cross-build toolchain from Samsung (gcc 4.2.0 etc)

probably your kernel configuration is missing some dependencies, as set in the configuration stage.
Mixing modules from different kernel version in general is not a good idea, unless you like backporting :-).

grtz,

marcelr
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: TV=Network HUB for WIRELESS-ETH0?

Post by juusso »

thanks! i will try find out whats wrong, but... could i have compiled binary? :)
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
marcelru
Official SamyGO Developer
Posts: 171
Joined: Thu Oct 01, 2009 7:27 am

Re: TV=Network HUB for WIRELESS-ETH0?

Post by marcelru »

User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: TV=Network HUB for WIRELESS-ETH0?

Post by juusso »

It seems, it won`t load:

Code: Select all

insmod /var/bridge.ko
insmod: cannot insert `/var/bridge.ko': Unknown symbol in module (-1): No such file or directory
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
marcelru
Official SamyGO Developer
Posts: 171
Joined: Thu Oct 01, 2009 7:27 am

Re: TV=Network HUB for WIRELESS-ETH0?

Post by marcelru »

Hmm,

Looks like there's some extra built-in stuff to it:

Code: Select all

[marcelr@laptop46 linux-r011]$ make -j3
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/arm/Kconfig
  CHK     include/linux/version.h
  SYMLINK include/asm-arm/arch -> include/asm-arm/arch-ssdtv
  CHK     include/linux/utsrelease.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  HOSTCC  scripts/genksyms/lex.o
  HOSTCC  scripts/mod/file2alias.o
scripts/genksyms/lex.c:1228:12: warning: 'input' defined but not used
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/genksyms/genksyms
  HOSTLD  scripts/mod/modpost
  HOSTCC  usr/gen_init_cpio
  CHK     include/linux/compile.h
  GEN     usr/initramfs_data.cpio.gz
  AS      usr/initramfs_data.o
  LD      usr/built-in.o
  GZIP    kernel/config_data.gz
  IKCFG   kernel/config_data.h
  CC      kernel/configs.o
  LD      kernel/built-in.o
  CC [M]  net/802/p8022.o
  LD      net/bridge/built-in.o
  CC [M]  net/bridge/br.o
  CC [M]  net/802/psnap.o
  CC [M]  net/bridge/br_device.o
  CC [M]  net/bridge/br_fdb.o
  CC [M]  net/bridge/br_forward.o
  CC [M]  net/bridge/br_if.o
  CC      net/core/dev.o                                  <----- about here ...
  CC [M]  net/bridge/br_input.o
  CC [M]  net/bridge/br_ioctl.o
  CC [M]  net/bridge/br_notify.o
  CC [M]  net/bridge/br_stp.o
  CC [M]  net/bridge/br_stp_bpdu.o
  CC [M]  net/bridge/br_stp_if.o
  CC [M]  net/bridge/br_stp_timer.o
  CC [M]  net/bridge/br_netlink.o
  LD      net/core/built-in.o                           <----- and here ...
  CC [M]  net/bridge/br_sysfs_if.o
  CC [M]  net/bridge/br_sysfs_br.o
  LD      net/llc/built-in.o
  CC [M]  net/llc/llc_core.o
  LD [M]  net/bridge/bridge.o
  CC [M]  net/llc/llc_input.o
  CC [M]  net/llc/llc_output.o
  LD [M]  net/llc/llc.o
  LD      net/built-in.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o

<snip>
 
So possibly you will need a kernel replacement for this to work ...

grtz,

marcelr
gchirtoaca
Posts: 36
Joined: Wed May 05, 2010 9:31 pm
Location: Bucharest, Romania
Contact:

Re: TV=Network HUB for WIRELESS-ETH0?

Post by gchirtoaca »

Hi,

It seems it's harder than I thought.
Thanks for the investigation anyway, guys.
Samsung LE37B653T5PXZG, T-CHLCIPDEUC 2008.2 firmware, Advanced Mode Patch
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: TV=Network HUB for WIRELESS-ETH0?

Post by juusso »

I`m trying to compile whole kernel with bridge enabled. I`m not going to use bridged network on TV, but it is interesting to get it working.
Just for fun... :lol:
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
gchirtoaca
Posts: 36
Joined: Wed May 05, 2010 9:31 pm
Location: Bucharest, Romania
Contact:

Re: TV=Network HUB for WIRELESS-ETH0?

Post by gchirtoaca »

juuso wrote:I`m trying to compile whole kernel with bridge enabled. I`m not going to use bridged network on TV, but it is interesting to get it working.
Just for fun... :lol:
That would be great, thanks!
Samsung LE37B653T5PXZG, T-CHLCIPDEUC 2008.2 firmware, Advanced Mode Patch

Post Reply

Return to “[B] Brainstorm”