Forum

Full Version: SSH and Samba won't autostart
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2

5moufl

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)
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.

5moufl

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
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?

5moufl

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.
How did you install lirc with aptitude? Aptitude is not included in Xbian distributions.

5moufl

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
@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.

5moufl

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...
even with xbian-update version 1.0-1.2 installed ?

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

5moufl

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
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

5moufl

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!
(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!
(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
Pages: 1 2
Reference URL's