Re: FreeBSD 7.0 not executing /usr/local/etc/rc.d/ at startup

2008-04-19 Thread Jeff Royle

Marco Beishuizen wrote:

On Sat, 19 Apr 2008 07:44:59 -0600
Eric [EMAIL PROTECTED] wrote:


are you changing the kernel security level in your rc.conf file? if
so, comment it out and reboot. that was an issue i had on a 6.x box
recently and commenting out the security level change fixed it


No, I didn't change that.
I've attached my rc.conf. If I start all scripts by hand there are no
errors and they run fine. But it would be a lot easier if they run on
booting.


Try removing the local_startup line from the rc.conf.  It is already 
defined in the /etc/defaults/rc.conf so it is not needed.


I am wondering if this is causing something in rc confusion.

If that doesn't work.   Turn off everything but 1 or 2 (at most) from 
/usr/local/etc/rc.d scripts see if you can narrow it down.


Cheers,

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


Re: Limiting apache's upload speed?

2008-04-13 Thread Jeff Royle

Patsy wrote:

Hello list,

I am running FreeBSD 7.0-RELEASE (GENERIC), I am running Apache 2.2.6_2 
and hosting a small website with a few relatively small (500kB-900kB) 
photographs. I am doing so from a home ADSL connection in the UK and so 
I am estimating my upload capacity at 500kb/s.


When I have apache enabled and serving the web page it seems to disrupt 
my other network programs - on my main computer (running Debian etch) 
Wengophone stutters and my browser slows down noticeably. When apache is 
disabled these problems disappear.


I do not wish to take my website down and so I was hoping somebody would 
be able to tell me if it is possible to throttle apache's upload speed. 
It seems that this would provide a good solution - people will need to 
wait a little longer to see my page, but a change of waiting 3 seconds 
to waiting 6 seconds isn't terrible.


My router does not appear to have the option to throttle individual 
hosts/ports. Any advice on the matter would be appreciated.




I would suggest you look into PF + ALTQ.

ALTQ is a rule based bandwidth control for PF which would allow you to 
adjust how much bandwidth you allow on the port 80.


You will need to enable ALTQ in your kernel as it does not come enabled 
by default.


See pf.conf(5) and altq(4)for more details.

Cheers,

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


FreeBSD 6.2 + my gensnmptree issue

2007-10-17 Thread Jeff Royle
I am having an issue which is most likely my lack of understanding and 
not a problem with 6.2 itself.


The system is running 6.2-RELEASE and I use bsnmpd.  Here is the uname 
output.


FreeBSD lucky.orisit 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Oct 10 
10:40:51 EDT 2007


What I am trying to do is get bsnmp to respond to new MIBs, specifically 
 UCD-SNMP-MIB.


After reading the manpages for bsnmp and gensnmptree I believe 
gensnmptree is the command I need to use.


This is where I get into trouble.   The gensnmptree command doesn't give 
me any results no matter what I do.  Even using a bug report example of 
gensnmptree -e sysName gives me no results.


So I proceeded to do some more google searching and noticed gensnmpdef 
was referenced several times as the program which may be what I need to use.


I found the code for this in /usr/src/contrib/bsnmp/gensnmpdef without a 
makefile.   There is no gensnmpdef in /usr/sbin on the system but it is 
in the /usr/ports/net-mgt/bsnmpd/pkg-plist.


So I guess I need some guidance.   Can I use gensnmptree to get this MIB 
into the bsnmp system? If so how is this done? -or- Is there a problem 
with the 6.2 release for gensnmpdef and that is in fact the program I am 
suppose to be using?


Any assistance would be appreciated.

Cheers,

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


Re: FreeBSD 6.2 + my gensnmptree issue

2007-10-17 Thread Jeff Royle

Hartmut Brandt wrote:

On Wed, 17 Oct 2007, Jeff Royle wrote:

JRI am having an issue which is most likely my lack of understanding and not a
JRproblem with 6.2 itself.
JR
JRThe system is running 6.2-RELEASE and I use bsnmpd.  Here is the uname
JRoutput.
JR
JRFreeBSD lucky.orisit 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Oct 10 10:40:51
JREDT 2007
JR
JRWhat I am trying to do is get bsnmp to respond to new MIBs, specifically
JRUCD-SNMP-MIB.
JR
JRAfter reading the manpages for bsnmp and gensnmptree I believe gensnmptree is
JRthe command I need to use.
JR
JRThis is where I get into trouble.   The gensnmptree command doesn't give me
JRany results no matter what I do.  Even using a bug report example of
JRgensnmptree -e sysName gives me no results.
JR
JRSo I proceeded to do some more google searching and noticed gensnmpdef was
JRreferenced several times as the program which may be what I need to use.
JR
JRI found the code for this in /usr/src/contrib/bsnmp/gensnmpdef without a
JRmakefile.   There is no gensnmpdef in /usr/sbin on the system but it is in
JRthe /usr/ports/net-mgt/bsnmpd/pkg-plist.
JR
JRSo I guess I need some guidance.   Can I use gensnmptree to get this MIB into
JRthe bsnmp system? If so how is this done? -or- Is there a problem with the
JR6.2 release for gensnmpdef and that is in fact the program I am suppose to be
JRusing?
JR
JRAny assistance would be appreciated.

Well, yes that would be the tool, but things are more complicated. BSNMP 
uses a special file format (the .def files) to automatically create some 
tables and #defines when you implement a MIB. If you invent your own MIB, 
you normally write the .def file from scratch. It basically contains the 
same info as the MIB file, but in a less baroque and more machine-parsable 
format. If you're going to implement a MIB for which you already have a 
MIB file you can shorten the time to write the .def file by feeding the 
MIB file into gensnmpdef. It will create you an initial .def file, which, 
in most cases, you have to edit, though.
But having the .def file is only the start of implementing. Because then 
you must write the action routines that actually implement the MIB 
behaviour. You might look under /usr/src/contrib/bsnmp/snmp_mibII. Here 
you find an example .def file the contents of which you might find 
familiar. The .c files there implement the semantic of the standard MIB-2.


gensnmpdef is not built automatically, because it requires libsmi which 
you need to install from ports.




This explains much about what I was confused with.  Thank you for the 
quick response.


It was fairly simple to get the port installed and get 
/usr/src/contrib/bsnmp/gensnmpdef compiled and installed.


From there I went and built my ucd_tree.def file using gensnmpdef which 
I had to edit as you said.


I see after doing this and looking into the examples you suggested this 
would be a bit more involved then I initially thought.   I was able to 
generate some .c/.h files using gensnmptree but from there the legwork 
goes beyond me a bit.  Looks like I have to look into this deeper.


I do have one remaining question.   How is the gensnmptree -l command 
used exactly?  Something like cat ucd_tree.c | gensnmptree -l ?




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


Re: /var/log/messages filling up with DHCPDISCOVER messages

2007-10-08 Thread Jeff Royle

Stephen Allen wrote:

/usr/local/etc/dhcpd.conf is configured with

 log-facility local7;

and /etc/syslog.conf is also configured with

 local7.*  /var/log/dhcpd.log

However, /var/log/messages is filling up with DHCPDISCOVER / no free
leases messages for those clients that are unknown to the DHCP server
(eg. on a different subnet).  I suspect that these messages are being
caught by *.notice which is why they end up in /var/log/messages.

Is there a way to prevent this happening?


You could try filtering them out of syslog like so (in your syslogd.conf):

local7.!=notice  /var/log/dhcpd.log

Which should log everything for local7 except notice. See man syslog.conf(5)

Cheers,

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


Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...

2007-01-25 Thread Jeff Royle

Marc G. Fournier wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Have a friend that swears by them, but ... he's in the Linux camp, so tends to 
have a quasi-inside track ...


What are ppls opinions on them as far as FreeBSD is concerned?

Also, interested in what sort of specs ppl are running ... I'm interested in 
going with an 8xSAS drive system, dual-dual-core, figuring 10 or 16G of RAM ... 
redundant power and the Dell Remote Access Card ...


Thanks ...



I will make a general comment about these servers.   Dell servers really 
only rack nicely in Dell Racks.   You *can* get them racked in other 
standard racks but it can be painful.   Depending on how many you are 
purchasing you might want to factor in the Dell Rack cost.


In general I would say the few PowerEdges we use have been rock solid in 
terms of hardware.   Dell does put some effort in this department.


Unfortunately I cannot comment on FreeBSD on these devices, we only have 
Linux (RedHat and now Gentoo) on the server.   One day they will let me 
on the box :)


Cheers,

Jeff

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


Re: Problem with ipfw flush

2007-01-24 Thread Jeff Royle

Dan Mahoney, System Admin wrote:

Hey all.

In trying to tweak my firewall setup I'm using a file called 
/etc/ipfw.rules


However, it seems even though I copy my rules perfectly to that file, 
the system freezes up and locks me out when I do:


ipfw -f flush; ipfw /etc/ipfw.rules

I've also tried doing it as

ipfw -f flush  ipfw /etc/ipfw.rules

But to no avail.

if it matters, ipfw is loaded as a kernel module, not compiled in.

-Dan

--


I haven't used IPFW in a while but if I recall right IPFW has a default 
policy of drop.   So when you flush the ruleset your pass rules are all 
gone.


You could run the command like: ipfw -f flush  ipfw /etc/ipfw.rules

That should allow you flush and load your ruleset.   You may also want 
to look into changing the default policy to accept.   However this may 
require you to adjust your rules depending on how you wrote them.


Cheers,

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


Re: Problem with ipfw flush

2007-01-24 Thread Jeff Royle

Jeff Royle wrote:

Dan Mahoney, System Admin wrote:

Hey all.

In trying to tweak my firewall setup I'm using a file called 
/etc/ipfw.rules


However, it seems even though I copy my rules perfectly to that file, 
the system freezes up and locks me out when I do:


ipfw -f flush; ipfw /etc/ipfw.rules

I've also tried doing it as

ipfw -f flush  ipfw /etc/ipfw.rules

But to no avail.

if it matters, ipfw is loaded as a kernel module, not compiled in.

-Dan

--


I haven't used IPFW in a while but if I recall right IPFW has a default 
policy of drop.   So when you flush the ruleset your pass rules are all 
gone.


You could run the command like: ipfw -f flush  ipfw /etc/ipfw.rules

That should allow you flush and load your ruleset.   You may also want 
to look into changing the default policy to accept.   However this may 
require you to adjust your rules depending on how you wrote them.


Cheers,

Jeff
___


Opps I am sorry, I got pulled away while reading your original email, 
guess I didn't finish reading it.  I see you are trying .


You still may want to look into a default policy of accept for IPFW, 
this way its a non issue.


Sorry for the wasted bandwidth! :)

Cheers,

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


Re: upgrading from 6.1 to 6.2 with custom kernel

2007-01-21 Thread Jeff Royle

Jonathan Horne wrote:

On Saturday 20 January 2007 20:58, [EMAIL PROTECTED] wrote:

Terrific waste of bandwidth.


*shrug* i dont see it that way.  i see it as insurance that when i build 
kernels for 15 machines, they are all getting the cleanest sources possible, 
with absolutely nothing left over from a previous build.




If you wish to sync 15 machines and plan on doing that a lot, it would 
benefit you to setup a private cvs mirror.


You use 1 machine as your mirror, it syncs say once a day or week or 
hour whatever off the main cvs mirror sites.


You then have your other machines sync off that.   This would ensure all 
your systems are kept in line with the same src.


This would save on bandwidth for both yourself and the mirror sites.

Cheers,

Jeff

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


Re: identifying hardware for kernel config purposes

2007-01-21 Thread Jeff Royle

Glenn Becker wrote:


Hi -

I am following along in the Handbook in my first attempt to compile a 
custom kernel ... and once again confronting the fact that I really know 
beans about hardware. So once I get to the device lines in my edited 
copy of the GENERIC config file I start to get a little bit lost.


I know enough to look through /var/run/dmesg.boot, and many devices make 
themselves obvious (a DVD-ROM drive is a DVD-ROM drive is a ...) but how 
do I identify my motherboard, for example, so I know which lines to 
comment out (or conversely, leave in) in the kernel config file?


There are a couple places that have good comments on what each device 
is.  GENERIC kernel itself is very descriptive, for example for your 
keyboard:


--- snip ---
# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse
--- end sip ---

Also read over NOTES it has a lot of architecture specific notes.  You 
should also read over /usr/src/sys/conf/NOTES for even more kernel options.


If there is a good overall guide to info like this, I'd appreciate it if 
someone would point it out to me. :^) I also get lost in the alphabet 
soup of ATA, PCI, SCSI and so on.


You will need to do some reading into these devices in some cases if you 
are planing of customizing the kernel.


dmesg will show you everything the system detects, even if it doesn't 
have a driver.   It is upto you from that point to figure out what 
device driver (if there is one) your kernel is missing for the hardware 
and add it.


Thanks in advance for any guidance. I didn't want to attach my whole 
dmesg.boot file but will do so if that will help.


Best,

Glenn



Oh and another piece of advice, read up in the handbook on recovering 
from a kernel that will not boot.   Important to know when doing 
recompiles :)


Cheers,

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


Re: Live CD

2007-01-20 Thread Jeff Royle

Praveen Kunjapur wrote:

Hello,
  Is FreeBSD available as a Live CD?
___


http://www.freesbie.org/ has been updated to 6.2 Release

Cheers,

Jeff

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


Re: Password on command line with SCP

2007-01-19 Thread Jeff Royle

Don O'Neil wrote:

Is there any way to pass the password for an SCP command via the command
line as a switch? I'd like to embed SCP in a script and pass the password
once through a command line input from the master script... By defauly any
time I use the -B mode it says passwords are required, and without -B it
asks for the password after the command starts to execute.

Thanks!

___


The only way I know of is to use keys for your authentication.

You then can use 'scp -B -i somekeyfile file1 file2 ... example.com:.'

Hope that helps.

Cheers,

Jeff

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


Re: Disable syslogd 514..

2007-01-17 Thread Jeff Royle

Agus wrote:

Hi
doing a netstat -an i see that syslog is listening in UDP port 
514.i am

trying to disable it, but no luck
i checked the rc.conf but there is nothing there.what do u 
recommend? to

disable it or to leave it?
I do not use the machine as a remote syslog server so i cant see the
use.but who knows..

thanxsss
___


I assume your syslogd is running with -s.  

If you use -s twice it will disable listening on network sockets 
completely.  


See man syslogd

Cheers,

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


Re: Disable syslogd 514..

2007-01-17 Thread Jeff Royle

[EMAIL PROTECTED] wrote:

On Thu, 18 Jan 2007 01:33:13 +0500, Agus [EMAIL PROTECTED] wrote:


Hi
doing a netstat -an i see that syslog is listening in UDP port 
514.i am

trying to disable it, but no luck
i checked the rc.conf but there is nothing there.what do u 
recommend? to

disable it or to leave it?
I do not use the machine as a remote syslog server so i cant see the
use.but who knows..


 From syslogd(8):
-s  Operate in secure mode.  Do not log messages from remote
 machines.  If specified twice, no network socket will be opened
 at all, which also disables logging to remote machines.
So 'syslogd_flags=-ss' can be added to /etc/rc.conf.
___


BTW: It can be written like 'syslogd_flags=-s -s' to your /etc/rc.conf

Both are perfectly valid.

Cheers,

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


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-17 Thread Jeff Royle

Daniel Tourde wrote:

Hello,

I found the driver for my wireless card on: 
http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz

but how is it supposed to be installed on a fresh FreeBSD 6.2?

Daniel


You will need to compile the driver then use kldload to load it into the 
kernel. See man kldload


You can then you should be able to load it on boot automatically via 
/boot/loader.conf.  See man loader.conf


Hope that helps some.

Cheers,

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


Re: Mystery Spam Piling Up in Mqueue

2007-01-14 Thread Jeff Royle

The example below is simply a bounce that did not go through.

Note: Mailer-Daemon and MDeferred: Connection refused by macbilling.com.

Your system attempted to delivery a bounce back to macbilling.com and 
the MTA @ macbilling.com is rejecting the bounce.


Most likely spam using a forged (or real) address 
something@macbilling.com was sent to your system to 
somefakeaddress@highperformance.net and of course your system could 
not deliver the message so it bounced.


If all messages in your queue are like this, I would take some time, 
report the spam to say spamcop.net or the like and remove them.   You 
even could be a nice internet neighbour and try to redeliver the legit ones.


Welcome to the running a mailserver on the intertubes. :-)

Cheers,

Jeff


Jason C. Wells wrote:
I have a bunch of mail piling up in /var/spool/mqueue.  It appears to be 
all spam and it appears to be generated on the localhost.  I am not 
sending it.  I double checked my self @ abuse.net to see if I was an 
open relay, I'm not.  I can't really say where it's coming from.  How do 
I figure this one out?


An example is shown below.

What has been a fun hobby all these years is turning into a nightmare.  
Spam is making me batty.


Thanks,
Jason C. Wells


V8
T1168684668
K1168832991
N87
P7790448
I0/81/22039
MDeferred: Connection refused by macbilling.com.
Frs
$_localhost
$r
$slocalhost
${daemon_flags}
${if_addr}192.168.1.204
SMAILER-DAEMON
MDeferred: Connection refused by macbilling.com.
rRFC822; [EMAIL PROTECTED]
RPF:[EMAIL PROTECTED]
H?P?Return-Path: 81g
H??Received: from localhost (localhost)
   by mx1.highperformance.net (8.13.8/8.13.8) id l0DAbm7q007014;
   Sat, 13 Jan 2007 02:37:48 -0800 (PST)
   (envelope-from MAILER-DAEMON)
H?D?Date: Sat, 13 Jan 2007 02:37:48 -0800 (PST)
H??Received: from localhost (localhost)
   by mx1.highperformance.net (8.13.8/8.13.8) id l0DAbm7q007014;
   Sat, 13 Jan 2007 02:37:48 -0800 (PST)
   (envelope-from MAILER-DAEMON)
H?D?Date: Sat, 13 Jan 2007 02:37:48 -0800 (PST)
H?F?From: Mail Delivery Subsystem MAILER-DAEMON
H?x?Full-Name: Mail Delivery Subsystem
H?M?Message-Id: [EMAIL PROTECTED]
H??To: [EMAIL PROTECTED]
H??MIME-Version: 1.0
H??Content-Type: multipart/report; report-type=delivery-status;
   boundary=l0DAbm7q007014.1168684668/mx1.highperformance.net
H??Subject: Returned mail: see transcript for details
H??Auto-Submitted: auto-generated (failure)
.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


Re: Are there any log files which shows who is logging to a FreeBSD box and when?

2007-01-12 Thread Jeff Royle

VeeJay wrote:

Hi

Can anyone tell?

Are there any log files which shows who is logging to a FreeBSD box and
when? If yes, where can one find them?



The file /var/log/auth.log should contain all the information you are 
looking for.


man syslog.conf and man syslogd for more information on customizing what 
you are logging.


Cheers,

Jeff

___
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 Freezes - Suspect SCSI Issue

2007-01-10 Thread Jeff Royle

Andrea Venturoli wrote:

Juergen Heberling wrote:

Hi all

Please suggest some way of diagnosing this problem:

System freezes after being up in production and apparently stable for 
several weeks, no dump, no error message, nothing on the console - so 
I suspect hardware.

  ...

Here is my dmesg, long lines were wrapped:
...
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
...
ahd0: Adaptec AIC7902 Ultra320 SCSI adapter port 
0x2400-0x24ff,0x2000-0x20ff

mem 0xdd20-0xdd201fff irq 32 at device 2.0 on pci3
ahd0: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port 
0x2c00-0x2cff,0x2800-0x28ff

mem 0xdd202000-0xdd203fff irq 33 at device 2.1 on pci3
ahd1: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs


I've had freezes as you describe on two different servers with ahd and 
SMP. The solution was to turn SMP off, unfortunately :(


 bye
av.
___


Are these Xeon's?  If so you might want to try disabling Hyper-threading 
in the bios.   I have noticed some strange behavior on 6.2-RC1 with a 
IBM x336 server here.  It never crashed but the throughput felt off, 
so I disabled Hyper-threading and things seemed to perform the way I 
expected it to should.


I would have more details when I actually have time to work on the 
server itself, however in the meantime give it a shot.   If you have 2 
CPU's you shouldn't see the CPU2/CPU3 listed just the 2 aftewards.


FYI - I have used that particular controller successfully on several 
servers recently so I don't think that should be a overall issue for you.


Cheers,

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


Re: a bit OT - VPN+Windows

2007-01-08 Thread Jeff Royle
There are various VPN solutions available depending on your needs for 
the network so no one answer will cover everything.


Currently I am using OpenVPN with great success and resonable security 
as well.   Homepage: http://www.openvpn.org   

One of the nice things about this solution is you can customize the 
OpenVPN GUI (http://openvpn.se/).   Even my most computer cluess 
employee's can use this.


There are various IPSEC solutions but you run into a client issue in a 
lot of cases for the Windows side.




Wojciech Puchar wrote:
could You put me to some manual about configuring any king of VPN 
(with encryption at least, preferable compression too) with windows 
machines as clients and FreeBSD as servers.


i used VPN's many times but always with unix on both sides and used 
vtun which works great. unfortunately there is no vtun for windows.


thanks



Cheers,

Jeff

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


Re: named not starting on boot

2007-01-02 Thread Jeff Royle



Noah wrote:

Hi there,

I have a freeBSD 5.5 server not starting named upon reboot.  any clues 
how I can troubleshoot this issue?


# grep named /etc/rc.conf
named_enable=YES
named_program=/usr/local/sbin/named
# /usr/local/sbin/named -version
BIND 9.3.2-P2
# uname -a
FreeBSD ns2.ps.juniper.net 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Tue May 
23 14:58:27 UTC 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386




thanks for your assistance in advance,

Noah


A bit more information would be handy to determine what the root cause 
is. However, double check your logs for any errors.   If you have a 
*.* entry in your syslog.conf you should see any errors in thier.   

Also if you run named manually does it work?   Is the startup script 
located in either /etc/rc.d or /usr/local/etc/rc.d ?   If you run that 
manually does it work?  

If you do encounter a error, post it back to the list and someone should 
be able to give you direction.



Cheers!

Jeff


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


Re: nfs_client_enable=YES usage

2006-12-14 Thread Jeff Royle

Frank Staals wrote:
I am running a nfs-client and nfs-server here for quite some time and 
I'm very happy about it. The client is my laptop ( running 6.1-RELEASE 
) and the server a 6.0-STABLE machine. I have enabled nfs_client with 
nfs_client_enable=YES on my FreeBSD laptop as stated in the 
handbook: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html 
allthough when I'm not at home I notice FreeBSD halting during boot 
after NFS access cache time=2 , when I hit ctrl+c it continues fine. 
Since I always mount my NFS dirs manually I started wondering about 
how usefull the entry in /etc/rc.conf was. So I quoted out 
nfs_client_enable=YES in /etc/rc.conf and I still could mount my nfs 
dirs perfectly


So my question was: Is the entry in rc.conf only needed when mounting 
a nfs dir at boot ? or is it not needed at all ( since my test proved 
it isn't needed when you mount the dirs manually after boot )



Referenced from man rc.conf ...

nfs_client_enable - If set to YES run the NFS client daemons at boot 
time.  

You would need this option enabled to connect to a NFS server on boot, 
otherwise it is not needed.
.. now I have yet to figure out why my ndis NIC won't work when 
disableing nfs_client :S 




Cheers,

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


ACPI Support Question for FreeBSD 6.2-RC1

2006-12-08 Thread Jeff Royle

Greetings List!

I believe my ACPI issue is simply a support issue but I need this 
confirmed with some direction on a possible solution if available.


The short version of the problem: In dmesg I get this: acpi_bus_number: 
can't get _ADR


The motherboard being used is a Asus P5MT-S.

Is this simply a issue with no support on my chipset?  Or just an ACPI 
values not being detected correctly?


Possibly need to recompile the kernel with additional support?


The long version :-)

Here is a section from my dmesg:

FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
Security auditing service present
BSM auditing present
ioapic0: Changing APIC ID to 2
ioapic1: Changing APIC ID to 3
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: A M I OEMRSDT on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1
pci2: ACPI PCI bus on pcib2
aacu0: Adaptec SCSI RAID 2130S mem 
0xfc60-0xfc7f,0xfc5ff000-0xfc5f irq 24 at device 1.0 on pci2

aacu0: New comm. interface enabled
aacu0: Adaptec Raid Controller 2.0.7-1
aacpu0: SCSI Passthrough Bus on aacu0
ahd0: Adaptec AIC7901 Ultra320 SCSI adapter port 
0xa800-0xa8ff,0xa400-0xa4ff mem 0xfc5fc000-0xfc5fdfff irq 26 at device 
3.0 on p

ci2
ahd0: [GIANT-LOCKED]
aic7901: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
pcib3: ACPI PCI-PCI bridge irq 16 at device 28.4 on pci0
pci3: ACPI PCI bus on pcib3

Here is some output from pciconf -lv:

[EMAIL PROTECTED]:28:0:class=0x060400 card=0x0040 chip=0x27d08086 
rev=0x01 hdr=0x01

vendor   = 'Intel Corporation'
device   = '82801G (ICH7 Family) PCI Express Root Port'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:28:4:class=0x060400 card=0x0040 chip=0x27e08086 
rev=0x01 hdr=0x01

vendor   = 'Intel Corporation'
device   = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:28:5:class=0x060400 card=0x0040 chip=0x27e28086 
rev=0x01 hdr=0x01

vendor   = 'Intel Corporation'
device   = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port'
class= bridge


Thanks for the time,

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


Samba 3.x.x on FreeBSD 4.9

2004-01-15 Thread Jeff Royle
I have tried various versions of Samba 3.x.x on my FreeBSD 4.9 server 
without success. (Including the current port)

The install  goes smoothly however running testparm I encounter the 
following errors...

**

Error trying to resolve symbol 'init_module' in /usr/lib/charset/CP850.so: 
Cannot open /usr/lib/charset/US-ASCII.so'
Conversion from UCS-2LE to CP850 not supported

**

This error repeats about 3 times for conversions.

US-ASCII.so does not exist at all on the server.

I have updated libiconv to 1.9.2 was running 1.8.x before without success.

How do I resolve this issue?   I am running out of idea's on what I can do 
to fix this issue.

Thanks

Jeff Royle

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.560 / Virus Database: 352 - Release Date: 08/01/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]