[Mono-list] Mono on a VPS (Luke Mackenzie)
Luke Mackenzie
luke at lukem.co.uk
Sun May 14 06:36:55 EDT 2006
does anyone have any advice on this post?
-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of
mono-list-request at lists.ximian.com
Sent: 12 May 2006 18:45
To: mono-list at lists.ximian.com
Subject: Mono-list Digest, Vol 13, Issue 16
Send Mono-list mailing list submissions to
mono-list at lists.ximian.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ximian.com/mailman/listinfo/mono-list
or, via email, send a message with subject or body 'help' to
mono-list-request at lists.ximian.com
You can reach the person managing the list at
mono-list-owner at lists.ximian.com
When replying, please edit your Subject line so it is more specific than
"Re: Contents of Mono-list digest..."
Today's Topics:
1. Re: serial port with mono on freebsd (Carlos Solorzano)
2. Re: serial port with mono on freebsd (Tom Opgenorth)
3. Re: serial port with mono on freebsd (Carlos Solorzano)
4. Re: serial port with mono on freebsd (Tom Opgenorth)
5. Re: serial port with mono on freebsd (xavier de Blas)
6. Re: serial port with mono on freebsd (Carlos Solorzano)
7. Re: serial port with mono on freebsd (Tom Opgenorth)
8. Mono on a VPS (Luke Mackenzie)
9. RE: Problem getting Sample Web Services to work OnFedoraCore
4 (Dana Epp)
----------------------------------------------------------------------
Message: 1
Date: Thu, 11 May 2006 09:43:11 -0500
From: Carlos Solorzano <carlos at applianz.com>
Subject: Re: [Mono-list] serial port with mono on freebsd
Cc: mono-list at lists.ximian.com
Message-ID: <22531965-5D89-45BA-AFE0-5F072CCC6F11 at applianz.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
I have used the SerialPort a lot in mono on linux, what errors do you get?
--Carlos
On May 10, 2006, at 9:23 AM, Mario Munda wrote:
> Did somebody use serial port in mono on freebsd?
>
> I need to develop an application that would be able to read from and
> write to serial port. So I tried to open file /dev/cuad0 as a
> FileStream, but it doesn't work.
>
> I'm using Freebsd 6.0
>
> Any suggestions?
>
> Thnx...
>
>
>
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
------------------------------
Message: 2
Date: Thu, 11 May 2006 09:06:36 -0600
From: "Tom Opgenorth" <tom at opgenorth.net>
Subject: Re: [Mono-list] serial port with mono on freebsd
To: mono-list at lists.ximian.com
Message-ID:
<140160570605110806p6e31ce4cr5f2d0712f3d62d69 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 5/10/06, Mario Munda <mario.munda at amis.si> wrote:
> Did somebody use serial port in mono on freebsd?
While on the topic, does anybody have some good reference material for
serial ports? I might have a need to read some information from a device
with a serial port, but I'm not to sure of the format the data coming in.
Any suggestions/tips/pointers would be greatly appreciated.
------------------------------
Message: 3
Date: Thu, 11 May 2006 11:08:11 -0500
From: Carlos Solorzano <carlos at applianz.com>
Subject: Re: [Mono-list] serial port with mono on freebsd
Cc: mono-list at lists.ximian.com
Message-ID: <01C63571-C704-4D80-9B51-1DABB0A0126F at applianz.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
On May 11, 2006, at 10:06 AM, Tom Opgenorth wrote:
> On 5/10/06, Mario Munda <mario.munda at amis.si> wrote:
>> Did somebody use serial port in mono on freebsd?
> While on the topic, does anybody have some good reference material for
> serial ports? I might have a need to read some information from a
> device with a serial port, but I'm not to sure of the format the data
> coming in. Any suggestions/tips/pointers would be greatly
> appreciated.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
Usually I just read bytes, each device may send the bytes based on some
protocol they have, some other devices just send plain text, some devices
send/receive plain text plus some sort of check like a crc or similar. I am
guessing whatever device you are talking to has some info on their protocol.
--Carlos
------------------------------
Message: 4
Date: Thu, 11 May 2006 10:33:28 -0600
From: "Tom Opgenorth" <tom at opgenorth.net>
Subject: Re: [Mono-list] serial port with mono on freebsd
To: mono-list at lists.ximian.com
Message-ID:
<140160570605110933hc56dbb0q21c89bdf64bf59ab at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 5/11/06, Carlos Solorzano <carlos at applianz.com> wrote:
> Usually I just read bytes, each device may send the bytes based on
> some protocol they have,
Thanks. So is it just as simple as opening a Stream of some sort and
capturing the bytes? Would you know of any code samples for reading from a
serial port in Windows?
(P.S. sorry for the hijack)
------------------------------
Message: 5
Date: Thu, 11 May 2006 18:53:42 +0200
From: xavier de Blas <xavi at xdeblas.com>
Subject: Re: [Mono-list] serial port with mono on freebsd
To: tom at opgenorth.net
Cc: mono-list at lists.ximian.com
Message-ID: <1147366422.7446.39.camel at localhost.localdomain>
Content-Type: text/plain
Hi
Chronojump uses serial port on Mono in GNU/Linux and on .NET on Windows
http://gnome.org/projects/chronojump/
See this for details:
http://cvs.gnome.org/viewcvs/chronojump/chronopic.cs?rev=1.5&view=log
http://cvs.gnome.org/viewcvs/chronojump/src/chronojump_mini.cs?rev=1.1&view=
log
Sorry, the comments on chronopic.cs are on spanish
I hope this helps
On dj, 2006-05-11 at 10:33 -0600, Tom Opgenorth wrote:
> On 5/11/06, Carlos Solorzano <carlos at applianz.com> wrote:
> > Usually I just read bytes, each device may send the bytes based on
> > some protocol they have,
> Thanks. So is it just as simple as opening a Stream of some sort and
> capturing the bytes? Would you know of any code samples for reading
> from a serial port in Windows?
>
> (P.S. sorry for the hijack)
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
------------------------------
Message: 6
Date: Thu, 11 May 2006 12:01:51 -0500
From: Carlos Solorzano <carlos at applianz.com>
Subject: Re: [Mono-list] serial port with mono on freebsd
Cc: mono-list at lists.ximian.com
Message-ID: <44636DFF.3050709 at applianz.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Tom Opgenorth wrote:
> On 5/11/06, Carlos Solorzano <carlos at applianz.com> wrote:
>> Usually I just read bytes, each device may send the bytes based on
>> some protocol they have,
> Thanks. So is it just as simple as opening a Stream of some sort and
> capturing the bytes? Would you know of any code samples for reading
> from a serial port in Windows?
>
> (P.S. sorry for the hijack)
>
I think it depends on whether you are using .net 2.0 or not. I think on .net
2.0 the SerialPort classes are included on the microsoft framework (someone
correct me if I am wrong). I have a package I got from somewhere long time
ago (made by MS) that implemented System.IO.Ports for .net 1.0/1.1, that
library had almost the same API as .net 2.0 and mono, so I made a few
modification to it so it would work on both Linux and Windows without the
need of a recompile. The only problem was that on mono it seemed like the
System.IO.Ports namespace is in System.dll and on windows for me it was on
SerialPort.dll so on Linux I do something crazy which people are gonna laugh
at, I make a symbolic link of SerialPort.dll to System.dll and it works
fine. If mono did some more serious assembly checks it wouldn't work,
specially since all my assemblies are signed!
On both reading and writing from the serial port is really easy, I use
pretty much the same code. Mono hasn't implemented everything yet, like you
can't receive SerialPort events yet like you can on windows, a lot of the
Write methods were missing but enough functionality is there to make it
usable. I have not looked at the Mono serial ports classes in several months
so this may have changed a lot.
Hope that helped.
--Carlos
------------------------------
Message: 7
Date: Thu, 11 May 2006 11:36:50 -0600
From: "Tom Opgenorth" <tom at opgenorth.net>
Subject: Re: [Mono-list] serial port with mono on freebsd
To: mono-list at lists.ximian.com
Message-ID:
<140160570605111036y12e5a161yf0b5b74781a66ee1 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 5/11/06, Carlos Solorzano <carlos at applianz.com> wrote:
> I think it depends on whether you are using .net 2.0 or not. I think
> on .net 2.0 the SerialPort classes are included on the microsoft
> framework (someone correct me if I am wrong).
I will be using the .NET 2.0 framework. Took a quick peak and found
http://msdn2.microsoft.com/en-us/library/system.io.ports.serialport.aspx,
so this is probably a very good starting point. Thanks!
------------------------------
Message: 8
Date: Fri, 12 May 2006 16:27:27 +0100
From: "Luke Mackenzie" <luke at lukem.co.uk>
Subject: [Mono-list] Mono on a VPS
To: <mono-list at lists.ximian.com>
Message-ID: <001e01c675d8$a5e2ae80$0400a8c0 at lukem1>
Content-Type: text/plain; charset="us-ascii"
Hi,
Does anyone have any experience of running mono on a VPS running Plesk? Does
anything different need to be done in the apache config in that environment?
Many thanks,
Luke Mackenzie.
Peru Trek 2006 - Please sponsor me <http://www.justgiving.com/lukem> !
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.ximian.com/pipermail/mono-list/attachments/20060512/06e44a1f/at
tachment-0001.html
------------------------------
Message: 9
Date: Fri, 12 May 2006 09:51:03 -0700
From: "Dana Epp" <dana at vulscan.com>
Subject: RE: [Mono-list] Problem getting Sample Web Services to work
OnFedoraCore 4
To: "Gonzalo Paniagua Javier" <gonzalo at novell.com>,
<mono-list at lists.ximian.com>
Message-ID:
<9AE3FC06F0A89A43A4D6F667955082C402D2F1 at sbsmain.Vulscan.local>
Content-Type: text/plain; charset="US-ASCII"
As a follow up to my previous discussion on this, I still can't access the
web service via the browser. However, I just wrote a sample application that
consumes the web service, and it works fine.
I just can't figure out whats going on here. The only difference between the
RedHat configuration and my Debian ones is the fact I am using a dev
self-signed cert. However, I removed SSL completely out of the picture
(using XSP directly) and the browser still hangs.
Has anyone ever seen this behaviour?
Regards,
Dana Epp
[Microsoft Security MVP]
http://silverstr.ufies.org/blog/
-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Gonzalo Paniagua
Javier
Sent: Wednesday, May 10, 2006 7:59 AM
To: mono-list at lists.ximian.com
Subject: RE: [Mono-list] Problem getting Sample Web Services to work
OnFedoraCore 4
On Tue, 2006-05-09 at 10:46 -0700, Dana Epp wrote:
> As a follow up to this, I have just upgraded to 1.1.15 to see if this
> would make a difference.
>
> OS: Fedora Core 4 with 2.6.15-1.1831_FC4 kernel
> Mono: 1.1.15-0.novell
> Mod_mono: 1.1.14-0.fedora4.novel
> XSP: 1.1.15-0.novell
>
> I still see the test web services hang. I forgot to mention before
> that the ASP.NET components are working fine. It's just the web
> services that seem to not be functioning.
>
> Anyone have any ideas?
It would help if you provide specific details and the source code needed to
reproduce your problem.
-Gonzalo
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
------------------------------
_______________________________________________
Mono-list mailing list
Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
End of Mono-list Digest, Vol 13, Issue 16
*****************************************
More information about the Mono-list
mailing list