Re: FreeBSD as an Access Point

2012-12-22 Thread Arthur Chance

On 12/21/12 21:12, dweimer wrote:

Just wondering if anyone has used FreeBSD (or NanoBSD) on any small form
factor broads such as PC Engines Alix, or similar hardware.  And how
well it has worked for them, and what hardware they used.

I have been having a lot of performance issues with my home wireless,
and am considering replacing the current APs early next year.  I wanted
something a little more flexible than the standard consumer AP, without
spending the money for a high end Cisco AP (I do realize that the
hardware will run me in the range of their low end APs).  My early
searching shows I should be able to get an Alix board, Wireless Card,
and Antennas for around $300.



I run pfSense on an Alix 2d13 for my firewall, which I see you mentioned 
doing in a later mail. It handles a 60 Mb/s link without breaking sweat. 
NanoBSD obviously would fit on it, using a CF card. If you wanted 
full(ish) FreeBSD you could always add an external disk. I note you're 
using a crypto accelerator too help with IPSec - are you aware that the 
Geode CPU has hardware support for AES? Alternatively, the Alix 2d2 has 
2 miniPCI slots so you could have both a crypto unit and a WiFi.

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


kldload if_run error

2012-12-22 Thread Вячеслав Агапов
Hello.

I try load if_run module on freebsd and got error
uname -a
FreeBSD 9.0-STABLE #0 r23

kldload if_run
kldload: can't load if_run: Exec format error
interface run.1 already present in the KLD 'kernel'!
linker_load_file: Unsupported file type

on FreeBSD 9.1-PRERELEASE i got the same error.

help me. How i can load this module?
I wont use usb wi-fi model d-link dwa-125.

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


Re: uname -r output values?

2012-12-22 Thread Damien Fleuriot

On 21 Dec 2012, at 18:51, Fbsd8 fb...@a1poweruser.com wrote:

 Fleuriot Damien wrote:
 
 On Dec 21, 2012, at 2:36 PM, Fbsd8 fb...@a1poweruser.com wrote:
 When issuing the uname -r command what are the different values possible to 
 expect?
 
 So far I have this list.
 
 Where X.X = major release . Sub release numbers
 Where y = number 1 through 9
 
 X.X-BETAy
 X.X-RCy
 X.X-RELEASE
 X.X-RELEASE-py
 X.X-PRERELEASE
 X.X-CURRENT
 mybsd dam  ~
 $ uname -r
 8.2-STABLE
 
 How did you create this 8.2-STABLE system?
 
 I don't see any .iso file for 

Instructions given already by Devin.

Basically, STABLE is a good compromise between running the latest version 
(10-CURRENT if you're on 9, or 9.x if you're on 8), and running a RELEASE that 
gets updated very slowly.

I've never had bad surprises with STABLE and encourage running it instead of 
RELEASE if you want the latest patches.

Note that on occasion, STABLE will be replaced by BETA or RC.

For example 8.2-STABLE became 8.3-RC1 at some point, then 8.3-RC1 ceased to 
exist altogether and was renamed to 8.3-STABLE (discounting any other release 
candidates here).

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


exclude directories from find command

2012-12-22 Thread Jack Mc Lauren
Hi fellas
How can I exclude specific directories from my find command ? I want to look 
for all files in the whole system except for those in e.g /extra directory. 
I use this command to find all files, but how can I exclude /extra directory ?

find / -type f

Thanks in advance ... 
___
freebsd-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: exclude directories from find command

2012-12-22 Thread Jens Jahnke
Hi,

On Sat, 22 Dec 2012 06:22:44 -0800 (PST)
Jack Mc Lauren jack.mclau...@yahoo.com wrote:

JML How can I exclude specific directories from my find command ? I
JML want to look for all files in the whole system except for those in
JML e.g /extra directory. I use this command to find all files, but
JML how can I exclude /extra directory ?
JML 
JML find / -type f

what about find / -type f | grep -v ^\/extra ? ;)

Regards

-- 
22. Julmond 2012, 15:33
Homepage : http://www.jan0sch.de

For flavor, instant sex will never supersede the stuff you have to peel
and cook.
-- Quentin Crisp


pgplgQWuOaL9G.pgp
Description: PGP signature


Re: kldload if_run error

2012-12-22 Thread Bas Smeelen

On 12/22/12 13:48, Вячеслав Агапов wrote:

Hello.

I try load if_run module on freebsd and got error
uname -a
FreeBSD 9.0-STABLE #0 r23

kldload if_run
kldload: can't load if_run: Exec format error
interface run.1 already present in the KLD 'kernel'!


device run is in compiled into generic kernel
you don't have to load the module since the driver is already included 
in the kernel



linker_load_file: Unsupported file type

on FreeBSD 9.1-PRERELEASE i got the same error.

help me. How i can load this module?
I wont use usb wi-fi model d-link dwa-125.

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



___
freebsd-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: exclude directories from find command

2012-12-22 Thread RW
On Sat, 22 Dec 2012 06:22:44 -0800 (PST)
Jack Mc Lauren wrote:

 Hi fellas
 How can I exclude specific directories from my find command ? I want
 to look for all files in the whole system except for those in
 e.g /extra directory. I use this command to find all files, but how
 can I exclude /extra directory ?
 
 find / -type f
 

Try this

http://lmgtfy.com/?q=find+exclude+a+directory


___
freebsd-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: exclude directories from find command

2012-12-22 Thread Bas Smeelen

On 12/22/12 15:22, Jack Mc Lauren wrote:

Hi fellas
How can I exclude specific directories from my find command ? I want to look 
for all files in the whole system except for those in e.g /extra directory.
I use this command to find all files, but how can I exclude /extra directory ?

find / -type f


find -path /extra -prune -o -type f



Thanks in advance ...
___
freebsd-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


poudriere upgade perl in jail

2012-12-22 Thread Bas Smeelen
I have poudriere setup on a server to compile packages for my old 
laptop, mini, and some friends laptops and it works great.


How can I upgrade the perl version of the poudriere jail to perl-5.16, 
it is now perl-5.14?


I tried startied the jail with poudriere jail -s -j and then try jail 
command=portmaster -o lang/perl5.16 lang/perl5.14 but can't get this to 
work.


Should I just wipe the jail, then recreate and first build perl5.16 in 
it before building the other packages?


I have read the man pages for poudriere and jail and searched the web 
for this, but can't get to the right solution.


Thanks in advance.



___
freebsd-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: poudriere upgade perl in jail

2012-12-22 Thread Patrick Lamaiziere
Le Sat, 22 Dec 2012 16:56:09 +0100,
Bas Smeelen b.smee...@ose.nl a écrit :

 I have poudriere setup on a server to compile packages for my old 
 laptop, mini, and some friends laptops and it works great.
 
 How can I upgrade the perl version of the poudriere jail to
 perl-5.16, it is now perl-5.14?
 
 I tried startied the jail with poudriere jail -s -j and then try jail 
 command=portmaster -o lang/perl5.16 lang/perl5.14 but can't get this
 to work.
 
 Should I just wipe the jail, then recreate and first build perl5.16
 in it before building the other packages?

I think PERL_VERSION=5.16.X in the poudriere jail's make.conf will do
the trick.

Then you will have to rebuild all the poudriere packages (not sure if
this is safe else)

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: poudriere upgade perl in jail

2012-12-22 Thread Bas Smeelen

On 12/22/12 17:08, Patrick Lamaiziere wrote:

Le Sat, 22 Dec 2012 16:56:09 +0100,
Bas Smeelen b.smee...@ose.nl a écrit :


I have poudriere setup on a server to compile packages for my old
laptop, mini, and some friends laptops and it works great.

How can I upgrade the perl version of the poudriere jail to
perl-5.16, it is now perl-5.14?

I tried startied the jail with poudriere jail -s -j and then try jail
command=portmaster -o lang/perl5.16 lang/perl5.14 but can't get this
to work.

Should I just wipe the jail, then recreate and first build perl5.16
in it before building the other packages?

I think PERL_VERSION=5.16.X in the poudriere jail's make.conf will do
the trick.

Then you will have to rebuild all the poudriere packages (not sure if
this is safe else)


Alright. Thanks! That did it. It looks like it deleted all perl5.14 
dependent packages and is rebuilding them now with perl5.16.2 Great :)


Maybe I should have asked the question before spending a day figuring 
out how.


Merci beaucoup.



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


d-link dwa-125 up

2012-12-22 Thread Вячеслав Агапов
Hello.

Help me up wifi router dlink dwa-125.
My system.
uname -a
FreeBSD 9-stable

kldload if_run
kldload runfw

kldstat
 81 0x82628000 12a70if_run.ko
 91 0x8263b000 216c runfw.ko

After insert usb
dmesg
ugen5.2: Ralink at usbus5

/var/log/messages
root: Unknown USB device: vendor 0x2001 product 0x3c1e bus uhub5

I try this
http://lists.freebsd.org/pipermail/freebsd-usb/2011-October/010707.html
only got error
in /usr/src/sys/dev/usb/usbdevs added
product DLINK DWL1250x3c1eDWL-125

in /usr/src/sys/dev/usb/usbdevs added
 RUN_DEV(DLINK,DWA125),

error
/usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:175:5:
error: use of undeclared identifier 'USB_PRODUCT_DLINK_DWA125'
RUN_DEV(DLINK,  DWA125),
^
/usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:100:47:
note: expanded from macro 'RUN_DEV'
#define RUN_DEV(v,p) { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) }
  ^
scratch space:148:1: note: expanded from macro 'USB_PRODUCT_'
USB_PRODUCT_DLINK_DWA125
^
@/dev/usb/usbdi.h:316:33: note: expanded from macro 'USB_VP'
  USB_VENDOR(vend), USB_PRODUCT(prod)
^
@/dev/usb/usbdi.h:313:42: note: expanded from macro 'USB_PRODUCT'
  .match_flag_product = 1, .idProduct = (prod)
 ^
/usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:547:48:
error: invalid application of 'sizeof' to an incomplete type 'const struct
usb_device_id []'
return (usbd_lookup_id_by_uaa(run_devs, sizeof(run_devs), uaa));
  ^~
2 errors generated.
*** [if_run.o] Error code 1

How i cat start d-link dwa 125?
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


Re: d-link dwa-125 up

2012-12-22 Thread Вячеслав Агапов
I found my mistake. Now it worked.
in /usr/src/sys/dev/usb/usbdevs added
product DLINK DWA1250x3c1eDWA-125

in /usr/src/sys/dev/usb/usbdevs added
 RUN_DEV(DLINK,DWA125),
and then
cd /usr/src/sys/modules/usb/run
make




2012/12/22 Вячеслав Агапов agapov.sl...@gmail.com

 Hello.

 Help me up wifi router dlink dwa-125.
 My system.
 uname -a
 FreeBSD 9-stable

 kldload if_run
 kldload runfw

 kldstat
  81 0x82628000 12a70if_run.ko
  91 0x8263b000 216c runfw.ko

 After insert usb
 dmesg
 ugen5.2: Ralink at usbus5

 /var/log/messages
 root: Unknown USB device: vendor 0x2001 product 0x3c1e bus uhub5

 I try this
 http://lists.freebsd.org/pipermail/freebsd-usb/2011-October/010707.html
 only got error
 in /usr/src/sys/dev/usb/usbdevs added
 product DLINK DWL1250x3c1eDWL-125

 in /usr/src/sys/dev/usb/usbdevs added
  RUN_DEV(DLINK,DWA125),

 error
 /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:175:5:
 error: use of undeclared identifier 'USB_PRODUCT_DLINK_DWA125'
 RUN_DEV(DLINK,  DWA125),
 ^
 /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:100:47:
 note: expanded from macro 'RUN_DEV'
 #define RUN_DEV(v,p) { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) }
   ^
 scratch space:148:1: note: expanded from macro 'USB_PRODUCT_'
 USB_PRODUCT_DLINK_DWA125
 ^
 @/dev/usb/usbdi.h:316:33: note: expanded from macro 'USB_VP'
   USB_VENDOR(vend), USB_PRODUCT(prod)
 ^
 @/dev/usb/usbdi.h:313:42: note: expanded from macro 'USB_PRODUCT'
   .match_flag_product = 1, .idProduct = (prod)
  ^
 /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:547:48:
 error: invalid application of 'sizeof' to an incomplete type 'const struct
 usb_device_id []'
 return (usbd_lookup_id_by_uaa(run_devs, sizeof(run_devs), uaa));
   ^~
 2 errors generated.
 *** [if_run.o] Error code 1

 How i cat start d-link dwa 125?
 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

Re: exclude directories from find command

2012-12-22 Thread Roland Smith
On Sat, Dec 22, 2012 at 06:22:44AM -0800, Jack Mc Lauren wrote:
 Hi fellas
 How can I exclude specific directories from my find command ? I want to look 
 for all files in the whole system except for those in e.g /extra directory. 
 I use this command to find all files, but how can I exclude /extra directory ?
 
 find / -type f

Try this:

  find / -type f -not -path '/extra/*'

Roland
-- 
R.F.Smith   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpgCfbf85Cpi.pgp
Description: PGP signature


how to configure host login account to use jail?

2012-12-22 Thread Fbsd8

Have jails up and running on host with ip address of
10.0.10.10 10.0.10.11 10.0.10.12 10.0.10.13 10.0.10.14
The host rc.conf has
ifconfig_xl0=DHCP  # nix connected to isp
ifconfig_rl0=inet 10.0.10.2  #lan nic

I want lan users to login to their jail by ip address using ssh.
How do I setup host user accounts so they login to
their associated jail?
Is this something I code in the host user account or is it done
by the remote ssh login command?

How do other jail users do this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to configure host login account to use jail?

2012-12-22 Thread Damien Fleuriot

On 23 Dec 2012, at 03:43, Fbsd8 fb...@a1poweruser.com wrote:

 Have jails up and running on host with ip address of
 10.0.10.10 10.0.10.11 10.0.10.12 10.0.10.13 10.0.10.14
 The host rc.conf has
 ifconfig_xl0=DHCP  # nix connected to isp
 ifconfig_rl0=inet 10.0.10.2  #lan nic
 
 I want lan users to login to their jail by ip address using ssh.
 How do I setup host user accounts so they login to
 their associated jail?
 Is this something I code in the host user account or is it done
 by the remote ssh login command?
 
 How do other jail users do this?
 

I assign public IPs to my jails and let people SSH to them.

Alternatively you could use non-22 ports and have PF rdr to your jail's 
internal IP.

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