RE: jail login and replication problems

2006-07-06 Thread Philippe Lang
[EMAIL PROTECTED] wrote:

> Hi Dan,
> 
> Did you ever find a solution to this problem? I've had the
> exact same problem, and have tried various different things
> to resolve it... all to no avail. It's really annoying have
> to remake the jail from scratch every time, as I'd much
> rather do the configuration once, and use it as a
> cookie-cutter for future jails.

Hi,

For duplicating jail, use the utility called "cpdup". Tar does not work for 
this.

Bye

Philippe

> Patrick
> 
> On 7/26/05, Dan Rue <[EMAIL PROTECTED]> wrote:
>> Greetings,
>> 
>> I am setting up multiple jails on a machine.  The first jail,
>> everything works fine.  If I add a user, that user can log in.  If I
>> tar cvzpf the jail, tar xvzpf to create a new one, some people can
>> log into the new jail, and some can not.
>> 
>> The user that can log in to the new one was the first user created
>> (me), but any subsequent users can not log into new jails..
>> 
>> The symptom is right after accepting the password via ssh, the
>> connection will just get dropped.  I could not find any good error
>> messages using ssh..  But if I enable telnet and try to telnet in, I
>> receive this error in /var/log/messages:
>> 
>> Jul 26 16:11:46 jail3 login: _secure_path: cannot stat
>> /home/user3/.login_conf: Permission denied Jul 26 16:11:46 jail3
>> login: _secure_path: cannot stat /etc/login.conf: Permission denied
>> Jul 26 16:11:46 jail3 login: _secure_path: cannot stat
>> /home/user3/.login_conf: Permission denied Jul 26 16:11:46 jail3
>> login: _secure_path: cannot stat /etc/login.conf: Permission denied
>> 
>> The permissions on those files are fine.
>> 
>> So what would cause that error in jails that have been replicated
>> using tar, but only to some users?  I'm stumped..
>> 
>> Here's my rc.conf exerpt:
>> 
>> jail_enable="YES"
>> jail_list="jail3"
>> jail_socket_unixiproute_only="NO"
>> jail_sysvipc_allow="YES"  # allow shared mem on all jails
>> 
>> jail_jail3_rootdir="/jails/jail3"
>> jail_jail3_hostname="jail3.example.com"
>> jail_jail3_ip="10.0.0.203"
>> jail_jail3_procfs_enable="YES"
>> jail_jail3_devfs_enable="YES"
>> jail_jail3_devfs_ruleset="devfsrules_jail"
>> 
>> tia,
>> Dan
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


---
Philippe Lang
Attik System



smime.p7s
Description: S/MIME cryptographic signature


unable to mount VCD's

2006-07-06 Thread Arun G Nair

Hi,
  Am unable to mount VCD's on freebsd 6.1. I have a custom kernel.
When trying to mount it says input/output error. Am trying to copy a
VCD as i can't play the last part of any vcd. Mplayer always says
broken frame when it reaches the end. :( I can mount all other data
CD's.

TIA

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


Re: Is there a daemon/program for FreeBSD that accepts Microsoft RDP connections?

2006-07-06 Thread Micah

Andrew Pantyukhin wrote:

On 5/14/06, Tom Norris <[EMAIL PROTECTED]> wrote:

Hello everyone,

I'm trying to convince my boss to let me set up a FreeBSD system as file
server.  He said he would allow it if he could use Microsoft's RDP
client (not VNC or SSH :( ) to connect and monitor the machine at his
whim.  Are there any daemons that will take incoming RDP connections?


I just found out about xrdp: http://xrdp.sourceforge.net/

It's not ported yet, though.


FWIW, xrdp compiles with minor mods to the Makefiles (remove all 
references to -ldl). After install it appears to require a VNC server 
running on localhost:5910. After pointing krfb to listen on 5910, I was 
able to connect to my FreeBSD box using mstsc.exe from a Windows XP box. 
There's hope that it's a relatively easy port.


HTH,
Micah


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


Creating vinum RAID 1 on place

2006-07-06 Thread Olivier Nicole
Hi,

Is there a trick on the way to build a vinum RAID 1 without backup-in
the data first?

I have the two disk that will get mirrored. One of the disk if
formated as UFS 4.2 and already holds all the data. The second disk is
blank.

NormallyI should start with 2 blank disks, label them as vinum, create
the vinum plex, then push the data on that RAID. Is there a way to do
it without blanking both disk first (a RAID 0 on a single disk, copy
the data on the RAID 0), label the other disk as vinum and create a
RAID1?

best regards,

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


Re: FreeBSD 6.0 compat with DL320 G4

2006-07-06 Thread Antony Mawer

On 6/07/2006 4:26 PM, William wrote:

Server got here, FreeBSD 6.1 went on easy as you like and then I
installed the intel card when it got here... I havent had to recompile
a thing and its detected the card fine. I've appied an IP address,
cvsup/install a few ports without any issues..


dmesg goodness:
em0:  port
0x4000-0x401f mem 0xfdee-0xfdef,0xfdec-0xfded irq 16
at device 0.0 on pci2
em0: Ethernet address: 00:15:17:0b:e6:18
em1:  port
0x4020-0x403f mem 0xfdea-0xfdeb,0xfde8-0xfde9 irq 17
at device 0.1 on pci2
em1: Ethernet address: 00:15:17:0b:e6:19

Should I grab the latest copy of the driver (off intel's website) and
recompile anyway?



It sounds like you were lucky with your card -- we tried a 6.1 
installation and it did not detect our Intel Pro/1000PT card, while the 
7-CURRENT driver did. A back-port of the 7-CURRENT driver looked 
relatively non-trivial, but the Intel driver for 6.x saved the day.


If it's all working properly, then you should be right to continue with 
the 6.1 driver you are currently using. "If it ain't broke, don't fix it"!


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


RE: using fping to monitor internet connection status

2006-07-06 Thread Murray Taylor
I use fping in an embedded system via a shell script that 

- pings a user settable list of hosts
- records 'presence/absence' of a host
- determines changes from the previous cycle
- notifies me via a SMS sender with a 'human readable' message
derived from the hosts list (ie "Level 3 east switch is missing")


NB I also listen for SNMP traps from appropriately cabable devices

Fping is in ports
/usr/ports/net/fping

Murray Taylor

Special Projects Engineer
Bytecraft Systems

P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
E: [EMAIL PROTECTED] 


--

"Any intelligent fool can make things bigger and more complex... It
takes a
touch of genius - and a lot of courage to move in the opposite
direction."
--Albert Einstein 

 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Alex Zbyslaw
> Sent: Friday, 7 July 2006 1:20 AM
> To: Paul Hamilton
> Cc: freebsd-questions@freebsd.org
> Subject: Re: using fping to monitor internet connection status
> 
> Paul Hamilton wrote:
> 
> >Hi,
> > 
> >I need to monitor a number of IP addresses, so that if they 
> ALL go down 
> >(say three IP's), then that is a pretty good indication that 
> my server 
> >has lost internet connectivity.  The most probable cause is 
> usually the 
> >ADSL router, and therefore needs a reboot.  I was hoping to use the 
> >'fping' program, but looking through the man file, there 
> doesn't seem 
> >to be an exit status on loosing ALL the pings.
> > 
> >If one goes down, I don't care, maybe that server is down, so keep 
> >pinging the other two etc.
> > 
> >I was hoping to write this in Perl (the first fping example 
> looked ok, 
> >until I realised that it would activate when any one IP 
> address became 
> >unreachable, which means that I am still connected to the Internet).
> > 
> >Any idea's on a ping tool or simple script?
> >  
> >
> 
> Pseudo code for perl or sh or pretty much any language that 
> can run commands and determine exit staus:
> 
> Set a variable to 0
> For each server
>   ping server and if it fails increment variable
> End foreach
> 
> If variable == number of servers then all pings failed.  
> Variable contains number of unsuccessfully pinged servers.
> 
> Or
> 
> Set a variable to 0
> For each server
>   ping server and if succeeds, increment variable
> End foreach
> 
> If variable == 0 then all pings failed.  Variable 
> contains number of successfully pinged servers.
> 
>  From sh "ping -c 1 -q host > /dev/null 2>&1" will ping host 
> and set status with no actual output.
> 
> Never heard of fping.
> 
> --Alex
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 
> ***This Email has been scanned for Viruses by MailMarshal.***
> 
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS beginner question

2006-07-06 Thread Michael S

No problem. Thanks anyway.

On 7/6/06, Jonathan Chen <[EMAIL PROTECTED]> wrote:

On Fri, Jul 07, 2006 at 07:30:16AM +1200, I wrote:

[ some totally irrelevant stuff ]

Please disregard my last post. I must learn to read before answering.

Cheers.
--
Jonathan Chen <[EMAIL PROTECTED]>
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards


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


Re: HP Officejet Printer

2006-07-06 Thread E. J. Cerejo
Unfortunately it doesn't work with mine.  I probably need to go with CUPS I 
just have no idea where to start, I haven't found any tutorial easy to 
understand yet.

Kevin Kinsey <[EMAIL PROTECTED]> escreveu: E. J. Cerejo wrote:
> I'm running FBSD 6.1 release and just got a new printer 
 > for my birthday, it's an HP Officejet 4315 all-in-one, I used to
 > have an old HP Deskjet 842c and worked fine using apsfilter but I
 > can't make this one print, I don't see any drivers for it using
 > apsfilter either, is there a way to make this thing work?
> 

Dunno if it helps, but I print to an HP 6110 all-in-one
with the ijs/DESKJET_930 driver and apsfilter with fairly
decent results.

Kevin Kinsey

-- 
: is not an identifier

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



EJC
www.only7bucks.com

-
 Yahoo! Copa 2006 - cobertura dos jogos em tempo real e tudo sobre a seleção 
brasileira! 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Simple DNS For Private LAN -- SOLVED

2006-07-06 Thread Drew Tomlinson
I finally had time to fiddle with this and everything is working fine.  
I used your examples and the "view" statement mentioned my Mathew Seaman 
to build a BIND 9 DNS server that is authoritative for 
mykitchentable.net. that is viewable only from clients in my private 
LAN.  My public DNS information is still hosted by ZoneEdit.com as it 
was before.


Thank you for your help.  I left your instructions intact below so that 
someone else may benefit from your efforts when searching the archives.


Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com



On 6/28/2006 7:43 AM Giorgos Keramidas wrote:

On 2006-06-23 14:26, Drew Tomlinson <[EMAIL PROTECTED]> wrote:
  

If you use NAT, then I can guide you through setting up a local
``master zone'' that is only visible inside your home network, and a
``slave zone'' that pulls stuff from ZoneEdit for the
``mykitchentable.net'' domain.  I already have a similar setup at
home, to let my internal systems (workstation, laptop) see each other
with internal names and still use my ISP's name servers for
everything else.

If you don't use NAT, things are going to be much easier, since you
only have to set up the names at ZoneEdit and pull the master zone
from there.
  

Thank you for your reply.



You're welcome of course :-)

  

I use NAT for my servers that are visible from the outside so I set
ZoneEdit to return the same address for all servers at
mykitchentable.net which is currently 67.137.238.101.



Excellent!  This is exactly what I was hoping the setup would be.

  

Thus www.mykitchentable.net, drew.mykitchentable.net,
mykitchentable.net, and whatever else. all return 67.137.238.101.
Based up this, it seems that I should leave ZoneEdit alone and set up
a local "master zone" visible only to my private LAN as you describe
above.  Being a slave and pulling from ZoneEdit wouldn't have any
benefit as the public address won't equal the private address.



Quite right.

  

So assuming I understand correctly, yes, please guide me in setting up
a local master zone.



Assuming that your local home network uses addresses in the
192.168.0.0/16 range, you have to set up a local name server which will
recognize and reply for the following zones:

"drew."   # "*.drew" are local home network names
192.168.0.* # reverse IP address -> name for home hosts
127.0.0.*   # localhost zone (optional)

Optionally, you can set up a 'slave' zone for the `mykitchentable.net'
hostnames, but this is not obligatory.

To set up the local nameserver for the local zones mentioned above, you
will need to modify (or create) at least the following files:

/etc/namedb/named.conf
/etc/namedb/master/drew
/etc/namedb/master/drew.rev
/etc/namedb/master/localhost.rev
/etc/namedb/master/localhost-v6.rev
/etc/rc.conf

After you finish setting up all these files, you should be able to:

* Resolve hostnames of the form foo.drew to IP addresses of your
  internal home network.

* Resolve IP addresses of your internal home network to hostnames of
  the form foo.drew.

* Resolve `localhost' to your 127.0.0.1 address (and its IPv6
  equivalent).

* Check your new named setup and see that it works as expected

* Troubleshoot your setup, i.e. tweak the logging level of named and
  find out what it logs through syslog

1. Setting up named.conf


The `named.conf' file is the one BIND reads to find out which `zones' to
load (a `zone' is BIND terminology for what you may have heard being
called a `domain').

The FreeBSD source tree contains a sample `named.conf' file at
`/usr/src/etc/namedb/named.conf', which normally gets installed as
`/etc/namedb/named.conf' on your system.  This file is not used, until
you decide to enable the `named' daemon though.

The sample file installed as `/etc/namedb/named.conf' includes several
commented parts that you can use as examples for writing your own
`named.conf' file.

After you have finished writing your own `named.conf' file it should
contain:

* An `options' section, with global options that apply to the way
  your `named' service works.

* Optionally, a `logging' section, with the configuration options
  that define what is logged, where it is logged, etc.

* A `root' zone entry, which points to the root DNS servers.  An up
  to date list is distributed with the FreeBSD source tree, and can
  be found at `/usr/src/etc/namedb/named.root'.

* Optionally, a `localhost' zone entry (for resolving 127.0.0.1 to a
  hostname of your choise).

* Optionally, a `localhost-v6' zone entry (for resolving the IPv6
  equivalent of 127.0.0.1 to a hostname of your choise).

* A zone entry for your internal, home network.

1.1. Global `options' for `named.conf'
==

The `options' section of your `named.conf' file def

Win ADSL Router & ADSL subscription

2006-07-06 Thread JC Broadband
JC Broadband ADSL Competition

To share our excitement about the bright prospects of broadband internet access 
in South Africa, JC Broadband is running an ADSL competition every month for 
the next 12 months. The first competition will run from July 15 and end at 
midnight on August 14 2006.

For more details on the competion and to enter, please visit our competion page 
by clicking the link below:


The price include:
1. A free DSL subscrition for 3 months with the following:
5 independent email addresses 
Free email anti-virus 
10MB of web space to create your own website 
Excellent technical support

2. Free wireless ADSL Router with the following features:
ADSL MODEM 
Wireless router 
4 Port 10/100 switch 
802.11g access point 
SPI true firewall  

JC Broadband
P.O. Box 4623, Halfway House, 1685, RSA
Tel:  011-695-4814.  Fax: 011-695-4811
[EMAIL PROTECTED]

You are subscribed as [EMAIL PROTECTED] To unsubscribe please click here: 
http://postsnet.com/r.html?c=733668&r=732970&t=683695592&l=6&[EMAIL 
PROTECTED]&la=1&o=-75.

This mailer was created with Campaigner.
http://www.campaigner.com/?testdrive_0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Win ADSL Router & ADSL subscription

2006-07-06 Thread JC Broadband
JC Broadband ADSL Competition

To share our excitement about the bright prospects of broadband internet access 
in South Africa, JC Broadband is running an ADSL competition every month for 
the next 12 months. The first competition will run from July 15 and end at 
midnight on August 14 2006.

For more details on the competion and to enter, please visit our competion page 
by clicking the link below:


The price include:
1. A free DSL subscrition for 3 months with the following:
5 independent email addresses 
Free email anti-virus 
10MB of web space to create your own website 
Excellent technical support

2. Free wireless ADSL Router with the following features:
ADSL MODEM 
Wireless router 
4 Port 10/100 switch 
802.11g access point 
SPI true firewall  

JC Broadband
P.O. Box 4623, Halfway House, 1685, RSA
Tel:  011-695-4814.  Fax: 011-695-4811
[EMAIL PROTECTED]

You are subscribed as [EMAIL PROTECTED] To unsubscribe please click here: 
http://postsnet.com/r.html?c=733668&r=732970&t=683694578&l=6&[EMAIL 
PROTECTED]&la=1&o=-75.

This mailer was created with Campaigner.
http://www.campaigner.com/?testdrive_0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jail login and replication problems

2006-07-06 Thread Dan Rue
Sure - Had to consult my IRC logs to remember what my problem was.
Turns out, my umask was set to 027, and so the root directory of the
jails was "drwxr-x---   7 root  wheel  512 Jul 27 13:18 /jails/myjail"..

I would search for similar permissions issues, 

Hope that helps, 
drue


On Thu, Jul 06, 2006 at 03:41:59PM -0700, patrick wrote:
> Hi Dan,
> 
> Did you ever find a solution to this problem? I've had the exact same
> problem, and have tried various different things to resolve it... all
> to no avail. It's really annoying have to remake the jail from scratch
> every time, as I'd much rather do the configuration once, and use it
> as a cookie-cutter for future jails.
> 
> Patrick
> 
> On 7/26/05, Dan Rue <[EMAIL PROTECTED]> wrote:
> >Greetings,
> >
> >I am setting up multiple jails on a machine.  The first jail, everything
> >works fine.  If I add a user, that user can log in.  If I tar cvzpf the
> >jail, tar xvzpf to create a new one, some people can log into the new
> >jail, and some can not.
> >
> >The user that can log in to the new one was the first user created (me),
> >but any subsequent users can not log into new jails..
> >
> >The symptom is right after accepting the password via ssh, the
> >connection will just get dropped.  I could not find any good error
> >messages using ssh..  But if I enable telnet and try to telnet in, I
> >receive this error in /var/log/messages:
> >
> >Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
> >/home/user3/.login_conf: Permission denied
> >Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /etc/login.conf: 
> >Permission denied
> >Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
> >/home/user3/.login_conf: Permission denied
> >Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /etc/login.conf: 
> >Permission denied
> >
> >The permissions on those files are fine.
> >
> >So what would cause that error in jails that have been replicated using
> >tar, but only to some users?  I'm stumped..
> >
> >Here's my rc.conf exerpt:
> >
> >jail_enable="YES"
> >jail_list="jail3"
> >jail_socket_unixiproute_only="NO"
> >jail_sysvipc_allow="YES"  # allow shared mem on all jails
> >
> >jail_jail3_rootdir="/jails/jail3"
> >jail_jail3_hostname="jail3.example.com"
> >jail_jail3_ip="10.0.0.203"
> >jail_jail3_procfs_enable="YES"
> >jail_jail3_devfs_enable="YES"
> >jail_jail3_devfs_ruleset="devfsrules_jail"
> >
> >tia,
> >Dan
> >___
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"[EMAIL PROTECTED]"
> >
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jail login and replication problems

2006-07-06 Thread Glenn Dawson

At 03:41 PM 7/6/2006, patrick wrote:

Hi Dan,

Did you ever find a solution to this problem? I've had the exact same
problem, and have tried various different things to resolve it... all
to no avail. It's really annoying have to remake the jail from scratch
every time, as I'd much rather do the configuration once, and use it
as a cookie-cutter for future jails.


If you build the "template jail" in it's own partition and then 
dump(8) it to a file, you can then restore(8) it to where ever it 
needs to be and it will work fine.


If you don't have an empty partition to use, you can use mdconfig(8) 
to create a vnode backed memory disk to build the template jail in.


I just finished putting together a system with about 20 jails that 
were replicated that way.  They all worked fine.


-Glenn



Patrick

On 7/26/05, Dan Rue <[EMAIL PROTECTED]> wrote:

Greetings,

I am setting up multiple jails on a machine.  The first jail, everything
works fine.  If I add a user, that user can log in.  If I tar cvzpf the
jail, tar xvzpf to create a new one, some people can log into the new
jail, and some can not.

The user that can log in to the new one was the first user created (me),
but any subsequent users can not log into new jails..

The symptom is right after accepting the password via ssh, the
connection will just get dropped.  I could not find any good error
messages using ssh..  But if I enable telnet and try to telnet in, I
receive this error in /var/log/messages:

Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
/home/user3/.login_conf: Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
/etc/login.conf: Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
/home/user3/.login_conf: Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
/etc/login.conf: Permission denied


The permissions on those files are fine.

So what would cause that error in jails that have been replicated using
tar, but only to some users?  I'm stumped..

Here's my rc.conf exerpt:

jail_enable="YES"
jail_list="jail3"
jail_socket_unixiproute_only="NO"
jail_sysvipc_allow="YES"  # allow shared mem on all jails

jail_jail3_rootdir="/jails/jail3"
jail_jail3_hostname="jail3.example.com"
jail_jail3_ip="10.0.0.203"
jail_jail3_procfs_enable="YES"
jail_jail3_devfs_enable="YES"
jail_jail3_devfs_ruleset="devfsrules_jail"

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

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


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


Re: Passing Parameters from BSD to Linux and Back

2006-07-06 Thread Frank Jahnke
On Thu, 2006-07-06 at 16:43 -0400, Lowell Gilbert wrote:

> > I am able to get the appropriate program to open, but the parameters are
> > never passed. I have tried many, many schemes to quote or escape the
> > command and its options, but never have any of these worked.
> >
> > Any suggestions on how I might do this would be most appreciated!
> 
> Hmm.  Works for me.  A web link in a PDF in Acroread (7) brings up the
> linked page in my (native) firefox.  I had to configure the executable
> name (without path) into the "browser link" preference in acroread,
> and I think the .mailcap entry ("text/html; firefox %s") is needed as
> well. 

Hmmm indeed!

Acroread now works for me as well.  This did not used to be the case; I
updated Acroread about a week ago and had not tried this again.  (What
does .mailcap do?  I surmise from the name that it is like termcap for
mail entries...).  Maybe it is that upgrade?  Or a change in how the
desktop environment interacts with "aware" programs?

I am still unable to open the help browser from within VMware; the file
config simply reads: "webBrowser = linux-opera %s" (without the quotes).
linux-opera is found, but the string %s is not passed at all.  Invoking
linux-opera with a command-line flag works as expected.  I think it uses
a Motif set for its interface.

I think I have source for VMware; let me look at the calling sequence.

Frank

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


Re: jail login and replication problems

2006-07-06 Thread patrick

Hi Dan,

Did you ever find a solution to this problem? I've had the exact same
problem, and have tried various different things to resolve it... all
to no avail. It's really annoying have to remake the jail from scratch
every time, as I'd much rather do the configuration once, and use it
as a cookie-cutter for future jails.

Patrick

On 7/26/05, Dan Rue <[EMAIL PROTECTED]> wrote:

Greetings,

I am setting up multiple jails on a machine.  The first jail, everything
works fine.  If I add a user, that user can log in.  If I tar cvzpf the
jail, tar xvzpf to create a new one, some people can log into the new
jail, and some can not.

The user that can log in to the new one was the first user created (me),
but any subsequent users can not log into new jails..

The symptom is right after accepting the password via ssh, the
connection will just get dropped.  I could not find any good error
messages using ssh..  But if I enable telnet and try to telnet in, I
receive this error in /var/log/messages:

Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /home/user3/.login_conf: 
Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /etc/login.conf: 
Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /home/user3/.login_conf: 
Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /etc/login.conf: 
Permission denied

The permissions on those files are fine.

So what would cause that error in jails that have been replicated using
tar, but only to some users?  I'm stumped..

Here's my rc.conf exerpt:

jail_enable="YES"
jail_list="jail3"
jail_socket_unixiproute_only="NO"
jail_sysvipc_allow="YES"  # allow shared mem on all jails

jail_jail3_rootdir="/jails/jail3"
jail_jail3_hostname="jail3.example.com"
jail_jail3_ip="10.0.0.203"
jail_jail3_procfs_enable="YES"
jail_jail3_devfs_enable="YES"
jail_jail3_devfs_ruleset="devfsrules_jail"

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


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


Unable to boost maxusers in custom kernel.

2006-07-06 Thread Worth Bishop
Running FreeBSD 4.3 (I know - upgrade on the way, but would like to know 
what's going on here for future ref), on AMD Athlon MP 1600 (1393.79-MHz 
686-class CPU) with 1.5 Gb RAM. Ran up against 'too many files' problem, 
dropped packets, maxing out mbuf's, proc files, etc.


Attempted to compile custom kernel based on GENERIC only by changing 
maxusers from 32 to (first) 512, then 256, then 128. No matter what, system 
rebooted with 32 maxusers, 4096 mbugs, 1024 max mbuf clusters, 1024 
maxfiles. Can reset maxfiles via sysctl, but why won't maxusers stick?


Have tried building both with:

#  /usr/sbin/config MYKERNEL
#  cd ../../comple/MYKERNEL
#  make depend
#  make
#  make install
#  reboot

and with

#  cd /usr/src
#  make buildkernel KERNCONF=MYKERNEL
#  make installkernel KERNCONF=MYKERNEL
#  reboot

No discernable error messages.

What am I missing?

Thanks!


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


Re: RE: Multiple IP in jail?

2006-07-06 Thread patrick

Hi Ruben, I was was wondering if you had an example of using NAT to
support multiple inbound IP's directing into a jail?

Patrick

On 1/14/06, Ruben Bloemgarten <[EMAIL PROTECTED]> wrote:

If you use nat in conjuction with jails there is no need to add multiple
ip's to the jails to be able to reach apache on multiple ip's, although I
agree that it would be nice to be able to assign multiple ip's to a jail.
Anyone ?

Regards,

Ruben
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Petr Murmak
Sent: January 14, 2006 7:11 PM
To: freebsd-questions@freebsd.org
Subject: Multiple IP in jail?

Hi!

Is it possible to assign multiple IP to one jail on FreeBSD 6.0-STABLE? I
want to use in jail apache for which i really need more than one IP. I found
some patches for 5.0 but they are more than 2 years old without maintaining,
so I didn't tried them.

Petr

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.17/229 - Release Date: 01/13/2006


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.17/229 - Release Date: 01/13/2006


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


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


Re: SATA300 Controllers

2006-07-06 Thread Wilko Bulte
On Thu, Jul 06, 2006 at 03:26:17PM -0600, Scott Long wrote..
> Wilko Bulte wrote:
> >On Wed, Jul 05, 2006 at 08:02:55PM -0500, Derrick T. Woolworth wrote..
> >
> >>Hello all,
> >>
> >>Sorry for cross-posting, but these issues seem relevant for lists...
> >>
> >>Has anyone had success with SATA300 controllers with FreeBSD 6.1?  I've 
> >>been
> >>trying Promise and nVidia nForce4 and I'm not having any luck.  Using a 
> >>MSI
> >>K8NGM2-L motherboard and others, but 6.1's installation hangs as soon as 
> >>it
> >>sees ad4.  I've also tried using an Adaptec 1210SA controller and had zero
> >
> >
> >Well, just as a datapoint this works fine for me:
> >
> >[EMAIL PROTECTED] ~: dmesg|grep -i Prom
> >atapci0:  port
> >0xd480-0xd4ff,0xd000-0xd0ff mem 0xf7ff6000-0xf7ff6fff,0xf7fa-0xf7fb
> >irq 21 at device 13.0 on pci2
> >ar0: 238475MB  status: READY
> >[EMAIL PROTECTED] ~: uname -a
> >FreeBSD freebie.xs4all.nl 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed Jun 14
> >22:01:33 CEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEBIE
> >i386
> >
> 
> Promise has a good relationship with FreeBSD, I would expect their 
> controllers to work pretty well.

Yup.  I cleared this TX2200 (IIRC) card with Soren first before I ordered
it.  It only has SATA150 disks connected to it though, I do not own
SATA300 drives.  All in all the whole thing works fine for me.

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


Re: SATA300 Controllers

2006-07-06 Thread Mike Jakubik

Derrick T. Woolworth wrote:

Hello all,

Sorry for cross-posting, but these issues seem relevant for lists...

Has anyone had success with SATA300 controllers with FreeBSD 6.1?  
I've been
trying Promise and nVidia nForce4 and I'm not having any luck.  Using 
a MSI


Yes, this chipset works well for me.

---
atapci0:  port 
0x3040-0x3047,0x3034-0x3037,0x3038-0x303f,0x3030-0x3033,0x3020-0x302f 
mem 0xed00-0xed0003ff irq 19 at device 31.2 on pci0

ad4: 152627MB  at ata2-master SATA300
GEOM_MIRROR: Device gm created (id=1306182778).
GEOM_MIRROR: Device gm: provider ad4 detected.
ad6: 152627MB  at ata3-master SATA300
SMP: AP CPU #1 Launched!
GEOM_MIRROR: Device gm: provider ad6 detected.
GEOM_MIRROR: Device gm: provider ad6 activated.
GEOM_MIRROR: Device gm: provider ad4 activated.
GEOM_MIRROR: Device gm: provider mirror/gm launched.
---

For a simple RAID such as mirroring, i strongly suggest you stay away 
from cheap/onboard RAID solutions, and use gmirror instead.



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


Re: SATA300 Controllers

2006-07-06 Thread Scott Long

Wilko Bulte wrote:

On Wed, Jul 05, 2006 at 08:02:55PM -0500, Derrick T. Woolworth wrote..


Hello all,

Sorry for cross-posting, but these issues seem relevant for lists...

Has anyone had success with SATA300 controllers with FreeBSD 6.1?  I've been
trying Promise and nVidia nForce4 and I'm not having any luck.  Using a MSI
K8NGM2-L motherboard and others, but 6.1's installation hangs as soon as it
sees ad4.  I've also tried using an Adaptec 1210SA controller and had zero



Well, just as a datapoint this works fine for me:

[EMAIL PROTECTED] ~: dmesg|grep -i Prom
atapci0:  port
0xd480-0xd4ff,0xd000-0xd0ff mem 0xf7ff6000-0xf7ff6fff,0xf7fa-0xf7fb
irq 21 at device 13.0 on pci2
ar0: 238475MB  status: READY
[EMAIL PROTECTED] ~: uname -a
FreeBSD freebie.xs4all.nl 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed Jun 14
22:01:33 CEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEBIE
i386



Promise has a good relationship with FreeBSD, I would expect their 
controllers to work pretty well.


Scott

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


Re: Passing Parameters from BSD to Linux and Back

2006-07-06 Thread Lowell Gilbert
Frank Jahnke <[EMAIL PROTECTED]> writes:

> I use a few Linux programs on FreeBSD, and sometimes they invoke other
> programs that use command line options. I have never been able to get
> this parameter passing to work. 
>
> For example, PDF files read by Acroread can contain links to a web
> browser or an email program; these are often invoked as "program-name 
> %s" in the set-up file. VMware does the same with invoking a browser
> from defaults set in a config file.
>
> I am able to get the appropriate program to open, but the parameters are
> never passed. I have tried many, many schemes to quote or escape the
> command and its options, but never have any of these worked.
>
> Any suggestions on how I might do this would be most appreciated!

Hmm.  Works for me.  A web link in a PDF in Acroread (7) brings up the
linked page in my (native) firefox.  I had to configure the executable
name (without path) into the "browser link" preference in acroread,
and I think the .mailcap entry ("text/html; firefox %s") is needed as
well. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php5-extentsions broken

2006-07-06 Thread Eric
Skylar Thompson wrote:
> Mike Loiterman wrote:
>> After installing the php5-extensions port, I get lots of the following
>> errors when trying to start Apache:
>>
>> PHP Warning:  PHP Startup: U\x89\xe5WVS\x83\xec\x14\xe8: Unable to
>> initialize module\nModule compiled with module API=20020429, debug=0,
>> thread-safety=0\nPHPcompiled with module API=20050922, debug=0,
>> thread-safety=0\nThese options need to match\n in Unknown on line 0
>> Apache and php are working fine - I can get to the phpinfo page without
>> problems.  Its just that the extensions aren't being found for
>> somereason.
>>
>> I have treid adding their location to the extensions_dir directive in
>> php.ini with no luck.
>>
>> I have done a portupgrade rRfo lang/php5 php5 which should upgrade
>> everything related to php5 and it does, but somehow the extension are not
>> being found.
>>
>> Any ideas?
>>   
> Is your extensions_dir variable set properly in php.ini?

last i read extensions_dir is supposed to be commented out.  See if
commenting it out works. I JUST now updated from php4 to php5 and its
working fine.

>From /usr/ports/UPDATING:

20040719:
  AFFECTS: users of PHP
  AUTHOR: [EMAIL PROTECTED]

  The old lang/php4 and lang/php5 ports have been split into 'base' PHP,
  PEAR, and shared extensions to allow more flexibility and add new
features.
  Upgrading your current PHP installation will result in a 'base' PHP
  installation (no PEAR and no extensions).
  PEAR can be found in the new devel/php4-pear and devel/php5-pear
ports, while
  the set of PHP extensions to install can be chosen via the meta-ports
  lang/php4-extensions and lang/php5-extensions, or installing singular
  extensions individually.
  If you have a previous php.ini configuration file, be sure to comment out
  the extension_dir parameter, since the correct path is statically compiled
  into the PHP binary.
  For an overview of the modules used with the old PHP binary, use
  the command "php -m".
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: php5-extentsions broken

2006-07-06 Thread Mike Loiterman
Skylar Thompson  wrote:
> Mike Loiterman wrote:
>> After installing the php5-extensions port, I get lots of the
>> following errors when trying to start Apache:
>> 
>> PHP Warning:  PHP Startup: U\x89\xe5WVS\x83\xec\x14\xe8: Unable to
>> initialize module\nModule compiled with module API=20020429, debug=0,
>> thread-safety=0\nPHPcompiled with module API=20050922, debug=0,
>> thread-safety=0\nThese options need to match\n in Unknown on line 0
>> 
>> Apache and php are working fine - I can get to the phpinfo page
>> without problems.  Its just that the extensions aren't being found
>> for somereason. 
>> 
>> I have treid adding their location to the extensions_dir directive
>> in php.ini with no luck. 
>> 
>> I have done a portupgrade rRfo lang/php5 php5 which should upgrade
>> everything related to php5 and it does, but somehow the extension
>> are not being found. 
>> 
>> Any ideas?
>> 
> Is your extensions_dir variable set properly in php.ini?
> 
> - Skylar

Yes, I mentioned that in my original message.

I think the problem was that I had debug turned off when I built php.  For
some reason, it needs to be on for some of my modules to work correctly.
Others work fine with it off.  

Any ideas about this?

--
Mike Loiterman
GrantAdler
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

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


Re: php5-extentsions broken

2006-07-06 Thread Skylar Thompson

Mike Loiterman wrote:

After installing the php5-extensions port, I get lots of the following
errors when trying to start Apache:

PHP Warning:  PHP Startup: U\x89\xe5WVS\x83\xec\x14\xe8: Unable to
initialize module\nModule compiled with module API=20020429, debug=0,
thread-safety=0\nPHPcompiled with module API=20050922, debug=0,
thread-safety=0\nThese options need to match\n in Unknown on line 0 


Apache and php are working fine - I can get to the phpinfo page without
problems.  Its just that the extensions aren't being found for somereason.

I have treid adding their location to the extensions_dir directive in
php.ini with no luck.

I have done a portupgrade rRfo lang/php5 php5 which should upgrade
everything related to php5 and it does, but somehow the extension are not
being found.

Any ideas?
  

Is your extensions_dir variable set properly in php.ini?

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


Re: SATA300 Controllers

2006-07-06 Thread Wilko Bulte
On Wed, Jul 05, 2006 at 08:02:55PM -0500, Derrick T. Woolworth wrote..
> Hello all,
> 
> Sorry for cross-posting, but these issues seem relevant for lists...
> 
> Has anyone had success with SATA300 controllers with FreeBSD 6.1?  I've been
> trying Promise and nVidia nForce4 and I'm not having any luck.  Using a MSI
> K8NGM2-L motherboard and others, but 6.1's installation hangs as soon as it
> sees ad4.  I've also tried using an Adaptec 1210SA controller and had zero

Well, just as a datapoint this works fine for me:

[EMAIL PROTECTED] ~: dmesg|grep -i Prom
atapci0:  port
0xd480-0xd4ff,0xd000-0xd0ff mem 0xf7ff6000-0xf7ff6fff,0xf7fa-0xf7fb
irq 21 at device 13.0 on pci2
ar0: 238475MB  status: READY
[EMAIL PROTECTED] ~: uname -a
FreeBSD freebie.xs4all.nl 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed Jun 14
22:01:33 CEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEBIE
i386

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


Xorg configuration

2006-07-06 Thread Joe

Hi,

I'm trying to configure X on a Dell 4300S which dual boots FreeBSD 
6.1-RELEASE and Windows XP.  After I ran Xorg -configure and added the 
HorizSync and VertRefresh options for the Gateway EV500 Monitor (taken 
directly from the vendor page at 
http://support.gateway.com/s/MONITOR/Z00635/z0063510.shtml--yes, it's 
almost a relic :) and Depth 24, Modes "1024x768", just as in the 
Handbook, I was able to run X but I got one error and a few warnings. 
In a previous round with this hardware (but with 6.0-RELEASE), I had 
gone as far as installing KDE with a very similar xorg.conf and with 
similar errors/warnings IIRC.  Since KDE would take several minutes to 
start (*noticeably* longer than XP, like 5-10 mins), I want to make sure 
that these errors are not the underlying cause for the bad performance.


The first warning (together with some surrounding messages) is:

(**) R128(0): Using external CRT for display
(II) R128(0): Primary Display == Type 3
(WW) R128(0): Can't determine panel dimensions, and none specified.
Disabling programming of FP registers.
(II) R128(0): PLL parameters: rf=2950 rd=65 min=12500 max=35000; xclk=13000
(II) Loading sub module "ddc"

The error and the other warnings are as follows:

(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.so
(II) Module i2c: vendor="X.Org Foundation"
compiled for 6.9.0, module version = 1.2.0
ABI class: X.Org Video Driver, version 0.8
(II) R128(0): I2C bus "DDC" initialized.
(II) R128(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) R128(0): I2C device "DDC:ddc2" removed.
(EE) R128(0): No DFP detected
(WW) R128(0): config file hsync range 30-69kHz not within DDC hsync ranges.
(WW) R128(0): config file vrefresh range 50-110Hz not within DDC 
vrefresh ranges.

(II) R128(0): Monitor0: Using hsync range of 30.00-69.00 kHz
(II) R128(0): Monitor0: Using vrefresh range of 50.00-110.00 Hz
(II) R128(0): Clock range:  12.50 to 350.00 MHz

From my research, DFP (and FP) refers to Digital Flat Panel.  Since 
according to the r128 man page, Option "Display" defaults to "FP", I 
added Option "Display" "CRT", but it didn't make any difference.


So, is there any harm to the WW's and EE above?  Could they be the cause 
for the bad KDE performance?


One other doubt:  at times, if I run say, xdm, the initial screen is a 
garbled up version of the XP logon screen and it lingers for a while, 
and at least once, the PC got locked up, the Ctrl-Alt-Fx combinations 
couldn't switch to other VTs (as I had seen with KDE during the long 
startup) nor did Ctrl-Alt-Bksp kill the X server and the only thing that 
stopped it was a dreaded Ctrl-Alt-Del.  Since I haven't really used X 
before, I don't know if this is normal or not.


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


Re: DNS beginner question

2006-07-06 Thread Jonathan Chen
On Fri, Jul 07, 2006 at 07:30:16AM +1200, I wrote:

[ some totally irrelevant stuff ]

Please disregard my last post. I must learn to read before answering.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ports/packages (sysinstall and dependencies)

2006-07-06 Thread Charles Howse


On Jul 6, 2006, at 1:16 PM, Lowell Gilbert wrote:


Charles Howse <[EMAIL PROTECTED]> writes:


Hi,
6.1-RELEASE-p2
I recently used sysinstall to install cups-1.1.23 via packages/ftp/
Main Site.
That adds ghostscript-gnu and xorg-libraries as dependencies.

That's not what I wanted, I don't use a gui, so I selected
ghostscript-gnu-no-X11.
That didn't work, it installed ghostscript-gnu first and the no-X11
install failed.

Now I'm stuck with xorg-libraries, which I don't need nor want.

Is there a way to install ghostscript-gnu-no-X11 and fix the cups
dependencies?

What would have been the proper way to use sysinstall/packages or
pkg_add and get no-X11 instead of regular ghostscript-gnu?


I'm not sure I'm understanding your situation properly, but packages
really work best if you are willing to live with whatever the default
options are.  If you want to tune the installation for your  
environment,

the ports system will do so a lot easier than autofetched packages.


The situation is under control now.  What I was trying to do was get  
cups-1.1.23 as a package, since it is not available in the ports  
system.  Ports has 1.2.0.

I will live with xorg-libraries.  :)

--
A Great place to have fun and learn about Barbecue -
http://bubbabbq.homeunix.net


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


Re: DNS beginner question

2006-07-06 Thread Jonathan Chen
On Wed, Jul 05, 2006 at 10:06:39PM -0400, Michael S wrote:
> Hi all.
> 
> I am trying to set up a DNS service. I have 2 FreeBSD machines, one's
> web and DNS (that I am setting up) and the other FTP. Both machines
> are behind a router and get local addresses (i.e. 192.168). If
> DNS, FTP and web ports in the router are open, will I be able to set
> up the DNS in a way such that when someone from the outside types
> www.mydomain.com, he'll be taken to the machine that runs apache, and
> when he types ftp.mydomain.com he'll be taken to the machine which
> runs ftp?

This can be done with the "view" feature in BIND 9; which can be
configured to give different results depending on whether the query is
from the local internal network or from the 'Net.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead." -- RFC 1925
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sunbird native port does nothing?

2006-07-06 Thread Eric Schuele

On 07/06/2006 14:02, Pete Slagle wrote:

On March 2, 2006 Eric Schuele wrote:


Anyone using the deskutils/sunbird (not deskutils/linux-sunbird)?


[...]


I did the normal "make install clean" in the appropriate dir (everything
went well).  Running it for the first time, I see the process in top,
and it writes a bit to the console, but then exits.  All subsequent
attempts to run it result in the following at the console:

Starting calendar alarm service
error creating table cal_calendars -- probably already exists
error creating table cal_calendars_prefs -- probably already exists
observer added
observer removed

and the process exits.



All the above still seems to be the case, and I did not see a reply to
the original post, hence this retry.

A process is started

 /usr/X11R6/libexec/gconfd-2 32

with no apparent effect which sits around until killed.

Anyone know how to make it do something useful?





IIRC, the trick was to run it once as root.

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


Re: Sunbird native port does nothing?

2006-07-06 Thread michael johnson

On 7/6/06, Pete Slagle <[EMAIL PROTECTED]> wrote:


On March 2, 2006 Eric Schuele wrote:

> Anyone using the deskutils/sunbird (not deskutils/linux-sunbird)?

[...]

> I did the normal "make install clean" in the appropriate dir (everything
> went well).  Running it for the first time, I see the process in top,
> and it writes a bit to the console, but then exits.  All subsequent
> attempts to run it result in the following at the console:
>
> Starting calendar alarm service
> error creating table cal_calendars -- probably already exists
> error creating table cal_calendars_prefs -- probably already exists
> observer added
> observer removed
>
> and the process exits.


All the above still seems to be the case, and I did not see a reply to
the original post, hence this retry.

A process is started

 /usr/X11R6/libexec/gconfd-2 32

with no apparent effect which sits around until killed.

Anyone know how to make it do something useful?



We probably need to add a pkg-message to sunbird.
The version of sunbird in ports has some chrome
problems and you must run sunbird as root once before
it will run as normal user. Hopefully sunbird will have another
release soon with a fix.

Michael

___

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


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


Re: portupgrade incompatible version of BDB

2006-07-06 Thread Joe Auty


On Jul 6, 2006, at 8:52 AM, Andrey Slusar wrote:


Thu, 6 Jul 2006 08:43:05 -0400, Joe Auty wrote:


As of the latest portupgrade upgrade I'm getting the following error
message when I try to invoke and of the portupgrade scripts:



# pkgdb -F
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so:
(NotImplementedError)
BDB needs compatible versions of libdb & db.h
you have db.h version 4.1.25 and libdb version 4.3.29
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:152:in
`set_db_driver'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:81:in `setup'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:76:in
`initialize'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:5:in `new'
from /usr/local/lib/ruby/1.8/singleton.rb:95:in `instance'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:206:in
`init_pkgtools_global'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:1155
from /usr/local/sbin/pkgdb:36




I've tried deleting db43, and while this changed the error message,
I'm still having problems. Before I start randomly deinstalling and/
or reinstalling anything this, is there a smart way to fix this
problem?


 Solution for fix this error described in ports/UPDATING file. Read  
this!



H... I should definitely be sure to read this file *after* doing  
a portsnap update.


I've gotten portupgrade working again with the BDB 1.x backend. What  
do I need to if I want to move to the 2.x backend without running  
into the error message listed above? I tried deleting the .db files  
prior to the upgrade as instructed in UPDATING, but this didn't seem  
to do the trick.



Thanks for your help! At least I have a working portupgrade now =)



---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Sunbird native port does nothing?

2006-07-06 Thread Pete Slagle
On March 2, 2006 Eric Schuele wrote:

> Anyone using the deskutils/sunbird (not deskutils/linux-sunbird)?

[...]

> I did the normal "make install clean" in the appropriate dir (everything
> went well).  Running it for the first time, I see the process in top,
> and it writes a bit to the console, but then exits.  All subsequent
> attempts to run it result in the following at the console:
> 
> Starting calendar alarm service
> error creating table cal_calendars -- probably already exists
> error creating table cal_calendars_prefs -- probably already exists
> observer added
> observer removed
> 
> and the process exits.


All the above still seems to be the case, and I did not see a reply to
the original post, hence this retry.

A process is started

 /usr/X11R6/libexec/gconfd-2 32

with no apparent effect which sits around until killed.

Anyone know how to make it do something useful?


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


Re: freebsd help

2006-07-06 Thread jan gestre

On 7/5/06, Goran Sabo <[EMAIL PROTECTED]> wrote:



   Hi!

   I have c:/ (no partition) with Windows sistem,

   d:/ partition -> NTFS and unformated partition for second sistem ->
   FreeBSD.

   When I put instalation CD and boot computer from cd freebsd I get
   error masage BTX HALTED. Before this is "all" ok.

   Cant i have two sistems Window and FreeBSD?


sure you can, just read the handbook regarding dual booting FreeBSD and

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


Re: Question about ports builds

2006-07-06 Thread Chuck Swiger

Charlie Sorsby wrote:

Charlie Sorsby wrote:
[ ... ]

PS It would be really helpful if each port/package at freebsd.org
had an indication whether it requires the latest and greatest
version of freeBSD.  Put another way, it would be nice to know the
oldest version of freeBSD it will work with.  Perhaps that could be
included in the "Requires" list on the page for the port/package.
The people maintaining the ports attempt to support them on all of the active 
versions of FreeBSD, which means 4.10 or 4.11, 5.3 and later, 6.0 and later, 
and -CURRENT (what will become 7.0).


I find it hard to believe that 4.10 and 4.11 are even considered
"active versions"; I can't find anything about either at the web
site.  Try putting 4.11 into the search box on the freebsd.org home
page.


4.11 is a legacy version and will be supported through Jan 31, 2007:

http://www.freebsd.org/security/
http://www.freebsd.org/releng/index.html

4.x is no longer recommended for a new installation.


Anyway, I'm afraid that I haven't had much luck with new versions
of ports relative to those distributed on the 4.11 CDROM and, in
fact, have had problems trying to install some of those.  When I
installed 4.11, I did have sysinstall install /usr/ports.  Frequently
trying even to install from that directory tree fails.


You need to update your ports tree.  Read the fine documentation:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html


My experience has been that trying to install ports on 4.11
frequently produces complaints that it can't find some *4.11*
directory at freeBSD.org.


If your ports tree comes from the original CD, you're trying to fetch old 
versions of the packages which have been updated since.


Support for 4.x is going away soon, 


Are you sure it isn't already gone?


Yes.


however, and it will become more common for new ports to not
work on 4.x as  time passes.


With each successive (major) version of freeBSD, it becomes less
and less like BSD and more and more "invented here."  I suggest
that the "BSD" be dropped from the name of the operating system
currently being produced.


You're welcome to your opinion, even if it smells like flamebait to me.

For those ports that do not work with an older version like 4.x because of 
features added to more recent versions of the operating system, ports usually 
will indicate this in the Makefile.


Are you saying that the only way to tell is to fetch the new
version of the port, unpack it, and read the Makefile?


Nope.  There's cvsweb access and sites like freshports.org...


I just looked in the Makefile for .../graphics/gphoto2 that I just
fetched from freeBSD.org -- specifically from:

http://www.freebsd.org/cgi/ports.cgi?query=gphoto2&stype=all)

I could find nothing about an OS version but it may just be that I
don't know specifically what to look for.

In any event, build failed:

Thursday,  6 Jul, 2006 -- 10:56:22 MDT
=> gphoto2-2.2.0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from 
http://heanet.dl.sourceforge.net/sourceforge/gphoto/.
gphoto2-2.2.0.tar.bz2  530 kB   25 kBps
===>  Extracting for gphoto2-2.2.0
=> Checksum OK for gphoto2-2.2.0.tar.bz2.
===>  Patching for gphoto2-2.2.0
-e: not found
*** Error code 127

Stop in /home/crs/Incoming/Ports/gphoto2.


Supporting sed -e/REINPLACE_CMD happened somewhere around 4.8 or 4.9, so your 
version of the port Makefiles apparently predate this.


Your ports infrastructure is rather non-standard and being so far out-of-date, 
isn't likely to work properly without being updated per the directions above, 
although you could always go your own way and compile the software for yourself...


[ ... ]

Charlie

PS Having used "real" BSD (4.[123], SunOS 4.1, etc), I wouldn't even
buy a PC until FreeBSD became available.  Now I find that each
successive release of free"BSD" is less and less BSD and more and
more something else.  That's why I'm still using 4.11 (and probably
will continue to do).  I think the powers-that-be at freebsd.org
should seriously consider dropping the "BSD" part of the name.


Yeah, you said that above, too.  Feel free to use another operating system if 
you find something that suits you better


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


Re: Error: shared library "gtkglext-x11-1.0.2" does not exist

2006-07-06 Thread Lowell Gilbert
Yousef Raffah <[EMAIL PROTECTED]> writes:

> On Wed, 2006-07-05 at 07:43 -0400, Lowell Gilbert wrote:
>> Yousef Raffah <[EMAIL PROTECTED]> writes:
>> 
>> > Hi,
>> >
>> > I'm trying to install graphics/gnash with the firefox plugin but it
>> > keeps on saying:
>> > Error: shared library "gtkglext-x11-1.0.2" does not exist
>> >
>> > I tried to search the ports directory for gtkglext-x11 but I can't find
>> > any
>> 
>> $ grep glext /usr/ports/graphics/gnash/Makefile
>> LIB_DEPENDS+=   gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
>> $
>
> Thank you very much for concerning my issue but I have reinstalled
> x11-toolkits/gtkglext and graphics/gnash keeps on saying:
>
>  /usr/ports/graphics/gnash )
>  --__-- make install clean
> ===>   gnash-0.7.1 depends on executable: gmake - found
> ===>   gnash-0.7.1 depends on file: /usr/local/bin/sdl11-config - found
> ===>   gnash-0.7.1 depends on file: /usr/local/bin/intltool-extract -
> found
> ===>   gnash-0.7.1 depends on executable: pkg-config - found
> ===>   gnash-0.7.1 depends on shared library: png.5 - found
> ===>   gnash-0.7.1 depends on shared library: jpeg.9 - found
> ===>   gnash-0.7.1 depends on shared library: ogg.5 - found
> ===>   gnash-0.7.1 depends on shared library: gtkglext-x11-1.0.2 - not
> found
> ===>Verifying install for gtkglext-x11-1.0.2
> in /usr/ports/x11-toolkits/gtkglext
> ===>   Returning to build of gnash-0.7.1
> Error: shared library "gtkglext-x11-1.0.2" does not exist
> *** Error code 1
>
> Stop in /usr/ports/graphics/gnash
>
> What do you think I can do about it?

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


Re: freebsd help

2006-07-06 Thread Lowell Gilbert
Goran Sabo <[EMAIL PROTECTED]> writes:

>Hi!
>
>I have c:/ (no partition) with Windows sistem,
>
>d:/ partition -> NTFS and unformated partition for second sistem ->
>FreeBSD.
>
>When I put instalation CD and boot computer from cd freebsd I get
>error masage BTX HALTED. Before this is "all" ok.

Are you running an old version of FreeBSD?

>Cant i have two sistems Window and FreeBSD?

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


Re: ports/packages (sysinstall and dependencies)

2006-07-06 Thread Lowell Gilbert
Charles Howse <[EMAIL PROTECTED]> writes:

> Hi,
> 6.1-RELEASE-p2
> I recently used sysinstall to install cups-1.1.23 via packages/ftp/
> Main Site.
> That adds ghostscript-gnu and xorg-libraries as dependencies.
>
> That's not what I wanted, I don't use a gui, so I selected
> ghostscript-gnu-no-X11.
> That didn't work, it installed ghostscript-gnu first and the no-X11
> install failed.
>
> Now I'm stuck with xorg-libraries, which I don't need nor want.
>
> Is there a way to install ghostscript-gnu-no-X11 and fix the cups
> dependencies?
>
> What would have been the proper way to use sysinstall/packages or
> pkg_add and get no-X11 instead of regular ghostscript-gnu?

I'm not sure I'm understanding your situation properly, but packages
really work best if you are willing to live with whatever the default
options are.  If you want to tune the installation for your environment,
the ports system will do so a lot easier than autofetched packages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports doubt, check network performance...?

2006-07-06 Thread perikillo

On 7/5/06, Nikos Vassiliadis <[EMAIL PROTECTED]> wrote:

On Wednesday 05 July 2006 02:01, perikillo wrote:
> On 7/4/06, Nikos Vassiliadis <[EMAIL PROTECTED]> wrote:
> > On Tuesday 04 July 2006 03:49, perikillo wrote:
> > >Hi people.
> > >
> > > I have some problems on my network, and i want to use my freebsd
> > > box to see if i can find the problems on my network, we have two
> > > networks in two countrys connected by a private link, but i have seen
> > > just a couple a weeks ago that we have some problems between both
> > > links, we are lossing packets if i ping some server on the other link,
> > > some times i get 36% of packets loss, is to but to much on bussines
> > > hours.
> >
> > 36% packet loss is very high, it will almost make TCP unusable.
> > ping is your tool. Use -s 500 to 1500 to simulate some-how real traffic
> > situation. I guess you have a point-to-point link between the two
> > offices, connected to a router? Do you administer these routers? Do know
> > your bandwidth utilization? Are you sure your link is OK? check this with
> > your service provider.
> >
> > Either you link is bad or you use all your available bandwidth.
> >
> > > I want to use my freebsd box running 6.0 but just want to know if
> > > some one could recomend me wich ports to check to see if i can find
> > > wich device is causing this problem.
> >
> > FreeBSD can not help you much with this. Unless FreeBSD is the router
> > in question. Or you could pass all traffic from a FreeBSD box in order to
> > know what's going on. something like this
> >
> > central-switch--FBSD--router-1=router-2
> > [LAN] [-WAN-]
>
>No i dont administer those routers, i need to check if the problem
> is our network or the ISP link, and yes is Point To Point link and
> talk with the guys that setup that router, but im thinking in put a
> freebsd box between our lan and the router and sniff all the traffic
> and see whats is happening but wich port to use...?

ntop can show how much bandwidth is used by whom
There are many available and I'm not sure ntop is the
best choice. There is pfSense which is a FreeBSD based
live-CD for router-like installations. pfSense has ntop
package. it won't hurt trying it out.

> , thanks all for
> your help.
>
>Ethereal is for read packets but can he check wich one device is
> causing problems..?

device causing problems? Do you mean computer using
a lot of bandwidth? You can check this with ntop(and a thousand
others I guess, use google)



  Well to find how is causing my loss of packets, iam using ntop
right now and ethereal, i try to find out who is causing the lost of
packets, any recomendations...?

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


php5-extentsions broken

2006-07-06 Thread Mike Loiterman
After installing the php5-extensions port, I get lots of the following
errors when trying to start Apache:

PHP Warning:  PHP Startup: U\x89\xe5WVS\x83\xec\x14\xe8: Unable to
initialize module\nModule compiled with module API=20020429, debug=0,
thread-safety=0\nPHPcompiled with module API=20050922, debug=0,
thread-safety=0\nThese options need to match\n in Unknown on line 0 

Apache and php are working fine - I can get to the phpinfo page without
problems.  Its just that the extensions aren't being found for somereason.

I have treid adding their location to the extensions_dir directive in
php.ini with no luck.

I have done a portupgrade rRfo lang/php5 php5 which should upgrade
everything related to php5 and it does, but somehow the extension are not
being found.

Any ideas?

--
Mike Loiterman
GrantAdler
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

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


Re: newfs_msdos - is their an equivalent app with GUI ?

2006-07-06 Thread Kevin Kinsey

Didier Tickell wrote:

Hi

I'm so un-terminal savy - Is there
an app with a GUI that does FAT formatting
on macs, like the newfs_msdos command you made ?

Thanks for your time

frustrated person...
d


If this is on a Mac, have you tried the
Mac lists/forums?

There's a chance you'll get an answer
from someone who uses both Macs and FreeBSD,
but it's no so likely to happen as, say, you
getting a lot of "RTFM" pointers. ;-)

Kevin Kinsey
FreeBSD User

--
Hard work may not kill you, but why take the chance?

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


E-Mail bloqueado por segurança

2006-07-06 Thread sms . gateway
SMSGateway
A Política de Proteção contra Vírus e Spam´s do Ministério da Saúde bloqueou e 
substituiu este e-mail.

Foram detectadas as seguintes violações:

Connection From: 200.214.130.50
From: freebsd-questions@freebsd.org
To: [EMAIL PROTECTED]
Date: Thu, 06 Jul 2006 13:10:16 -0300
Subject: robos!

--- Scan information follows ---

Virus Name: [EMAIL PROTECTED]
File Attachment: LINUSTOR.zip
Attachment Status: deleted

--- File name Block information follows ---

File Attachment: LINUSTOR.zip
Matching file name: Message is considered to be a mass-mailer.


The message was dropped.


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


Re: Conflict between avahi and howl/mDNSResponder

2006-07-06 Thread dick hoogendijk
> Currently, avahi conflicts with howl/mDNSResponder.
> The current conflict has the following consequence: I cannot update the
> applications that depend on avahi because avahi cannot be updated.

This issue was solved quite some time ago. The agreement still stands as I
remember.

-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Officejet Printer

2006-07-06 Thread dick hoogendijk
On 05 Jul Ted Mittelstaedt wrote:
> 
> http://www.linuxprinting.org/show_printer.cgi?recnum=HP-OfficeJet_4300
> 
> "...these printers are supported by the "hpijs" driver beginning from
> version 1.3. The driver supports resolutions only up to 600 dpi, head
> alignment settings stored in the printer are not made use of, so use a
> one-cartridge (CMY) printing mode in case of mis-alignments"
> 
> "perfectly"?
 
> - Original Message - 
> From: "dick hoogendijk" <[EMAIL PROTECTED]>
> > This printer works perfectly with apsfilter. The latter does /not/
> > need cups (luckely imho) but works very well with the standard unix
> > lpd.

OK, the definition for perfectly does not agree with my statement.
Otoh, my laserjet uses 600dpi and that is (for normal use) quite good.
If I need higher qualities I use a printshop.
As I understood the OP is a home user and in that sence 600dpi is ok.
As for the heads: you have a point there.
I could live with that and would buy a one-head-cartridge though;-)

And, most importantly (to me), NO cups ;-)

-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: newfs_msdos - is their an equivalent app with GUI ?

2006-07-06 Thread Giorgos Keramidas
On 2006-07-06 16:46, Didier Tickell <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm so un-terminal savy - Is there an app with a GUI that does FAT
> formatting on macs, like the newfs_msdos command you made ?
>
> Thanks for your time
> frustrated person...

The solution to this problem is not, of course, to start slapping GUI
wrappers around newfs_msdos, but to read about newfs_msdos and become
acquainted with its options.

You don't *have* to be ``un-terminal savy'', whatever that means.

Have you tried firing up a terminal, and typing:

% man newfs_msdos

The manpages are a huge wealth of information, and there are so many
tools that have neat command-line options that it would be a terrible
waste to miss them all because you didn't check the manpages :)

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


newfs_msdos - is their an equivalent app with GUI ?

2006-07-06 Thread Didier Tickell

Hi

I'm so un-terminal savy - Is there
an app with a GUI that does FAT formatting
on macs, like the newfs_msdos command you made ?

Thanks for your time

frustrated person...
d

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


Re: using fping to monitor internet connection status

2006-07-06 Thread Pietro Cerutti

On 7/6/06, Paul Hamilton <[EMAIL PROTECTED]> wrote:

Hi,


Hallo,



I need to monitor a number of IP addresses, so that if they ALL go down (say
three IP's), then that is a pretty good indication that my server has lost
internet connectivity.

[snip]

Any idea's on a ping tool or simple script?



#!/bin/sh
err=2 # Ping return value on error
ping -c1 host1 > /dev/null 2>&1
host1=$?
ping -c1 host2 > /dev/null 2>&1
host2=$?
ping -c3 host3 > /dev/null 2>&1
host3=$?
if [ $host1 -gt $err -a $host2 -gt $err -a $host3 -gt $err ]; then
  echo "Network is down..."
fi


Could surely be refined, but it works ;-)



Regards,

Paul Hamilton
Busselton, 6280
Australia




Regards,

--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: using fping to monitor internet connection status

2006-07-06 Thread Greg Barniskis

Paul Hamilton wrote:

Hi,
 
I need to monitor a number of IP addresses, so that if they ALL go down (say

three IP's), then that is a pretty good indication that my server has lost
internet connectivity.  [snip]
Any idea's on a ping tool or simple script?


Your test would be a little simpler if you just test one IP address: 
your ISP's upstream router. Its reachability is quite definitive re: 
whether your ISP link is up or down.


Even it it's assigned dynamically by DHCP, you should be able to 
write a script that pulls that IP, pings it a few times, and checks 
the result. No special tools necessarily required.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SATA300 Controllers

2006-07-06 Thread Alain Hebert

   Hi,

   I've been having the same issues.

   The conclusion of my testing is that type of card (aka Adaptec 
1210SA, Promise PDC2* ) are not stable, reliable, performant.

   (For my taste btw)

   The underlying technology is just mickey mouse:

  They store the config on drive (ok);
  They dont accelerate mirror that much. (mirror function in driver);
  If you loose a drive your filesystem jam (since the mirror 
function is in the driver);

  You have to rebuilt via the bios (long downtime).

   The best card are the 3ware 9000/9500 series.  Which is a real hard 
implementation.


   FYI: I have both success with Marvell 88SX5041 SATA150 and Promise 
PDC20378 SATA150.


   I had major failure under load with Adaptec 1210SA and Promise TX2300.

   Good luck.

Derrick T. Woolworth wrote:


Hello all,

Sorry for cross-posting, but these issues seem relevant for lists...

Has anyone had success with SATA300 controllers with FreeBSD 6.1?  
I've been
trying Promise and nVidia nForce4 and I'm not having any luck.  Using 
a MSI
K8NGM2-L motherboard and others, but 6.1's installation hangs as soon 
as it
sees ad4.  I've also tried using an Adaptec 1210SA controller and had 
zero
results.  I've read that the chipset on this controller is not very 
good -
forces serialized access to the controller's channels???  
Nevertheless, I've

got a K8N Diamond motherboard on a workstation and I was able to at least
"start" the 6.1 installation.  I have no idea if its stable.  At this 
point,
I'd settle for just knowing "which" SATA300 controller to use that 
will work
successfully and "well" with FreeBSD 6.0 OR 6.1.  Another question, 
would I

have more success installing 6.0 and then upgrading the kernel and
recompiling with a build-world?

I'm currently trying to build a moderate large system with 4 presentation
servers, 2 database servers and one large storage system using NFS 
mapped to

~1.2 terrabyte of SATA disks (4x Maxtor 500GB 7200 RPM disks w/RAID5
config).  Any suggestions?

Thanks,

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




--
Alain Hebert[EMAIL PROTECTED]   
PubNIX Inc.
P.O. Box 175   Beaconsfield, Quebec H9W 5T7	

tel 514-990-5911   http://www.pubnix.netfax 514-990-9443

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


Re: using fping to monitor internet connection status

2006-07-06 Thread Alex Zbyslaw

Paul Hamilton wrote:


Hi,

I need to monitor a number of IP addresses, so that if they ALL go down (say
three IP's), then that is a pretty good indication that my server has lost
internet connectivity.  The most probable cause is usually the ADSL router,
and therefore needs a reboot.  I was hoping to use the 'fping' program, but
looking through the man file, there doesn't seem to be an exit status on
loosing ALL the pings.

If one goes down, I don't care, maybe that server is down, so keep pinging
the other two etc.

I was hoping to write this in Perl (the first fping example looked ok, until
I realised that it would activate when any one IP address became
unreachable, which means that I am still connected to the Internet).

Any idea's on a ping tool or simple script?
 



Pseudo code for perl or sh or pretty much any language that can run 
commands and determine exit staus:


   Set a variable to 0
   For each server
 ping server and if it fails increment variable
   End foreach

   If variable == number of servers then all pings failed.  Variable 
contains number of unsuccessfully pinged servers.


Or

   Set a variable to 0
   For each server
 ping server and if succeeds, increment variable
   End foreach

   If variable == 0 then all pings failed.  Variable contains number of 
successfully pinged servers.


From sh "ping -c 1 -q host > /dev/null 2>&1" will ping host and set 
status with no actual output.


Never heard of fping.

--Alex


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


Re: FreeBSD for kids...

2006-07-06 Thread Norberto Meijome
On Thu, 6 Jul 2006 07:58:05 -0700
"Gayn Winters" <[EMAIL PROTECTED]> wrote:

> Would PC-BSD meet your needs?  www.pcbsd.org

I don't see why not - thx for the reminder :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


using fping to monitor internet connection status

2006-07-06 Thread Paul Hamilton
Hi,
 
I need to monitor a number of IP addresses, so that if they ALL go down (say
three IP's), then that is a pretty good indication that my server has lost
internet connectivity.  The most probable cause is usually the ADSL router,
and therefore needs a reboot.  I was hoping to use the 'fping' program, but
looking through the man file, there doesn't seem to be an exit status on
loosing ALL the pings.
 
If one goes down, I don't care, maybe that server is down, so keep pinging
the other two etc.
 
I was hoping to write this in Perl (the first fping example looked ok, until
I realised that it would activate when any one IP address became
unreachable, which means that I am still connected to the Internet).
 
Any idea's on a ping tool or simple script?
 
 
 
Regards,
 
Paul Hamilton
Busselton, 6280
Australia
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FreeBSD for kids...

2006-07-06 Thread Gayn Winters
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Norberto Meijome
> Sent: Thursday, July 06, 2006 5:53 AM
> To: Lee Capps
> Cc: freebsd-questions@freebsd.org
> Subject: Re: FreeBSD for kids...
> 
> 
> On Thu, 6 Jul 2006 07:09:24 -0400
> Lee Capps <[EMAIL PROTECTED]> wrote:
> 
> > Would be neat if someone came up with a meta-port (like
> > instant-workstation) to do this all at once.
> 
> yup. or even a freesbie cd to drop into a computer and 
> "sanitize" it with
> useful kiddie stuff :) time to learn how to modify freesbie 
> (and upgrade it to
> 6.x too... ) 
> 
> ah, the fun of OSS :D
> 
> cheers,
> Beto

Would PC-BSD meet your needs?  www.pcbsd.org

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 


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


Passing Parameters from BSD to Linux and Back

2006-07-06 Thread Frank Jahnke
I use a few Linux programs on FreeBSD, and sometimes they invoke other
programs that use command line options. I have never been able to get
this parameter passing to work. 

For example, PDF files read by Acroread can contain links to a web
browser or an email program; these are often invoked as "program-name 
%s" in the set-up file. VMware does the same with invoking a browser
from defaults set in a config file.

I am able to get the appropriate program to open, but the parameters are
never passed. I have tried many, many schemes to quote or escape the
command and its options, but never have any of these worked.

Any suggestions on how I might do this would be most appreciated!

Frank

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


moving rdiff-backup data between servers

2006-07-06 Thread Noah


Hi there,

is there a recommended way of moving rdiff-backup data between servers?
Web links or anything else out there?

Cheers,

Noah

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


Re: vinum stability?

2006-07-06 Thread Chuck Swiger

Jeremy Ehrhardt wrote:
We've been testing this box as a 
file server, and it usually works fine, but smartd reported a few bad 
sectors on one of the drives, then a few days later it crashed while I 
was running chmod -R on a directory on "drugs" and had to be manually 
rebooted. I can't figure out exactly what happened, especially given 
that RAID 5 is supposed to be robust against single drive failures and 
that despite the bad blocks smartctl claims the drive is healthy.


As soon as you notice bad sectors appearing on a modern drive, it's time to 
replace it.  This is because modern drives already use spare sectors to 
replace failing data areas transparently, and when that no longer can be done 
because all of the spares have been used, the drive is likely to die shortly 
thereafter.


RAID-5 provides protection against a single-drive failure, but once errors are 
seen, the RAID-volume is operating in degraded mode which involves a 
significant performance penalty and you no longer have any protection against 
data loss-- if you have a problem with another disk in the meantime before the 
failing drive gets replaced, you're probably going to lose the entire RAID 
volume and all data on it.



I have three questions:
1: what's up with gvinum RAID 5? Does it crash randomly? Is it 
considered stable? Will it lose data?


Gvinum isn't supposed to crash randomly, and it reasonably stable, but it 
doesn't seen to be as reliable as either a hardware RAID setup or the older 
vinum from FreeBSD-4 and earlier.


As for losing data, see above.

2: am I using a SATA controller that has serious problems or something 
like that? In other words, is this actually gvinum's fault?


If you had a failing drive, that's not gvinum's fault.  gvinum is supposed to 
handle a single-drive failure, but it's not clear what actually went 
wrong...log messages or dmesg output might be useful.



3: would I be better off using a different RAID 5 system on another OS?


Changing OSes won't make much difference; using hardware to implement the RAID 
might be an improvement, rather than using gvinum's software RAID.  Of course, 
you'd have to adjust your config to fit within your hardware controller's 
capabilities.


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


Re: portupgrade incompatible version of BDB

2006-07-06 Thread Andrey Slusar
Thu, 6 Jul 2006 08:43:05 -0400, Joe Auty wrote:

> As of the latest portupgrade upgrade I'm getting the following error
> message when I try to invoke and of the portupgrade scripts:

> # pkgdb -F
> /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so:
> (NotImplementedError)
> BDB needs compatible versions of libdb & db.h
> you have db.h version 4.1.25 and libdb version 4.3.29
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:152:in
> `set_db_driver'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:81:in `setup'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:76:in
> `initialize'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:5:in `new'
> from /usr/local/lib/ruby/1.8/singleton.rb:95:in `instance'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:206:in
> `init_pkgtools_global'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:1155
> from /usr/local/sbin/pkgdb:36


> I've tried deleting db43, and while this changed the error message,
> I'm still having problems. Before I start randomly deinstalling and/
> or reinstalling anything this, is there a smart way to fix this
> problem?

 Solution for fix this error described in ports/UPDATING file. Read this!

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


Re: SATA300 Controllers

2006-07-06 Thread Chuck Swiger

Derrick T. Woolworth wrote:

Hello all,

Sorry for cross-posting, but these issues seem relevant for lists...


We'll survive, but for future reference it's almost never appropriate to 
cross-post between freebsd-questions and other FreeBSD lists.



Has anyone had success with SATA300 controllers with FreeBSD 6.1? [ ... ]
I've got a K8N Diamond motherboard on a workstation and I was able to at least
"start" the 6.1 installation.


I've got a K8N Diamond board as well, and FreeBSD 6.0 & 6.1 seems to work just 
fine with either the nVidia integrated 4-channel SATA controller, and with the 
SilImage 3132 2-channel SATA controller.  Note that I've only tested 
single-drive operation, though-- I haven't had the need to set up RAID on this 
one yet...


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


RE: sshd/mysql errors.

2006-07-06 Thread fbsd
First host73.maxim.net is an individual PC on the maxim.net domain.
You want to find the domain IP address.
nslookup maxim.net gives 192.168.48.66
or use dig maxim.net or whois maxim.net

Looks more and more like the packets are spoofed and maxim.net is as
much a victim as you are.

Adding a firewall deny rule for will 192.168.48.66 stop all traffic
from that domain.


The real question is, do you really have real remote users who ssh
into your system and or have remote users who access your mysql
system?

If not then add a firewall rule to deny the sshd & mysql port
numbers
from entering your system from the public internet.

-Original Message-
From: Marwan Sultan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 11:53 PM
To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: RE: sshd/mysql errors.



hello,

  and how to get an ip of unkown hostname, as you knowm i should add
an IP
addresses to the firewall not hostnames,

# nslookup host73.maxim.net
***  can't find host73.hostname_net: Non-existent host/domain

I found hundreds of this line to in my logs

mysqld[28598]: warning: /etc/hosts.allow, line 25: can't verify
hostname:
getaddrinfo(IP-216-185-173-58.mtntel.net, AF_INET) failed

Any advise? please.


>
>First thoughts is you are under attack and hosts.allow is
>doing it's job of denying access.
>
>Add the ip address from the warning message to your firewall
>to stop those attack packets from entering your system.
>
>Good chance attack packets are spoofed.
>
>
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Marwan
>Sultan
>Sent: Tuesday, July 04, 2006 6:40 AM
>To: freebsd-questions@freebsd.org
>Subject: sshd/mysql errors.
>
>
>Hello gurus,
>
>my logs full of hundreds of these lines..i starts since few days
and
>up to
>day ..
>
>-
>Jul  2 00:00:03 server mysqld[28598]: warning: /etc/hosts.allow,
>line 25:
>can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET)
>failed
>
>Jul  2 00:00:27 server sshd[83738]: warning: /etc/hosts.allow, line
>25:
>can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET)
>failed
>--
>Where hostname_net is the former ISP name for the my server hosting
>ISP.
>but i have the same DNS and routings, the name is changed since
>almost 1
>year and few months.
>
>Also line 25 had nothing to do with this hostname its just the
first
>active
>line in my hosts.allow file
>anyhow i have replaced the line to:
>ALL : .hostname_net : allow
>
>But still same errors everyday every minute! anyadvise please?
>
>Its FreeBSD 4.8R
>
>thank you
>Marwan

_
Express yourself instantly with MSN Messenger! Download today it's
FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: dvd image

2006-07-06 Thread eoghan

Andy Greenwood wrote:

IIRC, there aren't any official dvd images. However, it's not too
difficult to make your own. Check out this site
http://www.pa.msu.edu/~tigner/bsddvd.html


Ok thanks for the link,
Eoghan


On 7/5/06, eoghan <[EMAIL PROTECTED]> wrote:

Hi
I was wondering if there was any dvd images of freebsd releases?
Thanks
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"






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


Re: FreeBSD for kids...

2006-07-06 Thread Norberto Meijome
On Thu, 6 Jul 2006 07:09:24 -0400
Lee Capps <[EMAIL PROTECTED]> wrote:

> Would be neat if someone came up with a meta-port (like
> instant-workstation) to do this all at once.

yup. or even a freesbie cd to drop into a computer and "sanitize" it with
useful kiddie stuff :) time to learn how to modify freesbie (and upgrade it to
6.x too... ) 

ah, the fun of OSS :D

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


portupgrade incompatible version of BDB

2006-07-06 Thread Joe Auty
As of the latest portupgrade upgrade I'm getting the following error  
message when I try to invoke and of the portupgrade scripts:


# pkgdb -F
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so:   
(NotImplementedError)

BDB needs compatible versions of libdb & db.h
you have db.h version 4.1.25 and libdb version 4.3.29
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:152:in  
`set_db_driver'

from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:81:in `setup'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:76:in  
`initialize'

from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:5:in `new'
from /usr/local/lib/ruby/1.8/singleton.rb:95:in `instance'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:206:in  
`init_pkgtools_global'

from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:1155
from /usr/local/sbin/pkgdb:36


I've tried deleting db43, and while this changed the error message,  
I'm still having problems. Before I start randomly deinstalling and/ 
or reinstalling anything this, is there a smart way to fix this problem?









---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: CVS Export truncate files ?

2006-07-06 Thread Nikos Vassiliadis
On Wednesday 05 July 2006 19:37, Ian Lord wrote:
> Hi,
>
> we use cvs for in house developpement of a php web site...
>
> We use "cvs update to sync files", "cvs checkout" when a new employee
> need to work on the files, and "cvs export" when we push the changes
> to the production web site...
>
> For some reason, we found that "cvs export" truncated a couple of
> files which caused parsing errors... I don't see any error message
> While it's doing it, I see the following extract:
>
> cvs export: Updating pub/class
> U pub/class/class.session.cmd
> cvs export: Updating pub/class/html2pdf
> cvs export: Updating pub/class/html2pdf/cache
> cvs export: Updating pub/class/html2pdf/classes
>
> Is it normal that the class.session only has a "U" in front of the
> line instead of "cvs export: Updating"
>
> Am I doing something wrong or is it some sort of bug/limitation with
> the cvs export function ?

From cvs man:

   export [-flNnQq] -r rev|-D date [-d dir] [-k kflag] module...
  Requires: repository.
  Changes: current directory.

I guess what you search for is "cvs commit"

   commit [-lnR] [-m 'log_message' | -F file] [-r revision] [files...]
  Requires: working directory, repository.
  Changes: repository.

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


Re: dvd image

2006-07-06 Thread Andy Greenwood

IIRC, there aren't any official dvd images. However, it's not too
difficult to make your own. Check out this site
http://www.pa.msu.edu/~tigner/bsddvd.html

On 7/5/06, eoghan <[EMAIL PROTECTED]> wrote:

Hi
I was wondering if there was any dvd images of freebsd releases?
Thanks
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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


Re: DNS beginner question

2006-07-06 Thread Derek Ragona
You need a second IP for the secondary server.  With a single public IP and 
port forwarding, you get only one destination.


All you need is to add entries to DNS maps for the other host records you 
want.  I assume your DNS is being hosted elseware now, so just have them 
add the two additional host records.


-Derek


At 06:33 AM 7/6/2006, Michael S wrote:

Derek,

Actually my domain is a subdomain (e.g. mysubdomain.domain.com), and
obviously the domain server for domain.com points correctly to my
site.
What I want to have (mostly for the sake of configuring DNS) is
something like www.mysubdomain.domain.com, and
ftp.mysubdomain.domain.com.

Can my second BSD machine be the secondary DNS?

When you say set it up correctly on the router, you mean forwarding
the requests from port 53 to the BSD machine, running BIND? Or there
are extra steps that I need to take?


Thanks a lot.
Michael

On 7/6/06, Derek Ragona <[EMAIL PROTECTED]> wrote:


 Yes DNS will work with your port forwarding assuming you have it set up
correctly on your router.

 Are you trying to be the authoritative DNS for your domain?  If you are you
will still need a secondary DNS.

 -Derek



 At 05:56 AM 7/6/2006, Michael S wrote:


The "open" ports are simply port-forwarded from the router to my
 internal network (NAT). And I only have one public IP.
 For me the more important issue is whether DNS would work with private
 IP addresses.


 On 7/5/06, David Stanford <[EMAIL PROTECTED]> wrote:



 On 7/5/06, Michael S <[EMAIL PROTECTED] > wrote:
 > Hi all.
 >
 > I am trying to set up a DNS service. I have 2 FreeBSD machines, one's
 > web and DNS (that I am setting up) and the other FTP. Both machines
 > are behind a router and get local addresses (i.e. 192.168). If
 > DNS, FTP and web ports in the router are open, will I be able to set
 > up the DNS in a way such that when someone from the outside types
 > www.mydomain.com, he'll be taken to the machine that runs apache, and
 > when he types ftp.mydomain.com he'll be taken to the machine which
 > runs ftp?
 > By the way simply typing ftp://mydomain.com and http://mydomain.com
 > does the trick, but I want it to work with prefixes too.
 >
 > Hopefully my question isn't too confusing.
 >
 > Thanks in advance.
 > Michael
 >

 Hi Michael,

 You'll have to clarify "open" regarding the WEB, DNS, and FTP ports on the
 router. Are they simply port-forwarded to the internal servers (meaning
 based on service ports) or do you have one-to-one NAT mapping a public IP
to
 an internal for each server? If it's the latter, and each machine has its
 own public IP, then you can simply set DNS to point to each server
 respectively:

 www.mydomain.com -> publicIP1 -> privateIP1
  ftp.mydomain.com -> publicIP2 -> privateIP2

 The real question is whether you have a block of public IPs or just one.
But
 to be honest, you can probably get away with just having a single public IP
 and using port forwarding as most browsers (including Firfox and IE)
 recognize the "ftp" and "www" subdomains and automatically adjust to that
 protocol.

 i.e. ftp.somedomain.com will automatically be translated to
 ftp://ftp.somedomain.com (ftp.freebsd.org ).

 -David
 --
 [EMAIL PROTECTED] ~]# fortune
 Happiness is just an illusion, filled with sadness and confusion.
___
 freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: DNS beginner question

2006-07-06 Thread Michael S

Derek,

Actually my domain is a subdomain (e.g. mysubdomain.domain.com), and
obviously the domain server for domain.com points correctly to my
site.
What I want to have (mostly for the sake of configuring DNS) is
something like www.mysubdomain.domain.com, and
ftp.mysubdomain.domain.com.

Can my second BSD machine be the secondary DNS?

When you say set it up correctly on the router, you mean forwarding
the requests from port 53 to the BSD machine, running BIND? Or there
are extra steps that I need to take?


Thanks a lot.
Michael

On 7/6/06, Derek Ragona <[EMAIL PROTECTED]> wrote:


 Yes DNS will work with your port forwarding assuming you have it set up
correctly on your router.

 Are you trying to be the authoritative DNS for your domain?  If you are you
will still need a secondary DNS.

 -Derek



 At 05:56 AM 7/6/2006, Michael S wrote:


The "open" ports are simply port-forwarded from the router to my
 internal network (NAT). And I only have one public IP.
 For me the more important issue is whether DNS would work with private
 IP addresses.


 On 7/5/06, David Stanford <[EMAIL PROTECTED]> wrote:



 On 7/5/06, Michael S <[EMAIL PROTECTED] > wrote:
 > Hi all.
 >
 > I am trying to set up a DNS service. I have 2 FreeBSD machines, one's
 > web and DNS (that I am setting up) and the other FTP. Both machines
 > are behind a router and get local addresses (i.e. 192.168). If
 > DNS, FTP and web ports in the router are open, will I be able to set
 > up the DNS in a way such that when someone from the outside types
 > www.mydomain.com, he'll be taken to the machine that runs apache, and
 > when he types ftp.mydomain.com he'll be taken to the machine which
 > runs ftp?
 > By the way simply typing ftp://mydomain.com and http://mydomain.com
 > does the trick, but I want it to work with prefixes too.
 >
 > Hopefully my question isn't too confusing.
 >
 > Thanks in advance.
 > Michael
 >

 Hi Michael,

 You'll have to clarify "open" regarding the WEB, DNS, and FTP ports on the
 router. Are they simply port-forwarded to the internal servers (meaning
 based on service ports) or do you have one-to-one NAT mapping a public IP
to
 an internal for each server? If it's the latter, and each machine has its
 own public IP, then you can simply set DNS to point to each server
 respectively:

 www.mydomain.com -> publicIP1 -> privateIP1
  ftp.mydomain.com -> publicIP2 -> privateIP2

 The real question is whether you have a block of public IPs or just one.
But
 to be honest, you can probably get away with just having a single public IP
 and using port forwarding as most browsers (including Firfox and IE)
 recognize the "ftp" and "www" subdomains and automatically adjust to that
 protocol.

 i.e. ftp.somedomain.com will automatically be translated to
 ftp://ftp.somedomain.com (ftp.freebsd.org ).

 -David
 --
 [EMAIL PROTECTED] ~]# fortune
 Happiness is just an illusion, filled with sadness and confusion.
___
 freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: DNS beginner question

2006-07-06 Thread Derek Ragona
Yes DNS will work with your port forwarding assuming you have it set up 
correctly on your router.


Are you trying to be the authoritative DNS for your domain?  If you are you 
will still need a secondary DNS.


-Derek


At 05:56 AM 7/6/2006, Michael S wrote:

The "open" ports are simply port-forwarded from the router to my
internal network (NAT). And I only have one public IP.
For me the more important issue is whether DNS would work with private
IP addresses.


On 7/5/06, David Stanford <[EMAIL PROTECTED]> wrote:



On 7/5/06, Michael S <[EMAIL PROTECTED] > wrote:
> Hi all.
>
> I am trying to set up a DNS service. I have 2 FreeBSD machines, one's
> web and DNS (that I am setting up) and the other FTP. Both machines
> are behind a router and get local addresses (i.e. 192.168). If
> DNS, FTP and web ports in the router are open, will I be able to set
> up the DNS in a way such that when someone from the outside types
> www.mydomain.com, he'll be taken to the machine that runs apache, and
> when he types ftp.mydomain.com he'll be taken to the machine which
> runs ftp?
> By the way simply typing ftp://mydomain.com and http://mydomain.com
> does the trick, but I want it to work with prefixes too.
>
> Hopefully my question isn't too confusing.
>
> Thanks in advance.
> Michael
>

Hi Michael,

You'll have to clarify "open" regarding the WEB, DNS, and FTP ports on the
router. Are they simply port-forwarded to the internal servers (meaning
based on service ports) or do you have one-to-one NAT mapping a public IP to
an internal for each server? If it's the latter, and each machine has its
own public IP, then you can simply set DNS to point to each server
respectively:

www.mydomain.com -> publicIP1 -> privateIP1
 ftp.mydomain.com -> publicIP2 -> privateIP2

The real question is whether you have a block of public IPs or just one. But
to be honest, you can probably get away with just having a single public IP
and using port forwarding as most browsers (including Firfox and IE)
recognize the "ftp" and "www" subdomains and automatically adjust to that
protocol.

i.e. ftp.somedomain.com will automatically be translated to
ftp://ftp.somedomain.com (ftp.freebsd.org ).

-David
--
[EMAIL PROTECTED] ~]# fortune
Happiness is just an illusion, filled with sadness and confusion.

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: FreeBSD for kids...

2006-07-06 Thread Lee Capps
At 11:09 Thu 06 Jul 2006, Norberto Meijome wrote:
> On Wed, 5 Jul 2006 12:23:19 -0400
> "Jim Stapleton" <[EMAIL PROTECTED]> wrote:
> 
> > I don't know of any. You could do a minimal install, install X + WM of
> > choice (probably one that dosn't add games), and thend add the
> > educational and math/sci related packages in ports? I think the
> > directories they are in are relatively limited, and so finding them
> > shouldn't be too hard.
> 

Would be neat if someone came up with a meta-port (like
instant-workstation) to do this all at once.

Lee

-- 
Lee Capps
Technology Specialist
CTE Resource Center


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


Re: DNS beginner question

2006-07-06 Thread Michael S

The "open" ports are simply port-forwarded from the router to my
internal network (NAT). And I only have one public IP.
For me the more important issue is whether DNS would work with private
IP addresses.


On 7/5/06, David Stanford <[EMAIL PROTECTED]> wrote:



On 7/5/06, Michael S <[EMAIL PROTECTED] > wrote:
> Hi all.
>
> I am trying to set up a DNS service. I have 2 FreeBSD machines, one's
> web and DNS (that I am setting up) and the other FTP. Both machines
> are behind a router and get local addresses (i.e. 192.168). If
> DNS, FTP and web ports in the router are open, will I be able to set
> up the DNS in a way such that when someone from the outside types
> www.mydomain.com, he'll be taken to the machine that runs apache, and
> when he types ftp.mydomain.com he'll be taken to the machine which
> runs ftp?
> By the way simply typing ftp://mydomain.com and http://mydomain.com
> does the trick, but I want it to work with prefixes too.
>
> Hopefully my question isn't too confusing.
>
> Thanks in advance.
> Michael
>

Hi Michael,

You'll have to clarify "open" regarding the WEB, DNS, and FTP ports on the
router. Are they simply port-forwarded to the internal servers (meaning
based on service ports) or do you have one-to-one NAT mapping a public IP to
an internal for each server? If it's the latter, and each machine has its
own public IP, then you can simply set DNS to point to each server
respectively:

www.mydomain.com -> publicIP1 -> privateIP1
 ftp.mydomain.com -> publicIP2 -> privateIP2

The real question is whether you have a block of public IPs or just one. But
to be honest, you can probably get away with just having a single public IP
and using port forwarding as most browsers (including Firfox and IE)
recognize the "ftp" and "www" subdomains and automatically adjust to that
protocol.

i.e. ftp.somedomain.com will automatically be translated to
ftp://ftp.somedomain.com (ftp.freebsd.org ).

-David
--
[EMAIL PROTECTED] ~]# fortune
Happiness is just an illusion, filled with sadness and confusion.

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


Re: SATA300 Controllers

2006-07-06 Thread Boris Samorodov
On Wed, 5 Jul 2006 20:02:55 -0500 Derrick T. Woolworth wrote:

> Has anyone had success with SATA300 controllers with FreeBSD 6.1?  I've been
> trying Promise and nVidia nForce4 and I'm not having any luck.  Using a MSI

I have an nForce4 built-in card on amd64 motherboard and use it as a
testing machine with 6.1-STABLE/7.0-CURRENT amd64/i386 worlds.
Everyting is fine so far (crossing fingers).

> K8NGM2-L motherboard and others, but 6.1's installation hangs as soon as it
> sees ad4.  I've also tried using an Adaptec 1210SA controller and had zero
> results.  I've read that the chipset on this controller is not very good -
> forces serialized access to the controller's channels???  Nevertheless, I've
> got a K8N Diamond motherboard on a workstation and I was able to at least
> "start" the 6.1 installation.  I have no idea if its stable.  At this point,
> I'd settle for just knowing "which" SATA300 controller to use that will work
> successfully and "well" with FreeBSD 6.0 OR 6.1.  Another question, would I
> have more success installing 6.0 and then upgrading the kernel and
> recompiling with a build-world?

> I'm currently trying to build a moderate large system with 4 presentation
> servers, 2 database servers and one large storage system using NFS mapped to
> ~1.2 terrabyte of SATA disks (4x Maxtor 500GB 7200 RPM disks w/RAID5
> config).  Any suggestions?


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