Page 21 of 34
Re: SamyGO Extensions [v0.03.6]
Posted: Tue Jan 18, 2011 5:56 pm
by arris69
[quote="merv07"]Hi,
I have been playing with
30_03_djmount.init to see if I can mount upnp server.
I cannot seem to get it to work. If some who's had success can explain how to use djmount.
see log below starting in verbose with debug enabled.
Code: Select all
...
[D] Intializing UPnP with ipaddress=(null) port=0
[E] UpnpInit() Error: -203
[E] Error starting UPnP Control Point : -203 (UPNP_E_SOCKET_BIND)
#
hmm, can you pls. check before you call the script:
and
thnx
arris
Re: SamyGO Extensions [v0.03.6]
Posted: Tue Jan 18, 2011 7:01 pm
by arris69
merv07 wrote:hi arris,
...
Code: Select all
# ifconfig
rausb0 Link encap:Ethernet HWaddr 00:1F:1F:3A:C6:5A
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2115 errors:0 dropped:0 overruns:0 frame:0
TX packets:483 errors:0 dropped:2 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:186536 (182.1 KiB) TX bytes:55530 (54.2 KiB)
#
Code: Select all
# ifconfig -a
lo Link encap:Local Loopback
LOOPBACK MTU:16436 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
rausb0 Link encap:Ethernet HWaddr 00:1F:1F:3A:C6:5A
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2462 errors:0 dropped:0 overruns:0 frame:0
TX packets:510 errors:0 dropped:2 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:215074 (210.0 KiB) TX bytes:58018 (56.6 KiB)
#
Thanks for quick reply. Greatly appreciated.
regards,
merv07
can you pls. execute:
before you start djmount script
thnx
arris
Re: SamyGO Extensions [v0.03.6]
Posted: Tue Jan 18, 2011 8:37 pm
by arris69
merv07 wrote:hi arris,
executing ifconfig lo 127.0.0.1 fix the problem.
then starting 03_03_djmount.init worked finding 2 upnp devices on my network very quick.
how would I resolve the problem ifconfig lo 127.0.0.1 not auto starting?
should I start it with my SamyGO.sh script or with a SamyGO-Extensions init script?
or is there another problem that I should address?
you can put it into a script in SamyGO/etc/init.d/ like 01_01_catch_crap.init
i think it's safe just call the command without additional testing.
don't forget to make it executable with chmod
hth
arris
Re: SamyGO Extensions [v0.03.6]
Posted: Thu Jan 20, 2011 10:12 pm
by arris69
merv07 wrote:hi arris,
arris69 wrote:
you can put it into a script in SamyGO/etc/init.d/ like 01_01_catch_crap.init
I made init script as you suggested above and it did work, but with a problem.
when
03_03_djmount.init started during normal tv startup, other init scripts were stopped/interrupted some how.
Resulting in
no "
ssh","
ftp", "
fusesmb" & "
samba" services running on tv anymore.
I managed to overcome problem by making djmount script run last in the init scripts order,
renaming
03_03_djmount.init to
99_99_djmount.init with sleep delay of 15 seconds.
Now all service "
ssh","
ftp", "
fusesmb", "
samba" & "
upnp" seem to be running fine without problems.
...
you are sure you not started djmount in debug mode? in this case it stays in foreground and can maybe block other scripts? (never tested under normal conditions, debug stuff is in script from early stage of devel).
arris
Re: SamyGO Extensions [v0.03.6]
Posted: Sat Jan 22, 2011 4:18 pm
by arris69
filterpunk wrote:hi all and thanks to all participants for their work.
i have only got the le46c750 since 2 days and already
have root access (i have hacked the tv with the widget,
i can telnet and use the run.sh from usb to use ssh.)
what i actually trying to achieve is,
i want to use my mac os x server's shares (i can live with smb
at the moment) to play movies with fast forward and rewind
and as target for pvr. is this possible?
everything is possible, but you mean afp fileshare?
and i have some other problems with ssh:
the usb-pen must be connected to the lower usb port, other way
i get a "connection refused" when trying to connect with ssh.
and even if i use the lower port i get:
$ ssh root@192.168.1.9
root@192.168.1.9's password:
-sh: id: not found
echo "no system init on login".
but the connection is working.
this means drop tvs system boot procedure, not the initialisation of the extensions
i have read that i must edit $DEST_DIR in some "init scripts".
what files are meant? i have searched for $DEST_DIR and found 5
files:
03_03_djmount.init
03_03_nfsmount.init
04_04_fusesmb.init.dis
04_04_samba.init.dis
06_06_obexpush.init.dis
if this are the right filed, what should i edit?
you don't need to edit DEST_DIR if you use r12, just set your username and password for samba and rename 04_04_samba.init.dis to 04_04_samba.init
and one more question:
what is the best way to have the extension load automatically?
pls. read the wiki article for extensions pack, you just have 2 opportunities
i would prefer to have the smb share automount on startup.
i would appreciate your help.
hth
arris
ps: but this is the thread for b-series