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.

# modprobe lib80211
# cd hybrid_wl
# insmod wl.ko
# ifconfig eth1 up
# synclient tapbutton1=1
# synclient tapbutton2=1
# synclient tapbutton3=1

View 6 Replies


ADVERTISEMENT

Ubuntu :: How To Avoid A Hard Reboot

May 17, 2011

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

View 3 Replies View Related

Networking :: Avoid DNS Cache Flush- Reboot?

Oct 21, 2010

store the dns cache over the reboot in linux(which should not flush the dns cache on reboot).

View 2 Replies View Related

General :: Avoid DNS Cache Flush- Reboot?

Oct 21, 2010

idea to store the dns cache over the reboot in linux(which should not flush the dns cache on reboot).

View 2 Replies View Related

Ubuntu Networking :: Ad-hoc Network Doesn't Survive A Reboot / Avoid Having To Bring Down And Up Interface?

Mar 1, 2011

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?

View 1 Replies View Related

Debian :: Automated Reboot & Commands On A Distro?

Nov 4, 2010

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

View 6 Replies View Related

General :: Difference Between The Shutdown, Halt And Reboot Commands?

Jan 23, 2011

Should I be using one or the other for different things?

View 1 Replies View Related

Slackware :: Graphviz Compile Error "Entering Directory Making All In Dot"

Mar 12, 2010

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.

View 6 Replies View Related

Slackware :: Cannot Shutdown, Reboot And Logout On Slackware 13.37 From Kde Menu?

Jun 11, 2011

I have done 3 clean installs for this problem and it remains, i don't want to do it from the terminal..(Buttons exists but they won't work...)

View 3 Replies View Related

Slackware :: Make Special Keys Run Commands Without X?

Jun 6, 2010

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.

View 4 Replies View Related

Slackware :: Running Root Commands As User?

Nov 7, 2009

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:

Quote:

pppd call imperial dump debug logfd 2 nodetach require-mppe
/sbin/ip route add default dev ppp0

How can I enable things so that she can run this script as user?

View 12 Replies View Related

Slackware :: Sudo Does Not Allow Access To Root Commands

Feb 22, 2011

In order to allow me to shutdown my PC from within fluxbox without being root I ran "visudo" and added the following line:

Code:

psionl0 ALL=(ALL) NOPASSWD: ALL

A check that the line had been accepted showed all ok:

Code:

bash-4.1$ sudo -l

User psionl0 may run the following commands on this host:

(ALL) NOPASSWD: ALL

Yet when I tested it out, I got nowhere:

Code:

bash-4.1$ sudo pkgtool
sudo: pkgtool: command not found
bash-4.1$ sudo shutdown -h now
sudo: shutdown: command not found
bash-4.1$

Have I done something wrong or isn't sudo meant to be used this way?

View 12 Replies View Related

Slackware :: Slight Delay When Processing Commands Using Bash Shell?

Apr 24, 2011

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.

My laptop is an X200 with 3GB of RAM.

View 7 Replies View Related

Slackware :: Writing Basic Bash Script To Toggle Two I8kctl Commands (fan Speed Hi/low)?

Jun 11, 2011

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

[code]...

View 5 Replies View Related

Slackware :: Hang On 'Restarting System' While Using Reboot

May 1, 2011

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?

View 4 Replies View Related

Slackware :: Data Loss After Sudden Reboot On Xfs

Oct 25, 2010

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?

View 7 Replies View Related

Slackware :: 13 -> Current ,Kernel Panic On Reboot?

May 20, 2010

I attempted to upgrade a Slackware 13.0 fresh install to current. First I updated 13.0 by running:

Code:
slackpkg update
slackpkg upgrade-all

I then amended the mirror to current and ran the following commands

Code:
slackpkg update
slackpkg upgrade-all

[Code]...

View 9 Replies View Related

Slackware :: Upgrade To Current - Crashes After Reboot

Jan 20, 2010

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.

View 9 Replies View Related

Slackware :: Date Is Reset On Reboot From Ubuntu Partition?

Jun 17, 2010

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).

View 4 Replies View Related

Slackware :: Turn Off Or Reboot Machine By Command Failed

Nov 4, 2010

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?

View 3 Replies View Related

Slackware :: Wipe /tmp/ On Shutdown/reboot - Includes Fstab?

Mar 4, 2011

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.

View 4 Replies View Related

Slackware :: Put Slackpkg On The Current Mirror - Reboot The System And KDM Don't Start

Mar 10, 2011

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...

View 10 Replies View Related

Slackware :: Script - Telnet Session Is Opened And Then Some More Commands Are Forwarded To That Session?

Apr 12, 2010

hypothetically speaking, can i write a script in which a telnet session is opened and then some more commands are forwarded to that session?

View 4 Replies View Related

General :: Use Scp And Ssh Without Entering Password?

Jul 20, 2011

So, I want to write a bash script that will allow me to scp and ssh to a different server in the network.

Though, I dont know how to get rid of the inputting passwod line if both commands.

View 4 Replies View Related

Slackware :: Cant Shutdown Or Reboot / After Copied The Rc Script To Rc.d & Added Lines In Rc.local To Start The Script?

Oct 10, 2010

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....

View 2 Replies View Related

Ubuntu :: BUG When Entering Root Password?

Dec 5, 2010

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.

View 2 Replies View Related

Ubuntu :: Echo Password When Entering In Rar?

Dec 28, 2010

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)?

View 2 Replies View Related

Red Hat / Fedora :: Entering Passkey Ssl Through Bootscreen

Apr 1, 2010

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?

View 1 Replies View Related

General :: Embedded Reboot Crash - Error Executing The Reboot Command

May 4, 2011

I'm working with Linux 2.6.23 on an embedded device and am receiving the following error executing the reboot command.

View 2 Replies View Related

General :: Will Not Reboot After Install (Arch) - -bash: /sbin/reboot: Input/output Error

Oct 7, 2010

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.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved