Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Kirill Ponomarew
Hi,

On Thu, Oct 14, 2004 at 02:52:28PM -0700, Dan Finn wrote:
> 5.2.1-RELEASE
> firefox-1.0.1.p_2
> 
> firefox built today, after a cvsup.
> 
> Whenever I click on a javascript link that would normally open up a
> new window I get the following error written to stdout:
> firefox-bin in free(): error: chunk is already free
> 
> and then firefox locks up and has to be killed.
> 
> Is anyone else having this problem?

Yes, the same here.

-Kirill


pgp3xpxzyEj90.pgp
Description: PGP signature


5.3b7 tweaking mbr without permission?

2004-10-14 Thread Gary Aitken
Hello all,
I just did a 5.3b7 "standard" install on the second partition of
an sata disk.  The first partition had an ntfs file system on it,
with an mbr and standard microsoft boot mgr which reads boot.ini to
display the boot menu.
I specifically told the 5.3 install to leave the boot mgr alone, I
thought, by selecting "none" when asked about installing a boot mgr.
However, when I boot now, I get the fbsd beastie boot options for
the installed fbsd partition, not the ms boot mgr.
My intent was to add an entry to the ms boot mgr to hand off to the
fbsd boot.
The behavior I am seeing smells like an installation of the "Standard"
MBR, rather than a boot mgr.
Should I have selected one of the other options?  Or did I somehow
actually select "standard" and I'm halucinating?  Is there a log
written anywhere describing the selections made?  The problem
obviously isn't discovered until you reboot, at which point access
to ttyv1 is long gone.
thanks for any insights,
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Michael Johnson
I'm also having this problem,  I deleted all my 3rd party themes/plugins
and I still have this problem. I'm wondering in what options
each of you built firefox with? Maybe its some OPTION that
is causing this problem because some people are not having this problem.
My options are ...
$ grep WITH /var/db/ports/firefox/options
WITHOUT_DEBUG=true
WITHOUT_HEADERS=true
WITHOUT_LOGGING=true
WITH_OPTIMIZED_CFLAGS=true
WITH_XFT=true
WITHOUT_SMB=true
Micahel
On Oct 14, 2004, at 5:53 PM, Kirill Ponomarew wrote:
Hi,
On Thu, Oct 14, 2004 at 02:52:28PM -0700, Dan Finn wrote:
5.2.1-RELEASE
firefox-1.0.1.p_2
firefox built today, after a cvsup.
Whenever I click on a javascript link that would normally open up a
new window I get the following error written to stdout:
firefox-bin in free(): error: chunk is already free
and then firefox locks up and has to be killed.
Is anyone else having this problem?
Yes, the same here.
-Kirill
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread h
irefox-1.0.1.p_2 is buggy ... arrow and end/home keys broken in forum 
editors ... and the javascript crash thing is nothing new with mozilla.


On Friday 15 October 2004 00:02, Michael Johnson wrote:
> I'm also having this problem,  I deleted all my 3rd party themes/plugins
> and I still have this problem. I'm wondering in what options
> each of you built firefox with? Maybe its some OPTION that
> is causing this problem because some people are not having this problem.
>
> My options are ...
> $ grep WITH /var/db/ports/firefox/options
> WITHOUT_DEBUG=true
> WITHOUT_HEADERS=true
> WITHOUT_LOGGING=true
> WITH_OPTIMIZED_CFLAGS=true
> WITH_XFT=true
> WITHOUT_SMB=true
>
> Micahel
>
> On Oct 14, 2004, at 5:53 PM, Kirill Ponomarew wrote:
> > Hi,
> >
> > On Thu, Oct 14, 2004 at 02:52:28PM -0700, Dan Finn wrote:
> >> 5.2.1-RELEASE
> >> firefox-1.0.1.p_2
> >>
> >> firefox built today, after a cvsup.
> >>
> >> Whenever I click on a javascript link that would normally open up a
> >> new window I get the following error written to stdout:
> >> firefox-bin in free(): error: chunk is already free
> >>
> >> and then firefox locks up and has to be killed.
> >>
> >> Is anyone else having this problem?
> >
> > Yes, the same here.
> >
> > -Kirill
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Kirill Ponomarew
Hi,

On Thu, Oct 14, 2004 at 06:02:00PM -0400, Michael Johnson wrote:
> I'm also having this problem,  I deleted all my 3rd party themes/plugins
> and I still have this problem. I'm wondering in what options
> each of you built firefox with? Maybe its some OPTION that
> is causing this problem because some people are not having this problem.
> 
> My options are ...
> $ grep WITH /var/db/ports/firefox/options
> WITHOUT_DEBUG=true
> WITHOUT_HEADERS=true
> WITHOUT_LOGGING=true
> WITH_OPTIMIZED_CFLAGS=true
> WITH_XFT=true
> WITHOUT_SMB=true

Nope, I'm using only default options.

-Kirill


pgpJ7a8JsWBzx.pgp
Description: PGP signature


Re: commenting/uncommenting a particular line in place

2004-10-14 Thread Paul Schmehl
--On Thursday, October 14, 2004 01:02:23 AM -0700 Mark Jayson Alvarez 
<[EMAIL PROTECTED]> wrote:

Good Day,
I'm looking for a command combinations (not and
editor) that would uncomment or comment a line in any
configuration file such as inetd.conf with just one
single stroke.
For example here's the line in inetd.conf that will
enable ftpd:
# ftpstream  tcp nowait root
/usr/libexec/ftpd   ftpd -l
sure, I can extract that particular line using cat and
grep, but I'm not quit sure how am I going to edit it.
If it is commented by default, I can just say:
cat /etc/inetd.conf |grep #ftp |grep -v 6 |sed -e
's/#//'  to extract and edit that particular line and
then pipe the output to 'tee -a' to be able to append
it at the bottom of inetd.conf.
But what if it's already uncommented?
What's wrong with what you've already got?
cat /etc/inetd.conf | grep -v "#" | grep ftp | grep -v 6 | sed -e 's//#/'
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: configuring php to work with mysql

2004-10-14 Thread Paul Schmehl
--On Thursday, October 14, 2004 05:12:51 AM -0400 David Banning 
<[EMAIL PROTECTED]> wrote:

I am having to reinstall my php and apache 1.3.  I installed apache13
straight from the ports with no options, and then I installed
php4_mysql from the ports also. php is running but it does not
connect to mysql.
1) Read /usr/ports/UPDATING
2) Install php-extensions using make options install clean
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrading Bind

2004-10-14 Thread Paul Schmehl
--On Wednesday, October 13, 2004 08:53:54 PM -0400 questions 
<[EMAIL PROTECTED]> wrote:
Current O/S version = FreeBSD 4.10-RELEASE
Current Bind version = named 8.3.7-REL
Does anyone know if upgrading Bind/named 8.3.7 to 9.3 is
recommended within 4.10-RELEASE?
Recommended?  It's more a personal preference thing, isn't it?
If so can this be accomplished using the
portupgrade command
No.  Portupgrade will upgrade 8.3 to 8.4.
or should a different method be used like downloading
bind9.tar.gz file and running make install?
No.  Use the ports.  Make backups of your .conf and .zone files.  Then go 
to /usr/ports/dns/bind8/ and make deinstall.  Then go to 
/usr/ports/dns/bind9/ and make install clean.  Then read the pkg-message 
and follow the instructions in it.  You'll have to enable bind in rc.conf. 
Make sure you *read* the instructions.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Dan Finn
default options for me too.


On Fri, 15 Oct 2004 00:22:27 +0200, Kirill Ponomarew
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> On Thu, Oct 14, 2004 at 06:02:00PM -0400, Michael Johnson wrote:
> > I'm also having this problem,  I deleted all my 3rd party themes/plugins
> > and I still have this problem. I'm wondering in what options
> > each of you built firefox with? Maybe its some OPTION that
> > is causing this problem because some people are not having this problem.
> >
> > My options are ...
> > $ grep WITH /var/db/ports/firefox/options
> > WITHOUT_DEBUG=true
> > WITHOUT_HEADERS=true
> > WITHOUT_LOGGING=true
> > WITH_OPTIMIZED_CFLAGS=true
> > WITH_XFT=true
> > WITHOUT_SMB=true
> 
> Nope, I'm using only default options.
> 
> -Kirill
> 
> 
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


3D on old laptop

2004-10-14 Thread h
i have a fujitsu siemens lifebook C, celeron 400mhz running freebsd 4.10.

its graphics card is a trident Cyber9525 with 2.5mb onboard :-)

some data sheet says it has 3D acceleration, but how do i activate it ? do i 
follow the same howto than for a ATI rage 3D card, for example, using 
XFree86-4's built-in acceleration ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Jose M Rodriguez
El Viernes, 15 de Octubre de 2004 00:52, Dan Finn escribió:
> default options for me too.
>

At last here,  working after deinstall, complete flush 
of /usr/X11/lib/firefox and ~/.mozilla/firefox (keep data apart !!) 
reinstall and run as root before use.

About this last, I found that:

# su -
# xinit /usr/X11R6/bin/firefox --install-global-extension \
# extension.xpi -- /usr/X11R6/bin/Xvfb :2

Do the work and install your favourite theme or lanpack.

>
> On Fri, 15 Oct 2004 00:22:27 +0200, Kirill Ponomarew
>
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > On Thu, Oct 14, 2004 at 06:02:00PM -0400, Michael Johnson wrote:
> > > I'm also having this problem,  I deleted all my 3rd party
> > > themes/plugins and I still have this problem. I'm wondering in
> > > what options each of you built firefox with? Maybe its some
> > > OPTION that is causing this problem because some people are not
> > > having this problem.
> > >
> > > My options are ...
> > > $ grep WITH /var/db/ports/firefox/options
> > > WITHOUT_DEBUG=true
> > > WITHOUT_HEADERS=true
> > > WITHOUT_LOGGING=true
> > > WITH_OPTIMIZED_CFLAGS=true
> > > WITH_XFT=true
> > > WITHOUT_SMB=true
> >
> > Nope, I'm using only default options.
> >
> > -Kirill
>

--
  josemi

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


advice 64 bit architecture

2004-10-14 Thread eodyna
hi everyone.

i just want to know if anyone has had any major issues
running freebsd on 64bit architecture.

i am wanting to buy a asus a8v deluxe - 939 via k8t800
pro motherboard with a amd athlon64 939 3500+ chip.

If anyone has any experience, id love to listen to
your do's and don'ts.

thanks!!!
ams

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: advice 64 bit architecture

2004-10-14 Thread jason
eodyna wrote:
hi everyone.
i just want to know if anyone has had any major issues
running freebsd on 64bit architecture.
i am wanting to buy a asus a8v deluxe - 939 via k8t800
pro motherboard with a amd athlon64 939 3500+ chip.
If anyone has any experience, id love to listen to
your do's and don'ts.
thanks!!!
ams
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

I tried to put 5.3beta7 on my brothers and had 2 main problems.  The 
wireless network card was not supported.  When I tried to use ndiscvt I 
just got an error saying if_ndis.ko could not be loaded.  It is the 
linksys wmp54gv4 pci card.  The issue that would get you is when I 
compiled x, startx failed about not being able to init fonts.  I am sure 
that could have been easily fixed, but for my brother the killer was 
wireless.  Other than that it was smooth, be sure to read 
/ports/UPDATING about lib changes.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Jose M Rodriguez
El Viernes, 15 de Octubre de 2004 01:14, Jose M Rodriguez escribió:
> El Viernes, 15 de Octubre de 2004 00:52, Dan Finn escribió:
> > default options for me too.
>
> At last here,  working after deinstall, complete flush
> of /usr/X11/lib/firefox and ~/.mozilla/firefox (keep data apart !!)
> reinstall and run as root before use.
> [...]

Nope.  Still problems with javascript.

--
  josemi

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


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Joe Marcus Clarke
On Thu, 2004-10-14 at 20:00, Jose M Rodriguez wrote:
> El Viernes, 15 de Octubre de 2004 01:14, Jose M Rodriguez escribió:
> > El Viernes, 15 de Octubre de 2004 00:52, Dan Finn escribió:
> > > default options for me too.
> >
> > At last here,  working after deinstall, complete flush
> > of /usr/X11/lib/firefox and ~/.mozilla/firefox (keep data apart !!)
> > reinstall and run as root before use.
> > [...]
> 
> Nope.  Still problems with javascript.

Since I have never encountered this problem, I'm not sure what to
suggest.  Perhaps it has something to do with environment.  I'm using
GNOME 2.6.2 with metacity under the en_US.ISO8859-1 locale on 5.3-BETA.

Joe

> 
> --
>   josemi
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Joe Marcus Clarke
On Thu, 2004-10-14 at 19:14, Jose M Rodriguez wrote:
> El Viernes, 15 de Octubre de 2004 00:52, Dan Finn escribió:
> > default options for me too.
> >
> 
> At last here,  working after deinstall, complete flush 
> of /usr/X11/lib/firefox and ~/.mozilla/firefox (keep data apart !!) 
> reinstall and run as root before use.
> 
> About this last, I found that:
> 
> # su -
> # xinit /usr/X11R6/bin/firefox --install-global-extension \
> # extension.xpi -- /usr/X11R6/bin/Xvfb :2
> 
> Do the work and install your favourite theme or lanpack.

You don't need to specify an extension to have this initialize the
global extension space.  The following sequence should do the trick:

$ su - root
# xinit /usr/X11R6/lib/firefox/lib/firefox-0.10.1/run-mozilla.sh 
/usr/X11R6/lib/firefox/lib/firefox-0.10.1/firefox-bin -install-global-theme -- 
/usr/X11R6/bin/Xvfb :2
# xinit /usr/X11R6/lib/firefox/lib/firefox-0.10.1/run-mozilla.sh 
/usr/X11R6/lib/firefox/lib/firefox-0.10.1/firefox-bin -install-global-extension -- 
/usr/X11R6/bin/Xvfb :2
# exit
$

Joe

> 
> >
> > On Fri, 15 Oct 2004 00:22:27 +0200, Kirill Ponomarew
> >
> > <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > On Thu, Oct 14, 2004 at 06:02:00PM -0400, Michael Johnson wrote:
> > > > I'm also having this problem,  I deleted all my 3rd party
> > > > themes/plugins and I still have this problem. I'm wondering in
> > > > what options each of you built firefox with? Maybe its some
> > > > OPTION that is causing this problem because some people are not
> > > > having this problem.
> > > >
> > > > My options are ...
> > > > $ grep WITH /var/db/ports/firefox/options
> > > > WITHOUT_DEBUG=true
> > > > WITHOUT_HEADERS=true
> > > > WITHOUT_LOGGING=true
> > > > WITH_OPTIMIZED_CFLAGS=true
> > > > WITH_XFT=true
> > > > WITHOUT_SMB=true
> > >
> > > Nope, I'm using only default options.
> > >
> > > -Kirill
> >
> 
> --
>   josemi
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Jose M Rodriguez
El Viernes, 15 de Octubre de 2004 02:18, Joe Marcus Clarke escribió:
> On Thu, 2004-10-14 at 20:00, Jose M Rodriguez wrote:
> > El Viernes, 15 de Octubre de 2004 01:14, Jose M Rodriguez escribió:
> > > El Viernes, 15 de Octubre de 2004 00:52, Dan Finn escribió:
> > > > default options for me too.
> > >
> > > At last here,  working after deinstall, complete flush
> > > of /usr/X11/lib/firefox and ~/.mozilla/firefox (keep data apart
> > > !!) reinstall and run as root before use.
> > > [...]
> >
> > Nope.  Still problems with javascript.
>
> Since I have never encountered this problem, I'm not sure what to
> suggest.  Perhaps it has something to do with environment.  I'm using
> GNOME 2.6.2 with metacity under the en_US.ISO8859-1 locale on
> 5.3-BETA.
>
> Joe
>

It's strange.  Seems really related to the last port rev.  Allways when 
open a new window via js.

--
  josemi

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


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Joe Marcus Clarke
On Thu, 2004-10-14 at 20:23, Jose M Rodriguez wrote:
> El Viernes, 15 de Octubre de 2004 02:18, Joe Marcus Clarke escribió:
> > On Thu, 2004-10-14 at 20:00, Jose M Rodriguez wrote:
> > > El Viernes, 15 de Octubre de 2004 01:14, Jose M Rodriguez escribió:
> > > > El Viernes, 15 de Octubre de 2004 00:52, Dan Finn escribió:
> > > > > default options for me too.
> > > >
> > > > At last here,  working after deinstall, complete flush
> > > > of /usr/X11/lib/firefox and ~/.mozilla/firefox (keep data apart
> > > > !!) reinstall and run as root before use.
> > > > [...]
> > >
> > > Nope.  Still problems with javascript.
> >
> > Since I have never encountered this problem, I'm not sure what to
> > suggest.  Perhaps it has something to do with environment.  I'm using
> > GNOME 2.6.2 with metacity under the en_US.ISO8859-1 locale on
> > 5.3-BETA.
> >
> > Joe
> >
> 
> It's strange.  Seems really related to the last port rev.  Allways when 
> open a new window via js.

The only two changes that occurred in the last port rev were a fix to
the firefox script to allow for mozilla-remote support to work (i.e.
calling firefox http://www.someurl.com would open the URL in a running
Firefox process), and a fix for building Firefox with Perl 5.00503.  The
Perl fix is only conditionally included, and Firefox wouldn't have built
prior to that.

Joe

> 
> --
>   josemi
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: Making a partition smaller

2004-10-14 Thread Alex de Kruijff
On Thu, Oct 14, 2004 at 09:56:33AM -0700, Valerian Galeru wrote:
> How to make the /usr(for example) smaller ?

There isn't a program that does this for you, without having to remove
the contence. (Somebody will correct me if i'm wrong.)

1. You have to copy the contence to another dir.
2. Then umount mount the section
3. Remove the directory and create a link. (because this is usr)
4. Delete the partition and create a smaller one. With a diffent dir.
5. Copy the contence back.
6. Remove the link and create the usr directory
7. unmount the diffent dir and mount usr

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Raid problem

2004-10-14 Thread jason
Nattapoom Pumipun wrote:
i have problem can't install freebsd
my system is
cpu : intel pentium 4 2.8c
mainboard : tyan tomcat s5102
hdd : 2xseagate 40gb IDE
raid : promise fasttrax 378 onboard
i can't boot to install freebsd
it just boot from cd to line btx loader and then it will restart all 
time can't do anything

I try to install in 1 drive in primary ide it's work.
that raid can install winxp perfect and can boot to install linux 
normal but freebsd can't
how can i solve this problem

regard
Gle
_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.com/

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

I had a similar problem once.  I was booting from a sata raid control 
and compiled a kernel without ata raid support.  It would reboot after 
the modules preloaded and before the boot menu came up.  I would 
recommend making a bootable cd with a custom kernel, or just a new one 
with the right(or all) drivers for raid. 

I haven't heard of btx loader before, but google just came back with a 
load of stuff, including an email on the freebsd lists about a bios 
update fixing some raid controller that would otherwise prevent you from 
booting.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Adam Weinberger
>> (10.14.2004 @ 2023 PST): Jose M Rodriguez said, in 1.1K: <<
> El Viernes, 15 de Octubre de 2004 02:18, Joe Marcus Clarke escribió:
> > On Thu, 2004-10-14 at 20:00, Jose M Rodriguez wrote:
> > > El Viernes, 15 de Octubre de 2004 01:14, Jose M Rodriguez escribió:
> > > > El Viernes, 15 de Octubre de 2004 00:52, Dan Finn escribió:
> > > > > default options for me too.
> > > >
> > > > At last here,  working after deinstall, complete flush
> > > > of /usr/X11/lib/firefox and ~/.mozilla/firefox (keep data apart
> > > > !!) reinstall and run as root before use.
> > > > [...]
> > >
> > > Nope.  Still problems with javascript.
> >
> > Since I have never encountered this problem, I'm not sure what to
> > suggest.  Perhaps it has something to do with environment.  I'm using
> > GNOME 2.6.2 with metacity under the en_US.ISO8859-1 locale on
> > 5.3-BETA.
> >
> > Joe
> >
> 
> It's strange.  Seems really related to the last port rev.  Allways when 
> open a new window via js.
>> end of "Re: firefox-1.0.1.p_2 crashing on javascript" from Jose M Rodriguez <<

Firefox crashes immediately for me whenever a javascript script opens a
new window. Additionally, I am unable to use the arrow keys to navigate
any text input boxes, both single line and multiline. Also, GNOME
meta-keys have stopped working withing text input areas (i.e. ctrl-u
brings up the source dialogue regardless).

I don't recall seeing this before the latest revision.

Perhaps it has something to do with the reinstallation of firefox?

# Adam


--
Adam Weinberger
[EMAIL PROTECTED] || [EMAIL PROTECTED]
[EMAIL PROTECTED]||   [EMAIL PROTECTED]
http://www.vectors.cx
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Jose M Rodriguez
El Viernes, 15 de Octubre de 2004 02:30, Joe Marcus Clarke escribió:
> On Thu, 2004-10-14 at 20:23, Jose M Rodriguez wrote:
> > El Viernes, 15 de Octubre de 2004 02:18, Joe Marcus Clarke escribió:
> > > On Thu, 2004-10-14 at 20:00, Jose M Rodriguez wrote:
> > > > El Viernes, 15 de Octubre de 2004 01:14, Jose M Rodriguez 
escribió:
> > > > > El Viernes, 15 de Octubre de 2004 00:52, Dan Finn escribió:
> > > > > > default options for me too.
> > > > >
> > > > > At last here,  working after deinstall, complete flush
> > > > > of /usr/X11/lib/firefox and ~/.mozilla/firefox (keep data
> > > > > apart !!) reinstall and run as root before use.
> > > > > [...]
> > > >
> > > > Nope.  Still problems with javascript.
> > >
> > > Since I have never encountered this problem, I'm not sure what to
> > > suggest.  Perhaps it has something to do with environment.  I'm
> > > using GNOME 2.6.2 with metacity under the en_US.ISO8859-1 locale
> > > on 5.3-BETA.
> > >
> > > Joe
> >
> > It's strange.  Seems really related to the last port rev.  Allways
> > when open a new window via js.
>
> The only two changes that occurred in the last port rev were a fix to
> the firefox script to allow for mozilla-remote support to work (i.e.
> calling firefox http://www.someurl.com would open the URL in a
> running Firefox process), and a fix for building Firefox with Perl
> 5.00503.  The Perl fix is only conditionally included, and Firefox
> wouldn't have built prior to that.
>
> Joe
>

Get ready for fun.

firefox -g don't show this.

I suspect form your pretty innocent files/patch-browser_app_mozilla.in.  
Don't ask me why.

Surprise, Surprise ... Undoing the patch on /usr/X11R6/bin/firefox and 
javascript.popWindow() comes to live again !

--
  josemi

> > --
> >   josemi

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


Re: Automatic Firewall software?

2004-10-14 Thread Vulpes Velox
On Thu, 14 Oct 2004 14:07:24 -0500
Peter Pauly <[EMAIL PROTECTED]> wrote:

> Doesn't Portsentry ignore ports that have a service bound to them
> like the SSH daemon? In that case, it wouldn't help Brian's problem,
> since ssh is running, portsentry would ignore any attacks to port
> 22, right?

Move it and the like to a non-common port if one can. :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kconfig_compiler... not found

2004-10-14 Thread Dennis George
Hi all,
 
I am working on freeBSD 5.2.1   I was installing a RSS reader (akregator)... while 
installing it gave me the following error. can anybody tell me how can install 
kconfig_compiler properly where can I find the code to install. or can I 
rectify this error by doing some configuration.
 
checking for kconfig_compiler... not found
configure: error: The important program kconfig_compiler was not found!
Please check whether you installed KDE correctly.
 
Thanks in advance
Dennis


-
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 3D on old laptop

2004-10-14 Thread Vulpes Velox
On Fri, 15 Oct 2004 00:56:18 +0200
h <[EMAIL PROTECTED]> wrote:

> i have a fujitsu siemens lifebook C, celeron 400mhz running freebsd
> 4.10.
> 
> its graphics card is a trident Cyber9525 with 2.5mb onboard :-)
> 
> some data sheet says it has 3D acceleration, but how do i activate
> it ? do i follow the same howto than for a ATI rage 3D card, for
> example, using XFree86-4's built-in acceleration ?

Probally won't be able to get it working. AFAIK 3D requires both
having a kernel mod for it and X server that supports it. That chipset
afaik has no 3D support in either. There may be a bit of 2d render
accel under X, but I would not really count on that much with that old
of a chipset.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do I suppress system messages?

2004-10-14 Thread Eric Crist
On Oct 14, 2004, at 1:41 PM, Lynette Tillner wrote:
I did this, and even did a reboot of the server but the messages 
haven't
stopped.  Since this is a machine managed by my ISP (I don't have a 
full
dedicated server, just a Virtual Private Server with 2 gig of disk 
space)
could something be overriding my syslog.conf file?  I looked at 
rc.conf but
didn't see anything that I thought was appropriate to comment out.

Also, I can't switch to another tty because my only access is remote 
--- I
don't have console access.

Thanks!
Lynette
- Original Message -
From: "Eric Crist" <[EMAIL PROTECTED]>
To: "Kevin Glick" <[EMAIL PROTECTED]>
Cc: "'Lynette Tillner'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, October 13, 2004 12:12 PM
Subject: Re: how do I suppress system messages?
On Oct 13, 2004, at 2:08 PM, Kevin Glick wrote:
Lynette,
System messages print out to the console on tty0 only, by default.  If
you
want to use the console, switch to tty1 or above.  Do this by
ALT+2(tty1),
ALT+3(tty2), etc.
When you're in Vi, and syslog prints across the screen, using CTRL+L
will
re-draw the screen, and remove the syslog messages.
If you want to get rid of the messages altogether, look into disabling
syslogd, via /etc/rc.conf.  (Man syslogd, or check
/etc/defaults/rc.conf for
syslogd.
Kevin Glick
ITS Manager
Sterling Business Forms
[EMAIL PROTECTED]
I'm sure this is something that is being overridden by your ISP and the 
jail system they have set up.  I would suggest you talk to them and see 
if they have something they can do to disable it.

HTH
-
Eric F Crist
Secure Computing Networks


PGP.sig
Description: This is a digitally signed message part


Country Restrions

2004-10-14 Thread Carlos Quintella
Is there any restriction to use FreeBSD in Cuba and other countries 
where US have comercial restrictions?
I work for a British company with branches in Cuba and Syria. So I want 
to know if there is a limitation or if I can think about deploying 
FreeBSD globally for my company.
Thanks
Carlos A. Quintella

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


atapicam, cdrecord, and my gaping clue deficiency

2004-10-14 Thread Peter Seebach
Hardware:  SuperMicro X5DE8-GG motherboard, dual Xeon 2.8Ghz, 2GB memory.
Using onboard SCSI controller for disks, onboard IDE for DVD burner.  DVD
burner is a Pioneer DVR-108.

Software:  cdrecord and/or cdrecord-ProDVD.

Problem:  CD burning Always Fails.  Failure mode is 100% repeatable and
consistent:

cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
CDB:  2A 00 00 00 01 55 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00
Sense Key: 0x [], Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
write track data: error after 698368 bytes
Sense Bytes: 70 00 02 00 00 00 00 0E 00 00 00 00 04 08 00 00 00 00

Mr. Schilling says "Install a non-defective kernel."  I am assuming that this
doesn't mean "some other OS".

Googling around on the CDB bytes turns up lots of people with cabling
problems, especially on SCSI busses.

Googling around on FreeBSD and 698368 turns up someone who needed the P1003_1B
option added to a kernel.  (It's now just the _KPOSIX option, and it's already
in there.)

I got as far as putting in the atapicam and related devices.  This happens
whether or not I leave the atapicd driver in place.  (dmesg output below is
without.)

I enclose dmesg and config file as attachments for perusal.  I am Very Worried
by the observation that the CD is claiming a 3.300MB/sec transfer rate:

cd0 at ata0 bus 0 target 0 lun 0
cd0:  Removable CD-ROM SCSI-0 device
cd0: 3.300MB/s transfers

This is almost certainly incorrect; it should be ATA66, and I have an 80-pin
cable.

I'm not *totally* hopeless:
# cat /boot/loader.conf
hw.ata.atapi_dma="1"

but I can't tell whether that's fixed anything.

My hypothesis is that I have somehow failed to persuade the kernel to Really
And Truly do DMA on this device, and that it's fallen back on a pathetically
slow and inappropriate PIO mode.

Clues will be gratefully appreciated; also, since I've seen other people with
similar problems, if I can find a fix, I will write about it and put lots of
happy Google-friendly keywords in it so fewer people will ask in the future.

Dmesg output:
---
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE #0: Thu Oct 14 20:07:13 EDT 2004
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/JPC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc09e8000.
MPTable: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.12-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf25  Stepping = 5
  
Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 2147483648 (2048 MB)
avail memory = 2080739328 (1984 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 16
ioapic2: Assuming intbase of 32
ioapic3: Assuming intbase of 48
ioapic0  irqs 0-15 on motherboard
ioapic1  irqs 16-31 on motherboard
ioapic2  irqs 32-47 on motherboard
ioapic3  irqs 48-63 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00f4a20
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pcib0: slot 8 INTA routed to irq 28
pcib0: slot 9 INTA routed to irq 26
pcib0: slot 10 INTA routed to irq 30
pcib0: slot 10 INTB routed to irq 31
pcib0: slot 11 INTA routed to irq 29
pcib0: slot 15 INTA routed to irq 17
pcib1:  at device 6.0 on pci0
pci1:  on pcib1
pcib1: slot 8 INTA routed to irq 22
pcib1: slot 9 INTA routed to irq 23
pcib1: slot 9 INTB routed to irq 18
pcib1: slot 9 INTC routed to irq 19
fwohci0:  port 0xa800-0xa87f mem 0xfc8ff000-0xfc8ff7ff irq 22 at device 
8.0 on pci1
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 8.
fwohci0: EUI64 00:11:06:00:00:00:50:66
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
fwe0:  on firewire0
if_fwe0: Fake Ethernet address: 02:11:06:00:50:66
sbp0:  on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ohci0:  mem 0xfc8fd000-0xfc8fdfff irq 23 at device 9.0 on 
pci1
usb0: OHCI version 1.0
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1:  mem 0xfc8fe000-0xfc8fefff irq 18 at device 9.1 on 
pci1
usb1: OHCI version 1.0
usb1:  on ohci1
u

Re: What version of FBSD does Yahoo run?

2004-10-14 Thread TM4525
In a message dated 10/9/04 3:26:34 PM Eastern Daylight Time, 
[EMAIL PROTECTED] writes:
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
> Sent: Saturday, October 09, 2004 9:14 AM
> To: [EMAIL PROTECTED]

> Note that it also took quite a bit a beating to get them to admit that 
> 
> 1) They dont know the answer to the Subject 
> or
> 2) Yahoo runs something quite different than what is available 
> generally since
> they've "substantially" modified it.
> 

No, it is just I would be surprised if they didn't.

Yahoo like any large company almost certainly has patentable ideas
and a crew of lawyers reviewing everything.  I would also expect
they have a patent portfolio.  Otherwise nothing would prevent some
competitor ripping off their ideas and setting up a duplicate
"yahoo" website.  I would guess - since it is usual for this in
most large companies - that some of these ideas are implemented in
the FreeBSD they run.

I don't work at Yahoo so I can freely speculate.  And my speculations
are founded on what is normal and usual for most larger companies.
Nobody that works at Yahoo and actually knows the truth would be
able to even speak hypothetically about what runs at Yahoo, as they
would almost certaily be under an NDA.  (something that is also
normal and usual for most large companies)

Ted
-

I don't see why Yahoo, or any other large company for that matter, would
need or want to substantially modify the OS proper, as its a big win to
*not* modify it so that you can run on whatever is the latest and greatest
with minimal effort, you are certainly entitled to you opinion. 

Of course my point was that IF in fact you are right, and frankly I couldn't
care less if you are or not, then the FreeBSD clan shouldn't be touting
Yahoo as  "using freeBSD", any more than Ford can claim that 
some NASCAR driver drives a Mustang, if its been modified enough
so that what they use is a completely different animal. If what Yahoo 
uses is "based" on FreeBSD, thats much different that using what 
everyone else does. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Country Restrions

2004-10-14 Thread stheg olloydson
it was said: 

>Is there any restriction to use FreeBSD in Cuba and other countries 
>where US have comercial restrictions?
>I work for a British company with branches in Cuba and Syria. So I
want 
>to know if there is a limitation or if I can think about deploying 
>FreeBSD globally for my company.
>Thanks
>Carlos A. Quintella

Hello,

Although many Americans work on the Project, I doubt that FreeBSD can
be considered and "American-made product". In any case, you can
download the software from numerous non-US servers. See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html
(URL may have wrapped) for the complete list. Pick one from a country
that has diplomatic relations with Cuba and/or Syria.

HTH,

Stheg





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


Re: atapicam, cdrecord, and my gaping clue deficiency

2004-10-14 Thread Peter Seebach
In message <[EMAIL PROTECTED]>, Peter Seebach write
s:
>Problem:  CD burning Always Fails.  Failure mode is 100% repeatable and
>consistent:

A followup:  I have an HP "DVD Writer dvd630i".

1.  If I install only the DVD Writer dvd630i, as a master, the kernel panics
and won't boot.
2.  If I install both drives, with the HP as slave, the HP comes up at
33MB/sec and the Pioneer at 66MB/sec.

In that configuration, the HP burns CDs just fine, but the Pioneer doesn't.

So I'd just put the HP in the system.  But it won't boot with just the HP!
The last thing it says is "ata1-slave: interrupt failed."  This is odd, 'cuz
the drive's set for master, and there is no slave.  ???

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


Problem with Swatch script in /usr/local/etc/rc.d

2004-10-14 Thread Henri Prudhomme
I am running freebsd 4.10. I have a case start / stop
script for Swatch in /usr/local/etc/rc.d. I can run
the script manually as superuser and it works
correctly - Swatch correctly starts and stops, and
runs as a daemon in the backgound. But when I reboot
the server, the Swatch service doesn't start (and no
error messages). 

By RTFM my understanding is that for 4.10 nothing
special is needed. Just make sure the script is in the
rc.d directory, is executable (755) and ends with .sh.
The script is owned by root and wheel.

I've google and re-read, but I'm at a dead end. Can
anyone help me understand why the command line
execution of the script works, but on boot-up through
rc.d the script won't work?  

I can provide details of the script if needed, but it
seems there is something fundamental that I am
missing.

Thanks.

Henri

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


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Joe Marcus Clarke
On Thu, 2004-10-14 at 20:59, Jose M Rodriguez wrote:
> El Viernes, 15 de Octubre de 2004 02:30, Joe Marcus Clarke escribió:
> > On Thu, 2004-10-14 at 20:23, Jose M Rodriguez wrote:
> > > El Viernes, 15 de Octubre de 2004 02:18, Joe Marcus Clarke escribió:
> > > > On Thu, 2004-10-14 at 20:00, Jose M Rodriguez wrote:
> > > > > El Viernes, 15 de Octubre de 2004 01:14, Jose M Rodriguez 
> escribió:
> > > > > > El Viernes, 15 de Octubre de 2004 00:52, Dan Finn escribió:
> > > > > > > default options for me too.
> > > > > >
> > > > > > At last here,  working after deinstall, complete flush
> > > > > > of /usr/X11/lib/firefox and ~/.mozilla/firefox (keep data
> > > > > > apart !!) reinstall and run as root before use.
> > > > > > [...]
> > > > >
> > > > > Nope.  Still problems with javascript.
> > > >
> > > > Since I have never encountered this problem, I'm not sure what to
> > > > suggest.  Perhaps it has something to do with environment.  I'm
> > > > using GNOME 2.6.2 with metacity under the en_US.ISO8859-1 locale
> > > > on 5.3-BETA.
> > > >
> > > > Joe
> > >
> > > It's strange.  Seems really related to the last port rev.  Allways
> > > when open a new window via js.
> >
> > The only two changes that occurred in the last port rev were a fix to
> > the firefox script to allow for mozilla-remote support to work (i.e.
> > calling firefox http://www.someurl.com would open the URL in a
> > running Firefox process), and a fix for building Firefox with Perl
> > 5.00503.  The Perl fix is only conditionally included, and Firefox
> > wouldn't have built prior to that.
> >
> > Joe
> >
> 
> Get ready for fun.
> 
> firefox -g don't show this.
> 
> I suspect form your pretty innocent files/patch-browser_app_mozilla.in.  
> Don't ask me why.
> 
> Surprise, Surprise ... Undoing the patch on /usr/X11R6/bin/firefox and 
> javascript.popWindow() comes to live again !

I just don't see how that's possible.  I'm running 1.0.1.p_2, and I
don't see the problem.  Do this, edit /usr/X11R6/bin/firefox, and change
the first line to:

#!/bin/sh -x

Re-run firefox with and without the run_moz patch, and send me the
output.

Joe

> 
> --
>   josemi
> 
> > > --
> > >   josemi
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


portsentry core dumps on 5.2.1

2004-10-14 Thread dave
Hello,
Is anyone noticing an issue when portsentry is started on 5.2.1-p8 it
atempts to bind to a tcp or udp port the first one listed in the
portsentry.conf file and immediately core dumps with a signal 4? I have
tried this on two machines with identical results.
Suggestions welcome.
Thanks.
Dave.

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


Get multicast addresses from interface

2004-10-14 Thread Grigory Klyuchnikov
Hello,
How can a user process get IPv6 multicast addresses of ethernet
interfaces? I have FreeBSD 5.2.1 and get interface addresses
via ioctl(SIOCGIFCONF) or sysctl(witch NET_RT_IFLIST),
but all returned addresses are unicast.
In net/if.h there is a struct ifma_msghdr:
/*
 * Message format for use in obtaining information about multicast addresses
 * from the routing socket
 */
struct ifma_msghdr {
u_short ifmam_msglen;   /* to skip over non-understood messages */
u_char  ifmam_version;  /* future binary compatibility */
u_char  ifmam_type; /* message type */
int ifmam_addrs;/* like rtm_addrs */
int ifmam_flags;/* value of ifa_flags */
u_short ifmam_index;/* index for associated ifp */
};
How it may be used?
Regards,
Grigory Klyuchnikov.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Get multicast addresses from interface

2004-10-14 Thread Brooks Davis
On Thu, Oct 14, 2004 at 05:44:57PM +0400, Grigory Klyuchnikov wrote:
> Hello,
> 
> How can a user process get IPv6 multicast addresses of ethernet
> interfaces? I have FreeBSD 5.2.1 and get interface addresses
> via ioctl(SIOCGIFCONF) or sysctl(witch NET_RT_IFLIST),
> but all returned addresses are unicast.

getifaddrs(3) and getifmaddrs(3) may do what you want.

> In net/if.h there is a struct ifma_msghdr:
> 
> /*
>  * Message format for use in obtaining information about multicast addresses
>  * from the routing socket
>  */
> struct ifma_msghdr {
>   u_short ifmam_msglen;   /* to skip over non-understood messages */
>   u_char  ifmam_version;  /* future binary compatibility */
>   u_char  ifmam_type; /* message type */
>   int ifmam_addrs;/* like rtm_addrs */
>   int ifmam_flags;/* value of ifa_flags */
>   u_short ifmam_index;/* index for associated ifp */
> };
> 
> 
> How it may be used?

In addition to the functions above, you can directly access these
structures via sysctl (see src/lib/libc/net/getifmaddrs.c for an
example).

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgpXgCxZPPbXl.pgp
Description: PGP signature


Re: Get multicast addresses from interface

2004-10-14 Thread Bruce M Simpson
On Thu, Oct 14, 2004 at 08:01:49AM -0700, Brooks Davis wrote:
> On Thu, Oct 14, 2004 at 05:44:57PM +0400, Grigory Klyuchnikov wrote:
> > How can a user process get IPv6 multicast addresses of ethernet
> > interfaces? I have FreeBSD 5.2.1 and get interface addresses
> > via ioctl(SIOCGIFCONF) or sysctl(witch NET_RT_IFLIST),
> > but all returned addresses are unicast.
> 
> getifaddrs(3) and getifmaddrs(3) may do what you want.

See http://people.freebsd.org/~bms/dump/mcastlist/ for the original
code (harti@ submitted most of the kernel bits).

I didn't specifically set out to test getifmaddrs(3) with AF_INET6
addresses when I wrote it, but I seem to recall that it should work
with them, from testing.

If not, please feel free to submit a PR with a patch.

Thanks,
BMS


pgpfeYl0of2Ky.pgp
Description: PGP signature


<    1   2