Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

beta2
Thank you for your donation

Pages (51): « Previous 1 ... 29 30 31 32 33 ... 51 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
beta2
13th Oct, 2013, 06:23 AM
Post: #451
thenork Offline
Registered
Posts: 18
Joined: Aug 2013
Reputation: 1
RE: beta2
(12th Oct, 2013 12:48 PM)mk01 Wrote:  
(12th Oct, 2013 12:01 PM)thenork Wrote:  I also checked the "Shares should be world writeable" for smb, but the problem is still there. I can actually connect to xbian home folder just fine, and it's writeable (didn't test that before). However for my usb drive, I can connect with xbian but not with guest. If I try with guest I get this in the mac console (xbian.local/Fantom is my usb drive):

can you check that /etc/usbmount/usbmount.conf has SHARERW=yes ? if yes, can you provide output of
Code:
sudo net conf list

when the usb is mounted? and if you connect with xbian, can you write?

@thenork

I found a small bug in usbmount, I will issue a fix. can you test xbian-package-usbmount version 1.0.4-7 please?

After update I can now connect to my usb drive and write to it. However, guest still has error and cannot connect to it. Guest can connect to xbian home folder and write to it. Here is my net conf list
Terminal

[xbmc-backup]
path = /xbmc-backup
read only = no
guest ok = yes
force user = root
browseable = yes

[Fantom]
path = /media/Fantom
guest ok = yes
read only = no
force user = xbian
browseable = yes

Also my usb drive is ext4, will that affect anything?
Find all posts by this user
Quote this message in a reply
13th Oct, 2013, 06:30 AM
Post: #452
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: beta2
(13th Oct, 2013 06:23 AM)thenork Wrote:  After update I can now connect to my usb drive and write to it. However, guest still has error and cannot connect to it. Guest can connect to xbian home folder and write to it. Here is my net conf list
Terminal

[Fantom]
path = /media/Fantom
guest ok = yes
read only = no
force user = xbian
browseable = yes

Also my usb drive is ext4, will that affect anything?

hm. what is output of
Code:
ls -la /media ; ls -la /media/Fantom; mount | grep Fantom

?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
13th Oct, 2013, 06:44 AM
Post: #453
BartOtten Offline
Registered
Posts: 815
Joined: Jun 2012
Reputation: 29
RE: beta2
(12th Oct, 2013 02:29 PM)mk01 Wrote:  
(9th Oct, 2013 06:20 AM)Dave400 Wrote:  Bad news.. I installed the lirc update (along with 5 other packages) and now my remote is behaving how it was before, I've rolled back using a snapshot and will install the other updates again but leave out lirc for the time being...

@Dave400

is it possible that xbian-update put lirc_rpi into /etc/modules and by removing it you restore previous functionality?

while looking into /etc/lirc/hardware.conf, first RC which is looked up is lirc_rpi. all others are "else if" so won't never override the lirc RC found as first.

can you report back please?

Removing it fixed my remote Smile What line should I remove for ssh? Wink (as now it hangs after asking for the password)

*edit* Guess it was the same line Smile
Find all posts by this user
Quote this message in a reply
13th Oct, 2013, 07:54 AM
Post: #454
thenork Offline
Registered
Posts: 18
Joined: Aug 2013
Reputation: 1
RE: beta2
(13th Oct, 2013 06:30 AM)mk01 Wrote:  hm. what is output of
Code:
ls -la /media ; ls -la /media/Fantom; mount | grep Fantom

?

Code:
root@xbian:~# ls -la /media ; ls -la /media/Fantom; mount | grep Fantom
total 8
drwxr-xr-x  1 root root   20 Oct 12 14:57 .
drwxr-xr-x  1 root root  192 Sep 17 01:19 ..
drwxrwxrwx 10 root root 4096 Sep 14 14:58 Fantom
lrwxrwxrwx  1 root root   13 Oct 12 14:57 usb0 -> /media/Fantom
total 576
drwxrwxrwx 10 root  root    4096 Sep 14 14:58 .
drwxr-xr-x  1 root  root      20 Oct 12 14:57 ..
drwxrwxrwx  2 xbian xbian   4096 Aug 22 11:26 downloads
-rwxr--r--  1 root  root    4096 Aug 14 22:03 ._.DS_Store
-rwxr--r--  1 root  root   15364 Sep  5 10:41 .DS_Store
drwx------  2 root  root   16384 Aug 10 19:03 lost+found
drwxrwxrwx  5 xbian xbian   4096 Oct 12 14:38 movies
drwxrwxrwx 43 xbian xbian   4096 Oct 12 13:44 TV
drwxrwxrwx  3 root  root    4096 Sep 15 22:12 xbian-home-backup
/dev/sda1 on /media/Fantom type ext4 (rw,nodev,noexec,noatime,nodiratime,sync,data=ordered)
Find all posts by this user
Quote this message in a reply
13th Oct, 2013, 08:53 AM
Post: #455
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: beta2
@thenork

do a
Code:
sudo chown -Rc xbian:xbian /media/Fantom

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
13th Oct, 2013, 09:08 AM
Post: #456
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: beta2
Could be reload xbmc a little bit less hard.
i can't reproduce again, but it's happen, when i reload xbmc, addon was not stopped(xbian-config), it's still post log in new xbmc session and i can see screen on overlay when xbmc is stop.

maybe send TERM, wait 2 sec and send KILL, addon should have time to stop, or at least keep the signal to stop and died after.
or more hard and kill all xbmc subprocess with KILL.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
13th Oct, 2013, 09:19 AM
Post: #457
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: beta2
reload will never be nicer as "reload xbmc" is defined by upstard design as sending SIGHUP to the process. second part is what the process does about this.

"restart xbmc" can be controlled. as this is the standard workflow as from pre-start until post-stop. if you call "stop xbmc" or "restart xbmc" xbmc is going to be stopped by TERM signal, wait 10s and kill.

btw: for the blocked python threads I'm keeping a list of PIDs (of xbian-config CLI) which were called from within xbmc. so instead of stopping / waiting / crashing xbian-config-xbmc (python inside xbmc), you can just do "kill $(cat /run/lock/xbian-config)". this will send TERM to running processes and python threads will finish immediatelly.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
13th Oct, 2013, 04:34 PM
Post: #458
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: beta2
(12th Oct, 2013 07:35 PM)namtih Wrote:  @2)
Thanks, good to hear that I'm not alone with this issue.
Let's see if Koenkk perhaps will find the fix/commit.

http://forum.stmlabs.com/showthread.php?tid=10868 but looks like you was first but nobody followed Smile

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
13th Oct, 2013, 08:12 PM
Post: #459
xraxor Offline
Registered
Posts: 177
Joined: Dec 2012
Reputation: 9
RE: beta2
followed instructions by @mk01 changed etc/usbmount/usbmount.conf SHARERW=yes and reboot the Pi, now I can read/write/rename to my external EXT4 HDD

xbian@xbian ~ $ sudo net conf list
[sudo] password for xbian:
[xbmc-backup]
path = /xbmc-backup
read only = no
guest ok = yes
force user = root
browseable = yes

[avMedia01]
path = /media/avMedia01
guest ok = yes
read only = no
force user = xbian
browseable = yes

Edit:
had to run this line of code and reboot as well
sudo chown -Rc xbian:xbian /media/avMedia01

now all perfect Big Grin . can't wait, now xbmc seems to be giving more attention to the Pi Smile
Find all posts by this user
Quote this message in a reply
13th Oct, 2013, 08:34 PM
Post: #460
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: beta2
In my case Lirc now works at boot time. It only doesn't work in my specific cause. Probably because my /etc/lirc folder contains various symlinks to a samba share.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
13th Oct, 2013, 09:47 PM
Post: #461
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: beta2
@CurlyMo

add condition "stopped xbian-net" to lirc.conf .

when xbian-net is stopped, eth0/wlan should be up and nfs/nfs4/cifs mounts from fstab should have been mounted.

(13th Oct, 2013 08:12 PM)xraxor Wrote:  followed instructions by @mk01 changed etc/usbmount/usbmount.conf SHARERW=yes and reboot the Pi, now I can read/write/rename to my external EXT4 HDD

thanks for confirming
Find all posts by this user
Quote this message in a reply
14th Oct, 2013, 01:56 AM
Post: #462
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: beta2
@mk01, the problem is that it also doesn't work when starting Lirc through SSH.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
14th Oct, 2013, 02:18 AM
Post: #463
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: beta2
(13th Oct, 2013 08:34 PM)CurlyMo Wrote:  In my case Lirc now works at boot time. It only doesn't work in my specific cause. Probably because my /etc/lirc folder contains various symlinks to a samba share.

Can you not mount /etc/lirc as a whole folder?

There are "test -f" statements which will obviously fail on symlink. That's why sometimes is better just test -e.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
14th Oct, 2013, 03:05 AM
Post: #464
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: beta2
Didn't work either.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
14th Oct, 2013, 03:18 AM
Post: #465
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: beta2
then put a "set -x" to hardware.conf and follow output in /var/log/upstart/lirc.conf
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (51): « Previous 1 ... 29 30 31 32 33 ... 51 Next »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 13th May, 2025, 02:06 PM Powered By MyBB, © 2002-2025 MyBB Group.