Slackware :: Avoid Entering Commands After Reboot?
Feb 4, 2010
I have gotten my touchpad and wireless working after a day of research and help on this forum. The bad news is that I need to enter these commands every time I boot up. I know there is a way to load these commands into the startup. But I am not quite sure where to put them.
on a Vimeo video in Firefox, and my computer became "partially frozen". The video stopped, but the audio continued to play to the end, but I couldn't clear the video. I pressed ctrl-f2 to switch to my other desktop, but it just brought up a blank screen, and switching back makes no difference.As it stands I have a black screen with my mouse cursor on it (I can move the cursor, yes). I'm new to linux, and I want to know if there are any keyboard shortcuts I could try to fix this. I'd rather not hard reboot whenever I run into a problem, I just don't know the terms to google for
I'm configuring an HP Mini 110 (wireless BCM4313) to use it as a small Access Point (ad-hoc mode).
I want to make my configuration reboot friendly. With what I have right now, as soon as I reboot the laptop, the wireless interface configuration isn't correctly setup. I have to do "ifdown eth1; ifup eth1" manually.
Here is what I have in /etc/network/interfaces for the wireless interface code...
So the question is how can I avoid having to bring down and up the interface?
I've read through your forums and done a bit of googling to see that an automated reboot at a certain time has something to do with cron jobsMy second task is then to run commands like the following command when the machine starts up again...screen -t s5 ./srcds_run -console -game cstrike -port 27025 +ip xxx.xxx.xxx.xx +map de_dust2 +maxplayers 11 -tickrate 100 -autoupdateit seems to me I need to edit the rd.local but when I open my file I don't really understand where I need to insert my command
i want to compile Graphviz but i got stuck on a nice problem which i cant resolve. Here it is. I downloaded the 2.26.2 version and made the usual configure etc.. But i received such an error during compile time:
[Code]...
I am on Slackware 13 64. I think i have all the libraries needed as well. I tried and the SlackBuild but same problem. Something weird is happening for sure.I tried and other versions but no luck. Its always that problem.
I'm installing Slackware 13.1 on a Samsung N150 netbook and am stuck trying to make the special keys do their normal functions when using a virtual terminal, that is not under X. Under X + Xfce it can be done via Menu->Settings->Keyboard->"Application Shortcuts".
In essence the question is how to make a special key (example Fn+Up to increase screen brightness) run a command in the background.
Changed title and text to make clear that the command should not run in a virtual terminal but while the display is being used for a virtual terminal, that is after Ctrl+Alt+F2 for example.
After a few hours work I have managed to set up pptd so that my daughter can log into her account at Imperial College. My problem now is that I need to have a script that she can run if she wants to log in. She will have to invoke a couple of root commands and I do not want to give her the root password What she needs to do to set up networking is:
I upgraded from Slackware 64 13.1 to Slackware 64 13.37 a week or so ago. I am now having a perceptible delay of a few seconds when launching commands from the command line, say for example: screen -R.
I'm on a Dell Inspiron 6000. I installed i8kutils and it works. Fan speed reduces CPU temp from 50C to 44C. A start-up script invokes the i8k module: $ udo /usr/sbin/modprobe i8k force=1 which creates /proc/i8k. The man page for i8kctl is straightforward: a few simple commands to read info from the aforementioned file.So. I know nothing about writing even basic bash scripts. I gave it a go here but I know this is way wrong. Would anyone like to help a guy out? This is my starting point (don't laugh):
Code: #!/bin/bash # script to toggle fan speed low/high
fairly new to linux and tried Slack as a way to force myself to learn. I am running current and when i issue the reboot command it will hang on "Restarting system". If i use the shutdown -r now command it will reboot fine. Any ideas?
I have a laptop running slackware-current. The disk is /dev/sda and the root 'sda1' is xfs formatted (there is also linux swap at sda2).
recently I was trying to setup openvpn and had to copy a folder with configuration files from /usr/doc/openvpn_<version>/easy-rsa to /etc/openvpn.
I am sure the copying completed cause I got a prompt, but a few seconds later the battery died on me. When I got mains and powered it up, I could see the directory I copied under /etc/openvpn, and the files where all there too. but they all contained nothing. i.e. they had a size of 0.
I read [URL] Fthat an external journal filesystem for root is not supported. I am not sure If it applies to my situation though. As in does it use an internal journal instead?
and the bottom line is: shouldn't the copying have completed successfully? shouldn't I be worried, that this copy failed?
First: I upgraded my slackware 13.0 last night (Philippine time) to -current. I just download the while current tree (except for source) and copied to my home dir, then do the slackpkg commands.
#1 Added a mirror to my home directory pointing the slackware-current tree. #2 slackpkg update #3 slackpkg install-new #4 slackpkg upgrade-all #5 slackpkg clean-system #6 lilo was configured #7 reboot
It successfully upgraded. Although I'm aware that I have installed openchrome driver and drm kernel module when it was slackware 13.0.
After a reboot, it crashes in between the boot time, if I was not mistaken, I read ACPI something on the bottom of the console, then the screen flickers and goes blank. It locks up there.
By the way, it is a laptop with VIA chipset on it.
(Using the Slackware 13.0 DVD, I booted using hugesmp.s root=/dev/sda3 rdinit= ro for the rescue.)
Trying to fix it by myself (no internet at home) I tried to look at /var/log/messages and cannot find what is the cause (newbie mode). I also tried to disable some services such as hald, httpd, mysqld, bluetooth, wicd, wireless, the old kernel and some others at /etc/rc.d/ by removing the execute bit.
After a restart, still the problem exists.
Now, I finally backup the whole home dir, moved to home-bak and decided to install the fresh slackware-current instead.
Second: I used the 13.0 installer, then setup slackware using the pre-mounted directory containing the slackware-current tree. I only deleted the files except for home-bak and not reformat the drive.
It actually installs, but after the reboot (using the new 2.6.32.3 kernel), still the problem persists.
Using slack 13.0 32-bit I have a dual-boot configuration with slack at sda1, sda2, sda3 and ubuntu 10.04 on sda6, sda7, sda8 When I boot into ubuntu, then boot back into slack, the date setting is change to '00.. something' (zero hours).
I am using Slackware 13.1 on my Asus K40IN, I also use dual boot by LILO with Windows XP. In Windows XP I can reboot or shutdown by select Start -> Turn off Computer, or just physically push the power button, then the machine will shutdown. In my Slackware 13.1, I can physically push the power button, the machine show that it is switching to run level 0, and then it will power off. However, I can not turn it off or restart my machine by the command (run "halt" or "reboot" as root), it show identical things like when I physically push button, but when it turn to status "Restarting machine" or "Turning off machine", my computer hang there, it does not power off machine or restart it. Is there any one experienced this situation? What should I do to fix it?
Before i wiped windows (and the dual-booted slackware on it to make a slackware only hdd) i (sort of) backed up my files. I put something into my /etc/fstab that wiped /tmp/ when i shutdown/rebooted.
I put my slackpkg on the Current mirror, to install all the new sofware, including the new kernel... Now I tried to reboot the system and verify the speed of the all new packages, but KDM don't start! When I call KDM, it shines a little, show the mouse pointer and backs to term. When I call the XDM its a little different, it let me put my user and password, but after back to term too...
I just happen to have a glitch with my newly rebuild slackware server. This morning everything was working fine. Then having recently setup raid arrays, I decided to try MrGoblin's rc.mdadm script to monitor the raid arrays.
I copied the rc script to rc.d & added lines in rc.local to start the script, and a line in rc.6 to stop the script when shutdown or reboot.
Now, I cant reboot neither I can shutdown...
If I issue the command "shutdown -r now", Slack execute the normal shutdown or reboot steps, unmount the local FS, turn off swap, remount the rootdev as readonly, and then I see:
Code:
Mdadm monitor not running:INIT: no more processes left in this runlevel & it stalls at this point forever...
Before the machine would have rebooted after this line. What could explain this? Now I have to hard power down or reset the machine, and of course, upon rebooting I get a REISERFS warning of unclean shutdown...
Content of the rc.local:
Code:
#!/bin/sh # # /etc/rc.d/rc.local: Local system initialization script. # # Put any local startup commands in here. Also, if you have code....
Whenever I am prompted to enter the root password, typical example would be in 'Power Management' clicking the button 'Make Default', pressing ENTER or clicking AUTHENTICATE doesn't close the box. To get passed this I have to press ALT+F4 and it continues which I'm assuming still does authenticate.
When I use rar e to extract a rar file, the request for entry of the password always says password will not be echoed. For longer passwords, this is difficult, since a single mistyped key will result in an error.
Does anyone know how I can use the rar command to extract and have the password echoed (appear on the screen as I type it)?
I created a key for an ssl site with a passphrase. Worked really well and enjoyed doing it. I then shut down the lpatop and drove back to my parents for easter...
Now Fedora won't fully boot, and I'm just have the line that creeps along the bootom. I've tried a few things, but not having any joy. I obviously need to enter this passphrase, but how should I do this?
Do I go out any get some CD's to make a boot disk? Or is there a way to disable the graphical boot options from grub?
I am using sda1 as /, which is a bootable drive. I do not know if my problem is that I did not create a /boot drive. After removing the iso dvd, I tried to reboot and I get this back: -bash: /sbin/reboot: input/output error Then it returns me to the terminal prompt.