Nevermind

Robor

Elite Member
Oct 9, 1999
16,979
0
76
I'm lost. I've got Mandrake 8.0 up and running and it's connected to the 'net via cable through a Linksys router (DHCP). That works fine. I downloaded WINE and I think I ran the install and config/setup. Also got the SETI CL client and SetiLog.exe. What I can't figure out is how to start SetiLog with WINE.

I've searched online and read a ton of FAQ's about WINE but nothing mentions how to use it with SETI.

Help!

Thanks,

Rob
 

Polo

Diamond Member
Oct 10, 1999
4,185
0
0
I don't use SETILog but to launch SETI just type in a shell window :
-------
cd /my/SETI@Home/folder
wine -- setiathome-3.03.i386-winnt-cmdline.exe -proxy 192.xxx.xxx.xxx:5517
-------

The -- behind wine is to pass a parameter after setiathome-3.03.i386-winnt-cmdline.exe

It works for me. :)

Then you can make a file with these lines and autostart it with KDE.
 

Poof

Diamond Member
Jul 27, 2000
4,305
0
0
First - there's a "wine.conf" configuration file that gets created in the "/etc/wine" directory. This needs to be tweeked to make sure it works half-way okay. Here is mine:



<<
;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; Path=xxx (Unix path for drive root)
;; Type=xxx (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; Label=xxx (drive label, at most 11 characters)
;; Serial=xxx (serial number, 8 characters hexadecimal number)
;; Filesystem=xxx (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
;; This is the FS Wine is supposed to emulate on a certain
;; directory structure.
;; Recommended:
;; - &quot;win95&quot; for ext2fs, VFAT and FAT32
;; - &quot;msdos&quot; for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;; DON'T use &quot;unix&quot; unless you intend to port programs using Winelib !
;; Device=/dev/xx (only if you want to allow raw device access)
;;
[Drive A]
Path=/mnt/floppy
Type=floppy
Label=Floppy
Serial=87654321
Device=/dev/fd0

[Drive C]
Path=/mnt/win
Type=hd
Label=Windud 98
Filesystem=win95

[Drive D]
Path=/mnt/cdrom
Type=cdrom
Label=CD-Rom
Filesystem=win95
; make sure that device is correct and has proper permissions !
Device=/dev/cdrom

[Drive E]
Path=/tmp
Type=hd
Label=Tmp Drive
Filesystem=win95

[Drive F]
Path=${HOME}
Type=network
Label=Home
Filesystem=win95

[wine]
Windows=c:\windows
System=c:\windows\system
Temp=e:\
Path=c:\windows;c:\windows\system;e:\;e:\test;f:\
;;Profile=c:\windows\Profiles\Administrator
GraphicsDriver=x11drv

# <wineconf>

[DllDefaults]
EXTRA_LD_LIBRARY_PATH=/usr/lib/wine
DefaultLoadOrder = native, builtin, elfdll, so

[DllOverrides]
kernel32, gdi32, user32 = builtin
krnl386, gdi, user = builtin
toolhelp = builtin
comdlg32, commdlg = elfdll, builtin, native
version, ver = elfdll, builtin, native
shell32, shell = builtin, native
lz32, lzexpand = builtin, native
commctrl, comctl32 = builtin, native
wsock32, winsock = builtin
advapi32, crtdll, ntdll = builtin, native
mpr, winspool.drv = builtin, native
ddraw, dinput, dsound = builtin, native
winmm, mmsystem = builtin
msvideo, msvfw32 = builtin, native
mcicda.drv, mciseq.drv = builtin, native
mciwave.drv = builtin, native
mciavi.drv, mcianim.drv = native, builtin
msacm.drv, midimap.drv = builtin, native
w32skrnl = builtin
wnaspi32, wow32 = builtin
system, display, wprocs = builtin
wineps = builtin
icmp = builtin

[x11drv]
; Number of colors to allocate from the system palette
AllocSystemColors = 100
; Use a private color map
PrivateColorMap = N
; Favor correctness over speed in some graphics operations
PerfectGraphics = N
; Color depth to use on multi-depth screens
;;ScreenDepth = 16
; Name of X11 display to use
;;Display = :0.0
; Allow the window manager to manage created windows
Managed = N
; Use XFree86 DGA extension if present
UseDGA = Y
; Use XShm extension if present
UseXShm = Y
; Enable DirectX mouse grab
DXGrab = N
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
DesktopDoubleBuffered = N
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
TextCP=0
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it founds).
;; XVideoPort = 43

[fonts]
;Read documentation/fonts before adding aliases
Resolution = 96
Default = -adobe-times-

[serialports]
Com1=/dev/ttyS0
Com2=/dev/ttyS1
Com3=/dev/modem,38400
Com4=/dev/modem

[parallelports]
Lpt1=/dev/lp0

[spooler]
LPT1:=|lpr
LPT2:=|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -
LPT3:=/dev/lp3

[ports]
;read=0x779,0x379,0x280-0x2a0
;write=0x779,0x379,0x280-0x2a0

[spy]
Exclude=WM_SIZE;WM_TIMER;

[registry]
; Paths must be given in /dir/dir/file.reg format.
; Wine will not understand dos file names here...

;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Global registries (stored in /etc)
LoadGlobalRegistryFiles=Y
; Home registries (stored in ~user/.wine/)
LoadHomeRegistryFiles=Y
; Load Windows registries from the Windows directory
LoadWindowsRegistryFiles=Y
; TRY to write all changes to home registries
WritetoHomeRegistryFiles=Y
; Use new file format
UseNewFormat=Y
; Registry periodic save timeout in seconds
; PeriodicSave=600
; Save only modified keys
SaveOnlyUpdatedKeys=Y

[Tweak.Layout]
;; WineLook=xxx (supported styles are 'Win31'(default), 'Win95', 'Win98')
WineLook=Win98

[programs]
Default=
Startup=

[Console]
;Drivers=tty
;XtermProg=nxterm
;InitialRows=25
;InitialColumns=80
;TerminalType=nxterm

[Clipboard]
ClearAllSelections=0
PersistentSelection=1

# </wineconf>
>>



Next - I've never run Setilog since I use Setidriver/Setiqueue to log stuff, but here's how I run SETI in WINE:

1.) While in Linux, I mount the 98SE partition located on the same machine with:

mount -t vfat /dev/hda1 /mnt/win

(this assumes your windoze is at the beginning of the drive in &quot;hda1&quot; and that you created a directory called &quot;win&quot; in the &quot;/mnt&quot; directory)

2.) I change into /mnt/win and once there, I now have access to windoze's &quot;C&quot; drive. I change to windoze's SETI directory.

Then to start up SETI, I type:

wine --winver nt40 -- seti303.exe -proxy 192.168.1.9:5517

Note that there is no space between the first set of &quot;--&quot; and the &quot;winver&quot;, but there IS a space between the second set of &quot;--&quot; and both the &quot;nt40&quot; as well as the &quot;seti303.exe&quot;.

Also, the above assumes:

1.) I'm having it run SETI as if the OS was NT40 (even though the stuff is coming off of 98SE). If you leave that &quot;winver&quot; stuff out, it'll default to &quot;win95&quot; (and run a bit slower...heh ;)).

2.) I renamed the SETI executable to what is above (you can name the executable whatever you want in windoze)

3.) I'm using the &quot;-proxy <blah>&quot; parameter to shunt the result to my Setiqueue machine.

Now... I think Setilog has parameters to start the SETI executable so... I'm thinking you could try:

wine --winver nt40 -- Setilog.exe /h

or something like that... :confused: :p I don't know the Setilog parameters... ;)

Now one other thing is that since I run G@H on the same machine (linux client), in order to get G@H to share with SETI (SETI hogs the CPU), I manually &quot;nice&quot; the process with:

nice -10 wine --winver nt40 -- seti303.exe -proxy 192.168.1.9:5517

This will force it to share ~75/25 with G@H.

Hope this helps some even though it's long? ;)

:)
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
Wow, that is long! I'm headed to a card game right now but I'll try and digest that when I return later on. Thanks a bunch. Hopefully I'll get this ship back in the air soon!

Rob
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
Hmmm... Just checked my Mandrake 8.0 and for starters I don't have a wine.conf. I searched the entire filesystem for wine.conf and all I found was wine.conf.5 in /opt/wine/man/man5. Maybe I don't have WINE properly? All I did was download the .rpm and double click it. It walked me through a bunch of steps and appeared to install.

I downloaded the Wine program to /home/myusername/Downloads/Wine and executed it from the GUI file manager. Looking around I found I've got this as well...

In /home/myusername/.wine/ I've got
./
../
config
fake_windows/
system.reg
user.reg
userdef.reg

In /home/myusername/.wine/fake_windows/ I've got
./
../
My Documents/
Program Files/
Recycled/
Temp/
Windows/

Is this correct? I don't see any wine.conf. I'm clueless on Linux (duh)! :)

Thanks again!

Rob

 

Polo

Diamond Member
Oct 10, 1999
4,185
0
0
If you don't have a wine.conf file then your wine configuration file is in your home directory under the .wine directory. It's name is config and not wine.conf. The syntax is the same and you can look at Poof's excellent post. ;) It has been installed this way by rpm I presume.

I'll now put the --winver nt40 stuff to grab some minutes... Hehehe... Thanks Poof ! :)

If you're using KDE then you can autostart SETI with KDE. It works like the win9x autostart folder. It's name is /home/robor/.kde/Autostart. Just put a shortcut launching SETI in that directory and voil&agrave; ! :)

Hope that helps !? :)
 

Poof

Diamond Member
Jul 27, 2000
4,305
0
0
I used a wine rpm too and I'm trying to remember... but I think I had to create a wine.conf as well. I think there was an &quot;example&quot; one somewhere which I edited and then put in /etc/wine. I did all this last October so I forgot all that needed to be done... :(
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
Okay, one thing I didn't mention is I don't have a &quot;real&quot; Windows version on this machine. Is that required? All I've got on this box is Mandrake 8.0.

Rob
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
:| :| Ugh, I'm done... I swore off Linux once before (Red Hat 5) and I'll do it once again. The only difference is this time I'll put a lot more time inbetween trials. I have absolutely no use for an OS that is so difficult to configure and use. I'll leave it to the programmers and developers who like a challenge in configuring a box to actually run software.

Call me whatever the /. Linux loving Windoze hating gurus call people like me but I could've had a Win9x, WinNT, Win2K box up running exactly the way I want several days ago. Instead I gave Linux another chance and all I wound up with is a desktop that does nothing I need. In fact, for the first time in over a year this box is powered off! That's right, an undamaged DC PC with the power off! :Q Online help? What online help? Try and find me a page that details running the CL SETI client with SETILog under WINE. I looked. AFAIK, it doesn't exist.

Maybe Linux is good for some people but I am not one of them. Right now I hate Linux, I hate the penguin, and I hate the media hype that had to show &quot;Ray doesn't have his name on the Cup yet&quot; during every chance tonight. I hope Ray retires so maybe next season can be about hockey and not him. BTW, I'm a hockey fan as well...

BTW - No offense to anyone (especially Poof) who tried to help me. I really appreciate the help but to be honest I went into this with a pessimist attitude and I hoped it would be easier. I just don't have the patience, desire, or time to devote to learning all it can do. I'm sure Linux is a nice OS but it's definetely not for everyone, especially the casual user. Oh, and anyone who dreams Linux is close to becoming a mainstream desktop OS is dreaming! ;)

Rob

Edit: I'm going to look for that Linux rant. I have some content to add. ;)
 

Poof

Diamond Member
Jul 27, 2000
4,305
0
0
Robor - why not run the SETI Linux client just to get a feel for the OS in general? It's maybe 30 minutes different from the windoze one.

I sure as hell didn't start off using Linux for the first time by trying to run a windoze SETI client (or anything else) in WINE. Let alone trying to do similar in Dosemu. That came over a year after I first started putzing around with Linux and eventually SETI. I looked for programs written FOR Linux that would match what I do with my machines, eg., web surfing, email, word processing... I eventually moved to distributed computing and now games like UT.

Believe you me, when I first moved from plain DOS 3.2 to DOS 3.3 and then to win 3.0 (on my old 286 Tandy 1000 TL, which only ran win 3.0 in B&amp;W), there was a learning curve. Moving from win 3.0 on DOS 3.3 to win 3.1 then to DOS 4.01 (ugh) then to DOS 5.0 on my 486, then to DOS 6.20 then to DOS 6.21 then to DOS 6.22 and this with win 3.11 on top... and then to 95 at work, and later to 98 at home, was ALSO a learning curve. In parallel, going from NT 3.51 to NT 4 wasn't any better... And the epitome for me was going to 2000 and taking 15 minutes to figure out how the hell to configure the networking - it was THAT different from NT 4. I have REFUSED to deal with ME or what's coming soon... XP.

One has to crawl before they walk and that goes for windoze too.... ;)

Linux is FREE of cost. To have something that I don't have to pay for that WORKS is good enough for me and millions of others. :)

I hope you reconsider and start that machine up again. Run the Linux clients. SETI has one, as does RC5/OGR, F@H, and G@H. Make that machine a contributing member and learn how OSes work. If anything, it will help you be a better windoze user... ;)
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
Poof: I hear what you're saying but for what I do Linux just isn't the answer. From what I understand the native Linux client is actually slower than the CL client in Windows. I know that's not the fault of the OS but it's still true.

Maybe I'll give Linux another try but like I said in the previous post, it's gonna be a while. Right now I'm so frustrated with it that I'm loading Win2K Server on that box. I need to play around with that anyway.

Thanks again for all the help!

Rob
 

Russ

Lifer
Oct 9, 1999
21,093
3
0
Robor,

I COMPLETELY understand your frustration. I've been messing with Linux for almost a year (have three boxes now), and am probably about 2% there.

I just love pain.:D

Russ, NCNE
 

Wiz

Diamond Member
Feb 5, 2000
6,459
16
81
heheheh...want pain? MS has some beta testing they would like to share with you...

Sorry, just had to throw that in there. I was testing &quot;Windows 95&quot; in '91 (or was that '92) ...
I got real good at reformatting and reinstalling. I am still (though may not always be) a dedicated wIntel user.
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
I started with DOS 5 (I think) and have been using them all up to Win2000. I'll admit it, I like MS Operating Systems. Not perfect, but nothing is. Dunno about anything after 2000. From what I've heard about XP, I don't like it at all. I'm told (heard from a beta tester) they dumbed it down (like Mac) and then there's the licensing &amp; registration issue. What? You changed out parts of your PC? You need a new s/n! Um, yech. I haven't even attempted to download any warez'd, I mean, beta copies of XP. ;)

Rob