Just letting you know I have a wifi 5100 intel using the iwlagn driver.
I went into the kismet.conf file and changed the source to:
source=iwl4965,wlan0,wifiKis #instead of iwlagn,wlan,wifiKis
Thursday, 31 December 2009
Intel 5100 wifi - Kismet source settings
Thursday, 10 December 2009
connect wireless with slackware 13
- scan for wireless network and note for the wireless name
- edit rc.inet1.conf
- run: wpa_passphase "wireless name" "passphrase" and copy the result to /etc/wpa_supplicant.conf
- dhclient wlan0
Friday, 4 December 2009
Slackware root password reset
SOURCE:
http://linuxinw.blogspot.com/2009/11/slackware-root-password-reset.html
- boot from Live cd look like new installation.
- mount to root partition "/" if not sure try what device.
#fdisk -l
#mount /dev/sda1 /mnt
- Now edit /etc/shadow it the best way to backup this file first.
#vi /mnt/etc/shadow
root:[set to blank]:14550:0:99999:7:::
and save by :wq
- take off you cd and reboot
- when login prompt type username as root and blank password.
- change root password with
#passwd
Tuesday, 1 December 2009
OWA Updating view... or Loading...
If placeholder images appear where your toolbar buttons and icons typically appear, this behavior may be cause by either of the following scenarios:
- The permissions for the Exchsrvr\Exchweb folder are incorrect.
- The Exchweb virtual directory in Internet Services Manager is not configured correctly or is missing virtual directories such as the Img virtual directory and the Views virtual directory.
- The Require secure channel (SSL) check box is selected on the Exchweb virtual directory in Microsoft Internet Information Services (IIS) on the back-end Exchange computer.
Monday, 9 November 2009
Akonadi server is not starting on new slackware 13 installation
#chown -R mysql:mysql /var/lib/mysql
This gives mysql rights to use it’s own folder and files.
Now you can start mysql
/etc/rc.d/rc.mysqld start
# mysqladmin create akonadi -p
add "user=root" in the Akonadi local mysql configuration file (on my computer, it is /root/.local/share/akonadi//mysql.conf), and Akonadi server can be started successfully.
So root user can use KDE too.
Thursday, 29 October 2009
Mobilefone - SMS Locator
Giới thiệu dịch vụ SMS Locator
Dịch vụ SMS Locator là gì?
SMS Locator của MobiFone là dịch vụ đầu tiên tại Việt Nam cung cấp địa chỉ (ngân hàng, cơ sở y tế, ẩm thực, giải trí, mua sắm,...) gần với vị trí của bạn nhất thông qua tin nhắn. SMS Locator giúp bạn nhanh chóng và dễ dàng tìm kiếm các địa chỉ bất cứ lúc nào.
Phạm vi cung cấp và tính năng dịch vụ:
Trong thời gian đầu, dịch vụ SMS Locator đựoc cung cấp trong phạm vi 06 thành phố lớn nhất toàn quốc bao gồm: Hà Nội, Hồ Chí Minh, Đà Nẵng, Cần Thơ, Hải Phòng, Quảng Ninh.
Bạn có thể tìm kiếm địa chỉ của các dịch vụ sau:
- Địa chỉ đặt máy ATM gần nhất
- Địa chỉ các NGÂN HÀNG gần nhất
- Địa chỉ các cơ sở Y TẾ gần nhất
- Địa chỉ các quán CAFE gần nhất
- Địa chỉ các NHÀ HÀNG gần nhất
- Địa chỉ các KHÁCH SẠN gần nhất
- Địa chỉ các RẠP CHIẾU PHIM gần nhất
- Địa chỉ các SIÊU THỊ gần nhất
- Địa chỉ các trạm XĂNG gần nhất
Dịch vụ sẽ nhanh chóng được mở rộng trên phạm vi toàn quốc và cung cấp thêm ngày càng nhiều các thông tin phong phú và đa dạng để phục vụ bạn tốt nhất.
Lý do để bạn lựa chọn dịch vụ
Bạn không thể nhớ hoặc không biết hết được danh sách các địa điểm đặt ATM, ngân hàng, cây xăng, nhà hàng…. bởi nó quá dài và nhất là khi bạn đi đến 1 địa điểm hoàn toàn không quen thuộc. Dịch vụ SMS Locator xác định được vị trí của bạn, và sẽ cung cấp cho bạn những địa chỉ hữu ích gần bạn nhất để giúp bạn tiết kiệm thời gian và thật chủ động trong mọi tình huống. Chỉ cần soạn tin nhắn và gửi đến 9249.
Hướng dẫn sử dụng dịch vụ
Để biết các địa chỉ dịch vụ bạn cần, soạn tin nhắn: < Tên dịch vụ > gửi 9249. Tên dịch vụ được qui định như sau:
|
Mã Ngân hàng được quy định như sau:
|
- Với mỗi bản tin yêu cầu bạn sẽ nhận được tối đa 02 bản tin trả về là thông tin địa chỉ của các dịch vụ gần nhất bạn cần.
- Để nhận thêm các địa chỉ dịch vụ bạn cần, soạn tin nhắn: < Tên dịch vụ > 1 gửi 9249.
Ví dụ:
- Bạn đang ở phố Lý Nam Đế và muốn tìm quán CAFE gần nhất, soạn tin CAFE gửi 9249. Dịch vụ SMS Locator sẽ gửi về cho bạn 02 bản tin:
- Bản tin 1: Cafe TRUNG NGUYEN: 8 Cua Dong, (04)39230988; Cafe HIEU: 23 Cua Dong; Cafe HUYEN: 33 Cua Dong, (04)38287768
- Bản tin 2: Cafe QUEN: 54 Hang Gai, (04)037831359; Cua hang giai khat BAO LAM: 42 Bat Dan,(0438251800; Cafe internet SONGSINH: 49B Bat Dan, (04)39231329
- Bạn muốn tìm thêm các quán CAFE gần nhất khác, soạn tin CAFE 1 gửi 9249 Dịch vụ SMS Locator gửi về cho bạn 2 bản tin với nội dung như sau:
- Bản tin 1: Cafe Internet 71: 71 Hang Dieu, (04)38289172; Cafe THAI: 24 Duong Thanh, (04)39288084
- Bản tin 2: DARLING Cafe: 33 Hang Quat; Cafe NUOI: 34 Luong Van Can. (04)37716275
Mức cước sử dụng dịch vụ: 2.000 đồng/tin nhắn (đã bao gồm thuế GTGT)
Wednesday, 28 October 2009
How to improve disk I/O performances with VMware Workstation
SOURCE: http://www.virtualization.info/2005/11/how-to-improve-disk-io-performances.html
--------------------------------
Even on a 2 GB RAM workstation (as mine) VMware virtual machines can run slowly. Too slowly sometimes.
This can depend on a large amount of factors but we can reduce the number to 4 critical issues:
- Antivirus real-time protection
You probably run VMware Workstation on your everyday working computer, and you probably want to stay secure running an antivirus software.
The most useful feature of any AV is the real-time protection, catching and monitoring I/O accesses of every process for suspicious activities. This feature can greatly impact on your VMs performances and should be fine-tuned for virtualization.
So be sure to create an exclusion filter on your real-time protection settings for .vmdk (VMware virtual disk) and .vmem (VMware virtual memory) files. In this way countinous I/O operations on your virtual machines will not be hit by antivirus checking.
Note: if you plan to run liveCD operating systems (like Knoppix) inside your VMs or simply often use CD images for installing new software, I highly recommend to exclude .iso files too from AV checking. - HostOS disk fragmentation
A really performance hitter for virtual machines is a fragmented host OS disk.
VMs virtual disks are very large (4 GBs at minimum on the average) and are created by default as non preallocated. In other words your virtual disk grow as you install more software on the guest OS till reaching your defined disk limit.
If you use only one physical disk for everyday work and VMs storing, you probably will use space around a growing virtual disk, obliging your host OS to fragment virtual machines more and more.
So be sure to: - Create a dedicated partition for virtual machines only
- Create guest OSes virtual disks with Allocate all disk space now option
- Schedule a daily defragmentation for your virtual machines directories (maybe at launch time or during the night)
- Memory trimming
Workstation checks which part of the guest OS virtual memory is not used and allocates it back to the host OS. This permits to have more concurrent virtual machines running but everytime the guest OS asks back for its memory it suffers a performance degradation.
So, if you have enough free RAM for all planned concurrent VMs, be sure to disable memory trimming for guest OSes adding the following line to the virtual machine configuration (.vmx) file:
MemTrimRate=0
Note: Memory trimming can be disabled through GUI since Workstation 6.0. - Page sharing (quoted from VMware documentation)
VMware uses a page sharing technique to allow guest memory pages with identical contents to be stored as a single copy-on-write page. Page sharing decreases host memory usage, but consumes system resources, potentially including I/O bandwidth.
You may want to avoid this overhead for guests for which host memory is plentiful and I/O latency is important. To disable page sharing, add the following line to the virtual machine configuration (.vmx) file:
sched.mem.pshare.enable=FALSE option
These suggestions will work well for every VMware Workstation 5.x and Player 1.x since both share same engine.
Tuesday, 20 October 2009
How To: Hide/Remove the View All Site Content link in SharePoint
How To: Hide/Remove the View All Site Content link in SharePoint |
by Mark Wagner
SOURCE: Article: http://www.crsw.com/mark/Lists/Posts/Post.aspx?ID=36
Summary
This article covers how to hide (remove) the View All Site Content link and/or the Recycle Bin link from the quick launch navigation without having to customize the master page. Additionally, I cover how I accomplished along with other options, all using the standard functionality provided in Windows SharePoint Services 3.0.
Important: This solution is not an answer for security. The user will still have access to the View All Site Content page. The View All Site Content link is simply removed or hidden from the page.
Applies To
- Windows SharePoint Services 3.0
- Microsoft Office SharePoint Server 2007
Licensing
- There is no license required to use the Hide View All Site Content feature.
- This is available to the public (business or personal) for free.
- There is no support.
- There is no implied or explicit warranty.
- Use at your own risk.
Downloads
Hide View All Site Content - Solution Package
Hide View All Site Content - Solution Package and Source Code
Installation and Activation
(Very easy, no coding required)
For those interested in how to install this solution, it is very easy and does not require any coding, compiling, or editing.
Basic Install Steps:
Note: This command must be executed on the (only one) SharePoint web server, and you must be a local administrator.
- Add the solution using the STSADM command: stsadm -o addsolution -filename [path]\VASCSiteAction.wsp
- Deploy the solution using the STSADM command: stsadm -o deploysolution -name VASCSiteAction.wsp -allowgacdeployment -immediate -allcontenturls
- Optional - to restart IIS: iisreset /noforce
Using (Activating) the new feature:
- Navigate to the site you want to hide the View All Site Content link.
- Go to the Site Settings for that site (Site Actions > Site Settings).
- Click the Site Features (not the Site Collection Features) link under the Site Administration section.
- Activate the new feature named "Hide the View All Site Content link".
Your View All Site Content link should now be hidden and the View All Site Content link should now appear in the Site Actions menu.
For those only interested in using this solution, you do not need to read any further. However, for those who are interested in how this is accomplished, the rest of this article discusses just that
Monday, 19 October 2009
Trying to put repository onto network drive for Visual SVN server
Source: http://www.experts-exchange.com/Software/Development/Management_Debug/Version_Control_CVS/Subversion/Q_23494919.html
----------------
In case anyone is still interested, here's how I made it work:
How is it useful to someone.
Ray in Wisconsin
Question:
Can I install the VisualSVN Server software on a local server but have the repositories on a network share?
Answer:
Yes.
Heres how to do it:
During the installation of VisualSVN Server, simply type in the URL of the network share that you want to house the repositories on.
Or after the install, right click on "VisualSVN Server", choose properties and then change the value od the "Repositories Root" .
IE:
I wanted to house the Repository on a netwrok server named "FileServerOne".
There was a share created on that server named "ShareData"
And I was able to create a folder named "Firmwide" inside of "ShareData".
So, I entered the following, into the Repositories Root dialog box during the installation of VisualSVN Server.
\\FileServerOne\ShareData\Firmwide\Repositories\
Thats it.
Things of note:
At the end of the VisualSVN Server installation process, the installation will attempt to start the VisualSVN Server service.
Depending on what permissions you may have, you may receive a message from the installation process that it was unable to start the VisualSVN Server service.
Heres why that is:
The VisualSVN Server installation process installs a service named VisualSVN Server.
By default, the Local System Account is chosen on the Log On tab.
Heres what I did to remedy that issue:
I left the dialog message that said the VisualSVN Server installation process was unable to start the VisualSVN Server service, on my desktop unanswered.
I opened the VisualSVN Server service to edit it. (see below.)
It was necessary for me to unselect the Local System Account and Select This Account instead.
Then I entered MY, Domain User ID and Password into the dialog boxes and clicked on OK to save the newly edited service.
Then, I returned to the dialog message on my desktop and clicked on Retry.
At that point the VisualSVN Server installation process was able to start the VisualSVN Server service and all was well.
Accepted Solution
How to Sysprep Windows
Source: http://www.jameskovacs.com/blog/HowToSysprepWindows.aspx
-----------
How to Sysprep Windows
Every time I need to set up a bunch of virtual machines, I have to go back and look up where to find the Sysprep tool and how to use it. Here are the details so I can find it in the future...
In case you haven't encountered Sysprep before, it is a tool that allows you to create a base OS image (including Windows, Office, Visual Studio, or whatever other applications you want) and then re-package it. You can then create cloned disks (or just copy the whole thing) and when you boot the new disk, it is like booting Windows for the first time, except with all your software installed. You get to choose a new computer name, SIDs are regenerated, etc.
Each version of Windows requires the correct version of Sysprep. Where do you find the correct version of Sysprep? On your install disks in <DVD>:\Support\Tools\Deploy.cab. Although System Preparation tool for Windows Server 2003 Service Pack 2 Deployment claims to install the Sysprep tool, I've never been able to make it work on my system. So don't bother wasting your time. Go to your original install media and grab the file from there.
Creating the Sysprep Image
1. Open <DVD>:\Support\Tools\Deploy.cab and extract setupcl.exe, setupmgr.exe, and sysprep.exe to C:\Sysprep. (N.B. C: is your system drive. If you installed Windows to another drive letter, use that drive letter rather than C:.)
2. Run setupmgr.exe from C:\Sysprep.
3. The Setup Manager wizard starts. Click Next...
4. Create new... Next...
5. Select "Sysprep setup". Next...
6. Select the correct OS version... Next...
7. Select "No, do not fully automate the installation"... Next...
8. Enter Name and Organization, Time Zone, Product Key, and Workgroup or Domain. The other settings can remain defaulted. Note that you don't want to specify the computer name since you will be creating multiple computers from the base image and you don't want to specify the admin password, even encrypted. If the sysprep program can extract the password from the answer file, so can any hacker worth their salt. Click Next... through to the end.
9. Finish... Save to C:\Sysprep\sysprep.inf. OK...
10. Wait while Setup Manager finishes. Cancel... (Yes, odd way to exit a program that has completed successfully.)
11. Run sysprep.exe.
12. Click OK.
13. Ensure that "Don't regenerate security identifiers" is UNCHECKED. You want to regenerate the SIDs when each new clone boots.
14. Click Reseal, OK to confirm that you want to regenerate SIDs, and wait for the system to shut down.
Creating a Cloned Server
1. If you're using VMWare Workstation, create a linked clone of your Sysprepped server. (You can also create a new linked disk using VirtualPC using File... Virtual Disk Wizard and then creating a new VM using the linked disk.)
2. Change any VM settings such as memory. DO NOT change number of processors from 1 to 2 as the HAL (hardware abstraction layer) for uni-processor vs. multi-processor Windows is different. Your system will blue screen if you do this.
3. Boot the cloned server.
4. The Windows Setup wizard will appear. Next...
5. Accept the license agreement. Next...
6. Enter a new computer name and administrator password. Next...
7. Windows will boot and you can log in with the administrator password you just entered.
8. When prompted, click "Yes" to update your product activation.
9. Select "Yes, let's activate Windows over the Internet now". Next...
10. Select "No, I don't want to register now; let's just activate Windows". Next...
11. OK...
12. Update this server... to go to Microsoft Update.
13. Once you're ensured that your patches are up-to-date, you can close the browser and click Finish... then Yes... on the dialog to start using Windows.
You should now have a fresh copy of Windows. You can create as many cloned servers as you need for your mini-network.
Tuesday, 6 October 2009
Restart application pool
----
You can restart a specific Application Pool by using the IIS Manager GUI or using cscript.exe in the command prompt.
Restart Application Pool with IIS Manager:
1) Open IIS Manager.
2) Expand the Server node.
3) Expand the Application Pools folder.
3) Right-click on the application pool that you want to restart and then select Stop.
4) Right-click on the application pool again and then selct Start.
Restart Application Pool with cscript.exe in Command Prompt:
1) In the command prompt, type the following command:
cscript.exe c:\windows\system32\iisapp.vbs /a "DefaultAppPool"
Which w3wp.exe process belongs to which App Pool in IIS6
Along with Windows Server 2003 and Internet Information Services 6.0 came a large number of benefits. For us IIS admins, it was a great welcome set of changes. But, one apparent difficultly is matching up the w3wp.exe processes displayed in Task Manager to the Application Pools in IIS.
Review of IIS5
In IIS5.0 (Windows 2000 Server), each site that is set to Out Of Process will spin up a new instance of dllhost.exe. Windows Task Manager lists them. Now, the trick is to find out which dllhost.exe matches which site. My favorite way is to use Component Services. To do so, open Component Services from Administrative Tools, drill down to Computers -> My Computer and select COM+ Applications. Now select View from the top menu and select Status. Beside each site that currently has a dllhost.exe process spun up is the Process ID (PID). Using Task Manager, you can tell the memory and CPU.
Note: If the Process ID doesn't display for you in Task Manager, select View -> Select Columns and add it.
What about IIS6?
But, that doesn't work anymore with IIS6.0. Now each site in IIS6 is placed in an Application Pool. Each Application Pool is completely separated from other App Pools by running in its own process called w3wp.exe. This make life SO much easier. Now, the trick is to match up the process shown in Task Manager with the Application Pool set up in IIS.
If there is a different user for each application pool, Windows Task Manager is the easiest way to find out which application pool belongs to which site since Task Manager will display the user the process runs as.
But, what happens if you have multiple application pools running as the same user? For example, if you keep to the default NETWORK SERVICE user but create multiple Application Pools, you may want to know which process belongs to which App Pool. Component Services doesn't work for this anymore.
Enough already, tell me how to do it!
Have no worries, Microsoft has given us the exact tool for the situation. IISApp.vbs lists all the applications, their PID and their App Pool name.
The script is already placed in systemroot\system32 on Windows Server 2003 so simply go to your Command Prompt and type in iisapp.vbs (the .vbs is optional) and you'll have an instant list of all the App Pool information you've always wanted to know. You may need to type cscript iisapp.vbs instead if CScript isn't your default WSH script host.
Let's see an example of the output:
Here is an example of the output.
W3WP.exe PID: 1468 AppPoolId: AppPoolForSite1.com
W3WP.exe PID: 3056 AppPoolId: AppPooForSite2.com
W3WP.exe PID: 1316 AppPoolId: AppPooForSite3.com
Direct from the horse's mouth, Microsoft documents this:
http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/cl_as_viewapps.asp
Summary
We've seen here that using iisapp.vbs, you can painlessly match up the PID to the friendly name of the Application Pool.
Monday, 28 September 2009
Thursday, 24 September 2009
Control Firefox via AD
http://sourceforge.net/projects/firefoxadm
Tuesday, 25 August 2009
DHCP mac address filter
http://blogs.technet.com/teamdhcp/archive/2007/10/03/dhcp-server-callout-dll-for-mac-address-based-filtering.aspx
Tuesday, 11 August 2009
Restore Grub
Disk's method that address this problem.
1. Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or similar.
2. Open a Terminal. Open a root terminal (that is, type "su" in a non-Ubuntu distro, or "sudo -i" in Ubuntu). Enter root passwords
as necessary.
3. Type "grub" which makes a GRUB prompt appear.
4. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)". Use whatever your computer spits out
for the following lines. Note that you should have mounted the partition which has your Linux system before typing this command.
(e.g. In Knoppix Live CD partitions are shown on the desktop but they're not mounted until you double-click on them or mount
them manually)
5. Type "root (hd0,3)".
6. Type "setup (hd0,3)". This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR.
If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)".
7. Type "quit".
Remove cfmon on Windows
Go to Control Panel > Add/Remove Program.
Choose your Mcft Office 2003 Installation and click “Change”.
Choose "advanced customization of applications” , then click Next.
Go to “Alternative User Input” and click on the tab, a dropdown list will appear.
Choose “Not Available” on the dropdown list.
Click Continue.
Ok, now go to Control Panel > Regional and Language Options.
Than choose “Language” tab, click “Details”.
Go to “Advanced” tab, n tick “Turn off advanced text services”.
Click Ok - thats it - you are free from this one!
Chong quay roi dien thoai
Trước tiên, bạn đến địa chỉ http://www.vinaphone.com.vn để đăng
ký một tài khoản. Quy trình đăng ký tài khoản ở trang web của
Vinaphone hơi khắt khe và phức tạp. Trước tiên, bạn phải khai
báo số SIM (được in trên mặt sau của SIM, bao gồm 4 dòng, mỗi
dòng 5 số). Khi đăng ký, bạn viết theo thứ tự từ trên xuống dưới, các số viết liền nhau tạo thành một
dòng duy nhất có 20 số SIM. Chẳng hạn, từ trên xuống dưới bạn có 4 dòng số 12348, 75678,
89012, 93456 thì bạn sẽ khai báo liền mạch số SIM là 12348756788901293456.
Sau khi đăng ký, trang web sẽ trả về cho bạn một tin nhắn thông báo mật khẩu để truy cập vào tài
khoản của bạn trên web của Vinaphone. Bạn hãy xóa tin nhắn hoặc cất tin nhắn này cẩn thận để
không ai biết cả.
Lúc đăng nhập, mục NetID - bạn điền số điện thoại của mình, còn mật khẩu thì lấy trong tin nhắn vừa
nhận lúc nãy. Điểm đặc biệt khi truy cập trang web của Vinaphone là cho phép lưu mật khẩu vào
trình duyệt không giới hạn thời gian nên sau này bạn không mất công gõ lại mật khẩu để đăng nhập
nữa.
Nhưng điều này lại rất nguy hiểm vì người ngoài có thể dễ dàng lấy được mật khẩu sử dụng tài
khoản của bạn và sử dụng vào những mục đích không tốt (Mobile và Sfone thì refresh đăng nhập
sau mỗi 10 phút tài khoản không được active nên độ an toàn cao hơn rất nhiều). Để an toàn hơn,
bạn có thể chọn mục Warn me before logging me into other sites để trang web cảnh báo cho bạn
biết khi có ai đó sử dụng trái phép tài khoản của bạn trên web.
Vì mật khẩu cung cấp sẵn rất khó nhớ nên sau khi đăng ký xong dịch vụ, bạn nên bấm chuột lên liên
kết thay đổi mật khẩu rồi làm theo hướng dẫn để chọn cho mình một mật khẩu an toàn, dễ nhớ hơn.
Tiếp theo, bạn vào mục cài đặt dịch vụ để thiết lập chế độ chặn các cuộc gọi, tin nhắn từ những số
điện thoại bạn không thích bằng cách đánh chọn lên mục chặn cuộc gọi rồi bấm nút thực Hiện. Bây
giờ một tin nhắn sẽ được gửi đến điện thoại của bạn và bạn nhập mật mã xác nhận là xong. Trong
trường hợp không đăng ký được, bạn nên thực hiện lại trong một lúc khác vì có thể lúc đó tổng đài
đang bận.
Lưu ý là hệ thống chỉ cho phép bạn thực hiện thao tác kích hoạt/hủy bỏ mỗi dịch vụ này 1 lần trong
ngày (1 lần kích hoạt hoặc 1 lần hủy bỏ) mà thôi, nghĩa là hôm nay bạn kích hoạt thì ngày mai bạn
mới hủy bỏ được. Sau khi kích hoạt dịch vụ chặn cuộc gọi, mật khẩu ngầm định là 1234. Bạn có thể
tự thay đổi mật khẩu khi sử dụng dịch vụ này từ máy di động của mình.
MobiFone:
Các mạng di động đều cung cấp dịch vụ chặn cuộc gọi từ số điện thoại bạn không thích, nhưng chỉ
duy nhất MobiFone có thêm tính năng chặn tin nhắn từ số điện thoại lạ. Trước tiên, bạn đăng nhập
vào địa chỉ trang chủ của Mobifone tại http://www.mobifone.com.vn rồi chọn mục Gửi tin nhắn > Gửi
tin nhắn > Chặn spam SMS.
Bây giờ, trong khung thêm vào danh sách, bạn chỉ việc điền địa chỉ những số điện thoại không muốn
nhận tin nhắn vào bên trong rồi bấm nút Add. Từ bây giờ, tin nhắn từ số điện thoại kia sẽ không bao
giờ đến được với điện thoại của bạn. Những số điện thoại spam sẽ được đưa vào danh sách hiện ra
bên dưới.
Để chặn cuộc gọi, bạn liên lạc với tổng đài qua số điện thoại 18001090.
Sfone:
Bạn có thể liên lạc trực tiếp tổng đài thông qua số điện thoại 905.
Viettel:
Bạn cũng đăng ký với tổng đài Viettel qua số điện thoại 19008198 (cước phí là 200 đồng/phút),
hoặc 18008119 (miễn phí).
EVN Telecom:
Bạn đăng ký với tổng đài qua số điện thoại 18009096
map ftp server as network drive
How can I map to an FTP server as a drive?
A. Its possible to configure a machine to map to a FTP server as a drive (for instance the Microsoft site)
providing the machine runs both NetBEUI and TCP/IP. Perform the following:
Perform a NSLOOKUP for the FTP site, e.g.
nslookup ftp.microsoft.com
make a note of the IP address
1.
2. Edit the LMHOSTS file (in %systemroot%\system32\drivers\etc)
Add line
<ip address> MicrosoftFTP #PRE
e.g. 207.46.133.140 MicrosoftFTP #PRE
3.
4. Save the file
Open a CMD.EXE session. Enter command:
nbtstat -R
This purges and reloads the name table cache
5.
Type command:
net view \\MicrosoftFTP
You should see information on the site
6.
Now map a drive (to share data)
net use * \\MicrosoftFTP\data /user:anonymous
7.
8. All done. It will pass a drive letter for the connection
Friday, 7 August 2009
script to create users - home folders and ntfs permissions
Complete script to create users, home folders and ntfs permissions
Assuming that you have a file users.txt with this format:
Last_name First_name Group Password
This script automatically create groups in the specified ou Sales, add users to this ou and to the respective groups, give users specified passwords, assign a logon script, create and share home folders and give ntfs permissions on them....a lot of work isn't it?
I must say that the script uses the rmtshare tool for setting shares, available for download from Microsoft.
@setlocal
@set ou=OU=Sales,DC=test,DC=com
@set domain=test.com
@set domainadmins=CN=Domain Admins,CN=Users,DC=test,DC=com
@set domainusers=CN=Domain Users,CN=Users,DC=test,DC=com
@rem Creation of groups
for /f "tokens=1,2* delims= " %%a in (users.txt) do dsadd group "CN=%%c, %ou%"
@rem Creation of users
for /f "tokens=1,2* delims= " %%a in (users.txt) do dsadd user "CN=%%b %%a, %ou%" -upn "%%b %%a" -fn %%b -ln %%a -display "%%b %%a" -loscr Scripts\logon.bat -pwd %%d -memberof "CN=%%c, %ou%"
@rem Creation of personal folders (home folders)
for /f "tokens=1,2* delims= " %%a in (users.txt) do md "D:\Homes\%%b %%a"
@rem Make shares on home directories
for /f "tokens=1,2* delims= " %%a in (users.txt) do rmtshare \\%COMPUTERNAME%\"%%b %%a$" = "D:\Homes\%%b %%a"
@rem Grant share rights on home folders
for /f "tokens=1,2* delims= " %%a in (users.txt) do rmtshare \\%COMPUTERNAME%\"%%b %%a$" /grant "%domain%\%%b %%a":CHANGE /grant "%domain%\Domain Admins":"FULL CONTROL"
@rem Give NTFS rights on home folders
for /f "tokens=1,2* delims= " %%a in (users.txt) do cacls "D:\Homes\%%b %%a" /T /C /G "%domain%\%%b %%a":C "%domain%\Domain Admins":F