Re: CVS files in src

2005-08-18 Thread Dev FreeBSD
On 8/19/05, Andrey V. Elsukov <[EMAIL PROTECTED]> wrote:
> Hi All!
> 
> Why doTARBALL target in src/release/Makefile create src tarballs without
> CVS directories?
> 
> --
> WBR, Andrey V. Elsukov
> 

Hi

Usually an individual would download the tarball to build the stuff
and not necessarily to sync up with the tree.

If you need a specific release version then just pull off the sources
using the specific release tag.

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


5.4 or 6 ?

2005-08-18 Thread Omer Faruk Sen
Hi, 

I will be installing a server that will be online for production environment 
in 1 month. I want your suggestions if I should use 5.4 or 6 ? 

I am thinking to install 6.0-Beta2 and upgrade to 6.0-RELEASE when it comes 
out. But I wanted to take your precious opinions. 







---
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
 



First Turkish Qmail book is out! Go check it.
Duydunuz mu! Turkiye'nin ilk Qmail kitabi cikti.
http://www.acikakademi.com/catalog/qmail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: src of boot loader.

2005-08-18 Thread Dev FreeBSD
On 8/19/05, Bsderss <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Can anyone please tell me where is the source code of
> i386 boot loader in the freebsd src tree?
> 
> 
> Obviously different arch has different boot loader. If
> I just want to see the src of i386 boot loader, is the
> path ./sys/boot/i386/loader the correct source for
> this? I remembered there is part of the boot loader
> code is written in assembly, but I couldn't find it
> here... I may be had a bad memory...
> 
> Thanks
> Sam.
> 

Take a look at
src/sys/boot/i386/boot0/boot0.S

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


Re: FreeBSD on current crop of laptops?

2005-08-18 Thread Uwe Laverenz
On Wed, Aug 17, 2005 at 10:11:38PM -0600, Tom Vilot wrote:

> I like the (big-ass) Toshiba Satellite machines, but I'm not wedded to 
> them. I am curious what people's experiences are with some of the newer 
> laptops and what might be recommended.

I can recommend the IBM Thinkpad R51, especially the models with Ati
7500 or 9000 graphics, because these chips are supported by the free
drivers that come with Xorg. I run FreeBSD 5.4 on my R51 and I am very
happy with it.

I have also heard positive statements about the Samsung X20 XVM 1600.

Uwe

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


Re: start up command for mysql

2005-08-18 Thread Ed Stover
Andrew L. Gould wrote:
> On Thu, 18 Aug 2005 13:53:13 -0700
> "Mick Wilcoxen" <[EMAIL PROTECTED]> wrote:
> 
> 
>>Ok, really new at this FreeBSD & Mysql stuff.
>> 
>>Which file do i put the startup command and the location of this ?
>> 
>>The startup command is as follows
>> 
>>/usr/local/mysql/bin/safe_mysqld &.
>> 
>>***
>>Mick Wilcoxen
>>(530)933-2882
> 
> 
> If you installed MySQL from the ports, you'll find a start-up file in
> in /usr/local/etc/rc.d/.  Just make sure the file name ends in ".sh"
> and MySQL will be started at bootup.
> 
> Andrew Gould
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
Dont forget to place it in the /etc/rc.conf as well.. darn rcsubr ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Games + pciE

2005-08-18 Thread Eric Murphy
Hey all! quick question for ya

I recently installed Enemy Territory to play a mod called ETF (www.etfgame.com) 
 I got the game working with no problems by installing a few linux packages..

linux_base-8-8.0_6  Base set of packages needed in Linux mode (only for i386)
linux_dri-4.3.0_3   Binary Linux DRI libraries for 3D hardware acceleration of 
linux-XFree86-libs-4.3.99.902_3 XFree86 libraries, Linux binary


However upon installing the nvidia drivers I have the option of useing the 
FreeBSD agp driver or the nvidia one.  ive treyd to use both.  The game runs 
alittle slow and sluggish so i figured it didnt have hardware acceleration.  So 
i need to enable AGP.  but then it dawned on me..im not running an agp card.. 
im running PCIe  (PCI Express, Asus Geforce 6600GT)

So my question is do i need to load some sort of PCIe driver? How can i get the 
game to run smoothly and not sluggish?

Any suggestions are welcome!

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


CVS files in src

2005-08-18 Thread Andrey V. Elsukov

Hi All!

Why doTARBALL target in src/release/Makefile create src tarballs without
CVS directories?

--
WBR, Andrey V. Elsukov


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


Re: Getting ipfw2 on FreeBSD-4.11-STABLE...

2005-08-18 Thread Forrest Aldrich

Thanks this worked well.

One further question, the manpage doesn't really elaborate much on the 
use of tables.  Particularly, how to utilize them in deny rules.   
Anyone have better examples, or did I miss something.



Thanks.


Mike Tancsa wrote:


On Thu, 18 Aug 2005 19:12:19 -0400, in sentex.lists.freebsd.questions
you wrote:

 

I have FreeBSD-4.11-STABLE on one of my systems.  I did a 
buildworld/installworld today - but I still have ipfw and not ipfw2 - 
even though the manpage says otherwise.  
   



Add 
IPFW2=TRUE 
in /etc/make.conf
and 
options IPFW2   #firewall

in the kernel

I *think* 
/usr/src/sbin/ipfw

make clean;make depend;make;make install
should work, and then a 
make buildkernel

should do the trick

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
 


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


Re: bootparamd doesn't allow parameters?

2005-08-18 Thread Dan Nelson
In the last episode (Aug 18), Brian J. McGovern said:
>   I'm in the process of trying to set up a Solaris jumpstart
> server in a lab, and I decided for chuckles to do it with FreeBSD.
> 
>   The problem I'm running in to is that apparently, the Sun bootparamd
> allows you to pass parameters as fields, for instance, as a couple of
> sample fields out of the Solaris-generated /etc/bootparams (note:
> entry is clearly not complete, but I didn't want to distract)
> 
>   testserver  rootopts=:rsize=32768 term=:vt100
> 
>   However, if I move this directly in to FreeBSD's /etc/bootparams, it
> will complain that it can not answer the request for "rootopts" from
> the Sun box.
> 
>   Is there something I'm missing? the man page seems to allude to
> the fact that all entries should be in the format of
> :. Or, am I going to have to look at finding
> another bootparamd than the stock one?

The code silently fails if any host field doesn't resolve to a valid IP
address.  Try the attached diff, which lets your example line work for
me.
 
-- 
Dan Nelson
[EMAIL PROTECTED]
Index: bootparamd.c
===
RCS file: /home/ncvs/src/usr.sbin/bootparamd/bootparamd/bootparamd.c,v
retrieving revision 1.11.4.1
diff -u -p -r1.11.4.1 bootparamd.c
--- bootparamd.c28 Nov 2004 14:10:19 -  1.11.4.1
+++ bootparamd.c19 Aug 2005 03:20:23 -
@@ -114,7 +114,7 @@ bp_getfile_res *
 bp_getfile_arg *getfile;
 struct svc_req *req;
 {
-  char *where, *index();
+  char *where;
   static bp_getfile_res res;
 
   if (debug)
@@ -127,35 +127,47 @@ struct svc_req *req;
 
   he = NULL;
   he = gethostbyname(getfile->client_name);
-  if (! he ) goto failed;
+  if (! he ) {
+if (debug) warnx("bad hostname %s", getfile->client_name);
+goto failed;
+  }
 
   strncpy(askname, he->h_name, sizeof(askname));
   askname[sizeof(askname)-1] = 0;
 
   if (getthefile(askname, getfile->file_id,buffer,sizeof(buffer))) {
+if (debug) warnx("matched: %s",buffer);
+res.server_name = "";
+res.server_path = "";
+res.server_address.address_type = IP_ADDR_TYPE;
+bzero(&res.server_address.bp_address_u.ip_addr,4);
+
 if ( (where = index(buffer,':')) ) {
   /* buffer is re-written to contain the name of the info of file */
   strncpy(hostname, buffer, where - buffer);
   hostname[where - buffer] = '\0';
   where++;
   strcpy(path, where);
-  he = gethostbyname(hostname);
-  if ( !he ) goto failed;
-  bcopy( he->h_addr, &res.server_address.bp_address_u.ip_addr, 4);
-  res.server_name = hostname;
   res.server_path = path;
-  res.server_address.address_type = IP_ADDR_TYPE;
-}
-else { /* special for dump, answer with null strings */
-  if (!strcmp(getfile->file_id, "dump")) {
-   res.server_name = "";
-   res.server_path = "";
-res.server_address.address_type = IP_ADDR_TYPE;
-   bzero(&res.server_address.bp_address_u.ip_addr,4);
-  } else goto failed;
+  if (hostname[0]) {
+he = gethostbyname(hostname);
+if ( !he ) {
+  if (debug) warnx("invalid hostname %s", hostname);
+  goto failed;
+}
+bcopy( he->h_addr, &res.server_address.bp_address_u.ip_addr, 4);
+res.server_name = hostname;
+  }
+} else { 
+  /* XXX allow "dump" keyword with no value.  Why? no idea. 
+ Fail otherwise. */
+  if (strcmp(getfile->file_id, "dump")) {
+if (debug) warnx("invalid value for keyword %s", getfile->file_id);
+goto failed;
+  }
 }
 if (debug)
-  fprintf(stderr, "returning server:%s path:%s address: %d.%d.%d.%d\n",
+  fprintf(stderr, "returning server:\"%s\" path:\"%s\" address: 
%d.%d.%d.%d\n",
 res.server_name, res.server_path,
 255 &  res.server_address.bp_address_u.ip_addr.net,
 255 & res.server_address.bp_address_u.ip_addr.host,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

src of boot loader.

2005-08-18 Thread Bsderss
Hi,

Can anyone please tell me where is the source code of
i386 boot loader in the freebsd src tree?

I found there is some code in the following paths:
# find . -name "loader*"
./share/examples/bootforth/loader.rc
./sys/boot/alpha/loader
./sys/boot/arc/loader
./sys/boot/common/loader.8
./sys/boot/efi/loader
./sys/boot/ficl/loader.c
./sys/boot/forth/loader.4th
./sys/boot/forth/loader.4th.8
./sys/boot/forth/loader.conf
./sys/boot/forth/loader.conf.5
./sys/boot/forth/loader.rc
./sys/boot/i386/loader
./sys/boot/i386/loader/loader.rc
./sys/boot/pc98/loader
./sys/boot/sparc64/loader

Obviously different arch has different boot loader. If
I just want to see the src of i386 boot loader, is the
path ./sys/boot/i386/loader the correct source for
this? I remembered there is part of the boot loader
code is written in assembly, but I couldn't find it
here... I may be had a bad memory...

Thanks
Sam.

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


src of boot loader.

2005-08-18 Thread Bsderss
Hi,

Can anyone please tell me where is the source code of
i386 boot loader in the freebsd src tree?

I found there is some code in the following paths:
# find . -name "loader*"
./share/examples/bootforth/loader.rc
./sys/boot/alpha/loader
./sys/boot/arc/loader
./sys/boot/common/loader.8
./sys/boot/efi/loader
./sys/boot/ficl/loader.c
./sys/boot/forth/loader.4th
./sys/boot/forth/loader.4th.8
./sys/boot/forth/loader.conf
./sys/boot/forth/loader.conf.5
./sys/boot/forth/loader.rc
./sys/boot/i386/loader
./sys/boot/i386/loader/loader.rc
./sys/boot/pc98/loader
./sys/boot/sparc64/loader

Obviously different arch has different boot loader. If
I just want to see the src of i386 boot loader, is the
path ./sys/boot/i386/loader the correct source for
this? I remembered there is part of the boot loader
code is written in assembly, but I couldn't find it
here... I may be had a bad memory...

Thanks
Sam.

__
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: Getting ipfw2 on FreeBSD-4.11-STABLE...

2005-08-18 Thread Mike Tancsa
On Thu, 18 Aug 2005 19:12:19 -0400, in sentex.lists.freebsd.questions
you wrote:

>I have FreeBSD-4.11-STABLE on one of my systems.  I did a 
>buildworld/installworld today - but I still have ipfw and not ipfw2 - 
>even though the manpage says otherwise.  

Add 
IPFW2=TRUE 
in /etc/make.conf
and 
options IPFW2   #firewall
in the kernel

I *think* 
/usr/src/sbin/ipfw
make clean;make depend;make;make install
should work, and then a 
make buildkernel
should do the trick

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.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 ipfw2 on FreeBSD-4.11-STABLE...

2005-08-18 Thread nawcom

you can always update the Makefile / source.

theres 101 ways to grap the updated copy of the source, so heres one of em.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/ipfw/

good luck :)
Ben

Forrest Aldrich wrote:

I have FreeBSD-4.11-STABLE on one of my systems.  I did a 
buildworld/installworld today - but I still have ipfw and not ipfw2 - 
even though the manpage says otherwise. 
It's been a while since I updated this system - I looked through the 
docs and no mention of this in UPDATING etc.


I see in the /usr/src/sbin/ipfw directory a define of -DIPFW2.

So before I hack further, I wonder if I messed something up or if 
there's a switch I must implement to get ipfw2 running on here.



Thanks.

___
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: (no subject)

2005-08-18 Thread nawcom

did you check out the handbook before you sent the email?

I dont know any specifics on what issues your having - heres a link for 
the page you are looking for in the freebsd handbook


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-samba.html

hope this helps :)

-Ben

Garrett Cooper wrote:



On Aug 18, 2005, at 5:29 PM, Неверов Дмитрий wrote:


Hello FreeBSD-questions,

 I'm newbie to FreeBSD, and I have a question: how can I configure
 FreeBSD for work in Windows workgroup? I know my IP, and the name of
 the workgroup. Is it necessary to know anything else?

Neverov D.,
[EMAIL PROTECTED]



In what respect do you mean? Networking? Filesharing? Printer sharing?
-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: fd_set

2005-08-18 Thread nawcom
Now im your basic programmer, so the only thing i can relate fd_set to 
are the file descriptors (bit array i think) which are declared in the 
select function. select is used for basic input/output channel control.


So by saying that -

1) perhaps the file that is being built is missing the sys header file, 
sys/types.h (if im wrong somebody correct me). I have ended up fixing 
#include and #define typos in programs due to an unsuccessful build 
which seems to be common, so maybe this may be your case also.


2) there might be something wrong with the header file itself, like 
fd_set not being declared.


oh well - like i said -im your basic c/kernel  coder, but this is what i 
would check out if i was thrown into your shoes.


good luck,
nawcom
perhaps there might be something wrong with glibc?




Jonathan Herriott wrote:


I'm getting an error while trying to install GLUT.  I've narrowed down that
the fd_set structure is not declared.  The only problem is that I don't know
what package/library it might belong to (It's not part of GLUT).  I've found
no information on it.  Could someone point me in the right direction?





Thanks,



Jonathan Herriott.

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


Xorg error

2005-08-18 Thread Brian
I have the Xorg x window system on a freebsd box, and it has been working for a 
while. One time i remotely (through ssh) rebooted the computer while apparently 
the x window system was up. After the reboot i get an error when using startx, 
which says, "xf86EnableIO: Failed to open /dev/io for extended I/O

X connection to :0:0. broken (explicit kill or server shutdown).
xauth: (argv):1:1: bad display name "freebsd.local:0 [that computers 
host.domain] in "remove" command. the logfiles in an attachment. I tried 
rebuilding the kernel, making sure device io was in there, but that didn't 
work. any help appreciated.

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

Re: themes

2005-08-18 Thread nawcom

interesting question, but it CAN be related to freebsd none the less :)

most themes from freshmeat (themes.org) usually come with backgrounds. 
what window manager are you using? I usually get all my themes there - 
and they all have background images; my usual WMs are 
blackbox/fluxbox/openbox.


i nice website that has excellent 3d art is Digital Blasphemy from a 
cool guy Ryan Bliss.

http://www.digitalblasphemy.com/

have fun, and be sure you were looking at the right page on themes.org,

Ben

[EMAIL PROTECTED] wrote:


Hey everyone,

I downloaded some themes from freshmeat hoping to get the entire theme but
realised that they don't come with the cool background images.  Where is a
good place to get background images, like the 3D arty ones?

Thanks

Gareth

___
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: themes

2005-08-18 Thread Garrett Cooper

On Aug 18, 2005, at 5:09 PM, Mike Hernandez wrote:


On 8/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hey everyone,

I downloaded some themes from freshmeat hoping to get the entire  
theme but

realised that they don't come with the cool background images.



Some do, some don't. I actually find themes.org (now
themes.freshmeat.net) a good source for backgrounds... I get them from
themes made for window managers I don't even use ;)  Currently I'm
using http://themes.freshmeat.net/projects/rootbox/

If you like the rpg Final Fantasy XI you can check out
http://themes.freshmeat.net/projects/mithraranger/


The mithraranger style was made by a student I had working with me
over the summer as an intern. As you can see I allowed him to use
bluefish, after spending a week on vimtutor just to make sure he
appreciated how lucky he is to have a nice gui haha :)


Mike


Deviant art has some nice wallpaper too, but many times that requires  
a lot of time/possibly a paid for membership to the site.

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


Re: (no subject)

2005-08-18 Thread Garrett Cooper


On Aug 18, 2005, at 5:29 PM, Неверов Дмитрий wrote:


Hello FreeBSD-questions,

 I'm newbie to FreeBSD, and I have a question: how can I configure
 FreeBSD for work in Windows workgroup? I know my IP, and the name of
 the workgroup. Is it necessary to know anything else?

Neverov D.,
[EMAIL PROTECTED]


In what respect do you mean? Networking? Filesharing? Printer sharing?
-Garrett___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portsdb (Warning: Duplicate INDEX)

2005-08-18 Thread RW
On Thursday 18 August 2005 14:03, bob self wrote:
>...
> The problem:
>...
> Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.2
> Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635
>...

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


(no subject)

2005-08-18 Thread Неверов Дмитрий
Hello FreeBSD-questions,

 I'm newbie to FreeBSD, and I have a question: how can I configure
 FreeBSD for work in Windows workgroup? I know my IP, and the name of
 the workgroup. Is it necessary to know anything else?

Neverov D.,
[EMAIL PROTECTED]




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


USB video devices supported / Video surveillance?

2005-08-18 Thread Nikolas Britton
Hello all...

I was just recruited by a friend to help build an Internet based video
surveillance system, I recommend FreeBSD to him for the project. I
checked the 5.4 hardware notes but didn't see anything about USB video
capture devices, I only see the PCI based bktr devices... So are they
supported?

It would also be very helpful if you could point me in the right
direction for software, how-to's, etc. for doing this project. I think
one of the major stumbling blocks will be setting the system to
trigger via a motion sensor.

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


comtrol rocketport 16 PCI

2005-08-18 Thread Jim Pazarena

the 5.4 kernel appears to support rocketport simply by including
"device rp" in the kernel compile, after which devices like:

/dev/ttyR[0-9a-f]
/dev/ttyiR[0-9a-f]
/dev/ttylR[0-9a-f]
/dev/cuaR[0-9a-f]
/dev/cuaiR[0-9a-f]
/dev/cualR[0-9a-f]

get created.

would someone please advise the purpose of the "iR" & "lR" devices?

also, comtrol has some kind of support for the 5 kernel on their
ftp site; with a few instructions on how to remove some existing
files, add some of theirs, and re-compile the kernel.
their instructions suggest that ports are: /dev/ttyC* and /dev/cuaC*

when following _their_ instructions, a fresh kernel compile crashes.
I see someone posted a question WRT the compile crash back in 1/24/05.
there were no responses.

I would like to confirm that the existing FreeBSD settings for rocketport
support do indeed work, and that it isn't necessary to go thru comtrol's
compilation routine.

TIA

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


Re: themes

2005-08-18 Thread Mike Hernandez
On 8/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hey everyone,
> 
> I downloaded some themes from freshmeat hoping to get the entire theme but
> realised that they don't come with the cool background images.  

Some do, some don't. I actually find themes.org (now
themes.freshmeat.net) a good source for backgrounds... I get them from
themes made for window managers I don't even use ;)  Currently I'm
using http://themes.freshmeat.net/projects/rootbox/

If you like the rpg Final Fantasy XI you can check out
http://themes.freshmeat.net/projects/mithraranger/


The mithraranger style was made by a student I had working with me
over the summer as an intern. As you can see I allowed him to use
bluefish, after spending a week on vimtutor just to make sure he
appreciated how lucky he is to have a nice gui haha :)


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


Re: Encrypted filesystem cgd

2005-08-18 Thread Daniel Marsh

On Wed, 10 Aug 2005 18:26:44 +0800, vittorio <[EMAIL PROTECTED]> wrote:

I've been reading with interest in Dru Lavigne's "BSD Hacks" of an  
encrypted
filesystem named cgd which at the time of her writing was included in  
NetBSD

only.

has cgd  been ported in FreeBSD (doesn't seem to me)?



It's possible, and if it hasn't been done it mightn't be far off.


OR

Is there anything similar in FreeBSD?


There certainly is. In the past I have used GEOM Based Disk Encryption  
(GBDE), because my computer had already been partitioned I used GBDE in  
combination with mdconfig (created a 2g file with dd, used mdconfig to  
configure it as a device, then ran disklabel and newfs on the md and set  
it up with GBDE). This was using 5.1 at the time and it ran extremely  
well, the only problem I ever encountered was when copying several hundred  
megabytes of data to the encrypted disk, it would then cause the whole  
computer to lock up, this could have been because of the use of mdconfig  
or my laptop being dodgy.



Ciao
Vittorio


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


ctags with recursion and sort

2005-08-18 Thread Dev FreeBSD
Hello,

I am trying to shift over from Linux to FreeBSD.

Tried to use 'ctags' for FreeBSD sources.
However, I could not find the '--recurse' and '--sort' options in ctags
available on FreeBSD.

Are there any alternatives.

I have a dual-boot Linux and FreeBSD 5.4

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


Re: themes

2005-08-18 Thread Ian Moore
On Thursday 18 August 2005 12:20, [EMAIL PROTECTED] wrote:
> Hey everyone,
>
> I downloaded some themes from freshmeat hoping to get the entire theme but
> realised that they don't come with the cool background images.  Where is a
> good place to get background images, like the 3D arty ones?
>
> Thanks
>
> Gareth

http://wallpapers.neo5k.de/index.shtml
http://www.kde-look.org/


-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpdWAlNSG3qB.pgp
Description: PGP signature


Getting ipfw2 on FreeBSD-4.11-STABLE...

2005-08-18 Thread Forrest Aldrich
I have FreeBSD-4.11-STABLE on one of my systems.  I did a 
buildworld/installworld today - but I still have ipfw and not ipfw2 - 
even though the manpage says otherwise.  

It's been a while since I updated this system - I looked through the 
docs and no mention of this in UPDATING etc.


I see in the /usr/src/sbin/ipfw directory a define of -DIPFW2.

So before I hack further, I wonder if I messed something up or if 
there's a switch I must implement to get ipfw2 running on here.



Thanks.

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


bootparamd doesn't allow parameters?

2005-08-18 Thread Brian J. McGovern
All,
I'm in the process of trying to set up a Solaris jumpstart server in
a lab, and I decided for chuckles to do it with FreeBSD.

The problem I'm running in to is that apparently, the Sun bootparamd
allows you to pass parameters as fields, for instance, as a couple of sample
fields out of the Solaris-generated /etc/bootparams (note: entry is clearly
not complete, but I didn't want to distract)

testserver  rootopts=:rsize=32768 term=:vt100

However, if I move this directly in to FreeBSD's /etc/bootparams, it
will complain that it can not answer the request for "rootopts" from the Sun
box.

Is there something I'm missing? the man page seems to allude to the
fact that all entries should be in the format of :. Or, am
I going to have to look at finding another bootparamd than the stock one?

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


Re: ath0 wont attach

2005-08-18 Thread Glyn Tebbutt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Hi
> I've just got hold of a Netgear WG511T in hope to get wireless working on my 
> laptop (I checked the FreeBSD hardware guide first and it said it was 
> supported and the ath man file) so I load the module's and pop the card in 
> but in return I get
> 
> ath0:  mem 0x9000-0x9000 irq 11 at device 0.0 on 
> cardbus0
> ath0: unable to attach hardware; HAL status 3
> 
> I've checked google and round about's and noone seem's to have this error. 
> I'am testing 6.0-BETA2 so I don't know if that has anything to do with it. 
> Has anyone come across this or better yet know's why this is happening? I'm 
> really new to freebsd so still finding my feet.
> 
> Cheers
> Glyn
> 
> -
> Email sent from www.ntlworld.com
> Virus-checked using McAfee(R) Software 
> Visit www.ntlworld.com/security for more information
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Update
For anyone who comes across this add the following to /boot/loader.conf
hw.pci.allow_unsupported_io_range="1"
hw.cbb.start_memory="536870912"

Reboot bingo works
Cheers

- --
++
| | Glyn Tebbutt |
| +--+
| www: http://www.plasticmongoose.com|
| GPG: http://www.plasticmongoose.com/d3c3it/misc/d3c3it.gpg |
| Email: [EMAIL PROTECTED]   |
||
| "Damn you, vile woman! You've impeded my work since the|
| day I escaped from your wretched womb. - Stewie Griffin|
++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDBPkIMmCtbXGg1+4RArtVAKDQA3hww2TPw4Kc8E4aCVv4ho971wCgg/ZN
9soE7LruDIKReHd82ygwlUw=
=o/GV
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems withpcmcia & smartmedia

2005-08-18 Thread vittorio
When I insert my pccard (smartmedia adapter pcmcia - hama) freebsd 5.4 doesn't 
seem to recognize it as a storage device. In fact /var/log/messages says:
.. 
Aug 18 19:33:03 vittorio kernel: pccard0: Allocation failed for cfe 0
Aug 18 19:33:03 vittorio kernel: ata2: <> at port 0x2050-0x205f 
irq 11 function 0 config 1 on pccard0
..

The same smartmedia inside the Olympus camera and connected via usb is instead 
happily seen as a scsi device.

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


Re: start up command for mysql

2005-08-18 Thread Andrew L. Gould
On Thu, 18 Aug 2005 13:53:13 -0700
"Mick Wilcoxen" <[EMAIL PROTECTED]> wrote:

> Ok, really new at this FreeBSD & Mysql stuff.
>  
> Which file do i put the startup command and the location of this ?
>  
> The startup command is as follows
>  
> /usr/local/mysql/bin/safe_mysqld &.
>  
> ***
> Mick Wilcoxen
> (530)933-2882

If you installed MySQL from the ports, you'll find a start-up file in
in /usr/local/etc/rc.d/.  Just make sure the file name ends in ".sh"
and MySQL will be started at bootup.

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


start up command for mysql

2005-08-18 Thread Mick Wilcoxen
Ok, really new at this FreeBSD & Mysql stuff.
 
Which file do i put the startup command and the location of this ?
 
The startup command is as follows
 
/usr/local/mysql/bin/safe_mysqld &.
 
 
 
***
Mick Wilcoxen
(530)933-2882
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wireless DHCP + wep

2005-08-18 Thread Pablo Allietti

patara. he terminado de instalar todo en tu notebook y funciona perfecto. pero 
tengo 1
solo problema con la Wireless LAN. el sistema la detecta ok cargo
modulos y demas pero a la hora de hacer el dhclient me tira este error,
pregunte en las listas, nadie sabe que puede ser ya que la tarjeta es
muy nueva.

De todas formas encontre un modulo que lo compile lo carge y todo ok
menos este problema. :(


dhclient: Can't Attach interface iwi0 to bpf device /dev/bpf1: Network
is down


quizas tu o Hugo pueden saber de este problema y ver de solucionarlo
antes de que vengas a uruguay.




-- 

.-

Pablo Allietti
LACNIC

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


Re: Network Interface 'overload' in 4.11

2005-08-18 Thread Jim Durham
On Thursday 18 August 2005 02:31 pm, you wrote:
> Sounds like viral activity to me. I has this at work recently
> where 2 mtob infected machines where able to bring the entire
> 100mbs switched network to its needs  If you run ethereal you
> may find the network is being flooded by arp lookups from the
> Windows machine in question.

Yes. I agree. Although we've run Symantec on the silly box and 
nothing is there with the latest identity files. In fact, now 
you can hook it back up to the net and all is fine. Maybe it got 
fixed by one of the 'anti-worm worms' ?  8-) .

What I was really wondering is if there is some way of preventing 
one silly Windows box from taking the FreeBSD server into a 
state where it is pretty much useless network-wise.

Setting throttling is one thing that was suggested, but as I 
recall, when I tried that, it actually made no difference 
because it throttled the interface and it was useless anyway.

Doesn't ethereal really just run tcpdump?  Tcpdump showed very 
little. I guess because it was running on the same machine and 
the machine wasn't delivering packets to the internal 
networking..or it was infernally slow and it didn't get much to 
show.

Probably if I had a 2nd FreeBSD box monitoring the network on a 
hub insdtead of a switch, that would work, but this is an "outer 
office" with no on-site IT staff and that is sort of hard to 
accomplish.

Thanks!

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


Re: wireless DHCP + wep

2005-08-18 Thread Pablo Allietti
On Thu, Aug 18, 2005 at 03:45:11PM -0400, Bob Johnson wrote:
> On 8/18/05, Pablo Allietti <[EMAIL PROTECTED]> wrote:

i try the dhclient option before. but nothing the same message 







> > On Thu, Aug 18, 2005 at 10:09:11AM -0800, Beecher Rintoul wrote:
> > > On Thursday 18 August 2005 09:38 am, Pablo Allietti wrote:
> > > > Hi all  i have a question.
> > 
> > ok this work but not assign any ip ... and when i run the dhclient iwi0
> > 
> > in the /var/log/mesages give an error
> > 
> > dhclient: Can't Attach interface iwi0 to bpf device /dev/bpf1: Network
> > is down
> > 
> > 
> > any help??? please
> > 
> > 
> > > >
> > > > i configure a Intel 2200 wireless card and the system detect ok and
> > load
> > > > in the start time.
> > > >
> > > > so. now i need to add wep Key and DHCP.
> > > >
> > > > is that possible to do in automatically.
> > > >
> > > > because rigth now i cant do dhcp and need to do a ifconfig blablabla
> > > > wepkey xx wepmode 0 any time when i restart my laptop.
> > > 
> > > In your /etc/rc.conf put:
> > > 
> > > ifconfig_wi0="DHCP"
> > > 
> > > Add the following file to /etc:start_if.wi0
> > > 
> > > Add your ifconfig settings to that file:
> > > 
> > > ifconfig wi0 ssid whatever wepkey xx wepmode 0
> > > 
> > > Of course change wi0 to whatever driver your card uses. This worked for me
> > and 
> > > should work when you reboot.
> > > 
> > > Beech
> 
> It appears that in 6.0, you will be able to simultaneously invoke DHCP
> and include ifconfig options in the ifconfig_wi0 line of rc.conf, so
> this will become even simpler.
> 
> If you need to be able to move your laptop between networks with
> different WEP keys (or WEP vs. no WEP), dhclient.conf might still be
> the easiest method to use, although of course start_if.wi0 can be an
> arbitrarily complex script.
> 
> E.g. to support multiple networks in dhclient.conf you might say
> 
> interface "wi0" {
>   media 
> "ssid home wepmode on weptxkey 1 wepkey 1:0x123ab",
> "ssid work wepmode on weptxkey 3 wepkey 3:0xabcde01234fe",
> "ssid - wepmode off";
> }
>  
> Or something like that, give or take a syntax error or two.  The dhcp
> client will try each of those configurations in order until it finds
> one that successfully returns a dhcp configuration.
> 
> If you are using a version of FreeBSD that supports wpa_supplicant (6
> or 7, I think), then you would use its configuration file instead of
> dhclient.conf, with of course a totally different syntax.
> 
> - Bob
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
---end quoted text---

-- 

.-

Pablo Allietti
LACNIC

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


Problems with pppoed !

2005-08-18 Thread Ovidiu Ene

Hello guys

I have problems with pppoed. I've used to run over almost 100 users, it 
worked fine for 4 months, now is not working, it seems it forks many 
many processes and no one is able to connect.


cut /var/log/messages

this is the error i get

Aug 18 22:59:34 server kernel: failed in ng_con_part2(B)failed in 
ng_con_part2(B)

Aug 18 22:59:34 server kernel: failed in ng_con_part2(B)
Aug 18 22:59:34 server kernel: failed in ng_con_part2(B)failed in 
ng_con_part2(B)

Aug 18 22:59:34 server kernel: failed in ng_con_part2(B)
Aug 18 22:59:35 server last message repeated 208 times
Aug 18 22:59:35 server kernel: failed in ng_con_part2(B)failed in 
ng_con_part2(B)
Aug 18 22:59:35 server kernel: failed in ng_con_part2(B)failed in 
ng_con_part2(B)failed in ng_con_part2(B)failed in ng_con_part2(B)failed 
in ng_con_part2(B)failed in ng_con_part2(B)failed in 
ng_con_part2(B)failed in ng_con_part2(B)failed in ng_con_part2(B)failed 
in ng_con_part2(B)

Aug 18 22:59:35 server kernel: failed in ng_con_part2(B)
Aug 18 22:59:35 server kernel: failed in ng_con_part2(B)failed in 
ng_con_part2(B)

Aug 18 22:59:35 server kernel: failed in ng_con_part2(B)

what should i do?


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


ath0 wont attach

2005-08-18 Thread d3c3it-linux
Hi
I've just got hold of a Netgear WG511T in hope to get wireless working on my 
laptop (I checked the FreeBSD hardware guide first and it said it was supported 
and the ath man file) so I load the module's and pop the card in but in return 
I get

ath0:  mem 0x9000-0x9000 irq 11 at device 0.0 on cardbus0
ath0: unable to attach hardware; HAL status 3

I've checked google and round about's and noone seem's to have this error. I'am 
testing 6.0-BETA2 so I don't know if that has anything to do with it. Has 
anyone come across this or better yet know's why this is happening? I'm really 
new to freebsd so still finding my feet.

Cheers
Glyn

-
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software 
Visit www.ntlworld.com/security for more information

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


ath0 wont attach

2005-08-18 Thread d3c3it-linux
Hi
I've just got hold of a Netgear WG511T in hope to get wireless working on my 
laptop (I checked the FreeBSD hardware guide first and it said it was supported 
and the ath man file) so I load the module's and pop the card in but in return 
I get

ath0:  mem 0x9000-0x9000 irq 11 at device 0.0 on cardbus0
ath0: unable to attach hardware; HAL status 3

I've checked google and round about's and noone seem's to have this error. I'am 
testing 6.0-BETA2 so I don't know if that has anything to do with it. Has 
anyone come across this or better yet know's why this is happening? I'm really 
new to freebsd so still finding my feet.

Cheers
Glyn

-
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software 
Visit www.ntlworld.com/security for more information

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


Re: wireless DHCP + wep

2005-08-18 Thread Bob Johnson
On 8/18/05, Pablo Allietti <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 18, 2005 at 10:09:11AM -0800, Beecher Rintoul wrote:
> > On Thursday 18 August 2005 09:38 am, Pablo Allietti wrote:
> > > Hi all  i have a question.
> 
> ok this work but not assign any ip ... and when i run the dhclient iwi0
> 
> in the /var/log/mesages give an error
> 
> dhclient: Can't Attach interface iwi0 to bpf device /dev/bpf1: Network
> is down
> 
> 
> any help??? please
> 
> 
> > >
> > > i configure a Intel 2200 wireless card and the system detect ok and
> load
> > > in the start time.
> > >
> > > so. now i need to add wep Key and DHCP.
> > >
> > > is that possible to do in automatically.
> > >
> > > because rigth now i cant do dhcp and need to do a ifconfig blablabla
> > > wepkey xx wepmode 0 any time when i restart my laptop.
> > 
> > In your /etc/rc.conf put:
> > 
> > ifconfig_wi0="DHCP"
> > 
> > Add the following file to /etc:start_if.wi0
> > 
> > Add your ifconfig settings to that file:
> > 
> > ifconfig wi0 ssid whatever wepkey xx wepmode 0
> > 
> > Of course change wi0 to whatever driver your card uses. This worked for me
> and 
> > should work when you reboot.
> > 
> > Beech

It appears that in 6.0, you will be able to simultaneously invoke DHCP
and include ifconfig options in the ifconfig_wi0 line of rc.conf, so
this will become even simpler.

If you need to be able to move your laptop between networks with
different WEP keys (or WEP vs. no WEP), dhclient.conf might still be
the easiest method to use, although of course start_if.wi0 can be an
arbitrarily complex script.

E.g. to support multiple networks in dhclient.conf you might say

interface "wi0" {
  media 
"ssid home wepmode on weptxkey 1 wepkey 1:0x123ab",
"ssid work wepmode on weptxkey 3 wepkey 3:0xabcde01234fe",
"ssid - wepmode off";
}
 
Or something like that, give or take a syntax error or two.  The dhcp
client will try each of those configurations in order until it finds
one that successfully returns a dhcp configuration.

If you are using a version of FreeBSD that supports wpa_supplicant (6
or 7, I think), then you would use its configuration file instead of
dhclient.conf, with of course a totally different syntax.

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


portsdb: db format

2005-08-18 Thread Stepan Rakhimov

Hi,
I have 2 FreeBSD-6-BETA2 systems,

I've noticed that my ports db's are in different format (dbm_hash and 
bdb1_btree)
May i choose this format by hand to make them similar? (i've already 
recompiled appropriate ports, but with no effect)


It's not a big problem, but i'm using /usr/ports as NFS folder and 
portupgrade always has to rebuild this db.


Stepan

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


multiple network interfaces

2005-08-18 Thread Daniel Valencia
Hello, everybody

Is there any limit as of how many interfaces can
freebsd handle? Im trying to build a switch in a PC
box, putting multiple NICs and some software... The
issue is, even though all of the cards work correctly
by themselves, once I put them together, it doesnt
matter what slots i use, I can never make more than
two of them work.  For even though all the rest appear
up as well, I cant ping neither them nor their peers
(Im using crossover cables).

Thank you,

Daniel




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Postfix Help

2005-08-18 Thread Devin Miller

Greetings Everyone,

I have recently been experimenting with FreeBSD 5.4 RELEASE to setup an
email server following the directions listed here:
http://postfixwiki.org/index.php?title=Virtual_Users_and_Domains_with_Courie
r-IMAP_and_MySQL

I am pretty comportable with FreeBSD and my problem appears to be with
version conflicts.  I installed MySQL version 5.0.9_1.

During the make process for Postfix 2.1 a different version of the MySQL
client tried to install.  It throws an error telling me that they are
incompatible and the port installation process for Postfix starts there.

Is there any way around this or do I have to uninstall the current version
of MySQL and use the one that Postfix wants?  It just seems like MySQL 3.2
is much older than the 5.x that I am used to.

Thanks in advance for any help/suggestions.

Devin Miller





  _  

avast! Antivirus  : Outbound message clean. 


Virus Database (VPS): 0533-3, 08/17/2005
Tested on: 8/18/2005 3:16:06 PM
avast! - copyright (c) 1988-2005 ALWIL Software.




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


Re: wireless DHCP + wep

2005-08-18 Thread Pablo Allietti
On Thu, Aug 18, 2005 at 10:09:11AM -0800, Beecher Rintoul wrote:
> On Thursday 18 August 2005 09:38 am, Pablo Allietti wrote:
> > Hi all  i have a question.

ok this work but not assign any ip ... and when i run the dhclient iwi0

in the /var/log/mesages give an error

dhclient: Can't Attach interface iwi0 to bpf device /dev/bpf1: Network
is down


any help??? please


> >
> > i configure a Intel 2200 wireless card and the system detect ok and load
> > in the start time.
> >
> > so. now i need to add wep Key and DHCP.
> >
> > is that possible to do in automatically.
> >
> > because rigth now i cant do dhcp and need to do a ifconfig blablabla
> > wepkey xx wepmode 0 any time when i restart my laptop.
> 
> In your /etc/rc.conf put:
> 
> ifconfig_wi0="DHCP"
> 
> Add the following file to /etc:start_if.wi0
> 
> Add your ifconfig settings to that file:
> 
> ifconfig wi0 ssid whatever wepkey xx wepmode 0
> 
> Of course change wi0 to whatever driver your card uses. This worked for me 
> and 
> should work when you reboot.
> 
> 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
> / \ 
> ---
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
---end quoted text---

-- 

.-

Pablo Allietti
LACNIC

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


Re: man malloc

2005-08-18 Thread Dmitry Mityugov
On 8/18/05, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
> On 2005-08-18 12:08, Sergey Matveychuk <[EMAIL PROTECTED]> wrote:
> >Chuck Swiger wrote:
> >>>What is pointer coercion? I have no pointer before malloc() returns.
> >>
> >> Right.  Well, malloc returns a (void *), but most people want to use the
> >> memory malloc returns to hold their own arrays, structs, whatever, which
> >> means that you need to be able to coerce the (void *) malloc gave you
> >> into whatever pointer type you want to actually use.
> >>
> >> So the memory malloc gives you needs to be aligned so that it's OK to be
> >> used for even the most restrictive datatype known to the system,
> >> commonly 8, 16, or 32 bytes.
> >
> > Pointer coercion means a type cast? I see now.
> > I read it as 'force change of pointer value' before.
> 
> It may be surprising, but casting back and forth *MAY* change the value
> of the pointer.
...

Could you back up this assertion with an example, please?


-- 
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wireless DHCP + wep

2005-08-18 Thread Beecher Rintoul
On Thursday 18 August 2005 09:38 am, Pablo Allietti wrote:
> Hi all  i have a question.
>
> i configure a Intel 2200 wireless card and the system detect ok and load
> in the start time.
>
> so. now i need to add wep Key and DHCP.
>
> is that possible to do in automatically.
>
> because rigth now i cant do dhcp and need to do a ifconfig blablabla
> wepkey xx wepmode 0 any time when i restart my laptop.

In your /etc/rc.conf put:

ifconfig_wi0="DHCP"

Add the following file to /etc:start_if.wi0

Add your ifconfig settings to that file:

ifconfig wi0 ssid whatever wepkey xx wepmode 0

Of course change wi0 to whatever driver your card uses. This worked for me and 
should work when you reboot.

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
/ \ 
---











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


Re: wireless DHCP + wep

2005-08-18 Thread Craig Kleski
On Thursday 18 August 2005 05:38 pm, Pablo Allietti wrote:
> Hi all  i have a question.
>
> i configure a Intel 2200 wireless card and the system detect ok and
> load in the start time.
>
> so. now i need to add wep Key and DHCP.
>
> is that possible to do in automatically.
>
> because rigth now i cant do dhcp and need to do a ifconfig blablabla
> wepkey xx wepmode 0 any time when i restart my laptop.
>
> thanks.

You can create a file "/etc/start_if.[name of interface]" that contains 
the appropriate ifconfig.  For example, with my Intel 2100, I have the 
file "/etc/start_if.ipw0" which contains "ifconfig ipw0 ssid xxx 
authmode xxx" etc etc.

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


Re: wireless DHCP + wep

2005-08-18 Thread Bob Johnson
On 8/18/05, Pablo Allietti <[EMAIL PROTECTED]> wrote:
> Hi all  i have a question.
> 
> i configure a Intel 2200 wireless card and the system detect ok and load
> in the start time.
> 
> so. now i need to add wep Key and DHCP.
>  
> is that possible to do in automatically.
> 
> because rigth now i cant do dhcp and need to do a ifconfig blablabla
> wepkey xx wepmode 0 any time when i restart my laptop.
> 

Read the dhclient.conf man pages.  I think you use the "media"
statement to do it, which lets you list alternate interface
configurations that DHCP should attempt to use until it finds one that
successfully communicates with a DHCP server.  I don't remember the
details, but it has come up before, so you might be able to find an
example by searching the mailing list archives.  Maybe even in the
Handbook.

The ifconfig_xxx statements in rc.conf are just the arguments that get
sent to ifconfig, so you can put your wep settings in rc.conf that
way, but at the present time I don't think that method lets you
configure WEP and also use DHCP (I've read rumors that it will in the
future).

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


Re: wireless DHCP + wep

2005-08-18 Thread Andrew L. Gould
On Thu, 18 Aug 2005 14:38:51 -0300
Pablo Allietti <[EMAIL PROTECTED]> wrote:

> Hi all  i have a question.
> 
> i configure a Intel 2200 wireless card and the system detect ok and
> load in the start time.
> 
> so. now i need to add wep Key and DHCP.
>  
> is that possible to do in automatically.
> 
> because rigth now i cant do dhcp and need to do a ifconfig blablabla
> wepkey xx wepmode 0 any time when i restart my laptop.
> 
> thanks.

You can configure your interface using /stand/sysinstall by
selecting "Index", then "Network Interfaces".  There's a place in the
module to put additional ifconfig arguments.  The
appropriate configuration entries will be added to /etc/rc.conf.

If that doesn't work, you can a script in /usr/local/etc/rc.d.  If you
use a firewall, you may have to reload the firewall rules after the
interface is configured; but you can have the script do this as well.

Best of 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]"


Logitech mouse

2005-08-18 Thread Paul Schmehl
Has anybody managed to get *all* the buttons working on a Logitch Wireless 
Optical Mouse?


I'm running 5.4 SECURITY with Xorg 6.8.2.  Here's my xorg.conf stuff:

Section "ServerLayout"
   Identifier "X.org Configured"
   Screen  0  "Screen0" 0 0
   Screen  1  "Screen1" RightOf "Screen0"
   InputDevice"Mouse0" "CorePointer"
   InputDevice"Keyboard0" "CoreKeyboard"
   Option "Xinerama" "on"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver  "mouse"
   Option  "Protocol" "auto"
   Option  "Device" "/dev/sysmouse"
   Option  "Emulate3Buttons" "false"
   Option  "Buttons" "9"
   Option  "YAxisMapping" "6 7"
#   Option  "XAxisMapping" "9 10"
   Option  "ZAxisMapping" "4 5"
   Option  "Resolution"  "800"
   Option  "Vendor" "Logitech"
EndSection

When I run xev, the first five buttons work as expected (1=left, 2=wheel, 
3=right, 4=vert up, 5=vert down), but the only other buttons that register 
are the left side of the horizontal movement of the wheel (7) and the 
"application" button (6).


Dmesg is kind of weird:

ums0: Logitech USB Receiver, rev 1.10/29.01, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.
uhub4: Standard Microsystems product 0xa700, class 9/0, rev 2.00/0.00, addr 
2

uhub4: 4 ports with 4 removable, self powered
ums1: Logitech Optical USB Mouse, rev 2.00/3.40, addr 3, iclass 3/1
ums1: 3 buttons and Z dir.

So the receiver is detected as a 7 button plus Z dir mouse, but the mouse 
itself is detected as a 3 button plus Z dir?


# usbdevs
addr 1: UHCI root hub, Intel
addr 2: USB Receiver, Logitech
addr 1: UHCI root hub, Intel
addr 2: product 0xa700, Standard Microsystems
 addr 3: Optical USB Mouse, Logitech
 addr 4: Microsoft Natural Keyboard Elite, Microsoft
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel

Does anyone have one of these mice?  If so, did you get the other buttons 
working?


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/






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


Re: wireless DHCP + wep

2005-08-18 Thread Jason Morgan
On Thu, Aug 18, 2005 at 02:38:51PM -0300, Pablo Allietti wrote:
> Hi all  i have a question.
> 
> i configure a Intel 2200 wireless card and the system detect ok and load
> in the start time.
> 
> so. now i need to add wep Key and DHCP.
>  
> is that possible to do in automatically.
> 
> because rigth now i cant do dhcp and need to do a ifconfig blablabla
> wepkey xx wepmode 0 any time when i restart my laptop.
> 
> thanks.
> 

Can those configs be placed in rc.conf with

dhclient_flags="WHATEVER" ?

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


Re: Buildkernel command fails

2005-08-18 Thread Kris Kennaway

On Thu, Aug 18, 2005 at 01:02:54PM -0400, Igor Kasriel wrote:
> I have been trying to rebuild a stripped down version of the kernel for
> FreeBSD 5.4.
> 
>  
> 
> The error I get is as follows:
> 
>  
> 
> /usr/src/i386/clock.c: in function 'rtcin'
> 
> /usr/src/i386/clock.c: 424: error: 'IO-RTC' undeclared (first use in this
> function)
> 
>  
> 
> There is no indication as to which device is missing. Does anyone have any
> suggestions?

Compare your kernel to GENERIC and add things back until you find the
error you made.

Kris


pgpINj2WWdp8A.pgp
Description: PGP signature


Re: Contradicting the answer to Re: Answering my own question Re: Iomega REV drive, FreeBSD 4.11

2005-08-18 Thread Bob Johnson
On 8/17/05, Tom Russo <[EMAIL PROTECTED]> wrote:
> On Sun, Jul 24, 2005 at 10:21:55AM -0600, we recorded a bogon-computron
> collision of the <[EMAIL PROTECTED]> flavor, containing:
> > I'm answering my own question on the mailing list, just to get what I
> found
> > into the archives in case anyone else has this question.
> > 
> > On Thu, Jul 21, 2005 at 08:33:47PM -0600, we recorded a bogon-computron
> collision of the <[EMAIL PROTECTED]> flavor, containing:
> > > I'm running FreeBSD 4.11.  I last updated from STABLE in January:
> > > 
> > > FreeBSD bogodyn.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Sat Jan 22
> 13:10:32 MST 2005 [EMAIL PROTECTED]:/users2/obj/usr/src/sys/BOGODYN 
> i386
> > > 
> > > I just purchased an external SCSI Iomga REV 35MB removable medium drive.
>  
> > > 
> > [...]
> > > When I attach the device and camcontrol rescan all, I get this in the 
> > > /var/log/messages:
> > > 
> > > Jul 21 19:22:52 bogodyn /kernel: cd1:  Removable CD-ROM
> SCSI-4 
> > > device 
> > [...]
> > > That is, the drive is detected, but as a removable CDROM, 
> > 
> > This is not peculiar to BSD.  Low-level SCSI utilities in the SCSI
> controller
> > at boot time also fail to recognize this thing as a disk drive, and even 
> > on Windows it shows up as a CD-ROM.  The only way to write data to it is
> to
> > use a windows-only driver.  And since it doesn't use an ISO-9660 file
> system,
> > the only way to read data off of it is with a windows-only driver, too. 
> So
[...]
> Which leads to a final question:  Is there any work being done on
> read/write
> support for UDF filesystems?  Might 6.0 get this capability?
> 

Someone referred to UDF in 6.0 as if it were read/write, but I don't
see any evidence of that in the man page (it doesn't say it isn't
read/write, either).  If I have time this evening I will try to
investigate that.

ports/sysutils/udfclient might support that drive in write mode.  If
so, it will give you some ability to do useful things with it,
although it doesn't appear that it will make it look like a mountable
filesystem.

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


Re: Buildkernel command fails

2005-08-18 Thread Hexren
> I have been trying to rebuild a stripped down version of the kernel for
> FreeBSD 5.4.

 

> The error I get is as follows:

 

> /usr/src/i386/clock.c: in function 'rtcin'

> /usr/src/i386/clock.c: 424: error: 'IO-RTC' undeclared (first use in this
> function)

 

> There is no indication as to which device is missing. Does anyone have any
> suggestions?

 

> Thanks for your help,

 

> Igor Kasriel

> [EMAIL PROTECTED]


-

imho it would help to see your kernel config.
Can you compile a default kernel with your sources ?
You have not modified you sources and you have the most recent 5.4
sources ?

Regards
HExren

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


wireless DHCP + wep

2005-08-18 Thread Pablo Allietti
Hi all  i have a question.

i configure a Intel 2200 wireless card and the system detect ok and load
in the start time.

so. now i need to add wep Key and DHCP.
 
is that possible to do in automatically.

because rigth now i cant do dhcp and need to do a ifconfig blablabla
wepkey xx wepmode 0 any time when i restart my laptop.

thanks.



-- 

.-

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


Re: sendmail stalling during boot

2005-08-18 Thread Chuck Swiger

Simon Morgan wrote:

On 8/18/05, Chuck Swiger <[EMAIL PROTECTED]> wrote:

Of course.  If you only want to deliver mail locally, and never consider the
network at all, /usr/libexec/mail.local will do that for you.


Do I need to somehow specify this as my MTA instead of sendmail or is it
already used for local mail and I just somehow disable sendmail?


/usr/libexec/mail.local isn't an MTA, it's a LDA, or local delivery agent.

MTAs like sendmail and postfix use the LDA to actually deliver mail which 
should go to a local user account (ie, in the sense of locking the mbox file in 
/var/mail/$USER and appending the new message, or maildir's conventions, etc).



However, if you want to do SMTP, even SMTP on localhost via sendmail, you have
to use FEATURE(nocanonify) to disable DNS lookups.  Unless told otherwise,
sendmail is intended to run as a fully connected SMTP box, which means it has
to pay attention to DNS, MX records, address re-writing, alias expansions, and
all of the rest of the stuff it does.


Basically all I want is for any programs run on the system and mail
their results to root to be able to do so.


I see.  Much of those automated messages assume they are using sendmail, they 
generally won't call mail.local directly, unfortunately.


You might find it useful to read "man mailwrapper" for more info.

--
-Chuck

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


Buildkernel command fails

2005-08-18 Thread Igor Kasriel
I have been trying to rebuild a stripped down version of the kernel for
FreeBSD 5.4.

 

The error I get is as follows:

 

/usr/src/i386/clock.c: in function 'rtcin'

/usr/src/i386/clock.c: 424: error: 'IO-RTC' undeclared (first use in this
function)

 

There is no indication as to which device is missing. Does anyone have any
suggestions?

 

Thanks for your help,

 

Igor Kasriel

[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 dialin server

2005-08-18 Thread Philip Hallstrom

I have freebsd 5.4 and i want to have dialin server. How can i
configure my freebsd as dialin server.


I set up a 4.x box to do this for three modems awhile back and while I 
didn't write down how I did it, here's the various config files which I 
hope will help.  Seems I never learn to write it down while I'm doing it 
:)


- Installed mgetty+sendfax from ports.

- /usr/local/etc/mgetty+sendfax/mgetty.config looks like this:


port cuaa1
debug 9
fax-id 00 00 00
speed 115200
direct NO
blocking NO
port-owner uucp
port-group uucp
port-mode 0660
toggle-dtr YES
toggle-dtr-waittime 500
data-only YES
fax-only NO
modem-type auto
init-chat "" ATS0=0Q0&D3&C1 OK
modem-check-time 3600
rings 1
answer-chat "" ATA CONNECT \c \r
answer-chat-timeout 80
autobauding NO
ringback NO
ringback-time 30
ignore-carrier false
issue-file /etc/issue
prompt-waittime 500
login-prompt @!login:
login-time 240
diskspace 1024
notify faxadmin
fax-owner uucp
fax-group modem
fax-mode 0660


- /usr/local/etc/mgetty+sendfax/login.config looks like this:


/AutoPPP/ - -   /etc/ppp/AutoPPP.sh


- /etc/ttys has this addition (remember I have three internal PCI modems):


ttyd4   "/usr/local/sbin/mgetty -s 115200"  dialup on insecure
ttyd5   "/usr/local/sbin/mgetty -s 115200"  dialup on insecure
ttyd6   "/usr/local/sbin/mgetty -s 115200"  dialup on insecure


- The /etc/ppp directory looks like this:


-rwxr-xr-x  1 root  wheel   46 Apr 20 12:57 AutoPPP.sh*
-rwxr-xr-x  1 root  wheel  258 Apr 20 11:48 ppp-shell.sh*
-rw-r--r--  1 root  wheel  486 Apr 21 10:22 ppp.conf


- AutoPPP.sh:


#!/bin/sh

exec /usr/sbin/ppp -direct $DEVICE


- ppp-shell.sh:

#!/bin/sh

IDENT=`echo $0 | sed -e 's/^.*-\(.*\)$/\1/'`
CALLEDAS="$IDENT"
TTY=`tty`

if [ x$IDENT = xdialup ]; then
IDENT=`basename $TTY`
fi


echo "PPP for $CALLEDAS on $TTY"
echo "Starting PPP for $IDENT"

exec /usr/sbin/ppp -direct $IDENT


- ppp.conf:

default:
  set device /dev/cuaa1
  set log TCP/IP Chat Connect Phase Command Warnin Error Alert
  set speed 115200
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK
ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
  set timeout 120
  disable ipv6cp
  enable passwdauth
  accept dns
  set dns 10.28.61.20
  enable proxy
  allow users philip

ttyd4:
  set ifaddr 10.28.61.51 10.28.61.52

ttyd5:
  set ifaddr 10.28.61.53 10.28.61.54

ttyd6:
  set ifaddr 10.28.61.55 10.28.61.56


- I added gateway_enable="YES" to /etc/rc.conf

- I also added a ppp user.  Or maybe mgetty did.  /etc/passwd line looks 
like this:



ppp:*:1003:1003:PPP User:/local/home/ppp:/etc/ppp/ppp-shell.sh


- I am pretty sure that the "allow users philip" line in ppp.conf was just 
from testing.


I think that was all I did...

Anyway, hope this helps you out...

-philip

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


Re: sendmail stalling during boot

2005-08-18 Thread Simon Morgan
On 8/18/05, Chuck Swiger <[EMAIL PROTECTED]> wrote:
> You really, really want to give your machine a real hostname, which is in the
> DNS, reverses properly, and has MX records for the domains it handles mail for
> set up, if you want to run sendmail and do mail correctly.
> 
> If you are only relaying mail to another smart host which will do all of your
> relaying for you (commonly your ISP's SMTP server will do so), and you do not
> need sendmail to do DNS lookups, consider FEATURE(nocanonify).

I should have mentioned that I only want sendmail to deliver local mail. Surely
there must be a way to do this without doing all of the above?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Network Interface 'overload' in 4.11

2005-08-18 Thread Jim Durham
Hi,

This is the 2nd or 3rd time I have seen this and wondered if 
there is a solution.

Recently, one of our 4.11 servers that we had just installed at 
one of our offices with about 50 users got extremely slow and 
non-responsive after a few hours of operation.  I was unable to 
do an ssh login to this box, but it stayed up according to 
people on the scene.

This box is running natd with the usual setup, an outside 
interface hooked to a T1 with the outside IP and the local LAN 
hooked up through switches to the inside interface with a class 
C private network with  192.168.x.x addresses, handing out DHCP 
over that interface.

My assistant was on scene and got on the phone with me when this 
happened and confirmed that the box was up and responsive to 
console commands.  I asked him to pull the ethernet to the 
inside interface. Instantly, I was able to ssh in to the outside 
address and the web server on the box became responsive again.

Then we put the cable back and I tried tcpdump to see where the 
'overload' was coming from. tcpdump showed virtually no traffic 
on the inside interface. We resorted to going through the 
switches and looked for a link light that was flickering the 
most, pulled out that cable, which went to only one Windows box 
and the whole network returned to normal.

Now, this box was somehow spewing packets at a high enough rate 
(it's a 1ghz inside network) to 'shut down' the 4.11 server's 
networking.  This is obviously not a good situation. It looks 
like the interface was dropping almost all packets at that 
point.

I had this same problem a year or two ago with a 4.x box. At that 
time I tried playing with various sysctls.  I had no real luck.

Does anyone have any experience with this phenomenum and can you 
suggest a cure?

Thanks very much,

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


Re: blanking DVD+RW

2005-08-18 Thread Garrett Cooper

On Aug 18, 2005, at 8:40 AM, Marc Fonvieille wrote:
On Thu, Aug 18, 2005 at 11:24:15AM -0400, Claudio Discepola wrote:

Hi Marc,

  Thanks for the quick reply.  I notice for DVD-RW it is possible to
return its "Disc status" to "blank" by running:
"cdrecord -v dev=0,0,0 blank=all"

This command doesn't work for DVD+RW however. So I guess it is never
possible to return a +RW to its original 'blank' status?



It seems to be the case, even if you try to force a formatting operation
(which should be avoided).

Marc

There was an additional package which you could install with dvd+rw- 
tools I think that allowed you to erase DVDs of all shapes and  
flavors if the burner supported it. However, I've never personally  
used it and can't verify if my memory is correct or not. However, it  
should be in ports if you search for it.

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


CRM software on FBSD

2005-08-18 Thread Per olof Ljungmark
Is there anyone out there who would like to share experiences from 
running CRM software on FreeBSD, specifically I have SugarCRM and VTiger 
in mind?


Very grateful for comments, thanks a lot!

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


Re: sendmail stalling during boot

2005-08-18 Thread Chuck Swiger

Simon Morgan wrote:

When my system boots it freezes for an extremely long time at a certain
point in the boot process. Hitting CTRL-C at this point I'm informed
that the loading of sendmail has been cancelled which obviously indicates
that it's what is responsible.


Indeed.


Looking into the issue I've seen a number of people experiencing the same
problem and being told to fix their DNS setup. The machine that sendmail
is running on has an internet routable IP that resolves to a hostname:


host 82.71.120.75


75.120.71.82.in-addr.arpa domain name pointer
82-71-120-75.dsl.in-addr.zen.co.uk.

but the hostname I have set is "fake" and resolves to nothing:


hostname


naboo.localdomain


You really, really want to give your machine a real hostname, which is in the 
DNS, reverses properly, and has MX records for the domains it handles mail for 
set up, if you want to run sendmail and do mail correctly.


If you are only relaying mail to another smart host which will do all of your 
relaying for you (commonly your ISP's SMTP server will do so), and you do not 
need sendmail to do DNS lookups, consider FEATURE(nocanonify).


--
-Chuck

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


sendmail stalling during boot

2005-08-18 Thread Simon Morgan
When my system boots it freezes for an extremely long time at a certain
point in the boot process. Hitting CTRL-C at this point I'm informed
that the loading of sendmail has been cancelled which obviously indicates
that it's what is responsible.

Looking into the issue I've seen a number of people experiencing the same
problem and being told to fix their DNS setup. The machine that sendmail
is running on has an internet routable IP that resolves to a hostname:

> host 82.71.120.75
75.120.71.82.in-addr.arpa domain name pointer
82-71-120-75.dsl.in-addr.zen.co.uk.

but the hostname I have set is "fake" and resolves to nothing:

> hostname
naboo.localdomain
> host naboo.localdomain
Host naboo.localdomain not found: 3(NXDOMAIN)

However, it does so almost instantly and so I fail to see what is causing
sendmail to hang.

Can anybody help? I would appreciate a CC on any replies as I'm not
subscribed to the list.

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


Re: blanking DVD+RW

2005-08-18 Thread Marc Fonvieille
On Thu, Aug 18, 2005 at 11:24:15AM -0400, Claudio Discepola wrote:
> Hi Marc,
> 
>   Thanks for the quick reply.  I notice for DVD-RW it is possible to
> return its "Disc status" to "blank" by running:
> "cdrecord -v dev=0,0,0 blank=all"
> 
> This command doesn't work for DVD+RW however. So I guess it is never
> possible to return a +RW to its original 'blank' status?
> 

It seems to be the case, even if you try to force a formatting operation
(which should be avoided).

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


Re: large file support

2005-08-18 Thread Bob Johnson
On 8/18/05, Chris Knipe <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Uhm, quite urgent, but does BSD support < 4GB files on i386?

Yes.  It also supports > 4 GB files.

> 
> We have a 4.3GB MySQL Table (i.e. one file), mysql reads from it, server
> halts, we tried to cp / mv it, server halts... 
> 
> For a test, I did a quick dd to generate a 6.4GB file, server halted 
> 

I have been using dd to generate 64 GB files to test RAID
configurations with no problems.  It should support files up to at
least 2 TB, maybe more.

> What's the solution here   

Hard to say without more details.

Did you get any error message at all, or did it just freeze?  Does
anything show in /var/log/messages?

What filesystem are you using (the default, which is UFS2, or did you
set up something else)?

How big is disk partition you are building the files on?  I.E. what
does "df" say?  Running out of disk space can cause strange problems.

Is softupdates enabled on the file system?  "tunefs -p /var" or
whatever the filesystem is will tell you.  If softupdates runs out of
memory or disk space, strange things happen.

If you run "top" while generating the 6.4 GB test file, does it show a
lot of swap being used?

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


Re: Backup to CD-R

2005-08-18 Thread Roland Smith
On Thu, Aug 18, 2005 at 10:36:03AM +0200, [EMAIL PROTECTED] wrote:
> a3bm() {
> 
>   Hi! I was wondering if somebody can give me a clue to how to
>   schedulle regular backups to CD-R. I'm using FreeBSD 5.3.

If your dumps are so small they will fit on CD-R, you could do the
following:

- make a dump

  dump -0 -a -L -f - /usr |gzip -c >usrdump.gz

- use mkisofs to make an ISO file containing your dump

  mkisofs -r -pad -o usrdump.iso usrdump.gz

- burn the ISO to CD-R with cdrecord or burncd.

If the gzipped dump file is larger than a CD, you could use split(1), to
make CD-sized chenks, and burn them to different CD's. 

>   By now, i can asume that the best choice is to use 'dump' but i
>   can't realize how to use the CD-R as a 'writeable' device.

If you want to use a CD as a kind of harddisk, you could use an UDF
filesystem. See udfclient in ports.

If the dumps are big, upgrade to a DVD burner and use growisofs(1) to
burn the data to DVD.

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


pgpUzxyn1dPif.pgp
Description: PGP signature


Re: blanking DVD+RW

2005-08-18 Thread Chuck Swiger

Claudio Discepola wrote:

  I have a quick question about blanking a DVD+RW.  It seems that even
after I run the "growisofs -Z /dev/cd0=/dev/zero" command the "Disc
status" is still seen as "complete" instead of "blank". 


Simply using dvd+rw-format doesn't erase all of the previous contents of the 
DVD, whereas overwriting with zeros as you've done will obscure the old data 
reasonably well.


There is a difference between a disk which has never been written to, and a 
disk which has been written full of zeros.  Note that someone with the right 
forensics technology probably could read a zeroed DVD, the same way you can 
read most of the data from a hard drive even after a single erasure pass.


--
-Chuck

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


Re: large file support

2005-08-18 Thread Kris Kennaway
On Thu, Aug 18, 2005 at 03:32:49PM +0200, Chris Knipe wrote:
> Hi,
> 
> Uhm, quite urgent, but does BSD support < 4GB files on i386?

You mean >4GB, not <4GB, and the answer is "yes, it has supported them
on UFS for many years".

> We have a 4.3GB MySQL Table (i.e. one file), mysql reads from it, server 
> halts, we tried to cp / mv it, server halts... 
> 
> For a test, I did a quick dd to generate a 6.4GB file, server halted 
> 
> What's the solution here   

Perhaps something is wrong with your hardware, or you are using some
kind of non-default filesystem (i.e. not UFS).

Kris


pgpCP5vfNxSOR.pgp
Description: PGP signature


Re: FreeBSD on current crop of laptops?

2005-08-18 Thread Giorgos Keramidas
On 2005-08-18 08:34, Tom Vilot <[EMAIL PROTECTED]> wrote:
>Giorgos Keramidas wrote:
>> I'm typing this on an Acer Ferrari 3400.
>
> Those are kinda sweet machines, too ... :)

Putting aside the fact that Acer's support in Greece is rather problematic, to
put it mildly, and the fact that it would be nice to have a real RS-232 serial
port on the laptop, yes... I can say they're nice laptops.

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


Re: FreeBSD on current crop of laptops?

2005-08-18 Thread Tom Vilot

Giorgos Keramidas wrote:



I'm typing this on an Acer Ferrari 3400.  




Those are kinda sweet machines, too ... :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: blanking DVD+RW

2005-08-18 Thread Marc Fonvieille
On Thu, Aug 18, 2005 at 10:40:46AM -0400, Claudio Discepola wrote:
> Hi,
> 
>   I have a quick question about blanking a DVD+RW.  It seems that even
> after I run the "growisofs -Z /dev/cd0=/dev/zero" command the "Disc
> status" is still seen as "complete" instead of "blank". 
>

I assume "blank" is for a "never written-on" disk, since your DVD+RW has
been used at least 1 time, growisofs formatted it, so it's not "blank."

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


Re[2]: i can't connect remote to my mysql server

2005-08-18 Thread vladone
Thanks all!
Work.
Problem is resolved how present jdyke. (with "identifed" not work :))
Usefull is and solution for my.cnf.

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


blanking DVD+RW

2005-08-18 Thread Claudio Discepola
Hi,

  I have a quick question about blanking a DVD+RW.  It seems that even
after I run the "growisofs -Z /dev/cd0=/dev/zero" command the "Disc
status" is still seen as "complete" instead of "blank". 

  Is there another option I should have put?  (doc on growisofs didn't
mention anything).

Thanks,
Claudio

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


large file support

2005-08-18 Thread Chris Knipe
Hi,

Uhm, quite urgent, but does BSD support < 4GB files on i386?

We have a 4.3GB MySQL Table (i.e. one file), mysql reads from it, server halts, 
we tried to cp / mv it, server halts... 

For a test, I did a quick dd to generate a 6.4GB file, server halted 

What's the solution here   

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


fortinet experiences

2005-08-18 Thread mgedv online
not related to freebsd, but to security:
has anyone experiences with boxes from fortinet?
details: http://www.fortinet.com/
cu...

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


Re: i can't connect remote to my mysql server

2005-08-18 Thread Nelis Lamprecht
On 8/18/05, vladone <[EMAIL PROTECTED]> wrote:
> I have instaled mysql server succcesfull and started. I set root
> password, i can login to my server from console but i can't login
> remote (i use Mysql Control Center for win, for quickly management).
> I receive this error: "host 192.168.100.4 is not allowed to connect to
> this Mysql server"
> I dont know why, server is up and running.

> 
> Another question is about config files. I dont know where is config
> file for mysql on freebsd. In linux exist mysql.cnf but here ... i
> dont see anything.
> 

Sample config files can be found in /usr/local/share/mysql. MySQL will
run fine with it's default settings but depending on your requirements
you may need to change them. You can copy one of the suitable sample
files to /var/db/mysql/my.cnf and change it according to your
requirements. You might also want to look at the phpMyAdmin port
/usr/ports/databases/phpmyadmin for a web gui front-end to MySQL where
you can add users and assign permissions with a click of a button.
Otherwise you'll have to do it manually as a previous post mentioned.

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


portsdb (Warning: Duplicate INDEX)

2005-08-18 Thread bob self


My system:
---

FreeBSD ..org 5.4-STABLE FreeBSD 5.4-STABLE #0:
Mon Aug 15 19:06:46 EDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386



The problem:

I ran cvsup with no problems. But then I ran portsdb and I get these 
warnings:


[EMAIL PROTECTED] portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please wait..

Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.2
Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635
Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.4
Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5
Done.
done
[Updating the portsdb  in /usr/ports ... - 13301 port 
entries found .1000.

2000.3000.4000.5000.6000.7000.8000.9
000.1.11000.12000.13000... . done]
[EMAIL PROTECTED]


How can I fix this and why does this keep happening? I had the same 
problems a
year ago with freeciv on a 4.11 system. I'm not sure how the problem 
went away
before. I think that I might have changed the  to a different 
method.

I didn't have this problem when I ran this same procedure two days ago.

thanks,
Bob

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


Re: man malloc

2005-08-18 Thread Giorgos Keramidas
On 2005-08-18 12:08, Sergey Matveychuk <[EMAIL PROTECTED]> wrote:
>Chuck Swiger wrote:
>>>What is pointer coercion? I have no pointer before malloc() returns.
>>
>> Right.  Well, malloc returns a (void *), but most people want to use the
>> memory malloc returns to hold their own arrays, structs, whatever, which
>> means that you need to be able to coerce the (void *) malloc gave you
>> into whatever pointer type you want to actually use.
>>
>> So the memory malloc gives you needs to be aligned so that it's OK to be
>> used for even the most restrictive datatype known to the system,
>> commonly 8, 16, or 32 bytes.
>
> Pointer coercion means a type cast? I see now.
> I read it as 'force change of pointer value' before.

It may be surprising, but casting back and forth *MAY* change the value
of the pointer.  Think of something like ``memory models'' in MS-DOS and
pointers that have both two parts, i.e. a segment address and an offset
in the segment.  Add to this a weird rule that says segment values are
shifted up by 8 bits and then added to the offset value, mix a compiler
that uses optimizations in the cocktail too, and you get strange things :-)

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


Re: FreeBSD on current crop of laptops?

2005-08-18 Thread Giorgos Keramidas
On 2005-08-17 22:11, Tom Vilot <[EMAIL PROTECTED]> wrote:
> I'm itching for a new laptop.
>
> I like the (big-ass) Toshiba Satellite machines, but I'm not wedded to
> them. I am curious what people's experiences are with some of the newer
> laptops and what might be recommended.
>
> Also -- I am interested (possibly) in an AMD 64 laptop, if BSD is
> working well on one...

I'm typing this on an Acer Ferrari 3400.  FreeBSD installs in a breeze,
after rebuilding a kernel with "cpufreq" I can run powerd to reduce
power consumption as much as possible, and the only two parts that I
haven't had a change to configure yet (during the last 2-3 days) are:

- Wireless networking
- Internal modem (this will probably never work)

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


Re: Making UFS snapshots

2005-08-18 Thread Daniel Feenberg


On Thu, 18 Aug 2005, Giorgos Keramidas wrote:

> On 2005-08-17 16:32, Daniel Feenberg <[EMAIL PROTECTED]> wrote:
> >
> > I notice on this list that Garance Drosehn
> >  reports making
> > a snapshot of a 4 gigabyte filesystem in less than one second. We have a
> > 859 gigabyte filesystem and snapshots take about 75 minutes to complete.
> 
> Making a snapshot is not very slow if the disk is relatively idle at the
> time.  Perhaps this is what's biting you?

The computer and the disk system is otherwise idle - no activity other
than taking the snapshot.

Since the original posting I found Dr McKusik's 1999 Usenix paper
describing snapshots which suggests the time for taking a snapshot should
be "brief", and that file system activity should resume after a time no
longer than that required for an unmount. This suggests to me that
something is wrong with our setup, but I still have no idea what.

However, I have found some messages from users with experience similar to
ours e.g.

http://www.mail-archive.com/freebsd-stable@freebsd.org/msg67320.html


Dan Feenberg
feenberg isat nber dotte org
617-588-0343


> 
> 



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


Free version of RTCoreBSD

2005-08-18 Thread Bsderss
Hi,

As I look into RTCoreBSD, I found that it may be not
free. If it can be download, can anyone please tell me
where can I download it? How much does it charge per
copy? Is there a freebsd of RTOS based on FreeBSD or
uses the TCP/IP stack as in NetBSD or FreeBSD? I know
QNX does use the TCP/IP stack from NetBSD/FreeBSD, but
QNX is not free either.

Thanks
Sam





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Thinkpad Accelerometer driver

2005-08-18 Thread m . ehinger
Hi,

anyone who is interested can download the source at

https://sourceforge.net/project/showfiles.php?group_id=138242&package_id=160977

Use at your own risk!

I've tested it on my T42 M1G with FreeBSD 7.0-Current (Aug 10) only.


Please let me know what you think.

It's also my first driver ever so if there things to do better please let me 
know also.

thanks

maik

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


Re: Mail problems

2005-08-18 Thread Giorgos Keramidas
On 2005-08-17 13:33, John Larson <[EMAIL PROTECTED]> wrote:
> I have a peer to peer network. I have freebsd
> 4.11,apache2,postfix,mysql40, imagemagick,perl, running just fine,
> however mail is a problem. For one user name everything works
> fine. for another not so fine. the only difference that I can see is
> that one username lacks $home/var/mail while the other doesn't.  Any
> help would be appreciated. Thank you.  John Larson

What are the exact messages Postfix writes to /var/log/maillog ?

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


Re: Making UFS snapshots

2005-08-18 Thread Giorgos Keramidas
On 2005-08-17 16:32, Daniel Feenberg <[EMAIL PROTECTED]> wrote:
>
> I notice on this list that Garance Drosehn
>  reports making
> a snapshot of a 4 gigabyte filesystem in less than one second. We have a
> 859 gigabyte filesystem and snapshots take about 75 minutes to complete.

Making a snapshot is not very slow if the disk is relatively idle at the
time.  Perhaps this is what's biting you?

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


Re: i can't connect remote to my mysql server

2005-08-18 Thread jdyke



vladone wrote:

I have instaled mysql server succcesfull and started. I set root
password, i can login to my server from console but i can't login
remote (i use Mysql Control Center for win, for quickly management).
I receive this error: "host 192.168.100.4 is not allowed to connect to
this Mysql server"
I dont know why, server is up and running.


you need to connect to mysql locally and ...
grant PRIVILEGES on database.table to user@'192.168.100.4' identifed by 
'password'

the PRIVILEGES part can be SELECT,INSERT,UPDATE, etc or 'all'
database.table can be *.* or *.table etc

then FLUSH PRIVILEGES

there is a great section on access on the mysql.com site, i'd check that out for 
the myriad of toher options you can limit/allow with the GRANT/REVOKE statements


#ps aux|grep mysql
mysql 11706  0.0  0.4  1660  1060  p0  I 1:37PM   0:00.01 /bin/sh 
/usr/local/bin/mysqld_safe --defaults-extra-file=/var/db/mysql/my.cnf 
--user=mysql --da
mysql 11726  0.0  9.7 57136 25064  p0  S 1:37PM   0:00.81 
/usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf 
--basedir=/usr/local --dat

#sockstat -4
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS
mysqlmysqld 11726 3  tcp4   *:3306*:*

Another question is about config files. I dont know where is config
file for mysql on freebsd. In linux exist mysql.cnf but here ... i
dont see anything.


your config file is in the ps output above, in your case /var/db/mysql/my.cnf. 
if you want it elsewhere change that line in /usr/local/etc/rc.d/mysql-server.sh





___
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: i can't connect remote to my mysql server

2005-08-18 Thread [EMAIL PROTECTED]
On Thu, 18 Aug 2005 13:52:36 +0300
vladone <[EMAIL PROTECTED]> wrote:

> I have instaled mysql server succcesfull and started. I set root
> password, i can login to my server from console but i can't login
> remote (i use Mysql Control Center for win, for quickly management).
> I receive this error: "host 192.168.100.4 is not allowed to connect to
> this Mysql server"
> I dont know why, server is up and running.

afaik by default it's only allowing 127.0.0.1 to access 

> Another question is about config files. I dont know where is config
> file for mysql on freebsd. In linux exist mysql.cnf but here ... i
> dont see anything.

if you installed from ports, try looking in /usr/local/etc/
(almost) everything installed from ports has the /usr/local/
install-prefix

pkg_info -L mysql-server* | less
might also help

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


i can't connect remote to my mysql server

2005-08-18 Thread vladone
I have instaled mysql server succcesfull and started. I set root
password, i can login to my server from console but i can't login
remote (i use Mysql Control Center for win, for quickly management).
I receive this error: "host 192.168.100.4 is not allowed to connect to
this Mysql server"
I dont know why, server is up and running.

#ps aux|grep mysql
mysql 11706  0.0  0.4  1660  1060  p0  I 1:37PM   0:00.01 /bin/sh 
/usr/local/bin/mysqld_safe --defaults-extra-file=/var/db/mysql/my.cnf 
--user=mysql --da
mysql 11726  0.0  9.7 57136 25064  p0  S 1:37PM   0:00.81 
/usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf 
--basedir=/usr/local --dat

#sockstat -4
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS
mysqlmysqld 11726 3  tcp4   *:3306*:*

Another question is about config files. I dont know where is config
file for mysql on freebsd. In linux exist mysql.cnf but here ... i
dont see anything.

___
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 starting mysql

2005-08-18 Thread Nelis Lamprecht
On 8/18/05, vladone <[EMAIL PROTECTED]> wrote:
> Sorry. Resolved. I dont have right owner for /var/db/mysql
> 

If you used the script that the port installed in /usr/local/etc/rc.d
to start mysql you wouldn't have had any problems. The startup script
would have run mysql_install_db and set the correct permissions. To
use the script(which starts up mysql on boot) add mysql_enable="YES"
to /etc/rc.conf

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


Shortcuts

2005-08-18 Thread Carstea Catalin
Please tell me some shortcuts ( standard ) from keyboard in freebsd (
console and KDE ).
Tks!

i.e.:  alt+F1. - for first console

-- 
Any help would be greatly appreciated.
regards,
Carstea Catalin
___
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 starting mysql

2005-08-18 Thread vladone
Sorry. Resolved. I dont have right owner for /var/db/mysql

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


successfull build of openoffice.org1.9m121 on 6.0-BETA2

2005-08-18 Thread Per olof Ljungmark

Hi,
Just wanted to share my happiness over a successful build of OpenOffice 
on unpatched 6.0, I did not really expect it to work :-) Took a while 
though.


FreeBSD iko.i.inter-sonic.com 6.0-BETA2 FreeBSD 6.0-BETA2 #0: Tue Aug  9 
16:14:51 CEST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/IKO  i386


openoffice.org1.9m121

Used WITHOUT_MOZILLA WITH_KDE

Will try now default build also.

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


Re: FreeBSD dialin server

2005-08-18 Thread Per olof Ljungmark

RdBSD wrote:
Dear all, 



I have freebsd 5.4 and i want to have dialin server. How can i
configure my freebsd as dialin server.


Read the Handbook and then google for (example):
FreeBSD ppp howto

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


problem when starting mysql

2005-08-18 Thread vladone
Hi!
I have installed mysql 4.1 from ports.
After i run "/usr/local/bin/mysql_install_db", i try to start server
with:
 /usr/local/bin/mysqld_safe &

but i receive this error in host.err:
[ERROR] Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't 
exist

How i can resolv this?
Obviously this table not exist, but how i can create without starting
mysql server.

Second questions: where keep mysql config file?

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


Re: FreeBSD on current crop of laptops?

2005-08-18 Thread Alex Zbyslaw

Tom Vilot wrote:


I'm itching for a new laptop.

I like the (big-ass) Toshiba Satellite machines, but I'm not wedded to 
them. I am curious what people's experiences are with some of the 
newer laptops and what might be recommended.


Also -- I am interested (possibly) in an AMD 64 laptop, if BSD is 
working well on one...


Thanks.


http://gerda.univie.ac.at/freebsd-laptops/

Don't know if it will have what you're after...

You do know there's a freebsd-mobile list as well?  Anything in its 
archives?


You can always run i386 BSD on an AMD64.  If your big-ass machine has a 
big-ass disk then you can put both 1386 and amd64 on it and dual boot.  
There's a big list of ports which don't run on amd64 which flew by this 
list recently.


--Alex

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


Re: backing up remote servers

2005-08-18 Thread Alex Zbyslaw

Glenn Dawson wrote:


At 05:54 PM 8/17/2005, Noah wrote:


Hey there,

Well I just built a nice happy Fedora box with a ton of dirve space 
here at
home and trying to get a scheme for using it to backup two servers I 
have at

my colo facility.

what are my other options for backup?  I know there is rsync.  is rsync
incredibly insecure?  what else is out there?



You do realize that this a FreeBSD mailing list and has nothing to do 
with fedora or linux...


But to answer your question anyway, since we're so nice... ;-)

You can use ssh as the connection protocol for rsync, so communication 
is then encrypted.  Rsync will then be as safe as your ssh.  There are 
howtos out there about setting up ssh keys that *only* allow rsync 
connections.  I found them easily with google.


Other options would include tar, cpio, whatever dump program you have at 
the colo, and just about any other archiving utility.  It all depends 
what you want.  Rsync will give you an up-to-date copy of your remote 
drives; an archiving utility would let you do full-and-incremental style 
backups potentially giving you  multiple snapshots.  Or you could 
alternate where you do the rsync to (say every week), to get multiple 
snapshots that way.


--Alex

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


Backup to CD-R

2005-08-18 Thread imnotmork_listas
a3bm() {

  Hi! I was wondering if somebody can give me a clue to how to
  schedulle regular backups to CD-R. I'm using FreeBSD 5.3.

  By now, i can asume that the best choice is to use 'dump' but i
  can't realize how to use the CD-R as a 'writeable' device.

  F.

}

-- 

Key fingerprint = 7A 81 0A 0C 0D 58 4E E3  57 96 70 AA ED C7 29 E7



¯`.(¯`. *  <[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: man malloc

2005-08-18 Thread Sergey Matveychuk

Chuck Swiger wrote:


What does "suitable aligned for storage of *any* type of object" means?



On some platforms, it is either desirable or required that, say, a 
8-byte double is stored at a memory location which is is also aligned to 
8-bytes:


Oh, it was told for different architectures. It's quite clear for me now.




What is pointer coercion? I have no pointer before malloc() returns.



Right.  Well, malloc returns a (void *), but most people want to use the 
memory malloc returns to hold their own arrays, structs, whatever, which 
means that you need to be able to coerce the (void *) malloc gave you 
into whatever pointer type you want to actually use.


So the memory malloc gives you needs to be aligned so that it's OK to be 
used for even the most restrictive datatype known to the system, 
commonly 8, 16, or 32 bytes.




Pointer coercion means a type cast? I see now.
I read it as 'force change of pointer value' before.

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


Confused about SATA Raid

2005-08-18 Thread Sulejmen Mehmedagic
Since it was my "first day" (read first message sent to the list), if I 
could use words of one Homer Simpson, I managed to screw it up. My 
message was a reply to this message 
(http://lists.freebsd.org/pipermail/freebsd-questions/2004-September/059812.html), 
but somehow it does not appear to be connected to it. Maybe I am too 
late with replying. I welcome an explanation, if somebody finds time and 
will to do it.

Sulejmen


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


Confused about SATA Raid

2005-08-18 Thread Sulejmen Mehmedagic
I am not sure if you are still having this problem, but maybe somebody 
else will be able to use the following:


I am using SuperMicro server with Intel ICH5 SATA 150 controller and 
FreeBSD 5.4. As far as I could tell, the trick with SATA RAID is to 
disable/delete RAID in the Intel (after-BIOS) utility, perform one quick 
(because you are going to destroy it anyway) FreeBSD installation, log 
in, and then use the atacontrol utility to create RAID, which you 
already did, according to your post.


After that, you boot from the installation CD-ROM once more, and perform 
final installation ("final" meaning that you should use the time to 
customize it, if necessary). This time, however, you will see ar0 in the 
list of available drives. Choose that one and continue with the 
installation. As far as the installation, I always choose Standard 
(recommended) type at the beginning. However, and I am not 100% sure 
about this, I think that you could benefit from choosing FreeBSD Boot 
Manager, when it comes to that screen (so not the Standard Boot Manager, 
which is selected by default); more about that later.


After looking through several lists I stumbled upon atacontrol utility 
and afterwards using man pages I was able to do the  work I described 
above. However, I was not satisfied completely, since I had trouble not 
with removing one drive and booting (the system would boot with only one 
drive), but after "replacing" (basically inserting the one I just 
removed to mimic drive replacement) that drive back and trying to boot 
again (from this you can see that I remove and add drives only when the 
computer is turned off, if it matters to you or anybody else). At that 
time, I also was not using FreeBSD Boot Manager.


After couple of weeks, I found this article 
(http://www.techno-obscura.com/~delgado/notes/fbsd-ich5SATAraid.html), 
which describes the process in similar and more detailed fashion. This 
gave me hope to try one more time and then it was a success. Using 
atacontrol utility and its options (attach, detach, addspare, and 
rebuild) I was able to successfully "replace" both drives and each time 
rebuild the RAID.


The only glitch was in the case when I placed back the second drive, 
i.e. ad6 (which somehow might be the main one) into the server and tried 
to boot. There was a panic message and the server rebooted after couple 
of seconds. Next time, using FreeBSD Boot Manager, I clicked F5 and OS 
booted from a different drive. After logging in, I was again able to 
rebuild the RAID.


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


  1   2   >