To manually update the time in ubuntu run the following command:
#sudo ntpdate ntp.ubuntu.com
This will update the time from the Ubuntu servers
Wednesday, April 8, 2009
Postfix enable Subject for logging
To enable logging of the "Subject:" information feature in Postfix, you need to modify the "header_checks" file in the main.cf file.
To create a file use this:
"regexp:/etc/postfix/header_checks".
main.cf entry = "header_checks = regexp:/etc/postfix/header_checks"
Once that file is created, you need to modify the file by adding:
"/^Subject:/ WARN"
This will add the Subject text to the info or mail.info log file. You can then grep based on the subject text.
To create a file use this:
"regexp:/etc/postfix/header_checks".
main.cf entry = "header_checks = regexp:/etc/postfix/header_checks"
Once that file is created, you need to modify the file by adding:
"/^Subject:/ WARN"
This will add the Subject text to the info or mail.info log file. You can then grep based on the subject text.
Wednesday, November 12, 2008
SNMPwalk commands
snmpwalk -v 1|2c|3 -c public IP
example:
snmpwalk -v 2c -c public 127.0.0.1
or
snmpwalk -v 1 -c public 127.0.0.1
or
snmpwalk -v 3 -c public 127.0.0.1
example:
snmpwalk -v 2c -c public 127.0.0.1
or
snmpwalk -v 1 -c public 127.0.0.1
or
snmpwalk -v 3 -c public 127.0.0.1
Sunday, November 2, 2008
Dual Monitor Config with NVidia and Ubuntu
To get dual monitors working under Ubuntu with NVidia drivers make the following changes to your xorg.conf file
Under the heading of "Screen" add the following:
Option "TwinView"
Option "1280X1024 280X1024"
Save this and restart X.
You will not have 2 monitors.
http://www.ubuntugeek.com/dual-monitors-with-nvidia.html
Sample xorg.conf after change:
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
Option "TwinView"
Option "1280X1024 1280X1024"
EndSection
Under the heading of "Screen" add the following:
Option "TwinView"
Option "1280X1024 280X1024"
Save this and restart X.
You will not have 2 monitors.
http://www.ubuntugeek.com/dual-monitors-with-nvidia.html
Sample xorg.conf after change:
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
Option "TwinView"
Option "1280X1024 1280X1024"
EndSection
Monday, October 27, 2008
Command line Kung-Fu
Great list of windows command line options
http://synjunkie.blogspot.com/2008/03/basic-dos-foo.html
http://synjunkie.blogspot.com/2008/03/basic-dos-foo.html
Sunday, August 3, 2008
Update firefox on Ubuntu
run the following command to enable the " check for updates" option under help:
$ gksudo firefox
Now you can update firefox under Ubuntu.
$ gksudo firefox
Now you can update firefox under Ubuntu.
Thursday, July 31, 2008
Public Free DNS servers
Thanks to http://www.tech-faq.com/public-dns-servers.shtml
Public DNS Servers
Level 3 Communications (Broomfield, CO, US)
4.2.2.14.2.2.2
4.2.2.3
4.2.2.4
4.2.2.5
4.2.2.6
Verizon (Reston, VA, US)
151.197.0.38151.197.0.39
151.202.0.84
151.202.0.85
151.202.0.85
151.203.0.84
151.203.0.85
199.45.32.37
199.45.32.38
199.45.32.40
199.45.32.43
GTE (Irving, TX, US)
192.76.85.133206.124.64.1
One Connect IP (Albuquerque, NM, US)
67.138.54.100OpenDNS (San Francisco, CA, US)
208.67.222.222208.67.220.220
Exetel (Sydney, AU)
220.233.167.31VRx Network Services (New York, NY, US)
199.166.31.3SpeakEasy (Seattle, WA, US)
66.93.87.2216.231.41.2
216.254.95.2
64.81.45.2
64.81.111.2
64.81.127.2
64.81.79.2
64.81.159.2
66.92.64.2
66.92.224.2
66.92.159.2
64.81.79.2
64.81.159.2
64.81.127.2
64.81.45.2
216.27.175.2
66.92.159.2
66.93.87.2
Sprintlink (Overland Park, KS, US)
199.2.252.10204.97.212.10
204.117.214.10
Cisco (San Jose, CA, US)
64.102.255.44128.107.241.185
Subscribe to:
Posts (Atom)