Re: using ports or gems (easy_install)

2013-05-29 Thread Zane C. B-H.
On Tue, 28 May 2013 15:06:15 +0200
Albert Shih albert.s...@obspm.fr wrote:

  Le 28/05/2013 ? 14:50:25+0700, Olivier Nicole a écrit
  Hi,
  
   I would like to known how you manage your gem (ruby) or
   easyinstall (python). Do you use ports ? or directly gems or
   easyinstall ? or both ? 
  
  As far as I can, I use ports, for consistency.
 
 Me too. But what you do when you cannot ? (Like the ports don't
 exist) ? 
 
 I see three possibility : 
 
 1/ write the ports (unfortunately not for me)
 
 2/ wait until someone does (many time it's impossible)
 
 3/ use easy_install or gem

It is easy to learn. I would strongly suggest learning it, even if
you just maintain the ports yourself and don't contribute them to the
ports tree. Doing so will drastically improve the manageability of
your system.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
___
freebsd-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 and Windows XP

2013-03-09 Thread Zane C. B-H.
On Sat,  9 Mar 2013 12:07:41 -0800 (PST)
leeoliveshackelf...@surewest.net wrote:

 Good afternoon, FreeBSD enthusiasts.  Can FreeBSD 9.1 be installed
 on a computer on which Windows XP currently resides?  If so, how
 can this installation be done?  In particular, is there a way to
 install 9.1 so that it can be booted from the traditional master
 boot record?  It is important that, when I am done, I can still
 boot to Windows XP, as I must run some applications not available
 on FreeBSD.  If the idea I am proposing is not feasible with
 version 9.1, will it work with 8.3?  Any comments are appreciated.
 If this question has already been asked many times before, please
 just let me know where to look to find the answer.  Thanks.
 Newbie502

When I did it, I shrunk the Windows partition and installed FreeBSD
to the a new partition created on the free space of the drive. The
multiboot version of the MBR stuff for FreeBSD should be able to
handle it for you with out issue. I've not done it with 9.1, but when
I did it with 6 way back when, it worked nicely.


signature.asc
Description: PGP signature


Re: What is your favorite board for a micro system?

2013-03-08 Thread Zane C. B-H.
On Sat, 09 Mar 2013 00:53:27 +0100
Erik Nørgaard norga...@locolomo.org wrote:

 Hi!
 
 What is your favorite mini/micro/nano/pico-itx platform for home
 projects?
 
 I currently run a home server on an Intel mini-itx board but was
 looking around for something fun to play with with the following
 specs:
 
 - mini-itx or smaller, low profile
 - fanless
 - low power 12V external PSU
 - 1 LAN, preferably 2
 - 2 USB2/3
 - Flash bootable, but with option for hdd boot
 - GPIO would be fun
 - hdmi out would be nice
 
 I have tried VIA boards but found they were flacky...
 
 Any suggestion regarding ARM vs Intel based?

Can't think of any off hand in that small of form factor, but I
strongly suggest looking to see what you can find running an Intel
Atom. I've been very happy with those and their related chipsets so
far for microATX boards.


signature.asc
Description: PGP signature


Re: question about my new Dell 3010

2012-12-10 Thread Zane C. B-H.
On Sun, 9 Dec 2012 15:47:06 -0800
Gary Kline kl...@thought.org wrote:

  
 
 
   Rats:: xvidtune gave me 
 
   Video modes are not settable on this chip.
 
   how cheap can you get? no, the question is: what chip/video
 card do I need that will get me [at least]  1920x1280?

Unless you wish to get the the KMS stuff working like Warren Block
suggested, I strongly advise getting a Nvidia card as of
currently that is the easiest and most reliable way to get good 3D
under FreeBSD.
___
freebsd-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-update from recent 8-STABLE to 9.0-RELEASE issues

2012-06-25 Thread Zane C. B-H.
Howdy!

Any one have any idea what is going on below?

[root@shiela]/root# uname -a
FreeBSD shiela.vulpes.vvelox.net 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Sat 
Feb 25 04:55:35 CST 2012 
kits...@shiela.vulpes.vvelox.net:/usr/obj/usr/src/sys/sheila  amd64
[root@shiela]/root# freebsd-update -r 9.0-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update5.FreeBSD.org... failed.
Fetching public key from update4.FreeBSD.org... failed.
Fetching public key from update3.FreeBSD.org... failed.
No mirrors remaining, giving up.
Exit 1
[root@shiela]/root#
___
freebsd-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: Understanding XDM

2012-06-25 Thread Zane C. B-H.
On Sun, 24 Jun 2012 22:19:54 +0200
Christian Graulund cutu...@gmail.com wrote:

 snip

The others have answered your questions concerning DM v. WM, but if
you are finding XDM annoying to configure, you may possible wish to
take a look at slim, x11/slim.
___
freebsd-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: printing jpeg slides to a Postscript printer

2012-06-25 Thread Zane C. B-H.
On Mon, 25 Jun 2012 11:15:36 +0200
Matthias Apitz g...@unixarea.de wrote:

 
 Hello,
 
 I have 10 jpeg slides (screen shoots) and I want to print them to a
 Postscript printer (CUPS controlled), on each page 2 slides. I know
 I could make some presentation from them or wrap them into a HTML
 file, but I was thinking there must be some easy way with some tool
 from our ports.
 
 Any idea? Thanks in advance

I would just load them up in print them in Libreoffice and print them
once I was happy with how the page layout looked.
___
freebsd-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 from recent 8-STABLE to 9.0-RELEASE issues

2012-06-25 Thread Zane C. B-H.
On Mon, 25 Jun 2012 12:26:12 +0100
RW rwmailli...@googlemail.com wrote:

 On Mon, 25 Jun 2012 04:21:18 -0500
 Zane C. B-H. wrote:
 
  Howdy!
  
  Any one have any idea what is going on below?
  
  [root@shiela]/root# uname -a
  FreeBSD shiela.vulpes.vvelox.net 8.3-PRERELEASE FreeBSD
  8.3-PRERELEASE #0: Sat Feb 25 04:55:35 CST 2012
  kits...@shiela.vulpes.vvelox.net:/usr/obj/usr/src/sys/sheila
  amd64 [root@shiela]/root# freebsd-update -r 9.0-RELEASE upgrade
  Looking up update.FreeBSD.org mirrors... 3 mirrors found.
  Fetching public key from update5.FreeBSD.org... failed. Fetching
  public key from update4.FreeBSD.org... failed. Fetching public
  key from update3.FreeBSD.org... failed. No mirrors remaining,
  giving up. Exit 1 [root@shiela]/root#
 
 freebsd-update doesn't support development branches, you have to go
 from security branch to security branch.

I know it can't be used to update to stable, but I've not encountered
any thing in the documentation saying it can't be used to update from
stable it to a release.

___
freebsd-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 from recent 8-STABLE to 9.0-RELEASE issues

2012-06-25 Thread Zane C. B-H.
On Mon, 25 Jun 2012 14:12:36 +0100
RW rwmailli...@googlemail.com wrote:

 On Mon, 25 Jun 2012 06:53:45 -0500
 Zane C. B-H. wrote:
 
  On Mon, 25 Jun 2012 12:26:12 +0100
  RW rwmailli...@googlemail.com wrote:
  
 
   freebsd-update doesn't support development branches, you have
   to go from security branch to security branch.
  
  I know it can't be used to update to stable, but I've not
  encountered any thing in the documentation saying it can't be
  used to update from stable it to a release.
  
 
 From the man page:
 
 ... the FreeBSD Security Team only builds updates for releases
 shipped in binary form by the FreeBSD Release Engineering Team

Right, that is exactly what I was referring to. 9.0-RELEASE is one of
those as far as I know.

It is ambiguous as to if that means being upgraded from or to and the
error message given does not indicate what is being upgraded from is
not supported, so I am a bit confused on if this is to be expected or
not.
___
freebsd-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: Strange case of vanishing disk

2012-06-04 Thread Zane C. B-H.
On Mon, 04 Jun 2012 12:20:13 +0100
Kaya Saman kayasa...@gmail.com wrote:

 On 06/04/2012 04:42 AM, Zane C. B-H. wrote:
  On Mon, 04 Jun 2012 02:06:57 +0100
  Kaya Samankayasa...@gmail.com  wrote:
 
 snip

 I've just tried this and lost my whole system.
 
 My boot disk is not labeled to work with ahci as it just has
 standard formatting on there.
 
 Need to remove the ahci_load=YES from /boot/loader.conf file now.

Ack, my apologies. Forgot about that.

Yeah, you will need to do it from the loader prompt if you want to
test it.

Unless you are booting off of gmirror or have /etc/fstab configured
with something else that will automatically be found, you will have a
problem.

But from the loader prompt it should be...

load /boot/kernel/ahci.kp
show rootdev

If rootdev shows any thing other than shows boot device as ad,
rewrite it as ada, using the set command. See loader(8).

This will get it to boot, although it will error and drop to single
user mode as /etc/fstab contains the old stuff. Just manually mount
everything and continue.

At this point it should be up and running and able to test it out.
___
freebsd-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: vpn speed loss

2012-06-03 Thread Zane C. B-H.
On Fri, 1 Jun 2012 11:48:45 +0200
Beni Brinckman beni.brinck...@gmail.com wrote:

 Hi,
 
 I'm running FreeBSD 9.0-RELEASE (pc-bsd 9.0 actuallly) on amd64 and
 I'm using a vpn connexion.
 My problem is the enormous speed loss i'm having when I'm using the
 vpn connexion.
 I have tried Openvpn and mpd5 (with a pptp and l2pt connexion) and
 the max speed (according to various speedtests) is 5 to 6MB.
 Without the vpn I'm having 45-50 MB... My vpn service has servers in
 several European countries and US, Canada, etc. The speed stays the
 same.
 So I don't  think it is a specific bsd problem but the
 lines/connexion between ISP's.
 Is this the normal speed when using a vpn (independently of the
 used program to connect) ? Because from 45-50 back to 5-6 is a big
 step backward...
 Thanks for any insights here.

With OpenVPN, you should not be seeing that big of a drop, with the
real limiting factor being the CPU time available for it. You can
easily check top and see if that is the case.

If you get 45-50MBps between the two locations with out VPN, baring
any firewall issues at either end, it is likely a configuration issue
in regards to the networking of the machines in question or the VPN
software or a CPU resource issue.

One of the first areas I would check is the MTU being used on the
network interfaces, figure out what the max MTU for the path is, and
make sure the VPN software is not sending packets larger than that.

You may also want to take a look at tuning(7).
___
freebsd-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: Strange case of vanishing disk

2012-06-03 Thread Zane C. B-H.
On Mon, 04 Jun 2012 02:06:57 +0100
Kaya Saman kayasa...@gmail.com wrote:

 Hi,
 
 this is a very strange issue but I guess will either be related to
 2 things, PSU not being powerful enough or disk controller simply
 being crap.
 
 
 Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS 
 server with 2x 2TB disks and 2x4TB disks as storage - all spread
 out over 2 ZFS storage pools. Additionally I am running the root
 file system on a 40GB SSD.
 
 The strange thing with this is that I recently installed the 4TB
 disks and they're brand new.
 
 
 One disk connected to the system board works fine and shows up as
 online and on one of the channels using atacontrol list.
 
 
 The other disk is connected to a Startech.com Jmicron based 2x SATA
 RAID controller card.
 
 
 The disk connected to the controller card is having issues. At
 first the drive wouldn't be seen by the system then after a while
 all of a sudden it was there. No reboots, no io scans nothing it
 just appeared.
 
 After blasting it with IO for a few days the disk has now vanished 
 again.
 
 I had this error in dmesg for a while:
 
 ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535
 
 I have tried to use pciconf -lbvv to show the connected interfaces
 and the JMICRON comes up fine:
 
 
 atapci0@pci0:2:0:0:class=0x010400 card=0x2366197b
 chip=0x2366197b rev=0x02 hdr=0x00
  vendor = 'JMicron Technology Corp.'
  device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)'
  class  = mass storage
  subclass   = RAID
  bar   [10] = type I/O Port, range 32, base 0xd040, size  8,
 enabled bar   [14] = type I/O Port, range 32, base 0xd030, size  4,
 enabled bar   [18] = type I/O Port, range 32, base 0xd020, size  8,
 enabled bar   [1c] = type I/O Port, range 32, base 0xd010, size  4,
 enabled bar   [20] = type I/O Port, range 32, base 0xd000, size 16,
 enabled bar   [24] = type Memory, range 32, base 0xd051, size
 8192, enabled
 
 
 So why isn't the disk?
 
 I reckon as stated at the beginning that either the 180Watt PSU
 inside the system isn't enough or the controller is just really
 poor??
 
 
 Could anyone suggest anything to look into, I'm sure I've covered
 all the bases but just incase there is something else I can do with
 this one??

Greetings,

It looks like you are using the default ATA drive with that. I would
suggest trying the AHCI driver and see if that works better.

kldload ahci

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


Re: email hosting - How do you do it?

2012-01-28 Thread Zane C. B-H.
On Thu, 26 Jan 2012 15:51:05 -0700
Peter fb...@peterk.org wrote:

 Hello,
   I've been on qmail/vpopmail combo forever and am looking to build
 a new, mail server.

As some one who has was once a unix admin for a ISP that ran Qmail
for a SMTP server, I can safely say you should avoid it like the
plague. Managing it is a bloody PITA given how incomplete it is in so
many ways.

 First choice so far is postfix, but almost all the virtual hosting
 'howtos' require an SQL database, or editing files by hand. The SQL
 part seems like an overkill for ~20-50 email accounts, the editing
 files by hand seems like a pain and requires me doing everything
 but I'd rather let people manage their own domains.

Postfix is a great choice. A lot more manageable than Qmail and it is
pleasantly fast, easy to configure, and integrates nicely with
Dovecot.

If you are just dealing with a single domain, I would strongly
suggest looking into just using system users. This works fairly
nicely and you can lock down access via PAM.

In regards to authentication, you will need to look into something
other than the master.passwd stuff authentication as that is only
usable as root. I would strongly suggest LDAP. In regards to managing
users/groups in LDAP I would suggest sysutils/p5-Plugtools . It is
something I wrong awhile back and maintain, so if you have any
requests for add on to, please just let me know.

 Just curious on how everyone else does small/medium/large email
 hosting so that the users have an easy option to change passwords,
 manage their domains, quotas, vacation auto responders, etc. ?

My setup involves...

backend - The backend server runs LDAP and has a nice bit of disk
space shared via NFs.
frontend - The frontend servver runs all the external facing stuff,
webmail(horde), more web stuff, Dovecot(POP3/IMAP/Sieve), and
Postfix(SMTP).
NFS - Used for sharing home directories.
LDAP - Used for authentication, addressbooks, and user/groups.
Dovecot  - Use for POP3/IMAP/Sieve.
Postfix - Used for SMTP.
syslogd - Used for centralized logging for logging from the frontend
to the backend.
Horde - It makes a truely kick ass webmail system. It is nice as
allows easy integration of Sieve and LDAP addressooks.
ZFS/gmirror - Gmirror backed ZFS pools work really nicely for if you
need large amounts of storage.
___
freebsd-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: Smartcam (or can you use linux dev driver + program)

2012-01-17 Thread Zane C. B-H.
On Sun, 15 Jan 2012 01:49:06 -0800
Lyubomir Grigorov lyubo...@grigorovl.eu wrote:

 snip 
 QUESTION
 
 Is it even possible to use the Linux dev driver under FreeBSD? Since
 Smartcam is a 2-part suite: driver and application.

The Linux compatibility layer for FreeBSD does not include the ability
to use Linux kernel modules. It concerns it's self with providing
support for the non-kernel stuff.

 If it's not possible to use linuxator, will it be possible to use the
 source to create a FreeBSD version of the dev driver? I assume the
 program will be easier to port than the actual driver.

With out any changes, no. The Linux kernel and FreeBSD kernel are two
very different items.

If you are looking to port it, below are some links that would be a good
place to start off with reading.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/index.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html
http://www.freebsd.org/docs/books.html
___
freebsd-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: Probable Hardware Failure

2012-01-15 Thread Zane C. B-H.
On Sat, 14 Jan 2012 16:12:24 -0800
Doug Hardie bc...@lafn.org wrote:

 I have a pretty old desktop that has been around quite awhile.  It
 has started periodic crashes.  No log messages.  However, the core
 status files all show double fault.  I am confident this is a
 hardware issue, but is there any easy way to determine if its power
 or memory related?  Those are the primary candidates although memory
 is also possible.  We really need to replace the entire unit, but
 that might be a bit more salable if I can present convincing evidence
 of the cause of the problem.

In regards to the RAM, I would strongly suggest memtest86/memtest86+.
When you begin seeing odd issues like that, it can be a handy tool to
use for a quick RAM check.
___
freebsd-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: umass to /dev/da* mapping

2011-12-07 Thread Zane C. B-H.
On Mon, 5 Dec 2011 17:08:15 +
Mike Clarke jmc-freeb...@milibyte.co.uk wrote:

 
 I have a fairly simple perl script which is run by devd when I plug
 in a USB memory stick. The script sets up some permissions and a
 link to make life easy for a user to mount the memory stick.
 
 This normally works fine but there are problems if the memory stick
 is already inserted before booting.
 
 Normally my internal 4 slot memory card reader is detected as
 umass0 with devices da[0-3] and when the USB memory stick is
 inserted it comes up as umass1 with device da4 and my script works
 on that assumption. If the USB stick is present on booting then it
 appears as da0 on umass0 and the card reader is da[1-4] on umass1
 so the script fails.
 
 Is there any convenient way for my script to determine which da*
 devices correspond to the umass device name?

Why are you using a custom Perl script for this instead of the built
in tools for this?

Below is how I have it setup on my system...

In /etc/devfs.rules...

[localrules=10]
add path 'da*s*' mode 0660 group 5001

In /etc/rc.conf...

devfs_system_ruleset=localrules

In /etc/sysctl.conf...

vfs.usermount=1

And what group 5001 is...

[kitsune@vixen42]/etc getent group 5001
devDAaccess:*:5001:kitsune
[kitsune@vixen42]/etc 

Allows the group devDAaccess to access /dev/da*s* and mount it.

For more reading on this, I suggest the following man files...

devfs.rules(5)
rc.conf(5)
devfs(8)
___
freebsd-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: X11 - keyboard driver unloaded, how to load it again

2011-12-07 Thread Zane C. B-H.
On Wed, 7 Dec 2011 08:48:20 +0100
Sebastian Chmielewski chmi...@o2.pl wrote:

 Hi,
 I've an USB Mouse - Microsoft Wireless Mouse 1000, which is
 recognized also as a keyboard:
 ugen1.3: vendor 0x192f at usbus1 (disconnected)
 ums0: at uhub2, port 2, addr 3 (disconnected)
 ugen0.5: Microsoft at usbus0
 ukbd0: Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev
 2.00/6.56, addr 5 on usbus0
 kbd2 at ukbd0
 ums0: Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev
 2.00/6.56, addr 5 on usbus0
 ums0: 5 buttons and [XYZT] coordinates ID=26
 ums0: 0 buttons and [T] coordinates ID=0
 uhid0: Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev
 2.00/6.56, addr 5 on usbus0
 
 After disconnecting this mouse kbd module was unloaded by X:
 
 [ 40002.703] (**) Microsoft 2.4GHz Transceiver v8.0: always reports
 core events
 [ 40002.703] (**) Microsoft 2.4GHz Transceiver v8.0: always reports
 core events
 [ 40002.704] (**) Option Protocol standard
 [ 40002.704] (**) Option XkbRules base
 [ 40002.704] (**) Option XkbModel pc105
 [ 40002.704] (**) Option XkbLayout pl
 [ 40002.704] (**) Option XkbOptions terminate:ctrl_alt_bksp
 [ 40002.709] (**) Option config_info
 hal:/org/freedesktop/Hal/devices/usb_device_45e_745_noserial_if0
 [ 40002.709] (II) XINPUT: Adding extended input device Microsoft
 2.4GHz Transceiver v8.0 (type: KEYBOARD)
 [ 47161.229] (II) 3rd Button detected: disabling emulate3Button
 [ 49888.691] (II) config/hal: removing device Microsoft 2.4GHz
 Transceiver v8.0
 [ 49888.696] (II) UnloadModule: kbd
 [ 49888.696] (II) Unloading kbd
 
 Question is: how to prevent this behavior in X and how to reload
 module 'kbd' under working X session (I can connect through ssh to
 this machine).

I would suggest just disabling HAL support for x11-server/xorg-server
and just statically configuring the file. The only thing you may
possibly want to do after that is make sure moused is started if you
are have any non-USB mice on that system 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


Re: umass to /dev/da* mapping

2011-12-07 Thread Zane C. B-H.
On Wed, 7 Dec 2011 12:51:47 +
Mike Clarke jmc-freeb...@milibyte.co.uk wrote:

 On Wednesday 07 December 2011, Zane C. B-H. wrote:
 
  Why are you using a custom Perl script for this instead of the
  built in tools for this?
 
  Below is how I have it setup on my system...
 
  In /etc/devfs.rules...
 
  [localrules=10]
  add path 'da*s*' mode 0660 group 5001
 
 Because devfs only relates to boot time and I want to deal with usb 
 sticks inserted while the system is running. The allocation of
 device numbers is dynamic and depends on what other umass devices
 are already connected. Normally my internal memory card reader is
 allocated da[0-3] at boot time and the memory stick will appear as
 da4 when subsequently inserted but if it's already plugged in when
 the system boots then it appears as da0 and the card reader is
 da[1-4]. If I insert an extra memory stick it will be allocated the
 next available device number. I don't want the user to have to hunt
 around to determine which device to mount so my script takes the
 umass device number supplied by devd and determines the relevant
 da* device then it sets the permission to 660 for that device and
 creates a link, /dev/usbstick, pointing to it. All the user then
 has to do is mount /dev/usbstick on his mount point.
 
 Following the earlier tip from Polytropon I now have a working
 script which does exactly what I need.

Still you will want to investigate what I've mentioned. It will
drastically simplify permission stuff as well as make automatic. The
devfs stuff is just not boottime only, but will be applied to any new
device added etc post boot.
___
freebsd-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: umass to /dev/da* mapping

2011-12-07 Thread Zane C. B-H.
On Wed, 7 Dec 2011 08:39:30 -0700 (MST)
Warren Block wbl...@wonkity.com wrote:

 On Wed, 7 Dec 2011, Zane C. B-H. wrote:
 
  Still you will want to investigate what I've mentioned. It will
  drastically simplify permission stuff as well as make automatic.
  The devfs stuff is just not boottime only, but will be applied to
  any new device added etc post boot.
 
 Are you sure of that?  Seems like devfs permissions are only
 applied when devfs(8) apply/applyset commands are run, directly or
 through /etc/rc.d/devfs.

Yeah, I am sure of that. It is what I have setup here.

/etc/devfs.conf - This one only affects boot time stuff.

/dec/devfs.rules - This one contains the rules will be applied during
and post boot. It will also require you to specify which to use in
/etc/rc.conf as this file can contain multiple rule sets.
___
freebsd-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: A quality operating system

2011-08-20 Thread Zane C. B-H.
On Fri, 19 Aug 2011 23:47:04 -0500
Evan Busch antiequal...@gmail.com wrote:

 Hi,
 
 I make decisions about hardware and software for those who work
 with me.
 
 Talking with my second in command this morning, we reached a
 quandary. Ron is completely pro-Linux and pro-Windows, and against
 FreeBSD.

 What is odd about this is that he's the biggest UNIX fanatic I know,
 not only all types of UNIX (dating back quite some time) but also
 all Unix-like OSen.
 
 I told him I was considering FreeBSD because of greater stability
 and security.
 
 He asked me a question that stopped me dead:
 
 What is a quality operating system?
 
 
 In his view, and now mine, a quality operating system is reliable,
 streamlined and clearly organized.
 
 Over the past few years, FreeBSD has drifted off-course in this
 department, in his view.
 
 Let me share the points he made that I consider valid (I have
 deleted two as trivial, and added one of my own):
 
 (1) Lack of direction.
 
 FreeBSD is still not sure whether it is a desktop OS, or a server
 OS. It is easy for the developers to say well, it's whatever you
 want, but this makes the configuration process more involved. This
 works against people who have to use these operating systems to get
 anything done.

There is no difference between the two, only what one uses it as.
 
 In his view, a crucial metric here is the ability to estimate time
 required for any task. It may be a wide window, but it should not be
 as wide as anywhere from 30 minutes to 96 hours. In his
 experience, FreeBSD varies widely on this front because in the name
 of keeping options open, standardization of interface and process
 has been deprecated.

This makes zero sense with out any further information.

 (2) Geek culture.
 
 Geek culture is the oldest clique on the internet. Their goal is to
 make friends with no one who is not like them. As a result, they
 specialize in the arcane, disorganized and ambiguous. This forces
 people to go through the same hoops they went through. This makes
 them happy, and drives away people who need to use operating
 systems to achieve real-world results. They reduce a community to
 hobbyists only.
 
 (3) Horrible documentation.
 
 This is my specialty and has been since the early 1980s. The FreeBSD
 documentation is wordy, disorganized, inconsistent and highly
 selective in what it mentions. It is not the product of
 professionals but it also not the product of volunteers with a
 focus on communication. It seems pro-forma, as in, it's in the
 documentation, so don't bother me. The web site compounds this
 error by pointing us in multiple directions instead of to a
 singular resource. It is bad enough that man pages are separate
 from your main documentation tree, but now you have doubled or
 trebled the workload required of you without any benefit to the end
 user.

I find it questionable if the person saying this has ever dealt with
either Windows or Linux in any notable manner. Windows has
documentation and lots of it. Every single bit of it extremely
disorganized. In general with Linux I've found it is generally
missing lots of information when it is present at all.

 (4) Elitism.
 
 To a developer, looking at some inconsistent or buggy interface and
 thinking, If they can't do this, they don't belong using FreeBSD
 anyway is too easy of a thought. Yet it looks to me like this
 happens quite a bit, and this is for the elite has become the
 default orientation. This is problematic in that there are people
 out there who are every bit as smart as you, or smarter, but are
 not specialized in computers. They want to use computers to achieve
 results; you may want to play around with your computer as an
 activity, but that is not so for everyone.

Inconsistent and/or buggy? With out context this is pointless.


 (5) Hostile community.
 
 For the last several weeks, I have been observing the FreeBSD
 community. Two things stand out: many legitimate questions go
 ignored, and for others, response is hostile resulting in either
 incorrect answers, haughty snubs, and in many cases, a refusal to
 admit when the problem is FreeBSD and not the user. In particular,
 the community is oblivious to interfaces and chunks of code that
 have illogical or inconsistent interfaces, are buggy, or whose
 function does not correspond to what is documented (even in the
 manpages).

And this person likes Linux?

 (6) Selective fixes.
 
 I am guilty of this too, sometimes, but when you hope to build an
 operating system, it is a poor idea. Programmers work on what they
 want to work on. This leaves much of the unexciting stuff in a
 literal non-working state, and the entire community oblivious to it
 or uncaring. As Ron detailed, huge parts of FreeBSD are like buried
 land mines just waiting to detonate. They are details that can
 invoke that 30 minute to 96 hour time period instantly, usually
 right before you need to get something done.

No context...

 (7) Disorganized website.
 
 The 

wpa_cli issues

2011-08-19 Thread Zane C. B-H.
Is there any way to undefine a variable once it has been set?
___
freebsd-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: wpa_cli issues

2011-08-19 Thread Zane C. B-H.
On Fri, 19 Aug 2011 09:14:54 -0500 (CDT)
Robert Bonomi bon...@mail.r-bonomi.com wrote:

  From owner-freebsd-questi...@freebsd.org  Fri Aug 19 07:41:44 2011
  Date: Fri, 19 Aug 2011 07:22:34 -0500
  From: Zane C. B-H. v.ve...@vvelox.net
  To: FreeBSD Questions freebsd-questions@freebsd.org
  Subject: wpa_cli issues
 
  Is there any way to undefine a variable once it has been set?
 
 *As(stated*, the answer involves the offspring of the mating of a
 rhinoceros and an elephand.
 
 =GUESSING= that you mean a shell 'envionment variable', the answer
 is 'yes'. _How_ one can do it depends on the shell (*unspecified*!)
 being used. 'unsetenv' _may_ do the trick.  Alternatively a
 variable assignment with no value (.e.g VARIABLE=) may work.

Blarg?

None of these is even vaguely related to my question about wpa_cli,
as stated in the subject.
___
freebsd-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: wpa_cli issues

2011-08-19 Thread Zane C. B-H.
On Fri, 19 Aug 2011 13:05:01 -0400
Chris Brennan xa...@xaerolimit.net wrote:

 On 8/19/2011 10:26 AM, Zane C. B-H. wrote:
  Blarg?
  
  None of these is even vaguely related to my question about
  wpa_cli, as stated in the subject.
 
 WTF is 'Blarg'?

 How about you give us a little more context and offer to converse
 with us instead of treating us like machines who blindly spit out
 answers (right or wrong, doesn't matter, you've equated us to
 machines!)
 
 Robert did the best he could with the little bit of information you
 gave us. Even after reading your e-mail, I was left wondering what
 variables (with in or without wpa_cli) you were talking about and
 also jumped to the conclusion of shell environment variables.
 
 A rather blunt note for you (and I've learned this first hand). If
 you are rude on an Open Source mailing-list, the chances of you
 getting help drop, dramatically. The chances of you getting flamed
 for your rudeness become guaranteed.

Nothing I said was intended as rude and was phrased in a neutral
manner. Personally this knee jerk reaction to assume I was being
hostile etc is a lot more annoying and insulting than any thing.

As to any confusion as to what I was talking about I am still lost as
to how some one would come any thing shell related given wpa_cli was
very specifically stated in the subject. I actually though there was a
a Robert was trying to be an ass with his reply about shell related
stuff given that.
___
freebsd-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: wpa_cli issues

2011-08-19 Thread Zane C. B-H.
On Fri, 19 Aug 2011 12:51:16 -0500
Dan Nelson dnel...@allantgroup.com wrote:

 In the last episode (Aug 19), Zane C. B-H. said:
  On Fri, 19 Aug 2011 09:14:54 -0500 (CDT) Robert Bonomi
  bon...@mail.r-bonomi.com wrote:
   From: Zane C. B-H. v.ve...@vvelox.net
Is there any way to undefine a variable once it has been set?
   
   *As(stated*, the answer involves the offspring of the mating of
   a rhinoceros and an elephand.
   
   =GUESSING= that you mean a shell 'envionment variable', the
   answer is 'yes'. _How_ one can do it depends on the shell
   (*unspecified*!) being used. 'unsetenv' _may_ do the trick.
   Alternatively a variable assignment with no value (.e.g
   VARIABLE=) may work.
  
  Blarg?
  
  None of these is even vaguely related to my question about
  wpa_cli, as stated in the subject.
 
 wpa_cli only understands a fixed list of variables to set, and it
 doesn't make sense to undefine them.  You can set them back to
 their default values, but they must have a value.
 
 Defaults from looking at the source:
 
 EAPOL::heldPeriod = 60
 EAPOL::startPeriod = 30
 EAPOL::maxStart = 3
 EAPOL::authPeriod = 30
 dot11RSNAConfigPMKLifetime = 43200
 dot11RSNAConfigPMKReauthThreshold = 70
 dot11RSNAConfigSATimeout = 60
 
 Running set from within wpa_cli should print these values, too,
 according to the manpage.

That is for stuff set via set, but when it comes to the individual
network variables, not all of these have a default value other than
not defined, AFAIK, and setting them back to the defaults as far as I
can tell is impossible for some.

A example of this is the bssid variable. Once this has been set, I've
been unable to find any way to remove it via wpa_cli.

Any suggestions would be much appreciated.

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


/boot is on the loose

2008-05-18 Thread B H

Hello list!

After a reboot my /boot directory is missing.
Is it possible to somehow regenerate /boot and the files that live 
there? I do not want to reinstall.


Thanks for any help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-24 Thread B H

Ted Mittelstädt wrote , at 2008-03-19 05:24:


CUPS  Ghostscript.  gs and all the foomatic stuff runs just fine
with LPR/LPD, no CUPS needed.


Can one use a ppd-file with lpd/lpr?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Did Microsoft give up?

2008-02-21 Thread B H

NetOpsCenter 48799160 %m:

Aloha,

I just saw on TV news that Micro$oft has announced that it is opening 
its code for development of its operating system.


God.

Does this mean the Open Source Community has proved itself the best way 
to go?


Yes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what happened to linuxflashplugin?

2008-02-12 Thread B H

Heiko Wundram (Beenic) skrev:

Am Montag, 11. Februar 2008 15:32:26 schrieb Erich Dollansky:




Read this (in the license agreement):

...
For the avoidance of doubt, no embedded or device versions of the above 
operating systems, or any other operating systems, are included as Authorized 
Operating Systems.

...
2.1You may install and use the Software on a single desktop or laptop 
computer that runs an Authorized Operating System. A license for the Software 
may not be shared, installed or used concurrently on different computers.



...where Authorized Operating Systems is only Windows, Linux, Solaris and 
Mac OS as defined before the initial sentence, and as such, there's no clause 
that allows you to use the software on BSDs, and finally, that makes it 
forbidden to use on BSDs.


This is another reason why Flash is bad, bad, bad. Am I repeating myself?


Just because something is written in a license does not make it so.
I do not belive that it holds for a legal challenge.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disable cdrom open/close buttons

2007-12-24 Thread B H

OpenBlanchy skrev:

My wife's dog keeps bumping into my file server and ejecting either one of
the two cdrom trays. My concern is she will snap the trays off or steal/eat
a cd inside the tray. My initial fix of getting rid of the dog was rejected
so I'm coming here for a software solution.

Basically, I was wondering if there's a setting, script, or even a program
that will make it so the drive will only eject if I tell it to and the
physical buttons are of no use.


Mount the cd.


I run FreeBSD 6.2 without a gui. Thanks.


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


Re: Having problems burning a DVD

2007-11-24 Thread B H

Andrew Falanga:

command growisofs -Z /dev/acd0 -dvd-video /usr/local/dvds/whereisGod1.iso:


Try growisofs -Z /dev/cd0 -dvd-video /usr/local/dvds/whereisGod1.iso


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


Re: How to block 200K ip addresses?

2007-08-26 Thread B H

Dan Nelson:




This was a quick hack, so I'm just adding the
first IP in each line, not the whole netblock (I didn't want to write a
range-netmask converter).


No need to do that, there is ipcalc in the ports.

http://jodies.de/ipcalc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ip address location database

2007-08-24 Thread B H

David Banning skrev:

I am looking towards setting up something which will let me know what part
of the world a specific ip address is from.


Maybe this helps
http://blackholes.us/zones/countries/

It's a textfile for each country.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ip address location database

2007-08-24 Thread B H

David Banning skrev:

I am looking towards setting up something which will let me know what part
of the world a specific ip address is from.


Why are you spamming people with that C/R crap of your's?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mechanical drawing program

2007-07-27 Thread B H

Chris Kottaridis skrev:

I do a little woodworking and would like to use a computer drawing
program where I could create some mechanical drawings for various jigs
and projects I do. Mostly simple things, but would also like to be able
to handle some curves if I ever get ambitious enough to design a
stripper canoe. I'd like to be able to have proper scaled dimensions and
such.

The cad ports section seems to be all electrical CAD instead of
mechanical and the graphics section is quite large.

Does anyone have a recommendation for a ports mechanical drawing
package ?

Thanks
Chris Kottaridis([EMAIL PROTECTED])


Have a look at qcad, it's for mechanical drawings.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fontconfig question... .

2007-04-07 Thread B H

Gary Kline skrev:

When I fire up mozilla, firefox, OO-2.1.0, and whatever else,
I'll see this to stdout:

	  
	  pe 16:37 tao [5433] mozilla 
	  Fontconfig warning: no cachedir elements found. Check configuration.

  Fontconfig warning: adding cachedir/var/db/fontconfig/cachedir
  Fontconfig warning: adding cachedir~/.fontconfig/cachedir
	   
	I've got a seriously old, severely cheep CD with 1500 fonts, plus

hundreds more I've gleaned that are free.  I've clicked around on
firefox and mozilla but have no idea how to find, much less:
	Check configuration.  


I've read  the html in /usr/X11R6/share/doc/fonconfig, but don't
see any {/usr/local}/etc/fonts directory.  [???]

Can anybody clue me in?


It's in /usr/X11R6/etc/fonts/fonts.conf



gary





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


Re: Skype will can't connect.

2007-04-05 Thread B H

Paris Jones skrev:

 Using FreeBSD 6.0 Stable.
Using the linux_base-8 port.

I would like to try Skype, but the port will only allow me to use ONE of my 
devices
at a time, so my headset can't hear and talk at the same time, I have to manually 
swich between the headset and speaker device.


Have you tried the suggestion you got from Garret Cooper?

If your not willing to try the suggestions you get the chances of fixing 
problems is very small.

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


Re: Why doesn't sendmail wait to receive on port 25?

2007-03-24 Thread B H

[EMAIL PROTECTED] skrev:

I'm trying to install sendmail8.13.4 into freeBSD 6.0.

And I done all setting of sendmail and confirmed that sendmail is running.
in addtion of that. I confirmed that sendmail is working as the followings:
1. I can send e-mail by telnet localhost smtp
2. I cannot connect to this PC at any another PC by telnet IPadress smtp.
And I found out that the PC I am installing does not wait to receive on
port 25.


Do you have sendmail_enable=YES in rc.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Whois borked.

2007-03-08 Thread B H

Hello.

I´ve upgraded from 6.1-stable to 6.2-STABLE and now whois don't like me 
any more.




$ whois ipnumber
whois: whois.arin.net: servname not supported for ai_socktype

$ whois domain
whois: whois.arin.net: servname not supported for ai_socktype

$ whois
usage: whois [-aAbdfgiIklmQrR6] [-c country-code | -h hostname] [-p 
port] name ...


What gives?

/BH
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Whois borked.

2007-03-08 Thread B H

Nikos Vassiliadis skrev:

On Thursday 08 March 2007 17:23, B H wrote:


Hello.

I´ve upgraded from 6.1-stable to 6.2-STABLE and now whois don't like me 
any more.




$ whois ipnumber
whois: whois.arin.net: servname not supported for ai_socktype



Is it configured to the services DB?


Silly me. It was not. Is that change to the services DB dokumented in 
UPDATING? Or somewhere else?



Do a grep whois /etc/services. You
should see there - among aothers - a
line like this:
nicname  43/tcpwhois


I added it and now it works!

Thank you Nikos Vassiliadis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How I get tomcat5.5 admin package

2006-12-02 Thread B H

LimChang Guen skrev:
My browser show the message : Tomcat's administration web application is no longer installed by default. 

 Download and install the admin package to use it.




How can I fix it?


Download and install the admin package to use it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unsubscribe me please

2006-11-18 Thread B H

Clyde's Human Unit skrev:

It's all in the headers, read them!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone here who also has a WinTuner?

2006-11-09 Thread B H

Mark Jayson Alvarez skrev:

Hi,

As I was expecting, my post to freebsd-multimedia will not get me 
anywhere..

However, I'm not in the mood to give up this time..



However, upon launching xawtv, I got these:

$xawtv
This is xawtv-3.95, running on FreeBSD/i386 (6.2-PRERELEASE)
Warning: Cannot convert string
-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-* to type FontStruct
Xlib:  extension GLX missing on display :0.0.


You are missing a font called *ledfixed* and also missing the
GLX extension in your xorg.conf file


bktr0: Leadtek Winfast TV 2000, Philips FR1236 NTSC FM tuner.


Same as mine, but I'm in no position to try to get it working now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail problem

2006-05-20 Thread B H

josemel esleta:

I'm very new at using sendmail. i can send email to my
own domain, but when i send to others domain emails
cannot be receive.  Can anyon advice on what to change
in my configurations. I'm using freebsd 6.0 and
sendmail 8.13.4.

Any reply is appreciated.

Thanks... 


What is the error message or bounce message?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IP Filter problems on 4.11-STABLE

2006-03-29 Thread B H

Hello!


I've upgrade a machine about a week ago from 4.10-p19 i belive it was.

Now IPFilter does not work or is VERY slow, ssh, web and mail timesout.

NAT is working like it should.

# dmesg | grep 'IP Filter'
IP Filter: v3.4.35 initialized.  Default = pass all, Logging = enabled

ipf.rules looks like this:

# Let clients behind the firewall send out to the internet, and replies to
# come back in by keeping state.
pass out quick on fxp0 proto tcp all keep state
pass out quick on fxp0 proto udp all keep state
pass out quick on fxp0 proto icmp all keep state

# Since nothing should be coming from these address ranges, block them
block in log quick on fxp0 from 82.182.0.0/16 to any
block in quick on fxp0 from 192.168.0.0/16 to any
block in quick on fxp0 from 172.16.0.0/12 to any
block in quick on fxp0 from 10.0.0.0/8 to any
block in quick on fxp0 from 127.0.0.0/8 to any
block in quick on fxp0 from 192.0.2.0/24 to any
block in log quick on fxp0 from any to 10.0.0.0/32
block in log quick on fxp0 from any to 10.0.0.255/32

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


Re: IP Filter problems on 4.11-STABLE

2006-03-29 Thread B H

Erik Norgaard skrev:

B H wrote:


Now IPFilter does not work or is VERY slow, ssh, web and mail timesout.

NAT is working like it should.

# dmesg | grep 'IP Filter'
IP Filter: v3.4.35 initialized.  Default = pass all, Logging = enabled

ipf.rules looks like this:

# Let clients behind the firewall send out to the internet, and 
replies to

# come back in by keeping state.
pass out quick on fxp0 proto tcp all keep state
pass out quick on fxp0 proto udp all keep state
pass out quick on fxp0 proto icmp all keep state

# Since nothing should be coming from these address ranges, block them
block in log quick on fxp0 from 82.182.0.0/16 to any
block in quick on fxp0 from 192.168.0.0/16 to any
block in quick on fxp0 from 172.16.0.0/12 to any
block in quick on fxp0 from 10.0.0.0/8 to any
block in quick on fxp0 from 127.0.0.0/8 to any
block in quick on fxp0 from 192.0.2.0/24 to any
block in log quick on fxp0 from any to 10.0.0.0/32
block in log quick on fxp0 from any to 10.0.0.255/32



1st: the last two rules have no effect at all, packets are caught in the 
4th in-rule.


Yes, I see that now.

You have nat? 


Yes, and it's working.

are you routing traffic? 


Yes.

what is your network config (ifconfig)? 


# ifconfig
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.0.0.1 netmask 0xff00 broadcast 10.255.255.255
inet6 fe80::210:a7ff:fe0e:2ad9%rl0 prefixlen 64 scopeid 0x1
ether 00:10:a7:0e:2a:d9
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 1.2.3.4 netmask 0xff00 broadcast 1.2.3.255
inet6 fe80::230:6eff:fe06:6990%fxp0 prefixlen 64 scopeid 0x2
ether 00:30:6e:06:69:90
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
faith0: flags=8002BROADCAST,MULTICAST mtu 1500


from where to where are you trying to connect,


From the outside and in.

Have you tried to sniff on the interface to see what traffic is 
coming in and going out?


No.

ipfilter not working is good (I mean it is easier to track down), 
ipfilter being slow is really difficult to debug.


Erik


BH
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Filter problems on 4.11-STABLE

2006-03-29 Thread B H

Erik Norgaard skrev:

B H wrote:


 From outside and in means from somewhere on the internet to the 
external interface on our fw? 


Yes.


or to a natted server inside?


No.

The outside ip is not in the range 82.182.0.0/16? you have blocked 
everything from that address space,, first in-rule.


No, it's not in the 82-range


Erik



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


Re: Redirecting Traffic with PF

2006-02-27 Thread B H

Frank Staals skrev:

Noel Jones wrote:


On 2/24/06, Frank Staals [EMAIL PROTECTED] wrote:
 


Hey,

I have an FreeBSD server/firewall running 5-Stable with PF. I want to
redirect all udp traffic on port 27902 from the internet to a computer
in my network. I used this rule but I have some problem with it:
sometimes connections on that port are refused and I can't connect with
other players ( it's for a online game ) :

rdr on $extif inet proto udp from any port 27902 - 192.168.2.11 port 
27902


Portmapping and redirections are set with ipnat.

In your ipnat.rules - or whatever you call it - put something like this:

rdr fxp0 0.0.0.0/0 port 80 - 10.0.0.2 port 80 tcp

Change to suite yor setup.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How get swedish keyboard on the consol after loggin on

2006-02-12 Thread B H

After the system starts and before I log on to the system
the keys and letters åäö and ÅÄÖ seem to work OK. But
as soon as I log on they don't. Why is that?

Thanks!
/John

Put this in your rc.conf

keymap=swedish.cp850

works on 4.10-RELEASE-p19 and 6.1-PRERELEASE #0

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


Re: Samba system error 5 even with nt acl support = no

2005-12-26 Thread B H

Timothy J. Luoma skrev:

SOLVED


IMHO no!


On the XP machine:

Control Panel  Administrative Tools  Local Security Policy 

Security Settings  Local Policies  Security Options

Scroll to:

Microsoft network client: Send unencrypted password to third-party
SMB servers


You put this in your smb.conf

{global]
encrypt passwords = yes


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


Re: Samba system error 5 even with nt acl support = no

2005-12-26 Thread B H

Timothy J. Luoma skrev:


Microsoft network client: Send unencrypted password to third-party
SMB servers


From smb.conf

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
;  encrypt passwords = yes

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


Re: postfix help

2005-12-08 Thread B H

Michael Sherman skrev:

Hello all.


Hello.


I am trying to get postfix to relay mail through my ISP, without much
luck though.



relay=smtp-rog.mail.yahoo2.akadns.net[206.190.36.18], delay=0,
status=bounced (host smtp-rog.mail.yahoo2.akadns.net[206.190.36.18]
said: 530 authentication required - for help go to

^^^

http://help.yahoo.com/help/us/mail/pop/pop-11.html (in reply to MAIL
FROM command))



Any ideas?


Tell postfix to do authentication. Wich I belive is not possible to do 
with an MTA.



Thanks in advance


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


Re: mot de passe root

2005-03-23 Thread B H
Dimitri GALAITSIS skrev:
A la fin de l'intallation de BSB 5.3 lors que le systéme me demande de 
définir un mot de passe root le systeme refuse
Ni skåningar ska då pressa er inöver allt.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network Printing (continued)

2005-01-24 Thread B H
gabriel skrev:
Here's what I tried:
insomniac# echo wee | lpr -P HPPRINTER 
lpr: Unable to connect to /var/run/printer: No such file or directory
lpr: Check to see if the master 'lpd' process is running.
jobs queued, but cannot start daemon.
insomniac#
You need to backup the original lpd  lpr files.
Copy the cups versions of those files to that directory.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]