TV=Network HUB for WIRELESS-ETH0?

Ideas and dreaming will go this forum

marcelru
Official SamyGO Developer
Posts: 171
Joined: Thu Oct 01, 2009 7:27 am

Re: TV=Network HUB for WIRELESS-ETH0?

Post by marcelru »

To get back to the initial question:

Isn't it just enough to compile a dhcp server for ARM, configure it, and get the job done?
The tv is then working as a local router, with some other machine connected to the outside world?
I have used this method for years (with a diskless 486 and a 56k6 serial modem), before small routers for home-use became affordable.

HTH,

marcelr

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

Re: TV=Network HUB for WIRELESS-ETH0?

Post by juusso »

Yes, one of them: small dhcp server inside the Swiss army knife: busybox.. In example i have it on /mtd_rwarea/bin/busybox.

To get server working, some modification is needed:

1. /etc/udhcpd.conf - config file to be placed on read only area. I suggest you to add to samygo.sh: mount --bind it from somewhere else:

Code: Select all

mount --bind /mtd/rwarea/etc /etc
2. Configure udhcpd.conf to set path to udhcpd.leases (default is /var/lib/misc/udhcpd.leases) and give chmod 777 for it.
3. run server manually or from samygo.sh script:

Code: Select all

/mtd_rwarea/bin/busybox udhcpd -f
-f is needed to get it on foreground.
I didn`t try to connect clients, i just checked this how-to- server starts without errors. You could play with different settings and tell us - is it working or not :)
Copy your /etc directory to /mtd_rwarea/etc and if you mount --bind it, this dir becomes read/write. Sure, you could mount --bind just required file, not whole dir.
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 »

Thanks! I will try this tonight when I get home.

Edit:
I tried what you said, I managed to run udhcpd on TV, I can ping the IPTV box, but it doesn't start.
I don't quite understand what the udhcpd options do. Is it enough to set dns=router ip, router=router ip,subnet=255.255.255.0?
Maybe this isn't enough, because the IPTV box uses ICMP trafic, and on the router I had to specificaly allow IGMP traffic, which started igmproxy. Maybe I should do the same for TV, to enable the TV to transfer UDP/IGMP traffic?

Thanks.
Samsung LE37B653T5PXZG, T-CHLCIPDEUC 2008.2 firmware, Advanced Mode Patch

Post Reply

Return to “[B] Brainstorm”