Re: R 2.3.0 fails to compile: undefined reference to `R_running_as_main_program'
On Tue, May 02, 2006 at 09:24:13AM +0100, Vittorio wrote: > Last night , after portsnap(-ping) and trying to recompile the > statistical software R from 2.2.1 to 2.3.0 I get the following: [...] > cc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../.. > /lib -lR > Rmain.o(.text+0x14): In function `main': > : undefined reference > to `R_running_as_main_program' > *** Error code 1 No solution here, instead I am having the same problem, running 6.1-RC. If you found a solution, could you please post it here? Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "Inappropriate file type or format" error when accessing berkely DB file via perl
in message <[EMAIL PROTECTED]>, wrote mark thusly... > I am trying to access my squidguard berkely db files via perl and > DB_File (as per the SquidGuard docs) ... > #!/usr/bin/perl > use DB_File; > my (%url,%domain); > > $DB_BTREE->{compare} = \&domainmatch; ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ I suppose you have domainmatch() sub defined somewhere used in this file but omitted from your post? > my $domain_db = > tie(%domain, "DB_File", "/var/db/squidGuard/warez/domains.db", O_CREAT| > O_RDWR, 0664, $DB_BTREE) || die("domains.db: $!\n"); ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ > $domain_db->put(".six.com","") unless(exists($domain{"six.com"})); > $domain_db->sync; # Seems to only sync the last change. > > undef($domain_db); # Destroy the object > untie(%domain); # Sync and close the file and undef the hash > > The following is returned > > domains.db: Inappropriate file type or format ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ So the program is dying due to failure in tie()ing. Did you check if both SquidGuard & DB_File are linked with the same db library? > When I do a file /var/db/squidGuard/warez/domains.db ... > /var/db/squidGuard/warez/domains.db: Berkeley DB > (Btree, version 8, native byte-order) ... > When I create a db with perl > > #!/usr/bin/perl -w > use strict; > use DB_File; > my %database; > tie %database, 'DB_File', "createdb.dat" > or die "Can't initialize database: $!\n"; > untie %database; ... > file createdb.dat ... > createdb.dat: Berkeley DB 1.85 (Hash, version 2, native byte-order) ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ > I suspect the version 2 / version 8 is the srouce of my > innappropriate file type or format error! mach::DB_File(3) lists ... Using DB_File with Berkeley DB version 2 or greater Although DB_File is intended to be used with Berkeley DB version 1, it can also be used with version 2, 3 or 4. In this case the interface is limited to the functionality provided by Berkeley DB 1.x. Anywhere the version 2 or greater interface differs, DB_File arranges for it to work like version 1. ... so it is not surprising that, in your second case, the db file created is of version 1.x. (Note also that since you had not specified that you wanted a BTree db type, the type is hash.) > I tried reinstalling DB_file guessing that it had some kind of > dependency on DB3.. Thsi had no effect. I tried reinstalling Perl > itself. Also no effect. ... > Relevant Ports installed > > db3-3.3.11_2,1 > bsdpan-DB_File-1.814 ... > perl-5.8.8 DB_File (same version that you had installed separately) is included w/ Perl (at least in 5.8.8). Well, i just searched "Google Groups" for 'perl DB_File db3 "Inappropriate file type or format"' which presented ... http://groups.google.com/group/fa.freebsd.questions/browse_thread/thread/783254b63fbba089/3a8af6e2d78282f9 - Parv -- ___ 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 Broadcomm NIC - not recognized
--On May 3, 2006 10:39:52 PM -0700 Ted Mittelstaedt <[EMAIL PROTECTED]> wrote: If it's still not working then yes. Incidentally you need to turn off SSL on your e-mail, I cannot open your mails with my normal mail client. It's working fine since I installed 6.1. The odd thing is, I thought I needed the bce driver, but the 6.1 install detected the NIC and used the bge driver. That driver is available in 6.0 as well, yet it didn't work in that install. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer 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]"
RE: Problem with Broadcomm NIC - not recognized
If it's still not working then yes. Incidentally you need to turn off SSL on your e-mail, I cannot open your mails with my normal mail client. Ted >I've already formatted and installed 6.1 RC2. Do you still want this? Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Ted >Mittelstaedt >Sent: Wednesday, May 03, 2006 10:18 PM >To: Paul Schmehl; FreeBSD Questions >Subject: RE: Problem with Broadcomm NIC - not recognized > > > >Paul, > > Please post the output of "pciconf -lv" > >Ted > >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] Behalf Of Paul Schmehl >>Sent: Wednesday, May 03, 2006 7:53 AM >>To: FreeBSD Questions >>Subject: Problem with Broadcomm NIC - not recognized >> >> >>I'm trying to set up a new laptop, and I have an odd problem. The >>laptop has a Broadcomm NetXtreme 57xx Gig Nic, and the install didn't >>recognize it. The GENERIC kernel has support for the NIC (bge and >>miibus), and I've done several installs on other hardware that detected >>the NIC just fine, but this one doesn't. There's nothing in dmesg, and >>ifconfig only shows lo0. >> >>How do I correct this problem? >> >>-- >>Paul Schmehl ([EMAIL PROTECTED]) >>Adjunct Information Security Officer >>The University of Texas at Dallas >>http://www.utdallas.edu/ir/security/ >> >>-- >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006 >> > >___ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"[EMAIL PROTECTED]" > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006 > ___ 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 Broadcomm NIC - not recognized
--On May 3, 2006 10:18:14 PM -0700 Ted Mittelstaedt <[EMAIL PROTECTED]> wrote: Paul, Please post the output of "pciconf -lv" I've already formatted and installed 6.1 RC2. Do you still want this? Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Fixing stale dependencies with pkgdb
Hi, Stale dependency: gnomenettool-2.14.1_1,1 -> openldap-client-2.2.30 (net/openldap22-client): openldap-sasl-server-2.2.30 ? ([y]es/[n]o/[a]ll) [yes] Does answering [a]ll here imply yes for only this category of dependencies (openldap-sasl-server-2.2.30 replacing net/openldap22-client) or for all upcoming selections for all stale dependencies? Thanks, Duane Whitty -- [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: Problem with Broadcomm NIC - not recognized
Paul, Please post the output of "pciconf -lv" Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Paul Schmehl >Sent: Wednesday, May 03, 2006 7:53 AM >To: FreeBSD Questions >Subject: Problem with Broadcomm NIC - not recognized > > >I'm trying to set up a new laptop, and I have an odd problem. The >laptop has a Broadcomm NetXtreme 57xx Gig Nic, and the install didn't >recognize it. The GENERIC kernel has support for the NIC (bge and >miibus), and I've done several installs on other hardware that detected >the NIC just fine, but this one doesn't. There's nothing in dmesg, and >ifconfig only shows lo0. > >How do I correct this problem? > >-- >Paul Schmehl ([EMAIL PROTECTED]) >Adjunct Information Security Officer >The University of Texas at Dallas >http://www.utdallas.edu/ir/security/ > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006 > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sysinstall ?
Edward Rubottom wrote: I am running a clean 6.0 install, all is well except remote usage of sysinstall. Connecting with ssh2 (using Putty) when sysinstall is started the ansi screen comes up it probes devices the when any menu item is selected it drops back the shell prompt. When using a telnet connection all works well and when local it's fine. Any ideas would be most welcome. Regards, Eddie Rubottom On the surface, this seems to indicate a problem with PuTTy. Try setting different options related to keymap/terminal type, display, etc., in PuTTy, and see if results are any different. Good luck, Kevin Kinsey -- During the voyage of life, remember to keep an eye out for a fair wind; batten down during a storm; hail all passing ships; and fly your colors proudly. ___ 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.0 compat with DL320 G4
Then be prepared to either fix the driver, pay a developer to fix the driver, or buy a 64 bit nic that fits in the slot in the server and that is a different chipset. You may get lucky and get a DL320 G4 that does not have the specific Broadcom chip in it. Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of William >Sent: Wednesday, May 03, 2006 1:41 AM >To: Ted Mittelstaedt >Cc: freebsd-questions@freebsd.org >Subject: Re: FreeBSD 6.0 compat with DL320 G4 > > >The chances of getting it returned because fbsd doesnt work are >very small! :( > >On 03/05/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote: >> >> I have a DL320 G4 in the rack and the thing panics under 6.1-RC1 >> when more than a few K of data is sent over the bge interface. I >> haven't tried 6.0-RELEASE on it. Just make sure you can return it >> if it doesen't work. >> >> Ted >> >> >> >-Original Message- >> >From: [EMAIL PROTECTED] >> >[mailto:[EMAIL PROTECTED] Behalf Of William >> >Sent: Tuesday, May 02, 2006 3:10 AM >> >To: freebsd-questions@freebsd.org >> >Subject: Re: FreeBSD 6.0 compat with DL320 G4 >> > >> > >> >What was your experience like with 6.0-RELEASE and the dl320 g4? I've >> >had a quote back on that model so could be near to actually getting >> >some hardware for once :) >> > >> >On 30/04/06, [EMAIL PROTECTED]@mgEDV.net <[EMAIL PROTECTED]> wrote: >> >> >> >> just for info: our dl320 g4 also has bge interfaces, and >> >> they work very well under 6.1-RC1 (even BETA4 was ok). >> >> but our server has been bought 2 months ago, maybe there's >> >> a newer/different chipset in it. >> >> we also have a dl320 g2 being heavily used as lan switches >> >> monitor, this server also has bge interfaces and had no >> >> problem since 1 year capturing and analyzing more than >> >> 26GB/day (avg) of nw-data on the 2nd interface and serving >> >> more than 4GB/day (avg) on the primary one (both IPv4 only). >> >> >> >> c ya ;-) >> >> >> >> >> >___ >> >freebsd-questions@freebsd.org mailing list >> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> >To unsubscribe, send any mail to >> >"[EMAIL PROTECTED]" >> > >> >-- >> >No virus found in this incoming message. >> >Checked by AVG Free Edition. >> >Version: 7.1.385 / Virus Database: 268.5.1/328 - Release >Date: 5/1/2006 >> > >> >___ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"[EMAIL PROTECTED]" > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006 > ___ 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.0 compat with DL320 G4
The first thing we did was install W2K on it and run the HP utility that updates all firmware - before even trying FreeBSD on it. Did I mention in the PR that the Broadcom driver for Linux works flawlessly under OpenSUSE? I think I did. Windows also works fine on the box as well (that is, Windows works as well on it as it works on any other system which isn't much) The problem is a bug in the bge driver. Many other people have filed PR's in the FreeBSD database that refer to problems on a wide variety of different server hardware, all containing this one specific chip. With panics giving the same error message. Read the PR's cited, it's all there. Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of >[EMAIL PROTECTED]@mgEDV.net >Sent: Wednesday, May 03, 2006 1:47 AM >To: freebsd-questions@freebsd.org >Cc: 'William' >Subject: RE: FreeBSD 6.0 compat with DL320 G4 > > > >> I have a DL320 G4 in the rack and the thing panics under 6.1-RC1 >> when more than a few K of data is sent over the bge interface. I >> haven't tried 6.0-RELEASE on it. Just make sure you can return it >> if it doesen't work. > >did you ever try to install win2k/2k3 on it and apply all fw-patches >from hp to the box? you also could try the fw-upgrade-cd, which is >avail as iso-download on hp.com. the NICs also have upgradeable fw, >check for this (if you didn't ;-)) >further, you could check for some special settings, or boot your sys >from the cd, configure the NIC and run some tests (w/o installation >or customization). >what i also wouldn't rule out is a possible hw-defect on your box >(or an older/incompatible chipset revision) even if it works proper >under MS (you tried that, haven't you ;-)?). > >beyond you can see some stats from our box so you're probably able to >compare your system to it. the box has been cold-booted before running >an ftp-transfer of 5 and 20mb as a GET and then a transfer to another >host using put (also 5 and 20mb). all run under 6.1-RC2. > >ifconfig: >bge0: flags=8843 mtu 1500 > options=1b > inet6 fe80::215:60ff:feaa:39d2%bge0 prefixlen 64 scopeid 0x1 > inet 192.168.134.3 netmask 0xffe0 broadcast 192.168.134.31 > ether 00:15:60:aa:39:d2 > media: Ethernet autoselect (1000baseTX ) > status: active > >some netstat's (i removed sections with all being 0): >tcp: > 29512 packets sent > 17196 data packets (24848556 bytes) > 0 data packets (0 bytes) retransmitted > 0 data packets unnecessarily retransmitted > 0 resends initiated by MTU discovery > 7228 ack-only packets (23 delayed) > 0 URG only packets > 0 window probe packets > 5072 window update packets > 16 control packets > 25699 packets received > 8647 acks (for 24848565 bytes) > 7 duplicate acks > 0 acks for unsent data > 14825 packets (21555935 bytes) received in-sequence > 0 completely duplicate packets (0 bytes) > 0 old duplicate packets > 0 packets with some dup. data (0 bytes duped) > 2258 out-of-order packets (3296680 bytes) > 0 packets (0 bytes) of data after window > 0 window probes > 0 window update packets > 0 packets received after close > 0 discarded for bad checksums > 0 discarded for bad header offset fields > 0 discarded because packet too short > 9 connection requests > 0 connection accepts > 0 bad connection attempts > 0 listen queue overflows > 0 ignored RSTs in the windows > 9 connections established (including accepts) > 14 connections closed (including 0 drops) > 4 connections updated cached RTT on close > 4 connections updated cached RTT variance on close > 0 connections updated cached ssthresh on close > 0 embryonic connections dropped > 8647 segments updated rtt (of 8473 attempts) > 0 retransmit timeouts > 0 connections dropped by rexmit timeout > 0 persist timeouts > 0 connections dropped by persist timeout > 0 keepalive timeouts > 0 keepalive probes sent > 0 connections dropped by keepalive > 8489 correct ACK header predictions > 14785 correct data packet header predictions > 0 syncache entries added > 0 retransmitted > 0 dupsyn > 0 dropped > 0 completed > 0 bucket overflow > 0 cache overflow > 0 reset > 0 stale > 0 aborted > 0 badack > 0 unreach > 0 zone failures > 0 cookies sent > 0 cookies received > 0 SACK recovery episodes >
sysinstall ?
I am running a clean 6.0 install, all is well except remote usage of sysinstall. Connecting with ssh2 (using Putty) when sysinstall is started the ansi screen comes up it probes devices the when any menu item is selected it drops back the shell prompt. When using a telnet connection all works well and when local it's fine. Any ideas would be most welcome. Regards, Eddie Rubottom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"Inappropriate file type or format" error when accessing berkely DB file via perl
I am trying to access my squidguard berkely db files via perl and DB_File (as per the SquidGuard docs) When I run the following perl snippet #!/usr/bin/perl use DB_File; my (%url,%domain); $DB_BTREE->{compare} = \&domainmatch; my $domain_db = tie(%domain, "DB_File", "/var/db/squidGuard/warez/domains.db", O_CREAT| O_RDWR, 0664, $DB_BTREE) || die("domains.db: $!\n"); $domain_db->put(".six.com","") unless(exists($domain{"six.com"})); $domain_db->sync; # Seems to only sync the last change. undef($domain_db); # Destroy the object untie(%domain); # Sync and close the file and undef the hash The following is returned domains.db: Inappropriate file type or format When I do a file /var/db/squidGuard/warez/domains.db the following is displayed /var/db/squidGuard/warez/domains.db: Berkeley DB (Btree, version 8, native byte-order) When I create a db with perl #!/usr/bin/perl -w use strict; use DB_File; my %database; tie %database, 'DB_File', "createdb.dat" or die "Can't initialize database: $!\n"; untie %database; exit; then file createdb.dat reveals :- createdb.dat: Berkeley DB 1.85 (Hash, version 2, native byte-order) I suspect the version 2 / version 8 is the srouce of my innappropriate file type or format error! So .. I tried reinstalling DB_file guessing that it had some kind of dependency on DB3.. Thsi had no effect. I tried reinstalling Perl itself. Also no effect. So I am a bit stuck, How do I get DB_File to play nice with DB3 or should I be trying some other method to access these files. Relevant Ports installed db3-3.3.11_2,1 bsdpan-DB_File-1.814 p5-DBD-mysql41-3.0002 squid-2.5.13 squidGuard-1.2.0_1 perl-5.8.8 possible related ports dbh-1.0.24_1 gdbm-1.8.3_2 p5-DBI-1.50 FreeBSD pcmarpxy.mwrwin2k.se 6.0-STABLE FreeBSD 6.0-STABLE #1: Fri Dec 23 11:58:53 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MARK i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Getting DHCP to use resolv.conf? AN ANSWER
> -Original Message- > From: fbsd [mailto:[EMAIL PROTECTED] > Sent: Thursday, 4 May 2006 10:56 AM > To: Murray Taylor > Cc: freebsd-questions > Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER > > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Murray > Taylor > > Sent: Sunday, April 30, 2006 7:56 PM > > To: Lowell Gilbert > > Cc: freebsd-questions@freebsd.org > > Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER > > > > > > Murray. > > > > Using your scripts as a example I coded the following script. > > I can not get the notification logger and email to function. > > I am running postfix launched by the sendmail wrappers on a FreeBSD > > 6.0 system. > > I am also using the built in dhclient that comes with the base > > install. > > Could you post the isc_dhclient-script so I can compare it > to the one > > that comes with the base install for differences that may > cause this > > behavior? > > Any other help would be appreciated. > > > > > > When this script runs the logger statements do not create > any message > > in the targeted log files. > > IF I execute the same logger statements from the command line they > > work as expected. > > This is the boot time messages with mail code commented out. > > > > dc0: link state changed to DOWN > > dc0: no link dc0: link state changed to UP got link > > dc0: link state changed to DOWN > > DHCPREQUEST on dc0 to 255.255.255.255 port 67 > > dc0: link state changed to UP > > DHCPACK from 10.0.10.2 > > dc0: link state changed to DOWN > > bound to 10.0.10.4 -- renewal in 43200 seconds. > > > > > > IF I execute the cat command to issue the notification > email from the > > command line it works fine, but when used in the script I get these > > messages during boot process. > > > > "~/.mailrc": No match. > > DHCPREQUEST on dc0 to 255.255.255.255 port 67 > > /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not > found, required > > by "send-mail" > > dc0: link state changed to UP > > DHCPREQUEST on dc0 to 255.255.255.255 port 67 DHCPACK from > 10.0.10.2 > > dc0: link state changed to DOWN > > bound to 10.0.10.4 -- renewal in 43200 seconds. > > > > > > > > > > #!/bin/sh > > > > # Start of refresh dhcpd dns ip script # # > > This script will propagate to dhcpd the changed dns servers ip # > > address which dhcp-client puts in resolv.conf. > > # > > # In dhcpd.conf replace the "option domain-name-servers" line with > > this # # include "/etc/dhcpd.name-servers"; # # Script > uses the dhcpc > > variables to build temp line in dhcpd format. > > # Then compare temp content to production content. > > # If different replace production content with new content > from temp # > > and restart dhcp to reread dhcpd.conf containing new ISP dns ip > > addresses. > > # > > # logging event and sending email to user root is optional. > > # > > # Note: All LAN machines using dhcpd will not get new ISP dns ip # > > addresses until they reboot or their lease comes up for > renewal. > > # > > # Each of the following lines must be one long line. IE: no wrap > > around > > > > > > > # load my_domain_name_servers variable with ISP dns ip > addresses from > > dhcpc my_domain_name_servers=`echo $new_domain_name_servers > | sed -e > > 's/ /, /g'` > > > > # Create single line in file to be included in dhcpd.conf > echo "option > > domain-name-servers $my_domain_name_servers ;" > > > /etc/dhcpd.name-servers.tmp > > > > # See if different from what production file contains cmp -s > > /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers if [ $? > > -gt 0 ]; then > > # move the new file into place > > mv /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers > > # restart dhcp using whatever is appropriate for your platform > > #service dhcpd restart > > #/usr/local/etc/rc.d/isc-dhcpd.sh restart -q > > # Write message to /var/log/dhcpc.log to document event. > > logger -p user.warning -t dhclient Your ISP DNS IP addresses > > changed. > > # Write message to /var/log/dhcpd.log to document event. > > logger -p local1.warning -t dhclient Your ISP DNS IP addresses > > changed. > > > > # Send notification email to root user. This can wrap to next > line. > > # cat << EOF | mail -s "dhcp client changed ISP DNS IP addresses" > > root > > #The dhclient-exit-hook script was invoked and has determined that > > your #ISP changed the IP address of their DNS servers. > > The new values have been #auto updated to dhcpd.conf and dhcp > > restarted so they are now in effect. > > # > > #Note: All LAN machines using dhcpd will not start using > the new ISP > > dns #ip addresses until they reboot or their lease comes up for > > renewal. > > #EOF > > fi > > rm -f /etc/dhcpd.name-servers.tmp > > ### End of refresh dhcpd dns ip script > > ### > > The script I s
RE: Getting DHCP to use resolv.conf? AN ANSWER
> -Original Message- > From: fbsd [mailto:[EMAIL PROTECTED] > Sent: Thursday, 4 May 2006 11:02 AM > To: Murray Taylor > Cc: freebsd-questions > Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER > > > > The script I sent are operational on FBSD 4.11 with the > enter/exit-hooks scripts that are part of the base install. > NB Dont forget I run the ipf firewall rewrite rules script > manually as root when my IP number changes, but the DHCP -> > resolv.conf is automatic via exit-hooks > > The scripts are always called by dhclient, what I put in them > is what I attached. > > And I am also using Postfix ... As far as I remenber pcre is > only needed by Postfix if you use pcre: regular > expression type files in main.cf. If you use > regexp: then pcre is not used. > > > Murray Taylor > > > --- > --- > > I checked postfix main.default.cf and find no "pcre" or "regexp" > options. > Please explain what you are talking about. > > Thanks for your help > /usr/local/etc/postfix/dist-header_checks these are optional elements you can add to main.cf. if you havent decided to use them then they wont be in main.cf try grep pcre: * in the /usr/local/etc/postfix directory this will find where you may have used them. generally only used on various lookup tables etc.. Murray Taylor Special Projects Engineer Bytecraft Systems P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 E: [EMAIL PROTECTED] -- "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." Albert Einstein -- --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ***This Email has been scanned for Viruses by MailMarshal.*** ___ 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 Broadcomm NIC - not recognized
[EMAIL PROTECTED] wrote: The really odd thing is, I installed 6.1 RC2 this afternoon, and it found the NIC and used bge as the driver! Wonder why 6.0 couldn't do that? Paul Schmehl ([EMAIL PROTECTED]) Well, IANAE on driver code. However, somehow or another the coder uses a string of information in his/her source code that gets compiled into the *.ko or kernel or some other object file (like I said, IANAE, so you Real Hackers please go easy on any inaccuracies in the description, pointers accepted, flames >/dev/null? ;-) that helps the system to recognize whether or not it can interface with the hardware. For example: [EMAIL PROTECTED]/usr/obj/backup/src/sys/GENERIC] # strings *bge* | grep Broad Broadcom BCM5700 Gigabit Ethernet Broadcom BCM5701 Gigabit Ethernet Broadcom BCM5702 Gigabit Ethernet Broadcom BCM5702X Gigabit Ethernet Broadcom BCM5703 Gigabit Ethernet Broadcom BCM5703X Gigabit Ethernet Broadcom BCM5704C Dual Gigabit Ethernet Broadcom BCM5704S Dual Gigabit Ethernet Broadcom BCM5705 Gigabit Ethernet Broadcom BCM5705K Gigabit Ethernet Broadcom BCM5705M Gigabit Ethernet Broadcom BCM5714C Gigabit Ethernet Broadcom BCM5721 Gigabit Ethernet Broadcom BCM5750 Gigabit Ethernet Broadcom BCM5750M Gigabit Ethernet Broadcom BCM5751 Gigabit Ethernet Broadcom BCM5751M Gigabit Ethernet Broadcom BCM5752 Gigabit Ethernet Broadcom BCM5782 Gigabit Ethernet Broadcom BCM5788 Gigabit Ethernet Broadcom BCM5789 Gigabit Ethernet Broadcom BCM5901 Fast Ethernet Broadcom BCM5901A2 Fast Ethernet Or, read /sys/dev/bge/if_bge.c. My best guess is that these variations in the Broadcom family are fairly recent additions to the line, and someone (perhaps Mr. Paul himself, and, er, thank you, sir!) added the necessary information to support these new cards since November. Kevin Kinsey --- Law of Continuity: Experiments should be reproducible. They should all fail the same way. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OpenSSL Version Conflict
I very recently (last weekend) upgraded my 5.4 system to 6.1-RC1 and soon discovered a conflict between the base OpenSSL version and the ports OpenSSL version. The base version is 0.9.7e-p1 and installs /lib/libcrypto.so.4. The ports version (security/openssl) is 0.9.8a and installs /usr/local/lib/libcrypto.so.4. These have the same SHLIB_MAJOR, and so ldconfig builds a hint for '-lcrypto.4' that points to the library in /usr/local/lib. Also, /usr/bin/ssh (which is linked against libcrypto.so.4) finds the library in /usr/local/lib. This causes scp and ssh to choke and die since they do a sanity check on the library version. I've worked around this for the time being, but two completely different release levels of OpenSSL using the same SHLIB_MAJOR tends to create a bit of OpenSSL chaos. Who else has run into this? What's the resolution? Bill -- CONFIDENTIALITY NOTICE -- Information transmitted by this e-mail is proprietary to MphasiS and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at [EMAIL PROTECTED] and delete this mail from your records. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gmirror not synchronizing drives, second drive unbootable, fbsd 6.0
Hello, I've got a 6.0 box running gmirror as raid1. It uses gm0s1 and the two identical 40-gb ide drives are ad0 and ad1. I'm getting an error from smartd in smartmontools, installed from ports, about 5 unrecoverable sectors in drive ad0. I then noticed in my dmesg output that ad0 wasn't coming up, ad1 was. I then did a gmirror list and got only ad1 in the output, my raid array was in state dirty. So i tried to synchronize the two drives and was told unrecoverable error. I am now starting to think ad0 is going bad. I powered down the box and unplugged ad1 from the system and booted ad0 only. It booted, but the data was not up to date at all, i could tell from the perl version and some other packages i've since uninstalled. I then powered down and unplugged ad0 and reconnected ad1 and booted. I don't get any error, just a blinking cursor, which tells me that ad1 is actually being booted off ad0. Plug them both back in and ad1 is once again booting. This tells me that there might not be an mbr on the second drive, so ad0 has to boot it when it can't boot itself. What i'm wondering are: 1. Is there a way without destroying my setup to put an mbr on ad1, i do not want to loose data, so that unplugging ad0 and ad1 will boot 2. I'd like to confirm that ad0 is indeed going bad, and if it is replace it. 3. Once the status of these drives is verified i'd like to replace it with another 40 and sync up, can i do this without partitioning, just issue the gmirror command and will it copy partitions, slices, and data over to the blank drive Thanks a lot. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Getting DHCP to use resolv.conf? AN ANSWER
The script I sent are operational on FBSD 4.11 with the enter/exit-hooks scripts that are part of the base install. NB Dont forget I run the ipf firewall rewrite rules script manually as root when my IP number changes, but the DHCP -> resolv.conf is automatic via exit-hooks The scripts are always called by dhclient, what I put in them is what I attached. And I am also using Postfix ... As far as I remenber pcre is only needed by Postfix if you use pcre: regular expression type files in main.cf. If you use regexp: then pcre is not used. Murray Taylor --- --- I checked postfix main.default.cf and find no "pcre" or "regexp" options. Please explain what you are talking about. Thanks for your help ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Getting DHCP to use resolv.conf? AN ANSWER
> > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Murray Taylor > Sent: Sunday, April 30, 2006 7:56 PM > To: Lowell Gilbert > Cc: freebsd-questions@freebsd.org > Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER > > > Murray. > > Using your scripts as a example I coded the following script. > I can not get the notification logger and email to function. > I am running postfix launched by the sendmail wrappers on a > FreeBSD 6.0 system. > I am also using the built in dhclient that comes with the > base install. > Could you post the isc_dhclient-script so I can compare it to > the one that comes with the base install for differences that > may cause this behavior? > Any other help would be appreciated. > > > When this script runs the logger statements do not create any > message in the targeted log files. > IF I execute the same logger statements from the command line > they work as expected. > This is the boot time messages with mail code commented out. > > dc0: link state changed to DOWN > dc0: no link dc0: link state changed to UP got link > dc0: link state changed to DOWN > DHCPREQUEST on dc0 to 255.255.255.255 port 67 > dc0: link state changed to UP > DHCPACK from 10.0.10.2 > dc0: link state changed to DOWN > bound to 10.0.10.4 -- renewal in 43200 seconds. > > > IF I execute the cat command to issue the notification email > from the command line it works fine, but when used in the > script I get these messages during boot process. > > "~/.mailrc": No match. > DHCPREQUEST on dc0 to 255.255.255.255 port 67 > /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, > required by "send-mail" > dc0: link state changed to UP > DHCPREQUEST on dc0 to 255.255.255.255 port 67 DHCPACK from 10.0.10.2 > dc0: link state changed to DOWN > bound to 10.0.10.4 -- renewal in 43200 seconds. > > > > > #!/bin/sh > > # Start of refresh dhcpd dns ip script > # # This script will propagate to dhcpd the > changed dns servers ip # address which dhcp-client puts in > resolv.conf. > # > # In dhcpd.conf replace the "option domain-name-servers" line > with this # # include "/etc/dhcpd.name-servers"; # # Script > uses the dhcpc variables to build temp line in dhcpd format. > # Then compare temp content to production content. > # If different replace production content with new content > from temp # and restart dhcp to reread dhcpd.conf containing > new ISP dns ip addresses. > # > # logging event and sending email to user root is optional. > # > # Note: All LAN machines using dhcpd will not get new ISP dns > ip # addresses until they reboot or their lease comes up for renewal. > # > # Each of the following lines must be one long line. IE: no > wrap around > > > # load my_domain_name_servers variable with ISP dns ip > addresses from dhcpc my_domain_name_servers=`echo > $new_domain_name_servers | sed -e 's/ /, /g'` > > # Create single line in file to be included in dhcpd.conf > echo "option domain-name-servers $my_domain_name_servers ;" > > /etc/dhcpd.name-servers.tmp > > # See if different from what production file contains cmp -s > /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers if [ $? > -gt 0 ]; then > # move the new file into place > mv /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers > # restart dhcp using whatever is appropriate for your platform > #service dhcpd restart > #/usr/local/etc/rc.d/isc-dhcpd.sh restart -q > # Write message to /var/log/dhcpc.log to document event. > logger -p user.warning -t dhclient Your ISP DNS IP > addresses changed. > # Write message to /var/log/dhcpd.log to document event. > logger -p local1.warning -t dhclient Your ISP DNS IP > addresses changed. > > # Send notification email to root user. This can wrap to next line. > # cat << EOF | mail -s "dhcp client changed ISP DNS IP addresses" > root > #The dhclient-exit-hook script was invoked and has determined > that your #ISP changed the IP address of their DNS servers. > The new values have been #auto updated to dhcpd.conf and dhcp > restarted so they are now in effect. > # > #Note: All LAN machines using dhcpd will not start using the > new ISP dns #ip addresses until they reboot or their lease > comes up for renewal. > #EOF > fi > rm -f /etc/dhcpd.name-servers.tmp > ### End of refresh dhcpd dns ip script > ### The script I sent are operational on FBSD 4.11 with the enter/exit-hooks scripts that are part of the base install. NB Dont forget I run the ipf firewall rewrite rules script manually as root when my IP number changes, but the DHCP -> resolv.conf is automatic via exit-hooks The scripts are always called by dhclient, what I put in them is what I attached. And I am also using Postfix ... As far as I remenber pcre is only needed by Postfix if you use pcre: regular expression type files in main.cf. If you use regexp: then pcre is not u
RE: dhclient-exit-hooks
You missed this statement I posted > IF I execute the same logger statements from the command > line they work as expected. That only could happen if the log files were all ready in syslog.conf. Good try. You have good grasp of how logging works. -Original Message- From: Duane Whitty [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 6:50 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] ORG Subject: Re: dhclient-exit-hooks fbsd wrote: > When this script runs the logger statements do not create any > message in the targeted log files. > IF I execute the same logger statements from the command > line they work as expected. Hi, Forgive my ignorance if it turns out I'm totally off track here but do you need a line in /etc/syslog.conf such as: !name-of-your-script *.* /var/log/dhcpd.log ^^^ or whatever level of logging you want I couldn't get named to log so to /etc/syslog.conf I added !named *.*/var/log/named.log and manually created /var/log/named.log to have messages of all levels logged. Just a shot in the dark... Best Regards, Duane Whitty -- [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: Problem with Broadcomm NIC - not recognized
--On May 3, 2006 6:02:53 PM -0500 Kevin Kinsey <[EMAIL PROTECTED]> wrote: Paul Schmehl wrote: Hmm...bce *isn't* in the GENERIC kernel for i386 6.0 RELEASE. Is this a new driver? Yes. From bce(4): HISTORY The bce device driver first appeared in FreeBSD 6.1. The really odd thing is, I installed 6.1 RC2 this afternoon, and it found the NIC and used bge as the driver! Wonder why 6.0 couldn't do that? Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Cupsd strangeness....
P.U.Kruppa wrote: On Tue, 2 May 2006, Eric Schuele wrote: Hello, While this should be of absolutely no real concern my lack of ability to resolve it is causing me sleepless nights. I'm sure this should be an easy one... I just can't seem to fix it. Everything cups related is working perfectly fine. However, my dmesg shows the following: Starting cupsd. Starting cupsd. cupsd: Child exited with status 48! Usage: cups {reload|restart|start|status|stop} And its driving me crazy! Cupsd is trying to start twice? and the second time is giving an error. What have I done wrong here? [~] % ls /etc/rc.d | grep cups [~] % ls /usr/local/etc/rc.d | grep cups cups.sh.delme* cups.sh.sample* cupsd.delme* cupsd.sample* cupsd.sh* Nowadays all executable scripts in rc.d/ will be executed, not only those ending on .sh Yes. That was it. Thanks. However, I had thought that the behavior to be different. My man page (from 6.0-RC?) reads: The following key points apply to old-style scripts in /usr/local/etc/rc.d/: · Scripts are only executed if their basename(1) matches the shell globbing pattern *.sh, and they are executable. Any other files or directories present within the directory are silently ignored. Has the behavior changed? It was my understanding that files with *.sh or no extension (yet executable), would be run. Thanks again. Regards, Uli. [~] % grep cups /etc/rc.conf cupsd_enable="YES" #cups_enable="YES" Using FreeBSD 6.1-RC as of Sat some time... but had this problem quite a while. I'm sure it started the last time I rebuilt the machine (two month back maybe). And I'm sure its a config error on my part. Any help is appreciated. -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pure-FTPD error message upon startup
Gerard Seibert wrote: > I do not seem to have an 'ftp' user. Should I create one? Is that the > account it is referring to? this is what i have for my vsftpd-setup : ftp:*:14:5::0:0:Anonymous FTP Admin:/home/ftp:/bin/sh (i think the ftp-home defaults to /var/ftp but i prefer this, btw, i don't like the fact that pureftpd doesn't let your upload directories by default, which vsftpd does) -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Getting DHCP to use resolv.conf? AN ANSWER
> -Original Message- > From: fbsd [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 3 May 2006 10:36 PM > To: Murray Taylor > Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Lowell > > Gilbert > > Sent: Friday, 28 April 2006 11:09 PM > > To: [EMAIL PROTECTED] > > Cc: freebsd-questions@freebsd.org > > Subject: Re: Getting DHCP to use resolv.conf? > > > > "fbsd" <[EMAIL PROTECTED]> writes: > > > > > Does anyone have a script that does this, that they can share? > > > > It will be pretty similar to the script I posted recently > for updating > > your local named's forwarders list automatically. > > [Which is another approach to the same problem, and will generally > > perform better.] > > > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] Behalf Of Bill > Moran > > > Sent: Wednesday, April 26, 2006 5:06 PM > > > To: Telting > > > Cc: freebsd-questions@freebsd.org > > > Subject: Re: Getting DHCP to use resolv.conf? > > > > > > > > > On Wed, 26 Apr 2006 13:56:57 -0700 > > > Telting <[EMAIL PROTECTED]> wrote: > > > > > > > I would like to know how I can propagate the dns servers which > the > > > dhcp > > > > client puts in resolv.conf to dhcpd. I only see how I can > only > > > > explicitly list a domain server with "option > domain-name-servers". > > > How > > > > do I propogate non static dns servers? > > > > > > Write a script to updated the dhcpd.conf file when resolv.conf > > > changes. dhclient allows you to create hooks that > > automagically run a > > > script of your choosing when a new lease is obtained. > > > > > > Or you could search the list archives for when this exact > > question was > > > asked a few weeks ago. > > > > > > -- > > > Bill Moran > > > Collaborative Fusion Inc. > > > > > > > >man dhclient-script > > > >and my enter and exit scripts below from my home boxen > > > > > >NB I use ddclient from ports to update dns stuff at dyndns.org and > the > >example.com should be replaced with your domain name in the > enter-hooks > >script. > > > >These are not totally automatic in what they do, as I prefer to > 'see and > >know' certain changes from my ISP so that is the reason for the > email > >setup > > > >Murray Taylor > > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Murray Taylor > Sent: Sunday, April 30, 2006 7:56 PM > To: Lowell Gilbert > Cc: freebsd-questions@freebsd.org > Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER > > > Murray. > > Using your scripts as a example I coded the following script. > I can not get the notification logger and email to function. > I am running postfix launched by the sendmail wrappers on a > FreeBSD 6.0 system. > I am also using the built in dhclient that comes with the > base install. > Could you post the isc_dhclient-script so I can compare it to > the one that comes with the base install for differences that > may cause this behavior? > Any other help would be appreciated. > > > When this script runs the logger statements do not create any > message in the targeted log files. > IF I execute the same logger statements from the command line > they work as expected. > This is the boot time messages with mail code commented out. > > dc0: link state changed to DOWN > dc0: no link dc0: link state changed to UP got link > dc0: link state changed to DOWN > DHCPREQUEST on dc0 to 255.255.255.255 port 67 > dc0: link state changed to UP > DHCPACK from 10.0.10.2 > dc0: link state changed to DOWN > bound to 10.0.10.4 -- renewal in 43200 seconds. > > > IF I execute the cat command to issue the notification email > from the command line it works fine, but when used in the > script I get these messages during boot process. > > "~/.mailrc": No match. > DHCPREQUEST on dc0 to 255.255.255.255 port 67 > /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, > required by "send-mail" > dc0: link state changed to UP > DHCPREQUEST on dc0 to 255.255.255.255 port 67 DHCPACK from 10.0.10.2 > dc0: link state changed to DOWN > bound to 10.0.10.4 -- renewal in 43200 seconds. > > > > > #!/bin/sh > > # Start of refresh dhcpd dns ip script > # # This script will propagate to dhcpd the > changed dns servers ip # address which dhcp-client puts in > resolv.conf. > # > # In dhcpd.conf replace the "option domain-name-servers" line > with this # # include "/etc/dhcpd.name-servers"; # # Script > uses the dhcpc variables to build temp line in dhcpd format. > # Then compare temp content to production content. > # If different replace production content with new content > from temp # and restart dhcp to reread dhcpd.conf containing > new ISP dns ip addresses. > # > # logging event and sending email to user root is optional. > # > # Note: All LAN machines using dhcpd will not get new ISP dns
Pure-FTPD error message upon startup
Running FSBD 5.1-RC1, I tried to install 'pure-ftpd'. The install went fine, but upon startup, it displays this warning message: Starting pureftpd. Running: /usr/local/sbin/pure-ftpd -b -c50 -B -C8 -d -D -fftp -I15 -lunix -L2000 :8 -m4 -s -U133:022 -u100 -i -Ow3c:/var/log/pureftpd.log -k99 -Z -Y0 May 3 19:12:55 seibercom pure-ftpd: ([EMAIL PROTECTED]) [ERROR] Unable to find the 'ftp' account I have tried removing and reinstalling the program, but it still displays the same error message. The program does run however, and seems to be working correctly. I had it installed on FSBD 5.4 without incident previously. I do not seem to have an 'ftp' user. Should I create one? Is that the account it is referring to? Thanks! -- Gerard Seibert [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: ipfirewall tricks
man ipa-conf is your friend .. mind you it is a large chunk.. here is the home page for IPA ... http://ipa-system.sourceforge.net/ it is capable ... and large ... also ipastat could be used to feed a web page maybe ? HTH Murray Taylor Special Projects Engineer Bytecraft Systems P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 E: [EMAIL PROTECTED] -- "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." Albert Einstein -- > -Original Message- > From: Shawn Guillemette [mailto:[EMAIL PROTECTED] > Sent: Thursday, 4 May 2006 1:49 AM > To: Murray Taylor > Subject: RE: ipfirewall tricks > > I am researching away to do this as well. > > I went to the ipa port location and did the make > install and cleaned up the mess. The install completed with > out an issue and now Im a little stumped as to how to configure it. > > > > I am also looking for an application that will monitor the > traffic and plot data to a web interface for the wife to have > a look at. Similar to ntop. > > > I'm currently running 4.11 on an alpha platform. > > > Thanks for your thoughts, > Shawn > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Murray Taylor > Sent: Tuesday, May 02, 2006 8:34 PM > To: Bryan Curl; freebsd-questions > Subject: RE: ipfirewall tricks > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Bryan Curl > > Sent: Wednesday, 3 May 2006 9:35 AM > > To: freebsd-questions > > Subject: ipfirewall tricks > > > > I want to limit time my kids spend on the internet. > > The way I am doing it is to make varying, seperate ipf.rules > > files and install them from cron at the appropriate time. > > Problem is, if I make a change to one file, I generally have > > to update all the others accordingly. > > > > Is there a better way? I have read man ipf but didnt come out > > with any ideas. > > > > > > -- > > -- > > Bryan > > bc3910 'at' gmail 'dot' com > > try ipa from ports... > > it is an 'accounting' packege that monitors the firewall, > and can activate/deactivate rules based on usage, time-of-day etc > (if I remember correctly) > > Murray Taylor > > Special Projects Engineer > Bytecraft Systems > > P: +61 3 8710 2555 > F: +61 3 8710 2599 > D: +61 3 9238 4275 > E: [EMAIL PROTECTED] > > -- > "Any intelligent fool can make things bigger and more complex... It > takes a > touch of genius - and a lot of courage to move in the opposite > direction." > Albert Einstein > -- > --- > The information transmitted in this e-mail is for the exclusive > use of the intended addressee and may contain confidential > and/or privileged material. Any review, re-transmission, > dissemination or other use of it, or the taking of any action > in reliance upon this information by persons and/or entities > other than the intended recipient is prohibited. If you > received this in error, please inform the sender and/or > addressee immediately and delete the material. > > E-mails may not be secure, may contain computer viruses and > may be corrupted in transmission. Please carefully check this > e-mail (and any attachment) accordingly. No warranties are > given and no liability is accepted for any loss or damage > caused by such matters. > --- > > ***This Email has been scanned for Viruses by MailMarshal.*** > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > ***This Email has been scanned for Viruses by MailMarshal.*** > --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ***This Email has been scanned for Viruses by MailMarshal.*** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any
Re: FreeBSD 6.0 and Mac File System
On 04 mei 2006, at 01:51, Peter A. Giessel wrote: On 5/3/2006 15:38, FreeBSD mailing list seems to have typed: Mac OSX can't be installed onto a UFS formatted drive as far as I know Most OSX programs won't run on it either http://docs.info.apple.com/article.html?artnum=106692 *** QUOTE *** Mac OS X can be installed on volumes of different formats. These disk formats have different features and characteristics. If you also plan to use Mac OS 9 or don't have a preference, you should choose Mac OS Extended (HFS Plus) format instead of UNIX File System (UFS). *** END QUOTE *** ah ok, my bad :( most apps don't like it though Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gcc "doesn't work" (was:(no subject))
[EMAIL PROTECTED] wrote: The unames are: FreeBSD 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386 FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 When I first encountered a problem with gcc in 4.3 , I copied the gcc from 4.7 into 4.3 and tried it. The program and .h file are attached, as is a file containing the first 4 lines of error messages (once the compiler discovers errors, you can't believe those after the first, they may be accurate, and maybe not). That is strange syntax for a struct declaration in an arguments list; usually it seems like just the identifier name is sufficient, and I think I see why gcc errored out and bailed. -Garrett ___ 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.0 and Mac File System
On 29 apr 2006, at 15:28, Yousef Raffah wrote: On Sat, 2006-04-29 at 09:11 -0400, John Cruz wrote: I don't know about HFS, but you can format your mac drives with UFS when you do a clean install of MacOS, at least then FreeBSD would be able to read them. You are right but this isn't my case here :(, I have an external HD which has HFS(+) file system on it and I want to use it with my FreeBSD 6.1-RC1 Any chances? Mac OSX can't be installed onto a UFS formatted drive as far as I know Most OSX programs won't run on it either you can format partitions or drives other than the system drive with UFS not only at the installtion Yousef Raffah wrote: What is the status of reading/writing to Mac's file system (HFS) or is it HFS+? it is HFS+ for Mac OS 8.1 and later Are they supported in FreeBSD 6.0? How about 6.1-RC? Can we write to that file system or only read at moment? Is it safe? I'm trying to find something in the /usr/src/sys/i386/conf/NOTES file but nothing is promising so far http://people.freebsd.org/~yar/hfs/ add this to your kernelconfig file: option GEOM_APPLE # Apple HFS+ support I was able to compile it on FreeBSD 6.0-RELEASE-p6 but haven't had the time to check if it actually works. google for iPod and FreeBSD for more info :) Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gcc "doesn't work" (was:(no subject))
The unames are: FreeBSD 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386 FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 When I first encountered a problem with gcc in 4.3 , I copied the gcc from 4.7 into 4.3 and tried it. The program and .h file are attached, as is a file containing the first 4 lines of error messages (once the compiler discovers errors, you can't believe those after the first, they may be accurate, and maybe not). buffer.h Description: buffer.h buffer.c Description: buffer.c buffer.e Description: buffer.e ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Semi-OT: responding to attempted breakins
On Wed, 3 May 2006, Robert Huff wrote: As a result of installing new bits on my system, and paying attention to old ones, I've noticed several attempted break-ins which I currently believe have been unsucessful. As I have the appropriate log files, I'd like to contact the administrators and ISPs for the systems involved. Can someone recommend a good response boilerplate - something that's concise, informative, professional, friendly, and yet firm? I've been pretty religious about "responsible reporting" for about 6 months now, reporting all ssh (and recently FTP) attacks to the originating ISP. If I may, allow me to infer from your desire to be "firm" that you would like to cause the behaviour stop, and to give you a piece of advice. I believe that you will be very unhappy if you are reporting for that reason. The attacks, probes, tests, attempts - all of them - aren't going to stop, except by filtering those packets out through one mechanism (a firewall) or another (disconnecting your 'net connection). You will end up bailing water with a teaspoon. /-/ He's the kind of guy, that, well, if you were ever in a jam he'd be there ... with two slices of bread and some chunky peanut butter. finger://[EMAIL PROTECTED] http://www.ephemeron.org/~bigby/ irc://irc.ephemeron.org/#the_pub news://news.ephemeron.org/alt.lemurs /-/ ___ 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 Broadcomm NIC - not recognized
Paul Schmehl wrote: Lowell Gilbert wrote: Paul Schmehl <[EMAIL PROTECTED]> writes: It's a dual boot machine. Windows XP recognizes the NIC just fine, but *not* with the default drivers that come with XP SP2. I had to install the drivers from Dell. Maybe there's something different about this NIC? Dell often does unexpectedly proprietary things like that, so it's possible. I think you may need the bce(4) driver rther than bge(4), but that is in the GENERIC kernel these days also. Hmm...bce *isn't* in the GENERIC kernel for i386 6.0 RELEASE. Is this a new driver? Yes. From bce(4): HISTORY The bce device driver first appeared in FreeBSD 6.1. KDK -- LEVERAGE: Even if someone doesn't care what the world thinks about them, they always hope their mother doesn't find out. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rr232x on amd64: fail to start channel
Hello, I'm trying to setup a PC with an rr2320 SATA RAID controller in it. It's running on an Athlon 64, with FreeBSD cvsupped to RELENG_6 on amd64. On startup, it sees the controller, but gives "fail to start channel" messages for each channel that has a disk attached. From dmesg | grep rr232x: rr232x: RocketRAID 232x controller driver v1.02 (May 4 2006 06:15:08) rr232x0: port 0xc000-0xc0ff mem 0xd100-0xd10f irq 11 at device 4.0 on pci3 rr232x: adapter at PCI 3:4:0, IRQ 11 module_register_init: MOD_LOAD (amr_linux, 0x806204f0, 0) error 6 rr232x: start channel [0,0] rr232x: start channel [0,1] rr232x: start channel [0,2] rr232x: start channel [0,3] rr232x: fail to start channel [0,0] rr232x: fail to start channel [0,1] rr232x: fail to start channel [0,2] rr232x: fail to start channel [0,3] rr232x0: [GIANT-LOCKED] Any ideas? A client of mine bought the hardware, and is insistent that we try to use it. It works under Windows, so I'm pretty sure it's not a hardware problem. I'd like to avoid having to run Windows on the server if at all possible. Thanks, Herbert. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dhclient-exit-hooks
fbsd wrote: When this script runs the logger statements do not create any message in the targeted log files. IF I execute the same logger statements from the command line they work as expected. Hi, Forgive my ignorance if it turns out I'm totally off track here but do you need a line in /etc/syslog.conf such as: !name-of-your-script *.* /var/log/dhcpd.log ^^^ or whatever level of logging you want I couldn't get named to log so to /etc/syslog.conf I added !named *.*/var/log/named.log and manually created /var/log/named.log to have messages of all levels logged. Just a shot in the dark... Best Regards, Duane Whitty -- [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: Semi-OT: responding to attempted breakins
On Wed, 2006-05-03 at 17:43 -0400, Robert Huff wrote: > As a result of installing new bits on my system, and paying > attention to old ones, I've noticed several attempted break-ins > which I currently believe have been unsucessful. > As I have the appropriate log files, I'd like to contact the > administrators and ISPs for the systems involved. Can someone > recommend a good response boilerplate - something that's concise, > informative, professional, friendly, and yet firm? > > > Robert Huff I'm sorry I can't. I did, however, want to interject my two cents here ;-). From a non-professional (i.e. student) viewpoint, it's been my experience that if I take the time to write a polite email, which includes relevant bits from my log files, to the admin for the IP in question asking them to look into it, they will usually take care of it. I suppose the appropriate response to this sort of situation depends on what your hosting. I run a web-server and SSH gateway for personal use, so although extremely annoying, it wouldn't be any big loss for me if it was cracked. I suppose you could always blacklist the domain in question, and see how long it takes for anyone to complain ;-).\ -Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "dd" question
On Wed, 2006-05-03 at 14:11 -0600, Chad Leigh -- Shire.Net LLC wrote: > I have a Windows machine that also has some linux partitions. lilo > is the main boot manager. Can I used dd from my freebsd box to > completely copy the whole disk, partition tables and all, to another > disk? The disk in the machine is starting to appear to be a little > flaky and I have another of the same mechanisms here and would like > to just basically clone the whole thing over. I seldom use the > machine but when I do need it I need it (tax time, an old website > that uses a specific windows tool for updating, etc) > > Thanks > Chad I've done this several times, and it works reasonably well. Someone recommended piping the output through netcat, which will work; however I have another suggestion. If you think the disk will be ok, use dd to "zero-out" the rest of the drive; i.e. dd if=/dev/zero of=zeros; rm zeros; dd if=/dev/ad0 of=- | gzip - - | nc $HOSTNAME $PORT; I've always used FTP instead of netcat, but you should be just fine. netcat may even be a bit faster, since you don't have the overhead of the FTP protocol. On the receiving end, just do the reverse: nc -l $PORT | gzip -d - - | dd if=- of=/dev/ad0; You can play around with blocksize too; sometimes it will speed up the process a little bit. One of these days, I am going to write a tool to do just this sort of thing, since it seems to be a fairly common practice. -Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Semi-OT: responding to attempted breakins
As a result of installing new bits on my system, and paying attention to old ones, I've noticed several attempted break-ins which I currently believe have been unsucessful. As I have the appropriate log files, I'd like to contact the administrators and ISPs for the systems involved. Can someone recommend a good response boilerplate - something that's concise, informative, professional, friendly, and yet firm? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: dhclient-exit-hooks
I figured the "Shared object not found" error is another sign of what is wrong in general so I commented out the mail command to concentrate on just the logger problem. During testing the logger problem I determined the script "if" statement is not working. Problem seems more like bug in how and or when during the boot process the script is getting executed. This has nothing to do with my script code. This is how FreeBSD is handling the default dhclient-script that comes pre installed on the system. The recorder directives have made no difference. Please note I am not using the isc-dhcp port dhclient. I am running the dhclient that comes as part of the base install of FreeBSD. I have ifconfig_dc0="DHCP" in rc.conf to launch /sbin/dhclient-script. dhclient-script calls dhclient-exit-hooks I don't think the recorder directives get into play because dhclient does not use the rc.d environment. I know the dhclient-exit-hooks script is executing because of the echo commands I put in it before and after the IF statement. I also know the dhclient variables are being loaded in the /etc/dhcpd.name-servers file because I empty it before rebooting system, and after words I edit it and it contains the correct values. I am beginning to think that something changed between 4.x and 6.0 in the way the dhclient-script get processed during boot. It's acting like it gets executed to early in the boot process. Do I have enough evidence on this to submit a bug report??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Bye Sent: Wednesday, May 03, 2006 4:42 PM To: Daniel Bye; freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On Wed, May 03, 2006 at 03:35:13PM -0400, fbsd wrote: > I do not see why postfix would have any thing to do with logger not > working. ACK. I've been talking about the "Shared object not found" error, which is definitely, from the error message you posted, caused by postfix not being able to find pcre. Has that problem gone away with the addition of the rcorder directives? (I've made the assumption here that your script is being called by rc, from one of your rc.d directories - if this is NOT the case, then you can pretty well ignore all I've said, and I apologise for being off the mark...) > I added some ehco statments to test if the "if" statment is working. > In this pass /etc/dhcpd.name-servers.tmp = /etc/dhcpd.name-servers > so the second echo should not have been executed, but it was Have you run the script with xtrace turned on? That at least will show you which lines of the script are being run. It might help you narrow down on the part that goes wrong. I really can't see anything wrong with the logic or syntax of your script, so this part of it is somewhat baffling to me. > >From testing it looks like only the dhcpc variables plus mv, > and echo commands work in the script. > > from the boot log > dc0: link state changed to DOWN > dc0: no link dc0: link state changed to UP > got link > dc0: link state changed to DOWN > before if check > after if check > DHCPREQUEST on dc0 to 255.255.255.255 port 67 > dc0: link state changed to UP > DHCPACK from 10.0.10.2 > dc0: link state changed to DOWN > bound to 10.0.10.4 -- renewal in 43200 seconds. > > > and here is the dhclient-exit-hooks script > > #!/bin/sh > > # PROVIDE: dhclient-exit-hooks > # REQUIRE: SERVERS > > ### Start of refresh dhcpd dns ip > # This script will propagate to dhcpd the changed dns servers ip > address > # which dhcp-client puts in resolv.conf. > # > # In dhcpd.conf replace the "option domain-name-servers" line with > this > # > # include "/etc/dhcpd.name-servers"; > # > # Spript uses the dhcpc variables to build temp line in dhcpd > format. > # Then compare temp content to production content. > # If different replace production content with new content from > temp, > # and restart dhcp to reread dhcpd.conf containing new ISP dns ip > addresses. > # > # logging event and sending email to user root is optional. > # > # Note: All LAN machines using dhcpd will not get new ISP dns ip > addresses > # until they reboot or their lease comes up for renewal. > # > # Each of the following lines must be one long line. IE: no wrap > arounds > > > > # load my_domain_name_servers variable with ISP dns ip addresses > from dhcpc > my_domain_name_servers=`echo $new_domain_name_servers | sed -e 's/ > /, /g'` > > # Create single line in file to be included in dhcpd.conf > echo "option domain-name-servers $my_domain_name_servers ;" > > /etc/dhcpd.name-servers.tmp > > echo " before if check" > > # See if different from what production file contains > cmp -s /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers > if [ $? -gt 0 ]; then > echo " after if check" > # move the new file into place > mv /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers > # restart dhc
Weird IP Behaviour
I made changes in my rc.conf file, removing an IP address. I renumbered the aliases so that the others were still sequential from 0, since it was alias_0 that I removed. For some reason, when the system restarts, the removed ip address magically appears at the end of the list when I do ifconfig. What could cause this? 5.4-Release 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: FreeBSD 6.0 compat with DL320 G4
Just an update, I checked again and our server is running a 3.0Ghz not a 2.8Ghz pentium D. Ted >-Original Message- >From: Ted Mittelstaedt [mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 03, 2006 1:44 PM >To: freebsd-questions@freebsd.org >Cc: 'William' >Subject: RE: FreeBSD 6.0 compat with DL320 G4 > > > >Hi All, > > This server is using the Broadcom BCM5704C, the problem child >chipset (that is >discussed in the PR 94307 that I referred to) is the BCM5714. > >This is also running a different CPU - your running a 3.4Ghz >pentium 4, we are running >a 2.8Ghz Pentium D. Your CPU chip ID is 0xf43 ours is 0xf44 > > While you can specify different CPU speeds, I would be pretty >nervous in >assuming that simply specifying a different CPU speed would >change the ethernet >chipset on the motherboard. > > If William does go forward with his order I would certainly >suggest he order the >faster server, and cross his fingers. > > NoSpam it would be very useful if you could submit a followup >to the PR 94307 >with your dmesg, and note that while the server model # is the >same the ethernet >chipset is different. > >Ted > >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] Behalf Of >>[EMAIL PROTECTED]@mgEDV.net >>Sent: Tuesday, May 02, 2006 7:25 AM >>To: freebsd-questions@freebsd.org >>Cc: 'William' >>Subject: RE: FreeBSD 6.0 compat with DL320 G4 >> >> >> >>> What was your experience like with 6.0-RELEASE and the dl320 g4? I've >>> had a quote back on that model so could be near to actually getting >>> some hardware for once :) >> >>we didn't really run 6.0-RELEASE on the system, as the 6.1-BETAs had >>been out when we bought the server. therefore not really man exp. on >>this. >> >>for ted's request, here's the dmesg ;-) >> >> >>- >>Copyright (c) 1992-2006 The FreeBSD Project. >>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, >1993, 1994 >> The Regents of the University of California. All rights reserved. >>FreeBSD 6.1-RC2 #0: Sun Apr 30 09:42:38 UTC 2006 >>[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC >>ACPI APIC Table: >>Timecounter "i8254" frequency 1193182 Hz quality 0 >>CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.52-MHz 686-class CPU) >> Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 >> >>Features=0xbfebfbff>MTRR,PGE,MCA >>,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> >> Features2=0x649d> >> AMD Features=0x2000 >> Logical CPUs per core: 2 >>real memory = 1073688576 (1023 MB) >>avail memory = 1041743872 (993 MB) >>ioapic0 irqs 0-23 on motherboard >>ioapic1 irqs 24-47 on motherboard >>ioapic2 irqs 48-71 on motherboard >>kbd1 at kbdmux0 >>acpi0: on motherboard >>acpi0: Power Button (fixed) >>Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 >>acpi_timer0: <24-bit timer at 3.579545MHz> port 0x908-0x90b on acpi0 >>cpu0: on acpi0 >>pcib0: on acpi0 >>pci0: on pcib0 >>pcib0: no PRT entry for 0.31.INTA >>pcib1: at device 1.0 on pci0 >>pci5: on pcib1 >>pcib2: at device 0.0 on pci5 >>pci6: on pcib2 >>bge0: mem >>0xfdff-0xfdff irq 24 at device 1.0 on pci6 >>miibus0: on bge0 >>brgphy0: on miibus0 >>brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, >>1000baseTX-FDX, auto >>bge0: Ethernet address: 00:15:60:aa:39:d2 >>bge1: mem >>0xfdfe-0xfdfe irq 25 at device 1.1 on pci6 >>miibus1: on bge1 >>brgphy1: on miibus1 >>brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, >>1000baseTX-FDX, auto >>bge1: Ethernet address: 00:15:60:aa:39:d1 >>pcib3: at device 0.2 on pci5 >>pci9: on pcib3 >>pcib4: at device 28.0 on pci0 >>pci2: on pcib4 >>uhci0: port >>0x1000-0x101f irq 16 at device 29.0 on pci0 >>uhci0: [GIANT-LOCKED] >>usb0: on uhci0 >>usb0: USB revision 1.0 >>uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >>uhub0: 2 ports with 2 removable, self powered >>uhci1: port >>0x1020-0x103f irq 17 at device 29.1 on pci0 >>uhci1: [GIANT-LOCKED] >>usb1: on uhci1 >>usb1: USB revision 1.0 >>uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >>uhub1: 2 ports with 2 removable, self powered >>uhci2: port >>0x1040-0x105f irq 18 at device 29.2 on pci0 >>uhci2: [GIANT-LOCKED] >>usb2: on uhci2 >>usb2: USB revision 1.0 >>uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >>uhub2: 2 ports with 2 removable, self powered >>uhci3: port >>0x1060-0x107f irq 19 at device 29.3 on pci0 >>uhci3: [GIANT-LOCKED] >>usb3: on uhci3 >>usb3: USB revision 1.0 >>uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >>uhub3: 2 ports with 2 removable, self powered >>ehci0: mem >>0xfbef-0xfbef03ff >>irq 16 at device 29.7 on pci0 >>ehci0: [GIANT-LOCKED] >>usb4: EHCI version 1.0 >>usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 >>usb4: on ehci0 >>usb4: USB revision 2.0 >>uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 >>uhub4: 8 ports with
Re: nubie question - Ports - Ruby 1.8.4
On Wed, May 03, 2006 at 03:21:34PM -0400, Bakki Kudva wrote: > Daniel, > > Thank you very much for your help. I am golden now. Everything is > working and I am really impressed with FreeBSD (I came from Linux > world, particularly Debian). I got sound, USB etc working now and the > process was quite enjoyable. I'm glad to hear it's all going well! FreeBSD is put together in such a way that it is enjoyable to work with - things tend not to change places between releases, and if they do it's usually for a cogent reason. The documentation is great, and so is the community. I hope you enjoy your stay! > Your explanation about ports versioning really belongs in the > handbook. If you know the doc maintainers it would be great if this > info can be added to the handbook. Thanks! I will rewrite it a bit and submit a PR. If the maintainers agree, then it'll get in, I guess. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpDTHlH560JL.pgp Description: PGP signature
Re: "dd" question
On May 03 at 14:11, "Chad Leigh -- Shire.Net LLC" wrote: > I have a Windows machine that also has some linux partitions. lilo > is the main boot manager. Can I used dd from my freebsd box to > completely copy the whole disk, partition tables and all, to another > disk? The disk in the machine is starting to appear to be a little > flaky and I have another of the same mechanisms here and would like > to just basically clone the whole thing over. I seldom use the > machine but when I do need it I need it (tax time, an old website > that uses a specific windows tool for updating, etc) I've done this and had success. You can boot the machine that you want to dupe with a live CD, then dd from the disk to either a file somewhere or straight to another disk, then you should be able to just boot from the new disk (the new disk must be >= the size of the old disk, people have said that the exact same size is required, but I haven't found that to be the case.) A couple other quick plugs, check out ddrecover if you have bad sectors. Last but not least, I've used netcat with success to do these dupes across a (secure) network. 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 6.0 compat with DL320 G4
Hi All, This server is using the Broadcom BCM5704C, the problem child chipset (that is discussed in the PR 94307 that I referred to) is the BCM5714. This is also running a different CPU - your running a 3.4Ghz pentium 4, we are running a 2.8Ghz Pentium D. Your CPU chip ID is 0xf43 ours is 0xf44 While you can specify different CPU speeds, I would be pretty nervous in assuming that simply specifying a different CPU speed would change the ethernet chipset on the motherboard. If William does go forward with his order I would certainly suggest he order the faster server, and cross his fingers. NoSpam it would be very useful if you could submit a followup to the PR 94307 with your dmesg, and note that while the server model # is the same the ethernet chipset is different. Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of >[EMAIL PROTECTED]@mgEDV.net >Sent: Tuesday, May 02, 2006 7:25 AM >To: freebsd-questions@freebsd.org >Cc: 'William' >Subject: RE: FreeBSD 6.0 compat with DL320 G4 > > > >> What was your experience like with 6.0-RELEASE and the dl320 g4? I've >> had a quote back on that model so could be near to actually getting >> some hardware for once :) > >we didn't really run 6.0-RELEASE on the system, as the 6.1-BETAs had >been out when we bought the server. therefore not really man exp. on >this. > >for ted's request, here's the dmesg ;-) > > >- >Copyright (c) 1992-2006 The FreeBSD Project. >Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. >FreeBSD 6.1-RC2 #0: Sun Apr 30 09:42:38 UTC 2006 >[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC >ACPI APIC Table: >Timecounter "i8254" frequency 1193182 Hz quality 0 >CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.52-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 > >Features=0xbfebfbffMTRR,PGE,MCA >,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Features2=0x649d> > AMD Features=0x2000 > Logical CPUs per core: 2 >real memory = 1073688576 (1023 MB) >avail memory = 1041743872 (993 MB) >ioapic0 irqs 0-23 on motherboard >ioapic1 irqs 24-47 on motherboard >ioapic2 irqs 48-71 on motherboard >kbd1 at kbdmux0 >acpi0: on motherboard >acpi0: Power Button (fixed) >Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 >acpi_timer0: <24-bit timer at 3.579545MHz> port 0x908-0x90b on acpi0 >cpu0: on acpi0 >pcib0: on acpi0 >pci0: on pcib0 >pcib0: no PRT entry for 0.31.INTA >pcib1: at device 1.0 on pci0 >pci5: on pcib1 >pcib2: at device 0.0 on pci5 >pci6: on pcib2 >bge0: mem >0xfdff-0xfdff irq 24 at device 1.0 on pci6 >miibus0: on bge0 >brgphy0: on miibus0 >brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, >1000baseTX-FDX, auto >bge0: Ethernet address: 00:15:60:aa:39:d2 >bge1: mem >0xfdfe-0xfdfe irq 25 at device 1.1 on pci6 >miibus1: on bge1 >brgphy1: on miibus1 >brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, >1000baseTX-FDX, auto >bge1: Ethernet address: 00:15:60:aa:39:d1 >pcib3: at device 0.2 on pci5 >pci9: on pcib3 >pcib4: at device 28.0 on pci0 >pci2: on pcib4 >uhci0: port >0x1000-0x101f irq 16 at device 29.0 on pci0 >uhci0: [GIANT-LOCKED] >usb0: on uhci0 >usb0: USB revision 1.0 >uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub0: 2 ports with 2 removable, self powered >uhci1: port >0x1020-0x103f irq 17 at device 29.1 on pci0 >uhci1: [GIANT-LOCKED] >usb1: on uhci1 >usb1: USB revision 1.0 >uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub1: 2 ports with 2 removable, self powered >uhci2: port >0x1040-0x105f irq 18 at device 29.2 on pci0 >uhci2: [GIANT-LOCKED] >usb2: on uhci2 >usb2: USB revision 1.0 >uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub2: 2 ports with 2 removable, self powered >uhci3: port >0x1060-0x107f irq 19 at device 29.3 on pci0 >uhci3: [GIANT-LOCKED] >usb3: on uhci3 >usb3: USB revision 1.0 >uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub3: 2 ports with 2 removable, self powered >ehci0: mem >0xfbef-0xfbef03ff >irq 16 at device 29.7 on pci0 >ehci0: [GIANT-LOCKED] >usb4: EHCI version 1.0 >usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 >usb4: on ehci0 >usb4: USB revision 2.0 >uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 >uhub4: 8 ports with 8 removable, self powered >umass0: USB Flash Disk, rev 2.00/2.00, addr 2 >pcib5: at device 30.0 on pci0 >pci1: on pcib5 >pci1: at device 2.0 (no driver attached) >pci1: at device 2.2 (no driver attached) >pci1: at device 3.0 (no driver attached) >isab0: at device 31.0 on pci0 >isa0: on isab0 >atapci0: port >0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x500-0x50f irq 7 at device >31.1 on pci0 >ata0: on atapci0 >ata1: on atapci0 >atapci1: port >0x1080-
Re: dhclient-exit-hooks
On Wed, May 03, 2006 at 03:35:13PM -0400, fbsd wrote: > I do not see why postfix would have any thing to do with logger not > working. ACK. I've been talking about the "Shared object not found" error, which is definitely, from the error message you posted, caused by postfix not being able to find pcre. Has that problem gone away with the addition of the rcorder directives? (I've made the assumption here that your script is being called by rc, from one of your rc.d directories - if this is NOT the case, then you can pretty well ignore all I've said, and I apologise for being off the mark...) > I added some ehco statments to test if the "if" statment is working. > In this pass /etc/dhcpd.name-servers.tmp = /etc/dhcpd.name-servers > so the second echo should not have been executed, but it was Have you run the script with xtrace turned on? That at least will show you which lines of the script are being run. It might help you narrow down on the part that goes wrong. I really can't see anything wrong with the logic or syntax of your script, so this part of it is somewhat baffling to me. > >From testing it looks like only the dhcpc variables plus mv, > and echo commands work in the script. > > from the boot log > dc0: link state changed to DOWN > dc0: no link dc0: link state changed to UP > got link > dc0: link state changed to DOWN > before if check > after if check > DHCPREQUEST on dc0 to 255.255.255.255 port 67 > dc0: link state changed to UP > DHCPACK from 10.0.10.2 > dc0: link state changed to DOWN > bound to 10.0.10.4 -- renewal in 43200 seconds. > > > and here is the dhclient-exit-hooks script > > #!/bin/sh > > # PROVIDE: dhclient-exit-hooks > # REQUIRE: SERVERS > > ### Start of refresh dhcpd dns ip > # This script will propagate to dhcpd the changed dns servers ip > address > # which dhcp-client puts in resolv.conf. > # > # In dhcpd.conf replace the "option domain-name-servers" line with > this > # > # include "/etc/dhcpd.name-servers"; > # > # Spript uses the dhcpc variables to build temp line in dhcpd > format. > # Then compare temp content to production content. > # If different replace production content with new content from > temp, > # and restart dhcp to reread dhcpd.conf containing new ISP dns ip > addresses. > # > # logging event and sending email to user root is optional. > # > # Note: All LAN machines using dhcpd will not get new ISP dns ip > addresses > # until they reboot or their lease comes up for renewal. > # > # Each of the following lines must be one long line. IE: no wrap > arounds > > > > # load my_domain_name_servers variable with ISP dns ip addresses > from dhcpc > my_domain_name_servers=`echo $new_domain_name_servers | sed -e 's/ > /, /g'` > > # Create single line in file to be included in dhcpd.conf > echo "option domain-name-servers $my_domain_name_servers ;" > > /etc/dhcpd.name-servers.tmp > > echo " before if check" > > # See if different from what production file contains > cmp -s /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers > if [ $? -gt 0 ]; then > echo " after if check" > # move the new file into place > mv /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers > # restart dhcp using whatever is appropriate for your platform > #service dhcpd restart > #/usr/local/etc/rc.d/isc-dhcpd.sh restart -q > # Write message to /var/log/dhcpc.log to document event. > /usr/bin/logger -p user.warning -t dhclient Your ISP DNS IP > addresses changed. > # Write message to /var/log/dhcpd.log to document event. > /usr/bin/logger -p local1.warning -t dhclient Your ISP DNS IP > addresses changed. > fi > #rm -f /etc/dhcpd.name-servers.tmp > ### End of refresh dhcpd dns ip script > ### [---snip---] > > > using sendmail to construct the email made no difference. > > > Still get this message > > > > > > /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, > > > required by "send-mail" Has this gone away? --^ Apologies for the crossed wires. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgp5P3b2BRhsM.pgp Description: PGP signature
Re: 6.1-RC2: strange kernel panic! [SOLVED]
On Wed, May 03, 2006 at 09:09:41PM +0200, [EMAIL PROTECTED]@mgEDV.net wrote: > > original error: > > panic: kmem_malloc(4096): kmem_map too small: 335544320 total allocated > kernel panic issue seems to be solved by changing our memory disk > from malloc(9) backed to a swap-backed disk. > > thx 4 helpin', guys! > > and yes, i could have tested it because this was already in the archives > (shame on me) ;-) Great, it's nice when problems are resolved :) Kris pgppqRHtO1XQn.pgp Description: PGP signature
Re: If you have a working DRI multi-head setup read this:
On 5/3/06, Nikolas Britton <[EMAIL PROTECTED]> wrote: Do you have a multi-head setup, does DRI/DRM work? If it works report your setup, if you can confirm it doesn't work post that too! Let me lead the way: drm0: AGP drm1: PCI drm2: PCI DRI broken, hardlocks system when you start X, It has something to do with the Radeon 7000 cards becouse DRI was working fine when I only had the Radeon 8500 card installed. ## Would DRI/DRM (2D, 3D, OpenGL, etc.) work if I replaced all my cards with Radeon 9250's (RV280)? -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cupsd strangeness....
On Tue, 2 May 2006, Eric Schuele wrote: Hello, While this should be of absolutely no real concern my lack of ability to resolve it is causing me sleepless nights. I'm sure this should be an easy one... I just can't seem to fix it. Everything cups related is working perfectly fine. However, my dmesg shows the following: Starting cupsd. Starting cupsd. cupsd: Child exited with status 48! Usage: cups {reload|restart|start|status|stop} And its driving me crazy! Cupsd is trying to start twice? and the second time is giving an error. What have I done wrong here? [~] % ls /etc/rc.d | grep cups [~] % ls /usr/local/etc/rc.d | grep cups cups.sh.delme* cups.sh.sample* cupsd.delme* cupsd.sample* cupsd.sh* Nowadays all executable scripts in rc.d/ will be executed, not only those ending on .sh Regards, Uli. [~] % grep cups /etc/rc.conf cupsd_enable="YES" #cups_enable="YES" Using FreeBSD 6.1-RC as of Sat some time... but had this problem quite a while. I'm sure it started the last time I rebuilt the machine (two month back maybe). And I'm sure its a config error on my part. Any help is appreciated. -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"dd" question
I have a Windows machine that also has some linux partitions. lilo is the main boot manager. Can I used dd from my freebsd box to completely copy the whole disk, partition tables and all, to another disk? The disk in the machine is starting to appear to be a little flaky and I have another of the same mechanisms here and would like to just basically clone the whole thing over. I seldom use the machine but when I do need it I need it (tax time, an old website that uses a specific windows tool for updating, etc) Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: dhclient-exit-hooks
I do not see why postfix would have any thing to do with logger not working. I added some ehco statments to test if the "if" statment is working. In this pass /etc/dhcpd.name-servers.tmp = /etc/dhcpd.name-servers so the second echo should not have been executed, but it was >From testing it looks like only the dhcpc variables plus mv, and echo commands work in the script. from the boot log dc0: link state changed to DOWN dc0: no link dc0: link state changed to UP got link dc0: link state changed to DOWN before if check after if check DHCPREQUEST on dc0 to 255.255.255.255 port 67 dc0: link state changed to UP DHCPACK from 10.0.10.2 dc0: link state changed to DOWN bound to 10.0.10.4 -- renewal in 43200 seconds. and here is the dhclient-exit-hooks script #!/bin/sh # PROVIDE: dhclient-exit-hooks # REQUIRE: SERVERS ### Start of refresh dhcpd dns ip # This script will propagate to dhcpd the changed dns servers ip address # which dhcp-client puts in resolv.conf. # # In dhcpd.conf replace the "option domain-name-servers" line with this # # include "/etc/dhcpd.name-servers"; # # Spript uses the dhcpc variables to build temp line in dhcpd format. # Then compare temp content to production content. # If different replace production content with new content from temp, # and restart dhcp to reread dhcpd.conf containing new ISP dns ip addresses. # # logging event and sending email to user root is optional. # # Note: All LAN machines using dhcpd will not get new ISP dns ip addresses # until they reboot or their lease comes up for renewal. # # Each of the following lines must be one long line. IE: no wrap arounds # load my_domain_name_servers variable with ISP dns ip addresses from dhcpc my_domain_name_servers=`echo $new_domain_name_servers | sed -e 's/ /, /g'` # Create single line in file to be included in dhcpd.conf echo "option domain-name-servers $my_domain_name_servers ;" > /etc/dhcpd.name-servers.tmp echo " before if check" # See if different from what production file contains cmp -s /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers if [ $? -gt 0 ]; then echo " after if check" # move the new file into place mv /etc/dhcpd.name-servers.tmp /etc/dhcpd.name-servers # restart dhcp using whatever is appropriate for your platform #service dhcpd restart #/usr/local/etc/rc.d/isc-dhcpd.sh restart -q # Write message to /var/log/dhcpc.log to document event. /usr/bin/logger -p user.warning -t dhclient Your ISP DNS IP addresses changed. # Write message to /var/log/dhcpd.log to document event. /usr/bin/logger -p local1.warning -t dhclient Your ISP DNS IP addresses changed. fi #rm -f /etc/dhcpd.name-servers.tmp ### End of refresh dhcpd dns ip script ### -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Bye Sent: Wednesday, May 03, 2006 2:35 PM To: freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On Wed, May 03, 2006 at 02:25:08PM -0400, fbsd wrote: > There is nothing to rebuild. > I am using the built in dhclient that comes with the system. But it's not dhclient that's emitting the error, is it? It's your MTA. (check in /etc/mail/mailer.conf, and you will see that send-mail is an alias for the binary of your MTA) Atom's suggestion is worth pursuing. Dan > > -Original Message- > From: Atom Powers [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 03, 2006 1:05 PM > To: [EMAIL PROTECTED] > Cc: Norbert Papke; freebsd-questions@freebsd.org > Subject: Re: dhclient-exit-hooks > > > On 5/3/06, fbsd <[EMAIL PROTECTED]> wrote: > > I changed #! /bin/sh to #!/bin/sh it had no effect. > > Logger command still not producing output. > > > > using sendmail to construct the email made no difference. > > Still get this message > > > > /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, > > required by "send-mail" > > > > Did you rebuild the package? > I have had a similar problem with, in my case, net-snmp. > Reinstalling > the port fixed it. > Something about statically linked libraries I think. > > > -- > -- > Perfection is just a word I use occasionally with mustard. > --Atom Powers-- > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebs
italian mirror
Hi in the mirror-list page you miss this important italian mirror http://na.mirror.garr.it/FreeBSD/ regards Stefano ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nubie question - Ports - Ruby 1.8.4
Thanks, I am already using it. -bakki On 5/3/06, Daniel Bye <[EMAIL PROTECTED]> wrote: On Wed, May 03, 2006 at 09:03:58AM -0500, Zimmerman, Eric wrote: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:owner-freebsd- > > [EMAIL PROTECTED] On Behalf Of Daniel Bye > > Sent: Tuesday, May 02, 2006 5:25 PM > > To: freebsd-questions@freebsd.org > > Subject: Re: nubie question - Ports - Ruby 1.8.4 > > > > On Tue, May 02, 2006 at 05:52:14PM -0400, Bakki Kudva wrote: > > > FIXED! I have Ruby 1.8.4 in my tree now. > > > > > > I had not done... > > > # portsnap extract > > > > > I recommend you check out portmanager as well. Makes dealing with port > upgrades including all dependencies MUCH easier! Agreed. Portmanager is one of the first things I install on any new machine. Very simple to use, and not prone to all the 'my pkgdb got broke' funkiness so often associated with portupgrade. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nubie question - Ports - Ruby 1.8.4
Daniel, Thank you very much for your help. I am golden now. Everything is working and I am really impressed with FreeBSD (I came from Linux world, particularly Debian). I got sound, USB etc working now and the process was quite enjoyable. Your explanation about ports versioning really belongs in the handbook. If you know the doc maintainers it would be great if this info can be added to the handbook. -bakki On 5/2/06, Daniel Bye <[EMAIL PROTECTED]> wrote: On Tue, May 02, 2006 at 05:52:14PM -0400, Bakki Kudva wrote: > FIXED! I have Ruby 1.8.4 in my tree now. > > I had not done... > # portsnap extract > > I was a bit mislead because when I did > # portsnap fetch > after downloading it said it was 'extracting'. So I skipped extract. My bad. > > I still would like to ask you gurus a couple of questions if I may. > > 1. During sysinstall it had asked me if I wanted the ports collection > installed which had 13,000 apps, would take 400MB of space yada yada > yada...I assumed by saying yes and since I was installing off the boot > only CD I would get the LATEST ports from the main site. Why didn't I? > In chapter 4.5 of the handbook portsnap is given as an alternative to > sysinstall. So what is the difference between ports installed via > sysinstall vs. that from portsnap? The ports tree installed by the CD was made at the same time the release was cut. So, due to the enormous amount of work done by all the many porters, it is pretty much obsolete within minutes. The reason? Logistics, pure and simple. It would be impracticable to try and keep the ports tree up to date for the ISOs. I think this applies to the boot-only ISO as well - the installer knows which release it is installing, so it automatically goes and finds the version of the ports tree that was released at the same time. If you have a reasonable connection to the Internet, use portsnap or cvsup to keep your ports tree up to date, as the handbook says. Portsnap maintains some metadata so it can easily track which snapshot you last applied, and can find the appropriate updates to bring you up to date. By contrast, as explained above, sysinstall will install the ports tree as it was at the time your release was cut. (I believe it is possible to tell it to install a different release's ports tree, but why you'd want to isn't quite clear.) Others will assuredly know more of this than I, and if I have anything wrong they will doubtless correct me! (Well, I hope so, any way ;-) > 2. Unrelated: I did a pkg_version and see that there are a whole bunch > of packages (may be 80-90%) which need updating. I am just trying > FreeBSD for now on my laptop which is an old Gateway with Pentium II > 400 MHz. It took nearly 2-3 days (it would pause with some dialog > which needed human input so I am not sure how long it might have taken > with me sitting in front of it all the time) to install gnome2 from > the ports. I don't know how long it might take to do a complete system > upgrade. So the question I have is on current technology (say Athlon64 > or Coreduo with 1GB of RAM) how long does it take to install a > complete system + upgrade it to the ports tree for a X-developer > workstation? Sorry about the loaded question. I have an Acer Aspire 1360 laptop (AMD Sempron 3000+ (actually rated at 1801.04 MHz, according to dmesg(1)), 512MB RAM), and it takes around 9 or 10 hours to build OpenOffice 2.0. I don't use Gnome or KDE, so don't have any experience of build times on this particular machine. A buildworld takes around an hour and a half to two hours (I don't tend to take measurements, I'm afraid, so am probably not the best person to answer this bit of your question!) I remember from a previous job, using some AMD64 machines with 2GB RAM, a buildworld was complete in something like 45 minutes. That was 5.2-RELEASE. On the other hand, I have an UltraSPARC machine that takes about 9 hours to buildworld... Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gcc not working (was no subject)
On Wednesday 03 May 2006 10:47, [EMAIL PROTECTED] wrote: > Dear Folks: > My version of gcc doesn't work (reports errors in code that compiles > elsewhere). Where can I go to download a later version of GNU code for > gcc & gdb suitable for a FreeBSD system? I went to the GNU site but > all I found there was source code ( .c & .h ), useless without a working > compiler. Also, even if I had found a working binary, how would I know if > it is for FreeBSD , LINUX , Solaris , or some other system? Are there > inexpensive but good working commercial compilers suitable for a FreeBSD > system? If so, what are they and how can their distributors be contacted? > What about shareware or freeware? What version of FreeBSD are you running? There are several versions of gcc in the ports (/usr/ports/lang). If they won't build, you probably need to upgrade your sys/kernel or at least rebuild them. You could also download a package. Downloading a version outside the FreeBSD ports/packages is not recommended and your mileage may definitely vary. Please post your compile errors so we can see what's going on. Also post the output from uname -a Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Mangohealth \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - XanGo - http://www.mangohealth.org --- pgpE63PxGDPZd.pgp Description: PGP signature
Re: wanted: hp-ux glance pendant
On Wed, 3 May 2006 21:02:21 +0200 "[EMAIL PROTECTED]@mgEDV.net" <[EMAIL PROTECTED]> wrote: > > > Systat doesn't like it if it has no stdin; adding a " > to your commandline should make it behave. > > adding your suggestion fixes the problem, but i'd like to run it w/o > enabling any user keystrokes/input to systat. tried /dev/null and an > empty file, obviously w/o success -( > any further ideas? Dump it to a file and "tail -f" the file in the console? -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: acquiring other versions of GCC (was no subject)
On Wed, 3 May 2006 18:47:35 GMT "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: [Please wrap your lines at around 72 chars] > Dear Folks: > My version of gcc doesn't work (reports errors in code that > compiles elsewhere). Where can I go to download a later version of > GNU code for gcc & gdb suitable for a FreeBSD system? I went > to the GNU site but all I found there was source code ( .c & .h ), > useless without a working compiler. Also, even if I had found a > working binary, > how would I know if it is for FreeBSD , LINUX , Solaris , or some > other system? > Are there inexpensive but good working commercial compilers > suitable for a FreeBSD system? If so, what are they and how can > their distributors be contacted? What about shareware or freeware? Have a look through /usr/ports/devel If you have a recent version of FreeBSD, it will have a recent version of GCC, and will compile compliant code without trouble. Since you provided no version information, nor errors, nor examples of failing code, I can't speculate further. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gcc "doesn't work" (was:(no subject))
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > My version of gcc doesn't work (reports errors in code that > compiles elsewhere). Where can I go to download a later version of > GNU code for gcc & gdb suitable for a FreeBSD system? I went to > the GNU site but all I found there was source code ( .c & .h ), > useless without a working compiler. Also, even if I had found a > working binary, how would I know if it is for FreeBSD , LINUX , > Solaris , or some other system? Are there inexpensive but good working > commercial compilers suitable for a FreeBSD system? If so, what are > they and how can their distributors be contacted? What about shareware > or freeware? I can't believe that FreeBSD's gcc version "doesn't work". It's more likely that your code needs libraries you don't have, or your system's memory is corrupt. Hard to tell without knowing the error message. Switching the compiler wouldn't solve these problems. Anyway you can find different gcc versions in the ports collection. If your compiler really is broken, you could install them as package. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: USB Mouse on Laptop
Hi, moused_type="auto" works nice on my Toshiba. Well, it does not map all the buttons of my Logitech trackball, but basic functions switches on the fly. Regards, Maris On Wed, 3 May 2006 01:27:18 + "Jonathan Herriott" <[EMAIL PROTECTED]> wrote: > Hi! > > I currently just fixed moused to start up using my laptop's mousepad in > /etc/rc.conf using the following options: > > moused_enable="YES" > moused_port="/dev/psm0" > moused_flags="" #This is another problem of mine, I can't get the four > extra buttons on my mousepad to work because I don't know what to specify > with -z, but this isn't the point of this post > moused_type="ps/2" ___ 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-RC2: strange kernel panic! [SOLVED]
original error: > panic: kmem_malloc(4096): kmem_map too small: 335544320 total allocated kernel panic issue seems to be solved by changing our memory disk from malloc(9) backed to a swap-backed disk. thx 4 helpin', guys! and yes, i could have tested it because this was already in the archives (shame on me) ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: wanted: hp-ux glance pendant
> Systat doesn't like it if it has no stdin; adding a " to your commandline should make it behave. adding your suggestion fixes the problem, but i'd like to run it w/o enabling any user keystrokes/input to systat. tried /dev/null and an empty file, obviously w/o success -( any further ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.1-RC2: strange kernel panic!
On Wed, May 03, 2006 at 11:55:26AM +0200, [EMAIL PROTECTED]@mgEDV.net wrote: > > > Don't you think you should test it instead of guessing? :-) I suggested > > it because it *is* a possibility (that is why I have it in my kernel). > yes, but doesn't it make sense to find memory consuming things > before adding more? > btw. how can we check for such things? > > > Are you sure you are using swap backing and not malloc? > nope, i'm not sure if it was that, but -M was passed to mdmfs, > so malloc(9) was used. we changed the code to swap-based, let's > see if that fixes our problem. Since you were using malloc backing that is what used up all your kernel memory. Increasing memory per my suggestion would have fixed it. Chances are you don't want to use malloc backing anyway though, because it's slower (unless you're swapping). Kris pgplZzr0kvIPo.pgp Description: PGP signature
(no subject)
Dear Folks: My version of gcc doesn't work (reports errors in code that compiles elsewhere). Where can I go to download a later version of GNU code for gcc & gdb suitable for a FreeBSD system? I went to the GNU site but all I found there was source code ( .c & .h ), useless without a working compiler. Also, even if I had found a working binary, how would I know if it is for FreeBSD , LINUX , Solaris , or some other system? Are there inexpensive but good working commercial compilers suitable for a FreeBSD system? If so, what are they and how can their distributors be contacted? What about shareware or freeware? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FBSD 5.x and Skype sound
Ariff, FreeBsd 5.4. The sound is terrible. Even using echo123 sound test. On Mon, 1 May 2006, Ariff Abdullah wrote: |On Wed, 26 Apr 2006 11:38:00 -0300 (BRT) |[EMAIL PROTECTED] wrote: |> Hi all, |> |> I know that there is a lot o threads about this, but none of |> the |> workarrounds had worked with me. |> |> I trying to use skype (1.2.0.18 from ports), on a FBSD 5.4 |> (last |> cvs), but the sound is failing. |> |> My on-board sound chipset is CMI8738, I'm using the |> snd_cmi_load="YES" in the /boot/loder.conf. |> I've tried set sysctl vars hw.snd.pcm0.vchans and |> hw.snd.maxautovchans, but nothing worked. |> |> The problem is associated only with skype. |> |> Any tips? |> | |What kind of problem? What FreeBSD version? | |Refer to http://people.freebsd.org/~ariff/BUG_REPORT . I need all that |informations first. | | |-- |Ariff Abdullah |FreeBSD | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dhclient-exit-hooks
On Wed, May 03, 2006 at 02:25:08PM -0400, fbsd wrote: > There is nothing to rebuild. > I am using the built in dhclient that comes with the system. But it's not dhclient that's emitting the error, is it? It's your MTA. (check in /etc/mail/mailer.conf, and you will see that send-mail is an alias for the binary of your MTA) Atom's suggestion is worth pursuing. Dan > > -Original Message- > From: Atom Powers [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 03, 2006 1:05 PM > To: [EMAIL PROTECTED] > Cc: Norbert Papke; freebsd-questions@freebsd.org > Subject: Re: dhclient-exit-hooks > > > On 5/3/06, fbsd <[EMAIL PROTECTED]> wrote: > > I changed #! /bin/sh to #!/bin/sh it had no effect. > > Logger command still not producing output. > > > > using sendmail to construct the email made no difference. > > Still get this message > > > > /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, > > required by "send-mail" > > > > Did you rebuild the package? > I have had a similar problem with, in my case, net-snmp. > Reinstalling > the port fixed it. > Something about statically linked libraries I think. > > > -- > -- > Perfection is just a word I use occasionally with mustard. > --Atom Powers-- > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpOzKIawEEOF.pgp Description: PGP signature
RE: dhclient-exit-hooks
There is nothing to rebuild. I am using the built in dhclient that comes with the system. -Original Message- From: Atom Powers [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 1:05 PM To: [EMAIL PROTECTED] Cc: Norbert Papke; freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On 5/3/06, fbsd <[EMAIL PROTECTED]> wrote: > I changed #! /bin/sh to #!/bin/sh it had no effect. > Logger command still not producing output. > > using sendmail to construct the email made no difference. > Still get this message > > /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, > required by "send-mail" > Did you rebuild the package? I have had a similar problem with, in my case, net-snmp. Reinstalling the port fixed it. Something about statically linked libraries I think. -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: wanted: hp-ux glance pendant
On Wed, 3 May 2006 19:09:12 +0200 "[EMAIL PROTECTED]@mgEDV.net" <[EMAIL PROTECTED]> wrote: > > > I'm not familiar with glance, but have a look at systat, specifically, > > the vmstat screen. > > well, thx for the hint. the tool indeed looks nice, and curious as i am, > i monitored some action with it. i started it with > "systat -vmstat 1 >/dev/ttyv9 &" > to get the output to a non-shelled terminal and watch the stats on another > screen. right now, the only process currently still working on the system > is the monitor tool itself: > > top output: > last pid: 51158; load averages: 1.12, 1.03, 1.01 > up 0+09:40:19 19:00:57 > 21 processes: 2 running, 19 sleeping > CPU states: 69.9% user, 0.0% nice, 30.1% system, 0.0% interrupt, 0.0% > idle > Mem: 297M Active, 1393M Inact, 137M Wired, 92M Cache, 104M Buf, 83M Free > Swap: 4096M Total, 500M Used, 3596M Free, 12% Inuse > > PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND > 60297 root1 1260 1816K 1256K RUN221:45 99.02% systat [snip] > is this normal? it will at least render the figures inaccurate, not? I wouldn't call that normal. Running systat doesn't cause anything like that kind of load on my system. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: wanted: hp-ux glance pendant
In the last episode (May 03), [EMAIL PROTECTED]@mgEDV.net said: > > I'm not familiar with glance, but have a look at systat, > > specifically, the vmstat screen. > > well, thx for the hint. the tool indeed looks nice, and curious as i > am, i monitored some action with it. i started it with > "systat -vmstat 1 >/dev/ttyv9 &" > to get the output to a non-shelled terminal and watch the stats on > another screen. right now, the only process currently still working > on the system is the monitor tool itself: > > top output: > PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND > 60297 root1 1260 1816K 1256K RUN221:45 99.02% systat > > is this normal? it will at least render the figures inaccurate, not? Systat doesn't like it if it has no stdin; adding a " http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports net-snmp to support 64-bit snmp counter
In the last episode (May 04), adrian kok said: > Dear Nelson > > Thank you for your mail > > Do you know and have experience how to solve this > Gigabit speed, net-snmp, and overflows issue? > > http://lists.ee.ethz.ch/mrtg/msg30587.html What I do instead of querying the servers directly, is query the switch ports they are plugged into. I use Cisco and HP switches and they have supported 64-bit SNMP counters for years. For servers attached to unmanaged switches, I poll their 32-bit counters every minute and accept that I can't graph very high traffic rates. -- 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]"
RE: wanted: hp-ux glance pendant
> I'm not familiar with glance, but have a look at systat, specifically, > the vmstat screen. well, thx for the hint. the tool indeed looks nice, and curious as i am, i monitored some action with it. i started it with "systat -vmstat 1 >/dev/ttyv9 &" to get the output to a non-shelled terminal and watch the stats on another screen. right now, the only process currently still working on the system is the monitor tool itself: top output: last pid: 51158; load averages: 1.12, 1.03, 1.01 up 0+09:40:19 19:00:57 21 processes: 2 running, 19 sleeping CPU states: 69.9% user, 0.0% nice, 30.1% system, 0.0% interrupt, 0.0% idle Mem: 297M Active, 1393M Inact, 137M Wired, 92M Cache, 104M Buf, 83M Free Swap: 4096M Total, 500M Used, 3596M Free, 12% Inuse PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 60297 root1 1260 1816K 1256K RUN221:45 99.02% systat 50917 root1 960 6088K 2348K select 0:00 0.00% sshd 284 root1 960 1284K 684K select 0:00 0.00% syslogd 50921 root1 960 6088K 2408K select 0:00 0.00% sshd 50920 root1 80 1712K 1232K wait 0:00 0.00% sh 590 root1 80 1304K 660K nanslp 0:00 0.00% cron 51109 root1 50 2016K 1740K ttyin0:00 0.00% vi 538 root1 960 1212K 440K select 0:00 0.00% usbd 50924 root1 80 1712K 1224K wait 0:00 0.00% sh 51158 root1 960 2268K 1524K RUN 0:00 0.00% top 581 root1 960 3356K 1328K select 0:00 0.00% sshd 51157 root1 50 1268K 904K ttyin0:00 0.00% getty 632 root1 50 1268K 464K ttyin0:00 0.00% getty 634 root1 50 1268K 464K ttyin0:00 0.00% getty 631 root1 50 1268K 464K ttyin0:00 0.00% getty 636 root1 50 1268K 464K ttyin0:00 0.00% getty 635 root1 50 1268K 464K ttyin0:00 0.00% getty 633 root1 50 1268K 464K ttyin0:00 0.00% getty 630 root1 50 1268K 464K ttyin0:00 0.00% getty 51107 root1 80 1712K 1268K wait 0:00 0.00% sh 256 root1 960 500K 284K select 0:00 0.00% devd is this normal? it will at least render the figures inaccurate, not? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dhclient-exit-hooks
On Wed, May 03, 2006 at 12:52:07PM -0400, fbsd wrote: > Added this and still no joy. > > # PROVIDE: 'dhclient-exit-hooks' > # REQUIRE: SERVERS I'm sure it won't fix the problem, but you shouldn't include the quotes around the term for # PROVIDE:. Also, I think the rcorder block needs a blank line before and after it to be parsed properly by rcorder at startup. > As a side bar. This problem started in 6.0 I think. > I only ran 5.4 for short time before going to 6.0 > But I do know I did not have this problem in 3.x and 4.x versions. If these suggestions don't help, I'm afraid I'm out of ideas, sorry. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgplzQ5ZtQpNf.pgp Description: PGP signature
Re: dhclient-exit-hooks
On 5/3/06, fbsd <[EMAIL PROTECTED]> wrote: I changed #! /bin/sh to #!/bin/sh it had no effect. Logger command still not producing output. using sendmail to construct the email made no difference. Still get this message /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "send-mail" Did you rebuild the package? I have had a similar problem with, in my case, net-snmp. Reinstalling the port fixed it. Something about statically linked libraries I think. -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports net-snmp to support 64-bit snmp counter
Dear Nelson Thank you for your mail Do you know and have experience how to solve this Gigabit speed, net-snmp, and overflows issue? http://lists.ee.ethz.ch/mrtg/msg30587.html Thank you again --- Dan Nelson <[EMAIL PROTECTED]> wrote: > In the last episode (May 03), adrian kok said: > > I am running freebsd 4.11 release and want to have > > net-snmp to support 64 bit counter > > FreeBSD's internal network counters are 32-bit, so > it won't help you. > > -- > 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]"
RE: dhclient-exit-hooks
Added this and still no joy. # PROVIDE: 'dhclient-exit-hooks' # REQUIRE: SERVERS As a side bar. This problem started in 6.0 I think. I only ran 5.4 for short time before going to 6.0 But I do know I did not have this problem in 3.x and 4.x versions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Bye Sent: Wednesday, May 03, 2006 12:22 PM To: Daniel Bye; freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On Wed, May 03, 2006 at 12:17:00PM -0400, fbsd wrote: > What goes in "your_script_service"? > Is it suppose to be script name dhclient-exit-hooks? Yes. Sorry, hadn't been paying due attention, otherwise I would have put 'dhclient-exit-hooks' ;-) > Is the # comment char to be removed? No - leave them in. Take a look at some of the scripts in /etc/rc.d/ and /usr/local/etc/rc.d/ Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with Broadcomm NIC - not recognized
Lowell Gilbert wrote: Paul Schmehl <[EMAIL PROTECTED]> writes: It's a dual boot machine. Windows XP recognizes the NIC just fine, but *not* with the default drivers that come with XP SP2. I had to install the drivers from Dell. Maybe there's something different about this NIC? Dell often does unexpectedly proprietary things like that, so it's possible. I think you may need the bce(4) driver rther than bge(4), but that is in the GENERIC kernel these days also. Hmm...bce *isn't* in the GENERIC kernel for i386 6.0 RELEASE. Is this a new driver? -- Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ smime.p7s Description: S/MIME Cryptographic Signature
Re: dhclient-exit-hooks
On Wed, May 03, 2006 at 12:17:00PM -0400, fbsd wrote: > What goes in "your_script_service"? > Is it suppose to be script name dhclient-exit-hooks? Yes. Sorry, hadn't been paying due attention, otherwise I would have put 'dhclient-exit-hooks' ;-) > Is the # comment char to be removed? No - leave them in. Take a look at some of the scripts in /etc/rc.d/ and /usr/local/etc/rc.d/ Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpkgbwkztiiG.pgp Description: PGP signature
Re: Problem with Broadcomm NIC - not recognized
Paul Schmehl <[EMAIL PROTECTED]> writes: > Yuan, Jue wrote: > > On Wednesday 03 May 2006 22:52, you wrote: > >> I'm trying to set up a new laptop, and I have an odd problem. The > >> laptop has a Broadcomm NetXtreme 57xx Gig Nic, and the install didn't > >> recognize it. The GENERIC kernel has support for the NIC (bge and > >> miibus), and I've done several installs on other hardware that detected > >> the NIC just fine, but this one doesn't. There's nothing in dmesg, and > >> ifconfig only shows lo0. > >> > >> How do I correct this problem? > > Does any other OS on this laptop could recognize the NIC ? Maybe it > > is > > a problem of hardware ;) > > > It's a dual boot machine. Windows XP recognizes the NIC just fine, > but *not* with the default drivers that come with XP SP2. I had to > install the drivers from Dell. > > Maybe there's something different about this NIC? Dell often does unexpectedly proprietary things like that, so it's possible. I think you may need the bce(4) driver rther than bge(4), but that is in the GENERIC kernel these days also. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: dhclient-exit-hooks
What goes in "your_script_service"? Is it suppose to be script name dhclient-exit-hooks? Is the # comment char to be removed? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Bye Sent: Wednesday, May 03, 2006 11:42 AM To: freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On Wed, May 03, 2006 at 08:07:39AM -0400, fbsd wrote: > I changed #! /bin/sh to #!/bin/sh it had no effect. > Logger command still not producing output. > > using sendmail to construct the email made no difference. > Still get this message > > /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, > required by "send-mail" Try putting something like this in your script file: # PROVIDE: your_script_service # REQUIRE: SERVERS If my understanding is correct, this should ensure that your script will not be called until after the dummy dependency SERVERS is run, which requires that ldconfig has already run. Note: not tested, not even sure it'll work, but it can't hurt to try. In any event, rcorder(8) might help. Dan > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Norbert > Papke > Sent: Tuesday, May 02, 2006 9:47 PM > To: [EMAIL PROTECTED] > Cc: freebsd-questions@freebsd.org > Subject: Re: dhclient-exit-hooks > > > On Tuesday 02 May 2006 06:12, fbsd wrote: > > IF I execute the cat command to issue the notification email > > from the command line it works fine, but when used in the > > script I get these messages during boot process. > > I am running postfix launched by the sendmail wrappers > > on a FreeBSD 6.0 system. > > > > "~/.mailrc": No match. > > Use sendmail(8) rather than mail(1). mail(1) expects to be run from > a user > session and looks for the user's preferences stored in the user's > ,mailrc > file. No user is available during the boot process. > > In your script, > > > #! /bin/sh > > Also, try removing the space between "#!" and "/bin/sh". It may be > causing > some weirdness. > ___ > 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]" > -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
(no subject)
I am on a cruise in Antarctica from April 11 to May 6 (http://www.hamilton.edu/news/exp/Antarctica/2006/index.html). If you need an urgent reply, please write me small-size messages (hence without attachments) to: [EMAIL PROTECTED] otherwise I will reply to this message after I am back. Ciao, Michele Sono in crociera in Antartide dall'11 Aprile al 6 Maggio (http://www.hamilton.edu/news/exp/Antarctica/2006/index.html). Se avete bisogno di una risposta urgente, per favore scrivetemi brevi messaggi (senza allegati) a: [EMAIL PROTECTED] altrimenti rispondero' a questo mesaggio quando ritorno. Ciao, Michele --- Your mail concerning "Returned mail: Data format error" will be read when I'm back. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports net-snmp to support 64-bit snmp counter
In the last episode (May 03), adrian kok said: > I am running freebsd 4.11 release and want to have > net-snmp to support 64 bit counter FreeBSD's internal network counters are 32-bit, so it won't help you. -- 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]"
Re: Recovering Squirrelmail settings
On Wed, 3 May 2006, Iantcho Vassilev wrote: I think they are pushed in the Mysql... If squirrelmail is configured to save data to MySQL yes but, that dosen't happen by default. /e -- http://hostname.nu/~emil ___ 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 Broadcomm NIC - not recognized
Yuan, Jue wrote: On Wednesday 03 May 2006 22:52, you wrote: I'm trying to set up a new laptop, and I have an odd problem. The laptop has a Broadcomm NetXtreme 57xx Gig Nic, and the install didn't recognize it. The GENERIC kernel has support for the NIC (bge and miibus), and I've done several installs on other hardware that detected the NIC just fine, but this one doesn't. There's nothing in dmesg, and ifconfig only shows lo0. How do I correct this problem? Does any other OS on this laptop could recognize the NIC ? Maybe it is a problem of hardware ;) It's a dual boot machine. Windows XP recognizes the NIC just fine, but *not* with the default drivers that come with XP SP2. I had to install the drivers from Dell. Maybe there's something different about this NIC? -- Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ smime.p7s Description: S/MIME Cryptographic Signature
Re: how get "/var/db/pkg"?
Tom Grove writes: > If you haven't run locate since you delete /var/db/pkg you could run: > > locate "/var/db/pkg" > > This will at least give you a partial (maybe a full) listing of > everything you have installed. From there you could do a script that > does something like: > > for $program in > pkg_delete $program > pkg_add $program > > Just a thought Try: locate "/var/db/pkg" | awk '{FS = "\/\\+.*$"} {print $1}' | \ awk '{FS = "/$"} {print $1}' | sort -u This will reduce the output to one line per package. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Recovering Squirrelmail settings
I think they are pushed in the Mysql... Search for that. On 5/3/06, Jonathan Horne <[EMAIL PROTECTED]> wrote: :( well, i searched again, and this time squirrelmail.org produced what i hoped i wouldnt find. in my rebuild, i did recover my /usr/local/www/squirrelmail folder, and the main config is in there. i checked my recovered config, and it said that my user settings were stored in /var/spool/squirrelmail. oops. oh well, ive updated my backup script, and i guess next time ill be able to recover my addressbooks and other user settings. :) cheers, jonathan > On Wed, 3 May 2006 08:28:44 -0500 (CDT) > "Jonathan Horne" <[EMAIL PROTECTED]> wrote: > >> i did a full reinstall of my server yesterday, and about the only thing >> i >> did not correctly recover, was my squirrelmail settings/address books. >> where is this information stored? im unable to find what im looking for >> on the squirrelmail.org website. >> >> can someone point me in the right direction? hopefully the data i need >> will be amongst the things i was backing up. > > IIRC, Squirrelmail keeps its config in a PHP file with the rest of > the PHP scripts that make up the program. With the FreeBSD port, > this ends up somewhere in /usr/local/www. > > Which breaks hier ... but that's for another day and another patch ... > > -- > Bill Moran > Collaborative Fusion Inc. > > > IMPORTANT: This message contains confidential information and is > intended only for the individual named. If the reader of this > message is not an intended recipient (or the individual > responsible for the delivery of this message to an intended > recipient), please be advised that any re-use, dissemination, > distribution or copying of this message is prohibited. Please > notify the sender immediately by e-mail if you have received > this e-mail by mistake and delete this e-mail from your system. > E-mail transmission cannot be guaranteed to be secure or > error-free as information could be intercepted, corrupted, lost, > destroyed, arrive late or incomplete, or contain viruses. The > sender therefore does not accept liability for any errors or > omissions in the contents of this message, which arise as a > result of e-mail transmission. > > ___ > 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: dhclient-exit-hooks
On Wed, May 03, 2006 at 08:07:39AM -0400, fbsd wrote: > I changed #! /bin/sh to #!/bin/sh it had no effect. > Logger command still not producing output. > > using sendmail to construct the email made no difference. > Still get this message > > /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, > required by "send-mail" Try putting something like this in your script file: # PROVIDE: your_script_service # REQUIRE: SERVERS If my understanding is correct, this should ensure that your script will not be called until after the dummy dependency SERVERS is run, which requires that ldconfig has already run. Note: not tested, not even sure it'll work, but it can't hurt to try. In any event, rcorder(8) might help. Dan > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Norbert > Papke > Sent: Tuesday, May 02, 2006 9:47 PM > To: [EMAIL PROTECTED] > Cc: freebsd-questions@freebsd.org > Subject: Re: dhclient-exit-hooks > > > On Tuesday 02 May 2006 06:12, fbsd wrote: > > IF I execute the cat command to issue the notification email > > from the command line it works fine, but when used in the > > script I get these messages during boot process. > > I am running postfix launched by the sendmail wrappers > > on a FreeBSD 6.0 system. > > > > "~/.mailrc": No match. > > Use sendmail(8) rather than mail(1). mail(1) expects to be run from > a user > session and looks for the user's preferences stored in the user's > ,mailrc > file. No user is available during the boot process. > > In your script, > > > #! /bin/sh > > Also, try removing the space between "#!" and "/bin/sh". It may be > causing > some weirdness. > ___ > 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]" > -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpg8lWu8kCaE.pgp Description: PGP signature
Re: Problem with Broadcomm NIC - not recognized
On Wednesday 03 May 2006 22:52, you wrote: > I'm trying to set up a new laptop, and I have an odd problem. The > laptop has a Broadcomm NetXtreme 57xx Gig Nic, and the install didn't > recognize it. The GENERIC kernel has support for the NIC (bge and > miibus), and I've done several installs on other hardware that detected > the NIC just fine, but this one doesn't. There's nothing in dmesg, and > ifconfig only shows lo0. > > How do I correct this problem? Does any other OS on this laptop could recognize the NIC ? Maybe it is a problem of hardware ;) -- Best Regards Yuan, Jue @ www.yuanjue.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ports net-snmp to support 64-bit snmp counter
Hi All I am running freebsd 4.11 release and want to have net-snmp to support 64 bit counter I deinstall the net-snmp but don't know how to re-complie the port to support --enable-mfd-rewrites I changed the Makefile and recomplied it and it doesn't work snmpwalk -v 2c -c x localhost ifHighSpeed IF-MIB::ifHighSpeed = No Such Object available on this agent at this OID Thank you for your help CONFIGURE_ARGS+=--enable-shared --enable-internal-md5 \ --enable-mfd-rewrites \ --with-mib-modules="${_NET_SNMP_MIB_MODULES}" \ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem with Broadcomm NIC - not recognized
I'm trying to set up a new laptop, and I have an odd problem. The laptop has a Broadcomm NetXtreme 57xx Gig Nic, and the install didn't recognize it. The GENERIC kernel has support for the NIC (bge and miibus), and I've done several installs on other hardware that detected the NIC just fine, but this one doesn't. There's nothing in dmesg, and ifconfig only shows lo0. How do I correct this problem? -- Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ smime.p7s Description: S/MIME Cryptographic Signature
how to write a bpf filter to receive all packets?
is that? struct bpf_insn insns[] = { BPF_STMT(BPF_RET+BPF_K, (u_int)-1), }; but I can not receive any packet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how get "/var/db/pkg"?
Robert Huff wrote: xiang writes: Today,i run "pkgdb -F",but get a error message:"you do not own /var/db/pkg",becouse i had delete /var/db/pkg by oversight just the other day. how can i do now? If you have deleted all contents of /var/db/pkg, and you don't have a backup, you're screwed. You'll have to reinstall every to rebuild the db. If, however, you just deleted pkgdb.db then "pkgdb -U" will repopulate it. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" If you haven't run locate since you delete /var/db/pkg you could run: locate "/var/db/pkg" This will at least give you a partial (maybe a full) listing of everything you have installed. From there you could do a script that does something like: for $program in pkg_delete $program pkg_add $program Just a thought -Tom Grove ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portsnap cannot change its default WORKDIR ?
On Tuesday 07 March 2006 15:17, [EMAIL PROTECTED] wrote: > -On 3/6/06, Yuan Jue <[EMAIL PROTECTED]> wrote: > > Hi, all > > > > I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is > > really much faster than CVSUp. But there is one question that bother me: > > I cannot change the WORKDIR that portsnap use. > > > > I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but > > when using 'portsnap fetch', the download files still store > > in /var/db/portsnap. > > > > Any suggestions about this? Thanks in advance! > > > > My /etc/portsnap.conf is as follows: > > > > # $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva > > Exp $ > > > > # Default directory where compressed snapshots are stored. > > WORKDIR=/usr/local/portsnap > > Well, it's doesn't seem broken here and mine is exactly like yours. > Are you using portsnap from the base distro or from the ports tree? > I was under the impression that portsnap from ports used > /usr/local/etc/portsnap.conf so you may try copying your > /etc/portsnap.conf there and see if that fixes something or any- > thing. > OK. I found the trick finally ;) There is a needless space before 'WORKDIR', which makes portsnap cannot read this line correctly. Now it works fine for me :-) -- Best Regards Yuan, Jue @ www.yuanjue.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: backup system rsync <-> dump
With the right settings of --backup --backup-dir you can easily create a week (or two or three or whatever) archive of the "daily" changed files. So, for example.. /backup/usr - contains identical copy /backup/dailys/usr/Mon - contains files that changed on /usr on Monday. Then just set things up to rotate/expire the old copies and you have an easy way to get files back you deleted that you didn't mean to. I can post the whole script if you're interested... -philip Philip: I would be very interested in seeing your script if you would kindliy post it. http://www.pjkh.com/~philip/backups.tgz Pretty straight forward. Set your directories in files.sh, create 'server' directories in servers and define what files/directories to include/exclude. Then run the script... -philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Clamav Install failed
> RESOLVED: > None of these were a problem, so I opened the firewall and all is well. > In spite of the following ipf rules it would not go: > > pass out quick on dc0 proto tcp from any to any port = 21 flags S keep > state > pass out quick on dc0 proto tcp from any to any port = 22 flags S keep > state > > Do I need matching pass in rules for ports 21 and 22? > I think you mean port 20 right? I believe 20 is the control port for FTP. 22 is for ssh. =) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how get "/var/db/pkg"?
xiang writes: > Today,i run "pkgdb -F",but get a error message:"you do not own > /var/db/pkg",becouse i had delete /var/db/pkg by oversight just > the other day. > > how can i do now? If you have deleted all contents of /var/db/pkg, and you don't have a backup, you're screwed. You'll have to reinstall every to rebuild the db. If, however, you just deleted pkgdb.db then "pkgdb -U" will repopulate it. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ipfirewall tricks
On 2006-05-02 20:41, Atom Powers <[EMAIL PROTECTED]> wrote: >On 5/2/06, Bryan Curl <[EMAIL PROTECTED]> wrote: >>I want to limit time my kids spend on the internet. >>The way I am doing it is to make varying, seperate ipf.rules files and >>install them from cron at the appropriate time. >>Problem is, if I make a change to one file, I generally have to update all >>the others accordingly. >> >>Is there a better way? I have read man ipf but didnt come out with any >>ideas. > > I would use pf and have something like this: > > pf.conf > > block out all from to any > > > crontab > > pfctl -t kids -T add kids.ip.to.block > pfctl -t kids -T del kids.ip.to.allow > > > You can also keep the IPs in a flat file and just tell pf to re-read > the file (or read a different file) to update the table. Ah, neat trick. This is exactly why tables are so cool :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nubie question - Ports - Ruby 1.8.4
On Wed, May 03, 2006 at 09:03:58AM -0500, Zimmerman, Eric wrote: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:owner-freebsd- > > [EMAIL PROTECTED] On Behalf Of Daniel Bye > > Sent: Tuesday, May 02, 2006 5:25 PM > > To: freebsd-questions@freebsd.org > > Subject: Re: nubie question - Ports - Ruby 1.8.4 > > > > On Tue, May 02, 2006 at 05:52:14PM -0400, Bakki Kudva wrote: > > > FIXED! I have Ruby 1.8.4 in my tree now. > > > > > > I had not done... > > > # portsnap extract > > > > > I recommend you check out portmanager as well. Makes dealing with port > upgrades including all dependencies MUCH easier! Agreed. Portmanager is one of the first things I install on any new machine. Very simple to use, and not prone to all the 'my pkgdb got broke' funkiness so often associated with portupgrade. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpHgZowqbCaB.pgp Description: PGP signature
Re: Recovering Squirrelmail settings
:( well, i searched again, and this time squirrelmail.org produced what i hoped i wouldnt find. in my rebuild, i did recover my /usr/local/www/squirrelmail folder, and the main config is in there. i checked my recovered config, and it said that my user settings were stored in /var/spool/squirrelmail. oops. oh well, ive updated my backup script, and i guess next time ill be able to recover my addressbooks and other user settings. :) cheers, jonathan > On Wed, 3 May 2006 08:28:44 -0500 (CDT) > "Jonathan Horne" <[EMAIL PROTECTED]> wrote: > >> i did a full reinstall of my server yesterday, and about the only thing >> i >> did not correctly recover, was my squirrelmail settings/address books. >> where is this information stored? im unable to find what im looking for >> on the squirrelmail.org website. >> >> can someone point me in the right direction? hopefully the data i need >> will be amongst the things i was backing up. > > IIRC, Squirrelmail keeps its config in a PHP file with the rest of > the PHP scripts that make up the program. With the FreeBSD port, > this ends up somewhere in /usr/local/www. > > Which breaks hier ... but that's for another day and another patch ... > > -- > Bill Moran > Collaborative Fusion Inc. > > > IMPORTANT: This message contains confidential information and is > intended only for the individual named. If the reader of this > message is not an intended recipient (or the individual > responsible for the delivery of this message to an intended > recipient), please be advised that any re-use, dissemination, > distribution or copying of this message is prohibited. Please > notify the sender immediately by e-mail if you have received > this e-mail by mistake and delete this e-mail from your system. > E-mail transmission cannot be guaranteed to be secure or > error-free as information could be intercepted, corrupted, lost, > destroyed, arrive late or incomplete, or contain viruses. The > sender therefore does not accept liability for any errors or > omissions in the contents of this message, which arise as a > result of e-mail transmission. > > ___ > 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: nubie question - Ports - Ruby 1.8.4
> -Original Message- > From: [EMAIL PROTECTED] [mailto:owner-freebsd- > [EMAIL PROTECTED] On Behalf Of Daniel Bye > Sent: Tuesday, May 02, 2006 5:25 PM > To: freebsd-questions@freebsd.org > Subject: Re: nubie question - Ports - Ruby 1.8.4 > > On Tue, May 02, 2006 at 05:52:14PM -0400, Bakki Kudva wrote: > > FIXED! I have Ruby 1.8.4 in my tree now. > > > > I had not done... > > # portsnap extract > > I recommend you check out portmanager as well. Makes dealing with port upgrades including all dependencies MUCH easier! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Soekris NET4801 Hang Ups
I have had a net4801 running as a router at a branch office doing basic routing stuff...this packet comes in from here go there. I'm running 6.0-Release on it and it seems to work wonderfully but about once a month it just hangs. No response from anything and the only way to bring it back is to pull the power and plug it back in. I'm including the dmesg and would like any help regarding this. Nothing in the logs seems to help so, hopefully someone here can shed some light. ## ##START DMESG## ## Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE #0: Mon Jan 23 15:21:47 EST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/NET4801 WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Geode(TM) Integrated Processor by National Semi (266.68-MHz 586-class CPU) Origin = "Geode by NSC" Id = 0x540 Stepping = 0 Features=0x808131 real memory = 134217728 (128 MB) avail memory = 126115840 (120 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 sis0: port 0xe100-0xe1ff mem 0xa000-0xafff irq 10 at device 6.0 on pci0 sis0: Silicon Revision: DP83816A miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:00:24:c5:6e:68 sis0: [GIANT-LOCKED] sis1: port 0xe200-0xe2ff mem 0xa0001000-0xa0001fff irq 10 at device 7.0 on pci0 sis1: Silicon Revision: DP83816A miibus1: on sis1 ukphy1: on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis1: Ethernet address: 00:00:24:c5:6e:69 sis1: [GIANT-LOCKED] sis2: port 0xe300-0xe3ff mem 0xa0002000-0xa0002fff irq 10 at device 8.0 on pci0 sis2: Silicon Revision: DP83816A miibus2: on sis2 ukphy2: on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis2: Ethernet address: 00:00:24:c5:6e:6a sis2: [GIANT-LOCKED] Geode GPIO@ = 6100 Geode Soekris net4801 comBIOS ver. 1.28 20050529 Copyright (C) 2000-2005 isab0: port 0x6100-0x613f,0x6200-0x623f at device 18.0 on pci0 isa0: on isab0 pci0: at device 18.1 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 18.2 on pci0 ata0: on atapci0 ata1: on atapci0 Geode CBA@ 0x6000 Geode rev: 06 03 Timecounter "Geode" frequency 2700 Hz quality 1000 pci0: at device 18.5 (no driver attached) pci0: at device 19.0 (no driver attached) pmtimer0 on isa0 orm0: at iomem 0xc8000-0xd0fff on isa0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing. ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to accept, logging disabled ad0: 976MB at ata0-master PIO4 Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted ## ###END DMESG### ## -Tom Grove ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can't boot kern.flp on thinkpad 750
Don't really think so. http://www.freebsd.org/cgi/query-pr.cgi?pr=32830 On 5/3/06, Chris Howells <[EMAIL PROTECTED]> wrote: Andy Greenwood wrote: > I'm trying to install 4.11 on an old IBM Thinkpad 750, but can't get > the kern.flp disk to boot. I know that the floppy drive on this > machine isn't exactly standard (it's a 2.88M drive, if that makes a > difference), but I'm not sure what the differences are. In any case, > when it tries to load the kernel from the floppy, I get this output.. > > Disk error 0x4 (lba=0x38) Likely a faulty disk or drive. ___ 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]"
QUARANTINED: Returned mail: see transcript for details
The message "Returned mail: see transcript for details" from , sent on 5/3/2006 12:33 was quarantined because it contained either an executable file, a batch file or a screen saver file. All of these types of attachments are considered security risks. Please consult your mail administrator who can release the message. This message was checked by MailScan for WorkgroupMail. www.workgroupmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Recovering Squirrelmail settings
On Wed, 3 May 2006 08:28:44 -0500 (CDT) "Jonathan Horne" <[EMAIL PROTECTED]> wrote: > i did a full reinstall of my server yesterday, and about the only thing i > did not correctly recover, was my squirrelmail settings/address books. > where is this information stored? im unable to find what im looking for > on the squirrelmail.org website. > > can someone point me in the right direction? hopefully the data i need > will be amongst the things i was backing up. IIRC, Squirrelmail keeps its config in a PHP file with the rest of the PHP scripts that make up the program. With the FreeBSD port, this ends up somewhere in /usr/local/www. Which breaks hier ... but that's for another day and another patch ... -- Bill Moran Collaborative Fusion Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"