Re: CPU temp's on core 2 duo, should they be significantly different?

2008-06-24 Thread Frank Shute
On Mon, Jun 23, 2008 at 09:49:16PM -0700, George Hartzell wrote:

 Frank Shute writes:
   [...]
   My top on 7.0 says CPU states: not CPU:
   
   Are you sure you're running on 2 cores?
   
   dmesg will tell you and top will have a C column with 0 or 1 in it.
   
   If you're running on one core, it will explain the temperature
   discrepancy.
 
 I'm almost certain that I'm running on 2 cores.
 
 My /usr/bin/top says that it's version: 
 
top: version 3.5beta12

Same as mine!?! I'm running:

$ uname -rms

FreeBSD 7.0-RELEASE amd64

 
 It does the a C column with 0 and 1.
 
 I created a big file full of random data and bzip'd it.
 
 One copy of the file took 20 seconds.  Two copies, two processes ran
 in 20 seconds each.  Three copies, three processes too 32 seconds.
 
 Tops tells me that some things are running on CPU0 and others are on
 CPU1.
 
 My config file is a copy of GENERIC and includes 'options SMP'.  As
 the machine boots it talks about finding both CPUS.
 
 Here's the config file:
 
   http://shrimp.alerce.com/bluetoo-info/BLUETOO.txt
 
 Here's the verbose dmesg:
 
  http://shrimp.alerce.com/bluetoo-info/dmesg.verbose.txt
 
 and my rc.conf:
 
  http://shrimp.alerce.com/bluetoo-info/rc.conf.txt
 
 and here's top:
 
   last pid:  1650;  load averages:  0.00,  0.04,  0.11up 
 0+02:43:22  21:47:06
   51 processes:  1 running, 50 sleeping
   CPU:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
   Mem: 22M Active, 518M Inact, 200M Wired, 214M Buf, 3189M Free
   Swap: 4063M Total, 4063M Free
   
 PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 861 root  1  440  5688K  1148K select 1   0:01  0.00% powerd
1336 hartzell  1  440 33756K  4608K select 0   0:00  0.00% sshd
 980 root  1  440 73860K  7192K select 1   0:00  0.00% httpd
 854 root  1  440  9432K  2284K select 1   0:00  0.00% ntpd
1338 hartzell  1  200 10100K  3060K pause  1   0:00  0.00% tcsh
 921 root  1   80  4600K   972K nanslp 1   0:00  0.00% svscan
1019 root  1  440 10696K  3868K select 1   0:00  0.00% sendmail
 900 root  1  440 13416K  2772K select 1   0:00  0.00% nmbd
1104 hartzell  1   50 10100K  2752K ttyin  0   0:00  0.00% tcsh
 943 dnscache  1  440  5624K  2368K select 1   0:00  0.00% dnscache
1333 root  1   40 33756K  4544K sbwait 1   0:00  0.00% sshd
 733 root  1  440  5688K  1368K select 1   0:00  0.00% syslogd
 942 root  1  440  6624K  1560K select 1   0:00  0.00% atalkd
 971 avahi 1  440 15652K  2580K select 1   0:00  0.00% 
 avahi-daemon
 804 root  1  960  4604K  1424K select 0   0:00  0.00% nfsd
1092 root  1   80 20440K  1896K wait   1   0:00  0.00% login
   
 g.

Well, it certainly seems that you're running on 2 cores so that blows
that theory out of the water :)

My next theory is that cpu0 is reporting too high a figure because
it's got a busted or miscalibrated thermistor (or whatever they use).

My machine reports cpu core temps of 22  24 respectively. That's
hovering about room temperature with powerd enabled and a virtually
idle machine.

For the record, I've got a Core 2 Duo E6550 2.33GHZ.

Another possibility, is that coretemp has a bug in it triggered by
your particular CPU. I think the broken temp sensor is more likely
though.

I don't know if your BIOS records the core temps. If not, it will
probably record the CPU temp in which case compare with your coretemp
temperatures. That may or may not cast some light on things and
whether you have to worry about the machine shutting down due to too
high a CPU temperature being erroneously recorded.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


Re: Installation error. Command returned status 36

2008-06-24 Thread Viacheslav Chumushuk
Thanks for help, guys. I'll try this way at the evening (GT +2).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-questions Digest, Vol 221, Issue 4

2008-06-24 Thread DA Forsyth
On 23 Jun 2008 , [EMAIL PROTECTED] entreated 
about
 freebsd-questions Digest, Vol 221, Issue 4:

 Message: 26
 Date: Mon, 23 Jun 2008 23:46:58 +0100
 Subject: Re: CPU temp's on core 2 duo,should they be significantly
   different?
 
 On Mon, Jun 23, 2008 at 01:52:07PM -0700, George Hartzell wrote:
 
  Josh Carroll writes:
[...]
I'd recommend taking the heat sink off and seeing how the thermal
[]
CPU package.
  
dev.cpu.0.temperature: 44
dev.cpu.1.temperature: 28
  
 
 My top on 7.0 says CPU states: not CPU:
 
 Are you sure you're running on 2 cores?
 
 dmesg will tell you and top will have a C column with 0 or 1 in it.

like this
  PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU 
COMMAND
31856 root  1  960  8884K  4864K select 1   2:52  0.00% 
snmpd
  861 mysql10  960 67768K 21704K ucond  0   0:31  0.00% 
mysqld
  879 mailman   1  960 10996K  7564K select 0   0:22  0.00% 
python2.5
  875 mailman   1  960 10996K  7184K select 0   0:21  0.00% 
python2.5
  877 mailman   1  960 10996K  7560K select 1   0:21  0.00% 
python2.5

dmesg should contain stuff like this (dmesg | grep -i cpu)
CPU: Intel(R) Core(TM)2 CPU  6300  @ 1.86GHz (1868.55-MHz 686-
class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
cpu0: ACPI CPU on acpi0
est0: Enhanced SpeedStep Frequency Control on cpu0
p4tcc0: CPU Frequency Thermal Control on cpu0
cpu1: ACPI CPU on acpi0
est1: Enhanced SpeedStep Frequency Control on cpu1
p4tcc1: CPU Frequency Thermal Control on cpu1
SMP: AP CPU #1 Launched!

since I started monitoring yesterday, my cores are within 1 degree of 
each other all the time, server running apache + samba + exim, mainly 
as file and print server.

PS: I cannot find any man pages for est() and p4tcc()
The man page for acpi_thermal says it is part of 'device acpi' which 
is loading, but is not finding anything thermal on this motherboard.

 If you're running on one core, it will explain the temperature
 discrepancy.


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


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


Re: Opera's javascript time is off

2008-06-24 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Camilo Reyes wrote:
| All, for some reason when javascript posts the current system time inside
| of Opera, it reports it as being off by one hour. For example, when I use
| gmail chat; the time is off by one hour. Any reason that could be causing
| this odd behaviour? I've looked around the Opera site and there is nothing
| mentioned there; it's as if the javascript was using the wrong time zone.

Is your timezone UTC+1 or UTC-1? I see the same behavior here.
It seems that getTimezoneOffset() has a problem with Opera.

Try this out:
script language=JavaScript
~var d = new Date();
~document.write(d.getHours() + : + d.getMinutes() + : +
d.getSeconds());
~document.write(br/Offset:  + d.getTimezoneOffset() / 120);
/script

In Firefox:
9:36:32
Offset: -1

In Opera:
7:36:18
Offset: 0

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


- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhgpHsACgkQwMJqmJVx946cBgCg2ZT1dam3MLJUGt7w4OZDrKwR
wEkAoKyNEPV2c4nRNViueIZ6TaQzq/Li
=ZQ2E
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange Out of disk space

2008-06-24 Thread Artem Kuchin

Nejc Škoberne ?:

Hey,


My guess is that something has mmap-ed a HUGE chunk of
disk space. If I reboot the space is freed.


Much more likely is that some program has deleted a large file, while 
still holding it open. Usual suspect is some kind of log file,

or temporary file.


Then I just did mdconfig -d -u /dev/md4 and everything is OK now:

/dev/mirror/gm0s1f 112291390 46935874 56372206 45% /usr

Hope that it maybe helps. :)


Unfortunatelly no, it does not. I don't have md at all, but reboot 
always solves the problem and i still have

no idea how to look at what's eating the disk space.

--
Artem


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


Re: Strange Out of disk space

2008-06-24 Thread Peter Boosten

Artem Kuchin wrote:


Unfortunatelly no, it does not. I don't have md at all, but reboot 
always solves the problem and i still have

no idea how to look at what's eating the disk space.



fstat shows all (amongst other things) open files (actually inode numbers)

Peter

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


Re: Patch Failures during Portupgrade

2008-06-24 Thread Warren Liddell
On Monday 23 June 2008 18:03:34 Odhiambo Washington wrote:
 On Mon, Jun 23, 2008 at 8:32 AM, Warren Liddell [EMAIL PROTECTED] wrote:
  Below is the hunk of ports that continually fail to upgrade due to
  problems with patching. i use the command portupgrade -aDkp -m BATCH=yes
 
  Any assistance with this greatly appreciated.

 Do you have the latest ports tree (via cvsup or csup)?


It appeard as though my entire ports structure was hosed, so i rm'd it and 
re-sup the entire lot and everything works fine now.  tnxs to all for 
suggestions and assitance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portsclean -L question

2008-06-24 Thread Ghirai
After upgrading couple ports, i get this output with portsclean (sorry for the 
big paste):

ghirai# portsclean -L
** /usr/local/lib/libcharset.so.1 is shadowed by /usr/X11R6/lib/libcharset.so.1
/usr/X11R6/lib/libcharset.so.1  - libiconv-1.11_1
/usr/local/lib/libcharset.so.1  - libiconv-1.11_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libiconv.so.3 is shadowed by /usr/X11R6/lib/libiconv.so.3
/usr/X11R6/lib/libiconv.so.3- libiconv-1.11_1
/usr/local/lib/libiconv.so.3- libiconv-1.11_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libgettextpo.so.4 is shadowed by 
/usr/X11R6/lib/libgettextpo.so.4
/usr/X11R6/lib/libgettextpo.so.4- gettext-0.17_1
/usr/local/lib/libgettextpo.so.4- gettext-0.17_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libgmodule-2.0.so.0 is shadowed by 
/usr/X11R6/lib/libgmodule-2.0.so.0
/usr/X11R6/lib/libgmodule-2.0.so.0  - glib-2.16.3_1
/usr/local/lib/libgmodule-2.0.so.0  - glib-2.16.3_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libpcre.so.0 is shadowed by /usr/X11R6/lib/libpcre.so.0
/usr/X11R6/lib/libpcre.so.0 - pcre-7.7
/usr/local/lib/libpcre.so.0 - pcre-7.7
 -- Two packages install the same library in different directories!

** /usr/local/lib/libpcreposix.so.0 is shadowed by 
/usr/X11R6/lib/libpcreposix.so.0
/usr/X11R6/lib/libpcreposix.so.0- pcre-7.7
/usr/local/lib/libpcreposix.so.0- pcre-7.7
 -- Two packages install the same library in different directories!

** /usr/local/lib/libpcrecpp.so.0 is shadowed by /usr/X11R6/lib/libpcrecpp.so.0
/usr/X11R6/lib/libpcrecpp.so.0  - pcre-7.7
/usr/local/lib/libpcrecpp.so.0  - pcre-7.7
 -- Two packages install the same library in different directories!

** /usr/local/lib/libgthread-2.0.so.0 is shadowed by 
/usr/X11R6/lib/libgthread-2.0.so.0
/usr/X11R6/lib/libgthread-2.0.so.0  - glib-2.16.3_1
/usr/local/lib/libgthread-2.0.so.0  - glib-2.16.3_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libgobject-2.0.so.0 is shadowed by 
/usr/X11R6/lib/libgobject-2.0.so.0
/usr/X11R6/lib/libgobject-2.0.so.0  - glib-2.16.3_1
/usr/local/lib/libgobject-2.0.so.0  - glib-2.16.3_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libgio-2.0.so.0 is shadowed by /usr/X11R6/lib/libgio-2.0.so.0
/usr/X11R6/lib/libgio-2.0.so.0  - glib-2.16.3_1
/usr/local/lib/libgio-2.0.so.0  - glib-2.16.3_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libslang.so.2 is shadowed by /usr/X11R6/lib/libslang.so.2
/usr/X11R6/lib/libslang.so.2- libslang2-2.1.3
/usr/local/lib/libslang.so.2- libslang2-2.1.3
 -- Two packages install the same library in different directories!

** /usr/local/lib/libfam.so.0 is shadowed by /usr/X11R6/lib/libfam.so.0
/usr/X11R6/lib/libfam.so.0  - gamin-0.1.9_2
/usr/local/lib/libfam.so.0  - gamin-0.1.9_2
 -- Two packages install the same library in different directories!

** /usr/local/lib/libaspell.so.16 is shadowed by /usr/X11R6/lib/libaspell.so.16
/usr/X11R6/lib/libaspell.so.16  - aspell-0.60.6_2
/usr/local/lib/libaspell.so.16  - aspell-0.60.6_2
 -- Two packages install the same library in different directories!

** /usr/local/lib/libexpat.so.6 is shadowed by /usr/X11R6/lib/libexpat.so.6
/usr/X11R6/lib/libexpat.so.6- expat-2.0.1
/usr/local/lib/libexpat.so.6- expat-2.0.1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libapr-1.so.3 is shadowed by /usr/X11R6/lib/libapr-1.so.3
/usr/X11R6/lib/libapr-1.so.3- apache-2.2.9
/usr/local/lib/libapr-1.so.3- apache-2.2.9
 -- Two packages install the same library in different directories!

** /usr/local/lib/libaprutil-1.so.3 is shadowed by 
/usr/X11R6/lib/libaprutil-1.so.3
/usr/X11R6/lib/libaprutil-1.so.3- apache-2.2.9
/usr/local/lib/libaprutil-1.so.3- apache-2.2.9
 -- Two packages install the same library in different directories!

** /usr/local/lib/libsasl2.so.2 is shadowed by /usr/X11R6/lib/libsasl2.so.2
/usr/X11R6/lib/libsasl2.so.2- cyrus-sasl-2.1.22
/usr/local/lib/libsasl2.so.2- cyrus-sasl-2.1.22
 -- Two packages install the same library in different directories!

** /usr/local/lib/libdb41.so.1 is shadowed by /usr/X11R6/lib/libdb41.so.1
/usr/X11R6/lib/libdb41.so.1 - db41-4.1.25_4
/usr/local/lib/libdb41.so.1 - db41-4.1.25_4
 -- Two packages install the same library in different directories!

** /usr/local/lib/libdb41_cxx.so.1 is shadowed by 
/usr/X11R6/lib/libdb41_cxx.so.1

Re: core Dumb during CVSUP

2008-06-24 Thread Lowell Gilbert
Warren Liddell [EMAIL PROTECTED] writes:

 I have up untill recently been able to do cvsup np's at all, now all of a
 sudden it core dumps, any thoughts welcome..

 Connecting to cvsup.au.freebsd.org
 Connected to cvsup.au.freebsd.org
 Server software version: SNAP_16_1h
 Negotiating file attribute support
 Exchanging collection information
 Establishing multiplexed-mode data connection
 Running
 Bus error (core dumped) 

What did you change since it worked?
Are you seeing core dumps on anything else?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade dependency loop

2008-06-24 Thread Lowell Gilbert
DA Forsyth [EMAIL PROTECTED] writes:

 How do I fix this?

 ===   Registering installation for horde-base-3.2_3
 pkg_create: dependency loop detected for package pear-Auth-1.6.1
 pkg_create: dependency loop detected for package pear-Auth_SASL-1.0.2
 pkg_create: dependency loop detected for package pear-Net_SMTP-1.3.1

 I tried doing a 'pkgdb -F' and removing the dependencies in the loop, 
 but they just get rebuilt.

Start by updating your ports tree again.  You may have hit a transient
issue with the dependencies in the actual makefiles.  Probably not,
but it's worth checking before trying to understand what's really
happening.  

If I can let the machine alone for a while, I will generally rebuild
all the ports in the dependency tree for the problem.  Getting this
accurate usually requires examining the ports by hand.  Removing all
of those ports and rebuilding them to pick up the dependency
information in order will usually work, but takes the functionality
offline for longer.

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


Re: core Dumb during CVSUP

2008-06-24 Thread Warren Liddell
On Tuesday 24 June 2008 21:51:09 Lowell Gilbert wrote:
 Warren Liddell [EMAIL PROTECTED] writes:
  I have up untill recently been able to do cvsup np's at all, now all of a
  sudden it core dumps, any thoughts welcome..
 
  Connecting to cvsup.au.freebsd.org
  Connected to cvsup.au.freebsd.org
  Server software version: SNAP_16_1h
  Negotiating file attribute support
  Exchanging collection information
  Establishing multiplexed-mode data connection
  Running
  Bus error (core dumped)

 What did you change since it worked?
 Are you seeing core dumps on anything else?

CORE dumps using cvsup still occur, so im presuming im always going ot have to 
use csup, but at this stage, i'll wait untill portupgrade has finished to see 
if anything changes in that reguards.

But i was having a lot o fissues upgrading ports due to 1 pkg, but a completre 
rem of ports dir an a sup of the ports tree solved that issue.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


7.0 with packages-7-stable -- how to fix system

2008-06-24 Thread Jan Henrik Sylvester
Since rebuilding 300 ports on my 7.0 system would have taken too long 
after the gettext bump, I used packages-7-stable for the portupgrade -- 
I should have known better...


The kdevelop portupgrade failed with:

/libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.1 required by gtar 
not found


Searching all executables in /usr/local/ with readelf for FBSD_ but not 
FBSD_1.0, I have only found [EMAIL PROTECTED] in files from coreutils, 
dirmngr, gnupg, gpgme, gtar, and wget. Thus, I rebuild these.


Now gtar starts and https in Firefox works again.

Is my system back to a sane state or do I have to expect more 
problems, if I do not rebuild everything that came as 7-stable package?


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


Re: core Dumb during CVSUP

2008-06-24 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Warren Liddell wrote:
| Subject: core Dumb during CVSUP

http://www.prodigio.it/5/linguasegni.gif

Sorry, couldn't resist :)

- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhg44EACgkQwMJqmJVx9464pgCfbaHdN1EHy6Xmk4V4wpogZzpP
WXwAn28hh7qNohqMHESlODtk8rzv96d9
=cpvU
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsclean -L question

2008-06-24 Thread David J Brooks
On Tuesday 24 June 2008 04:41:55 am Ghirai wrote:
 After upgrading couple ports, i get this output with portsclean (sorry for
 the big paste):

 ghirai# portsclean -L
 ** /usr/local/lib/libcharset.so.1 is shadowed by
 /usr/X11R6/lib/libcharset.so.1 /usr/X11R6/lib/libcharset.so.1 -
 libiconv-1.11_1
   /usr/local/lib/libcharset.so.1  - libiconv-1.11_1
  -- Two packages install the same library in different directories!

This looks like an incomplete transition from X11R6 to X!!R7...

 Any ideas how to fix this?

Please read the  /usr/ports/UPDATING entry for 20070519.

David
-- 
You can't prove it won't happen.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fixit / LiveFS problems (AMD64)

2008-06-24 Thread Lowell Gilbert
Kent Hauser [EMAIL PROTECTED] writes:

 I recently rebuild a 7-STABLE which refused to boot  then ran into some
 problems trying to recover.

 1) After escaping to the loader prompt, I could only enter a couple of
 characters (eg 2) before the machine hung. Not enough for the unload /
 load dance.

 2) After booting from the downloaded 7-RELEASE install ISO (AMD64), I find
 the emergency shell doesn't have mount_ufs, just mount_nfs. Also, no /rescue
 directory. I don't know if this is by design, but how does one mount root or
 any other local disk partition?

mount(8) 

 3) After downloading  burning the 7-RELEASE LiveFS ISO (AMD64), I find
 fixit told me ld.so-hints could not be created  dynamicly linked programs
 wouldn't run -- and they didn't.

I'm not sure, but shouldn't that get built every boot time?

 4) So I reinstalled, only newfs'ing /root  pulled the appropriate files
 from a backup.

 What am I missing?

Other than the fact that there isn't any mount_ufs, you seem to be okay.

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


Re: portsclean -L question

2008-06-24 Thread Ghirai
On Tue, 24 Jun 2008 07:13:51 -0500
David J Brooks [EMAIL PROTECTED] wrote:

 On Tuesday 24 June 2008 04:41:55 am Ghirai wrote:
  After upgrading couple ports, i get this output with portsclean
  (sorry for the big paste):
 
  ghirai# portsclean -L
  ** /usr/local/lib/libcharset.so.1 is shadowed by
  /usr/X11R6/lib/libcharset.so.1 /usr/X11R6/lib/libcharset.so.1
  - libiconv-1.11_1
  /usr/local/lib/libcharset.so.1  - libiconv-1.11_1
   -- Two packages install the same library in different directories!
 
 This looks like an incomplete transition from X11R6 to X!!R7...
 
  Any ideas how to fix this?
 
 Please read the  /usr/ports/UPDATING entry for 20070519.
 
 David
 -- 
 You can't prove it won't happen.

Well the thing is Xorg was never installed on this box :/

Can i just nuke /usr/X11R6 and symlink to /usr/ocal ?

Thanks.

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


File Systems

2008-06-24 Thread james

   I would like to contribute my knowledge of several otherwise ar= cane
   file systems and wanted your take on modifying the FS types with other
   values. Is there a central authority for all file system types that
   these should be registered with first or should I simply choose values
   and add them in?
   It would be dumb to add support for a new file system only for some
   other partition utility to not recognize it and want to destroy it.
   Please advise...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsclean -L question

2008-06-24 Thread David J Brooks
On Tuesday 24 June 2008 07:28:26 am Ghirai wrote:
 On Tue, 24 Jun 2008 07:13:51 -0500

 David J Brooks [EMAIL PROTECTED] wrote:
  On Tuesday 24 June 2008 04:41:55 am Ghirai wrote:
   After upgrading couple ports, i get this output with portsclean
   (sorry for the big paste):
  
   ghirai# portsclean -L
   ** /usr/local/lib/libcharset.so.1 is shadowed by
   /usr/X11R6/lib/libcharset.so.1 /usr/X11R6/lib/libcharset.so.1
   - libiconv-1.11_1
 /usr/local/lib/libcharset.so.1  - libiconv-1.11_1
-- Two packages install the same library in different directories!
 
  This looks like an incomplete transition from X11R6 to X!!R7...
 
   Any ideas how to fix this?
 
  Please read the  /usr/ports/UPDATING entry for 20070519.

 Well the thing is Xorg was never installed on this box :/

 Can i just nuke /usr/X11R6 and symlink to /usr/ocal ?

Maybe... but it's not something I'd personally risk. As I recall there was a 
lot of frustration for folks who didn't follow the UPDATING procedure 
verbatim. 

David
-- 
This message is made from meat by-products.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Urgent Notification

2008-06-24 Thread Business Transfer Notication via YouSendIt
Hello from Business Transfer,
   
Message from [EMAIL PROTECTED]:brbrGood Day Dear,br /
Kindly open the atatchment to view the content of your message from Mrs.Susan 
Shabangu.br /
Thanks and God Bless.
   
You have 1 file(s) called a 
href='https://download.yousendit.com/3AEA75573168EAD7'MOVEMENT.doc/a from 
[EMAIL PROTECTED] waiting for download.
You can click on the following link to retrieve your file. The link will expire 
in 14 days ..


Link: https://download.yousendit.com/3AEA75573168EAD7




Do not reply to this automatically-generated email. If you have any questions, 
please email us at [EMAIL PROTECTED]

-

File too big for email? Try YouSendIt at http://www.yousendit.com

YouSendIt   
1919 So. Bascom Avenue, 3rd Floor
Campbell, CA, 95008

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

2008-06-24 Thread FreeBSD

Pietro Cerutti wrote:


|
| No, I do not have it. Do you suppose I should? I have other devices and
| nodes coming up alright -- including mapping for different loopback
| devices as well.

Well, the os doesn't receive link up notifications from the interface..
I fear is not as simple as devd, but you can't give it a try, it won't
hurt...

|
| Thanks
|
|


Dear Pietro

Did that, and nothing happened. The OS is still not going anywhere -- 
i.e., not responding to ifconfig up or down instructions, and response 
from ifconfig re0 remains the same. As suggested by Abdullah, I will try 
to cvsup with RELENG_7 and rebuild the world/kernel. Let's see what happens.


Thanks to all.

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


Historical question about INDEX-file in /usr/ports

2008-06-24 Thread Stevan Tiefert
Hello list,

a small question for the expirienced users of FreeBSD:

At which time the name of INDEX.db to INDEX-?.db changed? (I suppose 
during the creating time of FreeBSD 6) And then it was changed, was the 
database format also been changed?

With regards
Stevan Tiefert

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


Re: Historical question about INDEX-file in /usr/ports

2008-06-24 Thread Matthew Seaman

-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Stevan Tiefert wrote:
| Hello list,
| 
| a small question for the expirienced users of FreeBSD:
| 
| At which time the name of INDEX.db to INDEX-?.db changed? (I suppose 
| during the creating time of FreeBSD 6) And then it was changed, was the 
| database format also been changed?


FreeBSD 4.x and earlier had just plain /usr/ports/INDEX

FreeBSD 5.x and above have /usr/ports/INDEX-N where N is the OS major version.

The INDEX.db file is created and used by programs from the portupgrade(1)
suite: other ports management applications pretty much make a point of not
referring to the INDEX at all.

There wasn't a change in the format of the INDEX coincident with the
name change -- the distinction is because many of the ports are version
number dependent so the content of the INDEX will be different on different
system versions.

There was a change in the format of the INDEX file some time before 4.11-RELEASE
(I think) which added a number of extra columns, but the file format has been
constant since then. 


Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3

~  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
~  Kent, CT11 9PW, UK
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREDAAYFAkhg/nIACgkQ3jDkPpsZ+VZZtgCdHTreKMTKgnK3QbAm1ql08Ct2
IWoAoKsiR9LklfJwIMDgaRyoFypaTvWi
=T6a9
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Historical question about INDEX-file in /usr/ports

2008-06-24 Thread Erik Trulsson
On Tue, Jun 24, 2008 at 03:36:49PM +0200, Stevan Tiefert wrote:
 Hello list,
 
 a small question for the expirienced users of FreeBSD:
 
 At which time the name of INDEX.db to INDEX-?.db changed? (I suppose 
 during the creating time of FreeBSD 6) And then it was changed, was the 
 database format also been changed?

The INDEX.db / INDEX-?.db files are created by (I believe) portsupgrade
and are not really part of the ports tree as such.
I don't know if they have changed the database format, but I doubt it.

The 'base' files are just plain textfiles named INDEX / INDEX-?.
As far as I know their format hasn't changed in a long time either.

The switch from plain INDEX to INDEX-5 (etc.) happened in 2002 in time
for FreeBSD 5.  The reason was that the dependencies for ports could vary
quite a bit between 4.x and 5.x. (In particular perl was part of the base
system in 4.x, but not in 5.x and later - meaning that all ports that had
perl as a dependency (and there are many of them) would depend on the perl
port when built on a 5.x system but not on a 4.x system.)


The relevant commit message (for ports/Mk/bsd.port.mk) would be:


revision 1.436
date: 2002/12/04 17:17:48;  author: kris;  state: Exp;  lines: +8 -3
Add the INDEXFILE variable, that defaults to INDEX-5 on 5.0 (500036) and
later, and INDEX on earlier systems.  Use this in the 'make index' and
associated targets.  This is necessary to deal with the substantially
different dependencies of ports between 4.x and 5.0 (e.g. ports that
depend on perl).



(Support for INDEX-6, INDEX-7, etc. was added later.)



-- 
Insert your favourite quote here.
Erik Trulsson
[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: Installation error. Command returned status 36

2008-06-24 Thread Jerry McAllister
On Mon, Jun 23, 2008 at 08:36:11PM -0400, Steve Bertrand wrote:

 Jerry McAllister wrote:
 On Tue, Jun 24, 2008 at 01:55:51AM +0300, Viacheslav Chumushuk wrote:
 
 And at the start of installation process I have warning about wrong disk 
 geometry.
 
 Probably your best bet is to ignore the geometry stuff and
 just let it do its own thing.   Do not try to set the geometry.
 In reality, geometry is generally  'virtual' nowdays.
 
 I concur with Roland and Jerry about ignoring the geometry warning.
 
 I've been doing so for as long as I can remember and I've never had an 
 issue.

In fact, trying to set the geometry can mung up the installation.

Someone should make some explicit changes - at least in messages
and documentation in this regard.   It has been a decade since
this geometry thing has been obsolete.   I don't know enough to
make a completely accurate statement or I would submit something.

jerry

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


external input doesn't work with my NVidia MCP67 High Definition Audio Controller.

2008-06-24 Thread Edwin L. Culp
Is there anyone who has this controller working that could share the  
way they got it to work?


This is an Acer Aspire 5520-5679 AMD Turion 64x2 running +- up to date  
current.  I can play music but can't generate it nor can I see the  
input with kmix and trying to set the mic volume I get mixer: unknown  
device: mic.


General Information:

# uname -a
FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #126: Thu Jun  
19 13:08:54 CDT 2008  
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ENCONTACTO  amd64


# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64)
Installed devices:
pcm0: NVidia MCP67 High Definition Audio Controller at memory  
0xf268 irq 21 kld snd_hda [20080420_0052] [MPSAFE] (1p:2v/1r:1v  
channels duplex default)


The verbose dmesg.boot file is online at:
http://encontacto.net/SHARE/dmesg.boot.txt

Thanks for any confirmation, suggestions, etc.

ed

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


Re: File Systems

2008-06-24 Thread Bob Johnson
On 6/24/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

I would like to contribute my knowledge of several otherwise ar cane
file systems and wanted your take on modifying the FS types with other
values. Is there a central authority for all file system types that
these should be registered with first or should I simply choose values
and add them in?
It would be dumb to add support for a new file system only for some
other partition utility to not recognize it and want to destroy it.
Please advise...

If you are referring to the partition type (which indicates the file
system type that is on an MS/IBM style disk partition), I don't think
there is a central authority, but there is a very extensive list at:

http://www.win.tue.nl/~aeb/partitions/partition_types-1.html

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


How to get a SuYin Acer CrystalEye webcam, class 239/2, rev 2.00/1.00, addr 2 working

2008-06-24 Thread Edwin L. Culp
My laptop has a built in camara and would like to know where I could  
start to get it up and running.  I saw that someone had done some work  
on USB camaras a few months ago but can't find any doccumention as to  
which camaras, etc. etc.


Mine is:

# usbdevs -l
port 3 addr 2: high speed, power 500 mA, config 1, Acer CrystalEye  
webcam(0xa101), SuYin(0x064e), rev 1.00

   ugen0

 # uname -a
FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #126: Thu Jun  
19 13:08:54 CDT 2008  
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ENCONTACTO  amd64

ed.local.net.mx

Thanks for any suggestions,

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


how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread Yavuz Maslak
I use ipfw on freebsd7.

I have two questions

1- I want to fix an ip address for each mac address. But some pc and servers 
have more than an ip address. How can I map multiple ip addresses for a mac 
address?
2- I want to allow these fixed mac addresses using ipfw. After that I want to 
deny all mac address via the server's local ethernet card.  How can I do these 
cases?

Thanks

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


Re: Installation error. Command returned status 36

2008-06-24 Thread Viacheslav Chumushuk
On Tuesday 24 June 2008 09:58:05 Viacheslav Chumushuk wrote:
 Thanks for help, guys. I'll try this way at the evening (GT +2).

I was trying, but witout success. Answer the same :(
I don't know what is the strange problem...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


restart named in a cron

2008-06-24 Thread Nicolas Letellier
Hi.

I want to restart named in a script executed by a cron. My script is:

#!/bin/sh
# verify named conf and restart it
/usr/sbin/named-checkconf
if [ ! $? -eq 0 ]; then
echo Errors when verifying named configuration
exit 1
else
/etc/rc.d/named restart  /dev/null
fi

# Ok, it's done
exit 0


However, the cron returns some errors:
umount: not found
mtree: not found
umount: not found
mount: not found
/etc/rc.d/named: WARNING: devfs_domount(): Unable to mount devfs on 
/var/named/dev
devfs: not found
devfs: not found

I can restart named manually, but not with a cron.

Do you have an idea to solve this problem? Why could I restart it manually and 
not with a cron?

Thanks!

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


Re: restart named in a cron

2008-06-24 Thread Schiz0
On Tue, Jun 24, 2008 at 2:17 PM, Nicolas Letellier [EMAIL PROTECTED] wrote:
 Hi.

 I want to restart named in a script executed by a cron. My script is:

 #!/bin/sh
 # verify named conf and restart it
 /usr/sbin/named-checkconf
 if [ ! $? -eq 0 ]; then
echo Errors when verifying named configuration
exit 1
 else
/etc/rc.d/named restart  /dev/null
 fi

 # Ok, it's done
 exit 0


 However, the cron returns some errors:
 umount: not found
 mtree: not found
 umount: not found
 mount: not found
 /etc/rc.d/named: WARNING: devfs_domount(): Unable to mount devfs on 
 /var/named/dev
 devfs: not found
 devfs: not found

 I can restart named manually, but not with a cron.

 Do you have an idea to solve this problem? Why could I restart it manually 
 and not with a cron?

 Thanks!

 --
  -Nicolas.

The /etc/rc.d/named script probably relies on the $PATH to start some
stuff up. Since it's run via cron, try setting the $PATH in your
crontab (or the script itself).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread Chuck Swiger

On Jun 24, 2008, at 10:26 AM, Yavuz Maslak wrote:
1- I want to fix an ip address for each mac address. But some pc and  
servers have more than an ip address. How can I map multiple ip  
addresses for a mac address?


Most people use ifconfig, perhaps indirectly via /etc/rc.conf.

2- I want to allow these fixed mac addresses using ipfw. After that  
I want to deny all mac address via the server's local ethernet  
card.  How can I do these cases?


Few choose to go that route, but you can disable ARP and set up /etc/ 
ethers, or you could even fire up your favorite firewall (IPFW, PF,  
whatever), and add allow rules for the permitted MAC addresses, and  
deny all others.


--
-Chuck

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


Re: restart named in a cron

2008-06-24 Thread Kevin Kinsey

Nicolas Letellier wrote:

Hi.

I want to restart named in a script executed by a cron. My script is:

#!/bin/sh
# verify named conf and restart it
/usr/sbin/named-checkconf
if [ ! $? -eq 0 ]; then
echo Errors when verifying named configuration
exit 1
else
/etc/rc.d/named restart  /dev/null
fi

# Ok, it's done
exit 0


However, the cron returns some errors:
umount: not found
mtree: not found
umount: not found
mount: not found
/etc/rc.d/named: WARNING: devfs_domount(): Unable to mount devfs on 
/var/named/dev
devfs: not found
devfs: not found

I can restart named manually, but not with a cron.

Do you have an idea to solve this problem? Why could I restart it manually and 
not with a cron?



cron doesn't know about your $PATH, but has a very limited $PATH
of its own.  Rewrite the script using the full pathnames to the
desired executables.

Kevin Kinsey

--
But these pills can't be habit forming;
I've been taking them for years.

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


Re: restart named in a cron

2008-06-24 Thread Jerry McAllister
On Tue, Jun 24, 2008 at 08:17:20PM +0200, Nicolas Letellier wrote:

 Hi.
 
 I want to restart named in a script executed by a cron. My script is:
 
 #!/bin/sh
 # verify named conf and restart it
 /usr/sbin/named-checkconf
 if [ ! $? -eq 0 ]; then
 echo Errors when verifying named configuration
 exit 1
 else
 /etc/rc.d/named restart  /dev/null
 fi
 
 # Ok, it's done
 exit 0
 
 
 However, the cron returns some errors:
 umount: not found
 mtree: not found
 umount: not found
 mount: not found
 /etc/rc.d/named: WARNING: devfs_domount(): Unable to mount devfs on 
 /var/named/dev
 devfs: not found
 devfs: not found
 
 I can restart named manually, but not with a cron.
 
 Do you have an idea to solve this problem? Why could I restart it 
 manually and not with a cron?

The CRON jog is missing /sbin and /usr/sbin from its path.
Try setting $PATH in the script.

jerry


 
 Thanks!
 
 -- 
  -Nicolas.
 ___
 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: how to reject all mac addresses except some mac addresses usingipfw?

2008-06-24 Thread Yavuz Maslak
I got my second question.
But  I should have asked different my first question.
I have meant that how can I restrict to use an ip address which I already
assigned to a computer, anyone can use at his pc?
- Original Message - 
From: Chuck Swiger [EMAIL PROTECTED]
To: Yavuz Maslak [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, June 24, 2008 9:01 PM
Subject: Re: how to reject all mac addresses except some mac addresses
usingipfw?


 On Jun 24, 2008, at 10:26 AM, Yavuz Maslak wrote:
  1- I want to fix an ip address for each mac address. But some pc and
  servers have more than an ip address. How can I map multiple ip
  addresses for a mac address?

 Most people use ifconfig, perhaps indirectly via /etc/rc.conf.

  2- I want to allow these fixed mac addresses using ipfw. After that
  I want to deny all mac address via the server's local ethernet
  card.  How can I do these cases?

 Few choose to go that route, but you can disable ARP and set up /etc/
 ethers, or you could even fire up your favorite firewall (IPFW, PF,
 whatever), and add allow rules for the permitted MAC addresses, and
 deny all others.

 -- 
 -Chuck

 ___
 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: restart named in a cron

2008-06-24 Thread Manolis Kiagias

Nicolas Letellier wrote:

Hi.

I want to restart named in a script executed by a cron. My script is:

#!/bin/sh
# verify named conf and restart it
/usr/sbin/named-checkconf
if [ ! $? -eq 0 ]; then
echo Errors when verifying named configuration
exit 1
else
/etc/rc.d/named restart  /dev/null
fi

# Ok, it's done
exit 0


However, the cron returns some errors:
umount: not found
mtree: not found
umount: not found
mount: not found
/etc/rc.d/named: WARNING: devfs_domount(): Unable to mount devfs on 
/var/named/dev
devfs: not found
devfs: not found

I can restart named manually, but not with a cron.

Do you have an idea to solve this problem? Why could I restart it manually and 
not with a cron?

Thanks!

  
Well, probably cron does not share your environment, thus it does not  
have your PATH. It  simply cannot find the commands you see as not found.

Try inserting something like:

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin

at the top of your script. Alternatively, you could use full paths to 
the commands in the script, but it seems the errors come from the system 
scriprt, /etc/rc.d/named and you wouldn't want to touch that.


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


Re: how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread Chuck Swiger

[ ...please don't top-post... ]

On Jun 24, 2008, at 11:42 AM, Yavuz Maslak wrote:

But  I should have asked different my first question.
I have meant that how can I restrict to use an ip address which I  
already

assigned to a computer, anyone can use at his pc?


There is nothing which can prevent someone from configuring a machine  
to use any IP address they want to set, assuming they have admin  
access to that machine.


Normally, you don't grant physical access to your network for people  
you don't trust, but if you need to provide network access to  
untrustworthy systems, then you need to look into setting up access  
control via VLANs, or maybe PPPoE, or something similar where you can  
isolate their network and only let their traffic talk to other things  
if they connect properly...


Regards,
--
-Chuck

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


to get cs working for now

2008-06-24 Thread Matthew Donovan
This will work for now but needs a bit of tweaking to work correctly on FreeBSD.

Copy /etc/termcap to ~/.termcap or /usr/local/etc/termcap so that you do not 
mess with the system termcap.Edit ~/.termcap or /usr/local/etc/termcap with any 
editor that you like. Find cons25 termcap information Add a slash on the last 
line so it looks like this at the end :\.


Then add a line that looks like this :cs=%d;%dr: at the end of the cons25 
section.

Then you need to make it so TERMPATH has ~/.termcap or /usr/local/etc/termcap 
in the path I tend to do this  setenv TERMPATH 
~/.termcap:/usr/local/etc/termcap:/etc/termcap.

Change setenv to whatever the shell your using uses for export. 

But this should get tmux and some other ports working for now they might be a 
bit messed up.

If any of the other people on this mailing list can actually get cs working 
correctly since I know that my way works but does not work like you would 
expect please inform myself since this is the first time I actually dived into 
a termcap file. 



pgp81QVOLezqJ.pgp
Description: PGP signature


Re: how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread sfourman
would you have a working example on how to deny traffic from a mac
address if it is not using a allowed ip address.. I would like to use
pf

On 6/24/08, Chuck Swiger [EMAIL PROTECTED] wrote:
 On Jun 24, 2008, at 10:26 AM, Yavuz Maslak wrote:
 1- I want to fix an ip address for each mac address. But some pc and
 servers have more than an ip address. How can I map multiple ip
 addresses for a mac address?

 Most people use ifconfig, perhaps indirectly via /etc/rc.conf.

 2- I want to allow these fixed mac addresses using ipfw. After that
 I want to deny all mac address via the server's local ethernet
 card.  How can I do these cases?

 Few choose to go that route, but you can disable ARP and set up /etc/
 ethers, or you could even fire up your favorite firewall (IPFW, PF,
 whatever), and add allow rules for the permitted MAC addresses, and
 deny all others.

 --
 -Chuck

 ___
 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: how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread Chris St Denis

Yavuz Maslak wrote:

I use ipfw on freebsd7.

I have two questions

1- I want to fix an ip address for each mac address. But some pc and servers 
have more than an ip address. How can I map multiple ip addresses for a mac 
address?
2- I want to allow these fixed mac addresses using ipfw. After that I want to 
deny all mac address via the server's local ethernet card.  How can I do these 
cases?

Thanks

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

  
I haven't used ipfw for mac level filtering before, but it looks like 
the syntax is.


ipfw add allow MAC mac address any
ipfw add allow MAC mac address any
ipfw add allow MAC mac address any
ipfw add deny MAC any any

You'll probably have to include the server's own MAC in that list.


--
Chris St Denis
Programmer
SmarttNet (www.smartt.com)
Ph: 604-473-9700 Ext. 200
---
Smart Internet Solutions For Businesses 


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


Re: xfce on amd64 not working

2008-06-24 Thread Kurt Buff
On Sun, Jun 22, 2008 at 3:31 PM, Matthew Donovan [EMAIL PROTECTED] wrote:
 On Sun, Jun 22, 2008 at 02:48:45PM -0700, Kurt Buff wrote:
 All,

 My (relatively) newly purchased Thinkpad T61 (type 7658-CTO) with 4g
 RAM is running 7.0-STABLE amd64 from June 8.

 I've gotten Xorg running from a generic xorg.conf generated by 'Xorg
 -configure', with startx, but when starting XFCE4 with xtartxfce, it
 is not happy, and bombs out, leaving a message in /var/log/messages:

  kernel: PID 92xxx (xfwn), uid 0: exited on signal 11 (core dumped)

 I've csup'ed today, and did 'portupgrade -aRr' to get the latest.

 I also tried copying the xorg.conf from the Suse install that I'm dual
 booting with, but that's not any help.


 Any thoughts?

 Kurt
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 Well it's not an Xorg problem. consoidering it's xfwn that is being dumped. 
 It'd be easier if we could see the core that xfwn actually dumped since that 
 leads to a bit more clues on why it cored.

I deleted the package, csup'ed again, then did a make install of the
port instead.

Works like a champ, and I've got FF 2 working. FF3 is marked as broken
at the moment.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Amazon Kindle

2008-06-24 Thread dfeustel
Has anyone used Amazon's Kindle ebook reader with FreeBSD?
Kindle has a usb interface for up/down-loading documents to/from
a computer. I wonder whether and how well that interface works
with FreeBSD and/or with OpenBSD.

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


Re: ipw2200 freebsd 7 firmware problem

2008-06-24 Thread Fernando Apesteguía
On Sun, Jun 1, 2008 at 6:42 PM, Fernando Apesteguía
[EMAIL PROTECTED] wrote:
 On Thu, May 22, 2008 at 6:28 PM, peter harrison
 [EMAIL PROTECTED] wrote:
 Thursday, 22 May 2008 at 14:04:46 +0100, Vince Hoffman said:
 peter harrison wrote:
  Thursday, 22 May 2008 at  9:13:41 +0100, Vince Hoffman said:
  Fernando Apesteguía wrote:
  On 5/22/08, Vince Hoffman [EMAIL PROTECTED] wrote:
  Fernando Apesteguía wrote:
  On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman [EMAIL PROTECTED]
  wrote:
 snip
  Have you read the manpage for iwi?
 
  No, I tried with iwi-firmware and iwicontrol and none of them existed.
 
 
  no ports are needed the firmware is now in the base system, Just add 
  the
  entries as specified in this snippet from man iwi
 
  So... shouldn't this port be removed?
 
 
  I'm pretty sure that things changed between 6.x and 7.x, I'd imagine 
  the
  port is needed for 7.x
 
   Alternatively, to load the driver as a module at boot time, place 
  the
 following lines in loader.conf(5):
 
   if_iwi_load=YES
   wlan_load=YES
   firmware_load=YES
 
 In both cases, place the following lines in loader.conf(5) to load
  the
 firmware modules:
 
   iwi_bss_load=YES
   iwi_ibss_load=YES
   iwi_monitor_load=YES
 
  and
 
   This driver requires firmware to be loaded before it will work.  For
  the loaded firmware to work the license at
 /usr/share/doc/legal/intel_iwi/LICENSE must be
  agreed to and the
  follow-ing line be added to loader.conf(5):
 
   legal.intel_iwi.license_ack=1
 
 
  I'll try it. But AFAIK, I have to recompile the kernel cause the
  device iwi line is missing.
 
  Am i right?
 
 
  I think they should all be loadable as modules if they arent in 
  generic.
 
  To try without rebooting I believe the commands you want are:
  kenv legal.intel_iwi.license_ack=1
  kldload if_iwi
  kldload wlan
  kldload firmware
  kldload iwi_bss
  kldload iwi_ibss
  kldload iwi_monitor
 
  However, I just had a look in my /boot/kernel for the if_iwi module 
  and its
  not there so you may be correct. (I'm a touch supprised as the do 
  exist on
  my i386 box)
  The same on my machine. The line is not in GENERIC and that modules
  don't exist. I will recompile my module as soon as I have some spare
  time.
  Thanks for your help.
 
  In theory you should be able to just
  cd /usr/src/sys/modules/iwi
  make  make install
  cd /usr/src/sys/modules/iwifw
  make  make install
 
 
  without rebuilding the entire kernel. I'm just puzzled why they dont
  build by default.
 
  I'm running a stock 7.0-STABLE with GENERIC and a default make.conf and I 
  get the iwi modules no problem. I just followed the instructions in the 
  man page and was up and running in 5 minutes.
 
 
 Are you running AMD64? the modules are there on my i386 laptop but not
 my AMD64 server (I dont use iwi on either though.)

 I'm running i386, so that may be the difference. I don't have an AMD64 
 system to check I'm afraid.

 Hi all again,

 I recompiled my kernel and now, the IPW2200BG card seems to be detected.
 This is the output of the ifconfig re0 command:

 iwi0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:0e:35:fd:aa:0f
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid ApeWireless channel 1 (2412 Mhz 11b)
authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit bmiss 10
scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7
roam:rate11b 1 bintval 0


 However, neither I can connect to my wireless router, nor I can scan
 the frequency. My wireless AP, has a hidden SSID, wep key and DHCP.
 Scanning of frequencies shows no results (but there are many wireless
 networks around).

 Any ideas?

Hi all again,

After some time without touching the computer I decided to have a look
at the wireless problem again. It seems I can't load the firmware:

firmware_get: failed to load firmware image iwi_bss

Both if_ipw and ipw_bss modules are loaded.

This very same computer works fine with linux, including loading the firmware.

Any help is appreciated.

Thanks in advance.


 Thanks in advance.





 Peter Harrison.


 vince

  Peter Harrison
 
 
  Vince
 
 
  Best Regards
 
  regards,
  Vince
 
 
  ___
  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]


Sendmail Masquerade Problem

2008-06-24 Thread Alex de Kruijff
I have problem with sendmail that is giving me a headake. I can send
mails als long when I give the from adres, but when I leave this out the
server enters the localname and my ISP isn't accepting the mail. (i.e.
echo 'test' | mail -vs test [EMAIL PROTECTED] [EMAIL PROTECTED] works, but 
without
the -f option it gets accepted but is rejected by the isp) I have
masquerade setup, but that doesn't seem to do the trick. However check
on shows that it handeled oke.



I added to private.mc

 MASQUERADE_AS(`public')
 MASQUERADE_DOMAIN(`localhost')
 MASQUERADE_DOMAIN(`localhost.lan')
 MASQUERADE_DOMAIN(`private')
 MASQUERADE_DOMAIN(`private')
 
 FEATURE(masquerade_envelope)
 FEATURE(masquerade_entire_domain)
 FEATURE(allmasquerade)
 
 D
 Dmpublic
 define(`confDOMAIN_NAME', `www.public')
 define(`SMART_HOST', `smtp.isp')
 
 define(`confBIND_OPTS', `WorkAroundBroken')
 define(`confNO_RCPT_ACTION', `add-to-undisclosed')
 define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
 define(`confTO_QUEUERETURN', `360d')
 MAILER(local)
 MAILER(smtp)

I found in private.cf

C{E}root
C{M}localhost
C{M}localhost.lan
C{M}private
C{M}private.private

# who I masquerade as (null for no masquerading) (see also $=M)
DMpublic


From /var/log/maillog

 Jun 24 18:22:14 private sendmail[68231]: m5OGMDGG068231: from=www,
 size=1238, class=0, nrcpts=1,
 msgid=[EMAIL PROTECTED],
 [EMAIL PROTECTED]
 Jun 24 18:22:14 private sm-mta[68232]: m5OGMEXU068232:
 from=[EMAIL PROTECTED], size=1351, class=0, nrcpts=1,
 msgid=[EMAIL PROTECTED], proto=ESMTP,
 daemon=IPv4, relay=localhost [127.0.0.1]
 Jun 24 18:22:14 private sm-mta[68232]: m5OGMEXU068232: Milter add:
 header: X-Virus-Scanned: ClamAV 0.92.1/7550/Tue Jun 24 16:52:37 2008
 on private
 Jun 24 18:22:14 private sm-mta[68232]: m5OGMEXU068232: Milter add:
 header: X-Virus-Status: Clean
 Jun 24 18:22:14 private sendmail[68231]: m5OGMDGG068231:
 to==?UTF-8?B?QWxmYXRyaW9u?= [EMAIL PROTECTED], ctladdr=www
 (80/80), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=31238,
 relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m5OGMEXU068232
 Message accepted for delivery)
 Jun 24 18:22:14 private sm-mta[68234]: m5OGMEXU068232:
 to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (0/0),
 delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31351,
 relay=smtp.isp. [195.241.79.132], dsn=4.3.0, stat=Deferred: 451
 Temporary local problem - please try later


From the mail it self.

 H??Received: from private (localhost [127.0.0.1])
 by public (8.13.6/8.13.6) with ESMTP id m5OGMEXU068232
 for [EMAIL PROTECTED]; Tue, 24 Jun 2008 18:22:14 +0200
 (CEST)
 (envelope-from [EMAIL PROTECTED])
 H?x?Full-Name: Charlie Root
 H??Received: (from [EMAIL PROTECTED])
 by private (8.13.6/8.13.6/Submit) id m5OGMDGG068231;
 Tue, 24 Jun 2008 18:22:13 +0200 (CEST)
 (envelope-from www)


But when I run

 sendmail -bt
 /tryflags hs
 /try esmtp [EMAIL PROTECTED]
 /quit 


it gives me

 canonify   input:  user @ private 
 Canonify2  input: user  @ private 
 Canonify2returns: user  @ private . 
 canonify returns: user  @ private . 
 1  input: user  @ private . 
 1returns: user  @ private . 
 HdrFromSMTPinput: user  @ private . 
 PseudoToReal   input: user  @ private . 
 PseudoToReal returns: user  @ private . 
 MasqSMTP   input: user  @ private . 
 MasqSMTP returns: user  @ private . 
 MasqHdrinput: user  @ private . 
 MasqHdr  returns: user  @ public . 
 HdrFromSMTP  returns: user  @ public . 
 final  input: user  @ public . 
 finalreturns: user @ public
 Rcode = 0, addr = [EMAIL PROTECTED]


Running sendmail -d0.1 -bt /dev/null gives me 

 Version 8.13.6
  Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8
  MIME8TO7
 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS
 PIPELINING SCANF
 STARTTLS TCPWRAPPERS USERDB XDEBUG
 
  SYSTEM IDENTITY (after readcf) 
   (short domain name) $w = www
   (canonical domain name) $j = www.public
  (subdomain name) $m = public
   (node name) $k = private
 
 
 ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
 Enter ruleset address





-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.


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


Re: Sendmail Masquerade Problem

2008-06-24 Thread Chuck Swiger

On Jun 24, 2008, at 2:01 PM, Alex de Kruijff wrote:

I have problem with sendmail that is giving me a headake. I can send
mails als long when I give the from adres, but when I leave this out  
the

server enters the localname and my ISP isn't accepting the mail. (i.e.
echo 'test' | mail -vs test [EMAIL PROTECTED] [EMAIL PROTECTED] works, but 
without
the -f option it gets accepted but is rejected by the isp) I have
masquerade setup, but that doesn't seem to do the trick. However check
on shows that it handeled oke.


Root is an exposed user, in other words, mail sent by root is not  
masquaraded by default, even if other addresses would be.


Anyway, this doesn't really matter, as your ISP's mail server should  
be willing to relay your mail anyway.  You should talk with tiscali.nl  
about what else you might need to do-- perhaps setting up SMTP auth  
would let you relay through their mailservers...


--
-Chuck

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


amanda-client port configure options not passing.

2008-06-24 Thread Stephen P. Cravey
I'm having issues with the amanda-client port. At some point in the past 
months, when I install a new amanda-client it appears that the configure 
options are not passing correctly.

THe OS version doesn't seem to matter, 6.2, 7.0, 6.3 all appear to have the 
same issue. The specific behavior I'm encountering is that the amandad daemon 
on the client (yes it's backward) sees the incoming packets and logs them but 
does not respond. I'm wondering if it's an issue with the semi-recent autoconf 
upgrade.

As near as I can tell, the CONFIGURE_ARGS from the port makefile are not making 
into the configure script for the actual work files. Ideas?


From the amandad debug file:

amandad:CONFIGURE_COMMAND='./configure' 
'--libexecdir=/usr/local/libexec/amanda' '--with-amand
mp' '--disable-libtool' '--prefix=/usr/local' '--with-user=operator' 
'--with-group=operator' '--with-gn
/local/bin/gtar' '--without-server' '--prefix=/usr/local' 
'--build=i386-portbld-freebsd6.2'

vs.

amandad:CONFIGURE_COMMAND='./configure' 'freebsd6.3'


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


net4801, nanobsd, -current

2008-06-24 Thread Michael W. Lucas
Hi,

I'm trying to build a new nanobsd on 8-current from June 5, and I
believe I've messed up the kernel for my Soekris net4801.

Each boot gets to:

Booting [/boot/kernel/kernel]...
-

and hangs forever.

My kernel is below.  It looks pretty similar to my config from last
year under 7-current.  Anyone out there using -current on a net4801?

Thanks,
==ml

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.491 2008/05/27 02:22:32 yongari Exp $

#cpuI486_CPU
cpu I586_CPU
#cpuI686_CPU
ident   SOEKRIS

options CPU_GEODE
options CPU_SOEKRIS

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_ULE   # ULE scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
#optionsINET6   # IPv6 communications protocols
#optionsSCTP# Stream Control Transmission Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
#optionsUFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
#optionsUFS_GJOURNAL# Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
#optionsNFSCLIENT   # Network Filesystem Client
#optionsNFSSERVER   # Network Filesystem Server
#optionsNFSLOCKD# Network Lock Manager
#optionsNFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_PART_GPT   # GUID Partition Tables.
#optionsGEOM_LABEL  # Provides labelization
options COMPAT_43TTY# BSD 4.3 TTY compat [KEEP THIS!]
#optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4
#optionsCOMPAT_FREEBSD5 # Compatible with FreeBSD5
#optionsCOMPAT_FREEBSD6 # Compatible with FreeBSD6
#optionsCOMPAT_FREEBSD7 # Compatible with FreeBSD7
#optionsSCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options STACK   # stack(9) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options STOP_NMI# Stop CPUS using NMI instead of IPI
#optionsAUDIT   # Security event auditing

# Debugging for use in -current
#optionsKDB # Enable kernel debugger support.
#optionsDDB # Support DDB.
#optionsGDB # Support remote GDB.
#optionsINVARIANTS  # Enable calls of extra sanity checking
#optionsINVARIANT_SUPPORT   # Extra sanity checks of internal 
structures, required by INVARIANTS
#optionsWITNESS # Enable checks to detect deadlocks and 
cycles
#optionsWITNESS_SKIPSPIN# Don't run witness on spinlocks for 
speed

# To make an SMP kernel, the next two lines are needed
#optionsSMP # Symmetric MultiProcessor Kernel
#device apic# I/O APIC

# CPU frequency control
#device cpufreq

# Bus support.
device  eisa
device  pci

# Floppy drives
#device fdc

# ATA and ATAPI devices
device  

Re: Sendmail Masquerade Problem

2008-06-24 Thread Alex de Kruijff
On Tue, Jun 24, 2008 at 02:19:44PM -0700, Chuck Swiger wrote:
 On Jun 24, 2008, at 2:01 PM, Alex de Kruijff wrote:
 I have problem with sendmail that is giving me a headake. I can send
 mails als long when I give the from adres, but when I leave this out  
 the
 server enters the localname and my ISP isn't accepting the mail. (i.e.
 echo 'test' | mail -vs test [EMAIL PROTECTED] [EMAIL PROTECTED] works, but 
 without
 the -f option it gets accepted but is rejected by the isp) I have
 masquerade setup, but that doesn't seem to do the trick. However check
 on shows that it handeled oke.
 
 Root is an exposed user, in other words, mail sent by root is not  
 masquaraded by default, even if other addresses would be.

I tested this with a regular user.

 Anyway, this doesn't really matter, as your ISP's mail server should  
 be willing to relay your mail anyway.  You should talk with tiscali.nl  
 about what else you might need to do-- perhaps setting up SMTP auth  
 would let you relay through their mailservers...

this works: echo 'test' | mail -vs test [EMAIL PROTECTED] [EMAIL PROTECTED]
this doesn't: echo 'test' | mail -vs test [EMAIL PROTECTED]

Reading: /var/spool/mqueue/qfm5OJ6BIh070839
 V8
 T1214334371
 K1214343000
 N13
 P1110364
 I0/85/1271838
 MDeferred: 451 Temporary local problem - please try later
 Fbs
 $_localhost [127.0.0.1]
 $rESMTP
 $sprivate
 ${daemon_flags}
 ${if_addr}127.0.0.1
 S[EMAIL PROTECTED]
 MDeferred: 451 Temporary local problem - please try later
 rRFC822; [EMAIL PROTECTED]
 RPFD:[EMAIL PROTECTED]
 H?P?Return-Path: \x81g
 H??Received: from private (localhost [127.0.0.1])
 by public (8.13.6/8.13.6) with ESMTP id m5OJ6BIh070839
 for [EMAIL PROTECTED]; Tue, 24 Jun 2008 21:06:11 +0200 (CEST)
 (envelope-from [EMAIL PROTECTED])
 H?x?Full-Name: Charlie Root
 H??Received: (from [EMAIL PROTECTED])
 by private (8.13.6/8.13.6/Submit) id m5OJ6BpJ070838
 for [EMAIL PROTECTED]; Tue, 24 Jun 2008 21:06:11 +0200 (CEST)
 (envelope-from me)
 H??Date: Tue, 24 Jun 2008 21:06:11 +0200 (CEST)
 H??From: Alex de Kruijff [EMAIL PROTECTED]
 H??Message-Id: [EMAIL PROTECTED]
 H??To: [EMAIL PROTECTED]
 H??Subject: test
 H??X-Virus-Scanned: ClamAV 0.92.1/7553/Tue Jun 24 19:23:00 2008 on
 private
 H??X-Virus-Status: Clean

[EMAIL PROTECTED] doesn't exist on the outside and like it to be changed by
sendmail into [EMAIL PROTECTED]

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

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


Re: trouble shooting samba performance

2008-06-24 Thread Sten Daniel Soersdal

worms wrote:

Hello,


Can anyone point me to a guide on trouble shooting samba performance
or a quick list of common issues I can check for.
I've been googling but haven't found much that referenced a recent
version of FreeBSD and Samba.

I am running FreeBSD 7.0 on VmWare Server 2.0 hosted on a CentOS Linux box.
I've used nttcp and iozone to verify that the performance of the
FreeBSD 7.0 VM is good and am able to copy 6.5GB on disk from one
location to another in about 2.5 minutes.

Copying to a Windows 2003 server yields a 45 minute transfer time.

Copying to a Windows XP workstation yields a 4 minute transfer time

Summary:
FreeBSD 7.0  -- FreeBSD 7.0  -- 2.5 minutes ( copying on disk )
FreeBSD 7.0 -- WinXP -- 4 minutes ( samba )
FreeBSD 7.0 - Windows 2003 -- 45 minutes ( samba )
WinXP -- Windows 2003 -- 5 minutes

Both windows machines are on the same domain.

I've used samba for a number of years and this is the first time I've
ran into a problem such as this.

So if someone could give me a good starting point on how to
troubleshoot this I'd appreciate it.

Thanks
--Lance


The numbers indicate something i've seen several times but there has 
been different answers to it. Sometimes it was the indication that the 
RAID on the Windows2003 server was misconfigured or running in DEGRADED 
mode.

However i've also seen issues regarding TCP/IP settings.
Often it can be a good exercise to try to toggle this sysctl before 
transfer (net.inet.tcp.delayed_ack).

Of course these are just clues and not real answers.

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


Sendmail Google Apps Email - Not Working Together

2008-06-24 Thread Schiz0
Hey list,

I have a FreeBSD 7.0-RELEASE box at domain.tld. I decided I want to
use Google Apps to handle my email accounts, so I set my MX records at
domain.tld to point to google's servers. I don't want to accept any
incoming mail on my FreeBSD box (It's firewalled off anyway), but I do
want to be able to send outgoing mail. I have sendmail_enable=NO in
my /etc/rc.conf.

Now, the problem is that I cannot send OUTGOING mail from the server
itself to the @domain.tld email accounts. It isn't a firewall issue
because the server can send mail out to any other address just fine.

Below is the output of /var/log/maillog. I'm trying to send an email
from the irc account on the server, to [EMAIL PROTECTED]. I think
maybe sendmail is getting confused because the hostname of the FreeBSD
box is also domain.tld, the same host I'm trying to send outgoing
mail to.

Can anyone shed any light on the issue? Thanks!

sendmail[980]: m5OMSGT1000980: from=irc, size=125, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED], [EMAIL PROTECTED]
snip
sm-mta[981]: m5OMSLet000981: -- MAIL From:[EMAIL PROTECTED] SIZE=125
sm-mta[981]: m5OMSLet000981: --- 250 2.1.0 [EMAIL PROTECTED]... Sender ok
sm-mta[981]: m5OMSLet000981: -- RCPT To:[EMAIL PROTECTED]
sm-mta[981]: m5OMSLet000981: --- 550 5.1.1 [EMAIL PROTECTED]... User unknown
sm-mta[981]: m5OMSLet000981: [EMAIL PROTECTED]... User unknown
sm-mta[981]: m5OMSLet000981: -- DATA
sm-mta[981]: m5OMSLet000981: --- 503 5.0.0 Need RCPT (recipient)
sendmail[980]: m5OMSGT1000980: [EMAIL PROTECTED], ctladdr=irc
(1004/1004), delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=30125,
relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
sm-mta[981]: m5OMSLet000981: -- RSET
sm-mta[981]: m5OMSLet000981: --- 250 2.0.0 Reset state
sm-mta[981]: m5OMSLet000981: from=[EMAIL PROTECTED], size=125, class=0,
nrcpts=0, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
sm-mta[981]: m5OMSLeu000981: -- QUIT
sm-mta[981]: m5OMSLeu000981: --- 221 2.0.0 tastetherainbow.ws closing connection
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


xl driver in FreeBSD6.3 fails to maintain connections

2008-06-24 Thread David Gurvich
Hello,
I have an x86 box with a 3com 905b ethernet card installed.  I had
frequent problems in connecting to it and in fact the card
was not up when I checked.  A reboot or 2 would bring the card up, but
it would not stay up, ie ssh from another computer would disconnect.
There did not appear to be any error messages and no configurations were
changed for reboot.  I suspect the card was being powered off.

I have since given up on using FreeBSD on this box and installed
Solaris10.  As there do not appear to be any hardware issues with
Solaris, I was curious if there is a known issue with either the xl
driver or the network stack in 6.3 that may have been fixed in 7.0 .
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-24 Thread Giorgos Keramidas
On Mon, 23 Jun 2008 10:26:02 -0700, FT [EMAIL PROTECTED] wrote:
   ...  But I can't send mail because the system
 isn't configured for that, and I'm in the dark as how to accomplish it.
 Is there somewhere that I can go for info on setting up a simple
 configuration which will let me send mail from Mutt?  ...

 Well, I have had sendmail enabled, but my outgoing mail gets
 bounced with a message saying that Comcast has blocked the process.

 Yes. On most residential connections, Comcast blocks port 25 to reduce
 the spam burden created by compromised hosts. Your options are not to
 send mail on port 25 (using port 587, for instance, but that makes you
 unable to communicate with many servers) or to buy business class
 service from Comcast, if they'll let you. You can try calling support
 and asking to have 25 unblocked, but I have yet to hear of a case
 where that was effective.

There is another option, which makes sense too:

Send all outgoing email to Comcast's mail relay, using `SMART_HOST'.

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


Bluetooth headset - paired...now what?

2008-06-24 Thread Norberto Meijome
(sending again, it doesn't seem to have hit the list...?  )
hi :)

FreeBSD ayiin.octantis.com.au 7.0-STABLE FreeBSD 7.0-STABLE #57: Tue Jun 24 
11:05:18 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/AYIIN  i386

I have my headset . It is a Philips SHB6100 ,as reported by :

# hccontrol -n ubt0hci remote_name_request betos_headset
BD_ADDR: betos_headset
Name: Philips SHB6100

It is paired :
#  hccontrol -n ubt0hci read_connection_list
Remote BD_ADDRHandle Type Mode Role Encrypt Pending Queue State
betos_headset 12  ACL0 MASTNONE   0 0 OPEN

as seen above,  I am currently paired with the nokey option.

and its features are :
#  hccontrol read_remote_supported_features 12
Connection handle: 12
Features: 0xff 0xff 0x8f 0x78 0x18 0x18 00 0x80 
3-Slot 5-Slot Encryption Slot offset
Timing accuracy Switch Hold mode Sniff mode
Park mode RSSI Channel quality SCO link
HV2 packets HV3 packets u-law log A-law log CVSD
Paging scheme Power control Transparent SCO data
Unknown2.7 

now... how do I use it?! I want to use it to listen to music and, ideally, for 
skype calls too.

my laptop's bluetooth chipset info:
ubt0: Broadcom Corp BCM2045B, class 224/1, rev 2.00/1.00, addr 2 on uhub2
ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2
ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; 
wMaxPacketSize=64; nframes=5, buffer size=320

Any pointers will be greatly appreciated,

B
_
{Beto|Norberto|Numard} Meijome

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

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail Google Apps Email - Not Working Together

2008-06-24 Thread Mark Price
On Tue, Jun 24, 2008 at 6:33 PM, Schiz0 [EMAIL PROTECTED] wrote:
 Below is the output of /var/log/maillog. I'm trying to send an email
 from the irc account on the server, to [EMAIL PROTECTED]. I think
 maybe sendmail is getting confused because the hostname of the FreeBSD
 box is also domain.tld, the same host I'm trying to send outgoing
 mail to.

Yes, that is the problem.  In order for you to send mail out to
domain.tld, sendmail must not think that it is configured to handle
domain.tld locally.  I would recommend changing your hostname to
something like server1.domain.tld and making sure you don't have the
domain 'domain.tld' listed alone in your sendmail config files.


Regards,

Mark

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


Re: Wipe a drive clean

2008-06-24 Thread Norberto Meijome
On Mon, 23 Jun 2008 14:36:35 -0600
Andrew Falanga [EMAIL PROTECTED] wrote:

  I'd rather not install a port, if I can avoid it.  I  
 
  Have a look at security/wipe.  
 
 Before reading this, yes I did.  In fact, I even installed it.
 However, the first operation appears to be a renaming of the file in
 question.  I was doing:
 
 wipe -z /dev/da2
 
 which was being kicked out with Operation not permitted.  It seemed
 to want to move/rename the file first.  I didn't do enough digging to
 get around this before reading this e-mail.


do you have access rights to write to that device?

is the device mounted ? (it shouldn't)

B
_
{Beto|Norberto|Numard} Meijome

Web2.0 is outsourced RD from Web1.0 companies.
   The Reverend

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wipe a drive clean

2008-06-24 Thread [EMAIL PROTECTED]
2008/6/23 Andrew Falanga [EMAIL PROTECTED]:
 On Mon, Jun 23, 2008 at 2:23 PM, Roland Smith [EMAIL PROTECTED] wrote:

 I'm not sure about flash memory, but for a harddrive, simple writing 0's
 is not a secure way to delete data. It can still be recovered.

 Actually, this is for an experiment that I want to start with a
 clean device for.  I'm not actually trying to obtain some level of
 security.

Assuming you do not have some geom provider on
said device

# dd if=/dev/zero of=/dev/da2 bs=1024k count=1

should wipe the partition table and superblock, which is
good enough for an insecure erase.

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


Re: Wipe a drive clean

2008-06-24 Thread Andrew Falanga
On Mon, Jun 23, 2008 at 8:03 PM, Norberto Meijome [EMAIL PROTECTED] wrote:
 On Mon, 23 Jun 2008 14:36:35 -0600
 Andrew Falanga [EMAIL PROTECTED] wrote:

  I'd rather not install a port, if I can avoid it.  I
 
  Have a look at security/wipe.

 Before reading this, yes I did.  In fact, I even installed it.
 However, the first operation appears to be a renaming of the file in
 question.  I was doing:

 wipe -z /dev/da2

 which was being kicked out with Operation not permitted.  It seemed
 to want to move/rename the file first.  I didn't do enough digging to
 get around this before reading this e-mail.


 do you have access rights to write to that device?

 is the device mounted ? (it shouldn't)


No.  I unmounted before trying.

Andy

-- 
 A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and 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: Wipe a drive clean

2008-06-24 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Wojciech Puchar
 Sent: Monday, June 23, 2008 1:40 PM
 To: Steve Bertrand
 Cc: freebsd-questions@freebsd.org; Andrew Falanga
 Subject: Re: Wipe a drive clean
 
 
  I'm having no luck finding hits for wipe drive or zero drive in
  the mail list archives and I can't believe I'm the first to ask this
  question but here it is anyway.  How can I simply write 0's across a
  USB thumb drive?  I'd rather not install a port, if I can avoid it.  I
  was thinking that something like dd would work, but everything I've
  tried thus far is not working.  What suggestions does everyone have?
 
  Will...
 
  dd if=/dev/zero of=/dev/disk
 
 
 dd if=/dev/zero of=/dev/disk bs=1m
 
 bs may be smaller but not the default 512 bytes. it's a block 
 size. having 
 very small block will make the process slow
 

dd if=/dev/random  of=/dev/disk  bs=1024

The above will wipe the drive clean per the 
United States Department of Defence Standard 5220.22-M 

To sanitize it per the 5220.22-M stnadard, do the above
3 times.  This is intended to destabilise the remnants of
data that may exist on the edges of the track of the disk
to which the data is written

The random device is a lot slower than /dev/zero so
the bs isn't as important.

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


Re: SSHD Config questions

2008-06-24 Thread prad
On Wed, 25 Jun 2008 01:04:40 -0300
Agus [EMAIL PROTECTED] wrote:

 In case i enable them, would my server, which is very small(Very
 little RAM,192MB i think)..its just for educational purposes; could
 my server cope with it if for instance tehre were quite a few clients
 connected?  I dont know how to put this question...sorry..

and i'm not sure how to answer you - so we are even.

however, i can tell you that we've been running a webserver with 20
virtual hosts on a 700MHz with 192M ram for a long time really well
(it's also education - a homeschooling project). the pages were served
via postgresql databases, python and apache for quite a while, but
recently we went to static html pages (that we create using the
database and php). 

even when we were getting 4+ hits a day we were ok - the
slowdown turned out to be in our network hub and once that was upgraded
to 100T things were fine. 

we use sshd with rsa authentication (disabled password login
completely), but there are only about 5 accounts and not much login 
activity. i don't really see why sshd should slow things down - i would
think it would be more like that the actual activity would be what the
difficulty would be for the server.

something you can do though is to log on several times even from one
machine (or several - just coordinate it) and see if there is any
difference.

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SSHD Config questions

2008-06-24 Thread Agus
Hi fellows,

I am trying to configure sshd on my bsd and wanted to ask if the opitons
there, in case i enable them are resource intensive;
Let me give u an example,

For instance, the Options
#ClientAliveInterval 0
#ClientAliveCountMax 3
In case i enable them, would my server, which is very small(Very little
RAM,192MB i think)..its just for educational purposes; could my server cope
with it if for instance tehre were quite a few clients connected?  I dont
know how to put this question...sorry..
What would be better. To enable them or keep them disabled. Cause there
might be lots of users and what if a few connections keep there alive
wasting resources while not being used, instead if the options enabled, they
would be disconnected, but would this options interfere in sshd performance?
I put those options only as an example; if you know of others that i should
enable please dont hesitate to share it ;)

Hope you guys get the concept...

Thanks a lot as always and have a nice one...
Cheers,
Agustin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SSHD Config questions

2008-06-24 Thread Mark Price
On Wed, Jun 25, 2008 at 12:04 AM, Agus [EMAIL PROTECTED] wrote:
 Hi fellows,

 I am trying to configure sshd on my bsd and wanted to ask if the opitons
 there, in case i enable them are resource intensive;
 Let me give u an example,

 For instance, the Options
 #ClientAliveInterval 0
 #ClientAliveCountMax 3

You can enable these options and they should have very little impact
on your RAM usage.  I dont think you will see any difference with
192MB RAM.

What is it that you are trying to accomplish?  It is good to set
ClientAliveInterval if your clients are behind NAT routers, to keep
the NAT sessions from timing out.

Regards,

Mark

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