so i did install the ushare on disk
root@OpenWrt:/etc# ushare
Interface eth0.1 is down.
Recheck uShare's configuration and try again !
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team.
See http://ushare.geexbox.org/ for updates.
Listening on telnet port 0
Initializing UPnP subsystem ...
UPnP MediaServer listening on 192.168.0.2:49200
Sending UPnP advertisement for device ...
Listening for control point connections ...
Building Metadata List ...
Looking for files in content directory : /mnt/sda1/share/filmy
Found 5 files and subdirectories.
as it can be seen on first line eth0.1 is down... but why i am using it all the time as my input (and the only one) interface towards router
root@OpenWrt:/etc# ifconfig -a
br-lan Link encap:Ethernet HWaddr 00:17:31:DC:08:F7
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:403 (403.0 B)
eth0 Link encap:Ethernet HWaddr 00:17:31:DC:08:F7
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22410 errors:0 dropped:0 overruns:0 frame:0
TX packets:16911 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31685031 (30.2 MiB) TX bytes:1227746 (1.1 MiB)
Interrupt:4
eth0.0 Link encap:Ethernet HWaddr 00:17:31:DC:08:F7
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:407 (407.0 B)
eth0.1 Link encap:Ethernet HWaddr 00:17:31:DC:08:F7
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22415 errors:0 dropped:0 overruns:0 frame:0
TX packets:16915 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:31282135 (29.8 MiB) TX bytes:1137503 (1.0 MiB)
eth1 Link encap:Ethernet HWaddr 40:10:18:00:00:2D
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:87 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10153 (9.9 KiB) TX bytes:10153 (9.9 KiB)
wlan0 Link encap:Ethernet HWaddr 00:17:31:DC:08:F7
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
of course it is not possible to start interface which is already down
root@OpenWrt:/etc# ifup eth0.1 up
/sbin/ifdown: eval: line 1: syntax error: bad substitution
/sbin/ifup: eval: line 1: syntax error: bad substitution
the problem is present for all interfaces:
root@OpenWrt:/etc# ushare
Interface br-lan is down.
Recheck uShare's configuration and try again !
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team.
See http://ushare.geexbox.org/ for updates.
Listening on telnet port 0
Initializing UPnP subsystem ...
UPnP MediaServer listening on 192.168.1.1:49200
Sending UPnP advertisement for device ...
Listening for control point connections ...
Building Metadata List ...
Looking for files in content directory : /mnt/sda1/share/filmy
Found 5 files and subdirectories.
when i am using media sharing from windows it works perfectly that is why i think the problem lays somewhere in openwrt.
I am not using any firewall of any sort.
also did try via starting the /etc/init.d/ushare start with folllowing options:
root@OpenWrt:~# cat /etc/config/ushare
config 'ushare'
option 'username' 'nobody'
option 'servername' 'OpenWrt'
option 'interface' 'eth0.1'
option 'options' '-x'
option 'content_directories' '/mnt/sda1/share/filmy'
option 'disable_telnet' '1'
option 'disable_webif' '1'
option 'enabled' '1'
any idea whats up ?