Forum
[SOLVED] SSH and Samba won't autostart - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: [SOLVED] SSH and Samba won't autostart (/thread-1736.html)

Pages: 1 2


SSH and Samba won't autostart - 5moufl - 8th Nov, 2013 02:09 AM

I've set SSH and Samba to autostart in the settings but these two services actually don't start on boot and I have to do it manually each time I boot up my rpi. I'm running the latest beta (1.1)


RE: SSH and Samba won't autostart - IriDium - 8th Nov, 2013 03:37 AM

These services should be started by default. Have you "played" around at all? or installed anything new?

If not, then can you post your xbmc.log file and output from dmesg.

Also have you tried ssh into your machine and in xbian-config make sure autostart is set.

See my signature for details.


RE: SSH and Samba won't autostart - 5moufl - 8th Nov, 2013 03:58 AM

I only installed the xbian package for samba (which used to autostart and now don't) but nothing apart from that I think that could interfere.
I've checked the config with xbian-config.

xbmc.log
http://pastebin.com/phKWYmUE
dmesg
http://pastebin.com/DHi7tBAw


RE: SSH and Samba won't autostart - IriDium - 8th Nov, 2013 04:25 AM

Everything looks in order.

How did you install samba? (As this seems to be the culprit) via xbmc xbian-config, ssh xbian-config or apt-get?

I'm running a different version so I don't know - but isn't Samba installed by default on Beta 1.1?

After a reboot and not doing anything - can you post a screenshot of xbian-config Services showing ssh and Samba. Start them both, then send the output from dmesg again.

Phase 2. Reflash the SD card - does ssh start normally?


RE: SSH and Samba won't autostart - 5moufl - 8th Nov, 2013 06:24 PM

iirc I installed with aptitude the xbian-package-samba package

After a reboot I get samba and ssh saying that autostart is set up (Yes) but they're (No)t running. And if I start them both you basically get the dmesg log I gave you before, maybe you'd like one BEFORE I start both services...

Phase 2: I don't think that's necessary because ssh autostarted at first.


RE: SSH and Samba won't autostart - IriDium - 9th Nov, 2013 06:10 AM

How did you install lirc with aptitude? Aptitude is not included in Xbian distributions.


RE: SSH and Samba won't autostart - 5moufl - 11th Nov, 2013 08:44 PM

I installed aptitude (cause I usually use it over apt-get). Did I do something wrong there? Maybe I did cause I know remember having to reinstall initscripts or something


RE: SSH and Samba won't autostart - mk01 - 13th Nov, 2013 10:07 AM

@5moufl

there was update 1.2 released recently to beta 1.1 which (including others) reacted on ssh autostart issues. samba is new with this info, but the "issue" is not related to ssh or samba, but system init scripts. I assume by installing you will go both go away. If not, report please back.


RE: SSH and Samba won't autostart - 5moufl - 14th Nov, 2013 07:20 PM

I started from scratch, updated xbian with apt-get update and update and the problem is still there, ssh autostarts before I update initscripts but not after...


RE: SSH and Samba won't autostart - mk01 - 14th Nov, 2013 07:55 PM

even with xbian-update version 1.0-1.2 installed ?

can you please confirm with
Code:
apt-cache policy xbian-update



RE: SSH and Samba won't autostart - 5moufl - 14th Nov, 2013 08:03 PM

oh... but how do I update this? I tried xbian-config > update and apt-get upgrade and it does not update Confused

edit: I also tried:
Terminal
root@qam:~# apt-get install xbian-update=1.0-1.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.0-1.2' for 'xbian-update' was not found



RE: SSH and Samba won't autostart - mk01 - 14th Nov, 2013 08:08 PM

it was pushed to public repo days ago so should be available.

in any case you can hack it with:

Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/pool/main/x/xbian-update/xbian-update_1.0-1.2_armhf.deb
dpkg -i xbian-update_1.0-1.2_armhf.deb
reboot



RE: SSH and Samba won't autostart - 5moufl - 14th Nov, 2013 08:27 PM

I updated the package db as usual... maybe there's something wrong with the mirrors that are set up? (although I didn't change anything to the default ones). Anyhow...
(14th Nov, 2013 08:08 PM)mk01 Wrote:  it was pushed to public repo days ago so should be available.

in any case you can hack it with:

Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/pool/main/x/xbian-update/xbian-update_1.0-1.2_armhf.deb
dpkg -i xbian-update_1.0-1.2_armhf.deb
reboot
...that worked. and ssh is autostarting now. Thanks!


RE: SSH and Samba won't autostart - dcallebaut - 27th Nov, 2013 07:55 AM

(14th Nov, 2013 08:27 PM)5moufl Wrote:  I updated the package db as usual... maybe there's something wrong with the mirrors that are set up? (although I didn't change anything to the default ones). Anyhow...
(14th Nov, 2013 08:08 PM)mk01 Wrote:  it was pushed to public repo days ago so should be available.

in any case you can hack it with:

Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/pool/main/x/xbian-update/xbian-update_1.0-1.2_armhf.deb
dpkg -i xbian-update_1.0-1.2_armhf.deb
reboot
...that worked. and ssh is autostarting now. Thanks!

Hi guys, the above link does not work anymore and I have the same problem still (ssh not autostarting). Could you update to the correct .deb? thanks!


RE: SSH and Samba won't autostart - rikardo1979 - 29th Nov, 2013 07:26 AM

(27th Nov, 2013 07:55 AM)dcallebaut Wrote:  
(14th Nov, 2013 08:27 PM)5moufl Wrote:  I updated the package db as usual... maybe there's something wrong with the mirrors that are set up? (although I didn't change anything to the default ones). Anyhow...
(14th Nov, 2013 08:08 PM)mk01 Wrote:  it was pushed to public repo days ago so should be available.

in any case you can hack it with:

Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/pool/main/x/xbian-update/xbian-update_1.0-1.2_armhf.deb
dpkg -i xbian-update_1.0-1.2_armhf.deb
reboot
...that worked. and ssh is autostarting now. Thanks!

Hi guys, the above link does not work anymore and I have the same problem still (ssh not autostarting). Could you update to the correct .deb? thanks!

cos I have seen you posted similar issue in another thread, I would suggest you do a backup of your XBMC an fresh install Beta2 as it looks you have something really messed in your installation.It would be much easier to just start over Wink