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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 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 1:03 PM, Andy Wodfer  wrote:

> On Wed, Feb 29, 2012 at 9:46 PM, Waitman Gobble wrote:
>
>>
>>
>> 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/d

/usr/lib32 question

2012-03-12 Thread Waitman Gobble
Hi,


I have four files in /usr/lib32  - libc.so.7, libcrypt.so.5, librt.so.1,
libthr.so.3 that are 444 root. Seems like i am unable to change permissions
or remove... any idea why? or really, how to delete those files. it's an
amd64 machine.

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: /usr/lib32 question

2012-03-13 Thread Waitman Gobble
On Mon, Mar 12, 2012 at 11:49 PM, Waitman Gobble wrote:

> Hi,
>
>
> I have four files in /usr/lib32  - libc.so.7, libcrypt.so.5, librt.so.1,
> libthr.so.3 that are 444 root. Seems like i am unable to change permissions
> or remove... any idea why? or really, how to delete those files. it's an
> amd64 machine.
>
> Thanks,
> Waitman Gobble
> San Jose California USA
>
>
oops, duh sorry it's late. figured it out. :)
chflags noschg

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: /usr/lib32 question

2012-03-13 Thread Waitman Gobble
On Tue, Mar 13, 2012 at 12:06 AM, Polytropon  wrote:

> On Mon, 12 Mar 2012 23:49:50 -0700, Waitman Gobble wrote:
> > Hi,
> >
> >
> > I have four files in /usr/lib32  - libc.so.7, libcrypt.so.5, librt.so.1,
> > libthr.so.3 that are 444 root. Seems like i am unable to change
> permissions
> > or remove... any idea why? or really, how to delete those files. it's an
> > amd64 machine.
>
> I'm on i386 here, so I can't check, but:
>
> See if the files have additional flags set, especially
> the "system immutable" flag (schg):
>
># ls -lo /usr/lib32
>
> If neccessary, use:
>
># chflags noschg /usr/lib32/*
>
> and continue trying to change permissions or remove the
> files in that directory.
>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
>

cool, 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: Xorg bug

2012-04-06 Thread Waitman Gobble
On Apr 6, 2012 10:40 AM,  wrote:
>
> This is 9.0-RELEASE with all else installed via pkg_add. Xorg is 7.5.1;
xdm is 1.1.11. When logging out or terminating Xorg the screen flashes a
line that is the login pattern at the top of the screen. The rest of the
screen is black. ctrl-alt-F1 switches to the console but the monitor is
disconnected (e.g., I eventually get 'no signal' as if the system is
powered down). ctrl-alt-F9 returns to the xdm login which then works
normally. I am using xfce and see no problems after logging. There are no
errors logged in .xsession-errors, Xorg.0.log or xdm.log.
>
> I get the same symptoms with and without hal  and when Xorg is started
with startx or startxfce4. xorg.conf is unmodified from a 'Xorg
-configure'. The monitor driver select is radeon. The radeonhd driver
crashes.
>
> The system is not down, as I can ssh into it,the only real bug is that
the consoles are not available. I think this is a bug handling the monitor
rather than the keyboard because of the 'no signal' indication and the
ctrl-alt keys work, I just can not see whats on the console.
>
> Is additional logging available? Anybody seen one like this?
>
>
>
> _
> Douglas Denault
> http://www.safeport.com
> d...@safeport.com
> Voice: 301-217-9220
>  Fax: 301-217-9277
> ___
> 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,

On my amd64 machine running 10.0-CURRENT with xfce4 the screen turns white
when i logout or use the shutdown button. i'm running the latest in
packages, will have to check the version.

ssh into machine still works except that within 40 seconds or so the
machine freezes. my work-around is to do shutdown -r now from terminal,
which shuts down before 40 seconds  :) shutdown without r does not stop it
from freezing.

i have not yet taken the time to troubleshoot but maybe this weekend ill
get the details together and try to see what the problem is.

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: editor that understands CTRL/B, CTRL/I, CTRL/U

2012-04-24 Thread Waitman Gobble
On Tue, Apr 24, 2012 at 11:10 AM, Tim Daneliuk wrote:

> On 04/24/2012 12:50 PM, Anton Shterenlikht wrote:
>
>> My daughter is doing a touch typing course
>> that presumes MS Word. So far she was fine
>> with pico, but now they want the kids to
>> practice CTRL/B (bold), CTRL/I (italic),
>> CTRL/U (underline). She really needs to use
>> these particular combinations because that
>> is how the on-line assessment tool is set out.
>>
>> I use nothing but vi, so have no clue which,
>> if any, editor from ports/editors will have
>> these particular combinations implemented.
>>
>> Please recommend one, preferably as simple
>> and as small as possible.
>>
>> Thanks
>>
>>
> I am not certain, but I think it is possible to create your own
> keyboard maps in both joe and vim...
>
> --
> --**--**
> ---
> Tim Daneliuk
>
> __**_
> 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 "
>


try AbiWord, /usr/*ports*/editors/*abiword*

should be 'close match' to ms word...

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: help me please

2012-05-12 Thread Waitman Gobble
On Fri, May 11, 2012 at 11:55 PM, Thomas Mueller wrote:

> from Vinicio Santiago Altamirano Mendez :
>
> > please can u tell me how to remapping tftp with a remapping file or exist
> > another form?.
> > i see that in tftp manual no exist the -m option
> > how to do remapping on tftp on mac os x 10.6 pleas
> > thanks.
>
> Is this question for FreeBSD or Mac OS X?
>
> This emailing list is for FreeBSD, as the email address suggests.
>
> Tom
> ___
> 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"
>

Gosh, it sounds kind of drastic. Have you tried fuse?

http://groups.google.com/group/macfuse/browse_thread/thread/97951b355e57db56

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: FreeBSD 10 prognostication...

2012-05-20 Thread Waitman Gobble
On Sun, May 20, 2012 at 10:16 AM, Vance Siemens wrote:

> Maybe there is some truth to this. FreeBSD uses use clang, Apple's
> compiler, since FreeBSD 9:
> http://lists.freebsd.org/pipermail/freebsd-stable/2012-May/067486.html.
>
> On Sat, May 12, 2012 at 11:45 AM, Matthew Jacob  wrote:
> > On 5/12/2012 6:25 AM, Vance Siemens wrote:
> >>
> >> Can you share a brief overview of what's wrong with it? I guess I'm
> >> not as knowledgeable as I thought. The story was quite enticing to me.
> >>
> > Very few of the historical facts are actually correct.
> >
> > ___
> > freebsd-curr...@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "
> freebsd-current-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"
>

I thought clang was a University of Illinois project. http://llvm.org/
There are notes from a meeting in 2007 when they announced clang to be part
of llvm, and it appears that out of 60 attendees there were a couple of
apple folks.
But i don't know much more about it, maybe it is 'apple's clang'. over a
decade ago i was setting up some X servers for toyota and noticed in the
documentation about 'Apple Services for Windows', but getting down into the
software i realized it was actually Samba. And you know I just can't seem
to find the word "Apple" on the author's wikipedia page.
http://en.wikipedia.org/wiki/Andrew_Tridgell but maybe they had something
to do with it?

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"


starting xfce4 reboots machine

2012-05-27 Thread Waitman Gobble
Hi,

I've been running FreeBSD 10.0-CURRENT for some months, last time i rebuilt
the system was April 20th. I've rebooted my machine many times and started
X and Xfce4 without any trouble, however today I'm out of town on the road
and when I startx my machine reboots. If I log in as root and startx i can
run xorg without xfce4. but if i try startxfce4 the machine reboots. If I
try to startx without xfce4 from my non-root account it locks up.
It's pretty quick and nothing I can see in the logs...

Anyone have any ideas about troubleshooting??? It seems like it's out of
the blue with no changes to the system that I recall. :)

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: starting xfce4 reboots machine

2012-05-28 Thread Waitman Gobble
On Mon, May 28, 2012 at 7:42 AM, Warren Block  wrote:

> On Sun, 27 May 2012, Waitman Gobble wrote:
>
>  Hi,
>>
>> I've been running FreeBSD 10.0-CURRENT for some months, last time i
>> rebuilt
>> the system was April 20th. I've rebooted my machine many times and started
>> X and Xfce4 without any trouble, however today I'm out of town on the road
>> and when I startx my machine reboots. If I log in as root and startx i can
>> run xorg without xfce4. but if i try startxfce4 the machine reboots. If I
>> try to startx without xfce4 from my non-root account it locks up.
>> It's pretty quick and nothing I can see in the logs...
>>
>> Anyone have any ideas about troubleshooting??? It seems like it's out of
>> the blue with no changes to the system that I recall. :)
>>
>
> First, make sure you have cairo-1.10 instead of 1.12.  After that, run
> pkg_libchk from sysutils/bsdadminscripts.  Rebuild anything that says it is
> missing libxfce4-utils.
>
> After that, well, I still see some unsteadiness from xfce-4.10. There's a
> long delay on start, like a DNS timeout (but I have working DNS).
>  Switching to console works, switching back usually does not, rebooting the
> machine.  Leaving X and starting again reboots the machine.  These last two
> could be due to the recent X upgrade, except I'm pretty sure they did not
> happen until xfce-4.10.
>

thanks. i'll check 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: starting xfce4 reboots machine

2012-05-30 Thread Waitman Gobble
On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble wrote:

>
>
> On Mon, May 28, 2012 at 7:42 AM, Warren Block  wrote:
>
>> On Sun, 27 May 2012, Waitman Gobble wrote:
>>
>>  Hi,
>>>
>>> I've been running FreeBSD 10.0-CURRENT for some months, last time i
>>> rebuilt
>>> the system was April 20th. I've rebooted my machine many times and
>>> started
>>> X and Xfce4 without any trouble, however today I'm out of town on the
>>> road
>>> and when I startx my machine reboots. If I log in as root and startx i
>>> can
>>> run xorg without xfce4. but if i try startxfce4 the machine reboots. If I
>>> try to startx without xfce4 from my non-root account it locks up.
>>> It's pretty quick and nothing I can see in the logs...
>>>
>>> Anyone have any ideas about troubleshooting??? It seems like it's out of
>>> the blue with no changes to the system that I recall. :)
>>>
>>
>> First, make sure you have cairo-1.10 instead of 1.12.  After that, run
>> pkg_libchk from sysutils/bsdadminscripts.  Rebuild anything that says it is
>> missing libxfce4-utils.
>>
>> After that, well, I still see some unsteadiness from xfce-4.10. There's a
>> long delay on start, like a DNS timeout (but I have working DNS).
>>  Switching to console works, switching back usually does not, rebooting the
>> machine.  Leaving X and starting again reboots the machine.  These last two
>> could be due to the recent X upgrade, except I'm pretty sure they did not
>> happen until xfce-4.10.
>>
>
> thanks. i'll check it out..
>
> Waitman
>
>
spending some time troubleshooting this. it's a weird harold, the machine
runs fine for days doing various things (but if i want X i have to log in
as root first and startx, otherwise instant reboot). I've noticed that if i
do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap
of a finger instantly.

I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll have
to re-add somehow, might have to build from source if it won't stop
rebooting :)

i'll try the pkg_libchk

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: starting xfce4 reboots machine

2012-05-30 Thread Waitman Gobble
On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble wrote:

>
>
> On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble wrote:
>
>>
>>
>> On Mon, May 28, 2012 at 7:42 AM, Warren Block  wrote:
>>
>>> On Sun, 27 May 2012, Waitman Gobble wrote:
>>>
>>>  Hi,
>>>>
>>>> I've been running FreeBSD 10.0-CURRENT for some months, last time i
>>>> rebuilt
>>>> the system was April 20th. I've rebooted my machine many times and
>>>> started
>>>> X and Xfce4 without any trouble, however today I'm out of town on the
>>>> road
>>>> and when I startx my machine reboots. If I log in as root and startx i
>>>> can
>>>> run xorg without xfce4. but if i try startxfce4 the machine reboots. If
>>>> I
>>>> try to startx without xfce4 from my non-root account it locks up.
>>>> It's pretty quick and nothing I can see in the logs...
>>>>
>>>> Anyone have any ideas about troubleshooting??? It seems like it's out of
>>>> the blue with no changes to the system that I recall. :)
>>>>
>>>
>>> First, make sure you have cairo-1.10 instead of 1.12.  After that, run
>>> pkg_libchk from sysutils/bsdadminscripts.  Rebuild anything that says it is
>>> missing libxfce4-utils.
>>>
>>> After that, well, I still see some unsteadiness from xfce-4.10. There's
>>> a long delay on start, like a DNS timeout (but I have working DNS).
>>>  Switching to console works, switching back usually does not, rebooting the
>>> machine.  Leaving X and starting again reboots the machine.  These last two
>>> could be due to the recent X upgrade, except I'm pretty sure they did not
>>> happen until xfce-4.10.
>>>
>>
>> thanks. i'll check it out..
>>
>> Waitman
>>
>>
> spending some time troubleshooting this. it's a weird harold, the machine
> runs fine for days doing various things (but if i want X i have to log in
> as root first and startx, otherwise instant reboot). I've noticed that if i
> do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap
> of a finger instantly.
>
> I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll
> have to re-add somehow, might have to build from source if it won't stop
> rebooting :)
>
> i'll try the pkg_libchk
>
> Thanks,
>
> Waitman
>
>
this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up with
the zero-byte files.. i did do a pkg_delete but didn't expect to see this.
-rw-r--r--   1 root  wheel 0 May 30 23:16 libcairo-gobject.a
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo-gobject.la
lrwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo-gobject.so -> 
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo-gobject.so.2
-rw-r--r--   1 root  wheel 0 May 30 23:16 libcairo-script-interpreter.a
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo-script-interpreter.la
lrwxr-xr-x   1 root  wheel 0 May 30 23:16 
libcairo-script-interpreter.so -> 
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 
libcairo-script-interpreter.so.2
-rw-r--r--   1 root  wheel 0 May 30 23:16 libcairo.a
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo.la
lrwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo.so -> 
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo.so.2
-rw-r--r--   1 root  wheel 75894 Mar  5 06:32 libpangocairo-1.0.a
-rwxr-xr-x   1 root  wheel  1705 Mar  5 06:32 libpangocairo-1.0.la
lrwxr-xr-x   1 root  wheel22 Mar  5 06:32 libpangocairo-1.0.so -> 
libpangocairo-1.0.so.0
-rwxr-xr-x   1 root  wheel 53539 Mar  5 06:32 libpangocairo-1.0.so.0
___
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"

Updating packages

2012-06-03 Thread Waitman Gobble
I have tried the available package update methods. It occurred to me to
experiment with a different way.

I am working on a package update script in Python as an alternate way to
update installed packages with latest available on the FreeBSD web site. It
parses the index page of the web site and compares the versions of
installed packages. If their is a difference it downloads the package tbz
file and performs an MD5 checksum, then writes the corresponding pkg_delete
and pkg_add for the package into a file which can be edited and executed
from the command line. It does not automatically update the packages, for
example in some cases the script reports that an older version of Perl is a
suitable replacement for the latest version. Also on my system there are
like seventeen versions of doc_book package so it writes the pkg_delete for
each installed version and pkg_add for the latest version. (in which case
we would not really want to install it seventeen times).

Does anyone have recollection of a negative experience using 'pkg_delete
--force' to the old version and 'pkg_add' the replacement? Would you say
it's generally a bad idea to first delete the package before adding the
updated package, and instead recommend to install the updated package on
top of the existing installation?

My project is at the following URL:

https://github.com/creamy/pkg_checkversion

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: starting xfce4 reboots machine

2012-06-03 Thread Waitman Gobble
On Thu, May 31, 2012 at 12:10 AM, Joe Gain  wrote:

> On Thu, May 31, 2012 at 8:43 AM, Waitman Gobble 
> wrote:
> > On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble  >wrote:
> >
> >>
> >>
> >> On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble  >wrote:
> >>
> >>>
> >>>
> >>> On Mon, May 28, 2012 at 7:42 AM, Warren Block 
> wrote:
> >>>
> >>>> On Sun, 27 May 2012, Waitman Gobble wrote:
> >>>>
> >>>>  Hi,
> >>>>>
> >>>>> I've been running FreeBSD 10.0-CURRENT for some months, last time i
> >>>>> rebuilt
> >>>>> the system was April 20th. I've rebooted my machine many times and
> >>>>> started
> >>>>> X and Xfce4 without any trouble, however today I'm out of town on the
> >>>>> road
> >>>>> and when I startx my machine reboots. If I log in as root and startx
> i
> >>>>> can
> >>>>> run xorg without xfce4. but if i try startxfce4 the machine reboots.
> If
> >>>>> I
> >>>>> try to startx without xfce4 from my non-root account it locks up.
> >>>>> It's pretty quick and nothing I can see in the logs...
> >>>>>
> >>>>> Anyone have any ideas about troubleshooting??? It seems like it's
> out of
> >>>>> the blue with no changes to the system that I recall. :)
> >>>>>
> >>>>
> >>>> First, make sure you have cairo-1.10 instead of 1.12.  After that, run
> >>>> pkg_libchk from sysutils/bsdadminscripts.  Rebuild anything that says
> it is
> >>>> missing libxfce4-utils.
> >>>>
> >>>> After that, well, I still see some unsteadiness from xfce-4.10.
> There's
> >>>> a long delay on start, like a DNS timeout (but I have working DNS).
> >>>>  Switching to console works, switching back usually does not,
> rebooting the
> >>>> machine.  Leaving X and starting again reboots the machine.  These
> last two
> >>>> could be due to the recent X upgrade, except I'm pretty sure they did
> not
> >>>> happen until xfce-4.10.
> >>>>
> >>>
> >>> thanks. i'll check it out..
> >>>
> >>> Waitman
> >>>
> >>>
> >> spending some time troubleshooting this. it's a weird harold, the
> machine
> >> runs fine for days doing various things (but if i want X i have to log
> in
> >> as root first and startx, otherwise instant reboot). I've noticed that
> if i
> >> do a pkg_add the thing reboots, if i run SciTe editor it reboots. like
> snap
> >> of a finger instantly.
> >>
> >> I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll
> >> have to re-add somehow, might have to build from source if it won't stop
> >> rebooting :)
> >>
> >> i'll try the pkg_libchk
> >>
> >> Thanks,
> >>
> >> Waitman
> >>
> >>
> > this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up
> with
> > the zero-byte files.. i did do a pkg_delete but didn't expect to see
> this.
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
> Can't help with a solution.
>
> I had a very similar problem. I'm following 9.0-STABLE (rev. 235976
> ca. week old) using xfce and have a thinkpad laptop with intel
> on-board graphics chip. My problems started when I updated the cairo
> port, and at the time I couldn't really believe that cairo was the
> cause of _the_ problem, because of the way X was crashing. What was
> even more frustrating was that the Xorg log file was not revealing
> anything other than "unknown error" and segfault. So, I didn't know
> what to do for a while, and after spending a couple of days looking
> for an answer, downgrading cairo fixed that issue.
>
> Couple of days later the new xfce is also available, and I have had no
> problems running it, on stable with downgraded (currently current
> again*) cairo. Be sure to read UPDATING with respect to xfce4-utils
> etc.
>
> It would be interesting to hear from someone who knows what's goin

Re: umount device busy

2012-06-03 Thread Waitman Gobble
On Sun, Jun 3, 2012 at 7:59 AM, Gary Aitken  wrote:

> Something I'm overlooking here and a lot of questions I can't seem to find
> the answers to...
>
> I mounted a usb drive
>  mount -t ntfs /dev/da0s1 /mnt/goflex
>
> Then, as nearly as I can remember...
>  I then poked around a bit using the xfce4 browser.
>  I tried to mkdir from the mount point as a normal user:
>cd /mnt/goflex
>%mkdir breakaway
>mkdir: .: No such file or directory
>  After checking write premissions, which I didn't have,
>  I did an su -l and tried again, with the same results.
>
> I then tried to unmount the drive, believing it was mounted read-only:
>#umount /mnt/goflex
>umount: unmount of /mnt/goflex failed: Device busy
>
> As nearly as I can tell, I don't have anything pointing at that drive.
>
> Questions:
>
> 1.  What does the "No such file or directory" mean from mkdir?
>It's a relative dir name, and I'm sitting at a valid dir.
>
> 2.  How do I find out how the file-system was mounted?
>mount (noargs) does not show read/write status
>
> 3.  I tried lsof but I don't get any output from it:
>  lsof +d /mnt/goflex -x -- /mnt/goflex
>Where does it go if not to stdout?
>
> 4.  lsof has a *long* man page, so I'd like to save it temporarily so I
> can search it in an editor.  If I do man lsof >temp.tmp the output contains
> backspace sequences which screw up searching.  How do I get man to produce
> plain text without the control sequences?
>
> 5.  The lsof man page references a faq which is supposed to be part of the
> distribution.
>find . -ls | grep lsof doesn't show any faq.
>
> 6.  And finally, any idea why umount says the device is busy?
>
> Seems like I should have been able to find the answer to at least one of
> those but I'm coming up short.
>
> Thanks for relevant pointers,
>
> Gary
> ___
> 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"
>


something that *might* be helpful to you, it's a basic little man page
browser in Qt
left side of the pane shows a treeview of filesystem, so you can navigate
/bin, /usr/bin, etc.. when you click on a file it looks for the
corresponding man page and shows it on the right pane formatted html, which
is a webkit panel.

https://github.com/creamy/man-browser

i built it on a FreeBSD machine but it also works with cygwin systems and
probably GNU/Linux as well but i have not tried it.

it is intended as a way to quickly look at what's installed on your system
and possibly 'discover' and learn about previously 'unknown' commands.

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: starting xfce4 reboots machine

2012-06-04 Thread Waitman Gobble
On Jun 3, 2012 9:52 AM, "Waitman Gobble"  wrote:
>
>
>
> On Thu, May 31, 2012 at 12:10 AM, Joe Gain  wrote:
>>
>> On Thu, May 31, 2012 at 8:43 AM, Waitman Gobble 
wrote:
>> > On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble wrote:
>> >
>> >>
>> >>
>> >> On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble wrote:
>> >>
>> >>>
>> >>>
>> >>> On Mon, May 28, 2012 at 7:42 AM, Warren Block 
wrote:
>> >>>
>> >>>> On Sun, 27 May 2012, Waitman Gobble wrote:
>> >>>>
>> >>>>  Hi,
>> >>>>>
>> >>>>> I've been running FreeBSD 10.0-CURRENT for some months, last time i
>> >>>>> rebuilt
>> >>>>> the system was April 20th. I've rebooted my machine many times and
>> >>>>> started
>> >>>>> X and Xfce4 without any trouble, however today I'm out of town on
the
>> >>>>> road
>> >>>>> and when I startx my machine reboots. If I log in as root and
startx i
>> >>>>> can
>> >>>>> run xorg without xfce4. but if i try startxfce4 the machine
reboots. If
>> >>>>> I
>> >>>>> try to startx without xfce4 from my non-root account it locks up.
>> >>>>> It's pretty quick and nothing I can see in the logs...
>> >>>>>
>> >>>>> Anyone have any ideas about troubleshooting??? It seems like it's
out of
>> >>>>> the blue with no changes to the system that I recall. :)
>> >>>>>
>> >>>>
>> >>>> First, make sure you have cairo-1.10 instead of 1.12.  After that,
run
>> >>>> pkg_libchk from sysutils/bsdadminscripts.  Rebuild anything that
says it is
>> >>>> missing libxfce4-utils.
>> >>>>
>> >>>> After that, well, I still see some unsteadiness from xfce-4.10.
There's
>> >>>> a long delay on start, like a DNS timeout (but I have working DNS).
>> >>>>  Switching to console works, switching back usually does not,
rebooting the
>> >>>> machine.  Leaving X and starting again reboots the machine.  These
last two
>> >>>> could be due to the recent X upgrade, except I'm pretty sure they
did not
>> >>>> happen until xfce-4.10.
>> >>>>
>> >>>
>> >>> thanks. i'll check it out..
>> >>>
>> >>> Waitman
>> >>>
>> >>>
>> >> spending some time troubleshooting this. it's a weird harold, the
machine
>> >> runs fine for days doing various things (but if i want X i have to
log in
>> >> as root first and startx, otherwise instant reboot). I've noticed
that if i
>> >> do a pkg_add the thing reboots, if i run SciTe editor it reboots.
like snap
>> >> of a finger instantly.
>> >>
>> >> I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll
>> >> have to re-add somehow, might have to build from source if it won't
stop
>> >> rebooting :)
>> >>
>> >> i'll try the pkg_libchk
>> >>
>> >> Thanks,
>> >>
>> >> Waitman
>> >>
>> >>
>> > this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up
with
>> > the zero-byte files.. i did do a pkg_delete but didn't expect to see
this.
>> >
>> > ___
>> > freebsd-questions@freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> > To unsubscribe, send any mail to "
freebsd-questions-unsubscr...@freebsd.org"
>>
>> Can't help with a solution.
>>
>> I had a very similar problem. I'm following 9.0-STABLE (rev. 235976
>> ca. week old) using xfce and have a thinkpad laptop with intel
>> on-board graphics chip. My problems started when I updated the cairo
>> port, and at the time I couldn't really believe that cairo was the
>> cause of _the_ problem, because of the way X was crashing. What was
>> even more frustrating was that the Xorg log file was not revealing
>> anything other than "unknown error" and segfault. So, I didn't know
>> what to do for a while, and after spending a couple of days looking
>> for an answer, downgrading cairo fixed 

Re: starting xfce4 reboots machine

2012-06-04 Thread Waitman Gobble
On Jun 4, 2012 1:58 PM, "Gary Aitken"  wrote:
>
>
> > I updated to xfce4.10 using amd64 packages and everything seems to work,
> > except for some reason "startxfce4" is missing but i can get it to
> > start fine by putting "exec xfce4-session" in my .xinitrc.. anyone else
> > experience this issue?
>
> %which startxfce4
> /usr/local/bin/startxfce4
>
> installed from
>  ports/x11-wm/xfce4
> I think as a dependency on
>  ports/x11-wm/xfce4-session
>
> ___
> 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"

Thanks. that's where it used to be on my machine... this evening i'll check
and see if its in the tbz, i still have the package file.

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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-05 Thread Waitman Gobble
On Jun 5, 2012 6:35 PM, "Mike Jeays"  wrote:
>
> On Tue, 5 Jun 2012 19:57:30 -0400 (EDT)
> Chris Hill  wrote:
>
> > On Tue, 5 Jun 2012, G?k?in Akdeniz wrote:
> >
> > > For the time being only ARM platform is restricted.
> >
> > True, but I would be astonished if this restriction were not expanded by
> > MS in the future. Just my opinion, but I believe their ultimate goal is
> > to add platforms until the "secure boot" restriction encompasses most or
> > all desktop and server hardware. This would be over a period of years.
> >
> > --
> > Chris Hill   ch...@monochrome.org
> > ** [ Busy Expunging  ]
> > ___
> > 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"
>
> This seems all too likely to me. I expect it will become very hard to
find a consumer laptop that will run other operating systems in a few
years. There won't be any in Best Buy or Staples, one can be pretty sure.
It will be a Windows or Mac world. Not an attractive future.
> ___
> 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 understand there are only a few (like two) monster-sized computer
manufacturers, which are based in China, who manufacture the massive bulk
of "consumer" laptops. the name brand models in the local retail store are
almost always these ODM computers with a preloaded hard drive and a fancy
label w/ insignia slapped on the shell. One may purchase a "Generic" laptop
to spec (without any MS stuff installed, if you so desire), for a
single-unit competitive price.

for example search "compal" ...

i'm curious how the restricted boot scheme will come into play in these "no
flashy labels" portable machines.

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: FreeBSD9 - I can't get my mouse to work

2012-06-05 Thread Waitman Gobble
On Tue, Jun 5, 2012 at 7:05 PM, Scott Ballantyne  wrote:

>  Walter Hurry  writes:
>
> >
> > Firstly, sorry if this is a bit of a newbie question. I am quite new to
> > FreeBSD (though fairly experienced at Linux). Almost everything in
> FreeBSD
> > is fine, except that no matter what I try I cannot get the (USB) mouse to
> > work.
> >
> > I have scoured the handbook, and Googled, but to no avail.
> >
> > This is 9.0-RELEASE on amd64 - fully updated.
> >
> > I don't need the mouse in consoles, but I do want it in X.
> >
>
> The clue here is 'fully updated'. The latest hald has a bug that keeps
> the mouse from working. If you look in your X.org.0.log you may find
> a section which says that /dev/ums, configured by hal, is busy, and
> unloads the mouse. If you don't find that, then ignore the rest of
> this email :)
>
> There are various "solutions" to this, one is to disable the auto
> configure, and add the configuration for both keyboard and mouse to
> the .conf file.  Another is to restart dbus and hald. You can switch
> to a console window from X and run this command:
>
> /usr/local/etc/rc.d/dbus restart && /usr/local/etc/rc.d/hald restart
>
> If that fixes it, then you can automate it by putting something like
> this in /usr/local/etc/rc.d , call it haldfixbug or something like
> that:
>
> --
> #!/bin/sh
> #
> # PROVIDE: HALD_FIX_BUG
> # REQUIRE: hald dbus
> #
>
> [ "$1" = start ] && /usr/local/etc/rc.d/dbus restart &&
> /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED"
> [ "$1" = faststart ] && /usr/local/etc/rc.d/dbus restart &&
> /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED"
> sleep 5
> exit 0
> -
>
> This might not work if you use startx, but should be ok with xdm or
> gdm. It works for me, maybe not for you.
>
> Best,
> Scott
> --
> s...@ssr.com
> ___
> 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'll give that a try. After updating a couple of days ago the mouse is
glued to the center of the screen after starting X. I noticed if i first
kill moused before startx it works fine. (moused apparently restarts). But
maybe this solution will end the work-around.

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: Why Clang

2012-06-06 Thread Waitman Gobble
On Jun 6, 2012 10:32 AM, "Thomas D. Dean"  wrote:
>
> Has the discussion on why change to clang been made available?
>
> I would like to know the reasoning.
>
> Or, is it simply a gratuitous  change?
>
> Tom Dean
> ___
> 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 believe it at least partially has to do with license. FreeBSD does not
"ship" (maybe correct word?) with any GPLv3 licensed software.

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"


USB 3.0 delay in 'detecting' attached drive

2012-06-10 Thread Waitman Gobble
Hi,

I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I plug
a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 seconds for
the drive to show up, on the USB 2.0 port it's instantly. I haven't used
USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I need to
reconfigure something or look at a different kernel config.


here's my info

$ uname -a
FreeBSD hunny.waitman.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Jun 2
01:25:21 PDT 2012 root@:/usr/obj/usr/src/sys/KEYSHIA amd64


Notice the time.. 9:36:49 plugin, 9:37:59 drive shows up.

USB 3.0 connect:
Jun 10 09:36:49 hunny kernel: ugen1.2:  at usbus1
Jun 10 09:36:49 hunny kernel: umass0:  on usbus1
Jun 10 09:36:49 hunny kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100
Jun 10 09:36:49 hunny kernel: umass0:4:0:-1: Attached to scbus4
Jun 10 09:37:59 hunny kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0
Jun 10 09:37:59 hunny kernel: da0: < > Fixed Direct Access SCSI-0 device
Jun 10 09:37:59 hunny kernel: da0: 400.000MB/s transfers
Jun 10 09:37:59 hunny kernel: da0: 476940MB (976773167 512 byte sectors:
255H 63S/T 60801C)
Jun 10 09:40:30 hunny ntfs-3g[1098]: Mounted /dev/da0s1 (Read-Write, label
"MUSIC", NTFS 3.1)
Jun 10 09:40:30 hunny ntfs-3g[1098]: Mount options:
allow_other,nonempty,atime,fsname=/dev/da0s1
Jun 10 09:41:43 hunny ntfs-3g[1098]: Unmounting /dev/da0s1 (MUSIC)
Jun 10 09:41:47 hunny kernel: (da0:umass-sim0:0:0:0): lost device - 0
outstanding, 0 refs
Jun 10 09:41:47 hunny kernel: (da0:umass-sim0:0:0:0): removing device entry



USB 2.0 - instantly


Jun 10 09:42:07 hunny kernel: ugen3.2:  at usbus3
Jun 10 09:42:07 hunny kernel: umass0:  on usbus3
Jun 10 09:42:07 hunny kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100
Jun 10 09:42:07 hunny kernel: umass0:4:0:-1: Attached to scbus4
Jun 10 09:42:07 hunny kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0
Jun 10 09:42:07 hunny kernel: da0:  Fixed
Direct Access SCSI-0 device
Jun 10 09:42:07 hunny kernel: da0: 40.000MB/s transfers
Jun 10 09:42:07 hunny kernel: da0: 476940MB (976773167 512 byte sectors:
255H 63S/T 60801C)
Jun 10 09:42:24 hunny kernel: (da0:umass-sim0:0:0:0): lost device - 0
outstanding, 0 refs
Jun 10 09:42:24 hunny kernel: (da0:umass-sim0:0:0:0): removing device entry
...





$ dmesg | grep USB
xhci0:  mem 0xf0348000-0xf0349fff irq 18
at device 16.0 on pci0
xhci1:  mem 0xf034a000-0xf034bfff irq 17
at device 16.1 on pci0
ohci0:  mem 0xf034f000-0xf034 irq 18 at
device 18.0 on pci0
ehci0:  mem 0xf034e000-0xf034e0ff irq 17
at device 18.2 on pci0
ohci1:  mem 0xf034d000-0xf034dfff irq 18 at
device 19.0 on pci0
ehci1:  mem 0xf034c000-0xf034c0ff irq 17
at device 19.2 on pci0
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 5.0Gbps Super Speed USB v3.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
umass1:  on usbus3

$ pciconfig -lv
xhci0@pci0:0:16:0: class=0x0c0330 card=0x358b103c chip=0x78121022 rev=0x03
hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Hudson USB XHCI Controller'
class = serial bus
subclass = USB
xhci1@pci0:0:16:1: class=0x0c0330 card=0x358b103c chip=0x78121022 rev=0x03
hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Hudson USB XHCI Controller'
class = serial bus
subclass = USB
ehci0@pci0:0:18:2: class=0x0c0320 card=0x358b103c chip=0x78081022 rev=0x11
hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Hudson USB EHCI Controller'
class = serial bus
subclass = USB
ohci1@pci0:0:19:0: class=0x0c0310 card=0x358b103c chip=0x78071022 rev=0x11
hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Hudson USB OHCI Controller'
class = serial bus
subclass = USB
ehci1@pci0:0:19:2: class=0x0c0320 card=0x358b103c chip=0x78081022 rev=0x11
hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Hudson USB EHCI Controller'
class = serial bus
subclass = USB



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: USB 3.0 delay in 'detecting' attached drive

2012-06-10 Thread Waitman Gobble
On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey  wrote:

> Waitman Gobble wrote:
> > Hi,
> >
> > I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I
> plug
> > a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 seconds
> for
> > the drive to show up, on the USB 2.0 port it's instantly. I haven't used
> > USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I need
> to
> > reconfigure something or look at a different kernel config.
>
> Might be a marginal power issue.
> USB 3 devices are allowed to consume 1.0 Amps.
> USB2 ports only need provide 0.5.
>
> I have a tower wont recognise my USB disc on its USB2 ports.
> On my new PCI express card in same tower, it comes up quickly.
>
> Cheers,
> Julian
> --
> Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich
> http://berklix.com
>  Reply below not above, cumulative like a play script, & indent with "> ".
>  Format: Plain text. Not HTML, multipart/alternative, base64,
> quoted-printable.
>Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
>

Thanks.

Not sure if there's anything I can do about that. It's a new HP dv6 laptop
which according to box was mfg in May 2012... I would assume hardware would
be designed and put together properly. :)

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: USB 3.0 delay in 'detecting' attached drive

2012-06-10 Thread Waitman Gobble
On Sun, Jun 10, 2012 at 4:59 PM, Julian H. Stacey  wrote:

> Waitman Gobble wrote:
> > On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey 
> wrote:
> >
> > > Waitman Gobble wrote:
> > > > Hi,
> > > >
> > > > I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I
> > > plug
> > > > a USB 3.0 drive / cable into the USB 3.0 port it takes about 70
> seconds
> > > for
> > > > the drive to show up, on the USB 2.0 port it's instantly. I haven't
> used
> > > > USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I
> need
> > > to
> > > > reconfigure something or look at a different kernel config.
> > >
> > > Might be a marginal power issue.
> > > USB 3 devices are allowed to consume 1.0 Amps.
> > > USB2 ports only need provide 0.5.
> > >
> > > I have a tower wont recognise my USB disc on its USB2 ports.
> > > On my new PCI express card in same tower, it comes up quickly.
> > >
> > > Cheers,
> > > Julian
>
> > Thanks.
> >
> > Not sure if there's anything I can do about that. It's a new HP dv6
> laptop
> > which according to box was mfg in May 2012... I would assume hardware
> would
> > be designed and put together properly. :)
>
> Sounds new enough :-)
>
> My USB3 disc on my newish laptop with USB 2 socket & 8.2 & 9.0 come
> up fast enough, not noticed problems, not specificaly timed it though.
>
> Try external power if you have a socket on disk box  ?
>
> Try disk on another known good FreeBSD USB3 card on a tower (my card cost
> 30 Euro BTW)
>
> Or try a power doubler cable (connected via a female to female
> adapter, which Ive never seen on sale, I made my own by cutting up
> a dead mainboard), to the USB 3 male to male cable. (for any who
> dont know, cant omit that cable as USB3 socket on lapop size drives
> is a different shape, flater, wider.
>
> I wonder if it might be taking time dropping back to USB2 speed.
> if eg you don't have xhci in kernel ?
>
> I have all of
>config -x/boot/kernel/kernel | grep hci
>device  uhci
>device  ohci
>device  xhci
>device  ehci
> I just havent taken some out yet.
>
> Cheers,
> Julian
> --
> Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich
> http://berklix.com
>  Reply below not above, cumulative like a play script, & indent with "> ".
>  Format: Plain text. Not HTML, multipart/alternative, base64,
> quoted-printable.
>Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
>


I believe it uses ohci for usb 2.0, xhci for 3.0, ehci for 1.0 (which I
suppose might be connected to some device internally even if you do not
have 1.0 port?)

I originally built this system on a different machine, with different
hardware, but it really shouldn't make a different AFAIK.
... But I did just csup and rebuild everything on the laptop... i needed to
build some devices into the kernel anyhow,  and NOW the usb 3.0 connect is
instantly, there is now no 70 second delay. I'd have to check, maybe there
was a change in xhci between June 2 and today which could have caused the
issue. Or it was just a 'weird harold' event, for some reason it just felt
like sitting there a minute.

Thanks for your help,

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: xfce 4.10 update problems

2012-06-10 Thread Waitman Gobble
On Sun, Jun 10, 2012 at 5:12 PM, Warren Block  wrote:

> On Sun, 10 Jun 2012, jb wrote:
>
>  Hi,
>> after portmaster update:
>> - there are missing icons in main menu and that of Terminal
>> - startx fails when moused enabled
>> (EE) xf86OpenSerial: Cannot open device /dev/psm0
>>Device busy.
>> (EE) PS/2 Mouse: cannot open input device
>> (EE) PreInit returned NULL for "PS/2 Mouse"
>> (EE) config/hal: NewInputDeviceRequest failed (8)
>> xinit: connection to X server lost
>>
>> Any known solutions ?
>>
>
> Disable hal in xorg.conf, ServerLayout section:
>
> Option "AutoAddDevices" "Off"
>
> __**_
> 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 "
>


for missing icons in xfce4.10, here is explanation in a pr with 3
solutions..

http://www.freebsd.org/cgi/query-pr.cgi?pr=168688


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: USB 3.0 delay in 'detecting' attached drive

2012-06-11 Thread Waitman Gobble
On Mon, Jun 11, 2012 at 1:36 AM, Julian H. Stacey  wrote:

> Waitman Gobble wrote:
> > On Sun, Jun 10, 2012 at 4:59 PM, Julian H. Stacey 
> wrote:
> >
> > > Waitman Gobble wrote:
> > > > On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey 
> > > wrote:
> > > >
> > > > > Waitman Gobble wrote:
> > > > > > Hi,
> > > > > >
> > > > > > I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports.
> When I
> > > > > plug
> > > > > > a USB 3.0 drive / cable into the USB 3.0 port it takes about 70
> > > seconds
> > > > > for
> > > > > > the drive to show up, on the USB 2.0 port it's instantly. I
> haven't
> > > used
> > > > > > USB 3.0 with FreeBSD so I'm not sure if this is expected or
> maybe I
> > > need
> > > > > to
> > > > > > reconfigure something or look at a different kernel config.
> > > > >
> > > > > Might be a marginal power issue.
> > > > > USB 3 devices are allowed to consume 1.0 Amps.
> > > > > USB2 ports only need provide 0.5.
> > > > >
> > > > > I have a tower wont recognise my USB disc on its USB2 ports.
> > > > > On my new PCI express card in same tower, it comes up quickly.
> > > > >
> > > > > Cheers,
> > > > > Julian
> > >
> > > > Thanks.
> > > >
> > > > Not sure if there's anything I can do about that. It's a new HP dv6
> > > laptop
> > > > which according to box was mfg in May 2012... I would assume hardware
> > > would
> > > > be designed and put together properly. :)
> > >
> > > Sounds new enough :-)
> > >
> > > My USB3 disc on my newish laptop with USB 2 socket & 8.2 & 9.0 come
> > > up fast enough, not noticed problems, not specificaly timed it though.
> > >
> > > Try external power if you have a socket on disk box  ?
> > >
> > > Try disk on another known good FreeBSD USB3 card on a tower (my card
> cost
> > > 30 Euro BTW)
> > >
> > > Or try a power doubler cable (connected via a female to female
> > > adapter, which Ive never seen on sale, I made my own by cutting up
> > > a dead mainboard), to the USB 3 male to male cable. (for any who
> > > dont know, cant omit that cable as USB3 socket on lapop size drives
> > > is a different shape, flater, wider.
> > >
> > > I wonder if it might be taking time dropping back to USB2 speed.
> > > if eg you don't have xhci in kernel ?
> > >
> > > I have all of
> > >config -x/boot/kernel/kernel | grep hci
> > >device  uhci
> > >device  ohci
> > >device  xhci
> > >device  ehci
> > > I just havent taken some out yet.
> > >
> > > Cheers,
> > > Julian
>
> > I believe it uses ohci for usb 2.0,
>
> I doubt that.
>
> > xhci for 3.0,
>
> Yes
>
> > ehci for 1.0
>
> No
>
>
> Reading manuals:
>  ehci : for a controller chip that Only does USB 2.0, not 1.0
>  ohci : OHCI v1.0 USB1
>  uhci : UHCI v1.1 USB1
>  xhci : USB 1.0, 2.0 and 3.0
>
> > (which I
> > suppose might be connected to some device internally even if you do not
> > have 1.0 port?)
> >
> > I originally built this system on a different machine, with different
> > hardware, but it really shouldn't make a different AFAIK.
> > .. But I did just csup and rebuild everything on the laptop... i needed
> to
> > build some devices into the kernel anyhow,  and NOW the usb 3.0 connect
> is
> > instantly, there is now no 70 second delay.
>
> Good.  BTW I'd not considered you might be seeing something on current,
> as this questions@ was originaly created for people new to FreeBSD
> Machine my end was 8.3-RELEASE. The current@ list would know if xhci
> was problematic.
>
> > I'd have to check, maybe there
> > was a change in xhci between June 2 and today which could have caused the
> > issue. Or it was just a 'weird harold' event, for some reason it just
> felt
> > like sitting there a minute.
> >
> > Thanks for your help,
>
> :-)
>
> Cheers,
> Julian
> --
> Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich
> http://berklix.com
>  Reply below not above, cumulative like a play script, & indent with "> ".
>  Format: Plain text. Not HTML, multipart/alternative, base64,
> quoted-printable.
>Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
>

Hi,

thanks - good point. maybe even freebsd-usb group would be better.
i'll see if it happens again and post in there.


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: Lost /var/db/pkg

2012-06-13 Thread Waitman Gobble
On Wed, Jun 13, 2012 at 2:26 PM, Eitan Adler  wrote:

> On 13 June 2012 12:17, jb  wrote:
> > William Orr  worrbase.com> writes:
> >
> >>
> >> Hello,
> >>
> >> I had a hard disk failure some time ago, and I ended up losing
> >> /var/db/pkg/ and everything under it (before you say I should've been
> >> backing it up, I know, I was actually doing an initial full when this
> >> happened). Is there a way I can restore it, or at least manually add
> >> entries I know for sure about?
> >
> > forums.freebsd.org/showthread.php?t=6466
> > "The application themselves are still installed and will keep
> functioning, you
> > just removed the records of their installation. When you later install
> newer
> > versions, you may have to use a force flag to overwrite files (the port
> thinks
> > it is uninstalled after all). The new port installations will get
> recorded in
> > /var/db/pkg again.'
> >
> > jb
>
> This will work if you need minimal downtime, but *will* come back to
> bite you some time down the line.
>
>
> --
> Eitan Adler
> ___
> 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"
>

you could cross reference the package .tbz files with what's on your
system.

ie, tar -ztvf apache-2.2.22_5.tbz
shows you what's in /usr/local/bin, etc. Might even be able to focus on man
pages only to get an xref index.

I believe the files for /var/db/pkg are in the tbz files.
if you didn't keep your system up to date it might be trouble matching
versions, but you could get the list and see what's what, or at least have
a good idea of what _was_ installed.
I haven't tried but you could stick the 'current' files for /var/db/pkg
from tbz, matching what's installed - regardless of the 'new' version and
actual version installed, then to a pkg_delete --force then pkg_add .tbz .
it might complain about missing files but will 'prolly function.
If you have like 700-1000+ packages it might be worth the trouble.

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: Need latest xorg

2012-06-20 Thread Waitman Gobble
On Wed, Jun 20, 2012 at 2:33 PM, Matthias Gamsjager wrote:

> On Wed, Jun 20, 2012 at 11:25 PM, Lynn Steven Killingsworth <
> blue.seahorse.syndic...@gmail.com> wrote:
>
> > I don't seem to have generated much comment.
> >
> > I suspect you are thinking as I do that if your servers don't immediately
> > download then their is a bandit on my Internet line??
> >
> >
> >
> >
> >
> Newer AMD videocards and Freebsd is just pure pain. Dont think the newer
> xorg will change much.
> ___
> 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,

Have you considered installing packages? I have a daily sync repo mirror of
amd64 and i386 pkgs (Latest/Current) if you experience difficulty accessing
the FTP servers. lemme know. Unfortunately I don't have everything mirrored
at this time, and not sure how they would fly on 9-x :)

Also latest xorg runs great with my AMD HD 6620G, obviously a different
class than your AMD HD 7950 but I suppose it could also be considered a
'newer card', first released June 14, 2011, about 6 months before the 7950.
Not sure when the cut-off date is.

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: Why Clang

2012-06-21 Thread Waitman Gobble
On Jun 21, 2012 11:23 AM, "Wojciech Puchar" 
wrote:
>>>
>>>
>> Additionally, the exceptions for using the GCC runtime library for
non-GPL executables
>> is limited to what hey call "eligible compilation processes", what rules
out using
>> proprietary GCC plugins or other combinations of core GCC functionality
with non-GPL
>> tooling and extensions.
>> Please note that this is indeed not tested in court. Therefore, reality
may turn out
>> even more interesting. That's why a lawyer's answer should always be "it
depends". :)
>
>
> GNU GPL is even worse that i ever dreamed (in worst horror).
>
>
> ___
> 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 have seen a few instances which are "risky" IMHO... or at least
interesting to ponder.. one is a claim that GPLv3 enables the vendor to
"require" the use of their trademark logo (flowplayer)... which opens up
other legal issues i think, and another, i recently purchased a router, in
the package was a small piece of paper stating the device includes GPL
software, and if i want the source i need to write (snail mail) their legal
department and explain why i want it. (d-link).

but i agree the issues have not been legally decided AFAIK. anyway, i think
a BSD licensed FreeBSD operating system works  for me.

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: Could someone help me with Dovecot AD integration PAM setup?

2012-06-22 Thread Waitman Gobble
ests (max 0 secs, pid=4265, EOF)
> Jun 20 11:32:58 auth: Fatal: master: service(auth): child 4266 killed
> with signal 11 (core not dumped - set service auth {
> drop_priv_before_exec=yes })
> Jun 20 11:46:21 master: Warning: Killed with signal 15 (by pid=4318
> uid=0 code=kill)
> Jun 20 11:46:42 auth-worker(4340): Error: pam(,127.0.0.1):
> pam_authenticate() failed: authentication error (/etc/pam.d/dovecot
> missing?)
> Jun 20 11:46:55 auth: Error: Got NTLMSSP neg_flags=0xa2088207
> Jun 20 11:46:55 auth: Error: Got user=[] domain=[]
> workstation=[WKS-42] len1=24 len2=270
> Jun 20 11:46:55 auth: Error: Login for user []\[]@[WKS-42]
> failed due to [Reading winbind reply failed!]
> Jun 20 11:49:47 master: Warning: Killed with signal 15 (by pid=4400
> uid=0 code=kill)
> Jun 20 11:49:53 auth: Fatal: passdb imap: Missing host parameter
> Jun 20 11:49:53 master: Error: service(auth): command startup failed,
> throttling for 2 secs
> Jun 20 11:50:10 master: Warning: Killed with signal 15 (by pid=4439
> uid=0 code=kill)
> Jun 20 11:50:22 auth-worker(4461): Error: pam(,127.0.0.1):
> pam_authenticate() failed: authentication error (/etc/pam.d/dovecot
> missing?)
> Jun 20 11:51:19 master: Warning: Killed with signal 15 (by pid=4479
> uid=0 code=kill)
> Jun 20 11:52:14 master: Warning: Killed with signal 15 (by pid=4647
> uid=0 code=kill)
> Jun 20 12:26:12 master: Warning: Killed with signal 15 (by pid=1349
> uid=0 code=kill)
> Jun 20 12:26:32 auth-worker(1371): Error: pam(,127.0.0.1):
> pam_authenticate() failed: authentication error (/etc/pam.d/dovecot
> missing?)
> Jun 20 12:40:20 master: Warning: Killed with signal 15 (by pid=1436
> uid=0 code=kill)
> Jun 20 12:40:39 auth-worker(1458): Error: pam(,127.0.0.1):
> pam_authenticate() failed: authentication error (/etc/pam.d/dovecot
> missing?)
> Jun 20 13:06:03 master: Warning: Killed with signal 15 (by pid=1653
> uid=0 code=kill)
> Jun 20 13:07:37 auth-worker(1222): Error: pam(,127.0.0.1):
> pam_authenticate() failed: authentication error (/etc/pam.d/dovecot
> missing?)
> Jun 20 15:05:11 master: Warning: Killed with signal 15 (by pid=91263
> uid=0 code=kill)
> Jun 22 10:02:03 master: Warning: Killed with signal 15 (by pid=38998
> uid=0 code=kill)
> Jun 22 10:04:08 auth-worker(1229): Error: pam(,127.0.0.1):
> pam_authenticate() failed: authentication error (/etc/pam.d/dovecot
> missing?)
> Jun 22 10:10:47 master: Warning: Killed with signal 15 (by pid=1394
> uid=0 code=kill)
> Jun 22 10:12:36 auth-worker(1218): Error: pam(,127.0.0.1):
> pam_authenticate() failed: authentication error (/etc/pam.d/dovecot
> missing?)
> Jun 22 10:20:57 auth-worker(1232): Error: pam(,127.0.0.1):
> pam_authenticate() failed: authentication error (/etc/pam.d/dovecot
> missing?)
>
>
>
> Can anybody help me with this?
>
>
> Regards,
>
>
> Kaya
> ___
> 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,

The log indicates its looking for /etc/pam.d/dovecot (instead of imap?)
. maybe that's the issue.

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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do

2012-06-22 Thread Waitman Gobble
On Jun 22, 2012 10:45 AM, "Brandon Gooch" 
wrote:
>
> On Fri, Jun 22, 2012 at 1:01 AM, O. Hartmann
>  wrote:
> > I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD
> > shown below.
> > When first used, I was able to put approx. 30 GB of data on it - it was
> > visible to FreeBSD 9 and 10 as expected.
> > A Linux system at the lab was also capable of recognizing it. After
> > that, I tried to operate on the stick on a Notebook, FreeBSD 9, and
> > another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive
> > anymore - sometimes, but this seems to be a gambling issue :-(
> >
> > Trying Linux on different hardware platforms and even those machines
> > prior not recognizing the USB drive do recognize the drive as Lexar USB
> > Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu
> > 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and
> > pull data from it.
> >
> > So, since the USB drive won't work with three different FreeBSD boxes
> > (one running 9-STABLE, two 10-CURRENT, all systems most recent sources
> > and buildworld from a day ago).
> > I suspect either a weird configuration issue I use on all platforms in
> > questions in common triggering the weird beviour - or FreeBSD is simply
> > incapable of handling the 64GB drive. I do not have issues with USB
> > drives with capacities of 32, 8 or 4 GB of different brands.
> >
> > As shown in the portion of the dmesg below, the USB drive is recognized
> > physically. It doesn't matter whether USB port I use (I tried all
> > available on all boxes and in most cases I use a Dell UltraSharp powered
> > in-screen HUB). Since other OSes handle the drive as expected, I exclude
> > hardware issues.
> >
> > All FreeBSD in common is the fact I use the new device ahaci/device ata
> > CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!).
> >
> > Apart from trying a GENERIC kernel (which is next I will do this
> > weekend), does anyone have similar experiences and probably solutions?
> >
> > Regards,
> > oh
> >
> > ugen7.6:  at usbus7
> > umass1:  on
usbus7
> > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0
> > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an
error
> > (probe0:umass-sim1:1:0:0): Retrying command
> > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0
> > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an
error
> > (probe0:umass-sim1:1:0:0): Retrying command
> > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0
> > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an
error
> > (probe0:umass-sim1:1:0:0): Retrying command
> > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0
> > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an
error
> > (probe0:umass-sim1:1:0:0): Retrying command
> > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0
> > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an
error
> > (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted
> >
>
> I see similar behavior and output on my Dell M6500 notebook running
> CURRENT, but only on two ports which are some type of hybrid USB
> 2.0/3.0 (configurable via BIOS setting).
>
> If I use either of these ports with a USB 2.0 device while running the
> ports in USB 3.0 mode (using xhci(4)), I can't reliably get a device
> to properly attach. I say reliably, because every once in a while, I
> can plug a device in and it works fine, even multiple times and after
> reboots.
>
> If I configure these ports to run in USB 2.0 mode (using ehci(4)), all
> of my USB 2.0 devices seem to work without fail. However, USB 3.0
> devices do not attach on these ports when they are configured as USB
> 2.0 ports.
>
> So, at least on my notebook, these ports must be configured at either
> 2.0 or 3.0, depending on which device I plan on using :(
>
> I have one other port on this same system that is USB 2.0-only, and it
> works all of the time :)
>
> I'll have to try and add a hub into the mix to see if perhaps it is a
> power issue (although with a recent Linux kernel and Windows 7, all is
> well no matter what configuration I provide). It may be that FreeBSD's
> USB subsystem lacks some extra bit of code required to configure the
> ports properly in regard to power.
>
> -Brandon
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> T

Re: New to FreeBSD - Some questions

2012-06-22 Thread Waitman Gobble
usly mentioned minus ports.
>
> This is the one that matters
>
> >Now, there are 3 "branches" of the
> > base system: RELEASE, STABLE and CURRENT. RELEASE means 9.0 and stays
> > that way until 10.0 is released. STABLE means 9.0, 9.1, 9.2,
> > etc. CURRENT means "trunk" in SVN terms. Is all that correct?
>
> This is incorrect.
>
> RELEASE are all releases: There is 9.0, 9.1, 9.2, etc.
> STABLE is a misnomer: it is a *development* branch but the ABI / KPI
> is kept stable.
> CURRENT is "HEAD" and where new commits go before being "MFCed" or
> Merged From Current to -stable. Releases are branched from -STABLE.
> -STABLE is branched from -HEAD.
>
> > Also,
> > when somewhere is mentioned `make world', this means to rebuild all
> > installed ports which doesn't include base, I assume?
>
> "make world" is always wrong. "make buildworld" is closer.
> In source land "world" is everything but the kernel. Ports are not
related.
>
>
> > q) The files in /etc/rc.d are all executable, from my understanding,
> > those files will get executed and it is their duty to check the
> > variable `_enable' for whether they should start or
> > not. Wouldn't it be more efficient to chmod -x or +x them to
> > disable/enable?
>
> For a variety of reasons, no. They do more than just check *_enable in
> complex cases.
>
> > q) Is there a tool that can test a set of mirrors for connection time
> > and speed (for packages and ports)? Analogous to Archlinux's
> > rankmirrors?
>
> looks in ports-mgmt/ there is fastestmirrors or something like that. I
> ran it once and forgot about it ;)
>
> > q) Is it possible for the pkg_* tools (especially pkg_add -r) to
> > display progress?
>
> no.
>
> > q) I noticed in the ports collection that there were some outdated
> > packages (skype-2.2, gimp-2.6), should I report that and where? (A
> > PR?)
>
> skype is out of date cause the newer ones don't work.
> Generally, reporting out of date ports as PRs with patches (or to
> po...@freebsd.org without patches might help) is a good thing.
>
> Larger ports tend to be actively maintained. For gimp try asking
> gn...@freebsd.org for progress.
>
> > q) Is it possible to have the ports system compile into an mfs (to
> > avoid disk access)?
>
> Yes. Set WRKDIRPREFIX in /etc/make.conf to a mfs disk
>
> > q) Is it possible to have the user asked to change their password the
> > first time they log in (using an OTP) in a simple way? I looked at
> > OPIE but it seems to be much more complex than what I need.
>
> Look at pw -e ?
>
>
> Hope I helped and didn't disappoint too much :)
>
> --
> Eitan Adler
> ___
> 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"

packages in /current/Latest are generrally up to date, sometimes trail
ports a couple of days.

its quite easy to pkg_delete --force and pkg_add new version to upgrade...
i've been doing this for some time without problems. its trivial to make a
python script to check for latest version avail and upgrade, i haven't
timed it but 700 or so package updates take about 30 mins..

i look forward to pkgng, on low power devices build from ports can take a
week and then some. :)

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: New to FreeBSD - Some questions

2012-06-22 Thread Waitman Gobble
On Fri, Jun 22, 2012 at 1:18 PM, Eitan Adler  wrote:

> On 22 June 2012 11:44, Matthew Seaman 
> wrote:
> > On 22/06/2012 18:40, Eitan Adler wrote:
> >>> q) Is there a place where all sysctl variables are documented? It
> >>> > occurred to me when I was trying to find the memory usage on my
> system
> >>> > but `sysctl -a | grep mem' shows a whole bunch of stuff.
> >
> >> You can try sysctl -ad but most of the systls are either documented in
> >> man pages or not at all. :(
> >
> > It would be a really handy thing if the output of 'sysctl -d' told you
> > what man page to refer to for more information.  A neat little project
> > but pretty boring to implement.
>
> Agreed. I don't have the time to do this directly, but I'm willing to
> commit patches that do this.
> --
> Eitan Adler
> ___
> 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"
>

that sounds great,
also, for the moment you can try grep in /usr/src and usually find what you
are looking for there. Usually the source code is well-documented, and you
can see which switches do what. an idea...

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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do

2012-06-23 Thread Waitman Gobble
On Sat, Jun 23, 2012 at 1:08 AM, Thomas Mueller wrote:

> > My elder colleague often told me that it is the easiest and well-working
> way
> > to check whether the one is certified to work for Mac OS X to get USB
> mass
> > storage devices which work with *BSD :)
>
> > Just my 5 yen,
>
> -|-__   YAMAMOTO, Taku
>  | __ < 
>
> What if a USB mass storage device works with some BSDs but not all?
>
> I had Kingston Data Travelers, 2 GB, from one lot that were good with
> Linux and FreeBSD but not NetBSD.
>
> Other USB sticks, including Kingston Data Tavelers, worked with Linux,
> FreeBSD and NetBSD.
>
> I even installed FreeDOS 1.1 prerelease on one of those NetBSD-averse
> Kingstom Data Travelers.
>
> But I think either Mac OS X, Linux or FreeBSD is much more
> production-ready than NetBSD.
>
> > There are 3 drivers, one for 3.0, 2.0 and 1.0, and they are associated to
> > corresponding devices  at boot. I'll play around with it this weekend and
> > see how to switch, i've also noticed issue connecting 2.0 device to 3.0
> > port.
>
> > Waitman Gobble
> > San Jose California USA
>
> I don't think I ever tried to connect a USB 2.0 device to 3.0 port, but I
> tried the opposite.
>
> My Western Digital My Book Essential 3.0 TB USB 3.0 drive works even on
> the old computer whose motherboard's USB is 1.1.
>
> I tried to access that USB 3.0 hard drive on the new computer from USB 2.0
> port because NetBSD has no USB 3.0 support: no go.
>
> But when I installed USB 2.0 brackets to USB 2.0 headers on the
> motherboard, the USB 3.0 hard drive was accessible from those USB 2.0 ports.
>
> Tom
> ___
> 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"
>


One possible 'caveat'.. I've noticed occasionally it will take 75 seconds
or so for a USB 3.0 drive to 'connect'.. at first I thought the drive was
not being 'recognized'. Someone has posted here that they believe it could
be b/c a USB 3.0 uses 2x the power of 2.0 (i've not confirmed that) and it
could be due to some kind of power management on the computer.. I've not
yet taken the time to sort that out.

anyhow this issue initially led me to believe there was some problem with
the driver, but it seems likely not the case.

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"


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"


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"


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: 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: 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: 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
>
>
> 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-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: 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: 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"


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: 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"


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: 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: 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: 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"


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: 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"


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


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: 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"


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: 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: 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: 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: 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 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 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: Re-sending selected e-mail messages

2013-02-13 Thread Waitman Gobble
On Feb 13, 2013 3:49 PM, "Polytropon"  wrote:
>
> I need a way to automatically re-sent stored e-mail messages
> according to some criteria and like to ask for advice or
> suggestions for an already existing solution before I start
> reinventing the wheel. :-)
>
> The messages in question are stored in MH format. This is a
> tree where a mailbox equals a directory, and the individual
> files in that directory equal the messages. They are numbered
> 1, 2, 3, 4, ..., and so on. Each message is in
>
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
>
> or
>
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
>
> or maybe even
>
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> text format. Some of them might contain an attachment, which
> is "included" in the file with something like
>
> --Multipart=...
> Content-Type: ...;
>  name="..."
> Content-Disposition: attachment;
>  filename="..."
> Content-Transfer-Encoding: base64
> --Multipart=...---
>
> Some messages are "fully multipart".
>
> So when iterating on ~/Mail/sent/1,2,3,4,5,... I get all the
> messages. Each third line, "To:", is the criteria to look at.
> If it matches a given recipient, the mail should be sent again.
> This can easily be done by the system's mailer which is properly
> configured (and uses ISP's MX), so | mail -s "maybe new subject"
> is possible. The message should already be properly pre-composed.
>
> What is the easiest way to do this without reinventing the wheel,
> or should I? :-)
>
>
>
>
>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
freebsd-questions-unsubscr...@freebsd.org"

I'm working on an email related project, you might hack it to work for you.

https://github.com/waitman/elmboxo

check out pmess.c it can do a single message. (the easy way to feed pmess a
single message is actually to feed the single message to elmboxo as it is
coded)

anyway its built to stuff them in a mongodb db, but I.m working on a free
nosql solution that works for my project. you can just chuck all those bits.

an idea.

Waitman Gobble
San Jose California
___
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: Client Authentication

2013-03-24 Thread Waitman Gobble
On Sat, Mar 23, 2013 at 9:22 PM, Doug Hardie  wrote:

>
> Basically, my outgoing mail server is being systematically attacked to try
> passwords looking for one that works.  When they do find one, we get
> inundated by spam sent through that account throughout the world.  The
> situation is such that most of our users are older and their computer is a
> hand-me-down so they can talk to their grandchildren.  Passwords are a
> great inconvenience for them and create numerous problems with remembering
> them even when they are simple.  Unfortunately, most of them are quite easy
> to guess.
>
>

You might consider disabling external smtp auth service and using ssh
tunnel to server to connect to mail. Also provide web based convenience
service.

It might be interesting to encrypt mail to the user's cloud service that
operates in a gpg zone. I think this operation could be mostly transparent
to the user, so kids and granpamas can use it without concern.



-- 
Waitman Gobble
San Jose California USA
510-830-7975
___
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: Client Authentication

2013-03-24 Thread Waitman Gobble
On Sun, Mar 24, 2013 at 1:25 AM, Doug Hardie  wrote:

>
> On 24 March 2013, at 01:10, Waitman Gobble  wrote:
>
> >
> >
> > You might consider disabling external smtp auth service and using ssh
> tunnel to server to connect to mail. Also provide web based convenience
> service.
>
> I am not convinced that a ssh tunnel is going to be easy for my users.  We
> do provide a web based mail client, but I wouldn't describe it as
> convenient.  I find it a pain in the neck, but so many users requested it
> that we provide it.  It is password authenticated but so slow it will never
> be attacked with password guessing.
>


One idea is to run a different server process on 25 which does not do SMTP
AUTH,, then run SMTP AUTH on 465 or 587. I don't really see a reason to
advertise SMTP AUTH on 25, for some reason all mail servers seem to do AUTH
on all ports or none. Maybe there is a way to configure SMTP AUTH only on
certain ports, one way I can think of is to run two processes with two
configs.

If some people are specifically attacking your service this may not be
optimal, but if it's script kiddies scanning servers on port 25 this might
discourage them.

Another thought is to modify the SMTP server to allow one or two failed
attempts then lock the account. IRL people set up their password into their
email program and don't type it in all the time, or in the case of web mail
they make their browser remember it. There isn't a good reason I can think
of to allow 100 failed SMTP AUTH attempts. This concept would have to be
tweaked a bit to balance customer service demand. You could also use the
age of the account to determine the number of failed attempts, newer
accounts might get 10 failed attempts, for example.

Or you could disable SMTP auth altogether and make a little program that
sets up a tunnel. Here's an ssh library that's BSD licensed

http://www.libssh2.org/examples/tcpip-forward.html

I think you can decide how much user intervention is needed for port
forwarding. IT could be something like the user has to have the service
installed on their machine, or it's a 'click for email' type thing. A
little program that sets up the tunnel behind the scenes. It takes a day or
two of front end programming but might be a good solution that works on
unix/mac/linux/ms machines. You can have your SMTP AUTH service listening
only on localhost. Handheld devices might become a challenge.



>
> >
> > It might be interesting to encrypt mail to the user's cloud service that
> operates in a gpg zone. I think this operation could be mostly transparent
> to the user, so kids and granpamas can use it without concern.
>
> This one I don't understand.  Can you provide pointers to this type of
> service?


Sorry I don't have any pointers, it was an idea last night. The concept is
that users have 'cloud' accounts, email is encrypted to their account,
perhaps (off the top of my head) in a fashion similar to the way friendica
works.(it's not working with cloud systems, but it encrypts information to
individual users, this could be analyzed for ideas for a cloud based
system). This kind of solution might take a week of programming to set up,
so it's more work on the front end.

If you have some archival requirement or need to parse/key or otherwise
analyze messages, in that scenario you would have to copy the message I
think.

-- 
Waitman Gobble
San Jose California USA
510-830-7975
___
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: Crash when trying to rsync to external NTFS-formatted HD

2013-03-25 Thread Waitman Gobble
Waitman Gobble
San Jose California USA
On Mar 25, 2013 9:01 AM, "Lowell Gilbert" <
freebsd-questions-lo...@be-well.ilk.org> wrote:
>
> Leslie Jensen  writes:
>
> > I'm trying the following on my 9.1-RELEASE #0 system:
> >
> > Mounting the external HD
> > ntfs-3g /dev/da0s1 /mnt/backup/
> >
> > And doing
> > rsync -av /home/les /mnt/backup/BSD_backup/
> >
> >
> > I get "Building incremental file list" for about one minute then my
> > system freezes and reboots.
> >
> > I'm aware that NTFS might be the culprit. I have chosen it for
> > convenience and the possibility to move my data to machines without
> > FreeBSD.
> >
> > Manually copying of files one by one works.
>
> Yes, it definitely sounds like fuse is corrupting something in the
> kernel. Could be tricky to debug, and forcing a kernel dump would be the
> first step.
>
> The traditional most-portable way of moving files is to tar(1) onto a
> raw device rather than having any filesystem at all.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
freebsd-questions-unsubscr...@freebsd.org"

I have noticed this behavior with rsync and fuse mounted ntfs drives,
hooking the drive up to an ms machine and doing a chkdisk type of operation
may solve it for you, however i recommend using ufs formatted usb drives,
it will ease headaches :)

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

2013-03-28 Thread Waitman Gobble
Waitman Gobble
San Jose California USA
On Mar 28, 2013 3:03 PM, "Jeff Belyea"  wrote:
>
> I have a new computer with windows 8, which I hate with a passion. I don't
> play music and I don't do a lot of pictures. Basically I only search, some
> EBay and games. Can I replace win8 with BSD?

yes, but first snoop around bios admin screens for uefi settings (might not
actually say uefi but something else, and might be in the back 40 so the
motherboard manual might help).

also might be good to figure out if someone could possibly decide that your
machine qualifies as a mobile device, disrupting its planned operation
could cause an issue)

Waitman Gobble
San Jose California
___
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: Regarding zfs send / receive

2013-04-04 Thread Waitman Gobble
Waitman Gobble
San Jose California USA
On Apr 4, 2013 2:07 PM, "Joar Jegleim"  wrote:
>
> Hi Terje !
> sorry for late reply, I've been checking my mail, forgetting that all my
> mailing list mail are sorted into their own folders skipping inbox :p
>
> the zfs sync setup is a huge advantage over rsync simply because
> incremental rsync of the volume takes ~12 hours, while the zfs
differential
> snapshot's usually take less than a minute . Though it's only ~1TB of
data,
> it's  more than 2 million jpegs which rsync have to stat ...
> I'm guessing my predecessor who chose this setup, over for instance HAST,
> didn't feel confident enough regarding HAST in production ( I'm looking
> into that for a future solution) .
>
> There's no legacy stuff on the receiving end, old pools are deleted for
> every sync. I haven't got my script here but google pointed me too
> https://github.com/hoopty/zfs-sync/blob/master/zfs-sync which look like a
> script very similar to the one I'm using .
> In fact, I'm gonna take a closer look at that script and see what differs
> from my script (apart from it being much prettier :p )
> I didn't know about zpool.cache, gonna check that tomorrow, thanks.
>
>
>
> --
> --
> Joar
> Jegleim
> Homepage: http://cosmicb.no
> Linkedin: http://no.linkedin.com/in/joarjegleim
> fb: http://www.facebook.com/joar.jegleim
> AKA: CosmicB @Freenode
>
> --
>
> On 2 April 2013 14:40, Terje Elde  wrote:
>
> > On 2. apr. 2013, at 13.44, Joar Jegleim wrote:
> > > So my question(s) to the list would be:
> > > In my setup have I taken the use case for zfs send / receive too far
> > > (?) as in, it's not meant for this kind of syncing and this often, so
> > > there's actually nothing 'wrong'.
> >
> > I'm not sure if you've taken it too far, but I'm not entirely sure if
> > you're getting any advantage over using rsync or similar for this kind
of
> > thing.
> >
> > First two things that spring to mind:
> >
> > Do you have any legacy stuff on the receiving machine?  Things like
> > physically removed old zpools, that are still in zpool.cache, seems to
slow
> > down various operations, including creation of new stuffs (such as the
> > snapshots you receive).
> >
> > Also, you don't mention if you're deleting old snapshots on the
receiving
> > end?  If you're doing an incremental run every 15 minutes, that's
something
> > like 3000 snapshots pr. month, pr. filesystem.
> >
> > Terje
> >
> >
>

hi,
i have a similar situation. its better to only rsync new stuff in this
case, because you should know when somebody ads something new.

for example, a user uploads 200 new images, these are marked 'to sync' and
are transferred to the other servers. letting rsync figure out what's new
just isnt practical.

an idea, works for me. hope it helps.

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


Re: Witness on FreeBSD 10.*

2013-04-29 Thread Waitman Gobble
On Mon, Apr 29, 2013 at 6:43 PM, Al Plant  wrote:
> Aloha,
>
> Is there a way of turning off the witness feature on the FreeBSD Current
> 10.*
>
> I want to use a stripped down version as a test firewall with pf.
>
> Thanks for any help.
>
>
> ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
>   + http://hawaiidakine.com + http://freebsdinfo.org +
>   + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
>   < email: n...@hdk5.net >
> "All that's really worth doing is what we do for others."- Lewis Carrol
>
> ___
> 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 believe the witness options are set in kernel config.

--
Waitman Gobble
San Jose California USA
510-830-7975
___
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: xorg-server-1.7.7_6,1 crashes (from ports head)

2013-05-08 Thread Waitman Gobble
"Matthias Apitz"  wrote:
>
> El día Tuesday, May 07, 2013 a las 02:45:39PM +0200, Matthias Apitz
escribió:
>
> > xorg-server-1.7.7_6,1 X.Org X server and related programs
> >
> > all ports are from r315646 (1st of April);
> >
> > I randomly face X11 crashes with the following symtoms:
> >
> > - the display is filled with some colored pattern
> >
> > - X11 seems to be still running, because I can switch with Ctrl-Alt-F1
> >   to the console where "startx" was launched; and Alt+F9 brings back to
> >   the unuseable display;
> > ...
>
> Hello,
>
> Until know the reaction in our mailing list is easy to count: zero :-(
>
> Please be kind and give me some hints about best options I have:
>
> - Do we have another Xserver in the ports to try?
> - Should I post a bug report in our Gnats?
> - Should I go to the lists.x.org?
> - Any options of the Xorg server to test or to get debug messages of the
>   crash?
> - Anything else?
>
> I have already ordered a new 2 GByte ddr2 RAM to change the memory, but
> as well it could be the video card or anthing else...
>
> Thanks
>
> matthias
>
>
> --
> Sent from my FreeBSD netbook
>
> Matthias Apitz   |  - No system with backdoors like
Apple/Android
> E-mail: g...@unixarea.de |  - Never being an iSlave
> WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF
in E-mail
> phone: +49-170-4527211   |  - Respect for open standards
> ___
> 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,

What video driver are you using on that machine?

Waitman Gobble
San Jose California
___
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: making photoalbums for web pages

2013-05-10 Thread Waitman Gobble
On Fri, May 10, 2013 at 12:41 AM, Matthias Apitz  wrote:
>
> Hi,
>
> I've updated yesterday the laptop of my wife to FreeBSD 10-CURRENT and
> ports fromm SVN head, all fine with one exception:
>
> she is used to make photoalbums of the pictures (JPEG) and publish them
> on my webserver; she selects in kphotoalbum the pictures she wants (by
> clicking them) and the application puts them together, with thumbnails,
> to a tree which just goes per SCP -rp to our webserver;
>
> since the update she is without this application because the KDE3
> version does not exist in head and the KDE4 version does not compile
> even :-(
>
> Is there any other tool for this? I know about webgallery, but this has
> not the pre-build phase (selecting images); any other idea?
>
> Thanks
>
> matthias
> --
> Sent from my FreeBSD netbook
>
> Matthias Apitz   |  - No system with backdoors like Apple/Android
> E-mail: g...@unixarea.de |  - Never being an iSlave
> WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
> E-mail
> phone: +49-170-4527211   |  - Respect for open standards
> ___
> 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 Matthias,

I use graphics/burplex to preview / make selects when I'm on the road,
it stores in a text file for easy scripting / batch processing. It's
in the ports tree. If you want to batch process 'quicker' on a
multi-core system you can try dcraw-m and multiraw, which are in gnats
pr at the moment. Otherwise the burplex port runs OK with regular
dcraw.

If you want something more elaborate try graphics/shotwell or
graphics/f-spot I suppose. If she is really into photography she
should check out RawTherapee for sure. But newer version than
currently in ports, I posted an update pr - which installs - but it
needs a little more work. I've been recently creating square
thumbnails manually with gimp and saving full size and thumbnail to
local computer, which has a public ip address. eliminates need to
upload anything :)

--
Waitman Gobble
San Jose California USA
510-830-7975
___
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: making photoalbums for web pages

2013-05-10 Thread Waitman Gobble
On Fri, May 10, 2013 at 3:02 AM, Matthias Apitz  wrote:
> El día Friday, May 10, 2013 a las 12:59:01AM -0700, Waitman Gobble escribió:
>
>> Hi Matthias,
>>
>> I use graphics/burplex to preview / make selects when I'm on the road,
>> it stores in a text file for easy scripting / batch processing. It's
>> in the ports tree. If you want to batch process 'quicker' on a
>> multi-core system you can try dcraw-m and multiraw, which are in gnats
>> pr at the moment. Otherwise the burplex port runs OK with regular
>> dcraw.
>
> Hi Waitmann,
>
> I went to the web side of www.burplex.com... do I understand this right,
> that the selected names with their leading dir are just stored in a text
> file ".selects" for further processing? If so, that would be exactly
> what I was looking for :-)
>
> Thanks
>
> matthias
> --
> Sent from my FreeBSD netbook
>
> Matthias Apitz   |  - No system with backdoors like Apple/Android
> E-mail: g...@unixarea.de |  - Never being an iSlave
> WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
> E-mail
> phone: +49-170-4527211   |  - Respect for open standards


Hi,

Yes, it is a simple qt4 program which allows the user to quickly
browse RAW or JPEG files and toggle/mark 'selects', which is stored in
a plain text file. This file can easily be fed into a batch-process
command / script. It does *not* offer any other features, such as
sharpening, crop, red-eye, color adjustment, etc. If you use the dcraw
in ports, it does not do 'auto orient', so if your wife is shooting
with this feature disabled on her camera the images _may_ appear
sideways. I have an updated dcraw-m that reads the orientation
information and rotates the preview image, but otherwise it works
fine, it's perfectly usable without it. :)

Also might check out this 'beenie' program that I use to automatically
download cards onto the computer. Basically after a shoot I can stick
in 4 SD cards at once and the software automatically creates folders
with the date, and copies the contents and pre-processes the files. (I
use it for video, I realized I was spending alot of time loading one
card after another and copying the contents, etc). It's more of a
hack-type program, but I've been using it for about a year without
trouble. It would likely need some customization for your specific
system/needs.  https://github.com/waitman/beenie


--
Waitman Gobble
San Jose California USA
510-830-7975
___
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: Sound cards

2013-06-03 Thread Waitman Gobble
On Jun 2, 2013 3:57 PM, "mike miskulin"  wrote:
>
> Hi all - I may be building a system which does not have any onboard
> sounds thus need to find either a pci-e or usb solution which will work
> with FreeBSD.  I've combed newegg and have to say I never realized how
> crappy the sound cards have become - that used to be a big thing back in
> the day!
>
> Could any of you who have installed something of ->recent<- vintage
> which worked well post the make/model?  I just need something for basic
> audio, nothing superduper.
>
> TIA
>
> ___
> 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 believe the market been more about mainstream-acceptable quality for
cheaper and cheaper the past few years. most people use on board sound.

not sure there will alot of new and exciting sound cards coming soon, its
kind of at the limit of pcm. it will be totally very cool when sound cards
do dsd / 5.7 mhz / 1 bit sampling rates, but thats still a ways off i think.

i use a creative x-fi card pci-e, the blue one that runs about 50 bucks...
on a FreeBSD system, it works pretty good with oss in base or you can try
v4.2 in ports.

asus xonar cards are excellent, they supposedly work in oss but i have not
tried my xonar on a FreeBSD machine yet.

if you run usb sound, i recommend getting an add-IN usb card, especially if
you want to do some 48k recording. add a couple devices to your usb bus and
you might notice some latency.

Hope that helps.

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: Sound cards

2013-06-03 Thread Waitman Gobble
On Mon, Jun 3, 2013 at 1:13 PM, Waitman Gobble  wrote:
>
> On Jun 2, 2013 3:57 PM, "mike miskulin"  wrote:
>>
>> Hi all - I may be building a system which does not have any onboard
>> sounds thus need to find either a pci-e or usb solution which will work
>> with FreeBSD.  I've combed newegg and have to say I never realized how
>> crappy the sound cards have become - that used to be a big thing back in
>> the day!
>>
>> Could any of you who have installed something of ->recent<- vintage
>> which worked well post the make/model?  I just need something for basic
>> audio, nothing superduper.
>>
>> TIA
>>
>> ___
>> 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 believe the market been more about mainstream-acceptable quality for
> cheaper and cheaper the past few years. most people use on board sound.
>
> not sure there will alot of new and exciting sound cards coming soon, its
> kind of at the limit of pcm. it will be totally very cool when sound cards
> do dsd / 5.7 mhz / 1 bit sampling rates, but thats still a ways off i think.
>
> i use a creative x-fi card pci-e, the blue one that runs about 50 bucks...
> on a FreeBSD system, it works pretty good with oss in base or you can try
> v4.2 in ports.
>
> asus xonar cards are excellent, they supposedly work in oss but i have not
> tried my xonar on a FreeBSD machine yet.
>
> if you run usb sound, i recommend getting an add-IN usb card, especially if
> you want to do some 48k recording. add a couple devices to your usb bus and
> you might notice some latency.
>
> Hope that helps.
>
> Waitman Gobble
> San Jose California USA
>

Sorry, I was typing my email on my phone before. yikes, grammar!

Anyhow, this card works pretty good on my FreeBSD system:
http://www.newegg.com/Product/Product.aspx?Item=N82E16829102017

Note: if you want 'more' than 16bit stereo sound, ie multiple
'surround sound' channels, 32(24) bit, 96Khz recording - you have to
do a little code hacking. That card also has an ac3 decoder, so I
think you can dump ac3 data to it, but i haven't tried that yet. 'one
of these weekends' i'll get to it. :)


--
Waitman Gobble
San Jose California USA
510-830-7975
___
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: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Waitman Gobble
On Jun 4, 2013 9:00 AM, "Tim Daneliuk"  wrote:
>
> I am seeing login dictionary attacks on a FreeBSD mail server being
> reported.  Is there a way to determine the IPs that are doing this
> so they can be blocked at the firewall?   auth.log only
> notes the attempted user name, not the IP of origin.
> --
> ---
> Tim Daneliuk
> ___
> 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"

On Jun 4, 2013 9:00 AM, "Tim Daneliuk"  wrote:
>
> I am seeing login dictionary attacks on a FreeBSD mail server being
> reported.  Is there a way to determine the IPs that are doing this
> so they can be blocked at the firewall?   auth.log only
> notes the attempted user name, not the IP of origin.
> --
> ---
> Tim Daneliuk
> ___
> 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"

one idea is to run auth on a different service / machine on a non-standard
port, that at least cuts down the noise from "non-targetted" scans.

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: System Calls that do DNS

2013-06-04 Thread Waitman Gobble
On Jun 3, 2013 10:22 PM, "Doug Hardie"  wrote:
>
>
> On 3 June 2013, at 20:39, staticsafe  wrote:
>
> > On Mon, Jun 03, 2013 at 07:57:07PM -0700, Doug Hardie wrote:
> >> I have an unusual situation.  A program is doing a DNS lookup and
often the IP address has no reverse DNS entries.  As a result the program
hangs for several timeouts.  The call is not being made directly in its
code, but is occurring in a system call.  There are no specific calls to
DNS, its something else doing it.  I have been trying to track down which
system call is doing it, but without success so far.  I have tried syslog
calls around each of the system calls I thought might be the culprit, but
my guessing is not very good.  How can I identify the system call that is
calling DNS?  If I can find it, I hopefully can find another way to do
whatever it does that does not involve a reverse DNS lookup.
> >>
> >>
> >
> > Use truss:
> > http://www.freebsd.org/cgi/man.cgi?query=truss
> >
> > The truss utility traces the system calls called by the specified
> > process or program.
> > --
> > staticsafe
> > O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
> > Please don't top post - http://goo.gl/YrmAb
> > Don't CC me! I'm subscribed to whatever list I just posted on.
> >
>
> Unfortunately truss does not show anything more than ktrace.  I know what
is going out on the internet connection.  Its a plain old reverse DNS
request.  The question is what library module (probably not a system call
now that I think about it) is making that request.  Interestingly enough,
adding the IP address with a dummy name in /etc/hosts causes the reverse
request to succeed and there are no time delays.  So whatever module it is,
is not using bind.  Bind doesn't check the hosts files as far as I can tell.
> ___
> 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"

maybe try ldd and see if it is linked to a library like c-ares? or try
running it in gdb to see whats going on? some ideas.

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: why is ports web page so far out of date

2013-06-05 Thread Waitman Gobble
On Tue, Jun 4, 2013 at 7:19 AM, Mark Felder  wrote:
> On Tue, 04 Jun 2013 07:08:15 -0500, Fbsd8  wrote:
>
>> I can not get current version of the ports system.
>> The ports web page http://www.freebsd.org/ports/
>> is almost 2 years out of date. Says the port I am interested in is at 1.7
>> version when just 2 weeks ago it was at 2.2. Portsnap is also messed up
>> showing the 1.7 version.
>>
>>
>
> I'm not sure what the status of this system is, but I'd recommend you use
> the official unofficial Freshports.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"


If you must have a web based version, another option is DIY roll your
own ports index based on your own local ports tree. At least you can
set it up how you want.

a simple quick-together script running on my computer:
https://dx.burplex.com/FreeBSD-ports/index.php

there's a github link at the bottom of the page you can hack on if you wanna.

cool thing is you can easily cross-reference all the corresponding
gnats PR files in your mailbox to the generated port page, i'll add
that bit tomorrow.


--
Waitman Gobble
San Jose California USA
510-830-7975
___
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: why is ports web page so far out of date

2013-06-05 Thread Waitman Gobble
On Wed, Jun 5, 2013 at 9:45 PM, Shane Ambler  wrote:
> On 05/06/2013 17:00, Waitman Gobble wrote:
>
>> If you must have a web based version, another option is DIY roll your
>> own ports index based on your own local ports tree. At least you can
>> set it up how you want.
>>
>> a simple quick-together script running on my computer:
>> https://dx.burplex.com/FreeBSD-ports/index.php
>>
>> there's a github link at the bottom of the page you can hack on if you
>> wanna.
>>
>> cool thing is you can easily cross-reference all the corresponding
>> gnats PR files in your mailbox to the generated port page, i'll add
>> that bit tomorrow.
>
>
> That looks useful. One thing I would think of adding is a search box.
>
> I would have thought of breaking the lists into pages but am surprised at
> how fast the longer pages are generated.
>
> One port that it has an issue with is devel/pear-HTML_Select_Common the
>  in the pkg-desc consumes all the following ports info. So you
> probably want to escape or translate "<" ">" into < >
>
>

hi,

search box would probably be cool! :) I'll get on it.

and yes, it /totally/ needed to broken up into pages. I think that's
working now.

Ok, I agree with you on the HTML entities, it's a done deal.. There
are some updates to post. I have GNATS linked up. I thought I might
have to cache a bunch of stuff considering
> du -h ports
1.5G ports
just the ports-related GNATS stuff is 1.5G. and growing every day. but
it's live code, seems perky enough. It might be good to add in the
mailing list stuff too. maybe 10x that 1.5G though, guessing.?

 I'm thinking about trying to somehow cross-reference the Makefiles to
the Porter's Handbook and maybe the .mk files. And maybe the other way
around too. It's like a bag of examples.

--
Waitman Gobble
San Jose California USA
510-830-7975
___
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: why is ports web page so far out of date

2013-06-07 Thread Waitman Gobble
On Wed, Jun 5, 2013 at 11:29 PM, Waitman Gobble  wrote:
> On Wed, Jun 5, 2013 at 9:45 PM, Shane Ambler  wrote:
>> On 05/06/2013 17:00, Waitman Gobble wrote:
>>
>>> If you must have a web based version, another option is DIY roll your
>>> own ports index based on your own local ports tree. At least you can
>>> set it up how you want.
>>>
>>> a simple quick-together script running on my computer:
>>> https://dx.burplex.com/FreeBSD-ports/index.php
>>>
>>> there's a github link at the bottom of the page you can hack on if you
>>> wanna.
>>>
>>> cool thing is you can easily cross-reference all the corresponding
>>> gnats PR files in your mailbox to the generated port page, i'll add
>>> that bit tomorrow.
>>
>>
>> That looks useful. One thing I would think of adding is a search box.
>>
>> I would have thought of breaking the lists into pages but am surprised at
>> how fast the longer pages are generated.
>>
>> One port that it has an issue with is devel/pear-HTML_Select_Common the
>>  in the pkg-desc consumes all the following ports info. So you
>> probably want to escape or translate "<" ">" into < >
>>
>>
>
> hi,
>
> search box would probably be cool! :) I'll get on it.
>
> and yes, it /totally/ needed to broken up into pages. I think that's
> working now.
>
> Ok, I agree with you on the HTML entities, it's a done deal.. There
> are some updates to post. I have GNATS linked up. I thought I might
> have to cache a bunch of stuff considering
>> du -h ports
> 1.5G ports
> just the ports-related GNATS stuff is 1.5G. and growing every day. but
> it's live code, seems perky enough. It might be good to add in the
> mailing list stuff too. maybe 10x that 1.5G though, guessing.?
>
>  I'm thinking about trying to somehow cross-reference the Makefiles to
> the Porter's Handbook and maybe the .mk files. And maybe the other way
> around too. It's like a bag of examples.
>
> --

basic search box now working, posted on git.
https://dx.burplex.com/FreeBSD-ports/index.php

I think maybe need list of ports modified selectable 1day-30days out.
But I think the http://www.freshports.org/ site already does this, and
it's better anyhow.

--
Waitman Gobble
San Jose California USA
510-830-7975
___
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 There Any Buyable Laptop for FreeBSD 9.1 That Is Simple to Set Up?

2013-06-24 Thread Waitman Gobble
On Mon, Jun 24, 2013 at 5:44 AM, Joseph Mingrone  wrote:
> -Edwin Hale  writes:
>> Therefore, my question is ultimately:-
>> Is there any 17"64-bit laptop that will readily support FreeBSD 9.1 with 
>> wireless connectivity to an external hotspot?
>

You may wish to consider running PC-BSD.
It seems there has been work to support RTL8188CE, but I'm not sure
it's available in 9.1. Buying a supported wireless card on ebay will
cost about 10 to 20 dollars US, and replacing it takes 5 to 15
minutes. Some of the laptops have a list of 'allowed' hardware burned
into the BIOS, which may cause an issue booting with a different
wireless card, but it's probably not the situation on your L755.


--
Waitman Gobble
San Jose California USA
510-830-7975
___
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: FFMpeg and FreeBSD

2013-06-26 Thread Waitman Gobble
On Jun 26, 2013 5:28 PM, "Simon"  wrote:
>
> Hello Everyone,
>
> Does anyone use the latest FFMpeg version 1.2 and FreeBSD?
>
> How did you compile it? did you run into any issues?
>
> The FFMpeg port is 6+ months behind and I feel like I'm the only one who
uses
> this which would be very odd given everything uses video nowadays.
>
> Thanks,
> Simon
>
>
> ___
> 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 make extensive use of ffmpeg, try devel port or try build from ffmpeg
src, try gcc46. there arent issues i can think of. its pretty well put
together. if you install the port first then build src  its easier b/c it
pulls in dependencies. just use something besides /usr/local for the prefix
of src install.

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: FreeBSD on Asus F70SL

2013-07-10 Thread Waitman Gobble
On Jul 10, 2013 12:55 PM, "Martin Siebel"  wrote:
>
> Hello!
>
> I recently tried (and failed) installing FreeBSD-9.1-RELEASE on my Asus
F70SL Notebook.
> I already created a thread in the official FreeBSD boards but so far no
one could help me out with my problem. Since I really want to use FreeBSD
with my Notebook I am looking forward to get the neccessary information
here.
>
> The topic in the FreeBSD boards can be found here:
>
> https://forums.freebsd.org/showthread.php?t=40724
>
> Thanks in advance!
>
> Sincerely,
>
> Martin
> ___
> 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 Martin,

Since you are creating the usb boot on an MS system, what happens when you
plug the dongle into the machine while running MS? If you see the iso file,
that could be the problem.

Also %always% make sure to use the Safe Eject feature before removing the
dongle. Its possible to receive a "Finished" message when a copy operation
is still in progress

Waitman Gobble
San Jose California
___
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: D-Link DUBE100 USB NIC does not work

2013-08-03 Thread Waitman Gobble
On Aug 3, 2013 8:05 AM, "Victor Sudakov"  wrote:
>
> Dear Colleagues,
>
> It is written in axe(4) and in the HCL for 9.1 that D-Link DUBE100 is
> supported.  I have bought one and the system shows it as
>
> ugen0.3:  at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (200mA)
>
> What am I doing wrong? Why does it not attach a driver to it? Should I
> do something else besides plugging the device in for the network
> interface to appear?
>
> I am running stable/9 (9.2-BETA2 at the moment).
>
> TIA for any input.
>
> --
> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> sip:suda...@sibptus.tomsk.ru

Hi, did you see the axe(4) man page? Did you put if_axe_load="YES" in
loader.conf or build kernel with axe support?

Hope that helps.

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"


question about pkg

2013-09-03 Thread Waitman Gobble
Hi,

by chance anyone know what's up with this.. could save me some
troubleshooting time..



Here's a 9.2 machine.

# uname -a
FreeBSD do.burplex.com 9.2-BETA2 FreeBSD 9.2-BETA2 #0 r253773M: Mon Jul 29
14:22:34 PDT 2013 da3m0n8...@do.burplex.com:/usr/obj/usr/src/sys/KAGISO
 amd64

# sqlite3 /var/db/pkg/local.sqlite

sqlite> SELECT COUNT(id) FROM packages WHERE time is null;
0
sqlite> SELECT COUNT(id) FROM packages WHERE time is not null;
551



Here's a 10.0-CURRENT machine.

> uname -a
FreeBSD dx.burplex.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r252355: Fri
Jun 28 16:39:19 PDT 2013 r...@dx.burplex.com:/usr/obj/usr/src/sys/FURAHA
 amd64

# sqlite3 /var/db/pkg/local.sqlite

sqlite> SELECT COUNT(id) FROM packages WHERE time is null;
814
sqlite> SELECT COUNT(id) FROM packages WHERE time is NOT null;
104



time = null is causing me some issues..

Thanks

-- 
Waitman Gobble
San Jose California USA
510-830-7975
___
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 w/ACPI enabled, excluding NICs

2012-07-13 Thread Waitman Gobble
On Jul 13, 2012 8:34 AM, "Ronny Mandal"  wrote:
>
> On 13.07.2012 15:52, Wojciech Puchar wrote:
>>>
>>> I am running a small personal file server. To ensure constant network
>>> access, had to disable the ACPI, hence no power saving at all. The CPU
>>
>>
>> why you "had to" disable ACPI. i never ever seen network problems with
ACPI. basically it works, or it doesn't at all.
>>
> When the server is idle with ACPI enabled, it did not respond to ping
after a short period. With ACPI disabled, this was alleviated. So,
basically, it will stop working after a while. My guess is that ACPI will
shut down the power for the NIC. But that is only a guess. Furthermore,
when ACPI is disabled, no network problem arises. This suggests, at least
to me, that ACPI is somehow involved.
>
>
>>> gets very warm as everything (presumably) is running at full throttle.
>>> Is there any way to disable the ACPI partially, i.e. allow spin-down
>>> for disks etc, but keep the NICs running?
>>
>>
>> This is IMHO not about FreeBSD support of ACPI but possible BIOS
settings that turn on some kind of hibernation.
>
> Each and every power saving function in the BIOS is disabled.
Nevertheless, I believe that a selective ACPI configuration should resolve
this issue,
>
>
>
>>>
>>> Hope that this question was understandable. Thanks.
>>>
>>>
>>> Regards,
>>>
>>> Ronny Mandal
>>> ___
>>> 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"

A «band-aid» type fix could be to ping gw (once) using cron 0-59/5 or
something

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