Pages

Wednesday, 14 May 2014

Wine .Net


I needed .Net installed on wine, however the issue is that not all install correctly if you follow this approach you will get the installation correct to .Net 3.0

1. Use Wine from the official repository:
http://www.winehq.org/download/

2. Use winetricks for the installation and read from winehq the instruction on the installation (they are below the description):
winetrick­s -q msxml3 dotnet35­sp1

3. Use the .Net Verification tool to verify the installation:
http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

4. If something fails use the clean-up tool to uninstall the version that failed:
http://blogs.msdn.com/b/astebner/archive/2012/08/04/10336934.aspx

References:
http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
http://appdb.winehq.org/objectManager.php?sClass=version&iId=10166
http://www.winehq.org/download/
http://blogs.msdn.com/b/astebner/archive/2012/08/04/10336934.aspx

Some thoughts on Proxmox and some linux partitioning

Proxmox turned out to be a nice virtualization option. Аt first glance it seems to me that the resources thanks to open-vz are accumulated very well.

After you install you can access the virtual infrastructure here:
https://<ip>:8006

One other thing is that I had to add another partition to the virtual environment

List all hard drives:
lsblk

sudo parted /dev/sdb <- your device here
mklabel gpt
mkpart ext3 2048s -1s
print
quit

sudo partprobe -s /dev/sdb
sudo mke2fs -t ext3 /dev/sdb1 -L "label"  
sudo tune2fs -c0 -i0 /dev/sdb1
sudo mkdir /media/partition
sudo chown root:root /media/partition
sudo chmod 777 /media/partition

add an entry in fstab

 /dev/sdb1 /media/partition ext3 defaults 0 0


and then sudo mount -a to refresh fstab.

One other thing is that the PC I installed it on did not have 64 bit virtual support, which generally is bad - not to say stronger words. Anyways I had to use templates on the proxmox because for some reason I was not able to install Ubuntu Server actually even with the template. Turnkey which is Ubuntu based was installed!? Anyway it is 32 bit and doesn't need 64 bit virtualization, but as it seems there was some issue so I was forced to install a CentOS although I wanted my environment to be as homogeneous as possible.

One other notable thing is the networking - it seems some templates pass the dhcp from my router and that the templates are configured to accept those and some as CentOS template had to be set? I set my network settings at a gateway level - so this a bit annoyed me. But you can set your networking settings through the web interface and I did not know that :D

So just dig in the gui you will find the network settings - don't do this. I did it the hard way:
ifconfig eth0 <ip> netmask <mask> broadcast <broadcast> 
route add default gw <gw ip>


Don't forget to set the DNS.

Conclusion: It's Ok to be used for 32-bit Linux based systems with the default templates. 

References:
https://pve.proxmox.com/wiki/Turnkey_Linux_Templates

Thursday, 8 May 2014

Mint on Amilo L1310G - Wifi issues

I had to install Mint 16 Petra on Amilo L1310G unfortunately with issues on the Wifi. So I read trough look at the references. And had to modify a make file from the old driver and created a package. You are free to use it.

Driver
https://drive.google.com/file/d/0B1HfGZPmAyo0d2JvNFI5Q3Z3MmM/edit?usp=sharing



make
make install
modprobe fsaa1655g
/proc/fsaa1655g/radio
echo 1 > /proc/fsaa1655g/radio
echo 0 > /proc/fsaa1655g/radio
1. Download the tar and compile the driver - don't forget to get the kernel headers:


2. Open (what I think is) your former "options"-file:
sudo nano /etc/modprobe.d/alsa-base.conf

3. Scroll down untill you find 
"# Prevent abnormal drivers from grabbing index 0". You should find some lines that start with "options". Now add the following:
options fsaa1655g radio=1
options ath_pci rfkill=0
Save it.

4. Now we'll add the module so it will load at startup, again using a terminal:
sudo nano /etc/modules

5. At the end of the file, add the following:
fsaa1655g
Save it.

Try this if the led is not blinking blue. For me this driver works.


Than you can examine the file
You can switch the radio with commands

References: