Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-07 Thread Mark Willson

Gary Kline wrote:

Yes, this works just fine.  I findthat there are about 130 places that 
I need to
	track...  --yeah, i did over-do it in the time-breaks in my story.  


Is there a way of printing the string/line in the `manuscript' file 
along with the line
number?  I'm well into a copyedit of the manuscript and would rather 
not start over!

thanks for this.


:wq

Sorry:: sounds a bit moronic:: not print the blank line/newline!  but 
print the
NR-1-th line.


Gary,

The following version should do what you want:

BEGIN {
ncnt = 0
prev = "BOF"
}
/^ *$/ {
ncnt++;
if (ncnt > 3) {
print "Emphasis at " NR ": " prev;
prev = "-multiple-"
ncnt = 0;
}
next;
}
   {ncnt = 0; prev = $0}

-mark

___
freebsd-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: Inconsistency in root partition size

2009-09-07 Thread Polytropon
On Sun, 6 Sep 2009 23:12:07 -0700 (PDT), jaymax  wrote:
> Is there somewhere I can find a listing of files and directories that are
> supposed to be at the / level? if there is perchance some bizarre file, that
> du is not accounting for.

You can of course read "man hier" to obtain information about
the file system hierarchy. In settings where partitions are
used to separate functional parts of the hierarchy, there's
often not much stuff that goes into /, because / is primarily
reserved for the basic system and the mountpoints; things
like /tmp, /var, /usr and /home go to different partitions.

Check the content of /boot. Maybe you have more than one
kernel image and module files in there. You can as well use

# du -sch /

with only / mounted to get a first impression which subtrees
do occupy how much disk space.



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


Re: Is there such thing as a 'soft checksum' tool?

2009-09-07 Thread parv
in message <44skf0c6zq@lowell-desk.lan>,
wrote Lowell Gilbert thusly...
>
> Modulok  writes:

(I am replyin to Lowell's reply for I do not have OP.)


> > I'm not even sure such a tool exists, but it's worth asking:
> >
> > I'm looking for a pseudo-checksum tool for use with catalogging
> > images. For example, a strict checksum algorithm, like the sha
> > family, will produce a dramatically different checksum for two
> > files which differ by only a single bit. I'm looking for
> > something where two images images, which are similar, get a
> > proportionally similar checksum. When I speak of similarities
> > I'm referring to their image patterns. i.e two images of
> > differing sizes, which are otherwise identical, would produce
> > very similar checksums. So the closer the checksums are, the
> > more similar two given images are.
> >
> > Does anyone know of anything like this?

See if this ...

  http://www.stonehenge.com/merlyn/LinuxMag/col50.html


... fits.


  - parv

-- 

___
freebsd-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: ZFS and DMA read error

2009-09-07 Thread Daniel Eriksson
Mark Stapper wrote:

> Yeah, i did the long SMART selftest three times now, each of which it
> failed on the same LBA address.

I assume 'smartctl -a /dev/adX' reports that the read test failed at LBA
XXX something?

> Why would I want to clear my driver before I run these tests?

In this case it's not really clearing the drive you are aiming for, it
is to write to every sector. If you have a failed sector (which you do),
writing to it will force the drive firmware to remap the sector. As far
as I know, most drives will not remap an unreadable sector until it is
written to.

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


Opera 10.00 (native) & flash

2009-09-07 Thread Tom Mende
Running on 7.2-RELEASE, Opera 10.00 build 4585 (native) and would like to view 
flash enabled websites. Anyone with a howto? Have googled extensively and 
followed a variety of methods all unsuccessful to date. Like to here from 
someone who has it running?

Cheers,
-- 
Tom Mende 
___
freebsd-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: ZFS and DMA read error

2009-09-07 Thread Mark Stapper
Daniel Eriksson wrote:
> Mark Stapper wrote:
>
>   
>> Yeah, i did the long SMART selftest three times now, each of which it
>> failed on the same LBA address.
>> 
>
> I assume 'smartctl -a /dev/adX' reports that the read test failed at LBA
> XXX something?
>   
Indeed it does. Always with the same LBA code/sector/address or whichever.
>   
>> Why would I want to clear my driver before I run these tests?
>> 
>
> In this case it's not really clearing the drive you are aiming for, it
> is to write to every sector. If you have a failed sector (which you do),
> writing to it will force the drive firmware to remap the sector. As far
> as I know, most drives will not remap an unreadable sector until it is
> written to.
>   
So I see. Could this be why I haven't had any read errors anymore?
(After the zpool scrub that is)
> /Daniel Eriksson
>   




signature.asc
Description: OpenPGP digital signature


Re: Opera 10.00 (native) & flash

2009-09-07 Thread Jeff Laine
On Mon,07-09-2009 [18:44:54], Tom Mende wrote:
> Running on 7.2-RELEASE, Opera 10.00 build 4585 (native) and would like to 
> view flash enabled websites. Anyone with a howto? Have googled extensively 
> and followed a variety of methods all unsuccessful to date. Like to here from 
> someone who has it running?
> 
> Cheers,
> -- 
> Tom Mende 
> ___

Hi,

I'm using graphics/gnash. It works good enough to watch youtube clips at least.
Ok for both ffox and opera.


-- 
Best regards,
Jeff

| "Nobody wants to say how this works.  |
|  Maybe nobody knows ..."  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: ZFS and DMA read error

2009-09-07 Thread Daniel Eriksson
Mark Stapper wrote:

> So I see. Could this be why I haven't had any read errors anymore?
> (After the zpool scrub that is)

Possibly, but in that case the SMART selftest should pass also. Have you
tried a selftest after you did the scrub?

/Daniel Eriksson
___
freebsd-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: Opera 10.00 (native) & flash

2009-09-07 Thread Jerry
On Mon, 7 Sep 2009 14:45:18 +0400
Jeff Laine  wrote:

> On Mon,07-09-2009 [18:44:54], Tom Mende wrote:
> > Running on 7.2-RELEASE, Opera 10.00 build 4585 (native) and would
> > like to view flash enabled websites. Anyone with a howto? Have
> > googled extensively and followed a variety of methods all
> > unsuccessful to date. Like to here from someone who has it running?
> 
> I'm using graphics/gnash. It works good enough to watch youtube clips
> at least. Ok for both ffox and opera.

I don't think that readily addresses the OP's question. I personally
have never gotten 'flash', or most other add-ons to work Opera. It is
one of the main reasons that I discourage others from using it. It
suffers even worse on a Windows machine. RoboForm does not work with
the Opera browser. Opera has a closed architecture that does not allow
third party browser extensions.

I would strongly advocate the use of another browser.

-- 
Jerry
ges...@yahoo.com

Necessity has no law.

St. Augustine
___
freebsd-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 such thing as a 'soft checksum' tool?

2009-09-07 Thread Modulok
>> Modulok  writes:

>> > I'm not even sure such a tool exists, but it's worth asking:
>> >
>> > I'm looking for a pseudo-checksum tool for use with catalogging
>> > images. For example, a strict checksum algorithm, like the sha
>> > family, will produce a dramatically different checksum for two
>> > files which differ by only a single bit. I'm looking for
>> > something where two images images, which are similar, get a
>> > proportionally similar checksum. When I speak of similarities
>> > I'm referring to their image patterns. i.e two images of
>> > differing sizes, which are otherwise identical, would produce
>> > very similar checksums. So the closer the checksums are, the
>> > more similar two given images are.
>> >


>> > Does anyone know of anything like this?
>
> See if this ...
>
>   http://www.stonehenge.com/merlyn/LinuxMag/col50.html
>
>
> ... fits.
>
>
>   - parv

*laughs* It makes me feel pretty good after reading how Mr.Schwartz
went about it. Before I got any replies I started to think about how
I'd do it and began to sketch out an algorithm on the kitchen floor.
(Largest black-board in my house.) The general approach was pretty
much the same; Recursive bucketing of pixels and generating averaged
values down to a user-defined finite limit.

Thanks to all who have replied thus far!
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Replacing linux_base-fc-4_14 with linux_base-f10-10_1

2009-09-07 Thread Jerry
I presently have linux_base-fc-4_14 installed on a FreeBSD-7.2 machine.
Would there be any benefit installing linux_base-f10-10_1 instead? I
believe I have to remove the linux_base-fc-4_14 installation first. Are
there any pitfalls, etc? I assume I would have to rebuild any ports
that depended on the older version after installing the newer one.

What version is the default for FreeBSD-8.0 that will soon be released?

-- 
Jerry
ges...@yahoo.com

In time, every post tends to be occupied by an
employee who is incompetent to carry out its duties.

Dr. L. J. Peter
___
freebsd-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: Replacing linux_base-fc-4_14 with linux_base-f10-10_1

2009-09-07 Thread Boris Samorodov
On Mon, 7 Sep 2009 07:29:32 -0400 Jerry wrote:

> I presently have linux_base-fc-4_14 installed on a FreeBSD-7.2 machine.
> Would there be any benefit installing linux_base-f10-10_1 instead? I

If it works for you, don't touch it. ;-)

As for benefits:
. use supported linux distributions (with security updates, etc.);
. hardware acceleration _may_ work (strange but at some cases it
works but not at others: googleearth works for me but has been
reported by someone not to work).

> believe I have to remove the linux_base-fc-4_14 installation first. Are
> there any pitfalls, etc? I assume I would have to rebuild any ports
> that depended on the older version after installing the newer one.

There is some info at /usr/ports/UPDATING.

> What version is the default for FreeBSD-8.0 that will soon be released?

FreeBSD-8 uses linux -f10- infrastructure ports.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


language dutch spell check evolution

2009-09-07 Thread Roy Stuivenberg
Hello,

Does anyone have a clue how I can change language to dutch in Evolution
for spelling check?  Default is now English, and that's my only option
so it seems   -->   (7.2-stable & gnome2, English)

Regards,

Roy Stuivenberg.

___
freebsd-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: Inconsistency in root partition size

2009-09-07 Thread Mel Flynn
On Monday 07 September 2009 04:24:07 jaymax wrote:

> Filesystem  1K-blocks  UsedAvail Capacity  Mounted on
> /dev/ad0s1a507630503694   -36674   108%/
>
> Don't know if the above can show anything

It is of course entirely possible at this point, that the disk *is* full. 
Could you show: du -sxh / from single user mode, without anything mounted?

That would ensure that the offending file is not hiding behind a mountpoint. 
Like: /usr/hiding_here.
-- 
Mel
___
freebsd-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 such thing as a 'soft checksum' tool?

2009-09-07 Thread Mel Flynn
On Monday 07 September 2009 05:09:53 Michael David Crawford wrote:
> > M> I'm looking for a pseudo-checksum tool for use with cataloging images.
>
> I've seen such tools advertised, but they were proprietary products and
> only worked on windows.
>
> One way you could approach it might be to use a blur filter to blur each
> of your images, and then to compare the blurred images.  Small
> differences in individual pixels would be blurred away.

Did you guys miss Charlie Kester's message? And the above does not work, 
because of compression anyway. Just because you think of an image as a bitmap, 
does not mean it's stored as such.
-- 
Mel
___
freebsd-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: host access point w/ WAP help!

2009-09-07 Thread Mel Flynn
Hi,

0) Always mention OS version, bonus points for uname -a.

On Monday 07 September 2009 02:27:04 Nerius Landys wrote:
> I am following the Handbook instructions for setting up a FreeBSD
> wireless host access point:
> http://www.freebsd.org/doc/en/books/handbook/network-wireless.html
>
> r...@speedy# dmesg | grep ath
> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
> ath0:  mem 0xff8f-0xff8f irq 21 at device 0.0 on pci1
> ath0: [ITHREAD]
> ath0: WARNING: using obsoleted if_watchdog interface
> ath0: Ethernet address: 00:02:6f:61:e6:7d
> ath0: mac 7.9 phy 4.5 radio 5.6
> ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490
> hal flags 0x150), hal status 12

I read you got it working so far, but if you want this resolved or diagnosed, 
the uname -a is mandatory and an ident /boot/kernel/if_ath.ko as well.
-- 
Mel
___
freebsd-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: Opera 10.00 (native) & flash

2009-09-07 Thread Mel Flynn
On Monday 07 September 2009 13:14:29 Jerry wrote:

> Opera has a closed architecture that does not allow
> third party browser extensions.

For one, there are widgets. For two, it still supports 
the nsplugin interface. For three, some people argue 
that allowing extensions access to local disk, network
threads and pretty much everything in the browser,
including the ability to fight wars with competing
products[1], is less preferable.

[1] 

-- 
Mel
___
freebsd-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: ZFS and DMA read error

2009-09-07 Thread Mark Stapper
Daniel Eriksson wrote:
> Mark Stapper wrote:
>
>   
>> So I see. Could this be why I haven't had any read errors anymore?
>> (After the zpool scrub that is)
>> 
>
> Possibly, but in that case the SMART selftest should pass also. Have you
> tried a selftest after you did the scrub?
>
> /Daniel Eriksson
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>   
multiple times



signature.asc
Description: OpenPGP digital signature


Re: language dutch spell check evolution

2009-09-07 Thread Mark Stapper
Roy Stuivenberg wrote:
> Hello,
>
> Does anyone have a clue how I can change language to dutch in Evolution
> for spelling check?  Default is now English, and that's my only option
> so it seems   -->   (7.2-stable & gnome2, English)
>
> Regards,
>
> Roy Stuivenberg.
>
> ___
> freebsd-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 should install the dutch aspell dictionary: textproc/nl-aspell
Groeten,
Mark



signature.asc
Description: OpenPGP digital signature


Re: Opera 10.00 (native) & flash

2009-09-07 Thread Jerry
On Mon, 7 Sep 2009 15:15:02 +0200
Mel Flynn  wrote:

> For one, there are widgets. For two, it still supports 
> the nsplugin interface. For three, some people argue 
> that allowing extensions access to local disk, network
> threads and pretty much everything in the browser,
> including the ability to fight wars with competing
> products[1], is less preferable.

Then again, there are those who are not as paranoid as others. In any
case, Opera (and I have not tried the 10 version) is IMHO, not as
serviceable as many competing alternative browsers. However, if it
meets your needs, then so be it.

Please, do not CC me as I am subscribed to this list. I don't need two
copies of the same post.

-- 
Jerry
ges...@yahoo.com

If you're constantly being mistreated,
you're cooperating with the treatment.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


xorg: (EE) XKB: No components provided for device Virtual core keyboard

2009-09-07 Thread Anton Shterenlikht
This has probably been discussed many times already, but I just
cannot find any relevant advice on the net.

On 8.0-beta2 i386 with intel 845M chip and xf86-video-intel-2.7.1

when I try to login into xdm login prompt, the login and passwd
are accepted, I get a black screen for a second and then I get
back again to the xdm login prompt.

In /var/log/xdm.log I get

(EE) XKB: No components provided for device Virtual core keyboard 

I've updated to full x11/xorg port. All my ports are up to date.

My xorg.conf is below.

Please advise

many thanks

#

> cat /etc/X11/xorg.conf

Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
Option  "DontZap" "false"
EndSection

#Section "Module"
#   Load "freetype"
#EndSection

Section "Files"
ModulePath  "/usr/local/lib/xorg/modules"
FontPath"/usr/local/lib/X11/fonts/misc/"
FontPath"/usr/local/lib/X11/fonts/TTF/"
FontPath"/usr/local/lib/X11/fonts/OTF"
FontPath"/usr/local/lib/X11/fonts/Type1/"
FontPath"/usr/local/lib/X11/fonts/100dpi/"
FontPath"/usr/local/lib/X11/fonts/75dpi/"
FontPath"/usr/local/lib/X11/fonts/bitstream-vera/"
FontPath"/usr/local/lib/X11/fonts/cyrillic/"
EndSection

Section "Monitor"
Identifier   "Monitor0"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel"   # []
#Option "SWcursor"  # []
#Option "ColorKey"  # 
#Option "CacheLines"# 
#Option "Dac6Bit"   # []
#Option "DRI"   # []
#Option "NoDDC" # []
#Option "ShowCache" # []
#Option "XvMCSurfaces"  # 
#Option "PageFlip"  # []
#Option "AccelMethod" "UXA"
Identifier  "Card0"
Driver  "intel"
VendorName  "Intel Corporation"
BoardName   "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics 
Device"
BusID   "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Viewport   0 0
Depth   32
EndSubSection
EndSection


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 331 5924
___
freebsd-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: Samba PDC with LDAP backend

2009-09-07 Thread Ruben de Groot
On Fri, Sep 04, 2009 at 02:43:00PM +0700, Olivier Nicole typed:
> Hi Ruel,
> 
> > But, I have one question left..
> > How do you join the Windows xp client on the domain? Is there another tweak
> > must be done?
> 
> The same way a PC would join any samba domain.
> 
> The PC joining Samba does not know that Samba is using LDAP or
> anything else for authentication, so the PC talks to Samba the way it
> always does/did.
> 
> (I managed, with some effort, to replace one Samba server
> authenticating to Unix /etc/passwd, by a Samba server authenticating
> with LDAP, without the XP clients noticing, that is nothing at all to
> be done on XP).

Yes, I have a script that does precisely this (read master.passwd, smbpasswd
and group and create an LDIF to import into LDAP. This is now being used for
the migration of 1200 samba servers from backend=smbpasswd to backend=ldapsam.

Most important things is preserving the SID's (net getlocalsid) and group 
mappings
(net groupmap list). Windows clients will not notice any difference.

Ruben
___
freebsd-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[2]: How to correct *Failed sysctlbyname("net.inet.ip.fw.tables_max")*

2009-09-07 Thread Коньков Евгений
Здравствуйте, Ian.

Вы писали 6 сентября 2009 г., 16:37:56:

IS> In freebsd-questions Digest, Vol 274, Issue 12, Message 18
IS> On Sat, 5 Sep 2009 12:57:46 +0300 ??? ???  wrote:

 >> vpn# ipfw table 12 list
 >> ipfw: Failed sysctlbyname("net.inet.ip.fw.tables_max")
 >> vpn# sysctl -a | grep net.inet.ip.fw
 >> net.inet.ip.fw.dyn_keepalive: 1
 >> net.inet.ip.fw.dyn_short_lifetime: 5
 >> net.inet.ip.fw.dyn_udp_lifetime: 10
 >> net.inet.ip.fw.dyn_rst_lifetime: 1
 >> net.inet.ip.fw.dyn_fin_lifetime: 1
 >> net.inet.ip.fw.dyn_syn_lifetime: 20
 >> net.inet.ip.fw.dyn_ack_lifetime: 300
 >> net.inet.ip.fw.static_count: 46
 >> net.inet.ip.fw.dyn_max: 4096
 >> net.inet.ip.fw.dyn_count: 0
 >> net.inet.ip.fw.curr_dyn_buckets: 256
 >> net.inet.ip.fw.dyn_buckets: 256
 >> net.inet.ip.fw.default_rule: 65535
 >> net.inet.ip.fw.verbose_limit: 0
 >> net.inet.ip.fw.verbose: 1
 >> net.inet.ip.fw.debug: 1
 >> net.inet.ip.fw.one_pass: 0
 >> net.inet.ip.fw.autoinc_step: 100
 >> net.inet.ip.fw.enable: 1
 >> vpn# uname -a
 >> FreeBSD vpn.in 7.1-RELEASE-p7 FreeBSD 7.1-RELEASE-p7 #1: Sat Sep  5 
 >> 00:26:18 EEST 2009 k...@vpn.in:/usr/obj/usr/src/sys/KES_KERN_v71  i386
 >> 
 >> I just upgrade from 7.0.
 >> Sources are RELENG_7_1

IS> Kes, perhaps your kernel and userland sources may be out of synch?

IS> I haven't hunted through CVS, but located a message in ipfw@ from 
IS> Ganbold with a patch proposing to add that very sysctl to ip_fw2.c
IS> dated 1st September 2008 .. was that before or after 7.1-RELEASE?

IS> Happy hunting, Ian

I have just updated:

kes# cat cvsup-src.conf
*default host=cvsup7.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_7_1
*default delete use-rel-suffix
*default compress
src-all

#cvsup -g -L 2 /usr/local/etc/cvsup/cvsup-src.conf

Then
make buildkernel KERNCONF=KES_KERN_v71
make installkernel KERNCONF=KES_KERN_v71


-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
freebsd-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: Opera 10.00 (native) & flash

2009-09-07 Thread Freminlins
2009/9/7 Jerry 

> I don't think that readily addresses the OP's question. I personally
> have never gotten 'flash', or most other add-ons to work Opera. It is
> one of the main reasons that I discourage others from using it. It
> suffers even worse on a Windows machine. RoboForm does not work with
> the Opera browser. Opera has a closed architecture that does not allow
>  third party browser extensions
>

Sorry, but that is just bollocks.

Opera and Flash work perfectly well on Windows and Solaris (yep, there's a
native plugin). And Flash is a third party plugin, i.e. it is not provided
by Opera. If Adobe doesn't provide a native Flash plugin for FreeBSD that is
not Opera's fault.


>  I would strongly advocate the use of another browser.


And still there is no native FreeBSD plugin. If you can't get it to work you
should ask for some help.

Jerry
> ges...@yahoo.com
>

MF.
___
freebsd-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: Inconsistency in root partition size

2009-09-07 Thread jaymax



Polytropon wrote:
> 
> 
> You can of course read "man hier" to obtain information about
> the file system hierarchy. In settings where partitions are
> used to separate functional parts of the hierarchy, there's
> often not much stuff that goes into /, because / is primarily
> reserved for the basic system and the mountpoints; things
> like /tmp, /var, /usr and /home go to different partitions.
> 
> Check the content of /boot. Maybe you have more than one
> kernel image and module files in there. You can as well use
> 
>   # du -sch /
> 
> with only / mounted to get a first impression which subtrees
> do occupy how much disk space.
> 



> mach_1# df -k
> Filesystem  1K-blocks  UsedAvail Capacity  Mounted on
> /dev/ad0s1a5076304073845963687%/
> devfs   1 10   100%/dev
> /dev/ad0s1e505646 14212   450984 3%/tmp
> /dev/ad0s1f  36205990  25759138  755037477%/usr
> /dev/ad1s1e  74696394   9836586 5888409814%/disk02
> /dev/ad4s1d 376405390 252115006 9417795473%/disk03
> devfs   1 10   100%/usr/var/named/dev
> mach_1# cd /
> mach_1# du -xhc
> 2.0K./.snap
> 2.0K./disk02
> 2.0K./disk03
> 2.0K./tmp
> 2.0K./usr
> 512B./dev
> 2.0K./cdrom1
> 2.1M./stand
> 3.1M./etc
> 2.0K./cdrom
> 902K./bin
>  21M./boot
> 3.2M./lib
> 270K./libexec
> 2.0K./mnt
> 2.0K./proc
> 2.0K./dist
> 7.8M./root
> 3.3M./sbin
> 2.0K./.mozilla
> 2.0K./net
> 2.0K./WARD2V1
> 2.0K./ORIN
> 2.0K./WARA
> 2.0K./ORNUSR
> 2.0K./WARD3V1
> 2.0K./ORND02
> 2.0K./WARUSR
> 1.2M./package
> 2.0K./service
> 4.0K./lost+found
>  43M.
>  43Mtotal
> 

Do these look normal or average, compare total with df - k output of
/dev/ad0s1a
I don't quite know what next to do


-- 
View this message in context: 
http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25334820.html
Sent from the freebsd-questions mailing list archive at Nabble.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"


Re: Inconsistency in root partition size

2009-09-07 Thread Mel Flynn
On Monday 07 September 2009 20:54:51 jaymax wrote:

> > mach_1# df -k
> > Filesystem  1K-blocks  UsedAvail Capacity  Mounted on
> > /dev/ad0s1a5076304073845963687%/
> > devfs   1 10   100%/dev
> > /dev/ad0s1e505646 14212   450984 3%/tmp
> > /dev/ad0s1f  36205990  25759138  755037477%/usr
> > /dev/ad1s1e  74696394   9836586 5888409814%/disk02
> > /dev/ad4s1d 376405390 252115006 9417795473%/disk03
> > devfs   1 10   100%/usr/var/named/dev
> > mach_1# cd /
> > mach_1# du -xhc

> >  43Mtotal
>
> Do these look normal or average, compare total with df - k output of
> /dev/ad0s1a
> I don't quite know what next to do

Did you do the du without anything mounted? Cause you have the df output with 
mounts.
If you can't find the missing space, then I suggest making a backup of / with 
dump(8), booting from livefs and restoring the dump. The dump should not be in 
the 390M range, rather in the 40-50M range.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


"turn authentication on" -- a simple how to please!!

2009-09-07 Thread David Southwell
My mailserver uses postfix and has a number of virtual domains. I am getting 
the following difficulties on delivery of legitimate emails to remote 
addresses failing with a request to tun authentication on. I am comparatively 
new to managing mailservers. Could someone please tell me what I need to do. 
My searches on google seem to give me long explanations of what is meant to 
happen but I cannot find simple instructions on how to fulfill the 
requirements!!

dns1# fgrep abc /var/log/maillog
Sep  7 17:01:59 dns1 postfix/smtp[86489]: 179BE34D41D: 
to=, 
relay=mail.abc.org.uk[xxx.xxx.xxx.xxx]:25, delay=2.2, delays=2/0/0.15/0.03, 
dsn=5.0.0, status=bounced (host mail.abc.org.uk[xxx.xxx.xxx.xxx] said: 550 
Please turn authentication on (in reply to RCPT TO command))
dns1#

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


Problems with module cx88

2009-09-07 Thread Frank Wissmann

Hi, folks!
Having installed a TV-card (WinTV HVR-1100) I now want to use it. there 
are currently two problems:


1. When I boot into KDE 3.5.10, my artsd is not starting giving the message:

"Can't open /dev/dsp - operation not permitted"

This is happening till I installed and loaded (via /boot/loader.conf) 
the modules under /usr/ports/multimedia/cx88. Are there any conflicts 
known which can be solved?


2. When I try to capture a video from my old tape-recorder with the command

cx88 -d /dev/cx88video0 -f name_of_movie.m2t -x /home/frank/cx88.xml

I get the following message:

[cx88] Warning: the -f option is deprecated; please instead use -u with 
a file:// URL prefix

[cx88] Unable to create cx88 video driver

What does that mean? I thought I had installed the drivers with the 
port. Can anybody point me to any web resource? I still found


http://corona.homeunix.net/cx88wiki

but it doesn't seem to fit my needs.

Greetings Frank

___
freebsd-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: "turn authentication on" -- a simple how to please!!

2009-09-07 Thread Mel Flynn
On Monday 07 September 2009 21:49:42 David Southwell wrote:

> My mailserver uses postfix and has a number of virtual domains. I am
> getting the following difficulties on delivery of legitimate emails to
> remote addresses failing with a request to tun authentication on.

Normally this shouldn't occur if you are relaying yourself. Remote mail 
servers should not have authentication on for outside mail. This would only be 
the case if the remote postmaster considers his mailserver private and does 
not want to receive mail from unknown people.

Therefore, this should only happen if your relay via your ISP using the 
relay_host parameter in main.cf.

> I am
> comparatively new to managing mailservers. Could someone please tell me
> what I need to do. My searches on google seem to give me long explanations
> of what is meant to happen but I cannot find simple instructions on how to
> fulfill the requirements!!
>
> dns1# fgrep abc /var/log/maillog
> Sep  7 17:01:59 dns1 postfix/smtp[86489]: 179BE34D41D:
> to=,
> relay=mail.abc.org.uk[xxx.xxx.xxx.xxx]:25, delay=2.2, delays=2/0/0.15/0.03,
> dsn=5.0.0, status=bounced (host mail.abc.org.uk[xxx.xxx.xxx.xxx] said: 550
> Please turn authentication on (in reply to RCPT TO command))
> dns1#

Let us know what's not simple about this:
http://www.postfix.org/SASL_README.html#client_sasl
-- 
Mel
___
freebsd-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: "turn authentication on" -- a simple how to please!!

2009-09-07 Thread Jerry
On Mon, 7 Sep 2009 20:49:42 +0100
David Southwell  wrote:

> My mailserver uses postfix and has a number of virtual domains. I am
> getting the following difficulties on delivery of legitimate emails
> to remote addresses failing with a request to tun authentication on.
> I am comparatively new to managing mailservers. Could someone please
> tell me what I need to do. My searches on google seem to give me long
> explanations of what is meant to happen but I cannot find simple
> instructions on how to fulfill the requirements!!
> 
> dns1# fgrep abc /var/log/maillog
> Sep  7 17:01:59 dns1 postfix/smtp[86489]: 179BE34D41D: 
> to=, 
> relay=mail.abc.org.uk[xxx.xxx.xxx.xxx]:25, delay=2.2,
> delays=2/0/0.15/0.03, dsn=5.0.0, status=bounced (host
> mail.abc.org.uk[xxx.xxx.xxx.xxx] said: 550 Please turn authentication
> on (in reply to RCPT TO command)) dns1#

You question is probably better suited for the Postfix forum:
http://www.postfix.com/

In any case, you will need to post the output of:

postconf -n

Alternately, you can use: postfinger, available at:
http://ftp.wl0.org/SOURCES/postfinger

You could also try reading the information at:
http://www.postfix.com/DEBUG_README.html

-- 
Jerry
ges...@yahoo.com

As well look for a needle in a bottle of hay.

Miguel de Cervantes
___
freebsd-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 - works for wireless fails for mouse

2009-09-07 Thread Eitan Adler
On my laptop when I boot with ACPI enabled my wireless card works but
my mouse fails a few seconds after starting moused or X.  If I boot
without ACPI my mouse works but the wireless card fails.
Is it possible to disable ACPI for the mouse and only the mouse
(/dev/psm0, IRQ 12, glidepoint type)?

OS == FreeBSD 8.0 BETA2

I'm currently stuck with a sub-par internet connection so if this has
been covered by the handbook or google I appologize.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


"me" in ipfw rules - does it include aliases?

2009-09-07 Thread Tom Worster
the ipfw man page says:

  me   matches any IP address configured on an interface in the system.

which suggests that if i code my rules using "me" then when i add an alias
ip address to an interface with ifconfig, these "me" rules will immediately
work for the newly added address as they do for other addresses.

is that correct?

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


Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-07 Thread Gary Kline
On Mon, Sep 07, 2009 at 08:06:51AM +0100, Mark Willson wrote:
> Gary Kline wrote:
> >>Yes, this works just fine.  I findthat there are about 130 places 
> >>that I need to
> >>track...  --yeah, i did over-do it in the time-breaks in my story.  
> >>
> >>Is there a way of printing the string/line in the `manuscript' file 
> >>along with the line
> >>number?  I'm well into a copyedit of the manuscript and would rather 
> >>not start over!
> >>
> >>thanks for this.
> >>
> >:wq
> >
> > Sorry:: sounds a bit moronic:: not print the blank line/newline!  
> > but print the
> > NR-1-th line.
> 
> Gary,
> 
> The following version should do what you want:
> 
> BEGIN {
> ncnt = 0
> prev = "BOF"
> }
> /^ *$/ {
>   ncnt++;
>   if (ncnt > 3) {
>   print "Emphasis at " NR ": " prev;
>   prev = "-multiple-"
>   ncnt = 0;
>   }
>   next;
> }
>{ncnt = 0; prev = $0}
> 
> -mark


It does! outstanding

thanks again,

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"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 5.67a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-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: Inconsistency in root partition size

2009-09-07 Thread jaymax



Mel Flynn-2 wrote:
> 
> On Monday 07 September 2009 20:54:51 jaymax wrote:
> 

Thanks, will do a new dump, one question - how can one determine that the
dumpfile produced is good?
-- 
View this message in context: 
http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25337689.html
Sent from the freebsd-questions mailing list archive at Nabble.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"


Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-07 Thread Gary Kline
On Mon, Sep 07, 2009 at 08:55:44AM +0200, Kalle M?ller wrote:
> I know its not in commandline, but in vim (maybe even vi) you could just
> /\n\n\n
> 
> This would find new lines... And you could jump between them with n..
> 
> and :set ruler so you can find linenumber
> 



DIdn't think of this, but it doesn't seem to work in vi or vim.  i think i've 
got 
vim set to vi-mode.  anyway, the awk script that mark willson posted works.  

next time i'll put in something like XBREAKX  for my v-breaks.

gary






> On Sun, Sep 6, 2009 at 2:36 AM, Gary Kline  wrote:
> 
> >
> >in my manuscript, i have many places where i'ved used several
> > newlines to indicate a
> >jump in time, or topic, or mood, or <>.  i have lost these
> > vertical spacing
> >in all but my original draft.  can i use grep somehow to find these
> > extra newlines?
> >
> >if not grep, then sed, ed, or what?!
> >
> >tia,
> >
> >gary
> >
> >
> >
> > --
> >  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
> > Unix
> >http://jottings.thought.org   http://transfinite.thought.org
> >The 5.67a release of Jottings: http://jottings.thought.org/index.php
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscr...@freebsd.org"
> >
> 
> 
> 
> -- 
> 
> Med Venlig Hilsen
> 
> Kalle R. Møller

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 5.67a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-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: Inconsistency in root partition size

2009-09-07 Thread Richard Mahlerwein
--- On Mon, 9/7/09, jaymax  wrote:

>From: jaymax 
>Subject: Re: Inconsistency in root partition size
>To: freebsd-questions@freebsd.org
>Date: Monday, September 7, 2009, 7:06 PM
>
>Mel Flynn-2 wrote:
>> 
>> On Monday 07 September 2009 20:54:51 jaymax wrote:
>> 
>
>Thanks, will do a new dump, one question - how can one determine that the
>dumpfile produced is good?
>-- 

I've always found a test restore works wonders for the peace of my mind.



Two types:



cd 

restore -Nrf 



To test that it all "appears" it ought to restore.  Then, 


cd 

restore -if  



To confirm a few files restore properly completely.

YMMV, and obviously check man restore!



-Rich






___
freebsd-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: Error compiling KDE 3

2009-09-07 Thread RW
On Wed, 2 Sep 2009 20:08:26 -0500
Andrew Gould  wrote:

> On Wed, Sep 2, 2009 at 3:03 PM, Jerry wrote:

> > cd /usr/ports/security/gnutls
> > make deinstall && make reinstall && make distclean
> > cd -
> > make install
> >
> > --
> > Jerry
> > ges...@yahoo.com
> >
> 
> The package list may have changed between version 2.6.4 and 2.8.3.  I
> would recommend replacing "make deinstall", above, with:
> 
> pkg_delete gnutls-2.6.4

There's no significant difference between "make deinstall" and
pkg_delete - the last time I checked there was only one port that
didn't use the default "make deinstall" target, which calls 
"pkg_delete -f".

Usually this kind of thing happens because files moved between
ports, and the best thing is to remove all of the affected ports before
upgrading. Normally there's an UPDATING entry advising this. 

The FORCE_PKG_REGISTER method is a bit of cludge, but I gather it also
works for this kind of build problem. I guess it allows a repeat install
when a package has lost files due to a transient conflict.
___
freebsd-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: difficult-to-phrase question...

2009-09-07 Thread RW
On Wed, 2 Sep 2009 16:43:30 -0700
Gary Kline  wrote:

> 
>   i can use grep to find "S" and grep gives me the file[s] that
>   have the string.  now, is there any easy way of reading that
>   file, or deleting or otherwise munging that file?
> 
>   nutshell is that every time i reboot (into kde), kde wastes
>   time/cpu spawning unwanted whatever: versions of konqueror,
> kttsd, ksayit, 

Wouldn't you be better-off just turning-off session management, and
using autostart instead
___
freebsd-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: difficult-to-phrase question...

2009-09-07 Thread Gary Kline
On Tue, Sep 08, 2009 at 01:56:12AM +0100, RW wrote:
> On Wed, 2 Sep 2009 16:43:30 -0700
> Gary Kline  wrote:
> 
> > 
> > i can use grep to find "S" and grep gives me the file[s] that
> > have the string.  now, is there any easy way of reading that
> > file, or deleting or otherwise munging that file?
> > 
> > nutshell is that every time i reboot (into kde), kde wastes
> > time/cpu spawning unwanted whatever: versions of konqueror,
> > kttsd, ksayit, 
> 
> Wouldn't you be better-off just turning-off session management, and
> using autostart instead



sounds like a good idea; how do i accomplish this?  also, what if i 
have 
a  konqueror running and sites running and the power goes out.
sometimes i want the apps to restart, not usually.  is it possible to
save Some programs state and let others go?

gary

ps:  i'm new to kde/gnome, but here on tao [freebsd] have mostly kde[3]
 going.  some cli tools, like mutt, are almost sacred. 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 5.67a release of Jottings: http://jottings.thought.org/index.php

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


beta-testers needed

2009-09-07 Thread Mikel King
Looking for a few volunteers to help test drive the BSD News Networks'  
new site.


If you are interested in becoming a beta-tester and helping out please  
email me directly off list.


Regards,
Mikel King
CEO, Olivent Technologies
Senior Editor, Daemon News
Columnist, BSD Magazine
6 Alpine Court,
Medford, NY 11763

skype:mikel.king
http://olivent.com
http://mikelking.com
http://twitter.com/mikelking

___
freebsd-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: Inconsistency in root partition size

2009-09-07 Thread jaymax


Mel Flynn-2 wrote:
> 
> On Monday 07 September 2009 20:54:51 jaymax wrote:
> 
> Did you do the du without anything mounted? Cause you have the df output
> with 
> mounts.
> If you can't find the missing space, then I suggest making a backup of /
> with 
> dump(8), booting from livefs and restoring the dump. The dump should not
> be in 
> the 390M range, rather in the 40-50M range.
> 

Disconnected my drives, except for system root, then du is not found
mach_1# whereis du


> du: /usr/bin/du /usr/share/man/man1/du.1.gz /usr/src/usr.bin/du
> 
could have done a 'umount' but results would have been the same, so I think.

Did a backup (dump) of /, file produced in 400Mb range

dump -0Lauf /disk03/dump/root2.dump /dev/ad0s1a

dumpfile size


> mach_1# ls -l /disk03/dump/root2.dump
> -rw-r--r--  1 root  wheel  426956800 Sep  7 16:31 /disk03/dump/root2.dump
> 
> 
> Filesystem  1K-blocks  UsedAvail Capacity  Mounted on
> /dev/ad0s1a5076304077545926687%/
> 

Compared with 


> du -xhc / > 44Mtotal
> 

So I decided to do a listing of files in the dump


> restore -tf /disk03/dump/root2.dump > rootrestore-0.lst
> 

To my surprise rootrestore-0.lst contains a whole listings of ./usr/ files
ex.


>   2926  ./usr/include/bsnmp/snmpmod.h
>   2927  ./usr/include/bsnmp/snmp_atm.h
> 

Now /usr is on a separate and distinct partition 


> /dev/ad0s1f  36205990  25765232  754428077%/usr
> 

Hope someone can make some sense of this.

-- 
View this message in context: 
http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25338956.html
Sent from the freebsd-questions mailing list archive at Nabble.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"


Re: wireless: host access point w/ WAP help!

2009-09-07 Thread Nerius Landys
> 0) Always mention OS version, bonus points for uname -a.

nlan...@speedy# uname -a
FreeBSD speedy.i 7.1-RELEASE-p7 FreeBSD 7.1-RELEASE-p7 #0: Thu Aug  6
06:05:47 PDT 2009 r...@speedy.i:/usr/obj/usr/src/sys/GENERIC  i386

>> r...@speedy# dmesg | grep ath
>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
>> ath0:  mem 0xff8f-0xff8f irq 21 at device 0.0 on pci1
>> ath0: [ITHREAD]
>> ath0: WARNING: using obsoleted if_watchdog interface
>> ath0: Ethernet address: 00:02:6f:61:e6:7d
>> ath0: mac 7.9 phy 4.5 radio 5.6
>> ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490
>> hal flags 0x150), hal status 12
>
> I read you got it working so far, but if you want this resolved or diagnosed,
> the uname -a is mandatory and an ident /boot/kernel/if_ath.ko as well.

nlan...@speedy#  ident /boot/kernel/if_ath.ko
/boot/kernel/if_ath.ko:
 $FreeBSD: src/sys/dev/ath/if_ath.c,v 1.177.2.2.2.1 2008/11/25
02:59:29 kensmith Exp $
 $FreeBSD: src/sys/dev/ath/if_ath_pci.c,v 1.19.6.1 2008/11/25
02:59:29 kensmith Exp $

I guess the only real problem remaining is this message in /var/log/messages:

Sep  6 17:46:47 speedy kernel: ath0: ath_chan_set: unable to reset
channel 6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12

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


how to get rid of a character, 0x80?

2009-09-07 Thread Gary Kline

anybody know why getchar() doesn't see 0x80 == 0200?  if getchar()
is limited to 7-bit characters, what then?

% od -c file 

shows me that every character fits into 8 bits, so getwchar() is the 
next thing.
but doesn't getwchar grab wide-chars only: 16 bits?

tia, guys,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 5.67a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-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: how to get rid of a character, 0x80?

2009-09-07 Thread Mark Stapper
Gary Kline wrote:
>   anybody know why getchar() doesn't see 0x80 == 0200?  if getchar()
>   is limited to 7-bit characters, what then?
>
>   % od -c file 
>
>   shows me that every character fits into 8 bits, so getwchar() is the 
> next thing.
>   but doesn't getwchar grab wide-chars only: 16 bits?
>
>   tia, guys,
>
>   gary
>
>
>
>   
Hello,

First of, this isn't really a BSD question.
Second, if you have an example code we might be able to help.
Presumably, you want to read a capital C with cedille? (0x80 128 Ç)
Example from: http://www.cplusplus.com/reference/clibrary/cstdio/getchar/
compiled on FreeBSD 7.2 with gcc 4.2.1 output:
"
Enter text. Include a dot ('.') in a sentence to exit:
sfeo
sfeo
Çsdfa
Çsdfa
"
besides.. 0x80!=0200
it's 0200 octal which is 128 decimal...
Might be why it doesn't work for you.
Greetz,
Mark



signature.asc
Description: OpenPGP digital signature


Re: Freebsd Built-in vacation program does not auto reply

2009-09-07 Thread lyd mc
Hi Andre,

I haven't solve it yet. I use the one in the ports tree 
(/usr/ports/mail/vacation) as my work around.

Now I use sieve script for vacation notice.

Do you have a patch? May be I can use it in the future... Thanks.

Best Regards,

alyd

--- On Sat, 9/5/09, Andre Albsmeier  wrote:

From: Andre Albsmeier 
Subject: Re: Freebsd Built-in vacation program does not auto reply
To: "lyd mc" 
Cc: freebsd-questions@freebsd.org
Date: Saturday, September 5, 2009, 2:43 AM

On Thu, 16-Apr-2009 at 18:00:26 +, lyd mc wrote:
> Hi guys,
> 
> Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto reply?
> 
> I am using fresh installed Freebsd7.0 and 7.1. here is my configs.

Did you solve the problem already? I had a similar issue and
tracked it down to a really strange compiler bug...

    -Andre

> 
> Under the home directory of the user (alydio.mc)
> 
> .forward
> ??? \alydio.mc, "|/usr/bin/vacation alydio.mc"
> 
> .vacation.msg
> ?? Subject: On vacation message
> ?? From: alydio...@mydomain.com
> ?? I'm on vacation and will not be reading my mail for a while.
> ? Your mail will be dealt with when I return.
> .
> from postfix/sendmail logs:
> 
> ...sniff
> ?(delivered to command: /usr/bin/vacation alydio.mc)
> 
> after this nothing will happened... no errors no warnings...? 
> 
> However the one I installed from ports (/usr/local/bin/vacation) works fine.
> 
> 
> I want to use the freebsd base vacation program.? 
> 
> Please help.
> 
> Thank you,
> alydiomc
> 
> 
>       

-- 
Micro$oft: When will your system crash today?




___
freebsd-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 Built-in vacation program does not auto reply

2009-09-07 Thread Andre Albsmeier
[Please do not topquote]

On Tue, 08-Sep-2009 at 05:19:53 +, lyd mc wrote:
> Hi Andre,
> 
> I haven't solve it yet. I use the one in the ports tree 
> (/usr/ports/mail/vacation) as my work around.
> 
> Now I use sieve script for vacation notice.
> 
> Do you have a patch? May be I can use it in the future... Thanks.

No, I have a workaround. Do you have the sources to
compile vacation yourself? Can you recompile it without

-O2 -fno-strict-aliasing

and try again? And then recompile it with

-O2

and try this again?

-Andre

> 
> Best Regards,
> 
> alyd
> 
> --- On Sat, 9/5/09, Andre Albsmeier  wrote:
> 
> From: Andre Albsmeier 
> Subject: Re: Freebsd Built-in vacation program does not auto reply
> To: "lyd mc" 
> Cc: freebsd-questions@freebsd.org
> Date: Saturday, September 5, 2009, 2:43 AM
> 
> On Thu, 16-Apr-2009 at 18:00:26 +, lyd mc wrote:
> > Hi guys,
> > 
> > Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto 
> > reply?
> > 
> > I am using fresh installed Freebsd7.0 and 7.1. here is my configs.
> 
> Did you solve the problem already? I had a similar issue and
> tracked it down to a really strange compiler bug...
> 
>     -Andre
> 
> > 
> > Under the home directory of the user (alydio.mc)
> > 
> > .forward
> > ??? \alydio.mc, "|/usr/bin/vacation alydio.mc"
> > 
> > .vacation.msg
> > ?? Subject: On vacation message
> > ?? From: alydio...@mydomain.com
> > ?? I'm on vacation and will not be reading my mail for a while.
> > ? Your mail will be dealt with when I return.
> > .
> > from postfix/sendmail logs:
> > 
> > ...sniff
> > ?(delivered to command: /usr/bin/vacation alydio.mc)
> > 
> > after this nothing will happened... no errors no warnings...? 
> > 
> > However the one I installed from ports (/usr/local/bin/vacation) works fine.
> > 
> > 
> > I want to use the freebsd base vacation program.? 
> > 
> > Please help.
> > 
> > Thank you,
> > alydiomc
> > 
> > 
> >       
> 
> -- 
> Micro$oft: When will your system crash today?
> 
> 
> 
>   

-- 
Linux is only free if your time is worthless.
___
freebsd-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: "me" in ipfw rules - does it include aliases?

2009-09-07 Thread Nikos Vassiliadis

Tom Worster wrote:

the ipfw man page says:

  me   matches any IP address configured on an interface in the system.

which suggests that if i code my rules using "me" then when i add an alias
ip address to an interface with ifconfig, these "me" rules will immediately
work for the newly added address as they do for other addresses.



is that correct?


Yes, the "me" keyword is expanded to whatever IP address is
assigned on any interface in the system. It's updated whenever
an IP address is added to or removed from an interface. Use the
simple ruleset bellow to test it yourself:

lab# ipfw list
00100 allow ip from me to me
65535 deny ip from any to any

add alias & ping alias => success
remove alias & ping alias => failure

It's a really useful keyword, yet it's not panacea. When
using it, one has to think the possibility of an attacker
who uses "me" addresses. Use some interface checking as
well in your ruleset...

Nikos

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