
SamyGO Extensions [v0.03.6]
-
- Posts: 79
- Joined: Tue Oct 20, 2009 8:04 pm
Re: SamyGO Extensions [v0.03.5 Beta]
About my problem with HD channel, it's ok with the new version with bugfixes 

55B650 and 37B650 with patched firmware
Re: SamyGO Extensions [v0.03.5 Beta]
There is a problem with the regex for extracting the NFS shares:
It fails to match shares that are restricted by hostname or address properly, causing it to mount the hostname as another share (or at least it creates the dir and fails to mount).
Example:
and running that though sed gives us
see last line, we need to match for the whitespace i guess or is it possible to export dirs with spaces in them?
Code: Select all
# S_MOUNTS=$(showmount --no-headers -e $i | cut -d " " -f1)
S_MOUNTS=$(showmount --no-headers -e $i | sed 's/^\(.*\) *\*/\1/')
Example:
Code: Select all
flo@taco:~$ showmount --no-headers -e ticonderoga
/tftpboot/ubuntu_10.10-beta *
/tftpboot/ubuntu_10.04.1-64 *
/tftpboot/ubuntu_10.04.1 *
/media/data/music *
/media/data/exchange *
/media/data/diskless/player 192.168.8.3
Code: Select all
flo@taco:~$ showmount --no-headers -e ticonderoga | sed 's/^\(.*\) *\*/\1/'
/tftpboot/ubuntu_10.10-beta
/tftpboot/ubuntu_10.04.1-64
/tftpboot/ubuntu_10.04.1
/media/data/music
/media/data/exchange
/media/data/diskless/player 192.168.8.3
-
- Official SamyGO Developer
- Posts: 1700
- Joined: Fri Oct 02, 2009 8:52 am
- Location: Austria/Vienna (no Kangaroos here)
- Contact:
Re: SamyGO Extensions [v0.03.5 Beta]
you can make exports with spaces in name, but i'm not shure you can access themflo-ogb wrote:There is a problem with the regex for extracting the NFS shares:
It fails to match shares that are restricted by hostname or address properly, causing it to mount the hostname as another share (or at least it creates the dir and fails to mount).Code: Select all
# S_MOUNTS=$(showmount --no-headers -e $i | cut -d " " -f1) S_MOUNTS=$(showmount --no-headers -e $i | sed 's/^\(.*\) *\*/\1/')
Example:
and running that though sed gives usCode: Select all
flo@taco:~$ showmount --no-headers -e ticonderoga /tftpboot/ubuntu_10.10-beta * /tftpboot/ubuntu_10.04.1-64 * /tftpboot/ubuntu_10.04.1 * /media/data/music * /media/data/exchange * /media/data/diskless/player 192.168.8.3
see last line, we need to match for the whitespace i guess or is it possible to export dirs with spaces in them?Code: Select all
flo@taco:~$ showmount --no-headers -e ticonderoga | sed 's/^\(.*\) *\*/\1/' /tftpboot/ubuntu_10.10-beta /tftpboot/ubuntu_10.04.1-64 /tftpboot/ubuntu_10.04.1 /media/data/music /media/data/exchange /media/data/diskless/player 192.168.8.3

you can change the sed command to:
Code: Select all
sed 's/^\(.*\) .*/\1/'
thnx
arris
-
- Official SamyGO Developer
- Posts: 1700
- Joined: Fri Oct 02, 2009 8:52 am
- Location: Austria/Vienna (no Kangaroos here)
- Contact:
Re: SamyGO Extensions [v0.03.5 Beta]
if you repeat the same procedure than what you get if you executeultramaximum wrote:this is the logThank you!=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.10.31 10:14:40 =~=~=~=~=~=~=~=~=~=~=~=
...
Code: Select all
smbclient -s /dtv/usb/sda1/SamyGO/etc/samba/smb.conf -U maruxos -L 192.168.1.2
is 192.168.1.2 your win machine?
arris
-
- Official SamyGO Developer
- Posts: 1700
- Joined: Fri Oct 02, 2009 8:52 am
- Location: Austria/Vienna (no Kangaroos here)
- Contact:
Re: SamyGO Extensions [v0.03.5 Beta]
https://bugs.launchpad.net/ubuntu/+sour ... bug/458637 comment #23 ff.ultramaximum wrote:...yes, .1.2 is shared folder serverCode: Select all
# smbclient -s /dtv/usb/sda1/SamyGO/etc/samba/smb.conf -U maruxos -L 192.168.1.2creating lame upcase table creating lame lowcase table Enter maruxos's password: session setup failed: SUCCESS - 0
http://social.technet.microsoft.com/For ... 79a5597527
so may remove windows Live Sign-In Assistant (whatever it is, hope you don't need it) helps.
arris