Showing posts with label the. Show all posts
Showing posts with label the. Show all posts

Thursday, February 26, 2015

Logon failure: the user has not been granted the requested logon type for this computer.

1.       Is file sharing turned on?
2.       Have you turned off Password protection?
Try checking the Advanced Sharing Settings from Network and Sharing Center. To do this, follow these steps.
1.       Click Start, Control Panel and then Network and Sharing Center.
2.       Now click Change Advanced Sharing Settings.
3.       Now make sure File and Printer Sharing is Turned On and Password Protected Sharing is Turned Off.
If that does not resolve the problem, try to check the Group Policy Settings.
1.       Click Start and type gpedit.msc in the start search box and press Enter.
2.       Navigate to the following location
Computer Configuration/
Windows Settings/ Security Settings/ Local Policies
3.       Under this click on User Rights Assignment.
4.       Double click Access this computer from the network and check that EVERYONE is added to the list.
5.       If not add it by clicking Add User or group and then type EVERYONE, click OK and then Apply and OK.
Refer: http://windows.microsoft.com/en-US/windows7/Networking-home-computers-running-different-versions-of-Windows

Thursday, July 25, 2013

How To Configure Wireless / WiFi Networking in Ubuntu via the Command Line (CLI)

How To Configure Wireless / WiFi Networking in Ubuntu via the Command Line (CLI)

There are a number of tutorials available on-line for sorting out WiFi in Ubuntu via the CLI, but most of them seem quite outdated, so I decided to do my own.

I did this on a minimal install of Ubuntu Lucid, so it is as up-to-date as possible. The PC I was using has no Windows Manager of Graphical Display Manager, just the good old terminal so all this is done via the CLI only. I did this using a USB WiFI dongle, but it should be the same whether you use an internal card or a USB card.

First, you need to install the relevant software. You need to have a wired connection at this point, otherwise this wont work.

sudo apt-get install wireless-tools wpasupplicant

If you are connecting to an open network, you wont need wpasupplicant. Next, you need to “bring up” (essentially this means activate) your WiFi interface. So, issue:

sudo ifconfig wlan0 up

Next, to make sure your wireless device is working as it should issue:

iwconfig

and then

sudo iwlist scan

This should show you some wireless networks as proof that the WiFi device is working, if something goes wrong here, then there is a problem with your device or driver and you need to get googling.
If you are accessing a secured network and you really should be, you need to access the correct version of your WiFi key. To get your key, issue this command:

wpa_passphrase YOURSSID YOURWIFIPASSWORD 

This will result in something that looks like this:

network={
ssid="YOURSSID"
#psk="YOURWIFIPASSWORD"
psk=fe727aa8b64ac9b3f54c72432da14faed933ea511ecab1 5bbc6c52e7522f709a
} 


You need to make a note of the long phrase after psk= (NOT #psk=) as this your WiFi password in hex format.
Next, you need to edit your interfaces file, so issue:

sudo nano /etc/network/interfaces

At the end of this file, you need to add your WiFi configuration. Here are the options you can add.

auto wlan0     #change this to the name of your WiFi interface
iface wlan0 inet dhcp     #this is normally fine, if you want a static IP address replace “dhcp” with “static”
netmask 255.255.255.0     #change this as appropriate for your network, this value is usually right
gateway 192.168.1.1     #change this as appropriate for your network
address 192.168.1.100     #only needed for a static IP address
dns-nameservers 192.168.1.1     #only needed for a static IP address
wpa-driver wext     #you shouldn’t need to change this
wpa-ssid YOURSSID     #just type the name of your SSID here
wpa-ap-scan 1     #if the name of your SSID is hidden usually, type 2 instead of 1
wpa-proto WPA    #if you use WPA1 type WPA, if you use WPA2 type RSN
wpa-pairwise CCMP     #if you use AES type CCMP, if you use TKIP type TKIP
wpa-group CCMP     #if you use AES type CCMP, if you use TKIP type TKIP
wpa-key-mgmt WPA-PSK     #usually WPA-PSK (if you share a key) but sometimes WPA-EAP (for enterprises)
wpa-psk YOURHEXKEYFROMABOVE     #the hex key that you generated earlier

Thus, since I am using a WiFi card that is identified as wlan0 and am connecting to a WPA1 AES encrypted network called MYPLACE that isn’t hidden without a static IP address, this is what I added:

auto wlan0
iface wlan0 inet dhcp
netmask 255.255.255.0
gateway 192.168.1.1
wpa-driver wext
wpa-ssid MYPLACE
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 71c81a844973ae7bb1243141e5caa7b6bb0e2d7eetcetcetc


Finally, comment out the top section so it looks like this:

#auto eth0
#iface eth0 inet dhcp


This stops your wired network from working. This helps to ensure there are no conflicts. Remember, if you want your wired network to work again, remove these two comments (the #).
Finally, save the file by pressing CTRL and X and then pressing Y to save to the file. Now, reboot and your network should come up. Yay!
Some people have found that this doesn’t always work, so the next thing to do is to edit the configuration file for the wpasupplicant program. Do this by issuing:

sudo nano /etc/wpa_supplicant.conf

Basically, you add pretty much the same information here as you did to the interfaces file, except without the wpa- part. So, my file looks like this:

ap_scan=1
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="MYPLACE"
scan_ssid=0
psk=71c81a844973ae7bb1243141e5caa7b6bb0e2d7eetcetcetc
key_mgmt=WPA-PSK
proto=WPA
pairwise=CCMP
group=CCMP
}


As far as I am aware, the options are the same. So, edit this file as necessary, make sure you add the ctrl_interface and network={ at the beginning and the } part at the end. Save it and try restarting again. If it still doesn’t work, then kick your PC, wish you had installed Windows 7 instead and go off and do some Googling. You’ll find the answer on the Ubuntu forums and you’ll be happy again.

Best of luck!

Thursday, March 4, 2010

Remove AutoPlay Handler from the Options List in Windows 7 / Vista / XP

AutoPlay or AutoRun dialog pops up whenever a removable drive such as digital camera or CD/DVD disc has been inserted into computer or placed into optical drive, with plenty of action choices in a list of options for users to choose to perform. Each item in the AutoPlay list is a handler installed by various applications to show as an option for a particular events or content types such as Pictures, Videos, Data, etc. By a simple change in registry, you can remove an entry or item from AutoPlay menu.

Windows by default has several AutoPlay handlers, and other third-party programs, especially media player such as RealPlayer, image burning software such as Nero adds its own AutoPlay handlers and shortcuts into the list. Over the time, the AutoPlay list can get longer and longer, and some entries can become invalid or orphaned even when the program has been uninstalled and the AutoPlay handlers are not removed.

Remove Handlers By Registry Editing

If the modification to the registry goes wrong, it may causes instability. So if you plan to remove any handlers directly from the registry, backup your registry before modifying.

Go to Start and click Run, in the dialog box type regedit and hit Enter.

AutoPlay Handlers are located at the following registry location in Windows:

HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ AutoplayHandlers \ Handlers \

handler

HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ AutoplayHandlers \ EventHandlers \

handler

To remove a particular handler, delete the registry key from from the Handlers pane and also delete the corresponding registry key from the EventHandlers pane.

For example if you want to remove VLC player autoplay handler for DVD movies, then you will have to remove the VLCPlayDVDMovieOnArrival key from the Handlers pane.

vlc handler

And also delete the corresponding key in PlayDVDMovieOnArrival in EventHandlers pane.

event

The Registry Key for VLC Player is used just for an example, it is not recommended by the author to delete its autoplay handler.

Using A Software

An orphaned or invalid junk entry might appear in the AutoPlay list of options window, as a result of incomplete uninstall of a software. The CleanHandlers helps you remove the invalid entries from the listing. Even if you’re not aware that an item is invalid, this utility can find invalid AutoPlay entries and also remove them automatically.

cleanhandlers

Tuesday, February 10, 2009

Put my own maded Logo into System Properties Tab below the Windows Logo in XP and Support Information.

To put my own maded logos on system properties tab.
Like other companies does. (IBM, DELL, SONY etc.)
and also how can i put a button of Support Information on System Tab to put Some cutomized Information.

Create your logo of size 128*128 or less and save it with name "oemlogo.bmp". i.e. it should be with extension bmp only, jpg/gif not allowed..
Then put this bmp image in c:\windows\system32 folder and restart pc. that's it. you have done.. now check out system properties...

Monday, November 17, 2008

Add videos to VirtueMart products - with the help of AllVideos Plugin!

AllVideos has made it very easy for people since June 2006 ( :D) to add videos in their Joomla! content. So a natural progression to this would be to add videos in e-shops/product pages as well. We all know that VirtueMart is the best e-shop implementation out there.

So how do we enable video playback in VirtueMart, in an easy manner, similar to the AllVideos Plugin? Well... we just enable the use of AllVideos inside VirtueMart! :D

AllVideos has made it very easy for people since June 2006 ( :D) to add videos in their Joomla! content. So a natural progression to this would be to add videos in e-shops/product pages as well. We all know that VirtueMart is the best e-shop implementation out there.

So how do we enable video playback in VirtueMart, in an easy manner, similar to the AllVideos Plugin? Well... we just enable the use of AllVideos inside VirtueMart! :D

Here's the solution to enable the plugin for the "product details" page:

Open up the file administrator/components/com_virtuemart/html/shop.product_details.php and in the end of it, look for:

Code: Select all

/* Finish and Print out the Page */
echo $template;


and add ABOVE this some code. Overall the change is this:

Code: Select all

// start - enable "content type" plugin parsing
global $_MAMBOTS;
$_MAMBOTS->loadBotGroup( 'content' );
$row->text = $template;
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true );
$template = $row->text;
// end - enable "content type" plugin parsing

/* Finish and Print out the Page */
echo $template;


This will load the "content type" plugins in VirtueMart. That means that you can use the AllVideos Plugin to add videos in your products (as showcase) and even use the "Tabs & Slides in Content Items" Plugin to display your product's details in Tabs and/or Slides!!

Cool, huh??