Re: Jails and IP Aliasing

2008-07-08 Thread Matthew Seaman
Jason Morgan wrote: On 2008.07.07 12:16:44, David Allen wrote: # grep fxp0 /etc/rc.conf ifconfig_fxp0=inet 10.0.1.2 netmask 0xff00 ifconfig_fxp0_alias0=10.0.1.3 netmask 0x ifconfig_fxp0_alias1=10.0.1.4 netmask 0x ifconfig_fxp0_alias2=10.0.1.5 netmask 0x My

Re: Procmail error

2008-07-08 Thread Anders Troback
On Mon, 7 Jul 2008 22:05:04 -0700 Rem P Roberti [EMAIL PROTECTED] wrote: Probably the wrong forum for this, but since it's on a freebsd system: I have mutt installed on two other freebsd computers. I fetch pop mail via getmail, and procmail puts things where they belong. I just installed

Re: Procmail error

2008-07-08 Thread Rem P Roberti
Probably the wrong forum for this, but since it's on a freebsd system: I have mutt installed on two other freebsd computers. I fetch pop mail via getmail, and procmail puts things where they belong. I just installed freebsd 7.0 on another computer with what I thought were the

Re: tape device not configured

2008-07-08 Thread Papp Tamas
Anders Trobäck wrote: On Mon, 07 Jul 2008 23:21:15 +0200 Papp Tamas [EMAIL PROTECTED] wrote: hi All, I have a new Exabyte VXA-320, I show it in dmesg as sa0. When I try to access it for example by mt, it says, Device not configured, and of cource is not working. sa0 at ahd0 bus 0 target

Re: tape device not configured

2008-07-08 Thread Papp Tamás
Papp Tamas wrote: mt -f /dev/sa0 I mean mt -f /dev/sa0 status But actually I recogniozed, it was a cleaning tape. I'm sorry:) Thank you, tamas ___ freebsd-questions@freebsd.org mailing list

Re: No serial console input in loader

2008-07-08 Thread Anselm Strauss
On Jun 28, 2008, at 13:15 , Anselm Strauss wrote: Hi, I have a small router that has no video output, it only supports a serial console. I configured the serial console in /boot/ boot.config, /boot/loader.conf and /etc/ttys. It's working in the BIOS, on the boot prompt before the loader

Re: bsdlabel has no effect

2008-07-08 Thread Anselm Strauss
On Jun 28, 2008, at 13:25 , Anselm Strauss wrote: Hi, originally I had the following labels on my ad0 disk (no partitions, directly labeled /dev/ad0): # /dev/ad0: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 1048576 04.2BSD 1024 8192 46248 c:

how to mount USB drive on system startup

2008-07-08 Thread Zbigniew Szalbot
Dear all, I am trying to make sure my USB hard drive will be available when system has finished booting. So: $ grep usbd /etc/rc.conf usbd_enable=YES and $ grep backup /etc/fstab /dev/ad3s1d /backup ufs rw 2 2 But when I restart the system (FreeBSD 6.3-RELEASE-p1), it

Re: Capturing ATA devices serial numbers

2008-07-08 Thread Gonzalo Nemmi
On Monday 07 July 2008 19:24:36 Wojciech Puchar wrote: atacontrol cap device _Really_nice_ ... Will add it to my repertoire :) thanks for the hint Wojciech ! -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list

Re: how to mount USB drive on system startup

2008-07-08 Thread Odhiambo Washington
On Tue, Jul 8, 2008 at 10:45 AM, Zbigniew Szalbot [EMAIL PROTECTED] wrote: Dear all, I am trying to make sure my USB hard drive will be available when system has finished booting. So: $ grep usbd /etc/rc.conf usbd_enable=YES and $ grep backup /etc/fstab /dev/ad3s1d /backup ufs rw

subversion build problem

2008-07-08 Thread Warren Liddell
=== Building package for apr-gdbm-db42-1.3.2 Creating package /usr/ports/packages/All/apr-gdbm-db42-1.3.2.tbz Registering depends: libiconv-1.11_1 db42-4.2.52_5 gdbm-1.8.3_3 expat-2.0.1. Registering conflicts: apr-*. Creating bzip'd tar ball in '/usr/ports/packages/All/apr-gdbm-db42-1.3.2.tbz'

Re: how to mount USB drive on system startup

2008-07-08 Thread Zbigniew Szalbot
Hello, Odhiambo Washington: On Tue, Jul 8, 2008 at 10:45 AM, Zbigniew Szalbot [EMAIL PROTECTED] wrote: Dear all, I am trying to make sure my USB hard drive will be available when system has finished booting. So: $ grep usbd /etc/rc.conf usbd_enable=YES and $ grep backup /etc/fstab

Re: automount is not recognizing option longname

2008-07-08 Thread Mel
On Monday 07 July 2008 17:38:55 Stevan Tiefert wrote: Hello list, I have setup amd and it works fine. Only one special situation is making me crazy. When I want to use a USB-Stick without data on it, amd is mounting it with the 8.3-limitation. I've added the option longname in my map-file

Re: Jails and IP Aliasing

2008-07-08 Thread Ivailo Tanusheff
Hi, I guess the problem is with your netmask and respectivly the broadcast adrresses for the jails. It should be: inet 10.0.1.2 netmask 0xff00 broadcast 10.0.1.255 inet 10.0.1.3 netmask 0xff00 broadcast 10.0.1.255 inet 10.0.1.4 netmask 0xff00 broadcast 10.0.1.255 Regards, Ivailo

How to disable that an user execute any command

2008-07-08 Thread DSA - JCR
Hi all I use FreeBSD 6.2, and GELI I want to make an user for the only task of remove/insert the usb copy disk. I have made a new user (operator group), and a shell task that ask for the GELI password and fsck and mount the USB disk. This work fine under root. but I think that if he/she want

Re: Jails and IP Aliasing

2008-07-08 Thread Mel
On Monday 07 July 2008 18:51:33 David Allen wrote: Granted, everything is really happening over the loopback address, but a connection originating from the jailhost to a jail should appear to be using the jailhost's IP address, or so I'd like to think. If it doesn't, then the scenario is

Re: Jails and IP Aliasing

2008-07-08 Thread Mel
On Tuesday 08 July 2008 11:13:04 Ivailo Tanusheff wrote: Hi, I guess the problem is with your netmask and respectivly the broadcast adrresses for the jails. It should be: inet 10.0.1.2 netmask 0xff00 broadcast 10.0.1.255 inet 10.0.1.3 netmask 0xff00 broadcast 10.0.1.255 inet

Re: automount is not recognizing option longname

2008-07-08 Thread Stevan Tiefert
Am Dienstag, 8. Juli 2008 10:57:39 schrieb Mel: On Monday 07 July 2008 17:38:55 Stevan Tiefert wrote: Hello list, I have setup amd and it works fine. Only one special situation is making me crazy. When I want to use a USB-Stick without data on it, amd is mounting it with the

Re: Jails and IP Aliasing

2008-07-08 Thread Ivailo Tanusheff
No, I am right. Try it yourself and you will see that solves the issue. I have several jails on different machines and this way the system works without any error or problem. Try it and see it :) Regards, Ivailo Tanusheff Mel [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 08.07.2008 12:38

Re: How to disable that an user execute any command

2008-07-08 Thread Dez Accid
DSA - JCR wrote: I want to make an user for the only task of remove/insert the usb copy disk. I have made a new user (operator group), and a shell task that ask for the GELI password and fsck and mount the USB disk. This work fine under root. but I think that if he/she want to make CTRL-C to

Re: subversion build problem

2008-07-08 Thread Fraser Tweedale
On Tue, Jul 08, 2008 at 06:26:56PM +1000, Warren Liddell wrote: === Building package for apr-gdbm-db42-1.3.2 Creating package /usr/ports/packages/All/apr-gdbm-db42-1.3.2.tbz Registering depends: libiconv-1.11_1 db42-4.2.52_5 gdbm-1.8.3_3 expat-2.0.1. Registering conflicts: apr-*. Creating

Re: subversion build problem

2008-07-08 Thread Giorgos Keramidas
On Tue, 8 Jul 2008 20:45:49 +1000, Fraser Tweedale [EMAIL PROTECTED] wrote: On Tue, Jul 08, 2008 at 06:26:56PM +1000, Warren Liddell wrote: === Building package for apr-gdbm-db42-1.3.2 Creating package /usr/ports/packages/All/apr-gdbm-db42-1.3.2.tbz Registering depends: libiconv-1.11_1

Re: difference between loading kernel module during boot and after boot manually?

2008-07-08 Thread Vincent Barus
On Sun, Jun 22, 2008 at 11:29 PM, Vincent Barus [EMAIL PROTECTED] wrote: Hi everybody, is there a difference between loading a kernel module during the boot process and loading a module manually after the login? I'm asking this on a general basis and because of pr: kern/123563. I don't know

Re: Jails and IP Aliasing

2008-07-08 Thread David Allen
On Mon, Jul 7, 2008 at 2:01 PM, George Hartzell [EMAIL PROTECTED] wrote: Did you take the necessary steps to restrict the IP addresses on which sendmail on the host and the jail listen? The jail man page only says: I don't think anyone would get too far with jails in general if the jail host

Re: How to disable that an user execute any command

2008-07-08 Thread Kirk Strauser
On Tuesday 08 July 2008, DSA - JCR wrote: but I think that if he/she want to make CTRL-C to the shell task, he can stop the task and then enter in the system and look whatever he wants (for example, how the things are done). Use sudo to allow non-root users to run that script as root. If

Re: difference between loading kernel module during boot and after boot manually?

2008-07-08 Thread David Gurvich
I don't know what the difference is, but there is one. I have a system that automatically reboots if nvidia is added to /boot/loader.conf on FreeBSD7. If the module is loaded from the loader prompt the system boots and xorg works. I now use solaris on that system as FreeBSD had all sorts of

Re: bsdlabel has no effect

2008-07-08 Thread Jerry McAllister
On Tue, Jul 08, 2008 at 09:19:09AM +0200, Anselm Strauss wrote: On Jun 28, 2008, at 13:25 , Anselm Strauss wrote: Hi, originally I had the following labels on my ad0 disk (no partitions, directly labeled /dev/ad0): # /dev/ad0: 8 partitions: #size offsetfstype [fsize

Re: how to mount USB drive on system startup

2008-07-08 Thread Jerry McAllister
On Tue, Jul 08, 2008 at 09:45:55AM +0200, Zbigniew Szalbot wrote: Dear all, I am trying to make sure my USB hard drive will be available when system has finished booting. So: $ grep usbd /etc/rc.conf usbd_enable=YES and $ grep backup /etc/fstab /dev/ad3s1d /backup ufs rw 2

Re: Procmail error

2008-07-08 Thread Frank Shute
On Mon, Jul 07, 2008 at 11:22:19PM -0700, Rem P Roberti wrote: Probably the wrong forum for this, but since it's on a freebsd system: I have mutt installed on two other freebsd computers. I fetch pop mail via getmail, and procmail puts things where they belong. I just

Re: Procmail error

2008-07-08 Thread Rem P Roberti
On 2008.07.08 16:46:18 +, Frank Shute wrote: On Mon, Jul 07, 2008 at 11:22:19PM -0700, Rem P Roberti wrote: Probably the wrong forum for this, but since it's on a freebsd system: I have mutt installed on two other freebsd computers. I fetch pop mail via getmail, and

Re: Jails and IP Aliasing

2008-07-08 Thread David Allen
On Tue, Jul 8, 2008 at 2:24 AM, Mel [EMAIL PROTECTED] wrote: On Monday 07 July 2008 18:51:33 David Allen wrote: Granted, everything is really happening over the loopback address, but a connection originating from the jailhost to a jail should appear to be using the jailhost's IP address, or

Re: Procmail error

2008-07-08 Thread Frank Shute
On Tue, Jul 08, 2008 at 08:52:33AM -0700, Rem P Roberti wrote: On 2008.07.08 16:46:18 +, Frank Shute wrote: On Mon, Jul 07, 2008 at 11:22:19PM -0700, Rem P Roberti wrote: Probably the wrong forum for this, but since it's on a freebsd system: I have mutt installed on

rblsmtpd/qmail-smtpd hung processes

2008-07-08 Thread Brad Mettee
I've run into a bit of a problem and if I don't solve it soon, I'm going to be without e-mail (and so will a lot of other people). This is a bit long, I'm trying to include anything that may help. The problem is that qmail-smtpd and/or rblsmtpd get stuck and don't close. After a while the

Re: Procmail error

2008-07-08 Thread Rem P Roberti
What does your getmailrc look like? I've got this section in there. You should have similar: [destination] type = MDA_external path = /usr/local/bin/procmail user = frank Here is the entry I use: [destination] type = MDA_external path = /usr/local/bin/procmail unixfrom =

Re: Jails and IP Aliasing

2008-07-08 Thread Matthew Seaman
David Allen wrote: There was a post recently (Matthew Seaman's name comes to mind) that suggested binding jails to addresses in the loopback range and then using firewall rules to redirect the traffic accordingly. There's a possibility that may help in this case, but that layer of added

ports

2008-07-08 Thread kalin m
brand new install of freebsd 7. some httpd and named. what are these? udp6 0 0 *.54168*.* udp4 0 0 *.54167*.* thanks # netstat -a Active Internet connections (including servers) Proto Recv-Q

Re: ports

2008-07-08 Thread Lowell Gilbert
kalin m [EMAIL PROTECTED] writes: brand new install of freebsd 7. some httpd and named. what are these? Use sockstat(1) to find out? udp6 0 0 *.54168*.* udp4 0 0 *.54167*.* thanks # netstat -a Active

RE: Capturing ATA devices serial numbers

2008-07-08 Thread Vaughn Clinton
Okay - I've tried this against two devices in the system. The devices queried are report as ad0 and ad2. When using the following command against either device I get the following response: usage: atacontrol command channel [args] Now, it must be noted that I am using a ccd device that's has

Re: Jails and IP Aliasing

2008-07-08 Thread Daniel Gerzo
Hello, * Something like a loopback address inside the jail. It may be 127.0.0.2 instead of 127.0.0.1 but most software can be persuaded to use it for loopback style things. * The ability to map several IPs onto the jailed system by use of NAT and redirect within

ipf question

2008-07-08 Thread ann kok
Hi all I am using ipf associated with ippool. When I need to change /etc/ipf/ippool.conf, say add a new member in a group, ippool -F and ippool -f /etc/ipf/ippool.conf doesn't seem to work. I also tried reloading the ipfilter rule by 'ipf -Fa -f /etc/ipf/ipf.conf', but ipf doesn't seem to

Re: ports

2008-07-08 Thread Matthew Seaman
Lowell Gilbert wrote: kalin m [EMAIL PROTECTED] writes: brand new install of freebsd 7. some httpd and named. what are these? Use sockstat(1) to find out? udp6 0 0 *.54168*.* udp4 0 0 *.54167*.* Almost certainly

Re: Jails and IP Aliasing

2008-07-08 Thread Chris St Denis
Daniel Gerzo wrote: Hello, * Something like a loopback address inside the jail. It may be 127.0.0.2 instead of 127.0.0.1 but most software can be persuaded to use it for loopback style things. * The ability to map several IPs onto the jailed system by use of NAT and

Re: ports

2008-07-08 Thread Yuri Pankov
On Tue, Jul 08, 2008 at 12:14:54PM -0400, kalin m wrote: brand new install of freebsd 7. some httpd and named. what are these? udp6 0 0 *.54168*.*udp4 0 0 *.54167*.* thanks Try using

Re: ports

2008-07-08 Thread Mel
On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote: You can configure named to always send packets using a fixed port number (which can be helpful for firewalling) Purely outof interest, which (useful) firewall/nat rules cannot be made with dest port 53, that can be made with source port

Re: difference between loading kernel module during boot and after boot manually?

2008-07-08 Thread Mel
On Tuesday 08 July 2008 16:48:26 Vincent Barus wrote: does anyone have an idea what's the difference or what _could_ be the difference on loading a kernel module during boot or manually? There's one major difference. File systems aren't mounted at loader stage, so any reference to

Re: quota and sendmail accepts 10k mail size

2008-07-08 Thread Derek Ragona
At 08:14 PM 7/7/2008, lyd mc wrote: Greetings, I setup my mail server on freebsd7.0R and it is working great! However, I have a problem on quota. It suppose to block any incoming message to specific user which is under quota. But sendmail can still send to the user under quota if the mail

Re: ports

2008-07-08 Thread kalin m
right named... thanks Matthew Seaman wrote: Lowell Gilbert wrote: kalin m [EMAIL PROTECTED] writes: brand new install of freebsd 7. some httpd and named. what are these? Use sockstat(1) to find out? udp6 0 0 *.54168*.* udp4 0 0 *.54167

Re: wpa, static ip only on specific networks

2008-07-08 Thread Mel
On Tuesday 08 July 2008 03:32:10 David Gurvich wrote: How does one configure a wireless connection using wpa and dhcp on some networks and wpa with a static ip on others? Tough. I'd probably configure the interface as WPA inet 127.0.0.2 netmask 255.0.0.0 and then put a script in

Re: Jails and IP Aliasing

2008-07-08 Thread Mel
On Tuesday 08 July 2008 11:24:33 Mel wrote: On Monday 07 July 2008 18:51:33 David Allen wrote: Granted, everything is really happening over the loopback address, but a connection originating from the jailhost to a jail should appear to be using the jailhost's IP address, or so I'd like to

Re: Jails and IP Aliasing

2008-07-08 Thread David Allen
On Tue, Jul 8, 2008 at 9:35 AM, Matthew Seaman [EMAIL PROTECTED] wrote: David Allen wrote: There was a post recently (Matthew Seaman's name comes to mind) that suggested binding jails to addresses in the loopback range and then using firewall rules to redirect the traffic accordingly.

Re: Load balance for POP3

2008-07-08 Thread scuba
Hi Vince, On Mon, 30 Jun 2008, Vince Hoffman wrote: | | I need to switch the users connections between two POP3 servers based on | | login information. | | Since the login is part of the pop3 handshake, I'm stuck on how to | | transfer the connection and pass the info already sent. |

Re: ports

2008-07-08 Thread David Allen
On Tue, Jul 8, 2008 at 11:04 AM, Mel [EMAIL PROTECTED] wrote: On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote: You can configure named to always send packets using a fixed port number (which can be helpful for firewalling) Purely outof interest, which (useful) firewall/nat rules cannot

Re: Sound on amd64

2008-07-08 Thread Frank Shute
On Mon, Jul 07, 2008 at 01:41:34PM -0700, Kurt Buff wrote: First, my apologies - I sent my last missive to Conrad, and not to the list. I'm replying to myself with an update. Details below. Kurt On Sun, Jul 6, 2008 at 2:51 PM, Kurt Buff [EMAIL PROTECTED] wrote: On Sun, Jul 6, 2008 at

Re: FreeBSD + ZFS on a production server?

2008-07-08 Thread Kris Kennaway
Wojciech Puchar wrote: ZFS on FreeBSD is GEOM-ified. While I believe what Wojciech said about needing a full disk is correct under Solaris, it's not the case in i never said it requires full disk. but it will work very slow sharing a disk with non-ZFS things. Well, of course if you are

Re: FreeBSD + ZFS on a production server?

2008-07-08 Thread Kris Kennaway
Wojciech Puchar wrote: ZFS can be installed on partitions and share disks with other things, but the performance will be bad. There is nothing ZFS-specific about this statement. ZFS - contrary to every other filesystem that use FreeBSD disk I/O scheduler - does it's own I/O scheduling, so

Fwd: Sound on amd64

2008-07-08 Thread Kurt Buff
On Tue, Jul 8, 2008 at 1:20 PM, Frank Shute [EMAIL PROTECTED] wrote: On Mon, Jul 07, 2008 at 01:41:34PM -0700, Kurt Buff wrote: First, my apologies - I sent my last missive to Conrad, and not to the list. I'm replying to myself with an update. Details below. Kurt On Sun, Jul 6, 2008 at

Re: New user with a possible ZFS problem

2008-07-08 Thread Kris Kennaway
Kevin Monceaux wrote: On Wed, 2 Jul 2008, Kevin Monceaux wrote: Saturday I finally found one of those round tuits and switched my home PC from Debian to FreeBSD. I probably should have mentioned that the box in question is a slightly older hyperthreaded Intel Pentium 4 box, an HP m260n to

Re: ports

2008-07-08 Thread Chuck Swiger
On Jul 8, 2008, at 11:04 AM, Mel wrote: On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote: You can configure named to always send packets using a fixed port number (which can be helpful for firewalling) Purely outof interest, which (useful) firewall/nat rules cannot be made with dest

re: rblsmtpd/qmail-smtpd hung processes

2008-07-08 Thread Brad Mettee
I've run into a bit of a problem and if I don't solve it soon, I'm going to be without e-mail (and so will a lot of other people). This is a bit long, I'm trying to include anything that may help. The problem is that qmail-smtpd and/or rblsmtpd get stuck and don't close. After a while the

Re: New user with a possible ZFS problem

2008-07-08 Thread Kevin Monceaux
Kris, On Tue, 8 Jul 2008, Kris Kennaway wrote: You may be running out of memory. Increase kmem_size until it goes away. I use 1500M on my systems, which are stable. Yes, ZFS is a memory hog. Boy, ZFS sure does sound like it's earned the title of memory hog. Oddly I'd been running for

Firefox/epiphany/galeon all crash

2008-07-08 Thread Kurt Buff
As soon as I log into my gmail account, and several other sites. Running 7-STABLE, amd64 - FF is 2.0.0.14, gecko is 20080628. I'm writing this on my really old Windows laptop Below are the last few lines from a representative set of output from session launched from the commandline. Is it flash,

Data loss after power out - fsck: bad inode number to nextinode

2008-07-08 Thread Polytropon
Hi, since last week I'm in big trouble: After an power outage my main system didn't boot up anymore, so I checked its hard disk (FreeBSD 5.4) in my new system (FreeBSD 7.0). I booted the system in SUM and ran fsck on the partitions. / on /dev/ad1s1a could be repaired, /var on 1d too, /usr on 1e

Re: Data loss after power out - fsck: bad inode number to nextinode

2008-07-08 Thread Anish Mistry
On Tuesday 08 July 2008, Polytropon wrote: Hi, since last week I'm in big trouble: After an power outage my main system didn't boot up anymore, so I checked its hard disk (FreeBSD 5.4) in my new system (FreeBSD 7.0). I booted the system in SUM and ran fsck on the partitions. / on

Re: AMD SB700 southbridge sata ahci supported?

2008-07-08 Thread Gobbledegeek
Thanks for responding. My problem is different.I think it is in boot stage 2 possibly a problem with the loader. Hence my problem does not resemble yours. I am able to run the install disk just fine nd complete installation. Its the installed Os that I cannot boot. Kind Regards On Sun, Jul 6,

Re: Data loss after power out - fsck: bad inode number to nextinode

2008-07-08 Thread perryh
What should I do? In theory, clri {special-file} 306176 should wipe the inode containing the bad pointer and allow fsck to continue, perhaps recovering the files pointed to by that directory into lost+found. Definitely try this on a copy first if at all possible.