Re: Opinion please on quick and dirty

2006-04-21 Thread Martin Tournoy
On Thu, 20 Apr 2006 03:53:23 -, Low Kian Seong [EMAIL PROTECTED]  
wrote:



Dear all,

Not really a question, rather a plea of opinion. I looked around for a  
zope
howto on FreeBSD but found none, so i wrote my own, and I want to  
contribute
the docs back, but before that can anyone interested please have a look  
at
it and tell me what you think ? The guide is a quick and dirty on how to  
get

zope installed and running on your FreeBSD box.

Thanks in advance.


It would help you could show me the howto


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


Re: Kernel messages

2006-04-21 Thread jekillen


On Apr 20, 2006, at 7:50 PM, Kevin Kinsey wrote:


jekillen wrote:


Hello;
I have a question about a disconcerting event relayed to me from my 
kernel.

there are eight entries regarding network interface status:
rl0 link changed to DOWN
 UP
 DOWN
 UP
sis0 promiscuous mode enabled
  disabled
  enabled
  disabled
The disconcerting entries are re sis0 promiscuous mode enabled.
Is the kernel trying to eaves drop on someone?



Not without assistance, most likely ;-).

One link is to the inside network and the other is to static ip 
address

that is assigned but as yet has not been configured on the router to
receive requests from outside.
I admit, I am learning at this point. I've been watching the router 
security log and
have seen just in the last week (as long as it has had the static 
ip's assigned)

several hundred broadcast amplification attempts blocked.
And I have been reading my root mail and am now interested in a 
tutorial or

some published specifics about how to interpret these messages.
I'm running v6 release on AMD64. I'm setting up to host a web site.
thanks in advance.
JK
PS in the mean time I will be going through what I have already.



Generally, promiscuous mode is pretty much what you
have guessed ... used in network analysis.  Software such
as bpf(4), and higher level apps such as netgraph, tcpdump,
ethereal, etc. use promiscuous mode to grab network traffic.
So, the first thing you ask yourself is, have I (or anyone allowed
to be root) used any of this type of software?

There might be other explanations, but I'm not suitably
prepared to address them.

Kevin Kinsey


There are 2 factors that bear directly on this situation:
I am the only one who uses these machines on the inside network.
I have not been able to get into the web site from out side (so I 
presume no one else can either)
For this reason it appears that the kernel may be doing security audits 
based on, possibly,
suspicious events. But sis0 is the inside network interface. If I read 
the time correctly, I.E.
03 being 3 o'clock in the morning, this machine is the only one beside 
the router and a n.a.s device
that are running. And this is the first time in the eight weeks total 
that this machine has been operational,
that I have seen this message. Could the phone co be 'phishing' around? 
(SBC). Anyhow that's why
I questioned the phone co's $250 installation charge, I told them I 
know how to set up the network and
DNS stuff and was concerned about the possibility of a technician 
putting a root kit on my system.
As it turned out, I had to let him install their router because he 
couldn't get mine to work (Zoom xv5)
I have a Mac OSX machine that has been assigned one of the initial 
static ip's. It also has 2 interfaces
the inside interface connects to the same network the web server is on. 
But I don't leave the Mac on
continuously. When the technician set up the router it was using DCHP 
to assign the ip. I noticed it
change the host name as reflected in the bash shell command line 
prompt. So as to their scruples I
can only hope that there isn't some proprietary gadget running on the 
router that sniffs around on
remote provocation. This might serve as a heads up to anyone with a 
similar situation.

JK

--
The idle mind knows not what it is it wants.
-- Quintus Ennius

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


Strange Issue with regards to fdisk

2006-04-21 Thread Kedar Damle
Hello,

These are screenshots of a VM-Ware installation of FreeBSD 6.0 with 4GB
hard-disk attached to it. When I toggle Z for the display of size, it
shows 4095MB and then 3GB.
Is this correct?

Sectors view - http://img151.imageshack.us/img151/2054/sectors3zp.jpg
KB view - http://img151.imageshack.us/img151/6091/kb4pv.jpg
MB view - http://img101.imageshack.us/img101/1608/mb5ov.jpg
GB view - http://img151.imageshack.us/img151/7630/gb5zy.jpg (The problem
one)
--
Kedar Damle
Save the trees, print on both sides.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Trunking connections

2006-04-21 Thread Michael Landin Hostbaek
List, 

In a branch office, I've got two ADSL lines setup (with two different
ISPs) - one of them are supposed to work as backup line, but since it is
a ADSL flat fee line, I was wondering if there's a way of setting up
some sort of a trunk with FreeBSD, so I can make use of the extra
bandwith.

Obviously, the line should be unaffected if one of the lines go down.

I've got a FreeBSD firewall/gateway with three interfaces.. 

Any ideas ?

/mich

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


Re: Installing Free over linux installation

2006-04-21 Thread Malcolm Kay
On Wed, 19 Apr 2006 11:40 am, Aguiar Magalhaes wrote:
 Hi list,

 Using standard installation (sysinstall), I'm trying
 to install the FreeBSD 6.0 in the machine where exist
 a old linux installation (The linux will be full
 replaced)

 In the fdisk stage, I've created /, swap, /var, /usr
 and /home slices, but when I confirm, I've received a
 error message about the swap slice:

 Unable to find device node for /dev/ad0s1b in /dev!
 The creation of filesystem will be aborted


It seems that you are trying to force your precocieved ideas 
(from Linux) on th DreeBSD installation.

FreeBSD is a UNIX/BSD derivative which has its own partitioning 
system. A slice is treated (more or less) as though it was a 
complete physical device and will normally be subdivided into 
BSD partitions one of which is (partition 'b') is normally used 
for swap. 

If you are using the entive disk for FreeBSD then allocate the 
entire disk as a single FreeBSD slice and then move on to the 
labelling mode where this slice is subdivided for BSD 
partitions. There should be at least 2 visible from sysinstall;
namely ad0s1a containing the root file system and ad0a1b containg 
the swap space. Usually there will be more than 2 visible 
partitions -- it is usual to provide a separate partition 
for /usr and sometimes /home, /var and /tmp.

It is possible to create a swap area in a separate slice but this 
is probably somewhat difficult to do directly through 
sysinstall.


Malcolm 

 What is it ? How can I fix it ?

 Thanks,

 Aguiar



 ___
 Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de
 e-mail no celular e anti-spam realmente eficaz.
 http://br.info.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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd OpenAFS client

2006-04-21 Thread ph rhole oper
Is freebsd's openafs client functionality (maybe through Arla?) in such
a state that 
would work to mount /afs (even Read Only) just to serve public_html user
directories from apache?

-- 
http://www.fastmail.fm - Access your email from home and the web

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


port building linking

2006-04-21 Thread ph rhole oper
I need to build a port (mail/cyrus-imapd23) and add support for the
mit-kerberos implementation to it.
It needs to link to the -lkrb5 library.There are two libkrb5*.so in my
system:
the heimdal one (/usr/lib/libkrb5*.so) and the mit one
(/usr/local/lib/libkrb5*.so).
The configure script, searching for -lkrb5, finds /usr/lib/libkrb5.so
first, and links to the heimdal implementation.
Is there any way i can force it to only link against
/usr/local/lib/libkrb5.so?I need the mit implementation.


simon.

-- 
http://www.fastmail.fm - Access your email from home and the web

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


hi

2006-04-21 Thread Chezangla, Engineer, DrukNet

I'm using:

freeBSD-5.x
PHP-5.x
Mysql-4.x
Apache-2.x

I want to use php mail() to send mails using php script. I 
have configure in /usr/local/etc/php.ini the sendmail_path 
as


sendmail_path=/usr/sbin/sendmail -t -i 

when i send email, the mail is sent, i.e if(mail()) 
returns true. But I don't receive the mail at all, at the 
given receipent address.


what could be wrong, any ohter configurations to be made?,

plez help me.

regd. cheza
+++
Get a free DrukNet e-mail account and stay in touch
http://www.druknet.bt
___

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


RE: hi

2006-04-21 Thread Ruben Bloemgarten
Have you configured sendmail yet? Take a look in /var/log/maillog and see
what it says. Just as a wild guess I'm assuming you're not running a
mailserver on the local machine which means you have to tell sendmail where
to submit the messages, you can do this in /etc/mail. 

Good luck, 
Ruben 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chezangla,
Engineer, DrukNet
Sent: April 21, 2006 12:06 PM
To: freebsd-questions@freebsd.org
Subject: hi

I'm using:

freeBSD-5.x
PHP-5.x
Mysql-4.x
Apache-2.x

I want to use php mail() to send mails using php script. I 
have configure in /usr/local/etc/php.ini the sendmail_path 
as

sendmail_path=/usr/sbin/sendmail -t -i 

when i send email, the mail is sent, i.e if(mail()) 
returns true. But I don't receive the mail at all, at the 
given receipent address.

what could be wrong, any ohter configurations to be made?,

plez help me.

regd. cheza
+++
Get a free DrukNet e-mail account and stay in touch
http://www.druknet.bt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006
 

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


Re: hi

2006-04-21 Thread Jon Mercer
Cheza,

This is almost certainly a sendmail problem. You don't say how your mail
routing is supposed to work. Is, for instance, your sendmail meant to
deliver the mail locally on the same machine? Does sendmail have to talk
to another mail transfer agent to deliver the mail to another machine? It
might be the case that your sendmail is not configured to:

1. Receive mail from the address you specify in php.ini/mail()

2. Listen on the correct ports (25)

But I would expect to see an error displayed.

You need to see whether the mail queue is filling up within sendmail.

Quite possibly your sendmail queue is filling up but mails are being
blocked by another server.

Have you looked at the sendmail.mc or freebsd.mc file and reconstructed
the sendmail.cf files using m4?

Sendmail is a very complicated beast, but worth persevering with :-)

All the best,

Jon


On Fri, April 21, 2006 11:05, Chezangla, Engineer, DrukNet wrote:
 I'm using:

 freeBSD-5.x
 PHP-5.x
 Mysql-4.x
 Apache-2.x

 I want to use php mail() to send mails using php script. I
 have configure in /usr/local/etc/php.ini the sendmail_path
 as

 sendmail_path=/usr/sbin/sendmail -t -i 

 when i send email, the mail is sent, i.e if(mail())
 returns true. But I don't receive the mail at all, at the
 given receipent address.

 what could be wrong, any ohter configurations to be made?,

 plez help me.

 regd. cheza
 +++
 Get a free DrukNet e-mail account and stay in touch
 http://www.druknet.bt
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



---
Achean Ltdhttp://www.achean.com
Jon Mercer  [EMAIL PROTECTED]  Director
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange Issue with regards to fdisk

2006-04-21 Thread Alex de Kruijff
On Fri, Apr 21, 2006 at 01:40:46PM +0530, Kedar Damle wrote:
 Hello,
 
 These are screenshots of a VM-Ware installation of FreeBSD 6.0 with 4GB
 hard-disk attached to it. When I toggle Z for the display of size, it
 shows 4095MB and then 3GB.
 Is this correct?

I woudn't wurry about it. Its just a rounding error.
floor(4095/1024) = 3 (1024 * 4 = 4096)

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Remote screen control software - recommendations please

2006-04-21 Thread Graham Bentley
(OK I know this is OT but theres alot of good experience here
so please dont flame me :))

What are people using for this ?

I have used VNC and TighVNC in the past to good effect
although they do seem a bit laggy.

I notice that GoToMyPC is gaining in popularity but I suspect
you have to trust them with your credentials.

Some people say Remote Admin (about $20) is the best.

Any other recommendations / experiences / reviews ?

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


How to do physical-to-virtual translation in FreeBSD? Does FreeBSD support kmap() or kmap_atomic()?

2006-04-21 Thread hongz
Hi guys:

 

We are doing HBA driver (Soft Raid5) porting from Linux to FreeBSD. As we
need to do XOR in kernel space, we need to map a physical address into a
virtual address. In Linux, we use kmap_atomic() to implement it, and could
you tell me how to do it in FreeBSD? Thank for your help!

 

Best wishes,

 

Hong Zhao

 

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


Re: Trunking connections

2006-04-21 Thread Greg Barniskis

Michael Landin Hostbaek wrote:
List, 


In a branch office, I've got two ADSL lines setup (with two different
ISPs) - one of them are supposed to work as backup line, but since it is
a ADSL flat fee line, I was wondering if there's a way of setting up
some sort of a trunk with FreeBSD, so I can make use of the extra
bandwith.


This has been discussed quite extensively on the list in the past, 
and if I recall correctly the answer is basically no, unless the 
lines go to the same ISP and they also configure the lines this way 
on their end.


There may be various ways to dynamically dink your own routing table 
to try to balance your outbound traffic, but by the very nature of 
IP the inbound traffic cannot be regulated without full cooperation 
of the upstream routers.



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem booting

2006-04-21 Thread db
Hi all

I know that this is regarding pfSense (1.0 beta3), but since it is running with
a FreeBSD 6.1 RC1 kernel, I will try asking for help here.

I've installed pfSense on the harddrive (tried this with a SATA disk and a
normal disk), but when I boot I get a lot of junk. I can get:

FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/loader
boot:

Right after this I get a lof of junk (registers and their values in hex) running
endlessly down the screen. Any idea what's wrong?

br
db

ps: The CPU is an intel and the motherboard is an Asus P5P800 SE.

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


Re: Kernel messages

2006-04-21 Thread Robert Huff

jekillen writes:

   . When the technician 
 set up the
  router it was using DCHP to assign the ip. I noticed it change the
  host name as reflected in the bash shell command line prompt.

DHCP requires bpf(4).  bpf(4) uses promiscuous mode by default.


Robert Huff

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


limit datasize

2006-04-21 Thread Giuseppe Pagnoni

Dear all,

I am running into a memory problem when using large datasets.  The  
limit command shows:


cputime  unlimited
filesize unlimited
datasize 524288 kbytes
stacksize65536 kbytes
coredumpsize unlimited
memoryuseunlimited
vmemoryuse   unlimited
descriptors  11095
memorylocked unlimited
maxproc  5547
sbsize   unlimited

however, /etc/login.conf shows that the default setting is unlimited:

default:\
:passwd_format=md5:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
:path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/ 
sbin /usr/local/bin /usr/X11R6/bin ~/bin:\

:nologin=/var/run/nologin:\
:cputime=unlimited:\
:datasize=unlimited:\
:stacksize=unlimited:\
:memorylocked=unlimited:\
:memoryuse=unlimited:\
:filesize=unlimited:\
:coredumpsize=unlimited:\
:openfiles=unlimited:\
:maxproc=unlimited:\
:sbsize=unlimited:\
:vmemoryuse=unlimited:\
:priority=0:\
:ignoretime@:\
:umask=022:


Any suggestion on how to increase the limits?


thank you very much in advance

   giuseppe


Giuseppe Pagnoni
Dept. of Psychiatry
101 Woodruff Circle
Altanta, GA 30322
Tel: 404-712-9582
Fax: 404-727-3233



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


Re: Remote screen control software - recommendations please

2006-04-21 Thread Kevin Kinsey

Graham Bentley wrote:


(OK I know this is OT but theres alot of good experience here
so please dont flame me :))

What are people using for this ?

I have used VNC and TighVNC in the past to good effect
although they do seem a bit laggy.

I notice that GoToMyPC is gaining in popularity but I suspect
you have to trust them with your credentials.

Some people say Remote Admin (about $20) is the best.

Any other recommendations / experiences / reviews ?

Thanks
 



I use rdesktop (net/rdesktop) to control Winboxen (unfortunately,
some games don't play nice with it).

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: question on ftp - drag and drop

2006-04-21 Thread Kevin Kinsey

David Banning wrote:


I am interested in setting up my ftp server so that users can login
to their directories and drag files from one sub-directory into another.

I am now using ProFTPd. Users are permitted to login to their directories
using the ftp built into IE, and drag files onto their desktop and back 
again. They can create files and erase files on the ftp server.


I have not figured out how, or if it is possible to cut and paste files
from one sub-directory to another. Using IE remotely through ftp
you can cut a file, but once in another directory the paste is not
available.

Where I am going with this is that sales people want to save and access
each other's word and excel files on the server from a laptop, over the net.
 



Sounds (perhaps) more like a job for Samba than FTP.

Kevin Kinsey

--
She often gave herself very good advice
(though she very seldom followed it).
-- Lewis Carroll


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


Re: question on ftp - drag and drop

2006-04-21 Thread Derek Ragona
You can use a different client for this type of access.  One client that 
works well AND can provide secure ftp as well is filezilla which is an 
opensource client:

http://sourceforge.net/projects/filezilla

-Derek


At 10:01 PM 4/20/2006, David Banning wrote:

I am interested in setting up my ftp server so that users can login
to their directories and drag files from one sub-directory into another.

I am now using ProFTPd. Users are permitted to login to their directories
using the ftp built into IE, and drag files onto their desktop and back
again. They can create files and erase files on the ftp server.

I have not figured out how, or if it is possible to cut and paste files
from one sub-directory to another. Using IE remotely through ftp
you can cut a file, but once in another directory the paste is not
available.

Where I am going with this is that sales people want to save and access
each other's word and excel files on the server from a laptop, over the net.
___
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: question on ftp - drag and drop

2006-04-21 Thread Alex Zbyslaw

Kevin Kinsey wrote:


David Banning wrote:


I am interested in setting up my ftp server so that users can login
to their directories and drag files from one sub-directory into another.

I am now using ProFTPd. Users are permitted to login to their 
directories
using the ftp built into IE, and drag files onto their desktop and 
back again. They can create files and erase files on the ftp server.


I have not figured out how, or if it is possible to cut and paste files
from one sub-directory to another. Using IE remotely through ftp
you can cut a file, but once in another directory the paste is not
available.

Where I am going with this is that sales people want to save and access
each other's word and excel files on the server from a laptop, over 
the net.
 



Sounds (perhaps) more like a job for Samba than FTP.


I'd agree with Kevin, but if you do want FTP then maybe try a proper FTP 
client rather than IE as they may do what you want.  Try maybe FileZilla 
or CuteFTP.  I haven't used either extensively but believe that both can 
be free and they get mentioned by people who use ack pft Windows for 
something other than games.


--Alex


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


Re: question on ftp - drag and drop

2006-04-21 Thread Greg Barniskis

Alex Zbyslaw wrote:

Kevin Kinsey wrote:

[snip]

Sounds (perhaps) more like a job for Samba than FTP.


I'd agree with Kevin, but if you do want FTP then maybe try a proper FTP 
client rather than IE as they may do what you want.  Try maybe FileZilla 
or CuteFTP.  


I've used Filezilla a lot and like it. IE's FTP functions are a 
[censored] piece of [censored]. (what did you expect? ;).


Another solution you might consider is Unison (or some other file 
system synchronizer), to make everyone's files available on the 
laptops even when they are not connected to a network. I use the 
Cygwin command line version on Windows laptops to sync with a 
FreeBSD central server, but I'm pretty sure there is a Windows GUI 
version available as well. The great bonus of the CLI way is being 
able to script it and make it a (mostly) hands off solution.


If you go that way, be sure all the Unison versions match on every 
host (so be careful with portupgrade and friends).



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: limit datasize

2006-04-21 Thread Dan Nelson
In the last episode (Apr 21), Giuseppe Pagnoni said:
 I am running into a memory problem when using large datasets.  The
 limit command shows:
 
 cputime  unlimited
 filesize unlimited
 datasize 524288 kbytes
 stacksize65536 kbytes
 
 however, /etc/login.conf shows that the default setting is unlimited:
 
 :datasize=unlimited:\
 
 Any suggestion on how to increase the limits?

The kernel imposes a hard limit on datasize that defaults to 512M
(which is pretty small nowadays).  You can raise it by adding
kern.maxdsize=4G to /boot/loader.conf and rebooting.  You can use
kern.maxssize to adjust the hard stack limit, but it's rare that
soemone needs to go above the default 64M.

-- 
Dan Nelson
[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: Opinion please on quick and dirty

2006-04-21 Thread Ian A. Tegebo
On Thu, Apr 20, 2006 at 11:53:23AM +0800, Low Kian Seong wrote:
 Not really a question, rather a plea of opinion. I looked around for a zope
 howto on FreeBSD but found none, so i wrote my own, and I want to contribute
 the docs back, but before that can anyone interested please have a look at
 it and tell me what you think ? The guide is a quick and dirty on how to get
 zope installed and running on your FreeBSD box.
Adding instructions for howto do this with portupgrade would be helpful,
e.g. dealing with the 'make instance'.

Thanks for the contribution!

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


RE: hi

2006-04-21 Thread Ruben Bloemgarten
1. read the readme in /etc/mail
2. follow the instructions in /etc/mail/README 
(hint: it's instruction set 1, the line beginning with: Designate an
alternative host for the submission agent to contact...) 
3. make sure the mail server you are submitting to accepts relay from your
system 

Good luck, 

Ruben  

-Original Message-
From: Chezangla, Engineer, DrukNet [mailto:[EMAIL PROTECTED] 
Sent: April 21, 2006 12:47 PM
To: [EMAIL PROTECTED]
Subject: Re: hi


hi,
this is what says the /var/log maillog:

Apr 21 18:44:00 tswf sm-mta[1754]: k3LCi0fX001754: 
from=[EMAIL PROTECTED], size=592, class=0, 
nrcpts=1, msgid=200604211244.k3LCi0ef0
[EMAIL PROTECTED], proto=ESMTP, daemon=IPv4, 
relay=localhost.druknet.bt [127.0.0.1]
Apr 21 18:44:00 tswf sendmail[1743]: k3LCi0ef001743: 
to=operator, ctladdr=operator (2/5), delay=00:00:00, 
xdelay=00:00:00, mailer=relay, pri=3
0295, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent 
(k3LCi0fX001754 Message accepted for delivery)
Apr 21 18:44:00 tswf sm-mta[1755]: k3LCi0fX001754: 
to=root, ctladdr=[EMAIL PROTECTED] (2/5), 
delay=00:00:00, xdelay=00:00:00, mailer=


as us said yes m not running mailserver on the local 
machine.

so to tell sendmail submit the message to my mail server, 
which file in /etc/mail should i modify or how to modify,

plez give me the whole steps please. I have spent lot of 
time trying to figure out what is wrong , but couldn't, so 
ur help at this stage is highly appreciated.

che.



On Fri, 21 Apr 2006 12:25:43 +0200
  Ruben Bloemgarten [EMAIL PROTECTED] wrote:
 Have you configured sendmail yet? Take a look in 
/var/log/maillog and see
 what it says. Just as a wild guess I'm assuming you're 
not running a
 mailserver on the local machine which means you have to 
tell sendmail where
 to submit the messages, you can do this in /etc/mail. 
 
 Good luck, 
 Ruben 
 
 -Original Message-
From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf 
Of Chezangla,
 Engineer, DrukNet
 Sent: April 21, 2006 12:06 PM
 To: freebsd-questions@freebsd.org
 Subject: hi
 
 I'm using:
 
 freeBSD-5.x
 PHP-5.x
 Mysql-4.x
 Apache-2.x
 
 I want to use php mail() to send mails using php script. 
I 
 have configure in /usr/local/etc/php.ini the 
sendmail_path 
 as
 
 sendmail_path=/usr/sbin/sendmail -t -i 
 
 when i send email, the mail is sent, i.e if(mail()) 
 returns true. But I don't receive the mail at all, at 
the 
 given receipent address.
 
 what could be wrong, any ohter configurations to be 
made?,
 
 plez help me.
 
 regd. cheza
 +++
 Get a free DrukNet e-mail account and stay in touch
 http://www.druknet.bt
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
[EMAIL PROTECTED]
 
 
 -- 
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.385 / Virus Database: 268.4.4/320 - Release 
Date: 04/20/2006
 
 
 -- 
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.385 / Virus Database: 268.4.4/320 - Release 
Date: 04/20/2006
 
 

+++
Get a free DrukNet e-mail account and stay in touch
http://www.druknet.bt


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006
 

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


Re: postfix smtp_sasl_auth

2006-04-21 Thread Alan Curtis
Thanks for everyone's help. I have tried various things to get postfix
running again.

I was confused by 'make config' not working, but Paul explained that so I did

make deinstall clean
make install clean

But that failed because I had the wrong mysql version which was
required by dovecote.
I deinstalled and installed both dovecote and mysql and restored all
the config files I could think of and now I get the following message
in maillog

Apr 21 10:59:06 ** dovecot: imap-login: Login: user=acurtis,
method=PLAIN, rip=128.33.80.129, lip=192.168.1.100, TLS
Apr 21 10:59:58 ** postfix/smtp[957]: fatal: open database
sasl_passwd.db: No such file or directory
Apr 21 10:59:59 ** postfix/master[650]: warning: process
/usr/local/libexec/postfix/smtp pid 957 exit status 1
Apr 21 10:59:59 ** postfix/master[650]: warning:
/usr/local/libexec/postfix/smtp: bad command startup -- throttling

I tried
postmap hash:sasl_passwd
and reloading postfix, but get the same messages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trunking connections

2006-04-21 Thread Jonathan Horne
you should check out the fbsd/firewall pfSense.  it has exactly what your
talking about built in, and easy to configure.  i could go on and on all
day about how great that firewall is... but you should check it out
yourself.

www.pfsense.org

its built on 6.0.

jonathan

 List,

 In a branch office, I've got two ADSL lines setup (with two different
 ISPs) - one of them are supposed to work as backup line, but since it is
 a ADSL flat fee line, I was wondering if there's a way of setting up
 some sort of a trunk with FreeBSD, so I can make use of the extra
 bandwith.

 Obviously, the line should be unaffected if one of the lines go down.

 I've got a FreeBSD firewall/gateway with three interfaces..

 Any ideas ?

 /mich

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


How to get best results from FreeBSD-questions

2006-04-21 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-04-21 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


RE: Intel EtherExpress Pro ISA card

2006-04-21 Thread Ian Lord

At 13:20 2006-04-21, you wrote:

I have this card install in a System but the GENERIC kernel does not pick it
up.  Is there a custom driver for this card or a step I'm missing.

 Matt
If you look at this page (I assumed you are trying to use freebsd6 
i386 version)


http://www.freebsd.org/releases/6.0R/hardware-i386.html

I'm not sure if they are the model you need but you'll see that

the ex drivers supports
Intel EtherExpress Pro/10
Intel EtherExpress Pro/10+

the fxp drivers supports a couple of etherexpress card

the ie drivers support
Intel EtherExpress 16

I think the one you need is the ie since it's for 8 and 16 bits isa card.

if you read the file /usr/src/sys/i386/conf/GENERIC you'll see that 
all of the drivers for the nics are enabled in the generic kernel... 
So I guess your card is not supported.



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


build audit kernel

2006-04-21 Thread Natalie Sugako
Hello!
I want to use audit events on FreeBSD6.1-BETA4.
I read that I must build kernel with option:
optionsAUDIT (FreeBSD handbook).
But config (/usr/sbin/config) find next error:
unknown option AUDIT
Maybe, option was renamed?
Help me, PLS!
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote screen control software - recommendations please

2006-04-21 Thread Andy Reitz
On Fri, 21 Apr 2006, Graham Bentley wrote:

 (OK I know this is OT but theres alot of good experience here
 so please dont flame me :))

 What are people using for this ?

 I have used VNC and TighVNC in the past to good effect
 although they do seem a bit laggy.

 I notice that GoToMyPC is gaining in popularity but I suspect
 you have to trust them with your credentials.

 Some people say Remote Admin (about $20) is the best.

 Any other recommendations / experiences / reviews ?

Hi Graham,

You might want to check out something called NX, from NoMachine. I
managed to get FreeNX working on my FreeBSD machine for a little while
(until it broke), and when it was working, it was quite fast.

Here is a blog post that I read which helped me to get started:

http://www.averageadmins.com/blog/2006/03/29/freenx-on-freebsd/

Good luck,
-Andy.

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


Re: How to do physical-to-virtual translation in FreeBSD? Does FreeBSD support kmap() or kmap_atomic()?

2006-04-21 Thread Andy Reitz
On Fri, 21 Apr 2006 [EMAIL PROTECTED] wrote:

 Hi guys:



 We are doing HBA driver (Soft Raid5) porting from Linux to FreeBSD. As we
 need to do XOR in kernel space, we need to map a physical address into a
 virtual address. In Linux, we use kmap_atomic() to implement it, and could
 you tell me how to do it in FreeBSD? Thank for your help!

Hi Hong,

I'm not entirely sure, but you might want to try posting your question to
the freebsd-hackers mailing list.

Good luck,
-Andy.

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


ruby don't compile after 5.2 - 5.3

2006-04-21 Thread Albert Shih
Hi all

After upgrade from 5.2.1-p* to 5.3-p29 I can't compile ruby18, I got this
error 

Generating callback.func
Fatal error 'Spinlock called when not threaded.' at line 83 in file 
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2)

And I don't have compile with thread (just like the advise).

Any one have a solution ?

Regards.

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Fri Apr 21 21:57:09 CEST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portmanager and linux-flashplugin6 removed

2006-04-21 Thread Chris Whitehouse

RW wrote:

On Thursday 20 April 2006 22:25, Chris Whitehouse wrote:

Hi

I've just cvsup'ed ports and run portmanager -s. Part way through it
asks me if it can remove linux-flashplugin-6.0r79_3 because of the
licencing issue. When I say no portmanager quits. Actual output below.

1) Would it be possible for portmanager to at least allow me to complete
the status request?


snip



You could try using the -ip option, or alternately restore the original port 
contents, and do minimal maintainence on it yourself.


I tried the -ip option but it still halted. Restoring the original port 
directory works, thanks. Removing the port directory for another 
installed port caused exactly the same result so as you say it is just 
how portmanager is.


Incidentally portmanager walked through a port upgrade on my desktop box 
from 30th Dec to 30th March without a hitch, including the 20060223 
libtool change. Would it be a good idea to add to the note in UPDATING 
to suggest that portmanager is worth a try?


Chris

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


Re: Trunking connections

2006-04-21 Thread Bill Moran
On Fri, 21 Apr 2006 11:19:36 +0200
Michael Landin Hostbaek [EMAIL PROTECTED] wrote:

 List, 
 
 In a branch office, I've got two ADSL lines setup (with two different
 ISPs) - one of them are supposed to work as backup line, but since it is
 a ADSL flat fee line, I was wondering if there's a way of setting up
 some sort of a trunk with FreeBSD, so I can make use of the extra
 bandwith.
 
 Obviously, the line should be unaffected if one of the lines go down.
 
 I've got a FreeBSD firewall/gateway with three interfaces.. 

The canonical way to do this is with bgp.  There are bgp implementations
available for FreeBSD.  The hard part will be getting the two ISPs to
agree to set up BGP on their end.

-- 
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: Getting A Kernel Dump - SOLVED!

2006-04-21 Thread Drew Tomlinson

On 4/19/2006 7:22 PM Kevin Kinsey said the following:


Drew Tomlinson wrote:


I have a 6.0 system running on a P3 550 that
is rebooting every now and then due to a
trap 12 error.  I've followed the steps at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html 

for getting a crash dump but I'm not getting dumps. Here's the 
relevant line from rc.conf:


dumpdev=/dev/da1s1b

And it seems to be OK as dumpon has no problem
when I set this manually:

blacksheep# dumpon -v /dev/da1s1b
kernel dumps on /dev/da1s1b

My swap partition is 750 MB and the total system
memory is 384 MB.  Any ideas on what I might be doing wrong?

Thanks,

Drew




Unfortunately, no.  Read this today, though:

http://www.onlamp.com/pub/a/bsd/2002/03/21/Big_Scary_Daemons.html
http://www.onlamp.com/pub/a/bsd/2002/04/04/Big_Scary_Daemons.html

Since I've not read the handbook section you mention, I can't
say if it's duplicate info or not.  But this was pretty good stuff,
as Michael's stuff always seems to be 



Thanks for your reply.  In going over everything again, I finally 
figured out I had made a dumb mistake.  I have a small root partition 
(500 MB) and normally symlink /var to /var/usr.  However in this case, I 
hadn't made that symlink after restoring from a disk crash about a month 
ago.  So there was not enough room in /var/crash to create the dump.  
'savecore' was keeping me from shooting myself in the foot.  :)


Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com


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


Re: ruby don't compile after 5.2 - 5.3

2006-04-21 Thread Kris Kennaway
On Fri, Apr 21, 2006 at 09:58:37PM +0200, Albert Shih wrote:
 Hi all
 
 After upgrade from 5.2.1-p* to 5.3-p29 I can't compile ruby18, I got this
 error 
 
 Generating callback.func
 Fatal error 'Spinlock called when not threaded.' at line 83 in file 
 /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2)
 
 And I don't have compile with thread (just like the advise).
 
 Any one have a solution ?

You need to rebuild *all* your ports after performing major upgrades
(despite both being in the 5.x branch, 5.2.1 to 5.3 was such a major
upgrade).

portupgrade -af

Kris

P.S. Why are you using an old version like 5.3 though?  It's not
recommended.


pgp21MK5N9kNj.pgp
Description: PGP signature


Same error with all ports install!

2006-04-21 Thread Marwan Sultan

Hello Guys,

I fresh installed FreeBSD 6.0R some wierd stuff going on!
Firts: the box restarted from it self like 4 times, and /var/log/messages 
showing only one strange

line (for me) which is
Apr 22 01:10:46 box kernel: pid 5764 (cc1), uid 0: exited on signal 6 (core 
dumped)


then i ran fsck, it cleared some files, now its not restarting but, i'm not 
sure it will or it will not.


 second problem: whenever i try to install any port, it gave an error msg 
during the make says:


cc1 in free(): error: junk pointer, too high to make sense
cc1 in malloc(): error: recursive call
cc: Internal error: Abort trap: 6 (program cc1)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1


 Anyone could Advise please?
 Marwan

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/


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


adapter question

2006-04-21 Thread Jose Jesus Ortega
I have freeBSD-6.0 RELEASE, my D-Link ethernet card works fine with internet 
but I have a Linksys Wireless B Notebook Adapter. When I add the card to the 
computer is displays: cardbus0: network, ethernet at device 0.0 (no driver 
attached)
 
 I have the CD that came with the adapter and on freeBSD Handbook I tried to 
run it Natively through ndis, the adapter turned on the light like if it was 
working but when I input the command: ifconfig it dosen't see it, the same 
message as above happens at startup. Any way to install the right driver for 
it? Thanks.
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Same error with all ports install!

2006-04-21 Thread Garrett Cooper

Marwan Sultan wrote:

Hello Guys,

I fresh installed FreeBSD 6.0R some wierd stuff going on!
Firts: the box restarted from it self like 4 times, and 
/var/log/messages showing only one strange

line (for me) which is
Apr 22 01:10:46 box kernel: pid 5764 (cc1), uid 0: exited on signal 6 
(core dumped)


then i ran fsck, it cleared some files, now its not restarting but, 
i'm not sure it will or it will not.


 second problem: whenever i try to install any port, it gave an error 
msg during the make says:


cc1 in free(): error: junk pointer, too high to make sense
cc1 in malloc(): error: recursive call
cc: Internal error: Abort trap: 6 (program cc1)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1


 Anyone could Advise please?
 Marwan
Check your RAM. It sounds like bad values are being stored somewhere and 
it's affecting your overall performance on the machine since the first 
message was about your kernel and the second message was about gcc (one 
the available compilers for FreeBSD). Try memtest86+ 
(http://www.memtest86.com/).

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


Re: Same error with all ports install!

2006-04-21 Thread Kevin Kinsey

Marwan Sultan wrote:


Hello Guys,

I fresh installed FreeBSD 6.0R some wierd stuff going on!
Firts: the box restarted from it self like 4 times, and
/var/log/messages showing only one strange
line (for me) which is
Apr 22 01:10:46 box kernel: pid 5764 (cc1),
uid 0: exited on signal 6 (core dumped)

then i ran fsck, it cleared some files, now its not
restarting but, i'm not sure it will or it will not.

 second problem: whenever i try to install any port,
it gave an error msg during the make says:

cc1 in free(): error: junk pointer, too high to make sense
cc1 in malloc(): error: recursive call
cc: Internal error: Abort trap: 6 (program cc1)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1


 Anyone could Advise please?
 Marwan



How many RAM chips?  Try them one at a time...

KDK

--
I have never been one to sacrifice
my appetite on the altar of appearance.
-- A. M. Readyhough


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


Re: Same error with all ports install!

2006-04-21 Thread Marwan Sultan


Its 2 chipset RAM, each 256DDR total 512
Running on Dell Optiplex Gx260. P4 2.5

Do you think ram has something wrong! ? it should be like one ram chipset? 
has the problem?

I'll try them one at a time,

Thanks for the advise,

Thanks kevin, thanks Garrett


Marwan Sultan wrote:


Hello Guys,

I fresh installed FreeBSD 6.0R some wierd stuff going on!
Firts: the box restarted from it self like 4 times, and
/var/log/messages showing only one strange
line (for me) which is
Apr 22 01:10:46 box kernel: pid 5764 (cc1),
uid 0: exited on signal 6 (core dumped)

then i ran fsck, it cleared some files, now its not
restarting but, i'm not sure it will or it will not.

 second problem: whenever i try to install any port,
it gave an error msg during the make says:

cc1 in free(): error: junk pointer, too high to make sense
cc1 in malloc(): error: recursive call
cc: Internal error: Abort trap: 6 (program cc1)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1


 Anyone could Advise please?
 Marwan



How many RAM chips?  Try them one at a time...

KDK



_
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: Kernel messages

2006-04-21 Thread jekillen


On Apr 20, 2006, at 7:50 PM, Kevin Kinsey wrote:


jekillen wrote:
(cut)
Not without assistance, most likely ;-).

One link is to the inside network and the other is to static ip 
address

that is assigned but as yet has not been configured on the router to
receive requests from outside.
I admit, I am learning at this point. I've been watching the router 
security log and
have seen just in the last week (as long as it has had the static 
ip's assigned)

several hundred broadcast amplification attempts blocked.
And I have been reading my root mail and am now interested in a 
tutorial or

some published specifics about how to interpret these messages.
I'm running v6 release on AMD64. I'm setting up to host a web site.
thanks in advance.
JK
PS in the mean time I will be going through what I have already.



Generally, promiscuous mode is pretty much what you
have guessed ... used in network analysis.  Software such
as bpf(4), and higher level apps such as netgraph, tcpdump,
ethereal, etc. use promiscuous mode to grab network traffic.
So, the first thing you ask yourself is, have I (or anyone allowed
to be root) used any of this type of software?

There might be other explanations, but I'm not suitably
prepared to address them.

Kevin Kinsey

Actually I neglected to mention that I had used tcpdump on this machine
but not a 3 AM in the morning. But that is probably what it is all 
about.

JK

--
The idle mind knows not what it is it wants.
-- Quintus Ennius

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


getfiletime() and setfiletime()

2006-04-21 Thread Gary Kline
For my fellow hackers only,

With all the billions-and-billions of lines of C hacked 
by people reading this, do any of you have the functions that
would get and save-away the stat mtime, then be able to 
set the original mtime of the file to what it was?  

I am getting back to working on a programm that cleans away
embedded html, jpg, and other non ASCII (or 8859-1) and leaves 
just-plain-text.  This from my ~/Mail/* files.  Ideally, I
would like to set the timestamp of each file to what it was.
So before I re-invent wheels, I thought I'd ask the list.

Anybody?

tia, people,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Same error with all ports install!

2006-04-21 Thread Garrett Cooper

Marwan Sultan wrote:


Its 2 chipset RAM, each 256DDR total 512
Running on Dell Optiplex Gx260. P4 2.5

Do you think ram has something wrong! ? it should be like one ram 
chipset? has the problem?

I'll try them one at a time,

Thanks for the advise,

Thanks kevin, thanks Garrett


Marwan Sultan wrote:


Hello Guys,

I fresh installed FreeBSD 6.0R some wierd stuff going on!
Firts: the box restarted from it self like 4 times, and
/var/log/messages showing only one strange
line (for me) which is
Apr 22 01:10:46 box kernel: pid 5764 (cc1),
uid 0: exited on signal 6 (core dumped)

then i ran fsck, it cleared some files, now its not
restarting but, i'm not sure it will or it will not.

 second problem: whenever i try to install any port,
it gave an error msg during the make says:

cc1 in free(): error: junk pointer, too high to make sense
cc1 in malloc(): error: recursive call
cc: Internal error: Abort trap: 6 (program cc1)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1


 Anyone could Advise please?
 Marwan



How many RAM chips?  Try them one at a time...

KDK


   Another thing: Check the capacitors on your motherboard. If they the 
tops are swelling (tops are not flat) or bursting (emitting 
yellow/orange dialectric) on the capacitors around the RAM/CPU, it's 
time to either call Dell or get a new machine. The fault with bad 
capacitors is a well known quality control problem and if you search 
google for those terms, maybe you can get some more information as to 
what it is and why it occurs.

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


anyone understand torvald's critique of freebsd?

2006-04-21 Thread Peter
Does anyone here understand Linus Torvald's recent comments on FreeBSD?

http://bsdnews.com/view_story.php3?story_id=5735

__
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]


Re: anyone understand torvald's critique of freebsd?

2006-04-21 Thread Kris Kennaway
On Fri, Apr 21, 2006 at 08:56:29PM -0400, Peter wrote:
 Does anyone here understand Linus Torvald's recent comments on FreeBSD?
 
 http://bsdnews.com/view_story.php3?story_id=5735

He's railing against an option (options ZERO_COPY_SOCKETS) that is not
enabled by default in FreeBSD anyway for basically the same reasons he
says.

kris


pgpsRs8SBmjEo.pgp
Description: PGP signature


diablo-java crashes firefox

2006-04-21 Thread Rick Voland
I recently installed the new binary diablo-java from the FreeBSD 
Foundation (Thanks much for all your hard work).  It installed fine, but 
it doesn't work properly yet.   Firefox about:plugins indicates that 
diablo-java has been registered.


When I go to www.java.com and choose verify installation, Firefox 
crashes as soon as the webpage indicates Trying test 1 with the error 
message:


INTERNAL ERROR on Browser End: Listen on server socket failed
System error?:: Invalid argument



Configuration:

FreeBSD 6.0-RELEASE-p6 with SMP kernel
2 x 233MMX Pentium, 256 MB RAM
/etc/make.conf contains CPUTYPE?=pentium-mmx
diablo-jre-freebsd6-1.5.0.06.00.tbz
xorg-libraries-6.9.0
javavmwrapper-2.0_6
firefox-1.5.0.2,1 recompiled and reinstalled after installing 


diablo-java
[all software including operating system and kernel (except diablo-java) 
compiled on this computer through make, make install, make clean.]



-

pkg_add gave a warning after installing diablo-java that versions for 
xorg-libraries and javavmwrapper were newer than expected.




Another verification that diablo java installed properly:
$ /usr/local/bin/java -showversion
java version 1.5.0
Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b00)
Java HotSpot(TM) Server VM (build diablo-1.5.0_06-b00, mixed mode)

[snip the rest of the java help messages]


--

Thanks for any suggestions.

Rick

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


Re: Trunking connections

2006-04-21 Thread wc_fbsd

At 05:19 AM 4/21/2006, Michael Landin Hostbaek wrote:
In a branch office, I've got two ADSL lines setup (with two 
different ISPs) - one of them are supposed to work as backup line, 
but since it is a ADSL flat fee line, I was wondering if there's a 
way of setting up some sort of a trunk with FreeBSD, so I can make 
use of the extra bandwith.


I came up with a hack that has worked well for us.  We have a frac-T1 
line (12/24 ths) that is very reliable, but costs ~$600/month and 
only gets about 70KB/sec.  We also have a connection from the local 
cable company;  it's not terribly reliable, but it's only $40/month, 
and gets 460KB/sec.


I setup squid proxy with the option tcp outgoing address 12.x.x.x 
where the address is that of the cable NIC.  Then configured ipfw to 
forward any packets with the 12' address to the cable gateway.  We 
get very fast proxied speed for web browsing, ftp, and other bulk 
transfers.  But the regular traffic still goes over the T1 line.


Sorta kludgy, but since I'm no routing expert, I was pleased with the 
results  :)


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


Re: getfiletime() and setfiletime()

2006-04-21 Thread Dan Nelson
In the last episode (Apr 21), Gary Kline said:
   With all the billions-and-billions of lines of C hacked by
   people reading this, do any of you have the functions that
   would get and save-away the stat mtime, then be able to set the
   original mtime of the file to what it was?
 
   I am getting back to working on a programm that cleans away
   embedded html, jpg, and other non ASCII (or 8859-1) and leaves
   just-plain-text.  This from my ~/Mail/* files.  Ideally, I
   would like to set the timestamp of each file to what it was. So
   before I re-invent wheels, I thought I'd ask the list.

You can use mtree to do this.

-- 
Dan Nelson
[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: ruby don't compile after 5.2 - 5.3

2006-04-21 Thread Albert Shih
 Le 21/04/2006  18:14:48-0400, Kris Kennaway a ?crit
 On Fri, Apr 21, 2006 at 09:58:37PM +0200, Albert Shih wrote:
  Hi all
  
  After upgrade from 5.2.1-p* to 5.3-p29 I can't compile ruby18, I got this
  error 
  
  Generating callback.func
  Fatal error 'Spinlock called when not threaded.' at line 83 in file 
  /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2)
  
  And I don't have compile with thread (just like the advise).
  
  Any one have a solution ?
 
 You need to rebuild *all* your ports after performing major upgrades
 (despite both being in the 5.x branch, 5.2.1 to 5.3 was such a major
 upgrade).
 
 portupgrade -af

OK.

 
 Kris
 
 P.S. Why are you using an old version like 5.3 though?  It's not
 recommended.

No I prefere make upgrade from 5.2.1 to 5.3 before 5.4, step by step
5.2.1 -- 5.3
5.3 -- 5.4
5.4 -- 5.5

;-)

Thanks for your answer.

Regards.


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 i?me ?tage, plateau D, bureau 10
Tel  : 01 44 27 86 88
FAX  : 01 44 27 69 35
GSM(UFR) : 06 85 05 58 43
Heure local/Local time:
Sat Apr 22 06:19:33 CEST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getfiletime() and setfiletime()

2006-04-21 Thread Gary Kline
On Fri, Apr 21, 2006 at 10:12:04PM -0500, Dan Nelson wrote:
 In the last episode (Apr 21), Gary Kline said:
  With all the billions-and-billions of lines of C hacked by
  people reading this, do any of you have the functions that
  would get and save-away the stat mtime, then be able to set the
  original mtime of the file to what it was?
  
  I am getting back to working on a programm that cleans away
  embedded html, jpg, and other non ASCII (or 8859-1) and leaves
  just-plain-text.  This from my ~/Mail/* files.  Ideally, I
  would like to set the timestamp of each file to what it was. So
  before I re-invent wheels, I thought I'd ask the list.
 
 You can use mtree to do this.
 

How, exactly?  In ~/Mail are scores of files dating from 1991;
for the most part this Content-Type = text/html for rough
example only began in the late 90's.  But there are scads of
them.  I'm looking at pulling some of the guts from cp   (copy -p
that preserves the time-stamp [and more]).  If mtree is an easier
route, then great.   How would I run this file

-rw---  1 kline  wheel306870 Dec 22  2004 ebay.com

thru my filter and have wind up with its original timestamp.

gary

PS:  I'm prob'ly making this more complicated than need be


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: ruby don't compile after 5.2 - 5.3

2006-04-21 Thread Kris Kennaway
On Sat, Apr 22, 2006 at 06:21:15AM +0200, Albert Shih wrote:
  Le 21/04/2006  18:14:48-0400, Kris Kennaway a ?crit
  On Fri, Apr 21, 2006 at 09:58:37PM +0200, Albert Shih wrote:
   Hi all
   
   After upgrade from 5.2.1-p* to 5.3-p29 I can't compile ruby18, I got this
   error 
   
   Generating callback.func
   Fatal error 'Spinlock called when not threaded.' at line 83 in file 
   /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2)
   
   And I don't have compile with thread (just like the advise).
   
   Any one have a solution ?
  
  You need to rebuild *all* your ports after performing major upgrades
  (despite both being in the 5.x branch, 5.2.1 to 5.3 was such a major
  upgrade).
  
  portupgrade -af
 
 OK.
 
  
  Kris
  
  P.S. Why are you using an old version like 5.3 though?  It's not
  recommended.
 
 No I prefere make upgrade from 5.2.1 to 5.3 before 5.4, step by step
   5.2.1 -- 5.3
   5.3 -- 5.4
   5.4 -- 5.5
 
 ;-)
 
 Thanks for your answer.

Well, if you're just trying to upgrade to 5.5, there's no need to
upgrade all your ports in between, and you'll save a lot of time that
way.  Quickest of all is to do a binary upgrade direct to 5.5, of
course.

Kris


pgphDl0UyvKel.pgp
Description: PGP signature


Re: getfiletime() and setfiletime()

2006-04-21 Thread Dan Nelson
In the last episode (Apr 21), Gary Kline said:
 On Fri, Apr 21, 2006 at 10:12:04PM -0500, Dan Nelson wrote:
  In the last episode (Apr 21), Gary Kline said:
   With all the billions-and-billions of lines of C hacked by people
   reading this, do any of you have the functions that would get and
   save-away the stat mtime, then be able to set the original mtime
   of the file to what it was?
   
   I am getting back to working on a programm that cleans away
   embedded html, jpg, and other non ASCII (or 8859-1) and leaves
   just-plain-text.  This from my ~/Mail/* files.  Ideally, I would
   like to set the timestamp of each file to what it was. So before
   I re-invent wheels, I thought I'd ask the list.
  
  You can use mtree to do this.
 
 How, exactly?  In ~/Mail are scores of files dating from 1991; for
 the most part this Content-Type = text/html for rough example only
 began in the late 90's.  But there are scads of them.  I'm looking at
 pulling some of the guts from cp (copy -p that preserves the
 time-stamp [and more]).  If mtree is an easier route, then great. 
 How would I run this file
 
 -rw---  1 kline  wheel306870 Dec 22  2004 ebay.com
 
 thru my filter and have wind up with its original timestamp.

$ mtree -c -k time -p ~/Mail  mail.times

$ run filter

$ mtree -U -p ~/Mail  mail.times

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