OpenSUSE Install :: Automatically Run Script On Boot At Runlevel 3?
Jan 29, 2011
I want to automatically run a script once the system has entered runlevel 3 during boot (the script requires network access). I know about /etc/init.d/boot.local but it's my understanding it's triggered in runlevel 1. I also know about init.d scripts but they seem a little daunting.
I am using SUSE 11.2. And I am really baffled with a strange NFS problem.I have set up the fstab on the client and exports on the server correctly, because if I manually run # /etc/init.d/nfs startStarting NFS client services: sm-notify doneI can see and use the NFS partition perfectly, there is no problem at all.But nfs cannot successfully start at boot. In yast, I have enabled nfs in "System Services (Runlevel)" at runlevel 3 and 5. So it should run automatically, but I always get the following error message:
I installed dansguardian & squid on 11.2 and things seem to run fine. Squid auto starts but dansguardian does not. I have checked Yast2's runlevel services option and dansguardian is enabled to 'Yes'. But when i check with 'service dansguardian status' it reports 'unused'.If i start dansguardian by hand, things work perfectly fine.I am in a desperate situation since there are 4 other computers which are dependent on this setup to work correctly
I installed opensuse 11.2 today on my external hard drive and everything is running great, but I want to see if I can make a modification to the way my computer boots. I share this computer with others and they are not going to be happy to have to wait for the boot menu to start when they turn on the computer in order to choose which OS to run (Especially since if they do not make a choice it auto runs opensuse after a few seconds).
What I would like is if opensuse can be "out of sight, out of mind" and only load when I put in the live cd and then choose to boot from my external...... is it possible to do this?I am not a computer wizard and do not work in the industry.
After successful upgrading from 11.3 to 11.4 I had to install ATI driver from here Index of /mirror/ati/openSUSE_11.4 and delete the old ones. After rebooting the system entered in runlevel 5 where I received kwin error which I couldn't back-trace with the tools, but it was working. When I have made an on-line update and rebooted again it went to runlevel 3 without showing any error. When I type startx it shows error, but when I enter as root KDE starts normally and it's functional. how to get to the KDE with my account, but not as a root user ?
Everything worked fine for several updates to the final system, now suddenly when trying to login dropping out at runlevel 5 and login. When doing login the system starts as root with startx but not as user. This is for me a permission problem. Only: I did not change the permissions and I did not log into as a root-X system. I just did set the permissions in yast to secure. Nothing else. The system complains:
I'm relatively new to Linux and to openSUSE. I've been using 11.3 as the OS on my home server for awhile using a GUI (Gnome). I recently created a new server which is much more powerful and would like to get serious about learning the ins and outs of the system. I've learned some basic bash and would like to install 11.4 on the new server. I have two questions about this. The first is: does it add any system overhead if I install KDE but set the default runlevel to 3? I know that running the GUI takes up system resources, but I'm new enough to the system that I'm not 100% comfortable yet not having a GUI backup. On the other hand, if having a GUI installed eats up resources (other than the HDD space for installing it) even if I'm only using the system in runlevel 3, then I think I'll forgo KDE and install it as text only and just bone up on bash.
My second question is: is there a file I can edit to customize the runlevel 3 console? I just installed 11.4 on my HP Mini using KDE but defaulting to runlevel 3, and I really like the background picture and little SUSE lizard at the top of my console. Is there a way to change the background picture and logo at the top? It's probably a little juvenile on my part to want to customize this but Linux is all about choice right?
After the GRUB prompt, my boot process does not advance to the login GUI. It kicks me out to the console view of the boot process and ends with a text prompt for logging in.
I get the following message just before the "Welcome to OpenSUSE 11.1" line:
Skipped services in runlevel 5: nfs
what's happening and how can I retrieve the login GUI?
Above adapter can be installed on v10.2 and 11.3 using ndiswrapper:-
1. Copy the 3 driver files from Windows:- like netwpn111.inf, WPN111.sys & ar5523.bin. (Be carfeul about the exact names, because they have changed over time).
2. sudo ndiswrapper -i netwpn111.inf
3. sudo ndiswrapper -m
4. sudo modprobe ndiswrapper (the adapter should light up at this point and networks will be detected shortly after - see network manager). (Be careful of paths here - e.g. I had to use /sbin/modprobe - so 'whereis' may be necessary to find these commands).
2nd When I reboot, I need to run the modprobe command again. How do I make the module load automatically on boot? Also (and this is minor), can I bypass the KWallet, keyring thing? it seems silly to enter a password for the keyring and then click another password dialog, when I can just as easily enter the password for the network itself.
I recently bought a set of 2.1 speakers, all is fine. I like to listen to my DAB radio through them. When I boot up, (runlevel 3), sound is there via the mic/line-in jack, but as soon as KDE starts, the sound cuts. I can get it back by:~>alsamixerand then F6 and then scroll to mic, switching to ON and slider up to full and then mic boost up to 65% or so.Can I tell something in KDE to default to mic/line-in on?kmix does not give the full picture I see in other's posts, like here:ImageShack® - Online Photo and Video Hostingjust a single slider under each tab, like this:
runlevels 2 -5 are identical in Ubuntu. /etc/init/rc-sysinit.conf is used instead of /etc/inittab for changing the runlevel. But there's no point doing that since the runlevels are identical. The default runlevel is 2, so I tried to find some service I could disable in /etc/rc2.d. I didn't find anything I could work with.
I use release 11.2 and this one works very well. I try new release 11.3 and my system crash when I wont to start system on runlevel 5. There is Sempron 2 GHz CPU and nvidia fx550 graphics card. Keyboard PS2 does not responds but mouse on USB work well. When I start "safe" boot option system work well. What I can to do ? What I must change
I have a default runlevel of 5 where the x-server crashes and takes no key strokes from the keyboard. I want to boot into runlevel 3 to edit xorg.conf. This is SuSE 11.3_64 with GRUB.Anybody who knows how to tell GRUB to please comply with this from the GRUB command line (or however else
Booting into runlevel 3 and then issuing the $init 5, command leaves me this."binary handler for windows applications already registered" and the system hangs there.I yum removed wine, thinking that might be the issue, but that solved nothing.
Sometimes, when I need to affect some quick changes on my box, I boot up in runlevel 1 by adding "single" to my kernel line in the Grub menu. I use Grub because I also have Vista+RHEL+CentOS for operational reasons and then Slack for everything else.Since I upgraded to Slack13 I noticed that this was not working. I assumed that it was because I had installed on a encrypted LV, so I tried it on VirtualBox installs. I tried both on GRUB and LILO on the Virtual Slack. I tried both the 32 and 64 bit versions. It does not work.
How to mount vfat partition automatically after boot? After login it it will mount all vfat partition and the icon of those parition will be at desktop. How can it be done. udisks is installed. If i click a vfat partition from pcmanfm it prompts for password to mount.I don't want to click. It will be automatically mounted and i will get the icon of that mounted vfat partition at desktop
I am having trouble getting grub to automatically boot into ubuntu server. When I turn on my server the grub menu shows up and shows me the choices. They all work fine except that grub wont automatically select one. This wouldn't be too much of a problem but this is a headless server and I can't boot into ubuntu without a keyboard. I tried looking through the grub 2 documentation but nothing seemed to work when I edited the conf file.
I recently updated from OS 11.2 to OS 11.3 and right after that had problems with my X.org server.If started with normal settings X crashes in runlevel 5, so right at the end of the boot process.If started with x11debug option X works, However I cannot use wine with this option.I don't even have an idea how to look for the problem, but there must be some feature that causes X to crash, which is not included in the debug-mode.
After successful upgrading from 11.3 to 11.4 I had to install ATI driver from here Index of /mirror/ati/openSUSE_11.4 and delete the old ones. After rebooting the system entered in runlevel 5 where I received kwin error which I couldn't back-trace with the tools, but it was working. When I have made an on-line update and rebooted again it went to runlevel 3 without showing any error. When I type startx it shows error, but when I enter as root KDE starts normally and it's functional. how to get to the KDE with my account, but not as a root user?
Using tips provided in the "Sticky" posts, I have identified my wireless device -- BCM4322 -- and installed the necessary firmware and drivers. The device appears in Network Manager until system reboot, at which time the "ssd" driver module is loaded instead. After each boot I must execute the following commands to remove ssd and load the Broadcom driver:
rmmod ssb modprobe lib80211 modprobe wl
The Broadcom README file provides directions to load the correct module automatically, but the commands appear to be incompatible with openSUSE 11.4. I'm happy to provide additional detail if needed
When I boot up openSUSE 11.2, sometimes it logs me in automatically (which is the setting I have) and sometimes it doesn't. How do I figure out why this is occurring?
We have a MS Windows domain in our school. Some time ago, when I was toying with an earlier version of Opensuse, I joined a box to our domain. I am trying 11.2 now, and my box is box is being named automatically, to what I named the previous box (which is long gone). I guess this is an issue with my Windows domain controller, but I'm not sure what to do about it. The domain controller is running Windows Server 2008 Enterprise.
I'm installing 11.4 as a guest under Citrix's XenServer. The only access to a guest's graphical desktop is via VNC.The problem is that I can't achieve runlevel 5 as X can't find any devices. With 11.3 I was able to run Sax2 and add a dummy screen device to Xorg.conf that it created.When Sax2 was removed from 11.4, what was the fall-back for configuring X?
I have a problem with the runlevel editor. It hangs at 28 per cent when initialising the runlevels. (Process: y2base runlevel qt). It used to work fine, probably until.I installed an update recommended by yast, including a new kernel. I did not immediately reboot after installing the new kernel but used the runlevel editor, which has hung since then.I've tried a reboot without success.Does anyone know what I could do to get this running again?