Re: just a curiosity about auth.conf

2013-01-03 Thread Arthur Chance

On 01/01/13 12:33, ASV wrote:

Good afternoon and happy new year to everybody.

I'm just curious about auth.conf.

According to the detailed release notes
(http://www.freebsd.org/releases/9.1R/relnotes-detailed.html):
auth.conf(5) has been removed because it was deprecated years
ago.[r238481]

but according to the man pages online AUTH.CONF(5) of FBSD9.0-RELEASE:
auth.conf contains various attributes important to the authentication
code, most notably crypt(3) for the time being. This documentation will
be updated as the /etc/auth.conf file, which is very new, evolves..

How can something deprecated years ago being new and evolving quickly
enough to require further doc updates? Am I missing something? :)


Looks like the man page hasn't been updated in a while. If you're not 
yet on 9.1, and look at auth.conf itself it says in the header comments


# Configure some authentication-related defaults.  This file is being
# gradually subsumed by user class and PAM configuration.

I.e. it is/was an old way of doing things that has been replaced by 
newer mechanisms. Personally I'm glad to see the team clearing out the 
cruft.

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


Which k3b is recommended?

2013-01-03 Thread Leslie Jensen


I need k3b on a newly installed 9.1-RELEASE system.

I wonder if I miss out on some functionality if I go with version 
without KDE?


I use XFCE4 as my Desktop.

Thanks

/Leslie
___
freebsd-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: GIT instaed of SVN?

2013-01-03 Thread David Demelier
subversion is not in base and will probably never? So this is not a real
problem :)


2013/1/2 Mark Felder f...@feld.me

 Git is also not BSD licensed. I believe it may require bringing Python
 into base as well.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




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


Re: FreeBSD: GIT instaed of SVN?

2013-01-03 Thread Volodymyr Kostyrko

03.01.2013 11:54, David Demelier:

subversion is not in base and will probably never? So this is not a real
problem :)


Nope, importing svnsup would suffice.

http://svnweb.freebsd.org/base/user/des/svnsup/

--
Sphinx of black quartz, judge my vow.
___
freebsd-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: GIT instaed of SVN?

2013-01-03 Thread Mark Felder
On Thu, 3 Jan 2013 12:19:55 +0200
Volodymyr Kostyrko c.kw...@gmail.com wrote:

 Nope, importing svnsup would suffice.
 
 http://svnweb.freebsd.org/base/user/des/svnsup/

As far as I know that's not a completed project.
___
freebsd-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: GIT instaed of SVN?

2013-01-03 Thread RW
On Thu, 03 Jan 2013 12:19:55 +0200
Volodymyr Kostyrko wrote:

 03.01.2013 11:54, David Demelier:
  subversion is not in base and will probably never? So this is not a
  real problem :)
 
 Nope, importing svnsup would suffice.
 
 http://svnweb.freebsd.org/base/user/des/svnsup/

Even that isn't essential, cvsup was used from ports for years before
csup was written. And now we have portsnap, freebsd-update and pkg. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Build linux,ko kernel module standalone

2013-01-03 Thread Martin Laabs
Hello,

if I wanna build a kernel module standalone (without the kernel e.g. for
testing) I do it the following way (wlan in this example):

cd /usr/src/sys/modules/wlan
make all
maybe make install if I wanna install it.

Now I want do build the linux.ko module with the symbol DEBUG defined and
tried the following:

cd /usr/src/sys/modules/linux
make -DDEBUG all

but unfortunately this ends up with:

cc -c -O2 -pipe -march=athlon64 -DCOMPAT_FREEBSD32 -DCOMPAT_LINUX32
-fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I@
-I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-omit-frame-pointer -mno-sse -mcmodel=kernel
-mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign
-fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option
/usr/src/sys/modules/linux/../../amd64/linux32/linux32_genassym.c
In file included from ./machine/param.h:46,
 from @/sys/param.h:115,
 from
/usr/src/sys/modules/linux/../../amd64/linux32/linux32_genassym.c:4:
./machine/_align.h:6:24: error: x86/_align.h: No such file or directory


Building the module insinde a make buildkernel works fine - so there are
actually no missing files.
Do you have any ideas what I'am missing?

Thank you,
 Martin Laabs

___
freebsd-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: somewhat OT ... in parts

2013-01-03 Thread Rod Person
On Wed, 2 Jan 2013 18:53:05 -0800
Gary Kline kl...@thought.org wrote:
 
   thanks in advance for a few url's.  
 

I love this color scheme, I use it for everything. There is a vim
specific version...http://ethanschoonover.com/solarized


-- 
Just because it can been done, does not mean it should be done.
___
freebsd-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: audio/baresip on FreeBSD 9

2013-01-03 Thread Hugo Silva
On 01/03/13 04:19, Joseph Olatt wrote:
 
 I've been trying to get baresip to work on my FreeBSD 9.x laptop and
 haven't had much success. I register successfully to callcentric.com and
 it appears that I can connect and there is a stream of data coming
 through based on the status display:
 
 [0:00:08] audio=0/0 (bit/s) []
 
 However, there is no sound.
 
 Is anybody on the list successfully using baresip? If so, could they
 please provide some pointers on how to get sound?
 
 There doesn't seem to be much documentation anywhere on the Internet for
 baresip.
 
 My config file (~/.baresip/config) is:
 
 /* Begin ~/.baresip/config */
 #
 # baresip configuration
 #
 
 #--
 
 # Core
 poll_method   poll# poll, select, epoll ..
 
 # Input
 input_device  /dev/event0
 input_port
 
 # SIP
 sip_trans_bsize   128
 #sip_listen   127.0.0.1:5050
 
 # Audio
 audio_dev   /dev/audio0.0
 audio_srate   8000-48000
 audio_channels1-2
 #audio_aec_length 128 # [ms]
 
 # Video
 video_dev 
 video_size352x288
 video_bitrate 384000
 video_fps 25
 #video_selfview   window # {window,pip}
 
 # AVT - Audio/Video Transport
 rtp_tos   184
 #rtp_ports1-2
 #rtp_bandwidth512-1024 # [kbit/s]
 rtcp_enable   yes
 rtcp_mux  no
 jitter_buffer_delay   5-10# frames
 
 # Network
 #dns_server   10.0.0.1:53
 
 #--
 # Modules
 
 module_path   /usr/local/lib/baresip/modules
 
 # UI Modules
 modulestdio.so
 modulecons.so
 #module   evdev.so
 
 # Audio codec Modules (in order)
 #module   g7221.so
 #module   g722.so
 moduleg711.so
 #module   gsm.so
 #module   l16.so
 #module   speex.so
 #module   celt.so
 #module   bv32.so
 
 # Audio filter Modules (in order)
 # NOTE: AEC should be before Preproc
 #module   sndfile.so
 #module   speex_aec.so
 #module   speex_pp.so
 #module   speex_resamp.so
 #module   plc.so
 
 # Audio driver Modules
 #module   oss.so
 #module   alsa.so
 #module   portaudio.so
 #module   gst.so
 
 # Video codec Modules (in order)
 moduleavcodec.so
 #module   vpx.so
 
 # Video source modules
 #module   avformat.so
 #module   v4l.so
 #module   v4l2.so
 
 # Video display modules
 #module   sdl.so
 #module   x11.so
 
 # Media NAT modules
 #module   stun.so
 #module   turn.so
 #module   ice.so
 
 # Media encoding modules
 #module   srtp.so
 
 # Other modules
 #module   natbd.so
 
 #--
 # Module parameters
 
 
 # Speex codec parameters
 speex_quality 7 # 0-10
 speex_complexity  7 # 0-10
 speex_enhancement 0 # 0-1
 speex_vbr 0 # Variable Bit Rate 0-1
 speex_vad 0 # Voice Activity Detection 0-1
 speex_agc_level   8000
 
 # NAT Behavior Discovery
 #natbd_server creytiv.com
 #natbd_interval   600 # in seconds
 /* End ~/.baresip/config */
 
 
 /* uname -a */
 FreeBSD peace 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4 r244062: Mon Dec
 10 17:56:25 CST 2012 root@peace:/usr/obj/usr/src/sys/PEACE  i386
 
 
 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
 



This works for me (not sure about video, works with video loop but have
not found a free sip server that supports video streams..):


#
# baresip configuration
#

#--

# Core
poll_method select  # poll, select, epoll ..

# Input
input_device/dev/event0
input_port  

# SIP
sip_trans_bsize 128
#sip_listen 127.0.0.1:5050

# Audio
audio_dev   /dev/dsp
audio_srate 8000-48000
audio_channels  1-2
audio_aec_length128 # [ms]

# Video
video_dev   /dev/video0

Re: freebsd-update: fale?

2013-01-03 Thread Martin Laabs
Hi,

On 01/02/13 01:21, Joe Altman wrote:
 Greetings, list. I have the following error; though I can load
 update5.FreeBSD.org in a browser:
 [...]

maybe you use a release that is not supported by freebsd-update. Run uname
-r an compare the release with that you see when looking at
http://update4.freebsd.org/
If it is not there you can not use freebsd-update.

Best regards,
 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


Re: freebsd-update: fale?

2013-01-03 Thread Martin Laabs
Hi,

On 01/02/13 01:21, Joe Altman wrote:
 Greetings, list. I have the following error; though I can load
 update5.FreeBSD.org in a browser:
 [...]

maybe you use a release that is not supported by freebsd-update. Run uname
-r an compare the release with that you see when looking at
http://update4.freebsd.org/
If it is not there you can not use freebsd-update.

Best regards,
 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


Re: FreeBSD: GIT instaed of SVN?

2013-01-03 Thread Joseph Mingrone
On Wed, Jan 2, 2013 at 9:35 AM, Mark Felder f...@feld.me wrote:
 Git is also not BSD licensed. I believe it may require bringing Python into 
 base as well.

A little of topic, but Fossil is BSD licensed.
___
freebsd-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: utility to compare 2 dir trees

2013-01-03 Thread Fbsd8

Adam Vande More wrote:

On Mon, Dec 31, 2012 at 8:39 PM, Fbsd8 fb...@a1poweruser.com wrote:


ended up trying
cd dir-tree1
mtree -c | mtree -p dir-tree2

Now this seems like it worked, except every thing was flagged for
non-matching modification time. How do I tell it to not check modification
time?




mtree -c -k sha256digest,uname,gname | mtree -p dir-tree2



Thank you that worked.
___
freebsd-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: somewhat OT ... in parts

2013-01-03 Thread Devin Teske

On Jan 3, 2013, at 5:44 AM, Rod Person wrote:

 On Wed, 2 Jan 2013 18:53:05 -0800
 Gary Kline kl...@thought.org wrote:
 
  thanks in advance for a few url's.  
 
 
 I love this color scheme, I use it for everything. There is a vim
 specific version...http://ethanschoonover.com/solarized
 

On the vim-specific page ( https://github.com/altercation/vim-colors-solarized 
), it has a section Important note for terminal users.

Q: Did you do what it said in that section? or do you only use the vim 
colorscheme?

Q: If you customized your terminal colors with solarize, does it work out 
alright in various situations? (for example, putty versus Mac OS X Terminal 
versus physical FreeBSD console, et cetera)

-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: somewhat OT ... in parts

2013-01-03 Thread Rod Person
On Thu, 3 Jan 2013 08:58:23 -0800
Devin Teske devin.te...@fisglobal.com wrote:

 
 On Jan 3, 2013, at 5:44 AM, Rod Person wrote:
 
  On Wed, 2 Jan 2013 18:53:05 -0800
  Gary Kline kl...@thought.org wrote:
  
 thanks in advance for a few url's.  
  
  
  I love this color scheme, I use it for everything. There is a vim
  specific version...http://ethanschoonover.com/solarized
  
 
 On the vim-specific page
 ( https://github.com/altercation/vim-colors-solarized ), it has a
 section Important note for terminal users.
 
 Q: Did you do what it said in that section? or do you only use the
 vim colorscheme?
 
 Q: If you customized your terminal colors with solarize, does it work
 out alright in various situations? (for example, putty versus Mac OS
 X Terminal versus physical FreeBSD console, et cetera)
 

I don't use vim, sorry for giving that impression. But I do use the
scheme for xterm and rxvt and the only real issue I ran into so far is
that when using mc the background comes out light blue and the file
names are in a light grey and hard to see. Otherwise it's great. 

I don't use Mac OS X, so I can't say. 





-- 

Rod Person  http://www.rodperson.com  rodper...@rodperson.com

i need to banf a chick and im onna fuck amanafa
 -Herb


Sent From Claws Mail 3.8.0cvs30 Win7 x86 GTK+ 2.16.6/GLib 2.24.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


FreeBSD 9.1 RELEASE - does not install package

2013-01-03 Thread Celso Viana
Hi all,

I can not install the package subversion with pkg_add -r

pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/subversion.tbz'
by URL

I observed that there is packages-9.1-release in
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64;

In FreeBSD 9.1 RELEASE, how do I install packages via pkg_add?

Thanks!!

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org
Palmas/TO
___
freebsd-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 9.1 RELEASE - does not install package

2013-01-03 Thread Joseph A. Nagy, Jr

On 01/03/13 11:50, Celso Viana wrote:

Hi all,

I can not install the package subversion with pkg_add -r

pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/subversion.tbz'
by URL

I observed that there is packages-9.1-release in
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64;

In FreeBSD 9.1 RELEASE, how do I install packages via pkg_add?

Thanks!!



You don't, the pkgbeta site is, to my knowledge, still down. Also, if 
pkgng is in by default, next time try 'pkg add' instead.


--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.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: FreeBSD 9.1 RELEASE - does not install package

2013-01-03 Thread Matthew Seaman
On 03/01/2013 17:56, Joseph A. Nagy, Jr wrote:
 On 01/03/13 11:50, Celso Viana wrote:
 Hi all,

 I can not install the package subversion with pkg_add -r

 pkg_add: unable to fetch
 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/subversion.tbz'

 by URL

 I observed that there is packages-9.1-release in
 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64;

 In FreeBSD 9.1 RELEASE, how do I install packages via pkg_add?

 Thanks!!

 
 You don't, the pkgbeta site is, to my knowledge, still down. Also, if
 pkgng is in by default, next time try 'pkg add' instead.
 

pkgng isn't in 9.1 by default.  You've got to wait until 9.2 for that
(or upgrade to 10.x).  However, you can choose to install it from ports
if you wish.

The OP is asking about pkg_add, however the answer is basically the same
for either pkg_tools and pkgng:

The security incident: http://www.freebsd.org/news/2012-compromise.html
has meant that all of the package building systems available to the
FreeBSD project (either for pkg_tools or pkgng) have been quarantined,
pending sanitization and reinstallation.  Consequently there have hardly
been any packages built in the last month or so.

There are no packages available yet for the packages-9.1-release set.

There are no packages available from pkgbeta (except for a lonely copy
of pkg-1.0.3.txz so people can bootstrap pkgng on their machines).

For pkg_tools, there are older packages available: you should be able to
use pkg compiled for 9.0 or stable/9 pretty successfully on 9.1-RELEASE.
 For pkgng unfortunately your only choices are to wait patiently or to
compile your own.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matt...@infracaninophile.co.uk



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD: GIT instaed of SVN?

2013-01-03 Thread Mark Felder
On Thu, 3 Jan 2013 12:24:31 -0400
Joseph Mingrone j...@ftfl.ca wrote:

 A little of topic, but Fossil is BSD licensed.

It also would work poorly as an SCM for FreeBSD because everything would be in 
a giant sqlite database :(
___
freebsd-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: somewhat OT ... in parts

2013-01-03 Thread Polytropon
On Thu, 3 Jan 2013 12:15:31 -0500, Rod Person wrote:
 On Thu, 3 Jan 2013 08:58:23 -0800
 Devin Teske devin.te...@fisglobal.com wrote:
 
  
  On Jan 3, 2013, at 5:44 AM, Rod Person wrote:
  
   On Wed, 2 Jan 2013 18:53:05 -0800
   Gary Kline kl...@thought.org wrote:
   
thanks in advance for a few url's.  
   
   
   I love this color scheme, I use it for everything. There is a vim
   specific version...http://ethanschoonover.com/solarized
   
  
  On the vim-specific page
  ( https://github.com/altercation/vim-colors-solarized ), it has a
  section Important note for terminal users.
  
  Q: Did you do what it said in that section? or do you only use the
  vim colorscheme?
  
  Q: If you customized your terminal colors with solarize, does it work
  out alright in various situations? (for example, putty versus Mac OS
  X Terminal versus physical FreeBSD console, et cetera)
  
 
 I don't use vim, sorry for giving that impression. But I do use the
 scheme for xterm and rxvt and the only real issue I ran into so far is
 that when using mc the background comes out light blue and the file
 names are in a light grey and hard to see. Otherwise it's great. 

I'm using a similar approach inspired by XFCE (version 3)
to have my xterms look solarized:

xterm -fg black -bg beige -title Terminal

When launching the Midnight Commander inside the terminal,
everything is displayed properly. I'm using MC's default
color scheme.




-- 
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: Trying to find out how to mount as user

2013-01-03 Thread C. P. Ghost
On Wed, Jan 2, 2013 at 5:29 PM, Leslie Jensen les...@eskk.nu wrote:
 Hello.

 I want to write a script, where I as a normal user, can back up my files
 with rsync to another machine (pc01), which shares a directory via NFS.

 I have an entry in the local machines /etc/fstab

 pc01:/backup /mnt/backupnfs rw,noauto   0   0


 The command:
 mount /mnt/backup works as root.

 If I do sudo mount /mnt/backup I get
 [tcp] pc01:/backup: Permission denied

 I'm a member of the local wheel group and at the remote machine as
 well(pc01)

 pc01:/backup has
 drwxrwxr-x  28 root  wheel  1024  1 Jan 14:44 backup/


 The local mount point /mnt/backup has
 drwxr-xr-x   5 root  wheel  512  1 Jan 17:18 mnt/

 drwxr-xr-x  2 root  wheel  512  1 Jan 11:38 backup/

 I've tried to ad write permissions to the group, but it did not help me.

 I understand that I have a permission problem but I can't figure it out.

Try setting vfs.usermount to 1:

# sysctl vfs.usermount=1

-cpghost.

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


Re: Build linux,ko kernel module standalone

2013-01-03 Thread CyberLeo Kitsana
On 01/03/2013 06:57 AM, Martin Laabs wrote:
 Hello,
 
 if I wanna build a kernel module standalone (without the kernel e.g. for
 testing) I do it the following way (wlan in this example):
 
 cd /usr/src/sys/modules/wlan
 make all
 maybe make install if I wanna install it.
 
 Now I want do build the linux.ko module with the symbol DEBUG defined and
 tried the following:
 
 cd /usr/src/sys/modules/linux

make depend

 make -DDEBUG all

Be wary of changing compile options for only certain parts of the
kernel, as this may lead to problems with mismatching code.

-- 
Fuzzy love,
-CyberLeo
Furry Peace! - http://www.fur.com/peace/
___
freebsd-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: Which k3b is recommended?

2013-01-03 Thread Patrick Lamaiziere
Le Thu, 03 Jan 2013 09:50:46 +0100,
Leslie Jensen les...@eskk.nu a écrit :

 
 I need k3b on a newly installed 9.1-RELEASE system.
 
 I wonder if I miss out on some functionality if I go with version 
 without KDE?

Don't know.

 I use XFCE4 as my Desktop.

Did you tried sysutils/xfburn? It is ligth but does the job.
(nowadays I use cdrecord directly, but xfburn worked in the past...)

Regards.
___
freebsd-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: just a curiosity about auth.conf

2013-01-03 Thread ASV
I haven't installed 9.1 yet but good to know.
Thanks.

On Thu, 2013-01-03 at 08:26 +, Arthur Chance wrote:
 On 01/01/13 12:33, ASV wrote:
  Good afternoon and happy new year to everybody.
 
  I'm just curious about auth.conf.
 
  According to the detailed release notes
  (http://www.freebsd.org/releases/9.1R/relnotes-detailed.html):
  auth.conf(5) has been removed because it was deprecated years
  ago.[r238481]
 
  but according to the man pages online AUTH.CONF(5) of FBSD9.0-RELEASE:
  auth.conf contains various attributes important to the authentication
  code, most notably crypt(3) for the time being. This documentation will
  be updated as the /etc/auth.conf file, which is very new, evolves..
 
  How can something deprecated years ago being new and evolving quickly
  enough to require further doc updates? Am I missing something? :)
 
 Looks like the man page hasn't been updated in a while. If you're not 
 yet on 9.1, and look at auth.conf itself it says in the header comments
 
 # Configure some authentication-related defaults.  This file is being
 # gradually subsumed by user class and PAM configuration.
 
 I.e. it is/was an old way of doing things that has been replaced by 
 newer mechanisms. Personally I'm glad to see the team clearing out the 
 cruft.
 ___
 freebsd-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: audio/baresip on FreeBSD 9

2013-01-03 Thread Joseph Olatt
On Thu, Jan 03, 2013 at 08:15:41AM +0100, Matthias Apitz wrote:
 
 Hi,
 
 El d?a Wednesday, January 02, 2013 a las 08:19:11PM -0800, Joseph Olatt 
 escribi?:
 
  
  I've been trying to get baresip to work on my FreeBSD 9.x laptop and
  haven't had much success. I register successfully to callcentric.com and
  it appears that I can connect and there is a stream of data coming
  through based on the status display:
  
  [0:00:08] audio=0/0 (bit/s) []
 
 The display shows zero audio data!
 
  However, there is no sound.
 
 Have you tried the local audio loop with pressing the single letter 'a'?
 
  Is anybody on the list successfully using baresip? If so, could they
  please provide some pointers on how to get sound?
 
 I'm attaching my config file which works fine; in your config file it
 looks stange to me:
 
  # Audio
  audio_dev   /dev/audio0.0
 
 do you have such a device file '/dev/audio0.0'?
 
  # Audio codec Modules (in order)
  #module g7221.so
  #module g722.so
  module  g711.so
  #module gsm.so
  #module l16.so
  #module speex.so
  #module celt.so
  #module bv32.so
  
  # Audio filter Modules (in order)
  # NOTE: AEC should be before Preproc
  #module sndfile.so
  #module speex_aec.so
  #module speex_pp.so
  #module speex_resamp.so
  #module plc.so
  
  # Audio driver Modules
  #module oss.so
  #module alsa.so
  #module portaudio.so
  #module gst.so
 
 you have no audio driver loaded, try 'oss.so'
 
 Once you get the local loop working you could contact me off-list for my
 SIP and try to call me.
 
 HIH
 
   matthias
 -- 
 Sent from my FreeBSD netbook
 
 Matthias Apitz   |  - No system with backdoors like Apple/Android
 E-mail: g...@unixarea.de |  - No HTML/RTF in E-mail
 WWW: http://www.unixarea.de/ |  - No proprietary attachments
 phone: +49-170-4527211   |  - Respect for open standards

 #
 # baresip configuration
 #
 
 #--
 
 # Core
 poll_method   poll# poll, select, epoll ..
 
 # Input
 input_device  /dev/event0
 input_port
 
 # SIP
 sip_trans_bsize   128
 #sip_listen   127.0.0.1:5050
 
 # Audio
 audio_dev /dev/dsp
 audio_srate   8000-48000
 audio_channels1-2
 #audio_aec_length 128 # [ms]
 
 # Video
 video_dev /dev/video0
 video_size352x288
 video_bitrate 384000
 video_fps 25
 #video_selfview   window # {window,pip}
 
 # AVT - Audio/Video Transport
 rtp_tos   184
 #rtp_ports1-2
 rtp_ports 1024-1030
 #rtp_bandwidth512-1024 # [kbit/s]
 rtcp_enable   yes
 rtcp_mux  no
 jitter_buffer_delay   5-10# frames
 
 # Network
 #dns_server   10.0.0.1:53
 
 #--
 # Modules
 
 module_path   /usr/local/lib/baresip/modules
 
 # UI Modules
 modulestdio.so
 modulecons.so
 #module   evdev.so
 
 # Audio codec Modules (in order)
 #module   g7221.so
 #module   g722.so
 moduleg711.so
 #module   gsm.so
 #module   l16.so
 #module   speex.so
 #module   celt.so
 #module   bv32.so
 
 # Audio filter Modules (in order)
 # NOTE: AEC should be before Preproc
 #module   sndfile.so
 #module   speex_aec.so
 #module   speex_pp.so
 #module   speex_resamp.so
 #module   plc.so
 
 # Audio driver Modules
 moduleoss.so
 #module   alsa.so
 #module   portaudio.so
 #module   gst.so
 
 # Video codec Modules (in order)
 moduleavcodec.so
 #module   vpx.so
 
 # Video source modules
 modulev4l2.so
 #module   avformat.so
 #module   v4l.so
 
 # Video display modules
 modulex11.so
 # module  sdl.so
 
 # Media NAT modules
 modulestun.so
 moduleturn.so
 moduleice.so
 
 # Media encoding modules
 #module   srtp.so
 
 # Other modules
 #module 

Re: Which k3b is recommended?

2013-01-03 Thread Peter Vereshagin
Hello.

2013/01/03 09:50:46 +0100 Leslie Jensen les...@eskk.nu = To FreeBSD 
Questions :
LJ I need k3b on a newly installed 9.1-RELEASE system.
LJ I wonder if I miss out on some functionality if I go with version 
LJ without KDE?
LJ I use XFCE4 as my Desktop.

I use the 'sysutils/tkdvd' and the only thing I time to time use to find
missing there is the '-joliet-long' checkbox.

--
Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: 1754B9C1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pkgng - Obsolete Dependencies?

2013-01-03 Thread Walter Hurry
On several of my boxes (set up with pkgng), libcheck was recorded as a 
dependency of a number of (wxPython etc.) packages. However, I noticed 
that on a fresh install, libcheck did not get pulled in.

So I returned to the older boxes and reinstalled the depending packages, 
using 'pkg install -f'. Lo and behold, the dependencies disappeared.

Is this expected behaviour?


___
freebsd-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: pkgng - Obsolete Dependencies?

2013-01-03 Thread Matthew Seaman
On 03/01/2013 20:59, Walter Hurry wrote:
 On several of my boxes (set up with pkgng), libcheck was recorded as a 
 dependency of a number of (wxPython etc.) packages. However, I noticed 
 that on a fresh install, libcheck did not get pulled in.
 
 So I returned to the older boxes and reinstalled the depending packages, 
 using 'pkg install -f'. Lo and behold, the dependencies disappeared.
 
 Is this expected behaviour?

As far as I can see, libcheck is not currently a dependency of any of
the x11-toolkits/py-wx* ports.  As libcheck is a unit test framework, it
would  be unlikely to be anything other than a BUILD_DEPENDS anyhow --
and if you use pkgng with a repo, the only packages you'ld install and
the only dependencies pkgng would record are the RUN_DEPENDS and
LIB_DEPENDS.

So I don't know why it appeared on your older systems, but having it
disappear on the updated ones would be correct and the expected outcome.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Looking for info on how to install and configure suPHP on FreeBSD 8

2013-01-03 Thread Matt Rauch
Hello,

I apologize if there is an easy spot to find this, but I'm looking for some
instructions on implementing suPHP on FreeBSD 8 with Apache. The server is
currently in production and I'd like to convert it from running PHP files as
an Apache module and instead as cgi with suPHP for security and for some
issues that crop up with file and directory ownership with Joomla and other
CMS platforms. I have done quite a bit of searching and cannot find just a
step by step installation guide of any kind for FreeBSD. I can find my way
around FreeBSD pretty well, but am by no means an expert user, hence why a
guide would be perfect.

Any help would be greatly appreciated,

Matt Rauch


___
freebsd-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: Looking for info on how to install and configure suPHP on FreeBSD 8

2013-01-03 Thread Ilya Kazakevich
http://www.freshports.org/www/suphp/

Is not it what are you looking for?


On Fri, Jan 4, 2013 at 2:29 AM, Matt Rauch mattr-li...@eagle.ca wrote:

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


Gain Organic Traffic: Freebsd.Org :PS

2013-01-03 Thread Justin Taylor



p class=MsoNormalHi Freebsd.Org Team,br
br
I thought you might like to know some of the reasons why you are not getting
enough organic amp; social media traffic on your website.br
br
I would like to update you that your website is still not ranked on the top
pages of Google SERPs for your popular keywords (Products). Your loss is  
your
competitor’s gain i.e. the traffic which could have generated quality sales  
for

you goes to your competitors as they rank well in the Search Engine Result
Pages (SERPs) organically.br
br
bReasons: /bbr
br
1.    HTML and other on-page errors are present on your website.br
2.    Low number of internal and external quality links present
on your website.br
3.    Duplicate or low quality contents present in your website
without any regular update.br
4.    Need to update fresh contents on your website and blogs as
per the latest Google guideline.br
5.    Broken Links and Poison words might be present in your
website.br
6.    Social media profile needs to be updated regularly.br
br
Long gone are the days when Google used to give priority to websites of  
keyword
based domains or websites with huge number of links. Now Google counts each  
and

every detail to verify if your website is relevant to the keywords you are
promoting for. A single un-wanted link or a duplicate content can lead your
website to be penalized by Google.br
br
We are a leading website promotion company providing online promotion, SMO,
Reputation Management, Content (both web and promotional content) fixing
services to clients. We have a team of 240+ SEO professional working
24*7.  Our team of dedicated Google Analytic and Adwords certified
professionals excel in promoting and increasing the visibility of a website  
in
various search engines (including the latest Google Panda and Penguin  
updates),

which will directly help in increasing traffics for your website.br
br
Unlike other SEO companies we do not believe in talking rather we believe in
delivering what we promise to our clients. We provide guaranteed services or
money back-guarantee to all our clients who consider working with us.br
br
If you are getting rigid by paying a huge amount in PPC then Organic  
listing by

using white hat technique will be definitely a right choice for you. As the
rate of conversion is more in organic listing as compared to PPC,  
eventually it

will be an absolute gain for you.  br
br
This email just tells you the fraction of things we do, our optimization
process involves many other technical factors which can be sent to you on  
your
request. If you would like to know more about our services then please  
write us

back else you can give us a call us in our number below.br
br
P.S: - This is our marketing strategy that we use the Gmail account. Once  
you
reply us back, the next communication I will do is from my corporate email  
ID.br

br
Let me know your thoughts and looking forward to work together.br
br
Best Regards, br
Justin Taylor|Senior SEO Advisorbr
PH. No: (217) 650-7095br
Skype: justintaylor888br
--WBR--WBR--br
Note: br
1: This is a onetime email and you may ask us to “REMOVE”.br
2:  If you are interested I will send more details on our “corporate
identity”, “company profile”, “why you should choose us?”, “Price list”,  
“money

back” etc. in my next mail./p

___
freebsd-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: somewhat OT ... in parts

2013-01-03 Thread Gary Kline
On Thu, Jan 03, 2013 at 07:27:41AM +0100, Polytropon wrote:
 On Wed, 2 Jan 2013 18:53:05 -0800, Gary Kline wrote:
  one reason ive stuck with vim-as-vi was of the colors that vim 
  defaults to.  I'v fought the dark/crap/puke brown  /search
  color that seems to be the default on my linux desktop.  it's hard
  to see my block cursor when I search for words.  und`zo, today I 
  spend a couple hours tracking down this color feature in vim.  was
  pleased to find that there was a blue-tone color set.  my joints
  are complaining so I'll ask if any of you can give me the right 
  terms to google for.  I'd like to find a lighter blue or play 
  around with the colors.  {am assuming that vim is the same across
  the linux and berkeley distributions.}
 
 In case you're using gvim (a GUI enclosing for vim) you can
 do the following: Load some text or source code, :syntax on,
 then in the menu: Edit - Color Scheme, and pin the resulting
 menu next to the editor window; click the different schemes
 to check if one of the predefined 17 schemes looks usable to
 you; when done, unpin the menu. This approach is just for
 testing and looking around in the first place, not for
 actual permanent use. :-)
 

wow!  [apologies: I fergot that I had an appt =all day== 
downtown.]  I am seeing this in mutt as all-green.  I guess
it's not that bad.

one question I have may solve the problem of vim displaying
all the ^/search terms and displaying them in some color. 
the default brown is awful, but dark blue isn't much bbetter.
So: can I add something to my ~/.vimrc that =limits=
the search to displaying one term?  if I am searching for,
say, the or I guess /\the\, I dont want every the in my 
file.  I want only  one.   or one at a time, and not necessarily
in color.


 
 
  PS:  OH; the offtopic thing.  I'm done, or =very= close with my
  voice by computer program.  It's in C with gtk and AFAICT works
  only on linux.  ive got a few months of cleaning up before 
  release 0.51 will be finished.  in the FBSD world, this would
  fit into the accessibility directory.  now, the speech-impaired
  who can type will be able to communicate with anyone.  VBC requires
  espeak and gvim.  
 
 There are both gvim and /usr/ports/audio/espeak in ports, and
 Gtk is also in there. What would cause this software to refuse
 working on FreeBSD?
 
hm. dunno.  but then , since I was using FBSD only as a server, I 
only put in ctwm.   no gnome, no gtk, no espeak.  actually, my
VBC certainly ought to work under gnome and with gtk, espeak, 
and gvim [as the pop-up editor].  I'll put the tarball on my
deadbbs.com site where ive got all my other portballs ... if 
you or anybody wants to try it out.  just gimmee a couple weeeks.
the code is seriously messy. --I hang my head... .

 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-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: somewhat OT ... in parts

2013-01-03 Thread Gary Kline
On Thu, Jan 03, 2013 at 08:44:22AM -0500, Rod Person wrote:
 On Wed, 2 Jan 2013 18:53:05 -0800
 Gary Kline kl...@thought.org wrote:
  
  thanks in advance for a few url's.  
  
 
 I love this color scheme, I use it for everything. There is a vim
 specific version...http://ethanschoonover.com/solarized
 


tx;  if it is just plug-and-work, I'll try it out.  --note that
to use this blue/green scheme, I swiped a couple lines. Voila.

 
 -- 
 Just because it can been done, does not mean it should be done.

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-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: buffalo wli-uc-gn wireless card sometimes unusable and emit run0: wcid=xx out of range

2013-01-03 Thread Jov
feedback:
the patch is fine for me,it works great! Thank you very much!

do I need send a PR for this problem?

2013/1/1 Jov zhao6...@gmail.com

 thanks very much,i will try the patch.

 jov
 在 2013-1-1 下午1:19,PseudoCylon moonlightak...@yahoo.ca写道:

  Message: 13
  Date: Mon, 31 Dec 2012 18:11:04 +0800
  From: Jov zhao6...@gmail.com
  To: freebsd-questions@freebsd.org
  Subject: buffalo wli-uc-gn wireless card sometimes unusable and emit
  run0: wcid=xx out of range
  Message-ID:
  
 cadyruxprp6os2mpk51yiwog-jkwtq+xpop48uzq+y15_our...@mail.gmail.com
  Content-Type: text/plain; charset=ISO-8859-1
 
  hi  experts:
  I think the hardware is ok because I can use it in Win7. And in Freebsd
  9.1,it works for sometime,but sometimes after system reboot or I plug
 out 
  plug in the card it my unusable.on the console it emmit:
   run0: wcid=xx out of range where xx is 91,87 and etc.

 Please try attached patch.

 Reboot or re-plug-in shouldn't be a cause of the problem. Receiving an
 association ID larger than device's max (64) is the problem. You must
 be using a high-end AP. Reboot or re-plug-in initiate re-association
 and just happen to receive a large association ID.


 AK


 --begin patch--

 diff --git a/dev/usb/wlan/if_run.c b/dev/usb/wlan/if_run.c
 index 3d2577f..ed11d97 100644
 --- a/dev/usb/wlan/if_run.c
 +++ b/dev/usb/wlan/if_run.c
 @@ -2019,7 +2019,8 @@ run_key_set_cb(void *arg)
 wcid = 0;   /* NB: update WCID0 for group keys */
 base = RT2860_SKEY(RUN_VAP(vap)-rvp_id, k-wk_keyix);
 } else {
 -   wcid = RUN_AID2WCID(associd);
 +   wcid = (vap-iv_opmode == IEEE80211_M_STA) ?
 +   1 : RUN_AID2WCID(associd);
 base = RT2860_PKEY(wcid);
 }

 @@ -2374,9 +2375,12 @@ run_newassoc(struct ieee80211_node *ni, int isnew)
 struct run_softc *sc = ic-ic_ifp-if_softc;
 uint8_t rate;
 uint8_t ridx;
 -   uint8_t wcid = RUN_AID2WCID(ni-ni_associd);
 +   uint8_t wcid;
 int i, j;

 +   wcid = (vap-iv_opmode == IEEE80211_M_STA) ?
 +   1 : RUN_AID2WCID(ni-ni_associd);
 +
 if (wcid  RT2870_WCID_MAX) {
 device_printf(sc-sc_dev, wcid=%d out of range\n, wcid);
 return;
 @@ -3044,8 +3048,12 @@ run_tx(struct run_softc *sc, struct mbuf *m,
 struct ieee80211_node *ni)
 txd-flags = qflags;
 txwi = (struct rt2860_txwi *)(txd + 1);
 txwi-xflags = xflags;
 -   txwi-wcid = IEEE80211_IS_MULTICAST(wh-i_addr1) ?
 -   0 : RUN_AID2WCID(ni-ni_associd);
 +   if (IEEE80211_IS_MULTICAST(wh-i_addr1))
 +   txwi-wcid = 0;
 +   else {
 +   txwi-wcid = (vap-iv_opmode == IEEE80211_M_STA) ?
 +   1 : RUN_AID2WCID(ni-ni_associd);
 +   }
 /* clear leftover garbage bits */
 txwi-flags = 0;
 txwi-txop = 0;




-- 
jov
blog: http:amutu.com/blog
___
freebsd-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: buffalo wli-uc-gn wireless card sometimes unusable and emit run0: wcid=xx out of range

2013-01-03 Thread Jov
PR 
url:http://www.freebsd.org/cgi/http://www.freebsd.org/cgi/query-pr.cgi?pr=174963
query-pr.cgi?pr=174963 http://www.freebsd.org/cgi/query-pr.cgi?pr=174963

thanks!

2013/1/4 Jov zhao6...@gmail.com

 feedback:
 the patch is fine for me,it works great! Thank you very much!

 do I need send a PR for this problem?

 2013/1/1 Jov zhao6...@gmail.com

 thanks very much,i will try the patch.

 jov
 在 2013-1-1 下午1:19,PseudoCylon moonlightak...@yahoo.ca写道:

  Message: 13
  Date: Mon, 31 Dec 2012 18:11:04 +0800
  From: Jov zhao6...@gmail.com
  To: freebsd-questions@freebsd.org
  Subject: buffalo wli-uc-gn wireless card sometimes unusable and emit
  run0: wcid=xx out of range
  Message-ID:
  
 cadyruxprp6os2mpk51yiwog-jkwtq+xpop48uzq+y15_our...@mail.gmail.com
  Content-Type: text/plain; charset=ISO-8859-1
 
  hi  experts:
  I think the hardware is ok because I can use it in Win7. And in Freebsd
  9.1,it works for sometime,but sometimes after system reboot or I plug
 out 
  plug in the card it my unusable.on the console it emmit:
   run0: wcid=xx out of range where xx is 91,87 and etc.

 Please try attached patch.

 Reboot or re-plug-in shouldn't be a cause of the problem. Receiving an
 association ID larger than device's max (64) is the problem. You must
 be using a high-end AP. Reboot or re-plug-in initiate re-association
 and just happen to receive a large association ID.


 AK


 --begin patch--

 diff --git a/dev/usb/wlan/if_run.c b/dev/usb/wlan/if_run.c
 index 3d2577f..ed11d97 100644
 --- a/dev/usb/wlan/if_run.c
 +++ b/dev/usb/wlan/if_run.c
 @@ -2019,7 +2019,8 @@ run_key_set_cb(void *arg)
 wcid = 0;   /* NB: update WCID0 for group keys */
 base = RT2860_SKEY(RUN_VAP(vap)-rvp_id, k-wk_keyix);
 } else {
 -   wcid = RUN_AID2WCID(associd);
 +   wcid = (vap-iv_opmode == IEEE80211_M_STA) ?
 +   1 : RUN_AID2WCID(associd);
 base = RT2860_PKEY(wcid);
 }

 @@ -2374,9 +2375,12 @@ run_newassoc(struct ieee80211_node *ni, int isnew)
 struct run_softc *sc = ic-ic_ifp-if_softc;
 uint8_t rate;
 uint8_t ridx;
 -   uint8_t wcid = RUN_AID2WCID(ni-ni_associd);
 +   uint8_t wcid;
 int i, j;

 +   wcid = (vap-iv_opmode == IEEE80211_M_STA) ?
 +   1 : RUN_AID2WCID(ni-ni_associd);
 +
 if (wcid  RT2870_WCID_MAX) {
 device_printf(sc-sc_dev, wcid=%d out of range\n,
 wcid);
 return;
 @@ -3044,8 +3048,12 @@ run_tx(struct run_softc *sc, struct mbuf *m,
 struct ieee80211_node *ni)
 txd-flags = qflags;
 txwi = (struct rt2860_txwi *)(txd + 1);
 txwi-xflags = xflags;
 -   txwi-wcid = IEEE80211_IS_MULTICAST(wh-i_addr1) ?
 -   0 : RUN_AID2WCID(ni-ni_associd);
 +   if (IEEE80211_IS_MULTICAST(wh-i_addr1))
 +   txwi-wcid = 0;
 +   else {
 +   txwi-wcid = (vap-iv_opmode == IEEE80211_M_STA) ?
 +   1 : RUN_AID2WCID(ni-ni_associd);
 +   }
 /* clear leftover garbage bits */
 txwi-flags = 0;
 txwi-txop = 0;




 --
 jov
 blog: http:amutu.com/blog




-- 
jov
blog: http:amutu.com/blog
___
freebsd-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: somewhat OT ... in parts

2013-01-03 Thread Polytropon
On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote:
   one question I have may solve the problem of vim displaying
   all the ^/search terms and displaying them in some color. 
   the default brown is awful, but dark blue isn't much bbetter.

If you try :colorscheme blue you can see that the results have
orange background with dark text (maybe black?), while the editor
background is blue (as the name of the color scheme suggests).



   So: can I add something to my ~/.vimrc that =limits=
   the search to displaying one term?  if I am searching for,
   say, the or I guess /\the\, I dont want every the in my 
   file.  I want only  one.   or one at a time, and not necessarily
   in color.

If you have :set hlsearch activated, all (visible) matches will
be highlighted, and the cursor will be placed at the first match.

I don't see an option to highlight the _next_ result only. However,
if you do _not_ set hlsearch, searching and continuing searching
will not highlight anything, instead let the cursor skip to the
next match (tried here with gvim /COPYRIGHT, /this, /, /, / and
so on), with :set nohlsearch for testing.




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