[New file] How-To Program your Viewsat using Linux and Wine

Status
Not open for further replies.

CASPER

New member
How-To Program your Viewsat using Linux and Wine

--------------------------------------------------------------------------------

I wrote this guide for people who would like to use Linux to program their Viewsats. I know there is a loader program for Linux, but I could not get it to work (probably because I am not the smartest Linux guy) and there is little info floating around on how to use it.

To get this up and working you will need the following:
1. WINE
2. The Loader2 program and the file zmodem32.dll that comes with it.(Viewsat files section)
3. mfc42.dll (attached to this post)

First, install Wine, on Ubuntu you only need to goto your System menu and select Administration, then open the Synaptic Package Manager and right click on Wine and select install.

Then you will need to copy both zmodem32.dll and mfc42.dll to your wine system32 directory. It is located in your home folder under .wine/drive c/windows/system32. When you go looking for it remember you have select the option to view hidden folders to see the .wine directory.

Now if have a serial port on your computer, you need to setup a symlink to your serial port and Wine's COM1. Open your terminal and type in:

Code:
sudo ln -s /dev/ttyS0 ~/.wine/dosdevices/com1If you are like me and use a USB to Serial adapter you have to create a different symlink to COM1 by typing:

Code:
sudo ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1If USB0 doesn't work for you, you may need to find which port your computer is giving your USB adapter. To do this, plug in your USB adapter and open your terminal and type:

Code:
dmesgThe last line of dmesg should look something like this "usb 3-3: pl2303 converter now attached to ttyUSBx"
Now you know which port to symlink to.

Now you shpuld be ready to program you Viewsat by starting Loader2 in Wine. You can do this by right mouse clicking on the program and select Open with Wine or opening a terminal, navigating to the directory that the Loader2 file is in and typing

Code:
wine loader2
 

Attachments

Status
Not open for further replies.
Back
Top