driver=`sudo ethtool -i wlan0 | grep driver | cut -d ' ' -f 2`;sudo modprobe -r $driver;sudo modprobe $driver;
Showing posts with label Computer. Show all posts
Showing posts with label Computer. Show all posts
31 October, 2011
Ubuntu: Completely restart wireless network
driver=`sudo ethtool -i wlan0 | grep driver | cut -d ' ' -f 2`;sudo modprobe -r $driver;sudo modprobe $driver;
25 December, 2009
Howto: Enlarge disk in CentOS under VMWare
According to this post: http://smartiecomputers.com/blog/?p=117
1. Power off the VM
2. Remove all snapshots
3. Expand the disk
4. Power on VM
5. Create new LVM partition using fdisk with type: 8e (Linux LVM)
6. Create physical volume: pvcreate /dev/sda3
7. Extend VolGroup: vgextend VolGroup00 /dev/sda3
8. Show the free space we got: vgdisplay
9. Grow the VolGroup: lvextend -L+nG /dev/VolGroup00/LogVol00
10. Resize the file system online: resize2fs /dev/VolGroup00/LogVol00
Done!
30 April, 2009
Howto: Changing iso image in Xen
1. xm block-list "name of the domain"
Vdev BE handle state evt-ch ring-ref BE-path
768 0 0 1 -1 -1 /local/domain/0/backend/vbd/1/768
5632 0 0 1 -1 -1 /local/domain/0/backend/vbd/1/5632
2. sudo xenstore-write /local/domain/0/backend/vbd/1/5632/params /path/to/your/iso/file
3. Done
Vdev BE handle state evt-ch ring-ref BE-path
768 0 0 1 -1 -1 /local/domain/0/backend/vbd/1/768
5632 0 0 1 -1 -1 /local/domain/0/backend/vbd/1/5632
2. sudo xenstore-write /local/domain/0/backend/vbd/1/5632/params /path/to/your/iso/file
3. Done
Subscribe to:
Posts (Atom)