smbpasswd -a ali
/etc/samba/smb.conf
security=share
[public]
path = /home/ali
read only = no
guest ok = yes
public = yes
browsable = yes
force user = ali
Saturday, April 25, 2009
Tuesday, April 21, 2009
Thursday, April 16, 2009
VOIP FXO FXS
REMEMBER
FXO = Foreign Exchange Office is connected to PSTN.
FXS = Foreign Exchange Subscriber is connected to a normal phone.
http://www.patton.com/technotes/fxs_fxo.pdf
FXO = Foreign Exchange Office is connected to PSTN.
FXS = Foreign Exchange Subscriber is connected to a normal phone.
http://www.patton.com/technotes/fxs_fxo.pdf
Tuesday, April 14, 2009
Saturday, April 11, 2009
microsoft fonts for linux i386
taken and rpm-built from http://corefonts.sourceforge.net/
for rpm based Linuces
msttcorefonts-2.0-1.noarch.rpm
for rpm based Linuces
msttcorefonts-2.0-1.noarch.rpm
Thursday, April 09, 2009
Wive 0.61 on DWL-G700AP
When installing Wive on DWL-G700AP remember that after putting the access point in TFTP mode you have to use the EXACT ip address "192.168.1.6" for tftp regardless of whatever the actual LAN interface IP is.
Saturday, March 28, 2009
trixbox backup and restore
Install tbm-backup trixbox module in both machines, create a backup in BOTH machines, restore the backup from old machine into the new one (mysql password for asteriskuser may not be the same so before the restoration of the backup file make them the same).
windows 2003 limit bandwidth usage per IP
1. squid with delay pools support
(http://markus.revti.com/2007/06/installing-squid-cache-for-windows/)
2. softperfect bandwidth manager
(http://markus.revti.com/2009/01/squid-transparent-proxy-server-on-windows-server-2003/)
(http://markus.revti.com/2007/06/installing-squid-cache-for-windows/)
2. softperfect bandwidth manager
(http://markus.revti.com/2009/01/squid-transparent-proxy-server-on-windows-server-2003/)
Tuesday, March 17, 2009
Saturday, March 14, 2009
multiple domain controllers (DC) on the same LAN
Use the DHCP of one of the DCs and split the LAN into 2 SUB-LANS
this is done using a superscope in the DHCP of domain controller.
- one scope 192.168.1.0/255.255.255.128
- another scope 192.168.1.128/255.255.255.128
The two sub scopes will not be able to access one another
Put one of the servers in first scope and the other in the second one.
In the scope options each have their own DNS and default route
To make the clients become a member of a certain scope fix the clients MAC address and create a reservation
this is done using a superscope in the DHCP of domain controller.
- one scope 192.168.1.0/255.255.255.128
- another scope 192.168.1.128/255.255.255.128
The two sub scopes will not be able to access one another
Put one of the servers in first scope and the other in the second one.
In the scope options each have their own DNS and default route
To make the clients become a member of a certain scope fix the clients MAC address and create a reservation
Saturday, March 07, 2009
vmware guest OS on windows RRAS host OS problem
If you need to have vmware installed on a machine with RRAS, because of incompatibilities between proxy arp of RRAS and vmware your guest OS packets will not be routed, what you need to do is:
[in this example host machine has 2 NICs. One toward Internet and one local.]
1. Add a NIC to the host machine. (not virtual)
2. In the guest OS bridge one NIC to the Internet NIC of the host OS and the other to the newly added NIC of the host OS (which is connected to the local LAN)
3. Assign an IP address to the host and guest machine (the same range as the host machine)
Walla! ping outside
[in this example host machine has 2 NICs. One toward Internet and one local.]
1. Add a NIC to the host machine. (not virtual)
2. In the guest OS bridge one NIC to the Internet NIC of the host OS and the other to the newly added NIC of the host OS (which is connected to the local LAN)
3. Assign an IP address to the host and guest machine (the same range as the host machine)
Walla! ping outside
Wednesday, March 04, 2009
vnc enterprise vncconfig problem
run vncconfig with the -service parameter to change the config of the service mode not user mode
"E:\Program Files\RealVNC\VNC4\vncconfig.exe" -service
"E:\Program Files\RealVNC\VNC4\vncconfig.exe" -service
Sunday, February 15, 2009
mysql import and export
export:
mysqldump -u user -p db > dump.sql
import:
mysql -u user -p db < dump.sql
mysqldump -u user -p db > dump.sql
import:
mysql -u user -p db < dump.sql
Friday, February 13, 2009
howto install cpanel
It is not free, needs a licence from cpanel.net after the trial period
Installing cPanel on a linux box is as simple as:
cd /home
wget layer1.cpanel.net/latest
sh latest
from: http://paragonhost.wordpress.com/2006/11/16/howto-install-cpanel-on-a-linux-os-server/
Installing cPanel on a linux box is as simple as:
cd /home
wget layer1.cpanel.net/latest
sh latest
from: http://paragonhost.wordpress.com/2006/11/16/howto-install-cpanel-on-a-linux-os-server/
Tuesday, February 03, 2009
Saturday, January 31, 2009
Office 2003 Slow send in Vista
simply remove all office 2007 components on your PC and things will be cooooooool :)
Tuesday, December 30, 2008
نیاز به حساب درست و حسابی بانکی و نتایج اعتماد


ما سرویس "حساب بانکی آمریکا" را در سایت ابزارها ازگوگل پیدا کردیم http://www.abzarha.com
پول دادیم (130 هزار تومان). و برای ما با پست یک عدد کارت فرستادند و یک بروشور.
با خدمات مشتریان صادر کننده کارت در آمریکا تماس گرفتیم و فرمودند این فقط کارت است حساب بانکی نیست.

سعی کردیم در پی پل رجیستر کنیم دوباره به دیوار خوردیم.
جواب های این فروشنده محترم جناب آقای مهدی جزینی را بینید.
نامه دوم و جواب ایشان
-----Inline Attachment Follows-----پول دادیم (130 هزار تومان). و برای ما با پست یک عدد کارت فرستادند و یک بروشور.

با خدمات مشتریان صادر کننده کارت در آمریکا تماس گرفتیم و فرمودند این فقط کارت است حساب بانکی نیست.

سعی کردیم در پی پل رجیستر کنیم دوباره به دیوار خوردیم.
جواب های این فروشنده محترم جناب آقای مهدی جزینی را بینید.
نامه دوم و جواب ایشان
Dooste aziz in hesabha hich moshkeli nadare! (lotfan bejaye karhaye bachegane kami ham be harfhaye man deghat konin bad nist !!!) ini ke shoma migin paypal ekhtar mide ke nemitoone add kone. ehtemalan az shanse shoma boode. (motasefane hamishe ham shanse bad dare khooneye kasaii ro mizane ke az hame talabkaran !!! ) gooya kasi ehtemal midam shomareye hesabesho dar paypal masalan yeki do adad pasopish zade (ke hesabe shoma boode) va hamoontor ke midoonin vaghti kasi shomare hesabi ro be paypal add kone. hata ghabl az confirm oon. hich rahi baraye pak kardane oon nadare. magar inke shoma ba customer support paypal tamas begirin va begin >>> ehtemalan kasi shomareye hesabe shoma ro be eshtebah dar paypalesh add karde ke confirm ham nashode. va oonha ba kamale meyl va be sadegi pas az gereftane etelaati az shoma va taiide oon be sadegi oono pak mikonan ta shoma betoonin hamoon banketoon ro add konin. be hamin sadegi. dige vaghte pasokhgooii bishtar ro be shoma nadarimchoon saremoon sholooghebe khatere 5 toman sood dahane tarafo service nemikonan ke shoma kardin !!!bye
On Tue, Dec 30, 2008 at 2:23 AM, Ali Sadeghi-Ardestani
Dear Sir,Looks like my account number which no one knew except you and me has been already registered in paypal. Please check attachment.
Regards,
Ali Sadeghi Ardestani
نامه اول و جواب ایشان
dooste man eshtebah az ma naboode bank be ma etela nadade bood ke tarigheye doroste wire be in accountha chi hast. choon taze oomade. hamoontor ke dobare khedmatetoon email kardam shoma bayad be soorati ke dar file attach shode dar in email dadam havale konin na mostaghim!va agar balad nistin ke yek sarafi dorost peyda konin inkar ro ham baratoon anjam midam vali dige baghish be ma marboot nist. ma ke nabayad ta payane omre donya shoma ro support konim!!! ma faghat forooshandeiim. har moshkeli darin dige ba poshtibaniye hamoon bank tamas begirin moshala englishetoon ham ke khoobe!!!
in linke yek sarafi dar tehran hast ke ba (bank of america) ham kar mikone:
http://www.ketabeavval.ir/Profile/?id=136433
dige baghish be ma marboot nemishe bazam migam ma faghat forooshandeiim va support ba hamoon telephoni hast ke dar broshooretoone
On Mon, Dec 29, 2008 at 3:35 PM, Ali Sadeghi-Ardestani
Dear Sir,
After the attached transaction was rejected twice by two different exchange houses and I lost 135,000 TOMANS for money transfer costs and right after I got the Bank of America Transfer Information from you, I talked to customer support and told them that I need to have this account to buy stocks so the my brokrage firm that is buying the stocks for me needs to have access to my account using a direct method like
ACC NUMBER+NAME+BANK+ROUTING or any other method like this.
They said and I quote "Your account with us is not connected to a bank, so you can not get your brokerage firm to access your account. All you can do with this card is to get your employer to put your salary here and you can then get cash from ATMs". Alhamdolella I did not try the second method you offered otherwise I would have lost more. They asked where I got the card from and I gave them your website, they said that I can ask you for the same card but the Visa enabled one. I do not think you have it, because I asked you once.
When I asked about transfers from paypal, they said I can use paypal but as you may already know paypal has really strict rules about fraud and once they get a feeling that your activity is strange they simply block your account just like my old paypal account.
Now what I am asking you is to refund me and get your card back and also to remove the "HESABE BANKI AMRIKA" from your website because it is misleading and very simply put not TRUE not forgetting how time/money consuming it is to come to the above conclustion.
Regards
Ali Sadeghi Ardestani
Monday, December 29, 2008
Excel find nth occurrence of a string within another
Function FindN(sFindWhat As String, _
sInputString As String, N As Integer) As Integer
Dim J As Integer
Application.Volatile
FindN = 0
For J = 1 To N
FindN = InStr(FindN + 1, sInputString, sFindWhat)
If FindN = 0 Then Exit For
Next
End Function
sInputString As String, N As Integer) As Integer
Dim J As Integer
Application.Volatile
FindN = 0
For J = 1 To N
FindN = InStr(FindN + 1, sInputString, sFindWhat)
If FindN = 0 Then Exit For
Next
End Function
Sunday, December 28, 2008
Friday, December 26, 2008
utorrent slow download
remember to update tcpip.sys using http://www.lvllord.de/?url=downloads&lang=en every time you install a service pack. This helps increase the number of half open connections from 10 to 50. And downloads will explode.
Subscribe to:
Posts (Atom)