Re: Help compiling ffmpeg from source

2012-02-29 Thread Waitman Gobble
On Wed, Feb 29, 2012 at 12:37 PM, Andy Wodfer  wrote:

> On Wed, Feb 29, 2012 at 9:20 PM, Waitman Gobble 
> wrote:
>
> >
> > On Feb 29, 2012 12:10 PM, "Andy Wodfer"  wrote:
> > >
> > > On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer  wrote:
> > >
> > > > On Wed, Feb 29, 2012 at 2:50 PM, Da Rock <
> > > > freebsd-questi...@herveybayaustralia.com.au> wrote:
> > > >
> > > >> On 02/29/12 23:48, Andy Wodfer wrote:
> > > >>
> > > >>> I'm on FreeBSD 8.2 STABLE (AMD64).
> > > >>>
> > > >>> I need to install the latest ffmpeg 0.10, but it fails when
> > compiling. I
> > > >>> must admit I very rarely do it this way. Normally all software is
> > > >>> installed
> > > >>> from ports, but I couldn't find this version of ffmpeg there.
> > > >>>
> > > >>> Heres what I do:
> > > >>>
> > > >>> ./configure
> > > >>> gmake
> > > >>>
> > > >>> and the problem looks like this:
> > > >>>
> > > >>> [snip]
> > > >>> /var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is
> > not a
> > > >>> valid 64 bit base/index expression
> > > >>> /var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)'
> is
> > not
> > > >>> a
> > > >>> valid 64 bit base/index expression
> > > >>> /var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit
> > > >>> base/index expression
> > > >>> /var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is
> not
> > a
> > > >>> valid 64 bit base/index expression
> > > >>> /var/tmp//ccKzWhb0.s:27045: Error:
> > `ff_h264_lps_range(%r9d,%r12d,**2)'
> >
> > > >>> is not
> > > >>> a valid 64 bit base/index expression
> > > >>> /var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is
> > not a
> > > >>> valid 64 bit base/index expression
> > > >>> /var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)'
> is
> > not
> > > >>> a
> > > >>> valid 64 bit base/index expression
> > > >>> /var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64
> bit
> > > >>> base/index expression
> > > >>> /var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is
> not
> > a
> > > >>> valid 64 bit base/index expression
> > > >>> gmake: *** [libavcodec/h264_cabac.o] Error 1
> > > >>>
> > > >> Thats right, I remember this one- really simple but will get you
> every
> > > >> time! You need a newer gcc version (probably 4.6 will get you out of
> > > >> trouble if I remember correctly).
> > > >>
> > > >> The port already sets this, it will only bite when you're working
> > solo.
> > > >>
> > > >>
> > > > Ok - thanks!
> > > >
> > > > I'm currently doing this:
> > > > http://www.freebsd.org/doc/en/articles/custom-gcc/article.html
> > > >
> > > > I will report back on how it goes. :-)
> > > >
> > > > Cheers,
> > > > Andy
> > > >
> > >
> > > So, I updated gmake to 3.82 from ports and installed gcc47 from ports.
> I
> > > updated /etc/make.conf as described here:
> > > http://www.freebsd.org/doc/en/articles/custom-gcc/article.html
> > >
> > > However, I don't have a libmap file so I skipped this one and the other
> > > ones below in the article.
> > >
> > > Here's some outputs:
> > >
> > > # gmake -v
> > > GNU Make 3.82
> > > Built for amd64-portbld-freebsd8.2
> > > Copyright (C) 2010  Free Software Foundation, Inc.
> > > License GPLv3+: GNU GPL version 3 or later <
> > http://gnu.org/licenses/gpl.html
> > > >
> > > This is free software: you are free to change and redistribute it.
> > > There is NO WARRANTY, to the extent permitted by law.
> > >
> > > # gcc -v
> > > Using built-in specs.
> > > Target: amd64-undermydesk-freebsd
> > > Configured with: FreeBSD/amd64 system compiler
> > > T

Re: Help compiling ffmpeg from source

2012-02-29 Thread Waitman Gobble
On Wed, Feb 29, 2012 at 12:20 PM, Waitman Gobble wrote:

>
> On Feb 29, 2012 12:10 PM, "Andy Wodfer"  wrote:
> >
> > On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer  wrote:
> >
> > > On Wed, Feb 29, 2012 at 2:50 PM, Da Rock <
> > > freebsd-questi...@herveybayaustralia.com.au> wrote:
> > >
> > >> On 02/29/12 23:48, Andy Wodfer wrote:
> > >>
> > >>> I'm on FreeBSD 8.2 STABLE (AMD64).
> > >>>
> > >>> I need to install the latest ffmpeg 0.10, but it fails when
> compiling. I
> > >>> must admit I very rarely do it this way. Normally all software is
> > >>> installed
> > >>> from ports, but I couldn't find this version of ffmpeg there.
> > >>>
> > >>> Heres what I do:
> > >>>
> > >>> ./configure
> > >>> gmake
> > >>>
> > >>> and the problem looks like this:
> > >>>
> > >>> [snip]
> > >>> /var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is
> not a
> > >>> valid 64 bit base/index expression
> > >>> /var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)' is
> not
> > >>> a
> > >>> valid 64 bit base/index expression
> > >>> /var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit
> > >>> base/index expression
> > >>> /var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is not
> a
> > >>> valid 64 bit base/index expression
> > >>> /var/tmp//ccKzWhb0.s:27045: Error:
> `ff_h264_lps_range(%r9d,%r12d,**2)'
> > >>> is not
> > >>> a valid 64 bit base/index expression
> > >>> /var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is
> not a
> > >>> valid 64 bit base/index expression
> > >>> /var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)' is
> not
> > >>> a
> > >>> valid 64 bit base/index expression
> > >>> /var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64 bit
> > >>> base/index expression
> > >>> /var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is not
> a
> > >>> valid 64 bit base/index expression
> > >>> gmake: *** [libavcodec/h264_cabac.o] Error 1
> > >>>
> > >> Thats right, I remember this one- really simple but will get you every
> > >> time! You need a newer gcc version (probably 4.6 will get you out of
> > >> trouble if I remember correctly).
> > >>
> > >> The port already sets this, it will only bite when you're working
> solo.
> > >>
> > >>
> > > Ok - thanks!
> > >
> > > I'm currently doing this:
> > > http://www.freebsd.org/doc/en/articles/custom-gcc/article.html
> > >
> > > I will report back on how it goes. :-)
> > >
> > > Cheers,
> > > Andy
> > >
> >
> > So, I updated gmake to 3.82 from ports and installed gcc47 from ports. I
> > updated /etc/make.conf as described here:
> > http://www.freebsd.org/doc/en/articles/custom-gcc/article.html
> >
> > However, I don't have a libmap file so I skipped this one and the other
> > ones below in the article.
> >
> > Here's some outputs:
> >
> > # gmake -v
> > GNU Make 3.82
> > Built for amd64-portbld-freebsd8.2
> > Copyright (C) 2010  Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html
> > >
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.
> >
> > # gcc -v
> > Using built-in specs.
> > Target: amd64-undermydesk-freebsd
> > Configured with: FreeBSD/amd64 system compiler
> > Thread model: posix
> > gcc version 4.2.2 20070831 prerelease [FreeBSD]
> >
> > How do I tell the system to use gcc47 instead of 4.2.2 (if that's what
> > causes the problems)?
> >
> > Compiling ffmpeg from source still failes on the same line as in my
> orginal
> > post.
> >
> > Thanks a lot for any pointers that will help me resolve this. :-)
> >
> > All the best,
> > Andy
> > ___
> > 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"
>
> is there a gcc47 or maybe a typo?
>
> should be
> # export CC=gcc46
> or
> # setenv CC gcc46
>
> if building from source
>
> --
> Waitman Gobble
> San Jose California USA
>
OOps my bad, that's the gcc development version... stable is 4.6.2.. or
gcc46 ... didn't notice there was a port :)

Waitman
___
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: Help compiling ffmpeg from source

2012-02-29 Thread Waitman Gobble
On Feb 29, 2012 12:10 PM, "Andy Wodfer"  wrote:
>
> On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer  wrote:
>
> > On Wed, Feb 29, 2012 at 2:50 PM, Da Rock <
> > freebsd-questi...@herveybayaustralia.com.au> wrote:
> >
> >> On 02/29/12 23:48, Andy Wodfer wrote:
> >>
> >>> I'm on FreeBSD 8.2 STABLE (AMD64).
> >>>
> >>> I need to install the latest ffmpeg 0.10, but it fails when
compiling. I
> >>> must admit I very rarely do it this way. Normally all software is
> >>> installed
> >>> from ports, but I couldn't find this version of ffmpeg there.
> >>>
> >>> Heres what I do:
> >>>
> >>> ./configure
> >>> gmake
> >>>
> >>> and the problem looks like this:
> >>>
> >>> [snip]
> >>> /var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is not
a
> >>> valid 64 bit base/index expression
> >>> /var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)' is
not
> >>> a
> >>> valid 64 bit base/index expression
> >>> /var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit
> >>> base/index expression
> >>> /var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is not a
> >>> valid 64 bit base/index expression
> >>> /var/tmp//ccKzWhb0.s:27045: Error: `ff_h264_lps_range(%r9d,%r12d,**2)'
> >>> is not
> >>> a valid 64 bit base/index expression
> >>> /var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is not
a
> >>> valid 64 bit base/index expression
> >>> /var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)' is
not
> >>> a
> >>> valid 64 bit base/index expression
> >>> /var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64 bit
> >>> base/index expression
> >>> /var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is not a
> >>> valid 64 bit base/index expression
> >>> gmake: *** [libavcodec/h264_cabac.o] Error 1
> >>>
> >> Thats right, I remember this one- really simple but will get you every
> >> time! You need a newer gcc version (probably 4.6 will get you out of
> >> trouble if I remember correctly).
> >>
> >> The port already sets this, it will only bite when you're working solo.
> >>
> >>
> > Ok - thanks!
> >
> > I'm currently doing this:
> > http://www.freebsd.org/doc/en/articles/custom-gcc/article.html
> >
> > I will report back on how it goes. :-)
> >
> > Cheers,
> > Andy
> >
>
> So, I updated gmake to 3.82 from ports and installed gcc47 from ports. I
> updated /etc/make.conf as described here:
> http://www.freebsd.org/doc/en/articles/custom-gcc/article.html
>
> However, I don't have a libmap file so I skipped this one and the other
> ones below in the article.
>
> Here's some outputs:
>
> # gmake -v
> GNU Make 3.82
> Built for amd64-portbld-freebsd8.2
> Copyright (C) 2010  Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html
> >
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> # gcc -v
> Using built-in specs.
> Target: amd64-undermydesk-freebsd
> Configured with: FreeBSD/amd64 system compiler
> Thread model: posix
> gcc version 4.2.2 20070831 prerelease [FreeBSD]
>
> How do I tell the system to use gcc47 instead of 4.2.2 (if that's what
> causes the problems)?
>
> Compiling ffmpeg from source still failes on the same line as in my
orginal
> post.
>
> Thanks a lot for any pointers that will help me resolve this. :-)
>
> All the best,
> Andy
> ___
> 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"

is there a gcc47 or maybe a typo?

should be
# export CC=gcc46
or
# setenv CC gcc46

if building from source

--
Waitman Gobble
San Jose California USA
___
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: Is it worthy upgrading to 9.0 ?

2012-02-28 Thread Waitman Gobble
On Feb 28, 2012 4:13 AM, "Erich Dollansky" 
wrote:
>
> Hi,
>
> I cannot tell how often I have said this already. I stay with the even
branches until the next even branch comes out. Currently, the machine here
runs 8.3 and will stick to 8 until 10.0 or 10.1 will arrive at the scene.
>
> But for technical reasons, I have left one machine on 7 after the upgrade
from 6 to 8 failed. It is a very old machine and some hardware support got
dropped.
>
> Erich
>
> On Tuesday 28 February 2012 15:03:45 Damien Fleuriot wrote:
> >
> > On 2/28/12 1:52 AM, sw2wolf wrote:
> > >> uname -a
> > > FreeBSD mybsd.zsoft.com 8.2-RELEASE FreeBSD 8.2-RELEASE #3: Fri Sep 30
> > > 15:23:56 CST 2011
> > > r...@mybsd.zsoft.com:/media/G/usr/obj/media/G/usr/src/sys/MYKERNEL
 i386
> > >
> > > I am using 8.2 for a long time. And it works VERY well.
> > >
> > >
> > > Any suggestion is appreciated!
> > >
> >
> > This is an entirely subjective question and one that only you can
answer.
> >
> > For example, given the number of problem reports I'm seeing on the
> > lists, I'm going to stick with the 8-STABLE branch for still a long
> > time, likely until 9.1 or 9.2-RELEASE.
> >
> > You may want to reflect on the features you currently use and whether
> > they've been improved in 9.0-RELEASE or not (eg ZFS v28)
> > ___
> > 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"


10.0-CURRENT works pretty good for me, i'm running it on an intel 32
machine and an amd64 machine. i have some servers running 7, i totally
skipped 8 and tried 9 for a couple of months. but i wanted better wireless
hardware support so i started pulling cvs head.

For kicks i'm merging updated gnu and gpl software (that's been frozen
since GPLv3 hit) into 10 src (ie /usr/src/gnu and /usr/src/contrib) just to
see what kind of trouble it will cause.

Waitman Gobble
San Jose California USA
___
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: webcamd and device numbering

2012-02-18 Thread Waitman Gobble
On Sat, Feb 18, 2012 at 8:37 PM, Da Rock <
freebsd-questi...@herveybayaustralia.com.au> wrote:

> On 02/19/12 13:16, Robert Bonomi wrote:
>
>>  From 
>> owner-freebsd-questions@**freebsd.org 
>> Sat Feb 18 20:42:50 2012
>>> Date: Sun, 19 Feb 2012 12:32:42 +1000
>>> From: Da 
>>> Rock
>>> >
>>> To: FreeBSD 
>>> Questions
>>> >
>>> Subject: webcamd and device numbering
>>>
>>>
>>> I've been struggling with this on my own for ages now, and I was
>>> determined to try and sort it myself. But I'll now eat my humble pie and
>>> ask for some help :)
>>>
>>> I have (I believe I have mentioned this before) 5 dvb tuners in a
>>> FreeBSD server (8.2): 1 cx88, 2 DiVico dual tuners (that totals 4
>>> amongst just the DiVico's). I'm using webcamd to use these (thank God I
>>> can get away from Linux!), and they work fine except I have to run ln -s
>>> to link them to the right places after every reboot (Only the Divico's
>>> use webcamd). So they should look like this:
>>>
>>> $ls /dev/dvb/
>>> adapter0adapter1adapter2adapter3
>>>
>>> instead:
>>>
>>> ls /dev/dvb/
>>> adapter0adapter16adapter24adapter8
>>>
>>>  At least a couple of ways to approach  this.
>>  1) (a bad idea, but simple)  wrap 'webcamd' in a script that makes the
>> symlinks before invoking the actual executable.
>>
> I don't think that will work because webcamd does the actually device
> attach itself. Putting in the symlinks first _cant_ happen because there is
> nothing to link to.
>
>>  2) look at devd.conf(5) and add stuff there to create the links for
>> {1,2,3}
>>
> Again, same problem. webcamd does the work there to attach the devices -
> but it uses hal to notify and obtain the numbering. I haven't found a way
> to turn this off as yet. Originally I don't think it used hal at all,
> somewhere along the line they decided to make inextricable.
>
> I may be stuck with the cron job :/ I wonder if I can get it to just
> happen at boot... my spidey senses are tingling. I'll have to remember
> where I saw that.
>
> __**_
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscr...@freebsd.org "
>

I agree it's a crappy solution, (at least?) in principal. I had a drive
that stubbornly refused to mount at boot, a weird harold situation and you
know - like you want to throw the freaking thing out the window..
check/mount on cron was a band-aid approach, it worked.

Waitman Gobble
San Jose California USA
___
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: webcamd and device numbering

2012-02-18 Thread Waitman Gobble
On Sat, Feb 18, 2012 at 6:32 PM, Da Rock <
freebsd-questi...@herveybayaustralia.com.au> wrote:

> I've been struggling with this on my own for ages now, and I was
> determined to try and sort it myself. But I'll now eat my humble pie and
> ask for some help :)
>
> I have (I believe I have mentioned this before) 5 dvb tuners in a FreeBSD
> server (8.2): 1 cx88, 2 DiVico dual tuners (that totals 4 amongst just the
> DiVico's). I'm using webcamd to use these (thank God I can get away from
> Linux!), and they work fine except I have to run ln -s to link them to the
> right places after every reboot (Only the Divico's use webcamd). So they
> should look like this:
>
> $ls /dev/dvb/
> adapter0adapter1adapter2adapter3
>
> instead:
>
> ls /dev/dvb/
> adapter0adapter16adapter24adapter8
>
> This is a real problem because 1. MPlayer only accepts 0-4, and 2.
> GStreamer (including xine) only accept 1-16.
>
> I tried working out how to resolve the issue any sane way; and then I
> resorted to some quick hacks. I tried uding devfs.rules for links before I
> found out it can't do that at all. devfs.conf is no good, as it sets them
> up to begin with. And running some commands in rc.local didn't work: `ln -s
> /dev/dvb/adapter8 /dev/dvb/adapter1` and so forth.
>
> I googled and googled and there seem to be no real fix as webcamd won't
> work without hal and relies on it for the numbering (but borks it
> continuously). I've tried updates and so forth, but all to no avail. I'm
> not too worried about a permanent fix because hal's death bells have
> tolled, but I do need to fix this as it is really getting annoying now -
> the server is on continuously but can go down from time to time and catches
> the unwary :) (like when a scheduled recording which requires say adapter1
> finds it no longer there)
>
> I'm using webcamd-3.2.0.2, which I recently updated.
>
> Cheers
> __**_
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscr...@freebsd.org "
>


Hi,

maybe cron job that runs once a minute and checks/fixes? maybe overkill but
probably not noticeable to system performance,... .

Waitman Gobble
San Jose California USA
___
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: Question regarding SPF records

2012-02-18 Thread Waitman Gobble
On Feb 18, 2012 8:53 AM, "Jonathan Vomacka"  wrote:
>
> I am inquiring about how to setup a proper SPF record. I know there are
SPF wizards/generators available but each seem to have a different
"opinion" of what should be included and what should not be included.
>
> Let me give you a scenario of my setup, and hopefully someone can help me
out.
>
> My domain is: test.com
> My mailserver hostname is: mail.host.com which also has a MATCHING PTR
record
> mail.host.com (for example) resolves to 50.1.1.1 and 50.1.1.1 resolves to
mail.host.com
>
> This is a STANDALONE mail server which will receive and send email
without any VIP's or load balancing. There is however one additional host
that will send out mail from the domain but it wont be receiving mail, it
will only be used as an SMTP (outbound only) server attached to a website
automailer which is on a seperate webserver... It only generates error
reports and sends them out... so technically it isn't a full mail server
but it will be sending (outbound only) mail on behalf of the domain.
>
> The additional host is: mail2.test.com which resolves to 50.2.2.2 and
there is a Matching PTR.
>
> These are the ONLY mail servers and IP addresses that will be sending out
mail from the test.com domain. Some websites say I should use -all and
others say -all will cause some MTA's to reject and ~all is better to use
even if those are the only two hosts sending out mail.
>
> Would you be able to assist with a solid SPF record?
> ___
> 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"

I usually choose soft fail because a user might decide to use a mobile
device for email.

Waitman Gobble
San Jose California USA
___
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: File manager for Xfce

2012-02-15 Thread Waitman Gobble
On Feb 15, 2012 9:58 AM, "Per olof Ljungmark"  wrote:
>
> A long time KDE3 user but now thinking of Xfce instead as KDE4 is not
> really my way of doing it.
>
> One of the things I've found productive in KDE is the Konqerour file
> manager, is there anything similar available as a separate app to run
> under Xfce?
>
> In particular, it should accept URI's like sftp://, smb:// etcetra and
> looking at Thunar it does not seem to have this capability?
>
> I suppose I could run Konqerour as an app but that would require buiding
> a lot of KDE3 as well.
>
> Suggestions welcome, 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"

hi,

I like xfce4, compact and fast on my netbook. I haven't had issues on
FreeBSD 10.0-CURRENT. Thunar is good, have not tried using smb:// etc but I
will see what happens and let you know. The WebKit based browser in the
project is pretty good too. If you are running FreeBSD on a desktop you
might want more apps and features that come with KDE or Gnome.

Check out the xfce.org site to see what you get ;-)

Waitman Gobble
San Jose California USA
___
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: corrupted tar.gz archive - I lost my backups :)/:(

2012-02-14 Thread Waitman Gobble
On Feb 14, 2012 7:37 AM, "Mike Kelly"  wrote:
>
> >
> > I don't have the script anymore. It is among the files lost, but it was
> > pretty
> > much straight forward, making use of:
> > tar -czf backupfile.tar.gz folders/ of/ my/ choice/.
> >
> > After creating the backups I just cp(1)ed them to an msdosfs formated
> > usb stick and got them onto 8.2 this way, so the famous ascii/binary
> > trap shouldn't be
> > an issue here.
> >
> > Just a thought... how large were the tar.gz files? Are you maybe hitting
> on a file size limit and the .tar.gz files are getting truncated? Not sure
> what the limit is for msdosfs.
>
> --
> Mike Kelly
> ___
> 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"

or perhaps pulled the drive before unmounting... with pending writes. just
a thought.

Waitman Gobble
San Jose California USA
___
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: Wireless Problem

2012-02-10 Thread Waitman Gobble
On Fri, Feb 10, 2012 at 1:58 PM, zaklinaczcipek128
wrote:

> Hi,
> I'm struggling with my wireless cards couple days and I can't figure out
> what's wrong. Following
> I'm under FreeBSD 9.0 RELEASE and ever since I've used it I can't connect
> to any wireless network. I've got Atheros NIC and under every other OS it
> works fine, even earlier when I were under FreeBSD 7.2 it worked well, but
> now I got weird issues. I read a lot of it. I followed handbook with no
> success. I can connect to the network (no difference if it secured or not)
> i get IP from DHCP but I can't even ping my router. All drivers are loaded,
> my /etc/wpa_supplicant.conf is all right, I even add a line to the
> /etc/resolve.conf. I've reinstalled FreeBSD 9.0 and first thing I wanted to
> check was my wireless and unfortunately, it's the same, not working, same
> problem. Does the FreeBSD9.0 has any hidden firewall which block my ping ?
> My router is find. Firstly, I thought I was a bug then I bought another NIC
> with Realtek 8187 chipset and things look the same. Both cards can scan
> networks with results, and they seem to work proper so any ideas what can
> be wrong ?
> ___
> 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"
>


Hi, I think if you're getting IP from DHCP then it's a routing issue.
ie,
# netstat -r

# route add default 192.168.0.1

--
Waitman Gobble
San Jose California USA
___
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: Software Development using Freebsd.

2012-02-07 Thread Waitman Gobble
On Feb 6, 2012 6:13 PM, "C. P. Ghost"  wrote:
>
> On Mon, Feb 6, 2012 at 11:37 PM, Jorge Biquez 
wrote:
> > Now we will try to have a graphical mode in Freebsd. With that we would
like
> > to be able to develop graphical applications for Windows (we all know
that's
> > the market and here some companies is what they are looking), so maybe
sound
> > crazy but I am looking to develop applications for Windows without using
> > WIndows or Microsofot products at least.
>
> Go for Qt. It is a great cross-platform C++ GUI framework, with plugins
to SQL
> databases, networking and everything you would typically need. There's
even
> PyQt, if you want Python bindings.
>
> Check out the examples in the Qt distribution too to get an idea:
>
> http://developer.qt.nokia.com/doc/qt-4.8/all-examples.html
>
> --
> Cordula's Web. http://www.cordula.ws/
> ___
> 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"

I agree Qt is a great solution however you are probably going to want to
ship static binaries to windows clients (only), especially to non-techical
end users... otherwise it gets kind of insane, much more challenging than
distributing java based apps IMHO.

But the IDE is fantastic plus you get a nice integration with webkit.

if I remember (been awhile) the license terms are a little different for
static, would have to re-read carefully.

Waitman Gobble
San Jose California USA
___
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: ath and how to control wireless light

2012-02-06 Thread Waitman Gobble
On Feb 5, 2012 3:38 PM, "Chris Whitehouse"  wrote:
>
> On 04/02/2012 16:49, Waitman Gobble wrote:
>>
>> On Sat, Feb 4, 2012 at 3:52 AM, Chris Whitehouse
 wrote:
>>
>>> On 04/02/2012 08:37, Waitman Gobble wrote:
>>>
>>>> On Thu, Feb 2, 2012 at 6:52 AM, Chris Whitehouse
>>>>  wrote:
>>>>
>>>>  Hello
>>>>>
>>>>>
>>>>> I have FreeBSD 9R amd64 installed on a HP G60 laptop. This machine
has a
>>>>> combined wireless switch and led. The switch turns the wifi on and off
>>>>> but
>>>>> the light stays red.
>>>>>
>>>>> The light is supposed to show red for wireless off and blue for
wireless
>>>>> on. I found some sysctls that control it:
>>>>> dev.ath.0.softled: 0
>>>>> dev.ath.0.ledpin: 3
>>>>> dev.ath.0.ledon: 1
>>>>> dev.ath.0.ledidle: 2700
>>>>>
>>>>> softled, ledpin and ledon are all set to 0 on boot.
>>>>> I set ledpin to 3, then to change the colour of the light I turn on
>>>>> softled 0->1, toggle ledon and turn off softled again.
>>>>>
>>>>> Can I make that sequence occur, or do something else, to make the led
>>>>> change when the button is pressed _and_ keep in sync with whether the
>>>>> wireless is on or off?
>>>>>
>>>>> With softled=1 the light is blue with a short red flash or red with a
>>>>> short blue flash depending on the value of ledon. Also when softled=1
the
>>>>> light flashes in it's "opposite" colour when there is network
traffic. So
>>>>> it would probably be ok just to leave softled=1 and toggle ledon.
>>>>>
>>>>> The wireless device is
>>>>> dev.ath.0.%desc: Atheros 5424/2424.
>>>>>
>>>>> I think there is a slight glitch with the on/off button, that under
some
>>>>> circumstances it doesn't turn the wifi on again, which would be much
>>>>> easier
>>>>> to test if the light worked.
>>>>>
>>>>> Also what is ledidle and what do different settings do?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Chris
>>>>> ___
>>>>> freebsd-questions@freebsd.org mailing list
>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions<
http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions>
>>>>> <http://lists.**freebsd.org/mailman/listinfo/**freebsd-questions<
http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
>>>>>
>>>>>>
>>>>> To unsubscribe, send any mail to "freebsd-questions-**
>>>>> unsubscr...@freebsd.org
>>>>>>
>>>>>> "
>>>>>
>>>>>
>>>>>
>>>> Hi Chris,
>>>>
>>>> I have an Acer Aspire D150 and the LED hasn't been lit with FreeBSD,
>>>> 9-rc3,
>>>> 9-release or 10-current  (with BroadCom and 2 Atheros cards). it did
work
>>>> with Fedora GNU/Linux 11. I did try setting in loader.conf as
recommended
>>>> to me to no avail. On one hand it was easy to get the attitude "who
cares
>>>> about the LED anyway" but on the other I'm thinking it's a simple
little
>>>> thing that's important,I guess like maybe buying a new car and it's
>>>> missing
>>>> a knob on the stereo. (?) :) I suppose it probably should work.
>>>>
>>>> Waitman Gobble
>>>> San Jose California USA
>>>>
>>>>  I have another HP laptop with a Broadcomm card which has a
>>>
>>> button_with_light and it just works. None of the sysctl oids above occur
>>> though. Maybe I'll swap wireless cards between the two and see what
happens.
>>>
>>> What is the output of sysctl -a |grep led ?
>>> You'll get lots of "enabled's" but there might be something that relates
>>> to led's.
>>>
>>> I had to change ledpin from default of 0 to 3 before any of the other
ones
>>> had any effect.
>>>
>>> Thanks for the reply anyway.
>>>
>>> Chris
>>>
>>
>> Oh thats a good idea :) Thanks
>>
>> here's what someone recommended :
>>
>> dev.ath.0.ledpin=3
>> dev.ath.0.softled=1
>>
>> but here are some extras i found from sysctl -a that i will check out:
>>
>> dev.ath.0.ledon: 0
>> dev.ath.0.ledidle: 2700
>> dev.ath.0.hardled: 0
>> dev.ath.0.led_net_pin: -1
>> dev.ath.0.led_pwr_pin: -1
>>
>> Waitman Gobble
>> San Jose California USA
>>
> I would give them a try. Set dev.ath.0.ledpin=3 then experiment. If you
can't get any response try different values for ledpin or one of the other
led*pin.
>
> I can't read source code :( but maybe you can get more info out of the
code you posted.
>
> Chris

cool. when i have some more time ill see about modifying the the code to
make a little "flicker light" diagnostic tool, use to try to figure out
correct settings i guess. just an idea, i checked for a couple minutes and
didnt find one but maybe its already done :)

Waitman
___
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: ath and how to control wireless light

2012-02-04 Thread Waitman Gobble
On Sat, Feb 4, 2012 at 9:02 AM, Waitman Gobble  wrote:

>
>
> On Sat, Feb 4, 2012 at 8:49 AM, Waitman Gobble wrote:
>
>>
>>
>> On Sat, Feb 4, 2012 at 3:52 AM, Chris Whitehouse wrote:
>>
>>> On 04/02/2012 08:37, Waitman Gobble wrote:
>>>
>>>>  On Thu, Feb 2, 2012 at 6:52 AM, Chris Whitehouse
>>>>  wrote:
>>>>
>>>>  Hello
>>>>>
>>>>> I have FreeBSD 9R amd64 installed on a HP G60 laptop. This machine has
>>>>> a
>>>>> combined wireless switch and led. The switch turns the wifi on and off
>>>>> but
>>>>> the light stays red.
>>>>>
>>>>> The light is supposed to show red for wireless off and blue for
>>>>> wireless
>>>>> on. I found some sysctls that control it:
>>>>> dev.ath.0.softled: 0
>>>>> dev.ath.0.ledpin: 3
>>>>> dev.ath.0.ledon: 1
>>>>> dev.ath.0.ledidle: 2700
>>>>>
>>>>> softled, ledpin and ledon are all set to 0 on boot.
>>>>> I set ledpin to 3, then to change the colour of the light I turn on
>>>>> softled 0->1, toggle ledon and turn off softled again.
>>>>>
>>>>> Can I make that sequence occur, or do something else, to make the led
>>>>> change when the button is pressed _and_ keep in sync with whether the
>>>>> wireless is on or off?
>>>>>
>>>>> With softled=1 the light is blue with a short red flash or red with a
>>>>> short blue flash depending on the value of ledon. Also when softled=1
>>>>> the
>>>>> light flashes in it's "opposite" colour when there is network traffic.
>>>>> So
>>>>> it would probably be ok just to leave softled=1 and toggle ledon.
>>>>>
>>>>> The wireless device is
>>>>> dev.ath.0.%desc: Atheros 5424/2424.
>>>>>
>>>>> I think there is a slight glitch with the on/off button, that under
>>>>> some
>>>>> circumstances it doesn't turn the wifi on again, which would be much
>>>>> easier
>>>>> to test if the light worked.
>>>>>
>>>>> Also what is ledidle and what do different settings do?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Chris
>>>>> ___
>>>>> freebsd-questions@freebsd.org mailing list
>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions<http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions>
>>>>> <http://lists.**freebsd.org/mailman/listinfo/**freebsd-questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
>>>>> >
>>>>> To unsubscribe, send any mail to "freebsd-questions-**
>>>>> unsubscr...@freebsd.org
>>>>> >"
>>>>>
>>>>>
>>>> Hi Chris,
>>>>
>>>> I have an Acer Aspire D150 and the LED hasn't been lit with FreeBSD,
>>>> 9-rc3,
>>>> 9-release or 10-current  (with BroadCom and 2 Atheros cards). it did
>>>> work
>>>> with Fedora GNU/Linux 11. I did try setting in loader.conf as
>>>> recommended
>>>> to me to no avail. On one hand it was easy to get the attitude "who
>>>> cares
>>>> about the LED anyway" but on the other I'm thinking it's a simple little
>>>> thing that's important,I guess like maybe buying a new car and it's
>>>> missing
>>>> a knob on the stereo. (?) :) I suppose it probably should work.
>>>>
>>>> Waitman Gobble
>>>> San Jose California USA
>>>>
>>>>  I have another HP laptop with a Broadcomm card which has a
>>> button_with_light and it just works. None of the sysctl oids above occur
>>> though. Maybe I'll swap wireless cards between the two and see what happens.
>>>
>>> What is the output of sysctl -a |grep led ?
>>> You'll get lots of "enabled's" but there might be something that relates
>>> to led's.
>>>
>>> I had to change ledpin from default of 0 to 3 before any of the other
>>> ones had any effect.
>>>
>>> Thanks for the reply anyway.
>>>
>>> Chris
>>>
>>
>> Oh thats a good idea :) Thanks
>&g

Re: ath and how to control wireless light

2012-02-04 Thread Waitman Gobble
On Sat, Feb 4, 2012 at 8:49 AM, Waitman Gobble  wrote:

>
>
> On Sat, Feb 4, 2012 at 3:52 AM, Chris Whitehouse wrote:
>
>> On 04/02/2012 08:37, Waitman Gobble wrote:
>>
>>>  On Thu, Feb 2, 2012 at 6:52 AM, Chris Whitehouse
>>>  wrote:
>>>
>>>  Hello
>>>>
>>>> I have FreeBSD 9R amd64 installed on a HP G60 laptop. This machine has a
>>>> combined wireless switch and led. The switch turns the wifi on and off
>>>> but
>>>> the light stays red.
>>>>
>>>> The light is supposed to show red for wireless off and blue for wireless
>>>> on. I found some sysctls that control it:
>>>> dev.ath.0.softled: 0
>>>> dev.ath.0.ledpin: 3
>>>> dev.ath.0.ledon: 1
>>>> dev.ath.0.ledidle: 2700
>>>>
>>>> softled, ledpin and ledon are all set to 0 on boot.
>>>> I set ledpin to 3, then to change the colour of the light I turn on
>>>> softled 0->1, toggle ledon and turn off softled again.
>>>>
>>>> Can I make that sequence occur, or do something else, to make the led
>>>> change when the button is pressed _and_ keep in sync with whether the
>>>> wireless is on or off?
>>>>
>>>> With softled=1 the light is blue with a short red flash or red with a
>>>> short blue flash depending on the value of ledon. Also when softled=1
>>>> the
>>>> light flashes in it's "opposite" colour when there is network traffic.
>>>> So
>>>> it would probably be ok just to leave softled=1 and toggle ledon.
>>>>
>>>> The wireless device is
>>>> dev.ath.0.%desc: Atheros 5424/2424.
>>>>
>>>> I think there is a slight glitch with the on/off button, that under some
>>>> circumstances it doesn't turn the wifi on again, which would be much
>>>> easier
>>>> to test if the light worked.
>>>>
>>>> Also what is ledidle and what do different settings do?
>>>>
>>>> Thanks
>>>>
>>>> Chris
>>>> ___
>>>> freebsd-questions@freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions<http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions>
>>>> <http://lists.**freebsd.org/mailman/listinfo/**freebsd-questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
>>>> >
>>>> To unsubscribe, send any mail to "freebsd-questions-**
>>>> unsubscr...@freebsd.org
>>>> >"
>>>>
>>>>
>>> Hi Chris,
>>>
>>> I have an Acer Aspire D150 and the LED hasn't been lit with FreeBSD,
>>> 9-rc3,
>>> 9-release or 10-current  (with BroadCom and 2 Atheros cards). it did work
>>> with Fedora GNU/Linux 11. I did try setting in loader.conf as recommended
>>> to me to no avail. On one hand it was easy to get the attitude "who cares
>>> about the LED anyway" but on the other I'm thinking it's a simple little
>>> thing that's important,I guess like maybe buying a new car and it's
>>> missing
>>> a knob on the stereo. (?) :) I suppose it probably should work.
>>>
>>> Waitman Gobble
>>> San Jose California USA
>>>
>>>  I have another HP laptop with a Broadcomm card which has a
>> button_with_light and it just works. None of the sysctl oids above occur
>> though. Maybe I'll swap wireless cards between the two and see what happens.
>>
>> What is the output of sysctl -a |grep led ?
>> You'll get lots of "enabled's" but there might be something that relates
>> to led's.
>>
>> I had to change ledpin from default of 0 to 3 before any of the other
>> ones had any effect.
>>
>> Thanks for the reply anyway.
>>
>> Chris
>>
>
> Oh thats a good idea :) Thanks
>
> here's what someone recommended :
>
> dev.ath.0.ledpin=3
> dev.ath.0.softled=1
>
> but here are some extras i found from sysctl -a that i will check out:
>
> dev.ath.0.ledon: 0
> dev.ath.0.ledidle: 2700
> dev.ath.0.hardled: 0
> dev.ath.0.led_net_pin: -1
> dev.ath.0.led_pwr_pin: -1
>
> Waitman Gobble
> San Jose California USA
>
>
in if_athvar.h
  sc_softled  : 1,/* enable LED gpio status */
  sc_hardled  : 1,/* enable MAC LED status */

if_ath_sysctl.c: ath_sysctl_hardled, "I", "enable/disable hardware LED
support");
if_ath_sysctl.c: /* XXX Laziness - configure pins, then flip hardled off/on
*/
if_athvar.h: sc_hardled  : 1,/* enable MAC LED status

this one maybe?

p00ntang# grep led_pwr_pin *
if_ath.c: sc->sc_led_pwr_pin = -1;
if_ath_led.c: if (sc->sc_led_pwr_pin > 0)
if_ath_led.c: ath_hal_gpioCfgOutput(sc->sc_ah, sc->sc_led_pwr_pin,
if_ath_sysctl.c: "led_pwr_pin", CTLFLAG_RW, &sc->sc_led_pwr_pin, 0,
if_athvar.h: int sc_led_pwr_pin; /* MAC power LED GPIO pin */
___
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: ath and how to control wireless light

2012-02-04 Thread Waitman Gobble
On Sat, Feb 4, 2012 at 3:52 AM, Chris Whitehouse  wrote:

> On 04/02/2012 08:37, Waitman Gobble wrote:
>
>> On Thu, Feb 2, 2012 at 6:52 AM, Chris Whitehouse
>>  wrote:
>>
>>  Hello
>>>
>>> I have FreeBSD 9R amd64 installed on a HP G60 laptop. This machine has a
>>> combined wireless switch and led. The switch turns the wifi on and off
>>> but
>>> the light stays red.
>>>
>>> The light is supposed to show red for wireless off and blue for wireless
>>> on. I found some sysctls that control it:
>>> dev.ath.0.softled: 0
>>> dev.ath.0.ledpin: 3
>>> dev.ath.0.ledon: 1
>>> dev.ath.0.ledidle: 2700
>>>
>>> softled, ledpin and ledon are all set to 0 on boot.
>>> I set ledpin to 3, then to change the colour of the light I turn on
>>> softled 0->1, toggle ledon and turn off softled again.
>>>
>>> Can I make that sequence occur, or do something else, to make the led
>>> change when the button is pressed _and_ keep in sync with whether the
>>> wireless is on or off?
>>>
>>> With softled=1 the light is blue with a short red flash or red with a
>>> short blue flash depending on the value of ledon. Also when softled=1 the
>>> light flashes in it's "opposite" colour when there is network traffic. So
>>> it would probably be ok just to leave softled=1 and toggle ledon.
>>>
>>> The wireless device is
>>> dev.ath.0.%desc: Atheros 5424/2424.
>>>
>>> I think there is a slight glitch with the on/off button, that under some
>>> circumstances it doesn't turn the wifi on again, which would be much
>>> easier
>>> to test if the light worked.
>>>
>>> Also what is ledidle and what do different settings do?
>>>
>>> Thanks
>>>
>>> Chris
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions<http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions>
>>> <http://lists.**freebsd.org/mailman/listinfo/**freebsd-questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
>>> >
>>> To unsubscribe, send any mail to "freebsd-questions-**
>>> unsubscr...@freebsd.org
>>> >"
>>>
>>>
>> Hi Chris,
>>
>> I have an Acer Aspire D150 and the LED hasn't been lit with FreeBSD,
>> 9-rc3,
>> 9-release or 10-current  (with BroadCom and 2 Atheros cards). it did work
>> with Fedora GNU/Linux 11. I did try setting in loader.conf as recommended
>> to me to no avail. On one hand it was easy to get the attitude "who cares
>> about the LED anyway" but on the other I'm thinking it's a simple little
>> thing that's important,I guess like maybe buying a new car and it's
>> missing
>> a knob on the stereo. (?) :) I suppose it probably should work.
>>
>> Waitman Gobble
>> San Jose California USA
>>
>>  I have another HP laptop with a Broadcomm card which has a
> button_with_light and it just works. None of the sysctl oids above occur
> though. Maybe I'll swap wireless cards between the two and see what happens.
>
> What is the output of sysctl -a |grep led ?
> You'll get lots of "enabled's" but there might be something that relates
> to led's.
>
> I had to change ledpin from default of 0 to 3 before any of the other ones
> had any effect.
>
> Thanks for the reply anyway.
>
> Chris
>

Oh thats a good idea :) Thanks

here's what someone recommended :

dev.ath.0.ledpin=3
dev.ath.0.softled=1

but here are some extras i found from sysctl -a that i will check out:

dev.ath.0.ledon: 0
dev.ath.0.ledidle: 2700
dev.ath.0.hardled: 0
dev.ath.0.led_net_pin: -1
dev.ath.0.led_pwr_pin: -1

Waitman Gobble
San Jose California USA
___
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: ath and how to control wireless light

2012-02-04 Thread Waitman Gobble
On Thu, Feb 2, 2012 at 6:52 AM, Chris Whitehouse  wrote:

> Hello
>
> I have FreeBSD 9R amd64 installed on a HP G60 laptop. This machine has a
> combined wireless switch and led. The switch turns the wifi on and off but
> the light stays red.
>
> The light is supposed to show red for wireless off and blue for wireless
> on. I found some sysctls that control it:
> dev.ath.0.softled: 0
> dev.ath.0.ledpin: 3
> dev.ath.0.ledon: 1
> dev.ath.0.ledidle: 2700
>
> softled, ledpin and ledon are all set to 0 on boot.
> I set ledpin to 3, then to change the colour of the light I turn on
> softled 0->1, toggle ledon and turn off softled again.
>
> Can I make that sequence occur, or do something else, to make the led
> change when the button is pressed _and_ keep in sync with whether the
> wireless is on or off?
>
> With softled=1 the light is blue with a short red flash or red with a
> short blue flash depending on the value of ledon. Also when softled=1 the
> light flashes in it's "opposite" colour when there is network traffic. So
> it would probably be ok just to leave softled=1 and toggle ledon.
>
> The wireless device is
> dev.ath.0.%desc: Atheros 5424/2424.
>
> I think there is a slight glitch with the on/off button, that under some
> circumstances it doesn't turn the wifi on again, which would be much easier
> to test if the light worked.
>
> Also what is ledidle and what do different settings do?
>
> Thanks
>
> Chris
> __**_
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscr...@freebsd.org "
>

Hi Chris,

I have an Acer Aspire D150 and the LED hasn't been lit with FreeBSD, 9-rc3,
9-release or 10-current  (with BroadCom and 2 Atheros cards). it did work
with Fedora GNU/Linux 11. I did try setting in loader.conf as recommended
to me to no avail. On one hand it was easy to get the attitude "who cares
about the LED anyway" but on the other I'm thinking it's a simple little
thing that's important,I guess like maybe buying a new car and it's missing
a knob on the stereo. (?) :) I suppose it probably should work.

Waitman Gobble
San Jose California USA
___
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: OT: Slackware: Starting Servers at Boot

2012-02-02 Thread Waitman Gobble
On Feb 2, 2012 1:09 PM, "Chris Maness"  wrote:
>
> On Thu, Feb 2, 2012 at 1:01 PM, Waitman Gobble 
wrote:
> >
> > On Feb 2, 2012 12:22 PM, "Chris Maness"  wrote:
> >>
> >> I have been using FreeBSD for so long I forgot how to configure
> >> services and startup.  I now also have a Slack box.  What file do I
> >> edit to so that services like named start automagically?  I am aware
> >> lines can be uncommented in inetd.conf, but I want the service running
> >> without spawning from inetd.
> >>
> >> Thanks,
> >> Chris Maness
> >> ___
> >> 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"
> >
> > hmm never tried slackware GNU/Linux but maybe
> > ntsysv
> > works?
>
> After more searching it turns out that all that one needs to do is
> make the rc.bind executable in the rc.d directory.  Wow, that is as
> straight forward as it comes.
>
> Chris

might be dated info but GNU/Linux usually has sep directory for each run
level, so you can have one "without X" for example. pretty sure ntsysv is a
front end to rc directories with toggle on-off executable bit
___
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: OT: Slackware: Starting Servers at Boot

2012-02-02 Thread Waitman Gobble
On Feb 2, 2012 12:22 PM, "Chris Maness"  wrote:
>
> I have been using FreeBSD for so long I forgot how to configure
> services and startup.  I now also have a Slack box.  What file do I
> edit to so that services like named start automagically?  I am aware
> lines can be uncommented in inetd.conf, but I want the service running
> without spawning from inetd.
>
> Thanks,
> Chris Maness
> ___
> 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"

hmm never tried slackware GNU/Linux but maybe
ntsysv
works?
___
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: Unable to upgrade packages on FreeBSD

2012-02-02 Thread Waitman Gobble
On Thu, Feb 2, 2012 at 5:18 AM, Bernt Hansson  wrote:

> 2012-02-01 19:16, David Jackson skrev:
>
>
>  I did not save them, there is really no way to save a copy of them unless
>> I
>> copy them by hand.
>>
>
> I take it you are new to FreeBSD. May I introduce you to script
> man script(1)
>
> __**_
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscr...@freebsd.org "
>


One thing I noticed, which may cause some trouble(?)

http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-10-current/ is
empty, no packages. So pkg_add fails for everything...

Running 10-CURRENT I have to set PACKAGESITE
to http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/

It's been years since I've run a HEAD version of FreeBSD - maybe this is
common knowledge. :)
But It seems like there could be a symlink or something.

Also, I'm still looking into it - but it seems like it would be good to
have an easy way to 'reinstall' a package.
It seems to be pretty stubborn when trying to deinstall/reinstall stuff.
For example, after i upgraded from
9.0-RELEASE to 10-CURRENT, the thing was complaining about libintl,
gettext, iconv.
pkg_add was refusing to 'reinstall' (but this might be related my own
ignorance), so I ended up
going into ports and building, then the system was fulling operational, yay.

However, it could be that these did not need to be "reinstalled". pkg_add
was telling me I already had the
latest versions installed, and when I finally got down to the meat of my
problem I found that my /etc/rc was never replaced.
Either I fat-fingered a mergemaster prompt (but I really thought I was
paying close attention), or mergemaster missed it! :)
There was no /var/tmp/temproot/etc/rc after mergemaster, and mergemaster
reported that only two files were left to do
by hand, which is what I had intended. (ie, groups, master.passwd) But
doing a diff between /usr/src/etc/rc (i think) and /etc/rc I
saw they were different,  copied the file and 10-CURRENT ran perfectly.



Waitman Gobble
San Jose California USA
___
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: email hosting - How do you do it?

2012-01-26 Thread Waitman Gobble
On Jan 26, 2012 3:39 PM, "Hub- FreeBSD"  wrote:
>
>
> On 2012-01-26, at 5:51 PM, Peter wrote:
>
> > Hello,
> >  I've been on qmail/vpopmail combo forever and am looking to build a
new,
> > mail server.
> >
> > First choice so far is postfix, but almost all the virtual hosting
> > 'howtos' require an SQL database, or editing files by hand. The SQL part
> > seems like an overkill for ~20-50 email accounts, the editing files by
> > hand seems like a pain and requires me doing everything but I'd rather
let
> > people manage their own domains.
>
> SQL == SQLite for me … you don't need mysql/postgresql for doing it …
>
>
> ___
> 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"

Might check out usermin (webmin) nice webmail interface that works well
with mobile devices too. Also can change assword, gnupg keys, filesystem
access if desired.

Waitman Gobble
San Jose California USA
___
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"


ACPI log going koo-koo pants

2012-01-22 Thread Waitman Gobble
Hi,

I didn't see any of these errors when running FreeBSD 9.0-RC3, but after
installing 9.0-RELEASE I'm getting like 20-30 of these dump into
/var/log/messages every 10 seconds.

Jan 22 17:53:09 p00ntang kernel: ACPI Error: Method execution failed
[\_SB_.PCI0.LPC_.BAT0._UID] (Node 0xc5b21de0), AE_AML_NO_OPERAND
(20110527/uteval-113)
Jan 22 17:53:09 p00ntang kernel: ACPI Error: No object attached to node
0xc5b21de0 (20110527/exresnte-139)

I believe it's complaining about the battery...

here's battery info

# acpiconf -i batt
Design capacity: 4500 mAh
Last full capacity: 3633 mAh
Technology: secondary (rechargeable)
Design voltage: 10800 mV
Capacity (warn): 225 mAh
Capacity (low): 135 mAh
Low/warn granularity: 264 mAh
Warn/full granularity: 3780 mAh
Model number: GC86508SAT0
Serial number:
Type: Lion
OEM info: SANYO
State: high
Remaining capacity: 100%
Remaining time: unknown
Present rate: 773 mA (9673 mW)
Present voltage: 12514 mV

log file turning over every hour :)


Anyone have ideas about what's up? Thanks for your help!

Waitman Gobble
San Jose California USA
___
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: wireless and/or routing question UPDATE - WPA

2012-01-13 Thread Waitman Gobble
On Fri, Jan 13, 2012 at 8:34 AM, Waitman Gobble  wrote:

>
> On Jan 13, 2012 7:19 AM, "Matthias Apitz"  wrote:
> >
> > El día Friday, January 13, 2012 a las 07:03:11AM -0800, Waitman Gobble
> escribió:
> >
> > > Hi,
> > >
> > > Thanks. I've always heard countless rumors about WPA being wise :) I'll
> > > take your advice and take a step up in technology. My "stubborn
> > > conservatism" probably roots back to the time when not all devices
> could do
> > > WPA, or at least I had crazy trouble getting things to work. But this
> > > learned attitude was probably around 2000, which was like a million
> years
> > > ago with dinosaurs and stuff. Time for me to finally get with it.
> > >
> > > ...
> >
> > Concerning WEP ./. WPA: From the technical point it is clear, WPA is
> > more secure; but there are other aspects as well; we have had in Germany
> > cases where the WAN IP of the AP appeared as source addr of some kind of
> > crime (access to child porn or whatever) and the AP owner said: I'm
> > using WEP, it was not me, and someone highjacked my AP ... and he/she
> > went home as free person;
> >
> >matthias
> > --
> > Matthias Apitz
> > e  - w http://www.unixarea.de/
> > UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
> > UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
>
> thanks, going to try WPA this weekend.
>
> My apartment is not so convenient for drive-by scanners (cant think of the
> proper term at the moment) but i do have at least one neighbor who appears
> potentially suspect.. like he might try to hack my ap for fun.
>
> Waitman
>


Hi,

Today I picked up a D-Link DIR-815 and set it up for WPA with TKIP/PSK.
I believe i followed the instructions in the FreeBSD handbook. However, the
wpa_supplicant appears to hang indefinitely. If i control-c it barfs out an
error.

This clones ale0 wired NIC MAC to ath0 wireless NIC for lagg

ifconfig ath0 ether 00:23:5a:59:e1:e4
ifconfig wlan0 create wlandev ath0 ssid BOOTAY
ifconfig wlan0 up scan




here's the wpa_supplicant that's hanging:

wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf




p00ntang# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
Trying to associate with 1c:7e:e5:de:ed:52 (SSID='BOOTAY' freq=2452 MHz)
Associated with 1c:7e:e5:de:ed:52
WPA: Key negotiation completed with 1c:7e:e5:de:ed:52 [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 1c:7e:e5:de:ed:52 completed (auth)
[id=0 id_str=]


^CCTRL-EVENT-TERMINATING - signal 2 received
ioctl[SIOCS80211, op 20, len 7]: Can't assign requested address
ELOOP: remaining socket: sock=4 eloop_data=0x284081c0 user_data=0x28412080
handler=0x806d620


If I terminate with ampersand to run asynchronously it keeps running and i
have a wireless connection - it works.

p00ntang# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf &


I guess that makes sense but the handbook is not clear to me that it's to
be done this way. It's the first time i've set up WPA on FreeBSD so i'm not
100% about what to expect.

i am noticing messages about rekeying, so maybe the wpa-supplicant is
supposed to keep running.

here's /etc/wpa_supplicant.conf

network={
ssid="BOOTAY"
psk="PASSWORD GOES HERE"
}


here's the rest of the lagg to set wired/wireless interface with a failover
configuration. this is pretty clear in the handbook but i'll put it here in
case someone runs across the thread in the future.

ifconfig ale0 up
ifconfig wlan0 up
ifconfig lagg0 create
ifconfig lagg0 up laggproto failover laggport ale0 laggport wlan0
10.0.0.20/24



Thanks
Waitman
___
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: wireless and/or routing question

2012-01-13 Thread Waitman Gobble
On Jan 13, 2012 7:38 AM, "Warren Block"  wrote:
>
> On Thu, 12 Jan 2012, Waitman Gobble wrote:
>
>> Hello,
>>
>> I am running 9.0-RC3 i386 on an Acer Aspire One D150. i am having trouble
>> with the wireless setup.
>>
>> I have two wireless cards, the BCM94312MCG that came with it, and an
>> Atheros 5424/2424 that i swapped out. I can run the BCM with ndis and the
>> windows xp driver, and the Atheros with the ath driver that is installed
>> with FreeBSD. (But BCM/ndis is noticeably much slower, Atheros - no green
>> "wireless" light appears on netbook )
>
>
> On other models of the Aspire One (AOA150 and D250), adding some
ath-specific settings to /boot/loader.conf enables the LED:
>
> dev.ath.0.ledpin=3
> dev.ath.0.softled=1

cool thanks ill try it out.

Waitman
___
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: wireless and/or routing question

2012-01-13 Thread Waitman Gobble
On Jan 13, 2012 7:19 AM, "Matthias Apitz"  wrote:
>
> El día Friday, January 13, 2012 a las 07:03:11AM -0800, Waitman Gobble
escribió:
>
> > Hi,
> >
> > Thanks. I've always heard countless rumors about WPA being wise :) I'll
> > take your advice and take a step up in technology. My "stubborn
> > conservatism" probably roots back to the time when not all devices
could do
> > WPA, or at least I had crazy trouble getting things to work. But this
> > learned attitude was probably around 2000, which was like a million
years
> > ago with dinosaurs and stuff. Time for me to finally get with it.
> >
> > ...
>
> Concerning WEP ./. WPA: From the technical point it is clear, WPA is
> more secure; but there are other aspects as well; we have had in Germany
> cases where the WAN IP of the AP appeared as source addr of some kind of
> crime (access to child porn or whatever) and the AP owner said: I'm
> using WEP, it was not me, and someone highjacked my AP ... and he/she
> went home as free person;
>
>matthias
> --
> Matthias Apitz
> e  - w http://www.unixarea.de/
> UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
> UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5

thanks, going to try WPA this weekend.

My apartment is not so convenient for drive-by scanners (cant think of the
proper term at the moment) but i do have at least one neighbor who appears
potentially suspect.. like he might try to hack my ap for fun.

Waitman
___
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: wireless and/or routing question

2012-01-13 Thread Waitman Gobble
On Thu, Jan 12, 2012 at 11:29 PM, Da Rock <
freebsd-questi...@herveybayaustralia.com.au> wrote:

> On 01/13/12 17:11, Waitman Gobble wrote:
>
>> On Thu, Jan 12, 2012 at 10:04 PM, Da Rock<
>> freebsd-questions@**herveybayaustralia.com.au>
>>  wrote:
>>
>>  On 01/13/12 15:29, Waitman Gobble wrote:
>>>
>>>  Hello,
>>>>
>>>> I am running 9.0-RC3 i386 on an Acer Aspire One D150. i am having
>>>> trouble
>>>> with the wireless setup.
>>>>
>>>> I have two wireless cards, the BCM94312MCG that came with it, and an
>>>> Atheros 5424/2424 that i swapped out. I can run the BCM with ndis and
>>>> the
>>>> windows xp driver, and the Atheros with the ath driver that is installed
>>>> with FreeBSD. (But BCM/ndis is noticeably much slower, Atheros - no
>>>> green
>>>> "wireless" light appears on netbook )
>>>>
>>>>  i am getting the same results with either nic card, and i think i am
>>>> just
>>>> missing something simple.
>>>>
>>>>
>>>> ath0: flags=8843   metric
>>>> 0 mtu
>>>>
>>>> 2290
>>>> ether 00:24:2b:ad:d6:5f
>>>> nd6 options=29
>>>>
>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
>>>> status: associated
>>>>
>>>>  wlan0: flags=8843
>>>> metric 0
>>>>
>>>> mtu 1500
>>>> ether 00:24:2b:ad:d6:5f
>>>> inet 10.0.0.21 netmask 0xff00 broadcast 10.0.0.255
>>>> nd6 options=29
>>>>
>>>> media: IEEE 802.11 Wireless Ethernet OFDM/24Mbps mode 11g
>>>> status: associated
>>>> ssid CUDAPANG channel 6 (2437 MHz 11g) bssid 00:22:3f:9b:b8:aa
>>>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1
>>>> wepkey 1:104-bit txpower 20 bmiss 7 scanvalid 60 bgscan
>>>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS
>>>> wme burst
>>>>
>>>> connecting:
>>>>
>>>> ifconfig wlan0 create wlandev ath0
>>>> ifconfig wlan0 up scan
>>>> ifconfig wlan0 inet 10.0.0.21 netmask 255.255.255.0 ssid CUDAPANG
>>>> wepmode
>>>> on weptxkey 1 wepkey 1:0x10961323931B628F844360718A
>>>>
>>>>
>>>> scan results:
>>>>
>>>> p00ntang# ifconfig wlan0 up scan
>>>> SSID/MESH IDBSSID  CHAN RATE   S:N INT CAPS
>>>> CUDAPANG00:22:3f:9a:16:1b6   54M -69:-93  100 EPS  ATH
>>>> CUDAPANG00:22:3f:9b:b8:aa6   54M -68:-93  100 EPS  WME ATH
>>>> Abujie  00:14:6c:7a:98:ec6   54M -89:-93  100 EPS  RSN WPA
>>>> ATH
>>>> TDMA
>>>> chavez family   00:c0:02:11:22:336   54M -88:-93  100 EP   HTCAP RSN
>>>> WME WPS
>>>>
>>>> My machine shows up on the wireless router as a "connected device" w/
>>>> correct mac and ip showing
>>>>
>>>> But i cannot ping gw, no machine on lan or outside. (no route to host)
>>>>
>>>> p00ntang# netstat -nr
>>>> Routing tables
>>>>
>>>> Internet:
>>>> DestinationGatewayFlagsRefs  Use  Netif
>>>> Expire
>>>> default10.0.0.1   UGS 0 3338   ale0
>>>> 10.0.0.0/24link#2 U   0 2405   ale0
>>>> 10.0.0.20  link#2 UHS 00lo0
>>>> 10.0.0.21  link#9 UHS 02lo0
>>>> 127.0.0.1  link#8 UH  0   12lo0
>>>>
>>>> I do not see "ath0' or wlan0 in the routing table under 'Netif', not
>>>> sure
>>>> if that's the problem :)
>>>>
>>>>
>>>> p00ntang# less /etc/rc.conf
>>>> hostname="p00ntang"
>>>> ifconfig_ale0=" inet 10.0.0.20 netmask 255.255.255.0"
>>>> defaultrouter="10.0.0.1"
>>>> sshd_enable="YES"
>>>> ntpd_enable="YES"
>>>> # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
>>>> dumpdev="NO"
>>>> fusefs_enable="YES"
>>>> hald_enable="YES"
>>>> dbus_enable="YES"
>>>>

Re: wireless and/or routing question

2012-01-12 Thread Waitman Gobble
On Thu, Jan 12, 2012 at 10:04 PM, Da Rock <
freebsd-questi...@herveybayaustralia.com.au> wrote:

> On 01/13/12 15:29, Waitman Gobble wrote:
>
>> Hello,
>>
>> I am running 9.0-RC3 i386 on an Acer Aspire One D150. i am having trouble
>> with the wireless setup.
>>
>> I have two wireless cards, the BCM94312MCG that came with it, and an
>> Atheros 5424/2424 that i swapped out. I can run the BCM with ndis and the
>> windows xp driver, and the Atheros with the ath driver that is installed
>> with FreeBSD. (But BCM/ndis is noticeably much slower, Atheros - no green
>> "wireless" light appears on netbook )
>>
>>  i am getting the same results with either nic card, and i think i am just
>> missing something simple.
>>
>>
>> ath0: flags=8843  metric 0 mtu
>> 2290
>> ether 00:24:2b:ad:d6:5f
>> nd6 options=29
>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
>> status: associated
>>
>>  wlan0: flags=8843  metric 0
>> mtu 1500
>> ether 00:24:2b:ad:d6:5f
>> inet 10.0.0.21 netmask 0xff00 broadcast 10.0.0.255
>> nd6 options=29
>> media: IEEE 802.11 Wireless Ethernet OFDM/24Mbps mode 11g
>> status: associated
>> ssid CUDAPANG channel 6 (2437 MHz 11g) bssid 00:22:3f:9b:b8:aa
>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1
>> wepkey 1:104-bit txpower 20 bmiss 7 scanvalid 60 bgscan
>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS
>> wme burst
>>
>> connecting:
>>
>> ifconfig wlan0 create wlandev ath0
>> ifconfig wlan0 up scan
>> ifconfig wlan0 inet 10.0.0.21 netmask 255.255.255.0 ssid CUDAPANG wepmode
>> on weptxkey 1 wepkey 1:0x10961323931B628F844360718A
>>
>>
>> scan results:
>>
>> p00ntang# ifconfig wlan0 up scan
>> SSID/MESH IDBSSID  CHAN RATE   S:N INT CAPS
>> CUDAPANG00:22:3f:9a:16:1b6   54M -69:-93  100 EPS  ATH
>> CUDAPANG00:22:3f:9b:b8:aa6   54M -68:-93  100 EPS  WME ATH
>> Abujie  00:14:6c:7a:98:ec6   54M -89:-93  100 EPS  RSN WPA ATH
>> TDMA
>> chavez family   00:c0:02:11:22:336   54M -88:-93  100 EP   HTCAP RSN
>> WME WPS
>>
>> My machine shows up on the wireless router as a "connected device" w/
>> correct mac and ip showing
>>
>> But i cannot ping gw, no machine on lan or outside. (no route to host)
>>
>> p00ntang# netstat -nr
>> Routing tables
>>
>> Internet:
>> DestinationGatewayFlagsRefs  Use  Netif Expire
>> default10.0.0.1   UGS 0 3338   ale0
>> 10.0.0.0/24link#2 U   0 2405   ale0
>> 10.0.0.20  link#2 UHS 00lo0
>> 10.0.0.21  link#9 UHS 02lo0
>> 127.0.0.1  link#8 UH  0   12lo0
>>
>> I do not see "ath0' or wlan0 in the routing table under 'Netif', not sure
>> if that's the problem :)
>>
>>
>> p00ntang# less /etc/rc.conf
>> hostname="p00ntang"
>> ifconfig_ale0=" inet 10.0.0.20 netmask 255.255.255.0"
>> defaultrouter="10.0.0.1"
>> sshd_enable="YES"
>> ntpd_enable="YES"
>> # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
>> dumpdev="NO"
>> fusefs_enable="YES"
>> hald_enable="YES"
>> dbus_enable="YES"
>> moused_enable="YES"
>> snddetect_enable="YES"
>> mixer_enable="YES"
>> avahi_daemon_enable="YES"
>> ices0_enable="YES"
>>
>>
>> p00ntang# grep ath /boot/loader.conf
>> if_ath_load="YES"
>> p00ntang# grep wlan /boot/loader.conf
>> wlan_wep_load="YES"
>> wlan_ccmp_load="YES"
>> wlan_tkip_load="YES"
>>
>>
>>
>> i've tried /etc/rc.d/routing restart.. no worky :)
>>
>> here's my wired connection ifconfig  --- wired connection works :)
>>
>> ale0: flags=8843  metric 0 mtu
>> 1500
>> options=c319a> TSO4,WOL_MCAST,WOL_MAGIC,VLAN_**HWTSO,LINKSTATE>
>> ether 00:23:5a:59:e1:e4
>> inet 10.0.0.20 netmask 0xff00 broadcast 10.0.0.255
>> inet6 fe80::223:5aff:fe59:e1e4%ale0 prefixlen 64 scopeid 0x2
>> nd6 options=29
>> media: Ethernet autoselect (100baseTX)
>> status: active
>>
>>
>>
>>
>> any help/suggestions much appreci

Re: wireless and/or routing question

2012-01-12 Thread Waitman Gobble
On Thu, Jan 12, 2012 at 9:29 PM, Waitman Gobble  wrote:

> Hello,
>
> I am running 9.0-RC3 i386 on an Acer Aspire One D150. i am having trouble
> with the wireless setup.
>
>
Hi, update-

i noticed if i start routed it complains...
p00ntang# routed
p00ntang# routed: wlan0 (10.0.0.21/24) is duplicated by ale0 (10.0.0.20/24)


so i tried shutting off ale0... now i can ping gw but still no luck getting
outside. :(

p00ntang# ifconfig ale0 down
p00ntang# ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1): 56 data bytes
64 bytes from 10.0.0.1: icmp_seq=0 ttl=64 time=3.381 ms
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=2.499 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=2.893 ms
^C
--- 10.0.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 2.499/2.924/3.381/0.361 ms
p00ntang# ping google.com
PING google.com (74.125.224.116): 56 data bytes
ping: sendto: Network is down


Now I feel like i "need to go back to networking school 101". lol.

If anyone has a hint to solve my routing situation I'd really appreciate it!

Thanks,

Waitman Gobble
San Jose California USA
___
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"


wireless and/or routing question

2012-01-12 Thread Waitman Gobble
Hello,

I am running 9.0-RC3 i386 on an Acer Aspire One D150. i am having trouble
with the wireless setup.

I have two wireless cards, the BCM94312MCG that came with it, and an
Atheros 5424/2424 that i swapped out. I can run the BCM with ndis and the
windows xp driver, and the Atheros with the ath driver that is installed
with FreeBSD. (But BCM/ndis is noticeably much slower, Atheros - no green
"wireless" light appears on netbook )

 i am getting the same results with either nic card, and i think i am just
missing something simple.


ath0: flags=8843 metric 0 mtu 2290
ether 00:24:2b:ad:d6:5f
nd6 options=29
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated

 wlan0: flags=8843 metric 0 mtu 1500
ether 00:24:2b:ad:d6:5f
inet 10.0.0.21 netmask 0xff00 broadcast 10.0.0.255
nd6 options=29
media: IEEE 802.11 Wireless Ethernet OFDM/24Mbps mode 11g
status: associated
ssid CUDAPANG channel 6 (2437 MHz 11g) bssid 00:22:3f:9b:b8:aa
regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1
wepkey 1:104-bit txpower 20 bmiss 7 scanvalid 60 bgscan
bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS
wme burst

connecting:

ifconfig wlan0 create wlandev ath0
ifconfig wlan0 up scan
ifconfig wlan0 inet 10.0.0.21 netmask 255.255.255.0 ssid CUDAPANG wepmode
on weptxkey 1 wepkey 1:0x10961323931B628F844360718A


scan results:

p00ntang# ifconfig wlan0 up scan
SSID/MESH IDBSSID  CHAN RATE   S:N INT CAPS
CUDAPANG00:22:3f:9a:16:1b6   54M -69:-93  100 EPS  ATH
CUDAPANG00:22:3f:9b:b8:aa6   54M -68:-93  100 EPS  WME ATH
Abujie  00:14:6c:7a:98:ec6   54M -89:-93  100 EPS  RSN WPA ATH
TDMA
chavez family   00:c0:02:11:22:336   54M -88:-93  100 EP   HTCAP RSN
WME WPS

My machine shows up on the wireless router as a "connected device" w/
correct mac and ip showing

But i cannot ping gw, no machine on lan or outside. (no route to host)

p00ntang# netstat -nr
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default10.0.0.1   UGS 0 3338   ale0
10.0.0.0/24link#2 U   0 2405   ale0
10.0.0.20  link#2 UHS 00lo0
10.0.0.21  link#9 UHS 02lo0
127.0.0.1  link#8 UH  0   12lo0

I do not see "ath0' or wlan0 in the routing table under 'Netif', not sure
if that's the problem :)


p00ntang# less /etc/rc.conf
hostname="p00ntang"
ifconfig_ale0=" inet 10.0.0.20 netmask 255.255.255.0"
defaultrouter="10.0.0.1"
sshd_enable="YES"
ntpd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
fusefs_enable="YES"
hald_enable="YES"
dbus_enable="YES"
moused_enable="YES"
snddetect_enable="YES"
mixer_enable="YES"
avahi_daemon_enable="YES"
ices0_enable="YES"


p00ntang# grep ath /boot/loader.conf
if_ath_load="YES"
p00ntang# grep wlan /boot/loader.conf
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"



i've tried /etc/rc.d/routing restart.. no worky :)

here's my wired connection ifconfig  --- wired connection works :)

ale0: flags=8843 metric 0 mtu 1500
options=c319a
ether 00:23:5a:59:e1:e4
inet 10.0.0.20 netmask 0xff00 broadcast 10.0.0.255
inet6 fe80::223:5aff:fe59:e1e4%ale0 prefixlen 64 scopeid 0x2
nd6 options=29
media: Ethernet autoselect (100baseTX )
status: active




any help/suggestions much appreciated!


Thank you,

Waitman Gobble
San Jose California USA
___
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: Apache segmentation fault

2012-01-11 Thread Waitman Gobble
On Jan 11, 2012 12:54 PM, "Waitman Gobble"  wrote:
>
>
> On Jan 11, 2012 12:39 PM, "Robert Fitzpatrick"  wrote:
> >
> > Upgraded php52 to php53 by pkg_delete of php5 and porinstall php52. Then
> > I had to manually resort back to php52 by pkg_delete and then
> > portinstall and now getting a seg fault when restarting apache22 on this
> > FreeBSD 8.1 server. I narrowed it down to not the php module, but the
> > two ldap modules I have in apache...
> >
> > mail# cat httpd.conf|grep ldap
> > #LoadModule authnz_ldap_module libexec/apache22/mod_authnz_ldap.so
> > #LoadModule ldap_module libexec/apache22/mod_ldap.so
> >
> > With these two lines commented out, apache restarts without the seg
> > fault. Tried to force pkg_delete on apache and then portinstall to
> > rebuild these modules, but same issue afterward. The php module loads
> > without error, but getting download prompts when trying to access php
> > pages. Not getting any help from messages or httpd-error logs and all
> > was working before I messed it up.
> >
> > My question is what I should try next to try and fix this issue. Should
> > I force pkg_delete and rebuild all php packages or ldap packages? Or
> > some other approach?
> >
> > Thanks for any help, Robert
> >
> > --
> > Robert 
> > ___
> > 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"
>
> hi, you probably need to replace php.ini ... 5.3 barfs with a 5.2  config
file... not sure if the pkg thingy would wipe your config.
>
> waitman

sorry, somehow i missed that paragraph about commenting out the other
modules... hope i didn't send you on a wild goose chase for nothing. but
the behavior you describe sounds like what happens running with a
mismatched php.ini... i once tried to narrow down but decided it more
productive to start with a fresh ini file. i believe the problem has to do
with the session config lines. that and the way it handles cgi variables
(see the EPGS section) are the two biggest changes i noticed.   anyway you
might check if thats the issue easily by renaming php.ini.. it should run
without it. (at least 5.2 would havent tried 5.3)
if it runs without php.ini then that  could be the problem.
by the way you are restarting apache after the changes right? also verify
that the modules listed in httpd.conf exist in the paths specified...

hope that helps!

waitman
___
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: Apache segmentation fault

2012-01-11 Thread Waitman Gobble
On Jan 11, 2012 12:39 PM, "Robert Fitzpatrick"  wrote:
>
> Upgraded php52 to php53 by pkg_delete of php5 and porinstall php52. Then
> I had to manually resort back to php52 by pkg_delete and then
> portinstall and now getting a seg fault when restarting apache22 on this
> FreeBSD 8.1 server. I narrowed it down to not the php module, but the
> two ldap modules I have in apache...
>
> mail# cat httpd.conf|grep ldap
> #LoadModule authnz_ldap_module libexec/apache22/mod_authnz_ldap.so
> #LoadModule ldap_module libexec/apache22/mod_ldap.so
>
> With these two lines commented out, apache restarts without the seg
> fault. Tried to force pkg_delete on apache and then portinstall to
> rebuild these modules, but same issue afterward. The php module loads
> without error, but getting download prompts when trying to access php
> pages. Not getting any help from messages or httpd-error logs and all
> was working before I messed it up.
>
> My question is what I should try next to try and fix this issue. Should
> I force pkg_delete and rebuild all php packages or ldap packages? Or
> some other approach?
>
> Thanks for any help, Robert
>
> --
> Robert 
> ___
> 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"

hi, you probably need to replace php.ini ... 5.3 barfs with a 5.2  config
file... not sure if the pkg thingy would wipe your config.

waitman
___
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: Mounting (read/write) ext4

2012-01-08 Thread Waitman Gobble
On Sun, Jan 8, 2012 at 11:57 AM, Chris  wrote:

> Can the upcoming FreeBSD 9 mount ext4 file systems out of the box?
>
>
Trying USB external disk that has ext4 partition /dev/da0s1 and NTFS
partition /dev/da0s2,
   at the moment ext4 doesn't appear to work 'out of the box' - or my mount
command is boo-boo

[root@p00ntang /usr/home/waitman]# uname -a
FreeBSD p00ntang 9.0-RC3 FreeBSD 9.0-RC3 #0: Sun Dec  4 08:01:02 UTC 2011
  r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

[root@p00ntang /usr/home/waitman]# mount -t ext2fs -o ro /dev/da0s1
/mnt/linux
mount: /dev/da0s1 : Invalid argument

da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0:  Fixed Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 476940MB (976773167 512 byte sectors: 255H 63S/T 60801C)
WARNING: mount of da0s1 denied due to unsupported optional features

[root@p00ntang /usr/home/waitman]# mount
/dev/ada0p2 on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
/dev/da0s2 on /mnt/music (ntfs, local)

checking to see, maybe need kernel support for ext compiled in (which
doesn't sound so much "out of the box")

Waitman
___
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: xfce4 / gtk-update-icon-cache fails with "cairo needs X11"

2012-01-07 Thread Waitman Gobble
On Sat, Jan 7, 2012 at 1:47 PM, Waitman Gobble  wrote:

>
> Hit another snag, seems to be related to doxygen. Seems to be going in an
> infinite loop of dependency checking.
>

in /usr/ports/devel/doxygen
make rmconfig-recursive
then make install clean

went back to /usr/ports/x11-wn/xfce4
and make install clean
seems to be building again, continuing on... not sure at the moment why it
got stuck. :) maybe I should have tried the binary install first!

Waitman
___
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: xfce4 / gtk-update-icon-cache fails with "cairo needs X11"

2012-01-07 Thread Waitman Gobble
On Fri, Jan 6, 2012 at 6:59 AM, Waitman Gobble  wrote:

> Hi,
>
> I am doing a fresh install of FreeBSD 9.0-RC3
> from FreeBSD-9.0-RELEASE-i386-memstick.img on an Acer Aspire One
> netbook. Last night I attempted to install xfce4 from /usr/ports/x11-wm and
> it stopped with error:
>
> gtk-update-icon-cache-(version): Needs cairo build with X11 support
>
> (sorry, don't recall version off the top of my head) I remember that cairo
> was installed before getting to gtk-update-icon-cache. I checked
> /etc/make.conf and there is nothing X11 related, ie WITHOUT_X11 is NOT set.
> I went over to /usr/ports/graphics/cairo and did a make config, did not see
> anything about X11 as an option, did a make install clean and I saw libX11
> in the output.. Think it's ok. Then I went back to /usr/ports/x11-wm/xfce4
> and redid make install clean to build... it continued on without further
> issue (so far :)
>
> I found another post about gtk-update-icon-cache and cairo/X11 but it does
> not appear to be a related issue.
>
> At the moment the xfce4 build is working for me, so my issue is resolved..
> But not sure why I received the error, might be something to check out? Is
> there a better place to report potential issues with RC versions?
>
> Excited about 9 on the netbook, I tried FreeBSD 7.0 when i first got the
> Acer but could not get wireless working at the time so i scrapped it.
>
> Thanks,
>
> Waitman Gobble
> San Jose California USA
>


Hit another snag, seems to be related to doxygen.

(still) Installing xfce4 from /usr/ports/x11-wm with a fresh install
of FreeBSD 9.0-RC3 / FreeBSD-9.0-RELEASE-i386-memstick.img on an Acer
Aspire One netbook...

Seems to be going in an infinite loop of dependency checking. I'm getting a
'make max recursion 500 error' and the build bombs out. Just to see I went
to /usr/ports/devel/doxygen and make clean then make install with same
results. Just now starting to troubleshoot but if anyone has any hints that
would be great! :)

Thanks
Waitman
___
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"


xfce4 / gtk-update-icon-cache fails with "cairo needs X11"

2012-01-06 Thread Waitman Gobble
Hi,

I am doing a fresh install of FreeBSD 9.0-RC3
from FreeBSD-9.0-RELEASE-i386-memstick.img on an Acer Aspire One
netbook. Last night I attempted to install xfce4 from /usr/ports/x11-wm and
it stopped with error:

gtk-update-icon-cache-(version): Needs cairo build with X11 support

(sorry, don't recall version off the top of my head) I remember that cairo
was installed before getting to gtk-update-icon-cache. I checked
/etc/make.conf and there is nothing X11 related, ie WITHOUT_X11 is NOT set.
I went over to /usr/ports/graphics/cairo and did a make config, did not see
anything about X11 as an option, did a make install clean and I saw libX11
in the output.. Think it's ok. Then I went back to /usr/ports/x11-wm/xfce4
and redid make install clean to build... it continued on without further
issue (so far :)

I found another post about gtk-update-icon-cache and cairo/X11 but it does
not appear to be a related issue.

At the moment the xfce4 build is working for me, so my issue is resolved..
But not sure why I received the error, might be something to check out? Is
there a better place to report potential issues with RC versions?

Excited about 9 on the netbook, I tried FreeBSD 7.0 when i first got the
Acer but could not get wireless working at the time so i scrapped it.

Thanks,

Waitman Gobble
San Jose California USA
___
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: 9.0-RELEASE amd64 Bricked My Hard Drive

2012-01-06 Thread Waitman Gobble
On Fri, Jan 6, 2012 at 3:21 AM, Bill Tillman  wrote:

>
> I had been running a similar computer with Windows XP with it. The
> drive was working fine a few moments before I did the install. I have
> a utility to test hard drives which boots from CD but like I said, when
> this drive is on a cable connected to any machine, booting is a
> non-option. I have an old IDE controller but it's ISA and I have
> not ISA slots on this computer. Looks like I may have to try the USB
> drive boot option to get on with this rescue.
>
>
Weirdness.. ok, i was wondering - you said you installed an old drive to
check it out, and I was thinking  hmm 80gb, maybe setting on the shelf for
a decade :)

I do recall having a similar issue with a drive, but it was years and years
ago- my memory hazed, and not necessarily (probably not) related to FreeBSD
install. If you aren't getting POST then it sounds hardware related to me.

Good Luck,

Waitman
___
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: 9.0-RELEASE amd64 Bricked My Hard Drive

2012-01-06 Thread Waitman Gobble
On Thu, Jan 5, 2012 at 7:16 PM, Bill Tillman  wrote:

> Today I encountered a problem which has me stumped. I downloaded and
> burned the ISO image for 9.0-RELEASE for amd64. I  installed an older
> IDE hard drive to test the new OS with and did the install.

 ...

> Well the install finished and
> then I attempted to reboot the system but nothing happened. And by that I
> mean the computer's flash screen would come up and give me the choice
> to enter the Bios Setup or Boot Menu and that's all. I could not enter the
> bios setup or the Boot menu.

...

> So basically,
> FreeBSD-9.0-RELEASE bricked an otherwise good 80GB hard drive
> and I can't seem to recover it.
>
>
>
Hi Bill,

What was going on with this drive before the install?  ie, it was sitting
on the self not being used, it was a daily use machine running something
else, ... etc.
At the moment it sounds to me like an inconvenient hardware failure.

Waitman
___
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: DNS

2012-01-02 Thread Waitman Gobble
Now after refreshing my memory (it happened one year ago) I

> could remember that I did register the nameservers.  I found the
> option in my registar to add to some domain i.e. mydomain.com
> the entries ns1.mydomain.com, etc.  I think that the problem I
> had was related with the IPs.  The VPS provider gave me just
> two, and AFAIK each name server needs its own dedicated IP.  Now
> I can remember that I asked to their support team and they
> answered me that the nameservers could perfectly share the IP
> with the domains.  Could be that the reason I don't get the
> thing working?
>
>Walter
>
>
Hello,

You /can/ have a nameserver with same IP as www. And you /can/ multihome
your NIC with multiple IP on same machine,

ie,
www.example.com 192.168.0.131 and 192.168.0.132 (if you want, optional
extra address for www)
ns1.example.com 192.168.0.131
ns2.example.com 192.168.0.132

Waitman
___
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: DNS

2012-01-01 Thread Waitman Gobble
>
>
> Sure, like you say, it is possible "running" BIND and Apache.
> But, is it possible|convenient that the name server "reside" in
> the same machine that host (with apache) the domain names served
> by it?  Perhaps you find stupid my question, but believe me, I
> am lost :-).
>
> Or to simplify the question, what is needed to run a DNS?
> What I know:
>
> Edit the zone files.
> Run bind.
> Register the names ns1.mysite.com, ns2..., (some trick here?)
> Obviously adding them to the registrar of the domains served.
>
>
>Walter
>
>
>
>
Yes, you can run BIND on the same FreeBSD machine as your web server.
You have to have your nameserver listed with internic (for .com and .net -
ie, your nameserver has to show up in the NAMESERVER whois (note: different
than DOMAIN whois) on http://www.internic.net/whois.html) and also for each
TLD you want to provide service for (ie, .org, .mobi, etc etc) .
If you are using opensrs it's pretty simple to list your nameserver with
local and foreign tlds, but with other Registrars - you'd have to check
into the details. It's generally easier to use a local domain for the
nameservers (ie, ns1.example.mobi for .mobi domains.) but it is also
possible to use foreign nameservers (ie, ns1.example.com to resolve
www.example.mobi - is considered "foreign")

Waitman
___
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: DNS

2012-01-01 Thread Waitman Gobble
On Sun, Jan 1, 2012 at 2:54 PM, Robert Huff  wrote:

>
> Walter Alejandro Iglesias writes:
>
> >  Time ago I made the attempt to setup my own DNS in the same
> >  machine I had my web server running.  DNS was the only thing I
> >  was not able to automatically update in the system with my
> >  scripts each time a new customer purchased a service.  It would
> >  be wonderful for me if you or anyone here at least confirm me if
> >  it is really possible.
>
> What is possible - updating using scripts, or running BIND on
> the same machine as a web server (presumably Apache)?
>While I'm sure someone has written them, I don't know of any
> scripts that will "update" (whatever that means) BIND configuration
> files that are included either as part of the base system or as
> ports.
>However, running BIND and Apache is certainly possible - the
> machine I'm typing this on does exactly that.
>
>
>Robert Huff
>
>
I agree with Robert, it's generally no problem, at least technically, to
run BIND on the same machine. (Unless in certain situations I can think of
at the moment) you are running your httpd server on a non-public network
behind a firewall, doing certain things with NAT on the router, or running
httpd on a "private machine" that only "gets traffic" from a public-facing
cache/proxy like squid. These situations don't rule out use but could cause
'looping' or otherwise cause problems depending on how your network and
name system is setup.

It is better to have more than one machine running name services, if
possible. Also a good idea to prohibit zone transfers and recursive
lookups, or at least limit very carefully.

You should be able to set up a zone update thing for your customers, just
keep TTL somewhat short, and update your serial # in the zone so that
external caches will pull the updates (using date and/or time is probably
best.) And you probably don't want the daemon/nobody httpd user fooling
around with the zone files or named process directly so it's best to set a
signal in your script like 'touch /tmp/updatebind' or something and have a
cron job check for the 'signal'.

Waitman
___
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: DNS

2012-01-01 Thread Waitman Gobble
On Sun, Jan 1, 2012 at 12:20 PM, Daniel Lewis
wrote:

>
> Im new to freebsd 8.2 and the unix world. How do i setup dns to support my
> domain
>


Hi Daniel,

You probably want to use ISC bind in /usr/ports/dns

I recommend you read the O'Reilly book DNS and BIND.


Basic process -


Install and configure bind. If possible set up on two or more machines/ip.
IMHO it's less hassle to set up duplicate masters and rsync changes from
your 'main' install instead of setting up master/slave configurations.

create zone file for your domain, ie

$TTL 86400
example.com.IN  SOA ns1.example.com. n...@example.com. (
2012010210
28800
7200
1209600
86400 )
example.com.NS  ns1.example.com.
example.com.NS  ns2.example.com.
example.com.MX  0 mail.example.com.
example.com.A   192.168.0.133
www.example.com.A   192.168.0.133
*   IN  CNAME   www.example.com.

cname is good for people who enjoy making typos like  and ww


add your domain zone file to named.conf, ie

zone "example.com" IN {
type master;
file "example.com.hosts";
};


reload nameserver

rndc reload

export your nameservers to root ns, this process varies for registrar -
look for "use my own nameserver" or "create nameservers based on domain" in
your registrar help docs. Maybe you can contact internic/nsi directly
instead (?). Back in the old days users just spread around copies of the
hosts file.

Have fun.

Waitman Gobble
San Jose California USA
___
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: Revision control advice

2011-12-24 Thread Waitman Gobble
On Sat, Dec 24, 2011 at 9:22 AM, Chris Hill  wrote:

> On Wed, 21 Dec 2011, Chris Hill wrote:
>
>  I'm looking to set up some sort of revision control system at work.
>>
>
> Thank you to everyone who replied. Based on what I've found out, I think I
> will be setting up git on a test server so I can get familiar with it.
>
> Thanks again, and a happy $HOLIDAY to all.
>
>
I find this article about setting up git on FreeBSD to be helpful:

http://forums.freebsd.org/showthread.php?t=10810

Happy Holidays,
Waitman Gobble
San José California USA
___
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: boost issue freebsd 8.2 (32 bit) - infinite loop of boost

2011-10-15 Thread Waitman Gobble
On Sat, Oct 15, 2011 at 5:53 PM, Damien Fleuriot  wrote:

>
>
> On 15 Oct 2011, at 19:38, Waitman Gobble  wrote:
>
> Hi,
>
> I identified the problem - the build script insists on fetching boost from
> heanet.dl.sourceforge.net -- for some reason this hangs indefinitely from
> my
> connection. ie, wget
>
> http://heanet.dl.sourceforge.net/project/boost/boost/1.45.0/boost_1_45_0.tar.bz2resolves
> and connects but never transfers any data. (from my IP however if i
> try it from another network it works..).
>
> Manually fetching from
>
> http://downloads.sourceforge.net/project/boost/boost/1.45.0/boost_1_45_0.tar.bz2
> and putting in /usr/ports/distfiles solves the problem... I'm not sure
> why
> heanet host doesn't like my IP (or something else?)
>
>
>
> Anyway, I noticed I made some typos in my previous email, "34" should have
> been "45". (boost_1_45_0 not boost_1_34_0). late night. lol.
>
>
> Waitman
>
>
>
> Are you using a proxy ?
> Can you try with another IP from the same netblock as you ?
> Can you successfully telnet to their IP on port 80 and "HEAD / HTTP/1.0" ?
>



Hi,

I am not using a proxy, however it is possible that ISP has a transparent
cache/proxy. (at&t)

Maybe I could release IP and request another one? I'm not sure it's worth it
though..  (?) I was able to get the file  from another host (manually) and
continue without further issues..

telnet to port 80 connects but doesn't respond to HEAD request from this
machine.

Thanks
Waitman
___
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: boost issue freebsd 8.2 (32 bit) - infinite loop of boost

2011-10-15 Thread Waitman Gobble
Hi,

I identified the problem - the build script insists on fetching boost from
heanet.dl.sourceforge.net -- for some reason this hangs indefinitely from my
connection. ie, wget
http://heanet.dl.sourceforge.net/project/boost/boost/1.45.0/boost_1_45_0.tar.bz2resolves
and connects but never transfers any data. (from my IP however if i
try it from another network it works..).

Manually fetching from
http://downloads.sourceforge.net/project/boost/boost/1.45.0/boost_1_45_0.tar.bz2
and putting in /usr/ports/distfiles solves the problem... I'm not sure
why
heanet host doesn't like my IP (or something else?)



Anyway, I noticed I made some typos in my previous email, "34" should have
been "45". (boost_1_45_0 not boost_1_34_0). late night. lol.


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


boost issue freebsd 8.2 (32 bit) - infinite loop of boost

2011-10-14 Thread Waitman Gobble
Hello,

I'm doing
# portmaster x11/kde4

(per http://freebsd.kde.org/ports.php)

The build is going in an infinite loop with boost...

this, over and over again until the end of time:

===>>> Waiting on fetch & checksum for devel/boost-libs <<<===
===>  License check disabled, post has not defined LICENSE
===>  Found saved configuration for boost-libs-1.45.0_1
=> SHA256 Checksum mismatch for boost_1_45_0.tar.bz2
===>  Refetch for 1 more times files: boost_1_45_0.tar.bz2
===>  Vulnerability check disabled, port has not defined LICENSE
===>  Found saved configuration for boost-libs-1.45.0_1
=> boost_1_45_0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles//.
=> Attempting to fetch
http://heanet.dl.sourceforge.net/project/boost/boost/1.45.0//boost_1_34_0.tar.bz2
boost_1_34_0.tar.bz2




Control-C to stop and check things out...

[foo]# ls -l /usr/ports/distfiles | grep boost
-rw-r--r--  1 root  wheel9216 Nov 17  2010 boost_1_45_0.tar.bz2


But the "doesn't seem to exist in /usr/ports/distfiles//." looks suspicious!
:-)

any pointers or hints much appreciated!

Thanks,

Waitman Gobble
San Jose California USA
___
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"


<    1   2