SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The GUI is started at run level 5. So, if you boot to run level 3 you will have a running system before the GUI starts. Typing telinit 5 as root will "finish" the job.
Ok, so I made my script and what not what I wanted to run at bootup. I put it in runlevel 5 and changed the file to S99 and K99. Was I correct in assuming this would be the last process to start/stop during boot up?
Pretty sure I did, I followed some thing online (this is my first week with Linux in about 5-6 years) and did like chmod 775 something. Then I believe I typed another command to link it?
Does it sounds like I did the right part? (I dont have it in front of me)
All I am trying to do is setup a persistant route, so when the pc boots up the command 'route add 192.168.0.1 gw 30.38.72.50' and then 'echo Hello > diditwork.txt
Those are the only 2 lines I have it in the fine, along with #!/bin/bash
All I am trying to do is setup a persistant route, so when the pc boots up the command 'route add 192.168.0.1 gw 30.38.72.50' and then 'echo Hello > diditwork.txt
Those are the only 2 lines I have it in the fine, along with #!/bin/bash
Hmm. When I saw this I noticed your related thread. I know it can be hard at times, but it is best to stick to a single thread.
Anyway, I don't know why the attempts you have made are not working, but here are some other suggestions.
It seems that in SuSE, configuration is best done via the tools in YaST.
I noted that you are on 10.1. In 10.2 the default for network configuration is NetworkManager. I believe this program was in 10.1 also. See if it is being used in your system. Start the Network Devices tool from YaST. The first screen (on 10.2 anyway) asks if you want to use NetworkManager or the traditional ifup to manage network connections. Choose ifup and then proceed with adding the desired route. I suggest this since I have noticed the occasional oddity with NetworkManager. With ifup you are 100% in control of the network settings.
Make sure you remove your custom script from the init.d area to test this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.