Re: BSDStats v4.0: Attempt to address some major issues ...

2006-09-29 Thread Matthew Seaman
Marc G. Fournier wrote:

 I've increased the size of the IDTOKEN to 32 from 16, since I've been
 noticing alot of duplicates when two hosts submit at close to the same
 time ...

Ummm... that's actually really bad.  That means that the RNG used by OpenSSL
(hence SSH and others) is not actually producing anything like a proper
random sequence for a lot of people.  Hence all sorts of crypto handled by
those machines is potentially vulnerable to attack.  If this is the case,
going from 16 to 32 bytes of random token won't actually help at all.

On the other hand, the duplicates could be the result of people deliberately
trying to frig the statistics or just innocently running the 300.statistics
script manually several times.  In either case, entries with duplicate tokens
should be discarded -- I guess you'ld always want to keep just the last entry
for any token.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: IP address impersonation

2006-09-29 Thread Erik Norgaard

Robin Becker wrote:

1) is this a recognized form of attack? I can see that it could be used 
for password harvesting and traffic interception, but are there other 
implications.


ip spoofing is a well known attack.

2) Are there ways to mitigate this kind of problem? We have other hosted 
servers on machines with similar (root) access. They presumably could 
also be impersonated. We found this out by inspection of our own log 
files; could the provider be doing something more to prevent this?


All hosts and routers hold a local dynamic table of arp addresses and 
their corresponding ip addresses. Since the ip may change, these are 
held only for one minute and each node only keeps the addresses they 
actually communicate with.


When some node need to communicate with another node it does not know 
the arp address of it sends out an arp request WHO-HAS to all nodes on 
the network.


If two nodes uses the same ip, they will both respond and it is somewhat 
random who wins. But one can use an attack called arp cache 
poisoning to make a particular arp address appear.


There is a solution to this problem: Static arp-tables. This requires 
that your provider in the router adds machines arp addresses and their 
ip addresses in a static table. Static by nature these are not flushed 
so the spoofing will fail.


Only the nodes that maintain a static arp table will ignore the 
spoofing, so if you need to communicate with other hosts on the network 
these need also to have the static table.


It is likely that your provider don't want to do the trouble of 
maintaining a static table. To prove the problem to them you can use 
arpwatch to monitor changes and document the problem.


You may also use arping to ping arp addresses, this may help you claim 
your ip - like the arp cache poisoning attack. This means that the other 
host will loose connection and maybe make the admin aware that there are 
problems.


But the real solution is to get to the administrator of the offending 
host and make him change the ip. Your provider should keep track of who 
has been assigned which ip. If someone else in error uses your ip, some 
other ip must be free and the provider should be able to identify who it is.


Unfortunately, AFIAK there is no way of identifying which machine is 
offending from analysing the network traffic, but the arp address is 
normally printed on the network interfaces so physical inspection will 
do it.


Things get complicated, because it is possible to change the arp 
address. This means that you can set your arp address to the same as the 
offending host.


If you're connected by a hub or a wireless network, both will get 
traffic to both hosts and it really becomes a mess if both try to 
respond. If you're on a switched network no one knows who gets the packets.


This arp spoofing is the ultimate way of hiding yourself behind someone 
else (or the other way round).


I once had ip's static assigned on a network, but users couldn't figure 
out what these numbers were and every once in a while someone would use 
the routers ip as their own ip taking down the entire network. That was 
when I learned about dhcp! (and all the arp spoofing stuff).


Note, ARP is the protocol, the network interface address is often called 
MAC.


Cheers, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ENABLE_SUID_K5SU and ksu behavior

2006-09-29 Thread Volodymyr Kostyrko
  I don't get it... The behavior of 'ksu' is entirely different from 
'su'. It doesn't check whether user is listed in wheel group - it just 
lets user in if he knows password. And when there's no root password 
(sometimes it's much easier to add to wheel group all who is responsible 
while all other are left out) it just lets anyone in unconditionally. It 
seems that ordinary su works through pam, while ksu doesn't... What am I 
missing?


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


Issues with configuring IPFW for NAT setup

2006-09-29 Thread Garrett Cooper
   I'm trying to configure a lightweight router/gateway just to block 
bad SMTP requests; many virii/spyware apps on Windoze boxes on my 
network have forced our ISP to almost shut us down more than once now 
because people don't know how to manage their machines =\.
   The problem with my config is that all that's going through the NAT 
machine are ICMP packets (?!). Weird..

   Anyhow, here's the ipfw configuration so far:

#!/bin/sh

# comment the line below and uncomment the line following that if you 
just want to test the rule output

cmd_flags=-f
#cmd_flags=-n
cmd=ipfw $cmd_flags
cmd_a=$cmd add
cmd_d=$cmd del
ks=keep-state

# just macros to simplify typing/reading
fata=from any to any
aafat=allow all from any to
daf=deny all from
dafat=$daf any to

prif=fxp0
puif=xl0

# trusted subnet
tsu=192.168.1.0/24
# untrusted subnet
usu=192.168.0.0/24

bad_ports=81, 113, 137-139, 445, 901, 1026, 1433-1434, 1900, 2283, 
2869, 3389, 5000, 8080 # IRC IDENT, HTTP, Sun RPC ports, uPnP 
ports, RDP ports, etc
virus_ports=1080, 2283, 2535, 2745, 3127-3198, 3410, 5554, 8866, 
9898 # See /root/ports.html for a short list 
with explanations


$cmd -f flush

$cmd_a 001 $aafat any via lo*

$cmd_a 050 divert natd ip from any to me in via $puif # Properly direct 
all incoming NAT redirects


$cmd_a 081 $daf 172.16.0.0/12 to any # reserved IPs
$cmd_a 082 $daf 10.0.0.0/8 to any # reserved IPs
$cmd_a 083 $daf 127.0.0.0/8 to any # loopback
$cmd_a 084 $daf 0.0.0.0/8 to any # broadcast
$cmd_a 085 $daf 169.254.0.0/16 to any # auto-DHCP
$cmd_a 086 deny tcp from 224.0.0.0/3 to any # deny multicast TCP support

# private subnet firewall rules -- allow incoming SSH, HTTP, and HTTP-SSL
$cmd_a 160 allow all from any to me 22, 68-69, 80, 443 via $prif

# public SSH rules
$cmd_a 170 allow all from any to me 22 via $puif
$cmd_a 171 deny all from any to me 22, 68-69, 80, 443 via $puif

# SMTP rules -- basically allow SMTP traffic on port 25 to UW, Comcast, 
and Earthlink clients; block the rest to prevent mass spamming   
$cmd_a 200 $aafat smtp.washington.edu 25 out via $puif

$cmd_a 201 $aafat smtp.comcast.net 25 out via $puif
$cmd_a 202 $aafat smtp.earthlink.net 25 out via $puif
$cmd_a 203 $dafat any 25 out via $puif

$cmd_a 400 $dafat any $bad_ports, $virus_ports via $puif
# deny any TCP traffic trying to be forwarded on ports 1-65535. 
Don't block UDP since MSN and other services like to randomly allocate 
ports in this range for UDP use.

$cmd_a 401 deny tcp $fata 1-65535

$cmd_a 600 divert natd all from $tsu to any out via $puif # For outbound 
NAT translation


$cmd_a 605 deny all from $usu to not me via $prif

$cmd_a 611 allow all $fata

Some additional helpful information:

FreeBSD router:
su-2.05b# uname -a
FreeBSD hummer.localdomain 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #10: 
Wed Sep 27 00:17:54 PDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HUMMER  i386

su-2.05b# sysctl -n net.inet.ip.forwarding
1

   Another interesting thing is that it appears that I've totally 
screwed up my TCP configuration or something (or firewalled a bunch of 
ports), so my machine cannot access the outside world (even from 
localhost). The only thing that appears to be working is DNS resolving.. =\.


My routing tables:

su-2.05b# netstat -r -f inet
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.0.1UGS 0 2389xl0
localhost  localhost  UH  02lo0
192.168.0  link#2 UC  00xl0
192.168.0.100:09:5b:56:c4:b4  UHLW20xl0   1175
hoover 00:0a:e6:47:73:c7  UHLW12xl0957
sprsd  00:e0:7d:f7:6e:2e  UHLW116281xl0   1117
192.168.1  link#1 UC  00   fxp0
192.168.1.100:a0:c9:5e:ba:2d  UHLW10lo0
192.168.1.224  00:11:24:2f:15:bc  UHLW1   51   fxp0306

   My static routes in /etc/rc.conf:

#..snip..

#Route defs
static_routes=router tsu usu
#static_routes=usu
route_router=-net 0.0.0.0 192.168.0.1
route_usu=-net 192.168.0.0/24 192.168.0.1
route_tsu=-net 192.168.1.0/24 192.168.1.1

#..end snip..

   Ping example of DNS resolving working:

su-2.05b# ping -c 3 google.com
PING google.com (64.233.187.99): 56 data bytes
64 bytes from 64.233.187.99: icmp_seq=0 ttl=246 time=84.567 ms
64 bytes from 64.233.187.99: icmp_seq=1 ttl=246 time=107.181 ms
64 bytes from 64.233.187.99: icmp_seq=2 ttl=246 time=84.443 ms

--- google.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 84.443/92.064/107.181/10.690 ms
su-2.05b#

   IPFIREWALL sections of kernel config:

su-2.05b# grep IPFIREWALL /root/HUMMER
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=5
options 

Re: NT loader still boot first FreeBSD slice, it could not boot second or another slice

2006-09-29 Thread Luyt
On Friday 29 September 2006 04:26, Daniel Dvořák wrote:

 I wanted to make my system dual or multiboot. I decided to loadding os NT
 loader from Windows XP.

I did this using BOOTPART.  

  http://www.winimage.com/bootpart.htm

It lets me start FreeBSD from the Windows boot menu.


-- 

The ability of the OSS process to collect and harness 
the collective IQ of thousands of individuals across 
the Internet is simply amazing. - Vinod Vallopillil
http://www.catb.org/~esr/halloween/halloween4.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDStats v4.0: Attempt to address some major issues ...

2006-09-29 Thread Joao Barros

On 9/29/06, Marc G. Fournier [EMAIL PROTECTED] wrote:


As painful as it was to do, I backed up the old data tonight and wiped out
the stats ... for one major reason: the stats lost their accuracy.

As I said, you just need to download the new version and run it, you don't
have to wait for the port to go through, assuming you have already
installed from the port and /etc/periodic.conf is setup ...

Make sure you run it right after downloading though ...

If anyone out there can see a flaw in the script ... or something that I
may have overlooked as far as a 'loophole' that could be used to screw
around with the data, please let me know ... I know its not possible,
minus registration, to get rid of all holes, but, hopefully I've now
gotten rid of the ones that a truck could (and did) drive though ...



I just updated the script and it ran fine :)
I'm the only guy yet from Portugal and the only sparc cpu :D

On another subject, with the addition of the other BSDs the releases
stats for example are pretty much nonsense. Do you plan to work on
that?

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


DHCP IP range + auto hostname

2006-09-29 Thread Nagy László


 Hello,

I have a DHCP server with this config file:

option domain-name cassiopeia.ronet;
option domain-name-servers 192.168.0.1;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
ddns-update-style none;

subnet 192.168.0.0 netmask 255.255.0.0 {
 range 192.168.0.101 192.168.0.139;
 option routers 192.168.0.1;
 use-host-decl-names on;
 option broadcast-address 192.168.0.255;
 filename pxeboot;
 option root-path 192.168.0.1:/mnt/d1/rootfs;
}

I would like the diskless machines to set their hostname automatically. 
I have a working named for this. For example:


cassiopeia# host diskless131.ronet
diskless131.ronet has address 192.168.0.131
cassiopeia# host 192.168.0.131
131.0.168.192.in-addr.arpa domain name pointer diskless131.ronet.
cassiopeia#

Of course I can create individual hosts in the dhcp config file and set 
their hostnames. But I do not want to create 40 host declarations and 
look for the hardware addresses by hand...  The clients should be able 
to determine their hostnames using a reverse dns lookup, and the set 
their hostnames automatically. In the above example: after the machine 
got its IP address (192.168.0.131) from the DHCP server, it should set 
its hostname to 'diskless131.ronet'.


Sounds easy, but I do not know how to do that. Is it a standard 
procedure, or do I need to write a custom script? (Where should I place it?)


Thanks,

  Laszlo

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


Re: BSDStats v4.0: Attempt to address some major issues ...

2006-09-29 Thread Antony Mawer

On 29/09/2006 1:11 AM, Joao Barros wrote:

On another subject, with the addition of the other BSDs the releases
stats for example are pretty much nonsense. Do you plan to work on
that?


Yep, each individual *BSD is getting its own detailed stats summary 
section... they're not finished yet, so at the moment I've left the 
links to the old (nonsensical) pages, but it's a long weekend here this 
weekend so I'm hoping to try and finalise them :-)


See here for the FreeBSD page:

http://www.bsdstats.org/freebsd/

Thus far I have Releases and Countries done, so it's just a matter of 
some further formatting and then the Platforms + Devices pages...


Cheers
Antony

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


Re: DHCP IP range + auto hostname

2006-09-29 Thread Erik Norgaard

Nagy László wrote:


 Hello,

I have a DHCP server with this config file:

option domain-name cassiopeia.ronet;
option domain-name-servers 192.168.0.1;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
ddns-update-style none;

subnet 192.168.0.0 netmask 255.255.0.0 {
 range 192.168.0.101 192.168.0.139;
 option routers 192.168.0.1;
 use-host-decl-names on;
 option broadcast-address 192.168.0.255;
 filename pxeboot;
 option root-path 192.168.0.1:/mnt/d1/rootfs;
}

I would like the diskless machines to set their hostname automatically. 
I have a working named for this. For example:


cassiopeia# host diskless131.ronet
diskless131.ronet has address 192.168.0.131
cassiopeia# host 192.168.0.131
131.0.168.192.in-addr.arpa domain name pointer diskless131.ronet.
cassiopeia#

Of course I can create individual hosts in the dhcp config file and set 
their hostnames. But I do not want to create 40 host declarations and 
look for the hardware addresses by hand...  The clients should be able 
to determine their hostnames using a reverse dns lookup, and the set 
their hostnames automatically. In the above example: after the machine 
got its IP address (192.168.0.131) from the DHCP server, it should set 
its hostname to 'diskless131.ronet'.


Sounds easy, but I do not know how to do that. Is it a standard 
procedure, or do I need to write a custom script? (Where should I place 
it?)


IIRC you need to build the kernel for the diskless clients with the 
BOOTP options (I don't remember which of them right now), this should 
allow the kernel to rerequest parameters later in the boot stage.


Cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDStats v4.0: Attempt to address some major issues ...

2006-09-29 Thread Joao Barros

On 9/29/06, Antony Mawer [EMAIL PROTECTED] wrote:

On 29/09/2006 1:11 AM, Joao Barros wrote:
 On another subject, with the addition of the other BSDs the releases
 stats for example are pretty much nonsense. Do you plan to work on
 that?

Yep, each individual *BSD is getting its own detailed stats summary
section... they're not finished yet, so at the moment I've left the
links to the old (nonsensical) pages, but it's a long weekend here this
weekend so I'm hoping to try and finalise them :-)

See here for the FreeBSD page:

 http://www.bsdstats.org/freebsd/

Thus far I have Releases and Countries done, so it's just a matter of
some further formatting and then the Platforms + Devices pages...

Cheers
Antony




It looks very nice indeed, good work! :-)

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


Re: BSDStats v4.0: Attempt to address some major issues ...

2006-09-29 Thread Erik Norgaard

Matthew Seaman wrote:


On the other hand, the duplicates could be the result of people deliberately
trying to frig the statistics or just innocently running the 300.statistics
script manually several times.  In either case, entries with duplicate tokens
should be discarded -- I guess you'ld always want to keep just the last entry
for any token.


How is the country determined? by whois lookup? I am just surprised that 
after the wipe and required update of the stats-script, Panama has 75% 
of the hosts, 10 times the US.


Cheers, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


minimum requirements

2006-09-29 Thread Art Mattox
what are the recommended minimum hw requirements for version 6.1?   e.g. 
diskspace, memory, etc
   
  thank you.
   
  -art
   


-
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question!

2006-09-29 Thread Дмитрий Ефремов
Hello! I have one question. I had installed Free BSD 6.1 and i use GNOME.My 
monitor is Philips 107p5 and i want to have 100 Hz at 1024x768. I wrote the 
characteristics of my monitor to xorg.conf,but it doesn't switch to 100 Hz, 
only 85 Hz. What should i do?
I know that that monitor can support 100 Hz at that resolution!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Raid strip with freebsd slices or partitions

2006-09-29 Thread John Nielsen
On Thursday 28 September 2006 19:43, Damian Wiest wrote:
 On Thu, Sep 28, 2006 at 10:35:10PM +, m3 BSD wrote:
  Hi, i would like to do a raid strip with freebsd slices or partitions
  and not with a entire disk. For example: I've a two SCSI drivers with
  68Gb. I want to make a two partitions or slices in two disks, first
  with 10G and other with 58Gb, this in two disks, and make a raid strip
  virtual disk with 58+58GB = 116 GB, and user other two partitions
  normaly.

 I believe you want to use the GEOM(4) subsystem in general and the
 gstripe(8) command in particular.  I've only used gmirror(8) with
 entire disks, but I believe you can simply specify a device name
 corresponding to the slices you want to stripe.

That's correct. Use bsdlabel to divide the disks how you want them, put your 
normal filesystems on (e.g.) ad0s1a and ad2s1a, and use ad0s1d and ad2s1d as 
the elements of your gstripe. (e.g. gstripe label bigvol ad0s1d ad2s1d).

Or you can divide the disk using fdisk and just use slices as the elements of 
your gstripe (ad0s2 and ad2s2, for instance). It doesn't matter what the 
device actually represents; geom can use it.

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


Re: Question!

2006-09-29 Thread Dimitar Vasilev

Google for custom modeline. Here is a generator.
http://xtiming.sourceforge.net/cgi-bin/xtiming.pl

Best regards,

2006/9/29, Дмитрий Ефремов [EMAIL PROTECTED]:


Hello! I have one question. I had installed Free BSD 6.1 and i use
GNOME.My monitor is Philips 107p5 and i want to have 100 Hz at 1024x768. I
wrote the characteristics of my monitor to xorg.conf,but it doesn't switch
to 100 Hz, only 85 Hz. What should i do?
I know that that monitor can support 100 Hz at that resolution!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Question!

2006-09-29 Thread John Nielsen
On Friday 29 September 2006 05:13, Дмитрий Ефремов wrote:
 Hello! I have one question. I had installed Free BSD 6.1 and i use GNOME.My
 monitor is Philips 107p5 and i want to have 100 Hz at 1024x768. I wrote the
 characteristics of my monitor to xorg.conf,but it doesn't switch to 100 Hz,
 only 85 Hz. What should i do? I know that that monitor can support 100 Hz
 at that resolution!

You could try lying about your monitor's abilities. Try something like

VertRefresh 99.0 - 101.0

in /etc/X11/xorg.conf.

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


Software before trying it

2006-09-29 Thread toby.whaymand
If the Mac uses BSD would that not mean that any one can use Mac software on a 
PC-BSD...

My mind is telling me that this is not possible so it be intresting to know the 
reason behind it... to learn

Thanks 

Toby

-
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software 
Visit www.ntlworld.com/security for more information

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


Re: Software before trying it

2006-09-29 Thread Bill Moran
In response to [EMAIL PROTECTED]:

 If the Mac uses BSD would that not mean that any one can use Mac
 software on a PC-BSD...
 
 My mind is telling me that this is not possible so it be intresting to
know the reason behind it... to learn

Please wrap lines around 72 chars.

The primary reason is that the Mac uses a completely different GUI than
any BSD does.  A secondary reason is that the Mac does not use FreeBSD
exactly, it uses bits and pieces, so it's not a 1:1 copy.

However, there are lots of programs that were written for Linux/BSD that
have easily been ported to the Mac, because the systems are so similar.
It's a lot easier than porting software to Windows.

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


Sounblaster Audigy SE: no driver support/No OSS

2006-09-29 Thread O. Hartmann

Hello.
running FreeBSD 6.2-PRE/AMD64 and bougth a Soundblaster Audigy SE, based 
on the CS0106-DAT DSP.
I search Google and the mailing list and found some notes about this 
sound card and it seems not to be supported yet. Are there plans of 
supporting this sound card in the near future?


The commercial OSS drivers seems to support this Soundblaster, but with 
FreeBSD 6.2-PRE/AMD64, I only get weird noises out of my speakers and my 
box behaves a bit 'jumping' (driver problem?). I would appreciate a 
FreeBSD native driver.


Thank you in advance for any comments and hints,

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


Re: Sounblaster Audigy SE: no driver support/No OSS

2006-09-29 Thread Armin Pirkovitsch
O. Hartmann wrote:
 Hello.
 running FreeBSD 6.2-PRE/AMD64 and bougth a Soundblaster Audigy SE, based
 on the CS0106-DAT DSP.
 I search Google and the mailing list and found some notes about this
 sound card and it seems not to be supported yet. Are there plans of
 supporting this sound card in the near future?
 
 The commercial OSS drivers seems to support this Soundblaster, but with
 FreeBSD 6.2-PRE/AMD64, I only get weird noises out of my speakers and my
 box behaves a bit 'jumping' (driver problem?). I would appreciate a
 FreeBSD native driver.

You might want to try audio/emu10kx (however afaik there is some work on
importing that driver into the base system on CURRENT)

-- 
Armin Pirkovitsch
[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: growfs HELP

2006-09-29 Thread Jerry McAllister
On Thu, Sep 28, 2006 at 05:36:28PM -0500, Kristopher Yates wrote:

 
 It takes some knowledge to grow peanuts.
 If you want help, don't throw ignorance stones.
 
 Hey dude,
 
 You threw the first stone.  I'm not Jesus. I'll throw one right back 
 'atcha, old man.

What stone?

  By the way, those are pretty small drives.   I don't see any
  on the market nowdays less that 18 GB and more likely larger.
  Maybe you need some new hardware.
  ///jerry
 
 After reading your initial response, I decided to create a new partition 
 and move the majority of /usr
 to it.  I dont have all day.  Problem solved.  I see in your last response 
 that we are agreeable technologically, at least as far as symlinking goes.
 
 Waste not, want not.
 
 ON a final note, democrats are just as corrupt as republicans.  Don't go 
 whining about milking the cow dry being a problem with right wing fascists. 
 Left wing libs do the same thing all the time.  Look at both sides of the 
 fence.  God Bless the FBI.  We should throw all the rich senators and 
 congressmen in jail.  Talk about ignorant stones.  I didn't know you 
 collected rocks!

Yah, but in this case there was a specific group and they liked
to be right wingers.   The don't qualify as honest conservatives.

jerry

 
 efilnikufecin and a long cold winter,
 
 Kris
 
 
 From: Jerry McAllister [EMAIL PROTECTED]
 To: Kristopher Yates [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: growfs HELP
 Date: Thu, 28 Sep 2006 15:17:17 -0400
 
 On Thu, Sep 28, 2006 at 01:54:26PM -0500, Kristopher Yates wrote:
 
  Anyone else have any suggestions?
 
  I was thinking I could rewrite my partition table to what it was
  originally, then growfs using the empty partionable space.. but I dont
  exactly know how. I just had some docs I found online (URL is below).
   Before I did fdisk -s, the 2.888GB was an empty partition of the drive
  where I could have created a new partition.. but instead I did fdisk to
  merge it all into the same partition.  The docs I read said to do that,
  then growfs..  I just didnt understand the vague explanation of doing 
 the
  math to determine the correct number of sectors to pass to growfs.
 
  The docs I was using: http://ezine.daemonnews.org/200111/growfs.html
 
  I know it is possible without doing all that you suggested.  It should 
 be a
  matter of just executing growfs properly and I'm done.  Otherwise, it 
 would
  be easier to just do a fresh install than to do all that you suggested.
  Makes sense to me.  I'd rather not have to reinstall.
 
 No, it is less trouble to do it the way I wrote.
 Doing the dd stuff is harder and anyway, may not result in what
 you want.
 
 Growfs is really not all that useful.
 Remember that you have to have empty space in the slice right
 contiguous to to the one you want to grow.   You cannot just grab
 space from somewhere else on the disk and add it in.
 
 You could, if you have free space already within an existing
 file system, move some diectories, such as /usr/local out of /usr
 and put them[it] in the available space and create a sym link to
 the new location.
 
 But, if it is unused space that has not been part of a partition, you
 will remake the partition table with disklabel.  If the space is right
 at the end of existing partitioned space, you might get away with it
 without redoing everything, but it is kind of an unadvisable thing
 to try, because what gets written back in the partition table for
 the existing partitions just might not line up exactly with their
 previous positions - you're expecting a new pointer to point to the
 same place as the old one.  It could, but maybe a critical sector gets
 mapped out in the middle things.  It would mess things up.
 
 So,
 
  My idea was to post here and get a better understanding, growfs and be 
 done
  with it.  I didnt expect comments from the peanut gallery; ie.
 
 It takes some knowledge to grow peanuts.
 If you want help, don't throw ignorance stones.
 
  By the way, those are pretty small drives.   I don't see any
  on the market nowdays less that 18 GB and more likely larger.
  Maybe you need some new hardware.
  ///jerry
 
  Not everyone has a kush job at the SCNC working with universities.
 
 What do you know about SCNC?  Obviously nothing.
 
 
  A) Why does a box that is just running NATD and portsentry need an 18GB
  hard drive and a faster processor?
 
 Whatever you want.
 
  B) Maybe you need to give me some money so that I may afford to build 
 the
  fancy firewall/gateway that you suggest.  I almost appreciate your reply
  but found your final remark to be rather condescending.
 
  My hardware is fine.  It works and its all I have.  This firewall box 
 has
  been online 24/7 since 1998 running FBSD just fine.  Blow the dust out 
 once
  a year and keep on trucking.
 
 Fine.
 I have a couple of those right here.
 
 
 
 
  Michigan has the 2nd worst economy in the US.  I would think you would 
 be
  more understanding of my 

Permissions on /var/mail directory

2006-09-29 Thread Gerard Seibert
FreeBSD 6.1-RELEASE-p8
postfix-current-2.4.20060903,3
dovecot-1.0.r7

I just did a buildworld along with a new kernel this morning. While doing 
the installworld, I noticed an error message displayed regarding 
the /var/mail directory. I have the directory set to: 1777 so that dovecot 
can assess it. The installworld process reset the permissions to 0775 which 
were not sufficient for Dovecot.

The dovecot.log file had over a hundred entries similar to this:

deliver(gerard): Error: 
open(/var/mail/.temp.scorpio.seibercom.net.1123.cd38cd4d82e1368f) failed: 
Permission denied
deliver(gerard): Error: file_lock_dotlock() failed with mbox 
file /var/mail/gerard: Permission denied

Obviously the /var/log/maillog had similar fail warnings.

By changing the permission to 1777 on the /var/mail directory and running 
postsuper -r ALL, I was able to get the mail delivered. This is the second 
time this has happened. The last time I rebuild world I experienced the 
same phenomena. Why does build world insist on changing the directory 
permissions and is there a way I can prevent it from doing so?

What I am trying to determine is if I really should have those settings on 
the directory, or if I have something configured wrong in either postfix or 
dovecot.


-- 
Gerard Seibert
[EMAIL PROTECTED]

Antique fairy tale: Little Red Riding Hood.
Modern fairy tale: Oswald, acting alone, shot Kennedy.


pgplvg4O5STiy.pgp
Description: PGP signature


Re: Sounblaster Audigy SE: no driver support/No OSS

2006-09-29 Thread O. Hartmann

Armin Pirkovitsch wrote:

O. Hartmann wrote:
  

Hello.
running FreeBSD 6.2-PRE/AMD64 and bougth a Soundblaster Audigy SE, based
on the CS0106-DAT DSP.
I search Google and the mailing list and found some notes about this
sound card and it seems not to be supported yet. Are there plans of
supporting this sound card in the near future?

The commercial OSS drivers seems to support this Soundblaster, but with
FreeBSD 6.2-PRE/AMD64, I only get weird noises out of my speakers and my
box behaves a bit 'jumping' (driver problem?). I would appreciate a
FreeBSD native driver.



You might want to try audio/emu10kx (however afaik there is some work on
importing that driver into the base system on CURRENT)

  
This above mentioned driver doesn't support the sound card in question, 
sorry.


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


Periodic Emails are not coming

2006-09-29 Thread Abid Saigol

Hello,

Recently, the daily/weekly/monthly periodic emails have stopped coming 
from one of my servers.  There were no changes made of the system, 
except that part of the filesystem was exported as an NFS share.  These 
shares are setup on another FreeBSD machine for automount.  I have 
checked my /etc and /var/logs and cannot find any reason for the mails 
to have stopped.  Any help and guidance will be greatly appreciated.  
Here are some of the relevant files:


/etc/crontab
=
# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.32 2002/11/22 16:13:39 tom Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hourmdaymonth   wdaywho command
#
*/5 *   *   *   *   root/usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11*   *   *   *   operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0   *   *   *   *   rootnewsyslog
#
# Perform daily/weekly/monthly maintenance.
1   3   *   *   *   rootperiodic daily
15  4   *   *   6   rootperiodic weekly
30  5   1   *   *   rootperiodic monthly
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.
1,310-5 *   *   *   rootadjkerntz -a

/etc/periodic.conf
=
daily_clean_hoststat_enable=NO
daily_status_mail_rejects_enable=NO
daily_status_include_submit_mailq=NO
daily_submit_queuerun=NO

/var/log/cron [for 3am when daily is supposed to run]
==
Sep 29 03:00:00 server /usr/sbin/cron[25669]: (root) CMD (newsyslog)
Sep 29 03:00:00 server /usr/sbin/cron[25671]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/newsales.php)
Sep 29 03:00:00 server /usr/sbin/cron[25672]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/newlisting.php)
Sep 29 03:00:00 server /usr/sbin/cron[25673]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/mkthumb.php)
Sep 29 03:00:00 server /usr/sbin/cron[25670]: (operator) CMD 
(/usr/libexec/save-entropy)
Sep 29 03:00:00 server /usr/sbin/cron[25674]: (root) CMD 
(/usr/libexec/atrun)
Sep 29 03:00:00 server /usr/sbin/cron[25675]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/parselogs.php)

Sep 29 03:01:00 server /usr/sbin/cron[25695]: (root) CMD (periodic daily)
Sep 29 03:01:00 server /usr/sbin/cron[25696]: (root) CMD (adjkerntz -a)
Sep 29 03:02:00 server /usr/sbin/cron[25808]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/mkthumb.php)
Sep 29 03:02:27 server cron[25694]: (root) MAIL (mailed 123 bytes of 
output but got status 0x004b )
Sep 29 03:04:00 server /usr/sbin/cron[25955]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/mkthumb.php)
Sep 29 03:05:00 server /usr/sbin/cron[25960]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/newsales.php)
Sep 29 03:05:00 server /usr/sbin/cron[25959]: (root) CMD 
(/usr/libexec/atrun)


/var/log/maillog [running courier-mta]
==
Sep 29 03:00:11 server courierd: Waiting.  shutdown time=Fri Sep 29 
03:05:11 2006, wakeup time=Fri Sep 29 03:05:11 2006, queuedelivering=0, 
inprogress=0
Sep 29 03:05:11 server courierd: SHUTDOWN: respawnlo limit reached, 
system inactive.

Sep 29 03:05:11 server courierd: Loading STATIC transport module libraries.
Sep 29 03:05:11 server courierd: Courier 0.53.2 Copyright 1999-2005 
Double Precision, Inc.

Sep 29 03:05:11 server courierd: Installing [0/0]
Sep 29 03:05:11 server courierd: Installing local
Sep 29 03:05:11 server courierd: Installed: module.local - Courier 
0.53.2 Copyright 1999-2005 Double Precision, Inc.

Sep 29 03:05:11 server courierd: Installing esmtp
Sep 29 03:05:11 server courierd: Installed: module.esmtp - Courier 
0.53.2 Copyright 1999-2005 Double Precision, Inc.

Sep 29 03:05:11 server courierd: Installing dsn
Sep 29 03:05:11 server courierd: Installed: module.dsn - Courier 0.53.2 
Copyright 1999-2005 Double Precision, Inc.

Sep 29 03:05:11 server courierd: Initializing local
Sep 29 03:05:11 server courierd: Initializing esmtp
Sep 29 03:05:11 server courierd: Initializing dsn
Sep 29 03:05:11 server courierd: Started exec ./courierlocal, pid=25964, 
maxdels=10, maxhost=4, maxrcpt=1
Sep 29 03:05:11 server courierd: Started exec ./courieresmtp, pid=25965, 
maxdels=40, maxhost=4, maxrcpt=100
Sep 29 03:05:11 server courierd: Started exec ./courierdsn, pid=25966, 
maxdels=4, maxhost=1, maxrcpt=1

Sep 29 03:05:11 server courierd: queuelo=200, queuehi=400
Sep 29 03:05:11 server courierd: Purging /var/spool/courier/msgq
Sep 29 03:05:11 server courierd: Purging /var/spool/courier/msgs
Sep 29 03:05:11 server courierd: Waiting.  shutdown time=Fri Sep 29 
04:05:11 2006, wakeup time=Fri Sep 29 04:05:11 2006, queuedelivering=0, 
inprogress=0


The only 

Re: Periodic Emails are not coming

2006-09-29 Thread Thomas T. Veldhouse

Abid Saigol wrote:

Hello,

Recently, the daily/weekly/monthly periodic emails have stopped coming 
from one of my servers.  There were no changes made of the system, 
except that part of the filesystem was exported as an NFS share.  
These shares are setup on another FreeBSD machine for automount.  I 
have checked my /etc and /var/logs and cannot find any reason for the 
mails to have stopped.  Any help and guidance will be greatly 
appreciated.  Here are some of the relevant files:
Have you inadvertently aliased the root user to another user?  Or 
perhaps you deleted an alias and should be looking in the root mailbox? 

I have virtual mail setup on my systems and I lost periodic emails as 
well until I configured postfix correctly to consider my local machine's 
hostname as an acceptable recipient.  I now alias root to the virtual 
user I want to receive these emails.


Tom Veldhouse


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


Re: Software before trying it

2006-09-29 Thread Garrett Cooper

[EMAIL PROTECTED] wrote:

If the Mac uses BSD would that not mean that any one can use Mac software on a 
PC-BSD...

My mind is telling me that this is not possible so it be intresting to know the 
reason behind it... to learn

Thanks 


Toby
  
Short answer: not possible. This is due in part to a proprietary setup 
with Apple's libraries and stuff, and also due to the fact that many 
items have been modified in Darwin and differ from a traditional BSD setup.

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


Re: Periodic Emails are not coming

2006-09-29 Thread Drew Sanford

Thomas T. Veldhouse wrote:

Abid Saigol wrote:

Hello,

Recently, the daily/weekly/monthly periodic emails have stopped 
coming from one of my servers.  There were no changes made of the 
system, except that part of the filesystem was exported as an NFS 
share.  These shares are setup on another FreeBSD machine for 
automount.  I have checked my /etc and /var/logs and cannot find any 
reason for the mails to have stopped.  Any help and guidance will be 
greatly appreciated.  Here are some of the relevant files:
Have you inadvertently aliased the root user to another user?  Or 
perhaps you deleted an alias and should be looking in the root mailbox?
I have virtual mail setup on my systems and I lost periodic emails as 
well until I configured postfix correctly to consider my local 
machine's hostname as an acceptable recipient.  I now alias root to 
the virtual user I want to receive these emails.
I had this same thing happen recently on one of my machines, but it was 
one I use for my desktop. They stopped for me when I installed KDE, 
upgrading from enlightenment. I don't know if there's something going on 
with a particular update or not, but honestly, the mails don't even 
appear to be getting generated, which is to say, I don't know if the job 
is even being run. Can you determine if the job is being run for you or not?

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


Re: minimum requirements

2006-09-29 Thread Jerry McAllister
On Thu, Sep 28, 2006 at 06:13:16PM -0700, Art Mattox wrote:

 what are the recommended minimum hw requirements for version 6.1?   
 e.g. diskspace, memory, etc

I don't know what the current absolute minimum to run values
would be.   So recommended minimums would be somewhat subjective
and depend on the intended use of the machine and the number
of ports and user accounts you might put on it.

For a personal work station with only a few ports, but not a
stripped DNS server or something, I would recommend at least 512 MB
memory and 18 GB disk and 1.5 GHz CPU with at least 400 MHz frontside
bus.   More and faster is nice.
A stripped router or DNS server might get by with 1/4 the memory
and 1 GB disk and a much slower CPU.

A loaded desktop that included web server and web based utilities
such as database services, Email and list services, etc might do better
to start with 1 GB memory and 72 GB disk and 2 Ghz CPU and storage
would go up from there depending on the size of things you are 
serving.

jerry


   thank you.

   -art

 
   
 -
 Do you Yahoo!?
  Get on board. You're invited to try the new Yahoo! Mail.
 ___
 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]


Swap Size Importance?

2006-09-29 Thread Chris
As a standard practice, I've always configured swap file to be double  
the size of real ram split across system and data disk. For example,  
8gb on da0 and 8gb on da1 if the system has 8g real ram. In practice,  
In 7 or 8 years, I've never seen swap used for anything but a few k  
of inactive processes and I would imagine if real active process  
swapping occurred, it would be an immediate indicator that the system  
that isn't responsive enough for use anymore and requires upgrade or  
tuning. Can't run a website process off disk and keep anyone coming  
to the site ;-). (BTW, I'm talking only about high end servers, not  
test boxes where I've seen lots of swapping).


I'm at the point of attempting my first gvinum software raid-5 and  
realized, I need the entire disk storage of all three non-system  
drives to avoid pulling an 8gb chunk out of the drive sizes. The  
configuration is one scsi 72g system disk and 3 that will be used for  
the raid volume. I should mention I turn off dumps, haven't found the  
use for that in a production server since it should not be rebooting  
or it's back in the shop and another box is taking it's place.


Is there any shortfall in performance or reliability to running  
production with swap equal in size to the 8gb of system memory? I  
can't think of any but don't want to make a hard to correct mistake  
once this thing goes in. 
___

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


Re: Periodic Emails are not coming

2006-09-29 Thread Abid Saigol

   Tom,
   Thanks for pointing me in the right direction.
   My aliases file was setup properly, but I have discovered that it
   wasn't compiled (I hadn't run makealiases for courier-mta).  When I
   tried to send mail to root (#mail root), it failed.  However, after
   running makealiases I was able to send mail to root.  I will know
   tomorrow am whether this means that periodic will run successfully.
   Since the maillog showed successful transmission of other messages, I
   automatically assumed that the problem was not with mail
   configuration...
   Thanks for the help.
   Abid
   Thomas T. Veldhouse wrote:

 Abid Saigol wrote:

 Hello,
 Recently, the daily/weekly/monthly periodic emails have stopped
 coming from one of my servers.  There were no changes made of the
 system, except that part of the filesystem was exported as an NFS
 share.  These shares are setup on another FreeBSD machine for
 automount.  I have checked my /etc and /var/logs and cannot find
 any reason for the mails to have stopped.  Any help and guidance
 will be greatly appreciated.  Here are some of the relevant files:

 Have you inadvertently aliased the root user to another user?  Or
 perhaps you deleted an alias and should be looking in the root
 mailbox?
 I have virtual mail setup on my systems and I lost periodic emails
 as well until I configured postfix correctly to consider my local
 machine's hostname as an acceptable recipient.  I now alias root to
 the virtual user I want to receive these emails.
 Tom Veldhouse
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: minimum requirements

2006-09-29 Thread Farcas Felix


look at:
http://lists.freebsd.org/pipermail/freebsd-doc/2006-August/011029.html

or:
FreeBSD 6.1-RELEASE:
4MB, 8MB: Dies at bootstrap loader.
12MB, 16MB: Dies while loading acpi.ko.
20MB: Boots / Successfully installed the default minimal distribution set.
Mem: 2484K Active, 1396K Iact, 6004K Wired, 680K Cache, 1984K Buf, 348K 
Free Swap: 7184K Total, 2732K Used, 4452K Free, 38% Inuse

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


Re: Swap Size Importance?

2006-09-29 Thread John Nielsen
On Friday 29 September 2006 11:52, Chris wrote:
 As a standard practice, I've always configured swap file to be double
 the size of real ram split across system and data disk. For example,
 8gb on da0 and 8gb on da1 if the system has 8g real ram. In practice,
 In 7 or 8 years, I've never seen swap used for anything but a few k
 of inactive processes and I would imagine if real active process
 swapping occurred, it would be an immediate indicator that the system
 that isn't responsive enough for use anymore and requires upgrade or
 tuning. Can't run a website process off disk and keep anyone coming
 to the site ;-). (BTW, I'm talking only about high end servers, not
 test boxes where I've seen lots of swapping).

 I'm at the point of attempting my first gvinum software raid-5 and
 realized, I need the entire disk storage of all three non-system
 drives to avoid pulling an 8gb chunk out of the drive sizes. The
 configuration is one scsi 72g system disk and 3 that will be used for
 the raid volume. I should mention I turn off dumps, haven't found the
 use for that in a production server since it should not be rebooting
 or it's back in the shop and another box is taking it's place.

 Is there any shortfall in performance or reliability to running
 production with swap equal in size to the 8gb of system memory? I
 can't think of any but don't want to make a hard to correct mistake
 once this thing goes in.

Nope. I routinely run boxes with 512MB or 1GB of swap, even if the RAM size is 
much higher than that. You won't have anywhere to save a crashdump in that 
case, but you seem to already be aware of that.

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


Re: minimum requirements

2006-09-29 Thread Girish Venkatachalam
On Fri, Sep 29, 2006 at 11:48:26AM -0400, Jerry McAllister wrote:
 I don't know what the current absolute minimum to run values
 would be.   So recommended minimums would be somewhat subjective
 and depend on the intended use of the machine and the number
 of ports and user accounts you might put on it.
 
 For a personal work station with only a few ports, but not a
 stripped DNS server or something, I would recommend at least 512 MB
 memory and 18 GB disk and 1.5 GHz CPU with at least 400 MHz frontside
 bus.   More and faster is nice.
 A stripped router or DNS server might get by with 1/4 the memory
 and 1 GB disk and a much slower CPU.
 
 A loaded desktop that included web server and web based utilities
 such as database services, Email and list services, etc might do better
 to start with 1 GB memory and 72 GB disk and 2 Ghz CPU and storage
 would go up from there depending on the size of things you are 
 serving.
 
 jerry

I am happily running FreeBSD 6.0 on 233 Mhz 128 MB RAM machine. It has given 
very good performance with very little cause for complaint. 

It is my workstation/desktop. I am not aware of any theoretical limit on 
hardware config for FreeBSD. 

Please remember to config a big enuf swap partition if ur RAM is low. 

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


Re: minimum requirements

2006-09-29 Thread Alex Zbyslaw

Jerry McAllister wrote:


On Thu, Sep 28, 2006 at 06:13:16PM -0700, Art Mattox wrote:

 

what are the recommended minimum hw requirements for version 6.1?   
e.g. diskspace, memory, etc
   



I don't know what the current absolute minimum to run values
would be. 

I believe minimum ram is 24Mb but if you can get more... .  I'm sure I 
used to run 4.X off  4Gb of disk and would suspect 6.X would fit too, 
with care.  Of course, you have to be very careful what you actually do 
with a machine this low spec'ed.  Certainly no room to compile firefox 
or openoffice :-)


--Alex



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


Re: portupgrade: ruby state=swread

2006-09-29 Thread Karol Kwiatkowski
On 28/09/2006 23:44, Pascal Bleyler wrote:
 Hello,
 
 i'm actually updating my installed ports with
 portupgrade -a over a remote ssh session.
 Before i have done a cvsup and a portsdb -Fu
 
 There are only 3 ports needing an update, one of this port
 is ruby.
 pkg_info means i have ruby18-bdb1-0.2.2 installed
 and under /usr/ports/distfiles/ruby is
 ruby-1.8.5.tar.gz (i think it's the update version)
 
 All ran fine but since 1hour top shows me the following:
 
 
 last pid: 12998;  load averages:  0.47,  0.18,  0.06up 0+03:12:40
 23:28:35
 41 processes:  1 running, 40 sleeping
 CPU states:  0.8% user,  0.0% nice,  0.8% system,  0.4% interrupt, 98.0%
 idle
 Mem: 82M Active, 4340K Inact, 24M Wired, 5268K Cache, 22M Buf, 480K Free
 Swap: 231M Total, 126M Used, 105M Free, 54% Inuse, 956K In
 
   PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
 12613 root1 -200   123M 87500K swread   6:29  0.05% ruby18
 
 
 The output of portupgrade -a is also since 1hour:
 snip
 stringio.c: c.
 strscan.c: cc
 Generating RI...
 
 
 I use FreeBSD_6.1.RELEASE without the today published
 patch for FreeBSD-SA-06:23.openssl 
 
 What can i do now? I don't want to kill the update process. Dunno
 what happens then :/
 
 Many thanks in advance for any hints
 Pascal Bleyler

Just some thoughts as others already identified the problem:

here's similar thread with some workarounds:
http://lists.freebsd.org/pipermail/freebsd-questions/2006-September/131328.html

In the meantime I've found NOPORTDOCS variable - if you don't need
ruby docs just disable them (docs are generated during install part)

# cd /usr/ports/lang/ruby18
# make -DNOPORTDOCS install

The install part without docs takes about 30 seconds on 400Mhz/96MB
machine (it would take hours otherwise).

HTH,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: Swap Size Importance?

2006-09-29 Thread Jerry McAllister
On Fri, Sep 29, 2006 at 08:52:58AM -0700, Chris wrote:

 As a standard practice, I've always configured swap file to be double  
 the size of real ram split across system and data disk. For example,  
 8gb on da0 and 8gb on da1 if the system has 8g real ram. In practice,  
 In 7 or 8 years, I've never seen swap used for anything but a few k  
 of inactive processes and I would imagine if real active process  
 swapping occurred, it would be an immediate indicator that the system  
 that isn't responsive enough for use anymore and requires upgrade or  
 tuning. Can't run a website process off disk and keep anyone coming  
 to the site ;-). (BTW, I'm talking only about high end servers, not  
 test boxes where I've seen lots of swapping).
 
 I'm at the point of attempting my first gvinum software raid-5 and  
 realized, I need the entire disk storage of all three non-system  
 drives to avoid pulling an 8gb chunk out of the drive sizes. The  
 configuration is one scsi 72g system disk and 3 that will be used for  
 the raid volume. I should mention I turn off dumps, haven't found the  
 use for that in a production server since it should not be rebooting  
 or it's back in the shop and another box is taking it's place.
 
 Is there any shortfall in performance or reliability to running  
 production with swap equal in size to the 8gb of system memory? I  
 can't think of any but don't want to make a hard to correct mistake  
 once this thing goes in. 

It really depends on the number and size of processes you will be
running.  It you have a large memory and generally run a mix of
processes that will totally fit in memory, then it probably doesn't
doesn't matter much.   But, if you run enough to actually cause 
paging - which goes to swap space - then it becomes an issue.  Also,

I think some things that get pulled to execute often can get left
in swap space and accessed more quickly that all the way from main
disk each time.  eg the system keeps track of what it has in swap and 
it is more efficient to read from swap - less overhead.   But someone 
else should know more about that than I.

jerry

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


Trouble with Berkeley DB version 4.4.20?

2006-09-29 Thread Mark

Hello,

Am I the only person having trouble with Berkeley DB version 4.4.20? I've
been using 4.2 for quite a while. Then I upgraded, a few days back. But a
Perl process that actually uses it (BerkeleyDB-0.30) has become unstable.
I've been ktracing it, and setting log-points myself, but it keeps core
dumping at places where it accesses BerkeleyDB. Sporadically, but often
enough.

Naturally I compiled BerkeleyDB-0.30 against the correct libraries (in
config.in). And it seems more or less ok, but not always. Finally, this
morning, I just did a full restore from an earlier date; db44 is not
working out for me, obviously.

I'm not sure whether it's Berkeley DB version 4.4.20 or BerkeleyDB-0.30,
or a combination of the two; but I wonder if someone else has had trouble
with it, too? Sometimes I got a weird lock error notice; but otherwise it
remains a mystery.

- Mark

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


Re: minimum requirements

2006-09-29 Thread Robert Huff

Alex Zbyslaw writes:

  I believe minimum ram is 24Mb but if you can get more... .  I'm
  sure I used to run 4.X off  4Gb of disk

Sometime around then it was possible* to do a completely
bare-bones installation in around 850 mb.  This meant one partition,
no swap, no X, no sources, no whole-pretty-much-anything not needed
to get a) a login prompt and b) connected.


Robert Huff


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


Re: Swap Size Importance?

2006-09-29 Thread Chris


On Sep 29, 2006, at 9:06 AM, Jerry McAllister wrote:


On Fri, Sep 29, 2006 at 08:52:58AM -0700, Chris wrote:



Is there any shortfall in performance or reliability to running
production with swap equal in size to the 8gb of system memory? I


doesn't matter much.   But, if you run enough to actually cause
paging - which goes to swap space - then it becomes an issue.  Also,

I am assuming that real paging of active processes is death to that  
server anyway and means something else has to be throttled back with  
tuning of network bufs, apache or mysql. Same for crash dumps, can't  
run a server that is taking dumps or you lose your traffic.



I think some things that get pulled to execute often can get left
in swap space and accessed more quickly that all the way from main
disk each time.  eg the system keeps track of what it has in swap and
it is more efficient to read from swap - less overhead.   But someone


This is the part that concerned me. If one views a top on well  
running system and sees no swapping, I wanted to make certain there  
is no magic going on behind the scenes where processes have been  
mapped to swap in such a way that I could be currently benefitting  
from swap being higher than actual and not know it. If top is an  
accurate read on whether the system has placed high use processes in  
swap then it would suggest the first post is correct, and a memory  
rich system, where you configure to never exceed real memory, wastes  
that storage taken in swap. For expensive drives, given the sizes we  
use in RAM now, it's hard to justify. In the case of attempting this  
raid-5 configuration, it equates to the loss of 24G in scsi storage.  
I will run with 8g on the system drive.


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


How to get best results from FreeBSD-questions

2006-09-29 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-09-29 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


dell poweregde 2900/2950 and FreeBSD

2006-09-29 Thread Stas Khromoy

hey folks

we're planing to expand, which of course requires us to buy another server.
so here is the question are there any known problems with dell PowerEdge 
2900/2950

and FreeBSD ?

thanks


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


Trouble with Berkeley DB version 4.4.20?

2006-09-29 Thread Mark

Hello,

Am I the only person having trouble with Berkeley DB version 4.4.20? I've
been using 4.2 for quite a while. Then I upgraded, a few days back. But a
Perl process that actually uses it (BerkeleyDB-0.30) has become unstable.
I've been ktracing it, and setting log-points myself, but it keeps core
dumping at places where it accesses BerkeleyDB. Sporadically, but often
enough.

Naturally I compiled BerkeleyDB-0.30 against the correct libraries (in
config.in). And it seems more or less ok, but not always. Finally, this
morning, I just did a full restore from an earlier date; db44 is not
working out for me, obviously.

I'm not sure whether it's Berkeley DB version 4.4.20 or BerkeleyDB-0.30,
or a combination of the two; but I wonder if someone else has had trouble
with it, too? Sometimes I got a weird lock error notice; but otherwise it
remains a mystery.

- Mark

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


Re: dell poweregde 2900/2950 and FreeBSD

2006-09-29 Thread Bill Moran
In response to Stas Khromoy [EMAIL PROTECTED]:

 hey folks
 
 we're planing to expand, which of course requires us to buy another server.
 so here is the question are there any known problems with dell PowerEdge 
 2900/2950
 and FreeBSD ?

Yes.  Search the various lists and you'll see lots.

To summarize our personal experience:
1) Dell's DRAC5 client now works _only_ with Windows/IE -- which means
   I can't use it from my FreeBSD workstation.
2) The USB drivers in FreeBSD 6.1 don't work right with the DRAC5, which
   means that you can DRAC in from a Windows workstation, but you have
   neither keyboard nor mouse.  I worked with some developers and the
   fix is in 6-STABLE, so it will be in 6.2.
3) We're having intermittent problems with the onboard NICs on these
   units.  I have some testing to do Monday to narrow the problem down,
   but for now, don't trust the onboard NICs to work reliably.

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


printer recommendation

2006-09-29 Thread Christopher M. Hobbs
Could anyone recommend a good desktop laser jet printer that is known to
work under FreeBSD.  I don't mind if it's an older model.  I'd like to
go cheap with it.

I will be printing black and white planning sheets, and portions of
books.  

Is there a list of printers that are useable under FreeBSD somewhere?

Thank you for your time!
cmh
-- 
Christopher M. Hobbs
IS Technician, City of Siloam Springs
[EMAIL PROTECTED], (479).524.5136


pgpleJqWcgjnt.pgp
Description: PGP signature


Re: printer recommendation

2006-09-29 Thread Doug Poland

On Fri, September 29, 2006 14:03, Christopher M. Hobbs wrote:

 Could anyone recommend a good desktop laser jet printer that is known
 to work under FreeBSD.  I don't mind if it's an older model.  I'd
 like to go cheap with it.

I've got an HP-4050 LaserJet (addin JetDirect) at home that works
great. At one office, I just installed an HP-1320 (duplexing/built-in
JetDirect) and it works great too.

I ran both of using postscript with lp but have recently switched to
CUPS without issue.

I've always purchased printers that speak postscript then
configuration and usage is a snap.


-- 
Regards,
Doug

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


6.1-RELEASE compiler/preprocessor problem?

2006-09-29 Thread Jason Lixfeld
Not claiming to know much about anything, but can't seem to get this  
to compile.  The only things that stand out are the preprocessor  
error (which I don't know enough about to even begin to troubleshoot)  
and the tiffio.h no such file error.  I can vouch for the existence  
of the tiffio.h in /usr/local/include, but not sure if that's  
actually where it's trying to find it.


[EMAIL PROTECTED] /usr/ports/net/iaxmodem]# uname -a
FreeBSD julian 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #2: Sat Aug 19  
15:24:32 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JULIAN  amd64

[root at julian /usr/ports/net/iaxmodem]# make
===  Patching for iaxmodem-0.1.14
===  Applying FreeBSD patches for iaxmodem-0.1.14
===   iaxmodem-0.1.14 depends on shared library: tiff.4 - found
===  Configuring for iaxmodem-0.1.14
checking for a BSD-compatible install... /usr/bin/install -c -o root -
g wheel
...
checking tiffio.h usability... yes
checking tiffio.h presence... no
configure: WARNING: tiffio.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: tiffio.h: proceeding with the compiler's result
checking for tiffio.h... yes
...
cc -DMODEMVER=\iaxmodem-0.1.14\ -DDSPVER=\spandsp-0.0.3-
snapshot-20060707+\ -DIAXVER=\libiax2-0.2.3-CVS-20060222+\  -Wall -
g -DSTATICLIBS -D_GNU_SOURCE  -std=c99 -Ilib/libiax2/src -Ilib/
spandsp/src  -O2 -pipe -march=nocona -c iaxmodem.c
iaxmodem.c:53:20: tiffio.h: No such file or directory
In file included from lib/spandsp/src/spandsp.h:84,
  from iaxmodem.c:55:
lib/spandsp/src/spandsp/t4.h:97: error: syntax error before TIFF
iaxmodem.c: In function `printlog':
iaxmodem.c:156: warning: implicit declaration of function `va_start'
iaxmodem.c:158: warning: implicit declaration of function `va_end'
*** Error code 1

Stop in /usr/ports/net/iaxmodem/work/iaxmodem-0.1.14.
*** Error code 1

Stop in /usr/ports/net/iaxmodem.
[EMAIL PROTECTED] /usr/ports/net/iaxmodem]# ls -al /usr/local/include/ 
tiffio.h*
-r--r--r--  1 root  wheel  19711 Sep 17 18:17 /usr/local/include/ 
tiffio.h
-r--r--r--  1 root  wheel   1610 Sep 17 18:17 /usr/local/include/ 
tiffio.hxx

[EMAIL PROTECTED] /usr/ports/net/iaxmodem]#

[EMAIL PROTECTED] /usr/ports/net/iaxmodem/work/iaxmodem-0.1.14]# grep  
tiffio *

iaxmodem.c:#include tiffio.h

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


Re: 6.1-RELEASE compiler/preprocessor problem?

2006-09-29 Thread Kris Kennaway
On Fri, Sep 29, 2006 at 03:15:50PM -0400, Jason Lixfeld wrote:

 Not claiming to know much about anything, but can't seem to get this  
 to compile.  The only things that stand out are the preprocessor  
 error (which I don't know enough about to even begin to troubleshoot)  
 and the tiffio.h no such file error.  I can vouch for the existence  
 of the tiffio.h in /usr/local/include, but not sure if that's  
 actually where it's trying to find it.

It's not, as the lack of -I/usr/local/include says.  This is supposed
to be provided by the port Makefile:

CFLAGS+=-I${LOCALBASE}/include

so make sure all files in the port are up-to-date and you have made no
other changes yourself.

If you still have problems, your first point of call for port problems
should be the port maintainer, since they're the ones who have
volunteered to help users with problems about that port.

Kris


pgpXqteJIhG4k.pgp
Description: PGP signature


Re: 6.1-RELEASE compiler/preprocessor problem?

2006-09-29 Thread Jason Lixfeld


On 29-Sep-06, at 3:21 PM, Kris Kennaway wrote:


On Fri, Sep 29, 2006 at 03:15:50PM -0400, Jason Lixfeld wrote:


Not claiming to know much about anything, but can't seem to get this
to compile.  The only things that stand out are the preprocessor
error (which I don't know enough about to even begin to troubleshoot)
and the tiffio.h no such file error.  I can vouch for the existence
of the tiffio.h in /usr/local/include, but not sure if that's
actually where it's trying to find it.


It's not, as the lack of -I/usr/local/include says.  This is supposed
to be provided by the port Makefile:

CFLAGS+=-I${LOCALBASE}/include


This is in the makefile.


so make sure all files in the port are up-to-date and you have made no
other changes yourself.


No changes.  Just to be sure, I will re-cvsup that port.


If you still have problems, your first point of call for port problems
should be the port maintainer, since they're the ones who have
volunteered to help users with problems about that port.


Good point.  Thank you!


Kris


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


aterm + Xfce + Composite / Transparency

2006-09-29 Thread Frank Staals
I have a question regarding to aterm and 'true-transparency'. I'm 
running Xfce 4.4 BETA2 and I have enabled the composite manager. 
Everything runs fine alltough I have one wish left: I would like to 
start new aterms by default at 70% transparency:  I allready enabled the 
'fake'-transparency in aterm itself ( -tr -sh value ) but when you move 
a aterm over an other one it doesn't display the border of the first 
aterm and it looks just wrong. So I want to start all aterms at 70% 
transparency ( or a value like that ). I installed transset but I'm not 
sure how to configure it to set the transparency of a program 
automatically. Anyone an idea ?


Thanks in advance,

--
-Frank Staals


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


Re: printer recommendation

2006-09-29 Thread Andrew Gould
--- Christopher M. Hobbs [EMAIL PROTECTED]
wrote:

 Could anyone recommend a good desktop laser jet
 printer that is known to
 work under FreeBSD.  I don't mind if it's an older
 model.  I'd like to
 go cheap with it.
 
 I will be printing black and white planning sheets,
 and portions of
 books.  
 
 Is there a list of printers that are useable under
 FreeBSD somewhere?
 
 Thank you for your time!
 cmh
 -- 
 Christopher M. Hobbs
 IS Technician, City of Siloam Springs
 [EMAIL PROTECTED], (479).524.5136
 

If the printer works with Linux over the network or
via parallel port, then it probably works fine with
FreeBSD.  If a USB printer works with Linux but not
with FreeBSD, you can often get around the USB
incompatibility by attaching the printer to a print
server.  Here's a searchable database of printers that
are compatible with Linux.

http://www.linuxprinting.org/printer_list.cgi

I have a Oki B4350 printer (mono color laser) and an
HP Photosmart 7150 that are attached to a Hawking
Technology HPS12U print server.  I use CUPS for
printing in FreeBSD.  This setup works great!

Both HP and Okidata have been good about releasing PPD
files (printer configuration files used by CUPS) for
their printers.

It's good that you're only looking for a laser
printer.  I've heard that compatibility issues with
all-in-one printers can be a real pain.

I hope this helps.

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


Re: printer recommendation

2006-09-29 Thread Damian Wiest
On Fri, Sep 29, 2006 at 02:03:05PM -0500, Christopher M. Hobbs wrote:
 Could anyone recommend a good desktop laser jet printer that is known to
 work under FreeBSD.  I don't mind if it's an older model.  I'd like to
 go cheap with it.
 
 I will be printing black and white planning sheets, and portions of
 books.  
 
 Is there a list of printers that are useable under FreeBSD somewhere?
 
 Thank you for your time!
 cmh
 -- 
 Christopher M. Hobbs
 IS Technician, City of Siloam Springs
 [EMAIL PROTECTED], (479).524.5136

I'm a fan of the (older) Hewlett Packard printers.  I've got an 
HP LaserJet 4550 at home that I picked up on eBay, but that's probably 
overkill for you.

I'd recommend sticking to Postscript printers with network interfaces.
Be sure to check what maintaining the thing is going to cost you.

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


Portupgrade of varios KDE fails in Subversion

2006-09-29 Thread Warren Liddell
Im running FreeBSD 6.1-STABLE, got a few KDE packages to update, but fail due 
to Subversion .. below is the error .. any help//assistance is greatly 
appreciated.


any useful scripts will be installed into /usr/local/share/subversion
===  Vulnerability check disabled, database not found
===  Extracting for subversion-1.4.0_1
= MD5 Checksum OK for subversion/subversion-1.4.0.tar.bz2.
= SHA256 Checksum OK for subversion/subversion-1.4.0.tar.bz2.
===  Patching for subversion-1.4.0_1
===  Applying FreeBSD patches for subversion-1.4.0_1
===   subversion-1.4.0_1 depends on file: /usr/local/bin/libtool - found
===   subversion-1.4.0_1 depends on shared library: expat.6 - found
===   subversion-1.4.0_1 depends on shared library: neon.25 - found
===   subversion-1.4.0_1 depends on shared library: apr-1.2 - found
===   subversion-1.4.0_1 depends on shared library: intl - found
===  Configuring for subversion-1.4.0_1

You should build `devel/apr-svn' with db4 support to use subversion with it.
Please rebuild `devel/apr-svn' with option `APR_UTIL_WITH_BERKELEY_DB=yes' and 
try again.

Or you can disable db4 support. Only 'fs' repository backend will be 
available.
To disable db4 support, define WITHOUT_BDB.

*** Error code 1

Stop in /usr/ports/devel/subversion.
*** Error code 1

Stop in /usr/ports/devel/kdesdk3.
** Command failed [exit code 
1]: /usr/bin/script -qa /tmp/portupgrade.74901.111 env PORT_UPGRADE=yes make 
BATCH=yes DEPENDS_TARGET=package
** Fix the problem and try again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


backup existing sata drive

2006-09-29 Thread Dino Vliet
Good evening peeps,
I have this 80gb sata seagate harddisk in my freebsd
amd64 system. This harddisk is partioned so I can dual
boot with Ubuntu. So I have data on my freebsd
partition as well as on my ubuntu partition.

As I'm getting paranoia, I would like to know how to
get by this situation, now that I've ordered a new
sata seagate 80gb harddrive.

I waant to use this extra drive as a backup solution.
What options do I have?

a) Can I just plug the new hard drive in and write a
script that dumps the entire /usr/ directory onto the
new hard drive? But what about my ubuntu partition
then?

b) Should I use raid-1, disk mirroring for this
situation, knowing I will loose a whole 80gb disk?
Will it work for the entire disk? What about the fact
that I'm NOT starting with two empty disks?

Hope anyone can help me out.
I've never been there, so these will be my first
steps.

Thanks in advanced

__
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: dell poweregde 2900/2950 and FreeBSD

2006-09-29 Thread Paul Schmehl
--On September 29, 2006 2:31:03 PM -0400 Bill Moran 
[EMAIL PROTECTED] wrote:


3) We're having intermittent problems with the onboard NICs on these
   units.  I have some testing to do Monday to narrow the problem down,
   but for now, don't trust the onboard NICs to work reliably.


Bill, if those are the Broadcomm Extreme NICs (bce), you need to grab the 
new version of the if_bce.c file.  It fixed the problems that I had with 
the NICs.  There's a char inside the file that defines the version - you 
need 0.9.6.  You've got 0.9.5, I'll bet.


I posted about it on the 16th.  See this web page:
http://www.ifdnrg.com/freebsd_broadcom_dell_1950.htm

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Anyone used this mobo with 6.1 ??

2006-09-29 Thread Chris Whitehouse

Murray Taylor wrote:

ASUS P5LD2-VM-DH/C


No but I recently bought another Asus board A8N-VM CSM/NBP and the BIOS 
is broken. Another board A8N-VM CSM had an almost identical broken BIOS 
which Asus fixed at some point. However Asus have now informed me that 
FreeBSD is not supported for my board. (It does actually work with a 
clever fix someone posted but Asus don't want to know). Asus seem to 
have a bit of a name for crap BIOS's. Moral: make sure you tell the 
retailer you want to use it with another operating system than Windows 
and make them agree to take it back if it doesn't work.


Chris

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


Re: backup existing sata drive

2006-09-29 Thread Damian Wiest
On Fri, Sep 29, 2006 at 03:08:53PM -0700, Dino Vliet wrote:
 Good evening peeps,
 I have this 80gb sata seagate harddisk in my freebsd
 amd64 system. This harddisk is partioned so I can dual
 boot with Ubuntu. So I have data on my freebsd
 partition as well as on my ubuntu partition.
 
 As I'm getting paranoia, I would like to know how to
 get by this situation, now that I've ordered a new
 sata seagate 80gb harddrive.
 
 I waant to use this extra drive as a backup solution.
 What options do I have?

Do you want to do real backups, or just do point in time
recovery?

 a) Can I just plug the new hard drive in and write a
 script that dumps the entire /usr/ directory onto the
 new hard drive? But what about my ubuntu partition
 then?

If you go this route, you'll probably want to use dump(8)
for your filesystems.  Just name the output file according
to the filesystem and date when the dump was performed.

 b) Should I use raid-1, disk mirroring for this
 situation, knowing I will loose a whole 80gb disk?
 Will it work for the entire disk? What about the fact
 that I'm NOT starting with two empty disks?

 Hope anyone can help me out.
 I've never been there, so these will be my first
 steps.
 
 Thanks in advanced

I've only used it for a few months, but I'm a big fan of the
GEOM(4) framework.  With gmirror(8), you can specify specific
disk slices to mirror so you don't have to do the entire drive.
It should take you less than five minutes to setup once you've
read the docs.

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


Re: BSDStats v4.0: Attempt to address some major issues ...

2006-09-29 Thread Antony Mawer

On 29/09/2006 2:01 AM, Erik Norgaard wrote:

Matthew Seaman wrote:

On the other hand, the duplicates could be the result of people 
deliberately
trying to frig the statistics or just innocently running the 
300.statistics
script manually several times.  In either case, entries with duplicate 
tokens
should be discarded -- I guess you'ld always want to keep just the 
last entry

for any token.


How is the country determined? by whois lookup? I am just surprised that 
after the wipe and required update of the stats-script, Panama has 75% 
of the hosts, 10 times the US.


Via the GeoIP module. Marc's servers are mostly/all located in Panama 
(hub.org), hence why they're in there quickly after the stats wipe :-)


--Antony

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


Trouble with new poweredge 2950

2006-09-29 Thread Jerry Bell
I just got a PE 2950 and I'm having some problems.

I installed 6.2PRE and it went well.  The first thing I noticed is that
immediate as BSD start to load, a bold/highlighted message says 768xxx
bytes above 4G ignore or something like that (don't recall what xxx was.

Next thing I noticed whilest trying a buildworld against the latest stable
sources.  My system detects 8 cpus.  It actually only has 4 - 2 dual core
xeons.  I'm guessing that the others are from hyperthreading, but I'm not
certain.  Hyperthreading is disabled by default, I believe.  So, in the
process of make buildworld -j 32, I noticed that only even numbered CPUs
are being used (0,2,4,6).  Is that because BSD is ignoring the HT CPUs,
which would be 1,3,5,7?  top and iostat both show that I was never able to
exceed 50% overall CPU usage.  Is that because even though I have the HT
representations disabled, the OS is using their availabilty in calculating
% idle time?  Is there any way to get an accurate number?  The PE doesn't
let me disable HT, I don't believe.

Finally, after the upgrade, I'm having a problem with the system hanging
on startup right after the firewall message, and sometimes right after the
CD ROM detection message.  I believe that the SAS controller is supposed
to be detected next, and I'm assuming that's the problem.  When I first
tried to install, I used 6.1, and it completely didn't recognize my SAS
controller.  I found a message in the archives that suggested trying the
latest stable source, so I tried 6.2 and it worked.  Any ideas what could
be causing the problem?  When I was using the 6.2PRE ISO, I had to restart
a few times before it got past that stage also.

Thanks much!

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


Re: BSDStats v4.0: Attempt to address some major issues ...

2006-09-29 Thread Marc G. Fournier


Antony is working on operating system sub-pages that will be linked from the 
operating system summary page ... check out what he has so far by going to:


http://www.bsdstats.org/freebsd


--On Friday, September 29, 2006 12:11:51 +0100 Joao Barros 
[EMAIL PROTECTED] wrote:



On 9/29/06, Marc G. Fournier [EMAIL PROTECTED] wrote:


As painful as it was to do, I backed up the old data tonight and wiped out
the stats ... for one major reason: the stats lost their accuracy.

As I said, you just need to download the new version and run it, you don't
have to wait for the port to go through, assuming you have already
installed from the port and /etc/periodic.conf is setup ...

Make sure you run it right after downloading though ...

If anyone out there can see a flaw in the script ... or something that I
may have overlooked as far as a 'loophole' that could be used to screw
around with the data, please let me know ... I know its not possible,
minus registration, to get rid of all holes, but, hopefully I've now
gotten rid of the ones that a truck could (and did) drive though ...



I just updated the script and it ran fine :)
I'm the only guy yet from Portugal and the only sparc cpu :D

On another subject, with the addition of the other BSDs the releases
stats for example are pretty much nonsense. Do you plan to work on
that?

--
Joao Barros





Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664

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


Re: backup existing sata drive

2006-09-29 Thread Peter A. Giessel
On 2006/09/29 14:08, Dino Vliet seems to have typed:
 I waant to use this extra drive as a backup solution.
 What options do I have?


Dump is an excellent solution if you can mount all partitions
(see
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html
for details on using dump)

DD would be another option that would copy the entire hard drive sector
by sector, regardless of the partitions.  If you are interested in
basically a mirror sort of situation without running RAID, dd is what
you are looking for.

dd doesn't care what the partitions are, indeed you could even backup
Microsoft partitions with it.

http://www.freebsd.org/cgi/man.cgi?query=ddapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html

basically:
dd if=/dev/sourcedisk of=/dev/backupdisk bs=1m
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Empty dmesg output

2006-09-29 Thread Nicholas Killewald
Is there any situation in which dmesg should give no output whatsoever?
   Currently, my FreeBSD machine (RELEASE-6.0) isn't reporting anything
at all when I call up dmesg.  It has been on for quite some time, and to
the best of my knowledge there isn't much of interest it should have
reported recently.  It DID say something back at its initial bootup and
for some time thereafter, but nothing now.  Is this normal, or should I
be a bit concerned?
-- 
Nicholas Killewald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Empty dmesg output

2006-09-29 Thread Dan Nelson
In the last episode (Sep 29), Nicholas Killewald said:
 Is there any situation in which dmesg should give no output whatsoever?
Currently, my FreeBSD machine (RELEASE-6.0) isn't reporting anything
 at all when I call up dmesg.  It has been on for quite some time, and to
 the best of my knowledge there isn't much of interest it should have
 reported recently.  It DID say something back at its initial bootup and
 for some time thereafter, but nothing now.  Is this normal, or should I
 be a bit concerned?

Things printed to the console (via syslog or writing to /dev/console)
get logged to the dmesg buffer but aren't printed by the dmesg command.
If you've had lots of console output all your kernel messages may have
been pushed out.  Try running dmesg -a to see the raw buffer.  You
can see the kernel bootup log at /var/run/dmesg.boot .

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


Can't ping localhost?

2006-09-29 Thread Laurence Sanford

Anyone got any ideas on this?

[EMAIL PROTECTED](~)$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
^C
--- 127.0.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss


[EMAIL PROTECTED](~)$ ifconfig lo0
lo0: flags=8008LOOPBACK,MULTICAST mtu 16384
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Empty dmesg output

2006-09-29 Thread Nicholas Killewald
Dan Nelson wrote:
 In the last episode (Sep 29), Nicholas Killewald said:
 Is there any situation in which dmesg should give no output whatsoever?
Currently, my FreeBSD machine (RELEASE-6.0) isn't reporting anything
 at all when I call up dmesg.  It has been on for quite some time, and to
 the best of my knowledge there isn't much of interest it should have
 reported recently.  It DID say something back at its initial bootup and
 for some time thereafter, but nothing now.  Is this normal, or should I
 be a bit concerned?
 
 Things printed to the console (via syslog or writing to /dev/console)
 get logged to the dmesg buffer but aren't printed by the dmesg command.
 If you've had lots of console output all your kernel messages may have
 been pushed out.  Try running dmesg -a to see the raw buffer.  You
 can see the kernel bootup log at /var/run/dmesg.boot .
 

Aha... that makes sense.  Yep, that was it, the console messages must've
flooded out any kernel messages.  Thanks!

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


Trouble with setting up Netgear WG311v3

2006-09-29 Thread Sunjae Park
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi, I've installed FreeBSD 6.1 and am trying to get my wireless adapter
working. It's a Netgear WG311v3, so unfortunately ath(4) will not work
(It uses a Marvell chipset). I've tried various options (honest!).

1. The Yukon driver from Marvell. They have one for 6, and I've tried
loading it with kldload, and it loads alright, but the adapter won't
come up. The driver says it's for Yukon and I have a Ethernet
controller: Marvell Technology Group Ltd. 88w8335 [Libertas] (output
from Linux). Maybe it's for a different chipset?

Their Readme says I should remove module sk from the kernel, so I
rebuilt it; still no luck.

2. ndis-gen with the Netgear drivers. The adapter comes up now, but I
cannot associate with any AP.

  ifconfig ndis0 up scan
  ifconfig ndis0 ssid ssid_of_ap
  ifconfig ndis0 ssid ssid_of_ap bssid 00:00:...

all exit with a

  ndis0: bssid_list failed

Thanks

- --
Sunjae Park.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFHej9F5GVw6qpYDcRApA6AJ9vnYrh8ZR/V8SjcZVh4qCie9M0zgCcCTz8
l/x02ayNp2EN4eikse1P5Q0=
=/4C+
-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]


Floppy drive problem

2006-09-29 Thread Beech Rintoul
I rarely use them, but I have a floppy I needed to format and copy to. The 
problem is anything I try with the drive results in this error:

Processing fdformat: ioctl(FD_FORM): Device not configured

It shows up fine in dmesg, and I've used it before.

fdc0: Enhanced floppy controller at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
isa0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0

These are brand new disks. Does anyone have a suggestion?

BTW, I'm running the latest -CURRENT

Thanks,

Beech


-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpvAC5Yv5cEa.pgp
Description: PGP signature