Posted: Fri Mar 11, 2011 16:09 Post subject: Ushare - Can't Find br0 issue
i followed the below mentioned guide to setup the ushare server, however, when i try to run it, it gives error message, "cant find br0". I did search the forum with the relevant error message and ushare, but the search function isn't that helpful, it only gives the whole link of the thread, but it doesnt specify where the actual thread/post is.
i also have tried other interface such eth0, eth1, lo, etc ... but i still can't it to work.
Router: Asus RT-N16
DD-WRT v24-sp2 (12/24/10) big
(SVN revision 15962)
There is a problem with the way an application can get the interfaces on DD-WRT K26.
Kong has modded firmware with a patched if.h which will solve this. Somehow the Dev does NOT want to implement it. I haven't investigated it enough to say he's right / not right.
If you want ushare to work you may consider to use these patched versions. _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
I have had the same issue now for a while, and have gotten the same response. bkmo replies from my thread "Do some searching, but I think that the media servers are not working on the K26 kernel. Try "kong mod" dd-wrt firmware. It works on the RT-N16 and it has a version with miniDLNA server built into the gui." If someone could link a tut to kong mods fw. Or even the files required for flashing. I would much appreciate it thanks!
Just to clarify this. The problem with ushare and some other optware packages is the following.
DD-WRT has patched it's toolchain e.g. if.h has a different ifreq structure, it adds:
unsigned short weight;
Now if an application, that was build with a non dd-wrt toolchain (optware packages from external ressources), queries the network interfaces it will get a pointer to a structure where it can read the approrpiate vars like struct sockaddr ifru_addr;
Since this structure is not __packed__ gcc can add some padding for alignment, that results in different positions where the actual values are located in memory.
You have a cupboard with 4 drawers. You have a blind person that knows the position of each drawer, you add another drawer to the top, this still does not cause a problem, the blind still has the correct positions for the 4 of them, he just doesn't know about the fifth, but the dude you added the 5th on top decided to add space between the 2nd and 3rd drawer to make it look nicer, nobody told him not to do this:-)
Now the blind will not grab the right contents.
P.S.:For my builds I to create my own toolchain (with newer uClibc) that includes the patches from the dd-wrt. The standard dd-wrt toolchain uses an older uClibc that does not include the neccessary functions needed by minidlna. _________________ KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
Damn, wish i would have seen this about a week ago! Spent days searching and trying new start up scripts to get my USB flash drive and NTFS 1TB to get detected and mount /opt properly on boot. (belkin sharemax w/ 2x USB) kong mod just works out of the box! No messy scripts and DLNA support, holler!