Dell workstation / server Freebsd's compatibility

2010-06-26 Thread Olivier GARNIER

Hi,


I've got an old workstation wich i use to have FreeBSD server on it 
(http/samba/ 4 disk on RAID)
It's summer time and the old workstation will not work at the end the 
summer time (too warm for it)


So ii wish to change it.
I don't need a big server, a tiny workstation will be enough.
I wish a inter CPU and dell construction (i'm use to use there work)
So herre is the question :

If you have dell computer (wich is still sold by dell) and if you're 
working with FreeBSD on it with no more problem, can you tell me witch 
computer you have ?
(it would be great to have the same list as laptop 
(*laptop*.bsdgroup.de) For workstation and server ...)


Thanks

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RS232 / TCP converter and BSD.

2010-03-04 Thread Olivier GARNIER

Hi,

I have a weather station (Lacross WS2350). (can be connect by USB / RS232).
I want to get data from a FreeBSD server 70 meter from the weather 
station (with http://www.wviewweather.com/ software).

I already have a RJ45 cable between the two objects.

I wish i could get a RS232 to RJ45 connecter like this one :
http://www.lextronic.fr/P6554-convertisseur-tcpip--rs232-cse-h53.html
And use it to connect the weather station to the RJ45 network, and then 
get data from my BSD.


The bad point is that the soft witch are given with the RS232 to RJ45 
translater are for windows, and it make a virtual port on windows.

I don't know if it will work on BSD.
If it does not work, i'll be oblige to buy another RJ45 to RS232 
translater... and it's not cheap.


Has anybody already done a such network ?

Thanks,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Virtual RS232 port link on IP or on network card

2010-03-04 Thread Olivier GARNIER

Hi,

Is it possible to create a virtual COM port on FreeBSD.
And to link it to a network card, or what whould be better to an ip 
adress on my network ?


Thanks,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


USB device read and write

2009-11-28 Thread Olivier GARNIER

Hi,

I'm trying to read/write on usb weather station.
I've got a C soft which find it on /dev/uhid0

But i do not know how to read/write on it.
It make 5 years i've not used C developpement.
I've read handbook and what i can find about USB / UHID and 
communication ...

But i still don't know how to read and write on it.

Can someont tell me where to find an example or who can help me ?

Thanks,

Olivier

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


read/write data on usb weather station WMR100

2009-11-23 Thread Olivier GARNIER

Hi,

I have an usb weather station (oregon wmr100).
It's an usb device only.
I want to be able to get data from it (T°, H°, wind, ...)

I tried to use libusb to make a c software but it seems not to work 
(exemple witch are in /usr/ports/devel/libusb/work/...test/ do not work).
I've seen what's written on /usr/ports/UPDATING (20090309) so i 
reinstall libusb

But it since doesn't work. libusb will not work with FreeBSD 7.0 ?

I probably have missed something.
Someone can help me ?

# uname -a
FreeBSD toto.toto.fr 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 
19:59:52 UTC 2008 
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


Thanks,

Olivier



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: read/write data on usb weather station WMR100

2009-11-23 Thread Olivier GARNIER

Roland Smith a écrit :

On Mon, Nov 23, 2009 at 02:57:27PM +0100, Olivier GARNIER wrote:
  

Hi,

I have an usb weather station (oregon wmr100).
It's an usb device only.
I want to be able to get data from it (T°, H°, wind, ...)


This machine probably only comes with windoze software? If you don't know the
protocol for data exchange used between the hard- and software it might be
difficult getting it to work on FreeBSD.
  
I've found some internet site witch speak about it. I've asked oregon, 
but they do not want to talk about it...

There seems to be a Linux program (WeatherD) that works with this
station. Maybe you can get that to work? Or you could try running the windows
softere under emulators/wine.
  
Yes, but i want to get back data and put it in a postgresql database, 
and i found no way to use it as i want.
I tried to use libusb to make a c software but it seems not to work 
(exemple witch are in /usr/ports/devel/libusb/work/...test/ do not work).


Can you elaborate a bit? This is too little info for anyone to help you.
If you plug the device in, do you see an ugen device being created? What does
dmesg report?
  

When I plug in and out the device that's what i see :
uhid0: vendor 0x0fde Universal Bridge, class 0/0, rev 1.10/3.02, addr 
2 on uhub0

uhid0: at uhub0 port 1 (addr 2) disconnected
uhid0: detached

# pkg_info | grep libusb
libusb-0.1.12_4 Library giving userland programs access to USB devices

# cd /usr/ports/devel/libusb/work/libusb-0.1.12/tests
#  ./descriptor_test
bus/device  idVendor/idProduct
# ./find_hubs
Class/SubClass/Protocol
#  ./find_mice
idVendor/idProduct/bcdDevice
# ./get_resolution
idVendor/idProduct/bcdDevice
# ./hub_strings
Class/SubClass/Protocol
#./id_test
bus/device  idVendor/idProduct/bcdDevice  Class/SubClass/Protocol
# ./testlibusb

As it does not work i tried this i named test.c :
#include usb.h
// discover devices
libusb_device **list;
libusb_device *found = NULL;
ssize_t cnt = libusb_get_device_list(NULL, list);
ssize_t i = 0;
int err = 0;
if (cnt  0)
 error();
for (i = 0; i  cnt; i++) {
 libusb_device *device = list[i];
 if (is_interesting(device)) {
   found = device;
   break;
 }
}
if (found) {
 libusb_device_handle *handle;
 err = libusb_open(found, handle);
 if (err)
   error();
}
libusb_free_device_list(list, 1);

But it seems not to work
# make
gcc -g -Wall -c test.c
test.c:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'*' token
test.c:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'*' token

test.c:6: warning: implicit declaration of function 'libusb_get_device_list'
test.c:6: error: 'list' undeclared here (not in a function)
test.c:6: error: initializer element is not constant
test.c:9: error: expected identifier or '(' before 'if'
test.c:12: error: expected identifier or '(' before 'for'
test.c:12: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '' token
test.c:12: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '++' token

test.c:20: error: expected identifier or '(' before 'if'
test.c:29: error: expected ')' before numeric constant
*** Error code 1


As it always not work, i look after something else.
I found this http://www.castro.aus.net/~maurice/usb/panic/panicbutton.tar.gz
When i modifie it a little this is what it give me :
# ./wmr100
-device: Trouve le device cherche : IDVendeur FDE, IDProduit : CA01, 
IDNom : Universal Bridge

-device: uhid0

so i know i can find the device (i expect i can also speak with it)
I don't know how i can use libusb 


I've seen what's written on /usr/ports/UPDATING (20090309) so i 
reinstall libusb


The note you reference only affected what was then CURRENT, i.e. what is now
8.0-PRERELEASE. It shouldn't bother people on 7.x.

  

But it since doesn't work. libusb will not work with FreeBSD 7.0 ?


It works.

Roland
  


Thanks you,

Olivier


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Nut problem and last message repeated in dmesg

2008-05-01 Thread Olivier GARNIER
There are my questions:

 Does anyone become to correct the same problem and can help me to correct
this?

 Can anyone tell my how to see the last message which is repeated hundred
times?

 

I've got an MGE ellipse 750 USBS.

I've connected it to my server with USB cable.

I've installed NUT via ports.

 

Now this service is crashing very often.

For example it crashes yesterday 23h16, I restarted it and when I watch it
today :

 

# dmesg - a

.

Apr 30 23:12:38 myhost last message repeated 120 times

Apr 30 23:16:28 myhost last message repeated 46 times

Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed -
Server disconnected

May  1 08:57:44 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed -
Data stale

May  1 08:58:19 myhost last message repeated 7 times

May  1 09:00:24 myhost last message repeated 25 times

May  1 09:10:29 myhost last message repeated 121 times

May  1 09:20:34 myhost last message repeated 121 times

May  1 09:30:35 myhost last message repeated 120 times

May  1 09:40:40 myhost last message repeated 121 times

May  1 09:50:40 myhost last message repeated 120 times

May  1 10:00:40 myhost last message repeated 120 times

May  1 10:10:40 myhost last message repeated 120 times

May  1 10:20:40 myhost last message repeated 120 times

May  1 10:30:40 myhost last message repeated 120 times

May  1 10:40:40 myhost last message repeated 120 times

[EMAIL PROTECTED] ~]$ /usr/local/etc/rc.d/nut stop

Password:

Stopping nut.

Network UPS Tools - UPS driver controller 2.2.1

[EMAIL PROTECTED] ~]$ /usr/local/etc/rc.d/nut start

Network UPS Tools - UPS driver controller 2.2.1

Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1)

 

Using subdriver: MGE HID 1.01

Starting nut.

Network UPS Tools upsd 2.2.1

listening on 0.0.0.0 port 3493

Connected to UPS [ellipse]: usbhid-ups-ellipse

 

Thanks.

 

Olivier

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Nut problem and last message repeated in dmesg

2008-05-01 Thread Olivier GARNIER
$ pkg_info | grep nut
nut-2.2.1_1 Network UPS Tools

$ grep driver /usr/local/etc/nut/*.conf | grep -v \#
/usr/local/etc/nut/ups.conf:driver = usbhid-ups

$ grep Ellipse /usr/local/etc/nut/driver.list | grep 750 | grep usb
MGE Office Protection Systems Ellipse ASR USBS 600/750/1000/1500 VA
USB cable usbhid-ups
MGE UPS SYSTEMS   Ellipse Office 750USB   usbhid-ups


$ sudo /usr/local/etc/rc.d/nut start
Network UPS Tools - UPS driver controller 2.2.1
Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1)

Using subdriver: MGE HID 1.01
Starting nut.
Network UPS Tools upsd 2.2.1
listening on 0.0.0.0 port 3493
Connected to UPS [ellipse]: usbhid-ups-ellipse

Broadcast Message from [EMAIL PROTECTED]
(no tty) at 7:34 CEST...

Communications with UPS [EMAIL PROTECTED] established

It seems to be the good driver.
It seems to be the last nut version.
It seems to run weel during about 1/2 day, and then crash :/

Olivier


De : Derek Ragona [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 1 mai 2008 20:14
À : Olivier GARNIER; freebsd-questions@freebsd.org
Objet : Re: Nut problem and last message repeated in dmesg
 

Make sure you are using the correct driver.  Nut has consolidated and
changed drivers in recent releases.  

-Derek

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ipnat

2008-04-29 Thread Olivier GARNIER
Other informations ?
Have you try to login in ssh from your ssh server computer ?
Is it working ?

Have you try nmap on your ssh server computer tu see if 22 port is open ?
Can you show us what is the ssh commande you type to try to connect ?


-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de alexus
Envoyé : mercredi 30 avril 2008 03:35
À : freebsd-questions@freebsd.org
Objet : Re: ipnat

anyone?

On Tue, Apr 29, 2008 at 5:33 PM, alexus [EMAIL PROTECTED] wrote:
 i can't seem to figure this out

  su-3.2# ipnat -l
  List of active MAP/Redirect filters:
  rdr fxp0 0.0.0.0/32 port 22 - 172.16.172.16 port 22 tcp

  List of active sessions:
  su-3.2# netstat -tan | grep LISTEN | grep 22
  tcp4   0  0  172.16.172.16.22   *.*LISTEN
  su-3.2#

  i'm trying to ssh from outside, no luck :(

  --
  http://alexus.org/




-- 
http://alexus.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RAID contrôleur SATA/IDE

2008-04-04 Thread Olivier GARNIER
Hi,

 

I’m looking for a RAID CARD CONTROLEUR (PCI card would be fine).

I wish I could plug in 2 SATA disk (250 Go) and 2 IDE UDMA/133 disk (250 Go)

 

For the first computer, I’ve bought a tiny card with a Sil680 chipset for
the IDE disk, but it’s not recognising as a RAID controller. Just as an IDE
controller.

For the second computer, I wish I could use the motherboard RAID chipset,
but it seems not to be recognise too.

 

In fine, I now wish to have only one computer with a card for all the disks
(2 x 250 Go IDE UDMA.133 and 2 x 250 Go SATA2)

I looked on FreeBSD 7.0 hardware release, but I don’t understand anything …
:-(

Thanks,

 

Olivier

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Install problems on Dell Vostro

2007-11-10 Thread Olivier GARNIER
Hi,

I tried with FreeBSD and FreeSBIE when I received my vostro 1700 (on
septembre), and the network wasn't working well. Network, Some Xorg problems
and so on ...
So I installed Ubuntu 7.04 witch was the less worth (network/video worked
with some adaptations). Now I've got an Ubuntu 7.10 witch is working well.

If you make FreeBSD work on Vostro I'm interested.

Olivier.


On 10/11/2007, at 1:57 PM, McCy Ron wrote:

 I was able to get 6.2 to install on a Vostro with stock BIOS  
 settings but couldn't get the system to recognize the network card.  
 network.  Just for reference - Knoppix, Ubuntu, FreesBie live CDs,  
 and a straight install of Ubuntu 7.04 didn't work either. There is  
 something strange about this computer.Windows XP, ofcourse, works.

So solution is to stick another network card in it?

Has anyone had this onboard card work?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Laptop compat : dell vostro 1700

2007-08-24 Thread Olivier GARNIER
Hi,


I wonder if someone has already tested FreeBSD on Dell VOSTRO laptop.
In particulary, Vostro 1700.
If you have done it please fil in http://laptop.bsdgroup.de/freebsd/

Thks,

Olivier

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]