Re: Right way to build package from non-port software

2008-03-11 Thread Michaël Grünewald

Catalin Miclaus wrote:

Hello guys,

 


What is the right way of building packages for non-ports applications?

AFAIK 'make package' and ' pkg_create -b name' are based on ports
installed packages.

Is there any way of using same commands or additional scripts to achieve
similar results?

If it matters I'm trying to create packages from net-snmp-5.4.1 sources
(needed for 64-bits counters feature) since ports version is based on
5.3.2.

Suggestions are welcome.


What I would do is:

1. check if there is a PR pending, with an update to the new version;
2. try to adapt the existing port to the new version.

Doing 2. should not be much more complicated than building from source, 
see Porter's Handbook, mainly the ``quick porting'' if you want to do it 
this way.


You do not really need the port infrastructure to use pkg_create, so it 
seems to be the right tool you were looking for.


Hope this helps,
--
Michaël



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


Interested in FreeBSD project developement

2008-03-11 Thread venkata kiran madhabhaktula
Hello team,

I am a software engineer, having an experience of above 2 years in
programming with C, C++ on UNIX platform. I have the strong programming
skills in C and C++.
I have seen the list of projects that are available. I am interested to
involve in the project developement of FreeBSD projects, but no idea about
how to proceed on this.
So please guide me, about whom to contact and how to proceed further. Thanks
in advance.

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


Re: Right way to build package from non-port software

2008-03-11 Thread Christopher Cowart
On Tue, Mar 11, 2008 at 12:38:40AM +0100, Catalin Miclaus wrote:
 What is the right way of building packages for non-ports applications?
 
 AFAIK 'make package' and ' pkg_create -b name' are based on ports
 installed packages.
 
 Is there any way of using same commands or additional scripts to achieve
 similar results?
 
 If it matters I'm trying to create packages from net-snmp-5.4.1 sources
 (needed for 64-bits counters feature) since ports version is based on
 5.3.2.
 
 Suggestions are welcome.

In this situation, my team generally gets its hands dirty and bumps the
port. Usually it's as easy as updating the PORTVERSION variable. Then
attach the port diff to a PR and it'll be updated in the official ports
tree fast. 

Unfortunately, net-snmp looks like a pretty complex port that isn't
going to be quite so easy. You might consider pinging the maintainer
about the new upstream version to see if there's any interest in bumping
the port.

You might also just be able to write your own port for the new version
from scratch (it sounds like you just grabbed the source tarball and
didn't apply all the FreeBSD patches). See the handbook [1]. Your best
bet may be a combination of the two approaches. 

[1] 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/quick-porting.html

Good luck,

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgp4cAyRWxXrN.pgp
Description: PGP signature


Re: traceroute problems

2008-03-11 Thread Wojciech Puchar

to prevent you from learning about their routing paths.  In these cases,
you get back the 1 * * * type of output from traceroute.  Also, by
default traceroute attempts to do a reverse DNS on the IP address, so
you can speed things up by doing a 'traceroute -n' to avoid this look-up.

many commercial firewalls, including those in integrated devices, tend to 
block everything excluding often used services. some even block ICMP ping.

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


Re: kernel error when upgrading to 7.0

2008-03-11 Thread Matthew Seaman

Dave wrote:

Hello,
   I've got a 6.2 or 3 box that i'm wanting to update to 7.0. I've 
cvsupped my source, made world, and built a kernel, all went 
successfully. This is the GENERIC kernel. When i do a make installkernel 
i am getting the error


kldxref: file isn't dynamically linked

   Is this a show stopping error/ if so is there a workaround?


This is harmless and can be ignored.  It's caused by 6.x utilities
trying to operate on a 7.0 kernel and its loadable modules, which
doesn't work.  Just proceed with the next steps in the upgrade 
procedure and it will all work fine.


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: [Wireless] Can't connect to wlan

2008-03-11 Thread Benjamin Close

Mel,
   Do the recent patches by Andrew make a difference?

http://people.freebsd.org/~thompsa/wpi_head.diff
http://people.freebsd.org/~thompsa/wpi_releng7.diff



Mel wrote:

Redirect - freebsd-mobile, cc Ben

Ref: 
http://lists.freebsd.org/pipermail/freebsd-current/2007-November/080653.html


On Sunday 24 February 2008 16:50:47 Alphons Fonz van Werven wrote:
  

Okay, so here goes:

SYNOPSIS

Wireless network gets detected, but has no carrier. So I can't connect.

PROMPT

All prompts are indicated as $ to avoid confusion with #-comment lines, but
in reality most things are done by root.

THE NETWORK

SSID: SpeedTouch1EC5E8
radio type: 11g
security type: WPA2-PSK
PSK: known
Station: Thomson ST 780 WL Wireless modem
Signal: present (Windows picks it up right away) and generally excellent

THE COMPUTER

Thoshiba Satellite P200 1A4 notebook
Wireless card: Intel 3945ABG
OS: FreeBSD 7.0-RC3

KERNEL

The driver for the Intel 3945ABG card is wpi.
As instructed by its manpage, my /boot/loader.conf reads:

$ cat /boot/loader.conf
if_wpi_load=YES
wlan_load=YES
wlan_amrr_load=YES
firmware_load=YES
wpifw_load=YES
wlan_xauth_load=YES

legal.intel_wpi.license_ack=1
$

Relevant dmesg greps:

$ dmesg|grep wpi
wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xd800-0xd8000fff irq 17 at
device 0.0 on pci4
wpi0: Ethernet address: 00:1b:77:b5:98:bd
wpi0: [ITHREAD]
wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
$ dmesg|grep wlan
$ dmesg|grep firmware
$

CONFIGURATION

My /etc/wpa_supplicant.conf:



As you can see in the aboved mentioned URL, wpi and wpa_supplicant don't play 
nice. I had the same problem yesterday, setting wpi through ifconfig (WEP in 
my case) and the card just works.

I also had the bluetooth message, but Fonz doesn't seem to have that.

# ident /boot/kernel/if_wpi.ko
/boot/kernel/if_wpi.ko:
 $FreeBSD: src/sys/dev/wpi/if_wpi.c,v 1.5.2.2 2008/02/02 06:49:57 sam Exp 
$


My kernel is GENERIC with ULE scheduler rather then 4BSD. I want to 
investigate more this week, with a debug kernel and/or wpi in debug mode. 
Since RELENG_7 is probably thawed/frozen, is there patches from -current you 
can backport to have tested?


Leaving the rest of the email in tact so you have a full report.

  

$ cat /etc/wpa_supplicant.conf
#eapol_version=2

network={
   ssid=SpeedTouch1EC5E8
   psk= (the correct preshared key, that is)
#  bssid=00:90:d0:f3:e1:d2
   mode=0
   proto=WPA RSN
#  key_mgmt=WPA-PSK
#  pairwise=CCMP
#  group=CCMP
   scan_ssid=1
}
$

STEPS

$ wpa_supplicant -d -i wpi0 -c /etc/wpa_supplicant
Initializing interface 'wpi0' conf '/etc/wpa_supplicant.conf' driver
'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' - '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Priority group 0
id=0 ssid='SpeedTouch1EC5E8'
Initializing interface (2) 'wpi0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:1b:77:b5:98:bd
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wpa_driver_bsd_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 10 usec
Added interface wpi0
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 5 sec 0 usec
State: DISCONNECTED - SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=16):
  53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38   SpeedTouch1EC5E8
Trying to get current scan results first without requesting a new scan to
speed up initial association
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=16):
  53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38   SpeedTouch1EC5E8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Received 0 

Re: Trouble Rescuing a System

2008-03-11 Thread Wojciech Puchar


/dev/da0s1a /mnt/root ufs ro 0
/dev/da0s1d /mnt/var ufs rw 0

Fixit# mount /mnt/root
Fixit# mount -u -w /mnt/root
mount: /dev/da0s1a: Operation not permitted.


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


Re: Strange apache logs [SOLVED]

2008-03-11 Thread Dragan Jovelic
Last month I posted a question to this list, about strange entires in 
httpd access log, which were connections from localhost, looking like this:


::1 - - [06/Feb/2008:13:43:58 -0500] OPTIONS * HTTP/1.0 200 -

After some investigation I found out what is the cause of this. When I 
turned on in httpd.conf to log UserAgent string as well, found out that 
UserAgent for this requests is internal dummy connection. Google 
search for that, gave this page on apache site, which explains what is 
it about:


http://wiki.apache.org/httpd/InternalDummyConnection


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


Re: Upgrade 4.11 to 7.0, possible?

2008-03-11 Thread Abdullah Ibn Hamad Al-Marri



- Original Message 
 From: Simon Gao [EMAIL PROTECTED]
 To: User Questions freebsd-questions@freebsd.org
 Sent: Tuesday, March 11, 2008 7:14:02 AM
 Subject: Upgrade 4.11 to 7.0, possible?
 
 Hi,
 
 I am trying to see if it's possible to upgrade 4.11 to 7.0 by using cvsup.
 
 When I run make buildworld, I got these errors.  Are there packages 
 missing?
 
 
 Simon

Upgrade to RELENG_5 then to RELENG_6 then to RELENG_7


 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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


How specify an other mail directory for users?

2008-03-11 Thread Nicolas Letellier

Hello,

In my FreeBSD 7.0 (with postfix), when a user receive an email, it is 
stocked in /var/mail$/USER.

How change this? I would like mails be stocked in /var/mail/users/$USER.

I don't find a file to change this. Is it a system conf, or a SMTP conf?

Thanks.

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


Re: How specify an other mail directory for users?

2008-03-11 Thread Nicolas Letellier

Nicolas Letellier a écrit :
 Hello,

 In my FreeBSD 7.0 (with postfix), when a user receive an email, it is 
stocked in /var/mail$/USER.

 How change this? I would like mails be stocked in /var/mail/users/$USER.

 I don't find a file to change this. Is it a system conf, or a SMTP conf?

 Thanks.

 - Nicolas.

Hum...
In main.cf:
mail_spool_directory = /var/mail/users

It works.

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


Re: re subscribing to the list

2008-03-11 Thread Mel
On Tuesday 11 March 2008 05:18:37 jekillen wrote:

 I have it shut down now incase that is the situation (someone was able to
 change or corrupt the root password) But it appears that it somehow has
 just gotten corrupted so it won't work. Is that possible.
 The long and short is I want to avoid having to re install the system
 and software. 

So boot into single user mode:
# fsck -p /
# mount -u /
# mount -o ro /usr
# env EDITOR=/usr/bin/vi vipw
On the root entry, change the part between the first and second colon (':') to 
a star ('*'), write and exit (:wq) and set password for using passwd command.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Solution

2008-03-11 Thread Mel
On Monday 10 March 2008 22:19:12 Alex Hanson wrote:
 I was trying to install FreeBSD and kept getting an Umass error.

 The problem was that i had a thumb drive pluged in, you may want to put
 that in the manual

Because? Install failed? Because you had 'boot from usb' set in BIOS before 
boot from CD/HDD?
You may want to use send-pr(1).

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Enquiry For Quotation.

2008-03-11 Thread Hameed Faizal
Attention: The Managing Director,
 
RE: Enquiry For Quotation.
 
Can your company quote for an urgent project for both Iraq and Afghanistan 
Governments 

under a Joint Contracting Command program? If it is in your jurisdiction, then 
kindly 

respond and send a presentational information on your specialty and working 
terms for 

immediate evaluation. We would appreciate to discuss this important project 
with ONLY 

the top most official of your establishment.
 
Thank you and kindly treat as urgent.
 
Reply to: [EMAIL PROTECTED]
 
Hameed Faizal,

Foreign Affairs Ministry.




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


SMTP Autentication and sendmail-sasl

2008-03-11 Thread Ivailo Bonev
Is sendmail-sasl port doing everything from what is written in SMTP 
Autentication section in Handbook?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html 



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


xorg 7.3 i810 screen frozen

2008-03-11 Thread Liang Zhang
My graphics chipsets is i810. I updated to  FreeBSD 7.0-RELEASE via
freebsd-update and installed xorg 7.3 from Ports. I tried starting xorg,
my screen is frozen.

I can start xorg with the 'vesa' driver. However, any config in xorg.conf
with the 'i810' or 'intel' driver causes a freeze.

I use xorg 7.3 in FreeBSD 6.2-RELEASE did not seem to cause any problems.

Hope for reply.

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


Re: Interested in FreeBSD project developement

2008-03-11 Thread Aryeh M. Friedman

venkata kiran madhabhaktula wrote:

Hello team,

I am a software engineer, having an experience of above 2 years in
programming with C, C++ on UNIX platform. I have the strong programming
skills in C and C++.
I have seen the list of projects that are available. I am interested to
involve in the project developement of FreeBSD projects, but no idea about
how to proceed on this.
So please guide me, about whom to contact and how to proceed further. Thanks
in advance.
  


There seems to be no official way to do it but must people seem to 
start by looking through the PR database and selecting PR's they think 
they can solve and do it.   You should read the developers handbook, 
porters guide and the internals of FreeBSD before you do anything too 
heavy though.

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


Re: Interested in FreeBSD project developement

2008-03-11 Thread Aryeh M. Friedman




There seems to be no official way to do it but must people seem to 
start by looking through the PR database and selecting PR's they think 
they can solve and do it.   You should read the developers handbook, 
porters guide and the internals of FreeBSD before you do anything too 
heavy though.


Forgot to mention a fantastic place to start might be to figure out why 
none of the precompiled JDK's work on 8-current

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


Re: Upgrade 4.11 to 7.0, possible?

2008-03-11 Thread Derek Ragona

At 11:14 PM 3/10/2008, Simon Gao wrote:

Hi,

I am trying to see if it's possible to upgrade 4.11 to 7.0 by using cvsup.

When I run make buildworld, I got these errors.  Are there packages missing?

--
 Building an up-to-date make(1)
--
rm -f .depend
mkdep -f .depend -a-I/usr/src/usr.bin/make -DOLD_JOKE=1 
-DMAKE_VERSION=\5200408120\ -D__FBSDID=__RCSID -DDEFSHELLNAME=\sh\
/usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c 
/usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c 
/usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c 
/usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c 
/usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c 
/usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c 
/usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c 
/usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c 
/usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c 
/usr/src/usr.bin/make/var.c

In file included from /usr/src/usr.bin/make/arch.c:107:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/cond.c:59:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/dir.c:97:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/for.c:55:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/job.c:131:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/main.c:82:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/make.c:80:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/parse.c:86:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/str.c:49:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/suff.c:102:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/targ.c:84:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/util.c:59:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/var.c:96:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
mkdep: compile failed
*** Error code 1

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

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

Stop in /usr/src.



Simon


I have upgraded from 4.11 to 5.X, then from 5.X to 6.x, then from 6.X to 
7.0.  I don't think you can jump major versions as too much changes with 
each major version.


You could download the ISO's and do binary upgrades to the major versions 
which would be faster.


-Derek

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

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


Re: Looking for a FTP sync'er suggestion

2008-03-11 Thread Mel
On Tuesday 11 March 2008 16:48:32 Michaël Grünewald wrote:

 I need this to publish a web site on a space allocated to me by my ISP,
 I am writing a script that automates publication, and at the very end, I
   noticed the key-piece was missing!

If you use KDEwebdev (formerly Quanta), define a project and you will have the 
option to publish it to remote site, which will do exactly what you want.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for a FTP sync'er suggestion

2008-03-11 Thread David Kelly
On Wed, Mar 12, 2008 at 12:10:23AM +0800, Luke Jee top-posted:
 Try rsync

[...]

 I am looking for a program able to make a remote FTP site look like  
 a copy of a local dir. I feel as if I were dunce-cap-awards(R)  
 nominated, but I really did not find one!

rsync isn't going to work unless one has more control over the http
server than one usually gets. Must install rsync on each end. If one has
that much control then I'd say use svn or cvs to keep the website in
sync. You need version control anyway, might as well use it as your
synchronization utility.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for a FTP sync'er suggestion

2008-03-11 Thread Michael Ross

Michaël Grünewald schrieb:

Hi,

I am looking for a program able to make a remote FTP site look like a 
copy of a local dir. I feel as if I were dunce-cap-awards(R) nominated, 
but I really did not find one!


In ports/ftp many programs say they do the reverse, and a few say they 
``mirror'' without more explanation. I gave a tried to mirror, ftpmirror 
and ftpsync (among others), all of them broke or failed to be useful.



I need this to publish a web site on a space allocated to me by my ISP, 
I am writing a script that automates publication, and at the very end, I 
 noticed the key-piece was missing!


I usually do it with lftp, in a script like:

[EMAIL PROTECTED] ~]$ cat work/websites/foobar/lftp.upload
#!/usr/local/bin/lftp -f
debug 3;

set dns:fatal-timeout 30;

set ftp:ssl-allow true;

open -u username,password host;

put upload/updating.php -o /index.php || exit 1

mirror --verbose=1 --parallel=1 --delete --reverse \
--exclude .htaccess --exclude .htpasswd \
--exclude index.php --exclude updating.php \
upload / || exit 1

put upload/index.php -o /index.php || exit 1


Then I'll call ./lftp.upload and be done.


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


Looking for a FTP sync'er suggestion

2008-03-11 Thread Michaël Grünewald

Hi,

I am looking for a program able to make a remote FTP site look like a 
copy of a local dir. I feel as if I were dunce-cap-awards(R) nominated, 
but I really did not find one!


In ports/ftp many programs say they do the reverse, and a few say they 
``mirror'' without more explanation. I gave a tried to mirror, ftpmirror 
and ftpsync (among others), all of them broke or failed to be useful.



I need this to publish a web site on a space allocated to me by my ISP, 
I am writing a script that automates publication, and at the very end, I 
 noticed the key-piece was missing!

--
Cheers,
Michaël

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


Re: Looking for a FTP sync'er suggestion

2008-03-11 Thread Luke Jee

Try rsync

Luke Jee
Prevantage Inc.

On 2008-3-11, at 下午11:48, Michaël Grünewald [EMAIL PROTECTED] 
te.net wrote:



Hi,

I am looking for a program able to make a remote FTP site look like  
a copy of a local dir. I feel as if I were dunce-cap-awards(R)  
nominated, but I really did not find one!


In ports/ftp many programs say they do the reverse, and a few say  
they ``mirror'' without more explanation. I gave a tried to mirror,  
ftpmirror and ftpsync (among others), all of them broke or failed to  
be useful.



I need this to publish a web site on a space allocated to me by my  
ISP, I am writing a script that automates publication, and at the  
very end, I  noticed the key-piece was missing!

--
Cheers,
Michaël

___
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: atacontrol mode D PIO4 persist across reboots

2008-03-11 Thread Kirk Strauser
On Monday 10 March 2008, Philip M. Gollucci wrote:

 This sets it for all controllers I only want to set it for ata1 which
 contains ad2.  Thanks for the tip though.

Globally disable it on boot, then write a script named /etc/rc.local that 
selectively re-enables it for certain drives.  Here's mine:

--
#!/bin/sh

echo
echo 'Setting controllers to DMA mode'
atacontrol mode acd1 udma33
--

I had to do that because my DVD-ROM would autodetect UDMA66 or higher and 
hang.
-- 
Kirk Strauser


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


Re: Looking for a FTP sync'er suggestion

2008-03-11 Thread Michaël Grünewald

Michael Ross a écrit :

Michaël Grünewald schrieb:

Hi,

I am looking for a program able to make a remote FTP site look like a 
copy of a local dir. I feel as if I were dunce-cap-awards(R) 
nominated, but I really did not find one!


In ports/ftp many programs say they do the reverse, and a few say they 
``mirror'' without more explanation. I gave a tried to mirror, 
ftpmirror and ftpsync (among others), all of them broke or failed to 
be useful.



I need this to publish a web site on a space allocated to me by my 
ISP, I am writing a script that automates publication, and at the very 
end, I  noticed the key-piece was missing!


I usually do it with lftp, in a script like:

[EMAIL PROTECTED] ~]$ cat work/websites/foobar/lftp.upload
#!/usr/local/bin/lftp -f
debug 3;

set dns:fatal-timeout 30;

set ftp:ssl-allow true;

open -u username,password host;

put upload/updating.php -o /index.php || exit 1

mirror --verbose=1 --parallel=1 --delete --reverse \
--exclude .htaccess --exclude .htpasswd \
--exclude index.php --exclude updating.php \
upload / || exit 1

put upload/index.php -o /index.php || exit 1


Then I'll call ./lftp.upload and be done.


I like this way, thank you,
--
Michaël

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


Re: Looking for a FTP sync'er suggestion

2008-03-11 Thread Kelvin Woods
On Tue, March 11, 2008 16:27, Michael Ross wrote:
 Michaël Grünewald schrieb:
 Hi,

 I am looking for a program able to make a remote FTP site look like
 a
 copy of a local dir. I feel as if I were dunce-cap-awards(R)
 nominated,
 but I really did not find one!

 In ports/ftp many programs say they do the reverse, and a few say
 they
 ``mirror'' without more explanation. I gave a tried to mirror,
 ftpmirror
 and ftpsync (among others), all of them broke or failed to be
 useful.


 I need this to publish a web site on a space allocated to me by my
 ISP,
 I am writing a script that automates publication, and at the very
 end, I
  noticed the key-piece was missing!

 I usually do it with lftp, in a script like:

 [EMAIL PROTECTED] ~]$ cat work/websites/foobar/lftp.upload
 #!/usr/local/bin/lftp -f
 debug 3;

 set dns:fatal-timeout 30;

 set ftp:ssl-allow true;

 open -u username,password host;

 put upload/updating.php -o /index.php || exit 1

 mirror --verbose=1 --parallel=1 --delete --reverse \
 --exclude .htaccess --exclude .htpasswd \
 --exclude index.php --exclude updating.php \
 upload / || exit 1

 put upload/index.php -o /index.php || exit 1


 Then I'll call ./lftp.upload and be done.


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


I'd support this suggestion as well. Using lftp (from the ports tree)
requires nothing more that an FTP server at the remote end (i.e. the
ISP). It can mirror in both directions, i.e. client - server and
server - client.

-- 
Kelvin


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


Alert : Update your Bank Account

2008-03-11 Thread Abbey National Bank

Abbey
 _

   Dear Customer
   During our regular scheduled, account maintenance and verification
   procedures we have detected a slight error in your billing
   information.

   1. A recent change in your personal information ( i.e. change of
   address).
   2. Submitting invalid information during the initial sign up process.
   3. An inability to accurately verify your selected option of payment
   due to an internal error within our processors.

   You have 12 hours to confirm account information or your account will
   be blocked.
   To Get Started, Please Click On

   [1]http://www.abbey.co.uk/update/acc

   This email was sent by the Abbey Online server. This is done for your
   protection.

   Abbey National Society
   Security Advisor
   Abbey Bank.
 _

   Please do not reply to this e-mail. Mail sent to this address cannot
   be answered.

References

   1. http://www.griffandjones.co.uk/includes/Abbey-online/Abbey-online/dert.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Space needed on device

2008-03-11 Thread Jerry McAllister
On Wed, Mar 05, 2008 at 01:59:35PM +0100, bsd wrote:

 Hello,
 
 After an update I have little space left on the / device
 
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ar0s1a3.8G3.1G414M88%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/ar0s1d 60G2.2G 53G 4%/home
 
 
 I wanted to know if I can safely delete /usr/local/etc/cvsup/sup

Probably but it might not help much.

The big problem is that it looks like you have /var and /uar 
in root.Those can grow unexpectedly - especially /var when logs
and mail grow.   /usr can grow when you install ports.
So, your best bet might be to move /var  or  /var/mail, /var/spool
and /var/log  to /home and make symlinks.   You could also put /usr/src
and /usr/ports in /home and make symlinks.   That would give you lots
of room and eliminate most unexpected growth.   Really, it is also a 
good idea to have /tmp in its own partition as well for the same
protection of unexpected growth issue.

If you don't want to deal with moving thing and making symlinks
(I do that a lot and it is easy) you could back everything up and
then repartition and make file systems for /usr. /var and /tmp.

jerry


 
 This beeing the default base for my previous kernel / system update
 
 
 *default host=cvsup5.fr.FreeBSD.org
 *default base=/usr/local/etc/cvsup
 *default prefix=/usr
 *default tag=RELENG_5_5
 *default release=cvs delete use-rel-suffix compress
 src-all
 
 
 
 Are there any other file I should be removing ?
 
 Knowing that I have already removed /boot/kernel.old
 
 ?
 
 
 
 Thanks for your support.
 
 
 
 
 Gregober --- PGP ID -- 0x1BA3C2FD
 bsd @at@ todoo.biz
 
 
 P Please consider your environmental responsibility before printing  
 this e-mail
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: starting a program at boot time

2008-03-11 Thread Jerry McAllister
On Wed, Mar 05, 2008 at 07:24:07PM +0100, Wojciech Puchar wrote:

 how do i  start a program  at boot time?
 
 simplest to add to rc.local
 
 or as a user - add
 
 @reboot command
 in crontab

Not really.   

The more proper way is to add a startup script in /usr/local/rc.d/
There are notes and documentation for that and some samples.

jerry


 
 -- 
 ---
 Bill Banks 508-829-2005
 Wachusett Programming  Ourweb
 http://www.ourweb.net
 http://www.ourwebtemplates.com
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for a FTP sync'er suggestion

2008-03-11 Thread Wojciech Puchar


I am looking for a program able to make a remote FTP site look like a copy of 
a local dir. I feel as if I were dunce-cap-awards(R) nominated, but I really


mirror -R in lftp



did not find one!

In ports/ftp many programs say they do the reverse, and a few say they 
``mirror'' without more explanation. I gave a tried to mirror, ftpmirror and 
ftpsync (among others), all of them broke or failed to be useful.



I need this to publish a web site on a space allocated to me by my ISP, I am 
writing a script that automates publication, and at the very end, I  noticed 
the key-piece was missing!

--
Cheers,
Michaël

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

ipfw, if_bridge and diverting for snort

2008-03-11 Thread Chris

Hello,

I read Nick Rogness' helpful article on using snort-inline with ipfw.
It mentions that diverting to a snort process can't be done with
bridging because of interaction of DIVERT sockets and bridging in
the kernel. The article is not dated and it made me wonder if this
is referring to the previous bridge capability rather than the newer
if_bridge. I'm using if_bridge in my implementation.

The question is, is it still a problem to divert to snort-inline from
ipfw when using if_bridge?

Thanks,
Chris

Ref: http://freebsd.rogness.net/snort-inline
5th paragraph entitled BEFORE YOU START
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: starting a program at boot time

2008-03-11 Thread Bill Moran
In response to Jerry McAllister [EMAIL PROTECTED]:

 On Wed, Mar 05, 2008 at 07:24:07PM +0100, Wojciech Puchar wrote:
 
  how do i  start a program  at boot time?
  
  simplest to add to rc.local
  
  or as a user - add
  
  @reboot command
  in crontab
 
 Not really.   
 
 The more proper way is to add a startup script in /usr/local/rc.d/

Just for the sanity of the OP: that directory is /usr/local/etc/rc.d

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


Re: Looking for a FTP sync'er suggestion

2008-03-11 Thread doug

On Tue, 11 Mar 2008, Kelvin Woods wrote:


On Tue, March 11, 2008 16:27, Michael Ross wrote:

Michaël Grünewald schrieb:

Hi,

I am looking for a program able to make a remote FTP site look like a copy 
of a local dir. I feel as if I were dunce-cap-awards(R) nominated, but I 
really did not find one!


In ports/ftp many programs say they do the reverse, and a few say they 
``mirror'' without more explanation. I gave a tried to mirror, ftpmirror and 
ftpsync (among others), all of them broke or failed to be useful.



I need this to publish a web site on a space allocated to me by my ISP, I am 
writing a script that automates publication, and at the very end, I

 noticed the key-piece was missing!


I usually do it with lftp, in a script like:

[EMAIL PROTECTED] ~]$ cat work/websites/foobar/lftp.upload
#!/usr/local/bin/lftp -f
debug 3;
set dns:fatal-timeout 30;
set ftp:ssl-allow true;
open -u username,password host;
put upload/updating.php -o /index.php || exit 1
mirror --verbose=1 --parallel=1 --delete --reverse \
--exclude .htaccess --exclude .htpasswd \
--exclude index.php --exclude updating.php \
upload / || exit 1
put upload/index.php -o /index.php || exit 1

Then I'll call ./lftp.upload and be done.

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



I'd support this suggestion as well. Using lftp (from the ports tree)
requires nothing more that an FTP server at the remote end (i.e. the
ISP). It can mirror in both directions, i.e. client - server and
server - client.

lftp is neat and new (to me). It reminds me of the advice given by Evi Nemeth 
gave in the first Unix book I read some years ago, paraphrased as, look at all 
the man pages every so often.


If the ISP supports ssh, putting a key on the server allows easy update for a 
few files:


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

Re: Looking for a FTP sync'er suggestion

2008-03-11 Thread Wojciech Puchar

all the man pages every so often.

If the ISP supports ssh, putting a key on the server allows easy update for a 
few files:


 scp [-r] [path-to-file/]newfile.html [EMAIL PROTECTED]:/path-to-html/


for more use rsync -e ssh -C
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAID

2008-03-11 Thread kalin m

thanks
i did install the system now on ar0. the dmesg output below didn't 
change. the df does show only one drive - ar0 - with a few slices...
assuming now that i have RAID1 working is there any way to monitor disks 
individually? or as an array?

how can i be sure that the RAID is actually working? or get any stats?
i figured the driver for the Intel MatrixRAID RAID1 must be iir. bit 
from the iir man page ther is not much about monitoring or status...


thanks...


Tamouh H. wrote:

hi ...

i have a simple RAID question(s).

this is from the dmesg of a newly installed bsd7:

ad4: 238475MB Seagate ST3250310AS 3.AAA at ata2-master SATA150
ad6: 238475MB Seagate ST3250310AS 3.AAA at ata3-master SATA150
ar0: 238472MB Intel MatrixRAID RAID1 status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master

from what i understand here is that if at the time of 
installation i install the system on ar0 that means i'd have 
RAID1 made out of ad4 and ad6.

right?
is there any configuration to be done?
how do i know what driver is being used? it says:
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 
19:59:27) .

hptrr: no controller detected.'


that's it. thanks.







It is saying ar0: 238472MB Intel MatrixRAID RAID1 status: READY

So assume it is onboard Intel RAID. When configuring FBSD setup, just make sure 
you're selecting the ar0 controller and partition it as you like. That is it!

Tamouh


___
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: Looking for a FTP sync'er suggestion

2008-03-11 Thread doug

On Tue, 11 Mar 2008, Wojciech Puchar wrote:


all the man pages every so often.

If the ISP supports ssh, putting a key on the server allows easy update for 
a few files:


 scp [-r] [path-to-file/]newfile.html [EMAIL PROTECTED]:/path-to-html/


for more use rsync -e ssh -C


As pointed out earlier in this thread, the use of rsync may require some 
assistance by the ISP.

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


Re: portupgrade can't fetch packages

2008-03-11 Thread Mel
On Monday 10 March 2008 15:38:17 Colin Brace wrote:
 Hi all,

 Earlier today I ran portupgrade -aP to update my system. Alas,
 everytime it tried to download a package, it failed and resorted to
 downloading and compiling the source. For example:

 [...]
 ---  Checking for the latest package of 'lang/python25'
 ---  Fetching the package(s) for 'python25-2.5.2_1' (lang/python25)
 ---  Fetching python25-2.5.2_1
 fetch:
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7-stable/All/python25
-2.5.2_1.tbz: Can't open data connection

If this is a persistent rather then temporary problem, the only way I can see 
that happening, is that you have FTP_PASSIVE_MODE set to 'no' in 
pkgtools.conf.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for a FTP sync'er suggestion

2008-03-11 Thread Michaël Grünewald

Kelvin Woods a écrit :

On Tue, March 11, 2008 16:27, Michael Ross wrote:

Michaël Grünewald schrieb:

Hi,

I am looking for a program able to make a remote FTP site look like
a
copy of a local dir. I feel as if I were dunce-cap-awards(R)
nominated,
but I really did not find one!

In ports/ftp many programs say they do the reverse, and a few say
they
``mirror'' without more explanation. I gave a tried to mirror,
ftpmirror
and ftpsync (among others), all of them broke or failed to be
useful.


I need this to publish a web site on a space allocated to me by my
ISP,
I am writing a script that automates publication, and at the very
end, I
 noticed the key-piece was missing!

I usually do it with lftp, in a script like:


I'd support this suggestion as well. Using lftp (from the ports tree)
requires nothing more that an FTP server at the remote end (i.e. the
ISP). It can mirror in both directions, i.e. client - server and
server - client.


I just tried LFTP, and this is a program I missed several times before, 
thank you to point it to me!

--
Michaël


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


Re: SATA Tape drive

2008-03-11 Thread Jerry McAllister
On Mon, Mar 10, 2008 at 10:22:09AM -1000, Kent Hauser wrote:

 Hi,
 
 I need to replace a failed DAT72 drive. My current one is SCSI, but I'd like
 to use a SATA replacement. Will this work?

I have never seen a DAT drive on a SATA controller.
Do they make them?

jerry

 
 Thanks. Kent
 ___
 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: Trouble Rescuing a System

2008-03-11 Thread Jerry McAllister
On Mon, Mar 10, 2008 at 07:25:35PM -0400, Brian Minard wrote:

 I am trying to use the Fixit shell from FreeBSD 6.1 STABLE to rescue a
 system running 7.0 STABLE. The problem is that I can't make the root
 partition (i.e., /) for the hard disk writable. I can mount other
 partitions on the hard disks as writable. The hard disks contain a
 mirrored GEOM file system. In creating the GEOM mirror I mapped
 /dev/da0 to /dev/mirror/gm0 and then mirrored gm0 on /dev/da1. (All of
 the GEOM configuration was done under 6.1 and the system was recently
 upgraded to 7.0).
 
 The fstab I created in the Fixit shell contains the following lines:
 
 /dev/da0s1a /mnt/root ufs ro 0
 /dev/da0s1d /mnt/var ufs rw 0

Well, when you have it marked as 'ro' as in the line above,
it will be mounted read only.  

Try changing that to 'rw'

Make sure it is not already mounted.
Do:

mount -u /mnt/root

jerry

 
 Fixit# mount /mnt/root
 Fixit# mount -u -w /mnt/root
 mount: /dev/da0s1a: Operation not permitted.
 
 Mounting the /var file system works as expected.
 
 What can I do to make /mnt/root a writable file system?
 
 Thanks,
 Brian
 ___
 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: starting a program at boot time

2008-03-11 Thread Jerry McAllister
On Tue, Mar 11, 2008 at 02:21:25PM -0400, Bill Moran wrote:

 In response to Jerry McAllister [EMAIL PROTECTED]:
 
  On Wed, Mar 05, 2008 at 07:24:07PM +0100, Wojciech Puchar wrote:
  
   how do i  start a program  at boot time?
   
   simplest to add to rc.local
   
   or as a user - add
   
   @reboot command
   in crontab
  
  Not really.   
  
  The more proper way is to add a startup script in /usr/local/rc.d/
 
 Just for the sanity of the OP: that directory is /usr/local/etc/rc.d

Oops.  Sorry, you are right.   I apparently dozed off while typing it.

It is:/usr/local/etc/rc.d  

jerry

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


Re: SATA Tape drive

2008-03-11 Thread Wojciech Puchar

to use a SATA replacement. Will this work?


I have never seen a DAT drive on a SATA controller.
Do they make them?


i found only SCSI and USB in Poland.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SATA Tape drive

2008-03-11 Thread Kent Hauser
On the quantum web site, the internal DAT72 drives are choice of SATA, USB,
or SCSI. SATA listed first. The SATA drive part # is CD72SH-SB.

I'd love to not have to use the internal SCSI cabling for replacement. But
of course, I'd also like it to work. Hence the query.

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


newbie internet connection question

2008-03-11 Thread Andy Watts

Hi People

l downloaded FreeBSD 6.3 the other day out of curiosity..

The installation started ok but it all went wrong when it came to 
connecting to the internet through my wired router


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html

l'm really not sure what entries to put in fig 2-29 that will allow my 
connection.


My email address is [EMAIL PROTECTED]

My router's address is 192.168.1.1 and running ifconfig on my linux 
machine gives the following:


eth0  Link encap:Ethernet  HWaddr 00:01:6C:E2:58:25  inet 
addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0

inet6 addr: fe80::201:6cff:fee2:5825/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:5894 errors:0 dropped:0 overruns:0 frame:0
TX packets:4645 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4431375 (4.2 MB)  TX bytes:616025 (601.5 KB)
Interrupt:20 Base address:0xe400

loLink encap:Local Loopback  inet addr:127.0.0.1  
Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5380 (5.2 KB)  TX bytes:5380 (5.2 KB)

Any pointers in the right direction would be greatly appreciated

Andy - Salisbury, UK


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


Re: newbie internet connection question

2008-03-11 Thread Paul Schmehl
--On Tuesday, March 11, 2008 19:25:31 + Andy Watts [EMAIL PROTECTED] 
wrote:



Hi People

l downloaded FreeBSD 6.3 the other day out of curiosity..

The installation started ok but it all went wrong when it came to connecting
to the internet through my wired router

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html

l'm really not sure what entries to put in fig 2-29 that will allow my
connection.

My email address is [EMAIL PROTECTED]

My router's address is 192.168.1.1 and running ifconfig on my linux machine
gives the following:

eth0  Link encap:Ethernet  HWaddr 00:01:6C:E2:58:25  inet
addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
 inet6 addr: fe80::201:6cff:fee2:5825/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:5894 errors:0 dropped:0 overruns:0 frame:0
 TX packets:4645 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:4431375 (4.2 MB)  TX bytes:616025 (601.5 KB)
 Interrupt:20 Base address:0xe400

loLink encap:Local Loopback  inet addr:127.0.0.1
Mask:255.0.0.0
 inet6 addr: ::1/128 Scope:Host
 UP LOOPBACK RUNNING  MTU:16436  Metric:1
 RX packets:48 errors:0 dropped:0 overruns:0 frame:0
 TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:5380 (5.2 KB)  TX bytes:5380 (5.2 KB)

Any pointers in the right direction would be greatly appreciated



If your router works like most do (and it appears that it does from the IP your 
linux box is getting), all you need to do is put this into /etc/rc.conf:


ifconfig_em0=DHCP

(or rerun sysinstall and configure your ethernet card to do dhcp.)

# sysinstall

Choose Configure/Networking/Interfaces and set your NIC to do dhcp.

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

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


Fidelity Investments International

2008-03-11 Thread Mr M Shadol

Fidelity Investments International
Oakhill house,130
Tonbridge,
Hildenborough.
Kent TN119DZ,
United Kingdom.
www.fidelity-international.com
 
Attn:
 
I am Mr. Micheal Shadol ,The Fund Manager of  Fidelity Investment
 International.
 
The World Largest Fund Management  Company with over 1.2 Trillion
 Capital Investment Fund. Neverthless, as The Fidelity Fund Manager, I handle
 all our Investor's Direct Capital Funds and secretly extracted 1.2%
 Excess Maximum Return Capital Profit (EMRCP) per annum on each of the
 Investor's Marginal Capital Fund. As an expert,I have made over 25, 745,
 000, 00 from the Investor's EMRCP and hereby looking for someone to
 trust who will stand as an Investor to receive the fund as Annual
 Investment Proceeds from Fidelity Marginal Capital Fund.All confirmable
 documents to back up the claims will be made available to you prior to your
 acceptance.Meanwhile, I have worked out the modalities and technincalities
 whereby the funds can be claimed in any of our 6 Clearing Houses
 without any hitches. If you are interested,you should send your direct phone
 number so we could discuss more on phone as regard the transaction.
 
N:B; Do not contact my office number or email for any reason,mainly for
 security purposes, all correspondence must be through this private
 box.
 
Sincerely.
 
Mr Shadol







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


Re: newbie internet connection question

2008-03-11 Thread Roland Smith
On Tue, Mar 11, 2008 at 07:25:31PM +, Andy Watts wrote:
 l downloaded FreeBSD 6.3 the other day out of curiosity..
 
 The installation started ok but it all went wrong when it came to 
 connecting to the internet through my wired router
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html

You're reading the handbook. That's a very good start. :-)
 
 l'm really not sure what entries to put in fig 2-29 that will allow my 
 connection.

Most routers will have a DHCP server running to hand out addresses and such.

When it asks 'Do you want to try DHCP configuration of the interface?'
Just say 'yes'.

Use the IP address of your router as the gateway address.

 My router's address is 192.168.1.1 and running ifconfig on my linux machine 
 gives the following:

 Any pointers in the right direction would be greatly appreciated

If you don't know what network hardware you have, use alt-F4 to switch
to a shell and give the command 'dmesg | grep Ethernet'. On my machine
this gives;

rl0: Ethernet address: 00:1e:23:2f:1b:g1

indicating that I have hardware using the rl(4) driver.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpplSJ7axzZY.pgp
Description: PGP signature


Re: RAID

2008-03-11 Thread Dan Nelson
In the last episode (Mar 11), kalin m said:
 thanks
 i did install the system now on ar0. the dmesg output below didn't change. 
 the df does show only one drive - ar0 - with a few slices...
 assuming now that i have RAID1 working is there any way to monitor disks 
 individually? or as an array?
 how can i be sure that the RAID is actually working? or get any stats?
 i figured the driver for the Intel MatrixRAID RAID1 must be iir. bit from 
 the iir man page ther is not much about monitoring or status...

MatrixRAID is one of those not-really-raid controllers that only
provides RAID during the boot process, and the OS has to implement RAID
in software itself.  FreeBSD has an ataraid driver to handle these
cards.  The atacontrol command lets you view status.  See the ataraid
and atacontrol manpages for more info.

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


EVOLUTION SLOW START , a workaround

2008-03-11 Thread sergio lenzi
Hello all

This week I have time to trace the problem with evolution that
lasts too much time to start.

The problem is that glib on function g_module_load, searchs for a symbol
g_module_check_init, g_module_unload... by default.

It occurs that the evolution code, that will be loaded, does not have
those functions available... so th glib (and dlsym) tries to find the
symbol in every load module in memory... and doing so consumes all cpu
for several seconds, for each load module

! coded a solution for gmodule that tests for those special symbos, and
if found, uses dlsymb(RTLD_NEXT,) instead of dlsym(handler) 
so it will search a much less modules, and evolution will start in 3
seconds... (20 times less...)

Of course the correct strategy is to correct code evolution module
(libevolution-mail.so). will do next time

modified file: /usr/ports/devel/glib20/files/patch-gmodule::gmodule-dl.c

please note this is only a temporary fix... the correct solution is to
fix the 
evolution module

=
--- gmodule/gmodule-dl.c.orig   2008-02-07 03:24:53.0 -0200
+++ gmodule/gmodule-dl.c2008-03-11 18:53:44.0 -0300
@@ -73,6 +73,14 @@
 #endif /* RTLD_GLOBAL */
 
 
+static char *special_names[]={
+   g_module_check_init,
+   g_module_unload,
+   e_plugin_lib_enable,
+   NULL
+};
+   
+
 /* --- functions --- */
 static gchar*
 fetch_dlerror (gboolean replace_null)
@@ -106,6 +114,7 @@
 static gpointer
 _g_module_self (void)
 {
+#ifndef __FreeBSD__
   gpointer handle;
   
   /* to query symbols from the program itself, special link options
@@ -117,6 +126,9 @@
 g_module_set_error (fetch_dlerror (TRUE));
   
   return handle;
+#else
+  return RTLD_DEFAULT;
+#endif
 }
 
 static void
@@ -141,9 +153,19 @@
 {
   gpointer p;
   gchar *msg;
+  char **pn;
 
   fetch_dlerror (FALSE);
-  p = dlsym (handle, symbol_name);
+
+  for (pn=special_names;*pn;pn++) {
+   if (!strcmp(*pn,symbol_name)) {
+   p=dlsym(RTLD_NEXT,symbol_name);
+   break;
+   }
+  }
+
+  if (! *pn)
+   p = dlsym (handle, symbol_name);
   msg = fetch_dlerror (FALSE);
   if (msg)
 g_module_set_error (msg);


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


Tyan Motherboard

2008-03-11 Thread Mark Busby
Looking to build a new server, looking for a dual amd 940 board with sata II 
support.
  I have googled, but still looking for a firm success before spending the 
money.
   
  Anyone have success with this Tyan board.
  Model S2892GNR 
  North Bridge AMD 8131, South Bridge Nvidia nForce Prof. 2200
  Other chipset Winbond W83627HF Super I/O ASIC
   
   
   
   
   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


security/openssh-portable

2008-03-11 Thread Philip M. Gollucci

Hi,

I'm setting up a 'chrooted' SFTP only set of users:

/etc/make.conf:
.if ${.CURDIR:M*/usr/ports/security/openssh-portable*}
  WITH_SUID_SSH =yes
  WITH_OPENSSH_CHROOT   =yes
  WITH_HPN  =yes
  WITH_OVERWRITE_BASE   =yes
.endif

/etc/rc.conf:
sshd_enable=NO
openssh_enable=YES

/etc/passwd:
user:*:3000:3000::0:0:F L:/foo/./user:/bin/sh

Access will be with ssh dsa keys only.

What is the best way to make this SFTP only and not SSH?
1).ssh/authorization?
2) change user's shell to /usr/local/libexec/sftp-server
3) change user's shell to a custom C wrapper around [2]
4) a combination of them





--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: security/openssh-portable

2008-03-11 Thread Jerry McAllister
On Tue, Mar 11, 2008 at 06:08:44PM -0400, Philip M. Gollucci wrote:

 Hi,
 
 I'm setting up a 'chrooted' SFTP only set of users:
 
 /etc/make.conf:
 .if ${.CURDIR:M*/usr/ports/security/openssh-portable*}
   WITH_SUID_SSH =yes
   WITH_OPENSSH_CHROOT   =yes
   WITH_HPN  =yes
   WITH_OVERWRITE_BASE =yes
 .endif
 
 /etc/rc.conf:
 sshd_enable=NO
 openssh_enable=YES
 
 /etc/passwd:
 user:*:3000:3000::0:0:F L:/foo/./user:/bin/sh
 
 Access will be with ssh dsa keys only.
 
 What is the best way to make this SFTP only and not SSH?
 1).ssh/authorization?
 2) change user's shell to /usr/local/libexec/sftp-server
 3) change user's shell to a custom C wrapper around [2]
 4) a combination of them

The usual thing is make the shell   /bin/nologin

jerry

 
 -- 
 
 Philip M. Gollucci ([EMAIL PROTECTED])
 o:703.549.2050x206
 Senior System Admin - Riderway, Inc.
 http://riderway.com / http://ridecharge.com
 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF
 
 Work like you don't need the money,
 love like you'll never get hurt,
 and dance like nobody's watching.
 
 ___
 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: security/openssh-portable

2008-03-11 Thread Philip M. Gollucci

user:*:3000:3000::0:0:F L:/foo/./user:/bin/sh

The usual thing is make the shell   /bin/nologin

Hi Jerry, Thanks -- but
Changed to /usr/sbin/nologin

So thats not in the 'chroot' aka /foo/user/usr/sbin/nologin

$ sftp -v -v -v [EMAIL PROTECTED]
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.8e 23 Feb 2007
debug1: Remote protocol version 1.99, remote software version 
OpenSSH_4.7p1-hpn12v20 FreeBSD-openssh-portable-overwrite-base-4.7.p1_1,1
debug1: match: OpenSSH_4.7p1-hpn12v20 
FreeBSD-openssh-portable-overwrite-base-4.7.p1_1,1 pat OpenSSH*


debug2: channel 0: open confirm rwindow 0 rmax 32768
Request for subsystem 'sftp' failed on channel 0


--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Apache -- Analyzing core dump?

2008-03-11 Thread Chris Maness
I used to analyze core dumps with tnos to debug.  It has been a coon's 
age since I've done such.  I am having apache crash and core dump.  
There isn't any error info in the log files.


Where is the core dumped to (the main log tells me the core has been 
dumped)?


How do I analyze this dump file to find out what went wrong?

Do I have to compile apache with debug features turned on to do this?

I am referring to my previous thread:

apache+mod_ssl-1.3.41+2.8.31 crashing with mod_php5

--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

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


Re: Apache -- Analyzing core dump?

2008-03-11 Thread Chris Maness

Chris Maness wrote:
I used to analyze core dumps with tnos to debug.  It has been a coon's 
age since I've done such.  I am having apache crash and core dump.  
There isn't any error info in the log files.


Where is the core dumped to (the main log tells me the core has been 
dumped)?


How do I analyze this dump file to find out what went wrong?

Do I have to compile apache with debug features turned on to do this?

I am referring to my previous thread:

apache+mod_ssl-1.3.41+2.8.31 crashing with mod_php5


I was able to find my old e-mails on debugging tnos.  I used gdb.

Per the gdb man page I was able to figure out how to check the core 
file.  Here is the output:



GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...(no debugging symbols 
found)...

Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.4...(no debugging symbols 
found)...done.

Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /usr/local/lib/libmm.so.14...(no debugging symbols 
found)...done.

Loaded symbols for /usr/local/lib/libmm.so.14
Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging 
symbols found)...done.

Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/libexec/apache/mod_mmap_static.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_mmap_static.so
Reading symbols from /usr/local/libexec/apache/mod_vhost_alias.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_vhost_alias.so
Reading symbols from /usr/local/libexec/apache/mod_env.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_env.so
Reading symbols from /usr/local/libexec/apache/mod_define.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_define.so
Reading symbols from /usr/local/libexec/apache/mod_log_config.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_log_config.so
Reading symbols from /usr/local/libexec/apache/mod_mime_magic.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_mime_magic.so
Reading symbols from /usr/local/libexec/apache/mod_mime.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_mime.so
Reading symbols from /usr/local/libexec/apache/mod_negotiation.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_negotiation.so
Reading symbols from /usr/local/libexec/apache/mod_status.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_status.so
Reading symbols from /usr/local/libexec/apache/mod_info.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_info.so
Reading symbols from /usr/local/libexec/apache/mod_include.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_include.so
Reading symbols from /usr/local/libexec/apache/mod_autoindex.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_autoindex.so
Reading symbols from /usr/local/libexec/apache/mod_dir.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_dir.so
Reading symbols from /usr/local/libexec/apache/mod_cgi.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_cgi.so
Reading symbols from /usr/local/libexec/apache/mod_asis.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_asis.so
Reading symbols from /usr/local/libexec/apache/mod_imap.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_imap.so
Reading symbols from /usr/local/libexec/apache/mod_actions.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_actions.so
Reading symbols from /usr/local/libexec/apache/mod_speling.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_speling.so
Reading symbols from /usr/local/libexec/apache/mod_userdir.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_userdir.so
Reading symbols from /usr/local/libexec/apache/mod_alias.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_alias.so
Reading symbols from 

Re: RAID

2008-03-11 Thread kalin m

thanks

i read the atacontrol man. there is a part in there that says:
..
A quick and dirty way to create such a mirrored array (RAID1) on a new 
system is

to boot off the FreeBSD install CD, do a minimal scratch install, abort
out of the post install questions, and at the command line issue 
the com-

mand:

  atacontrol create RAID1 ad4 ad6

then immediately issue a reboot and boot from the installation CD 
again,

and during the installation, you will now see ar0 listed as a disk to
install on, and install on that instead of ad4, ad6, etc.
.

in my case the machine showed me the ar0 to install the system on it 
without doing this 'quick and dirty way'.


and now i get:
# atacontrol status ar0
ar0: ATA RAID1 status: READY
subdisks:
  0 ad4  ONLINE
  1 ad6  ONLINE


that tells me that i actually do have RAID1 active. which means it's a 
software one, correct?


also if you do not mind please elaborate on MatrixRAID is one of those 
not-really-raid controllers that onlyprovides RAID during the boot 
process...



thank you...



Dan Nelson wrote:

In the last episode (Mar 11), kalin m said:
  

thanks
i did install the system now on ar0. the dmesg output below didn't change. 
the df does show only one drive - ar0 - with a few slices...
assuming now that i have RAID1 working is there any way to monitor disks 
individually? or as an array?

how can i be sure that the RAID is actually working? or get any stats?
i figured the driver for the Intel MatrixRAID RAID1 must be iir. bit from 
the iir man page ther is not much about monitoring or status...



MatrixRAID is one of those not-really-raid controllers that only
provides RAID during the boot process, and the OS has to implement RAID
in software itself.  FreeBSD has an ataraid driver to handle these
cards.  The atacontrol command lets you view status.  See the ataraid
and atacontrol manpages for more info.

  

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


Re: security/openssh-portable

2008-03-11 Thread Jerry McAllister
On Tue, Mar 11, 2008 at 06:26:51PM -0400, Philip M. Gollucci wrote:

 user:*:3000:3000::0:0:F L:/foo/./user:/bin/sh
 The usual thing is make the shell   /bin/nologin
 Hi Jerry, Thanks -- but
 Changed to /usr/sbin/nologin
 
 So thats not in the 'chroot' aka /foo/user/usr/sbin/nologin

Well, you can  make your own nologin.
Just copy the other one and make it only executable - not writable.

jerry

 $ sftp -v -v -v [EMAIL PROTECTED]
 OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.8e 23 Feb 2007
 debug1: Remote protocol version 1.99, remote software version 
 OpenSSH_4.7p1-hpn12v20 FreeBSD-openssh-portable-overwrite-base-4.7.p1_1,1
 debug1: match: OpenSSH_4.7p1-hpn12v20 
 FreeBSD-openssh-portable-overwrite-base-4.7.p1_1,1 pat OpenSSH*
 
 debug2: channel 0: open confirm rwindow 0 rmax 32768
 Request for subsystem 'sftp' failed on channel 0
 
 
 -- 
 
 Philip M. Gollucci ([EMAIL PROTECTED])
 o:703.549.2050x206
 Senior System Admin - Riderway, Inc.
 http://riderway.com / http://ridecharge.com
 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF
 
 Work like you don't need the money,
 love like you'll never get hurt,
 and dance like nobody's watching.
 
 ___
 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: EVOLUTION SLOW START , a workaround

2008-03-11 Thread E. J. Cerejo
On Tue, 11 Mar 2008 17:45:05 -0300
sergio lenzi [EMAIL PROTECTED] wrote:

 Hello all
 
 This week I have time to trace the problem with evolution that
 lasts too much time to start.
 
 The problem is that glib on function g_module_load, searchs for a symbol
 g_module_check_init, g_module_unload... by default.
 
 It occurs that the evolution code, that will be loaded, does not have
 those functions available... so th glib (and dlsym) tries to find the
 symbol in every load module in memory... and doing so consumes all cpu
 for several seconds, for each load module
 
 ! coded a solution for gmodule that tests for those special symbos, and
 if found, uses dlsymb(RTLD_NEXT,) instead of dlsym(handler) 
 so it will search a much less modules, and evolution will start in 3
 seconds... (20 times less...)
 
 Of course the correct strategy is to correct code evolution module
 (libevolution-mail.so). will do next time
 
 modified file: /usr/ports/devel/glib20/files/patch-gmodule::gmodule-dl.c
 
 please note this is only a temporary fix... the correct solution is to
 fix the 
 evolution module
 
 =
 --- gmodule/gmodule-dl.c.orig 2008-02-07 03:24:53.0 -0200
 +++ gmodule/gmodule-dl.c  2008-03-11 18:53:44.0 -0300
 @@ -73,6 +73,14 @@
  #endif   /* RTLD_GLOBAL */
  
  
 +static char *special_names[]={
 + g_module_check_init,
 + g_module_unload,
 + e_plugin_lib_enable,
 + NULL
 +};
 + 
 +
  /* --- functions --- */
  static gchar*
  fetch_dlerror (gboolean replace_null)
 @@ -106,6 +114,7 @@
  static gpointer
  _g_module_self (void)
  {
 +#ifndef __FreeBSD__
gpointer handle;

/* to query symbols from the program itself, special link options
 @@ -117,6 +126,9 @@
  g_module_set_error (fetch_dlerror (TRUE));

return handle;
 +#else
 +  return RTLD_DEFAULT;
 +#endif
  }
  
  static void
 @@ -141,9 +153,19 @@
  {
gpointer p;
gchar *msg;
 +  char   **pn;
  
fetch_dlerror (FALSE);
 -  p = dlsym (handle, symbol_name);
 +
 +  for (pn=special_names;*pn;pn++) {
 + if (!strcmp(*pn,symbol_name)) {
 + p=dlsym(RTLD_NEXT,symbol_name);
 + break;
 + }
 +  }
 +
 +  if (! *pn)
 + p = dlsym (handle, symbol_name);
msg = fetch_dlerror (FALSE);
if (msg)
  g_module_set_error (msg);
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

I stopped using gnome because of evolution and few other admin apps that don't 
work, it took about 80 seconds to open evolution so I got fed up with it and 
changed to xfce4, personally I think there's quite a few things broken with 
gnome, specially the admin part of it which is not a problem with KDE.  Posted 
the problem a few times and all I've got was the freebsd loader spent quit a 
bit of time looking for every evolution plugin so I disabled them and it still 
took about 50 seconds to open which was unacceptable to me.  Ubuntu on a slower 
machine only takes about 3 seconds with every plugin enabled so it was obvious 
to me that there was a bug somewhere.  I hope they apply your fix to the gnome 
port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OT: how to get make to run a script before each build

2008-03-11 Thread Steve Franks
I'd like to keep track of how many times I've run make for a given
source.  I'm sure someone knows how to get make to run a script before
doing anything else, but using the regular build rules (aka. only if a
source file has changed).  Of course typing any permutation of this
question into google gives me 10^life of universe in microseconds
hits.

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


Re: OT: how to get make to run a script before each build

2008-03-11 Thread Mel
On Wednesday 12 March 2008 01:15:52 Steve Franks wrote:
 I'd like to keep track of how many times I've run make for a given
 source.  I'm sure someone knows how to get make to run a script before
 doing anything else, but using the regular build rules (aka. only if a
 source file has changed).  Of course typing any permutation of this
 question into google gives me 10^life of universe in microseconds
 hits.

mysource.c.o:
count=`cat /var/db/makecounter.${.IMPSRC}`
count=$$(($$count+1))
echo $$count /var/db/makecounter.${.IMPSRC}
${CC} ${CFLAGS} -c ${.IMPSRC}

or something to that effect, key being, change/override the compilation rule 
for your specific or all files.
Default single/double suffix rules are in /usr/share/mk/sys.mk.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newbie internet connection question

2008-03-11 Thread Patrick Mahan



Paul Schmehl presented these words - circa 3/11/08 1:02 PM-
--On Tuesday, March 11, 2008 19:25:31 + Andy Watts 
[EMAIL PROTECTED] wrote:



Hi People

l downloaded FreeBSD 6.3 the other day out of curiosity..

The installation started ok but it all went wrong when it came to 
connecting

to the internet through my wired router

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html 



l'm really not sure what entries to put in fig 2-29 that will allow my
connection.

My email address is [EMAIL PROTECTED]

My router's address is 192.168.1.1 and running ifconfig on my linux 
machine

gives the following:

eth0  Link encap:Ethernet  HWaddr 00:01:6C:E2:58:25  inet
addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
 inet6 addr: fe80::201:6cff:fee2:5825/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:5894 errors:0 dropped:0 overruns:0 frame:0
 TX packets:4645 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:4431375 (4.2 MB)  TX bytes:616025 (601.5 KB)
 Interrupt:20 Base address:0xe400

loLink encap:Local Loopback  inet addr:127.0.0.1
Mask:255.0.0.0
 inet6 addr: ::1/128 Scope:Host
 UP LOOPBACK RUNNING  MTU:16436  Metric:1
 RX packets:48 errors:0 dropped:0 overruns:0 frame:0
 TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:5380 (5.2 KB)  TX bytes:5380 (5.2 KB)

Any pointers in the right direction would be greatly appreciated



If your router works like most do (and it appears that it does from the 
IP your linux box is getting), all you need to do is put this into 
/etc/rc.conf:


ifconfig_em0=DHCP

(or rerun sysinstall and configure your ethernet card to do dhcp.)

# sysinstall

Choose Configure/Networking/Interfaces and set your NIC to do dhcp.



Hmmm, he doesn't need to select DHCP (or maybe he already has) since the
interface (eth0) already has an assigned IP address on 192.168.1.0
network (192.168.1.4).  Can you ping the router's IP address ('ping
192.168.1.1')?  If so then you need to look at your router's external
IP address (the one that is actually visible to the Internet via your
ISP provided IP address).

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


Re: Tyan Motherboard

2008-03-11 Thread Rod Person
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 11 Mar 2008 13:43:26 -0700 (PDT)
Mark Busby [EMAIL PROTECTED] wrote:

 Looking to build a new server, looking for a dual amd 940 board with
 sata II support. I have googled, but still looking for a firm success
 before spending the money. 
   Anyone have success with this Tyan board.
   Model S2892GNR 
   North Bridge AMD 8131, South Bridge Nvidia nForce Prof. 2200
   Other chipset Winbond W83627HF Super I/O ASIC

I have the Tyan Thunder K8WE (S2895) and it works great.

- -- 
Rod

When Columbus discovered Amercia, where were we?
  -Ignacio Ek, Maya, 1970
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (FreeBSD)

iEYEARECAAYFAkfXJY4ACgkQWtF04X/kP31FTwCghgKE34Li4G6YDVrPBHxoZTdG
UK8Anj1pDeks2VPpKp3qJ8EFrIgW6se+
=Y7of
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: newbie internet connection question

2008-03-11 Thread Mel
On Wednesday 12 March 2008 01:46:40 Patrick Mahan wrote:
 Paul Schmehl presented these words - circa 3/11/08 1:02 PM-

  --On Tuesday, March 11, 2008 19:25:31 + Andy Watts
 
  [EMAIL PROTECTED] wrote:


  My router's address is 192.168.1.1 and running ifconfig on my linux
  machine
  gives the following:
 
  eth0  Link encap:Ethernet  HWaddr 00:01:6C:E2:58:25  inet

 Hmmm, he doesn't need to select DHCP (or maybe he already has) since the
 interface (eth0)

See the problem with your statement? :p
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 7 and SATA DVD Drives

2008-03-11 Thread Mike Garrett
Hello, does FreeBSD 7 support booting from SATA DVD drives?  When I tried
6.2, it didn't work, and I was hoping it has been fixed by now.

Thanks for any info,

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


Re: FreeBSD 7 and SATA DVD Drives

2008-03-11 Thread George Fazio

Mike Garrett wrote:

Hello, does FreeBSD 7 support booting from SATA DVD drives?  When I tried
6.2, it didn't work, and I was hoping it has been fixed by now.

Thanks for any info,

Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
I just built a machine with 7.0R AMD64 and had no trouble booting from 
the Asus SATA DVD drive that was in it.  The motherboard was an Intel 
P45GC - ICH7 chipset.


George

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


Re: newbie internet connection question

2008-03-11 Thread Patrick Mahan



Mel presented these words - circa 3/11/08 6:10 PM-

On Wednesday 12 March 2008 01:46:40 Patrick Mahan wrote:

Paul Schmehl presented these words - circa 3/11/08 1:02 PM-


--On Tuesday, March 11, 2008 19:25:31 + Andy Watts

[EMAIL PROTECTED] wrote:




My router's address is 192.168.1.1 and running ifconfig on my linux
machine
gives the following:

eth0  Link encap:Ethernet  HWaddr 00:01:6C:E2:58:25  inet



Hmmm, he doesn't need to select DHCP (or maybe he already has) since the
interface (eth0)


See the problem with your statement? :p


I see, the info is from his Linux box.  So he either needs to ifconfig
his interface on FreeBSD or enable DHCP to get it assigned.

My bad,

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