Re: mount_smbfs file name problem

2005-12-13 Thread Igor Robul
On Mon, Dec 12, 2005 at 12:10:01PM -0500, Incoming Mail List wrote:
 
 I've got a problem with file names containing : and ? characters when
 mounted via mount_smbfs.  I have two FBSD machines running SAMBA.  Machine-1
 mounts a file system from Machine-2 using mount_smbfs().  The ls() command
 converts a file name such as XX:YY to something like X~Y.  If I run tar()
 to backup XX:YY, it reports an error (tar: X~Y: no such file or directory).
AFAIK ':' in filenames _will_ cause problems on Windows. So I dont see
any reason share files with ':' via Samba
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slices

2005-12-13 Thread Sasa Stupar



--On 12. december 2005 19:29 -0500 Jerry McAllister 
[EMAIL PROTECTED] wrote:




On Mon, 12 Dec 2005 12:40:40 -0600
Kevin Kinsey [EMAIL PROTECTED] wrote:

 Sasa Stupar wrote:

  You can also do the same as I did. I have just configured one slice
  named / which
  takes all the space on hdd and now I don't need to worry about
  space shortage.


 OK then, but suppose we have some runaway process


The main two reasons for dividing up your FreeBSD disk in to partitions
rather than making just one big partition are to reduce the threat of
runaway processes and to manage backup and restore sizes.

Think those things out to meet your needs and resources.

jerry



OK. But then what would be ideal slice size for /, /var, /usr, /boot?

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


RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-13 Thread Ted Mittelstaedt


-Original Message-
From: Drew Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Monday, December 12, 2005 12:30 PM
To: Ted Mittelstaedt
Cc: Michael Vince; [EMAIL PROTECTED]; freebsd-questions@freebsd.org;
Kris Kennaway
Subject: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)


On 12/12/2005 8:13 AM Ted Mittelstaedt wrote:

Michael,

  Fundamentally, here's the problem Danial is claiming exists:

it takes a certain amount of time to get the packet clocked in
from the network into the ethernet receiver.  This is hardware
dependent and cannot be changed.

It takes a certain amount of time to get the packet out of
the hardware in the ethernet card into main ram, this also
hardware dependent and cannot be changed. (unless the device
driver is terribly inefficient, which we will assume it's not)

Once in main ram, the information in the packet has to go through
a number of code statements.  The more code statements the
longer the information in the packet is sitting around in
the FreeBSD system's memory.

It then takes a certain amount of time to get the information
out of main memory into the other sending ethernet nic's buffers,

and it takes time to get it out of the sending nic back to the
wire.

Danial is claiming the slowness is in the main ram section of
things, not in the ethernet driver code.

polling makes the ethernet driver more efficient at high data
rates, but it does nothing for the speed of processing within
the TCPIP stack itself.  At low data rates polling is less
efficient than the interrupt method.  And unless the nic driver
is terribly inefficient to start with, the time it adds to the
packet path in the system is minor compared to the time spent
in the TCP/IP stack.

Ted



Thanks for the explanation.  So would polling be beneficial or
detrimental for a 100 mbps Ethernet card?

Yes, if you were running 100Mbt's of bandwidth through it.

Not sure if 100 mbps is
considered high or low speed.  I'm specifically interested in
NetGear cards using the dc driver or DLink cards using the rl driver.


The rl chipset isn't known as a very good chipset. YMMV

Some of the Netgear cards use clone 21143 chipsets which are
extremely inferior to the real thing.  In particular if your
Netgear card is using a PNIC chipset it is pretty bad with serious
performance penalty.  This is documented in Section 4 of the dc manpage.

People seem to have good results with polling on the fxp cards.

Ted

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


RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-13 Thread Ted Mittelstaedt


-Original Message-
From: Danial Thom [mailto:[EMAIL PROTECTED]
Sent: Monday, December 12, 2005 1:35 PM
To: Drew Tomlinson; Ted Mittelstaedt
Cc: Michael Vince; [EMAIL PROTECTED]; freebsd-questions@freebsd.org;
Kris Kennaway
Subject: Re: Polling For 100 mbps Connections? (Was Re: Freebsd Theme
Song)




--- Drew Tomlinson [EMAIL PROTECTED]
wrote:

 On 12/12/2005 8:13 AM Ted Mittelstaedt wrote:


 Danial is claiming the slowness is in the main
 ram section of
 things, not in the ethernet driver code.

I don't think I'm claiming that at all.

Oh, really, do tell then:

The
slowness is in the latency and inefficiencies of
the scheduler and whatever other kernel stuff
(locking, general overheads).

Which runs in main ram...

The entire point of
the tests are that the managing of the packets is
a constant, in that its the same hardware and
mostly the same code.

What I said...

Now I suppose its possible
that the em driver could just be slower in 5.4
and 6.0, but the code is fundamentally the same,
so it should be a constant. So since the
processing of the packets is a constant, then if
you can process less packets on the same machine
the overhead of the OS must be the culprit.

And, where again does the OS do it's processing...

It
could be the code,

Well, if it's not, then your explanation and everything
you have said up to this point sure strongly implies it.

What's wrong Danial, now that you have actually had to
think about it, now realizing you have some holes in
your bitching?  Scared that I'm about ready to start
punching holes in your flimsy inferences?

Danial, you spewed some accusations about the core
team making FreeBSD's network performance slower in the
newer versions.  As I said before, you haven't posted
anything to back this up.  I know you think your misunderstood
but you fail to realize we all understand what your bitching
about very well, and are waiting for you to put your money
where your mouth is and start posting some repeatable tests.

Until then, your just puffing air.

And that goes for the rest of you claiming that the later
versions of FreeBSD's network performance are better.  You
too are puffing air.

Start showing some test results or go away.

Ted

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


Re: Bacula vs. Amanda vs. whatever ...

2005-12-13 Thread Andrea Venturoli

Kiffin Gish wrote:
I have a home network with two FreeBSD servers (web- and file-server), a number of Windows desktops and a wireless FreeBSD laptop all connected to one another using Samba. 


What is the best tool to create automatic central backups? For now I just want 
to make backups on disk but later using an external tape drive.

Some swear by Amanda, others insist Bacula works best with Samba, just curious 
is all.


Well, I'm using bacula with the following config:

a) 1 Windows client (only some data to backup);
b) 1 FreeBSD client/storage (I just backup /etc, /usr/local/etc, ... and 
it holds daily backup on a disk);
c) 1 FreeBSD client/storage (main big chunk of data to save and tape 
drive used monthly for full backups).


Initially it was not that easy to setup, but I must admin it's working 
very well now.

I haven't by now even considered the bare metal restore option.

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


Re: Bacula vs. Amanda vs. whatever ...

2005-12-13 Thread Wojciech Puchar

Kiffin Gish wrote:
I have a home network with two FreeBSD servers (web- and file-server), a 
number of Windows desktops and a wireless FreeBSD laptop all connected to 
one another using Samba. 
What is the best tool to create automatic central backups? For now I just 
want to make backups on disk but later using an external tape drive.


Some swear by Amanda, others insist Bacula works best with Samba, just


dump is OK for all of them. works fine.

it's sometimes good to look at simplest tools, as they are usually the 
best.



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


Lousy network performance ...

2005-12-13 Thread Kiffin Gish
I am having problems with a slow Internet DSL-connection, especially while
surfing around the web.

My service-provider claims that his network is just fine (of course!) and
that the problem is because of all the 'so-called junk' I have configured on
my home network on my side of the connection.

On my side of the adsl-modem/router I have a router which is connected
directly to two Windows XP desktops, via a switch to two FreeBSD machines
(webserver and fileserver) and via a wireless link my combo FreeBSD/Windows
XP laptop. I have Samba running for file exchange bweteen the Windows and
FreeBSD boxes and I have port 80 opened on the adsl-moden/router to allow
access to a couple of web sites I am running.

Is there some kind of way to prove my ISP is wrong by doing a trace? What
tools are available? How can I demonstrate that the bottleneck is not my
home network but the DSL-connection?

Thanks a lot in advance.

-- 
Kiffin Rex Gish
Gouda, The Netherlands

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


Re: Any idea why I get these in /var/log/messages?

2005-12-13 Thread Pietro Cerutti
On 12/13/05, Odhiambo Washington [EMAIL PROTECTED] wrote:
 Dec 11 23:44:45 beastie kernel: KLD mac_lomac.ko: depends on 
 kernel_mac_support - not available

 ... what could be causing it?

It seems related to Mandatory Access Control (Chap. 15 of the handbook).

The man pages of the mac_Iomac module explain quite well when/how it is used:

http://www.freebsd.org/cgi/man.cgi?query=mac_lomacsektion=4


 Thanks for any pointers.

 -Wash


Regards,


--
Pietro Cerutti
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp problem

2005-12-13 Thread Pietro Cerutti
On 12/13/05, Imran Imtiaz [EMAIL PROTECTED] wrote:
 I am running a ftp server on my computer it works fine if i do not enable the 
 firewall but as I enable the firewall on my system ftp doesn't works although 
 I have open port 21 in firewall. my ftp client do gets connected but when i 
 try to dir or any other commands its say no route. below is the output of my 
 ftp client
 C:\Documents and Settings\Asifftp darkstar.thelakecity.com.pk
 Connected to darkstar.thelakecity.com.pk.
 220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [202.59.74.139]
 User (darkstar.thelakecity.com.pk:(none)): anonymous
 331 Anonymous login ok, send your complete email address as your password.
 Password:
 230 Anonymous access granted, restrictions apply.
 ftp dir
 200 PORT command successful
 425 Unable to build data connection: No route to host
 ftp quti
 Invalid command.
 ftp quit
 221 Goodbye.

FTP works in a two-channel mode.
One channel is used for commands, while the other is the data channel,
where your files go through...

Example of sockstat on the server, during an ftp connection

COMMAND   PID FD  PROTOLOCAL ADDRESSFOREIGN ADDRESS
ftpd   55377 6 tcp4192.168.1.6:21 
192.168.1.3:58121
ftpd   55377 9 tcp4192.168.1.6:53808
192.168.1.3:60020

As you can see, the first line is the command channel (local port 21
used), while the second line is the data channel (local port 53808
(could be any)).

Your firewall accepts connections on port 21, but doesn't allow the
data channel to be extabilished.

Can you post the relevant lines in your firewall rules file?

--
Pietro Cerutti
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slices

2005-12-13 Thread Giorgos Keramidas
On 2005-12-13 09:36, Sasa Stupar [EMAIL PROTECTED] wrote:
 The main two reasons for dividing up your FreeBSD disk in to
 partitions rather than making just one big partition are to reduce
 the threat of runaway processes and to manage backup and restore
 sizes.

 Think those things out to meet your needs and resources.

 OK. But then what would be ideal slice size for /, /var, /usr, /boot?

That's not something that can be answered easily with a template
answer.  The best sizes are those that match your own needs and
preferences, but only you can describe what these are.'

Back when I bought a new, bigger disk, I wrote this post:

  
http://keramida.serverhive.com/weblog/archives/2004-10-26/daemonizing-a-new-disk

which includes a description of the partitions I used and why I chose
these sizes.

The tuning(7) manpage also has a good description of how to pick a good
disk partitioning scheme:

  
http://www.freebsd.org/cgi/man.cgi?query=tuningsektion=7apropos=0manpath=FreeBSD+6.0-RELEASE+and+Ports

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


ipfilter question

2005-12-13 Thread Elmer Rivera
hello,

my freebsd box is already setup and followed some of the docs on
setting up the firewall using ipfilter. question on logging.

setup /var/log/ipfilter.log as  my log file.
modified syslog.conf. its working now unfortunately, its loggin on
that file AND to my messages log file. is it possible to log ipfilter
log only to my log file?

thanks
--
Elmer Rivera, http://www.vizcayano.com, http://youand.i.ph
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Bridging VLAN's

2005-12-13 Thread Dave Raven
Hi all,
I've done some research on bridging vlans and can't get it right
with FreeBSD bridge. What I want to do is bridge an undefined number of
vlans through a BSD machine. For example. Vlan 10 from em0 out em1. 

Now I can't create each vlan and bridge those, because you can't have a
vlan10 bound to em0 and to em1, if you create different ones and bridge them
the packet comes in on the right vlan but leaves tagged for the wrong one.

I read a cisco book that suggests you can bridge normally (just em0,em1) if
you set the mtu to 1496, which didn't work. I also googled someone saying
1504 - also not working.

Does anyone have any advice?

Thanks
Dave

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


RE: FreeBSD router two DSL connections

2005-12-13 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Yance Kowara
Sent: Monday, December 12, 2005 6:47 PM
To: freebsd-questions@freebsd.org
Subject: Re: FreeBSD router two DSL connections



 Hmm, what about putting zebra into the picture
 ...
 a solution or chaos?
  
  What feature in Zebra exactly do you think will
help in this scenario?
  
  Ted
  ___

I am just crawling in the dark here...


Please, this is like trying to learn how to do open heart
surgery via e-mail.

It is somewhat insulting that you think that network
administrators have such boneheaded jobs that you could
actually learn networking fundamentals from posts on a
mailing list.

Please, do youself a favor and spend the next 3-6 months
immersed in a number of networking and routing fundamentals
books.

If the upstream packets can be send through a
supposedly working load-balancing FreeBSD router,

You can't load balance in this way, there is no such thing
as a working freebsd router in this kind of configuration.

it
will only handle upstream packets.., i.e. the router
may be able to balance the upstream packets...


No, it cannot - because it is still sourcing them from
two different IP addresses.

Now, who's going to handle the routing and balancing
the downstream packet? Would Zebra has such feature


Are both ISP's running Zebra?

I am sorry if it makes not much sense.

You need to learn about networking fundamentals, your
understanding of how networking operates is simply incorrect,
that is why it's not making sense.  Actually the funny thing
is that I understand what your asking, probably better than
you do.  And I keep telling you that it's impossible and why,
and you are not grokking the answers I'm giving you.

I just cannot make it any more basic as to why this will not
work.

I am just
trying to figure out what I can do to optimise two
ADSL uplinks. 


Internet Cafe's are not known for generating large
amounts of upstream traffic.  I doubt that upstream traffic
is bottlenecked.

If there are other things I can do to optimise it,
please give me some pointers.

Read some books on networking before trying to play
network administrator, please.

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


Re: FreeBSD router two DSL connections

2005-12-13 Thread Winelfred G. Pasamba
Ted,

Thanks for checking on me.  I've been only two days with pfSense, and
about 5 days with freebsd, and about 1.5 weeks with openbsd.

However i would like to point out that i did not use, or did not know how to
use, or have found the load balancing feature in the pfSense web
interface.  I also don't know if the load balancing mentioned in the docs
is the same that i used.  I was happy with pfSense because of the Packet
Filter port to freebsd.  I've been using Packet Filter of OpenBSD to load
balance traffic to the same ISP with two lines.  So far it looks like
OpenBSD's Packet Filter's packet round-robin'ing is working nicely with
FreeBSD.

On 12/13/05, Ted Mittelstaedt [EMAIL PROTECTED] wrote:



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Winelfred G.
 Pasamba
 Sent: Monday, December 12, 2005 8:26 AM
 To: Yance Kowara
 Cc: freebsd-questions@freebsd.org
 Subject: Re: FreeBSD router two DSL connections
 
 
 i use pfSense (www.pfsense.com)
 
 
 pfSense is a open source firewall derived from the m0n0wall
 operating system
 platform with radically different goals such as using Packet
 Filter, FreeBSD
 6.X (or DragonFly BSD when ALTQ and CARP is finished) ALTQ for excellent
 packet queueing and finally an integrated package management system for
 extending the environment with new features.
 then i edit /etc/pf.conf and paste the openbsd pf tutorial for load
 balancing outgoing traffic (
 http://www.openbsd.org/faq/pf/pools.html#outexample)
 
 then i pfctl -f /etc/pf.conf and watch the traffic on both WAN
 interfaces
 

 Sigh.

 THIS IS NOT LOAD BALANCING PLEASE QUIT BEING SLOPPY WITH YOUR
 NETWORKING TERMS

 I refer you to the pfsense website itself:

 http://faq.pfsense.org/index.php?sid=13525lang=enaction=artikelcat=6i
 d=18artlang=en

 Load balancing is on per connection basis, not a bandwidth basis.  All
 packets in a given flow will go over only one link.

 In other words, they are redefining the term load balancing into
 something that is not understood by any previously accepted definition
 of load balancing, so that people like you can think your getting
 something for nothing.

 Once more - FTP to a remote site with your dual DSL links.  Copy
 a FreeBSD ISO file to there.  Watch as the upload speed IS NO FASTER
 THAN ONE OF THE LINKS.

 Load balancing is accomplished with multilink PPP and that is in
 FreeBSD, I have run it before over dual modem links and it works
 great.  But the links must terminate at the same ISP.

 Ted




--
Seek ye first the kingdom of God and all these things shall be added unto
you.

Winelfred G. Pasamba
Adventist University of the Philippines
Computer Science Department, AUP Online Information System
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: moused hanging

2005-12-13 Thread Anthony M. Agelastos


On Dec 12, 2005, at 10:02 AM, Lowell Gilbert wrote:


Anthony Agelastos [EMAIL PROTECTED] writes:


Hello everyone,

For an unknown reason, my mouse lately has been hanging. It has  
hung with
X11 running and without X11 running. To fix it, I get to a prompt  
(usually
via Ctrl+Alt+F1 as it tends to happen primarily when in X) and, as  
root, I

execute

% kill mousedPID
% moused -p /dev/psm0
% vidcontrol -m on

and, if there is music playing, it slurs for several seconds when I
initially move the mouse, and then it is back to working along  
with the
mouse. If memory serves, this problem started occurring when I  
configured
the mouse to use the scrollwheel. To do this, I followed the  
instructions

per the FreeBSD FAQ.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#X-AND- 
WHEEL


What the FAQ mentions is only related to X11. It has failed on me  
once when
I booted up FBSD prior to any startx-type of command being run. I  
have been
running the same version of 6.0-STABLE for over a month now and  
this problem
has started noticeably occurring a couple of weeks ago. Does  
anyone have any
ideas? Some additional pertinent information is below. Thank you  
to everyone

who helps and has helped make FreeBSD a great community.


It sounds like it might be an interrupt issue.
Is the mouse sharing an interrupt with anything?

How could I check that? I do apologize for my ignorance with this.



uname -a
FreeBSD ast.home.iq 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Nov  5  
21:29:34

EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386

moused -p /dev/psm0 -i type

sysmouse

cat /etc/rc.conf | grep moused

moused_enable=YES
moused_type='auto'
moused_port='/dev/psm0'

I wanted to mention here that when I change moused_type from auto  
to ps/2,
it appears to behave more stable. However, in doing this, the  
scrollwheel
ceases to work in X11. I wanted to also mention that I checked out  
the FAQ,

Google, and the Handbook and came up empty with all of them .


I'm not surprised; I don't think I've heard of this behaviour before.


Prior to your email, I decided to update my 6.0-STABLE box to a newer  
version of 6.0-STABLE and, so far anyways, it seems to have fixed the  
problem. Thank you for your reply. I would still like to know the  
question I asked above regarding the interrupts if at all possible. 
___

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


Re: Lousy network performance ...

2005-12-13 Thread N. Raghavendra
At 2005-12-13T10:15:48+01:00, Kiffin Gish wrote:

 My service-provider claims that his network is just fine (of
 course!) and that the problem is because of all the 'so-called junk'
 I have configured on my home network on my side of the connection.

You could use Iperf (http://dast.nlanr.net/Projects/Iperf/), if your
ISP agrees to install an Iperf server at his end of the connection.
When we had a similar problem here, the ISP refused to do so.  Since
the ISP believed only readings from MS Windows/Linux (and not *BSD),
we put a machine running Linux at our end, and by downloading large
files with wget(1) from high bandwidth servers like `kernel.org',
convinced them that we were not getting what we should have been.

Raghavendra.

-- 
N. Raghavendra [EMAIL PROTECTED] | See message headers for contact
Harish-Chandra Research Institute   | and OpenPGP details.

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


port math/maxima broken....

2005-12-13 Thread Mikael Backman

Hi,
Is there anybody who knows when/if this port will be fixed?
Is there any similar app in the ports tree?
/Mikael
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: resolve appends domain section of hostname to non-existent domains

2005-12-13 Thread Ruben Bloemgarten
It is, combined with a wildcard in dns. Thanks for the input. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Lowell Gilbert
Sent: December 12, 2005 3:47 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: resolve appends domain section of hostname to non-existent
domains

Ruben Bloemgarten [EMAIL PROTECTED] writes:

 Hi all, 
 
  
 
 Could anyone let me know what's misconfigured here:
 
  
 
 When I ping from say server2 # ping jkhdsfkhdsafhjsahfdhksa.com I get the
 following reply :
 
  
 
 PING jkhdsfkhdsafhjsahfdhksa.com.mydomain2.com (ip.of.server.1): 56 data
 bytes
 
  
 
 64 bytes from ip.of.server.1: icmp_seq=0 ttl=64 time=0.594 ms
 
 64 bytes from ip.of.server.1: icmp_seq=1 ttl=64 time=0.427 ms
 
  
 
 The same happens from server1; it appends it's domain name to the
incorrect
 domain
 
  
 
 # ping jkhdsfkhdsafhjsahfdhksa.com
 
  
 
 PING jkhdsfkhdsafhjsahfdhksa.com.mydomain1.com (ip.of.server.1): 56 data
 bytes
 
  
 
 64 bytes from ip.of.server.1: icmp_seq=0 ttl=64 time=0.594 ms
 
 64 bytes from ip.of.server.1: icmp_seq=1 ttl=64 time=0.427 ms
 
  
 
  
 
 Server2 is running multiple jails behind ipf/ipnat on 5.4-Release.
 
 Server1 is not running jails or ipf/nat. on 5.2.1-Current 
 
  
 
 Server1 responds on both systems, which are in the same subnet at the same
 colo.
 
  
 
 A dig from both systems does reply correctly, stating that
 jkhdsfkhdsafhjsahfdhksa.com does not exist. Which leads me to feel that it
 would most probably be hosts file related. As the hosts file on both
systems
 are not doing anything weird i.e.:
 
 Server2: ip.natted.lan server2 server2.mydomain2.com
server2.mydomain2.com.
 
 Server1: ip.static.wan server1 server1.mydomain1.com
server2.mydomain2.com.
 
  
 
 Although, as dns has already taken place (on existing domains it does
 resolve correctly), it would seem that something is happening after
 hosts-dns- (not using nis). 
 
  
 
  
 

Isn't this just the search parameter for resolv.conf(5)?


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date: 12/09/2005


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date: 12/09/2005
 

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


Help reqd: Configuring sppp

2005-12-13 Thread rashmi ns
Hi,

I am facing problem in using sppp.

Both local system amd remote systems are using the sppp.

My questions are

1.Can we use sppp as PPP server?
2.If answer to first question is yes ,how can I do that?

I tried out the following commands.

$ifconfig  hdlc0 up

hdlc0 is the PPP interace created after sppp_attach

After this command interface is sending  LCP-CONF-REQUEST.
Also getting the LCP-CONF-ACK from the remote system.

Sending and receiving of REQ and ACK is going on ,but after getting
ACK sppp is not sending next phase (IPCP) packet to remote system.

Pls  help me in fixing this.Pls let me know any pointers regarding this.


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


Re: ipfilter question

2005-12-13 Thread Pietro Cerutti
On 12/13/05, Elmer Rivera [EMAIL PROTECTED] wrote:
 hello,

Hello,


 my freebsd box is already setup and followed some of the docs on
 setting up the firewall using ipfilter. question on logging.

 setup /var/log/ipfilter.log as  my log file.

How/where did you set this up?

 modified syslog.conf.

How did you modified this?

 its working now unfortunately, its loggin on
 that file AND to my messages log file. is it possible to log ipfilter
 log only to my log file?

Yes, it is possible.

Here's my setup:

/etc/rc.conf
ipmon_enable=YES
ipmon_flags=-Dns

/etc/syslog.conf
security.*  /var/log/ipfilter.log


Make sure you don't have any other security.* facility specified in
/etc/syslog.conf


 thanks
 --
 Elmer Rivera, http://www.vizcayano.com, http://youand.i.ph


Hope this helps,

--
Pietro Cerutti
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Policy on the list

2005-12-13 Thread Pietro Cerutti
Hi list,
just a little question about how to behave on the list(s):

is it correct / useful / polite to close a thread marking it as
[solved] or something like this, or it's just a waste of time / space
/  ?

I think it could be useful, so other people wanting to help don't
waste time trying to give further advices, and people needing help in
that subject can see that the problem has been solved.

Thanx,

--
Pietro Cerutti
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port math/maxima broken....

2005-12-13 Thread Pietro Cerutti
On 12/13/05, Mikael Backman [EMAIL PROTECTED] wrote:
 Hi,
 Is there anybody who knows when/if this port will be fixed?
 Is there any similar app in the ports tree?
 /Mikael

You should get in touch with the mantainer of the port,
sfatslappydotorg, or try to post it on freebsd-ports.

Regards,

--
Pietro Cerutti
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Policy on the list

2005-12-13 Thread Giorgos Keramidas
On 2005-12-13 13:41, Pietro Cerutti [EMAIL PROTECTED] wrote:
 Hi list,
 just a little question about how to behave on the list(s):

 is it correct / useful / polite to close a thread marking it as
 [solved] or something like this, or it's just a waste of time / space
 /  ?

 I think it could be useful, so other people wanting to help don't
 waste time trying to give further advices, and people needing help in
 that subject can see that the problem has been solved.

It's nice, IMHO.  Exactly for the reasons you describe.

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


Re: Slices

2005-12-13 Thread Sasa Stupar



--On 13. december 2005 12:36 +0200 Giorgos Keramidas 
[EMAIL PROTECTED] wrote:



On 2005-12-13 09:36, Sasa Stupar [EMAIL PROTECTED] wrote:

The main two reasons for dividing up your FreeBSD disk in to
partitions rather than making just one big partition are to reduce
the threat of runaway processes and to manage backup and restore
sizes.

Think those things out to meet your needs and resources.


OK. But then what would be ideal slice size for /, /var, /usr, /boot?


That's not something that can be answered easily with a template
answer.  The best sizes are those that match your own needs and
preferences, but only you can describe what these are.'

Back when I bought a new, bigger disk, I wrote this post:


http://keramida.serverhive.com/weblog/archives/2004-10-26/daemonizing-a-n
ew-disk

which includes a description of the partitions I used and why I chose
these sizes.

The tuning(7) manpage also has a good description of how to pick a good
disk partitioning scheme:


http://www.freebsd.org/cgi/man.cgi?query=tuningsektion=7apropos=0manpa
th=FreeBSD+6.0-RELEASE+and+Ports



Thanx. This is very good explanation.

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


Re: Lousy network performance ...

2005-12-13 Thread Bob Lee
Quoting Kiffin Gish [EMAIL PROTECTED]:
 I am having problems with a slow Internet DSL-connection, especially while
 surfing around the web.

Try starting with bing and choose some points you can test from both
in and out of your local network. Bing should be in the ports
collection.

Bob
 
 -- 
 Kiffin Rex Gish
 Gouda, The Netherlands
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
  Robert Lee  PGP: D3EE2268 pgp.mit.edu
  I prefer email in plain text


pgpP02KuGX9sF.pgp
Description: PGP signature


RE: ipfilter question

2005-12-13 Thread fbsd_user
In FBSD 4.11 and older, ipfilter logged to local0.
Then in 5.4 it was changed to security.
Now in 6.0 it has reverted back to logging to local0.
The /etc/syslog.conf file is where you define the log files.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Pietro
Cerutti
Sent: Tuesday, December 13, 2005 7:39 AM
To: Elmer Rivera; FreeBSD
Subject: Re: ipfilter question


On 12/13/05, Elmer Rivera [EMAIL PROTECTED] wrote:
 hello,

Hello,


 my freebsd box is already setup and followed some of the docs on
 setting up the firewall using ipfilter. question on logging.

 setup /var/log/ipfilter.log as  my log file.

How/where did you set this up?

 modified syslog.conf.

How did you modified this?

 its working now unfortunately, its loggin on
 that file AND to my messages log file. is it possible to log
ipfilter
 log only to my log file?

Yes, it is possible.

Here's my setup:

/etc/rc.conf
ipmon_enable=YES
ipmon_flags=-Dns

/etc/syslog.conf
security.*  /var/log/ipfilter.log


Make sure you don't have any other security.* facility specified in
/etc/syslog.conf


 thanks
 --
 Elmer Rivera, http://www.vizcayano.com, http://youand.i.ph


Hope this helps,

--
Pietro Cerutti
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
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: ftp problem

2005-12-13 Thread Pietro Cerutti
On 12/13/05, Imran Imtiaz [EMAIL PROTECTED] wrote:

 here is my whole firewall script

 #
 # No restrictions on Inside Lan Interface for private network
 # Not needed unless you have Lan
 #
 # block messenger to log from proxy
 block in log first quick on rl0 proto tcp from any to 207.46.0.0/16 port =
 80
 pass out quick on rl0 all
 pass in quick on rl0 all
 #
 # No restrictions on Loopback Interface
 #
 pass in quick on lo0 all
 pass out quick on lo0 all
 #
 # Interface facing Public Internet (Outbound Section)
 # Interrogate session start requests originating from behind the
 # firewall on the private network
 # or from this gateway server destine for the public Internet.
 #
 # Allow out access to my ISP's Domain name server.
 # xxx must be the IP address of your ISP.s DNS.
 # Dup these lines if your ISP has more than one DNS server
 # Get the IP addresses from /etc/resolv.conf file
 # I allow all dns traffice cause I am running my own DNS Server
 pass out quick on xl0 proto tcp from any to any port = 53 flags S keep state
 pass out quick on xl0 proto udp from any to any port = 53 keep state
 # Allow msn messenger
 pass out log first quick on xl0 proto tcp from any to any port = 1863 flags
 S keep state
 pass out log first quick on xl0 proto udp from any to any port = 1863 keep
 state
 # This rule is not needed for .user ppp. type connection to the
 # public Internet, so you can delete this whole group.
 # Use the following rule and check log for IP address.
 # Then put IP address in commented out rule  delete first rule
 #pass out log quick on xl0 proto udp from any to any port = 67 keep state
 #pass out quick on xl0 proto udp from any to z.z.z.z port = 67 keep state

 # Allow out non-secure standard www function
 pass out quick on xl0 proto tcp from any to any port = 80 flags S keep state
 # Allow out windows update time protocol
 pass out quick on xl0 proto udp from any to any port = 123 keep state
 # Allow out secure www function https over TLS SSL
 pass out quick on xl0 proto tcp from any to any port = 443 flags S keep
 state
 # Allow out send  get email function
 pass out quick on xl0 proto tcp from any to any port = 110 flags S keep
 state
 pass out quick on xl0 proto tcp from any to any port = 25 flags S keep state
 # Allow out Time
 pass out quick on xl0 proto tcp from any to any port = 37 flags S keep state
 # Allow out Mdaemon World Client traffic
 pass out quick on xl0 proto tcp from any to any port = 3000 flags S keep
 state
 # Allow out eDonkey
 # pass out quick on xl0 proto tcp from any to any port = 4661 flags S keep
 state
 # pass out quick on xl0 proto udp from any to any port = 4661 keep state
 # pass out quick on xl0 proto tcp from any to any port = 4662 flags S keep
 state
 # pass out quick on xl0 proto udp from any to any port = 4662 keep state
 # Allow out Dictionary Protocol which works on port 2628
 pass out quick on xl0 proto tcp from any to any port = 2628 flags S keep
 state
 # Allow out nntp news
 pass out quick on xl0 proto tcp from any to any port = 119 flags S keep
 state
 # Allow out gateway  LAN users non-secure FTP ( both passive  active
 modes)
 # This function uses the IPNAT built in FTP proxy function coded in
 # the nat rules file to make this single rule function correctly.
 # If you want to use the pkg_add command to install application packages
 # on your gateway system you need this rule.
 pass out quick on xl0 proto tcp from any to any port = 21 flags S keep state
 # Allow out secure FTP, Telnet, and SCP
 # This function is using SSH (secure shell)
 pass out quick on xl0 proto tcp from any to any port = 22 flags S keep state
 # Allow out non-secure Telnet
 pass out quick on xl0 proto tcp from any to any port = 23 flags S keep state
 # Allow out FreeBSD CVSUP function
 pass out quick on xl0 proto tcp from any to any port = 5999 flags S keep
 state
 # Allow out ping to public Internet
 pass out log first quick on xl0 proto icmp from any to any keep state
 # Allow out whois for LAN PC to public Internet
 pass out quick on xl0 proto tcp from any to any port = 43 flags S keep state
 # Block and log only the first occurrence of everything
 # else that.s trying to get out.
 # This rule enforces the block all by default logic.
 block out log first quick on xl0 all
 #
 # Interface facing Public Internet (Inbound Section)
 # Interrogate packets originating from the public Internet
 # destine for this gateway server or the private network.
 #
 # Block all inbound 

Re: Problem installing devel/pear

2005-12-13 Thread Uwe Laverenz
On Tue, Dec 13, 2005 at 02:12:24PM +1300, Tom Munro Glass wrote:

 Stop in /ports/devel/pear.
 
 Can someone please tell me how to fix this?

I have the same problem on two machines and I don't have a solution for
this, but there's a thread about this in the @ports mailing list.

Uwe

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


Re: ftp problem

2005-12-13 Thread Pietro Cerutti
On 12/13/05, Imran Imtiaz [EMAIL PROTECTED] wrote:
 they are comming on xl0 interface

Then you should enable in/outbound traffic on your xl0 interface, for
the ports from 49152 through 65535, used for the data-channel
connection.

--
Pietro Cerutti
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-13 Thread Drew Tomlinson

Ted Mittelstaedt wrote, On 12/13/2005 12:44 AM:

 


-Original Message-
From: Drew Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Monday, December 12, 2005 12:30 PM
To: Ted Mittelstaedt
Cc: Michael Vince; [EMAIL PROTECTED]; freebsd-questions@freebsd.org;
Kris Kennaway
Subject: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)


On 12/12/2005 8:13 AM Ted Mittelstaedt wrote:

   


Michael,

Fundamentally, here's the problem Danial is claiming exists:

it takes a certain amount of time to get the packet clocked in
 


from the network into the ethernet receiver.  This is hardware
   


dependent and cannot be changed.

It takes a certain amount of time to get the packet out of
the hardware in the ethernet card into main ram, this also
hardware dependent and cannot be changed. (unless the device
driver is terribly inefficient, which we will assume it's not)

Once in main ram, the information in the packet has to go through
a number of code statements.  The more code statements the
longer the information in the packet is sitting around in
the FreeBSD system's memory.

It then takes a certain amount of time to get the information
out of main memory into the other sending ethernet nic's buffers,

and it takes time to get it out of the sending nic back to the
wire.

Danial is claiming the slowness is in the main ram section of
things, not in the ethernet driver code.

polling makes the ethernet driver more efficient at high data
rates, but it does nothing for the speed of processing within
the TCPIP stack itself.  At low data rates polling is less
efficient than the interrupt method.  And unless the nic driver
is terribly inefficient to start with, the time it adds to the
packet path in the system is minor compared to the time spent
in the TCP/IP stack.

Ted


 


Thanks for the explanation.  So would polling be beneficial or
detrimental for a 100 mbps Ethernet card?
   



Yes, if you were running 100Mbt's of bandwidth through it.
 



I assume you mean yes it's beneficial?  :)


Not sure if 100 mbps is
considered high or low speed.  I'm specifically interested in
NetGear cards using the dc driver or DLink cards using the rl driver.

   



The rl chipset isn't known as a very good chipset. YMMV
 



Yeah, I've heard that a lot.  It was an old card I had lying around and 
it seems to work OK for me.  I'm not using it for anything other that 
connecting to a 802.11b wireless bridge.  Very little traffic.



Some of the Netgear cards use clone 21143 chipsets which are
extremely inferior to the real thing.  In particular if your
Netgear card is using a PNIC chipset it is pretty bad with serious
performance penalty.  This is documented in Section 4 of the dc manpage.
 



This is disapointing.  I was under the impression that NetGear cards 
were pretty good.  But now I looked closer at dmesg.boot and see I have 
the PNIC chipset you mention.  I'll read the dc man page to see what 
penalties I'm suffering.



People seem to have good results with polling on the fxp cards.
 



Ah, the built in interface on a HP e60 server I have.  It's an old dog 
used as a file server.  It has been nothing but reliable and is still 
chuggin' along just fine.  I'll enable polling on it and see if there's 
any noticeable improvement in transfer rates.  The machine that 
typically is used for large file transfers to and from the e60  is a 
Windows XP box that has a Nvidia Nforce 4 chipset and whatever 
intergrated ethernet port that comes with that chipset.  Are there any 
known issues with this setup that would invalidate my test?


Thanks again for the info.

Drew


Ted

 




--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com 


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


[LONG] vmstat: What I/O is blocked and how to fix it?

2005-12-13 Thread Mark Bucciarelli
On two occasions recently, vmstat has showed me that a 
number of processes are blocked due to I/O.  At the same 
time, the number of disk transactions per second reported is 
a small fraction of the disk's capability.

I am thinking some kind of VM config will help, but based on what 
I have read, it is almost always best to let the default kernel 
behavior do its thing.  

Setup: 

Dual PIII 1.0 GHz (256MB L1 and L2 cache)
3GB RAM 
custom kernel (SMP + PF)
5.4-RELEASE
one intel fxp0 network interface used (second unused)


Case 1: (da0 36GB SCSI)

The first case is simple: running spamd-setup to load 
the huge Composite Blacklist into spamd.  The only other 
things running are sshd and spamd itself.

When I run vmstat (vmstat -w 1 -c 10 output attached), 
it shows ten processes blocked due to I/O, 1 runnable 
and a total of four disk transactions during this 
particular ten-second interval.  

Accoring to postmark [1] da0 is capable of 250 
transactions per second.

Interrupts look fine (200 of the 300/sec is the clock, 
right?).

No swapping.  No network traffic to speak of.

High CPU usage.

Paging looks really high to me.  I have plenty of RAM 
and swap--so why is it so high?  

Is there a kernel param I can tweak to improve 
performance? 

Note:   While this was running, I tried running vmstat 
-m and got the kmem_map too small error.  (I 
read the FAQ entry and haven't yet rebuilt the 
kernel using VM_KMEM_SIZE_MAX.)

Should I make VM_KMEM_SIZE_MAX 400MB as mentioned in the FAQ?

Any other kernel settings to switch from defaults when I 
build the kernel?


Case 2: (mirror/gm0, da0 + da1 300GB SCSI)

This case is more complex and more important.  This box 
was heavily loaded, running SpamAssassin + ClamAv in one 
jail, Courier-MTA + MySql in another, and dspamd + pf in 
the jail host.  

It was processing about one incoming email per second, 
and had 20,000 entries in the spamd greylist and 4,000 
in the whitelist.  The black list was not loaded.

Courier-authlib was using MySQL to figure out where to 
deliver the mail to for each of 20,000 virtual users.

Courier-MTA was calling the ClamAV daemon via TCP/IP 
from a courier filter and calling SpamAssassin via 
TCP/IP from maildrop.

Spamd (as in OpenBSD, not Apache) and courier were 
hitting the disk hard--I watched top in m mode [2] and 
over a five minute period these two apps had about 
pretty much 50% each of the WRITES.

The only thing that jumps out at me is that when things 
finally do get written to disk, the context switches go 
really high.

Is this a VM issue of some sort?  The disk transactions 
per second are really low; this 300GB SCSI can do 
730/sec according to postmark (well, this was testing on 
a single disk not with the RAID1 gmirror).


Thanks for any tips.

m

[1] /usr/ports/benchmarks/postmark 

[2] Where can I find docs on what the columns mean in top's 
m mode?
 procs  memorypage  disks faults   cpu
 r  b w avmfreflt  re  pi  pofr  sr da0 da1   in   sy  cs us sy 
id
 1 10 0  190424 1653924  1065   0   0   0  1337   0   0   0  796 2931 1971 3  8 
89
 1 10 0  190520 1653824 17407   0   0   0 17401   0   0   0  356  111 280 44 56 
 0
 1 10 0  167376 1676992 23264   0   0   0 23264   0   0   0  359  119 301 40 23 
37
 1 10 0  190808 1659240 27728   0   0   0 29152   0   0   0  351  114 297 39 14 
47
 1 10 0  190936 1676864 18992   0   0   0 17544   0   4   0  352  115 286 39 45 
17
 1 10 0  191032 1676808 17586   0   0   0 17586   0   0   0  349  115 291 41 52 
 7
 1 10 0  191160 1658572 28025   0   0   0 29374   0   0   0  347  114 270 42 10 
47
 1 10 0  191320 1676668 24949   0   0   0 23576   0   0   0  346  122 280 36 16 
47
 1 10 0  191384 1652968 17730   0   0   0 17724   0   0   0  350  111 278 41 59 
 0
 1 10 0  191512 1665912 20409   0   0   0 23688   0   0   0  373  113 304 39 40 
21
 procs  memory   page disks faults cpu
 r  b w avm fre  flt  re  pi  po   fr  sr da0 da1   insycs us 
sy id
 0 27 0  345932 2622260  333   0   0   0  318   0   0   0  504  1261   842  8  
3 89
 0 25 0  341644 2622880   78   0   0   0  215   0   0   0  535   195   575  0  
5 95
 0 25 0  341644 26228800   0   0   00   0   0   0  455   159   458  0  
6 94
 0 25 0  341644 26228805   0   0   05   0   5   5  488   165   572  0  
4 96
 1 25 0  343856 2622408  270   0   0   0  126   0   3   4  472   867   706  1  
7 92
 0 28 0  355672 2620588 2356   0   0   0 1701   0  44  44  749  6224  1988 24 
13 63
 1 29 0  357616 2620356 1961   0   0   0 1757   0  44  44  819  7174  2333 46 
15 39
 1 29 0  357620 2620360  809   0   0   0  735   0  25  25  700  2694  1247 65  
8 27
 0 29 0  

Re: grep'ping the ps output....

2005-12-13 Thread Sergey Zaharchenko
Hello Eric!

Mon, Dec 12, 2005 at 10:04:51AM -0600 you wrote:

 I was wondering if someone could explain why it is sometimes there and 
 not other times.

Sometimes the ps process manages to catch the system state when grep has
not been started yet by the shell. Sometimes it doesn't.

 And how I should correctly go about detecting if the 
 process is running before I perform my action.

You may use the -c flag of ps:

 -c  Change the ``command'' column output to just contain the exe-
 cutable name, rather than the full command line.

Like:

[EMAIL PROTECTED]:~ ps axc |grep init
1  ??  ILs0:00,00 init

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpMqVIJl7TcG.pgp
Description: PGP signature


RE: ftp problem

2005-12-13 Thread fbsd_user
Opening the high order ports is a security risk. This is a long
standing problem with the FTP protocol.  If you are going to have a
FTP server on your FBSD box being accessible from the public
internet, you should be using the built in FTP proxy in ipfilter
firewall. The ftp proxy option only opens the single ftp data high
order port number being used.  This is much more sure than exposing
all the high order ports.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Pietro
Cerutti
Sent: Tuesday, December 13, 2005 9:09 AM
To: Imran Imtiaz; FreeBSD
Subject: Re: ftp problem


On 12/13/05, Imran Imtiaz [EMAIL PROTECTED] wrote:
 they are comming on xl0 interface

Then you should enable in/outbound traffic on your xl0 interface,
for
the ports from 49152 through 65535, used for the data-channel
connection.

--
Pietro Cerutti
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
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: grep'ping the ps output....

2005-12-13 Thread Eric Schuele

Sergey Zaharchenko wrote:

Hello Eric!

Mon, Dec 12, 2005 at 10:04:51AM -0600 you wrote:


I was wondering if someone could explain why it is sometimes there and 
not other times.



Sometimes the ps process manages to catch the system state when grep has
not been started yet by the shell. Sometimes it doesn't.


And how I should correctly go about detecting if the 
process is running before I perform my action.



You may use the -c flag of ps:

 -c  Change the ``command'' column output to just contain the exe-
 cutable name, rather than the full command line.

Like:

[EMAIL PROTECTED]:~ ps axc |grep init
1  ??  ILs0:00,00 init



Yes... Of course.  That's the solution I'm looking for.

Good thing I read over that man page before I posted my msg... Or I 
could've embarrassed myself.  :}


Thanks.

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


Re: Slices

2005-12-13 Thread RW
On Tuesday 13 December 2005 10:36, Giorgos Keramidas wrote:

  OK. But then what would be ideal slice size for /, /var, /usr, /boot?

There's no need for a boot partition; that's a Linux practice.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-authlib-0.58 dumps core at login

2005-12-13 Thread Louis J. LeBlanc
On Sun, December 11, 2005 9:44 pm, Louis LeBlanc wrote:
 Hey folks.

 Is it me, or is the courier-authlib port the absolute worst thing to
 upgrade?  It seems like *every* single time I try to upgrade this
 port, I wind up with nobody being able to log into my courier
 installation.  Usually, it's a simple matter of a simple manual
 restart of the daemon (it shuts down fine at deinstallation, but won't
 start back up when portupgrade is used), sometimes it's a minor config
 tweak.

 The thing is I keep forgetting this little issue for some stupid
 reason, and this time, I've got the darn thing dumping core every time
 someone tries to log in.

 The ports/security/courier-authlib-base/ port installs without any
 problems, but it only builds and installs the libauthpam.so module.
 This is fine, I guess, since I've removed all the other modules from
 the authmodulelist config - that's the only one it ever used before
 anyway.

 So, now I've gone through the whole fiasco of re-installing my entire
 courier-* setup, verifying ALL the configs for authdaemonrc, imapd,
 and imapd-ssl.  Still, authdaemond dumps core anytime someone tries to
 log in.

 Anyone else see anything wierd with courier-authlib-base-0.58?

 I have googled for it, and all I get are links to the various copies
 of the ports/UPDATING file.  Of course, it contains all the keywords I
 can come up with, but none are relevant to the recent issue - and the
 current UPDATING file has nothing about the latest courier-authlib
 update.

 BTW, I'm the only one on the system that can get mail, because I'm
 using mutt.  My Thunderbird and Squirrelmail users cannot log into
 either imap service (imapd with squirrelmail, imapd-ssl remotely).
 So, this is a little annoying, and probably a bit urgent.

 I have the entire port configuration output if it's of any help.  It
 looks like the config process cycles through 12 times.

 Any help would be appreciated.


Well, it's been a couple days with nothing but an offlist warning that MD5
hashes are not safe anymore.  Of course, I already knew this, which is why
I explicitly mentioned that the hash had been changed (thanks all the same
IR).  At this point I have to assume nobody else has seen this problem.  I
finally decided to simply drop back to version 0.57 yesterday, so my other
users are back to getting email.

RANT
I have to say, I'm a little annoyed with the regular problems upgrading
the courier-auth packages, but I also recognize that it's not like I'm
paying for the software, service or support.  That said, I'm still more
than happy with the courier server.  I'll just have to remember to be more
careful with this upgrade in the future.  Hopefully this message in the
archives will help others avoid the same headaches until the auth package
catches up with the server package.
/RANT

Thanks all.

Lou

-- 
Louis LeBlanc [EMAIL PROTECTED]
Fully Funded Hobbyist,   KeySlapper Extrordinaire :þ
http://www.keyslapper.net   Ô¿Ô¬

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


Re: Slices

2005-12-13 Thread Pietro Cerutti
On 12/13/05, RW [EMAIL PROTECTED] wrote:
 On Tuesday 13 December 2005 10:36, Giorgos Keramidas wrote:

   OK. But then what would be ideal slice size for /, /var, /usr, /boot?

 There's no need for a boot partition; that's a Linux practice.

You're right, but I don't feel it as a bad practice... mounting it
read-only could prevent from many problems, don't you think?

--
Pietro Cerutti
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD router two DSL connections

2005-12-13 Thread Gayn Winters
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ted 
 Mittelstaedt
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Winelfred G.
 Pasamba
 Sent: Monday, December 12, 2005 8:26 AM
 To: Yance Kowara
 Cc: freebsd-questions@freebsd.org
 Subject: Re: FreeBSD router two DSL connections
 
 i use pfSense (www.pfsense.com)
 

 Sigh.
 
 THIS IS NOT LOAD BALANCING PLEASE QUIT BEING SLOPPY WITH YOUR
 NETWORKING TERMS
 
 I refer you to the pfsense website itself:

http://faq.pfsense.org/index.php?sid=13525lang=enaction=artikelcat=6;
id=18artlang=en

 Load balancing is on per connection basis, not a bandwidth basis.
All
 packets in a given flow will go over only one link.

 In other words, they are redefining the term load balancing into
 something that is not understood by any previously accepted definition
 of load balancing, so that people like you can think your getting
 something for nothing.

 Once more - FTP to a remote site with your dual DSL links.  Copy
 a FreeBSD ISO file to there.  Watch as the upload speed IS NO FASTER
 THAN ONE OF THE LINKS.

 Ted

I just looked at the pfsense site, and for an Internet Café, it looks
promising.  Two DSL lines to different ISP's does give a small amount of
redundancy.  Whether you use two routers or pfsense, you get some sort
of load sharing but not load balancing.  A more appropriate
performance test for an Internet Café would be:

Take a dozen PC's each to transfer a FreeBSD 6.0R ISO file from a dozen
different mirror sites.  Start them at the same time and see how long
the all of the transfers take.  

You can test one DSL connection at N kbps and two DSL connections both
at N kbps.  You'll undoubtedly see the effect of load sharing if the
dozen PC's are more or less evenly divided over the two DSL lines.

The redundancy isn't great, and you will pay for it.  Namely, two N kbps
connections will cost you more than one 2N connection.  If you ran my
benchmark on a 2N connection you might actually see an improvement over
two N kbps connections due to to its inherent load balancing.  In any
case, with a single (or a small number) of users (Ted's benchmark test)
you would definitely see an improvement over two N kbps connections.

Now the question:  is a faster AND cheaper 2N connection a better setup
than two N kbps connections for our fabled Internet Café?  

I'd personally go with the 2N connection.  Almost all the time it would
be better.  Most large ISPs, for a little more money of course, will
give you a faster response time on repairs.  The ISP might even provide
a bank of modems and you could implement multilink PPP as your backup.

Regarding a combination of DSL and cable, that would be where pfsense
may shine.  This combo would definitely give a little better redundancy
than two DSL connections to two ISP because the cable comes in to you
building differently than the DSL/phone lines.  A backhoe would have
less chance of taking both out.  Honestly, I still think a 2N connection
would be better.

-gayn

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


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


make buildworld failure

2005-12-13 Thread Dan Ross
I am trying to build a new kernel with smp.  I started with make clean 
and got no errors.

I then type make buildworld from /usr/src directory
it runs for about an hour then I get:
gzip -cn /usr/src/sbin/ip6fw/ip6fw.8  ip6fw.8.gz
=== sbin/ipf
make: don't know how to make bsd.README. Stop
*** Error code 2

Stop in /usr/src/sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
comm1#
suggestions?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slices

2005-12-13 Thread Robert Huff

Pietro Cerutti writes:

   There's no need for a boot partition; that's a Linux practice.
  
  You're right, but I don't feel it as a bad practice... mounting it
  read-only could prevent from many problems, don't you think?

Could, yes.  In practice ... never had it happen to me.  I've
screwed up the boot code, but not in ways haveing a seperate
partition would have stopped.  Can't remember anyone else finding it
useful either.
I'm also curious as to whether having the boot code on a
non-root filesystem even works.


Robert Huff

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


Re: Slices

2005-12-13 Thread Pietro Cerutti
On 12/13/05, Robert Huff [EMAIL PROTECTED] wrote:

 Pietro Cerutti writes:

There's no need for a boot partition; that's a Linux practice.
 
   You're right, but I don't feel it as a bad practice... mounting it
   read-only could prevent from many problems, don't you think?

 Could, yes.  In practice ... never had it happen to me.  I've
 screwed up the boot code, but not in ways haveing a seperate
 partition would have stopped.  Can't remember anyone else finding it
 useful either.

Neither I...

 I'm also curious as to whether having the boot code on a
 non-root filesystem even works.


I too, but I won't be the one who will try it!



 Robert Huff


--
Pietro Cerutti
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I'm looking for school of freebsd in montreal.

2005-12-13 Thread David Robillard
Hi Eric,

I live in Montréal and I now run around 100 FreeBSD servers. They
provide all sorts of services from DNS, SMTP, WWW, Proxy, FTP,
Databases, Firewalls, you name it.

If you can wait a month or two, I can provide you with basic FreeBSD
training and then move on to more specialized setups as your FreeBSD
skills improve.

I've been working as a UNIX systems administrator for 7 years now and
it took me to various corporations in located in Canada, France,
Luxembourg and Switzerland.

Let me know if you're interested,

David

P.S. En passant, je parle aussi Français.

#I'm looking for school of freebsd in montreal and i dont find any. Im
#not realy good in BSD, i start to use last year.  I use as my main os
#on my laptop to become a normal user, but more i get into it, more i
#feel stupid about this new world

#I'm realy impress by the work of your team. Im am interest to go school
#to learn Completely (more as possible). Im am interest to do Server and
#network security, then Programmation.

#MY QUESTION Someone know if there is an school, in Montreal (canada),
#that give cours about FreeBSD?

#If not, i put all my money to bank and in couple of year I realy hope
#to go Berkeley University (California) to learn more about it.

#I hope at the same time to give the hand to Arnold Waterstachi

#Tanx for your help
#Eric Royal

--
David Robillard
[EMAIL PROTECTED]
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slices

2005-12-13 Thread Kevin Kinsey

Sasa Stupar wrote:




--On 12. december 2005 19:29 -0500 Jerry McAllister 
[EMAIL PROTECTED] wrote:




On Mon, 12 Dec 2005 12:40:40 -0600
Kevin Kinsey [EMAIL PROTECTED] wrote:

 Sasa Stupar wrote:

  You can also do the same as I did. I have just configured one slice
  named / which
  takes all the space on hdd and now I don't need to worry about
  space shortage.


 OK then, but suppose we have some runaway process



The main two reasons for dividing up your FreeBSD disk in to partitions
rather than making just one big partition are to reduce the threat of
runaway processes and to manage backup and restore sizes.

Think those things out to meet your needs and resources.

jerry



OK. But then what would be ideal slice size for /, /var, /usr, /boot?



A word of probable caution (though I stand ready to be corrected): 


   FreeBSD isn't like Linux in the fact that it expects /boot to be
in / (the 'a' slice of whatever disk the bootmgr has been instructed
to use)... so a seperate /boot will likely get you in trouble

  I don't *think* I'm wrong on this; search the list archives for
a discussion of this within the last 60 days or so.  If I *am* wrong,
perhaps someone with more Unix-fu (well, spefically FBSD-fu) can
give a more correct explanation of the funny idea in the back of my head

Kevin Kinsey

--
What is the sound of one hand clapping?


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


Re: Slices

2005-12-13 Thread Giorgos Keramidas
On 2005-12-13 16:40, Pietro Cerutti [EMAIL PROTECTED] wrote:
On 12/13/05, RW [EMAIL PROTECTED] wrote:
On Tuesday 13 December 2005 10:36, Giorgos Keramidas wrote:
 OK. But then what would be ideal slice size for /, /var, /usr, /boot?

 There's no need for a boot partition; that's a Linux practice.

 You're right, but I don't feel it as a bad practice... mounting it
 read-only could prevent from many problems, don't you think?

It could also lead to other, more serious problems.  See the archives of
this mailing lists for reasons why it's discouraged in the FreeBSD
world.

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


Re: port math/maxima broken....

2005-12-13 Thread P.U.Kruppa

On Tue, 13 Dec 2005, Mikael Backman wrote:


Hi,
Is there anybody who knows when/if this port will be fixed?
Is there any similar app in the ports tree?
/Mikael
I think it isn't completely broken. In its Makefile you can 
comment the line

# WITH_CMUCL=   yes
and uncomment
WITH_GCL=   yes

This will build maxima with gnu common lisp instead of cmucl and 
should work.


There also are the CAS's
mupad   (needs linux compat)
yacas   (no GUI, console only)
gap (specialized on algebra and group theory stuff)

Regards,

Uli.


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





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


Re: make buildworld failure

2005-12-13 Thread Andreas Rudisch
On Tue, 2005-12-13 at 09:54 -0600, Dan Ross wrote:
 I am trying to build a new kernel with smp.  I started with make clean 
 and got no errors.
 I then type make buildworld from /usr/src directory

 suggestions?

1. You do not need to recompile world if you only want to build a new
kernel with smp support.

2. read:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
especially chapter 20.4.10 and 20.4.16.6.

Andreas

-- 
GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


signature.asc
Description: This is a digitally signed message part


Re: Slices

2005-12-13 Thread Alex Zbyslaw

Kevin Kinsey wrote:


OK. But then what would be ideal slice size for /, /var, /usr, /boot?



A word of probable caution (though I stand ready to be corrected):
   FreeBSD isn't like Linux in the fact that it expects /boot to be
in / (the 'a' slice of whatever disk the bootmgr has been instructed
to use)... so a seperate /boot will likely get you in trouble

You're not wrong. /boot directory should be on / partition.  This has 
come up before but my attempts to find the discussion failed :-(


Nitpickingly,  that's the a BSD-partition of whatever slice (aka 
fdisk partition) of whatever disk bootmgr has been instructed

to use.

There nothing (except a crap BIOS or an ancient machine) to stop you 
from booting any of the 4 slices (apart from logical ones IIUC).  I've 
certainly had 3 different FreeBSD installations on a single disk before now.


--Alex

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


Re: courier-authlib-0.58 dumps core at login

2005-12-13 Thread Mark Bucciarelli
On Sun, Dec 11, 2005 at 10:17:16PM -0500, Louis LeBlanc wrote:

 On 12/11/05 09:44 PM, Louis LeBlanc sat at the `puter and typed: These
 passwords do match, but the debug log shows a rejection.

I use MySql for users and recently noted that if maildir, uid and/or gid 
is not set properly the auth failed (even tho passwords matched).

Not sure if this applies to authpamd.

m

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


RE: Lousy network performance ...

2005-12-13 Thread Gayn Winters
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Kiffin Gish
 Sent: Tuesday, December 13, 2005 1:16 AM
 To: freebsd-questions@freebsd.org
 Subject: Lousy network performance ...
 
 
 I am having problems with a slow Internet DSL-connection, 
 especially while
 surfing around the web.
 
 My service-provider claims that his network is just fine (of 
 course!) and
 that the problem is because of all the 'so-called junk' I 
 have configured on
 my home network on my side of the connection.
 
 On my side of the adsl-modem/router I have a router which is connected
 directly to two Windows XP desktops, via a switch to two 
 FreeBSD machines
 (webserver and fileserver) and via a wireless link my combo 
 FreeBSD/Windows
 XP laptop. I have Samba running for file exchange bweteen the 
 Windows and
 FreeBSD boxes and I have port 80 opened on the 
 adsl-moden/router to allow
 access to a couple of web sites I am running.
 
 Is there some kind of way to prove my ISP is wrong by doing a 
 trace? What
 tools are available? How can I demonstrate that the 
 bottleneck is not my
 home network but the DSL-connection?

Unplug your router, plug in a PC to the adsl-modem.  Set the PC to your
router's external IP address, DNS, and gateway.  Test the speed. (If
your ISP won't provide a speed test, Google for DSL speed test and pick
an appropriate one.)  If you got your ISP to visit you, this is what
they would do.  They won't (and shouldn't) believe anything else.  Your
web sites will be down for less than 5 minutes.

-gayn

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


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


Re: port math/maxima broken....

2005-12-13 Thread P.U.Kruppa

On Tue, 13 Dec 2005, P.U.Kruppa wrote:


On Tue, 13 Dec 2005, Mikael Backman wrote:


Hi,
Is there anybody who knows when/if this port will be fixed?
Is there any similar app in the ports tree?
/Mikael

I think it isn't completely broken. In its Makefile you can comment the line
# WITH_CMUCL=   yes
and uncomment
WITH_GCL=   yes

This will build maxima with gnu common lisp instead of cmucl and should work.

and sorry I forgot: Of course you also have to comment the line
# BROKEN=   Does not build

Uli.




There also are the CAS's
mupad   (needs linux compat)
yacas   (no GUI, console only)
gap (specialized on algebra and group theory stuff)

Regards,

Uli.


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






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





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


getting iwi_firmware to work

2005-12-13 Thread Jeff D. Hamann
I'm in the processing of putting together my new FreeBSD 6.0 (downloaded the 
iso image yesterday) laptop which has a Intel Pro/Wireless 2915ABG wireless 
card (as well as a firewire ethernet something?). The machine doesn't have a 
floppy drive and I haven't been able to build the drivers using the 
documentation at http://damien.bergamini.free.fr/ipw/ipw-freebsd.html and I 
think the links for the two freebsd ports located at 
http://damien.bergamini.free.fr/ipw/download.html are incorrect (maybe? both 
links point to the ipw-firmware).


Does anyone have any instructions on how to get the wireless working without 
first having to use a third pccard since I can't use cvsup or download the 
ports as usual? I have a dual boot machine which I can read the primary ntfs 
partition  (but not the fat32 partition -- very unhappy about that).


ifconfig reports (and I typing to recreate this)

fwe0: 
flags=108943UP,BROADCAST,RUNNING,PROMSIC,SIMPLEX,MULTICAST,NEEDSGIANT mtu 
1500

   options=8VLAN_MTU
   inet6 fe80:f5ff:fe00:1c%fwe0 prefixlen 64 scopeid 0x1
   ether 02:90:f5:00:00:1c
   ch 1 dma 0
lo: blah, blah, blah

Is that the hardwire ethernet device? This is a new laptop (sager3880) and 
so far the machine running xp has been really nice. I'd like to be able to 
run the real deal now...


Jeff.

---
Jeff D. Hamann
Forest Informatics, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
541-754-1428
[EMAIL PROTECTED]
www.forestinformatics.com

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


Re: courier-authlib-0.58 dumps core at login

2005-12-13 Thread Louis J. LeBlanc
On Tue, December 13, 2005 11:44 am, Mark Bucciarelli wrote:
 On Sun, Dec 11, 2005 at 10:17:16PM -0500, Louis LeBlanc wrote:

 On 12/11/05 09:44 PM, Louis LeBlanc sat at the `puter and typed: These
 passwords do match, but the debug log shows a rejection.

 I use MySql for users and recently noted that if maildir, uid and/or gid
 is not set properly the auth failed (even tho passwords matched).

 Not sure if this applies to authpamd.

 m

I wouldn't think so.  My maildirs all have the correct ownership -
although they are generally not group readable/writeable.  Typical
~/.Maildir ownership is as follows:
drwx--  48 leblanc  leblanc1536 Dec 13 08:50 .Maildir/
The folder directories in ~/.Maildir are the same:
drwx--   3 leblanc  leblanc  12288 Dec 13 09:51 cur/
drwx--   2 leblanc  leblanc512 Dec 13 08:46 new/
drwx--   2 leblanc  leblanc512 Dec 13 11:50 tmp/

There are, however, a couple files and a directory that are slightly less
strict in their permissions - all courier specific files.

Was that new behavior with 0.58?
Your authdaemond didn't dump core in your experience, did it?

Lou
-- 
Louis LeBlanc [EMAIL PROTECTED]
Fully Funded Hobbyist,   KeySlapper Extrordinaire :þ
http://www.keyslapper.net   Ô¿Ô¬

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


can't mount msdos fs on freebsd6?

2005-12-13 Thread Jeff D. Hamann
Strange, but I can mount an ntfs filesystem (dual boot machine) but not the 
fat32 partition on a new freebsd 6.0 installation. The drive contains three 
paritions:


/dev/ad0s1 -- 30GB NTFS (winxp) mounted on /winxp
/dev/ad0s2 -- 30GB FAT32 (data to be accessed by both winxp and freebsd 6.0) 
mount point /data
/dev/ad0s3 -- 30GB UFS (or whatever freebsd's file systems are) 
/ad0s3(blah,blah,blah)


The results I get back from mount are:

mothra# mount -t msdos /dev/ad0s2 /data
mount_msdosfs: /dev/ad0s2: Invalid argument
mothra#

I don't get it. it's a fat32 partition (formatted using winxp -- default 
block size). Is there anything I'm missing here? It IS the second slice on 
the drive. Do I need to make the filesystem using FreeBSD? There must be 
some simple thing I'm not doing correctly, yes?


Help?

---
Jeff D. Hamann
Forest Informatics, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
541-754-1428
[EMAIL PROTECTED]
www.forestinformatics.com

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


Re: can't mount msdos fs on freebsd6?

2005-12-13 Thread Giorgos Keramidas
On 2005-12-13 09:08, Jeff D. Hamann [EMAIL PROTECTED] wrote:
 Strange, but I can mount an ntfs filesystem (dual boot machine) but not the
 fat32 partition on a new freebsd 6.0 installation. The drive contains three
 paritions:

 /dev/ad0s1 -- 30GB NTFS (winxp) mounted on /winxp
 /dev/ad0s2 -- 30GB FAT32 (data to be accessed by both winxp and freebsd
 6.0) mount point /data
 /dev/ad0s3 -- 30GB UFS (or whatever freebsd's file systems are)
 /ad0s3(blah,blah,blah)

 The results I get back from mount are:

 mothra# mount -t msdos /dev/ad0s2 /data
 mount_msdosfs: /dev/ad0s2: Invalid argument
 mothra#

Try with -t msdosfs.  There is no /sbin/mount_msdos program in my
laptop's installation.

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


Re: Slices

2005-12-13 Thread Kevin Kinsey

Alex Zbyslaw wrote:


Kevin Kinsey wrote:


A word of probable caution (though I stand ready to be corrected):
   FreeBSD isn't like Linux in the fact that it expects /boot to be
in / (the 'a' slice of whatever disk the bootmgr has been instructed
to use)... so a seperate /boot will likely get you in trouble


You're not wrong. /boot directory should be on / partition.  This has
come up before but my attempts to find the discussion failed :-(

Nitpickingly,  that's the a BSD-partition of whatever slice
(aka fdisk partition) of whatever disk bootmgr has been instructed
to use.



Thanks - I'm occasionally a tad lax with some terminology.  As for the
attempts to find the discussion ... read on...

Giorgios Keramidas wrote:

See the archives of this mailing lists for reasons why it's discouraged
in the FreeBSD world.

Seems I was a tad off in my earlier estimate of within the last 60 days...
but Googling for  'boot like linux' freebsd produces the thread I was
thinking of (the initial post of which is here):

http://lists.freebsd.org/pipermail/freebsd-questions/2005-March/079428.html

Kevin Kinsey

--
Take your Senator to lunch this week.

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


Re: can't mount msdos fs on freebsd6?

2005-12-13 Thread Alex Zbyslaw

Jeff D. Hamann wrote:

Strange, but I can mount an ntfs filesystem (dual boot machine) but 
not the fat32 partition on a new freebsd 6.0 installation. The drive 
contains three paritions:


/dev/ad0s1 -- 30GB NTFS (winxp) mounted on /winxp
/dev/ad0s2 -- 30GB FAT32 (data to be accessed by both winxp and 
freebsd 6.0) mount point /data
/dev/ad0s3 -- 30GB UFS (or whatever freebsd's file systems are) 
/ad0s3(blah,blah,blah)


The results I get back from mount are:

mothra# mount -t msdos /dev/ad0s2 /data
mount_msdosfs: /dev/ad0s2: Invalid argument


Are you sure its s2?  What does
   fdisk -s /dev/ad0

show?

I have a 20Gb FAT32 partition mounted right now - made with 
PartitionMagic rather than XP itself, but I wouldn't expect that to be 
the problem.


--Alex

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


Re: can't mount msdos fs on freebsd6?

2005-12-13 Thread Andreas Rudisch
On Tue, 2005-12-13 at 09:08 -0800, Jeff D. Hamann wrote:
 The results I get back from mount are:
 
 mothra# mount -t msdos /dev/ad0s2 /data
 mount_msdosfs: /dev/ad0s2: Invalid argument

 Help?

#mount -t msdosfs /dev/ad0s2 /data
  or
#mount_msdosfs /dev/ad0s2 /data

-- 
GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


signature.asc
Description: This is a digitally signed message part


Re: Slices

2005-12-13 Thread Alex Zbyslaw

Kevin Kinsey wrote:



Seems I was a tad off in my earlier estimate of within the last 60 
days...

but Googling for  'boot like linux' freebsd produces the thread I was
thinking of (the initial post of which is here):

http://lists.freebsd.org/pipermail/freebsd-questions/2005-March/079428.html 



There was another one in July as well. :-)

http://lists.freebsd.org/pipermail/freebsd-questions/2005-July/092614.html

--Alex

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


Re: getting iwi_firmware to work

2005-12-13 Thread Alex Zbyslaw

Jeff D. Hamann wrote:

 I have a dual boot machine which I can read the primary ntfs 
partition  (but not the fat32 partition -- very unhappy about that).


Generically, there's no problem reading FAT32 partitions and it's the 
only writeable-and-shareable-with-windows filesystem type, so maybe 
you're not doing something right here.  If it's going to help you to 
have such a partition then you'll have to provide some specifics (what 
did you do and what failed?).


--Alex

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


Re: port math/maxima broken....

2005-12-13 Thread Mikael Backman

P.U.Kruppa wrote:


On Tue, 13 Dec 2005, P.U.Kruppa wrote:


On Tue, 13 Dec 2005, Mikael Backman wrote:


Hi,
Is there anybody who knows when/if this port will be fixed?
Is there any similar app in the ports tree?
/Mikael


I think it isn't completely broken. In its Makefile you can comment 
the line

# WITH_CMUCL=yes
and uncomment
WITH_GCL=yes

This will build maxima with gnu common lisp instead of cmucl and 
should work.


and sorry I forgot: Of course you also have to comment the line
# BROKEN=Does not build

Uli.




There also are the CAS's
mupad (needs linux compat)
yacas(no GUI, console only)
gap(specialized on algebra and group theory stuff)

Regards,

Uli.


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






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






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



Hello! Thank you for your very helpfull answer.  :)
/Mikael
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I'm looking for school of freebsd in montreal

2005-12-13 Thread Jon Drews
On 12/12/05, psiinformatique [EMAIL PROTECTED] wrote:
 #I'm looking for school of freebsd in montreal and i dont find any. Im
 #not realy good in BSD, i start to use last year.  I use as my main os
 #on my laptop to become a normal user, but more i get into it,

There is Marketbridge Technologies in Ottawa. They offer a FreeBSD Boot Camp:

http://www.marketbridge.com/courses_freebsd.php
From the website:

* Learn to install FreeBSD
* Learn to properly administer FreeBSD
* Learn to properly lock down your FreeBSD system
* Learn to deal properly with files and filesystems


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


Re[2]: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-13 Thread Cezar Fistik
Hello,

Just a remark. I'm using an Intel PRO/1000 MT Dual Port Gigabit Copper
CAT5 Server PCI express Adapter in a box serving as router. Pumping 150Mbps
through it with 99% idle CPU and 1% interrupts, polling enabled. It's
a litle bit expensive, but it does its job perfectly.


-- 
Best regards,
 Cezarmailto:[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: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-13 Thread Danial Thom


--- Ted Mittelstaedt [EMAIL PROTECTED]
wrote:

 
 
 -Original Message-
 From: Danial Thom
 [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 12, 2005 1:35 PM
 To: Drew Tomlinson; Ted Mittelstaedt
 Cc: Michael Vince; [EMAIL PROTECTED];
 freebsd-questions@freebsd.org;
 Kris Kennaway
 Subject: Re: Polling For 100 mbps Connections?
 (Was Re: Freebsd Theme
 Song)
 
 
 
 
 --- Drew Tomlinson [EMAIL PROTECTED]
 wrote:
 
  On 12/12/2005 8:13 AM Ted Mittelstaedt
 wrote:
 
 
  Danial is claiming the slowness is in the
 main
  ram section of
  things, not in the ethernet driver code.
 
 I don't think I'm claiming that at all.
 
 Oh, really, do tell then:
 
 The
 slowness is in the latency and inefficiencies
 of
 the scheduler and whatever other kernel
 stuff
 (locking, general overheads).
 
 Which runs in main ram...
 
 The entire point of
 the tests are that the managing of the packets
 is
 a constant, in that its the same hardware and
 mostly the same code.
 
 What I said...
 
 Now I suppose its possible
 that the em driver could just be slower in 5.4
 and 6.0, but the code is fundamentally the
 same,
 so it should be a constant. So since the
 processing of the packets is a constant, then
 if
 you can process less packets on the same
 machine
 the overhead of the OS must be the culprit.
 
 And, where again does the OS do it's
 processing...
 
 It
 could be the code,
 
 Well, if it's not, then your explanation and
 everything
 you have said up to this point sure strongly
 implies it.
 
 What's wrong Danial, now that you have actually
 had to
 think about it, now realizing you have some
 holes in
 your bitching?  Scared that I'm about ready to
 start
 punching holes in your flimsy inferences?



Not really, because its still a FreeBSD release,
so whether its the driver or the scheduler or the
code generated by the compiler, it still
substantially worse than FreeBSD 4.x. And MP is
SLOWER than UP for many functions. So
specifically WHAT it is doesn't change my claim
the FreeBSD 5.x and 6.x suck, at least relative
to what you started with. If you take something
and make it worse, and seem to have no ability to
figure out WHY, then you're incompetent. Its as
simple as that.

I have posted a reasonable test and results, and
there are countless complaints about performance.

I think the fact that every time someone
complains Robert Watson tells them to wait for
6.0, or wait for 7.0 is a pretty good indication
that things aren't what the Teds and Krises
claim. 

DT

__
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: can't mount msdos fs on freebsd6?

2005-12-13 Thread Tino Boss

Jeff D. Hamann wrote:


mothra# mount -t msdos /dev/ad0s2 /data
mount_msdosfs: /dev/ad0s2: Invalid argument


I remember having had a similar problem and it was just a that it was an 
extended partition and somehow it was not displayed with the correct 
number in some utility. If that's your case you might just need another 
device-name. I think numbering for extended partitions starts at 5 (eg. 
ad0s5).


regards
Tino




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


HP-UX NFS client

2005-12-13 Thread Darren Henderson


synopsis: freebsd NFS server, HP-UX NFS client. Client succeeds if it uses 
automount to mount the volumes but fails if a manual mount is used despite 
options.


question: anyone have experience in a similar enviroment that can point me 
toward a solution?



We use HP's Data Protector as an enterprise backup solution (formerly 
known as omniback). It only supports NFS backups of FreeBSD systems.


I'm having an issue manually mounting volumes from a FreeBSD 6.0-STABLE 
(using source from 12/7) system on an HP-UX 11i (11.11) system.


If I automount the volumes everything works fine and the HP system is able 
to hook up as expected and it can access the desired files. However, if I 
try to manually mount the volumes I get:


nfs mount: getaddr_nfs: monhegan: NFS service not responding(retry delay=5s)
nfs mount: retry: retrying(1) for: /monhegan after 5 seconds
nfs mount: retry: giving up on: /monhegan

I've tried forcing the version to 2 (as well as 1) - still returns the 
same thing, no apparent change in behavior. I've made sure the HP box's 
nsswitch.conf is pointing to files for everything - still returns the same 
thing. Numerous other combinations of options have been tried with no luck 
- I can not duplicate automounts success.


So... automount (not autofs) on the HP box works differently then a manual 
mount in some undefined way or at least uses a set of options for the 
mount that I've not attempted.


nfsstat -m on an HP-UX system, with a manually mounted NFS filesystem 
will display the options and flags used to do the mount. It displays 
nothing for automounted filesystems. I'm not aware of anything on the 
FreeBSD system that would tell me what options an NFS client used to 
connect.


Watching with tcpdump on the freebsd system I see that both the manual and 
automount attempts make connections to the box, but they do look 
different:


manual mount:

PORTMAP V2 GETPORT in
PORTMAP V2 GETPORT Reply out
MOUNT   V3 NULL Call in
MOUNT   V3 NULL Reply out
MOUNT   V3 MNT Call in
MOUNT   V3 MNT Reply
:
:

auto mount:

NFS V2 NULL Call in
NFS V2 NULL Reply out
PORTMAP V2 GETPORT Call in
PORTMAP V2 GETPORT Reply out
TCP port 712 in
TCP port 712 out
MOUNT   V1 EXPORT Call in
MOUNT   V1 EXPORT Reply out
:
:

Unfortunately, we've had little luck using automounted volumes with Data 
Protector so we wish to manually mount the volumes in the pre-backup 
script an then umount them in the post-backup script.


Has anyone manually mounted a FreeBSD volume from an HP-UX client? Were 
there any special requirements?



-Darren


__
Darren Henderson  [EMAIL PROTECTED]

   Help fight junk e-mail, visit http://www.cauce.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-13 Thread Danial Thom


--- Drew Tomlinson [EMAIL PROTECTED]
wrote:

 Ted Mittelstaedt wrote, On 12/13/2005 12:44 AM:
 
   
 
 -Original Message-
 From: Drew Tomlinson
 [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 12, 2005 12:30 PM
 To: Ted Mittelstaedt
 Cc: Michael Vince; [EMAIL PROTECTED];
 freebsd-questions@freebsd.org;
 Kris Kennaway
 Subject: Polling For 100 mbps Connections?
 (Was Re: Freebsd Theme Song)
 
 
 On 12/12/2005 8:13 AM Ted Mittelstaedt wrote:
 
 
 
 Michael,
 
  Fundamentally, here's the problem Danial is
 claiming exists:
 
 it takes a certain amount of time to get the
 packet clocked in
   
 
 from the network into the ethernet receiver.
  This is hardware
 
 
 dependent and cannot be changed.
 
 It takes a certain amount of time to get the
 packet out of
 the hardware in the ethernet card into main
 ram, this also
 hardware dependent and cannot be changed.
 (unless the device
 driver is terribly inefficient, which we
 will assume it's not)
 
 Once in main ram, the information in the
 packet has to go through
 a number of code statements.  The more code
 statements the
 longer the information in the packet is
 sitting around in
 the FreeBSD system's memory.
 
 It then takes a certain amount of time to
 get the information
 out of main memory into the other sending
 ethernet nic's buffers,
 
 and it takes time to get it out of the
 sending nic back to the
 wire.
 
 Danial is claiming the slowness is in the
 main ram section of
 things, not in the ethernet driver code.
 
 polling makes the ethernet driver more
 efficient at high data
 rates, but it does nothing for the speed of
 processing within
 the TCPIP stack itself.  At low data rates
 polling is less
 efficient than the interrupt method.  And
 unless the nic driver
 is terribly inefficient to start with, the
 time it adds to the
 packet path in the system is minor compared
 to the time spent
 in the TCP/IP stack.
 
 Ted
 
 
   
 
 Thanks for the explanation.  So would polling
 be beneficial or
 detrimental for a 100 mbps Ethernet card?
 
 
 
 Yes, if you were running 100Mbt's of bandwidth
 through it.
   
 
 
 I assume you mean yes it's beneficial?  :)

Thats just not true, or at least not globally.
The right answer is: It depends on the hardware.
Polling should NEVER be used for hardware that
has built-in hardware interrupt throttling (such
as fxp and em driver cards). polling has a LOT of
overhead. Hardware hold offs give you the benefit
of controlled interrupt reduction without
adulterating your system with tons of extra clock
interrupts. This has been discussed over and
over, and still some of the people who are
supposed to know about this have no clue
whatsoever. 

polling is ONLY a POSSIBLE advantage is your
hardware actually interrupts for every event.
Good controllers do not. I don't know the specs
of every card/chipset, but with intel cards you
definitely do NOT want to use polling, as an
example.

Regardless of the hardware, if you see a
substantial increase with performance its because
the OS is broken and not because of the polling,
particularly if you have a relatively low volume
of traffic. The same number of cpu cycles are
needed to process the packets whether you poll or
not. 

As an example, changing the number of receive
interrupts per second from 10,000 to 25000 on an
em card (4.9 OS, which is known NOT to be broken)
pushing 100Kpps yields about a 3% difference in
cpu load (no noticable difference in
performance). For an average load server doing
less than 1K pps, on a modern processor the cpu
load difference is not significant enough to make
much noticable difference in performance.

Of course anyone using a realtek or cheap
controller on an expensive machine is just a
plain fool; spend the extra relative pennies for
a controller that actually works properly. I'm
amazed at the number of idiots running MP
machines with cheap ethernet controllers. Its
like putting $25. tires on a porche.

DT

__
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: Re[2]: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-13 Thread Danial Thom


--- Cezar Fistik [EMAIL PROTECTED] wrote:

 Hello,
 
 Just a remark. I'm using an Intel PRO/1000 MT
 Dual Port Gigabit Copper
 CAT5 Server PCI express Adapter in a box
 serving as router. Pumping 150Mbps
 through it with 99% idle CPU and 1% interrupts,
 polling enabled. It's
 a litle bit expensive, but it does its job
 perfectly.
 

If you read my last post about polling with intel
cards, you're realize just how foolish your
analysis is.

Danial

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


Multiple CPUs

2005-12-13 Thread Robert Fitzpatrick
I guess this means my new server is only using one of my CPUs?

esmtp# grep CPU /var/log/dmesg.today
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
  Hyperthreading: 2 logical CPUs
cpu0: ACPI CPU (2 Cx states) on acpi0

Can someone point me to the best doc for enabling use of both CPUs on
the FreeBSD 5.4 server? I assume the kernel needs built with options.

--
Robert

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


RE: Multiple CPUs

2005-12-13 Thread Tamouh H.

 Can someone point me to the best doc for enabling use of both
 CPUs on the FreeBSD 5.4 server? I assume the kernel needs
 built with options.

 --
 Robert

This is what you need in your Kernel:

options SMP # ENABLE MULTI PROCESSOR
device  acpi# COMPILE FOR SMP OPTION

Best,

Tamouh



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


Re: Multiple CPUs

2005-12-13 Thread Sean

Robert Fitzpatrick wrote:

I guess this means my new server is only using one of my CPUs?

esmtp# grep CPU /var/log/dmesg.today
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
  Hyperthreading: 2 logical CPUs
cpu0: ACPI CPU (2 Cx states) on acpi0

Can someone point me to the best doc for enabling use of both CPUs on
the FreeBSD 5.4 server? I assume the kernel needs built with options.

--
Robert

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



You need

options SMP # multi processor support

in your kernel config when you build it.
Check here as a start.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

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


Re: Multiple CPUs

2005-12-13 Thread Ian Lord

At 14:12 2005-12-13, Robert Fitzpatrick wrote:

I guess this means my new server is only using one of my CPUs?

esmtp# grep CPU /var/log/dmesg.today
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
  Hyperthreading: 2 logical CPUs
cpu0: ACPI CPU (2 Cx states) on acpi0

Can someone point me to the best doc for enabling use of both CPUs on
the FreeBSD 5.4 server? I assume the kernel needs built with options.

--
Robert

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



Just add
options SMP

to your kernel configuration file and rebuild your kernel. You should 
go though all the configurations at the same time to do some optimizations...


You can find the infos in the handbook on how to compile your kernel:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

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


Re: May be a question repeated

2005-12-13 Thread Jayesh Jayan
Hi Wash,

Thank you for your mail.

I tried the option and it worked fine.


On 12/13/05, Odhiambo Washington [EMAIL PROTECTED] wrote:

 * On 13/12/05 04:15 +0530, Jayesh Jayan wrote:
  Hi,
 
  I have a server which runs Apache/1.3.33 (Unix) and exim 4.53-0 on a
 FreeBSD
  5.4.
 
  I wanted to upgrade exim to 4.60
 
  so i did the below steps
 
  1 ) cd /usr/ports/mail/exim
  2 ) make clean
  3 ) make
 
  at this step the make stops saying openssl already installed. I have on
 the
  server OpenSSL 0.9.7e and exim is trying to upgrade even open ssl to the
  latest. This may break http and other services running on the server.
 
  Error message is as below
 
 
 **
  ===  Installing for openssl-0.9.8a
  ===   Generating temporary packing list
  ===  Checking if security/openssl already installed
  pkg_info: package bsdpan-CPAN-1.80 has no origin recorded
  pkg_info: package bsdpan-Filesys-Statvfs_Statfs_Df-0.78 has no origin
  recorded
  pkg_info: package bsdpan-GDGraph-1.43 has no origin recorded
  pkg_info: package bsdpan-GDTextUtil-0.86 has no origin recorded
  pkg_info: package bsdpan-IO-Interactive-undef has no origin recorded
  pkg_info: package bsdpan-MailTools-1.67 has no origin recorded
  pkg_info: package bsdpan-Net_SSLeay.pm-1.25 has no origin recorded
  pkg_info: package bsdpan-ShadowHash-0.07 has no origin recorded
  pkg_info: package bsdpan-Term-ReadLine-Perl-1.0203 has no origin
 recorded
  pkg_info: package bsdpan-TermReadKey-2.30 has no origin recorded
  pkg_info: package bsdpan-Tie-Watch-1.2 has no origin recorded
  pkg_info: package bsdpan-Tree-MultiNode-1.0.10 has no origin recorded
  pkg_info: package bsdpan-libwww-perl-5.803 has no origin recorded
  pkg_info: package bsdpan-libwww-perl-5.804 has no origin recorded
  pkg_info: package bsdpan-libwww-perl-5.805 has no origin recorded
  ===   An older version of security/openssl is already installed (
  openssl-0.9.7e_2)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of security/openssl
without deleting it first, set the variable FORCE_PKG_REGISTER
in your environment or the make install command line.
  *** Error code 1
 
  Stop in /usr/ports/security/openssl.
  *** Error code 1
 
  Stop in /usr/ports/mail/exim.
 
 
 **
 
  Please guide me on how I can upgrade exim without effecting other
 services
  running on the server.


 You did install openssl from the ports, yes? You probably shouldn't have
 done that, as openssl is supposed to be in the base system for FreeBSD.
 I am not going to help you fix that though. You have to decide on what
 steps to take - either deinstall the /usr/ports/security/openssl and
 rely on the one from the base system or use it as is.

 For the purposes of your current problem, Exim is assuming you are
 using TLS, which is what is pulling in the openssl dependency. If you
 don't really need TLS support on Exim, then do:

 cd /usr/ports/mail/exim
 make -DWITHOUT_TLS

 ..and proceed from there...

 I'd advise you to rely on utils like /usr/ports/sysutils/portupgrade
 or /usr/ports/sysutils/portmanager to manage your ports.

 Lastly, you will be happy to deinstall your openssl from the ports and
 rebuild all your apps that were relying on it to instead link against
 the one in the base system.


 -Wash

 http://www.netmeister.org/news/learn2quote.html

 --
 +==+
 |\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
 Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
|,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
   '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
 +==+
 Those who express random thoughts to legislative committees are often
 surprised and appalled to find themselves the instigators of law.
 -- Mark B. Cohen




--
Jayesh Jayan

The box said Requires Windows 95, NT, or better, so I installed Linux.

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


Re: Multiple CPUs

2005-12-13 Thread Charles Swiger

On Dec 13, 2005, at 2:12 PM, Robert Fitzpatrick wrote:

I guess this means my new server is only using one of my CPUs?

esmtp# grep CPU /var/log/dmesg.today
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
  Hyperthreading: 2 logical CPUs
cpu0: ACPI CPU (2 Cx states) on acpi0

Can someone point me to the best doc for enabling use of both CPUs on
the FreeBSD 5.4 server? I assume the kernel needs built with options.


Note that if you've only got one physical HTT-capable CPU, running in  
single-processor mode is likely to give better performance than  
running SMP just to enable the hyperthreaded virtual CPU.  If you've  
got a dual-CPU box and need to run SMP for that anyway, then using  
HTT seems to sometimes help and sometimes reduce performance.


--
-Chuck

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


Re: Multiple CPUs

2005-12-13 Thread Kris Kennaway
On Tue, Dec 13, 2005 at 02:12:57PM -0500, Robert Fitzpatrick wrote:
 I guess this means my new server is only using one of my CPUs?
 
 esmtp# grep CPU /var/log/dmesg.today
 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
   Hyperthreading: 2 logical CPUs
 cpu0: ACPI CPU (2 Cx states) on acpi0
 
 Can someone point me to the best doc for enabling use of both CPUs on
 the FreeBSD 5.4 server? I assume the kernel needs built with options.

FYI, hyperthreading is not a real CPU, and it seems to *really* hurt
performance on most workloads.  You'll probably benefit from not using
it.

Kris


pgpZE0WACT0DX.pgp
Description: PGP signature


/etc/mail/local-host-names

2005-12-13 Thread Wojciech Puchar

how line should look at this file

to enable anybody in IPv4 10.0.0.0/8 to relay through this server

10.

seems not to work.

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


Re: /etc/mail/local-host-names

2005-12-13 Thread Gary Kline
On Tue, Dec 13, 2005 at 09:03:11PM +0100, Wojciech Puchar wrote:
 how line should look at this file
 
 to enable anybody in IPv4 10.0.0.0/8 to relay through this server
 
 10.
 
 seems not to work.

I think--but don't *quote* me:) -- that the host-names 
file does eactly what ^Cwhostname does in sendmail.cf.
So if your host were named foo, you would put ^foo in 
local-host-names.

Anybody else?

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: /etc/mail/local-host-names

2005-12-13 Thread Giorgos Keramidas
On 2005-12-13 12:15, Gary Kline [EMAIL PROTECTED] wrote:
On Tue, Dec 13, 2005 at 09:03:11PM +0100, Wojciech Puchar wrote:
 how line should look at this file

 to enable anybody in IPv4 10.0.0.0/8 to relay through this server

 10.

 seems not to work.

 I think--but don't *quote* me:) -- that the host-names
 file does eactly what ^Cwhostname does in sendmail.cf.
 So if your host were named foo, you would put ^foo in
 local-host-names.

Not quite.  Careful with those caret (`^') characters.

The /etc/mail/local-host-names file is not where relay control is
configured.  This is what /etc/mail/access and /etc/mail/access.db
are for.

The format of /etc/mail/access is described in:

/usr/share/sendmail/cf/README

Look for the section starting with:

+-+
| ANTI-SPAM CONFIGURATION CONTROL |
+-+

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


Re: /etc/mail/local-host-names

2005-12-13 Thread Dave McCammon


--- Wojciech Puchar [EMAIL PROTECTED] wrote:

 how line should look at this file
 
 to enable anybody in IPv4 10.0.0.0/8 to relay
 through this server
 
 10.
 
 seems not to work.
 
 thanks

I think you need to put that in /etc/mail/access  as 

10  RELAY

and then do a 
#make maps

Check the Makefile in /etc/mail/ for more on the make
option

Read /usr/share/sendmail/cf/README for more info.



__
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: Multiple CPUs

2005-12-13 Thread Pietro Cerutti
On 12/13/05, Robert Fitzpatrick [EMAIL PROTECTED] wrote:
 I guess this means my new server is only using one of my CPUs?

 esmtp# grep CPU /var/log/dmesg.today
 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
   Hyperthreading: 2 logical CPUs
 cpu0: ACPI CPU (2 Cx states) on acpi0

 Can someone point me to the best doc for enabling use of both CPUs on
 the FreeBSD 5.4 server? I assume the kernel needs built with options.

 --
 Robert


Do you really want to enable Hyperthreading?
Read this before:

http://www.daemonology.net/hyperthreading-considered-harmful/


--
Pietro Cerutti
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Thinkpad 380XD with CardBus problems. $PIR: ROUTE_INTERRUPT Failed.

2005-12-13 Thread Andrew Walker
I have installed FreeBSD 6.0 on my Thinkpad 380XD, but I cannot get
networking to work, and I believe it is because there is a conflict
with my cardbus initializing.

The card is a Xircom RBEM58G-100, and is listed as supported under the
dc driver. Here are the relavent messages from /var/log/messages:



cbb0: TI1250 PCI-CardBus Bridge mem 0x20822000-0x20822fff at device
2.0 on pci0
cardbus0: CardBus bus on cbb0
cbb0: TI1250 PCI-CardBus Bridge mem 0x20821000-0x20821fff at device
2.1 on pci0
cardbus0: CardBus bus on cbb1
$PIR: ROUTE_INTERRUPT failed.
cbb: Unable to map IRQ...
device_attach: cbb1 attach returned 12

AND LATER (may not be relavent, but...)

unknown: PNP0303 can't assign resource (port)
unknown: PNP0f13 can't assign resource (irq)
unknown: PNP0700 can't assign resource (port)
unknown: PNP0c02 can't assign resource (memory)
unknown: PNP0400 can't assign resource (port)
unknown: PNP0071 can't assign resource (port)
unknown: PNP0e03 can't assign resource (port)


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


Re: /etc/mail/local-host-names

2005-12-13 Thread Charles Swiger

On Dec 13, 2005, at 3:03 PM, Wojciech Puchar wrote:

how line should look at this file

to enable anybody in IPv4 10.0.0.0/8 to relay through this server

10.

seems not to work.


As someone else has said, local-host-names controls class W, the list  
of hosts for which mail will be delivered locally.  This is not the  
same thing as the list of hosts for which is it OK to relay mail  
for.  You want to add:


10  RELAY

...to /etc/mail/access, and do a make all to rebuild the access map.
(Or consider switching to postfix.  :-)

--
-Chuck

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


Ports vs Packages

2005-12-13 Thread Jose Borquez
When installing the same software using either the ports or a package 
do they both install in the same locations?  For Example installing 
Apache from ports on one server and installing Apache from packages on 
another server would still use the same locations for both?


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


Order of installation for Apache, PHP, IMAP, and MySQL

2005-12-13 Thread Jose Borquez
I need to install and configure Apache, PHP, IMAP, and MySQL because I 
would like to install Group Office which is a groupware application 
sweet.  I need to know if there is a specific order that I need to 
install the applications listed above.  Any help on this would be 
greatly appreciated.


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


Re: Ports vs Packages

2005-12-13 Thread Kris Kennaway
On Tue, Dec 13, 2005 at 01:17:01PM -0800, Jose Borquez wrote:
 When installing the same software using either the ports or a package 
 do they both install in the same locations?  For Example installing 
 Apache from ports on one server and installing Apache from packages on 
 another server would still use the same locations for both?

The same.  A package is just a port built with default options.

Kris


pgpevKoRm0tKC.pgp
Description: PGP signature


Re: Ports vs Packages

2005-12-13 Thread albi
On Tue, 13 Dec 2005 13:17:01 -0800
Jose Borquez [EMAIL PROTECTED] wrote:

  When installing the same software using either the ports or a
 package do they both install in the same locations?  For Example
 installing Apache from ports on one server and installing Apache from
 packages on another server would still use the same locations for
 both?

yes, afaik ports and packages both use /usr/local as prefix
(the makeworld base however uses /usr as prefix)

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HP-UX NFS client

2005-12-13 Thread Darren Henderson

On Tue, 13 Dec 2005, Darren Henderson wrote:



synopsis: freebsd NFS server, HP-UX NFS client. Client succeeds if it uses 
automount to mount the volumes but fails if a manual mount is used despite 
options.


question: anyone have experience in a similar enviroment that can point me 
toward a solution?



Replying to my own post for the archive.

It turned out that for whatever reason rpcinfo was not reporting out nfs. 
I suspect I probably caused rpcbind to restart at some point without 
restarting nfsd.


After rebooting the box rpcinfo did report out.

The reason the automount on the client machine worked was that it didn't 
care about rpc issue. It just assumed the port was there and used it.



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


Off-Topic

2005-12-13 Thread Uncle Deejy-Pooh

We've another contender for the 'Signature-of-the-Forum' award.
This one spotted from Jayesh Jayan:
   The box said Requires Windows 95, NT, or better, so I installed 
Linux.

Although I'm SURE it should read . FreeBSD !

But, still in No1 spot:
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?

From Pietro Cerutti.

   Keep 'em coming
Deej


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


Re: Ports vs Packages

2005-12-13 Thread Nathan Vidican

Jose Borquez wrote:
When installing the same software using either the ports or a package do 
they both install in the same locations?  For Example installing Apache 
from ports on one server and installing Apache from packages on another 
server would still use the same locations for both?


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




By default, afaik - yes, but that's the short answer ;)

--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Off-Topic

2005-12-13 Thread Roland Smith
On Tue, Dec 13, 2005 at 09:35:18PM +, Uncle Deejy-Pooh wrote:
 We've another contender for the 'Signature-of-the-Forum' award.
 This one spotted from Jayesh Jayan:
The box said Requires Windows 95, NT, or better, so I installed 
 Linux.
 Although I'm SURE it should read . FreeBSD !
 
 But, still in No1 spot:
 Windows: Where do you want to go today?
 Linux: Where do you want to go tomorrow?
 FreeBSD: Are you guys coming or what?

A few choicy ones:

I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL

Microsoft spel chekar vor sail, worgs grate!

For a new monitor, nail here: [x]

Unix was not designed to stop people from doing stupid things, because
that would also stop them from doing clever things.
 -- Doug Gwyn

Windows caters to everyone as though they are idiots. UNIX makes no such
assumption. It assumes you know what you are doing, and presents the
challenge of figuring it out for yourself if you don't.

MCSE: Must Consult Someone Experienced

The No. 1 remote administration tool for Windows NT is a car.

The best way to accellerate a computer running Windows is at 9.81 m/s^2

Unix _is_ user-friendly. It's just a little picky about who it's friends
are.

When in doubt, use brute force
 -- Ken Thompson


Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgppJtTjdzl1K.pgp
Description: PGP signature


sysinstall swap node problem

2005-12-13 Thread Josh Endries
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

So anyone have a resolution to this problem asked last year:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/040502.html
http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/042082.html

I'm having the same problem but haven't figured it out, maybe it's
just a bug in sysinstall? If I don't use diskLabelCommit and wait
until installCommit later it continues, but that doesn't make sense
to me; there's no more disk setup type stuff afterwards, just
packages. Bleh.

Josh
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDn0ZOV/+PyAj2L+IRApntAKCdI/5p4VRqGwaF/UcYeYNBLnzePwCeMcjd
C6cSGU+SdKR/Z7tlrpkIisM=
=v6yS
-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: sysinstall swap node problem

2005-12-13 Thread Josh Endries
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Josh Endries wrote:
 I'm having the same problem but haven't figured it out, maybe it's
 just a bug in sysinstall? If I don't use diskLabelCommit and wait
 until installCommit later it continues, but that doesn't make sense
 to me; there's no more disk setup type stuff afterwards, just
 packages. Bleh.

Sorry the command to remove is diskPartitionWrite, not diskLabelCommit.

J
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDn0jOV/+PyAj2L+IRAgBfAJ49pAd24PlSjnDcXWoNDWm4S+KEDgCeN3Hc
Et0fGtvES0Td0hMypF8uUZw=
=hO1y
-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: Order of installation for Apache, PHP, IMAP, and MySQL

2005-12-13 Thread Kevin Kinsey

Jose Borquez wrote:


I need to install and configure Apache, PHP, IMAP, and MySQL because
I would like to install Group Office which is a groupware application 
sweet. 
I need to know if there is a specific order that I need to install the
applications listed above.  Any help on this would be greatly 
appreciated.


Thank you in advance,
Jose



Installing PHP (/usr/ports/lang/php$n) will pull in Apache 1.3 by 
default, and client libraries for IMAP support and MySQL support when 
you install (/usr/ports/lang/php$n-extensions).


I'm assuming though, that you mean an IMAP *server* and a MySQL 
*server*; in which case I'd do either of those first, and followup with 
PHP and php-extensions.


In any case, installing should be as simple as moving to the appropriate
directory under /usr/ports, and typing (as root) make install clean at
a command prompt.  Although it'll be boring, I'd suggest sitting in the
general vicinity of your terminal, as, if this is a fresh install, you
will be prompted for configuration by a curses mode options menu.

You can, however, get around this by doing all your config on the 
command-line; but that's a rather lengthy command string, and might

take almost as much time to discover all the perfect values for.

The good news:  should you desire to reinstall the apps, the
configuration should be saved for you.  See ports(7) for more
information.

HTH,

Kevin Kinsey

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


FBSD4 to FBSD5 gone bad

2005-12-13 Thread Tuc at T-B-O-H
Hi,

Following http://www.freebsd.org/releases/5.3R/migration-guide.html and
I ran into a problem. When I boot to single user mode It sticks and can't get 
farther. I'm typing this by hand

atapci0: Intel PIIX4 UDMA33 controller port 
0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 5.1 on pci0
atapci0: Lazy allocation of 0x10 bytes rid 0x20 type 4 at 0
ata0: channel #0 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0-slave:  stat=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=00 devices=0x1ATA_MASTER
ata0: [MPSAFE]
ata1: channel #1 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376

What now? 

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


Re: Off-Topic

2005-12-13 Thread Robert Marella
On Tue, 13 Dec 2005 22:56:47 +0100
Roland Smith [EMAIL PROTECTED] wrote:

 On Tue, Dec 13, 2005 at 09:35:18PM +, Uncle Deejy-Pooh wrote:
  We've another contender for the 'Signature-of-the-Forum' award.
  This one spotted from Jayesh Jayan:
 The box said Requires Windows 95, NT, or better, so I
  installed Linux.
  Although I'm SURE it should read . FreeBSD !
  
  But, still in No1 spot:
  Windows: Where do you want to go today?
  Linux: Where do you want to go tomorrow?
  FreeBSD: Are you guys coming or what?
 
 A few choicy ones:
 
 I sense much NT in you.
 NT leads to Bluescreen.
 Bluescreen leads to downtime.
 Downtime leads to suffering.
 NT is the path to the darkside.
 Powerful Unix is.
 
 C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL
 
 Microsoft spel chekar vor sail, worgs grate!
 
 For a new monitor, nail here: [x]
 
 Unix was not designed to stop people from doing stupid things, because
 that would also stop them from doing clever things.
  -- Doug Gwyn
 
 Windows caters to everyone as though they are idiots. UNIX makes no
 such assumption. It assumes you know what you are doing, and presents
 the challenge of figuring it out for yourself if you don't.
 
 MCSE: Must Consult Someone Experienced
 
 The No. 1 remote administration tool for Windows NT is a car.
 
 The best way to accellerate a computer running Windows is at 9.81
 m/s^2
 
 Unix _is_ user-friendly. It's just a little picky about who it's
 friends are.
 
 When in doubt, use brute force
  -- Ken Thompson
 
 
 Roland

FreeBSD is as easy as 1 + 1 = 10
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Off-Topic

2005-12-13 Thread Parv
in message [EMAIL PROTECTED], wrote Roland
Smith thusly...

 
 Unix _is_ user-friendly. It's just a little picky about who it's
 friends are.

That is due to Tollef Fog Heen ...

  
http://groups.google.com/group/linux.debian.maint.boot/message/a5ad57a7694c5549?dmode=source


  - Parv

-- 

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


Re: Lousy network performance ...

2005-12-13 Thread Chris
Gayn Winters wrote:
-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Kiffin Gish
Sent: Tuesday, December 13, 2005 1:16 AM
To: freebsd-questions@freebsd.org
Subject: Lousy network performance ...


I am having problems with a slow Internet DSL-connection, 
especially while
surfing around the web.

My service-provider claims that his network is just fine (of 
course!) and
that the problem is because of all the 'so-called junk' I 
have configured on
my home network on my side of the connection.

On my side of the adsl-modem/router I have a router which is connected
directly to two Windows XP desktops, via a switch to two 
FreeBSD machines
(webserver and fileserver) and via a wireless link my combo 
FreeBSD/Windows
XP laptop. I have Samba running for file exchange bweteen the 
Windows and
FreeBSD boxes and I have port 80 opened on the 
adsl-moden/router to allow
access to a couple of web sites I am running.

Is there some kind of way to prove my ISP is wrong by doing a 
trace? What
tools are available? How can I demonstrate that the 
bottleneck is not my
home network but the DSL-connection?
 
 
 Unplug your router, plug in a PC to the adsl-modem.  Set the PC to your
 router's external IP address, DNS, and gateway.  Test the speed. (If
 your ISP won't provide a speed test, Google for DSL speed test and pick
 an appropriate one.)  If you got your ISP to visit you, this is what
 they would do.  They won't (and shouldn't) believe anything else.  Your
 web sites will be down for less than 5 minutes.
 
 -gayn

In addition to the above - keep in mind that most DSL/ADSL is for the
most part, 1.4 meg download and 128k up.

What does that mean? Well - consider the fact while you run a few
webservers, users browsing to those sites are only abable to access it
by my above example, 128k.

Now, imagine several users from the world accessing those same sites. Do
you see where the issues are?

Your provider may very well be telling you the truth. You may be
saturating your pipe without even knowing it.

-- 
Best regards,
Chris

It is morally wrong to allow suckers to keep their money.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports vs Packages

2005-12-13 Thread Jose Borquez

Nathan Vidican wrote:


Jose Borquez wrote:

When installing the same software using either the ports or a package 
do they both install in the same locations?  For Example installing 
Apache from ports on one server and installing Apache from packages 
on another server would still use the same locations for both?


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




By default, afaik - yes, but that's the short answer ;)


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


Re: Ports vs Packages

2005-12-13 Thread Chris
Jose Borquez wrote:
 Nathan Vidican wrote:
 
 Jose Borquez wrote:

 When installing the same software using either the ports or a package
 do they both install in the same locations?  For Example installing
 Apache from ports on one server and installing Apache from packages
 on another server would still use the same locations for both?

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


 By default, afaik - yes, but that's the short answer ;)

 What is the long answer?

... try it for yourself and see?!


-- 
Best regards,
Chris

The label new and/or improved means the price went up.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Getting the network traffic amount since the interface went up

2005-12-13 Thread Parv
I am interested to know the total amount of data passed through a
network interface (em0 in my case) since the interface went up.  So
far, i have seen that pload, nload,  netstat -b -I report the
amount since the operating system has been up, not since the new
ethernet connection has been (re)established.

Is there a way to find out the amount of traffic (in  out) since a
network interface has been up (not since the OS has been up)?

  - Parv

-- 

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


Re: ipfilter question

2005-12-13 Thread Elmer Rivera
#uname -a
FreeBSD hcggw1.hcg.com.ph 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0:
Sat Dec 10 09:49:16 PHT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HCGGW1  i386

  setup /var/log/ipfilter.log as  my log file.

 How/where did you set this up?

# touch /var/log/ipfilter.log

  modified syslog.conf.

 How did you modified this?

# vi /etc/syslog.conf

commented out old security.* and inserted a new line pointing to the file above.

--
#   Consult the syslog.conf(5) manpage.
*.err;kern.warning;auth.notice;mail.crit/dev/console
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err  
/var/log/messages
security.*  /var/log/ipfilter.log
#security.* /var/log/security
auth.info;authpriv.info /var/log/auth.log
mail.info   /var/log/maillog
--

  its working now unfortunately, its loggin on
  that file AND to my messages log file. is it possible to log ipfilter
  log only to my log file?

 Yes, it is possible.

# cat /etc/rc.conf
--
ipfilter_enable=YES
ipnat_enable=YES
ipmon_enable=YES
ipmon_flags=-Dsn

--

 Here's my setup:

 /etc/rc.conf
 ipmon_enable=YES
 ipmon_flags=-Dns

 /etc/syslog.conf
 security.*  /var/log/ipfilter.log


 Make sure you don't have any other security.* facility specified in
 /etc/syslog.conf

yes, there is no other security.* facility, actually i got it working
to log on my file (/var/log/ipfilter.log) but it also logs on
/var/log/messages. I only want to log on my file.


 
  thanks
  --
  Elmer Rivera, http://www.vizcayano.com, http://youand.i.ph
 

 Hope this helps,

 --
 Pietro Cerutti
 [EMAIL PROTECTED]

 Beansidhe - SwiSS Death / Thrash Metal
 www.beansidhe.ch

 Windows: Where do you want to go today?
 Linux: Where do you want to go tomorrow?
 FreeBSD: Are you guys coming or what?


regards

--
Elmer Rivera, http://www.vizcayano.com, http://youand.i.ph
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  1   2   >