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
TV=Network HUB for WIRELESS-ETH0?
Re: TV=Network HUB for WIRELESS-ETH0?
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:
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:
-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.
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
3. run server manually or from samygo.sh script:
Code: Select all
/mtd_rwarea/bin/busybox udhcpd -f
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
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
-
- Posts: 36
- Joined: Wed May 05, 2010 9:31 pm
- Location: Bucharest, Romania
- Contact:
Re: TV=Network HUB for WIRELESS-ETH0?
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.
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