LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-07-2002, 05:36 AM   #1
saintt
LQ Newbie
 
Registered: Aug 2001
Location: London
Distribution: SuSE 7.1/7.3
Posts: 25

Rep: Reputation: 15
Running scripts at boot time


I have recently been asked to set up a number of systems using SuSE 7.3. I automatically (and probably naively) assumed it wouldn't be too different from 7.1 but I am having a bit of difficulty with a script we run at boot time.

The script sets up a number of aliases on a network card. The script is in the form

/sbin/ifconfig eth0:1 ip_address1
/sbin/ifconfig eth0:2 ip_address2
/sbin/ifconfig eth0:3 ip_address3
etc.

I've called it .ip_aliasing0 and put it in the home directory for my user account.

In SuSE 7.1 I just edited the /etc/init.d/boot.local file and added
/home/<user>/.ip_aliasing0 to the foot of the file and it worked fine.

But in SuSE 7.3 that isn't working. On boot I get errors saying "unknown interface: no such device" for each alias

But the script can be run fine once I have booted up and opened a bash shell.

Has 7.3 changed the startup order? If so, where should I put my script?

I've checked the permissions on the .ip_aliasing0 file and it is executable by all users so that shouldn't be a problem.
 
Old 08-09-2002, 05:03 AM   #2
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
The script is probably being run before networking is set up. -mk
 
  


Reply



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
running scripts at boot... thedp SUSE / openSUSE 2 10-17-2005 08:21 AM
Tutorial for scripts at boot time? aeruzcar Linux - General 3 08-23-2005 10:00 PM
running scripts at boot viniosity Ubuntu 3 07-19-2005 08:52 PM
Autostart Samba & Running scripts at boot DocNick Linux - General 5 11-09-2004 05:02 AM
My box hangs when running boot scripts elkrammer Linux - Distributions 5 03-31-2003 07:02 PM

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

All times are GMT -5. The time now is 10:55 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