Simple Text Mail Setup

2008-06-23 Thread Rem Roberti
I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
able to configure my system to allow me to use a text-based mail client
such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
from Comcast via getmail.  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?  Sendmail, which of
course is included with FreeBSd, seems kind of nightmarish.  At any
rate, this is a personal system, and I would like the simplest setup I can
get to work.  Any info would be much appreciated.

Rem
___
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-23 Thread Odhiambo Washington
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)?

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Oh My God! They killed init! You Bastards!
 --from a /. post
___
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-23 Thread Lars Eighner

On Mon, 23 Jun 2008, Rem Roberti wrote:


I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
able to configure my system to allow me to use a text-based mail client
such as Mutt.  So far, I am able to receive mail, fetching my pop mail
from Comcast via getmail.  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?  Sendmail, which of
course is included with FreeBSd, seems kind of nightmarish.  At any
rate, this is a personal system, and I would like the simplest setup I can
get to work.  Any info would be much appreciated.


You may be looking for nbsmtp (said to stand for no-brainer SMTP). It's in
ports.  It works good for simple situations, and requires no brains. That's
why I use it.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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-23 Thread Armando Cambra
On 6/23/08, Rem Roberti [EMAIL PROTECTED] wrote:

 I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
 able to configure my system to allow me to use a text-based mail client
 such as Mutt.  So far, I am able to receive mail, fetching my pop mail
 from Comcast via getmail.  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?  Sendmail, which of
 course is included with FreeBSd, seems kind of nightmarish.  At any
 rate, this is a personal system, and I would like the simplest setup I can
 get to work.  Any info would be much appreciated.

 Rem



Hi Rem,

I just installed msmtp this weekend and it seems to work quite well for
sending and queing email. Have a look at the examples, you will even be able
to queue them offline and send them, when you have an internet connection. I
prefer Imap, so instead of fetchmail I use offlineimap. I wanted to be able
to use my whole email archive with the notebook.

Regards

Armando
___
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-23 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)?


I csup'd my ports today and am re-doing it at present.  src  kernel is all 
uptodate
___
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-23 Thread Gonzalo Nemmi
On Monday 23 June 2008 05: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)?

or 
portsnap fetch extract
portsnap update

portupgrade -arR

and since gettext got updated .. is gonna take a loot of time to update 
all of your ports ...

Actually .. from /usr/ports/UPDATING:

20080605:
  AFFECTS: users of devel/gettext (ie: YOU)
  AUTHOR: [EMAIL PROTECTED]

  As a result of the upgrade to gettext-0.17, the shared library version
  of libintl has changed, so you will need to rebuild all ports that
  depend on gettext:

  # portupgrade -rf gettext
  # portmaster -r gettext\*

  Given the scope and sheer number of dependent ports, it may be more
  advisable to simply blow away all existing install ports (after
  keeping any local configuration changes), and rebuilding from scratch.

Patience is a virtua ...
I guess :s

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


Re: linux-quake4 (short and sweet, again)

2008-06-23 Thread Boris Samorodov
On Sun, 22 Jun 2008 14:38:15 -0300 Gonzalo Nemmi wrote:

 Has anyone been able to get linux-quake4 working on FBSD7.0-REL?

 Useful info:

 [EMAIL PROTECTED] ~]% uname -rsim
 FreeBSD 7.0-RELEASE i386 GENERIC
 [EMAIL PROTECTED] ~]% sysctl -a | grep linux
 hw.snd.compat_linux_mmap: 0
 compat.linux.oss_version: 198144
 compat.linux.osrelease: 2.6.16
 compat.linux.osname: Linux
 [EMAIL PROTECTED] ~]% pkg_info -xE linux
 linux-doom3-1.1.1286,0
 linux-expat-1.95.8
 linux-flashplugin-9.0r124
 linux-fontconfig-2.2.3_7
 linux-openssl-0.9.7f
 linux-quake4-1.4.2,1
 linux-sdl-1.2.10,1
 linux-xorg-libs-6.8.2_5
 linux_base-fc-4_13
 [EMAIL PROTECTED] ~]%

 The problem:
 [EMAIL PROTECTED] ~]% linux-quake4
 /usr/local/lib/quake4/quake4.x86: error while loading shared 
 libraries: /usr/local/lib/libX11.so.6: ELF file OS ABI invalid
 ^^ [1]

 [EMAIL PROTECTED] ~]% linux-quake4smp
 /usr/local/lib/quake4/quake4smp.x86: error while loading shared libraries: 
 libSDL-1.2.id.so.0: cannot open shared object file: No such file or directory
 [EMAIL PROTECTED] ~]% ldd /usr/local/lib/quake4/quake4smp.x86
 /usr/local/lib/quake4/quake4smp.x86:
 libpthread.so.0 = /lib/libpthread.so.0 (0x284da000)
 libdl.so.2 = /lib/libdl.so.2 (0x284ec000)
 libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x284f)
 ^^ [2]
 libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x285c3000)
 libSDL-1.2.id.so.0 = not found
 libz.so.1 = /usr/lib/libz.so.1 (0x285d2000)
 libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x285e5000)
 libm.so.6 = /lib/libm.so.6 (0x286c2000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x286e8000)
 libc.so.6 = /lib/libc.so.6 (0x286f2000)
 /lib/ld-linux.so.2 (0x284bc000)
 [EMAIL PROTECTED] ~]%

 ldd seems to indicate the port is hosed: libSDL-1.2.id.so.0 = not found

 For the record: linux-doom3-1.1.1286,0 runs like silk in here .. so .. it 
 doesn't seem to be an emulation problem. Yet still: linux-quake4
 /usr/local/lib/quake4/quake4.x86: error while loading shared 
 libraries: /usr/local/lib/libX11.so.6: ELF file OS ABI invalid, dazzels 
 me ...

 Any hints, pointers, info, will be greatly appreciated. I want to make sure 
 Im 
 not doing something wrong before e-mailing the maintainer.

Your program stops at [1] which is a native FreeBSD library while ldd
finds [2] which is a linux one. I've seen that only when there is
something non-default is defined (ex. LD_LIBRARY_PATH) which redefines
a default FreeBSD behaviour and results in finding a library at
/usr/local/lib before /compat/linux. Please, check up your environment
and/or script.

Can't comment no libSDL-1.2.id.so.0 though.

 If the maintainer (Ed Schouten according to the Makefile) is on the list, 
 please feel free to contact me to work and test this =)

 Thanks :)


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
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-23 Thread dfeustel
On Mon, Jun 23, 2008 at 12:05:56AM -0700, Rem Roberti wrote:
 I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
 able to configure my system to allow me to use a text-based mail client
 such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
 from Comcast via getmail.  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?  Sendmail, which of
 course is included with FreeBSd, seems kind of nightmarish.  At any
 rate, this is a personal system, and I would like the simplest setup I can
 get to work.  Any info would be much appreciated.
 
 Rem

I use getmail to receive mail, mutt to manage that mail, and msmtp to
send mail. Works great.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fixit / LiveFS problems (AMD64)

2008-06-23 Thread Kent Hauser
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?

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.

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

What am I missing?

This is a dual-boot VISTA machine with easybcd boot sector. I don't know
what to make of problem 1), but the others seem release-engineering related.

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


gantt/pert chart in ports ?

2008-06-23 Thread Anton Shterenlikht
Can anybody recommend a simple Gantt or PERT chart program from ports?

I'm looking at creating project diagrams for 3-5 years,
with time detalisation of one month, with 10-30 tasks and 1-3 people.

I note there are several packages, so it would be good to hear about
the benefits and drawbacks from those who use them.

many thanks
anton
 
-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade dependency loop

2008-06-23 Thread DA Forsyth
Hiya

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.


--
   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: gantt/pert chart in ports ?

2008-06-23 Thread Uwe Laverenz

Anton Shterenlikht schrieb:


Can anybody recommend a simple Gantt or PERT chart program from ports?


/usr/ports/deskutils/ganttproject

Uwe

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


bsdnews

2008-06-23 Thread Leslie Jensen


I've missed the information so I need to ask if

bsdnews.exospy.com

Is the new site for

bsdnews.com

Thanks

/Leslie



___
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-23 Thread Robert Huff

Warren Liddell writes:

   Do you have the latest ports tree (via cvsup or csup)?
  
  I csup'd my ports today and am re-doing it at present.  

Can't speak to the other ports, but the current version of ruby
is ruby-1.8.6.111_3,1 which built yesterday for me with zero
problems.


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: Simple Text Mail Setup

2008-06-23 Thread Bill Moran
In response to Rem Roberti [EMAIL PROTECTED]:

 I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
 able to configure my system to allow me to use a text-based mail client
 such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
 from Comcast via getmail.  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?  Sendmail, which of
 course is included with FreeBSd, seems kind of nightmarish.  At any
 rate, this is a personal system, and I would like the simplest setup I can
 get to work.  Any info would be much appreciated.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/outgoing-only.html

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


Strange Out of disk space

2008-06-23 Thread Artem Kuchin

Hello!

Look at this:

/dev/da0s1f 104164493 104061031 -8229697   109%/usr

but
du -k -d1 /usr
gives a lot less (about 20GB).

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

The question is how can i sees what process mmaped how much
space and where?


--
Regards,
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-23 Thread Erik Trulsson
On Mon, Jun 23, 2008 at 03:45:37PM +0400, Artem Kuchin wrote:
 Hello!
 
 Look at this:
 
 /dev/da0s1f 104164493 104061031 -8229697   109%/usr
 
 but
 du -k -d1 /usr
 gives a lot less (about 20GB).
 
 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.


 
 The question is how can i sees what process mmaped how much
 space and where?
 
 



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


FreeBSD + Unicode filenames

2008-06-23 Thread Paul Macdonald


Hi,

Can someone please point me in the right direction regarding handling 
unicode characters in filenames on freeBSD.


I have an rsync backup script running from a linux server which hosts 
many files with european accented characters.


The script bombs out on encountering these files, and as i understand it 
this isn't an rsync issue but presumably one of the filesystem being 
able to handle filenames containing these characters.


I've read a bit online re unicode terminals, handling unicode text in 
files, but i really just need to be able to have unicode filenames..


The systems are a mix of 6.2 and 7.0, but a fix under 6.2 would be most 
helpful..


thanks

Paul.



___
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-23 Thread Rem Roberti
On 2008.06.23 09:31:56 +, [EMAIL PROTECTED] wrote:
 On Mon, Jun 23, 2008 at 12:05:56AM -0700, Rem Roberti wrote:
  I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
  able to configure my system to allow me to use a text-based mail client
  such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
  from Comcast via getmail.  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?  Sendmail, which of
  course is included with FreeBSd, seems kind of nightmarish.  At any
  rate, this is a personal system, and I would like the simplest setup I can
  get to work.  Any info would be much appreciated.
  
  Rem
 
 I use getmail to receive mail, mutt to manage that mail, and msmtp to
 send mail. Works great.


Thanks to all who replied.  I shall spend today looking into your
suggestions, including the handbook.

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


FreeBSD + Unicode filenames

2008-06-23 Thread Robert Huff

Paul Macdonald writes:

  Can someone please point me in the right direction regarding
  handling unicode characters in filenames on freeBSD.

Is the question Does it understand them? or How does it
display them?
Because on a -CURRENT system with:

LANG=en_US.UTF-8
LC_ALL=C

ls -al produuces this:

-rw-r--r--   1 huff  huff   1204 Jun 19 17:16 C9tincelle.xhtml


at the correct point in the sort order.


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


Problem with IF_RE

2008-06-23 Thread freebsd

Dear List Members

I am having an issue with a RealTek card for networking. The card in  
question is recognised by FB alright, as you can see in the pciconf  
output


[EMAIL PROTECTED]:2:8:0: class=0x02 card=0x311a1385 chip=0x816910ec  
rev=0x10 hdr=0x00

vendor = 'Realtek Semiconductor'
device = 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller'
class  = network
subclass   = ethernet

But when I do an ifconfig, the result says Media None and No Carrier

re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:1e:2a:3b:2e:62
inet x.x.x.x netmask 0xffe0 broadcast x.x.x.x
media: Ethernet none
status: no carrier

I know for a fact that the cable and the connection is alright -- I  
tried with other devices (like Laptops and other desktops), and when I  
plug the cable into the RTL card, the light on the switch shows  
connection established.


But ifconfig report shows no carrier ? ? ?

Any and all help is highly appreciated. I have already CVSupped twice  
within this week and built world and kernels from scratch as well.


uname -a
FreeBSD  7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun 12  
15:24:40 BST 2008



kldstat
Id Refs AddressSize Name
 1   18 0xc040 7bdce8   kernel
 22 0xc0bbe000 28588linux.ko
 31 0xc0be7000 7558c4   nvidia.ko
 41 0xc133d000 7a88 if_re.ko
 51 0xc1345000 6921cacpi.ko
 61 0xc35c5000 4000 nullfs.ko
 71 0xc4623000 1e000smbfs.ko
 82 0xc4641000 3000 libiconv.ko
 92 0xc4644000 3000 libmchain.ko


All practical suggestions and pointers are highly appreciated.

Thanks.



-
This message sent through Virus Free Email
http://www.vfemail.net



___
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-23 Thread Peter Ulrich Kruppa


Rem Roberti schrieb:

I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
able to configure my system to allow me to use a text-based mail client
such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
from Comcast via getmail.  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?  Sendmail, which of
course is included with FreeBSd, seems kind of nightmarish.  

Probably you only have to type
sendmail_enable=YES
into your /etc/rc.conf and reboot.

Greetings,

Uli.


At any
rate, this is a personal system, and I would like the simplest setup I can
get to work.  Any info would be much appreciated.

Rem
___

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]


ich8 sensors

2008-06-23 Thread DA Forsyth
Hiya

After much searching around I stumbled on the coretemp driver for 
retrieving the core temperatures in a Core 2 Duo
however, I'd like to monitor fan speed and northbridge temperature if 
at all possible.

Motherboard is an Intel DG965WH with ICH8 chipset, Core 2 Duo 6300 
chip.  
FreeBSD 7.0-RELEASE-p1 #2:

at one point I thought it used IPMI and compiled in the ipmi driver, 
but it doesn't create the /dev/ipmi device so I am assuming I was 
wrong.  the manual talks about WfM platform, but searching for that 
gets me nowhere.

no, mbmon doesn't work -:

thanks for any info


--
   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: Which file can I find the error message that shows on the screen when I build my kernel?jj

2008-06-23 Thread Jerry McAllister
On Sun, Jun 22, 2008 at 11:03:33AM -0700, [EMAIL PROTECTED] wrote:

 Hi:
 I have make some changes to the kernel files and rebuild the kernel, but
 when I rebuild the kernel, it show some errors and stop rebuild. The
 question I want  ask is that: Is there any file that store all these error
 message, If there is, where can I find it?
 Because there are too many errors occur, I can't see all the errors on the
 screen, if there is a file that store these error messages, then I can
 find all the errors and fixed them.
 Thanks!
 Best Wishes

Check out the 'script(1)' utility  man script
If you invoke it with a file name, it will write all terminal stuff
to a file.  I almost always use it when I do a major build because
it is impossible to catch stuff as it flies by on the screen.

You can invoke it for the duration of a specific command or you
can just start it on your interactive terminal session and then
stop it when you are finished with it.

jerry


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


Re: Problem with IF_RE

2008-06-23 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

[EMAIL PROTECTED] wrote:
| Dear List Members
|
| I am having an issue with a RealTek card for networking. The card in
| question is recognised by FB alright, as you can see in the pciconf output
|
| [EMAIL PROTECTED]:2:8:0: class=0x02 card=0x311a1385 chip=0x816910ec 
rev=0x10
| hdr=0x00
| vendor = 'Realtek Semiconductor'
| device = 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller'
| class  = network
| subclass   = ethernet
|
| But when I do an ifconfig, the result says Media None and No Carrier
|
| re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
| options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
| ether 00:1e:2a:3b:2e:62
| inet x.x.x.x netmask 0xffe0 broadcast x.x.x.x
| media: Ethernet none
| status: no carrier
|
| I know for a fact that the cable and the connection is alright -- I
| tried with other devices (like Laptops and other desktops), and when I
| plug the cable into the RTL card, the light on the switch shows
| connection established.
|
| But ifconfig report shows no carrier ? ? ?
|
| Any and all help is highly appreciated. I have already CVSupped twice
| within this week and built world and kernels from scratch as well.
|
| uname -a
| FreeBSD  7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun 12
| 15:24:40 BST 2008
|
|
| kldstat
| Id Refs AddressSize Name
|  1   18 0xc040 7bdce8   kernel
|  22 0xc0bbe000 28588linux.ko
|  31 0xc0be7000 7558c4   nvidia.ko
|  41 0xc133d000 7a88 if_re.ko
|  51 0xc1345000 6921cacpi.ko
|  61 0xc35c5000 4000 nullfs.ko
|  71 0xc4623000 1e000smbfs.ko
|  82 0xc4641000 3000 libiconv.ko
|  92 0xc4644000 3000 libmchain.ko
|
|
| All practical suggestions and pointers are highly appreciated.

Uhm, just out of curiosity, do you have the line

devd_enable=YES

in your /etc/rc.conf?

|
| Thanks.



- --
Pietro Cerutti
[EMAIL PROTECTED]

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

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

iEYEAREKAAYFAkhfxiEACgkQwMJqmJVx944h4ACfc4u1o3BPX8BgSicgp65VPVvy
hEIAoKgO0TBnyCSsPJN7jkOh/qWy3NKx
=inAk
-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]


unwanted text before shell prompt

2008-06-23 Thread Noah

Hi there,

I just upgraded my FreeBSD box and now I am find that the is an almost 
blank line above my shell prompt that contains a % (without the 
quotes) about 20 columns in.  What would be the places that this line 
could be defined?


Cheers,

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


Re: unwanted text before shell prompt

2008-06-23 Thread Derek Ragona

At 11:42 AM 6/23/2008, Noah wrote:

Hi there,

I just upgraded my FreeBSD box and now I am find that the is an almost 
blank line above my shell prompt that contains a % (without the quotes) 
about 20 columns in.  What would be the places that this line could be defined?


Cheers,

noah


Check your prompts, which depends on the shell you are using.

-Derek

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

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


Re: Simple Text Mail Setup

2008-06-23 Thread Rem Roberti
On 2008.06.23 15:49:59 +, Peter Ulrich Kruppa wrote:
 
 Rem Roberti schrieb:
 I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
 able to configure my system to allow me to use a text-based mail client
 such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
 from Comcast via getmail.  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?  Sendmail, which of
 course is included with FreeBSd, seems kind of nightmarish.  
 Probably you only have to type
   sendmail_enable=YES
 into your /etc/rc.conf and reboot.
 
 Greetings,
 
 Uli.
 
 At any
 rate, this is a personal system, and I would like the simplest setup I can
 get to work.  Any info would be much appreciated.
 
 Rem


Well, I have had sendmail enabled, but my outgoing mail gets
bounced with a message saying that Comcast has blocked the process.  I
have the feeling that there is a problem with how I am supposed to use
my hostname.  When I run hostname -r I get .hsd1.ca.comcast.net.  As you
can tell, I am a relative newbie, and not very well versed in all of
these things.  But I love the process of trying to get it figured out.

Rem   
 
 
 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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unwanted text before shell prompt

2008-06-23 Thread Giorgos Keramidas
On Mon, 23 Jun 2008 09:42:56 -0700, Noah [EMAIL PROTECTED] wrote:
 Hi there,

 I just upgraded my FreeBSD box and now I am find that the is an almost
 blank line above my shell prompt that contains a % (without the
 quotes) about 20 columns in.  What would be the places that this line
 could be defined?

Which shell are you using?  Have you customized its startup files in any
way?  What did those customizations change?

- Giorgos

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


Re: shellscript conditional to check for external disk

2008-06-23 Thread Helge Rohde
On Saturday 21 June 2008 22:47:31 Roland Smith wrote:
 On Sat, Jun 21, 2008 at 09:44:09PM +, Helge Rohde wrote:
  Hello List,
 
  I need to write a backup script, and one of the required actions would be
  a copy of the backup to an external firewire drive. I would like to make
  this as easy as possible for the local staff, so i'd like to check
  whether the drive is attached, if necessary mount it, copy over the
  backup  and unmount it again, so that the local staff can swap the
  external disks when they're not used.
 
  Is there a canonical way to achieve what i want? I played with the idea
  of simply checking for /dev/da0s1d's existance, but that won't disappear
  on disconnect, so that would leave the  is a possibility that although
  da0 is in /dev, it might not be connected.

 Use glabel(8) to give the device an unique label. There is no telling
 which device /dev/da0s1d is pointing to! After labeling you can check
 for /dev/fstype/yourlabel, which should be unique.

 Make sure to unmount the drive at the end of the backup script, or
 you'll get a kernel panic when staff pulls the plug on a mounted device.

 Roland

Okay, it obviosly makes sense to use glabel instead of the device node. Will 
the glabel appear/disappear depending on whether the drive is connected?

Is it possible to have more then one physical drive with the same glabel(As i 
plan to utilize two identical Firewire disks) ?

Either way, i still need a way to check whether a drive is attached or not. 
Mounting( and unmounting!) will be done from the periodic backup scripts.
I am not sure how devd could help me with that, besides maybe write/delete a 
zero-byte file somewhere and have the periodic script check for its 
existence. 

Thank you all for your help,
Helge
___
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-23 Thread FT
...  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.

-FT

___
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-23 Thread Bill Moran
In response to FT [EMAIL PROTECTED]:

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

No.  What you really want to do is set smart_host to the outgoing
mail server provided by your ISP.

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


Re: Simple Text Mail Setup

2008-06-23 Thread Peter Ulrich Kruppa



Rem Roberti schrieb:

On 2008.06.23 15:49:59 +, Peter Ulrich Kruppa wrote:

Rem Roberti schrieb:

I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
able to configure my system to allow me to use a text-based mail client
such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
from Comcast via getmail.  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?  Sendmail, which of
course is included with FreeBSd, seems kind of nightmarish.  

Probably you only have to type
sendmail_enable=YES
into your /etc/rc.conf and reboot.

Greetings,

Uli.


At any
rate, this is a personal system, and I would like the simplest setup I can
get to work.  Any info would be much appreciated.

Rem



Well, I have had sendmail enabled, but my outgoing mail gets
bounced with a message saying that Comcast has blocked the process.  I
have the feeling that there is a problem with how I am supposed to use
my hostname.  When I run hostname -r I get .hsd1.ca.comcast.net.  As you
can tell, I am a relative newbie, and not very well versed in all of
these things.  But I love the process of trying to get it figured out.

Rem   
I don't know mutt, but I guess you should be able to set 
Comcast's SMTP server somewhere. And: do you need some kind of 
authentification for it?


Uli.




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]

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


Re: Simple Text Mail Setup

2008-06-23 Thread Rem Roberti
 
 No.  What you really want to do is set smart_host to the outgoing
 mail server provided by your ISP.


Please forgive my ignorance here, but how does one accomplish that?

Rem 
___
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-23 Thread Abdullah Ibn Hamad Al-Marri



- Original Message 
 From: [EMAIL PROTECTED] [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Monday, June 23, 2008 4:41:12 PM
 Subject: Problem with IF_RE
 
 Dear List Members
 
 I am having an issue with a RealTek card for networking. The card in  
 question is recognised by FB alright, as you can see in the pciconf  
 output
 
 [EMAIL PROTECTED]:2:8:0: class=0x02 card=0x311a1385 chip=0x816910ec  
 rev=0x10 hdr=0x00
  vendor = 'Realtek Semiconductor'
  device = 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller'
  class  = network
  subclass   = ethernet
 
 But when I do an ifconfig, the result says Media None and No Carrier
 
 re0: flags=8843metric 0 mtu 1500
  options=9b
  ether 00:1e:2a:3b:2e:62
  inet x.x.x.x netmask 0xffe0 broadcast x.x.x.x
  media: Ethernet none
  status: no carrier
 
 I know for a fact that the cable and the connection is alright -- I  
 tried with other devices (like Laptops and other desktops), and when I  
 plug the cable into the RTL card, the light on the switch shows  
 connection established.
 
 But ifconfig report shows no carrier ? ? ?
 
 Any and all help is highly appreciated. I have already CVSupped twice  
 within this week and built world and kernels from scratch as well.
 
 uname -a
 FreeBSD  7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun 12  
 15:24:40 BST 2008
 
 
 kldstat
 Id Refs AddressSize Name
   1   18 0xc040 7bdce8   kernel
   22 0xc0bbe000 28588linux.ko
   31 0xc0be7000 7558c4   nvidia.ko
   41 0xc133d000 7a88 if_re.ko
   51 0xc1345000 6921cacpi.ko
   61 0xc35c5000 4000 nullfs.ko
   71 0xc4623000 1e000smbfs.ko
   82 0xc4641000 3000 libiconv.ko
   92 0xc4644000 3000 libmchain.ko
 
 
 All practical suggestions and pointers are highly appreciated.
 
 Thanks.

Hello,

You should follow RELENG_7, I don't think got any changes in RELENG_7_0.

Good luck with it.

 
--
Regards,

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


  
___
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-23 Thread David Kelly
On Mon, Jun 23, 2008 at 01:30:33PM -0400, Bill Moran wrote:
 In response to FT [EMAIL PROTECTED]:
 
 No.  What you really want to do is set smart_host to the outgoing
 mail server provided by your ISP.

Yes. Use exactly the same delivery path as a normal PC/Mac email
client would use. Deliver to comcast and let them figure out how to
deliver, don't be too smart and try to deliver direct yourself.

In postfix its the relayhost variable in main.cf. This email was
brought to you with mutt and postfix, via smtp.knology.net.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Simple Text Mail Setup

2008-06-23 Thread David Kelly
On Mon, Jun 23, 2008 at 10:45:39AM -0700, Rem Roberti wrote:
  
  No.  What you really want to do is set smart_host to the outgoing
  mail server provided by your ISP.
 
 Please forgive my ignorance here, but how does one accomplish that?

Google sendmail smart_host.

I started using postfix many years ago at the recommendation of a friend
who hosts really big mail systems on FreeBSD. The biggest immediate
advantage was that I felt the configuration files were easier to read
and understand.

As I posted earlier, set relayhost = whatever you would put in a
conventional email app as the SMTP delivery point and then postfix will
send everything there that doesn't belong here.

In all probability that is the only edit you will need for postfix.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Simple Text Mail Setup

2008-06-23 Thread Clayton Scott Kern
on 06-23-2008, Rem Roberti wrote:
 On 2008.06.23 15:49:59 +, Peter Ulrich Kruppa wrote:
  
  Rem Roberti schrieb:
  I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
  able to configure my system to allow me to use a text-based mail client
  such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
  from Comcast via getmail.  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?  Sendmail, which of
  course is included with FreeBSd, seems kind of nightmarish.  
  Probably you only have to type
  sendmail_enable=YES
  into your /etc/rc.conf and reboot.
  
  Greetings,
  
  Uli.
  
  At any
  rate, this is a personal system, and I would like the simplest setup I can
  get to work.  Any info would be much appreciated.
  
  Rem
 
 
 Well, I have had sendmail enabled, but my outgoing mail gets
 bounced with a message saying that Comcast has blocked the process.  I
 have the feeling that there is a problem with how I am supposed to use
 my hostname.  When I run hostname -r I get .hsd1.ca.comcast.net.  As you
 can tell, I am a relative newbie, and not very well versed in all of
 these things.  But I love the process of trying to get it figured out.
 
 Rem   
  
  
  Peter Ulrich Kruppa
  Wuppertal
  Germany
  ___

I was getting my outgoing email bounced by my ISP and after much
research, I came up with this local.mc file.

You put this file in /etc/mail named your hostname.local.mc and run
make install.  This creates the files needed by sendmail.


divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#   The Regents of the University of California.  All rights
#   reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions and the following disclaimer in the
#documentation and/or other materials provided with the
#distribution.
# 3. All advertising materials mentioning features or use of this
# software
#must display the following acknowledgement:
#   This product includes software developed by the University of
#   California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its
# contributors
#may be used to endorse or promote products derived from this
#software
#without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
# AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
# LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
# GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
# WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

#
#  This is a generic configuration file for FreeBSD 5.X and later
#  systems.
#  If you want to customize it, copy it to a name appropriate for your
#  environment and do the modifications there.
#
#  The best documentation for this .mc file is:
#  /usr/share/sendmail/cf/README or
#  /usr/src/contrib/sendmail/cf/README
#

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.4 2007/11/22
16:20:01 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -TTMPF /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(local_procmail)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

dnl Uncomment to allow relaying based on your MX records.
dnl NOTE: This can allow sites to use your server as a backup MX without
dnl   your permission.
dnl FEATURE(relay_based_on_MX)

dnl DNS based black hole lists
dnl 
dnl DNS based black hole lists come and go on a regular basis
dnl so this file will not serve as a database of the available servers.
dnl For that, visit
dnl
http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/

dnl Uncomment to activate Realtime Blackhole List
dnl information available at http://www.mail-abuse.com/
dnl NOTE: This is a subscription service as of 

Re: Simple Text Mail Setup

2008-06-23 Thread Bill Moran
In response to Rem Roberti [EMAIL PROTECTED]:

  
  No.  What you really want to do is set smart_host to the outgoing
  mail server provided by your ISP.
 
 Please forgive my ignorance here, but how does one accomplish that?

Without that setting, sendmail will try to send mail _directly_ to its
final destination by looking up the MX record.

If your workstation (I believe the original thread centered around
configuring a workstation to send mail, right?) does not have all the
magic stuff in place to get past spam filters, you will get bounced.
i.e. if your DNS isn't set up perfectly, or if your IP address is on
the list of DHCP addresses, etc.

By setting up smart_host, sendmail will send _all_ email to smart_host,
which (if your ISP is worth the money you pay for) will have proper
DNS and will not be blacklisted or anything, and will reliably forward
your mail on for you.

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


Re: Simple Text Mail Setup

2008-06-23 Thread Bill Moran
In response to Rem Roberti [EMAIL PROTECTED]:
  
  No.  What you really want to do is set smart_host to the outgoing
  mail server provided by your ISP.
 
 Please forgive my ignorance here, but how does one accomplish that?

Oops, I misread your message to be why and not what.

Steps (as root):
1) cd /etc/mail
2) make
3) Edit [hostname].mc to uncomment the smart_host setting and add your
   ISP's server
4) make install
5) /etc/rc.d/sendmail restart

At least, I believe those steps are correct.

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


Re: shellscript conditional to check for external disk

2008-06-23 Thread Roland Smith
On Mon, Jun 23, 2008 at 05:25:58PM +, Helge Rohde wrote:
 On Saturday 21 June 2008 22:47:31 Roland Smith wrote:
  On Sat, Jun 21, 2008 at 09:44:09PM +, Helge Rohde wrote:
   Hello List,
  
   I need to write a backup script, and one of the required actions would be
   a copy of the backup to an external firewire drive. I would like to make
   this as easy as possible for the local staff, so i'd like to check
   whether the drive is attached, if necessary mount it, copy over the
   backup  and unmount it again, so that the local staff can swap the
   external disks when they're not used.
  
   Is there a canonical way to achieve what i want? I played with the idea
   of simply checking for /dev/da0s1d's existance, but that won't disappear
   on disconnect, so that would leave the  is a possibility that although

Such devices should disappear on disconnect.

   da0 is in /dev, it might not be connected.
 
  Use glabel(8) to give the device an unique label. There is no telling
  which device /dev/da0s1d is pointing to! After labeling you can check
  for /dev/fstype/yourlabel, which should be unique.

Let me rephrase that. You should actually use the file system's utility
to set a label. This works for UFS (newfs, tunefs), msdosfs (newfs_msdos),
ISO9660 (mkisofs) and ntfs.

  Make sure to unmount the drive at the end of the backup script, or
  you'll get a kernel panic when staff pulls the plug on a mounted device.
 
  Roland
 
 Okay, it obviosly makes sense to use glabel instead of the device node. Will 
 the glabel appear/disappear depending on whether the drive is connected?

Yes, just like regular device nodes.

 Is it possible to have more then one physical drive with the same glabel(As i 
 plan to utilize two identical Firewire disks) ?

You can label both drives the same. I don't know what will happen it you
try to connect them both at the same time. I guess that the creation of
the second label will fail.

 Either way, i still need a way to check whether a drive is attached or not. 

Simple. Check for the device node.

 Mounting( and unmounting!) will be done from the periodic backup
 scripts.

 I am not sure how devd could help me with that, besides maybe write/delete a 
 zero-byte file somewhere and have the periodic script check for its 
 existence. 

It can't completely. It should be able to detect your labeled device and
mount it somewhere. But you _have_ to unmount _before_ the device node
disappears, lest you get the aforementioned panic.

It's easier to have the backup script test if the labeled device node
exists.

Do not forget to print a message (after the script has unmounted the
drive) for the operators that the backup is finished and that the device
may be disconnected.
 
 Thank you all for your help,

You're welcome!

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


pgpErwAj4m0h2.pgp
Description: PGP signature


Re: unwanted text before shell prompt

2008-06-23 Thread David J Brooks
On Monday 23 June 2008 11:42:56 am Noah wrote:
 Hi there,

 I just upgraded my FreeBSD box and now I am find that the is an almost
 blank line above my shell prompt that contains a % (without the
 quotes) about 20 columns in.  What would be the places that this line
 could be defined?

You appear to be using a c-shell (tcsh most likely). Check the prompt setting 
in ~/.cshrc.

David
-- 
This message beats a hard kick in the face.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libcdio upgrade problems

2008-06-23 Thread Dr. Jennifer Nussbaum

Thank you :-)

Unfortunatly I took someone elses advice and upgraded to 7.0, which created 
it's own
problem :-( But the libcdio thing did get fixed, at least!

Jen

--- On Wed, 6/18/08, Lowell Gilbert [EMAIL PROTECTED] wrote:
From: Lowell Gilbert [EMAIL PROTECTED]
Subject: Re: libcdio upgrade problems
To: Dr. Jennifer Nussbaum [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Date: Wednesday, June 18, 2008, 12:57 PM

Dr. Jennifer Nussbaum [EMAIL PROTECTED] writes:

 Lowell Gilbert [EMAIL PROTECTED] wrote:
Dr. Jennifer Nussbaum  writes:

 Im trying to upgrade some ports, and have a problem with libcdio. At
least i
 think i do. 

 When i try to upgrade, say, Nautilus (or a buncha other things), it
dies in the
 end with a libcdio-0.78.2_2 is already installed. You may wish
to make deinstall
 etc. message.

 But i did go to /usr/ports/sysytils/libcdio and make deinstall and
make reinstall,
 and this was successful. I sync'd the ports collection again, but
no luck. Nothing
 in UPDATING about this.

 Sounds like the dependencies are confused.  pkgdb(1) may help with
 that.  If not, the brute force approach would be to remove the
 affected ports all the way back to (and including) libcdio, and build
 them over.
 I havent been able to figure out how to fix things with pkgdb. And i have
tried, over and over, to remove the affected ports and build them from scratch
but it hasnt been working.

 So i went to libcdio and did a make deinstall, deleted the work files, and
did a make install clean, and it installed fine. Then i tried to build gvfs,
also by doing a make install clean, and it died in the same way--telling me to
make deinstall and make reinstall of libcdio.

 Ive tried this several times with no luck. If theres an even more brute
force way id like to know what it is so i can do that. This is preventing a lot
of other upgrades to GNOME, which i need.

I found it.  I think you need to reset the options on libcdio to
re-enable the cdparanoia option.  Some gnome ports seem to depend on
the library specifically with the paranoia option, and I've seen some
systems get the options jammed.

Something like:
(cd /usr/ports/sysutils/libcdio ; make rmconfig ; portupgrade -f libcdio)

-- 
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: Strange Out of disk space

2008-06-23 Thread 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.


I also had a similar problem, which I solved right now. :) So thanks for the 
inspiration
to try harder to find out what was eating my disk space. df showed this:

/dev/mirror/gm0s1f 112291390 83438178 1986990281%/usr

and du -d1 -k /usr showed:

46934133/usr

When this happened before, everything was freed after reboot.

Just now, when writing this post, I went through my process list (I wanted to 
compare
running services with your system) and found this:

 2131  ??  DL 3:36,42 [md4]

Then I remembered that once, quite some time ago, I created a file-backed 
filesystem
using mdconfig. I did mdconfig -l -u /dev/md4 and got this:

md4 vnode 111G  /usr/snapshot/snap

Because /usr/snapshot/snap doesn't exist anymore (I remember deleting it one 
day,
because I thought I didn't need it anymore), du shows wrong size.

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

/dev/mirror/gm0s1f 112291390 46935874 5637220645%/usr

Hope that it maybe helps. :)

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


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

2008-06-23 Thread George Hartzell

DA Forsyth recently mentioned the coretemp driver, which fetches the
core temperatures for Core 2 Duo chips.

I'm in the middle of building up a Shuttle SG31G2 (7-STABLE) and
loaded the driver to see what it told me.

I've noticed that cpu.0 is consistently hotter than cpu.1, even on an
unloaded machine.  Is that because that core's doing housekeeping work
whilst the other is truly idle?

dev.cpu.0.temperature: 44
dev.cpu.1.temperature: 29

If I background a pair of dd if=/dev/urandom of=/dev/null so that
the cpu's are busy, both go up but cpu.0 stays hotter.

I'm asking because I'm worried that this could be a sign that I didn't
get the heatsink goop spread out sufficiently well

Thanks,

g.
___
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-23 Thread freebsd

Quoting Pietro Cerutti [EMAIL PROTECTED]:



Uhm, just out of curiosity, do you have the line

devd_enable=YES

in your /etc/rc.conf?

|
| Thanks.




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.


Thanks



-
This message sent through Virus Free Email
http://www.vfemail.net



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


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

2008-06-23 Thread Josh Carroll
 I've noticed that cpu.0 is consistently hotter than cpu.1, even on an
 unloaded machine.  Is that because that core's doing housekeeping work
 whilst the other is truly idle?

 dev.cpu.0.temperature: 44
 dev.cpu.1.temperature: 29

I notice some differences on my quad-core (Q6600) CPU, too:

dev.cpu.0.temperature: 35
dev.cpu.1.temperature: 34
dev.cpu.2.temperature: 27
dev.cpu.3.temperature: 30

The differences also stay around the same when I yes  /dev/null 4
times to load up each core:

dev.cpu.0.temperature: 47
dev.cpu.1.temperature: 45
dev.cpu.2.temperature: 38
dev.cpu.3.temperature: 42

The discrepancy isn't as much as in your case, though. 15 C is pretty
significant. It could be that either your heat spreader or heat sink
are concave or convex causing one of the cores to get hotter.

On my dual-core box, here are the idle temps:

dev.cpu.0.temperature: 33
dev.cpu.1.temperature: 31

and under load:

dev.cpu.0.temperature: 48
dev.cpu.1.temperature: 46

I'd recommend taking the heat sink off and seeing how the thermal
grease is spread on the CPU's head spreader and on the heatsink
itself. If it looks lopsided or extremely thick on one side of the CPU
package or extremely thin (to the point where you can still see the
sheen of the heatsink or heat spreader), then re-mount the heatsink
and try to make sure it's evenly distributing the pressure down on the
CPU package.

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


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

2008-06-23 Thread Derek Ragona

At 02:06 PM 6/23/2008, George Hartzell wrote:


DA Forsyth recently mentioned the coretemp driver, which fetches the
core temperatures for Core 2 Duo chips.

I'm in the middle of building up a Shuttle SG31G2 (7-STABLE) and
loaded the driver to see what it told me.

I've noticed that cpu.0 is consistently hotter than cpu.1, even on an
unloaded machine.  Is that because that core's doing housekeeping work
whilst the other is truly idle?

dev.cpu.0.temperature: 44
dev.cpu.1.temperature: 29

If I background a pair of dd if=/dev/urandom of=/dev/null so that
the cpu's are busy, both go up but cpu.0 stays hotter.

I'm asking because I'm worried that this could be a sign that I didn't
get the heatsink goop spread out sufficiently well

Thanks,

g.


Not sure if the core duos work the same as older 2 CPU and 4 CPU 
motherboards, but there are some BIOS functions that always use the first 
CPU.  So you never get true SMP because the hardware uses the first CPU 
more to service interrupts.


-Derek

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

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


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

2008-06-23 Thread Josh Carroll
 Not sure if the core duos work the same as older 2 CPU and 4 CPU
 motherboards, but there are some BIOS functions that always use the first
 CPU.  So you never get true SMP because the hardware uses the first CPU more
 to service interrupts.

True, but interrupt handling and minimal background processing should
not cause a core to be 15 C hotter. I guess the original poster can
mention the load on both cores (or post a top snapshot) so we can see
if there is some load on the system.

Josh
___
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-23 Thread Ethan Furman

FT 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.


-FT


As an aside, I recently had a similar problem being able to send e-mail 
to my host (webgator.com) through Comcast's network -- a Comcast tech 
suggested using port 26 instead of 25, and that worked for me.

--
Ethan
___
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-23 Thread Bill Moran
In response to Ethan Furman [EMAIL PROTECTED]:

 FT 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.
 
 As an aside, I recently had a similar problem being able to send e-mail 
 to my host (webgator.com) through Comcast's network -- a Comcast tech 
 suggested using port 26 instead of 25, and that worked for me.

That's exactly the kind of brain-dead answer I'd expect from Comcast.

The Internet community comes up with a solution, and publishes the
fact that port 587 is specifically _for_ this purpose, yet Comcast
suggests 26 ... go figure.

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


Re: Problem with IF_RE

2008-06-23 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

[EMAIL PROTECTED] wrote:
| Quoting Pietro Cerutti [EMAIL PROTECTED]:
|
|
| Uhm, just out of curiosity, do you have the line
|
| devd_enable=YES
|
| in your /etc/rc.conf?
|
| |
| | Thanks.
|
|
|
| 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
|
|
|
| -
| This message sent through Virus Free Email
| http://www.vfemail.net
|
|
|
| ___
| 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)

iEYEAREKAAYFAkhf+xAACgkQwMJqmJVx947UQgCgwHZeyBuT+kb8ADUlm3hvj+vJ
AysAmwdoXhTOgR/tIWgvxbWVe+7oQw4c
=SXKs
-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: {Spam?} Re: CPU temp's on core 2 duo, should they be significantly different?

2008-06-23 Thread Derek Ragona

At 02:24 PM 6/23/2008, Josh Carroll wrote:

 Not sure if the core duos work the same as older 2 CPU and 4 CPU
 motherboards, but there are some BIOS functions that always use the first
 CPU.  So you never get true SMP because the hardware uses the first CPU 
more

 to service interrupts.

True, but interrupt handling and minimal background processing should
not cause a core to be 15 C hotter. I guess the original poster can
mention the load on both cores (or post a top snapshot) so we can see
if there is some load on the system.


It can cause it to be hotter because the first CPU is servicing all 
motherboard hardware like the ethernet, video, etc.  It is usually the 
ethernet that causes the most cpu activity.


-Derek

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

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


Problem with sirc and syscons

2008-06-23 Thread Stevan Tiefert
Hello list,

is it possible to update the termcap in the next release for a support
of cs?

With regards
Stevan Tiefert

Excuse me for the top post, but the both attached mails are a
corrspondence with the author of x11/sirc which is explaining the
problem.

 Weitergeleitete Nachricht 
 Von: roger espel llima [EMAIL PROTECTED]
 An: Stevan Tiefert [EMAIL PROTECTED]
 Betreff: Re: Problem with sirc
 Datum: Mon, 23 Jun 2008 12:27:31 -0700 (PDT)
 
 Eps, that's some memories there, it's been years since I've
 joined IRC of any kind, or run sirc.
 
 My best guess would be to try changing TERM to something
 else which may be compatible, or running sirc under GNU
 Screen.  Basically it looks like the FreeBSD console can't
 do something sirc's interface wants, or isn't telling it that
 it can, so changing TERM would address the 2nd and
 using screen would address the 1st.
 
 Otherwise, you could always run X and run sirc in an 
 xterm :)
 
 good luck,
   roger
 
 
 Stevan Tiefert [EMAIL PROTECTED] wrote:
 Hello,
 
 I was trying sirc on FreeBSD 7.0 and on the console sirc says
 that it
 couldn't change_scroll_region. I had to run sirc with the
 -d argument
 but that is not a good solution.
 
 What should I do?
 
 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]


Java Package for FreeBSD 7.0

2008-06-23 Thread dfeustel
Now that Java is opensource, I have looked for a Java package to install
on 64-bit FreeBSD 7.0, but so far without success. Is there a simple and
quick-to-install Java package for FreeBSD?

Thanks.

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


Wipe a drive clean

2008-06-23 Thread Andrew Falanga
Hi,

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?

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-23 Thread Steve Bertrand

Andrew Falanga wrote:

Hi,

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

...work?

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


Re: Java Package for FreeBSD 7.0

2008-06-23 Thread Roland Smith
On Mon, Jun 23, 2008 at 07:54:02PM +, [EMAIL PROTECTED] wrote:
 Now that Java is opensource, I have looked for a Java package to install
 on 64-bit FreeBSD 7.0, but so far without success. Is there a simple and
 quick-to-install Java package for FreeBSD?

It's not completely done yet. Some build tools were proprietary (Red Hat
started the IcedTea project to rectify that). 

Some 2D graphics and sound stuff was not free. I've read that the
developer of the 2D graphics stuff OK-ed the open sourcing, and that Sun
is rewriting the sound bits.

In short: patience, grasshopper ;-)

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


pgpZYFyu04xTG.pgp
Description: PGP signature


Problem with ppp.conf file

2008-06-23 Thread Miguel Vásquez .
Hi all.


I want adapt my Internet service to FreeBSD 7.0, and
I need to building the etc/ppp/ppp.conf file, but,
I do not have much experience in FreeBSD, Can you Help me?

I have a Windows XP file, maybe, it is useful as example. 


I hope, you can help me.
Note: My English is not good, i speak Spanish.

Best Regards,
Miguel.

P.S.: Here my file example:
**

[GENERAL]
Company_Name = Movilnet CCU550
Registry_Folder = MovilnetCCU_550
Install_Directory = Movilnet\CCU550
SWVersion = Software Version : 1.1.6.20(CCU-550)
Copyright =  Copyright (c) 2006 Franklin Wireless Corp.
About_FirmwareVersion = Firmware Version :
About_Title = CCU-550 Modem EvDO Info(CCU-550)
;;;
;;0-None, 1-Exist
UIMCARD = 0

;;;
;;;0 - None, 1-RM3 , 2-Reverse RM3
RM3 = 1

;;;
;;;EVDO-5500P(PCMCIA), EVDO-5500U(USB)
Product_Name = CCU-550 Modem EvDO
Product_Name_SPA = CCU-550 Modem EvDO
DialUP_ConnectionName = CCU-550 Modem EvDO Connection

;;;
;;;Select Language
SelectLang = ENGLISH

;;;
;;;PCMCIA, USB, MODEM
DriverKind = USB

;;;
;;;Open Port Modem Name - default - not use
OpenPortModemName = 1

;;;
;;Only DriverKind = MODEM
ModemPort = 

;;;
;;Port Kind (SINGLE or MULTI)
PORT_KIND = MULTI

;;;
;;Vid_05c6Pid_3196 ;;CMOTECH-5100P-6944 ;;VID_05C6PID_3100
DriverID =  Vid_16d8Pid_5533Mi_00
DriverID_DM =  Vid_16d8Pid_5533Mi_02

SWVer = 

MainProgramName = CMOCCU.exe
CHINESE_HelpFile = chhelp.chm
HelpFile = help.chm

;;;
; Use NAM NAME for LCD  0:no use , 1:use,  default:use
UseNAMNAME = 1

;;;
;;;CMTNF5500P.exe(PCMCIA), CMTNF5500U.exe(USB)
DetectorProgrameName = CMTNF5500D.exe

TitleName = CCU-550 Modem EvDO

AutoRun = 0

;
;;; On(1)/Off(0)
ATCommandActiveSend = 1

;
;;; Hybrid -- EVDO Data Call : Outgoing call(Active) On(1)/Off(0)
ATCommandOutgoing = 1

;
;ShortCuts Name
Shortcuts_DeskTop = CCU-550 Modem EvDO
Shortcuts_Programs = CCU-550 Modem EvDO
Shortcuts_Programs_Execute = CCU-550 Modem EvDO
Shortcuts_Programs_Help = CCU-550 Modem EvDO User Manual
Shortcuts_Programs_Uninstall = UnInstall CCU-550 Modem EvDO

Shortcuts_DeskTop_SPA = CCU-550 Modem EvDO
Shortcuts_Programs_SPA = CCU-550 Modem EvDO
Shortcuts_Programs_Execute_SPA = CCU-550 Modem EvDO
Shortcuts_Programs_Help_SPA = Manual de usuario del CCU-550 Modem EvDO
Shortcuts_Programs_Uninstall_SPA = Desinstalar CCU-550 Modem EvDO

;;
;;Main_No_SRV check count
No_SRVCheckCnt = 5


;;;Voice function ON(1)/OFF(0) ;;default - on
VoiceFuction = 0


;;;Offline Display function ON(1)/OFF(0) ;;default - off
OfflineFct = 0

;
Only Data~~~! default - 0 
OnlyData = 1

;
packet amount 0:byte, 1:kbyte, 2:mbyte, 3:gbyte
PacketAmount = 1

;
kind of minimize 0:minimize, 1:hidedefault:minimize
KindOfMinimize = 1

;
Using  changeable tray icon  0:no use, 1: changeabledefault:no use
ChangeableTrayIcon = 1


;
;;Active SMS Send ON(1)/OFF(0)
ActiveSMSSend = 1

;;;
;SMS Max String
SmsMaxString = 160
SmsRcvMaxString = 230


;;SMS UNICODE ~! USE(1)/UNUSE(0)
SmsUnicode = 0

;;
;;sms emergency priorty OFF(0) / Normal (1) Fast (2) Urgent(3) - default 
SmsEmergency = 0

;;;

Re: Wipe a drive clean

2008-06-23 Thread Roland Smith
On Mon, Jun 23, 2008 at 01:57:47PM -0600, Andrew Falanga wrote:
 Hi,
 
 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'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.

 I'd rather not install a port, if I can avoid it.  I

Have a look at security/wipe.

 was thinking that something like dd would work, but everything I've
 tried thus far is not working.  What suggestions does everyone have?

I think the trick is to use the right block size. Try bs=512 or
2048 in your dd command. Use if=/dev/random instead of if=/dev/zero and
repeat a couple of times. Note that wiping flash drives way will
shorten the lifespan of the device.

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


pgpFlUDyCpIT5.pgp
Description: PGP signature


Re: Wipe a drive clean

2008-06-23 Thread Bill Moran
In response to Roland Smith [EMAIL PROTECTED]:

 Note that wiping flash drives way will
 shorten the lifespan of the device.

This statement is largely obsolete.  Modern flash has rewrite cycles
that often exceed traditional platter-based disks.

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


Re: Simple Text Mail Setup

2008-06-23 Thread Warren Block

On Mon, 23 Jun 2008, Bill Moran wrote:


In response to Rem Roberti [EMAIL PROTECTED]:


No.  What you really want to do is set smart_host to the outgoing
mail server provided by your ISP.


Please forgive my ignorance here, but how does one accomplish that?


Oops, I misread your message to be why and not what.

Steps (as root):
1) cd /etc/mail
2) make
3) Edit [hostname].mc to uncomment the smart_host setting and add your
  ISP's server


To uncomment, remove dnl from beginning of line.


4) make install
5) /etc/rc.d/sendmail restart


4) make install restart
5) there is no step 5

-Warren Block * Rapid City, South Dakota USA
___
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-23 Thread Andrew Falanga
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.


 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.



 I think the trick is to use the right block size. Try bs=512 or
 2048 in your dd command. Use if=/dev/random instead of if=/dev/zero and
 repeat a couple of times. Note that wiping flash drives way will
 shorten the lifespan of the device.


The man page says that a block size of 512 is the default, though I
put it on the command line anyway (talk about being paranoid).  My
problem was the input file.  I was using /dev/null instead of
/dev/zero (which I didn't know about until this e-mail).  Thanks guys.

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: Simple Text Mail Setup

2008-06-23 Thread Gerard
On Mon, 23 Jun 2008 14:13:50 -0400
Bill Moran [EMAIL PROTECTED] wrote:

 In response to Rem Roberti [EMAIL PROTECTED]:
   
   No.  What you really want to do is set smart_host to the outgoing
   mail server provided by your ISP.
  
  Please forgive my ignorance here, but how does one accomplish that?
 
 Oops, I misread your message to be why and not what.
 
 Steps (as root):
 1) cd /etc/mail
 2) make
 3) Edit [hostname].mc to uncomment the smart_host setting and add your
ISP's server
 4) make install
 5) /etc/rc.d/sendmail restart
 
 At least, I believe those steps are correct.

I believe step four is:

make all install restart

You then skip step 5.


-- 
Gerard
[EMAIL PROTECTED]

Our policy is, when in doubt, do the right thing.

Roy L. Ash, ex-president, Litton Industries


signature.asc
Description: PGP signature


Re: Wipe a drive clean

2008-06-23 Thread Wojciech Puchar

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



...work?

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]


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

2008-06-23 Thread George Hartzell
Josh Carroll writes:
  [...]
  I'd recommend taking the heat sink off and seeing how the thermal
  grease is spread on the CPU's head spreader and on the heatsink
  itself. If it looks lopsided or extremely thick on one side of the CPU
  package or extremely thin (to the point where you can still see the
  sheen of the heatsink or heat spreader), then re-mount the heatsink
  and try to make sure it's evenly distributing the pressure down on the
  CPU package.

This is a Shuttle XPC box.  I pulled the heatsink/cooler assembly and
there didn't seem to be any obvious asymmetries in how the the grease
was distributed.  I swirled it around a bit, reassembled, and am
seeing the same kind of spreads.

Here's the machine pretty much idle 

  dev.cpu.0.temperature: 44
  dev.cpu.1.temperature: 28

Where top says:

  last pid:  1217;  load averages:  0.02,  0.51,  0.43up 0+00:14:57 
 13:49:47
  52 processes:  1 running, 51 sleeping
  CPU:  0.0% user,  0.0% nice,  0.0% system,  0.2% interrupt, 99.8% idle
  Mem: 22M Active, 13M Inact, 95M Wired, 1788K Cache, 15M Buf, 3797M Free
  Swap: 4063M Total, 4063M Free

A could of dd if=/dev/urandom etc... quickly pushes it up, but the
delta remains:

  dev.cpu.0.temperature: 51
  dev.cpu.1.temperature: 39

Top says:

  last pid:  1243;  load averages:  0.98,  0.65,  0.48up 0+00:16:07 
 13:50:57
  54 processes:  3 running, 51 sleeping
  CPU:  0.4% user,  0.0% nice, 92.5% system,  0.0% interrupt,  7.1% idle
  Mem: 22M Active, 13M Inact, 95M Wired, 1788K Cache, 15M Buf, 3797M Free
  Swap: 4063M Total, 4063M Free

g.
___
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-23 Thread Tim Daneliuk
Wojciech Puchar wrote:
 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
 
 ...work?

 Steve

I like this tool for nuking drives:

  http://dban.sourceforge.net/


-- 

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Server Questions.

2008-06-23 Thread Grant Peel

Hi all,

Two questions for the Web hosting types out there:

1. Does anyone use Celeron based nameservers? (i.e. I have two brand new 
Dell PE R200s and was considering using them as ns1 and ns2. What version of 
FBSD would one use (I am thinking 6.3 Rel, but us there any compelling 
reason to use 7.0?


2. What machine type would you suggest for Intel Xenon Duel Core? AMD or 
i386? Again, is there any real benifit to moving to 7.0 from a processor 
standpoint?


-Grant

___
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-23 Thread Ethan Furman

Bill Moran wrote:

In response to Ethan Furman [EMAIL PROTECTED]:



FT 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.


As an aside, I recently had a similar problem being able to send e-mail 
to my host (webgator.com) through Comcast's network -- a Comcast tech 
suggested using port 26 instead of 25, and that worked for me.



That's exactly the kind of brain-dead answer I'd expect from Comcast.

The Internet community comes up with a solution, and publishes the
fact that port 587 is specifically _for_ this purpose, yet Comcast
suggests 26 ... go figure.



Well, I certainly don't think highly of Comcast as a whole, but in this 
case they did suggest port 587.  Apparently either HostGator doesn't 
(yet?) support it, or I'm not paying enough to get it.

--
Ethan

P.S.  The correct name is HostGator, not webgator as my original post 
indicated.  oops.

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


Re: Server Questions.

2008-06-23 Thread Patrick Clochesy
Celerin is probably fine, I assume you don't have a lot of DNS  
traffic. Usually NS2 is on another network...


If its a 64-bit Xeon, AMD would be the right choice. Last gen Xeons  
and before... I386. 7.0 has a lot of SMP improvements besides all the  
other fixes, features and improvements... Why are you shy about using  
it like it costs more than 6? :)


-Patrick

On Jun 23, 2008, at 4:38 PM, Grant Peel [EMAIL PROTECTED] wrote:


Hi all,

Two questions for the Web hosting types out there:

1. Does anyone use Celeron based nameservers? (i.e. I have two brand  
new Dell PE R200s and was considering using them as ns1 and ns2.  
What version of FBSD would one use (I am thinking 6.3 Rel, but us  
there any compelling reason to use 7.0?


2. What machine type would you suggest for Intel Xenon Duel Core?  
AMD or i386? Again, is there any real benifit to moving to 7.0 from  
a processor standpoint?


-Grant

___
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: Server Questions.

2008-06-23 Thread Patrick Clochesy
Also, a true dual-core Xeon is 64-bit. hyperthreaded really has one  
core and is 32.


-Patrick

On Jun 23, 2008, at 4:38 PM, Grant Peel [EMAIL PROTECTED] wrote:


Hi all,

Two questions for the Web hosting types out there:

1. Does anyone use Celeron based nameservers? (i.e. I have two brand  
new Dell PE R200s and was considering using them as ns1 and ns2.  
What version of FBSD would one use (I am thinking 6.3 Rel, but us  
there any compelling reason to use 7.0?


2. What machine type would you suggest for Intel Xenon Duel Core?  
AMD or i386? Again, is there any real benifit to moving to 7.0 from  
a processor standpoint?


-Grant

___
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: sendmail: stat=Deferred: Can't assign requested address

2008-06-23 Thread jonathan michaels
greetings derek and fellow list users

thank you for your help in this sendmail matter, i recieved my
forst crontab generated overnight (daily and security) system
maintenance reports in a long long time, best part of a year.

your kindness and persistance is muchly appreciated.

On Fri, Jun 13, 2008 at 05:15:56PM -0500, Derek Ragona wrote:
 At 10:16 PM 6/12/2008, jonathan michaels wrote:
 greetings, derek,
 
 much appreciated the prompt reply
 
 On Wed, Jun 11, 2008 at 12:43:42PM -0500, Derek Ragona wrote:
   At 06:36 AM 6/11/2008, jonathan michaels wrote:
 
 bit of history trimed for brevity
 
   in teh freebsd.mc/sendmail.mc and a 'make install' to cover all
   bases.
   
   i treied to restart teh mailqueue ... no luck .. grrr
   
 and then an entry into the mailertable
   
   . esmpt:mail.caamora.com.au
   
   again did the make whatever thingie and ... tried to post,
   again this defered post business .. can't asign ..
   
   there is something going on here that i donot understand ..
   some enlightenment would be appreciated, please.
   
   the few bits i found in yahoosearch engine, google resfuses me
   access still but yahoo i can use. i looked uo the error message
   and turned up this one endrt refereing to teh linux incedent, i
   have a copy of bat book ed 1 it just says it exists, same for
   smart_host mail_hub macros.
   
   is there some way to fix this short of upgrading and mvoing to
   postfix ?? i don't have teh needed stuff to do that just yet
   (me and hardware issues)
   
   it looks like i've missed somethings but i don't know enough
   about freebsd v6.x to know even where to start to look for this
   one .. aside from this  i have another v6.2 host that also was
   doing the same thing but after i copied a working set of
   sendmail configs and restarted sendmail it work properly except
   teh it dosent forward the charlie root mail from teh
   maintenece events (at 2 am. 3 am and 4 am from teh /etc/cron
   events) the mail itesm just sit in teh /var/mail/root folder

apart frpm some neurological disabilities that i was born with
a lot of tireness and frustratin mixed with sideffects from
medicines that i need to take to help my body function in teh
face of life long disabilities combined to to help me miss some
quite simple errors that when all combined .. draged this
matter out far far longer than it need have been.

in teh long run it turned out to be a poorly written
'etc/rc.conf' file and a posible freebsd oddity .. i am not
sure about that one but now my system is working as all teh
rest (other 4 in my local network) so i'm not arguing .. again
thanks for all teh help guys, very much appreciated.

the two main things were missing a lot of  marks around most
of teh lines to do with the local networking entries and a few
that were just misssing, mainly because of assumtions that teh
default entries in the /etc/default/rc.conf file would take
care of teh system as a whole ?? in my hosts case they did not
and i need to explicityly have them stated in teh /etc/rc.conf
file before my system would pick tehm up and connect this
machine to teh local network and then to forward packets onto
teh far greater outside world.

explicitly, all teh freebsd v6.2-release machines in my local
network need, these lines added (be included in there
/etc/re.conf file before local netoworking will function and
sendmail will work properly with freebsd v6.2-release

my host has a intel pci 10/100 mhz nic

ifconfig_fxp0=inet ip.ad.ress.6 netmask 255.255.255.240
ifconfig_lo0= inet 127.0.0.1

both of these entries need to be included before neworking will
function properly

#ipv4_addrs_fxp0=ip.add.re.ss/24

this ipv4_addrs.. entry i do not understand ?? what its purpose
or function is .. after 4 hours of typing starting at scree and
constant rebooting i was not game to try it incase it broke
somthing that i didn't not understand.

now this following entry

#network_interfaces=auto

in my system/configuration this line, jut plain dosen't work
and i need to use this entry (with relevent changes for teh
other machines nic's)

network_interfaces=fxp0 lo0

before networking will function properly (locally) or even have
stable intranetwork connectivity.

prior to starting to use freebsd v6.2-release my entire bsd
experience was based upon freebsd upto and including freebsd
v2.2.7-release and some same vintage linux and interactive
unix v?.?? and qnx .. freebsd v6.2 was a real learning curve
for me .. still is, largely... but i'm getting there .. muchly
appreciated

again, sorry for teh length, perhaps this might help some other
tired/frustrated person who stumbles across this post after
much much frutless effort at getting thier stubornly refuing to
function netowrk, take care all and very much thanks for your
most kind help support and effort !!!

much most gracious appreciations

jonathan

-- 

powered by ..
QNX, OS9 and freeBSD  --  

Re: Problem with sirc and syscons

2008-06-23 Thread Matthew Donovan
On Mon, Jun 23, 2008 at 09:53:03PM +0200, Stevan Tiefert wrote:
 Hello list,
 
 is it possible to update the termcap in the next release for a support
 of cs?
 
 With regards
 Stevan Tiefert
 
 Excuse me for the top post, but the both attached mails are a
 corrspondence with the author of x11/sirc which is explaining the
 problem.
 
  Weitergeleitete Nachricht 
  Von: roger espel llima [EMAIL PROTECTED]
  An: Stevan Tiefert [EMAIL PROTECTED]
  Betreff: Re: Problem with sirc
  Datum: Mon, 23 Jun 2008 12:27:31 -0700 (PDT)
  
  Eps, that's some memories there, it's been years since I've
  joined IRC of any kind, or run sirc.
  
  My best guess would be to try changing TERM to something
  else which may be compatible, or running sirc under GNU
  Screen.  Basically it looks like the FreeBSD console can't
  do something sirc's interface wants, or isn't telling it that
  it can, so changing TERM would address the 2nd and
  using screen would address the 1st.
  
  Otherwise, you could always run X and run sirc in an 
  xterm :)
  
  good luck,
roger
  
  
  Stevan Tiefert [EMAIL PROTECTED] wrote:
  Hello,
  
  I was trying sirc on FreeBSD 7.0 and on the console sirc says
  that it
  couldn't ??change_scroll_region. I had to run sirc with the
  -d argument
  but that is not a good solution.
  
  What should I do?
  
  With regards
  Stevan Tiefert
  
  
  
  
 
 

I have started to work on getting change_scroll_region working for cons25 I m a 
bit there just that I need to tweak the setting a bit so soon hopefully some 
ports will work correctly.


 


pgpeKQHLVSLOG.pgp
Description: PGP signature


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

2008-06-23 Thread Frank Shute
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
   grease is spread on the CPU's head spreader and on the heatsink
   itself. If it looks lopsided or extremely thick on one side of the CPU
   package or extremely thin (to the point where you can still see the
   sheen of the heatsink or heat spreader), then re-mount the heatsink
   and try to make sure it's evenly distributing the pressure down on the
   CPU package.
 
 This is a Shuttle XPC box.  I pulled the heatsink/cooler assembly and
 there didn't seem to be any obvious asymmetries in how the the grease
 was distributed.  I swirled it around a bit, reassembled, and am
 seeing the same kind of spreads.
 
 Here's the machine pretty much idle 
 
   dev.cpu.0.temperature: 44
   dev.cpu.1.temperature: 28
 
 Where top says:
 
   last pid:  1217;  load averages:  0.02,  0.51,  0.43up 
 0+00:14:57  13:49:47
   52 processes:  1 running, 51 sleeping
   CPU:  0.0% user,  0.0% nice,  0.0% system,  0.2% interrupt, 99.8% idle
   Mem: 22M Active, 13M Inact, 95M Wired, 1788K Cache, 15M Buf, 3797M Free
   Swap: 4063M Total, 4063M Free

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.

 
 A could of dd if=/dev/urandom etc... quickly pushes it up, but the
 delta remains:
 
   dev.cpu.0.temperature: 51
   dev.cpu.1.temperature: 39
 
 Top says:
 
   last pid:  1243;  load averages:  0.98,  0.65,  0.48up 
 0+00:16:07  13:50:57
   54 processes:  3 running, 51 sleeping
   CPU:  0.4% user,  0.0% nice, 92.5% system,  0.0% interrupt,  7.1% idle
   Mem: 22M Active, 13M Inact, 95M Wired, 1788K Cache, 15M Buf, 3797M Free
   Swap: 4063M Total, 4063M Free
 

-- 

 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]


Installation error. Command returned status 36

2008-06-23 Thread Viacheslav Chumushuk
Hello.
I'm trying to install FreeBSD 7.0, but I have next problem.
When installation program write new partitions structure to disc it exits with 
next error: Unable to make new root file system on /dev/ad1s1a! Command 
returned status 36.

And at the start of installation process I have warning about wrong disk 
geometry.

My HDD is Segate ST340810A 40Gb, and I was trying write geometry (which I 
found on its case and in BIOS), but without success.
The same problem with FreeBSD 6.2 and another my HDD.
But hardware looks good, because Linux and OpenBSD was installed without any 
problems.

Thanks for help.
___
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-23 Thread Roland Smith
On Tue, Jun 24, 2008 at 01:55:51AM +0300, Viacheslav Chumushuk wrote:
 Hello.
 I'm trying to install FreeBSD 7.0, but I have next problem.
 When installation program write new partitions structure to disc it exits 
 with 
 next error: Unable to make new root file system on /dev/ad1s1a! Command 
 returned status 36.
 
 And at the start of installation process I have warning about wrong disk 
 geometry.
 
 My HDD is Segate ST340810A 40Gb, and I was trying write geometry (which I 
 found on its case and in BIOS), but without success.

Have you tried _not speficying a geometry? In my experience it is best
to let the install program figure it out. I have always ignored the
warning at the beginning of the installation process without problems.

Roland

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


pgp4b60hC8d0a.pgp
Description: PGP signature


Re: Installation error. Command returned status 36

2008-06-23 Thread Jerry McAllister
On Tue, Jun 24, 2008 at 01:55:51AM +0300, Viacheslav Chumushuk wrote:

 Hello.
 I'm trying to install FreeBSD 7.0, but I have next problem.
 When installation program write new partitions structure to disc it exits 
 with 
 next error: Unable to make new root file system on /dev/ad1s1a! Command 
 returned status 36.
 
 And at the start of installation process I have warning about wrong disk 
 geometry.
 
 My HDD is Segate ST340810A 40Gb, and I was trying write geometry (which I 
 found on its case and in BIOS), but without success.
 The same problem with FreeBSD 6.2 and another my HDD.
 But hardware looks good, because Linux and OpenBSD was installed without any 
 problems.

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.

jerry

 
 Thanks for help.
 ___
 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: Simple Text Mail Setup

2008-06-23 Thread Rem Roberti
First of all I want to thank all who responded to my question, but I
gotta tell you, if it isn't one thing it's another.  I opted to install
msmtp, and it did just what I hoped it would do, working perfectly out
of the box, including TLS.  But now...I can't receive mail.  As you
recall from my first post I indicated that I could receive email, using
mutt and getmail, and indeed I can, on my laptop, which was set up by
someone who knew what they were doing.  The computer in
question is a desktop with a virgin installation of FreeBSD 7.0.  I
obviously spoke too soon.  I have mutt and getmail installed, 
and now I can send from that computer, but when I try to receive 
I get error messages (maillog) saying, among other things:

DSN:Data format error
Invalid hostname
stat=User unknown
savemail panic
savemail cannot save rejected email anywhere

I have a feeling that this is a no brainer, probably related to what is
or isn't stated in my rc.conf.  But my newbieness has me on the ropes
once again.  Any help would once again be appreciated.

Rem 
___
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-23 Thread Steve Bertrand

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.


Steve
___
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-23 Thread dfeustel
On Mon, Jun 23, 2008 at 05:00:52PM -0700, Rem Roberti wrote:
 First of all I want to thank all who responded to my question, but I
 gotta tell you, if it isn't one thing it's another.  I opted to install
 msmtp, and it did just what I hoped it would do, working perfectly out
 of the box, including TLS.  But now...I can't receive mail.  As you
 recall from my first post I indicated that I could receive email, using
 mutt and getmail, and indeed I can, on my laptop, which was set up by
 someone who knew what they were doing.  The computer in
 question is a desktop with a virgin installation of FreeBSD 7.0.  I
 obviously spoke too soon.  I have mutt and getmail installed, 
 and now I can send from that computer, but when I try to receive 
 I get error messages (maillog) saying, among other things:
 
 DSN:Data format error
 Invalid hostname
 stat=User unknown
 savemail panic
 savemail cannot save rejected email anywhere
 
 I have a feeling that this is a no brainer, probably related to what is
 or isn't stated in my rc.conf.  But my newbieness has me on the ropes
 once again.  Any help would once again be appreciated.
 
 Rem 

I'm running getmail version 4.7.6. My getmailrc file is

i2/home/daf/.getmail}head -40 getmailrc
#
# This file contains various examples of configuration sections to use
# in your getmail rc file.  You need one file for each mail account you
# want to retrieve mail from.  These files should be placed in your
# getmail configuration/data directory (default: $HOME/.getmail/).
# If you only need one rc file, name it getmailrc in that directory,
# and you won't need to supply any commandline options to run getmail.
#

#
# Example 1:  simplest case of retrieving mail from one POP3 server and
# storing all messages in a maildir.
#

[retriever]
type = SimplePOP3Retriever
server = mail.mindspring.com
username = [EMAIL PROTECTED]
password = **

[destination]
type = Maildir
path = ~/Maildir/
[options]
message_log = ~/.getmail/log
delete = true

Does this help?
___
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-23 Thread Rem Roberti
 I'm running getmail version 4.7.6. My getmailrc file is
 
 i2/home/daf/.getmail}head -40 getmailrc
 #
 # This file contains various examples of configuration sections to use
 # in your getmail rc file.  You need one file for each mail account you
 # want to retrieve mail from.  These files should be placed in your
 # getmail configuration/data directory (default: $HOME/.getmail/).
 # If you only need one rc file, name it getmailrc in that directory,
 # and you won't need to supply any commandline options to run getmail.
 #
 
 #
 # Example 1:  simplest case of retrieving mail from one POP3 server and
 # storing all messages in a maildir.
 #
 
 [retriever]
 type = SimplePOP3Retriever
 server = mail.mindspring.com
 username = [EMAIL PROTECTED]
 password = **
 
 [destination]
 type = Maildir
 path = ~/Maildir/
 [options]
 message_log = ~/.getmail/log
 delete = true
 
 Does this help?

Actually, I have getmailrc file with a proven track record, and that 
is what I am using on this laptop to receive mail from Comcast.  I
installed the same file on my new installation.  No, I think the problem
is deeper than that, and has to do with configuring sendmail correctly,
and my rc.conf.

Rem  
___
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-23 Thread Ruel Luchavez
Hey Viacheslav,

I always ignore that message every time I will install fresh FreeBSD
It doesn't not create error or anything during the installation.

Cheers...


Hello.
 I'm trying to install FreeBSD 7.0, but I have next problem.
 When installation program write new partitions structure to disc it exits
 with
 next error: Unable to make new root file system on /dev/ad1s1a! Command
 returned status 36.

 And at the start of installation process I have warning about wrong disk
 geometry.

 My HDD is Segate ST340810A 40Gb, and I was trying write geometry (which I
 found on its case and in BIOS), but without success.
 The same problem with FreeBSD 6.2 and another my HDD.
 But hardware looks good, because Linux and OpenBSD was installed without
 any
 problems.

 Thanks for help.
 ___
 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]


mysql 5.0.51b and ssl

2008-06-23 Thread kalin m

hi all...

i just installed openssl 0.9.8h and trying to build mysql 5.0.51b with 
it on a freebsd 7 machine. i get this:


/usr/bin/ld: /usr/local/ssl/lib/libssl.a(t1_srvr.o): relocation 
R_X86_64_32 can not be used when making a shared object; recompile with 
-fPIC

/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value


any ideas?

thanks...

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


Re: mysql 5.0.51b and ssl

2008-06-23 Thread kalin m


from what i understand this is not uncommon. and it goes back to 2005.
and it has to do with the fact that the machine identifies itself as 
amd64 even though it's an intel machine.


what's not clear is what needs to be recompiled whit -fPIC?! my guess is 
openssl needs to. why?


are there any flags i can change in the Makefile for the mysql build? 
does it have to be a 'shared'? static?!


thanks...



kalin m wrote:

hi all...

i just installed openssl 0.9.8h and trying to build mysql 5.0.51b with 
it on a freebsd 7 machine. i get this:


/usr/bin/ld: /usr/local/ssl/lib/libssl.a(t1_srvr.o): relocation 
R_X86_64_32 can not be used when making a shared object; recompile 
with -fPIC

/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value


any ideas?

thanks...

___
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: mysql 5.0.51b and ssl

2008-06-23 Thread Sahil Tandon
kalin m [EMAIL PROTECTED] wrote:

 i just installed openssl 0.9.8h and trying to build mysql 5.0.51b with it 
 on a freebsd 7 machine. i get this:

 /usr/bin/ld: /usr/local/ssl/lib/libssl.a(t1_srvr.o): relocation R_X86_64_32 
 can not be used when making a shared object; recompile with -fPIC
 /usr/local/ssl/lib/libssl.a: could not read symbols: Bad value

 any ideas?

You have a 64-bit system, yes?  Try recompiling OpenSSL with the appropriate 
CFLAGS as suggested in the error output.  Google portions of what you pasted 
above for more background on this issue.

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


Opera's javascript time is off

2008-06-23 Thread Camilo Reyes
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.

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]


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

2008-06-23 Thread Gonzalo Nemmi
On Monday 23 June 2008 16:06:20 George Hartzell wrote:
 DA Forsyth recently mentioned the coretemp driver, which fetches the
 core temperatures for Core 2 Duo chips.

 I'm in the middle of building up a Shuttle SG31G2 (7-STABLE) and
 loaded the driver to see what it told me.

 I've noticed that cpu.0 is consistently hotter than cpu.1, even on an
 unloaded machine.  Is that because that core's doing housekeeping work
 whilst the other is truly idle?

 dev.cpu.0.temperature: 44
 dev.cpu.1.temperature: 29

 If I background a pair of dd if=/dev/urandom of=/dev/null so that
 the cpu's are busy, both go up but cpu.0 stays hotter.

 I'm asking because I'm worried that this could be a sign that I didn't
 get the heatsink goop spread out sufficiently well

 Thanks,

 g.

For what is worth .. my readings:

[EMAIL PROTECTED]:~ # kldload coretemp
[EMAIL PROTECTED]:~ # sysctl kern.version
kern.version: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC

[EMAIL PROTECTED]:~ # sysctl hw.model
hw.model: Intel(R) Core(TM)2 Duo CPU E4500  @ 2.20GHz
[EMAIL PROTECTED]:~ # sysctl dev.cpu.0.temperature; sysctl 
dev.cpu.1.temperature; 
date +%H:%M:%S
dev.cpu.0.temperature: 25
dev.cpu.1.temperature: 24
00:08:29
[EMAIL PROTECTED]:~ # dd if=/dev/urandom of=/dev/null 
[1] 5482
[EMAIL PROTECTED]:~ # date +%H:%M:%S
00:08:48
[EMAIL PROTECTED]:~ # sysctl dev.cpu.0.temperature; sysctl 
dev.cpu.1.temperature; 
date +%H:%M:%S
dev.cpu.0.temperature: 36
dev.cpu.1.temperature: 36
00:10:39
[EMAIL PROTECTED]:~ # j
[1]  +  5482 Running   dd if=/dev/urandom of=/dev/null
[EMAIL PROTECTED]:~ # date +%H:%M:%S
00:11:13
[EMAIL PROTECTED]:~ # sysctl dev.cpu.0.temperature; sysctl 
dev.cpu.1.temperature; 
date +%H:%M:%S
dev.cpu.0.temperature: 40
dev.cpu.1.temperature: 37
00:11:38
[EMAIL PROTECTED]:~ # sysctl dev.cpu.1.temperature ; sysctl 
dev.cpu.1.temperature ; 
date +%H:%M:%S
dev.cpu.1.temperature: 35
dev.cpu.1.temperature: 35
00:13:58
[EMAIL PROTECTED]:~ # j; date +%H:%M:%S
[1]  +  5482 Running   dd if=/dev/urandom of=/dev/null
00:14:20
[EMAIL PROTECTED]:~ # sysctl dev.cpu.1.temperature ; sysctl 
dev.cpu.1.temperature ; 
date +%H:%M:%S
dev.cpu.1.temperature: 39
dev.cpu.1.temperature: 39
00:14:30
[EMAIL PROTECTED]:~ # sysctl dev.cpu.1.temperature ; sysctl 
dev.cpu.1.temperature ; 
date +%H:%M:%S
dev.cpu.1.temperature: 37
dev.cpu.1.temperature: 37
00:14:57
[EMAIL PROTECTED]:~ # fg
dd if=/dev/urandom of=/dev/null
^C29752816+0 records in
29752816+0 records out
15233441792 bytes transferred in 378.928688 secs (40201342 bytes/sec)
[EMAIL PROTECTED]:~ # 

Hope it helped :)
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: gantt/pert chart in ports ?

2008-06-23 Thread Murray Taylor

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Anton Shterenlikht
 Sent: Monday, 23 June 2008 8:16 PM
 To: freebsd-questions@freebsd.org
 Subject: gantt/pert chart in ports ?
 
 Can anybody recommend a simple Gantt or PERT chart program from ports?
 
 I'm looking at creating project diagrams for 3-5 years,
 with time detalisation of one month, with 10-30 tasks and 1-3 people.
 
 I note there are several packages, so it would be good to hear about
 the benefits and drawbacks from those who use them.
 
 many thanks
 anton
  

/usr/ports/deskutils/taskjuggler 

takes a bit of getting used to its definition files for your jobs,
but it generates good charts GANTT / Resource / etc on HTML

---
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 e-mail message has been scanned for Viruses by Bytecraft ###
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Nvidia GPU core temp (where to ge it?)

2008-06-23 Thread Gonzalo Nemmi
Can anyone point me to the origin/source/command/file/unameit from where 
nvidia-settings gets the core temp for the GPU?

sysctl doesn't report a thing about it (or at least I was dumb enough not to 
see it) but nvidia-setting does indeed report it .. so that value _is_ there 
somewhere ...

I'd like to perl something to get every temp reading on my system, but the GPU 
core temp is the only thing that I don't know where to get from :(

For the record:
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  173.14.09  Wed Jun  4 
11:26:01 PDT 2008
hw.nvidia.cards.0.model: GeForce 8600 GT
hw.nvidia.cards.0.type: PCI-E

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


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

2008-06-23 Thread George Hartzell
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

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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shellscript conditional to check for external disk

2008-06-23 Thread Helge Rohde
On Monday 23 June 2008 18:24:59 Roland Smith wrote:
 On Mon, Jun 23, 2008 at 05:25:58PM +, Helge Rohde wrote:
  On Saturday 21 June 2008 22:47:31 Roland Smith wrote:
   On Sat, Jun 21, 2008 at 09:44:09PM +, Helge Rohde wrote:

Is there a canonical way to achieve what i want? I played with the
idea of simply checking for /dev/da0s1d's existance, but that won't
disappear on disconnect, so that would leave the  is a possibility
that although

 Such devices should disappear on disconnect.
That's what i thought, but since i wasnt entirely sure i let the otherwise 
perfectly working behavior convince me otherwise. Sorry for any confusion 
caused.
It seems that with the given Hardware combination fwohci runs into a bunch of 
errors and only creates the device nodes at the first time the drive is 
connected, but fails to destroy them upon disconnection. Reconnecting, mounting 
and writing to and from the device node produced no errors. 
If i connect the  drive via usb cable instead of the fw one, all goes as 
expected and umass creates and destroys the device nodes. I will investigate 
and start a new thread on it later, for now my workaround is a strip of Gaffa 
Tape over the Firewire port and the instruction to only use USB ;)

da0 is in /dev, it might not be connected.
  
   Use glabel(8) to give the device an unique label. There is no telling
   which device /dev/da0s1d is pointing to! After labeling you can check
   for /dev/fstype/yourlabel, which should be unique.

 Let me rephrase that. You should actually use the file system's utility
 to set a label. This works for UFS (newfs, tunefs), msdosfs (newfs_msdos),
 ISO9660 (mkisofs) and ntfs.

   Make sure to unmount the drive at the end of the backup script, or
   you'll get a kernel panic when staff pulls the plug on a mounted
   device.
  
   Roland
 
  Okay, it obviosly makes sense to use glabel instead of the device node.
  Will the glabel appear/disappear depending on whether the drive is
  connected?

 Yes, just like regular device nodes.

I just didnt suspect just how irregular my device nodes are ;)

  Is it possible to have more then one physical drive with the same
  glabel(As i plan to utilize two identical Firewire disks) ?

 You can label both drives the same. I don't know what will happen it you
 try to connect them both at the same time. I guess that the creation of
 the second label will fail.

  Either way, i still need a way to check whether a drive is attached or
  not.

 Simple. Check for the device node.

  Mounting( and unmounting!) will be done from the periodic backup
  scripts.
 
  I am not sure how devd could help me with that, besides maybe
  write/delete a zero-byte file somewhere and have the periodic script
  check for its existence.

 It can't completely. It should be able to detect your labeled device and
 mount it somewhere. But you _have_ to unmount _before_ the device node
 disappears, lest you get the aforementioned panic.

Thats precisely why i didnt want to let devd do the mounting: doing it 
just-in-time minimises the window of opportunity for vicious plug-pullers.

 It's easier to have the backup script test if the labeled device node
 exists.

 Do not forget to print a message (after the script has unmounted the
 drive) for the operators that the backup is finished and that the device
 may be disconnected.

The Machine will run headless - I thought about sending a mail but i probably 
won't bother as by the time the backup and copy takes longer than a night, I 
should have received angry emails and snmp traps about filesystems way beyond 
their official capacity anyway ;)

regards,
Helge

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