OpenSUSE Hardware :: Disabling Internet To Gain FPS?
Jul 23, 2011
I can disable the internet in mswin(XP) to gain some FPS in games. How can I disable the internet and enable the internet as needed? I have suse 11.4 and kde. Through command line?
I administer a desktop computer with ubuntu 8.04 in an university library. Since it works almost all night, to enable students to study, after some time I noticed some misuses of the computer during the evening, when there isn't many students. My goal was to disable users from accessing internet from 7pm to 7am, but also enable it if certain user was logged in (I use that user for torrent, and I seed on that computers from time to time). So I created a script that's being called by root's crontab, and here is the script's code:
Code: #!/bin/bash NUM=`who|grep myuser|wc -l` #echo $NUM if [ $NUM -le 0 ]; then /sbin/ifconfig eth0 down else /sbin/ifconfig eth0 up fi
Since I created the script, I actually never seeded anything, so I'm wondering now if that's going to work at all, and (also) is there a better solution for this.
Is karmic is slower for you all: if you're running windows ping a server on windows/ubuntu and compare. 9.10 is consistently slower for me. I've seen enough "slow internet" posts to suspect that someone screwed up bad. Everyone says it's ipv6, but none of the fixes work for me. Pretty sure it's ipv6 (or at least a dns-related problem):
I have installed Ubuntu 10.10 on my laptop, and the internet was very slow and kept dropping in and out for any web browsers and sometimes the Ubuntu software center. After searching the internet for a while I came across several article saying to disable ipv6, which I have done, but the issue persists
I'm looking to install an nVIDIA driver (sh NVIDIA-Linux-x86_64-190.53-pkg2.run is the command I used) but it tells me I need to do it when the xfree isn't running
So what I'm looking for is a way to boot up to the command line, is that possible on SUSE 11.2?
I have installed SystemD in in parallel to SysVInti(with OpenSUSE enhancements). When I starting SystemD, startpar is also running. I suppose, i should add starpar.unit to SystemD configuration. I asks for help, because I won't broke my system.
I've set up a media box for mythtv based on OpenSUSE 11.3 and LXDE. By default, the screen gets locked prior to a suspend. On resume, therefore, the screen is locked and requires a password to unlock. I need to disable this action. In KDE4, I can do that by going to the power management settings and un-selecting the appropriate check box. In LXDE, however, I can find no such settings. There must be a config file somewhere that I can tweak to turn off the screen lock prior to suspend, but I have no idea what it is.
I've had a hell of a time with this and now all but YAST2 are ok. Going back some time to 10.0 this could be used to disable it very completely.
open terminal and run echo "alias net-pf-10 off" >> /etc/modprobe.conf echo "alias ipv6 off" >> /etc/modprobe.conf
restart computer. Has anyone used this on more recent issues even 11.4 and are there any repercussions?I assume that the inverse will but it back on ie off's just become on's? I will be using cups when I install my printer which is one concern and I am not at all sure that modprobe will do anything anymore?
I also recollect that there is a command to cause the kernel to effectively reboot which would save restarting. Can't remember what it is. Maybe some one can refresh my memory.
Since I have upgraded to KDE 4.5 I can't play games (native or wine) without disabling composite before start playing.When I start a game its window begins to shiver (to tremble or to shake... not sure) and so I have to disable composite first and then relaunch the game.I never had to do this in KDE 4.4.
For a number of openSUSE releases now, on a periodic basis (monthly, it seems?) both my laptop and my desktop take forever to start. During this time, the hard disk activity is going berserk. When inspecting this with "iotop", a process called "preload" or "start_preload" is hammering the disk, sometimes up to 10 minutes.
The irony is when you research "preload", you find mostly articles like "drastically speed up your Linux system with preload"- I sometimes think it has to do with running VMs on these machines and maybe it's trying to cache those large disk images? Pure speculation, but I can't seem to find any documentation on this.
Anyway, I did finally find a way to turn this thing off. WARNING: since I do not know exactly what preload does and whether your machine becomes unusable if you turn it off, please only follow these instructions at your own risk. Since preload seems to be a very low-level system/service, I did not want to risk uninstalling it. What I did instead was:
Yast2 - System Services (RunLevel) Click the Expert Mode radio button Scroll down to the boot.startpreload entry
[code].....
Since I applied these steps, no long boot times with insane hard disk activity has occurred and I also have not noticed anything else complaining or not working with this service off.
I am a brand new user coming from the MS environment. My impression of openSUSE is that it is like moving into a new house that is well built but the rooms are full of half-constructed self-assembly furniture and appliances without any specific instructions. Nor is it clear which does what and whether all are needed or not. There is a town hall down the road where fellow homeowners gather to discuss what each has managed to deduce about putting their own furniture together. The town hall has a sort of library where thousands of pieces of paper with instructions are stored in an ad-hoc filing system
My latest problem is that I have created a screensaver via the "Configure Desktop" application and set "Enable display power management" and set some timeouts.However, I seem to be asked for a password to unlock the screen when I come back to my computer. I have spent 2 hours trying to find the place where I can disable screen password locking but to no avail. I am perplexed and frustrated at how such an obvious function is so ****ed hard to configure. This is the impression I am getting of Linux in general - it is novice user-hostile and badly organised.
After installing Fedora 6 (and probably any later version) I find that access to the add/remove section is denied unless I have an Internet connection which I don't have. I just do not see any reason why this is done this way! One can't even gain access with the DVD Is there a way to circumvent this nuisance from the terminal Does anyone know why this is put into the installation in the first place.?
I recently installed Ubuntu 10.04 32bit on my laptop. I am trying to learn the command line and also install software via the command line. I type in su and hit enter it asks me for my password and I type that in. The password fails, why is this? I am the one who set this up and installed the OS. Now I am logged in using my normal user account when doing this from the GUI
I am trying to email a .pdf file that I created on a mac system, and I am being told after attaching the .pdf to the email that: Quote: Unable to save your message as draft. There was an error attaching . Please check if you have access to the file I found an evince tutorial on line to try and resolve this on my own, however I am still getting the same error. This is the link: [URL]
How can I do the printing job over the network .I have only one printer on my firm Its not network printer here whole system are in LAN how can i gain the printing job
I've recently created a new user's account in Ubuntu because of some difficulties I was having with network communications. Apparently this has affected my ability to get into a terminal because now, when I submit my user name I get the following:
[OPTIONS] [PASSWORD-FILES] --single "single crack" mode --wordlist=FILE --stdin wordlist mode, read words from FILE or stdin --rules enable word mangling rules for wordlist mode --incremental[=MODE] "incremental" mode [using section MODE] --external=MODE external mode or word filter --stdout[=LENGTH] just output candidate passwords [cut at LENGTH] --restore[=NAME] restore an interrupted session [called NAME] --session=NAME give a new session the NAME --status[=NAME] print status of a session [called NAME] --make-charset=FILE make a charset, FILE will be overwritten --show show cracked passwords --test perform a benchmark --users=[-]LOGIN|UID[,..] [do not] load this (these) user(s) only --groups=[-]GID[,..] load users [not] of this (these) group(s) only --shells=[-]SHELL[,..] load users with[out] this (these) shell(s) only --salts=[-]COUNT load salts with[out] at least COUNT passwords only --format=NAME force hash type NAME: DES/BSDI/MD5/BF/AFS/LM/NT/mscash/NETLM/NETNTLM/bfegg/DOMINOSEC/lotus5/raw-MD5/raw-sha1/IPB2/nsldap/openssha/HDAA --save-memory=LEVEL enable memory saving, at LEVEL 1..3
I've always been able to just install my name and password and things worked smoothly. What is this about and what do I need to do to restore my ability to use a terminal?
Does anyone here has any experience with the proprietary compilers? OpenWatcom, Intel and Pathscale? Does the performance gain is noticeable regarding the gcc...?In number crunching applications, i may say that ifort/ icc/ mkl yeld faster binaries than gcc.has anyone here already tinkered with OpenWatcom/PathScale...?
I just upgraded to Fedora 12 on my computer. Now I can't connect to the net. Under network I show the two connections (neither working). The "connect" and "disconnect" AND the "delete" buttons are all grayed out (?). I also can't log in as root to try to gain more access. Probably just a new way of doing things. I was upgrading from F7 so it was a bit of a jump.
Does the network utility work differently from 7? Am I now rootless? It would seem that my wifi card sees the net as I can see the routers out there, but can't connect. I'm sure I'm using the correct WEP.
How may I normalize a (voice) audio mp3 or aac file with no loss, having the gain rised as much as possible (mitigating distortion using a compressor), so in a long conversation people that speak softer can have more gain for their voice and people that speak louder can have less gain?
I'm working with a laptop that will not boot into windows (the sole partitionI'm working on a laptop that recognises that a windows partition is present in ubuntu live CD but will not mount it so that I can gain access to the system to recover files. I get this error:
Code: Failed to mount: '/dev/sda2': input/output error What I want to know is how to force mount the partition so that I can gain access or any other method that will allow me to recover those files
When i installed ubuntu. I made a seperate partition so that i could copy an ISO image onto it of an up-to-date version of ubuntu. I wanted to then boot the ISO up so i could install the new version that way. I've already tried doing it through the update manager but it'll download, almost be done with installing and it freezes on me. so i figured this would be easier. However i do not know how to gain access to the other partition to copy the ISO image. Please help.
I'm using Gnome on openSUSE 11.2. I can't get rid of the ctrl-alt-d keyboard shortcut in Gnome. I have set it to "disabled" in control center -> keyboard shortcuts, but no luck.
When I run the gnome-keybindings-properties program from the terminal it dumps these two messages onto stderr:
(gnome-keybinding-properties:11958): keybinding-properties-WARNING **: No description for key '/apps/compiz/general/allscreens/options/opacity_decrease_key' (gnome-keybinding-properties:11958): keybinding-properties-WARNING **: No description for key '/apps/compiz/general/allscreens/options/opacity_increase_key'
and the following two messages like 20 or so times:
I realize this isn't the most critical problem, but I am experimenting with Guile (scheme as a C extension language) which I am editing in Emacs, and even after reassigning "down-list" I keep hitting C-M-d because it's right by C-M-f which I also use constantly, and this minimizes all my windows! And there is nothing on my desktop, I never use the feature intentionally. Maybe I should get a wallpaper that says "HaHa Dummy!" or something of the sort to at least get a chuckle out of it when it happens.
I am semi new to linux and i was getting the hang of it until just recently. I'm trying to do some web design using php and mysql. In my reference material (the all in one desktop reference {for dummies}). At some point I needed to do something in /var/www but I ran into a permissions problem so I typed: Code: chgrp -v -r guy0203 /var/www 405 chgrp -v -R guy0203 /var/www 406 chown -v -R guy0203 /var/www
Afterwards in some subsequent step it suggested putting the files in /usr/src/mysql. Since I didn't have that folder I used mkdir and created it. Then I tried adding the files I needed to that folder and got denied on the grounds of not having permissions once again. So tried something like this: Code: 451 chmod 777 /usr/ 452 sudochmod 777 /usr/ 453 sudo chmod 777 /usr/
It was a 755 originally but I couldn't copy those commands. It turns out as that I had two terminals open in different desktops. one of them was a root terminal. It was at this point that realized that I was in that root terminal and decided I was done 'learning' for the day. I decided to listen to some music (which is located in my windows partion) and ran into a problem. The prompt that pops up to normally asks me for my admin PW to mount the drive. Now just vibrates like an incorrect entry was received, says authentication error and says I am not authorized to mount that drive then I went back to terminal to fix it, and when I tried to elevate myself to SU:
I got this: Code: guy0203@guy0203-laptop:~$ sudo su sudo: must be setuid root guy0203@guy0203-laptop:~$
I don't know what to do now but I think I totally killed this OS. If so is there anyway to save things if I have to reinstall?
I have installed transcriber from the ubuntu repositories the version is listed as 1.5.1.1-3
I am trying to use this program on Ubuntu 9.10 (64bit), and when attempting to play the audio file (standard mp3 format) I get the error message:
Quote:
could not gain access to /dev/sound/dsp for writing
Everything else I have tried for sound works fine and The mp3 file I'm transcribing plays fine in any other application eg movie player and rhythm box etc.
the full error message is:
Code: Could not gain access to /dev/sound/dsp for writing. Could not gain access to /dev/sound/dsp for writing. while executing
I am running Ubuntu 8.04, and I am able to access my machine via SSH, but I only want the log in screen visible on the machine itself, yet still able to work with the SSH. But to do this, I have to log in, get the IP address, log off, then log in via SSH. How do I make the machine receive an IP address during the boot-up!