LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-23-2005, 05:54 PM   #1
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Rep: Reputation: 30
NAS on Bootup


Once NAS is installed by packages, will it start on bootup?

EDIT: Also, why doesn't the configure script of Qt detect that I have NAS installed?

Last edited by Kenji Miyamoto; 05-23-2005 at 05:58 PM.
 
Old 05-23-2005, 06:04 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,325

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Try to read the docs on how to properly start it and add
the command in /etc/rc.d/rc.local

Do no hesitate to post here your impressions if
the Network Audio System sounds really good
 
Old 05-23-2005, 06:10 PM   #3
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
I can't find anything in the README or FAQ about the startup.
 
Old 05-23-2005, 06:26 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,325

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Start it with
Code:
nasd -aa & # -aa allows any host access
Then set an environment variable for your user :
export AUDIOSERVER="`hostname`:0"
http://radscan.com/nas/nas-README.txt
 
Old 05-23-2005, 06:37 PM   #5
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
Exporting a variable keeps it even after reboot, right?
 
Old 05-23-2005, 06:44 PM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,325

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
no, a variable is a reference to a memory storage, the memory is cleared
when the computer shutdown or reboot

To keep the variable I would do something like :
Code:
echo -e "export AUDIOSERVER=\"`hostname`:0\"" > /etc/profile.d/nas.sh
chmod +x  /etc/profile.d/nas.sh
 
Old 05-23-2005, 07:07 PM   #7
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
Okay, I'm still a little confused. Where would I do all of this; in the console or in the rc.local file?
 
Old 05-23-2005, 07:11 PM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,325

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
in the console, I use commands echo and chmod from the console

for rc.local, you can add a line like this from the console :
Code:
echo "nasd -aa & # -aa allows any host access" >> /etc/rc.d/rc.local
 
  


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
nas vs san Xris718 Linux - General 6 08-25-2005 02:42 PM
linux nas from floppy [winkydo] Linux - Distributions 2 05-26-2005 04:50 AM
Want to build my own NAS box HippieCat Linux - General 2 03-29-2005 10:18 PM
NAS Storage Software mdaddyrabbit Linux - Distributions 3 02-10-2005 12:02 AM
linux powered NAS sumux Linux - Networking 0 11-09-2003 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:21 PM.

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