Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-07-2002, 06:36 AM   #1
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

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, 06:03 AM   #2
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


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

All times are GMT -5. The time now is 01:25 AM.

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