Flush DNS
location: linuxquestions.com - date: May 14, 2007
Hello,
In Windows you can refresh DNS entries of the client with
Code:
Flush arp cache
location: linuxquestions.com - date: August 9, 2013
The networking people are replacing routers, building new leads, and placing in new locations.
As for as systems is concern I can just flush the arp cache once there job is done? I will take note of the mac address change of the gateway router. Anything else to check? We have mostly centos.
ip -s -s neigh flush all
Thanks.
Ts
How to Reinstall Grub2 10.04 LTS
location: ubuntuforums.com - date: May 1, 2010
I had a fubar with my Win7 laptop HD and now I need to reinstall Grub2 to the boot sector of my HD. I can find plenty of examples for Grub 1 legacy and how to upgrade from grub 1 to 2 but nothing on how to reinstall Grub2. I stll have the partition with Ubuntu 10.04 LTS on the computer so I don't need to reinstall LTS, just Grub2.
TIA,
Keith
How to calculate cache line size in CPU cache just using the total cache size and set
location: ubuntuforums.com - date: May 9, 2015
Hello, I was looking through processor specifications and I could not find a cache line size (for CPU, not RAM) that's being used in cache. However, I have managed to obtain a total size of a cache and a type of set-associative design.
Is it possible to use two details to calculate the cache line size.
How To: install Ubuntu 12.04 on the OQO model 02
location: ubuntuforums.com - date: September 13, 2013
No Ubuntu past 10.10 boots via USB stick or USB cd on this machine. That being said, I wrote this how to for Precise 12.04 because when I was selling one of these machines on eBay with Precise on it, I was bombarded with people asking how I did it. If you do not have a docking station, you have to find ubuntu 10.10 and make a bootable USB stick and then boot with the xforcevesa nomodeset flags: After the install, add the items /etc/default/grub below, minus the hda_intel items, and use the xorg.conf below from the get go. then follow the second post at http://ubuntuforums.org/showthread.p...8#post12778288 in order to upgrade it to 12.04. Don't install ANY extra packages during the process. Keep booting the 2.6.35 kernel with each upgrade so that you can use wifi for internet. Actually, after you boot your first install of Maverick, remove linux-image-generic and linux-headers-generic so that the upgrade process listed there will not install newer kernels at all. They do not work
Firefox invalidate dns cache
location: linuxexchange.com - date: October 25, 2012
I was too quick about visiting a site I set up on a customer server, and Firefox now remembers, that the default site for (example)
testsite.mycompanyname.com (non existing subdomain, same as *.mycompanyname.com)
is
www.mycompanyname.dk - or rather the IP of the default server
I have then later set up the public DNS (a-record) to redirect to another server, but Firefox remembers the default IP adress.
Chrome/IE/Safari - no problem, as they have not visited that site before DNS kicked in...
I have set these in about:config:
network.dns.disablePrefetch = true
network.dnsCacheExpiration = 0
Anything else?
I really need firebug to debug the frontend on that site....
Cheers
SOLUTION: "Clear Recent History" -> only checked cache. Can't belive I did not do that before asking :-/
android dns cache clear
location: linuxexchange.com - date: January 11, 2012
I have created an application which pings some webpage and sends sms in case it fails.
But when the DNS is not working this application is not sending sms because the IP of the webpage ex. www.google.com is saved into the dns cache and my application is still using this ip and as a result i am not notified about the problem.
I have tried the methods below to delete this cache files but no success :
static int clearCacheFolder(final File dir, final int numDays) {
int deletedFiles = 0;
if (dir!= null && dir.isDirectory()) {
try {
for (File child:dir.listFiles()) {
//first delete subdirectories recursively
if (child.isDirectory()) {
deletedFiles += clearCacheFolder(child, numDays);
}
//then delete the files and subdirectories in this dir
//only empty directories can be deleted, so subdirs have been done first
//if (child.lastMo
How to convert my 16:9 size MKV video to 4:3 size AVI video file
location: linuxexchange.com - date: April 10, 2013
I have a video in MKV format and it's size is 720x304 (16:9 ratio) size video.
I want to convert it to AVI format (using xvid video codec). The output file size should be 480x360 (4:3 ratio) and also want to keep the original (16:9) ratio so it should be cinemascope (black areas at top and bottom).
I am on Ubuntu Linux so I can use mencoder, avconv(ffmpeg) or any tool that work on Linux.
I tried this command:
avconv -i sample.mkv -vcodec libxvid -r 25 -b 1200 -aspect 4:3 -q 1 t.avi
But the problem is that the video is stretched to 4:3 and I want to keep original video's ratio and want to add black boxes at top and bottom so it will look like a "CinemaScope".
What is the best way to do this?
How to make Xubuntu 14.04 look and feel more like Ubuntu
location: ubuntuforums.com - date: September 17, 2014
I happen to really like Ubuntu's default look for Unity. Too bad Unity has too many usability flaws for me to make it my main desktop. Happily, Xubuntu is a great derivative, that indeed does everything I need. But it's a bit too raw out of the box. In this guide, I'll show you how I made my Xubuntu look and feel as beautiful and as smooth as Ubuntu.
We'll be using the Ambiance and Radiance Colors theme, the Faenza icons, DockbarX (with Xfce panel plugin), and Compton as our compositor.
EXTRA AND UPDATED PACKAGES
Code:
sudo add-apt-repository -y ppa:ravefinity-project/ppa
sudo add-apt-repository -y ppa:tiheum/equinox
sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo add-apt-repository -y ppa:richardgv/compton
sudo add-apt-repository -y ppa:gottcode/gcppa
sudo apt update
sudo apt install ambiance-colors radiance-colors faenza-icon-theme xfce4-dockbarx-plugin dockbarx-themes-extra compton
SETTINGS
Appearance
Style: "Ambiance-XFCE-LXDE-Orange"
Icons: "Faenza
LXer: WindowsOnly Click Lock Feature to Be Built for Ubuntu 16.04 LTS
location: linuxquestions.com - date: November 10, 2015
Published at LXer:
Ubuntu developers are working on a new feature for Ubuntu called click lock. This is already present in Windows systems, but it looks like no one figured how to integrate it in Linux systems.
Read More...
please wait...
Page: 1 2 3 4 5 6 7 8 9 10