If you try to connect a Windows 8 devices to a wireless network with both AES/PSK and PIN/WPS configuration modes, it will not work.
For some unknown reason, Windows 8 devices try to join the network using WPS/PIN, but the device is not expecting any WPS/PIN client and it will fail to establish a connection.
In the office network, all other devices running Mac OS X, iOS, Android and Linux work like a charm, but Windows 8 one simple don't. So I started checking what may be the problem and found that if I disable the WPS/PIN configuration for the router, Windows 8 clients start connecting and working with the network. It's annoying, but you can just print some WiFi Zone sign with instructions and a PSK distribution scheme (printed on the sign or by request).
That's it, to make Windows 8 clients work with your Wireless network in WPA2-Personal for AES and PSK, you must disable WPS/PIN options.
Este é um Blog de temas variados, tais como tecnologia, comunicações, comportamento, cotidiano, internet, programação, negócios, diversão, opinião, linux, unix, debian, bsd, asterisk, voip. This Blog have a variety of topics, such as technology, communication, behavior, daily, internet, programming, business, entertainment, opinion, linux, unix, debian, bsd, asterisk, voip.
Mostrando postagens com marcador Tips. Mostrar todas as postagens
Mostrando postagens com marcador Tips. Mostrar todas as postagens
terça-feira, setembro 03, 2013
sexta-feira, julho 15, 2011
Running Debian 6.0 Squeeze on Citrix XenServer 5.6|5.6 FP1|5.6 SP2
Some time ago I posted an article about running Ubuntu 10.04 as a guest for Citrix XenServer 5.5.0 (that's is valid for Ubuntu 10.10, 11.04 as of Citrix XenServer 5.6 and SP2). Here I come again to show how to make Debian 6.0 Squeeze runs virtualized using the same technique.
Squeeze upgrade to Grub2 that is not fully supported in XenServer 5.6, 5.6 FP1, 5.6 SP 2 because a lazzy programer just forgot to add a simple configuration file to list of possible paths of Grub2 files.
To make it work, make sure you install a linux-image-2.6-686-bigmem or linux-image-2.6-amd64 kernels packages (if not using the old 2.6.29 version provided by Citrix), because they are the only ones that supports Xen DomU operations out-of-the-box. If you install a simple kernel, XenServer will fail with a cryptic message "Will only load images built \\\". This message try to say that it will only execute a kernel image with DomU support.
For a new install, make sure to install the correct kernel packages (linux-image-2.6-686-bigmem or linux-image-2.6-amd64). For a running install where you want to to a upgrade, make sure to install one of that kernels packages or keep the old 2.6.29 version provided by Citrix. For both cases, install Citrix Xen Tools (Linux/xe-guest-utilities package from xs-tools.iso) for VM instrumentation and status report.
Take note of VM and it's VBD uuid, the kernel and ramdisk images path and filesystem uuid (check for it in /etc/fstab or /boot/grub/grub.cfg). Run these commands bellow, using your environment parameters to replace text in bold, don't add the single quotes.
To get the VM uuid
xe vm-list name-label='name of your VM'
To get the VBD uuid
xe vm-disk-list uuid='uuid of your VM'
Clear HVM boot policy from your VM
xe vm-param-clear uuid='uuid of your VM' param-name=HVM-boot-policy
Set VM boot loader to pygrub
xe vm-param-set uuid='uuid of your VM' PV-bootloader=pygrub
Set VBD to bootable
xe vbd-param-set uuid='uuid of your VM VBD' bootable=true
Set PV bootloader args
xe vm-param-set uuid='uuid of your VM' PV-bootloader-args="--kernel=/boot/vmlinuz-2.6.32-5-amd64 --ramdisk=/boot/initrd.img-2.6.32-5-amd64"
or
xe vm-param-set uuid='uuid of your VM' PV-args="root=UUID='uuid of your VM filesystem' ro quiet console=hvc0 xencons=hvc0"
All set, now you can boot up your Squeeze VM and check if it's reporting as Optimized in general tab.
Squeeze upgrade to Grub2 that is not fully supported in XenServer 5.6, 5.6 FP1, 5.6 SP 2 because a lazzy programer just forgot to add a simple configuration file to list of possible paths of Grub2 files.
To make it work, make sure you install a linux-image-2.6-686-bigmem or linux-image-2.6-amd64 kernels packages (if not using the old 2.6.29 version provided by Citrix), because they are the only ones that supports Xen DomU operations out-of-the-box. If you install a simple kernel, XenServer will fail with a cryptic message "Will only load images built \\\". This message try to say that it will only execute a kernel image with DomU support.
For a new install, make sure to install the correct kernel packages (linux-image-2.6-686-bigmem or linux-image-2.6-amd64). For a running install where you want to to a upgrade, make sure to install one of that kernels packages or keep the old 2.6.29 version provided by Citrix. For both cases, install Citrix Xen Tools (Linux/xe-guest-utilities package from xs-tools.iso) for VM instrumentation and status report.
Take note of VM and it's VBD uuid, the kernel and ramdisk images path and filesystem uuid (check for it in /etc/fstab or /boot/grub/grub.cfg). Run these commands bellow, using your environment parameters to replace text in bold, don't add the single quotes.
To get the VM uuid
xe vm-list name-label='name of your VM'
To get the VBD uuid
xe vm-disk-list uuid='uuid of your VM'
Clear HVM boot policy from your VM
xe vm-param-clear uuid='uuid of your VM' param-name=HVM-boot-policy
Set VM boot loader to pygrub
xe vm-param-set uuid='uuid of your VM' PV-bootloader=pygrub
Set VBD to bootable
xe vbd-param-set uuid='uuid of your VM VBD' bootable=true
Set PV bootloader args
xe vm-param-set uuid='uuid of your VM' PV-bootloader-args="--kernel=/boot/vmlinuz-2.6.32-5-amd64 --ramdisk=/boot/initrd.img-2.6.32-5-amd64"
or
xe vm-param-set uuid='uuid of your VM' PV-bootloader-args="--kernel=/boot/vmlinuz-2.6.32-5-686-bigmem --ramdisk=/boot/initrd.img-2.6.32-5-686-bigmem"
xe vm-param-set uuid='uuid of your VM' PV-args="root=UUID='uuid of your VM filesystem' ro quiet console=hvc0 xencons=hvc0"
All set, now you can boot up your Squeeze VM and check if it's reporting as Optimized in general tab.
Posted by
Alexandre Alencar
at
14:28:00
5
comments
Labels:
Citrix XenServer,
debian,
Dicas,
gnu/linux,
Tecnologia,
Tips,
Virtualização,
Virtualization
sábado, agosto 14, 2010
Getting GCC working on Mac OS X
If for some reason you tried to build any source software package on Mac OS X and it failed with complains for headers, libraries of that C compiler (GCC) can't build binaries, it's very simple to get it working like you used to do in any GNU/Linux or Unix flavors. If you project are compatible with Xcode, just skip all this ;)
To put GCC to build things on Mac OS X, simple prefix (or export) the PATH, CFLAGS, LDFLAGS and CPPFLAGS to any configure script or make execution like show bellow:
For configure script
PATH=${PATH}:/Developer/usr/bin CFLAGS=-I/Developer/SDKs/MacOSX10.6.sdk/usr/include/ LDFLAGS=-L/Developer/SDKs/MacOSX10.6.sdk/usr/lib CPPFLAGS=-I/Developer/SDKs/MacOSX10.6.sdk/usr/include/ ./configure
For make
PATH=${PATH}:/Developer/usr/bin CFLAGS=-I/Developer/SDKs/MacOSX10.6.sdk/usr/include/ LDFLAGS=-L/Developer/SDKs/MacOSX10.6.sdk/usr/lib CPPFLAGS=-I/Developer/SDKs/MacOSX10.6.sdk/usr/include/ ./configure
You can add more includes or libraries paths by adding :-I or :-L to CFLAGS, CPPFLAGS and LDFLAGS environment variables, like:
CFLAGS=-I/Developer/SDKs/MacOSX10.6.sdk/usr/include:-I/Developer/usr/include
CPPFLAGS=-I/Developer/SDKs/MacOSX10.6.sdk/usr/include:-I/Developer/usr/include
LDFLAGS=-L/Developer/SDKs/MacOSX10.6.sdk/usr/lib:-L/Developer/usr/lib
That's all! Happy hacking...
terça-feira, julho 13, 2010
Installing Ubuntu 10.04 as a guest for Citrix XenServer 5.5.0
Update 2011/07/15: This also applies to Ubuntu 10.10 and 11.04 releases
If you need to install an Ubuntu system as a guest for Citrix XenServer, you figured out that there is no support from Citrix templates out there, but this is not the end of the world. Modern GNU/Linux distros comes with kernels ready for para-virtualization and you just need to make additional steps to get it working.
If you need to install an Ubuntu system as a guest for Citrix XenServer, you figured out that there is no support from Citrix templates out there, but this is not the end of the world. Modern GNU/Linux distros comes with kernels ready for para-virtualization and you just need to make additional steps to get it working.
Posted by
Alexandre Alencar
at
14:49:00
2
comments
Labels:
Citrix XenServer,
gnu/linux,
Tips,
Virtualization
Assinar:
Postagens (Atom)