0

Postfix relayhost Authentication

#1 setup a password maps file vi /etc/postfix/sasl_passwd mailserver.com      username:password #2 fix owner and permissions chown root:root /etc/postfix/sasl_passwd; chmod 600 /etc/postfix_sasl_passwd postmap /etc/postfix/sasl_passwd #3 edit /etc/postfix/main.cf relayhost = mail.ispserver.com smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = #4 postfix reload and you are done!

0

I am back!

OK finally I am done with all the upgrades I endedup returning the Dell Ins 530 since it was not able to handle anything over 3.5g of memory and built my own  So I have Q6600 with GA-P35-DS3L and 6gb of DDR800 memory and 2x 500gb WD SATA3’s just need to get a video card and saw a deal today so will try to jump on it.. 😀 4.51(tax) after rebate from local Fry’s Anyways I decided to install CentOS 5.1 on this server and install a windows xp VM guest on top of it. I did notice that the… Continue Reading

0

Inspiron 530 Linux Experience

So recently I purchaed a Dell Inspiron 530 with Core 2 Quad CPU.  According to Dell this computer can only take up to 4GB of memory but it always has the intel G33 chipset and according to intel it should be able to do up to 8GB of memory. From looking at the motherboard it looks like its a OEMed Foxconn G33M motherboard but of course Dell put their own bios and did not solder in 2 of the sata connectors.  If you go into the BIOS you can see 6 SATA connectors but on the physical board itself it… Continue Reading

0

Interview questions

just came up with a list just to keep the mind sharp…. if anyone wants to add more questions please do so.. General Interview Questions ·         What are your responsibilities in your present job? ·         What has been your biggest contribution at your most recent job? ·         Which of your jobs have you enjoyed the most? ·         What type of management style do you work best for? ·         If you could change one thing in your current job, what would it be? ·         What would your manager say are your strengths? ·         What might your manager say as a criticism?… Continue Reading

0

How to trick and install Native XP’s bluetooth stack

About 90% of bluetooth dongos will work with the bluetooth stack that comes with SP2 however for the other 10% lets read below : Lets say you just bought a new bluetooh dongo for your computer/laptop and want to use the built in XP SP2’s bluetooth stack instead of the stack that came from the manufacture but no matter what the Microsoft stack does not work. Here is what you do to solve this problem Goto Device Management ( usually I right click on the My Computer icon on the desktop and click on Manage ) then look under the… Continue Reading

0

NFS share XP to Solaris

I had a hell of time trying to share files and folders from XP to Solaris.  Solaris does not play well with samba mounts so your only choice is to use sharity which does not work well.  Also since XP did not support NFS natively this was hard to do until SFU!  Now what is SFU ? Services for Unix for Windows XP/2000/2003/etc  It installs various services that you can use from your windows like NFS!  BACKGROUND INFORMATION : My web server runs as user webservd:webservd and I am wanting to share 2 directories from my windows server and have… Continue Reading

0

The original computer mouse

This “X-Y position indicator for a display system” is better known as the world’s first computer mouse invented by Douglas Engelbart. With a shell built from wood, two wheels tracked the movements of the device. It’s too bad the patent expired in 1987 before the real money came rolling in. Other interesting factoid: Engelbart’s team nicknamed the device a “mouse” and the on-screen cursor a “bug.” One term took off while the other died a gruesome, lonely death. Hit the jump for a bonus pic.  

0

tcpdump to see what you are getting from the switch

This is a nice tcpdump command line to see what you are getting from the switch as far as duplex and speed tcpdump -nn -vvv -s 1500 -c 1 -i eth0 ‘ether[20:2] == 0x2000’ For linux the output should look like tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 1500 bytes 08:13:11.630525 snap 0:0:c:20:0 CDP v2, ttl: 180s, checksum: 692 (unverified) Device-ID (0x01), length: 9 bytes: ‘SWITCH1’ Version String (0x05), length: 190 bytes: Cisco IOS Software, CBS30X0 Software (CBS30X0-LANBASE-M), Version 12.2(25)SEF1, RELEASE SOFTWARE (fc3) Copyright (c) 1986-2006 by Cisco Systems, Inc. Compiled Tue 23-May-06 15:26 by antonino Platform (0x06),… Continue Reading

0

Kill Usage

kill -HUP PID kill -TERM PID kill -KILL PID (I did not write this, I just found it and posted it here for my own reference.) Why does everyone jump straight to -9? DO NOT USE -9 AS YOUR FIRST KILL SIGNAL. Try a nice friendly -HUP … perhaps a little stronger -TERM. If, for some reason, these don’t work, knock a little louder with -KILL (ie: -9), but don’t whine if something else gets hosed due to the strong signal (not to scare anyone, it’s unlikely that anything critical is happening anyway, any more than just writing a file–… Continue Reading

0

Cheat Sheet

This is common stuff that I always forget at the wrong moment, so I print this and put it on my wall at work. shell : To see what shell you are using (being in just “sh” explains a lot): echo $SHELL Make vi your command line editory: set -o vi Or, if you are still in sh, to switch to ksh and set vi as the command line editor: ksh -o vi crontab: minutes(0-59) hours(0-23) dates(1-31) months(1-12) days(0-6) * * * * * command Set your backspace key to work: stty erase BACKSPACE (It may be you just need… Continue Reading