LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-20-2014, 02:31 AM   #1
win_the_day_go_ducks
LQ Newbie
 
Registered: Sep 2014
Posts: 25

Rep: Reputation: Disabled
I have to keep re-installing a program after every reboot.


I have an home automation controller that connects through the serial port on my motherboard. I managed to get it to work just fine but noticed after every reboot the program wouldn't work again.

The program in question is called "BottleRocket" and it is available through software manager. I've re-installed through there, uninstalled and re-installed through synaptic, and it's always the same outcome; works great, but no dice after reboot.

As best I can tell, the culprit is a link file called "firecracker" that gets copied to the /dev/ folder. For some reason it always
vanishes s after a reboot and the commands associated with the program wont work.

Any ideas?

Thanks!
 
Old 09-20-2014, 03:40 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,944

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
Quick search found this, which looks like your problem. The Debian reference gives a solution, so try this (untested)
Code:
sudo echo 'KERNEL=="ttyS0", SYMLINK+="firecracker"' > /etc/udev/rules.d/98-firecracker.rules
This only (ever) needs to be run once after a reboot, then you should be good to go - just reboot again and see if it fixes the problem.
 
Old 09-20-2014, 02:58 PM   #3
win_the_day_go_ducks
LQ Newbie
 
Registered: Sep 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Quick search found this, which looks like your problem. The Debian reference gives a solution, so try this (untested)
Code:
sudo echo 'KERNEL=="ttyS0", SYMLINK+="firecracker"' > /etc/udev/rules.d/98-firecracker.rules
This only (ever) needs to be run once after a reboot, then you should be good to go - just reboot again and see if it fixes the problem.
Wow it worked! I was getting some permission errors so I had to use the following code:

Code:
echo 'KERNEL=="ttyS0", SYMLINK+="firecracker"' | sudo tee /etc/udev/rules.d/98-firecracker.rules
Thanks again for your help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't force reboot from program drb Linux - Newbie 4 07-07-2011 07:06 PM
to continue a program after reboot dexter.gdv Programming 1 04-11-2011 11:02 PM
starting program at reboot without login dsollen Linux - General 5 09-18-2009 06:36 AM
How does one shutdown and reboot linux from within a program? prometheus7817 Linux - General 2 08-27-2003 06:55 AM
Using cron to start a program at reboot ? s&j Linux - General 2 06-22-2002 04:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration