Re: learning freebsd kernel

2012-04-06 Thread gahn
thanks devin:

what i meant was that one of my company's servers looks like this:

debug.kdb.available: ddb gdb


i am just wondering why that is...

best

/gahn



- Original Message -
From: Devin Teske 
To: 'gahn' ; 'freebsd general questions' 

Cc: 
Sent: Friday, April 6, 2012 4:13 PM
Subject: RE: learning freebsd kernel

> -Original Message-
> From: gahn [mailto:ipfr...@yahoo.com]
> Sent: Friday, April 06, 2012 1:02 PM
> To: Devin Teske; 'freebsd general questions'
> Subject: Re: learning freebsd kernel
> 
> thanks devin for the great tip. yeah, now i got core dumps...:)
> 
> but where is my "gdb" under that "debug.kdb.available"?
> 

I'm not sure I understand the question.

debug.kdb.available shows "ddb" for me

I usually use kgdb(1) for examining kernel core files.
-- 
Devin


> best
> 
> /gahn
> 
> 
> 
> - Original Message -
> From: Devin Teske 
> To: 'gahn' ; 'freebsd general questions'  questi...@freebsd.org>
> Cc:
> Sent: Friday, April 6, 2012 2:13 PM
> Subject: RE: learning freebsd kernel
> 
> 
> 
> > -Original Message-
> > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> > questi...@freebsd.org] On Behalf Of gahn
> > Sent: Friday, April 06, 2012 11:05 AM
> > To: freebsd general questions
> > Subject: learning freebsd kernel
> >
> > hi gurus:
> >
> > how could i create the core dumps on freebsd kernel? i am trying to create a
> > kernel core dump on 8.1 but it didn't happen:
> >
> > # sysctl -w debug.kdb.panic=1
> >
> > well the system went panic, entered the mode db>. i did "reboot' but there
> was
> > no core/kernel dumps under /var/crash.
> >
> 
> Did you set the "dumpdev" directive in /etc/rc.conf?
> 
> % grep dumpdev /etc/defaults/rc.conf
> dumpdev="NO"            # Device name to crashdump to (or NO).
> savecore_flags=""       # Used if dumpdev is enabled above, and present.
> 
> You should set the value of dumpdev to your swap device.
> 
> You can get this value by executing the following:
> 
> awk '$3~/swap/{print $1}' /etc/fstab
> 
> Should produce something like "/dev/mfid0s1b" or "da0s1b" or "ada0s1b" or
> "ad0s1b" etc. depending on your RELEASE and hardware.
> 
> If the output is, for example, "/dev/mfid0s1b", you should add the following
to
> /etc/rc.conf:
> 
> dumpdev="/dev/mfid0s1b"
> 
> --
> Devin
> 
> 
> > the customized kernel has those information enabled:
> >
> > # Debugging for use in -current
> > options KDB # Enable kernel debugger support.
> > options DDB     # Support DDB.
> > options GDB # Support remote GDB.
> >
> > user@host:~:$ sysctl -a | grep debug.kdb
> > debug.kdb.stop_cpus: 1
> > debug.kdb.trap_code: 0
> > debug.kdb.trap: 0
> > debug.kdb.panic: 0
> > debug.kdb.enter: 0
> > debug.kdb.current: ddb
> > debug.kdb.available: ddb
> >
> >
> >
> > by the way, where is my gdb? on one of my company's machisne, it looks like
> > this:
> >
> > debug.kdb.available: ddb gdb
> >
> > thank you all
> >
> > /gahn
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-
> unsubscr...@freebsd.org"
> 
> _
> The information contained in this message is proprietary and/or confidential.
If
> you are not the intended recipient, please: (i) delete the message and all
copies;
> (ii) do not disclose, distribute or use the message in any manner; and (iii)
notify
> the sender immediately. In addition, please be aware that any message
> addressed to our domain is subject to archiving and review by persons other
than
> the intended recipient. Thank you.


_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.

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


Re: learning freebsd kernel

2012-04-06 Thread gahn
thanks devin for the great tip. yeah, now i got core dumps...:)

but where is my "gdb" under that "debug.kdb.available"?

best

/gahn



- Original Message -
From: Devin Teske 
To: 'gahn' ; 'freebsd general questions' 

Cc: 
Sent: Friday, April 6, 2012 2:13 PM
Subject: RE: learning freebsd kernel



> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of gahn
> Sent: Friday, April 06, 2012 11:05 AM
> To: freebsd general questions
> Subject: learning freebsd kernel
> 
> hi gurus:
> 
> how could i create the core dumps on freebsd kernel? i am trying to create a
> kernel core dump on 8.1 but it didn't happen:
> 
> # sysctl -w debug.kdb.panic=1
> 
> well the system went panic, entered the mode db>. i did "reboot' but there was
> no core/kernel dumps under /var/crash.
> 

Did you set the "dumpdev" directive in /etc/rc.conf?

% grep dumpdev /etc/defaults/rc.conf
dumpdev="NO"            # Device name to crashdump to (or NO).
savecore_flags=""       # Used if dumpdev is enabled above, and present.

You should set the value of dumpdev to your swap device.

You can get this value by executing the following:

awk '$3~/swap/{print $1}' /etc/fstab

Should produce something like "/dev/mfid0s1b" or "da0s1b" or "ada0s1b" or
"ad0s1b" etc. depending on your RELEASE and hardware.

If the output is, for example, "/dev/mfid0s1b", you should add the following to
/etc/rc.conf:

dumpdev="/dev/mfid0s1b"

-- 
Devin


> the customized kernel has those information enabled:
> 
> # Debugging for use in -current
> options KDB # Enable kernel debugger support.
> options DDB # Support DDB.
> options GDB # Support remote GDB.
> 
> user@host:~:$ sysctl -a | grep debug.kdb
> debug.kdb.stop_cpus: 1
> debug.kdb.trap_code: 0
> debug.kdb.trap: 0
> debug.kdb.panic: 0
> debug.kdb.enter: 0
> debug.kdb.current: ddb
> debug.kdb.available: ddb
> 
> 
> 
> by the way, where is my gdb? on one of my company's machisne, it looks like
> this:
> 
> debug.kdb.available: ddb gdb
> 
> thank you all
> 
> /gahn
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.

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


learning freebsd kernel

2012-04-06 Thread gahn
hi gurus:

how could i create the core dumps on freebsd kernel? i am trying to create a 
kernel core dump on 8.1 but it didn't happen:

# sysctl -w debug.kdb.panic=1

well the system went panic, entered the mode db>. i did "reboot' but there was 
no core/kernel dumps under /var/crash.

the customized kernel has those information enabled:

# Debugging for use in -current
options KDB # Enable kernel debugger support.
options DDB # Support DDB.
options GDB # Support remote GDB.

user@host:~:$ sysctl -a | grep debug.kdb
debug.kdb.stop_cpus: 1
debug.kdb.trap_code: 0
debug.kdb.trap: 0
debug.kdb.panic: 0
debug.kdb.enter: 0
debug.kdb.current: ddb
debug.kdb.available: ddb 



by the way, where is my gdb? on one of my company's machisne, it looks like 
this:

debug.kdb.available: ddb gdb

thank you all

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


Re: compiling glib20 failed

2012-04-04 Thread gahn
hi, sergey:

thanks for the great tip. i think messed up with this xz thing. last year i 
played with xz since a package i was trying to install wouldn't use xz package 
coming with the base system. 


now i disabled those under /usr/local/lib and the system is back to normal.

best regards

_gahn



- Original Message -
From: Sergey Kandaurov 
To: gahn 
Cc: free bsd ; freebsd general questions 

Sent: Wednesday, April 4, 2012 2:31 AM
Subject: Re: compiling glib20 failed

On 4 April 2012 07:02, gahn  wrote:
> hi gurus:
>
> i got problem with compiling glib20:
>
> ===>   glib-2.28.8_4 depends on file: /usr/local/bin/perl5.10.1 - found
> /libexec/ld-elf.so.1: /usr/local/lib/liblzma.so.5: version XZ_5.0 required by 
> /usr/bin/xz not defined
> ===>  Missing license file for LGPL20 in 
> /usr/ports/devel/glib20/work/glib-2.28.8/COPYING
> *** Error code 1
>
> Stop in /usr/ports/devel/glib20.
> *** Error code 1
>
>
> basically i was trying to install tshark on freebsd 8.1 but it told me i need 
> to upgrade glib but i got into this mess.
>

Looks like the source of your problem may lie in that your base /usr/bin/xz
tries to dlopen /usr/local/lib/liblzma.so.5 installed from ports and not
the one from base (i.e. there should be /usr/lib/liblzma.so.5 instead).
The one from ports doesn't have the symbol versioning
(or at least doesn't have specific symbols the base xz wants)
and, for aught I know, shall not be used by the base xz in any way.

I wonder how did you manage to install xz from ports on 8.1
as this port is specifically IGNORE'd to install on 8.1 system
with the reason "is already in the base system".

First I would try to pkgrm xz and see how it helps.

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

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


compiling glib20 failed

2012-04-03 Thread gahn
hi gurus:

i got problem with compiling glib20:

===>   glib-2.28.8_4 depends on file: /usr/local/bin/perl5.10.1 - found
/libexec/ld-elf.so.1: /usr/local/lib/liblzma.so.5: version XZ_5.0 required by 
/usr/bin/xz not defined
===>  Missing license file for LGPL20 in 
/usr/ports/devel/glib20/work/glib-2.28.8/COPYING
*** Error code 1

Stop in /usr/ports/devel/glib20.
*** Error code 1


basically i was trying to install tshark on freebsd 8.1 but it told me i need 
to upgrade glib but i got into this mess.

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


Re: usb portable drive (ntfs) issues

2011-02-27 Thread gahn
thanks.

ok, that was my mistake for that "mdntfs". it should be "ntfs".

best

--- On Sat, 2/26/11, ill...@gmail.com  wrote:

> From: ill...@gmail.com 
> Subject: Re: usb portable drive (ntfs) issues
> To: "gahn" 
> Cc: "freebsd general questions" 
> Date: Saturday, February 26, 2011, 11:00 PM
> On 26 February 2011 22:23, gahn
> 
> wrote:
> > hi all gurus:
> >
> > for usb external drive, i followed the handbook:
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html
> >
> > but i have some problems for mounting a portable usb
> external drive:
> >
> > 1) when i plugged in, /dev/da0s1 appears:
> >
> > ip@hotty:/var/log:$ ls -al /dev/da0s1
> > crw-r-  1 root  operator    0, 108 Feb 26
> 22:05 /dev/da0s1
> >
> > but i can't mount it:
> >
> > hotty# mount -t  mdntfs /dev/da0s1 /mnt/mlu
> > mount: /dev/da0s1 : Operation not supported by device
> >
> 
> I am wholly unfamiliar with mdntfs, so I'll assume you
> meant to type ntfs.  In any case, you probably have
> to
> mount it read-only (unless you install
> sysutils/fusefs-ntfs)
> as FreeBSD does not support writing to ntfs by default.
> 
> Fat32 is still the only viable solution for (nearly) full
> portability.
> 
> -- 
> --
> 



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


usb portable drive (ntfs) issues

2011-02-26 Thread gahn
hi all gurus:

for usb external drive, i followed the handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html

but i have some problems for mounting a portable usb external drive:

1) when i plugged in, /dev/da0s1 appears:

ip@hotty:/var/log:$ ls -al /dev/da0s1
crw-r-  1 root  operator0, 108 Feb 26 22:05 /dev/da0s1

but i can't mount it:

hotty# mount -t  mdntfs /dev/da0s1 /mnt/mlu
mount: /dev/da0s1 : Operation not supported by device

2) after i rebooted the system, even the usb external drive is still plugged 
in, but it disappears from the freebsd system:

ip@hotty:$ ls -al /dev/da0s1
ls: /dev/da0s1: No such file or directory

how could i fix this?

thanks in advance








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


Re: freebsd and

2011-01-06 Thread gahn
thanks. i am looking into the suggestions.

best

gahn

--- On Wed, 1/5/11, Indexer  wrote:

> From: Indexer 
> Subject: Re: freebsd and
> To: "Bill Moran" 
> Cc: "gahn" , "freebsd general questions" 
> 
> Date: Wednesday, January 5, 2011, 4:53 PM
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> 
> On 06/01/2011, at 07:02, Bill Moran wrote:
> 
> > 
> > (don't see why this was on -current)
> > 
> > In response to gahn :
> >> hi all:
> >> 
> >> i set up the freeradius 21.100.1 on freebsd 8.1.
> it uses local authentication database of /etc/passwd (thanks
> to the previous discussions alan did with others). the
> problem is: it only works with the condition of the server
> id running as "root" instead of "freeradius" due to the one
> way MD5 hash of /etc/passwd file.
> >> 
> >> are there any other better ways to implement
> this?
> > 
> > a) Put the Radius server in a jail, so it can run as
> root without all the
> >   security concerns.
> > b) Use something other than /etc/passwd
> authentication
> > 
> 
> Cant radius use pam? perhaps you should look into that. 
> 
> It may be a pain though, freeradius is largely
> undocumented, and what documentation exists is often
> incomplete, incorrect and full of people touting "IT JUST
> WORKS" when 99% of the time, It never works. Once you figure
> it out however, its great. I would highly recommend putting
> your raddb into a version control system. 
> 
> > -- 
> > Bill Moran
> > http://www.potentialtech.com
> > http://people.collaborativefusion.com/~wmoran/
> > ___
> > freebsd-questions@freebsd.org
> mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> 
> William Brown
> 
> pgp.mit.edu
> 
> 
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
> 
> iQIcBAEBAgAGBQJNJRKdAAoJEHF16AnLoz6Je6YP/j5sfpXOReiyviyNututzGfA
> dS+/6MoBfumuzdLAxTZ5gCJ4r7hIWJSbl0vPbt8zDbigcGJKcuT63dfdeAsV/7vu
> /0KqeC1HbrS5mXB2bVVjUvxgm+LbTlTrS8pIkS3A1jWSvvYgqb5ABXL2gXDARJig
> pQ5Ehw/mJsgNNmYOrHD1FV5H1/0s0arXSK6rK/sJa7qBIyuLvfuatfK2NOFlPAr5
> ST1UqvGrEVP5vA4GGO3+l4m7CBIuzVBuVaLpTpsHUXcdjxoB0bgZrR6se42z7VFo
> PgClT1bKv/Ht8rD9EO6oRpASAHB89/K1HpNvHbV9KT+veuKcla0xVPilpyt+XMES
> c4iDxwOBzml+N6QPiGdD9+GhfvZbg2JBgHoGYFXclyDJFceiDVkMgTWN75miB+d4
> tMTZbtwkQNoobRmp/BCAlVqRJC3dUQeVqDSAUkuMf6ZU0WQWfh6g8qtGb0IA5mWH
> u0mRbBacEr4kx3bSeIzCb09DJMkDFmb1/kaQPVqUEYpU+ggW8yLV5sz/vdomdpRB
> 6hUfcXHnGK/GY4FsMPHaLTWghHdG6cFv8XwM/8ftsrCTtJYl0mD8xzSxqeTBCrua
> VPHcZ0d4gxe7reylYZfp8NqTAK96JBkRqEoTtYyi6Oiy8kbolY8SHiok98o/uydT
> nGM30URjS7EC7oSyL4N5
> =ppAO
> -END PGP SIGNATURE-
> 



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


freebsd and

2011-01-05 Thread gahn
hi all:

i set up the freeradius 21.100.1 on freebsd 8.1. it uses local authentication 
database of /etc/passwd (thanks to the previous discussions alan did with 
others). the problem is: it only works with the condition of the server id 
running as "root" instead of "freeradius" due to the one way MD5 hash of 
/etc/passwd file.

are there any other better ways to implement this?


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


CARP and freebsd

2010-09-03 Thread gahn
Hi, all:

Is carp a part of freebsd 8.1? or I have to download from somewhere and install 
it?

Thanks in advance


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


Re: ports database

2010-08-26 Thread gahn
well, I could just update the database offline, then use another machine
 download right software and put them in /usr/ports/distfiles...

--- On Thu, 8/26/10, Adam Vande More  wrote:

From: Adam Vande More 
Subject: Re: ports database
To: "gahn" 
Cc: "freebsd general questions" 
Date: Thursday, August 26, 2010, 1:07 PM

On Thu, Aug 26, 2010 at 2:13 PM, gahn  wrote:

Hi all:



Is it possible to update the database of ports offline.



It is nice to use "portsnap fetch/extract/update", but I can't use that since 
one of my server has no connection to the internet...

If you have another machine available, it probably makes more sense to build 
the packages there and bring them over.   A ports tree with no internet 
connection is not always useful.  It doesn't contain the source necessary to 
build the packages.  


-- 
Adam Vande More





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


ports database

2010-08-26 Thread gahn
Hi all:

Is it possible to update the database of ports offline.

It is nice to use "portsnap fetch/extract/update", but I can't use that since 
one of my server has no connection to the internet...

_dave


  

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


meory file system

2010-08-20 Thread gahn
Hi, All:

I am running 8.1. under /dev, I don't see /dev/md0, so i am trying to add 
following lines in kernel file and got error messages:

options MFS #Memory Filesystem


/usr/src/sys/i386/conf/bn39_1: unknown option "MFS"
*** Error code 1

Stop in /usr/src.
*** Error code 1

any gurus here know what is happeny here?



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


ftp passive mode

2010-05-20 Thread gahn
Hi All:

I am behind firewall and only pass ftp sessions are allowed. With that, most 
ftp sessions of portupgrade would not be able to connect to remote FreeBSD 
sites.

Could I reconfigure the my FreeBSD 7.3 in a way so that it would only start ftp 
sessions in PASV mode?

Thanks.


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


Re: make recursion error

2010-04-07 Thread gahn
Hi all:


Looks like those packages are mutually dependent:


===>   arts-1.5.10_4,1 depends on shared library: jack - not found
===>Verifying install for jack in /usr/ports/audio/jack
===>   jackit-0.116.2_4 depends on executable: doxygen - not found
===>Verifying install for doxygen in /usr/ports/devel/doxygen
===>   doxygen-1.6.3_1 depends on executable: tmake - found
===>   doxygen-1.6.3_1 depends on executable: dot - not found



--

how could i untangle this mess?

thanks


--- On Wed, 4/7/10, gahn  wrote:

> From: gahn 
> Subject: make recursion error
> To: "freebsd general questions" 
> Date: Wednesday, April 7, 2010, 5:34 PM
> Hi guru:
> 
> trying to compile /usr/ports/graphics/graphviz and running
> into problems. the "make" processes kept recycling until
> running out of buffer:
> 
> -
> 
> 
> 
> make: Max recursion level (500) exceeded.: Resource
> temporarily unavailable
> *** Error code 2
> Stop in /usr/ports/devel/doxygen.
> *** Error code 1
> 
> Stop in /usr/ports/devel/doxygen.
> *** Error code 1
> 
> Stop in /usr/ports/audio/jack.
> *** Error code 1
> 
> Stop in /usr/ports/audio/arts.
> *** Error code 1
> 
> Stop in /usr/ports/audio/arts.
> *** Error code 1
> 
> Stop in /usr/ports/devel/sdl12.
> *** Error code 1
> 
> Stop in /usr/ports/devel/sdl12.
> *** Error code 1
> 
> Stop in /usr/ports/graphics/devil.
> *** Error code 1
> 
> Stop in /usr/ports/graphics/devil.
> *** Error code 1
> 
> Stop in /usr/ports/graphics/graphviz.
> *** Error code 1
> 
> Stop in /usr/ports/graphics/graphviz.
> ...
> ...
> ...
> ...
> ...
> -
> 
> how could i fix this?
> 
> thanks.
> 
> 
> 
> 
>       
> ___
> freebsd-questions@freebsd.org
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> 



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


make recursion error

2010-04-07 Thread gahn
Hi guru:

trying to compile /usr/ports/graphics/graphviz and running into problems. the 
"make" processes kept recycling until running out of buffer:

-



make: Max recursion level (500) exceeded.: Resource temporarily unavailable
*** Error code 2
Stop in /usr/ports/devel/doxygen.
*** Error code 1

Stop in /usr/ports/devel/doxygen.
*** Error code 1

Stop in /usr/ports/audio/jack.
*** Error code 1

Stop in /usr/ports/audio/arts.
*** Error code 1

Stop in /usr/ports/audio/arts.
*** Error code 1

Stop in /usr/ports/devel/sdl12.
*** Error code 1

Stop in /usr/ports/devel/sdl12.
*** Error code 1

Stop in /usr/ports/graphics/devil.
*** Error code 1

Stop in /usr/ports/graphics/devil.
*** Error code 1

Stop in /usr/ports/graphics/graphviz.
*** Error code 1

Stop in /usr/ports/graphics/graphviz.
...
...
...
...
...
-

how could i fix this?

thanks.




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


port error

2010-04-07 Thread gahn
Hi all:

I got problem for compiling "py-libxml2":

-

path -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libxml2.so -lz 
/usr/local/lib/libiconv.so -lpth -lutil -lm -lpython2.6-Wl,-soname 
-Wl,libxml2mod.so -o .libs/libxml2mod.so
/usr/bin/ld: cannot find -lpth
gmake[1]: *** [libxml2mod.la] Error 1
gmake[1]: Leaving directory 
`/usr/ports/textproc/py-libxml2/work/libxml2-2.7.6/python'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/textproc/py-libxml2.

---

the error seems to point the issue to python. i installed "python2.6" since 
some other packages require newer version of python2.

how could i fix this problem?

thanks





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


weird errors or else?

2010-04-04 Thread gahn
Hi all:

I am compiling xscreensaver-kde and it stooped with following errors:


Package tocloft Note: The document has chapter divisions.

) (/usr/local/share/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/share/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/share/texmf-dist/tex/latex/hyperref/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/usr/local/share/texmf-dist/tex/latex/hyperref/backref.sty)
(/usr/local/share/texmf-dist/tex/latex/url/url.sty))
*hyperref using default driver hpdftex*
(/usr/local/share/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/share/texmf-dist/tex/latex/psnfss/pifont.sty
(/usr/local/share/texmf-dist/tex/latex/psnfss/upzd.fd)
(/usr/local/share/texmf-dist/tex/latex/psnfss/upsy.fd)))
Writing index file doxygen_manual.idx
(./doxygen_manual.aux
! Text line contains an invalid character.
l.2 ^^@
   
^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@...

? ^C
! Text line contains an invalid character.
l.2 ^...@^^@
  
^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@...

? X
No pages of output.
Transcript written on doxygen_manual.log.
gmake[1]: *** [doxygen_manual.pdf] Error 1
gmake: *** [pdf] Interrupt: 2


seem to me it want to write something but it doesn't tell me what to do next...

what should I do next?

Thanks


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


samba failed MD5 Checksum

2010-04-04 Thread gahn
Hi all:

I am trying to compile the smaba34 but somehow it failed MD5 Checksum and 
SHA256 Checksum:


# make all
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for samba34-3.4.5_1
===>  ---
===>  Run 'make config' to (re)configure the port
===>  ---
===>  Extracting for samba34-3.4.5_1
=> MD5 Checksum mismatch for samba-3.4.5.tar.gz.
=> SHA256 Checksum mismatch for samba-3.4.5.tar.gz.
===>  Refetch for 1 more times files: samba-3.4.5.tar.gz samba-3.4.5.tar.gz 
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for samba34-3.4.5_1
===>  ---
===>  Run 'make config' to (re)configure the port
===>  ---
=> samba-3.4.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.

-

actually "samba-3.4.5.tar.gz" does exist under /usr/ports/distfiles

how could I fix this problem? I am using 7.2-p7...

Thanks


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


multicast support and mgen

2010-03-26 Thread gahn
Hi, all:

I am trying to get mgen to work my freebsd 7.2 box. the customized kernel has 
"options   MROUTING" compiled in. Assume that would make sure the kernel 
support multicast traffic

the mgen seems to be working fine with any unicast address it can reach. but it 
just doesn't bind the multicast group address to its socket:

u...@lab:~/scripts:$ mgen event "ON  1 UDP DST 225.0.0.1/3000 PERIODIC [10 64] 
INTERFACE bge0 TTL 32"
mgen: version 4.2b6
mgen: starting now ...
16:46:01.651464 START
MgenFlow::OnTxTimeout() socket_item->SendTo() error: Network is unreachable
MgenFlow::OnTxTimeout() socket_item->SendTo() error: Network is unreachable
MgenFlow::OnTxTimeout() socket_item->SendTo() error: Network is unreachable
MgenFlow::OnTxTimeout() socket_item->SendTo() error: Network is unreachable
MgenFlow::OnTxTimeout() socket_item->SendTo() error: Network is unreachable


any gurus here have any ideas on this issue?




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


vi question

2010-02-19 Thread gahn
Hi, all:

How could I use vi to repeat a word, say, 100 times in the same line, of course 
with a space in between?

Thanks in advance


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


fsck failed to sync inodes

2010-01-15 Thread gahn
Hi gurus:

I booted the system into single user mode and tried to clean up one of my 
corrupted file system:

fsck -y /dev/ad1s1f

but in the end, the file system is still dirty. anything else I can do to 
salvage the data? 

Thanks in Advance


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


vi editing

2010-01-15 Thread gahn
Hi gurus:

I am trying to add a word on every line (right in front of every line) via vi. 
Right now I have:

x
x
x

after that, I want to have:

"new word" x
"new word" x
"new word" x

How could I do that with vi?


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


passwd file transfer

2009-04-16 Thread gahn

Hi all:

we have a linux based system and it will be replaced with freebsd based system. 
but i would like to reuse users' password. is there any better way to do this?


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


Re: loader.conf

2009-04-10 Thread gahn

Thanks for the detailed information.

Best


--- On Fri, 4/10/09, Matthew Seaman  wrote:

> From: Matthew Seaman 
> Subject: Re: loader.conf
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Friday, April 10, 2009, 9:03 AM
> gahn wrote:
> > Hi all:
> > 
> > I have a machine with 2GB memory. in the file
> loader.conf, there is a line:
> > 
> > #hw.physmem="1G"# Limit
> physical memory. See loader(8)
> > 
> > Could I remove the "#" and change that to
> "2G"?
> > 
> > Interestingly, the sysctl indicates the parameter of
> "hw.physmem" is not changeable.
> > 
> > Any guru here give me some enlightenment?
> 
> hw.physmem is a loader tunable: ie. you can only set it
> from the boot
> loader before the kernel is fully operational.  Once the
> kernel is running
> it can't be altered.
> 
> hw.physmem is designed to let you test running a kernel
> with less RAM
> than is physically installed in a machine.  Not having to
> pop the case
> and physically pull memory sticks out can be pretty useful.
>  It's not of
> general interest -- only for kernel and various other
> software developers
> in the main -- as the usual thing is to make use of all the
> RAM you have
> available or (in the case of 32bit machines) that the
> system is capable of
> addressing. 
> If hw.physmem is unset in loader.conf the kernel will
> automatically use all
> the memory available to it: this is the correct and
> desirable behaviour for
> the vast majority of systems.  For a 2GB machine, that
> means the system will
> use all the RAM that's installed.
> 
>   Cheers,
> 
>   Matthew
> 
> -- Dr Matthew J Seaman MA, D.Phil.   7
> Priory Courtyard
>  Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
>  Kent, CT11
> 9PW


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


loader.conf

2009-04-10 Thread gahn

Hi all:

I have a machine with 2GB memory. in the file loader.conf, there is a line:

#hw.physmem="1G"# Limit physical memory. See loader(8)

Could I remove the "#" and change that to "2G"?

Interestingly, the sysctl indicates the parameter of "hw.physmem" is not 
changeable.

Any guru here give me some enlightenment?




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


mouse problems-version 7.1

2009-04-10 Thread gahn

Hi all:

After I did "portupgrade -fa -y" and I have mouse problem: it works under the 
test of "sysinstall" but it would not work when I start KDE environment.

What went wrong? How could i fix this?

Thanks


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


sqlite3 won't install

2009-04-09 Thread gahn

hi all:

for portupgrade, one of packages, sqlite3 just won't install, even i tried to 
install it manually:

/usr/bin/install -c -o root -g wheel -m 0644 sqlite3.pc 
/usr/local/libdata/pkgconfig
libtool: install: error: cannot install `libtclsqlite3.la' to a directory not 
ending in /usr/local/lib/tcl8.4/sqlite3
*** Error code 1


how could i fix this?


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


Re: /usr/local/lib/libgssapi.so (solved?)

2009-04-03 Thread gahn

Ok, here is what i did:

cp /usr/local/lib/compat/pkg/libgssapiv2.so.2 /usr/local/lib/libgssapi.so.2


well, it seems to be working, at least one of failed packages is being compiled 
now...

is it the correct way doing it?



--- On Fri, 4/3/09, gahn  wrote:

> From: gahn 
> Subject: Re: /usr/local/lib/libgssapi.so
> To: "Paul B. Mahol" 
> Cc: "freebsd general questions" 
> Date: Friday, April 3, 2009, 10:04 AM
> well, it doesn't exist...:)
> 
> hm_1# ls -al /usr/local/lib/libgssapi.so.2
> ls: /usr/local/lib/libgssapi.so.2: No such file or
> directory
> 
> Look at another server 6.3, the same.
> 
> thanks
> 
> 
> --- On Fri, 4/3/09, Paul B. Mahol 
> wrote:
> 
> > From: Paul B. Mahol 
> > Subject: Re: /usr/local/lib/libgssapi.so
> > To: ipfr...@yahoo.com
> > Cc: "freebsd general questions"
> 
> > Date: Friday, April 3, 2009, 10:00 AM
> > On 4/3/09, gahn  wrote:
> > >
> > > Hi all:
> > >
> > > Did the portupgrade and a certain number of
> > applications failed due to the
> > > error:
> > >
> > > gcc: /usr/local/lib/libgssapi.so: No such file or
> > directory
> > >
> > > but i look at the file and it does exist:
> > >
> > > hm_1# ls -al /usr/local/lib/libgssapi.so
> > > lrwxr-xr-x  1 root  wheel  14 Feb  7 20:48
> > /usr/local/lib/libgssapi.so ->
> > > libgssapi.so.2
> > >
> > > does anyone know why this happened and how should
> i
> > fix it?
> > 
> > What about /usr/local/lib/libgssapi.so.2 ?
> > 
> > -- 
> > Paul
> 
> 
>   
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"


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


Re: /usr/local/lib/libgssapi.so

2009-04-03 Thread gahn

well, it doesn't exist...:)

hm_1# ls -al /usr/local/lib/libgssapi.so.2
ls: /usr/local/lib/libgssapi.so.2: No such file or directory

Look at another server 6.3, the same.

thanks


--- On Fri, 4/3/09, Paul B. Mahol  wrote:

> From: Paul B. Mahol 
> Subject: Re: /usr/local/lib/libgssapi.so
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Friday, April 3, 2009, 10:00 AM
> On 4/3/09, gahn  wrote:
> >
> > Hi all:
> >
> > Did the portupgrade and a certain number of
> applications failed due to the
> > error:
> >
> > gcc: /usr/local/lib/libgssapi.so: No such file or
> directory
> >
> > but i look at the file and it does exist:
> >
> > hm_1# ls -al /usr/local/lib/libgssapi.so
> > lrwxr-xr-x  1 root  wheel  14 Feb  7 20:48
> /usr/local/lib/libgssapi.so ->
> > libgssapi.so.2
> >
> > does anyone know why this happened and how should i
> fix it?
> 
> What about /usr/local/lib/libgssapi.so.2 ?
> 
> -- 
> Paul


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


/usr/local/lib/libgssapi.so

2009-04-03 Thread gahn

Hi all:

Did the portupgrade and a certain number of applications failed due to the 
error:

gcc: /usr/local/lib/libgssapi.so: No such file or directory

but i look at the file and it does exist:

hm_1# ls -al /usr/local/lib/libgssapi.so
lrwxr-xr-x  1 root  wheel  14 Feb  7 20:48 /usr/local/lib/libgssapi.so -> 
libgssapi.so.2

does anyone know why this happened and how should i fix it?

thanks


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


l

2009-04-03 Thread gahn

Hi all:

Did the portupgrade and a certain number of applications failed due to the 
error:

gcc: /usr/local/lib/libgssapi.so: No such file or directory

but i look at the file and it does exist:

hm_1# ls -al /usr/local/lib/libgssapi.so
lrwxr-xr-x  1 root  wheel  14 Feb  7 20:48 /usr/local/lib/libgssapi.so -> 
libgssapi.so.2

does anyone know why this happened and how should i fix it?

thanks


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


Re: ipfw and carp

2009-03-20 Thread gahn


Thanks!

Indeed I did have:

${fwcmd} 140 allow all from $CARP-PEER_physical_interface to any via 
$local_external_interface

But it alone doesn't seem to be enough, sometimes it work but sometimes it 
doesn't. with tcpdump, sometimes I can't see the VRRPv2 advertisement.

So now i added:

${fwcmd} 150 allow all from any to 224.0.0.18 vi $local_external_interface

now it seem to be working perfect.




--- On Wed, 3/18/09, Nikos Vassiliadis  wrote:

> From: Nikos Vassiliadis 
> Subject: Re: ipfw and carp
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Wednesday, March 18, 2009, 1:21 AM
> gahn wrote:
> > Did any one use ipfw with CARP before? is there
> anything specific
> > about ipfw configurations working with CARP? I have
> two servers and
> > they configured with CARP. they are working fine
> except i can't turn
> > on ipfw.
> 
> Did you add the rules needed to let CARP traffic in and out
> of the
> boxes?
> 
> ipfw denies everything by default. So, you have to
> explicitly
> let CARP traffic through. Something like "allow carp
> from any
> to any" would do for a quick test.
> 
> Nikos
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"


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


carp and duplicated echo replies

2009-03-18 Thread gahn

Hi all:

My two servers have carp configured and work fine. but the pings directed to 
the virtual interface (carp interface for both server) result duplicated 
replies:

64 bytes from 172.20.1.25: icmp_seq=0 ttl=64 time=0.049 ms
64 bytes from 172.20.1.25: icmp_seq=1 ttl=64 time=0.016 ms (DUP!)
64 bytes from 172.20.1.25: icmp_seq=2 ttl=64 time=0.020 ms
64 bytes from 172.20.1.25: icmp_seq=3 ttl=64 time=0.035 ms (DUP!)
64 bytes from 172.20.1.25: icmp_seq=4 ttl=64 time=0.016 ms
64 bytes from 172.20.1.25: icmp_seq=5 ttl=64 time=0.015 ms (DUP!)
64 bytes from 172.20.1.25: icmp_seq=6 ttl=64 time=0.014 ms
64 bytes from 172.20.1.25: icmp_seq=7 ttl=64 time=0.014 ms (DUP!)
...

Is that normal? VRRP virtual interface don't seem to behave that way.

Thanks



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


Re: ipfw and carp

2009-03-17 Thread gahn

Sorry I meant the same rules I used on another machine (working fine) would not 
work for those machines with CARP activated.

I didn't change anything except IP addresses. Also instead of physical 
interfaces, I put rules on carp interface.




--- On Tue, 3/17/09, gahn  wrote:

> From: gahn 
> Subject: ipfw and carp
> To: "freebsd security" , "freebsd general 
> questions" 
> Date: Tuesday, March 17, 2009, 12:15 PM
> Hi all:
> 
> Did any one use ipfw with CARP before? is there anything
> specific about ipfw configurations working with CARP? I have
> two servers and they configured with CARP. they are working
> fine except i can't turn on ipfw.
> 
> I have the exact same configuration except ip addresses;
> those same rule sets of ipfw work on one server but not on
> another.
> 
> Thanks all
> 
> 
> 
> 
>   
> ___
> freebsd-secur...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-security
> To unsubscribe, send any mail to
> "freebsd-security-unsubscr...@freebsd.org"


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


ipfw and carp

2009-03-17 Thread gahn

Hi all:

Did any one use ipfw with CARP before? is there anything specific about ipfw 
configurations working with CARP? I have two servers and they configured with 
CARP. they are working fine except i can't turn on ipfw.

I have the exact same configuration except ip addresses; those same rule sets 
of ipfw work on one server but not on another.

Thanks all




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


freebsd 7.1, building kernel

2009-03-09 Thread gahn

Hi, all:

I am trying to build customized kernel with "device carp" and followed kernel 
building procedure of the handbook. unfortunately it is failed:

lab1# make buildkernel KERNCONF=lab1
ERROR: Missing kernel configuration file(s) (lab1).
*** Error code 1

Stop in /usr/src.
*** Error code 1

-rw-r--r--   1 root  wheel 13 Jun 20  2005 .cvsignore
-rw-r--r--   1 root  wheel534 Nov 24 21:59 DEFAULTS
-rw-r--r--   1 root  wheel  12412 Nov 24 21:59 GENERIC
-rw-r--r--   1 root  wheel   1745 Nov 24 21:59 GENERIC.hints
-rw-r--r--   1 root  wheel   1034 Nov 24 21:59 MAC
-rw-r--r--   1 root  wheel131 Nov 24 21:59 Makefile
-rw-r--r--   1 root  wheel  38713 Nov 24 21:59 NOTES
-rw-r--r--   1 root  wheel   2016 Nov 24 21:59 PAE
-rw-r--r--   1 root  wheel   3539 Nov 24 21:59 XBOX
lrwxr-xr-x   1 root  wheel 20 Mar  9 18:08 lab1 -> /root/kernels/lab1

tried another system and i had similar problem:

lab2# make buildkernel KERNCONF=lab2
ERROR: Missing kernel configuration file(s) (lab2).
*** Error code 1

Stop in /usr/src.
*** Error code 1

bothe system has just been patched:

FreeBSD piper_2 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Mon Mar  9 16:48:31 
EDT 2009 ad...@lab1:/usr/obj/usr/src/sys/GENERIC  amd64

but for the kernel name GENERIC, the command work fine:

drwxr-xr-x   2 root  wheel512 Mar  9 18:10 .
drwxr-xr-x  15 root  wheel512 Feb 20 13:04 ..
-rw-r--r--   1 root  wheel 13 Jun 20  2005 .cvsignore
-rw-r--r--   1 root  wheel534 Nov 24 21:59 DEFAULTS
lrwxr-xr-x   1 root  wheel 21 Mar  9 18:10 GENERIC -> /root/kernels/lab1
-rw-r--r--   1 root  wheel  12412 Nov 24 21:59 GENERIC.bak
-rw-r--r--   1 root  wheel   1745 Nov 24 21:59 GENERIC.hints
-rw-r--r--   1 root  wheel   1034 Nov 24 21:59 MAC
-rw-r--r--   1 root  wheel131 Nov 24 21:59 Makefile
-rw-r--r--   1 root  wheel  38713 Nov 24 21:59 NOTES
-rw-r--r--   1 root  wheel   2016 Nov 24 21:59 PAE
-rw-r--r--   1 root  wheel   3539 Nov 24 21:59 XBOX

did anyone here encounter such problem?

Thanks 





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


portupgrade, afterwards

2009-03-09 Thread gahn

Hi all:

Where is the result of "portupgrade -fa" stored at? it showed a bunch files 
didn't go through or failed. just wondering whether I can take look at the 
results after I rebooted the server.

Thanks


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


hardware list in a machine

2009-03-09 Thread gahn

Hi all:

How could I find out the list of hardware in my machine? I used "dmesg" and 
"var/run/dmesg.boot", it didn't seem to help that much as I expected.

which file lists all of hardware in the machine?

Thanks.






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


rc.conf and starting scripts

2009-03-01 Thread gahn

Hi all:

I have some starting scripts under some other directories other than /etc/rc.d. 
How could I utilize the rc.conf file to start them when the system boots up?

The default location for rc.conf is /etc/rc.d only and the knob 
"local_startup=/usr/local/etc/rc.d" doesn't seem to be working for me for some 
reasons




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


libgtkhtml-3.14 >= 3.23.5

2009-03-01 Thread gahn

Hi all:

I have problems to compile mail/evolution:

"checking for GTKHTML... configure: error: Package requirements 
(libgtkhtml-3.14 >= 3.23.5) were not met:

Requested 'libgtkhtml-3.14 >= 3.23.5' but version of libgtkhtml is 3.18.3

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix."


under www/libgtkhtml, it is version of 2.11.1, and www.gtkhtml is version 1.xx 
something. where is the version >= 3.23.5?




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


Re: xi?

2009-03-01 Thread gahn


Thanks.

--- On Sat, 2/28/09, Glyn Millington  wrote:

> From: Glyn Millington 
> Subject: Re: xi?
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Saturday, February 28, 2009, 9:12 PM
> gahn  writes:
> 
> > Hi all:
> >
> > I am rebuilding those ports and run into some
> problems. one of those
> > is:
> >
> > checking for XINPUT... configure: error: Package
> requirements (x11 xext
> > xi >= 1.2 inputproto >= 1.5) were not met:
> >
> > Requested 'xi >= 1.2' but version of Xi is
> 1.1.3
> >
> > searching for a while and can't find this
> "xi". how could I upgrade
> > this "xi"?
> 
> /usr/ports/X11/libXi  would be my guess :-)
> 
> 
> You may need to update your ports tree.
> 
> 
> atb
> 
> Glyn


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


xi?

2009-02-28 Thread gahn

Hi all:

I am rebuilding those ports and run into some problems. one of those is:

checking for XINPUT... configure: error: Package requirements (x11 xext xi >= 
1.2 inputproto >= 1.5) were not met:

Requested 'xi >= 1.2' but version of Xi is 1.1.3

searching for a while and can't find this "xi". how could I upgrade this "xi"?

Thanks


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


Re: where is gtk+-2?

2009-02-28 Thread gahn

Thanks!!!


--- On Sat, 2/28/09, Polytropon  wrote:

> From: Polytropon 
> Subject: Re: where is gtk+-2?
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Saturday, February 28, 2009, 1:12 PM
> On Sat, 28 Feb 2009 11:10:01 -0800 (PST), gahn
>  wrote:
> > Hi all:
> > 
> > Which is the package gtk+-2 located under /usr/ports?
> 
> Are you searching for /usr/ports/x11-toolkits/gtk20?
> 
> From the pkg-descr file: "GTK+ essentially provides
> the building
> blocks from which GUIs can be built. [...] GTK+-2 is a very
> stable
> release, similar only in design to GTK+-1. GTK+-2 can
> coexist happily
> alongside GTK+-1, but applications are written for one
> version or
> the other."
> 
> 
> 
> -- 
> Polytropon
> From Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...


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


where is gtk+-2?

2009-02-28 Thread gahn

Hi all:

Which is the package gtk+-2 located under /usr/ports?

Thanks

 


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


Re: portupgrade question

2009-02-24 Thread gahn
Thanks Glen:

So use "portupgrade -fa -y" again or a bit different knobs?


--- On Tue, 2/24/09, Glen Barber  wrote:

> From: Glen Barber 
> Subject: Re: portupgrade question
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Tuesday, February 24, 2009, 6:16 PM
> On Tue, Feb 24, 2009 at 9:13 PM, gahn
>  wrote:
> > Hi all:
> >
> > I was doing "portupgrade -fa -y" remotely
> via ssh (desktop xp), it worked fine and was still running
> almost two days (7.1). But suddenly i lost power on my xp
> station, lost ssh connection to the freebsd7.1 box.
> >
> > What shall i do so that i don't have to start over
> again?
> >
> 
> Next time, use sysutils/screen.  You *should* just be able
> to restart
> the portupgrade, and (ideally) it should start where it
> left off.
> 
> -- 
> Glen Barber
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"


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


Re: portupgrade question

2009-02-24 Thread gahn
Thanks Glen:

Never used screen. Does that mean it is too late and I have to start over again?




--- On Tue, 2/24/09, Glen Barber  wrote:

> From: Glen Barber 
> Subject: Re: portupgrade question
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Tuesday, February 24, 2009, 6:16 PM
> On Tue, Feb 24, 2009 at 9:13 PM, gahn
>  wrote:
> > Hi all:
> >
> > I was doing "portupgrade -fa -y" remotely
> via ssh (desktop xp), it worked fine and was still running
> almost two days (7.1). But suddenly i lost power on my xp
> station, lost ssh connection to the freebsd7.1 box.
> >
> > What shall i do so that i don't have to start over
> again?
> >
> 
> Next time, use sysutils/screen.  You *should* just be able
> to restart
> the portupgrade, and (ideally) it should start where it
> left off.
> 
> -- 
> Glen Barber
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"


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


portupgrade question

2009-02-24 Thread gahn
Hi all:

I was doing "portupgrade -fa -y" remotely via ssh (desktop xp), it worked fine 
and was still running almost two days (7.1). But suddenly i lost power on my xp 
station, lost ssh connection to the freebsd7.1 box.

What shall i do so that i don't have to start over again?

Thanks in advance




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


Re: freebsd and freeradius

2009-02-17 Thread gahn
Thanks Chuck:

Yes I checked /etc/master.passwd. it has no "#" except first two lines:

# $FreeBSD: src/etc/master.passwd,v 1.40.18.1 2008/11/25 02:59:29 kensmith Exp $
#
...
...
tester:$1$qM9hT7CJ$vUby0fxVPjgwH1JNe5j45.:2002:20::0:0:User 
&:/home/tester:/usr/local/bin/bash





--- On Tue, 2/17/09, Chuck Swiger  wrote:

> From: Chuck Swiger 
> Subject: Re: freebsd and freeradius
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Tuesday, February 17, 2009, 10:54 AM
> On Feb 17, 2009, at 10:44 AM, gahn wrote:
> > No, there is no # in any lines of /etc/passwd.
> 
> Did you check /etc/master.passwd also?
> 
> > Btw, what is this "src/etc/master.passwd"
> for?
> 
> A line like:
> 
> # $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06
> 20:19:56 brooks Exp $
> 
> ...indicates the CVS revision that the passwd file comes
> from.  It's mildly interesting when you run mergemaster
> -iU or the like to update to a newer version of the OS to
> pick up any default system accounts or changes which have
> been made.
> 
> If you're instead asking why there is a /etc/passwd
> versus master.passwd, the former is historically expected
> and is supposed to be world-readable, but the traditional
> practice of putting encrypted passwords in there made
> automated password cracking relatively feasible.  Various
> UNIXes responded to things like "John the Ripper"
> by creating a second password database which contained the
> encrypted passwords, called /etc/shadow in some places, or
> /etc/master.passwd on FreeBSD, and having that only readable
> by root.  The old /etc/passwd file would then have an
> "x" or "*" for the passwd field.
> 
> Regards,
> ---Chuck


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


Re: freebsd and freeradius

2009-02-17 Thread gahn
Thanks, Chuck.

No, there is no # in any lines of /etc/passwd. Btw, what is this 
"src/etc/master.passwd" for?




--- On Tue, 2/17/09, Chuck Swiger  wrote:

> From: Chuck Swiger 
> Subject: Re: freebsd and freeradius
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Tuesday, February 17, 2009, 10:37 AM
> Hi--
> 
> On Feb 17, 2009, at 10:20 AM, gahn wrote:
> > rlm_pap: WARNING! No "known good" password
> found for the user.  Authentication may fail because of
> this.
> > rlm_unix:  GID too long in line: # $FreeBSD:
> src/etc/master.passwd,v 1.40.18.1 2008/11/25 02:59:29
> kensmith Exp $
> > rlm_unix: [test]: invalid password
> 
> Evidently, whatever this rlm_unix thing is, it doesn't
> understand comments within /etc/passwd.  See whether you can
> get it to be happier by running vipw and deleting any lines
> which start with "#".
> 
> Regards,
> ---Chuck


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


freebsd and freeradius

2009-02-17 Thread gahn
Hi all:

i would like to use unix file /etc/passwd to authenticate users on my routers 
and somehow it always fails:

rad_recv: Access-Request packet from host 192.168.10.101:61706, id=153, 
length=53
User-Name = "tester"
User-Password = "test"
NAS-Identifier = "lab_1"
NAS-IP-Address = 192.168.6.1
rlm_pap: WARNING! No "known good" password found for the user.  Authentication 
may fail because of this.
rlm_unix:  GID too long in line: # $FreeBSD: src/etc/master.passwd,v 1.40.18.1 
2008/11/25 02:59:29 kensmith Exp $
rlm_unix: [test]: invalid password
rad_recv: Access-Request packet from host 192.168.10.101:61706, id=153, 
length=53
Sending Access-Reject of id 153 to 192.168.10.101 port 61706

here is the config for :users":

DEFAULT Auth-Type = System
Fall-Through = 1

i have user "tester" in /etc/passwd with password "test".

Thanks in advance 


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


Re: ipv6 and freebsd

2009-02-12 Thread gahn
Steve:

Thanks for the help.

well i find the problem: on the juniper routers, the configuration missed the 
statement of "prefix fec0::" under the clause of "router-advertisement". 
Once i set that right, it works as it should be.

best


--- On Thu, 2/12/09, Steve Bertrand  wrote:

> From: Steve Bertrand 
> Subject: Re: ipv6 and freebsd
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Thursday, February 12, 2009, 6:20 AM
> gahn wrote:
> > Thanks Steve:
> > 
> > the router that sending RA is juniper and the protocol
> router-advertisement has been activated:
> > 
> > g...@lab_1> show interfaces fe-0/0/3
> > ...
> > 
> >   Logical interface fe-0/0/3.170 (Index 70) (SNMP
> ifIndex 59) 
> > ...
> >   Addresses, Flags: Is-Preferred
> > Destination: fe80::/64, Local:
> fe80::214:f600:aa2c:d403
> >   Addresses, Flags: Is-Preferred Is-Primary
> > Destination: fec0:10:5::/64, Local:
> fec0:10:5:0:214:f600:aa2c:d403
> 
> fec0::/10 was deprecated per RFC3879. Perhaps the Juniper
> unit is
> obeying this and just not sending the prefix in the
> advertisement?
> 
> Everything else looks good, so lets test that possibility
> (as remote as
> it is). Take your tcpdump one step further:
> 
> > lab# tcpdump -n -i bge1 ip6
> > tcpdump: verbose output suppressed, use -v or -vv for
> full protocol decode
> > listening on bge1, link-type EN10MB (Ethernet),
> capture size 96 bytes
> > 17:55:44.027565 IP6 fe80::214:f600:aa2c:3c03 >
> ff02::1: ICMP6, router advertisement, length 24
> > 18:02:46.283353 IP6 fe80::214:f600:aa2c:d403 >
> ff02::1: ICMP6, router advertisement, length 24
> 
> # tcpdump -n -i bge1 -s 0 -w /path/to/file.pcap ip6
> 
> After a time of that running (there won't be any STDOUT
> output), stop
> the capture, and open the file in Wireshark. (I've
> never figured out
> how to get tcpdump to read the data portion of the packets
> from a file).
> 
> With the -s0, it will capture the headers and the data of
> each packet,
> so you should be able to tell whether the RA announcements
> do actually
> contain the prefix you are trying to get configured.
> 
> Something that I should have asked from the get-go...do you
> have any
> sort of firewall running on the box?
> 
> I'll set this up in my lab here today. Although we
> don't have any
> Juniper units, I'll see if I can recreate the problem
> with Cisco
> hardware. You may also want to test using a non-deprecated
> address
> space. The documentation address may work for instance.
> 
> Steve
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"


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


Re: ipv6 and freebsd

2009-02-12 Thread gahn
Thanks Steve:

We use fec0::... as global unique IPv6 address in the lab environment. the IPv6 
routers in our lab uses fec0:0:5::/64 with eui-64 addressing scheme (for 
testing).

>From the host "lab" (freebsd) machine, it clearly sees two link-local 
>addresses for two IPv6 routers via RA messages. the IP routers also sent But 
>why not the host "lab" configure itself with global unique address with prefix 
>fec0:0:5:0::/64 (provided by the routers)?

What shall I do to accomplish this on FreeBSD?



--- On Thu, 2/12/09, Steve Bertrand  wrote:

> From: Steve Bertrand 
> Subject: Re: ipv6 and freebsd
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Thursday, February 12, 2009, 6:20 AM
> gahn wrote:
> > Thanks Steve:
> > 
> > the router that sending RA is juniper and the protocol
> router-advertisement has been activated:
> > 
> > g...@lab_1> show interfaces fe-0/0/3
> > ...
> > 
> >   Logical interface fe-0/0/3.170 (Index 70) (SNMP
> ifIndex 59) 
> > ...
> >   Addresses, Flags: Is-Preferred
> > Destination: fe80::/64, Local:
> fe80::214:f600:aa2c:d403
> >   Addresses, Flags: Is-Preferred Is-Primary
> > Destination: fec0:10:5::/64, Local:
> fec0:10:5:0:214:f600:aa2c:d403
> 
> fec0::/10 was deprecated per RFC3879. Perhaps the Juniper
> unit is
> obeying this and just not sending the prefix in the
> advertisement?
> 
> Everything else looks good, so lets test that possibility
> (as remote as
> it is). Take your tcpdump one step further:
> 
> > lab# tcpdump -n -i bge1 ip6
> > tcpdump: verbose output suppressed, use -v or -vv for
> full protocol decode
> > listening on bge1, link-type EN10MB (Ethernet),
> capture size 96 bytes
> > 17:55:44.027565 IP6 fe80::214:f600:aa2c:3c03 >
> ff02::1: ICMP6, router advertisement, length 24
> > 18:02:46.283353 IP6 fe80::214:f600:aa2c:d403 >
> ff02::1: ICMP6, router advertisement, length 24
> 
> # tcpdump -n -i bge1 -s 0 -w /path/to/file.pcap ip6
> 
> After a time of that running (there won't be any STDOUT
> output), stop
> the capture, and open the file in Wireshark. (I've
> never figured out
> how to get tcpdump to read the data portion of the packets
> from a file).
> 
> With the -s0, it will capture the headers and the data of
> each packet,
> so you should be able to tell whether the RA announcements
> do actually
> contain the prefix you are trying to get configured.
> 
> Something that I should have asked from the get-go...do you
> have any
> sort of firewall running on the box?
> 
> I'll set this up in my lab here today. Although we
> don't have any
> Juniper units, I'll see if I can recreate the problem
> with Cisco
> hardware. You may also want to test using a non-deprecated
> address
> space. The documentation address may work for instance.
> 
> Steve
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"


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


freebsd 7.1 and high avalalibity

2009-02-12 Thread gahn
Hi all:

What kind of options do I have for HA software in terms of Freebsd 7.1? I have 
two servers that need to work in symphony so that in case one down then we have 
another replica to work with.

Thanks in advance


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


Re: ipv6 and freebsd

2009-02-11 Thread gahn
Thanks Steve:

the router that sending RA is juniper and the protocol router-advertisement has 
been activated:

g...@lab_1> show interfaces fe-0/0/3
...

  Logical interface fe-0/0/3.170 (Index 70) (SNMP ifIndex 59) 
...
  Addresses, Flags: Is-Preferred
Destination: fe80::/64, Local: fe80::214:f600:aa2c:d403
  Addresses, Flags: Is-Preferred Is-Primary
Destination: fec0:10:5::/64, Local: fec0:10:5:0:214:f600:aa2c:d403


g...@lab_r2> show interfaces fe-0/0/3 
...
  Logical interface fe-0/0/3.170 (Index 70) (SNMP ifIndex 32)
  Addresses, Flags: Is-Preferred
Destination: fe80::/64, Local: fe80::214:f600:aa2c:3c03
  Addresses, Flags: Is-Preferred Is-Primary
Destination: fec0:0:5::/64, Local: fec0:0:5:0:214:f600:aa2c:3c03

g...@lab:~:$ sysctl -a net.inet6.ip6.accept_rtadv
net.inet6.ip6.accept_rtadv: 1
g...@lab:~:$ ndp -i bge1
linkmtu=0, maxmtu=1500, curhlim=64, basereachable=30s0ms, reachable=36s, 
retrans=1s0ms
Flags: nud accept_rtadv 
g...@lab:~:$ ifconfig bge1
bge1: flags=8943 metric 0 mtu 
1500
options=9b
ether 00:06:5b:f0:7d:21
inet6 fe80::206:5bff:fef0:7d21%bge1 prefixlen 64 scopeid 0x2 
inet 10.0.5.10 netmask 0xff00 broadcast 10.0.5.255
media: Ethernet autoselect (100baseTX )
status: active


lab# tcpdump -n -i bge1 ip6
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bge1, link-type EN10MB (Ethernet), capture size 96 bytes
17:55:44.027565 IP6 fe80::214:f600:aa2c:3c03 > ff02::1: ICMP6, router 
advertisement, length 24
18:02:46.283353 IP6 fe80::214:f600:aa2c:d403 > ff02::1: ICMP6, router 
advertisement, length 24




--- On Tue, 2/10/09, Steve Bertrand  wrote:

> From: Steve Bertrand 
> Subject: Re: ipv6 and freebsd
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Tuesday, February 10, 2009, 10:35 AM
> gahn wrote:
> > Thanks for the tips.
> > 
> > But i still only see the fe80::..., link-local
> address, not the fec0:... something as I expected.
> 
> Provide the output to:
> 
> # sysctl -a net.inet6.ip6.accept_rtadv
> # ndp -i fxp0
> # ifconfig fxp0
> 
> ...and, run a tcpdump on fxp0 capturing only IPv6 packets.
> Eventually
> you should see the router advertisements:
> 
> # tcpdump -n -i fxp0 ip6
> 
> If you don't see them, check your router config. What
> type of router is
> it? Most routers have RAs disabled by default.
> 
> Steve


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


Re: ipv6 and freebsd

2009-02-10 Thread gahn

Thanks for the tips.

But i still only see the fe80::..., link-local address, not the fec0:... 
something as I expected.

--- On Tue, 2/10/09, Steve Bertrand  wrote:

> From: Steve Bertrand 
> Subject: Re: ipv6 and freebsd
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Tuesday, February 10, 2009, 6:28 AM
> gahn wrote:
> > Ok, i meant the configuration of
> "ipv6_network_interface="fxp0"" alone
> doesn't seem to be working:
> 
> [...]
> 
> > how could I enable IPv6 only on the interface fxp0
> instead of every interface?
> 
> It is possible to completely disable IPv6 on an interface,
> but man (8)
> ndp recommends against doing this manually.
> 
> However, you can pretty well achieve the same effect by
> informing the
> interfaces to not accept RAs.
> 
> First (and to answer your next question), enable 'auto
> config'. You can
> put the next line in /etc/sysctl.conf to enable it at boot
> (without the
> word 'sysctl'):
> 
> pearl# sysctl net.inet6.ip6.accept_rtadv=1
> 
> Now, you can disable acceptance of rtadv messages on
> individual
> interfaces by:
> 
> pearl# ndp -i fxp1 -- -accept_rtadv
> 
> ...or re-enable:
> 
> pearl# ndp -i fxp1 -- accept_rtadv
> 
> So, I think that this will suit your requirements. The only
> difference
> being is that although the unused interfaces won't
> accept RAs, they will
> still have a link-local address.
> 
> Steve


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


Re: ipv6 and freebsd

2009-02-09 Thread gahn
Ok, i meant the configuration of "ipv6_network_interface="fxp0"" alone doesn't 
seem to be working:

for /etc/rc.conf:

#ipv6_enable="YES"
ipv6_network_interface="fxp0"

u...@lab:~:$ ifconfig fxp0

fxp0: flags=8843 metric 0 mtu 1500
options=9b
ether 00:06:5b:f0:7d:21
inet 10.0.0.1 netmask 0xff80 broadcast 10.0.0.127
media: Ethernet autoselect (100baseTX )
status: active

then I modified the file /etc/rc.conf:

ipv6_enable="YES"
ipv6_network_interface="fxp0"

then it enabled the IPv6 on every interface.

how could I enable IPv6 only on the interface fxp0 instead of every interface?

Also how could I enable the feature of "auto configuration"? I have a router 
configured on the same subnet on the interface fxp0 as eui-64 and sending out 
router-advertisement. so far i don't see the automatically configured IPv6 
address on the interface fxp0 except the link-local address (the one starts 
with fe80::). why is that?


--- On Mon, 2/9/09, gahn  wrote:

> From: gahn 
> Subject: ipv6 and freebsd
> To: "freebsd general questions" 
> Date: Monday, February 9, 2009, 2:53 PM
> Hi all:
>  
> Free questions with FreeBSD and IPV6. I am running 7.1.
>  
> 1) My machine has multiple interfaces and some of
> interfaces I would like to run IP v6 but not all of them.
> How could I do that? Currently
> "ipv6_enable="YES" enables every interface of
> this machine, and
> "ipv6_network_interface="fxp0""
> doesn't seem to do anything.
> 2) I have a router that is running IPv6
> router-advertisement. How could I run autoconfiguration mode
> on the interface of my FreeBSD machine?
> 
> Thanks.
> 
> 
> 
>   
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"


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


ipv6 and freebsd

2009-02-09 Thread gahn
Hi all:
 
Free questions with FreeBSD and IPV6. I am running 7.1.
 
1) My machine has multiple interfaces and some of interfaces I would like to 
run IP v6 but not all of them. How could I do that? Currently 
"ipv6_enable="YES" enables every interface of this machine, and 
"ipv6_network_interface="fxp0"" doesn't seem to do anything.
2) I have a router that is running IPv6 router-advertisement. How could I run 
autoconfiguration mode on the interface of my FreeBSD machine?

Thanks.



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


intel 64-bit version?

2009-02-02 Thread gahn
Hi all:

What is the image for intel 64-bit version of freebsd? i have xeon machine and 
would like to install freebsd on it.

Thanks


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


freebsd and multicasting software

2009-02-01 Thread gahn
Hi, all:

Does anyone know multicasting packages (udp based) that I can test on the 
freebsd? I am using 6.3 and it comes with vlc-0.8.6i and doesn't support udp 
streaming.

Any help would be greatly appreciated..




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


Dell poweredge 2970 (AMD)

2008-12-04 Thread gahn
Hello, all:

has anyone here ever installed freebsd on dell poweredge 2970 (amd)?

Thanks


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


freebsd-update

2008-11-27 Thread gahn
Hi, all:

i did "freebsd-update fetch" and i got message:

"No updates needed to update system to 6.3-RELEASE-p6"

what does that suppose to mean? My current system (this one is online) is p4.

Thanks all.


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


offline upgrade

2008-11-25 Thread gahn
Hi, All:

I have two boxes running 6.3. For certain reasons that I can't upgrade them 
online with "freebsd-update" utility; the ftp sessions are blocked. Are there 
any other way to upgrade the system offline, both kernel and those needed 
packages?

Thanks in advance

_dave


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


upgrade packges

2008-09-20 Thread gahn
Hi all:

I am trying upgrading some packages and having problems. for example:

home# pkg_delete mysql-client-5.0.67
pkg_delete: package 'mysql-client-5.0.67' is required by these other packages
and may not be deinstalled:
apache-2.2.9_5
php5-5.2.6_2
cyrus-sasl-2.1.22_1
postfix-2.5.4,1
subversion-1.5.2

ok, if i removed it via "pkg_delete -f" and replace it with new version (5.1), 
then what would happen to packeges like apach2.2.9.5, php5-5.2.6_2 ...? are 
those packages would fail?

Thanks


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


pc with 4G memory

2008-09-13 Thread gahn
hello:

the machine i am using for freebsd has 4G memory. should i add follow lines in 
my customized kernel file?:

# Compile acpi in statically since the module isn't built properly.  Most
# machines which support large amounts of memory require acpi.
device  acpi

thanks


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


Re: portmanager errors (solved?)

2008-09-11 Thread gahn
Ok, my 6.3 system is upgraded from 6.2 a while ago and i guess that was the 
problem. now i download 6.3 and reinstalled from the cds. after that the 
"portmanager -u -y -p" went smoothly...

somehow installation from cds directly from online upgrade...


--- On Thu, 9/11/08, Gerard <[EMAIL PROTECTED]> wrote:

> From: Gerard <[EMAIL PROTECTED]>
> Subject: Re: portmanager errors
> To: freebsd-questions@freebsd.org
> Date: Thursday, September 11, 2008, 7:07 AM
> On Wed, 10 Sep 2008 18:05:47 -0700 (PDT)
> gahn <[EMAIL PROTECTED]> wrote:
> 
> 
> > --- On Wed, 9/10/08, Gerard
> <[EMAIL PROTECTED]> wrote:
> > 
> > > From: Gerard <[EMAIL PROTECTED]>
> > > Subject: Re: portmanager errors
> > > To: freebsd-questions@freebsd.org
> > > Date: Wednesday, September 10, 2008, 4:15 AM
> > > On Tue, Sep 9, 2008 at 11:04 PM, gahn
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hello:
> > > >
> > > > I run into errors when i run
> "portmanager
> > > -u":
> > > >
> > > > 00344 luit-1.0.2_2 /x11/luit
> > > > "Makefile", line 85: Could not
> find
> > >
> /usr/ports/x11/xorg-clients/../../x11-servers/xorg-server/Makefile.inc
> > > > "Makefile", line 92: Malformed
> conditional
> > > (${X_WINDOW_SYSTEM:L} != xorg)
> > > > "Makefile", line 96: if-less endif
> > > > make: fatal errors encountered -- cannot
> continue
> > > > MGdbAdd error: attempt to place null data
> into record
> > > halted
> > > > Assertion failed: (0), function MGdbAdd,
> file
> > > MGdbAdd.c, line 78.
> > > > Abort (core dumped)
> > > >
> > > > could the portmanager bypass the failed
> > > "luit" and continue the next one?
> > > 
> > > First, what version of 'portmanger' are
> you using?
> > > If not "0.4.1_9",
> > > then update. Did you insure that you updated your
> ports
> > > tree just
> > > prior to running portmanager?
> > > 
> > > After checking the above, try running portmanager
> like
> > > this:
> > > 
> > >  portmanager -u -l -p -y
> > > 
> > > See if that corrects the problem.
> > 
> > yes:
> > 
> > lab2# portmanager -v
> > 
> > rParseCommandLine 0.4.1_9
> 
> [Reformatted]
> 
> Please don't top post. If you don't know what that
> means, Google for
> it.
> 
> So, what happened after running 'portmanager' as I
> asked you to? Did
> it complete successfully or not?  
> 
> 
> -- 
> Gerard
> [EMAIL PROTECTED]
> 
> Dying is easy.  Comedy is difficult.
> 
>   Actor Edmond Gween, on his deathbed


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


Re: portmanager errors

2008-09-11 Thread gahn
thanks gerard:

no, i had the same errors. could portmanager bypass the failed package and 
install rest of other packages? checked with manpage and don't seem to the case.

the only packages i didn't install are "games".

best


--- On Thu, 9/11/08, Gerard <[EMAIL PROTECTED]> wrote:

> From: Gerard <[EMAIL PROTECTED]>
> Subject: Re: portmanager errors
> To: freebsd-questions@freebsd.org
> Date: Thursday, September 11, 2008, 7:07 AM
> On Wed, 10 Sep 2008 18:05:47 -0700 (PDT)
> gahn <[EMAIL PROTECTED]> wrote:
> 
> 
> > --- On Wed, 9/10/08, Gerard
> <[EMAIL PROTECTED]> wrote:
> > 
> > > From: Gerard <[EMAIL PROTECTED]>
> > > Subject: Re: portmanager errors
> > > To: freebsd-questions@freebsd.org
> > > Date: Wednesday, September 10, 2008, 4:15 AM
> > > On Tue, Sep 9, 2008 at 11:04 PM, gahn
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hello:
> > > >
> > > > I run into errors when i run
> "portmanager
> > > -u":
> > > >
> > > > 00344 luit-1.0.2_2 /x11/luit
> > > > "Makefile", line 85: Could not
> find
> > >
> /usr/ports/x11/xorg-clients/../../x11-servers/xorg-server/Makefile.inc
> > > > "Makefile", line 92: Malformed
> conditional
> > > (${X_WINDOW_SYSTEM:L} != xorg)
> > > > "Makefile", line 96: if-less endif
> > > > make: fatal errors encountered -- cannot
> continue
> > > > MGdbAdd error: attempt to place null data
> into record
> > > halted
> > > > Assertion failed: (0), function MGdbAdd,
> file
> > > MGdbAdd.c, line 78.
> > > > Abort (core dumped)
> > > >
> > > > could the portmanager bypass the failed
> > > "luit" and continue the next one?
> > > 
> > > First, what version of 'portmanger' are
> you using?
> > > If not "0.4.1_9",
> > > then update. Did you insure that you updated your
> ports
> > > tree just
> > > prior to running portmanager?
> > > 
> > > After checking the above, try running portmanager
> like
> > > this:
> > > 
> > >  portmanager -u -l -p -y
> > > 
> > > See if that corrects the problem.
> > 
> > yes:
> > 
> > lab2# portmanager -v
> > 
> > rParseCommandLine 0.4.1_9
> 
> [Reformatted]
> 
> Please don't top post. If you don't know what that
> means, Google for
> it.
> 
> So, what happened after running 'portmanager' as I
> asked you to? Did
> it complete successfully or not?  
> 
> 
> -- 
> Gerard
> [EMAIL PROTECTED]
> 
> Dying is easy.  Comedy is difficult.
> 
>   Actor Edmond Gween, on his deathbed


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


Re: portmanager errors

2008-09-10 Thread gahn

yes:

lab2# portmanager -v

rParseCommandLine 0.4.1_9



--- On Wed, 9/10/08, Gerard <[EMAIL PROTECTED]> wrote:

> From: Gerard <[EMAIL PROTECTED]>
> Subject: Re: portmanager errors
> To: freebsd-questions@freebsd.org
> Date: Wednesday, September 10, 2008, 4:15 AM
> On Tue, Sep 9, 2008 at 11:04 PM, gahn
> <[EMAIL PROTECTED]> wrote:
> > Hello:
> >
> > I run into errors when i run "portmanager
> -u":
> >
> > 00344 luit-1.0.2_2 /x11/luit
> > "Makefile", line 85: Could not find
> /usr/ports/x11/xorg-clients/../../x11-servers/xorg-server/Makefile.inc
> > "Makefile", line 92: Malformed conditional
> (${X_WINDOW_SYSTEM:L} != xorg)
> > "Makefile", line 96: if-less endif
> > make: fatal errors encountered -- cannot continue
> > MGdbAdd error: attempt to place null data into record
> halted
> > Assertion failed: (0), function MGdbAdd, file
> MGdbAdd.c, line 78.
> > Abort (core dumped)
> >
> > could the portmanager bypass the failed
> "luit" and continue the next one?
> 
> First, what version of 'portmanger' are you using?
> If not "0.4.1_9",
> then update. Did you insure that you updated your ports
> tree just
> prior to running portmanager?
> 
> After checking the above, try running portmanager like
> this:
> 
>  portmanager -u -l -p -y
> 
> See if that corrects the problem.
> 
> 
> -- 
> Gerard
> [EMAIL PROTECTED]


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


optical drives with freebsd 6.3

2008-09-10 Thread gahn
Hello, all

I am having problems to mount my dvdrom drives on dell precision 490. in the 
file /etc/fstab, i removed option "noauto" from the line:

/dev/acd0/cdrom cd9660 ro,noauto  0   0
/dev/acd1/cdrom1cd9660 ro,noauto  0   0

after i rebooted the machine and i am still not able to see the contents of 
cdroms with cmd "ls -al /cdrom".

so i did:

#mount -a
mount_cd9660: /dev/acd0: Invalid argument
mount_cd9660: /dev/acd0: Input/output error
#

on the root console, i saw console error message:

#g_vfs_done():acd1[READ(offset=32768, lenth=2048)]error = 5

i have nothing in /cdrom1.

any ideas?

thanks.





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


Re: freebsd 7.0 and jail

2008-09-10 Thread gahn
thanks for the advice. 

it worked out after i did "make world ..." first, then "make installworld ..". 
it doesn't work if one just do "make installworld ..."

best


--- On Wed, 9/10/08, Primeroz lists <[EMAIL PROTECTED]> wrote:

> From: Primeroz lists <[EMAIL PROTECTED]>
> Subject: Re: freebsd 7.0 and jail
> To: [EMAIL PROTECTED]
> Cc: "free bsd" <[EMAIL PROTECTED]>, "freebsd general questions" 
> 
> Date: Wednesday, September 10, 2008, 1:51 AM
> Make sure your buildworld /usr/obj is updated. Good idea is
> to erase your
> /usr/obj and buildworld again before going on with the
> jails.
> 
> fc
> 
> On Mon, Sep 8, 2008 at 7:28 PM, gahn
> <[EMAIL PROTECTED]> wrote:
> 
> > Hello:
> >
> > I am trying to build jails on 7.0 system and got
> errors:
> >
> > /
> >
> > >>> Installing everything
> >
> --
> > cd /usr/src; make -f Makefile.inc1 install
> > ===> share/info (install)
> > ===> lib (install)
> > ===> lib/csu/i386-elf (install)
> > gcc -O2 -fno-strict-aliasing -pipe 
> -I/usr/src/lib/csu/i386-elf/../common
> >  -I/usr/src/lib/csu/i386-elf/../../libc/include
> -Wsystem-headers -Wall
> > -Wno-format-y2k -W -Wno-unused-parameter
> -Wstrict-prototypes
> > -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> -Wcast-qual
> > -Wwrite-strings -Wswitch -Wshadow -Wcast-align
> -Wunused-parameter
> > -Wchar-subscripts -Winline -Wnested-externs
> -Wredundant-decls
> > -Wno-pointer-sign -c crt1.c
> > gcc:No such file or directory
> > *** Error code 1
> >
> > Stop in /usr/src/lib/csu/i386-elf.
> > *** Error code 1
> >
> > Stop in /usr/src/lib.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > ///
> >
> > looks like the code of jail is broken, did anyone have
> similar problem?
> >
> > I am working in an environment that is able to use
> "freebsd-update" script.
> >
> > Thanks in Advance
> >
> >
> >
> >
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> >
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > 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]"


portmanager errors

2008-09-09 Thread gahn
Hello:

I run into errors when i run "portmanager -u":

00344 luit-1.0.2_2 /x11/luit
"Makefile", line 85: Could not find 
/usr/ports/x11/xorg-clients/../../x11-servers/xorg-server/Makefile.inc
"Makefile", line 92: Malformed conditional (${X_WINDOW_SYSTEM:L} != xorg)
"Makefile", line 96: if-less endif
make: fatal errors encountered -- cannot continue
MGdbAdd error: attempt to place null data into record halted
Assertion failed: (0), function MGdbAdd, file MGdbAdd.c, line 78.
Abort (core dumped)

could the portmanager bypass the failed "luit" and continue the next one?



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


how to charater special files?

2008-09-09 Thread gahn
hi, all:

how could i create a character special files (such as crw-rw-rw-)?

thanks


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


freebsd 7.0 and jail

2008-09-08 Thread gahn
Hello:

I am trying to build jails on 7.0 system and got errors:

/

>>> Installing everything
--
cd /usr/src; make -f Makefile.inc1 install
===> share/info (install)
===> lib (install)
===> lib/csu/i386-elf (install)
gcc -O2 -fno-strict-aliasing -pipe  -I/usr/src/lib/csu/i386-elf/../common  
-I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c crt1.c
gcc:No such file or directory
*** Error code 1

Stop in /usr/src/lib/csu/i386-elf.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

///

looks like the code of jail is broken, did anyone have similar problem?

I am working in an environment that is able to use "freebsd-update" script.

Thanks in Advance

 


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


freebsd networking issues

2008-07-27 Thread gahn
hello:

i have two interfaces installed on my freebsd machine (desktop); one is 
wireless (ath0, facing the internet, 192.168.1.10/24) and another is internal 
(fxp0, 192.168.2.1/24). the internet facing interface of the freebsd works 
fine: from my xp laptop (192.168.1.2), i can ping the interface of freebsd 
(ath0, facing internet, 192.168.1.10). also from the freebsd machine, i can 
ping the default gateway (192.168.1.1) and get access to internet. 

but the second interface doesn't work. from the freebsd machine, i can't ping 
anywhere on the 192.168.2.0/24 except own ip address. with "arp -a" on freebsd, 
i can only see mac address of own interface (fxp0), but not mac addresses of 
other machinese on the net 192.168.2.0/24.

i connected internet side directly (without ath0) with fxp0 and the interface 
works fine.

the bottom line is: on the net 192.168.2.0/24, i can't see any mac addresses. 

in the file /etc/rc.conf, i have the line "gateway_enbale="YES"" but i don't 
think it matters since i have no intention to use the freebsd machine as a 
router anyway.

any ideas?

thanks in advance.



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


freebsd wireless question

2008-07-22 Thread gahn
hello:

i installed cisco aironet 802.11a/b/g wirless adapter on 6.3 and have some 
issues. basically it works like charm with wpa2/dhcp, but it doesn't work with 
wpa2/static ip address.

here is my working configuration for rc.conf

ifconfig_ath0="ssid home WPA DCHP"

everything works: authentication, dhcp process, ip address binding to the 
interface.

but any time i change to:

ifconfig_ath0="ssid home WPA inet 192.168.1.12 netmask 255.255.255.0"

everything else works except the binding of the static ip address to the 
interface.

did i do any wrong?

thanks in advance.





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


desktop wireless card

2008-07-13 Thread gahn
Hello:

Could anyone recommend a desktop wireless card for freebsd 6.2? Just moved in 
new place and only wireless in the house.

Thanks in advance




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


Re: freebsd and snort

2008-05-27 Thread gahn
Thanks. greatly appreciated.

Best

- Original Message 
From: Scot Hetzel <[EMAIL PROTECTED]>
To: gahn <[EMAIL PROTECTED]>
Cc: freebsd general questions ; freebsd security 
<[EMAIL PROTECTED]>
Sent: Tuesday, May 27, 2008 12:57:38 AM
Subject: Re: freebsd and snort

On 5/27/08, gahn <[EMAIL PROTECTED]> wrote:
> Hello all:
>
>  I tried to install snort under /usr/ports/security and have some problems. 
> with "make all", I checked every item on the menu but I got error messages:
>
>  //
>
>  laptop# make all
>  ===>  snort-2.8.1_1 is marked as broken: FLEXRESP2 patch file does not 
> incorporate cleanly.
>  *** Error code 1
>
>  Stop in /usr/ports/security/snort.
>
>  ///
>
>  tried "make distclean" and it didn't seem to help to clear the problem. 
> Looked at the timestamps on the files and I don't see any files modified by 
> the command "make all"
>
>  could anyone help me on this?
>
Use "make config" to bring up the Options screen, and check FLEXRESP
and uncheck FLEXRESP2.

Scot



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


FreeBSD crashed

2008-05-25 Thread gahn
Hello all:

My FreeBSD crashed. It boots fine but can't mount root directory. Here is the 
message:

/
...

Trying to mount root from ufs:/dev/ad0s2a

Manual root filesystem specification:
 : Mount  using filesystem 
 eg. ufs:da0s1a
 ?  List valid disk boot devices
  Abort manual input

mountroot>

///  


Could any gurus here help me out this? I just want to save the files in the 
home directory so that I can rebuild the system.

Regards

Dave


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


email's time stamp

2007-07-14 Thread gahn
hello:

trying to understand the email's time stamps. how do i
determine the time stamps on those emails i received?
are those emails time stamped by the mail servers
originated those mails (in that particular time zone)?
or by the last mail relay server (in another time
zone) delivering those mails?

say some mails originated from one server is in asia
and final destination mail relay is in europe. so the
time stamps on those mails are in that particular asia
time zone or in the time zone of europe time zone?

thanks




   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dynamic dns question

2007-06-25 Thread gahn
hi all:

could anyone here recommend a software package for
dynamic dns?

thanks


   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freebsd and anti-virus

2007-02-08 Thread gahn
hi all:

i have a freebsd server and used as file storage. some
of files being stored on that server are virus
infected. how could I clean them up? could the norton
anti-virus software on my laptop clean up the virus
when i download those files from the server? does
norton do that with ftp/ssh?

tia


 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


upgrade packages

2006-11-18 Thread gahn
hi all:

trying to install package "freeradius" and it is using
package "openldap-client-2.3.29". but i have problems
to get "openldap-client-2.3.29" installed:

===>  openldap-client-2.3.29 conflicts with installed
package(s): 
  openldap-client-2.2.30

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/net/openldap23-client.

foo# pkg_delete openldap-client-2.2.30
pkg_delete: package 'openldap-client-2.2.30' is
required by these other packages
and may not be deinstalled:
evolution-2.4.2.1_1
evolution-data-server-1.4.2.1_3
evolution-exchange-2.4.2_1
evolution-webcal-2.4.1_1
gnome2-2.12.3
gnomeapplets2-2.12.3
gnomecontrolcenter2-2.12.3_1
gnomenetstatus-2.12.0_2
gnomepanel-2.12.3_1
gnomeutils2-2.12.2,1
kde-3.5.1
kdeartwork-3.5.1_1
kdebase-3.5.1_2
kdesdk-3.5.1_1
kdeutils-3.5.1_1
kdevelop-3.3.1_1
libgail-gnome-1.1.3_1
vino-2.12.0_2

how can i get the "openldap-client" upgraded?

thanks



 

The all-new Yahoo! Mail beta
Fire up a more powerful email and get things done faster. 
http://new.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: net-snmp and 6.1 (confusion)

2006-11-14 Thread gahn
thanks bill:

no, i did "cat > /var/log/snmpd.log" every time i
restarted the server.


here is the error message after i disabled snmpd in
rc.conf (with entry "bsnmpd="NO"):

[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
TERM or STOP signal...  shutting down...

here is the result of "sockstat -4l":

root sshd   440   4  tcp4   *:22  
   *:*
root httpd  350   3  tcp46  *:80  
   *:*
root httpd  350   4  tcp4   *:*   
   *:*
root syslogd290   7  udp4   *:514 
   *:*




--- Bill Moran <[EMAIL PROTECTED]> wrote:

> In response to gahn <[EMAIL PROTECTED]>:
> 
> > the entry "bsnmpd_enable="NO"" does works and the
> > result from "sockstat" showed there is no snmpd
> > running. then i added following entries in
> rc.conf:
> > 
> > snmpd_enable="YES"
> > snmpd_flags="-a -p /var/run/snmpd.pid"
> > snmptrapd_enable="YES"
> > snmptrapd_flags="-a -p /var/run/snmptrapd.pid"
> > snmpd_conffile="/usr/local/etc/snmp/snmpd.conf"
> > 
> > well, they started snmpd alright, but i am not
> sure
> > which one: bsnmpd or net-snmpd since i still have
> > error messages in snmpd.log:
> > 
> > [init_smux] bind failed: Address already in use
> > Error opening specified endpoint "udp:161"
> > Server Exiting with code 1
> 
> Are you sure those messages aren't old, from before
> you disabled bsnmpd?
> 
> sockstat -4 should show you what is listening on
> that port.  net-snmpd
> starts a process called "snmpd", so you should be
> able to tell which
> one is running by the process name.  If bsnmpd is
> still running, a
> "killall" should shut it down.
> 
> -- 
> Bill Moran
> Collaborative Fusion Inc.
> 
> 
> 
> IMPORTANT: This message contains confidential
> information and is intended only for the individual
> named. If the reader of this message is not an
> intended recipient (or the individual responsible
> for the delivery of this message to an intended
> recipient), please be advised that any re-use,
> dissemination, distribution or copying of this
> message is prohibited.  Please notify the sender
> immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your
> system.
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.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: net-snmp and 6.1 (confusion)

2006-11-14 Thread gahn
the entry "bsnmpd_enable="NO"" does works and the
result from "sockstat" showed there is no snmpd
running. then i added following entries in rc.conf:

snmpd_enable="YES"
snmpd_flags="-a -p /var/run/snmpd.pid"
snmptrapd_enable="YES"
snmptrapd_flags="-a -p /var/run/snmptrapd.pid"
snmpd_conffile="/usr/local/etc/snmp/snmpd.conf"

well, they started snmpd alright, but i am not sure
which one: bsnmpd or net-snmpd since i still have
error messages in snmpd.log:

[init_smux] bind failed: Address already in use
Error opening specified endpoint "udp:161"
Server Exiting with code 1

any ideas?




--- Frank Staals <[EMAIL PROTECTED]> wrote:

> gahn wrote:
> > thanks.
> >
> > i didn't recall that i activated any snmp but
> there is
> > a bsnmpd running though:
> >
> > root snmpd  414   13 tcp4   *:199 
>
> >*:*
> > root snmpd  414   14 udp4   *:161 
>
> >*:*
> > root snmptrapd  408   10 udp4   *:162 
>
> >*:*
> >
> > how could i remove it? in rc.conf? or else?
> >
> > thanks
> >
> >
> >
> > --- Frank Staals <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> gahn wrote:
> >> 
> >>> hi:
> >>>
> >>> is a generic snmp running with 6.1? i installed
> >>> net-snmp on 6.1 and it seems to have conflict
> with
> >>> some another snmp process:
> >>>
> >>> [init_smux] bind failed: Address already in use
> >>> Error opening specified endpoint "udp:161"
> >>> Server Exiting with code 1
> >>>
> >>> i have no anothe snmp application running except
> >>>   
> >> the
> >> 
> >>> net-snmp.
> >>>
> >>> any ideas?
> >>>
> >>>
> >>>
> >>>
> >>>  
> >>>
> >>>   
> >
>

> >   
> >>> Cheap talk?
> >>> Check out Yahoo! Messenger's low PC-to-Phone
> call
> >>>   
> >> rates.
> >> 
> >>> http://voice.yahoo.com
> >>> ___
> >>> freebsd-questions@freebsd.org mailing list
> >>>
> >>>   
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >   
> >>> To unsubscribe, send any mail to
> >>>   
> >> "[EMAIL PROTECTED]"
> >> 
> >>>   
> >>>   
> >> I believe there is no smnp daemon running by
> >> default. Maybe you 
> >> accidentally allready started it ? You might
> check
> >> it with sockstat -4  
> >> | grep 161
> >>
> >> -- 
> >> -Frank Staals
> >>
> >>
> >>
> >> 
> >
> >
> >
> >  
> >
>

> > Cheap talk?
> > Check out Yahoo! Messenger's low PC-to-Phone call
> rates.
> > http://voice.yahoo.com
> >
> >
> >   
> Hmm apparantly there IS a bsndmp running. Didn't see
> that one on my 
> server, anyway on my laptop it wasn't running as I
> apparantly disabled it:
> 
> [EMAIL PROTECTED] cat /etc/rc.conf | grep snmpd
> bsnmpd_enable="NO"
> 
> that might help I guess
> 
> -- 
> -Frank Staals
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 



 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.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: net-snmp and 6.1

2006-11-14 Thread gahn
thanks. it definitely helped...-:)

really i can't recall i ever activate the "bsnmpd".

best

--- Frank Staals <[EMAIL PROTECTED]> wrote:

> gahn wrote:
> > thanks.
> >
> > i didn't recall that i activated any snmp but
> there is
> > a bsnmpd running though:
> >
> > root snmpd  414   13 tcp4   *:199 
>
> >*:*
> > root snmpd  414   14 udp4   *:161 
>
> >*:*
> > root snmptrapd  408   10 udp4   *:162 
>
> >*:*
> >
> > how could i remove it? in rc.conf? or else?
> >
> > thanks
> >
> >
> >
> > --- Frank Staals <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> gahn wrote:
> >> 
> >>> hi:
> >>>
> >>> is a generic snmp running with 6.1? i installed
> >>> net-snmp on 6.1 and it seems to have conflict
> with
> >>> some another snmp process:
> >>>
> >>> [init_smux] bind failed: Address already in use
> >>> Error opening specified endpoint "udp:161"
> >>> Server Exiting with code 1
> >>>
> >>> i have no anothe snmp application running except
> >>>   
> >> the
> >> 
> >>> net-snmp.
> >>>
> >>> any ideas?
> >>>
> >>>
> >>>
> >>>
> >>>  
> >>>
> >>>   
> >
>

> >   
> >>> Cheap talk?
> >>> Check out Yahoo! Messenger's low PC-to-Phone
> call
> >>>   
> >> rates.
> >> 
> >>> http://voice.yahoo.com
> >>> ___
> >>> freebsd-questions@freebsd.org mailing list
> >>>
> >>>   
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >   
> >>> To unsubscribe, send any mail to
> >>>   
> >> "[EMAIL PROTECTED]"
> >> 
> >>>   
> >>>   
> >> I believe there is no smnp daemon running by
> >> default. Maybe you 
> >> accidentally allready started it ? You might
> check
> >> it with sockstat -4  
> >> | grep 161
> >>
> >> -- 
> >> -Frank Staals
> >>
> >>
> >>
> >> 
> >
> >
> >
> >  
> >
>

> > Cheap talk?
> > Check out Yahoo! Messenger's low PC-to-Phone call
> rates.
> > http://voice.yahoo.com
> >
> >
> >   
> Hmm apparantly there IS a bsndmp running. Didn't see
> that one on my 
> server, anyway on my laptop it wasn't running as I
> apparantly disabled it:
> 
> [EMAIL PROTECTED] cat /etc/rc.conf | grep snmpd
> bsnmpd_enable="NO"
> 
> that might help I guess
> 
> -- 
> -Frank Staals
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 



 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


net-snmp and 6.1

2006-11-14 Thread gahn
hi:

is a generic snmp running with 6.1? i installed
net-snmp on 6.1 and it seems to have conflict with
some another snmp process:

[init_smux] bind failed: Address already in use
Error opening specified endpoint "udp:161"
Server Exiting with code 1

i have no anothe snmp application running except the
net-snmp.

any ideas?




 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.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: net-snmp and 6.1

2006-11-14 Thread gahn
thanks.

i didn't recall that i activated any snmp but there is
a bsnmpd running though:

root snmpd  414   13 tcp4   *:199 
   *:*
root snmpd  414   14 udp4   *:161 
   *:*
root snmptrapd  408   10 udp4   *:162 
   *:*

how could i remove it? in rc.conf? or else?

thanks



--- Frank Staals <[EMAIL PROTECTED]> wrote:

> gahn wrote:
> > hi:
> >
> > is a generic snmp running with 6.1? i installed
> > net-snmp on 6.1 and it seems to have conflict with
> > some another snmp process:
> >
> > [init_smux] bind failed: Address already in use
> > Error opening specified endpoint "udp:161"
> > Server Exiting with code 1
> >
> > i have no anothe snmp application running except
> the
> > net-snmp.
> >
> > any ideas?
> >
> >
> >
> >
> >  
> >
>

> > Cheap talk?
> > Check out Yahoo! Messenger's low PC-to-Phone call
> rates.
> > http://voice.yahoo.com
> > ___
> > freebsd-questions@freebsd.org mailing list
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> >
> >   
> I believe there is no smnp daemon running by
> default. Maybe you 
> accidentally allready started it ? You might check
> it with sockstat -4  
> | grep 161
> 
> -- 
> -Frank Staals
> 
> 
> 



 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pptp networking question

2006-08-25 Thread gahn
hi:

i got ppptp working or not? basically i got it
configured and it seems to be working but i can'yt
connect to anything on that subnet:

C:\Documents and Settings\johndo>ipconfig

Windows IP Configuration


Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix  . :
IP Address. . . . . . . . . . . . :
192.168.1.104
Subnet Mask . . . . . . . . . . . :
255.255.255.0
Default Gateway . . . . . . . . . :
192.168.1.1

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media
disconnected

PPP adapter home:

Connection-specific DNS Suffix  . :
IP Address. . . . . . . . . . . . :
192.168.2.10
Subnet Mask . . . . . . . . . . . :
255.255.255.255
Default Gateway . . . . . . . . . :
192.168.2.10

wiht two default gateways, of course i could not
connect to anywhere. how could i fix this? i just want
to connect pptp server and get one ip address
(192.168.2.10/24) with no default route on the pptp
interface.

thanks a million.



__
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: [Mpd-users] mpd problems

2006-08-14 Thread gahn
ok, basically it keeps failing on "ECP", which i
didn't configure.

"Aug 14 20:58:49 rhino mpd: [pptp0] IFACE: Up event
Aug 14 20:58:49 rhino mpd: [pptp0] setting interface
ng0 MTU to 1394 bytes
Aug 14 20:58:49 rhino mpd: [pptp0] exec:
/sbin/ifconfig ng0 192.168.255.129 192.168.255.140
netmask 0x -link0
Aug 14 20:58:49 rhino mpd: [pptp0] exec: /usr/sbin/arp
-s 192.168.255.140 0:3:47:43:9e:79 pub
Aug 14 20:58:49 rhino mpd: [pptp0] exec: /sbin/route
add 192.168.255.129 -iface lo0
Aug 14 20:58:49 rhino mpd: [pptp0] IFACE: Up event
Aug 14 20:58:51 rhino mpd: [pptp0] ECP: SendConfigReq
#2
Aug 14 20:58:51 rhino mpd: [pptp0] LCP: rec'd Protocol
Reject #9 link 0 (Opened)
Aug 14 20:58:51 rhino mpd: [pptp0] LCP: protocol ECP
was rejected
Aug 14 20:58:51 rhino mpd: [pptp0] ECP: protocol was
rejected by peer
Aug 14 20:58:51 rhino mpd: [pptp0] IPCP: failed to
negotiate required encryption
Aug 14 20:58:51 rhino mpd: [pptp0] IPCP: LayerFinish
Aug 14 20:58:51 rhino mpd: [pptp0] IPCP: LayerStart
Aug 14 20:58:51 rhino mpd: [pptp0] IPCP: state change
Opened --> Starting
Aug 14 20:58:51 rhino mpd: [pptp0] IPCP: LayerDown
Aug 14 20:58:51 rhino mpd: [pptp0] IFACE: Down event
"
i didn't use ECP on client side either. hwo did that happen?

__
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: quick way fall back to the original kernel

2006-08-14 Thread gahn
Thanks for ur advice.

actually i did that; rename the current kernel and
name the "kernel.old to "kernel", which worked. but i
am looking for a command that could do that.

the reason is that i am trying to keep my kernel up to
date, but my understanding is that it could be done
only with the original kernel, right? or i am
mistaken...

as to kernel.safe, there is no this directory by
default (even boot manual has option for kernel safe).
i am wondering where the kernel.safe is...

but i do keep a copy of the orginal kernel in case i
loss track of kernel version...


--- Giorgos Keramidas <[EMAIL PROTECTED]>
wrote:

> On 2006-08-14 11:20, dick hoogendijk
> <[EMAIL PROTECTED]> wrote:
> > On 13 Aug Atom Powers wrote:
> > > And, although I've never tried it, you sholud be
> able to `cp
> > > /boot/kernel.old /boot/kernel` to restore the
> previous kernel.>
> > 
> > I did. A few times. I just renamed the directories
> to "kernel" and
> > "whatevername" ;-) Works like a charm..
> 
> Right.
> 
> I usually wait a few days to make sure there are no
> funny problems with
> the CURRENT kernel I'm using, and then run:
> 
> # cd /boot
> # rm -fr kernel.safe
> # cp -Rp kernel kernel.safe
> 
> This way, I have /boot/kernel, /boot/kernel.old and
> /boot/kernel.safe.
> 
> By keeping kernel.safe out of the (kernel,
> kernel.old) way, I'm sure
> that I won't accidentally lose my 'safe' kernels
> because I run "make
> installkernel" at the wrong time.
> 
> HTH,
> Giorgos
> 
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


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


quick way fall back to the original kernel

2006-08-13 Thread gahn
Hi:

I am using a customized kernel and it works fine. But
at the same time I am wondering whether there is a
quick way to fall back to the original kerenel.

thanks

__
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: Telecom

2006-08-09 Thread gahn
i am not familar with the FPGA board. but my point was
that the stability of kernel (freebsd) is different
from that of routing software (rpd in the case of
junos, it has modules like is-is, ospf, bgp, mpls,
rsvp, etc). people who architected the junos are the
same group of people who coded original cisco ios.
they had learned the heavy lessons from the past
experience and craft rfcs ...

asic and FPGA are more concerned with packet
forwarding/performance, buffer management and so
forth, not the stability of routing daemons.


--- Aaron Gibson <[EMAIL PROTECTED]> wrote:

> gahn wrote:
> > juniper just uses hardened freebsd kernel for its
> os
> > to run all of other processes such as routing,
> snmp,
> > monitoring the chansises.. etc. those individula
> > processes/daemons are totally writen by juniper
> gurus
> > and has nothing to do with freebsd development.
> that
> > is why the routing engine uses intel cpu, which
> has
> > volume sale and easy to be upgraded.
> > 
> > what makes juniper routers prefered choice for
> telecom
> > is its stablity. cisco line cards can boast the
> > similar performance like juniper asic based packet
> > processing/forwarding engine. in fact, every
> vendor
> > uses asic for their product (performance). but
> cisco
> > old ios just can't provide the stablity that of
> junos.
> > ios-xr might be since it is totally rewriten.
> > 
> > just use freebsd for routing platefom wont give
> you
> > anything near the stablity that juniper routers
> > provide; unles you are genius and writing your own
> > routing software on the top of freebsd kernel.
> > 
> > 
> > --- Aaron Gibson <[EMAIL PROTECTED]> wrote:
> > 
> >> [EMAIL PROTECTED] wrote:
> >>> Dear All,
> >>>
> >>> Can we use FreeBSD in Telecom industry? If I
> want
> >> to build an Internet 
> >>> Backbone which connect across country in asia.
> Is
> >> it suitable? How is 
> >>> its stability of routing compare to Cisco?
> >>>
> >>> Rgds
> >>>
> >>> ___
> >>> freebsd-questions@freebsd.org mailing list
> >>>
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>> To unsubscribe, send any mail to 
> >>> "[EMAIL PROTECTED]"
> >>>
> >> juniper routers do exactly this (freebsd for
> network
> >> routing protocols, 
> >> asics for hardware forwarding). Not sure how they
> >> compare to Ci$co (I'm 
> >> assuming cost is driving factor for evaluating
> >> freebsd as a routing 
> >> platform).
> >>
> >> freebsd can do bgp/ospf/etc with software such
> as:
> >> quagga or zebra, or 
> >> the newer xorp.
> >>
> >> some people have used freebsd as a routing
> platform
> >> for large networks, 
> >> see occaid.org (their network was built with
> >> freebsd/quagga and ip-ip 
> >> tunnels, although they did have some juniper m5s)
> >>
> >> what you will probably find is that routing in
> >> software may not offer 
> >> the performance required for a backbone network.
> >> This is of course 
> >> dependent on your needs, and some people (occaid)
> >> have achieved 
> >> line-rate (small packets) ip forwarding with
> intel
> >> pro 1000 cards and 
> >> some patches to enable fastforwarding for ipv6 in
> >> freebsd.
> >>
> >> hope this is of some help. I can't give any
> numbers
> >> with regard to 
> >> stability -- quagga/zebra did have some issues as
> I
> >> recall.
> >>
> >> for large amounts of traffic it may help to
> enable
> >> device driver polling 
> >> to reduce interrupt overhead.
> >>
> >> --Aaron
> >> ___
> >> freebsd-questions@freebsd.org mailing list
> >>
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> >> "[EMAIL PROTECTED]"
> >>
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> 
> correct, I should have said that JunOS was based off
> of FreeBSD (I may 
> have implied they used GENERIC FreeBSD).
> 
> I attend UIUC.edu, and 

Re: Telecom

2006-08-09 Thread gahn
sorry...:) i should use "reply all".



--- Aaron Gibson <[EMAIL PROTECTED]> wrote:

> gahn wrote:
> > juniper just uses hardened freebsd kernel for its
> os
> > to run all of other processes such as routing,
> snmp,
> > monitoring the chansises.. etc. those individula
> > processes/daemons are totally writen by juniper
> gurus
> > and has nothing to do with freebsd development.
> that
> > is why the routing engine uses intel cpu, which
> has
> > volume sale and easy to be upgraded.
> > 
> > what makes juniper routers prefered choice for
> telecom
> > is its stablity. cisco line cards can boast the
> > similar performance like juniper asic based packet
> > processing/forwarding engine. in fact, every
> vendor
> > uses asic for their product (performance). but
> cisco
> > old ios just can't provide the stablity that of
> junos.
> > ios-xr might be since it is totally rewriten.
> > 
> > just use freebsd for routing platefom wont give
> you
> > anything near the stablity that juniper routers
> > provide; unles you are genius and writing your own
> > routing software on the top of freebsd kernel.
> > 
> > 
> > --- Aaron Gibson <[EMAIL PROTECTED]> wrote:
> > 
> >> [EMAIL PROTECTED] wrote:
> >>> Dear All,
> >>>
> >>> Can we use FreeBSD in Telecom industry? If I
> want
> >> to build an Internet 
> >>> Backbone which connect across country in asia.
> Is
> >> it suitable? How is 
> >>> its stability of routing compare to Cisco?
> >>>
> >>> Rgds
> >>>
> >>> ___
> >>> freebsd-questions@freebsd.org mailing list
> >>>
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>> To unsubscribe, send any mail to 
> >>> "[EMAIL PROTECTED]"
> >>>
> >> juniper routers do exactly this (freebsd for
> network
> >> routing protocols, 
> >> asics for hardware forwarding). Not sure how they
> >> compare to Ci$co (I'm 
> >> assuming cost is driving factor for evaluating
> >> freebsd as a routing 
> >> platform).
> >>
> >> freebsd can do bgp/ospf/etc with software such
> as:
> >> quagga or zebra, or 
> >> the newer xorp.
> >>
> >> some people have used freebsd as a routing
> platform
> >> for large networks, 
> >> see occaid.org (their network was built with
> >> freebsd/quagga and ip-ip 
> >> tunnels, although they did have some juniper m5s)
> >>
> >> what you will probably find is that routing in
> >> software may not offer 
> >> the performance required for a backbone network.
> >> This is of course 
> >> dependent on your needs, and some people (occaid)
> >> have achieved 
> >> line-rate (small packets) ip forwarding with
> intel
> >> pro 1000 cards and 
> >> some patches to enable fastforwarding for ipv6 in
> >> freebsd.
> >>
> >> hope this is of some help. I can't give any
> numbers
> >> with regard to 
> >> stability -- quagga/zebra did have some issues as
> I
> >> recall.
> >>
> >> for large amounts of traffic it may help to
> enable
> >> device driver polling 
> >> to reduce interrupt overhead.
> >>
> >> --Aaron
> >> ___
> >> freebsd-questions@freebsd.org mailing list
> >>
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> >> "[EMAIL PROTECTED]"
> >>
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> 
> correct, I should have said that JunOS was based off
> of FreeBSD (I may 
> have implied they used GENERIC FreeBSD).
> 
> I attend UIUC.edu, and a student organization I'm
> involved with has a 
> couple of FPGA development boards that might be
> interesting to try and 
> do IP forwarding on. I guess as the cost of FPGAs
> drop it might become 
> possible to compete with ASIC-based routers? I think
> these FPGA boards 
> were ~$400.
> 
> by the way, I screwed up replying to the original
> thread so I replied 
> only to you (I fixed this). Your reply therefore
> appears to be directed 
> to me only. Please send your reply to the mailing
> list (also possible it 
> hasn't showed up yet).
> 
> Thanks!
> 
> --Aaron
> 


__
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: default boot option in dual-boot mode

2006-08-09 Thread gahn
thanks:

it works like charm...:)

with this setting, i only need to make a choice when i
want it to boot into xp, otherwsie it just
automatically get into freebsd.

best

--- Stefan Bethke <[EMAIL PROTECTED]> wrote:

> 
> Am 08.08.2006 um 02:48 schrieb gahn:
> 
> > hi:
> >
> > how could i fix the default boot option in
> dual-boot
> > mode?
> >
> > i have a machine with both windows xp and freebsd
> 6.1.
> > it works fine with freebsd boot manager (wiht
> optios
> > of f1 for xp and f2 for freebsd when it starts).
> but i
> > would like to fix the default mode for freebsd;
> ie, if
> > i don't make a choice on either f1 or f2 keys,
> then
> > system automatically boots up as freebsd machine.
> 
> boot0 will boot into the same OS as the last time
> automatically, so  
> you don't need to do anything to boot into FreeBSD,
> if you had booted  
> into FreeBSD the last time.
> 
> If you want to *always* boot into FreeBSD,
> irrespective of the choice  
> you made the last time, you can use the boot0cfg(8)
> utility to stop  
> boot0 from remembering the last choice and stick to
> the stored  
> default. Untested:
> 
> # boot0cfg -o noupdate -s2
> 
> 
> Stefan
> 
> -- 
> Stefan Bethke <[EMAIL PROTECTED]>   Fon +49 170 346
> 0140
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


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


default boot option in dual-boot mode

2006-08-07 Thread gahn
hi:

how could i fix the default boot option in dual-boot
mode?

i have a machine with both windows xp and freebsd 6.1.
it works fine with freebsd boot manager (wiht optios
of f1 for xp and f2 for freebsd when it starts). but i
would like to fix the default mode for freebsd; ie, if
i don't make a choice on either f1 or f2 keys, then
system automatically boots up as freebsd machine.

thansk


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


repeated mac address

2006-03-10 Thread gahn
Hi:

I have some Intel pro cards and all show up mac
addresses as either "00:a4:c0:91:d2:9c" or
00:b4:c0:91:d2:9c" under freebsd 5.x. why is that?

Thanks

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


mpd and sessions

2006-03-09 Thread gahn
Hi:

I am using mpd for my vpn service. It works fine and I
have no compalints. But is anyway I can monitor that
how many sessions are being used?

Thanks

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


shared irqs and freebsd

2006-02-28 Thread gahn
Hi:

How goes FreeBSD deal with shared irqs? Looks like
FreeBSD could only work with two nic's (the same exact
type).

I am running 5.4 and trying to install three or four
cards (the same exact type) in one machine.

Thanks

__
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: Freebsd with multiple nic's

2006-02-27 Thread gahn
Thnaks Derek:

Well, I shut down what I don't need and I can see
those shared irqs. I guess you are on the point.

My problem is that I can only use Intel pro 10/100
cards.

Is any motherboard that come with flexible BIOS so
that I can play around irqs?

Thanks

--- Derek Ragona <[EMAIL PROTECTED]>
wrote:

> If the nics are all PCI you may have trouble with
> the shared 
> interrupts.  You may need to use a multiple port
> adapter to get the results 
> you want.
> 
>  -Derek
> 
> 
> At 07:25 PM 2/27/2006, gahn wrote:
> >Thanks Chuck:
> >
> >Yes they are on different lan subnets. I am trying
> to
> >build a freebsd based router that talks to four
> >different subnets.
> >
> >
> >
> >--- Chuck Swiger <[EMAIL PROTECTED]> wrote:
> >
> > > gahn wrote:
> > > > I am running Freebsd 5.4 and have problems
> with
> > > > multiple nics.
> > > [ ... ]
> > > > Any help will be greatly appreciated.
> > >
> > > Are the NICs all on distinct subnets?
> > >
> > > You can't put two NICs using IPs on the same
> subnet
> > > without taking more complex
> > > issues into consideration like bridging or
> channel
> > > bonding or trunking,
> > > depending on which vendor's terms you'd like to
> use.
> > >
> > > --
> > > -Chuck
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > >
>
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> > >
> >
> >
> >__
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
> protection around
> >http://mail.yahoo.com
> >___
> >freebsd-questions@freebsd.org mailing list
>
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


__
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: Freebsd with multiple nic's

2006-02-27 Thread gahn
Thanks Chuck:

Yes they are on different lan subnets. I am trying to
build a freebsd based router that talks to four
different subnets.



--- Chuck Swiger <[EMAIL PROTECTED]> wrote:

> gahn wrote:
> > I am running Freebsd 5.4 and have problems with
> > multiple nics.
> [ ... ]
> > Any help will be greatly appreciated.
> 
> Are the NICs all on distinct subnets?
> 
> You can't put two NICs using IPs on the same subnet
> without taking more complex
> issues into consideration like bridging or channel
> bonding or trunking,
> depending on which vendor's terms you'd like to use.
> 
> -- 
> -Chuck
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


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


  1   2   >