Re: FreeBSD howto collection

2005-09-05 Thread Beecher Rintoul
On Monday 05 September 2005 09:55 pm, Yance Kowara wrote:
> Dear all,
>
> I am looking for a good article or collection of
> howtos or something similar to Ted's FreeBSD Corporate
> Networker's Guide.
>
> A book similar to Carla Schroder's Linux Cookbook
> (http://proquest.safaribooksonline.com/?XmlId=0596006403)
>
> is very nice and practical to follow.
>
> I am given a task to design a small business network
> solution using FreeBSD. It needs a gateway, firewall,
> mail, proxy server, etc.
>
> What is available (what I can find) are different
> howtos implemented in different situations.
>
> Any pointers appreciated.
>
> Regards,
>
>
> Yance Kowara

I found "The Complete FreeBSD by Greg Lehey" invaluable when I was starting 
out in FreeBSD. Also the OReilly book "Building Internet Firewalls" was very 
helpful. 

Cheers,

Beech
-- 
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgpmaGPuL1iUb.pgp
Description: PGP signature


FreeBSD howto collection

2005-09-05 Thread Yance Kowara
Dear all,

I am looking for a good article or collection of
howtos or something similar to Ted's FreeBSD Corporate
Networker's Guide.

A book similar to Carla Schroder's Linux Cookbook
(http://proquest.safaribooksonline.com/?XmlId=0596006403)
 
is very nice and practical to follow.

I am given a task to design a small business network
solution using FreeBSD. It needs a gateway, firewall,
mail, proxy server, etc.

What is available (what I can find) are different
howtos implemented in different situations.

Any pointers appreciated.

Regards,


Yance Kowara


 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freebsd on memory card

2005-09-05 Thread Damon Blom
Hi
   presario r3000 amd64 freebsd-current 7.0
   ad0: 76319MB Hitachi DK23FA-80
   da0 HP Digital drive 1.00 > Removable direct access SCSI -0 Device
   dual XP/FreeBSD with easy boot
   used sysinstall to configure da0 as entire freebsd
  da0s1a  /tmp  390MB
  da0s1d  /tmp/usr 600MB
   used gtar to transfer / to /mnt
transfer /usr to /mnt/usr  (Cheat Sheet)
   usb bootable (bios) shows 
F1 ?  (win)
F2 Freebsd
F5 Drive 1
  But will not boot . I did same thing on desktop with a second hard drive
and it booted fine. Is it because memory card is not really a hard drive?
Any way to do it ? 
   Thank's
  Damon
  and thank's so much for freebsd (my whole life)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange case of filesystem corruption?

2005-09-05 Thread varoun . p

Mikhail Teterin wrote:
> Can this be explained by anything other than a (nasty) bug?
> 
>% ls -la audio/shorten/files
>total 0
>% rmdir audio/shorten/files
>rmdir: audio/shorten/files: Directory not empty
> 

If you have emacs, try the dired mode. Maybe a file with non-printing 
characters 
in the filename is the culprit?

Varoun P


Notice: The information contained in this e-mail message and/or attachments to 
it may contain confidential or privileged information.   If you are not the 
intended recipient, any dissemination, use, review, distribution, printing or 
copying of the information contained in this e-mail message and/or attachments 
to it are strictly prohibited.   If you have received this communication in 
error, please notify us by reply e-mail or telephone and immediately and 
permanently delete the message and any attachments.  Thank you
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: combine partitions

2005-09-05 Thread Yuan Jue
On Tuesday 06 September 2005 05:44, Yuan Jue wrote:
> I used to have 2 slices on my hdd, one for windows, one for freebsd. i
> recently got rid of windows, and want to merge that slice into the other,
> and probably grow the /usr directory to fill the slice. How can I merge the
> two slices? ___

maybe you could find some information using "man growfs"

Good luck.

-- 
Best Regards.

Yuan Jue

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


6.0 DHCP question...

2005-09-05 Thread Eric Murphy

   How does one go about renewing the DHCP lease in 6.0?

Apparently dhcpclient -r interface  doesnt work?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trouble with RPM port

2005-09-05 Thread Frederico Franzosi
I'm having some strange troubles with RPM port, I already tried to
cvsup, but the error is still there could anybody get the solution
from that output:

===>  Configuring for rpm-3.0.6_10
./configure: 123: Syntax error: word unexpected (expecting ")")
===>  Script "configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/archivers/rpm/work/rpm-3.0.6/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`)
---
I already submited the problem to the address but it seems they didn't
have enough time to correct it, or maybe I've done something wrong.
Anyway, any solutions??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange case of filesystem corruption?

2005-09-05 Thread Mikhail Teterin
On Monday 05 September 2005 08:38 pm, Eric Anderson wrote:
= Mikhail Teterin wrote:
= > Can this be explained by anything other than a (nasty) bug?
= > 
= > % ls -la audio/shorten/files
= > total 0
= > % rmdir audio/shorten/files
= > rmdir: audio/shorten/files: Directory not empty
= > 
= > This is on 5.4-stable from July 21 -- up ever since... Thanks!
[...]
=   Can you show permissions on the directories audio, shorten, and files? 

Well, ls of the directory succeds above, so it can not be the permission
problem. But here:

% cd audio/shorten
% ls -lds
2 drwxrwxr-x  4 mi  wheel  512 Jul 21 01:13 .
% ls -loas files
total 0
% rmdir files
rmdir: files: Directory not empty

= Also - what is your securelevel set to

Default.

= and have you checked to see if there are processes with any open files
= in those directories?

I doubt there are any, and why would that affect anything anyway? Here:

% mkdir /tmp/q
% touch /tmp/q/meow
% tail -F /tmp/q/meow &
[2] 39947
% rm /tmp/q/meow
% rmdir /tmp/q

In other words, the directory (/tmp/q) is removable even if a process
(tail) still has a deleted file (meow) in it opened.

On Monday 05 September 2005 08:42 pm, Beecher Rintoul wrote:
= Try  rm -R audio/shorten/files

Thank you, but I'm afraid, it may succeed in deleting the directory,
while I try to figure out, what is happening -- the directory is empty
according to ls, but not empty according to rmdir.

-mi

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


Re: Strange case of filesystem corruption?

2005-09-05 Thread Beecher Rintoul
On Monday 05 September 2005 03:53 pm, Mikhail Teterin wrote:
> Can this be explained by anything other than a (nasty) bug?
>
>   % ls -la audio/shorten/files
>   total 0
>   % rmdir audio/shorten/files
>   rmdir: audio/shorten/files: Directory not empty
>
> This is on 5.4-stable from July 21 -- up ever since... Thanks!
>
>   -mi

Try  rm -R audio/shorten/files

Beech
-- 
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgp9rp3HdlvED.pgp
Description: PGP signature


Re: Strange case of filesystem corruption?

2005-09-05 Thread Eric Anderson

Mikhail Teterin wrote:

Can this be explained by anything other than a (nasty) bug?

% ls -la audio/shorten/files
total 0
% rmdir audio/shorten/files
rmdir: audio/shorten/files: Directory not empty

This is on 5.4-stable from July 21 -- up ever since... Thanks!


I doubt it's file system corruption, but there isn't a ton of info here. 
 Can you show permissions on the directories audio, shorten, and files? 
 Also - what is your securelevel set to, and have you checked to see if 
there are processes with any open files in those directories?


Eric


--

Eric AndersonSr. Systems AdministratorCentaur Technology
Anything that works is better than anything that doesn't.

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


Strange case of filesystem corruption?

2005-09-05 Thread Mikhail Teterin
Can this be explained by anything other than a (nasty) bug?

% ls -la audio/shorten/files
total 0
% rmdir audio/shorten/files
rmdir: audio/shorten/files: Directory not empty

This is on 5.4-stable from July 21 -- up ever since... Thanks!

-mi

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


Re: pccard, wi0, wep and DHCP

2005-09-05 Thread Andrew L. Gould
On Mon, 05 Sep 2005 23:34:55 +0200
Maarten Sanders <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> If used to have my wives laptop configured with rc.conf containing:
> 'ifconfig_wi0="DHCP"' this works and brings up wi0. Since my town is
> crowded with wardrivers I would like to use wep. Because my wife often
> inserts the pcmcia card after booting I also like to have pccard
> enabled. I can manually configure the card to use WEP. dhclient is
> configured 'out of the box'.
> 
> What I did after some googling:
> 
> in /etc/rc.conf I added:
> pccard_enable="YES"
> pccard_flags="-z"
> pccard_ifconfig="DHCP"
> and I removed:
> ifconfig_wi0="DHCP"
> 
> I created a file:
> /etc/start_if.wi0
> ifconfig wi0 nwkey 0xsomehex
> 
> The wi card is listed in /etc/default/pccard.conf :
> "BENQ" "AWL100 PCMCIA ADAPTER"
> config  auto "wi" ?
> insert  /etc/pccard_ether $device start
> remove  /etc/pccard_ether $device stop
> so I think /etc/pccard_ether should be executed on boot/insertion. Now
> this works not as I expect. When I manually run:
> /etc/pccard_ether wi0 start
> /etc/start_if.wi0 is not interpretted and the WEP key is not set so
> dhclient fails.
> 
> I guess I am missing a trivial point, but which?
> 
> Maarten

I use a script to configure my wireless pccard.  A simplified version
(without start, stop, etc) of a WEP, DHCP connection follows:

#!/bin/sh
ifconfig wi0 ssid ssidname nwkey 0x99
dhclient wi0

Basically, you need to add the ssid information to your ifconfig line
and execute dhclient after the interface has been configured with the
WEP key.

Good luck,

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


dhcrelay is setting the relay ip address wrong

2005-09-05 Thread Ihsan Dogan
Hello,

I'm running a small router/firewall on a FreeBSD 5.4 system. This
machine should also act as a DHCP gateway. For the dhcp relay,
I'm using ISC's dhcrelay (from Ports isc-dhcp3-relay-3.0.3).

The Interfaca and network configuration:
hme0: flags=8843 mtu 1500
options=b
inet 213.144.141.145 netmask 0xfff8 broadcast 213.144.141.151
inet6 fe80::a00:20ff:feb4:42cc%hme0 prefixlen 64 scopeid 0x1 
inet6 2001:470:1f01:569::1 prefixlen 112 
ether 08:00:20:b4:42:cc
media: Ethernet autoselect (100baseTX )
status: active
hme1: flags=8843 mtu 1500
options=b
inet 192.168.23.1 netmask 0xff00 broadcast 192.168.23.255
inet6 fe80::a00:20ff:feb4:42cd%hme1 prefixlen 64 scopeid 0x2 
ether 08:00:20:b4:42:cd
media: Ethernet autoselect (100baseTX )
status: active
hme2: flags=8843 mtu 1500
options=b
inet 192.168.42.1 netmask 0xff00 broadcast 192.168.42.255
inet6 fe80::a00:20ff:feb4:42ce%hme2 prefixlen 64 scopeid 0x3 
ether 08:00:20:b4:42:ce
media: Ethernet autoselect (100baseTX )
status: active

The DHCP server is on the subnet of hme0; the DHCP clients are on
hme1 on hme2.

netstat -rnf inet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default213.144.128.205UGS 0   250630   tun0
127.0.0.1  127.0.0.1  UH  0   71lo0
192.168.23 link#2 UC  00   hme1
192.168.23.2   00:c0:49:5a:1d:ca  UHLW02   hme1823
192.168.42 link#3 UC  00   hme2
213.144.128.205213.144.146.12 UH  10   tun0
213.144.141.144ff:ff:ff:ff:ff:ff  UHLWb   03   hme0 =>
213.144.141.144/29 link#1 UC  00   hme0
213.144.141.14600:08:c7:3a:df:a9  UHLW0   104123   hme0233
213.144.141.14700:07:e9:14:1a:a1  UHLW038011   hme0322
213.144.141.151ff:ff:ff:ff:ff:ff  UHLWb   01   hme0

The dhcrelay is started with the following options:
/usr/local/sbin/dhcrelay -i hme1 -i hme2 -d -a 213.144.141.146

The dhcrelay receives the request and passes them to the DHCP
server, but the forwarded package contains the "relay agent ip
address" of 192.168.23.1 and not 213.144.141.145 how it should
be. In that case, the DHCP server is sending the reply to
192.168.23.1 and not to 213.144.141.145.

Did I something wrong? A bug?



Ihsan

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


combine partitions

2005-09-05 Thread brian kaczynski
I used to have 2 slices on my hdd, one for windows, one for freebsd. i recently 
got rid of windows, and want to merge that slice into the other, and probably 
grow the /usr directory to fill the slice. How can I merge the two slices?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pccard, wi0, wep and DHCP

2005-09-05 Thread Maarten Sanders
Hi,

If used to have my wives laptop configured with rc.conf containing:
'ifconfig_wi0="DHCP"' this works and brings up wi0. Since my town is
crowded with wardrivers I would like to use wep. Because my wife often
inserts the pcmcia card after booting I also like to have pccard
enabled. I can manually configure the card to use WEP. dhclient is
configured 'out of the box'.

What I did after some googling:

in /etc/rc.conf I added:
pccard_enable="YES"
pccard_flags="-z"
pccard_ifconfig="DHCP"
and I removed:
ifconfig_wi0="DHCP"

I created a file:
/etc/start_if.wi0
ifconfig wi0 nwkey 0xsomehex

The wi card is listed in /etc/default/pccard.conf :
"BENQ" "AWL100 PCMCIA ADAPTER"
config  auto "wi" ?
insert  /etc/pccard_ether $device start
remove  /etc/pccard_ether $device stop
so I think /etc/pccard_ether should be executed on boot/insertion. Now
this works not as I expect. When I manually run:
/etc/pccard_ether wi0 start
/etc/start_if.wi0 is not interpretted and the WEP key is not set so
dhclient fails.

I guess I am missing a trivial point, but which?

Maarten

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


Re: Won't go into multi-user mode

2005-09-05 Thread Jason Morgan
On Mon, Sep 05, 2005 at 01:25:29PM -0400, Christopher H. Laco wrote:
> Lowell Gilbert wrote:
> >Understood.  Nonetheless, this is not enough information from which to
> >diagnose the problem.
> 
> Enough or not, It's all there is.
> I installed FBSD. I supped and built to stable.
> Everthing boots and works fine.
> 
> I installed mysql4.0 from ports and multi-user mode is now never reached 
>  during boot.
> 
> There are no errors in any logs on in any console output.
> Disabling mysql-server.sh solves the problem and allows multi-user mode 
> to be reached  during boot.
> 

You try 'boot -v' to see if there are any hidden messages?

-Jason

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


Re: Problem when making index in /usr/ports

2005-09-05 Thread Norberto Meijome

bsd wrote:

I no longer have the Japanese error, I have the arabic error no !!

Generating INDEX-5 - please wait..kde-i18n-3.4.2: "/usr/ports/ 
arabic/kde3-i18n" non-existent -- dependency list incomplete

===> misc/kde3-i18n failed
*** Error code 1


yup, it *isn't* a 'japanese' port issue (or arabic) - something in your 
system is telling it not to download certain ports, but the dependencies 
tell the system it needs them.




Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the "ports-all"
collection, and have no "refuse" files.)  


You most probably have a refuse file in place. every time I encountered 
this problem, it was that. You can either try removing the language 
(actually, the section of the ports tree) in question from the refuse 
file, but you'll have this problem again sooner or later. You can simply 
  get rid of the refuse file altogether (it isnt that much of a 
bandwidth saver really), or:



Note: the latest pre-generated version of INDEX may be fetched
automatically with "make fetchindex".


run 'make fetchindex' after you update with cvsup. (which means you'll 
download the binary index from the cvsup server...so whatever you save 
by not downloading the language specific ports, you are probably using 
it here...




Which steps do you think I should take to get rid of this error... ??



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


Re: Hard disk woes

2005-09-05 Thread Michael Abbott

On Mon, 5 Sep 2005, David Kelly wrote:
I had a very similar problem a while back. After replacing the drive in 
question, then replacing the motherboard, I discovered it was a power 
issue. The power supply was freaking out at medium to high loads, which 
was causing the device to continually reset.



On Sep 5, 2005, at 1:56 PM, Michael Abbott wrote:

Well, I hope that's not it.  I'm encouraged to think not:

Yeah But... Power supplies wear out. Particularly the capacitors.

I have seen every single component replaced in denial that the problem could 
be related to the power supply. Then the PS was finally replaced because it 
was the only thing which had not. And the problem was the PS all along.


Well, I do have another reason for thinking that it's nothing to do with 
the power supply: a bit of history I didn't mention (because it's long 
and not particularly interesting).


When I first installed this machine (a bit over three years ago) I used 
the offending disk together with another disk of the same model.  I first 
used the motherboard hardware RAID (using striping for speed, more fool 
me) on the motherboard and installed FreeBSD.  It broke, really quite 
quickly (within a week or so).


I blamed the RAID controller and tried again, this time using vinum.  The 
system survived quite a bit longer (can't remember how long, a month or so 
maybe), but suddenly failed quite horribly: I lost all data.  I retired 
the two disks and started again, and the resulting system has run sweetly 
for three years.


Recently I brought the two disks out of retirement, and one of them seems 
most unhappy (as described).  I'm strongly persuaded (convinced, even) 
that that one disk is dodgy.  I think I'm going to have to bin it, unless 
somebody can come up with a way to reliably molycoddle it.


I still think the question: "why does FreeBSD hang?" is interesting.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.4 Sloooooow network

2005-09-05 Thread Bernt Hansson

Lowell Gilbert skrev:

Bernt Hansson <[EMAIL PROTECTED]> writes:



I've just installed FreeBSD 5.4-RELEASE #0.

Internal network works fast and without problems, the problems occur
with external connections to the services I'm running (mail & web).

Almost every connection attempt times-out like this.

qpopper[4372]: (v4.0.5) Timeout (120 secs) during nw read from  at
host.net (x.x.x.x)

qpopper[4372]: (null) at host.net (x.x.x.x): -ERR POP timeout from myhost

Qpopper runs out of inetd.

Internal if is rl0 and external is fxp0. The machine is a HP netserver
LC2000 and it acts as a gateway to.

Any thoughts?



Any network collisions on the outside link?


How to check for them?


How many (if any) packets pass before the connections time out?


2-3
It does not answer on ping or traceroute.
No firewall. So I was thinking of some sysctl, perhaps?

So I changed back to 4.10



--
()  ascii ribbon campaign - against html mail
/\- against microsoft attachments
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Terminals

2005-09-05 Thread Giorgos Keramidas
On 2005-09-05 12:55, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>Giorgos Keramidas [EMAIL PROTECTED] wrote:
>>On 2005-09-05 00:25, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>>> if you crash a box why would a serial console still work?
>>
>>It would still work if the kernel has KDB compiled in.  I'm not sure if
>>this is what the original poster meant though.
>
> I had a 4.11 box just freeze the other day (our news server)
>
> power-cycling got it running again, nothing else worked.
>
> It would be nice to pretend all OUR crashes end up in kernel
> panics but this isn't reality.

Well, you have a point there.
I've never seen a hard freeze, but that doesn't seem they don't exist.

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


ls -l taking too much time

2005-09-05 Thread scuba
Hi all,

It´s a FreeBSD 5.4-STABLE, on a P-IV(2.4GHz) with 120G IDE HDD
(UFS2+softupdates), as one data partition (mail).
The test was done in a non-production server.
GENERIC kernel.

A "ls -l" in a /var/mail folder with +6000 files (not maildir) is
taking more then 2 min to complete.
I compiled (static) "ls" from the GNU filetools-4.1 and it takes
~1 min.
Observing the final behavior I can say that gnu has an
"unbuffered" output, while fbsds is buffered.
It was tested in two different machines.
Is it right?

- Marcelo


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


RE: Terminals

2005-09-05 Thread Ted Mittelstaedt

I had a 4.11 box just freeze the other day (our news server)

power-cycling got it running again, nothing else worked.

It would be nice to pretend all OUR crashes end up in kernel
panics but this isn't reality.

Ted

>-Original Message-
>From: Giorgos Keramidas [mailto:[EMAIL PROTECTED]
>Sent: Monday, September 05, 2005 1:16 AM
>To: Ted Mittelstaedt
>Cc: Grant Peel; freebsd-questions@freebsd.org
>Subject: Re: Terminals
>
>
>On 2005-09-05 00:25, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>> Grant Peel wrote:
>>> Hi all,
>>> I have serveral servers in a cage in Toronto, but I live 120 miles
>>> away.  Every once in a while, I will crash a box, or lock myself out
>>> of one of them (mostly just the dev box now!). Anyways, is it
>>> possible to daisychain the machines together using COM1 and COM2 so
>>> that no matter what, one can always get to a console? Or am I just
>>> wishing here...
>>
>> if you crash a box why would a serial console still work?
>
>It would still work if the kernel has KDB compiled in.  I'm not sure if
>this is what the original poster meant though.
>
>-- 
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.344 / Virus Database: 267.10.18/86 - Release Date: 
>8/31/2005
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: postfix as nullclient on 5.4

2005-09-05 Thread Bill Moran

[Please keep the mailing list in the loop, for the archives.]

"dave" <[EMAIL PROTECTED]> wrote:
> Hi,
> Thanks, i'll give that a go. Does ssmtp do sasl authentication? My main
> server does that.

No, it does certificate authentication, which works just as well, if not
better.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make ".if exists" problem/question

2005-09-05 Thread Emanuel Strobl
Am Montag, 5. September 2005 18:03 CEST schrieb Harti Brandt:
> On Thu, 25 Aug 2005, Emanuel Strobl wrote:
[...]
>
> You should think of .if and .for as "preprocessor directives". They are
> processed when make reads the makefile and builds the dependency graph.
> If you need something more dynamic you must use either a shell line:
>
> foo:
>   if [ -f baz ] ; then ...
>
> or go with sub-makes.
>
> Generally you don't want to use .if to check for a file that your
> makefile creates. In this case you just should use make itself. Given
> that the tree you need to have is named 'tree' do something like:
>
> installcfworld: tree
>   ...
>
> installcfconfig: tree
>   ...
>
> tree:
>   mkdir tree
>   ...

Thanks, I understood it, and the project grew fine. Will be available this 
week :)

-Harry

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


pgp0AMa2ZNpul.pgp
Description: PGP signature


Re: Hard disk woes

2005-09-05 Thread David Kelly


On Sep 5, 2005, at 1:56 PM, Michael Abbott wrote:

I had a very similar problem a while back. After replacing the  
drive in question, then replacing the motherboard, I discovered it  
was a power issue. The power supply was freaking out at medium to  
high loads, which was causing the device to continually reset.




Well, I hope that's not it.  I'm encouraged to think not:
- the problem seems to be tied to one particular hard disk and I
  presently run with four hard disks
- the system has operated trouble free for three years
- my memory is that it was a good quality power supply.
I don't really see how I'd diagnose a power supply problem, but as  
I say, the hard disk in question is the only part with problems.


Yeah But... Power supplies wear out. Particularly the capacitors.

I have seen every single component replaced in denial that the  
problem could be related to the power supply. Then the PS was finally  
replaced because it was the only thing which had not. And the problem  
was the PS all along.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: WMP54G and Ndis

2005-09-05 Thread Jeffrey Roach

5.4.  I haven't updated any beyond the initial install.

style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'>size=1>
From:  Fabian Keil <[EMAIL PROTECTED]>To:  
"Jeffrey Roach" <[EMAIL PROTECTED]>CC:  
freebsd-questions@freebsd.orgSubject:  Re: WMP54G and 
NdisDate:  Mon, 5 Sep 2005 20:10:21 
+0200>"Jeffrey Roach" <[EMAIL PROTECTED]> 
wrote:>> >   I am trying to get my WMP54G card to work via 
Ndisulator.  Here is what I> > have tried,> >> 
> Everything at http://www.xl0.org/FreeBSD/ndis.txt> >> 
>   the drivers are Rt2500.INF and rt2500.sys> >> > 
kldload ndis and if_ndis work fine; I am able to see the device as 
ndis0> >> > I bring up the interface with this 
command,> >> > ifconfig ndis0 inet 192.168.1.200 netmask 
255.255.255.0 ssid linksys channel> > 6> >> > 
The access point is a Wireless-B Broadband Router BEFW11S4> 
>> > Its address is 192.168.1.1, dhcp is on but I have set a 
static address at> > 192.168.1.200, the netmask> > is 
255.255.255.0 and it is on channel 6> >> > I have tried 
other channels but with no association> >> > After I 
type the command I see ifconfig up (or something up) and then get a> 
> kernel panic.>>Which FreeBSD 
version?>>Fabian>-->http://www.fabiankeil.de/><< 
attach3 >>



_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


ath/wpa_supplicant causes panic on BETA3?

2005-09-05 Thread Erik Nørgaard

Hi,

I seem to have problems with the ath driver: Firefox and Thunderbird 
some times coredumps and the system even panics at times.


I cannot determine which event causes these problems, however I have 
experienced no problems when connecting using the sis ethernet.


It could be a race condition occuring when these programs attempt to 
access the network and the ath/wpa_supplicant associates with the AP.


I have not experienced this with previous versions of FBSD, it appears 
to have come with upgrade to 6.0-BETA2 or BETA3. Posibly with the 
introduction of wpa_supplicant.


Can anyone confirm this?

Any hint to get some better debugging info will also be appreciated.

Thanks, Erik

System:

FreeBSD charm 6.0-BETA3 FreeBSD 6.0-BETA3 #1:
Sun Sep  4 20:05:40 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/RELEASE_6  i386

ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
sis0:  port 0xa000-0xa0ff mem
0xe600-0xe6000fff irq 11 at device 3.0 on pci0
ath0:  mem 0x8800-0x8800 irq 11 at device 0.0
on cardbus0
ath0: [GIANT-LOCKED]
ath0: Ethernet address: 00:0d:54:a7:d1:74
ath0: mac 5.6 phy 4.1 radio 3.6




--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: A few quick questions, one on daily reports and one on Raid 5...

2005-09-05 Thread Roland Smith
On Mon, Sep 05, 2005 at 11:34:10AM -0700, mojo fms wrote:
> I know its doable, how would i go about adding another email that the daily 
> reports get sent too? I would still like them to be stored on the system its 
> self but also send to another email account.

In /etc/periodic.conf, set daily_status_security_output. It can be an
absolute path, or a list of space separated e-mail addresses.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpfpGmnJd7Ak.pgp
Description: PGP signature


Re: Hard disk woes

2005-09-05 Thread Michael Abbott

On Mon, 5 Sep 2005, Jason Morgan wrote:

On Mon, Sep 05, 2005 at 03:16:13PM +, Michael Abbott wrote:

I'm having some very odd behaviour from one of my hard disks and I wonder
what anybody makes of it.

In brief, the hard disk in questions works just fine much of the time, but
when high volume data transfers are requested I get the following in
/var/log/messages:

Sep  3 15:21:02 saturn /kernel: ad6: READ command timeout tag=0 serv=0 -
resetting


I had a very similar problem a while back. After replacing the drive in 
question, then replacing the motherboard, I discovered it was a power 
issue. The power supply was freaking out at medium to high loads, which 
was causing the device to continually reset.


Well, I hope that's not it.  I'm encouraged to think not:
- the problem seems to be tied to one particular hard disk and I
  presently run with four hard disks
- the system has operated trouble free for three years
- my memory is that it was a good quality power supply.
I don't really see how I'd diagnose a power supply problem, but as I say, 
the hard disk in question is the only part with problems.

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


Re: firefox portupgrade failure RESOLVED

2005-09-05 Thread David Armour
> Message: 32
> Date: Tue, 6 Sep 2005 00:34:33 +0800
> From: Yuan Jue <[EMAIL PROTECTED]>

> > > Have you upgraded the nspr port? I have almost the same problem
> > > when I didn't upgrade it to the newest version.
> > without your message, i wouldn't have noticed nspr needs updating
> > on my pkg_version listing. what does it do? i'll try updating it
> > and see what happens.
>
> so does it work now? :)

+ www/firefox (firefox-1.0.4,1)   # 

thanks for your help.

> For your information:
> Netscape Portable Runtime (NSPR) provides a platform-neutral API for
> system level and libc like functions. The API is used in the Mozilla

thanks for the explanation. i can see why firefox might need that. i'm 
less clear why the port doesn't include it as a matter of course. my 
newbieness tends to need all the help i can get, if that makes any 
sense.

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


A few quick questions, one on daily reports and one on Raid 5...

2005-09-05 Thread mojo fms
I know its doable, how would i go about adding another email that the daily 
reports get sent too? I would still like them to be stored on the system its 
self but also send to another email account.

Raid 5 question, i know in MS Enviroments log files can not be stored on a 
striped raid array, is it the same for FBSD? And if so what about Mail 
(/var/mail/*) being stored in there? Any issues with that?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Terminals

2005-09-05 Thread Chris

Dan Nelson wrote:

In the last episode (Sep 04), Grant Peel said:


I have serveral servers in a cage in Toronto, but I live 120 miles
away.  Every once in a while, I will crash a box, or lock myself out
of one of them (mostly just the dev box now!). Anyways, is it
possible to daisychain the machines together using COM1 and COM2 so
that no matter what, one can always get to a console? Or am I just
wishing here...



If you run conserver ( ports/comms/conserver-com ) on all the machines,
you can even set it up so you don't have to remember which machine is
controlling which machine's console (it will chain to the correct
machine).  A multiport serial card in one master console box does let
you consolidate the logs on one machine though.



You can power them on and off remotely if that would help. (disclaimer: 
I haven't actually built one..)


http://vitsch.net/

and he has some other nice projects.

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


Re: WMP54G and Ndis

2005-09-05 Thread Fabian Keil
"Jeffrey Roach" <[EMAIL PROTECTED]> wrote:

>   I am trying to get my WMP54G card to work via Ndisulator.  Here is what I 
> have tried,
> 
> Everything at http://www.xl0.org/FreeBSD/ndis.txt
> 
>   the drivers are Rt2500.INF and rt2500.sys
> 
> kldload ndis and if_ndis work fine; I am able to see the device as ndis0
> 
> I bring up the interface with this command,
> 
> ifconfig ndis0 inet 192.168.1.200 netmask 255.255.255.0 ssid linksys channel 
> 6
> 
> The access point is a Wireless-B Broadband Router BEFW11S4
> 
> Its address is 192.168.1.1, dhcp is on but I have set a static address at 
> 192.168.1.200, the netmask
> is 255.255.255.0 and it is on channel 6
> 
> I have tried other channels but with no association
> 
> After I type the command I see ifconfig up (or something up) and then get a 
> kernel panic.

Which FreeBSD version?

Fabian
-- 
http://www.fabiankeil.de/


pgpPjT3O9veSa.pgp
Description: PGP signature


WMP54G and Ndis

2005-09-05 Thread Jeffrey Roach

Hello,

 I am trying to get my WMP54G card to work via Ndisulator.  Here is what I 
have tried,


Everything at http://www.xl0.org/FreeBSD/ndis.txt

 the drivers are Rt2500.INF and rt2500.sys

kldload ndis and if_ndis work fine; I am able to see the device as ndis0

I bring up the interface with this command,

ifconfig ndis0 inet 192.168.1.200 netmask 255.255.255.0 ssid linksys channel 
6


The access point is a Wireless-B Broadband Router BEFW11S4

Its address is 192.168.1.1, dhcp is on but I have set a static address at 
192.168.1.200, the netmask

is 255.255.255.0 and it is on channel 6

I have tried other channels but with no association

After I type the command I see ifconfig up (or something up) and then get a 
kernel panic.


Any ideas?

Thanks.

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: Won't go into multi-user mode

2005-09-05 Thread Christopher H. Laco

Lowell Gilbert wrote:

Understood.  Nonetheless, this is not enough information from which to
diagnose the problem.


Enough or not, It's all there is.
I installed FBSD. I supped and built to stable.
Everthing boots and works fine.

I installed mysql4.0 from ports and multi-user mode is now never reached 
 during boot.


There are no errors in any logs on in any console output.
Disabling mysql-server.sh solves the problem and allows multi-user mode 
to be reached  during boot.


-=Chris


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Hard disk woes

2005-09-05 Thread Jason Morgan
On Mon, Sep 05, 2005 at 03:16:13PM +, Michael Abbott wrote:
> I'm having some very odd behaviour from one of my hard disks and I wonder
> what anybody makes of it.
> 
> In brief, the hard disk in questions works just fine much of the time, but
> when high volume data transfers are requested I get the following in
> /var/log/messages:
> 
> Sep  3 15:21:02 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
> resetting
> Sep  3 15:21:02 saturn /kernel: ata3: resetting devices .. done
> Sep  3 15:21:12 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
> resetting
> Sep  3 15:21:12 saturn /kernel: ata3: resetting devices .. done
> Sep  3 15:21:23 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
> resetting
> Sep  3 15:21:23 saturn /kernel: ata3: resetting devices .. done
> Sep  3 15:21:33 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
> resetting
> Sep  3 15:21:33 saturn /kernel: ad6: trying fallback to PIO mode
> Sep  3 15:21:33 saturn /kernel: ata3: resetting devices .. done
> Sep  3 15:21:43 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
> resetting
> Sep  3 15:21:43 saturn /kernel: ata3: resetting devices .. ata3-slave: ATA 
> identify retries exceeded
> Sep  3 15:21:43 saturn /kernel: done
> 
> After this point the hard disk in question is frozen until I reboot, and
> any process that tries to touch it is similarly frozen (doesn't even
> respond to kill -9).  `shutdown -r` is enough to restore operation, and
> the rest of the system seemed happy enough.
> 
> Another interesting effect.  I placed a replacement hard disk on the same
> ATA bus (as a slave, device ad7) and tried copying files from ad6 to ad7.
> This time when ad6 froze and the kerned decided to give up on ata3 (and so
> decided to disable ad7 at the same time, naturally enough) the entire
> system froze!  No response from the console, stone cold dead, hard reset
> needed.
> 
> 
> So some questions seem to me to arise from this.
> 
> 1.  Why does FreeBSD handle this so ungracefully?  If restarting is
> sufficient to bring ata3 back then can't the ata driver do a proper
> restart?
> 
> 2.  Goodness me, FreeBSD froze!  I know it's a hardware failure, but
> still: it's on a auxillary ATA controller with no system files attached.
> Is this problem of general interest?  It's certainly a massive hint to me
> not to consider (parallel) ATA for RAID!
> 
> 3.  Any thoughts on what is wrong with the hard disk in question?  I've
> changed ATA controllers, so it seems to be the disk, not the controller.
> The behaviour is very odd.  If I copy files off one at a time, eg using:
>   find . -type f -exec cp {} "$TARGET/"{} \; -exec echo -n '.' \;
> the disk seems to hang in there, but if I just do
>   cp -R . "$TARGET"
> then it freezes!  (This statement may not have been thoroughly tested:
> having to restart each time gets old quite quickly.)
> 
> 
> Ok, now for the boring bits.
> 
> $ uname -a
> FreeBSD saturn.araneidae.co.uk 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 
> #6: Sat Aug 27 16:33:58 GMT 2005 
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
> $ dmesg | grep ata
> atapci0:  port 
> 0xa000-0xa0ff,0x9c00-0x9c03,0x9800-0x9807,0x9400-0x9403,0x9000-0x9007 irq 
> 12 at device 11.0 on pci0
> ata2: at 0x9000 on atapci0
> ata3: at 0x9800 on atapci0
> atapci1:  port 0xa800-0xa80f at device 17.1 on 
> pci0
> ata0: at 0x1f0 irq 14 on atapci1
> ata1: at 0x170 irq 15 on atapci1
> atapci2:  port 
> 0xc400-0xc4ff,0xc000-0xc003,0xbc00-0xbc07,0xb800-0xb803,0xb400-0xb407 irq 
> 10 at device 19.0 on pci0
> ata4: at 0xb400 on atapci2
> ata5: at 0xbc00 on atapci2
> ad0: 39083MB  [79408/16/63] at ata0-master UDMA100
> ad1: 190782MB  [387621/16/63] at ata0-slave UDMA133
> ad4: 76319MB  [155061/16/63] at ata2-master UDMA100
> ad6: 76319MB  [155061/16/63] at ata3-master UDMA100
> acd0: DVD-ROM  at ata1-master PIO4
> $ sudo atacontrol cap ata3 0
> ATA channel 3, Master, device ad6:
> 
> ATA/ATAPI revision5
> device model  ST380021A
> serial number 3HV0MYL9
> firmware revision 3.10
> cylinders 16383
> heads 16
> sectors/track 63
> lba supported 156301488 sectors
> lba48 not supported dma supported
> overlap not supported
> 
> Feature  Support  EnableValue   Vendor
> write cacheyes  yes
> read ahead yes  yes
> dma queued no   no  0/00
> SMART  yes  no
> microcode download yes  yes
> security   yes  no
> power management   yes  yes
> advanced power management  no   no  65278/FEFE
> automatic acoustic management  yes  yes 128/80  128/80
> $
> 
> That's everything I can think of.
> 

Just a general comment:

I had a very similar problem a while back. After replacing the drive in
question, then replacing the motherboard, I discovered it was a po

A8N-SLI Premium + Si 3114R + RAID5 of Hitachi Deskstar T7K250 -- locks up during install

2005-09-05 Thread Malachi de Ælfweald
I have tried this with 6-BETA1 and 6-BETA3.

I noticed the A8N-SLI Deluxe was supported, so thought that the majority of 
the Premium would be as well.

I am using the Silicon Image RAID controller instead of the NVidia one, 
because it supports RAID5 and the nVidia does not.
The RAID5 was configured in the BIOS.

During boot (bootonly.iso) it goes through autodetection, seems to see 
everything OK except that it detects the Si 3114R as "SATA 150" and it 
should be "SATA 300" because it is SATAII not SATAI.

It then gets to the following and locks up:

ad12: 238475MB  at ata6-master SATA150
ad14: 238475MB  at ata7-master SATA150
ad16: 238475MB  at ata8-master SATA150
ad18: 238475MB  at ata9-master SATA150

So, it appears that it finds each drive, instead of the RAID.
It appears that it detects the controller as SATA 1 instead of SATA 2.
It locks up as soon as it detects the hard drives.


Any thoughts?

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


Re: Won't go into multi-user mode

2005-09-05 Thread Lowell Gilbert
"Christopher H. Laco" <[EMAIL PROTECTED]> writes:

> Lowell Gilbert wrote:
> > "Christopher H. Laco" <[EMAIL PROTECTED]> writes:
> >
> >>I have a week old 5.4-STABLE install that absolutely refuses to boot
> >>into multi-user mode after a restart. I get no errors in dmsg or in
> >>/var/log/messages. It simply boots like normal, starts most things,
> >>then stops at a bash prompt. Manually hitting CTRL-D fires off multi
> >>user mode and everyone is happy.
> >>
> >>I've checked loader.conf and it's emtpy. I have no clue where to start
> >>with this. Anyone have any idea where to start and troubleshoot this?
> > FreeBSD doesn't even come with bash installed by default, so you need
> > to look at your system's unique local configuration.  Single-user mode
> > won't give you a shell directly -- it prompts you for what shell you
> > want to run -- so it doesn't sound like that either.
> > Keep a closer eye on the console as you are booting, and post a more
> > detailed description of what the system is telling you, and maybe
> > we'll have a clearer idea of what to tell you.
> > Good luck.
> >
> 
> See: mysql-server.sh script from ports kills multi-user mode
> 
> It's the mysqlserver-start.sh script from mysql4 port thatis killing
> multi-user... I have no idea why.
> 
> Disableing that starting scripts solves the problem..which defeats
> it's purpose.

Understood.  Nonetheless, this is not enough information from which to
diagnose the problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Internal SD card reader, Dell laptop

2005-09-05 Thread Ben Paley
On Monday 05 September 2005 17:03, Roland Smith wrote:

> > Thanks a lot for your advice - I shall follow it, even if it is slightly
> > dispiriting. Perhaps I should learn C properly and start writing some
> > drivers... :-)
>
> Not that I want to discourage you, but that seems like a tall
> order. Apart from knowing C, you'd have to get familiar with the FreeBSD
> kernel and writing device drivers.

I'm not entirely serious - that is, it's certainly the Right Thing To Do, but 
I know my limitations as a programmer! Perhaps I'll start with something 
simpler.

> If you are serious about writing a driver, I would recommend reading
> "The Design and Implementation of the FreeBSD Operating System" by
> McKusick and Neville-Neil.

Good advice, once again! Thanks very much.

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


Re: freebsd-questions Digest, Vol 110, Issue 20

2005-09-05 Thread Vizion
On Monday 05 September 2005 00:52,  the author David Armour contributed to the 
dialogue on-
 Re: freebsd-questions Digest, Vol 110, Issue 20: 

>>   33. Re: * Command failed [exit code 1]: /usr/bin/script -qa
>>   /tmp/portupgrade84798.26 make (Vizion)
>> From: Vizion <[EMAIL PROTECTED]>
>
>hello,
>
>thanks for your reply to my question.
>
>> >gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
>> >gmake: *** [default] Error 2
>> >*** Error code 2
>> >Stop in /usr/ports/www/firefox.
>>
>> What were the lines before:
>> >gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
>
>... unfortunately, i only clipped the lines i did, trying to keep my
>message as short as possible. doh! i'm not sure where to locate the
>file that all those screens of garbled text goes to either. i looked
>in /var/log, but i couldn't see anything that looked likely. any idea
>where i could find the file?
>
>(i tried, successfully, to update the portupgrade port, after posting my
>question. but the firefox port upgrade, subsequently, still refused to
>compile.)


Just do the make again -- you will get the compiler errors.

If you are compiling from an X window you can just save the jhistory into a 
file - otherwise you will have to redirect the console output to a file

david
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox portupgrade failure to compile, requested error listings

2005-09-05 Thread Yuan Jue
On Tuesday 06 September 2005 00:09, Yuan Jue wrote:
> hello list!
>
> >5. Re: freebsd-questions Digest, Vol 110, Issue 20 (David Armour)
> > Message: 5  WAS: * Command failed [exit code 1]: /usr/bin/script -qa
> >
> > >   /tmp/portupgrade84798.26 make
> > >
> > > From: Vizion <[EMAIL PROTECTED]>
> > >
> > > What were the lines before:
> > > >gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
> >
> > ... unfortunately, i only clipped the lines i did, trying to keep my
> > message as short as possible. doh! i'm not sure where to locate the
>
> as i was waking up this morning, the thought that i could just as easily
> re-run the portupgrade firefox command that produced the error
> occurred... so i was delighted to see garrett cooper's recommendation
> to do so, further along in this digest. (Message 15. thanks garrett!)
>
> the (several) lines before 'gmake[1]:
>
> In file included from nsDNSService2.h:40,
>  from nsDNSService2.cpp:38:
> nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo'
> with no type
> nsHostResolver.h:95: error: expected `;' before '*' token
> nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult()
> const':
> nsHostResolver.h:99: error: `addr_info' undeclared (first use this
> function)
> nsHostResolver.h:99: error: (Each undeclared identifier is reported only
> once for each function it appears in.)
> nsHostResolver.h: At global scope:
> nsHostResolver.h:209: error: `PRAddrInfo' has not been declared
> nsHostResolver.h:209: error: ISO C++ forbids declaration of `parameter'
> with no type
> nsDNSService2.cpp: In member function `virtual nsresult
> nsDNSRecord::GetCanonicalName(nsACString&)':
> nsDNSService2.cpp:95: error: 'class nsDerivedSafe' has no
> member named 'addr_info'
> nsDNSService2.cpp:96: error: 'class nsDerivedSafe' has no
> member named 'addr_info'
> nsDNSService2.cpp:96: error: `PR_GetCanonNameFromAddrInfo' undeclared
> (first use this function)
> nsDNSService2.cpp: In member function `virtual nsresult
> nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)':
> nsDNSService2.cpp:112: error: 'class nsDerivedSafe' has no
> member named 'addr_info'
> nsDNSService2.cpp:113: error: 'class nsDerivedSafe' has no
> member named 'addr_info'
> nsDNSService2.cpp:113: error: `PR_EnumerateAddrInfo' undeclared (first
> use this function)
> nsDNSService2.cpp: In member function `PRUint16
> nsDNSService::GetAFForLookup(const nsACString&)':
> nsDNSService2.cpp:528: error: `PR_AF_UNSPEC' undeclared (first use this
> function)
> gmake[4]: *** [nsDNSService2.o] Error 1
> gmake[4]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/netwerk/dns/src'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/netwerk/dns'
> gmake[2]: *** [libs] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/netwerk'
> gmake[1]: *** [tier_9] Error 2
> gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
> gmake: *** [default] Error 2
> *** Error code 2
>
> Stop in /usr/ports/www/firefox.
> ** Command failed [exit code 1]: /usr/bin/script
> -qa /tmp/portupgrade40821.26 make
> ** Fix the problem and try again.
> --->  Build of www/firefox ended at: Mon, 05 Sep 2005 07:59:57 -0700
> (consumed 00:13:36)
> --->  Upgrade of www/firefox ended at: Mon, 05 Sep 2005 07:59:57 -0700
> (consumed 00:13:36)
> --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
> - lang/perl5.8 (perl-5.8.7)
> - converters/libiconv (libiconv-1.9.2_1)
> - graphics/jpeg (jpeg-6b_3)
> - devel/gettext (gettext-0.14.5)
> - devel/pkgconfig (pkgconfig-0.17.2)
> - textproc/libxml2 (libxml2-2.6.20_1)
> - print/freetype2 (freetype2-2.1.10_1)
> - graphics/png (png-1.2.8_2)
> - devel/glib20 (glib-2.6.6)
> - accessibility/atk (atk-1.9.1)
> - graphics/tiff (tiff-3.7.3)
> - devel/libIDL (libIDL-0.8.6)
> - textproc/expat2 (expat-1.95.8_3)
> - x11-fonts/fontconfig (fontconfig-2.2.3,1)
> - x11/xorg-libraries (xorg-libraries-6.8.2)
> - misc/hicolor-icon-theme (hicolor-icon-theme-0.5)
> - devel/popt (popt-1.7)
> - x11-fonts/libXft (libXft-2.1.7)
> - devel/desktop-file-utils (desktop-file-utils-0.10_2)
> - misc/gnomehier (gnomehier-2.0_7)
> - misc/shared-mime-info (shared-mime-info-0.16_1)
> - x11-fonts/bitstream-vera (bitstream-vera-1.10_1)
> - x11-fonts/xorg-fonts-encodings (xorg-fonts-encodings-6.8.2)
> - x11-fonts/xorg-fonts-truetype (xorg-fonts-truetype-6.8.2)
> - x11-toolkits/pango (pango-1.8.2)
> - x11-toolkits/gtk20 (gtk-2.6.10_1)
> ! www/firefox (firefox-1.0.4,1) (compiler error)
> --->  Packages processed: 0 done, 26 ignored, 0 skipped and 1 failed
> --->  Session ended at: Mon, 05 Sep 2005 07:59:57 -0700 (consumed
> 00:13:48)
>
> HTH. apologies if i've padded out this too 

Sendmail with SASL2

2005-09-05 Thread Frank Staals
Recently I recompiled my system and installed a mailserver according to 
this ( http://www.puresimplicity.net/~hemi/freebsd/sendmail.html ) 
howto. So far everything seemed to work. I can read my mail and I can 
send mail from the server itself. But when I try to send e-mail from my 
laptop when using my mailserver as smtp server it won't send the e-mail. 
As a client I am using Thunderbird 1.0.6 smtp settings are:


server: fstaals.net
port: 25
user: frank
security: TLS if available

when sending an e-mail I am prompted for my password, but when I enter 
it my send is denied. At my server I can see this:


Sept 5 18:09:36 FStaals sendmail[67103] : no user in db
Sept 5 18:09:36 FStaals sendmail[67103] : no secret in database

the weird thing is that it does accept my user and pass when I try to 
read my mail from the server. And in /usr/local/lib/sasl2/Sendmail.conf 
is set it should use my systems password file:


[EMAIL PROTECTED] cat /usr/local/lib/sasl2/Sendmail.conf
pwcheck_method: saslauthd

The problem is the same when connecting on the smtps port ( 465 ) with 
thunderbird.


What should I do now ? My user does exist on the sytem, but I don't know 
why imap-uw // Sasl recognises it when I try reading my mail but 
Sendmail // Sasl doesn't when trying to send a message.


What am I doing wrong ?

--
-Frank Staals


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


mysql compile report

2005-09-05 Thread Vizion
Hi

Compile of mysql-5.0.11-beta from ports
dns1# make WITH_OPENSSL=yes WITH_LINUXTHREADS=yes BUILD_OPTIMIZED=yes 
WITH_NDB=yes

gives following:
configure: WARNING: semaphore.h: present but cannot be compiled
configure: WARNING: semaphore.h: check for missing prerequisite headers?
configure: WARNING: semaphore.h: see the Autoconf documentation
configure: WARNING: semaphore.h: section "Present But Cannot Be Compiled"
configure: WARNING: semaphore.h: proceeding with the preprocessor's result
configure: WARNING: semaphore.h: in the future, the compiler will take 
precedence
configure: WARNING: ## -- ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING: ## -- ##

I have a kept log copy of the compiler standard output if it is needed
david
-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox portupgrade failure to compile, requested error listings

2005-09-05 Thread David Armour
hello list!

>5. Re: freebsd-questions Digest, Vol 110, Issue 20 (David Armour)
> Message: 5  WAS: * Command failed [exit code 1]: /usr/bin/script -qa
> >   /tmp/portupgrade84798.26 make

> > From: Vizion <[EMAIL PROTECTED]>
> > What were the lines before:
> > >gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
> ... unfortunately, i only clipped the lines i did, trying to keep my
> message as short as possible. doh! i'm not sure where to locate the

as i was waking up this morning, the thought that i could just as easily 
re-run the portupgrade firefox command that produced the error 
occurred... so i was delighted to see garrett cooper's recommendation 
to do so, further along in this digest. (Message 15. thanks garrett!)

the (several) lines before 'gmake[1]: 

In file included from nsDNSService2.h:40,
 from nsDNSService2.cpp:38:
nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo' 
with no type
nsHostResolver.h:95: error: expected `;' before '*' token
nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult() 
const':
nsHostResolver.h:99: error: `addr_info' undeclared (first use this 
function)
nsHostResolver.h:99: error: (Each undeclared identifier is reported only 
once for each function it appears in.)
nsHostResolver.h: At global scope:
nsHostResolver.h:209: error: `PRAddrInfo' has not been declared
nsHostResolver.h:209: error: ISO C++ forbids declaration of `parameter' 
with no type
nsDNSService2.cpp: In member function `virtual nsresult 
nsDNSRecord::GetCanonicalName(nsACString&)':
nsDNSService2.cpp:95: error: 'class nsDerivedSafe' has no 
member named 'addr_info'
nsDNSService2.cpp:96: error: 'class nsDerivedSafe' has no 
member named 'addr_info'
nsDNSService2.cpp:96: error: `PR_GetCanonNameFromAddrInfo' undeclared 
(first use this function)
nsDNSService2.cpp: In member function `virtual nsresult 
nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)':
nsDNSService2.cpp:112: error: 'class nsDerivedSafe' has no 
member named 'addr_info'
nsDNSService2.cpp:113: error: 'class nsDerivedSafe' has no 
member named 'addr_info'
nsDNSService2.cpp:113: error: `PR_EnumerateAddrInfo' undeclared (first 
use this function)
nsDNSService2.cpp: In member function `PRUint16 
nsDNSService::GetAFForLookup(const nsACString&)':
nsDNSService2.cpp:528: error: `PR_AF_UNSPEC' undeclared (first use this 
function)
gmake[4]: *** [nsDNSService2.o] Error 1
gmake[4]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla/netwerk/dns/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla/netwerk/dns'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla/netwerk'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/www/firefox.
** Command failed [exit code 1]: /usr/bin/script 
-qa /tmp/portupgrade40821.26 make
** Fix the problem and try again.
--->  Build of www/firefox ended at: Mon, 05 Sep 2005 07:59:57 -0700 
(consumed 00:13:36)
--->  Upgrade of www/firefox ended at: Mon, 05 Sep 2005 07:59:57 -0700 
(consumed 00:13:36)
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
- lang/perl5.8 (perl-5.8.7)
- converters/libiconv (libiconv-1.9.2_1)
- graphics/jpeg (jpeg-6b_3)
- devel/gettext (gettext-0.14.5)
- devel/pkgconfig (pkgconfig-0.17.2)
- textproc/libxml2 (libxml2-2.6.20_1)
- print/freetype2 (freetype2-2.1.10_1)
- graphics/png (png-1.2.8_2)
- devel/glib20 (glib-2.6.6)
- accessibility/atk (atk-1.9.1)
- graphics/tiff (tiff-3.7.3)
- devel/libIDL (libIDL-0.8.6)
- textproc/expat2 (expat-1.95.8_3)
- x11-fonts/fontconfig (fontconfig-2.2.3,1)
- x11/xorg-libraries (xorg-libraries-6.8.2)
- misc/hicolor-icon-theme (hicolor-icon-theme-0.5)
- devel/popt (popt-1.7)
- x11-fonts/libXft (libXft-2.1.7)
- devel/desktop-file-utils (desktop-file-utils-0.10_2)
- misc/gnomehier (gnomehier-2.0_7)
- misc/shared-mime-info (shared-mime-info-0.16_1)
- x11-fonts/bitstream-vera (bitstream-vera-1.10_1)
- x11-fonts/xorg-fonts-encodings (xorg-fonts-encodings-6.8.2)
- x11-fonts/xorg-fonts-truetype (xorg-fonts-truetype-6.8.2)
- x11-toolkits/pango (pango-1.8.2)
- x11-toolkits/gtk20 (gtk-2.6.10_1)
! www/firefox (firefox-1.0.4,1) (compiler error)
--->  Packages processed: 0 done, 26 ignored, 0 skipped and 1 failed
--->  Session ended at: Mon, 05 Sep 2005 07:59:57 -0700 (consumed 
00:13:48)

HTH. apologies if i've padded out this too much. i have virtually no 
idea what any of the stuff that fills the screen for 13:48 minutes 
means.

> file that all those screens of garbled text goes to either. i looked
> in /var/log, but i couldn't see anything that looked likely. any idea
> where i

Bootable Key drives

2005-09-05 Thread Chris
Are there any urls where I can read up on creating a bootable/useabel 
FBSD system on my key drive?


--
Best regards,
Chris

Don't smoke in bed - the ashes on the floor might be your
own.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Internal SD card reader, Dell laptop

2005-09-05 Thread Roland Smith
On Mon, Sep 05, 2005 at 03:26:22PM +0100, Ben Paley wrote:
> > > Is that it?
> >
> > I think so. According to the following page,
> > http://www.math.ucla.edu/~jimc/insp6000/p-proc.html#sd it is a Ricoh
> > R5c576A chip. Looking at the Ricoh page for this chip,
> > http://www.ricoh.com/LSI/product_pcif/pcc/5c576a/ there seems to be no
> > programming info available.
> >
> > AFAICT, there is no Linux driver either, but someone seems to be working
> > on it: http://list.drzeus.cx/pipermail/wbsd-devel/2005-March/000261.html
> > You could try contacting this person to see how far his efforts have
> > come, and who the FreeBSD kernel developer is who is working on this.
> 
> Thanks a lot for your advice - I shall follow it, even if it is slightly 
> dispiriting. Perhaps I should learn C properly and start writing some 
> drivers... :-)

Not that I want to discourage you, but that seems like a tall
order. Apart from knowing C, you'd have to get familiar with the FreeBSD
kernel and writing device drivers.

I guess a driver for an SD card reader should be similar to the USB
umass(4) driver. It should also handle disks by using the CAM transport
layer and da(4) devices.

If you are serious about writing a driver, I would recommend reading
"The Design and Implementation of the FreeBSD Operating System" by
McKusick and Neville-Neil.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgp16A3fSGmbP.pgp
Description: PGP signature


Re: make ".if exists" problem/question

2005-09-05 Thread Harti Brandt
On Thu, 25 Aug 2005, Emanuel Strobl wrote:

ES>Am Donnerstag, 25. August 2005 20:10 CEST schrieb David Kirchner:
ES>> On 8/25/05, Emanuel Strobl <[EMAIL PROTECTED]> wrote:
ES>> > Dear make gurus (bsd make, not gmake),
ES>> >
ES>> > it seems that make checks .if directives only at statrup. How can I
ES>> > trigger a "reread"?
ES>> > I have the problem that in one target I create a filetree, another
ES>> > target checks if it exists, if not it creates itself again. Now it
ES>> > works perfectly when I call the two targets both externally
ES>> > (installcfworld installcfconfig) but when the internal higher
ES>> > "install" gets to the installcfconfig target it fails!
ES>> > I'm really desperate, I need to check this. Is this a nasty bug?
ES>>
ES>> This Makefile shows the problem:
ES>>
ES>> all:
ES>> .if ! exists(./foobar)
ES>> @echo foobar does not exist
ES>> .endif
ES>> touch foobar
ES>> .if ! exists(./foobar)
ES>> @echo foobar does not exist
ES>> .endif
ES>>
ES>> If you run make in this directory, and foobar does not already exist
ES>> beforehand:
ES>>
ES>> $ make
ES>> foobar does not exist
ES>> touch foobar
ES>> foobar does not exist
ES>>
ES>> Looking at the make source, it appears that it maintains a cache for
ES>> file lookups, and I don't see a way to have it flush the hash via some
ES>> makefile command. I dunno if it is a bug but the man page does not
ES>> mention a cache.
ES>>
ES>> I wonder if you'll have to start a separate make process for each
ES>> stage of that target's handling.
ES>
ES>Thanks for your suggestion, you described exactly what I mean. So if 
ES>there's no way to flush the cache, it's IMHO a wrong behaviour and should 
ES>be considered as bug.
ES>I'm not too experienced in make, so I don't know if I want to call sub 
ES>makes...
ES>Do you have an idea whom to contact regarding the "bug"?

You should think of .if and .for as "preprocessor directives". They are 
processed when make reads the makefile and builds the dependency graph. If 
you need something more dynamic you must use either a shell line:

foo:
if [ -f baz ] ; then ...

or go with sub-makes. 

Generally you don't want to use .if to check for a file that your makefile 
creates. In this case you just should use make itself. Given that the tree 
you need to have is named 'tree' do something like:

installcfworld: tree
...

installcfconfig: tree
...

tree:
mkdir tree
...

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


Re: Won't go into multi-user mode

2005-09-05 Thread Christopher H. Laco

Lowell Gilbert wrote:

"Christopher H. Laco" <[EMAIL PROTECTED]> writes:



I have a week old 5.4-STABLE install that absolutely refuses to boot
into multi-user mode after a restart. I get no errors in dmsg or in
/var/log/messages. It simply boots like normal, starts most things,
then stops at a bash prompt. Manually hitting CTRL-D fires off multi
user mode and everyone is happy.

I've checked loader.conf and it's emtpy. I have no clue where to start
with this. Anyone have any idea where to start and troubleshoot this?



FreeBSD doesn't even come with bash installed by default, so you need
to look at your system's unique local configuration.  Single-user mode
won't give you a shell directly -- it prompts you for what shell you
want to run -- so it doesn't sound like that either.

Keep a closer eye on the console as you are booting, and post a more
detailed description of what the system is telling you, and maybe
we'll have a clearer idea of what to tell you.

Good luck.




See: mysql-server.sh script from ports kills multi-user mode

It's the mysqlserver-start.sh script from mysql4 port thatis killing 
multi-user... I have no idea why.


Disableing that starting scripts solves the problem..which defeats it's 
purpose.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: postfix as nullclient on 5.4

2005-09-05 Thread Lowell Gilbert
"dave" <[EMAIL PROTECTED]> writes:

> Hello,
> I've got a central mailserver, and four machines acting as nullclients.
> Their only job is to send the central server emails of cron output. This
> isn't working, logs on the clients show nothing, the message just
> disappears, it's like it doesn't enter the queue. I'm assuming i have a
> configuration issue. Here's my config, i'd appreciate any suggestions.
> Thanks.
> Dave.
> 
> main.cf:
> queue_directory = /var/spool/postfix
> command_directory = /usr/local/sbin
> daemon_directory = /usr/local/libexec/postfix
> mail_owner = postfix
> default_privs = nobody
> myhostname = host1.example.net
> mydomain = example.net
> myorigin = $myhostname
> relayhost = mailserver.example.net
> #alias_maps = hash:/usr/local/etc/postfix/aliases
> #alias_database = hash:/usr/local/etc/postfix/aliases
> sendmail_path = /usr/local/sbin/sendmail
> newaliases_path = /usr/local/bin/newaliases
> mailq_path = /usr/local/bin/mailq
> setgid_group = maildrop
> manpage_directory = /usr/local/man
> sample_directory = /usr/local/etc/postfix
> readme_directory = no
> local_transport = error:local delivery on this system is disabled

You need to specify a valid transport for that local_transport
variable.  See postconf(5) and the LOCAL_RECIPIENT_README file.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /usr/ports/pdflib Version

2005-09-05 Thread Lowell Gilbert
Vizion <[EMAIL PROTECTED]> writes:

> I note that from
> http://www.pdflib.com/products/pdflib/download/index
> 
> there is a free version of:
> 
> PDFlib-6.0.2-FreeBSD5.tar.gz
> 
> Does anyone know if this a later version of /usr/ports/pdflib4 or is it an 
> entirely different product?
> 
> In any case does anyone have any comments about this one and is there any 
> reason not to put a copy in the ports tree?

It has a license that is pretty complicated to comply with, so the
ports system won't include the distfile.  Note that there is already a
/usr/ports/print/pdflib which will get you a "lite" version of 6.0.2.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Won't go into multi-user mode

2005-09-05 Thread Lowell Gilbert
"Christopher H. Laco" <[EMAIL PROTECTED]> writes:

> I have a week old 5.4-STABLE install that absolutely refuses to boot
> into multi-user mode after a restart. I get no errors in dmsg or in
> /var/log/messages. It simply boots like normal, starts most things,
> then stops at a bash prompt. Manually hitting CTRL-D fires off multi
> user mode and everyone is happy.
> 
> I've checked loader.conf and it's emtpy. I have no clue where to start
> with this. Anyone have any idea where to start and troubleshoot this?

FreeBSD doesn't even come with bash installed by default, so you need
to look at your system's unique local configuration.  Single-user mode
won't give you a shell directly -- it prompts you for what shell you
want to run -- so it doesn't sound like that either.

Keep a closer eye on the console as you are booting, and post a more
detailed description of what the system is telling you, and maybe
we'll have a clearer idea of what to tell you.

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


Re: USB-RS232 adapter in FreeBSD 5?

2005-09-05 Thread Alex Zbyslaw

Bill Moran wrote:


Alex Zbyslaw <[EMAIL PROTECTED]> wrote:

 


Bill Moran wrote:

   


You're correct.

I guess I understand why they split NOTES up, but it sure makes it
a PITA to figure out what options are available ;)



 


% cat ../../conf/NOTES NOTES > LINT.mine

It's not rocket science :)
   



Not if you understand it.  Apparently, there are machine independent
and machine dependent NOTES files (one MI-NOTES, and a NOTES for each
arch).
 

Well, I "understood" it by looking in the Makefile in 
/usr/src/sys/i386/conf which contains a way of making the LINT kernel.  
Prior to building my first 5.4 kernel two months ago, I had no idea any 
of this had been done.  I always made my (4.X and prior) kernels based 
on LINT (better comments), and when it wasn't there I went looking for it.


--Alex

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


Re: Automount USB disk in FreeBSD with KDE

2005-09-05 Thread Toomas Aas

Yuan Jue wrote:

As a frequently usb disk user, I really want to make things easier and more 
comfortable for me to mount the usb disk whenever I need to use it. 


There is an article on this:

http://ezine.daemonnews.org/200202/automounting.html

Maybe you'll get it to work. I tried it myself once a couple of years 
ago and I just couldn't get it to work reliably. I admin several FreeBSD 
servers and all kinds of stuff you might expect to run on it: mail 
services, web services, ftp, database etc, and I don't think I'm 
particularily stupid when it comes to installing/configuring open source 
software. However, I just couldn't grasp the concepts behind this 
automounting stuff. Finally, when I quit trying to understand it and 
just blindly followed the article to the letter, I got it working 
somehow, but there were still issues (the details of which I've 
forgotten by now).


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


Re: what tweaks for stable-supfile in RELENG_6 ? (update after initial install)

2005-09-05 Thread WOB

Hi Giorgos,



For 6.0-Beta3, I plan to only change to RELENG_6, like this:

nano -w stable-supfile
  host = cvsup10.FreeBSD.org
  *default release=cvs tag=RELENG_6
  ports-all tag=.
  doc-all tag=.
   



You're not getting any of the "source" collections this way and you have
unnecessarily trimmed useful defaults.
 



That is actually just a snippet from my stable-supfile, those are just 
the lines that I changed.  The file is otherwise the same as the one in 
the examples directory.  I start with these commands:


  cd /usr/src
  cp /usr/share/examples/cvsup/stable-supfile .
  cp /usr/share/examples/cvsup/refuse .
  nano -w stable-supfile

thanks!



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


Re: Reinstalling the standard boot manager

2005-09-05 Thread Yuan Jue
On Monday 05 September 2005 23:37, Yuan Jue wrote:
> On 2005-09-05 23:31, Yuan Jue <[EMAIL PROTECTED]> wrote:
> >>   b) ad0 is really the disk, and not ad1 or something else
> >
> > I am pretty sure that is ad0.
>
> Then it's weird that /dev doesn't have a /dev/ad0 device.  What do you
> have mounted as your root device?
>
>   # mount
>
> What do you see by:
>
>   # ls -l /dev/ad*
YuanJue@/dev$ ls -l ad*
crw-r-  1 root  operator4,  10 Sep  5 18:05 ad0
crw-r-  1 root  operator4,  11 Sep  5 18:05 ad0s1
crw-r-  1 root  operator4,  12 Sep  6 02:05 ad0s1a
crw-r-  1 root  operator4,  13 Sep  5 18:05 ad0s1b
crw-r-  1 root  operator4,  14 Sep  5 18:05 ad0s1c
crw-r-  1 root  operator4,  15 Sep  6 02:05 ad0s1d
crw-r-  1 root  operator4,  16 Sep  6 02:05 ad0s1e
crw-r-  1 root  operator4,  17 Sep  6 02:05 ad0s1f

that is what I got :(

-- 
Best Regards.

Yuan Jue

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


Re: Reinstalling the standard boot manager

2005-09-05 Thread Giorgos Keramidas
On 2005-09-05 23:31, Yuan Jue <[EMAIL PROTECTED]> wrote:
>>   b) ad0 is really the disk, and not ad1 or something else
>
> I am pretty sure that is ad0.

Then it's weird that /dev doesn't have a /dev/ad0 device.  What do you
have mounted as your root device?

# mount

What do you see by:

# ls -l /dev/ad*

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


mysql-server.sh script from ports kills multi-user mode

2005-09-05 Thread Christopher H. Laco
I have a week old FreeBSD 5.4-STABLE install. I had installed MySQL 4.0 
form ports which installed the user and mysql-server.sh in rc.d. I've 
added mysql_enable="YES" to rc.conf.


When I reboot, this script forces the server to stay in single-user 
mode. Hitting CTRL-D gets me into multi-user mode. THat's not so good 
for remote reboots.


Remobing the execute perm from mysql-server.sh allows reboots to go 
completely into multi-user mode. Someone else has to have had the same 
problem with the port install. Anyone?


-=Chris


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Reinstalling the standard boot manager

2005-09-05 Thread Yuan Jue
On Sunday 04 September 2005 12:20, Yuan Jue wrote:
> On 2005-09-04 09:31, Yuan Jue <[EMAIL PROTECTED]> wrote:
> > On Sunday 04 September 2005 08:53, Yuan Jue wrote:
> > >  boot0cfg -v -B /dev/ad0
> >
> > when doing this, I got a message:
> > boot0cfg: write_mbr: /dev/ad0: No such file or directory
> > I use it as root and my disk is ad0. What did I do wrong?
>
> Check that:
>
>   a) you are not running this inside a jail (/dev/ad0 may not be
>  visible inside a jail)
sorry, but how to check that I'm not inside a jail?
Could you give me some clues?

>
>   b) ad0 is really the disk, and not ad1 or something else
>
I am pretty sure that is ad0. Since I only install FreeBSD5.4 in my laptop, 
and let it use the entire disk. I can use the sysinstall->fdisk to make sure 
that the disk is ad0s1, since I use entire of it.

> If that fails to uncover the cause of the error, then run truss or
> ktrade on boot0cfg and send me the dump.

-- 
Best Regards.

Yuan Jue

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


Hard disk woes

2005-09-05 Thread Michael Abbott

I'm having some very odd behaviour from one of my hard disks and I wonder
what anybody makes of it.

In brief, the hard disk in questions works just fine much of the time, but
when high volume data transfers are requested I get the following in
/var/log/messages:

Sep  3 15:21:02 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
resetting
Sep  3 15:21:02 saturn /kernel: ata3: resetting devices .. done
Sep  3 15:21:12 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
resetting
Sep  3 15:21:12 saturn /kernel: ata3: resetting devices .. done
Sep  3 15:21:23 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
resetting
Sep  3 15:21:23 saturn /kernel: ata3: resetting devices .. done
Sep  3 15:21:33 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
resetting
Sep  3 15:21:33 saturn /kernel: ad6: trying fallback to PIO mode
Sep  3 15:21:33 saturn /kernel: ata3: resetting devices .. done
Sep  3 15:21:43 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
resetting
Sep  3 15:21:43 saturn /kernel: ata3: resetting devices .. ata3-slave: ATA 
identify retries exceeded
Sep  3 15:21:43 saturn /kernel: done

After this point the hard disk in question is frozen until I reboot, and
any process that tries to touch it is similarly frozen (doesn't even
respond to kill -9).  `shutdown -r` is enough to restore operation, and
the rest of the system seemed happy enough.

Another interesting effect.  I placed a replacement hard disk on the same
ATA bus (as a slave, device ad7) and tried copying files from ad6 to ad7.
This time when ad6 froze and the kerned decided to give up on ata3 (and so
decided to disable ad7 at the same time, naturally enough) the entire
system froze!  No response from the console, stone cold dead, hard reset
needed.


So some questions seem to me to arise from this.

1.  Why does FreeBSD handle this so ungracefully?  If restarting is
sufficient to bring ata3 back then can't the ata driver do a proper
restart?

2.  Goodness me, FreeBSD froze!  I know it's a hardware failure, but
still: it's on a auxillary ATA controller with no system files attached.
Is this problem of general interest?  It's certainly a massive hint to me
not to consider (parallel) ATA for RAID!

3.  Any thoughts on what is wrong with the hard disk in question?  I've
changed ATA controllers, so it seems to be the disk, not the controller.
The behaviour is very odd.  If I copy files off one at a time, eg using:
find . -type f -exec cp {} "$TARGET/"{} \; -exec echo -n '.' \;
the disk seems to hang in there, but if I just do
cp -R . "$TARGET"
then it freezes!  (This statement may not have been thoroughly tested:
having to restart each time gets old quite quickly.)


Ok, now for the boring bits.

$ uname -a
FreeBSD saturn.araneidae.co.uk 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #6: 
Sat Aug 27 16:33:58 GMT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
 i386
$ dmesg | grep ata
atapci0:  port 
0xa000-0xa0ff,0x9c00-0x9c03,0x9800-0x9807,0x9400-0x9403,0x9000-0x9007 irq 12 at 
device 11.0 on pci0
ata2: at 0x9000 on atapci0
ata3: at 0x9800 on atapci0
atapci1:  port 0xa800-0xa80f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
atapci2:  port 
0xc400-0xc4ff,0xc000-0xc003,0xbc00-0xbc07,0xb800-0xb803,0xb400-0xb407 irq 10 at 
device 19.0 on pci0
ata4: at 0xb400 on atapci2
ata5: at 0xbc00 on atapci2
ad0: 39083MB  [79408/16/63] at ata0-master UDMA100
ad1: 190782MB  [387621/16/63] at ata0-slave UDMA133
ad4: 76319MB  [155061/16/63] at ata2-master UDMA100
ad6: 76319MB  [155061/16/63] at ata3-master UDMA100
acd0: DVD-ROM  at ata1-master PIO4
$ sudo atacontrol cap ata3 0
ATA channel 3, Master, device ad6:

ATA/ATAPI revision5
device model  ST380021A
serial number 3HV0MYL9
firmware revision 3.10
cylinders 16383
heads 16
sectors/track 63
lba supported 156301488 sectors
lba48 not supported dma supported
overlap not supported

Feature  Support  EnableValue   Vendor
write cacheyes  yes
read ahead yes  yes
dma queued no   no  0/00
SMART  yes  no
microcode download yes  yes
security   yes  no
power management   yes  yes
advanced power management  no   no  65278/FEFE
automatic acoustic management  yes  yes 128/80  128/80
$

That's everything I can think of.

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


RE: postfix as nullclient on 5.4

2005-09-05 Thread Haulmark, Chris
Someone broke the silence: 

> Hello,
> I've got a central mailserver, and four machines acting
> as nullclients.
> Their only job is to send the central server emails of cron
> output. This
> isn't working, logs on the clients show nothing, the message just
> disappears, it's like it doesn't enter the queue. I'm
> assuming i have a
> configuration issue. Here's my config, i'd appreciate any
> suggestions. Thanks. Dave.

You didn't specific what the OS is for both 4 nullclients?

Chris

> 
> main.cf:
> queue_directory = /var/spool/postfix
> command_directory = /usr/local/sbin
> daemon_directory = /usr/local/libexec/postfix
> mail_owner = postfix
> default_privs = nobody
> myhostname = host1.example.net
> mydomain = example.net
> myorigin = $myhostname
> relayhost = mailserver.example.net
> #alias_maps = hash:/usr/local/etc/postfix/aliases
> #alias_database = hash:/usr/local/etc/postfix/aliases
> sendmail_path = /usr/local/sbin/sendmail
> newaliases_path = /usr/local/bin/newaliases
> mailq_path = /usr/local/bin/mailq
> setgid_group = maildrop
> manpage_directory = /usr/local/man
> sample_directory = /usr/local/etc/postfix
> readme_directory = no
> local_transport = error:local delivery on this system is disabled
> 
> master.cf:
> #
> ==
>  #smtp  inet  n   -   y   -   -  
> smtpd #submission inet n  -   y   -   -   smtpd
> # -o smtpd_etrn_restrictions=reject
> # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
> #smtpsinet  n   -   y   -   -   smtpd
> #  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
> #submission   inetn   -   y   -   -   smtpd
> #  -o smtpd_etrn_restrictions=reject
> #  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
> #628  inet  n   -   y   -   -   qmqpd
> pickupfifo  n   -   y   60  1   pickup
> cleanup   unix  n   -   y   -   0   cleanup
> qmgr  fifo  n   -   y   300 1   qmgr
> #qmgr fifo  n   -   y   300 1   oqmgr
> #tlsmgrunix  -   -   y   1000?   1   tlsmgr
> rewrite   unix  -   -   y   -   -
> trivial-rewrite
> bounceunix  -   -   y   -   0   bounce
> defer unix  -   -   y   -   0   bounce
> trace unix  -   -   y   -   0   bounce
> verifyunix  -   -   y   -   1   verify
> flush unix  n   -   y   1000?   0   flush
> #proxymap  unix  -   -   n   -   -   proxymap
> smtp  unix  -   -   y   -   -   smtp
> # When relaying mail as backup MX, disable fallback_relay to
> avoid MX loops
> #relay unix  -   -   y   -   -   smtp  #-o
> fallback_relay= #   -o smtp_helo_timeout=5 -o
> smtp_connect_timeout=5 
> showq unix  n   -   y   -   -   showq
> error unix  -   -   y   -   -   error
> discard   unix  -   -   y   -   -   discard
> local unix  -   n   n   -   -   local
> #virtual   unix  -   n   n   -   -   virtual
> #lmtp  unix  -   -   y   -   -   lmtp
> #anvil unix  -   -   y   -   1   anvil
> #scache   unix - - y - 1 scache
> 
> ___
> 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]"


Re: Internal SD card reader, Dell laptop

2005-09-05 Thread Ben Paley
...PS - 
Thanks not just for your advice, but for putting in the effort to find this 
stuff out - I wouldn't have known where to start!

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


Re: USB-RS232 adapter in FreeBSD 5?

2005-09-05 Thread Giorgos Keramidas
On 2005-09-05 10:23, Bill Moran <[EMAIL PROTECTED]> wrote:
> Not if you understand it.  Apparently, there are machine independent
> and machine dependent NOTES files (one MI-NOTES, and a NOTES for each
> arch).

Exactly!

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


Re: Internal SD card reader, Dell laptop

2005-09-05 Thread Ben Paley
On Monday 05 September 2005 11:50, Roland Smith wrote:

> > $ pciconf -lv
> > 
> > [EMAIL PROTECTED]:1:2: class=0x080501 card=0x01881028 chip=0x08221180 
> > rev=0x17
> > hdr=0x00
> > vendor   = 'Ricoh Co Ltd'
> > device   = 'SD Bus Host Adapter'
> > class= base peripheral
> >
> > Is that it?
>
> I think so. According to the following page,
> http://www.math.ucla.edu/~jimc/insp6000/p-proc.html#sd it is a Ricoh
> R5c576A chip. Looking at the Ricoh page for this chip,
> http://www.ricoh.com/LSI/product_pcif/pcc/5c576a/ there seems to be no
> programming info available.
>
> AFAICT, there is no Linux driver either, but someone seems to be working
> on it: http://list.drzeus.cx/pipermail/wbsd-devel/2005-March/000261.html
> You could try contacting this person to see how far his efforts have
> come, and who the FreeBSD kernel developer is who is working on this.

Thanks a lot for your advice - I shall follow it, even if it is slightly 
dispiriting. Perhaps I should learn C properly and start writing some 
drivers... :-)

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


Re: USB-RS232 adapter in FreeBSD 5?

2005-09-05 Thread Bill Moran
Alex Zbyslaw <[EMAIL PROTECTED]> wrote:

> Bill Moran wrote:
> 
> >You're correct.
> >
> >I guess I understand why they split NOTES up, but it sure makes it
> >a PITA to figure out what options are available ;)
> >
> >  
> >
> % cat ../../conf/NOTES NOTES > LINT.mine
> 
> It's not rocket science :)

Not if you understand it.  Apparently, there are machine independent
and machine dependent NOTES files (one MI-NOTES, and a NOTES for each
arch).

I didn't realize this until I went looking, based on your message.
But knowing that there's only 2 files that I need to investigate
makes it a whole lot easier.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB-RS232 adapter in FreeBSD 5?

2005-09-05 Thread Alex Zbyslaw

Bill Moran wrote:


You're correct.

I guess I understand why they split NOTES up, but it sure makes it
a PITA to figure out what options are available ;)

 


% cat ../../conf/NOTES NOTES > LINT.mine

It's not rocket science :)

A better question is why the "make LINT" option insist on stripping 
every last comment from NOTES making it useless for use an anything 
other than a LINT kernel, when its primary use for most people was 
figuring out what options they could add to their kernels.  Sure 
offended my POLA.


--Alex

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


Re: IPFW lockout.

2005-09-05 Thread Kevin Kinsey

James Bowman Sineath, III wrote:


Hi all,

I have a small problem on one of my dev boxes. I have a bod bootup
ipfw rulset and I find myself locked out of the machine.

There will be a technician at the NOC on Tuesday that will be able
to assist me.

My question is: Will he/she be able to simply reboot, logon as root
as normal?

- and then -

disable IPFW in rc.conf ... or will the loopback rule not being
present cause more mahem than I think it will?

-Grant



He should be able to login without any problems.

On another note, in the future whenever you make changes to your
system that could potentially lock you out, use crontab to disable
them after a short amount of time. For example, when I was
reconfiguring sshd, I crontab'ed 'killall sshd && sshd -f 
/root/sshd_config_old'
and moved the default config file to my /root directory. Also when 
playing
with my ipfw rules, I crontab'ed 'ipfw disable firewall' for every 15 
minutes

until I got it working the way I wanted too.

Be VERY careful with this though. Don't use it and then forget to remove
the lines from your /etc/crontab. Remove them as soon as you get it
configured the way you want too. This is obviously a serious security
risk, so don't use it very often. If you are worried about disabling your
firewall, then create a small ipfw script to deny all connections except
from your IP address and crontab that instead of 'ipfw disable firewall'.
Also keep in mind to enable your firewall again you will need to type 
'ipfw enable firewall'.



See also /usr/share/examples/ipfw/change_rules.sh

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


Re: USB-RS232 adapter in FreeBSD 5?

2005-09-05 Thread Bill Moran
"Julien Gabel" <[EMAIL PROTECTED]> wrote:

> >>> I've got a USB -> RS232 adapter I'm trying to get working on
> >>> 5.3-RELEASE.



> >>> ugen0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00,
> >>> addr 2
> 
> >> ugen is not ucom! ugen is used if nothing apropriate was found, your
> >> kernel needs ucom and uplcom, you can also load uplcom as module!.
> 
> > That took care of it.  The device works perfectly now.
> >
> > Thanks to all who responded.
> >
> > It seems as if ucom is mentioned in neither GENERIC nor NOTES.  Must be
> > pretty new, I guess.  Works like a charm, though.
> 
> I believe it can be found in NOTES under /usr/src/sys/conf, not
> /usr/src/sys/i386/conf.

You're correct.

I guess I understand why they split NOTES up, but it sure makes it
a PITA to figure out what options are available ;)

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB-RS232 adapter in FreeBSD 5?

2005-09-05 Thread Julien Gabel
>>> I've got a USB -> RS232 adapter I'm trying to get working on
>>> 5.3-RELEASE.
>>>
>>> I've seen a lot of comments about these kind of things that seem to
>>> indicate that they can be used (I occasionally have needs to use this
>>> lappy as a serial console, and I'd like to use it to demonstrate a
>>> serial barcode scanner that we have - normally, tip would work great
>>> for this, but the laptop doesn't have a native RS-232 port).
>>>
>>> Anyway, I get the impression that I'm missing some early, basic steps
>>> to get this working.  dmesg shows:
>>>
>>> ugen0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00,
>>> addr 2

>> ugen is not ucom! ugen is used if nothing apropriate was found, your
>> kernel needs ucom and uplcom, you can also load uplcom as module!.

> That took care of it.  The device works perfectly now.
>
> Thanks to all who responded.
>
> It seems as if ucom is mentioned in neither GENERIC nor NOTES.  Must be
> pretty new, I guess.  Works like a charm, though.

I believe it can be found in NOTES under /usr/src/sys/conf, not
/usr/src/sys/i386/conf.

-- 
-jpeg.

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


Re: USB-RS232 adapter in FreeBSD 5?

2005-09-05 Thread Bill Moran
Emanuel Strobl <[EMAIL PROTECTED]> wrote:

> Am Sonntag, 4. September 2005 01:42 CEST schrieb Bill Moran:
> > I've got a USB -> RS232 adapter I'm trying to get working on
> > 5.3-RELEASE.
> >
> > I've seen a lot of comments about these kind of things that seem to
> > indicate that they can be used (I occasionally have needs to use this
> > lappy as a serial console, and I'd like to use it to demonstrate a
> > serial barcode scanner that we have - normally, tip would work great
> > for this, but the laptop doesn't have a native RS-232 port).
> >
> > Anyway, I get the impression that I'm missing some early, basic steps
> > to get this working.  dmesg shows:
> >
> > ugen0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00,
> > addr 2
> 
> ugen is not ucom! ugen is used if nothing apropriate was found, your kernel 
> needs ucom and uplcom, you can also load uplcom as module!.

That took care of it.  The device works perfectly now.

Thanks to all who responded.

It seems as if ucom is mentioned in neither GENERIC nor NOTES.  Must be
pretty new, I guess.  Works like a charm, though.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Microsoft Outlook Calendar Sharing

2005-09-05 Thread Sean

Shane James wrote:

I need it specifically for Microsoft Outlook :/
  - Original Message - 
  From: Garrett Cooper 
  To: Shane James 
  Cc: FreeBSD Questions 
  Sent: Monday, September 05, 2005 10:54 AM

  Subject: Re: Microsoft Outlook Calendar Sharing


  On Sep 5, 2005, at 5:14 PM, Shane James wrote:


Hey guys,


Can you suggest a nice 'Microsoft Exchange' clone or a daemon that can 
allow 'Microsoft Calendar sharing' to interface with it?


Regards,
Shane James


  I don't know of any one program in particular, but if people had access to a 
shared calendar via a shared folder or could transfer the calendar to a shared 
location that is 'publishable' to, you could always use mozilla's calendar plugin 
 in either mozilla, firefox, or 
thunderbird. Sunbird isn't really being supported anymore, even though it's a fairly 
nice separate program-for at least Windows. I had lots of issues compiling/running 
the binary it in Linux, and I assume that it's similar in FreeBSD.
  -Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



I thought latest version of Evolution from Novell/Ximian supported Exchange?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


named ACL

2005-09-05 Thread Chris Knipe
Hi all,

Just a quick question... Will the following work for bind9:

acl "myacl" {
  192.168.0.0/16;
};

view "internal" {
  match-clients { myacl; !192.168.1.1; };
  
};

Basically, I'm trying to include a network into my view, except one address...

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


Re: postfix as nullclient on 5.4

2005-09-05 Thread Bill Moran
"dave" <[EMAIL PROTECTED]> wrote:

> Hello,
> I've got a central mailserver, and four machines acting as nullclients.
> Their only job is to send the central server emails of cron output. This
> isn't working, logs on the clients show nothing, the message just
> disappears, it's like it doesn't enter the queue. I'm assuming i have a
> configuration issue. Here's my config, i'd appreciate any suggestions.
> Thanks.
> Dave.

Not a direct answer, but you could use ssmtp from the ports for this.
It's a lot simpler to configure.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


install FreeBSD on IBM BladeCenter (HS20)

2005-09-05 Thread Pavel Baleshenko
Hello
I'm trying to install FreeBSD on IBM BladeCenter HS20. But all my attempts are  
unsuccessful. 
I think the problem is each blade uses all devices (CD, FDD, keyboard, mouse) 
through USB.
I began my attempts from 5.4
It stops on scanning atkbd0. I tried to choose loading kernel with USB keyboard 
in the boot menu. But this time I got the kernel panic after scanning atapci0:

fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x5
fault code  = supervisor read, page not present

Then I tried 4.11. If I boot from CD, the loader doesn't find CD and kernel 
isn't found  accordingly. If I boot from floppy, the kernel is found 
successfully but the scanning of the devices is stopping on atkbd0 again.

I still hope to find a solution for this problem. 
Thanks in advance for any help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Internal SD card reader, Dell laptop

2005-09-05 Thread Roland Smith
On Mon, Sep 05, 2005 at 11:24:33AM +0100, Ben Paley wrote:
> On Monday 05 September 2005 11:04, Roland Smith wrote:
> > On Mon, Sep 05, 2005 at 10:36:40AM +0100, Ben Paley wrote:
> > > Anyone got any idea how I can access the built-in sd card reader on my
> > > dell inspiron 6000 laptop?
> >
> > Is there anything in /var/log/messages?
> 
> Not so far as I can see, nor in dmesg
> 
> > If not, try 'pciconf -lv', 
> 
> $ pciconf -lv
> 
> [EMAIL PROTECTED]:1:2: class=0x080501 card=0x01881028 chip=0x08221180 
> rev=0x17 
> hdr=0x00
> vendor   = 'Ricoh Co Ltd'
> device   = 'SD Bus Host Adapter'
> class= base peripheral
> 
> Is that it?

I think so. According to the following page,
http://www.math.ucla.edu/~jimc/insp6000/p-proc.html#sd it is a Ricoh
R5c576A chip. Looking at the Ricoh page for this chip,
http://www.ricoh.com/LSI/product_pcif/pcc/5c576a/ there seems to be no
programming info available.

AFAICT, there is no Linux driver either, but someone seems to be working
on it: http://list.drzeus.cx/pipermail/wbsd-devel/2005-March/000261.html
You could try contacting this person to see how far his efforts have
come, and who the FreeBSD kernel developer is who is working on this.

Roland

-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpFyelBWo4D3.pgp
Description: PGP signature


Re: about FreeBSD 5.3

2005-09-05 Thread Ruud Jansen
* Marko Bukovinsky <[EMAIL PROTECTED]> wrote:
> 1. i use express setup but when its finished it and i run it ask me for 
> password , but sinse i install it it didnt ask me to type it.
After your install you can login with root without password...
 
> Tell me how to fix this problem and what packages i have to use that i will 
> have a graphical desktop - like windows ?
You will have to install xorg (/usr/ports/x11/xorg) and a windowmanager
(something in /usr/ports/x11-wm)

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


Re: cpio and tar are loosing flags (and a panic message without trace)

2005-09-05 Thread Tim Kientzle

Emanuel Strobl wrote:

Am Montag, 29. August 2005 12:37 CEST schrieb Yar Tikhiy:


On Fri, Aug 26, 2005 at 08:04:45PM +0200, Emanuel Strobl wrote:


Then I remember Tim Kienzles great work for bsdtar and all the ACL
stuff, but unfortunately a cvPPzf <> xvpPfz also looses the arch flag
:(


Would you mind sending a PR on this issue with [EMAIL PROTECTED]
in Cc:?  I believe Tim will be interested in it.  I've just confirmed
myself using not-too-old CURRENT that bsdtar won't restore file
flags stored in its own archive:


Thanks for the report.  I've just committed a fix to -CURRENT
for this issue.

Let me know if this addresses the problem for you.

Cheers,

Tim



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


RE: Serial Port data dumping program

2005-09-05 Thread Glenn Dawson

At 02:32 AM 9/5/2005, Paul Hamilton wrote:

> >Here is a dump of the collected data (via minicom):
> >
> >#hexdump  minicom.cap
> >000 45ff 49ff 4cff 50ff 53ff 57ff 5aff 57ff
> >010 53ff 50ff 4cff 49ff 45ff 45ff 01ff ff82
> >020 8101 01ff ff80 8202 02ff ff81 8002 03ff
> >030 ff83 8203 03ff ff81 8003 7fff 7fff 7eff
> >040 01ff ff7f 7f02 03ff ff7f ff7f 8001 02ff
> >050 ff80 8003 04ff ff80 ff80 8006 07ff 0080
> >
> >Looking at the first row of data, it is only showing two bytes, sync
> >and servo position.  Rows 020 and 030, shows some servo
> addresses, but
> >sometimes, together!  Both the mini-ssc.exe and minicom program are
> >using 9600 8n1, so why is it showing this?  Is there
> something I have
> >missed in the setup of minicom?  Looks like this is a serial buffer
> >problem.
>
> You probably have byte ordering issues.  Does something like this
> look more reasonable?
>
> 000 ff45 ff49 ff4c ff50 ff53 ff57 ff5a ff57
> 010 ff53 ff50 ff4c ff49 ff45 ff45 ff01 82ff
> 020 0181 ff01 80ff 0282 ff02 81ff 0280 ff03
> 030 83ff 0382 ff03 81ff 0380 ff7f ff7f ff7e
> 040 ff01 7fff 027f ff03 7fff 7fff 0180 ff02
> 050 80ff 0380 ff04 80ff 80ff 0680 ff07 8000
>
> -Glenn

Yes, somewhat better, but still missing bytes here and there, ie. First
line, all the servo address bytes etc.


The missing bytes might be caused by loading the tx data line with 
two inputs.  I've seen various rs-232 devices that expected signal 
levels that other devices couldn't achieve when driving two 
inputs.  The PC your using could be missing some bytes because the 
signal levels are right at the edge of being acceptable.  That's just 
a guess though, to find out for sure you'd need to look at the levels 
with a scope and see what's really going on.




Why would the bytes be swapped around?


big endian vs. little endian

Wikipedia has a decent explanation:
http://en.wikipedia.org/wiki/Endianness

-Glenn



Cheers,

Paul

>
>
> >Is there a better program I could use to display the incoming serial
> >data in hex?
> >
> >NOTE:  I only use two wires, signal ground and Tx Data (connected to
> >the Rx Data).  The servo does respond correctly, so I know
> the serial
> >data must be in the correct 3 byte format.
> >
> >Looking fwd to your thoughts.
> >
> >Cheers,
> >
> >Paul Hamilton
> >
> >___
> >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]"
>
>

___
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]"


Re: Internal SD card reader, Dell laptop

2005-09-05 Thread Ben Paley
On Monday 05 September 2005 11:04, Roland Smith wrote:
> On Mon, Sep 05, 2005 at 10:36:40AM +0100, Ben Paley wrote:
> > Anyone got any idea how I can access the built-in sd card reader on my
> > dell inspiron 6000 laptop?
>
> Is there anything in /var/log/messages?

Not so far as I can see, nor in dmesg

> If not, try 'pciconf -lv', 

$ pciconf -lv

[EMAIL PROTECTED]:1:2: class=0x080501 card=0x01881028 chip=0x08221180 rev=0x17 
hdr=0x00
vendor   = 'Ricoh Co Ltd'
device   = 'SD Bus Host Adapter'
class= base peripheral

Is that it?

> 'usbdevs

just four empty sockets there

> and 'camcontrol devlist -v' 

Nothing there apart from the optical drive.

> to see if it is on the PCI, USB or  
> SCSI bus respectively.

So, PCI then? How do I go about my kernel config to get it detected?

> If you can't get it to work, the SanDisk SDDR-93 sd card reader is
> supposed to work with Linux, so using it with FreeBSD should be possible.

I can get to the camera with its cable, though it's a bit slow - I just wanted 
the convenience of using the built-in reader, since it's there!

Thanks a lot for your advice
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Microsoft Outlook Calendar Sharing

2005-09-05 Thread Leonidas Tsampros
On Mon, Sep 05, 2005 at 06:25:18PM +0900, Garrett Cooper wrote:
> On Sep 5, 2005, at 6:10 PM, Shane James wrote:
> 
> >On Sep 5, 2005, at 5:14 PM, Shane James wrote:
> >
> 
> Good luck finding something something because it sounds like the  
> Outlook Calendar sharing stuff is fairly new (see  www.slipstick.com/outlook/share.htm>), and unless you plan to use  
> something with iCalendar support (which the last time I checked  
> Outlook, wasn't supported but is the preferred format for Apple's  
> Calendar program), you'll have to wait a while.
> -Garrett


Visit this link:
http://mirror.open-xchange.org/ox/EN/community/

It's about an open-xchange server. I have never used it though but it
may suit your needs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Internal SD card reader, Dell laptop

2005-09-05 Thread Roland Smith
On Mon, Sep 05, 2005 at 10:36:40AM +0100, Ben Paley wrote:

> Anyone got any idea how I can access the built-in sd card reader on my
> dell inspiron 6000 laptop? 

Is there anything in /var/log/messages? If not, try 'pciconf -lv',
'usbdevs' and 'camcontrol devlist -v' to see if it is on the PCI, USB or
SCSI bus respectively.

If you can't get it to work, the SanDisk SDDR-93 sd card reader is
supposed to work with Linux, so using it with FreeBSD should be possible.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpKtYQjfyM1B.pgp
Description: PGP signature


Internal SD card reader, Dell laptop

2005-09-05 Thread Ben Paley
Hello,

Anyone got any idea how I can access the built-in sd card reader on my dell 
inspiron 6000 laptop? There's no /dev/sda at the moment. I can't seem to find 
out how the card connects internally - neither usb nor scsi look very 
likely...

Any more ideas?

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


RE: Serial Port data dumping program

2005-09-05 Thread Paul Hamilton


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Glenn Dawson
> Sent: Monday, 5 September 2005 5:19 PM
> To: Paul Hamilton; freebsd-questions@freebsd.org
> Subject: Re: Serial Port data dumping program
> 
> 
> At 01:08 AM 9/5/2005, Paul Hamilton wrote:
> >Hi,
> >
> >I am trying to debug a Mini SSC FreeBSD program that I am trying to 
> >write. It would be nice to be able to be able to see what is being 
> >transmitted.  It would help in the debugging of my program.
> >
> >Here is a link to a Windows based Mini SSC program: 
> >http://www.rentron.com/Mini-ssc.htm  Using this, I can control the 
> >servo, so I know the hardware and cables work etc.
> >
> >I have been using the 'minicom' port to dump the received data.  
> >However, it doesn't seem to collect the data properly.  Data 
> coming in 
> >should be in accordance with the SSC protocol, ie:
> >
> >byte 1:0xFF// sync byte
> >
> >byte 2:   0x01 - 0x25f//servo address
> 
> How do you fit 0x25f into a single byte? (I count 10 bits required)
> 

Yep, a typo, should have been:  0xff

> 
> >byte 3:   0x00 - 0x255   // servo position
> 
> Same question as above.

Brain thinking in hex, fingers working in decimal ;-)

> 
> 
> >Here is a dump of the collected data (via minicom):
> >
> >#hexdump  minicom.cap
> >000 45ff 49ff 4cff 50ff 53ff 57ff 5aff 57ff
> >010 53ff 50ff 4cff 49ff 45ff 45ff 01ff ff82
> >020 8101 01ff ff80 8202 02ff ff81 8002 03ff
> >030 ff83 8203 03ff ff81 8003 7fff 7fff 7eff
> >040 01ff ff7f 7f02 03ff ff7f ff7f 8001 02ff
> >050 ff80 8003 04ff ff80 ff80 8006 07ff 0080
> >
> >Looking at the first row of data, it is only showing two bytes, sync 
> >and servo position.  Rows 020 and 030, shows some servo 
> addresses, but 
> >sometimes, together!  Both the mini-ssc.exe and minicom program are 
> >using 9600 8n1, so why is it showing this?  Is there 
> something I have 
> >missed in the setup of minicom?  Looks like this is a serial buffer 
> >problem.
> 
> You probably have byte ordering issues.  Does something like this 
> look more reasonable?
> 
> 000 ff45 ff49 ff4c ff50 ff53 ff57 ff5a ff57
> 010 ff53 ff50 ff4c ff49 ff45 ff45 ff01 82ff
> 020 0181 ff01 80ff 0282 ff02 81ff 0280 ff03
> 030 83ff 0382 ff03 81ff 0380 ff7f ff7f ff7e
> 040 ff01 7fff 027f ff03 7fff 7fff 0180 ff02
> 050 80ff 0380 ff04 80ff 80ff 0680 ff07 8000
> 
> -Glenn

Yes, somewhat better, but still missing bytes here and there, ie. First
line, all the servo address bytes etc.

Why would the bytes be swapped around?

Cheers,

Paul

> 
> 
> >Is there a better program I could use to display the incoming serial 
> >data in hex?
> >
> >NOTE:  I only use two wires, signal ground and Tx Data (connected to 
> >the Rx Data).  The servo does respond correctly, so I know 
> the serial 
> >data must be in the correct 3 byte format.
> >
> >Looking fwd to your thoughts.
> >
> >Cheers,
> >
> >Paul Hamilton
> >
> >___
> >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]"
> 
> 

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


Re: Microsoft Outlook Calendar Sharing

2005-09-05 Thread Garrett Cooper

On Sep 5, 2005, at 6:10 PM, Shane James wrote:


On Sep 5, 2005, at 5:14 PM, Shane James wrote:



Good luck finding something something because it sounds like the  
Outlook Calendar sharing stuff is fairly new (see www.slipstick.com/outlook/share.htm>), and unless you plan to use  
something with iCalendar support (which the last time I checked  
Outlook, wasn't supported but is the preferred format for Apple's  
Calendar program), you'll have to wait a while.

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


Re: Serial Port data dumping program

2005-09-05 Thread Glenn Dawson

At 01:08 AM 9/5/2005, Paul Hamilton wrote:

Hi,

I am trying to debug a Mini SSC FreeBSD program that I am trying to write.
It would be nice to be able to be able to see what is being transmitted.  It
would help in the debugging of my program.

Here is a link to a Windows based Mini SSC program:
http://www.rentron.com/Mini-ssc.htm  Using this, I can control the servo, so
I know the hardware and cables work etc.

I have been using the 'minicom' port to dump the received data.  However, it
doesn't seem to collect the data properly.  Data coming in should be in
accordance with the SSC protocol, ie:

byte 1:0xFF// sync byte

byte 2:   0x01 - 0x25f//servo address


How do you fit 0x25f into a single byte? (I count 10 bits required)



byte 3:   0x00 - 0x255   // servo position


Same question as above.



Here is a dump of the collected data (via minicom):

#hexdump  minicom.cap
000 45ff 49ff 4cff 50ff 53ff 57ff 5aff 57ff
010 53ff 50ff 4cff 49ff 45ff 45ff 01ff ff82
020 8101 01ff ff80 8202 02ff ff81 8002 03ff
030 ff83 8203 03ff ff81 8003 7fff 7fff 7eff
040 01ff ff7f 7f02 03ff ff7f ff7f 8001 02ff
050 ff80 8003 04ff ff80 ff80 8006 07ff 0080

Looking at the first row of data, it is only showing two bytes, sync and
servo position.  Rows 020 and 030, shows some servo addresses, but
sometimes, together!  Both the mini-ssc.exe and minicom program are using
9600 8n1, so why is it showing this?  Is there something I have missed in
the setup of minicom?  Looks like this is a serial buffer problem.


You probably have byte ordering issues.  Does something like this 
look more reasonable?


000 ff45 ff49 ff4c ff50 ff53 ff57 ff5a ff57
010 ff53 ff50 ff4c ff49 ff45 ff45 ff01 82ff
020 0181 ff01 80ff 0282 ff02 81ff 0280 ff03
030 83ff 0382 ff03 81ff 0380 ff7f ff7f ff7e
040 ff01 7fff 027f ff03 7fff 7fff 0180 ff02
050 80ff 0380 ff04 80ff 80ff 0680 ff07 8000

-Glenn



Is there a better program I could use to display the incoming serial data in
hex?

NOTE:  I only use two wires, signal ground and Tx Data (connected to the Rx
Data).  The servo does respond correctly, so I know the serial data must be
in the correct 3 byte format.

Looking fwd to your thoughts.

Cheers,

Paul Hamilton

___
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]"


Re: Microsoft Outlook Calendar Sharing

2005-09-05 Thread Shane James
I need it specifically for Microsoft Outlook :/
  - Original Message - 
  From: Garrett Cooper 
  To: Shane James 
  Cc: FreeBSD Questions 
  Sent: Monday, September 05, 2005 10:54 AM
  Subject: Re: Microsoft Outlook Calendar Sharing


  On Sep 5, 2005, at 5:14 PM, Shane James wrote:


Hey guys,


Can you suggest a nice 'Microsoft Exchange' clone or a daemon that can 
allow 'Microsoft Calendar sharing' to interface with it?


Regards,
Shane James


  I don't know of any one program in particular, but if people had access 
to a shared calendar via a shared folder or could transfer the calendar to a 
shared location that is 'publishable' to, you could always use mozilla's 
calendar plugin  in either mozilla, 
firefox, or thunderbird. Sunbird isn't really being supported anymore, even 
though it's a fairly nice separate program-for at least Windows. I had lots of 
issues compiling/running the binary it in Linux, and I assume that it's similar 
in FreeBSD.
  -Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Microsoft Outlook Calendar Sharing

2005-09-05 Thread Shane James

I need it specifically for Microsoft Outlook :/

- Original Message - 
From: "Garrett Cooper" <[EMAIL PROTECTED]>

To: "Shane James" <[EMAIL PROTECTED]>
Cc: "FreeBSD Questions" 
Sent: Monday, September 05, 2005 10:54 AM
Subject: Re: Microsoft Outlook Calendar Sharing



On Sep 5, 2005, at 5:14 PM, Shane James wrote:


Hey guys,

Can you suggest a nice 'Microsoft Exchange' clone or a daemon that  can 
allow 'Microsoft Calendar sharing' to interface with it?


Regards,
Shane James


I don't know of any one program in particular, but if people had 
access to a shared calendar via a shared folder or could transfer the 
calendar to a shared location that is 'publishable' to, you could  always 
use mozilla's calendar plugin  
in either mozilla, firefox, or thunderbird. Sunbird isn't  really being 
supported anymore, even though it's a fairly nice  separate program-for at 
least Windows. I had lots of issues compiling/ running the binary it in 
Linux, and I assume that it's similar in  FreeBSD.

-Garrett
___
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]"


Re: freebsd-questions Digest, Vol 110, Issue 20

2005-09-05 Thread Garrett Cooper


On Sep 5, 2005, at 4:52 PM, David Armour wrote:


  33. Re: * Command failed [exit code 1]: /usr/bin/script -qa
  /tmp/portupgrade84798.26 make (Vizion)
From: Vizion <[EMAIL PROTECTED]>



hello,

thanks for your reply to my question.



gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2
Stop in /usr/ports/www/firefox.





What were the lines before:


gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'



... unfortunately, i only clipped the lines i did, trying to keep my
message as short as possible. doh! i'm not sure where to locate the
file that all those screens of garbled text goes to either. i looked
in /var/log, but i couldn't see anything that looked likely. any idea
where i could find the file?

(i tried, successfully, to update the portupgrade port, after  
posting my

question. but the firefox port upgrade, subsequently, still refused to
compile.)


David,
Just try to recompile; if it doesn't work, it will come up  
again. This is by far a much earlier and quicker way to finding the  
initial problem as opposed to looking for logs, etc because odds  
hunting for the specific log will take a while in the build  
directory. Besides, your compile might work this time if you try again.

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


Re: Microsoft Outlook Calendar Sharing

2005-09-05 Thread Garrett Cooper

On Sep 5, 2005, at 5:14 PM, Shane James wrote:


Hey guys,

Can you suggest a nice 'Microsoft Exchange' clone or a daemon that  
can allow 'Microsoft Calendar sharing' to interface with it?


Regards,
Shane James


I don't know of any one program in particular, but if people had  
access to a shared calendar via a shared folder or could transfer the  
calendar to a shared location that is 'publishable' to, you could  
always use mozilla's calendar plugin  in either mozilla, firefox, or thunderbird. Sunbird isn't  
really being supported anymore, even though it's a fairly nice  
separate program-for at least Windows. I had lots of issues compiling/ 
running the binary it in Linux, and I assume that it's similar in  
FreeBSD.

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