Setting up RAID-1 on 2 unequal disks

2006-12-11 Thread Foo JH

Hi all,

I unfortunately have 2 uneuqally sized SATA disks to set up a mirrored 
shared folder: 80GB and 120GB. On the 120GB I plan to set up this way:


/temp2GB (double the system memory)
/shared80GB
/   38GB

I plan to mirror /shared onto the 80GB. It won't be bootable, but I can 
always mount it onto another FreeBSD machine.


I've read some articles on mirroring on non-equal disks, notably:
http://people.freebsd.org/~rse/mirror/

My question is: is there an easier way to do this? The example looks 
quiet daunting for a noobie FreeBSD admin like me.


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


Re: Poptop - how to configure?

2006-12-11 Thread stom
Dear poptop users -

Selon Rob Hurle [EMAIL PROTECTED]:

 Hi Abdullah,

   Thanks for that information:

  can you make sure that you put the pppd program at that location?
  because you said that you already tried directly to /usr/sbin/pppd
  or may be you can copy it to /usr/local/sbin

 On FreeBSD, the pppd that comes with the system is installed in
 /usr/sbin/pppd, and I tried that with the same result.  There is
 another optional pppd in the ports (/usr/ports/net/pppd23) and that
 one installs in /usr/local/sbin/pppd.  So I have tried them both, with
 identical results.  Thanks for the info about the Fedora box.  I'll
 look at that carefully and compare with mine.

Note that both of your Kernel AND PPPD needs to support the MPPE encryption and
optionnaly the MPPC compression. There should be an option to activate in your
FreeBSD Kernel to support it - for PPPD I guess that the option is also
available by using the port (with some compile option).

(Why do not you migrate to the wonderful world of OpenVPN ? ;))



 Cheers,

 Rob Hurle
   -
   Rob Hurle   Faculty of Asian Studies, ANU
   Home address and contacts:   Tel: +61 2 6247 2397
 PO Box 4013Fax: +61 2 6247 2397
 AinslieCell phone: 0417 293 603
 Australia e-mail: [EMAIL PROTECTED]
   -
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Kind Regards ;)

Philippe Laquet.

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


Re: MAC OS X connection to FreeBSD?

2006-12-11 Thread lveax

On 11/6/06, David Kelly [EMAIL PROTECTED] wrote:

On Mon, Nov 06, 2006 at 06:48:28AM -0500, Lonnie Cumberland wrote:
 Thanks everyone for the replay to my post as it did finally occur to
 me that perhaps this question had been asked on the mailing list, but
 unfortunately it occurred to me after I sent it.

 So, basically the Apple team took FreeBSD and the CM micro-kernel,
 combined them, made some improvements and added some additional code
 and then used it all as the MAC OS X core (without the GUI of course)?

Yes, basically. FreeBSD is free for the taking, so Apple took. Steve
Jobs' NeXT team had a lot of familiarity with Mach, so they took from
there also too. A good number of well known FreeBSD people now work for
Apple, there are a number of FreeBSD device drivers shipping with MacOS
X. On a lark I put an Intel Etherexpress Pro 10/100B in my G4 Mac and
everything simply magically worked. No driver install, nothing.




who are the people that works in apple and also a freebsd developer now?


 With this being said, then does anyone have any experience with the
 stability and performance?

Millions of MacOS X users.

 My guess is that if it is really based upon FreeBSD then the
 performance should be pretty good from my readings about FreeBSD
 compared to other operating systems.

Having both I'd say not. FreeBSD performs better at most server-oriented
tasks than the non-server tuned MacOS X. Have not used MacOS X Server.
Am not familiar with the tuning tweaks in plain old Darwin. Remember the
MacOS/Darwin kernel is greatly different from FreeBSD. Believe it was
McKusik who said to the effect, The differnce between Linuxes is they
all have the same kernel, everything else is different. The difference
between BSDs is that they all have different kernels, everything else is
the same. Is not exactly true but contains a lot of truth. MacOS
X/Darwin is a recognized BSD variant.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
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]


no buffer space available PROBLEM

2006-12-11 Thread Wojciech Puchar
all possible values bumped higher, netstat -m shows big reserves but i 
still sometimes get this message.


using nmap for whole subnet is quite likely to trigger this, but other 
programs too.



ifconfig interface down and then up fixes the problem for some time. any 
idea?

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


Re: Advantages of trimmed kernel?

2006-12-11 Thread Graham Bentley
Wouldnt it be a usefull exercise on an old laptop
with not much horsepower ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Advantages of trimmed kernel?

2006-12-11 Thread Wojciech Puchar

Wouldnt it be a usefull exercise on an old laptop
with not much horsepower ?


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


Re: Poptop - how to configure?

2006-12-11 Thread Rob Hurle

Hi Philippe,

Thanks for your comment:

Note that both of your Kernel AND PPPD needs to support the MPPE 
encryption and optionnaly the MPPC compression. There should be an 
option to activate in your FreeBSD Kernel to support it - for PPPD I 
guess that the option is also available by using the port (with some 
compile option).


Seems to be standard with FreeBSD.


(Why do not you migrate to the wonderful world of OpenVPN ? ;))


Ah, if only.  Unfortunately I'm in a Dilbert situation.  The previous 
system was pretty well trashed by my predecessor responding to 
pressure from The Big Man.  I'm trying to pick up the pieces :-(((


Cheers,

Rob Hurle
-
Rob Hurle   Faculty of Asian Studies, ANU
Home address and contacts:   Tel: +61 2 6247 2397
  PO Box 4013Fax: +61 2 6247 2397
  AinslieCell phone: 0417 293 603
  Australia e-mail: [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: network analyse tool? To debug IMAP related problems

2006-12-11 Thread Bill Moran
In response to 张韡武 [EMAIL PROTECTED]:

 Hello. I would wish to have a tool that would do this kind of thing:
 
  1. listen on imap port on localhost, connect to localhost with my
 email client;
  2. forward the traffic from/to/between real imap server;
  3. meanwhile, print everything being transfer-ed, so that I can
 have a good ovewview of server-client conversation;
 
 I don't know what such kind of tool is usually called and thus difficult
 to do an effective google search. I tried a few tools in ports/net but
 none of them seems to be working in this way... (admit that I didn't
 look into pkg-descr of every package)

This may or may not help you, depending on what part of the IMAP
conversation you're trying to debug, but programs like KMail and
Sylpheed have excellent protocol debugging features built right in.
There's basically a log window where you can watch the entire
conversation occur.

This doesn't help if you're trying to debug IMAP client problems,
though.

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


Re: Major Version Upgrade 4.11 to 5.x

2006-12-11 Thread Lane
On Monday 11 December 2006 01:18, Matthew Seaman wrote:
 listvj wrote:
  I'm interested in upgrading from 4.11 to 5.x.  I currently track 4.x
  stable using cvsup, but I've never done a major version upgrade.
 
  First, should I bother?  My hardware has dual pentium 1.13 processors
  with 1G ram (I'm considering maxing it out at 4).  I host email and web
  sites for a few domains on this machine and I have four jails configured
  on it which will have to be upgraded too.  I have users counting
  particularly on mail service not being down for too long.
 
  Other than the obvious advice to start with a good backup, can anyone
  tell me:
 
  1)  Will I gain a major benefit from upgrading
  2)  Where should I look for instructions / advice on upgrading
  3)  Also any general advice from personal experience.
  4)  Just how risky is this?

 Uh -- why upgrade to a branch (5.x) that has already had it's last
 release and is worse performing than both 4.x and 6.x?  You should
 really be looking at upgrading to 6.2-RELEASE just as soon as it
 comes out (Real Soon Now).

 As for risk -- for various reasons you will be better off doing a
 clean install of 6.x and rebuilding your server from the ground up.
 It's no more risky than installing any other server -- unless you
 have some legacy binary-only application that you absolutely have
 to run, it is virtually certain to succeed.

 You biggest problem would seem to be the downtime required to do
 the update -- if you can manage it, probably the least consumer
 impact method is building the upgraded system on fresh disks on a
 scratch box, and then finishing the upgrade by a disk-swap.  Which
 also has the added benefit that you have a ready-made back out
 path.

   Cheers,

   Matthew
Matthew,

I agree with your advice to build the new server with a clean install, if only 
to prevent any sendmail issues.

But I'm not so sure I understand your assessment that 5.x is worse performing 
than both 4.x and 6.x.  While I agree that 6.x is a great improvement in 
functionality over 5.x, I was not aware of the poor performance record of 
5.x.  

Do you know of any links to benchmark tests, or other data, which would 
provide some more background on this?

That kind of data would greatly influence my opinion in this discussion.  
Without it I'd be pleased to recommend 5.X, regardless of it's pending drop 
dead date, wrt support.  I certainly see no need to chain myself to any 
software release cycle, nor, it seems, does the original poster.  I'm in awe 
of his patience, and clearly he is satisfied with the product if he remains 
on 4.11.

Thanks,

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


Re: X server remote login

2006-12-11 Thread Nathan Vidican

dick hoogendijk wrote:

On 09 Dec Tony Shadwick wrote:
  

On the xserver, if you want it to happen automatically, you would put
startx in your .login file.  So if you wanted that flag passed, you
would place startx -listen_tcp in your .login file.

On the client side, you're running an x-client, I presume that gets
started from /etc/rc.conf.  There's probably something like
xorg_enable=YES, and xorg_flags=blah, and you would put it in your
xorg_flags statement.



Xserver/Xclient side is still a bit confusing to me.
What happens is, when I logon to a solaris machine I get a login screen
on which I also can logon to remote machines graphicaly. I can even chose
from a list there, because these remote machines broadcast themselves?
All solaris machines are seen; my FreeBSD machines are not. The latter I
want changed, so I can chose to logon to a FreeBSD (remote) machine from
my solaris desktop machine. Hope this will clear things up a bit.

  
As another user pointed out; what you're looking for is xdm. xdm is 
xorg's remote login screen, for lack of a better description; it's what 
will allow you to directly login to X from other stations, rather than 
via shell/startx. You might want to take a look at alternatives too - I 
use kdm, which is KDE's implementation of xdm, allowing you a little 
easier and a little more control over the login screen/appearence via 
KDE''s graphical configuration setup, but functionally the same as xdm.



--
Nathan Vidican
[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: VPN Solution for my current Situation.

2006-12-11 Thread Nathan Vidican

perikillo wrote:

 Hi people.

 I want to know which is the best VPN solution i need to my current
situation:

2 Offices  1 Mexico-Tijuana 1 E.U.-Otay Mesa(both in the border).

In E.U. Offices with have:

DNS+Firewall+Proxy  Linux
Mail Server Linux
Samba Linux
PBX Altigen Win NT
ERP DBA Linux
Backup FreeBSD.

Mexico
PBX Same system
Samba
ERP DBA(This is the busies from both sites)
Backup FreeBSD

65 User 55 Mexico 10 E.U.
  40 user in Mexico have mail account  only 15 Internet access
  all the users in E.U have mail account  Internet access.

We share files, E.U. users access the ERP system in Mexico.

If the users in Mexico need Internet, they have to reach the proxy in 
E.U.


Both PBX systems have communication for company internal calls, external
calls.

All this communication of Voice and Data goes over one private link, but
next year our contract is going to finish, them we need to negotiate the
next contract.

Another thing, is that we are planning to start the VoIP solution and 
see is

we can remove our current PBX system with Asterisk.

My  questions es this: Supposed that we continue with the same Private 
Line,
and we add another public line to do some VPN between both facilities 
if one
link fail the other can continue(backup) or have both sharing the 
workload,

with this workload which VPN solution is the best for my situation:

IPsec, OpenVPN, etc?

Speaking of FreeBSD, because there is where i want to deploy the VPN
solution in Mexico, in E.U. we have there Linux, this can be problematic?

Hope you understand my layout  english, any advice is welcome, 
thanks all

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]




mpd for FreeBSD... it just works.


--
Nathan Vidican
[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: Example network protocol implementation

2006-12-11 Thread Robert Watson

On Sat, 9 Dec 2006, Vishal Patil wrote:

Could someone point me to an example that shows a SIMPLE network protocol 
implemented over TCP/IP inside the FreeBSD kernel. I think I could look at 
the NFS client driver but is there an example simpler than that. Also is 
there a guide explaining how to go about developing TCP/IP based network 
protocols for FreeBSD. Thanks


Here are some consumers of sockets in the kernel:

- NFS client, which creates and connects both UDP and TCP sockets, uses them
  for I/O, etc.

- NFS server, which uses UDP and TCP sockets for I/O.  Unlike the NFS client,
  it doesn't open the sockets in kernel, rather, it relies on a user process
  (nfsd) passing validated sockets into the kernel.

- System V streams (dev/streams), which uses socket pairs to implement
  streams.  Does creation and I/O.

- fifofs, which implements POSIX fifos using a pair of UNIX domain sockets.
  Again, does creation and I/O.

- portalfs, which implements the portal file system using sockets.

- ng_ksocket, which provides a netgraph interface to sockets in the kernel.

- netncp, which provides an NCP RPC interface over SPX/IPX for nwfs.

- netsmb, which provides an SMB RPC interface over TCP/IP for smbfs.

- rpclnt, which is used by the nfs4client, and is functionally similar to the
  NFS client RPC code for NFS2/NFS3 in nfsclient.

- bootp_subr.c and krpc_subr.c, which are used by the NFS root code to set up
  NFS access during a diskless boot: they perform the bootp exchange to
  retrieve an IP address, and then the necessary RPC mount protocol to query a
  root file handle to set up the NFS client for the file system root.

All of these examples have upsides and downsides, and vary in maturity.  I'd 
probably start by looking at the NFS client and fifofs.  One of the biggest 
questions you'll need to answer is what your event model is and how it will 
relate to any worker threads you may have.  Many of the in-kernel socket 
consumers use socket upcalls to get direct notifications of socket events from 
within the network stack, allowing for fast socket draining and TCP acking. 
On the other hand, in the netisr/ithread context, you can't perform blocking 
memory allocation and disk I/O, so if that will be involved, you'll need 
worker threads in the style of the NFS server.


Robert N M Watson
Computer Laboratory
University of Cambridge
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


trying to install jre

2006-12-11 Thread Karl Sinn
Hi,

I try to install jre.

pkg_add -r jre

does not find the file

/usr/port/java/jre/make

gives an error message like:
shared library c.3 not found
compat3x-i386-5... is forbidden


What can I do?

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


Re: trying to install jre

2006-12-11 Thread Andrew Pantyukhin

On 12/11/06, Karl Sinn [EMAIL PROTECTED] wrote:

Hi,

I try to install jre.

pkg_add -r jre

does not find the file

/usr/port/java/jre/make

gives an error message like:
shared library c.3 not found
compat3x-i386-5... is forbidden


What can I do?


Try this one:
/usr/ports/java/diablo-jre15
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trying to install jre

2006-12-11 Thread Gerard Seibert
On Monday December 11, 2006 at 09:32:36 (AM) Karl Sinn wrote:

 I try to install jre.
 
 pkg_add -r jre
 
 does not find the file
 
 /usr/port/java/jre/make
 
 gives an error message like:
 shared library c.3 not found
 compat3x-i386-5... is forbidden

I am assuming the the path:  /usr/port/java/jre/make is a typo.

It appears that you are attempting to install from a package. Have you
tried installing it via the ports?

You also might want to try creating a more complete log file. Something
along these lines might do.

script -ak ~/jre.log pkg_add -rv jre


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


Re: Setting up RAID-1 on 2 unequal disks

2006-12-11 Thread Tony Shadwick
I'd say use gvinum.  It's a bit trickyactually, it's VERY tricky. 
You have to get the geometry of the shared volume precisely right on the 
120GB drive to match the 80GB drive, then you can allocate the rest of 
the free space.


Honestly, you *could* cheat here. :)  I think

Set up your 80GB drive.  We'll call it /dev/ad0.

Plug in your 120GB drive but don't do anything to it.  We'll call it 
/dev/ad1.


dd if=/dev/ad0 of=/dev/ad1

Now, set up gvinum as though they were of the exact same geometry, and 
get your mirror going.  Then, go back and modify the drive label of ad1, 
and allocate the rest of the space on that disk.  You'll want to have 
gotten the REAL drive geometry of /dev/ad1 ahead of time, because (if I 
recall...) you're going to have to change c: to the correct geometry, 
then add partitions using space above and beyond what you have on ad0.


Does that make sense at all?   Perhaps you should work through setting 
up a normal gvinum mirror before going this route...


Foo JH wrote:

Hi all,

I unfortunately have 2 uneuqally sized SATA disks to set up a mirrored 
shared folder: 80GB and 120GB. On the 120GB I plan to set up this way:


/temp2GB (double the system memory)
/shared80GB
/   38GB

I plan to mirror /shared onto the 80GB. It won't be bootable, but I can 
always mount it onto another FreeBSD machine.


I've read some articles on mirroring on non-equal disks, notably:
http://people.freebsd.org/~rse/mirror/

My question is: is there an easier way to do this? The example looks 
quiet daunting for a noobie FreeBSD admin like me.


Appreciate any feedback on this. 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: VPN Solution for my current Situation.

2006-12-11 Thread stom
Hi

Selon Nathan Vidican [EMAIL PROTECTED]:

 perikillo wrote:
   Hi people.
 
   I want to know which is the best VPN solution i need to my current
  situation:
 
  2 Offices  1 Mexico-Tijuana 1 E.U.-Otay Mesa(both in the border).
 
  In E.U. Offices with have:
 
  DNS+Firewall+Proxy  Linux
  Mail Server Linux
  Samba Linux
  PBX Altigen Win NT
  ERP DBA Linux
  Backup FreeBSD.
 
  Mexico
  PBX Same system
  Samba
  ERP DBA(This is the busies from both sites)
  Backup FreeBSD
 
  65 User 55 Mexico 10 E.U.
40 user in Mexico have mail account  only 15 Internet access
all the users in E.U have mail account  Internet access.
 
  We share files, E.U. users access the ERP system in Mexico.
 
  If the users in Mexico need Internet, they have to reach the proxy in
  E.U.
 
  Both PBX systems have communication for company internal calls, external
  calls.
 
  All this communication of Voice and Data goes over one private link, but
  next year our contract is going to finish, them we need to negotiate the
  next contract.
 
  Another thing, is that we are planning to start the VoIP solution and
  see is
  we can remove our current PBX system with Asterisk.
 
  My  questions es this: Supposed that we continue with the same Private
  Line,
  and we add another public line to do some VPN between both facilities
  if one
  link fail the other can continue(backup) or have both sharing the
  workload,
  with this workload which VPN solution is the best for my situation:
 
  IPsec, OpenVPN, etc?
 
  Speaking of FreeBSD, because there is where i want to deploy the VPN
  solution in Mexico, in E.U. we have there Linux, this can be problematic?
 
  Hope you understand my layout  english, any advice is welcome,
  thanks all
  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]
 
 
 mpd for FreeBSD... it just works.

The choice is up to you - We also use OpenVPN for site-to-site VPN SSL tunnels
and it is also a good and easy solution. Authentication is based on X509
certificates for cross-authentication - With OpenVPN's multiple and
fine-grained options.

We have good performance with strong encryption options.

The protocol (UDP) encapsulation is also a nice feature.

The Linux-FreeBSD is not a problem at all.



 --
 Nathan Vidican
 [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 Laquet.

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


Re: Major Version Upgrade 4.11 to 5.x

2006-12-11 Thread listvj

Lane wrote:

On Monday 11 December 2006 01:18, Matthew Seaman wrote:
  

listvj wrote:


I'm interested in upgrading from 4.11 to 5.x.  I currently track 4.x
stable using cvsup, but I've never done a major version upgrade.

First, should I bother?  My hardware has dual pentium 1.13 processors
with 1G ram (I'm considering maxing it out at 4).  I host email and web
sites for a few domains on this machine and I have four jails configured
on it which will have to be upgraded too.  I have users counting
particularly on mail service not being down for too long.

Other than the obvious advice to start with a good backup, can anyone
tell me:

1)  Will I gain a major benefit from upgrading
2)  Where should I look for instructions / advice on upgrading
3)  Also any general advice from personal experience.
4)  Just how risky is this?
  

Uh -- why upgrade to a branch (5.x) that has already had it's last
release and is worse performing than both 4.x and 6.x?  You should
really be looking at upgrading to 6.2-RELEASE just as soon as it
comes out (Real Soon Now).

As for risk -- for various reasons you will be better off doing a
clean install of 6.x and rebuilding your server from the ground up.
It's no more risky than installing any other server -- unless you
have some legacy binary-only application that you absolutely have
to run, it is virtually certain to succeed.

You biggest problem would seem to be the downtime required to do
the update -- if you can manage it, probably the least consumer
impact method is building the upgraded system on fresh disks on a
scratch box, and then finishing the upgrade by a disk-swap.  Which
also has the added benefit that you have a ready-made back out
path.

Cheers,

Matthew


Matthew,

I agree with your advice to build the new server with a clean install, if only 
to prevent any sendmail issues.


But I'm not so sure I understand your assessment that 5.x is worse performing 
than both 4.x and 6.x.  While I agree that 6.x is a great improvement in 
functionality over 5.x, I was not aware of the poor performance record of 
5.x.  

Do you know of any links to benchmark tests, or other data, which would 
provide some more background on this?


That kind of data would greatly influence my opinion in this discussion.  
Without it I'd be pleased to recommend 5.X, regardless of it's pending drop 
dead date, wrt support.  I certainly see no need to chain myself to any 
software release cycle, nor, it seems, does the original poster.  I'm in awe 
of his patience, and clearly he is satisfied with the product if he remains 
on 4.11.


Thanks,

lane
~Still running 5.x
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
I'm on 4.11 because I'm lazy and chicken.  The server is co-located so 
it isn't real convenient to do major upgrades.  It might actually be 
easier and more cost effective (in terms of my time) to get a 
replacement box, set up 6.0 on it, and migrate.


Btw, I'm sorry for posting this question twice.  I posted the first one 
with the wrong email address.  I was surprised (and disappointed) to see 
that the list accepted it as I did not subscribe to the list with that 
address. :(



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


Is it safe to `make buildworld' while using ccache?

2006-12-11 Thread Zhongtao Zhu
Dear list,

I just got the 6.1-release stable src-tree merrily cvsup-ed, but it's
weird the job of `make buildworld' stopped with some missing error
related to the 'kvm'. (Forgive me, I can only offer this brief right
now.)

I've settled this problem with disabling the 'ccache' by purging its
configuration lines from '/etc/make.conf' and afterwards everything is
fixed. I wonder if somebody else also encountered with this frustrated
combination.

Regards,
-- 
Zhongtao ZhuTel: 86 10 62796829
Department of Computer Science, Tsinghua University, Beijing, China
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it safe to `make buildworld' while using ccache?

2006-12-11 Thread Eric

Zhongtao Zhu wrote:

Dear list,

I just got the 6.1-release stable src-tree merrily cvsup-ed, but it's
weird the job of `make buildworld' stopped with some missing error
related to the 'kvm'. (Forgive me, I can only offer this brief right
now.)

I've settled this problem with disabling the 'ccache' by purging its
configuration lines from '/etc/make.conf' and afterwards everything is
fixed. I wonder if somebody else also encountered with this frustrated
combination.

Regards,
  
ccache has worked for me wonderfully on 3+ machines doing everything: 
ports, buildworld, kernels, etc. No issues at all


does the ccache stuff show up first in your path statement?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X server remote login

2006-12-11 Thread Antonio Arredondo
 dick hoogendijk wrote:
 On 09 Dec Tony Shadwick wrote:

 On the xserver, if you want it to happen automatically, you would put
 startx in your .login file.  So if you wanted that flag passed, you
 would place startx -listen_tcp in your .login file.

 On the client side, you're running an x-client, I presume that gets
 started from /etc/rc.conf.  There's probably something like
 xorg_enable=YES, and xorg_flags=blah, and you would put it in your
 xorg_flags statement.


 Xserver/Xclient side is still a bit confusing to me.
 What happens is, when I logon to a solaris machine I get a login screen
 on which I also can logon to remote machines graphicaly. I can even
 chose
 from a list there, because these remote machines broadcast themselves?
 All solaris machines are seen; my FreeBSD machines are not. The latter I
 want changed, so I can chose to logon to a FreeBSD (remote) machine from
 my solaris desktop machine. Hope this will clear things up a bit.


 As another user pointed out; what you're looking for is xdm. xdm is
 xorg's remote login screen, for lack of a better description; it's what
 will allow you to directly login to X from other stations, rather than
 via shell/startx. You might want to take a look at alternatives too - I
 use kdm, which is KDE's implementation of xdm, allowing you a little
 easier and a little more control over the login screen/appearence via
 KDE''s graphical configuration setup, but functionally the same as xdm.


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


Not sure if this issue has been resolved, but I found that the 'Xstartup'
file is missing from the xorg install of xdm ( /usr/X11R6/lib/X11/xdm ). I
found I needed this file to get xdm to properly login. If not, xdm will
not allow remote connection to connect.


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


Re: Is it safe to `make buildworld' while using ccache?

2006-12-11 Thread Zhongtao Zhu
On Mon 11 Dec 2006 23:46, Eric [EMAIL PROTECTED] writes:

 Zhongtao Zhu wrote:
 Dear list,

 I just got the 6.1-release stable src-tree merrily cvsup-ed, but it's
 weird the job of `make buildworld' stopped with some missing error
 related to the 'kvm'. (Forgive me, I can only offer this brief right
 now.)

 I've settled this problem with disabling the 'ccache' by purging its
 configuration lines from '/etc/make.conf' and afterwards everything is
 fixed. I wonder if somebody else also encountered with this frustrated
 combination.

 ccache has worked for me wonderfully on 3+ machines doing everything:
 ports, buildworld, kernels, etc. No issues at all

 does the ccache stuff show up first in your path statement?

Nope! By wild guess did I point to 'ccache' and anyway the problem was
solved, though. I also use the phenomenal 'ccache' all the time except
this one. It's probably the 'ccache' isn't the scapegoat, maybe
there's some other unsuitable setup in my system. I don't know whether
or not I'm able to get it located.

Thank you, Eric.

Regards,
-- 
Zhongtao ZhuTel: 86 10 62796829
Department of Computer Science, Tsinghua University, Beijing, China
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it safe to `make buildworld' while using ccache?

2006-12-11 Thread Eric

Zhongtao Zhu wrote:

On Mon 11 Dec 2006 23:46, Eric [EMAIL PROTECTED] writes:
  


ccache has worked for me wonderfully on 3+ machines doing everything:
ports, buildworld, kernels, etc. No issues at all

does the ccache stuff show up first in your path statement?



Nope! By wild guess did I point to 'ccache' and anyway the problem was
solved, though. I also use the phenomenal 'ccache' all the time except
this one. It's probably the 'ccache' isn't the scapegoat, maybe
there's some other unsuitable setup in my system. I don't know whether
or not I'm able to get it located.

Thank you, Eric.

Regards,
  
check out the post install instructions for ccache and verify on your 
system. once you do that, it should work without issue. the ccache stuff 
has to be listed first in your path for it to work properly as far as i 
know.


Good luck!

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


Re: trying to install jre

2006-12-11 Thread Karl Sinn
Hi,

Am Montag, 11. Dezember 2006 16:16 schrieb Andrew Pantyukhin:
 Try this one:
 /usr/ports/java/diablo-jre15

In the ports collection is only diablo-jre13 which does not install.

Error message like:
diablo-jre-1.3.1.0_2 is forbidden. Vulnerabilities in the browser plugin

What now?

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


Re: MAC OS X connection to FreeBSD?

2006-12-11 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

lveax wrote:
 On 11/6/06, David Kelly [EMAIL PROTECTED] wrote:
 On Mon, Nov 06, 2006 at 06:48:28AM -0500, Lonnie Cumberland wrote:
  Thanks everyone for the replay to my post as it did finally occur to
  me that perhaps this question had been asked on the mailing list, but
  unfortunately it occurred to me after I sent it.
 
  So, basically the Apple team took FreeBSD and the CM micro-kernel,
  combined them, made some improvements and added some additional code
  and then used it all as the MAC OS X core (without the GUI of course)?

 Yes, basically. FreeBSD is free for the taking, so Apple took. Steve
 Jobs' NeXT team had a lot of familiarity with Mach, so they took from
 there also too. A good number of well known FreeBSD people now work for
 Apple, there are a number of FreeBSD device drivers shipping with MacOS
 X. On a lark I put an Intel Etherexpress Pro 10/100B in my G4 Mac and
 everything simply magically worked. No driver install, nothing.

 
 
 who are the people that works in apple and also a freebsd developer now?

There are quite a few, actually, that work for Apple and work on the
FreeBSD project, and vice versa. The other day I was doing some random
websurfing and came across an individual who did a significant amount of
work porting over applications to Darwin for the Apple folks. This is
just one of many devs who works for apple now and contributes back to
the open-source community (note his accomplishments):
http://www.advogato.org/person/wsanchez/
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFfZb66CkrZkzMC68RAjAFAJ0ZByg0YvSjL/COBGJ4CZu5h0x+9ACbBoUu
XZfVwy2BY7LcT4+5S+Qc6cY=
=96BD
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trying to install jre

2006-12-11 Thread Karl Sinn
Hi,

Am Montag, 11. Dezember 2006 16:20 schrieb Gerard Seibert:
 I am assuming the the path:  /usr/port/java/jre/make is a typo.

:-) This was maybenot clear.

Of course I was in the path /usr/port/java/jre/ trying to execute make..

 It appears that you are attempting to install from a package. Have you
 tried installing it via the ports?

Both does not work.

 You also might want to try creating a more complete log file. Something
 along these lines might do.

   script -ak ~/jre.log pkg_add -rv jre

I would like to but it's on another computer, and I don't want to copy the 
whole message.

Is there any special part of the error message that you need?

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


Re: trying to install jre

2006-12-11 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karl Sinn wrote:
 Hi,
 
 Am Montag, 11. Dezember 2006 16:16 schrieb Andrew Pantyukhin:
 Try this one:
 /usr/ports/java/diablo-jre15
 
 In the ports collection is only diablo-jre13 which does not install.
 
 Error message like:
 diablo-jre-1.3.1.0_2 is forbidden. Vulnerabilities in the browser plugin
 
 What now?
 
 Karl

Why are you trying to install a Java 1.3.x package? Those are so
horribly out of date (6-7 years old) that it's no wonder why it's been
marked forbidden due to security issues.
Try installing a 1.5 jre and a 1.4 jdk.
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFfZep6CkrZkzMC68RAkh1AJ9mGNNlCw7IHJLtzar2Ti0iHXLwhwCfaCSl
DtjE7Bce7NKXMFUkptQQyvM=
=2z/K
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN Solution for my current Situation.

2006-12-11 Thread perikillo

On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Hi

Selon Nathan Vidican [EMAIL PROTECTED]:

 perikillo wrote:
   Hi people.
 
   I want to know which is the best VPN solution i need to my current
  situation:
 
  2 Offices  1 Mexico-Tijuana 1 E.U.-Otay Mesa(both in the border).
 
  In E.U. Offices with have:
 
  DNS+Firewall+Proxy  Linux
  Mail Server Linux
  Samba Linux
  PBX Altigen Win NT
  ERP DBA Linux
  Backup FreeBSD.
 
  Mexico
  PBX Same system
  Samba
  ERP DBA(This is the busies from both sites)
  Backup FreeBSD
 
  65 User 55 Mexico 10 E.U.
40 user in Mexico have mail account  only 15 Internet access
all the users in E.U have mail account  Internet access.
 
  We share files, E.U. users access the ERP system in Mexico.
 
  If the users in Mexico need Internet, they have to reach the proxy in
  E.U.
 
  Both PBX systems have communication for company internal calls,
external
  calls.
 
  All this communication of Voice and Data goes over one private link,
but
  next year our contract is going to finish, them we need to negotiate
the
  next contract.
 
  Another thing, is that we are planning to start the VoIP solution and
  see is
  we can remove our current PBX system with Asterisk.
 
  My  questions es this: Supposed that we continue with the same Private
  Line,
  and we add another public line to do some VPN between both facilities
  if one
  link fail the other can continue(backup) or have both sharing the
  workload,
  with this workload which VPN solution is the best for my situation:
 
  IPsec, OpenVPN, etc?
 
  Speaking of FreeBSD, because there is where i want to deploy the VPN
  solution in Mexico, in E.U. we have there Linux, this can be
problematic?
 
  Hope you understand my layout  english, any advice is welcome,
  thanks all
  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]
 
 
 mpd for FreeBSD... it just works.

The choice is up to you - We also use OpenVPN for site-to-site VPN SSL
tunnels
and it is also a good and easy solution. Authentication is based on X509
certificates for cross-authentication - With OpenVPN's multiple and
fine-grained options.

We have good performance with strong encryption options.

The protocol (UDP) encapsulation is also a nice feature.

The Linux-FreeBSD is not a problem at all.



 --
 Nathan Vidican
 [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 Laquet.



  I see that OpenVPN is the first choice, i will try this port first 
latter continue with other ones.

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


Re: Major Version Upgrade 4.11 to 5.x

2006-12-11 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

listvj wrote:
 Lane wrote:

 I agree with your advice to build the new server with a clean install,
 if only to prevent any sendmail issues.

 But I'm not so sure I understand your assessment that 5.x is worse
 performing than both 4.x and 6.x.  While I agree that 6.x is a great
 improvement in functionality over 5.x, I was not aware of the poor
 performance record of 5.x. 
 Do you know of any links to benchmark tests, or other data, which
 would provide some more background on this?

 That kind of data would greatly influence my opinion in this
 discussion.  Without it I'd be pleased to recommend 5.X, regardless of
 it's pending drop dead date, wrt support.  I certainly see no need
 to chain myself to any software release cycle, nor, it seems, does the
 original poster.  I'm in awe of his patience, and clearly he is
 satisfied with the product if he remains on 4.11.

 Thanks,

 lane
 ~Still running 5.x

 I'm on 4.11 because I'm lazy and chicken.  The server is co-located so
 it isn't real convenient to do major upgrades.  It might actually be
 easier and more cost effective (in terms of my time) to get a
 replacement box, set up 6.0 on it, and migrate.
 
 Btw, I'm sorry for posting this question twice.  I posted the first one
 with the wrong email address.  I was surprised (and disappointed) to see
 that the list accepted it as I did not subscribe to the list with that
 address. :(

As I was told, the list was open so they don't restrict email
addresses. They just have a fabulous spam catching system which only
admits spam on rare occasions it seems {gotta get a hold of their
spamassassin file :D).
Unfortunately, this is where having an uninstall and install
script would be more than handy on FreeBSD.. if someone could conjure up
a script like that, that would be safe to use-even remotely-then maybe
this wouldn't be so much of an issue.
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFfZlL6CkrZkzMC68RAgtdAJ9ol57lanXU8LCnxb2JtWP2mYSVVQCfacfT
fd+0zG6C+dKy6Lf/bnxdivg=
=oQnx
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


help cvs server

2006-12-11 Thread abedini
hi all dear

I need some help to setup cvs server whit laste update 

file in my Lan and other PC in my network use this server

to update . which program can help my?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trying to install jre

2006-12-11 Thread Gerard Seibert
On Monday December 11, 2006 at 12:35:21 (PM) Karl Sinn wrote:


 Hi,
 
 Am Montag, 11. Dezember 2006 16:16 schrieb Andrew Pantyukhin:
  Try this one:
  /usr/ports/java/diablo-jre15
 
 In the ports collection is only diablo-jre13 which does not install.
 
 Error message like:
 diablo-jre-1.3.1.0_2 is forbidden. Vulnerabilities in the browser plugin
 
 What now?
 
 Karl

I have /usr/ports/java/diablo-jre15 in my ports collection. When was the
last time you updated the ports?

-- 
Gerard

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


Re: gmake upgrade

2006-12-11 Thread Chuck Swiger

On Dec 9, 2006, at 1:51 PM, Kris Kennaway wrote:
gmake does not require gmake to build.  If it did, how could you  
build it for the first time?


At one point, someone had to do something like:

for file in *.c
do cc -O -c $file
done
cc -o gmake *.o

What becomes more fun is trying to bootstrap something more  
fundamental to the compiler toolchain, such as the assembler...  :-)


--
-Chuck

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


Qemu Kqemu on FreeBSD 6.1

2006-12-11 Thread Frank Staals
Unfortunately I need some stupid windows programs so I decided to 
install win2k in qemu on my laptop. It works well but I have a small 
question: when running qemu it gives an message it couldn't load kqemu. 
Allthough I did load the kernel module:


[EMAIL PROTECTED] kldstat
Id Refs AddressSize Name
snip
251 0xc3d78000 7000 aio.ko
261 0xc3e75000 1b000kqemu.ko


[EMAIL PROTECTED] qemu -hda ~/qemu/win2k.qcom2 -localtime -net nic,vlan=0 -net 
user,vlan=0

Could not open '/dev/kqemu' - QEMU acceleration layer not activated

[EMAIL PROTECTED] ls /dev/ | grep kqemu
kqemu0

As shown in the output from the last command, I do have a /dev/kqemu0 
when starting qemu, when running it again I get a kqemu1 etc. But for 
some reason it seems the qemu expects a /dev/kqemu . What can I do about 
it ?


--
-Frank Staals


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


Question about gmirror?

2006-12-11 Thread perikillo

 Hi people.

 I have one system running FreeBSD 6.1-p11 i have there a Raid-1 setup with
gmirror, is working very good  stable, but i need to add another space not
for the raid, is for the applicaction im running there like a temporal
buffer, my doubt is:

Can i add another disk to the system apart from the Raid?

 Example:
Raid-1 -- ad0 + ad2 (/, /usr, /var, /tmp, /home, swap)
extra disk --ad3 (/buffer)

 I have this doubt only.

 Thanks all 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]


Cannot Load FreeBSD 6.2 64 bit and maybe other versions as well

2006-12-11 Thread Y Sidhu

I am a newbie and have gone though past posts and have been looking at the
last couple of weeks of posts go by. I have not seen anything similar to my
problem. I cannot load an OS except under ACPI-Disabled. I can boot into
safe mode, but cannot configure a working network interface. Therefore, I
cannot send in a dmesg output. Here is some data I have gathered:

Details
a.  SuperMicro X7DBR-8+ / X7DBR-I+
b.  Intel 3.2 GHz Xeon dual core dual cpu, K8 class cpu
c.  BIOS - Phoenix (just upgraded to 1.2A from 1.1C) The upgrade has had no
affect on this problem as far as I can tell.
d.  Dual Ethernet - Intel Pro/1000 Network Connection Version 6.2.9. em0 is
IRQ 5 at device 0.0 on pci4. em1 is IRQ 11 at device 0.1 on pci4. Also, when
I am booted in safe mode, in dmesg, there is an entry em IRQ 10 at device
2.0 on pci5.
e.  SCSI - Adaptec version 4.3. AIC 7902 Ultra 320, PCI-X   ID=7
f.  One 73 GB Seagate Cheetah 10K.7 SCSI hard drive, Model ST3207LC. I have
tested this and another drive out without any media errors. The Adaptec
adapter sees the drive and capacity fine.

g.  When I try to boot normally, the messages scroll by and the system
freezes at:  waiting 5 seconds for SCSI devices to settle

h.  When I disable ACPI either under the BIOS's settings or select Disable
ACPI when loading FreeBSD, the system loads but I cannot get the ethernet
interface to come up. ifconfig shows all the right values. I have also used
route delete default and route add default ip of gateway - to no avail.
There is a message which pops up saying em0: watchdog timeout - resetting
Looking into dmesg output, I see: em0 link state changed to UP and em0 link
state DOWN repeat over and over again.

i.  1 GB ram and have tested it with memtest 86 without any errors.

My Gut
a.  Something is causing a good old fashioned IRQ conflict. I have 1 drive
and 1 cdrom on this machine.
b.  The SCSI ACPI79xx driver is not there or not loading

Hoping
I am looking for a nudge in the right direction.

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


Re: Setting up RAID-1 on 2 unequal disks

2006-12-11 Thread John Nielsen
On Monday 11 December 2006 03:47, Foo JH wrote:
 Hi all,

 I unfortunately have 2 uneuqally sized SATA disks to set up a mirrored
 shared folder: 80GB and 120GB. On the 120GB I plan to set up this way:

 /temp2GB (double the system memory)
 /shared80GB
 /   38GB

 I plan to mirror /shared onto the 80GB. It won't be bootable, but I can
 always mount it onto another FreeBSD machine.

 I've read some articles on mirroring on non-equal disks, notably:
 http://people.freebsd.org/~rse/mirror/

 My question is: is there an easier way to do this? The example looks
 quiet daunting for a noobie FreeBSD admin like me.

I would use gmirror. The example page you cite is very thorough and covers 
multiple scenarios. I have found gmirror to be extremely easy to use and set 
up; much more so than gvinum or even ataraid.

Gmirrror allows you to use any geom provider as a member (consumer) of a 
mirrored set. That includes entire disks (e.g. ad4), slices (e.g. ad4s1), 
partitions (e.g. ad4s1a), or even other complex structures (such as a gstripe 
set).

The only hard part is going to be labeling the 120GB disk correctly. You will 
most likely want to do it manually using bsdlabel. One approach would be 
something like the following. Assume ad4 is the 120GB disk and ad6 is the 
80GB disk. Boot up using a FreeBSD install disk and go into Fixit mode.

# fdisk -BI /dev/ad6
(it's safe to ignore the warning here)

# bsdlabel -Bw /dev/ad6s1

# sysctl kern.module_path=/dist/boot/kernel

# gmirror load

# gmirror label -b load shared /dev/ad6s1a
(shared is the name of your volume.. you can use whatever you want)

# gmirror list
(will show you details about your new broken mirror. Make a note of 
the Mediasize number listed under the consumer.)

# fdisk -BI /dev/ad4
(it's safe to ignore the warning here)

# bsdlabel -Bw /dev/ad4s1

(these are only needed if you don't like/don't know how to use vi)
# EDITOR=ee
# export EDITOR

# bsdlabel -e /dev/ad4s1

Now comes the tricky part. The number shown on the c: line of the label is the 
number of 512-byte sectors on the disk. It's good practice to leave 16 
sectors unused at the beginning of the disk; you can see this in the default 
whole-disk a: line. Figure out how big you need to make the slice for the 
other side of the mirror by dividing the Mediasize number you noted 
previously by 512. Then figure out how big you want your swap (if any--you 
didn't mention any above) and /temp partitions by multiplying out to the 
number of bytes then dividing by 512. Add all of that up plus the 16-sector 
space at the beginning and subtract from the size (c: line) to determine how 
much is left for /. Calculate all the offsets and put in the fstype (either 
4.2BSD or swap), and put zeroes in the other columns.

As a reference, here is one of my disks:

# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  6291456  10485024.2BSD0 0 0 
  b:  1048486   16  swap
  c: 1563125130unused0 0 # raw part, don't 
edit
  d: 117266625 390458884.2BSD0 0 0 
  e: 31705930  73399584.2BSD0 0 0 

Save the label and exit the editor.

Now to finish up:

# gmirror insert shared /dev/ad4s1e
(be sure to use the actual partition device you set up above)

# newfs -U /dev/mirror/shared
( /shared )
# newfs -U /dev/ad4s1a
( / )
# newfs -U /dev/ad4s1d
( /temp )

Then exit fixit mode and do a Standard installation. Don't let sysinstall 
re-label or newfs anything, just specify the mount points for your / 
and /shared filesystems. You'll have to mount the mirror after you're done 
with setup (just put it in /etc/fstab manually).

Obviously, you should understand what all of the above does before you do any 
of it, and may need to make changes.

Good luck, and feel free to ask additional questions.

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


Re: Major Version Upgrade 4.11 to 5.x

2006-12-11 Thread Jerry McAllister
On Mon, Dec 11, 2006 at 03:26:02PM -0500, listvj wrote:

 Lane wrote:
 On Monday 11 December 2006 01:18, Matthew Seaman wrote:
   
 listvj wrote:
 
 I'm interested in upgrading from 4.11 to 5.x.  I currently track 4.x
 stable using cvsup, but I've never done a major version upgrade.
 
 First, should I bother?  My hardware has dual pentium 1.13 processors
 with 1G ram (I'm considering maxing it out at 4).  I host email and web
 sites for a few domains on this machine and I have four jails configured
 on it which will have to be upgraded too.  I have users counting
 particularly on mail service not being down for too long.
 
 Other than the obvious advice to start with a good backup, can anyone
 tell me:
 
 1)  Will I gain a major benefit from upgrading
 2)  Where should I look for instructions / advice on upgrading
 3)  Also any general advice from personal experience.
 4)  Just how risky is this?
 
 Matthew,
 
 I agree with your advice to build the new server with a clean install, if 
 only to prevent any sendmail issues.
 
 But I'm not so sure I understand your assessment that 5.x is worse 
 performing than both 4.x and 6.x.  While I agree that 6.x is a great 
 improvement in functionality over 5.x, I was not aware of the poor 
 performance record of 5.x.  
 
 Do you know of any links to benchmark tests, or other data, which would 
 provide some more background on this?
 
 That kind of data would greatly influence my opinion in this discussion.  
 Without it I'd be pleased to recommend 5.X, regardless of it's pending 
 drop dead date, wrt support.  I certainly see no need to chain myself to 
 any software release cycle, nor, it seems, does the original poster.  I'm 
 in awe of his patience, and clearly he is satisfied with the product if he 
 remains on 4.11.

I just remember seeing a number of posts about reduced performance
due to major changes and lots of debug stuff left in for the time
being.

 
 Thanks,
 
 lane
 ~Still running 5.x
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
   
 I'm on 4.11 because I'm lazy and chicken.  The server is co-located so 
 it isn't real convenient to do major upgrades.  It might actually be 
 easier and more cost effective (in terms of my time) to get a 
 replacement box, set up 6.0 on it, and migrate.

Well, if you can really do that, it is a nice way of going -- especially
jumping to 6.xx because you really want to do a clean install of 6.xx
because it has some file system improvements what you won't get by just
doing an upgrade without rebuilding the file systems (it would just keep
using the old file systems if you don't do a clean install - it is not
a devastating loss, but you might as well get the full treatment now).

So, install 6.2 on a new machine and then move over your working files.
I always recommend arranging file systems to make it easy to keep
your own stuff separate from system stuff and ports, but some things
don't seem to encourage that behavior, unfortunately.

Go all the way to 6.2 for the new system.   6.xx is good.  I haven't had
any trouble with it.   My only problem is that no-one has upgraded
an AFS client to run on it yet - not ARLA nor OpenAFS so I had to put
together a separate machine running 5.5 to have an AFS client.
The 6.2 RELEASE is supposed to be out any minute now.  The date has
been slipping.  I haven't tried to follow what is being waited on.

 
 Btw, I'm sorry for posting this question twice.  I posted the first one 
 with the wrong email address.  I was surprised (and disappointed) to see 
 that the list accepted it as I did not subscribe to the list with that 
 address. :(

Don't worry about it.
The FreeBSD questions allows all posts except it does have some spam
filtering on it.  The rationale is that the questions must get through
regardless of whether someone is subscribed; that the few spam misses
are less of a problem than potentially blocking legitimate questions.  

jerry

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


processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-12-11 Thread Dieter
 Did this problem start before you made port2file run with rtprio?

Yes.  I only added rtprio because it wasn't working.

 Can you please include a copy of your kernel configuration file and dmesg?

I think you asked that before: :-)

OK, that's correct.  Can you also provide details of your disk
hardware (e.g. dmesg) and kernel configuration?
   
   FreeBSD 6.0
   
   Kernel is stock except for addition of:
   
   deviceatapicam# needed to burn dvd
   
   /boot/loader.conf:
   
   console=comconsole
   hw.ata.wc=0
   hw.ata.atapi_dma=1
   kern.ipc.nmbclusters=256000
   
   Mainboard: Tyan Tomcat k8e 2865
   
   CPU: AMD64 3000+
   
   Chipset: Nvidia nforce4 ultra
   
   Memory: 2 GB DDR400 ECC
   
   Disks:  4x Seagate 7200 rpm SATA
   1x Seagate 7200 rpm PATA
   1x LG CD/DVD
   
   atapci0: nVidia nForce4 UDMA133 controller port 
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
   ata0: ATA channel 0 on atapci0
   ata1: ATA channel 1 on atapci0
   atapci1: nVidia nForce4 SATA150 controller port 
 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem 0xfebfb00
   0-0xfebfbfff irq 10 at device 7.0 on pci0
   ata2: ATA channel 0 on atapci1
   ata3: ATA channel 1 on atapci1
   atapci2: nVidia nForce4 SATA150 controller port 
 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem 0xfebfa00
   0-0xfebfafff irq 11 at device 8.0 on pci0
   ata4: ATA channel 0 on atapci2
   ata5: ATA channel 1 on atapci2
   acd0: DVDR HL-DT-ST DVDRAM GSA-4160B/A301 at ata0-master UDMA66
   ad2: 305245MB Seagate ST3320620A 3.AAC at ata1-master UDMA100
   ad4: 238475MB Seagate ST3250823AS 3.03 at ata2-master SATA150
   ad6: 238475MB Seagate ST3250823AS 3.03 at ata3-master SATA150
   ad8: 238475MB Seagate ST3250823AS 3.03 at ata4-master SATA150
   ad10: 305245MB Seagate ST3320620AS 3.AAC at ata5-master SATA150
   cd0 at ata0 bus 0 target 0 lun 0


Since then I added another Seagate 7200 rpm PATA, connected via a PATA-to-USB.
The idea being to get a different controller path to a disk.  Although I think
all I/O has to go through the nforce one way or another.

This USB disk writes at about 15 MB/s instead of the 6-7 MB/s, but otherwise 
they
interfere with each other same as two disks connected directly to the nforce.
Perhaps a clue in there somewhere?

umass0: Prolific Technology Inc. ATAPI-6 Bridge Controller, rev 2.00/0.01, addr 
2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: ST332062 0A 3.AA Fixed Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 305245MB (625142449 512 byte sectors: 255H 63S/T 38913C)

The Ethernet is on the mainboard:

pcib5: ACPI PCI-PCI bridge at device 13.0 on pci0
pci5: ACPI PCI bus on pcib5
bge0: Broadcom BCM5721 Gigabit Ethernet, ASIC rev. 0x4101 mem 
0xfe4f-0xfe4f irq 11 at device 0.0 on pci5
miibus1: MII bus on bge0
brgphy0: BCM5750 10/100/1000baseTX PHY on miibus1
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto

The only stuff that says Giant or GIANT-LOCKED is

atkbd0  only used with firmware
usb the new disk, otherwise not used
nve not in use
fwe not in use

Is Giant the only mutex/lock that could be a bottleneck across disks?
I can't figure out anything else that would create a common bottleneck
across drives.

The nforce can read from all four SATA drives at once as fast as the
disks can go, 65-70 MB/s per drive at the fast end of the platter.  I
assume that the nforce doesn't care about read vs write, and is not
the bottleneck.

The filesystem has to allocate blocks and such, but that shouldn't be
common across drives.

It does this without the CPU being maxed out, assuming you believe
the numbers from systat -vmstat or top.

Memory buffer cache?  However they do that these days...

I was thinking maybe part of port2file's circular buffer was getting paged
out, so I added mlock(2) of the buffer.  Still fails.  :-(

Writing to disk doesn't seem to hurt the Ethernet.  If I direct the
output of port2file to /dev/null it works fine.

I don't suppose you happen to know how to enable SATA's NCQ queuing?

I did some experiments with rtprio and dd.  rtprio reduces
the effect of other disk activity somewhat, but not enough.
I noticed that the transfer rates as reported by systat -vmstat varied
more than I would expect.  First one disk would be faster for a few seconds,
then the other.  Sometimes they would be about equal.  The sum of the
two drives looked to be approx constant.  The sum was only slightly higher
than a single drive by itself.

It certainly smells like there is *some* single resource for writing
that all the disks have to share.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dowload FreeBSD 6.1 via bittorrent

2006-12-11 Thread [EMAIL PROTECTED]
Hi Koro,

don't be insulted but your answer was not very satisfactory for me.

I will try to contact the webmaster directly.

With regards

-Original Message-
Date: Mon, 11 Dec 2006 05:22:54 +0100
Subject: Re: Dowload FreeBSD 6.1 via bittorrent
From: Abdullah Koro [EMAIL PROTECTED]
To: Stevan Tiefert [EMAIL PROTECTED]

Hi Stevan

Why don't you download via official freebsd ftp server.
you can also download the ISO file right?

regards,
koro

On Sun, 10 Dec 2006, Stevan Tiefert wrote:

 Hello,

 does somebody knows why the torrents for FreeBSD 6.1 is not working?
Will it ever works in the future?

 With regards


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


What is microsoft-ds port 445?

2006-12-11 Thread a
What is microsoft-ds port #445?

Elisej Babenko
___
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 gmirror?

2006-12-11 Thread Jeff Mohler

Sure..just mount it as /newdisk or something.

On 12/11/06, perikillo [EMAIL PROTECTED] wrote:

  Hi people.

  I have one system running FreeBSD 6.1-p11 i have there a Raid-1 setup with
gmirror, is working very good  stable, but i need to add another space not
for the raid, is for the applicaction im running there like a temporal
buffer, my doubt is:

Can i add another disk to the system apart from the Raid?

  Example:
Raid-1 -- ad0 + ad2 (/, /usr, /var, /tmp, /home, swap)
extra disk --ad3 (/buffer)

  I have this doubt only.

  Thanks all 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]


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


Re: trying to install jre

2006-12-11 Thread David Stanford

What now?



Looks like you forgot to update your ports collection. Easiest way to update
them:

# portsnap fetch extract

Or you can use cvsup following the handbook (portsnap is also documented
there):

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

Also, you may have to first download the Java binaries and place them in
/usr/ports/distfiles (though I am not sure if this a requirement still,
since Java is now open sourced). Update your ports using portsnap and then
attempt to install /usr/ports/java/diablo-jre15; the Java binary downloads
can be found here:

http://www.freebsdfoundation.org/downloads/java.shtml

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


Questions re: disklabel for external USB drives

2006-12-11 Thread up

I just got an external USB drive that I want to use for disk-based
backups.  It is important that this drive be useable on different FreeBSD
servers that we have.

I got it working on a test server ok, but I noticed that the sysinstall
utility labeled the device as:

/dev/da0s1d

Since the test server only has an IDE drive, that's fine, but this
external USB drive needs to be able to work on productions servers that
already have SCSI and SAS devices, one of which already uses that label
for its active /usr partition.

Is there an easy way to force the device to work as something like:

/dev/da1s1d

on all of the servers, including ones that do not already have a SCSI disk
subsystem and existing /dev/da0 devices?

TIA,

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=

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


Re: What is microsoft-ds port 445?

2006-12-11 Thread Chuck Swiger

On Dec 11, 2006, at 10:43 AM, [EMAIL PROTECTED] wrote:

What is microsoft-ds port #445?


Mildly off-topic for this list, but it's used by directory-services,  
aka Active Directory


--
-Chuck

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


Re: MAC OS X connection to FreeBSD?

2006-12-11 Thread Chuck Swiger

On Dec 11, 2006, at 2:27 AM, lveax wrote:
who are the people that works in apple and also a freebsd developer  
now?


Jordan Hubbard and Wilfredo Sanchez come to mind, and maybe Garance  
Drosihn would also qualify, as I think he was part of Apple's darwin- 
developers, IIRC.  There are others.  :-)


--
-Chuck

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


Re: Freebsd dbus / hal

2006-12-11 Thread José G . Juanino
El lunes 11 de diciembre a las 00:37:58 CET, felix.schalck escribió:
 José G. Juanino wrote:
 El domingo 10 de diciembre a las 14:13:22 CET, José G. Juanino escribió:
   
 El domingo 10 de diciembre a las 13:57:06 CET, felix.schalck escribió:
 
 Hi,
 
 Does someone know a good how-to to set up dbus and hal under freebsd ?
 Im trying to run gnome 2.16 , and it always claims not finding the 
 dbus-socket to connect to...
   
 Add the following in the .xinitrc file:
 
 eval `dbus-launch`
 export DBUS_SESSION_BUS_ADDRESS DBUS_SESSION_BUS_PID
 
 
 I forget that is also necessary start dbus-daemon. The best way is in
 rc.conf:
 
 dbus_enable=YES
   
 Thank you for your help, but it's still not working: got the same error. 
 Is there any way to get it verbose ? Perhaps I'm missing some 
 package/config.

You need devel/dbus port.

Try to execute in a shell:

$ dbus-launch

after /usr/local/etc/rc.d/dbus forcestart

The response must be something like:
DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-HQmF4igtIW,guid=e0379946424efaa98000457dac03
DBUS_SESSION_BUS_PID=1919

This variables need to be known by the applications which are using
dbus.

Regards


pgpwaXs229PiA.pgp
Description: PGP signature


dd mini-iso image to USB pendrive?

2006-12-11 Thread Bill-Schoolcraft
Hello Family,

I'm trying to get my server to boot off my Sandisk Cruzer 1-gig pen
drive with an ISO image dd'd to the pendrive.

It fails and the same ISO image will boot off the USB CDROM with no
issues.

Is there any specific howto on doing this?

TIA

-- 
  Bill Schoolcraft * http://wiliweld.com

Health nuts are going to feel stupid someday,
lying in hospitals dying of nothing.
-- Redd Foxx

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


Re: Questions re: disklabel for external USB drives

2006-12-11 Thread Jerry McAllister
On Mon, Dec 11, 2006 at 02:05:27PM -0500, [EMAIL PROTECTED] wrote:

 
 I just got an external USB drive that I want to use for disk-based
 backups.  It is important that this drive be useable on different FreeBSD
 servers that we have.
 
 I got it working on a test server ok, but I noticed that the sysinstall
 utility labeled the device as:
 
 /dev/da0s1d
 
 Since the test server only has an IDE drive, that's fine, but this
 external USB drive needs to be able to work on productions servers that
 already have SCSI and SAS devices, one of which already uses that label
 for its active /usr partition.
 
 Is there an easy way to force the device to work as something like:
 
 /dev/da1s1d
 
 on all of the servers, including ones that do not already have a SCSI disk
 subsystem and existing /dev/da0 devices?

You don't have to do that unless you are worried about getting confused.
If you put the drive on a machine that already has da0 used up, it will
magically become da1.   The label doesn't have anything to do with
whether it is da0 or da1.   That is determined by its position on the
controller.

I think, in FreeBSD SCSI device stuff, you can force it to be
something, but I have never done it and don't know how - and since
it doesn't matter, don't see the reason to try.

jerry

 
 TIA,
 
 James Smallacombe   PlantageNet, Inc. CEO and Janitor
 [EMAIL PROTECTED] 
 http://3.am
 =
 
 ___
 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: Qemu Kqemu on FreeBSD 6.1

2006-12-11 Thread Svein Halvor Halvorsen
Frank Staals wrote:
 Unfortunately I need some stupid windows programs so I decided to 
 install win2k in qemu on my laptop. It works well but I have a small 
 question: when running qemu it gives an message it couldn't load kqemu. 
 Allthough I did load the kernel module:

See this thread for some info:

http://lists.freebsd.org/pipermail/freebsd-emulation/2006-April/001973.html

Someone claims that is does work, despite some devfs weirdness.


Svein Halvor



signature.asc
Description: OpenPGP digital signature


Re: OOPS www proxy

2006-12-11 Thread Ivan Voras
Wojciech Puchar wrote:
 is anybody using it with success.
 
 for me it works. and works really fast, much faster than squid but after
 maybe 8-12 hours it crashes.
 
 is it buggy or i'm doing something wrong?

I used it for several years and am still using it, but not on high
loads. It works without crashing on the default install (ports) settings.




signature.asc
Description: OpenPGP digital signature


Re: Questions re: disklabel for external USB drives

2006-12-11 Thread Jerry McAllister
On Mon, Dec 11, 2006 at 02:26:42PM -0500, [EMAIL PROTECTED] wrote:

 On Mon, 11 Dec 2006, Jerry McAllister wrote:
 
  On Mon, Dec 11, 2006 at 02:05:27PM -0500, [EMAIL PROTECTED] wrote:
 
  
   I just got an external USB drive that I want to use for disk-based
   backups.  It is important that this drive be useable on different FreeBSD
   servers that we have.
  
   I got it working on a test server ok, but I noticed that the sysinstall
   utility labeled the device as:
  
   /dev/da0s1d
  
   Since the test server only has an IDE drive, that's fine, but this
   external USB drive needs to be able to work on productions servers that
   already have SCSI and SAS devices, one of which already uses that label
   for its active /usr partition.
  
   Is there an easy way to force the device to work as something like:
  
   /dev/da1s1d
  
   on all of the servers, including ones that do not already have a SCSI disk
   subsystem and existing /dev/da0 devices?
 
  You don't have to do that unless you are worried about getting confused.
  If you put the drive on a machine that already has da0 used up, it will
  magically become da1.   The label doesn't have anything to do with
  whether it is da0 or da1.   That is determined by its position on the
  controller.
 
  I think, in FreeBSD SCSI device stuff, you can force it to be
  something, but I have never done it and don't know how - and since
  it doesn't matter, don't see the reason to try.
 
  jerry
 
 Cool!  Thanks!

Of course, you have to keep track of the different device labels
when you mount the file systems and/or put them in /etc/fstab on
whichever machine so they mount the right device for that machine.

jerry

 
 James Smallacombe   PlantageNet, Inc. CEO and Janitor
 [EMAIL PROTECTED] 
 http://3.am
 =
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


easy question

2006-12-11 Thread Steve Franks

I hope.  Looks like xorg remaps the arrow keys for it's own uses - how do I
get command history in an xterm instead of ctrl-key like gibberish.  I'd
like to edit, like you do in a vtty with the up-arrow, not just !!enter.
I'm sure the answer exists, I just can't format a seach to find it on my
own...;)

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


Re: X server remote login

2006-12-11 Thread Steve Franks

I'm a noob myself, but I just did this, so:

1) edit etc/ttys, so the 8th one has xdm and change the no to yes in the
second to last field (test by rebooting, should go to an x login, after a
slight pasue) ctrl-alt-fn will still get you back to the text terminals.

2) edit the .Xaccess file in the location specified for xdm in the handbook,
add a LISTEN * line.

3) edit the xdm-config file, and uncomment that last line that says xdm
shouldn't look outside.

4) We use Xming and OpenSSH to connect from windows - configure Xming for
the ssh login method, and tell it to run a program, namely gnome-seesion,
xfce4-session, or xterm depending on how much X you want.  I'll send you
my Xming launcher file if you like.

Thoughts - make sure you can run startx normally on the machine, and logon
once with raw ssh so it can do the key thing and store it - doesn't seem to
work from Xming that first time.  I'm aauming you are connecting from
windows.  On another freebsd box, one would assume it's easier
thanconfiguring xming.

best,
Steve

On 12/9/06, dick hoogendijk [EMAIL PROTECTED] wrote:


I run solaris and FreeBSD. In solaris I can login on a remote machine
with an X session. I can't see my freebsd machine though. I have no idea
where the config to make this possible resides on FreeBSD. I guess X
runs without broadcasting itself on fbsd. How can I change this?

--
http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ Solaris 10 6/06 ++

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





--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help cvs server

2006-12-11 Thread Steve Franks

I think you're missing a reply due to a lack of info from your end.  I run
cvsnt.  It's current, stable, and cross-platform without apparent quirks.
It can be found under packages/devel or ports/devel in freebsd, and
cvsnt.org has windows versions.  I think most native english speakers find
it polite to sign your message with your name as well, unless you are
restricted from doing so by your political or employment situation.

Steve

On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


hi all dear

I need some help to setup cvs server whit laste update

file in my Lan and other PC in my network use this server

to update . which program can help my?
___
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: Questions re: disklabel for external USB drives

2006-12-11 Thread Joerg Pernfuss
On Mon, 11 Dec 2006 14:17:29 -0500
Jerry McAllister [EMAIL PROTECTED] wrote:

  Is there an easy way to force the device to work as something like:
  
  /dev/da1s1d
  
  on all of the servers, including ones that do not already have a
  SCSI disk subsystem and existing /dev/da0 devices?
 
 I think, in FreeBSD SCSI device stuff, you can force it to be
 something, but I have never done it and don't know how - and since
 it doesn't matter, don't see the reason to try.

A imho better solution is to load the geom_label class.
Then either give the device itself a label:
da3s1d - label/usbstick42s1d
or set the UFS Label field of the filesystems via 'tunefs -L',
this will give you for example
da5s1a - ufs/ustick5data
da5s1d - ufs/ustick5keys

or whatever you set the label to, obviously. If geom_label is loaded,
you have unique device names on all servers (if you don't mix things
up when you label them).

Regards,
Joerg

-- 
| /\   ASCII ribbon   |  GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
|  XHTML in email  |.the next sentence is true.   |
| / \ and news | .the previous sentence was a lie.|


signature.asc
Description: PGP signature


Re: help cvs server

2006-12-11 Thread Giorgos Keramidas
On 2006-12-11 21:24, [EMAIL PROTECTED] wrote:
 hi all dear

 I need some help to setup cvs server whit laste update

 file in my Lan and other PC in my network use this server

 to update . which program can help my?

There are dozens of online guides which can help you set up and
configure a CVS server.  A quick search in Google, and a careful
read of the Info documentation of CVS will help you a lot.

Some useful online links are:

http://durak.org/cvswebsites/howto-cvs/node37.html
http://www.pointless.nl/~peter/stuff/cvs-server.html
http://www.uta.edu/oit/how-to/docs/cvs.php
http://forge.novell.com/modules/xfref_library/detail.php?reference_id=623
http://michael-amorose.com/articles/computers/cvs/index.html
http://www.prima.eu.org/tobez/cvs-howto.html

My favorites have always been the following two though:

1. CVSBook
   http://cvsbook.red-bean.com/

2. CVS online manual
   http://ximbiot.com/cvs/manual/

   [ especially the section 'The Repository', starting at:
 http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_2.html ]

3. Setting up a CVS repository - the FreeBSD way
   http://www.freebsd.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/

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


Re: Questions re: disklabel for external USB drives

2006-12-11 Thread Jerry McAllister
On Mon, Dec 11, 2006 at 09:34:59PM +0100, Joerg Pernfuss wrote:

 On Mon, 11 Dec 2006 14:17:29 -0500
 Jerry McAllister [EMAIL PROTECTED] wrote:
 
   Is there an easy way to force the device to work as something like:
   
   /dev/da1s1d
   
   on all of the servers, including ones that do not already have a
   SCSI disk subsystem and existing /dev/da0 devices?
  
  I think, in FreeBSD SCSI device stuff, you can force it to be
  something, but I have never done it and don't know how - and since
  it doesn't matter, don't see the reason to try.
 
 A imho better solution is to load the geom_label class.
 Then either give the device itself a label:
   da3s1d - label/usbstick42s1d
 or set the UFS Label field of the filesystems via 'tunefs -L',
 this will give you for example
   da5s1a - ufs/ustick5data
   da5s1d - ufs/ustick5keys
 
 or whatever you set the label to, obviously. If geom_label is loaded,
 you have unique device names on all servers (if you don't mix things
 up when you label them).

OK.   But, that really sounds like more work than just making your
fstab file relevant to the machine it is on and not worrying about
the rest.

jerry

 
 Regards,
   Joerg
 
 -- 
 | /\   ASCII ribbon   |  GnuPG Key ID | e86d b753 3deb e749 6c3a |
 | \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
 |  XHTML in email  |.the next sentence is true.   |
 | / \ and news | .the previous sentence was a lie.|


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


Re: easy question

2006-12-11 Thread Nagy László Zsolt

Steve Franks wrote:
I hope.  Looks like xorg remaps the arrow keys for it's own uses - how 
do I

get command history in an xterm instead of ctrl-key like gibberish.  I'd
like to edit, like you do in a vtty with the up-arrow, not just 
!!enter.

I'm sure the answer exists, I just can't format a seach to find it on my
own...;)
Frank, what kind of keyboard are you using? The xorg server does not 
remap the arrow keys by default. However, if you have misconfigured your 
keyboard, then you might not use your arrow keys. Try to look at the 
documentation of xmodmap(1).


If you are not sure how to change this in xorg.conf, you can first try 
to download an xmodmap file for your keyboard layout, and execute this 
command:


xmodmap filename

Then you can try to use your arrow keys.

Another problem might be that you are using the wrong TERM environment 
variable inside your xterm. Well, this is very unlikely. You can also 
try this:



setenv TERM xterm-color   # c shell

set TERM=xterm-color # bash shell
export TERM

I hope this will help.


Best,

  Laszlo

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


Re: easy question

2006-12-11 Thread Jonathan Chen
On Mon, Dec 11, 2006 at 12:58:24PM -0700, Steve Franks wrote:
 I hope.  Looks like xorg remaps the arrow keys for it's own uses - how do I
 get command history in an xterm instead of ctrl-key like gibberish.  I'd
 like to edit, like you do in a vtty with the up-arrow, not just !!enter.
 I'm sure the answer exists, I just can't format a seach to find it on my
 own...;)

The up-arrow in xterm with XOrg works for me when using tcsh. What
shell are you using?
-- 
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: error ouput of fsck

2006-12-11 Thread Marwan Sultan

Hello Jerry,

  I'm not responding no, the fsck -y asuming no !
  in fact i do fsck -y then all goes auto..

regards.

- Marwan


 CLEAR? no


Hmmm.
   RECONNECT?  no
   ADJUST? no
   CLEAR?  no
Why are you responding 'no' to each prompt to fix things?
If you keep doing that it will never get the file systems cleared up.

jerry



_
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: Major Version Upgrade - 4.11 to 5.x

2006-12-11 Thread James Long
On Sunday 10 December 2006 15:41, Valen Jones wrote:
 I'm interested in upgrading from 4.11 to 5.x.  I currently track 4.x
 stable using cvsup, but I've never done a major version upgrade.

 First, should I bother?  My hardware has dual pentium 1.13 processors
 with 1G ram (I'm considering maxing it out at 4).  I host a few domains
 on this machine and I have four jails configured on it which will have
 to be upgraded too.  I have users counting particularly on mail service
 not being down for too long.

 Other than the obvious advice to start with a good backup, can anyone
 tell me:

 1)  Will I gain a major benefit from upgrading

 2)  Where should I look for instructions / advice on upgrading

 3)  Also any general advice from personal experience.

Beech's advice is sound.  I would stress that the simplest and easiest
by far is indeed a clean install.  And take two backups, if you have
customers counting on things going right.  Make sure your backups are
readable, usable and complete (no bad spots on tape media, no files
inadvertently omitted, etc.).

If at all possible, leave the production system running and begin the
new installation on separate hardware.  If you have a fast new machine 
to migrate onto, do that.  However your current hardware sounds
adequate for the light load you describe.  If you have just a spare
machine of nearly the same horsepower and configuration, you could
do the new installation on the spare machine, get it configured and
tested, and then backup the old machine twice, wipe the drive and
re-partition, and then transfer the newly-built configuration onto 
your production hardware.  Watch out for /etc/fstab gotchas, like if 
the test machine has an ad0 ATA drive and the production is da0 SCSI.

This will allow you to do a lot of migration, testing and tweaking 
off-line, without your customers noticing much downtime, except for
the final changeover.

How current are your installed ports?  Review the ports you do have
installed, and see whether you're really still using them.  It will
save you a little time on the new machine by not having to build
ports you don't really need anymore.  Look at your key applications, 
and where there are significant version changes between what you're 
running and what's current, familiarize yourself with the upgrade 
issues (if any) that each port presents.  Be prepared to test any
new features you hope to use, or to regression test to make sure
that legacy functionality still works the way you expect.  This 
might be the time to switch to Apache 2, for example, if you want
to.  But some things that worked under 1.3 will have to be adjusted
to work under 2.  At the least, it would be good to upgrade to the 
latest 1.3.x, to use Apache as an example.

As for #3, I have grown fond of using a FreesBIE or other live CD for
steps like booting the migration/test box to create a backup image of 
the new 6.X filesystem, and then also to boot the production box for 
the final changeover to transfer that backup image onto the production
disk.  That way your file system in an off-line (inactive) state, 
where you can cleanly backup the old production filesystem (twice!),
then wipe and re-partition, and transfer the new configuration image
onto the production drive likewise in a clean state.  If you haven't
already, spend some time just experimenting on a test machine, and 
make friends with FreesBIE and/or the Fixit live CD mode of FreeBSD 
installation media.

Good luck!

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


Re: error ouput of fsck

2006-12-11 Thread Jerry McAllister
On Mon, Dec 11, 2006 at 09:19:48PM +, Marwan Sultan wrote:

 Hello Jerry,
 
   I'm not responding no, the fsck -y asuming no !
   in fact i do fsck -y then all goes auto..

Hmmm.
I don't know what is happening then.

jerry

 
 regards.
 
 - Marwan
 
  CLEAR? no
 
 
 Hmmm.
RECONNECT?  no
ADJUST? no
CLEAR?  no
 Why are you responding 'no' to each prompt to fix things?
 If you keep doing that it will never get the file systems cleared up.
 
 jerry
 
 
 _
 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: What is microsoft-ds port 445?

2006-12-11 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 What is microsoft-ds port #445?
 
 Elisej Babenko

Next time, please google. There are a plethora of documents on this topic.
See http://www.petri.co.il/what's_port_445_in_w2k_xp_2003.htm for
starters.
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFfbv+6CkrZkzMC68RAl6aAJ9V5lgDY+3d9GO4A0YOLgdPey9JdQCfYYwC
BY8v5XeyeTblmFhmTYgO3XQ=
=PP6L
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fonts on X.Org...

2006-12-11 Thread Ne'Bahn
Hi list, how can I add some fonts to the system, for instance: Arial, 
Courier New, and so others. I know there are some fonts that cost to acquire 
them, but isn't an implementation of these fonts for

the open source arena ???

PS: I've some docs made in a Windows environment that use fonts I don't have
on FreeBSD, the replacement is very bad, so OpenOffice offers system fonts
rather than their fonts (if it has a set), a problem for
portability/compatibility but indeed better for availability.

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


Re: Major Version Upgrade 4.11 to 5.x

2006-12-11 Thread James Long
 Date: Mon, 11 Dec 2006 15:26:02 -0500
 From: listvj [EMAIL PROTECTED]
 Subject: Re: Major Version Upgrade 4.11 to 5.x
 To: freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 Btw, I'm sorry for posting this question twice.  I posted the first one 
 with the wrong email address.  I was surprised (and disappointed) to see 
 that the list accepted it as I did not subscribe to the list with that 
 address. :(

Why are you disappointed that the list accepts email from anyone who 
needs FreeBSD support?  Personally, I dislike some of the lists where 
you have to join the club before you can ask a question to receive 
support.

By the way, that is why it is customary to Cc: both the person and
and the list when replying.  It doesn't do any good to send a response
to the list if the person who asked the question isn't subscribed.


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


shmmax tops out at 2G?

2006-12-11 Thread Bill Moran

uname -a
FreeBSD db00.lab00 6.2-BETA3 FreeBSD 6.2-BETA3 #1: Fri Dec  8 09:27:37 EST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DB-2850-amd64  amd64

sysctl kern.ipc.shmmax=22
kern.ipc.shmmax: 21 - -2094967296

Looks like an unsigned 32-bit int.  That doesn't seem to scale as well as
would be expected on 64-bit arch.

Is this a mistake, or intentional?  I'm working with some big memory
systems, and I sure would like to allocate more than 2G for PostgreSQL
to use ...

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


RE: dd mini-iso image to USB pendrive?

2006-12-11 Thread Murray Taylor
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Bill-Schoolcraft
 Sent: Tuesday, 12 December 2006 6:19 AM
 To: freebsd-questions@freebsd.org
 Subject: dd mini-iso image to USB pendrive?
 
 Hello Family,
 
 I'm trying to get my server to boot off my Sandisk Cruzer 1-gig pen
 drive with an ISO image dd'd to the pendrive.
 
 It fails and the same ISO image will boot off the USB CDROM with no
 issues.
 
 Is there any specific howto on doing this?
 
 TIA
 
 -- 
   Bill Schoolcraft * http://wiliweld.com
 
 Health nuts are going to feel stupid someday,
 lying in hospitals dying of nothing.
 -- Redd Foxx
 

Try the minibsd sites for more info as they 
target building bootable flash images

4.X  https://neon1.net/misc/minibsd.html
5.X  http://www.ultradesic.com/index.php?section=86
6.X  http://www.ultradesic.com/index.php?section=125

HTH
mjt
---
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 e-mail message has been scanned for Viruses by Bytecraft ###
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


squid: no buffer space available - after tuning!

2006-12-11 Thread Wojciech Puchar
average loaded site (about 1000 users), fast machine, lots of ram, fxp 
interfaces (no realteks), squid reports 32768 filedescriptors available


[EMAIL PROTECTED] ~]# limits -U squid
Resource limits for class squid:
  cputime  infinity secs
  filesize infinity kB
  datasize infinity kB
  stacksizeinfinity kB
  coredumpsize0 kB
  memoryuseinfinity kB
  memorylocked infinity kB
  maxprocesses   64
  openfiles   32768
  sbsize   infinity bytes
  vmemoryuse   infinity kB
[

/etc/sysctl.conf:

kern.ipc.somaxconn=65535
kern.ipc.nmbclusters=32768
net.inet.tcp.delayed_ack=0
net.inet.icmp.icmplim=500
vm.defer_swapspace_pageouts=1
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
kern.ipc.shmseg=128
kern.ipc.shmall=16384
kern.maxfiles=65536
kern.maxfilesperproc=32768
kern.ipc.nmbclusters=131072
net.inet.ip.portrange.last=65535
vfs.lorunningspace=3145728
vfs.hirunningspace=6291456
net.inet.tcp.msl=5000

vfs.root.mountfrom=ufs:ad0a
kern.cam.scsi_delay=1000
kern.ipc.msgseg=1024
kern.ipc.msgssz=128
kern.ipc.msgtql=8192
kern.ipc.msgmnb=65536
kern.ipc.msgmni=100
kern.ipc.msgmax=8192
kern.maxproc=1000
kern.maxbcache=134217728
kern.dfldsiz=2147483648
kern.maxdsiz=2147483648



in dmesg i found lots of

ipfw: pullup failed


CPU load is always 10%, it's P4 machine with 2GB ram (much more 
than squid uses) running FreeBSD 6.2-RC1, 3 interfaces - out output, 2 for 
different connections, ipfw is used with only 1 line.




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


Re: Major Version Upgrade 4.11 to 5.x

2006-12-11 Thread listvj

James Long wrote:


Date: Mon, 11 Dec 2006 15:26:02 -0500
From: listvj [EMAIL PROTECTED]
Subject: Re: Major Version Upgrade 4.11 to 5.x
To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Btw, I'm sorry for posting this question twice.  I posted the first one 
with the wrong email address.  I was surprised (and disappointed) to see 
that the list accepted it as I did not subscribe to the list with that 
address. :(
   



Why are you disappointed that the list accepts email from anyone who 
needs FreeBSD support?  Personally, I dislike some of the lists where 
you have to join the club before you can ask a question to receive 
support.


By the way, that is why it is customary to Cc: both the person and
and the list when replying.  It doesn't do any good to send a response
to the list if the person who asked the question isn't subscribed.


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

Thanks for the clarification.  I'm not disappointed in the list's 
policies.  I'm disappointed that I didn't know what they were and that I 
wasn't a bit more careful with my email addresses.  I'm sure the 
information about how the list works is posted somewhere and I just 
didn't read it.  Oh well.





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


Re: squid: no buffer space available - after tuning!

2006-12-11 Thread Chuck Swiger

On Dec 11, 2006, at 2:37 PM, Wojciech Puchar wrote:

in dmesg i found lots of

ipfw: pullup failed

CPU load is always 10%, it's P4 machine with 2GB ram (much more  
than squid uses) running FreeBSD 6.2-RC1, 3 interfaces - out  
output, 2 for different connections, ipfw is used with only 1 line.


The IPFW message implies that you are seeing low-level network  
problems with truncated packets.  What does netstat -i and -s  
reveal, and, if possible, do you have any switch-based statistics...?


--
-Chuck

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


Re: Major Version Upgrade 4.11 to 5.x

2006-12-11 Thread Gerard Seibert
On Monday December 11, 2006 at 05:09:01 (PM) James Long wrote:


 By the way, that is why it is customary to Cc: both the person and
 and the list when replying.  It doesn't do any good to send a response
 to the list if the person who asked the question isn't subscribed.

Maybe it is just me, but I hate that Cc crap. I always end up with two
copies of the same message. Unless the individual specifically requests
to be Cc'd, I never utilize it. Besides, how hard is it to subscribe to
a list, post your question and hopefully receive a satisfactory
response and then terminate your association with the list if you are so
inclined. I joined the 'Apache' forum just to get one simple answer,
then exited. Not a big deal at all.

Just my 2¢.

-- 
Gerard

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


Re: What is microsoft-ds port 445?

2006-12-11 Thread Greg 'groggy' Lehey
On Monday, 11 December 2006 at 11:06:12 -0800, Chuck Swiger wrote:
 On Dec 11, 2006, at 10:43 AM, [EMAIL PROTECTED] wrote:
 What is microsoft-ds port #445?

 Mildly off-topic for this list, but it's used by directory-services,
 aka Active Directory

I don't know that it's that off-topic.  I don't use Microsoft, but
people bombard me with packets on port 445.

Of course, the way to find this out is:

  $ grep 445 /etc/services
  microsoft-ds445/tcp
  microsoft-ds445/udp
  $

On Monday, 11 December 2006 at 12:13:50 -0800, Garrett Cooper wrote:

 Next time, please google. There are a plethora of documents on this topic.
 See http://www.petri.co.il/what's_port_445_in_w2k_xp_2003.htm for
 starters.

You can find lots of things on Google, including false leads and
(especially) other people asking the same question.  Many of them
(hopefully not the false leads) refer to messages that have gone by on
this list.  Come back tomorrow and you'll probably find this exchange
there.

In summary: I think this message was on-topic.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpLGfmzIhr8O.pgp
Description: PGP signature


onboard sound crard on intel D915GAG

2006-12-11 Thread Amed Miranda
envienme los driver de la Intel d915GAG
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trying to install jre

2006-12-11 Thread Karl Sinn
Hi,

Am Montag, 11. Dezember 2006 18:58 schrieb Gerard Seibert:
 I have /usr/ports/java/diablo-jre15 in my ports collection. When was the
 last time you updated the ports?

Actually I did it this morning, but there seems to be a problem.

Now I deleted everything and I did portsnap extract.
Now I can find some new ports.

But still the jre is not building with the same error message.

Now I try diablo-jre-1.5. I hope it will work.

I'll send a message when it's done.

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


mount USB-Device

2006-12-11 Thread Karl Sinn
Hi,

I would like to use one of my USB-MP3-Players.

I plug it in and I can see with dmesg that the device is recognised by the 
kernel.

mount /dev/da0 /mnt  gives an error message: incorrect superblock.
mount -t fat /dev/da0 /mnt gives an error message that mount_fat is not 
found

in /usr/sbin I find only mout_* for nwfs, portalfs and smbfs.

1) Where are the other filesystem mounts?
2) do I have to give another device name like da0s1?
3) Is there something like automount?

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


RE: mount USB-Device

2006-12-11 Thread Wood, Russell
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Karl Sinn
 Sent: Tuesday, 12 December 2006 8:29 AM
 To: freebsd-questions@freebsd.org
 Subject: mount USB-Device
 
 Hi,
 
 I would like to use one of my USB-MP3-Players.
 
 I plug it in and I can see with dmesg that the device is recognised by
the
 kernel.
 
 mount /dev/da0 /mnt  gives an error message: incorrect superblock.
 mount -t fat /dev/da0 /mnt gives an error message that mount_fat is
not
 found
 
 in /usr/sbin I find only mout_* for nwfs, portalfs and smbfs.
 
 1) Where are the other filesystem mounts?
 2) do I have to give another device name like da0s1?
 3) Is there something like automount?
 
 Thanks
 Karl

Try:

mount -t msdos /dev/da0 /mnt

Regards,
Russell Wood


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: onboard sound card on Intel D915GAG

2006-12-11 Thread Wood, Russell
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Amed Miranda
 Sent: Tuesday, 12 December 2006 9:18 AM
 To: freebsd-questions@freebsd.org
 Subject: onboard sound crard on intel D915GAG
 
 envienme los driver de la Intel d915GAG

I have no idea what you asked, but I'm assuming you'd like to get sound
working for that chipset. Try (from memory):

kldload sound

That'll load all sound drives and whichever attaches is the drive you
want.

Regards,
Russell Wood


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount USB-Device

2006-12-11 Thread Jona Joachim
On Tue, 12 Dec 2006 00:29:14 +0100 (MET)
Karl Sinn [EMAIL PROTECTED] wrote:

 Hi,
 
 I would like to use one of my USB-MP3-Players.
 
 I plug it in and I can see with dmesg that the device is recognised
 by the kernel.
 
 mount /dev/da0 /mnt  gives an error message: incorrect superblock.
 mount -t fat /dev/da0 /mnt gives an error message that mount_fat is
 not found

try with msdosfs instead of fat.

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


Re: What is microsoft-ds port 445?

2006-12-11 Thread Chuck Swiger

On Dec 11, 2006, at 3:09 PM, Greg 'groggy' Lehey wrote:

On Monday, 11 December 2006 at 11:06:12 -0800, Chuck Swiger wrote:

On Dec 11, 2006, at 10:43 AM, [EMAIL PROTECTED] wrote:

What is microsoft-ds port #445?


Mildly off-topic for this list, but it's used by directory-services,
aka Active Directory


I don't know that it's that off-topic.


A question which is independent of which OS you might use may still  
be relevant to a FreeBSD mailing list, but it does not seem to be  
highly relevant.  A security list such as BugTraq or firewall-wizards  
is likely to provide more specific details or feedback about bursts  
of malware traffic on a particular port than freebsd-questions will...



I don't use Microsoft, but people bombard me with packets on port 445.


Agreed-- it is certainly true that port 445 experiences lots of  
malicious probes.


I run a honeynet which gets between 500 and 1000 connection requests  
per day per IP on port 445; a histogram of TCP traffic over the past  
week suggests it is the most commonly targeted port, closely followed  
by 139/tcp:


# count / port
59676 445
58527 139
1043  9988
383   80
357   135
285   22
223   5900
214   1433
182   4899
144   1080


Of course, the way to find this out is:

  $ grep 445 /etc/services
  microsoft-ds445/tcp
  microsoft-ds445/udp


It seems likely that the original poster had gotten this far, judging  
from the question above.  :-)


Dear [EMAIL PROTECTED]: port 445/tcp is used to wrap a bunch of services  
that used to run over the NetBIOS/NetBEUI protocol, such as domain  
browse lists, network neighborhood, and CIFS/SMB services (ie,  
what Samba provides, workgroups, filesharing, user authentication)--  
in short, directory services.


--
-Chuck

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


Re: Major Version Upgrade 4.11 to 5.x

2006-12-11 Thread Chad Leigh -- Shire.Net LLC


On Dec 11, 2006, at 3:59 PM, Gerard Seibert wrote:


On Monday December 11, 2006 at 05:09:01 (PM) James Long wrote:



By the way, that is why it is customary to Cc: both the person and
and the list when replying.  It doesn't do any good to send a  
response

to the list if the person who asked the question isn't subscribed.


Maybe it is just me, but I hate that Cc crap. I always end up with two
copies of the same message. Unless the individual specifically  
requests
to be Cc'd, I never utilize it. Besides, how hard is it to  
subscribe to

a list, post your question and hopefully receive a satisfactory
response and then terminate your association with the list if you  
are so

inclined. I joined the 'Apache' forum just to get one simple answer,
then exited. Not a big deal at all.



I agree that the list should only accept mail from subscribed  
members.  Mainly to keep spam and other crap off the list.  Most  
lists I am on (which are technical) require you to be a list member  
to post.  So in this case the FreeBSD policies are not the norm.  I  
am on one list for an MTA where if you CC the orig poster plus send  
to the list you get in trouble with some folks.


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net





FreeBSD FAMP on a mini-itx/embedded platform

2006-12-11 Thread Nicolas Blais
Hi,

I'm looking to make a light FreeBSD-Apache-MySQL-PHP system out of a VIA EN 
5000 system. It would replace my home file/web server which currently runs 
24h/7d with a silent and energy-wise bundle. 

I would also like to take advange of the C7 processor's Padlock feature (SSL 
encryption). I believe FreeBSD supports it?

I'm not looking for 3D performance or the such for this file server, but I 
would expect it to atleast keep up with the current server network-wise. Are 
my expectations unfounded?

Does anyone here run FreeBSD on a VIA EN system or other embedded C7-based 
machine?

Thanks!

Nicolas

sidenote: This would be my 7th BSD machine in the house (and this is not 
counting my Vmware guests!) :)
-- 
FreeBSD 7.0-CURRENT #12: Sat Dec  2 12:30:58 EST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgpofF0C0kOw1.pgp
Description: PGP signature


Re: Major Version Upgrade 4.11 to 5.x

2006-12-11 Thread Lane
On Monday 11 December 2006 18:24, Chad Leigh -- Shire.Net LLC wrote:
 On Dec 11, 2006, at 3:59 PM, Gerard Seibert wrote:
  On Monday December 11, 2006 at 05:09:01 (PM) James Long wrote:
  By the way, that is why it is customary to Cc: both the person and
  and the list when replying.  It doesn't do any good to send a
  response
  to the list if the person who asked the question isn't subscribed.
 
  Maybe it is just me, but I hate that Cc crap. I always end up with two
  copies of the same message. Unless the individual specifically
  requests
  to be Cc'd, I never utilize it. Besides, how hard is it to
  subscribe to
  a list, post your question and hopefully receive a satisfactory
  response and then terminate your association with the list if you
  are so
  inclined. I joined the 'Apache' forum just to get one simple answer,
  then exited. Not a big deal at all.

 I agree that the list should only accept mail from subscribed
 members.  Mainly to keep spam and other crap off the list.  Most
 lists I am on (which are technical) require you to be a list member
 to post.  So in this case the FreeBSD policies are not the norm.  I
 am on one list for an MTA where if you CC the orig poster plus send
 to the list you get in trouble with some folks.

 Chad

 ---
 Chad Leigh -- Shire.Net LLC
 Your Web App and Email hosting provider
 chad at shire.net
I dunno, Chad.  I get some of my best Pharmaceuticals from SPAM posted to this 
list 

just kidding, of course.

But the SPAM on questions- is minimal, and the trade-off is, I think, huge. 

While many of us track the list regularly, there are much more that just toss 
a question out, and then google the replies.  

I think, in terms of server load, it probably is better this way.  Not to 
mention that it is more convenient for the questioners, and thus better for 
the larger FreeBSD community.

I'm not claiming to be right, this is just my opinion, my stinky opinion.

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


Re: Major Version Upgrade - 4.11 to 5.x

2006-12-11 Thread Chad Gross

First I would address the first question. Only you can really answer whether
or not there is a benefit. Is there a specific need (e.g. software/hardware
support) for you to upgrade? If not then I would recommend against the
upgrade. If yes, I why not move to 6.x? I have been running FBSD since
4.0and have run every revision since and would not suggest using
5.x. Either stick with 4.x or move to 6.x based on your requirements.

To answer your second question, the best place to look for help is the
handbook (
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html).
Also make sure to read /usr/src/UPDATING as this may contain special
instructions. It is a general rule of thumb to do a clean install between
major revisions though. I have personally done them with success, but would
not recommend doing it on a production server if it is your first time doing
one (as it sounds to be). Stick to upgrading between minor revisions until
you are familiar with the build/make process. Also these mailing lists are a
great resource for help as is http://www.bsdforums.org/ (and a few others,
use Google).

Finally, as mentioned above, from personal experience it is best to stick
with a clean install between major revisions.

Good luck again,

Chad

On 12/11/06, James Long [EMAIL PROTECTED] wrote:


On Sunday 10 December 2006 15:41, Valen Jones wrote:
 I'm interested in upgrading from 4.11 to 5.x.  I currently track 4.x
 stable using cvsup, but I've never done a major version upgrade.

 First, should I bother?  My hardware has dual pentium 1.13 processors
 with 1G ram (I'm considering maxing it out at 4).  I host a few domains
 on this machine and I have four jails configured on it which will have
 to be upgraded too.  I have users counting particularly on mail service
 not being down for too long.

 Other than the obvious advice to start with a good backup, can anyone
 tell me:

 1)  Will I gain a major benefit from upgrading

 2)  Where should I look for instructions / advice on upgrading

 3)  Also any general advice from personal experience.

Beech's advice is sound.  I would stress that the simplest and easiest
by far is indeed a clean install.  And take two backups, if you have
customers counting on things going right.  Make sure your backups are
readable, usable and complete (no bad spots on tape media, no files
inadvertently omitted, etc.).

If at all possible, leave the production system running and begin the
new installation on separate hardware.  If you have a fast new machine
to migrate onto, do that.  However your current hardware sounds
adequate for the light load you describe.  If you have just a spare
machine of nearly the same horsepower and configuration, you could
do the new installation on the spare machine, get it configured and
tested, and then backup the old machine twice, wipe the drive and
re-partition, and then transfer the newly-built configuration onto
your production hardware.  Watch out for /etc/fstab gotchas, like if
the test machine has an ad0 ATA drive and the production is da0 SCSI.

This will allow you to do a lot of migration, testing and tweaking
off-line, without your customers noticing much downtime, except for
the final changeover.

How current are your installed ports?  Review the ports you do have
installed, and see whether you're really still using them.  It will
save you a little time on the new machine by not having to build
ports you don't really need anymore.  Look at your key applications,
and where there are significant version changes between what you're
running and what's current, familiarize yourself with the upgrade
issues (if any) that each port presents.  Be prepared to test any
new features you hope to use, or to regression test to make sure
that legacy functionality still works the way you expect.  This
might be the time to switch to Apache 2, for example, if you want
to.  But some things that worked under 1.3 will have to be adjusted
to work under 2.  At the least, it would be good to upgrade to the
latest 1.3.x, to use Apache as an example.

As for #3, I have grown fond of using a FreesBIE or other live CD for
steps like booting the migration/test box to create a backup image of
the new 6.X filesystem, and then also to boot the production box for
the final changeover to transfer that backup image onto the production
disk.  That way your file system in an off-line (inactive) state,
where you can cleanly backup the old production filesystem (twice!),
then wipe and re-partition, and transfer the new configuration image
onto the production drive likewise in a clean state.  If you haven't
already, spend some time just experimenting on a test machine, and
make friends with FreesBIE and/or the Fixit live CD mode of FreeBSD
installation media.

Good luck!

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

Mysql Max start on boot

2006-12-11 Thread Steel City Phantom
Im in the middle of installing Mysql max on a bsd 6.2 box, anyone have 
an idea how to make it start on boot?  the script is in the 
/usr/local/etc/rc.d file and the mysql_enable=YES is in the rc.conf 
file but it still isn't starting.  since this is max i couldn't install 
it from the ports, i had to download the binary from mysql.


thanks

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


Re: Setting up RAID-1 on 2 unequal disks

2006-12-11 Thread Foo JH

Hello John, Tony,

Thanks for your responses. I think I will try to go with John's approach 
(ie via gmirror), as I've used it previously for a raiding on 
equally-sized disks.


John, I will be trying out your suggestions in a while. Hope to get your 
help later down the road. :)


Tony, I'm quite sure your trick will work. I'm just too noob on FBSD to 
trick vinum. :P


John Nielsen wrote:

On Monday 11 December 2006 03:47, Foo JH wrote:
  

Hi all,

I unfortunately have 2 uneuqally sized SATA disks to set up a mirrored
shared folder: 80GB and 120GB. On the 120GB I plan to set up this way:

/temp2GB (double the system memory)
/shared80GB
/   38GB

I plan to mirror /shared onto the 80GB. It won't be bootable, but I can
always mount it onto another FreeBSD machine.

I've read some articles on mirroring on non-equal disks, notably:
http://people.freebsd.org/~rse/mirror/

My question is: is there an easier way to do this? The example looks
quiet daunting for a noobie FreeBSD admin like me.



I would use gmirror. The example page you cite is very thorough and covers 
multiple scenarios. I have found gmirror to be extremely easy to use and set 
up; much more so than gvinum or even ataraid.


Gmirrror allows you to use any geom provider as a member (consumer) of a 
mirrored set. That includes entire disks (e.g. ad4), slices (e.g. ad4s1), 
partitions (e.g. ad4s1a), or even other complex structures (such as a gstripe 
set).


The only hard part is going to be labeling the 120GB disk correctly. You will 
most likely want to do it manually using bsdlabel. One approach would be 
something like the following. Assume ad4 is the 120GB disk and ad6 is the 
80GB disk. Boot up using a FreeBSD install disk and go into Fixit mode.


# fdisk -BI /dev/ad6
(it's safe to ignore the warning here)

# bsdlabel -Bw /dev/ad6s1

# sysctl kern.module_path=/dist/boot/kernel

# gmirror load

# gmirror label -b load shared /dev/ad6s1a
(shared is the name of your volume.. you can use whatever you want)

# gmirror list
(will show you details about your new broken mirror. Make a note of 
the Mediasize number listed under the consumer.)


# fdisk -BI /dev/ad4
(it's safe to ignore the warning here)

# bsdlabel -Bw /dev/ad4s1

(these are only needed if you don't like/don't know how to use vi)
# EDITOR=ee
# export EDITOR

# bsdlabel -e /dev/ad4s1

Now comes the tricky part. The number shown on the c: line of the label is the 
number of 512-byte sectors on the disk. It's good practice to leave 16 
sectors unused at the beginning of the disk; you can see this in the default 
whole-disk a: line. Figure out how big you need to make the slice for the 
other side of the mirror by dividing the Mediasize number you noted 
previously by 512. Then figure out how big you want your swap (if any--you 
didn't mention any above) and /temp partitions by multiplying out to the 
number of bytes then dividing by 512. Add all of that up plus the 16-sector 
space at the beginning and subtract from the size (c: line) to determine how 
much is left for /. Calculate all the offsets and put in the fstype (either 
4.2BSD or swap), and put zeroes in the other columns.


As a reference, here is one of my disks:

# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  6291456  10485024.2BSD0 0 0 
  b:  1048486   16  swap
  c: 1563125130unused0 0 # raw part, don't 
edit
  d: 117266625 390458884.2BSD0 0 0 
  e: 31705930  73399584.2BSD0 0 0 


Save the label and exit the editor.

Now to finish up:

# gmirror insert shared /dev/ad4s1e
(be sure to use the actual partition device you set up above)

# newfs -U /dev/mirror/shared
( /shared )
# newfs -U /dev/ad4s1a
( / )
# newfs -U /dev/ad4s1d
( /temp )

Then exit fixit mode and do a Standard installation. Don't let sysinstall 
re-label or newfs anything, just specify the mount points for your / 
and /shared filesystems. You'll have to mount the mirror after you're done 
with setup (just put it in /etc/fstab manually).


Obviously, you should understand what all of the above does before you do any 
of it, and may need to make changes.


Good luck, and feel free to ask additional questions.

JN
  


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


Re: mount USB-Device SOLVED

2006-12-11 Thread Karl Sinn
Hi,

Am Dienstag, 12. Dezember 2006 00:43 schrieb Wood, Russell:

   mount -t msdos /dev/da0 /mnt

It worked.

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


Re: Seagate 4GB ATA-CF drive on IDE bus won't work

2006-12-11 Thread Steve Franks

I have a microdrive that's finicky also.  Seems the problem is it's a
1.8Vcard, which is not standard (standard appears to be 5V or
3.3V).  It will not work, period, in a CF-IDE converter, or in a
PCMCIA-CF converter.  It works fine, however, in *some* USB card readers,
namely the cheapo ones off ebay, but not the expensive ones I bought at the
local office supply store.  I suspect that is the problem, at least it was
for me.

Steve

On 12/10/06, Albert Boeve [EMAIL PROTECTED] wrote:


I want to install Freebsd 6.2 onto a seagate 4GB compact flash microdrive.

Neither FreeBSD 6.1 or 6.2-RC1 installers seem to detect the ATA-CF card
on
the bus; although NetBSD was able to be installed on the drive and works
OK.

I have tried installing the drive as ata0 master in two different
machines;
both times NetBSD is able to boot off the drive -ie the hardware is
working
fine - however the FreeBSD insaller does not detect the drive.

Fitting the microdrive in a working FreeBSD machine as ata1 master does
not
give any further debug info - no dmesg, sysctl seems to log the attachment
as failing, although it is detected by BIOS as ST64022CF.

FreeBSD  6.2-RC1 FreeBSD 6.2-RC1 #0: Thu Nov 16 05:12:08 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

# atacontrol list
ATA channel 0:
Master: ad0 QUANTUM FIREBALLP KA6.4/A42.0400 ATA/ATAPI revision
4
Slave:  no device present
ATA channel 1:
Master: no device present
Slave:  acd0 201H ATA/ATAPI revision 0


NetBSD atactl gives:

NetBSD 3.0.1 (GENERIC) #0: Thu Jul 13 23:43:47 UTC 2006

# atactl wd0 identify
Model: ST64022CF, Rev: 3.02, Serial #: 4NW03XLS
Device type: ATAPI, removable
Device capabilities:
DMA
LBA
IORDY operation
Command set support:
NOP command (enabled)
READ BUFFER command (enabled)
WRITE BUFFER command (enabled)
look-ahead (enabled)
write cache (enabled)
Power Management feature set (enabled)
SMART feature set (enabled)
FLUSH CACHE command (enabled)
Advanced Power Management feature set (enabled)
CFA feature set (enabled)

Is there a simple fix to make FreeBSD ata recognize the drive?

NB there is a simmilar question about using the same card in a pccard
adapter,
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061937.html
which appears to have been resolved?

Thank You

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





--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Major Version Upgrade - 4.11 to 5.x

2006-12-11 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chad Gross wrote:
 First I would address the first question. Only you can really answer
 whether
 or not there is a benefit. Is there a specific need (e.g. software/hardware
 support) for you to upgrade? If not then I would recommend against the
 upgrade. If yes, I why not move to 6.x? I have been running FBSD since
 4.0and have run every revision since and would not suggest using
 5.x. Either stick with 4.x or move to 6.x based on your requirements.
 
 To answer your second question, the best place to look for help is the
 handbook (
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html).
 Also make sure to read /usr/src/UPDATING as this may contain special
 instructions. It is a general rule of thumb to do a clean install between
 major revisions though. I have personally done them with success, but would
 not recommend doing it on a production server if it is your first time
 doing
 one (as it sounds to be). Stick to upgrading between minor revisions until
 you are familiar with the build/make process. Also these mailing lists
 are a
 great resource for help as is http://www.bsdforums.org/ (and a few others,
 use Google).
 
 Finally, as mentioned above, from personal experience it is best to stick
 with a clean install between major revisions.
 
 Good luck again,
 
 Chad

Bad way to look at things, given that 4.x isn't supported
anymore by the FreeBSD group; so anything either userland or core system
related that needs to be upgraded due to a security or performance issue
would require an upgrade anyhow..
You should run at least 5.x, but it's highly recommended that
you go to 6.x, due to performance improvements and the fact that you
won't have to source upgrade your system again for a lot longer period
of time (than if you moved to 5.x).
The only issue is that you don't have direct access to the machine.
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFfgzb6CkrZkzMC68RAq/mAJ9yI77ldLufgbAr31hMFUcvRantjQCfZ0MM
MIoBYNgZJfui6Fnn1GlGRXU=
=L/oJ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


disklabel and usb device

2006-12-11 Thread Peter Matulis
I am having trouble viewing my USB compact flash reader with my FBSD
5.5 system.  I have done so in the past.  For some reason I can no
longer do so.

This is what I'm getting:

# disklabel /dev/da0s1
disklabel: /dev/da0s1: no valid label found

# fdisk /dev/da0s1
*** Working on device /dev/da0s1 ***
parameters extracted from in-core disklabel are:
cylinders=249 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=249 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 108 (0x6c),(unknown)
start 1684955424, size 1701998624 (831054 Meg), flag a
beg: cyl 368/ head 82/ sector 37;
end: cyl 357/ head 97/ sector 35
The data for partition 2 is:
sysid 110 (0x6e),(unknown)
start 1998616933, size 544105832 (265676 Meg), flag 73
beg: cyl 97/ head 115/ sector 32;
end: cyl 107/ head 121/ sector 32
The data for partition 3 is:
sysid 121 (0x79),(QNX4.x 3rd part)
start 538988361, size 538976288 (263172 Meg), flag 72
beg: cyl 356/ head 101/ sector 33;
end: cyl 0/ head 13/ sector 10
The data for partition 4 is:
sysid 83 (0x53),(DM6 Aux3)
start 1394614304, size 21337 (10 Meg), flag 53
beg: cyl 333/ head 89/ sector 19;
end: cyl 339/ head 68/ sector 15


From logs:

kernel: umass0: SanDisk ImageMate 8 in 1, rev 2.00/91.44, addr 2


The card contains an OpenBSD filesystem.

Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Major Version Upgrade - 4.11 to 5.x

2006-12-11 Thread Chad Gross

On 12/11/06, Garrett Cooper [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chad Gross wrote:
 First I would address the first question. Only you can really answer
 whether
 or not there is a benefit. Is there a specific need (e.g.
software/hardware
 support) for you to upgrade? If not then I would recommend against the
 upgrade. If yes, I why not move to 6.x? I have been running FBSD since
 4.0and have run every revision since and would not suggest using
 5.x. Either stick with 4.x or move to 6.x based on your requirements.

 To answer your second question, the best place to look for help is the
 handbook (
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
).
 Also make sure to read /usr/src/UPDATING as this may contain special
 instructions. It is a general rule of thumb to do a clean install
between
 major revisions though. I have personally done them with success, but
would
 not recommend doing it on a production server if it is your first time
 doing
 one (as it sounds to be). Stick to upgrading between minor revisions
until
 you are familiar with the build/make process. Also these mailing lists
 are a
 great resource for help as is http://www.bsdforums.org/ (and a few
others,
 use Google).

 Finally, as mentioned above, from personal experience it is best to
stick
 with a clean install between major revisions.

 Good luck again,

 Chad

Bad way to look at things, given that 4.x isn't supported
anymore by the FreeBSD group; so anything either userland or core system
related that needs to be upgraded due to a security or performance issue
would require an upgrade anyhow..
You should run at least 5.x, but it's highly recommended that
you go to 6.x, due to performance improvements and the fact that you
won't have to source upgrade your system again for a lot longer period
of time (than if you moved to 5.x).
The only issue is that you don't have direct access to the
machine.
- -Garrett



I apologize, I didn't realize that 4.x was no longer supported (I thought
RELENG_4 was still getting commits). In that case, I would make the move to
6.x being that 5.x wasn't exactly the best release performance-wise and it
will be moving out of support sooner too.

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


Re: Fonts on X.Org...

2006-12-11 Thread Chad Gross

On 12/11/06, Ne'Bahn [EMAIL PROTECTED] wrote:


Hi list, how can I add some fonts to the system, for instance: Arial,
Courier New, and so others. I know there are some fonts that cost to
acquire
them, but isn't an implementation of these fonts for
the open source arena ???

PS: I've some docs made in a Windows environment that use fonts I don't
have
on FreeBSD, the replacement is very bad, so OpenOffice offers system fonts
rather than their fonts (if it has a set), a problem for
portability/compatibility but indeed better for availability.

___



Try installing x11-fonts/webfonts from the ports collection.

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


Re: Major Version Upgrade - 4.11 to 5.x

2006-12-11 Thread Lane
On Monday 11 December 2006 22:13, Chad Gross wrote:
 On 12/11/06, Garrett Cooper [EMAIL PROTECTED] wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Chad Gross wrote:
   First I would address the first question. Only you can really answer
   whether
   or not there is a benefit. Is there a specific need (e.g.
 
  software/hardware
 
   support) for you to upgrade? If not then I would recommend against the
   upgrade. If yes, I why not move to 6.x? I have been running FBSD since
   4.0and have run every revision since and would not suggest using
   5.x. Either stick with 4.x or move to 6.x based on your requirements.
  
   To answer your second question, the best place to look for help is the
   handbook (
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.htm
  l
 
  ).
 
   Also make sure to read /usr/src/UPDATING as this may contain special
   instructions. It is a general rule of thumb to do a clean install
 
  between
 
   major revisions though. I have personally done them with success, but
 
  would
 
   not recommend doing it on a production server if it is your first time
   doing
   one (as it sounds to be). Stick to upgrading between minor revisions
 
  until
 
   you are familiar with the build/make process. Also these mailing lists
   are a
   great resource for help as is http://www.bsdforums.org/ (and a few
 
  others,
 
   use Google).
  
   Finally, as mentioned above, from personal experience it is best to
 
  stick
 
   with a clean install between major revisions.
  
   Good luck again,
  
   Chad
  
  Bad way to look at things, given that 4.x isn't supported
  anymore by the FreeBSD group; so anything either userland or core
   system related that needs to be upgraded due to a security or
   performance issue would require an upgrade anyhow..
  
  You should run at least 5.x, but it's highly recommended that
  
  you go to 6.x, due to performance improvements and the fact that you
  won't have to source upgrade your system again for a lot longer period
  of time (than if you moved to 5.x).
  The only issue is that you don't have direct access to the
 
  machine.
 
  - -Garrett

  I apologize, I didn't realize that 4.x was no longer supported (I thought
 RELENG_4 was still getting commits). In that case, I would make the move to
 6.x being that 5.x wasn't exactly the best release performance-wise and it
 will be moving out of support sooner too.

 Chad

Chad,

What was the problem with performance in 5.x?

I'm not challenging your assertion, not at all.  But this is the second time 
in this thread that I've read comments about poor performance in 5.x, and ... 
well ... I've not experienced that - quite the contrary.

I'm just curious - did I maybe miss some discussion about how poor 5.x was?

Thanks for your time

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


Re: ISO files...

2006-12-11 Thread Denise and Raul
I apologize for not getting back to you sooner. Thanks, for all who 
replied, but this solution was very helpful and I'm now operational.


Thanks again, Raul

Giorgos Keramidas wrote:

On 2006-11-02 22:05, Denise and Raul [EMAIL PROTECTED] wrote:
  

Hello,

I have ISO files saved on cd's.
1) 6.1-RELEASE-i386-bootonly.iso
2) 6.1-RELEASE-i386-disc1.iso
3) 6.1-RELEASE-i386-disc2.iso



if you have saved these ISO images as files on a CD-ROM, there is
something wrong here.  These are meant to be written as raw images
each on a separate CD-ROM disk.

Most CD-burning software has two modes:

  * One that lets you select files from a disk directory, and burn these
files as a collection of *files* on a CD-ROM disk.

  * One that lets you burn a CD-ROM disk *image* as an image.

You have to use the second mode, and burn 6.1-RELEASE-i386-disc1.iso on
a disk of its own.  Then 6.1-RELEASE-i386-disc2.iso on a second disk.

After you have done these two steps, you can insert the first disk in a
CD-ROM drive, and you will see the _contents_ of the CD-ROM disk :)



  



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


Dummynet fragmenting packets

2006-12-11 Thread Mike Murphree

Having an issue on a 5.3 system using ipfw and dummynet to create a
bandwidth limited and large latency pipe for a mpeg video stream.  If I
pass the packets between the two NICs without routing through a dummynet
pipe, it's fine.  If I route it through a pipe, it's fragmenting each
packet (client requested 1468 byte packets) into two packets, the second
packet with an offset of 1440 bytes.  Does anyone have any idea why it's
doing this, and have a solution to this problem?

Thanks,
Mike (please cc directly)


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


can I use perl substitution to handle hex chars?

2006-12-11 Thread Gary Kline

To the tool wizards out there,

Seems like lots of files I get off the net use \x80\x98 or the
like to denote various non-ascii characters.  Is there a way to
use perl (or any other unix tool) to replace
\xwhatever\xwhatever with, say whatever ASCII or ISO-8859-1
character or characters?

thanks in advance, guys,

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: skype and other *phones

2006-12-11 Thread Vulpes Velox
On Sun, 10 Dec 2006 14:09:03 -0500
Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 Hi people,
   hapy holiday! i have a question about the internet phone apps,
 what is the major difference between skype and other *phone system?
 and I know that bsd has limited support of sound card that works
 with skype in the past, I wonder if the support is getting better
 these days? and also how is the driver support for other *phone
 apps? thank you for your time!!

Been using it here with out a problem. :)

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


Re: skype and other *phones

2006-12-11 Thread Eric Kjeldergaard

On 12/10/06, Tsu-Fan Cheng [EMAIL PROTECTED] wrote:


Hi people,
  hapy holiday! i have a question about the internet phone apps, what is
the
major difference between skype and other *phone system? and I know that
bsd
has limited support of sound card that works with skype in the past, I
wonder if the support is getting better these days? and also how is the
driver support for other *phone apps? thank you for your time!!



If you are open to suggestions on other  phone systems, I have been very
much enjoying my gizmo account.  (gizmoproject.com)  I generally use ekiga
to connect to it, but the benefit of gizmo is that it uses the standard SIP
protocol for accessing the service.  Further, the rates are quite good.  For
free it gives services like incoming phone calls, voice mail, and free
SIP-SIP calls.  For a $.01/minute (for US numbers) fee it gives outgoing
to-landline calls.  Don't mean to sound like an advertisement, I just love
open standards being used.

Eric Kjeldergaard




--
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Seagate 4GB ATA-CF drive on IDE bus won't work

2006-12-11 Thread Albert Boeve
Thanks, Steve.
 
My microdrive works fine on the IDE bus - just not with FreeBSD :(
 
Works OK with NetBSD, OpenBSD and also Ubuntu linux...I will look closer at
the ata driver and see what the differences are to the NetBSD version.
 
Albert

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Steve Franks
Sent: Tuesday, 12 December 2006 12:48 PM
To: Albert Boeve
Cc: [EMAIL PROTECTED]
Subject: Re: Seagate 4GB ATA-CF drive on IDE bus won't work


I have a microdrive that's finicky also.  Seems the problem is it's a 1.8V
card, which is not standard (standard appears to be 5V or 3.3V).  It will
not work, period, in a CF-IDE converter, or in a PCMCIA-CF converter.
It works fine, however, in *some* USB card readers, namely the cheapo ones
off ebay, but not the expensive ones I bought at the local office supply
store.  I suspect that is the problem, at least it was for me. 

Steve


On 12/10/06, Albert Boeve [EMAIL PROTECTED] wrote: 

I want to install Freebsd 6.2 onto a seagate 4GB compact flash microdrive.

Neither FreeBSD 6.1 or 6.2-RC1 installers seem to detect the ATA-CF card on
the bus; although NetBSD was able to be installed on the drive and works OK.


I have tried installing the drive as ata0 master in two different machines;
both times NetBSD is able to boot off the drive -ie the hardware is working
fine - however the FreeBSD insaller does not detect the drive. 

Fitting the microdrive in a working FreeBSD machine as ata1 master does not
give any further debug info - no dmesg, sysctl seems to log the attachment
as failing, although it is detected by BIOS as ST64022CF. 

FreeBSD  6.2-RC1 FreeBSD 6.2-RC1 #0: Thu Nov 16 05:12:08 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

# atacontrol list
ATA channel 0:
Master: ad0 QUANTUM FIREBALLP KA6.4/A42.0400 ATA/ATAPI revision 4
Slave:  no device present
ATA channel 1:
Master: no device present
Slave:  acd0 201H ATA/ATAPI revision 0


NetBSD atactl gives: 

NetBSD 3.0.1 (GENERIC) #0: Thu Jul 13 23:43:47 UTC 2006

# atactl wd0 identify
Model: ST64022CF, Rev: 3.02, Serial #: 4NW03XLS
Device type: ATAPI, removable
Device capabilities:
DMA 
LBA
IORDY operation
Command set support:
NOP command (enabled)
READ BUFFER command (enabled)
WRITE BUFFER command (enabled)
look-ahead (enabled)
write cache (enabled) 
Power Management feature set (enabled)
SMART feature set (enabled)
FLUSH CACHE command (enabled)
Advanced Power Management feature set (enabled)
CFA feature set (enabled) 

Is there a simple fix to make FreeBSD ata recognize the drive?

NB there is a simmilar question about using the same card in a pccard
adapter,
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061937.html
which appears to have been resolved?

Thank You

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





-- 
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC 
http://www.lapalmadevices.com
(520) 312-0089 

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


Re: skype and other *phones

2006-12-11 Thread Renegade Penguin



Eric Kjeldergaard wrote:


If you are open to suggestions on other  phone systems, I have been very
much enjoying my gizmo account.  (gizmoproject.com)  I generally use 
ekiga
to connect to it, but the benefit of gizmo is that it uses the 
standard SIP
protocol for accessing the service.  Further, the rates are quite 
good.  For

free it gives services like incoming phone calls, voice mail, and free
SIP-SIP calls.  For a $.01/minute (for US numbers) fee it gives 
outgoing
to-landline calls.  Don't mean to sound like an advertisement, I just 
love

open standards being used.

Eric Kjeldergaard


Yes, but the gizmoproject is particularly onerous.  Look at the EULA:

http://www.gizmoproject.com/gizmo-end-user.html

Michael Robertson is the head of that project, IIRC.  Fairly nasty EULA 
for using such open terms.  Can't even redistribute the software.


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


Re: How does my computer work with an empty arp table?

2006-12-11 Thread Martin Alejandro Paredes Sanchez
El Lun 04 Dic 2006 08:42, [EMAIL PROTECTED] escribió:
 On Mon, Dec 04, 2006 at 10:26:46AM -0500, Lowell Gilbert wrote:
  [EMAIL PROTECTED] writes:
   My computer is connected to ISP via ADSL and works properly.
  
   I typed
  
   arp -a
  
   and saw an empty table, although I pinged successfully an Internet host
   one second ago.
  
   How does it work?
   $ ifconfig
   rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=8VLAN_MTU
   inet6 fe80::202:44ff:fe92:1875%rl0 prefixlen 64 scopeid 0x1 
   inet 192.168.1.2 netmask 0xff00 broadcast 192.168.1.255
 
  Maybe you are connected to your service provider by PPP-over-Ethernet?
  In that case, the PPP link (which doesn't need ARP) is your next-hop
  to the Internet, rather than the modem on the Ethernet link.

 Yes, you are right, I forgot about PPP. Many thanks.

Also, the ARP table only contain info of your subnet

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


  1   2   >