problem

2008-07-30 Thread Enebish Enkhbat
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/Mail-SpamAssassin.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch '
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/Mail-SpamAssassin.tbz'
by URL
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: local mirrors of ports and packages?

2008-07-30 Thread DA Forsyth
On 30 Jul 2008 , [EMAIL PROTECTED] entreated 
about
 freebsd-questions Digest, Vol 226, Issue 6:

 Message: 26
 Date: Tue, 29 Jul 2008 21:24:49 +0200
 From: Coert Waagmeester [EMAIL PROTECTED]
 Subject: local mirrors of ports and packages?
 To: FreeBSD-questions freebsd-questions@freebsd.org
 
 Hi all!
 
 I am quite new to FreeBSD. I am quite a boffin on Linux though.
 
 What I would like to know is, how can I make local mirrors of ports and
 packages? I live in South-Africa, and bandwidth is painfully slow and
 expensive.
 
 How many data would it be in total?

Hi Coert
LOTS of data (-:
But, there is a SA mirror or two, so you don't have to do it yourself
http://freebsd.mirror.ac.za/  
ftp://freebsd.mirror.ac.za
ftp://ftp.za.freebsd.org/

 Thanks in advance,
 Coert
 
 FreeBSD newbie

I've been running several servers on FreeBSD since 2004 and sometimes 
I still feel like a newby.   I run Fedora at home.


--
   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: setting the other end's TCP segment size

2008-07-30 Thread perryh
  Is there a simple way for a FreeBSD system to cause its peer
  to use a transmit segment size of, say, 640 bytes -- so that
  the peer will never try to send a packet larger than that?
 
  I'm trying to get around a network packet-size problem.  In
  case it matters, the other end is SunOS 4.1.1 on a sun3, and
  I've been unable to find a way to limit its packet size
  directly.
 
  Setting the interface MTU should do it, i.e.:
 
  ifconfig re0 mtu 640
 
  Not all interfaces support setting the MTU and some may have
  range restrictions though.

 In particular, this seems to work with my wlan0 interface, but
 not with my re0 interface ...

That's certainly simple enough, and xl0 apparently supports the
reduced mtu setting.  It seems to be working just fine.  Thanks!

I'd thought of trying to set the sun's MTU, but hadn't been able
to find a way to do it.  It had never occurred to me that setting
the *recipient's* MTU would limit the *sender's* packet size.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: local mirrors of ports and packages?

2008-07-30 Thread DA Forsyth
On 30 Jul 2008 , [EMAIL PROTECTED] entreated 
about
 freebsd-questions Digest, Vol 226, Issue 6:

 Yes, I am currently rsyncing:
 ftp://ftp.is.co.za/FreeBSD/ports/i386/packages-7-stable/
 
 Is this the correct data? And where in FreeBSD do I change the mirror
 list or installation source?

type 'man make.conf'
look for 'master site backup'.
but, you don't need to download all the packages, only the ones you 
need to install, surely?   When I test installed 7.0R I burnt a set 
of CD's that contain most common packages for the basic install.  
After that I fetched ports as needed (after updating the ports tree 
of course).

However, you will find a number of ports that only exist in their own 
hosts, and never appear on the usual servers, so having a mirror 
won't help.

If you are installing several boxes with the same packages, then 
download to one and transfer the package files to the  others 
locally.  You can do this via flash stick, NFS, ftp, scp, samba 
share, and probably many other ways.  You can also create packages 
from ports and then transfer your newly created package as needed (I 
do this for my print servers which have a minimal install and do not 
have a full ports tree)


--
   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: problem

2008-07-30 Thread Manolis Kiagias

Enebish Enkhbat wrote:

Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/Mail-SpamAssassin.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch '
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/Mail-SpamAssassin.tbz'
by URL
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  


Well, packages for 6.2-RELEASE have been removed from the FTP server.
Try setting the PACKAGESITE env. variable to 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/


Still, I don't see the package you are looking for. Closest match is 
p5-Mail-SpamAssassin.tbz
Check the FTP directory listing using a browser to confirm what you 
actually want.


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


Re: problem

2008-07-30 Thread Ivailo Tanusheff
I propose you to update your ports tree.
What are you searching for is very old and out of date.

Regards,

Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD





Enebish Enkhbat [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
30.07.2008 10:09

To
freebsd-questions@FreeBSD.org
cc

Subject
problem






Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/Mail-SpamAssassin.tbz:

File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch '
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/Mail-SpamAssassin.tbz'

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


[Copfilter] Copy of quarantined email - *** SPAM *** [8.0/6.0] Re: local mirrors of ports and packages?

2008-07-30 Thread ipcop
On 30 Jul 2008 , [EMAIL PROTECTED] entreated 
about
 freebsd-questions Digest, Vol 226, Issue 6:

 Message: 26
 Date: Tue, 29 Jul 2008 21:24:49 +0200
 From: Coert Waagmeester [EMAIL PROTECTED]
 Subject: local mirrors of ports and packages?
 To: FreeBSD-questions freebsd-questions@freebsd.org
 
 Hi all!
 
 I am quite new to FreeBSD. I am quite a boffin on Linux though.
 
 What I would like to know is, how can I make local mirrors of ports and
 packages? I live in South-Africa, and bandwidth is painfully slow and
 expensive.
 
 How many data would it be in total?

Hi Coert
LOTS of data (-:
But, there is a SA mirror or two, so you don't have to do it yourself
http://freebsd.mirror.ac.za/  
ftp://freebsd.mirror.ac.za
ftp://ftp.za.freebsd.org/

 Thanks in advance,
 Coert
 
 FreeBSD newbie

I've been running several servers on FreeBSD since 2004 and sometimes 
I still feel like a newby.   I run Fedora at home.


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


Re: pxeboot

2008-07-30 Thread Vincent Hoffman

David Collins wrote:

Hi,

I am not sure if this is the correct list to post this to, and if it
isn't please could you point me to where it should go.

I have recently turned to freeBSD and so far I love it. I have a small
laptop that I use for playing around and general fiddling. I was using
the Debian netinstall and booting over pxe/tftp when I wanted to
reinstall. I started looking at the automated install, but it seemed
very complex. I have been looking at the freeBSD option and it seems
that the automated intall is very simple (at least from a user point
of view).

I have been trying to get pxeboot to work, so far with no luck. I have
a dhcp/tftp server set up and I am able to push pxeboot across the
network, so I assume that is all ok. NFS is also setup, at least I was
getting nfs errors that I don't have anymore. I copied the contents of
the 7.0 cd into the my tftpboot folder and changed the contents for
loader.conf and loader.rc according to here
http://www.locolomo.org/pub/pxeboot/pxeboot.html and
http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml and so far I
am able to get a prompt come up but I am unable to get any further. As
soon as I enter anything the computer immediately reboots so i am
unable to see any error messages. I assume the paths are relative to
the tftp server. Can anyone give me quick example to get me off to a
start.

  
http://jdc.parodius.com/freebsd/pxeboot_serial_install.html is a pretty 
good guide, you can ignore the bits about rebuilding pxeboot as your not 
using a serial console but the mfs_root bug could be what you are hitting.



Vince

Thanks

David Collins


Here are my config files, I think that is all of them
# cat /etc/exports
/usr/tftpboot/freeBSD7.0 -alldirs -ro -maproot=root

# cat /usr/local/etc/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
authoritative;

ddns-update-style none;

subnet 192.168.2.0 netmask 255.255.255.0 {
  range 192.168.2.8 192.168.2.15;
  #filename /pxelinux.0;
  filename /freeBSD7.0/boot/pxeboot;
  next-server 192.168.2.4;
  option routers 192.168.2.4;
  option root-path /usr2/tftpboot/freeBSD7.0;
}

# grep tftp /etc/inetd.conf
tftpdgram   udp waitroot/usr/libexec/tftpd  tftpd
-l -s /usr/tftpboot

#cat /usr/tftpboot/freeBSD7.0/boot/loader.rc
 echo Loading Kernel...
 set choice=freebsd-ide
 read -t 5 -p Type in your selection EXACTLY:  choice
 include /boot/loader.rc-$choice
 read -t 5 -p Type in your selection EXACTLY:  choice
 read -t 5 -p Type in your selection EXACTLY:  choice
 load /boot/kernel/kernel
 load linux.ko
 echo \007\007
 set vfs.root.mountfrom=ufs:/dev/md0c

#cat /usr/tftpboot/freeBSD7.0/boot/loader.conf
 init_path=/stand/sysinstall
 rootfs_load=YES
 rootfs_name=/boot/mfsroot
 rootfs_type=mfs_root
 vfs.root.mountfrom=ufs:/dev/md0c
 autoboot_delay=5
___
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]


dumping mounted file systems with insufficient space...

2008-07-30 Thread Modulok
Before I try this on a live server...

I can use dump(8) an active, mounted file systems via the -L flag.
According to the manual, this first creates a snapshot of the file
system, to the .snap directory of the file systems root. What if the
file system to be dumped, does not have sufficient free-space to store
a snapshot? Can I still safely dump(8) a mounted file system?

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


seen in ports and used but dont remember the name ;)

2008-07-30 Thread DSA - JCR
Hi all

FreeBSD 6.2

I have used in the past year an utility for terminal that permit me to
split the terminal in several sesions vertically/horizontally and also
save and restore the sesion, letting it doing some commands.

I installed from ports, but I dont remember its name. ;-)

Can anyone help me?


Thanks in advance

Juan Coruña
Desarrollo de Software Atlantico




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


protecting my FreeBSD system

2008-07-30 Thread DSA - JCR
HI all again

I would like to know if there is a method to know how well protected is my
system (FreeBSD 6.2) in order to not permit a user to enter as root.
I need it because I have intellectual propierty in that box, and I know
some people is interested on it.

I use inetd, and I have all ports disable except Samba because it is a
repository for Windows Docs in a network. (swap is not enable).

My root password is almost 20 chars with numbers, normal and capitals
letters, points.

there is a user that belongs to operator with a script for (un)mounting
USB disk in which I trap almost all signals (about 15).

thanks in advance

Juan Coruña
Desarrollo de Software Atlantico




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


Re: seen in ports and used but dont remember the name ;)

2008-07-30 Thread Matthias Apitz
El día Wednesday, July 30, 2008 a las 09:31:13AM -, DSA - JCR escribió:

 Hi all
 
 FreeBSD 6.2
 
 I have used in the past year an utility for terminal that permit me to
 split the terminal in several sesions vertically/horizontally and also
 save and restore the sesion, letting it doing some commands.
 
 I installed from ports, but I dont remember its name. ;-)
 
 Can anyone help me?

¿Será que hablas de /usr/ports/sysutils/screen?

Could it be /usr/ports/sysutils/screen?

Saludos

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
We should all learn from the peoples of The Netherlands, France and Ireland.
Aprendamos todos de los pueblos de Holanda, Francia e Irlanda.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: carp+openospfd

2008-07-30 Thread Nikos Vassiliadis
On Wednesday 30 July 2008 07:51:52 Alexandre Biancalana wrote:
 Hi list,  (I already ask this on -net, but I get no answers)

  I have two 100Mbit link (L2L, lan to lan) between the company and our
 datacenter, on each side I have two redudant (pf+carp) firewalls.

  I configured one vlan for each 100Mbit link and used carp to do the
 failover between machines on each side, the vlan interfaces are
 configured without ip address (with Max's
 carpdev patch), only carp interfaces have ips.

  I want to use OpenOSPFD to distribute our internal routes and do
 automatic failover+loadbalance of this two 100Mbit links.

  This work ? Someone have a similar setup ? Any hints ?

I think using OSPF and CARP on the same interface could have
unexpected results.

I would use CARP on the lan to lan link to provide redundancy
and load balancing. Do you have to use OSPF?
That is, is there an OSPF domain in which you have to be part of?

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


Re: upgrade from 6.3 to 7.0

2008-07-30 Thread tethys ocean
*Hi again
*

*This is a database server. I checked the port tree and saw that all of
them are updated except for mysql. Some list members have commented
that upgrading freebsd 6.2 to 7.0 stable may result in port conflicts
and installing the entire ports hierarchy rather than upgrading them
would be a better solution. However, it is necessary to compile them
again after installing the ports and this might result in conflicts
with the sources or dependencies of previous packages. I will test all
these options.*




On Sun, Jul 27, 2008 at 5:59 AM, Jerry McAllister [EMAIL PROTECTED] wrote:

 On Fri, Jul 25, 2008 at 09:25:12PM -0400, David Gurvich wrote:

  You should not do the upgrade,


 Whatever would cause you to give such poor advice?


   though you can.  ZFS is still
  experimental on FreeBSD though you can certainly use zfs pools on your
  existing system.

 It works.

 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]




-- 
Share now a pigeon's flight
Bluebound along the ancient skies,
Its women forever hair and mammal,
A Mediterranean town may arise
If you rip apart a pigeon's heart.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dumping mounted file systems with insufficient space...

2008-07-30 Thread Matthew Seaman

Modulok wrote:

Before I try this on a live server...

I can use dump(8) an active, mounted file systems via the -L flag.
According to the manual, this first creates a snapshot of the file
system, to the .snap directory of the file systems root. What if the
file system to be dumped, does not have sufficient free-space to store
a snapshot? Can I still safely dump(8) a mounted file system?


A snapshot doesn't take any significant /extra/ space itself.  Rather it 
consists of marking the state of the system at that time and provides a
view (via the .snap directory) of that state of the filesystem.  Of course, 
subsequent modifications of the filesystem can cause more space than 
otherwise expected to be used up -- as both the snapshot and the latest 
versions of anything have to be kept around -- but how much impact this has 
depends entirely on the IO traffic characteristics of your particular 
filesystem and cannot be predicted in any useful fashion without a great

deal more information.

If snapshots won't work for you, another trick (if you can swing it) is to 
have the data on a RAID1 mirror.  Then you can detach one of the mirrors, 
back it up and then reattach the mirror.  Doing this with gmirror is a
simple matter of writing about a 10 line shell script.  Other mirroring 
hard/soft-ware may be less cooperative.  However you do it, this will

involve an extended period while mirrors resynchronise after the backup
where your file system won't have the desired level of resilience.

If you can't use snapshots, can't split the mirror and you can't unmount
the filesystem, then the next best thing is to make the filesystem as 
quiescent as possible. Basically, shut down any processes using the 
filesystem.  That's probably as unacceptable as any of the other
alternatives  -- in which case, you can still go ahead and dump the 
filesystem, but don't expect the  generated dump to be 100% consistent. 
It  will be 'good enough' for some purposes, but files actively involved
in IO at  the time the dump is made are likely to be corrupted.  


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: protecting my FreeBSD system

2008-07-30 Thread Manolis Kiagias

DSA - JCR wrote:

HI all again

I would like to know if there is a method to know how well protected is my
system (FreeBSD 6.2) in order to not permit a user to enter as root.
I need it because I have intellectual propierty in that box, and I know
some people is interested on it.

I use inetd, and I have all ports disable except Samba because it is a
repository for Windows Docs in a network. (swap is not enable).

My root password is almost 20 chars with numbers, normal and capitals
letters, points.

there is a user that belongs to operator with a script for (un)mounting
USB disk in which I trap almost all signals (about 15).

thanks in advance

Juan Coruña
Desarrollo de Software Atlantico

  


You do realize this is not an easy question to answer, right?
Security is mostly about applying good practices, and is more of  a  
(never ending) process and not a system.
FreeBSD gives you all the tools you need to build a very secure system, 
but it is up to you.


First things to consider: what you want to protect, from whom, what kind 
of access (if any) they have to the machine.
A strong root password is good, but not of much use if someone can walk 
to the machine and reboot it to single user mode, or even worse get the 
disk and run.
You already say about a user with operator rights. If it is only a mount 
/ umount operation he needs to perform, a very specific sudo would be 
better IMHO. And if it is really local users you are concerned about, I 
would suggest encryption. And as an extra measure, mark the system 
console as insecure in /etc/ttys




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


Re: protecting my FreeBSD system

2008-07-30 Thread Wojciech Puchar
A strong root password is good, but not of much use if someone can walk to 
the machine and reboot it to single user mode, or even worse get the disk and 
run.


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


Re: protecting my FreeBSD system

2008-07-30 Thread Wojciech Puchar

some people is interested on it.

I use inetd, and I have all ports disable except Samba because it is a
repository for Windows Docs in a network.


make sure samba listens only on internal interface.

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


Re: No controller detected when boot FreeBSD 7.0

2008-07-30 Thread Matthew Seaman

vardyh wrote:

Matthew Seaman wrote:

vardyh wrote:

Hi all.
I'm a newbie to FreeBSD. I added
   'console=comconsole'
to /boot/loader.conf and I got
   'hptrr: no controller detected.'
on the next boot. I didn't change anything else except for the 
'console=xxx'.

And I had had no problem before that. Could anyone tell me why?
I will very appreciate for your help :



This is just the driver for the HighPoint Rocket Raid controller being
a bit too verbose.  It's detected that you don't have anything compatible
with hptrr(4) and (unlike the usual behaviour of most Raid Controller
drivers (or drivers for any sort of hardware really)) it considers 
this fact to be of such vital importance that it really had to print out
something on the console.  Needless to say such behaviour has already 
been quashed in 7-STABLE and will not appear in 7.1-RELEASE.


In other words, it's harmless and you can just ignore it. I suspect 
that this output wasn't actually triggered by your changing

the console setting -- there's no conceivable way changing one should
affect the other -- but that changing the way the boot messages are 
displayed has managed to draw your attention to it. You probably had 
it before but never noticed.



But, actually it claimed that no controller detected and asked me to
specify the root filesystem manually, which wrote:

Trying to mount root from ufs:/dev/ad0s1a
Manul root filesystem specification:
 fstype:device Mount device using filesystem fstype
eg. ufs:da0s1a
 ?  List valid disk boot devices
 empty line   Abort manual input

I tried ufs:/dev/ad0s1a, which was the real root filesystem registered
in my /etc/fstab, but it still could not be mounted. And the same
direction came out again to asked me to point out the root fs.

I tried '?' also, but it seems that no disk devices were found... The
kernel told me List of GEOM managed disk devices:, and nothing but the
same old direction followed.


Ah.  This is a different problem, unrelated to the 'no controller
detected' message.  Unless you actually /do/ have a controller driven
by hptrr(4)?

Basically your problem is that /dev/ad0 has disappeared -- and as that's
where the boot code expected to mount the root filesystem from, it
threw a big spanner in the works.

Now, ad0 can disappear for a number of reasons:

   * the disk has died

   * the disk was unplugged and then not plugged back in again
 properly

   * the disk was plugged into a different connector internally
 (it could appear as one of ad1, ad2 or ad3 in this case)

   * you changed some BIOS settings and now the system is presenting
 the disk as a SATA device (it could appear as ad4 or ad6 in
 this case)

   * you changed some BIOS settings and now the system has tried to
 generate some sort of RAID from the attached drives -- this could
 appear as ar0, or it could prevent FreeBSD seeing the drive(s) at
 all or it could have just shredded the contents of your disk and 
 left you up a gum tree.  (Normally you would have had to click 
 through several dire warning messages in the last case, so this 
 eventuality shouldn't have been particularly surprising to you)


Check all the connectors.  Check the disk is properly seated, especially
if it's a hotswap device.  Try booting up the installation media or a Freesbie disk or any sort of LiveCD and see what hardware the kernel discovers at boot time.  If you have been changing BIOS settings, try changing them back to what they were originally.  


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


New harddisk: CANNOT READ BLK Cause?

2008-07-30 Thread Jan Henrik Sylvester
I got a new harddisk for my laptop, attached it via firewire, used dump 
0aLf - / | restore xf - (from the FAQ), and swapped it with my internal 
one. During that, I also migrated /var and /usr to separate bsdlabels.


On reboot during fsck (ad0s1f), I got:

CANNOT READ BLK: 251403296
CONTINUE? [yn] y

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 251403296, 251403297, 
251403298, 251403299,


LOOK FOR ALTERNATE SUPERBLOCKS? yes

32 is not a file system superblock
SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE

Is there a problem with the harddisk? Did I do anything wrong? How do I 
find out?


Since I never used bsdlabel and newfs by hand before for more than 
trivial cases, I might very well have messed something up. Here is what 
I came up with.


Since I forgot to change it before swapping harddisks, I came up with 
this simple fstab:


/dev/ad0s1b none swap sw 0 0
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s1e /var ufs rw 1 2
/dev/ad0s1f /usr ufs rw 1 2

This is my bsdlabel for ad0s1:

# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  2097152   164.2BSD 2048 16384 28552
  b:  4194304  2097168  swap
  c: 3145687020unused0 0 # raw part, 
don't edit

  e: 16777216  62914724.2BSD 2048 16384 28552
  f: 251658240 230686884.2BSD 2048 16384 28552
  g: 33554432 274726928unused0 0
  h:  6287342 308281360unused0 0

This is the fdisk partition ad0s1:

sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 314568702 (153597 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 124/ head 254/ sector 63

Anything else? (I could probably recall most of the commands I issued.)

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


Re: New harddisk: CANNOT READ BLK Cause?

2008-07-30 Thread Michael Powell
Jan Henrik Sylvester wrote:

 I got a new harddisk for my laptop, attached it via firewire, used dump
 0aLf - / | restore xf - (from the FAQ), and swapped it with my internal
 one. During that, I also migrated /var and /usr to separate bsdlabels.
 
 On reboot during fsck (ad0s1f), I got:
 
 CANNOT READ BLK: 251403296
 CONTINUE? [yn] y
 
 THE FOLLOWING DISK SECTORS COULD NOT BE READ: 251403296, 251403297,
 251403298, 251403299,

Whenever I see messages like this I tend to wonder: defective?
 
 LOOK FOR ALTERNATE SUPERBLOCKS? yes
 
 32 is not a file system superblock
 SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
 
 Is there a problem with the harddisk? Did I do anything wrong? How do I
 find out?
 
[snip]

I'm going to assume here that you still have the old HD and it is set aside
out of the way and is OK as a backup. Me, what I think I'd do is leave the
new drive installed, wipe it clean, and try a fresh install from CDROM.
Reboot and look for these errors. If they magically are no longer present
I'd suspect something went wrong using the Firewire port on the first go
around.

If you see them again I'd suspect the drive may be faulty with bad media
spots and would be a candidate for RMA replacement. There may be a disk
diagnostic available which can confirm bad media. Eliminate the hardware as
faulty first, just to get it out of the way.

-Mike




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


OT: encrypted email using web based application

2008-07-30 Thread Andrew Gould
If I start with Subject line with the word secure using my work's email
system, the email is sent to a secure, web based application where the
recipients can view the message securely.  The recipients receive a message
that a secure email message is waiting for them there.  They have to create
an account based upon their email address to view the message.  They do not
have to recreate the accounts for future messages.

This system is easy to use; and we don't have to worry about whether the
recipients have PGP or GPG.  Is there an open source application that does
this?

Thanks,

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


Very very weak sound from the speaker

2008-07-30 Thread Rommel Martinez
I'm wondering why is it that no matter what I do, I can't seem to make
my laptop emit sound lounder than a whisper.  The laptop is an ECS
Elitegroup W330 (Arima W330-UCX) and this is the website of the
laptop: http://www.arimacorp.com/ViewProduct.asp?View=145

I thought at first there was no sound coming out at all, so what I did was I
plugged an external speaker to it and maxed out the volume via the
volume knob and set my mixer settings all to 100, then I was able to
hear sound from the speaker, but it's too weak to be of any good use.

The following is my configuration:

$ cat /boot/loader.conf | grep snd_
snd_ich_load=YES

$ kldstat | grep snd_
 31 0xc0d3 6f88 snd_ich.ko

$ kldstat | grep sound
 42 0xc0d37000 4a5acsound.ko

$ cat /var/run/dmesg.boot | grep pcm
pcm0: Intel ICH6 (82801FB) port 0x5000-0x50ff,0x48c0-0x48ff mem
0xb0040800-0xb00409ff,0xb0040400-0xb00404ff irq 20 at device 30.2 on
pci0
pcm0: [ITHREAD]
pcm0: Avance Logic ALC250 AC97 Codec

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: Intel ICH6 (82801FB) at io 0xb0040800, 0xb0040400 irq 20 bufsz
16384 kld snd_ich [MPSAFE] (1p:1v/1r:1v channels duplex default)

$ mixer
Mixer vol is currently set to 100:100
Mixer pcm is currently set to 100:100
Mixer speaker is currently set to 100:100
Mixer line is currently set to 100:100
Mixer mic is currently set to 100:100
Mixer cd is currently set to 100:100
Mixer rec is currently set to 100:100
Mixer igain is currently set to 100:100
Mixer ogain is currently set to 100:100
Mixer line1 is currently set to 100:100
Mixer phin is currently set to 100:100
Mixer phout is currently set to 100:100
Recording source: mic

I tried audacious, xmms, and mpg123 but I still get
the same behaviour.

What's causing this? Can anybody give pointers why
is this happening?

Thanks.

-- 
Rommel M. Martinez [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: Very very weak sound from the speaker

2008-07-30 Thread Rommel Martinez
On Wed, Jul 30, 2008 at 8:30 PM, Marc Coyles
[EMAIL PROTECTED] wrote:
 Take it you've checked hardware volume control on the laptop (ie: Function
 Key and whichever key has volume-up logo on it)? That'll override anything
 determined at software level...

 Marc A Coyles
 Horbury School ICT Support Team (ext 730)
 Mbl: 07850 518106

Done that. It's set to max afaik. Still the same weak sound. :-(


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Rommel Martinez
 Sent: Wednesday, July 30, 2008 12:51 PM
 To: freebsd-questions@freebsd.org
 Subject: Very very weak sound from the speaker

 I'm wondering why is it that no matter what I do, I can't seem to make
 my laptop emit sound lounder than a whisper.  The laptop is an ECS
 Elitegroup W330 (Arima W330-UCX) and this is the website of the
 laptop: http://www.arimacorp.com/ViewProduct.asp?View=145

 I thought at first there was no sound coming out at all, so what I did was I
 plugged an external speaker to it and maxed out the volume via the
 volume knob and set my mixer settings all to 100, then I was able to
 hear sound from the speaker, but it's too weak to be of any good use.

 The following is my configuration:

 $ cat /boot/loader.conf | grep snd_
 snd_ich_load=YES

 $ kldstat | grep snd_
  31 0xc0d3 6f88 snd_ich.ko

 $ kldstat | grep sound
  42 0xc0d37000 4a5acsound.ko

 $ cat /var/run/dmesg.boot | grep pcm
 pcm0: Intel ICH6 (82801FB) port 0x5000-0x50ff,0x48c0-0x48ff mem
 0xb0040800-0xb00409ff,0xb0040400-0xb00404ff irq 20 at device 30.2 on
 pci0
 pcm0: [ITHREAD]
 pcm0: Avance Logic ALC250 AC97 Codec

 $ cat /dev/sndstat
 FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
 Installed devices:
 pcm0: Intel ICH6 (82801FB) at io 0xb0040800, 0xb0040400 irq 20 bufsz
 16384 kld snd_ich [MPSAFE] (1p:1v/1r:1v channels duplex default)

 $ mixer
 Mixer vol is currently set to 100:100
 Mixer pcm is currently set to 100:100
 Mixer speaker is currently set to 100:100
 Mixer line is currently set to 100:100
 Mixer mic is currently set to 100:100
 Mixer cd is currently set to 100:100
 Mixer rec is currently set to 100:100
 Mixer igain is currently set to 100:100
 Mixer ogain is currently set to 100:100
 Mixer line1 is currently set to 100:100
 Mixer phin is currently set to 100:100
 Mixer phout is currently set to 100:100
 Recording source: mic

 I tried audacious, xmms, and mpg123 but I still get
 the same behaviour.

 What's causing this? Can anybody give pointers why
 is this happening?

 Thanks.

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








-- 
Rommel M. Martinez [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: Mail Heading to dead.letter

2008-07-30 Thread Andy Christianson
Sendmail is running  DNS is working. See the following output:

[EMAIL PROTECTED] /home/andy]# /etc/rc.d/sendmail status
sendmail_submit is running as pid 71703.
sendmail_clientmqueue is running as pid 675.
[EMAIL PROTECTED] /home/andy]# ping gmail.com
PING gmail.com (64.233.161.83): 56 data bytes
64 bytes from 64.233.161.83: icmp_seq=0 ttl=239 time=19.943 ms
64 bytes from 64.233.161.83: icmp_seq=1 ttl=239 time=22.096 ms
64 bytes from 64.233.161.83: icmp_seq=2 ttl=239 time=22.568 ms
64 bytes from 64.233.161.83: icmp_seq=3 ttl=239 time=19.368 ms
^C
--- gmail.com ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 19.368/20.994/22.568/1.364 ms
[EMAIL PROTECTED] /home/andy]# mail [EMAIL PROTECTED]
Subject: Test
This is a test!!
EOT
[EMAIL PROTECTED] /home/andy]# exit
exit
[EMAIL PROTECTED] ~]$ mail [EMAIL PROTECTED]
Subject: Another test!!
Test sent from a normal user
EOT
[EMAIL PROTECTED] ~]$ /home/andy/dead.letter... Saved message in
/home/andy/dead.letter


On Wed, Jul 30, 2008 at 3:32 AM, Ruben de Groot [EMAIL PROTECTED] wrote:


 Check if sendmail is running and your DNS is working.

 regards,
 Ruben

 On Tue, Jul 29, 2008 at 09:26:50PM -0400, Andy Christianson typed:
  Whenever I send any email from my normal user account, it goes straight
 to
  dead.letter, even if I attempt to mail a local user. When I try to send
 mail
  as root, it simply does not send. I have a very basic, updated FreeBSD
 7.0
  installation. Mail has not worked since I installed 7.0 about 42 days
 ago. I
  am able to ping internet addresses as well as well as resolve domain
 names.
 
  At the very least, can someone point me in the correct direction to start
  debugging this? I have read relevant sections in the FreeBSD handbook as
  well as sendmail manpages, etc.
 
  Thanks in advance for any help!
 
  -Andy
  ___
  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]


py-qt install error (repost)

2008-07-30 Thread Ghirai
Hello list,

I'm running 7.0-RELEASE, i386, and KDE 3.5.8 from ports.

Trying to install /usr/ports/x11-toolkits/py-qt gives this error:

...
-- Creating pyqtconfig.py...
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qt/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|'
/usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtcanvas/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
++|'
/usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtnetwork/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|'
/usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qttable/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtxml/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtui/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtsql/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtext/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile
sed: /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile:
No such file or directory
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt.
*** Error code 1


Any ideas?

Ports tree is up to date.


If i disable OpenGL support in make config, it gets past that error, but hangs 
sucking up CPU here:

===  Building for py25-qt-3.17.4_1,2
c++ -c -pipe -fPIC -O2 -fno-strict-aliasing -pipe -Wall -W -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -I. -I/usr/local/include -I/usr/local/include/python2.5 
-I/usr/local/share/qt/mkspecs/freebsd-g++ -o 
sipqtcmodule.o sipqtcmodule.cpp

Thanks.

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


Re: No controller detected when boot FreeBSD 7.0

2008-07-30 Thread vardyh

Matthew Seaman wrote:

vardyh wrote:

Matthew Seaman wrote:

vardyh wrote:

Hi all.
I'm a newbie to FreeBSD. I added
   'console=comconsole'
to /boot/loader.conf and I got
   'hptrr: no controller detected.'
on the next boot. I didn't change anything else except for the 
'console=xxx'.

And I had had no problem before that. Could anyone tell me why?
I will very appreciate for your help :



This is just the driver for the HighPoint Rocket Raid controller being
a bit too verbose.  It's detected that you don't have anything 
compatible

with hptrr(4) and (unlike the usual behaviour of most Raid Controller
drivers (or drivers for any sort of hardware really)) it considers 
this fact to be of such vital importance that it really had to print 
out
something on the console.  Needless to say such behaviour has 
already been quashed in 7-STABLE and will not appear in 7.1-RELEASE.


In other words, it's harmless and you can just ignore it. I suspect 
that this output wasn't actually triggered by your changing

the console setting -- there's no conceivable way changing one should
affect the other -- but that changing the way the boot messages are 
displayed has managed to draw your attention to it. You probably had 
it before but never noticed.



But, actually it claimed that no controller detected and asked me to
specify the root filesystem manually, which wrote:

Trying to mount root from ufs:/dev/ad0s1a
Manul root filesystem specification:
 fstype:device Mount device using filesystem fstype
eg. ufs:da0s1a
 ?  List valid disk boot devices
 empty line   Abort manual input

I tried ufs:/dev/ad0s1a, which was the real root filesystem registered
in my /etc/fstab, but it still could not be mounted. And the same
direction came out again to asked me to point out the root fs.

I tried '?' also, but it seems that no disk devices were found... The
kernel told me List of GEOM managed disk devices:, and nothing but the
same old direction followed.


Ah.  This is a different problem, unrelated to the 'no controller
detected' message.  Unless you actually /do/ have a controller driven
by hptrr(4)?

Basically your problem is that /dev/ad0 has disappeared -- and as that's
where the boot code expected to mount the root filesystem from, it
threw a big spanner in the works.

Now, ad0 can disappear for a number of reasons:

   * the disk has died

   * the disk was unplugged and then not plugged back in again
 properly

   * the disk was plugged into a different connector internally
 (it could appear as one of ad1, ad2 or ad3 in this case)

   * you changed some BIOS settings and now the system is presenting
 the disk as a SATA device (it could appear as ad4 or ad6 in
 this case)

   * you changed some BIOS settings and now the system has tried to
 generate some sort of RAID from the attached drives -- this could
 appear as ar0, or it could prevent FreeBSD seeing the drive(s) at
 all or it could have just shredded the contents of your disk and 
 left you up a gum tree.  (Normally you would have had to click 
 through several dire warning messages in the last case, so this 
 eventuality shouldn't have been particularly surprising to you)


Check all the connectors.  Check the disk is properly seated, especially
if it's a hotswap device.  Try booting up the installation media or a 
Freesbie disk or any sort of LiveCD and see what hardware the kernel 
discovers at boot time.  If you have been changing BIOS settings, try 
changing them back to what they were originally. 
Cheers,


Matthew

But it's weird that I didn't change any of the mentioned above. After I 
removed the 'console=Xxx' from loader.conf, it booted successfully. It 
seemed that the console option was the only matter. But I can't figure 
out how THAT option affected the adN device when booting up.

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


Re: OT: encrypted email using web based application

2008-07-30 Thread Svein Halvor Halvorsen
Andrew Gould wrote:
 If I start with Subject line with the word secure using my work's email
 system, the email is sent to a secure, web based application where the
 recipients can view the message securely.  The recipients receive a message
 that a secure email message is waiting for them there.  They have to create
 an account based upon their email address to view the message.  They do not
 have to recreate the accounts for future messages.
 
 This system is easy to use; and we don't have to worry about whether the
 recipients have PGP or GPG.  Is there an open source application that does
 this?

How is this secure? Ok, I can see that if the message is served over
https, then the network packages themselves cannot be sniffed
easily. But as long as the recipient did not give you the key to
use, then this is not secure. Why should the recipient trust the server?

Whether there is an open source solution, I don't know however.


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


SCSI RAID on FreeBSD 7.0, where is the array?

2008-07-30 Thread [EMAIL PROTECTED]

Hi all,


I am fighting the following hardware:

MB: ASUS p5b-plus (NON vista edition)
Cpu: Core 2 duo 4600
SCSI Card: Adaptec 39320 (Unused Dell OEM bought from ebay)
HDDs: 2xSeagate Cheetah 73.4 GB Ultra320 SCSI (posibly Dell OEM)

Nb. The MB does not support PCI-X, but is backwards compatible to a 
standard PCI slot. On recommendations I have limited the throughput on 
the channels to 160mb.


If you think any other pieces relevant let me know.


I think this is probably just an issue with my not knowing wtf I'm 
doing, but to be optimistic lets assume the ahd module worked as there 
are no errors in dmesg; which device do I install to? I can not see see 
ahd0 in fdisk.


There are alot of posts over the years reporting trouble with the 
Dell(Adaptec/Seagate) combiniation. The funny thing is that I am having 
none of these troubles; There are no panics, no dumps and no lengthy 
pauses. It all seems fine, until I try to select the disk to install to 
and I only have da0 or da1.




Thanks for your time




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


Re: Very very weak sound from the speaker

2008-07-30 Thread David Gurvich
On my thinkpad the sound controls are connected to acpi_ibm and the
volume level can be seen with 'sysctl -a |grep volume' and controlled
with 'sysctl dev.acpi_ibm.0.volume=SOME_VALUE' or the volume keys.
Perhaps you need to load the acpi modules for your laptop.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCSI RAID on FreeBSD 7.0, where is the array?

2008-07-30 Thread David Gurvich
HDDs: 2xSeagate Cheetah 73.4 GB Ultra320 SCSI
That system looks like you have only SCSI disks.  These are listed as
da0 and da1.  Is the installer having trouble accessing the disks?  I'm
not sure I see the error.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Custmoize VNC

2008-07-30 Thread usleepless
On Mon, Jul 28, 2008 at 10:08 PM, Greg Larkin [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Jean-Paul Natola wrote:
 | I know there  are two apps (open source) that will allow you to
 customize vnc
 | but I just cant remember, in essence I want the remote users (outside the
 | lan) to be able to download the file click run and it will automatically,
 | upon launch connect to the viewer here at HQ (ip add encryption port #
 etc..)
 |
 | I was looking at this a few weeks ago and like a fool I didn't
 bookmark the
 | page, any help would be appreciated

google:

 - Ultra VNC SC ( free as in beer )
 - Helpdesk VNC ( commercial )

regards,

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


Re: SCSI RAID on FreeBSD 7.0, where is the array?

2008-07-30 Thread Michael Powell
[EMAIL PROTECTED] wrote:

 Hi all,
 
 
 I am fighting the following hardware:
 
 MB: ASUS p5b-plus (NON vista edition)
 Cpu: Core 2 duo 4600
 SCSI Card: Adaptec 39320 (Unused Dell OEM bought from ebay)
 HDDs: 2xSeagate Cheetah 73.4 GB Ultra320 SCSI (posibly Dell OEM)
 
 Nb. The MB does not support PCI-X, but is backwards compatible to a
 standard PCI slot. On recommendations I have limited the throughput on
 the channels to 160mb.
 
 If you think any other pieces relevant let me know.
 
 
  I think this is probably just an issue with my not knowing wtf I'm
 doing, but to be optimistic lets assume the ahd module worked as there
 are no errors in dmesg; which device do I install to? I can not see see
 ahd0 in fdisk.
 
[snip]

Sounds like you might be able to see the individual drives which may
indicate termination and other stuff is OK. During boot (POST time before
OS starts to load) you press CTRL-A (both keys together) to get into the
Adaptec card BIOS. You can configure your drives as an array here. There is
supposed to be a message on the screen but this message can be disabled by
BOFH. Been a while since I've done this, but IIRC after creating the array
and rebooting you would then install to ar0.

-Mike
 


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


BTX halted on boot

2008-07-30 Thread Dominik Meister
Hi

We are experiencing a problem with one of our FreBSD 6.2 machines. The
machine has been running fine for months until we had to reboot it. Now
it doesn't boot anymore. After the boot loader we get what looks like a
register dump:

FreeBSD/i386 boot
Default: 0:ad(0,a)heap
boot: /boot/kernel/kernel\
int=000e  err=0002  efl=00010086  eip=c042426a
eax=c06da7a8  ebx=c06da7a0  ecx=  edx=f000ff53
esi=  edi=c06da57f  ebp=c08f6d4c  esp=c08f6d40
cs=0008  ds=0010  es=0010fs=0010  gs=0010  ss=0010
cs:eip=89 42 0c eb 07 90 8d 43-08 89 46 14 89 5e 10 8d
   46 10 89 43 0c 8b 47 0c-89 43 10 85 c0 74 0b 8b
ss:esp=7f a5 6d c0 00 00 8f 00-00 e0 8f 00 64 6d 8f c0
   75 3b 42 c0 a0 a7 6d c0-7f a5 6d c0 20 a5 6d c0
BTX halted

and the machine reboots.

Any suggestions what might be the problem? All I can find about BTX
halted references to problems when installing a fresh system and not
out of a sudden on machine which has been running fine before.

Any hints are highly appreciated.

Thanks,
Dominik

-- 
Dominik Meister
My public GnuPG key is available at http://www.meisternet.ch/gpg.txt


pgphDIBbMvRwY.pgp
Description: PGP signature


Re: setting the other end's TCP segment size

2008-07-30 Thread Giorgos Keramidas
On Wed, 30 Jul 2008 00:09:45 -0700, [EMAIL PROTECTED] wrote:
 Is there a simple way for a FreeBSD system to cause its peer to
 use a transmit segment size of, say, 640 bytes -- so that the peer
 will never try to send a packet larger than that?

 I'm trying to get around a network packet-size problem.  In case
 it matters, the other end is SunOS 4.1.1 on a sun3, and I've been
 unable to find a way to limit its packet size directly.

 Setting the interface MTU should do it, i.e.:

 ifconfig re0 mtu 640

 Not all interfaces support setting the MTU and some may have range
 restrictions though.

 In particular, this seems to work with my wlan0 interface, but not
 with my re0 interface ...

 That's certainly simple enough, and xl0 apparently supports the
 reduced mtu setting.  It seems to be working just fine.  Thanks!

 I'd thought of trying to set the sun's MTU, but hadn't been able
 to find a way to do it.  It had never occurred to me that setting
 the *recipient's* MTU would limit the *sender's* packet size.

You can edit `/etc/hostname.foo0' in the Sun too, and add something
like:

192.168.1.10/24 mtu 640

but since now you are happy with the new setup, that's fine :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Upgrade 6.2-Release to 7.0-Release - stuck!

2008-07-30 Thread Marc Coyles
Righty - now that I'm back from my wanderings I've managed to complete the
upgrade from 6.3 to 7.0-RELEASE, but am still getting issues with named not
starting. For reference, I pulled down a clean 7.0-R version of named.conf
and dropped it in as /etc/named.conf

/var/log/messages shows the following (lots):

Jul 30 14:39:53 bigsis root: /etc/rc.d/named: WARNING:
run_rc_command: cannot run /usr/local/sbin/named

Weird thing? Course it can't run /usr/local/sbin/named as it ain't there -
it's at /usr/sbin/named, BUT, /etc/rc.d/named has the location correct so
I'm not sure where anything is getting reference to /usr/local/sbin...


Marc A Coyles
ICT Support Team (ext 730)
Mbl: 07850 518106



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


Re: seen in ports and used but dont remember the name ;)

2008-07-30 Thread andrew clarke
On Wed 2008-07-30 09:31:13 UTC-, DSA - JCR ([EMAIL PROTECTED]) wrote:

 I have used in the past year an utility for terminal that permit me to
 split the terminal in several sesions vertically/horizontally and also
 save and restore the sesion, letting it doing some commands.
 
 I installed from ports, but I dont remember its name. ;-)

You are probably describing sysutils/screen, although recently I've
switched to misc/tmux, which works in a similar way.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: seen in ports and used but dont remember the name ;)

2008-07-30 Thread Pollywog
On Wednesday 30 July 2008 14:22:36 andrew clarke wrote:
 On Wed 2008-07-30 09:31:13 UTC-, DSA - JCR ([EMAIL PROTECTED]) wrote:
  I have used in the past year an utility for terminal that permit me to
  split the terminal in several sesions vertically/horizontally and also
  save and restore the sesion, letting it doing some commands.
 
  I installed from ports, but I dont remember its name. ;-)

 You are probably describing sysutils/screen, although recently I've
 switched to misc/tmux, which works in a similar way.

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


Re: carp+openospfd

2008-07-30 Thread Nikos Vassiliadis
On Wednesday 30 July 2008 16:56:23 Alexandre Biancalana wrote:
 On 7/30/08, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
  On Wednesday 30 July 2008 07:51:52 Alexandre Biancalana wrote:
Hi list,  (I already ask this on -net, but I get no answers)
   
 I have two 100Mbit link (L2L, lan to lan) between the company and
our datacenter, on each side I have two redudant (pf+carp)
firewalls.
   
 I configured one vlan for each 100Mbit link and used carp to do
the failover between machines on each side, the vlan interfaces are
configured without ip address (with Max's
carpdev patch), only carp interfaces have ips.
   
 I want to use OpenOSPFD to distribute our internal routes and do
automatic failover+loadbalance of this two 100Mbit links.
   
 This work ? Someone have a similar setup ? Any hints ?
 
  I think using OSPF and CARP on the same interface could have
   unexpected results.

 I see some examples

You get to have two ways to forward packet to a destination.
One via CARP and one via OSPF. I think it's a possible source
of errors.


   I would use CARP on the lan to lan link to provide redundancy
   and load balancing. Do you have to use OSPF?
   That is, is there an OSPF domain in which you have to be part of?

 I use CARP for firewall redundancy on each side. I want to use OSPF to
 easy distribute routes on my networks, the failover and load balance
 of the links are a desirable plus.

So, there is an OSPF domain besides the four FreeBSD firewalls, right?

Could you provide your network's topology?
Is it something like:
LAN1CLUSTER1CLUSTER2LAN2
where:
CLUSTER1 = CARP(FW1, FW2)
CLUSTER2 = CARP(FW3, FW4)
???

For example, in the above diagram you cannot load
balance the traffic, it will always go through the
same routers:
 FW1 and FW3 or
 FW1 and FW4 or
 FW2 and FW3 or
 FW2 and FW4.

It will of course failover in case of a FW failure.

 I would use CARP on the lan to lan link to provide redundancy
 and load balancing.

So, my suggestion above is false, at least with the current
CARP on FreeBSD.

Please supply more info about your setup,

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


valgrind

2008-07-30 Thread Andrea Venturoli


** Port marked as IGNORE: devel/valgrind:
is only for i386, while you are running amd64
** Listing the failed packages (-:ignored / *:skipped / !:failed)
- devel/valgrind

Same holds for valgrind-snapshot.




On it's website I see it supports AMD64 on Linux, so I guess this is a 
FreeBSD specific problem.


Is there ongoing work to get this on amd64?

Out of curiosity, what is the reason it does not work right now?

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


Re: Upgrade 6.2-Release to 7.0-Release - stuck!

2008-07-30 Thread Vincent Hoffman

Marc Coyles wrote:

Righty - now that I'm back from my wanderings I've managed to complete the
upgrade from 6.3 to 7.0-RELEASE, but am still getting issues with named not
starting. For reference, I pulled down a clean 7.0-R version of named.conf
and dropped it in as /etc/named.conf

/var/log/messages shows the following (lots):

Jul 30 14:39:53 bigsis root: /etc/rc.d/named: WARNING:
run_rc_command: cannot run /usr/local/sbin/named

Weird thing? Course it can't run /usr/local/sbin/named as it ain't there -
it's at /usr/sbin/named, BUT, /etc/rc.d/named has the location correct so
I'm not sure where anything is getting reference to /usr/local/sbin...

  

Have you changed named_program in either
/etc/rc.conf
or /etc/defaults/rc.conf ?
as a quick check,
for file in /etc/rc.conf /etc/defaults/rc.conf ; do grep -H 
named_program $file ; done


should return

/etc/defaults/rc.conf:named_program=/usr/sbin/named# path to 
named, if you want a different one.


if you havent

Vince


Marc A Coyles
ICT Support Team (ext 730)
Mbl: 07850 518106



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


Imposible to update/upgrade ports....

2008-07-30 Thread Agus
Hi guys,

I'v been delaying the installed ports upgrade cause i was testing my server
and now that it it in production i wanted to upgrade them and find it
impossible...

I am running
 uname -a
FreeBSD everest.himalaya.network 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May
21 19:48:05 ART 2007

I did a cvsup to update all ports which did it successfully...then installed
portmanager and portsaudit

did a pkg_version -v and find the outdated ports, like sec, mysql and
more

Now while trying to update with

portmanager sysutils/rsync -l -ui -f
#Then also tried without the f

get this errors:
-

portmanager 0.4.1_9

 perl-5.8.8_1/lang/perl5.8
make Strike 2

it gets like its looping while updating perl
For what i saw, portmanager seems to try to update all dependencies too..and
is failing in that

Something similar happened while trying to update apache22

Its my first try updating/upgrading ports...and it was hard to find a doc
explaining thisi mean..there are lots of docs but each with different
methods...

Well, hope you can give me a jhand..

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


Re: whatkind of 19 LCD display??

2008-07-30 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gary Kline wrote:
 On Tue, Jul 29, 2008 at 01:27:37PM -0500, Preston Hagar wrote:
 On Tue, Jul 29, 2008 at 9:43 AM, Chuck Robey [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I really like the Dell, both because of their outstanding contrast and
 brightness, no dead pixels in any of my LCDs, and the fact that they come 
 with
 multiple interfaces which are switch selectable from the front panel.  The 
 old
 20 units had 4 jacks (RCA, S-Video, VGA, and DVI).  Really convenient.  
 The new
 24 one, beyond being able to run native 1920X1080 for HiDef Video, it's got
 about 10 different jacks.  Looks it up the web, the Dell pages describe it 
 best,
 and the contrast on that 24 has to be seen to be believed.  I actually 
 turned
 it down!
 I would second the Dell's, specifically the UltraSharp line.  I have a
 19 Ultrasharp as my primary monitor and a 19 Dell Standard as a
 secondary monitor.  The Ultrasharp has DVI and VGA, a built in USB hub
 and is great to look at.
 
 
   Thanks, Preston.
 
   So:: boiling it down to a make and a line, now Chuck [[ and you ]]
   give thumbs-up on the Dell.  UltraSharp, rt?

My first Dell was the 19: UltraSharp (I forget the name right now, but I'm quite
certain it was an UltraSharp).  I was really knocked out by the
contrast/brightness, but even more by those front panel switchable interfaces,
which let me easily connect up two computers to the same LCD, and just need to
hit a button on the front to switch.  Before I put the money down here, I really
did read the reviews, and I felt they came up on top there, which made me feel
like I couldn't walk away from that purchase as being a mark.  I got the 19
models back in 2000, and about 2 months ago (I think?) I finally lost one.  I
replaced it with a 24 model from Dell because of my good experience with the
earlier one, but also because the 24 2408WFP came compatible with 1920X1080
HDTV, 8 different interfaces (two of the DVI interfaces alone!) and nicely done
PIP.  It cost me aboout $650 (this time I bought it direct from Dell, not going
thru eBay) and the contrast really surprised me by being astonishingly better
than the old 19 model (which I'd thought was already pretty decent).  I really
like this new one, and although I didn't buy it, it comes with an inexpensive
addon, a soundbar, that integrates right in, and a really easily adjustable
height desk mounting.  I'm disabled, and I can adjust it easily, and it's 
stable.

I dunno, you might possibly be able to beat the price.  I kinda doubt you can
beat the quality vs. price factor.  I don't like it when I come back a month or
two after a major purchase, wondering if I'd been a sucker, but after this
purchase, I didn't feel that way.  I think  it's a good deal.

 
   A personal note from the cheapes--er, *thriftiest* guy alive:
   for a new display, price isn' the driving force.  it's quality--
   which includes durabiility, function, c.  (actually, i wouldn't
   mind 19+.) 20 [[[ and when the hell are we going to join the 18th
   Century and go-metric?! ]]] 20 is about the max since i cram
   as many xterms with tiny fonts as possible.  so
   brightness+contrast matter.   [[ if i could get out easily, i
   might check out the 24 ... but that would only give me LCD-envy!!
   --ah, *life* :-| ]]
 
 
   Anyhow, ao far, i'm looking at the Hanns-G, the Samsung SyncMaster
   (941BW), And possobily the VIewSonic.  And the Dell UltraSharp.
 
   (gReat if Costco has these; but i'll try egghead.com too.)
 
   Anybody here in the States have any other recommmendation, 
   plese gimmmee a shout:-)
 
   gary
 
 
 Preston
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiQkMcACgkQz62J6PPcoOmO4wCfYhWBfUgTCdscUu2ks3rwjAxP
7pAAoKTH3XoM0iLLJeXbu5Ccuu9xb59T
=gYoy
-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]


When gcc43 is expected to be in base?

2008-07-30 Thread Jakub Lach

I'm eager to have core2 march, but don't want to mess system forcing gcc43 as
base.
-- 
View this message in context: 
http://www.nabble.com/When-gcc43-is-expected-to-be-in-base--tp18736784p18736784.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: BTX halted on boot

2008-07-30 Thread Matthew Seaman

Dominik Meister wrote:

Hi

We are experiencing a problem with one of our FreBSD 6.2 machines. The
machine has been running fine for months until we had to reboot it. Now
it doesn't boot anymore. After the boot loader we get what looks like a
register dump:

FreeBSD/i386 boot
Default: 0:ad(0,a)heap
boot: /boot/kernel/kernel\
int=000e  err=0002  efl=00010086  eip=c042426a
eax=c06da7a8  ebx=c06da7a0  ecx=  edx=f000ff53
esi=  edi=c06da57f  ebp=c08f6d4c  esp=c08f6d40
cs=0008  ds=0010  es=0010fs=0010  gs=0010  ss=0010
cs:eip=89 42 0c eb 07 90 8d 43-08 89 46 14 89 5e 10 8d
   46 10 89 43 0c 8b 47 0c-89 43 10 85 c0 74 0b 8b
ss:esp=7f a5 6d c0 00 00 8f 00-00 e0 8f 00 64 6d 8f c0
   75 3b 42 c0 a0 a7 6d c0-7f a5 6d c0 20 a5 6d c0
BTX halted

and the machine reboots.

Any suggestions what might be the problem? All I can find about BTX
halted references to problems when installing a fresh system and not
out of a sudden on machine which has been running fine before.

Any hints are highly appreciated.


This is telling you that the boot loader has become corrupted, and
is crashing.  A leading cause for this would be hardware failure --
something gone wonky with your hard drive.

Try booting the 'fixit' system from the installation media and see
if you can fsck and access the filesystems on the disk -- it may be
a localised problem that's killed the ability to boot from the drive leaving 
the rest unaffected.   Or the entire drive may be toast, and
you've got no option other than to get yourself a new drive and restore
from backup. Actually, given the fairly cheap price of disks nowadays,
I wouldn't try too hard to fix up the original disk: if you're going to 
have to spend some hours working on it, it's more economic to ditch

the old one and start afresh.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: difficulty building a cross-compiler with a fresh install

2008-07-30 Thread Roland Smith
On Tue, Jul 29, 2008 at 08:47:42PM -0400, Wyatt Neal wrote:
 greetings,
 
 i've been running with a freebsd 6.1 system for a few days and i'm
 having some oddities when trying to build a cross compiler on the
 system.

You don't say _what_ kind of cross-compiler you want.

Use the available cross-compilers from ports. There is a good chance
someone else has already sorted it out.

You can find a complete list of cross-compilers with 
'ls /usr/ports/devel/*-gcc/Makefile':

/usr/ports/devel/arm-rtems-gcc/Makefile
/usr/ports/devel/avr-gcc/Makefile
/usr/ports/devel/cross-gcc/Makefile
/usr/ports/devel/djgpp-gcc/Makefile
/usr/ports/devel/i386-rtems-gcc/Makefile
/usr/ports/devel/i960-rtems-gcc/Makefile
/usr/ports/devel/m68k-rtems-gcc/Makefile
/usr/ports/devel/mingw32-gcc/Makefile
/usr/ports/devel/mips-rtems-gcc/Makefile
/usr/ports/devel/msp430-gcc/Makefile
/usr/ports/devel/powerpc-gcc/Makefile
/usr/ports/devel/powerpc-rtems-gcc/Makefile
/usr/ports/devel/sh-rtems-gcc/Makefile
/usr/ports/devel/sparc-rtems-gcc/Makefile

Note that cross-gcc is a master port for most of the others except
mingw32-gcc. If you want to cross-compile for win32, use mingw32-gcc.

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)


pgpycRTpqCH4t.pgp
Description: PGP signature


Re: When gcc43 is expected to be in base?

2008-07-30 Thread Kris Kennaway

Jakub Lach wrote:

I'm eager to have core2 march, but don't want to mess system forcing gcc43 as
base.


I don't think it is planned to update to gcc 4.3 since it is covered by 
the GPLv3.


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


tex, teTex, LaTeX help

2008-07-30 Thread Joey Mingrone
Hello,

I've been told that LaTeX is probably the best solution for creating
scientific papers with math fonts, so I'm trying to get a working
installation.

My first attempt was to install the latex2e-2003.12_1 port, which
installed the tex-3.14159_3 port as a dependency.  This seemed to
work, but there were some things referenced in the documentation that
seemed to be missing.  For example, the amsmath package wasn't
available.  I thought there must be a port specifically for these
fonts, but it seems they are in the teTex port, but that port
conflicts with the tex port and it seems teTex is no longer being
updated.

Is there a guide for getting all this set up, or can some kind soul
suggest a installation method that works well for them?

Thanks,

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


Re: When gcc43 is expected to be in base?

2008-07-30 Thread Jakub Lach



Kris Kennaway-3 wrote:
 
 Jakub Lach wrote:
 I'm eager to have core2 march, but don't want to mess system forcing
 gcc43 as
 base.
 
 I don't think it is planned to update to gcc 4.3 since it is covered by 
 the GPLv3.
 
 Kris
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

Thanks for fast answer, is there any chance that licensing stuff is going to
be omitted?

If not, will then FreeBSD move to another compiler?
-- 
View this message in context: 
http://www.nabble.com/When-gcc43-is-expected-to-be-in-base--tp18736784p18737322.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: Imposible to update/upgrade ports....

2008-07-30 Thread Gerard
On Wed, 30 Jul 2008 12:53:21 -0300
Agus [EMAIL PROTECTED] wrote:

Hi guys,

I'v been delaying the installed ports upgrade cause i was testing my
server and now that it it in production i wanted to upgrade them and
find it impossible...

I am running
 uname -a
FreeBSD everest.himalaya.network 6.1-RELEASE FreeBSD 6.1-RELEASE #0:
Mon May 21 19:48:05 ART 2007

I did a cvsup to update all ports which did it successfully...then
installed portmanager and portsaudit

did a pkg_version -v and find the outdated ports, like sec, mysql and
more

Now while trying to update with

portmanager sysutils/rsync -l -ui -f
#Then also tried without the f

get this errors:
-

portmanager 0.4.1_9

 perl-5.8.8_1/lang/perl5.8
make Strike 2

it gets like its looping while updating perl
For what i saw, portmanager seems to try to update all dependencies
too..and is failing in that

Something similar happened while trying to update apache22

Its my first try updating/upgrading ports...and it was hard to find a
doc explaining thisi mean..there are lots of docs but each with
different methods...

Well, hope you can give me a jhand..

I use portmanager myself occasionally. They this:

1) Update your ports tree
2) Run: portmanager -u -l -y -p

If it fails again, look in the log file (/var/log/portmanager.log) and
see what it says. You can post the error message back here.


-- 
Gerard
[EMAIL PROTECTED]

Convention is the ruler of all.

Pindar


signature.asc
Description: PGP signature


Re: difficulty building a cross-compiler with a fresh install

2008-07-30 Thread Wyatt Neal
the cross compiler i'm looking to build is one to produce  i386
compatable system v elf executables for freebsd.  the default gcc
installed with freebsd 6.1 produces i386 compatible freebsd elf
executables, not system v.

i've also found that i'm apparently building gcc improperly and with
the wrong version of binutils; however, changing the binutils to the
correct version hasn't helped and i'm still waiting on gcc's build to
get to/past the point where it's been crashing out.

On 7/30/08, Roland Smith [EMAIL PROTECTED] wrote:
 On Tue, Jul 29, 2008 at 08:47:42PM -0400, Wyatt Neal wrote:
  greetings,
 
  i've been running with a freebsd 6.1 system for a few days and i'm
  having some oddities when trying to build a cross compiler on the
  system.

 You don't say _what_ kind of cross-compiler you want.

 Use the available cross-compilers from ports. There is a good chance
 someone else has already sorted it out.

 You can find a complete list of cross-compilers with
 'ls /usr/ports/devel/*-gcc/Makefile':

 /usr/ports/devel/arm-rtems-gcc/Makefile
 /usr/ports/devel/avr-gcc/Makefile
 /usr/ports/devel/cross-gcc/Makefile
 /usr/ports/devel/djgpp-gcc/Makefile
 /usr/ports/devel/i386-rtems-gcc/Makefile
 /usr/ports/devel/i960-rtems-gcc/Makefile
 /usr/ports/devel/m68k-rtems-gcc/Makefile
 /usr/ports/devel/mingw32-gcc/Makefile
 /usr/ports/devel/mips-rtems-gcc/Makefile
 /usr/ports/devel/msp430-gcc/Makefile
 /usr/ports/devel/powerpc-gcc/Makefile
 /usr/ports/devel/powerpc-rtems-gcc/Makefile
 /usr/ports/devel/sh-rtems-gcc/Makefile
 /usr/ports/devel/sparc-rtems-gcc/Makefile

 Note that cross-gcc is a master port for most of the others except
 mingw32-gcc. If you want to cross-compile for win32, use mingw32-gcc.

 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)


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


Re: tex, teTex, LaTeX help

2008-07-30 Thread dick hoogendijk
On Wed, 30 Jul 2008 13:00:00 -0300
Joey Mingrone [EMAIL PROTECTED] wrote:

 Is there a guide for getting all this set up, or can some kind soul
 suggest a installation method that works well for them?

Install from the TeX Live CD and you get the latest software (FreeBSD
support is included).

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
++ http://nagual.nl/ + SunOS sxce snv94 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: protecting my FreeBSD system

2008-07-30 Thread Roland Smith
On Wed, Jul 30, 2008 at 09:38:26AM -, DSA - JCR wrote:
 HI all again
 
 I would like to know if there is a method to know how well protected is my
 system (FreeBSD 6.2) in order to not permit a user to enter as root.
 I need it because I have intellectual propierty in that box, and I know
 some people is interested on it.

Note that nothing short of disk encryption can protect the machine if
the attacker has physical access to it (e.g. he can steal the machine or
the harddisk).

Security is a never-ending road, not a destination. 

- Keep the machine in a locked room/cupboard (restrict physical access).
- Subscribe to the freebsd-announce mailing list to keep on top of
  security advisories. 
- Keep you system patched/up-to-date in case vulnerabilities pop up in
  the kernel or dæmons that you use. 
- Disable dæmons that you do not use.
- Install a firewall that blocks by default.
- Disable remote root logins.
- Build a custom kernel  world that do not contain things that you do
  no use. See src.conf(5), e.g. WITHOUT_RCMDS.

 I use inetd, and I have all ports disable except Samba because it is a
 repository for Windows Docs in a network. (swap is not enable).

You can use security/nmap to check if a system has open ports.

 My root password is almost 20 chars with numbers, normal and capitals
 letters, points.

That's OK, as long as it isn't on a note near the machine. :-)

 there is a user that belongs to operator with a script for (un)mounting
 USB disk in which I trap almost all signals (about 15).

Better to make that user member of a new group (e.g. usb) and (assuming
that you're using umass(4)) give that group read/write rights on the da
devices in /etc/devfs.rules: add path 'da*' mode 0660 group usb

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)


pgpKRWsHpZwsh.pgp
Description: PGP signature


Re: tex, teTex, LaTeX help

2008-07-30 Thread Glyn Millington
Joey Mingrone [EMAIL PROTECTED] writes:

 I've been told that LaTeX is probably the best solution for creating
 scientific papers with math fonts, so I'm trying to get a working
 installation.

A noble ambition!

 fonts, but it seems they are in the teTex port, but that port
 conflicts with the tex port and it seems teTex is no longer being
 updated.

Alas the news about teTeX is true.

 Is there a guide for getting all this set up, or can some kind soul
 suggest a installation method that works well for them?

Have you had a look at TeXLive?


http://www.tug.org/texlive/

For FreeBSD that means downloading the iso, mounting it like this


mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f /path/to/file.iso` /mount-point

cd to the mount point and look out for script entitled install-tl.sh

the script pretty well takes you through the installation


Good luck!


atb



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


Re: valgrind

2008-07-30 Thread Roland Smith
On Wed, Jul 30, 2008 at 05:12:39PM +0200, Andrea Venturoli wrote:
 
 ** Port marked as IGNORE: devel/valgrind:
  is only for i386, while you are running amd64
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
  - devel/valgrind
 
 Same holds for valgrind-snapshot.
 
 On it's website I see it supports AMD64 on Linux, so I guess this is a 
 FreeBSD specific problem.
 
 Is there ongoing work to get this on amd64?
 
 Out of curiosity, what is the reason it does not work right now?

Read http://valgrind.org/info/platforms.html, especially 'Porting Plans'.

Or remove the line 'ONLY_FOR_ARCHS= i386' from the port Makefile, try it
and see where it breaks. :-) I'm guessing it need some support code in
the OS.

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)


pgpPNMF8Dy4zL.pgp
Description: PGP signature


Problem building openssh-portable with KERBEROS, GSSAPI, KERB_GSSAPI.

2008-07-30 Thread Valeriu Mutu
Hi all,

I am trying to build 'openssh-portable' from ports (security/openssh-portable/) 
with the following configuration options:

 PAM=on Enable pam(3) support
 TCP_WRAPPERS=on Enable tcp_wrappers support
 LIBEDIT=on Enable readline support to sftp(1)
 KERBEROS=on Enable kerberos (autodetection)
 SUID_SSH=off Enable suid SSH (Recommended off)
 GSSAPI=on Enable GSSAPI support (req: KERBEROS)
 KERB_GSSAPI=on Enable Kerberos/GSSAPI patch (req: GSSAPI)
 OPENSSH_CHROOT=off Enable CHROOT support
 OPENSC=off Enable OpenSC smartcard support
 OPENSCPINPATCH=off Enable OpenSC PIN patch
 HPN=off Enable HPN-SSH patch
 LPK=off Enable LDAP Public Key (LPK) patch
 OVERWRITE_BASE=off OpenSSH overwrite base

and get the following error on 'make':
---
...
if test ! -z ; then  /usr/bin/perl5 ./fixprogs ssh_prng_cmds ;  fi
(cd openbsd-compat  make)
cc -o ssh ssh.o readconf.o clientloop.o sshtty.o  sshconnect.o sshconnect1.o 
sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/local/lib  -rpath=/usr/local/lib 
-L/lib -lssh -lopenbsd-compat -lcrypto -lutil -lz  -lcrypt -lgssapi -lkrb5 
-lk5crypto -lcom_err
./libssh.a(gss-genr.o)(.text+0xa8c): In function `ssh_gssapi_import_name':
/usr/ports/security/openssh-portable/work/openssh-5.0p1/gss-genr.c:369: 
undefined reference to `gss_nt_service_name'
*** Error code 1

Stop in /usr/ports/security/openssh-portable/work/openssh-5.0p1.
*** Error code 1

Stop in /usr/ports/security/openssh-portable.
*** Error code 1

Stop in /usr/ports/security/openssh-portable.

---

I am running a GENERIC kernel on FreeBSD 7.0-RELEASE (i386). 

ps: Searched the internet and found some hints that the problem might be caused 
by the definition of GSS_C_NT_HOSTBASED_SERVICE . Any ideas as to what is 
causing this problem and how could this be fixed?

Thanks,
Valeriu 

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


Re: tex, teTex, LaTeX help

2008-07-30 Thread Polytropon
On Wed, 30 Jul 2008 18:05:59 +0100, Glyn Millington [EMAIL PROTECTED] wrote:
 Joey Mingrone [EMAIL PROTECTED] writes:
  fonts, but it seems they are in the teTex port, but that port
  conflicts with the tex port and it seems teTex is no longer being
  updated.
 
 Alas the news about teTeX is true.

I'm very sad to hear this, allthough I'm always installing teTeX
via pkg_add -r, and I never found something not working anymore.
Is there any consideration to remove teTeX completely from the
ports tree, or is it still valid to keep using it?

(I use LaTeX for nearly everything: work, documentation, literature,
even for letters (dinbrief class), so I'm interested in this topic.)

Many thanks for pointing out how to get \LaTeX{} from TeXLive.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: When gcc43 is expected to be in base?

2008-07-30 Thread Kris Kennaway

Jakub Lach wrote:



Kris Kennaway-3 wrote:

Jakub Lach wrote:

I'm eager to have core2 march, but don't want to mess system forcing
gcc43 as
base.
I don't think it is planned to update to gcc 4.3 since it is covered by 
the GPLv3.


Thanks for fast answer, is there any chance that licensing stuff is going to
be omitted?


There is basically no chance the GCC developers will reconsider their 
decision to relicense GCC 4.3 to GPLv3.



If not, will then FreeBSD move to another compiler?


The existing gcc 4.2 will be supported for some time by the gcc 
developers.  In the meantime hopefully llvm/clang will mature enough to 
provide an alternative.  It is already quite far along and has 
significant resources behind it (apple, etc).


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


Re: tex, teTex, LaTeX help

2008-07-30 Thread Roland Smith
On Wed, Jul 30, 2008 at 06:45:18PM +0200, dick hoogendijk wrote:
 On Wed, 30 Jul 2008 13:00:00 -0300
 Joey Mingrone [EMAIL PROTECTED] wrote:
 
  Is there a guide for getting all this set up, or can some kind soul
  suggest a installation method that works well for them?
 
 Install from the TeX Live CD and you get the latest software (FreeBSD
 support is included).

The latest CD (2007) only has i386 6.x binaries. I've built from source
on amd64, but that needs some Makefile hacking to work. Those who are
interested can mail me.

The advantage of TeXLive is that it is very complete.

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)


pgpogYzo7bzYy.pgp
Description: PGP signature


Re: question about new monitor...

2008-07-30 Thread Roland Smith
On Tue, Jul 29, 2008 at 06:46:33PM -0700, Gary Kline wrote:
 
   I've changed my mind:: if I go to 20 i can get widescreen
   with 1680x1050, so my current 1284x1024 would fit.  IFF
   xorg know what kind of beast this is:-)

Xorg can talk to modern monitors using the ddc2 protocol (but only
with a DVI connection, AFAICT). Effectively the monitor tells Xorg what
it's capable of WRT resolutions, rehresh rates etc. It's pretty neat.

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)


pgp63TYpQjvMq.pgp
Description: PGP signature


Re: tex, teTex, LaTeX help

2008-07-30 Thread Roland Smith
On Wed, Jul 30, 2008 at 07:17:26PM +0200, Polytropon wrote:
 On Wed, 30 Jul 2008 18:05:59 +0100, Glyn Millington [EMAIL PROTECTED] wrote:
  Joey Mingrone [EMAIL PROTECTED] writes:
   fonts, but it seems they are in the teTex port, but that port
   conflicts with the tex port and it seems teTex is no longer being
   updated.
  
  Alas the news about teTeX is true.
 
 I'm very sad to hear this, allthough I'm always installing teTeX
 via pkg_add -r, and I never found something not working anymore.
 Is there any consideration to remove teTeX completely from the
 ports tree, or is it still valid to keep using it?

I expect that teTeX will be removed as soon as TeXLive is ported. IIRC,
some people are working on that. A problem is that TeXLive has an
interactive install script. I'm not sure how well that matches with ports.

 (I use LaTeX for nearly everything: work, documentation, literature,
 even for letters (dinbrief class), so I'm interested in this topic.)
 
 Many thanks for pointing out how to get \LaTeX{} from TeXLive.

Basic installation is very easy, just use the install script on the
CD. If you have to build you own binaries (only i386 6.x binaries are
supplied on the CD), it is somewhat more involved. Basically, you need
to patch a makefile to remove some omega stuff that won't build. I have
some notes from my last build that I could send you if you like.

If more people are interested I could post them on the list.

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)


pgpZ9E4ImoHWB.pgp
Description: PGP signature


Re: tex, teTex, LaTeX help

2008-07-30 Thread Lowell Gilbert
Polytropon [EMAIL PROTECTED] writes:

 On Wed, 30 Jul 2008 18:05:59 +0100, Glyn Millington [EMAIL PROTECTED] wrote:
 Joey Mingrone [EMAIL PROTECTED] writes:
  fonts, but it seems they are in the teTex port, but that port
  conflicts with the tex port and it seems teTex is no longer being
  updated.
 
 Alas the news about teTeX is true.

 I'm very sad to hear this, allthough I'm always installing teTeX
 via pkg_add -r, and I never found something not working anymore.
 Is there any consideration to remove teTeX completely from the
 ports tree, or is it still valid to keep using it?

 (I use LaTeX for nearly everything: work, documentation, literature,
 even for letters (dinbrief class), so I'm interested in this topic.)

 Many thanks for pointing out how to get \LaTeX{} from TeXLive.

teTeX still works fine; well enough that I haven't been tempted to try
porting TeXLive yet...

-- 
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: question about new monitor...

2008-07-30 Thread Gary Kline
On Wed, Jul 30, 2008 at 06:29:01PM +0200, Roland Smith wrote:
 On Tue, Jul 29, 2008 at 06:46:33PM -0700, Gary Kline wrote:
  
  I've changed my mind:: if I go to 20 i can get widescreen
  with 1680x1050, so my current 1284x1024 would fit.  IFF
  xorg know what kind of beast this is:-)
 
 Xorg can talk to modern monitors using the ddc2 protocol (but only
 with a DVI connection, AFAICT). Effectively the monitor tells Xorg what
 it's capable of WRT resolutions, rehresh rates etc. It's pretty neat.
 


So in effect, since all my connections are going thru mt old,
analog KVM  switch, this won't work. Not only that, but my two
desktops would need two new video cards.  So best to stick with
the
older standard ... until 


So in effect, since all my connections are going thru mt
old, analog KVM  switch, this won't work. Not only that,
but my two desktops would need two new video cards.  So
best to stick with the older standard.   

gary

 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)



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: question about new monitor...

2008-07-30 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roland Smith wrote:
 On Tue, Jul 29, 2008 at 06:46:33PM -0700, Gary Kline wrote:
  I've changed my mind:: if I go to 20 i can get widescreen
  with 1680x1050, so my current 1284x1024 would fit.  IFF
  xorg know what kind of beast this is:-)
 
 Xorg can talk to modern monitors using the ddc2 protocol (but only
 with a DVI connection, AFAICT). Effectively the monitor tells Xorg what
 it's capable of WRT resolutions, rehresh rates etc. It's pretty neat.
 
 Roland

That 2408 of mine, when it came via freight, had a flyer inside it telling me
that they'd included a new interface, over and above the specs, but I forget if
it was the HDMI or DisplayPort.  I'd never used either before.  Really tiny and
tight interfaces, both, and probably requiring a protocol like ddc2.  There's
actually 8 different switchable interfaces (well, seven really, it's got 2
different DVI's.)  You can bring in broadcast video by either RCA jack, SVideo,
or the component video.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiQqNQACgkQz62J6PPcoOkVgwCeN2of6fc8KX3gK8hBag+9RrLI
wIgAniKaNVoNzZAw9Z1j4N2fjUJXEi7z
=QOfG
-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: tex, teTex, LaTeX help

2008-07-30 Thread N. Raghavendra
At 2008-07-30T13:00:00-03:00, Joey Mingrone wrote:

 My first attempt was to install the latex2e-2003.12_1 port, which
 installed the tex-3.14159_3 port as a dependency.  This seemed to
 work, but there were some things referenced in the documentation that
 seemed to be missing.  For example, the amsmath package wasn't
 available.  I thought there must be a port specifically for these
 fonts, but it seems they are in the teTex port, but that port
 conflicts with the tex port

Just deinstall the `tex' and `latex' ports, and install the metaport
`print/teTeX', which will pull in all the standard stuff, including
AMSLaTeX packages like `amsmath'.  Also, install `print/gv' for
viewing PostScript files, and `print/acroread8' to view PDF files.

After installing these ports, you can view documentation using the
command texdoc(1).  Here are a few examples for starters:

% texdoc lshort

will display the `Not So Short Introduction to LATEX2e', a useful
primer on LaTeX.

% texdoc symbols

will show you a list of symbols and their control sequences in LaTeX.

% texdoc usrguide

will display `LaTeX2e for authors'.

% texdoc amsldoc

will show you the `User's Guide for the amsmath Package'.

% texdoc `texdoc -s 'hyperref.*manual'`

will display the manual for the `hyperref' package.

Generally, it is worth browsing through `/usr/local/share/texmf-dist/doc'.
As for print references, the `LaTeX Companion' by Mittelbach, et al,
is very useful, as also is the LaTeX book by Lamport.

 Is there a guide for getting all this set up, or can some kind soul
 suggest a installation method that works well for them?

FWIW, I am a mathematician and have been typesetting mathematics for
more than a decade using the teTeX distribution, and have found it
sufficient for my needs.  I've used TeXLive too, but have not found
any need to do so.  YMMV.

HTH,
Raghavendra.

-- 
N. Raghavendra [EMAIL PROTECTED] | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.

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


Re: question about new monitor...

2008-07-30 Thread Erik Trulsson
On Wed, Jul 30, 2008 at 06:29:01PM +0200, Roland Smith wrote:
 On Tue, Jul 29, 2008 at 06:46:33PM -0700, Gary Kline wrote:
  
  I've changed my mind:: if I go to 20 i can get widescreen
  with 1680x1050, so my current 1284x1024 would fit.  IFF
  xorg know what kind of beast this is:-)
 
 Xorg can talk to modern monitors using the ddc2 protocol (but only
 with a DVI connection, AFAICT).

No, ddc/ddc2b works just fine over a standard analog VGA-connector as well
(assuming both monitor and graphics card supports it, which just about all
devices you can buy today does.)


 Effectively the monitor tells Xorg what
 it's capable of WRT resolutions, rehresh rates etc. It's pretty neat.
 
 Roland


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about new monitor...

2008-07-30 Thread Erik Trulsson
On Wed, Jul 30, 2008 at 10:44:32AM -0700, Gary Kline wrote:
 On Wed, Jul 30, 2008 at 06:29:01PM +0200, Roland Smith wrote:
  On Tue, Jul 29, 2008 at 06:46:33PM -0700, Gary Kline wrote:
   
 I've changed my mind:: if I go to 20 i can get widescreen
 with 1680x1050, so my current 1284x1024 would fit.  IFF
 xorg know what kind of beast this is:-)
  
  Xorg can talk to modern monitors using the ddc2 protocol (but only
  with a DVI connection, AFAICT). Effectively the monitor tells Xorg what
  it's capable of WRT resolutions, rehresh rates etc. It's pretty neat.
  
 
 
   So in effect, since all my connections are going thru mt old,
   analog KVM  switch, this won't work. Not only that, but my two
   desktops would need two new video cards.  So best to stick with
   the
   older standard ... until 
 
 
   So in effect, since all my connections are going thru mt
   old, analog KVM  switch, this won't work. Not only that,
   but my two desktops would need two new video cards.  So
   best to stick with the older standard.   

It should actually work fine over an analog connection (including via a
KVM, assuming the KVM is not too old.)  It works fine for me anyway.

One thing to watch out for when using a KVM is if a computer can get
information from the monitor even it is is not the active unit on the KVM.
Many newer KVM switches caches the response from the monitor, so all
attached computers can get information about the monitor.
Older KVM switches typically do not do this, so then you need to have each
attached computer be active when it starts to get information from the
monitor.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tex, teTex, LaTeX help

2008-07-30 Thread Daniel Molina Wegener

Joey Mingrone escribió:

Hello,

I've been told that LaTeX is probably the best solution for creating
scientific papers with math fonts, so I'm trying to get a working
installation.

My first attempt was to install the latex2e-2003.12_1 port, which
installed the tex-3.14159_3 port as a dependency.  This seemed to
work, but there were some things referenced in the documentation that
seemed to be missing.  For example, the amsmath package wasn't
available.  I thought there must be a port specifically for these
fonts, but it seems they are in the teTex port, but that port
conflicts with the tex port and it seems teTex is no longer being
updated.

Is there a guide for getting all this set up, or can some kind soul
suggest a installation method that works well for them?

Thanks,

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

Try teTex and other packages regarding it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tex, teTex, LaTeX help

2008-07-30 Thread Daniel Molina Wegener

Polytropon escribió:

On Wed, 30 Jul 2008 18:05:59 +0100, Glyn Millington [EMAIL PROTECTED] wrote:
  

Joey Mingrone [EMAIL PROTECTED] writes:


fonts, but it seems they are in the teTex port, but that port
conflicts with the tex port and it seems teTex is no longer being
updated.
  

Alas the news about teTeX is true.



I'm very sad to hear this, allthough I'm always installing teTeX
via pkg_add -r, and I never found something not working anymore.
Is there any consideration to remove teTeX completely from the
ports tree, or is it still valid to keep using it?

(I use LaTeX for nearly everything: work, documentation, literature,
even for letters (dinbrief class), so I'm interested in this topic.)

Many thanks for pointing out how to get \LaTeX{} from TeXLive.


  

Try:

portinstall -PP teTex

Regards,
DMW

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


Re: seen in ports and used but dont remember the name ;)

2008-07-30 Thread Daniel Molina Wegener

DSA - JCR escribió:

Hi all
  

Hi

FreeBSD 6.2

I have used in the past year an utility for terminal that permit me to
split the terminal in several sesions vertically/horizontally and also
save and restore the sesion, letting it doing some commands.

I installed from ports, but I dont remember its name. ;-)
  
window(1), screen -- in the ports collection and as terminal emulators, 
you have yakuake.

Can anyone help me?


Thanks in advance

Juan Coruña
Desarrollo de Software Atlantico




___
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: question about new monitor...

2008-07-30 Thread Gary Kline
On Wed, Jul 30, 2008 at 08:26:45PM +0200, Erik Trulsson wrote:
 On Wed, Jul 30, 2008 at 06:29:01PM +0200, Roland Smith wrote:
  On Tue, Jul 29, 2008 at 06:46:33PM -0700, Gary Kline wrote:
   
 I've changed my mind:: if I go to 20 i can get widescreen
 with 1680x1050, so my current 1284x1024 would fit.  IFF
 xorg know what kind of beast this is:-)
  
  Xorg can talk to modern monitors using the ddc2 protocol (but only
  with a DVI connection, AFAICT).
 
 No, ddc/ddc2b works just fine over a standard analog VGA-connector as well
 (assuming both monitor and graphics card supports it, which just about all
 devices you can buy today does.)
 

This is the gotcha.   I bought a new, high-end SoundBlaster for
my Dell; it didn't fit.  Dell only works with certain,
proprietary cards -- I don't know which ones.  So whether or not
my Dell 8200 can even be upgraded is a question.

(My Ubuntu desktop is the only new computer; it was custom built in
'05; I have never popped the cover.  It is strictly generic.  ...)


 
  Effectively the monitor tells Xorg what
  it's capable of WRT resolutions, rehresh rates etc. It's pretty neat.
  
  Roland
 
 
 -- 
 Insert your favourite quote here.
 Erik Trulsson
 [EMAIL PROTECTED]

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: tex, teTex, LaTeX help

2008-07-30 Thread Lowell Gilbert
Lowell Gilbert [EMAIL PROTECTED] writes:

 Polytropon [EMAIL PROTECTED] writes:

 On Wed, 30 Jul 2008 18:05:59 +0100, Glyn Millington [EMAIL PROTECTED] 
 wrote:
 Joey Mingrone [EMAIL PROTECTED] writes:
  fonts, but it seems they are in the teTex port, but that port
  conflicts with the tex port and it seems teTex is no longer being
  updated.
 
 Alas the news about teTeX is true.

 I'm very sad to hear this, allthough I'm always installing teTeX
 via pkg_add -r, and I never found something not working anymore.
 Is there any consideration to remove teTeX completely from the
 ports tree, or is it still valid to keep using it?

 (I use LaTeX for nearly everything: work, documentation, literature,
 even for letters (dinbrief class), so I'm interested in this topic.)

 Many thanks for pointing out how to get \LaTeX{} from TeXLive.

 teTeX still works fine; well enough that I haven't been tempted to try
 porting TeXLive yet...

I forgot to mention that the FreeBSD documentation project
(textproc/docproj*) still uses teTeX, so I keep that installed anyway.

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


7.0-stable snapshot

2008-07-30 Thread John Wilson

Good day.

I recently attempted to install the most recent AMD64 7.0-snapshot onto 
another system.  I chose a minimal install with all of the source 
distributions as well as ports.  Unfortunately, the install fails when 
attempting to install the scompat tarball.  Upon looking at the install CD, 
it appears that the scompat tarball is not listed in the src directory.


src/scompat does seem to appear on a 7.0-release CD.  I've attempted to 
reburn the snapshot with the same results.  Naturally, if I omit scompat 
from the src install options, the install proceeds normally and without 
error.


I'm just curious as to where the problem actually resides.  Are the 
7.0-snapshots leaving out scompat for some reason?  Since I've attempted to 
download and burn multiple snaps with the same issue, I can't see that I've 
a corrupt ISO.


Thank you for your time. 


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


Re: question about new monitor...

2008-07-30 Thread Roland Smith
On Wed, Jul 30, 2008 at 08:26:45PM +0200, Erik Trulsson wrote:
 On Wed, Jul 30, 2008 at 06:29:01PM +0200, Roland Smith wrote:
  On Tue, Jul 29, 2008 at 06:46:33PM -0700, Gary Kline wrote:
   
 I've changed my mind:: if I go to 20 i can get widescreen
 with 1680x1050, so my current 1284x1024 would fit.  IFF
 xorg know what kind of beast this is:-)
  
  Xorg can talk to modern monitors using the ddc2 protocol (but only
  with a DVI connection, AFAICT).
 
 No, ddc/ddc2b works just fine over a standard analog VGA-connector as well
 (assuming both monitor and graphics card supports it, which just about all
 devices you can buy today does.)

I forgot to check on Wikipedia. :) For those who are interested, see
http://en.wikipedia.org/wiki/Display_Data_Channel and
http://en.wikipedia.org/wiki/VESA_Display_Data_Channel for more in-depth info.

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)


pgpJA1L17SPqF.pgp
Description: PGP signature


Building a FreeBSD based mail server

2008-07-30 Thread Patrick Baldwin

I posted a few weeks ago about being interested in building a FreeBSD based
mail server, and got a lot of good input.   In my research since then, I 
found

this:

http://www.purplehat.org/?page_id=4

Which seems to me to be a pretty good guide to building a FreeBSD based 
Postifx/SpamAssassin
mailserver.  However, never having done this before myself, I was 
wondering if anyone here
had any useful comments about this guide, particularly if you think it's 
missing any key points
that will leave me cursing at my monitor late one night. 

I'm currently planning on using FreeBSD 7.0-RELEASE, although I'm 
certainly open to

sugegstions if people think a different version would serve better.

--
Patrick Baldwin
Systems Administrator
Studsvik Scandpower
617-965-7455 


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


sendmail base configuration

2008-07-30 Thread Tim Traver

Hi all,

I know this isn't exactly the right place for a sendmail question, but 
it has to do with the system configuration, and I'm trying to find some 
help to create a relatively simple solution (I think)...


ok, here is what I want to do, which I have done in the past, but now it 
doesn't seem to be working...


I simply want any submitted email using sendmail to be relayed to 
another mta for distribution. I want this to happen both from submitted 
mail from the command line, and from any queues, if the mail is 
submitted to the running daemon.


I use FreeBSD 7.0, and all of the configuration is in /etc/mail/. From 
what I understand, if I simply set the DS variable to a hostname, it is 
supposed to use that as the smart relay host, but it is not working. For 
some reason, it is ignoring that hostname, and attempting to contact the 
MX record host for the domain name of the machine, which is really weird.


So, I tried setting the DS and the MTAHost variables to the IP of the 
machine I want it to go to, and that seems to work, but oddly enough, 
sendmail replaces the Rcpt To: variable with my current logged in 
[EMAIL PROTECTED] host instead of the address that I gave on the command 
line to send the mail to...


So, for instance, I would do a command like this :

/usr/sbin/sendmail -v [EMAIL PROTECTED]
Subject:test from command line

test

.
tt... Connecting to [209.132.x.xx] via relay...
220 relayhost.scaledsystems.com ESMTP
 EHLO script5.scaledsystems.com
250-scriptmail.scaledsystems.com
250-PIPELINING
250 8BITMIME
 MAIL From:
250 ok
 RCPT To:[EMAIL PROTECTED]
 DATA
250 ok
354 go ahead
 .
250 ok 1217444220 qp 69963
tt... Sent (ok 1217444220 qp 69963)
Closing connection to [209.132.x.xx]
 QUIT
221 relayhost.scaledsystems.com

I've checked DNS, etc...but I find it strange that it replaces the RCPT 
To to be my local user...


Is this a bounce or something??? Is it bouncing the message based on 
some sort of new relaying rules or something?


Cause I haven't seen this on older FreeBSD hosts...

the version of sendmail is 8.14.2

Thanks,

Tim.

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


Re: SCSI RAID on FreeBSD 7.0, where is the array?

2008-07-30 Thread Derek Ragona

At 07:56 AM 7/30/2008, [EMAIL PROTECTED] wrote:

Hi all,


I am fighting the following hardware:

MB: ASUS p5b-plus (NON vista edition)
Cpu: Core 2 duo 4600
SCSI Card: Adaptec 39320 (Unused Dell OEM bought from ebay)
HDDs: 2xSeagate Cheetah 73.4 GB Ultra320 SCSI (posibly Dell OEM)

Nb. The MB does not support PCI-X, but is backwards compatible to a 
standard PCI slot. On recommendations I have limited the throughput on the 
channels to 160mb.


If you think any other pieces relevant let me know.


I think this is probably just an issue with my not knowing wtf I'm doing, 
but to be optimistic lets assume the ahd module worked as there are no 
errors in dmesg; which device do I install to? I can not see see ahd0 in fdisk.


There are alot of posts over the years reporting trouble with the 
Dell(Adaptec/Seagate) combiniation. The funny thing is that I am having 
none of these troubles; There are no panics, no dumps and no lengthy 
pauses. It all seems fine, until I try to select the disk to install to 
and I only have da0 or da1.




Thanks for your time


Have you defined an array?

If you create the array in the adaptec BIOS you will see one large hard 
disk in FreeBSD.  If you do not define an array in the adaptec BIOS you 
will see the individual SCSI drives as da0, da1, etc.


The GENERIC kernel has all the typical SCSI and RAID adapters compiled in, 
so look at the dmesg output when you boot FreeBSD.


-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: Building modules distributed with Apache, using ports

2008-07-30 Thread Lowell Gilbert
Jonathan McKeown [EMAIL PROTECTED] writes:

 This may be a daft question. I freely admit it's a lazy one - I'm hoping 
 someone has a quick answer that'll save me a couple of hours building a test 
 server and experimenting.

 I built apache 2.0 from ports, using WITH_LDAP - but not WITH_LDAP_MODULES, 
 as 
 the Makefile.doc says it's implied by WITH_LDAP. As far as I can tell it's 
 actually the other way round, that WITH_LDAP_MODULES triggers the WITH_LDAP 
 options (either that or I didn't set it properly).

 Be that as it may, I now have an installation of Apache to which I need to 
 add 
 mod_auth_ldap and mod_ldap from the Apache 2.0 distribution.

 Is it possible to use the www/apache20 port to build these, or additional 
 modules generally, without rebuilding/reinstalling Apache itself?

Not really, no.

-- 
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: When gcc43 is expected to be in base?

2008-07-30 Thread Jakub Lach



Kris Kennaway-3 wrote:
 
 Jakub Lach wrote:
 
 
 Kris Kennaway-3 wrote:
 Jakub Lach wrote:
 I'm eager to have core2 march, but don't want to mess system forcing
 gcc43 as
 base.
 I don't think it is planned to update to gcc 4.3 since it is covered by 
 the GPLv3.
 
 Thanks for fast answer, is there any chance that licensing stuff is going
 to
 be omitted?
 
 There is basically no chance the GCC developers will reconsider their 
 decision to relicense GCC 4.3 to GPLv3.
 
 If not, will then FreeBSD move to another compiler?
 
 The existing gcc 4.2 will be supported for some time by the gcc 
 developers.  In the meantime hopefully llvm/clang will mature enough to 
 provide an alternative.  It is already quite far along and has 
 significant resources behind it (apple, etc).
 
 Kris
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

Thank you very much for all answers.

-- 
View this message in context: 
http://www.nabble.com/When-gcc43-is-expected-to-be-in-base--tp18736784p18742235.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: Building a FreeBSD based mail server

2008-07-30 Thread Jack Raats

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Patrick Baldwin [EMAIL PROTECTED] schreef in bericht
news:[EMAIL PROTECTED]


I posted a few weeks ago about being interested in building a FreeBSD based
mail server, and got a lot of good input.   In my research since then, I
found
this:

http://www.purplehat.org/?page_id=4

Which seems to me to be a pretty good guide to building a FreeBSD based
Postifx/SpamAssassin
mailserver.  However, never having done this before myself, I was
wondering if anyone here
had any useful comments about this guide, particularly if you think it's
missing any key points
that will leave me cursing at my monitor late one night.


I should add postgrey and clamsmtp.
Postgrey is a very good greylisting filter for postfix and clamsmtp I use
for the interface between postfix and clamav.
I never heard of Maia-Mailguard but it look like clamsmtp.

Jack

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959

iD8DBQFIkNAaPh5RwW/NzC4RAh9xAJsGuUOYbjIqohoHwlpYJ6BnvabGaACgx0Qp
iZpmNJTW5DhO0n3bnS55+aY=
=+kzI
-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: setting the other end's TCP segment size

2008-07-30 Thread Derek Ragona

At 11:04 PM 7/29/2008, [EMAIL PROTECTED] wrote:

 [TCP] splits traffic to 'segments' using its own logic ...

Is there a simple way for a FreeBSD system to cause its peer
to use a transmit segment size of, say, 640 bytes -- so that
the peer will never try to send a packet larger than that?

I'm trying to get around a network packet-size problem.
In case it matters, the other end is SunOS 4.1.1 on a sun3, and
I've been unable to find a way to limit its packet size directly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

--


Just as an FYI, you might want to do:
man setsockopt
ro
man getsockopt

Each tcp conversation can have it's own size set along with a bunch of 
other params.


-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: Mail Heading to dead.letter

2008-07-30 Thread Derek Ragona

At 07:52 AM 7/30/2008, Andy Christianson wrote:

Sendmail is running  DNS is working. See the following output:

[EMAIL PROTECTED] /home/andy]# /etc/rc.d/sendmail status
sendmail_submit is running as pid 71703.
sendmail_clientmqueue is running as pid 675.
[EMAIL PROTECTED] /home/andy]# ping gmail.com
PING gmail.com (64.233.161.83): 56 data bytes
64 bytes from 64.233.161.83: icmp_seq=0 ttl=239 time=19.943 ms
64 bytes from 64.233.161.83: icmp_seq=1 ttl=239 time=22.096 ms
64 bytes from 64.233.161.83: icmp_seq=2 ttl=239 time=22.568 ms
64 bytes from 64.233.161.83: icmp_seq=3 ttl=239 time=19.368 ms
^C
--- gmail.com ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 19.368/20.994/22.568/1.364 ms
[EMAIL PROTECTED] /home/andy]# mail [EMAIL PROTECTED]
Subject: Test
This is a test!!
EOT
[EMAIL PROTECTED] /home/andy]# exit
exit
[EMAIL PROTECTED] ~]$ mail [EMAIL PROTECTED]
Subject: Another test!!
Test sent from a normal user
EOT
[EMAIL PROTECTED] ~]$ /home/andy/dead.letter... Saved message in
/home/andy/dead.letter



Check perms on /var/mail that it is set to 775

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


Bizarre Diskless Boot Behavior

2008-07-30 Thread Jeff Wheelhouse


I have a number of diskless FreeBSD servers.  Usually, they work  
fine.  But sometimes when I reboot one, I get weird messages on the  
console like this:


FreeBSD/i386 bootstrap loader, Revision 1.1
([EMAIL PROTECTED], Sat Jan 19 16:41:40 MST 2008)
pxe_open: server addr: 1.2.3.4
pxe_open: server path: /path/to/NFS/Root
pxe_open: gateway ip:  1.2.3.1
\
Insert disk labelled Loader.rc and press any key...

It isn't always Loader.rc though, it seems quasi-random.  I've also  
seen:


Insert disk labelled ELF and press any key...
Insert disk labelled boot.nfsroot.options=nfsv3,soft,intr,tcp and  
press any key...


(The latter being the first line of loader.conf.)

I think these incidents correspond to the following strange xferlog  
entries from tftpd on the boot server:


Jul 30 20:15:03 xx tftpd[86096]: 1.2.3.11: read request for \.split:  
File not found
Jul 30 20:15:03 xx tftpd[86098]: 1.2.3.11: read request for \.split:  
File not found
Jul 30 20:15:03 xx tftpd[86100]: 1.2.3.11: read request for  
\.gz.split: File not found
Jul 30 20:15:03 xx tftpd[86102]: 1.2.3.11: read request for \.gz: File  
not found
Jul 30 20:15:03 xx tftpd[86104]: 1.2.3.11: read request for \: File  
not found


Rebooting generally makes it go away, so it's not a *big* deal, but I  
wouldn't want this to happen in the event of an unattended panic/ 
reboot or something.  Does anyone have any ideas what might cause this?


Thanks!

Jeff

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


Group Limits

2008-07-30 Thread Michael Christie

Hi there,

I am running webmin and virtualmin  on freebsd  7.0,  I have  found when 
i add a number of domains using virtualmin and restart apachie i get the 
following error.


[alert] (22)Invalid argument: initgroups: unable to set groups for User 
www and Group 80...Apachie will not start..



it happens when the 'apache' or 'httpd' user is a member of too many groups. By 
default,
Virtualmin adds the user Apache runs as to each domain's group, which
eventually triggers this problem.

Can any one advise me how to expand the number of groups allow on freebsd I 
think my default it is 16, I need to make it 50 to 100


Thank you 


Michael

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


resume (hate to even ask)

2008-07-30 Thread Steve Franks
Ok,

I have too many systems with varying degrees of working freebsd on
them, and I can't seem to leave well enough alone.  I hear lots of
people having sucess with suspend, and I can't get it to work on a
single system.

My current strongest desire is to get it running on my hp ze4500
laptop.  I've played with the stuff in the handbook, but that just
took me from having a blank screen and no responses from Ctl-Alt-F(x)
to now the fan comes on for a moment on resume, then the system powers
offdoesn't seem to matter if X is up or not.

I've kldunloaded usb, radeon, sound, drm, what else should I try?
Also, rc.resume has a typo, right?  I'm susposed to change the
#kldunload usb section to add kldload usb (and friends) right?

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


syslog question

2008-07-30 Thread patrick
I've configured my Apache process to send the ErrorLog to the
syslog:local5 facility.

In my syslog.conf file, I have:

!httpd
*.* /usr/local/apache/logs/error_log

to catch these log messages. This works great, but these messages are
also going into my /var/log/messages which has:

*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err
/var/log/messag
es

Apache sends to local5.notice. I have tried add local5.none to this
line which according to the man page is suppose to disable all local5
messages, but they still come through. Is there something I'm missing
here?

Thanks,

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


Re: setting the other end's TCP segment size

2008-07-30 Thread Giorgos Keramidas
On Wed, 30 Jul 2008 16:20:06 -0500, Derek Ragona [EMAIL PROTECTED] wrote:
 At 11:04 PM 7/29/2008, [EMAIL PROTECTED] wrote:
  [TCP] splits traffic to 'segments' using its own logic ...

 Is there a simple way for a FreeBSD system to cause its peer to use a
 transmit segment size of, say, 640 bytes -- so that the peer will
 never try to send a packet larger than that?

 I'm trying to get around a network packet-size problem.  In case it
 matters, the other end is SunOS 4.1.1 on a sun3, and I've been unable
 to find a way to limit its packet size directly.

 Just as an FYI, you might want to do:
 man setsockopt
 ro
 man getsockopt

 Each tcp conversation can have it's own size set along with a bunch of
 other params.

Good point.  The TCP_MAXSEG can reduce the maximum segment size for a
single TCP connection to something smaller than the interface MTU :)

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


Re: sendmail base configuration

2008-07-30 Thread Giorgos Keramidas
On Wed, 30 Jul 2008 12:08:11 -0700, Tim Traver [EMAIL PROTECTED] wrote:
 Hi all,

 I know this isn't exactly the right place for a sendmail question, but
 it has to do with the system configuration, and I'm trying to find
 some help to create a relatively simple solution (I think)...

 ok, here is what I want to do, which I have done in the past, but now
 it doesn't seem to be working...

 I simply want any submitted email using sendmail to be relayed to
 another mta for distribution. I want this to happen both from
 submitted mail from the command line, and from any queues, if the mail
 is submitted to the running daemon.

Set the `SMART_HOST' option in your `custom-sendmail.mc' file.  That
should do it.

 I use FreeBSD 7.0, and all of the configuration is in /etc/mail/. From
 what I understand, if I simply set the DS variable to a hostname, it
 is supposed to use that as the smart relay host, but it is not
 working. For some reason, it is ignoring that hostname, and attempting
 to contact the MX record host for the domain name of the machine,
 which is really weird.

You are not manually editing sendmail.cf, right?

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


Re: syslog question

2008-07-30 Thread patrick
For some reason, switching Apache to use local3 instead of local5 and
updating syslog.conf correspondingly correct this.

Weird.

Patrick


On Wed, Jul 30, 2008 at 3:19 PM, patrick [EMAIL PROTECTED] wrote:
 I've configured my Apache process to send the ErrorLog to the
 syslog:local5 facility.

 In my syslog.conf file, I have:

 !httpd
 *.* 
 /usr/local/apache/logs/error_log

 to catch these log messages. This works great, but these messages are
 also going into my /var/log/messages which has:

 *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err
 /var/log/messag
 es

 Apache sends to local5.notice. I have tried add local5.none to this
 line which according to the man page is suppose to disable all local5
 messages, but they still come through. Is there something I'm missing
 here?

 Thanks,

 Patrick

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


Re: Mail Heading to dead.letter

2008-07-30 Thread Andy Christianson

 Check perms on /var/mail that it is set to 775

 -Derek


/var/mail is at 775, so that's not it...

[EMAIL PROTECTED] ~]$ stat /var/mail
89 47105 drwxrwxr-x 2 root mail 188185 512 Jul 30 03:01:51 2008 Jul 30
16:35:18 2008 Jul 30 16:35:18 2008 Feb 24 12:49:40 2008 4096 4 0
/var/mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


You have just received a virtual postcard from a friend !

2008-07-30 Thread received


   You have just received a virtual postcard from a friend !

   .

   You can pick up your postcard at the following web address:

   .

   [1]Click here to pick up your postcard

   .

   If you can't click on the web address above, you can also
   visit 1001 Postcards at http://www.postcards.org/postcards/
   and enter your pickup code, which is: d21-sea-sunset

   .

   (Your postcard will be available for 60 days.)

   .

   Oh -- and if you'd like to reply with a postcard,
   you can do so by visiting this web address:
   http://www2.postcards.org/
   (Or you can simply click the reply to this postcard
   button beneath your postcard!)

   .

   We hope you enjoy your postcard, and if you do,
   please take a moment to send a few yourself!

   .

   Regards,
   1001 Postcards
   http://www.postcards.org/postcards/

References

   1. http://focus.qweb.nl/~michael/postcard.gif.exe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Group Limits

2008-07-30 Thread Roland Smith
On Thu, Jul 31, 2008 at 07:32:23AM +1000, Michael Christie wrote:
 Hi there,
 
 I am running webmin and virtualmin  on freebsd  7.0,  I have  found when 
 i add a number of domains using virtualmin and restart apachie i get the 
 following error.
  
 [alert] (22)Invalid argument: initgroups: unable to set groups for User 
 www and Group 80...Apachie will not start..
 
 
  it happens when the 'apache' or 'httpd' user is a member of too many
 groups. By default, Virtualmin adds the user Apache runs as to each
 domain's group, which eventually triggers this problem.

See group(5):

 In older implementations, a group cannot have more than 200 members.  The
 maximum line length of /etc/group is 1024 characters.  Longer lines will
 be skipped.  This limitation disappeared in FreeBSD 3.0.

 Can any one advise me how to expand the number of groups allow on
 freebsd I think my default it is 16, I need to make it 50 to 100

The number 16 is from /usr/include/sys/syslimits.h. But my /etc/group
has 37 groups without problems.

In /usr/include/sys/_types.h and /usr/include/sys/stat.h  gid_t is
defined as __uint32_t, a 32 bits unsigned integer.

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)


pgpFplAktS4na.pgp
Description: PGP signature


Composite manager keeps crashing with KDE, anybody has it working?

2008-07-30 Thread Yuri

I keep getting this message in a pop-up during KDE startup:
Composite Manager crashed twice within a minute and is therefore 
disabled for this session.
But if I switch to the black terminal for the period of X/KDE startup 
this message doesn't come up and composite manager works ok for a long time.


Does anybody have composite manager working w/out crashing?

I have 7.0-STABLE + AMD3200 + NVidia 6800GT with NVidia driver with 
acceleration.


Yuri

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


Re: Building a FreeBSD based mail server

2008-07-30 Thread Sam Fourman Jr.
 http://www.purplehat.org/?page_id=4

does anyone have any links or step by step howto's to do this exact same thing
as purplehat.org, but only with PostgreSQL as the backend.

I prefer BSD licensed software when I can use it, but I have always had trouble
finding documented setups with FreeBSD and PostgreSQL backed Postfix server.


if anyone has input that would be great.

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


Re: sendmail base configuration

2008-07-30 Thread Tim Traver



Giorgos Keramidas wrote:

On Wed, 30 Jul 2008 12:08:11 -0700, Tim Traver [EMAIL PROTECTED] wrote:
  

Hi all,

I know this isn't exactly the right place for a sendmail question, but
it has to do with the system configuration, and I'm trying to find
some help to create a relatively simple solution (I think)...

ok, here is what I want to do, which I have done in the past, but now
it doesn't seem to be working...

I simply want any submitted email using sendmail to be relayed to
another mta for distribution. I want this to happen both from
submitted mail from the command line, and from any queues, if the mail
is submitted to the running daemon.



Set the `SMART_HOST' option in your `custom-sendmail.mc' file.  That
should do it.

  
I tried that, and regenerated the cf files using make all, and it 
still wants to use the MX record of the based domain to send out mail 
and I can't figure out why.


The maillog entries show that it initially tries to use [EMAIL PROTECTED] 
as a relay, which doesn't make sense...


I'm baffled by its behavior at this point, and don't know how to solve it...

help...

Tim.


I use FreeBSD 7.0, and all of the configuration is in /etc/mail/. From
what I understand, if I simply set the DS variable to a hostname, it
is supposed to use that as the smart relay host, but it is not
working. For some reason, it is ignoring that hostname, and attempting
to contact the MX record host for the domain name of the machine,
which is really weird.



You are not manually editing sendmail.cf, right?

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


rsync samba

2008-07-30 Thread Brian McCann
Hi all.  I'm having a problem that I can't seem to solve, and so far I
can't find anything to point me in the right direction.  I've got a
Samba server mounted using mount_smbfs -I 192.168.0.3
//[EMAIL PROTECTED]/share, and I'm trying to rsync from a local
drive to the smb mount.  It's always trying to replace certain files,
of varying sizes in varying places on the source drive.  The MD5 sums
never match after an rsync.  If I use cp to copy the files, the MD5s
match, but if I then run rsync again, it replaces it with a bad file
again.

I'm using rsync 3.0.3, on FreeBSD 7-Release.  My copy destination is a
NAS, which is only accessible via Samba.

Anyone have any ideas?

Thanks,
--Brian

-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
 -- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


C++ compiler

2008-07-30 Thread [EMAIL PROTECTED]
 What is the URL where I can get  gcc42  and is it easy to get or do I have 
to do devious things to eventually find it?

Are you Catholic and single?  Click Here.
http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3oGxtfMGTyKQeDjl1IylHH1Cv62LFl9vpA1NFNNk54pbECB6/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail Heading to dead.letter

2008-07-30 Thread Derek Ragona

At 05:45 PM 7/30/2008, Andy Christianson wrote:


 Check perms on /var/mail that it is set to 775

 -Derek


/var/mail is at 775, so that's not it...

[EMAIL PROTECTED] ~]$ stat /var/mail
89 47105 drwxrwxr-x 2 root mail 188185 512 Jul 30 03:01:51 2008 Jul 30
16:35:18 2008 Jul 30 16:35:18 2008 Feb 24 12:49:40 2008 4096 4 0
/var/mail



I would kick up the logging on sendmail to see better what is going on and 
where the failure really is.  You can add:

-O LogLevel=80
To your sendmail options in /etc/rc.conf

Since root can send mail but regular users cannot, it sounds like a 
permission problem somewhere.


-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: C++ compiler

2008-07-30 Thread Chris Hill

On Wed, 30 Jul 2008, [EMAIL PROTECTED] wrote:

What is the URL where I can get gcc42 and is it easy to get or do 
I have to do devious things to eventually find it?


# cd /usr/ports/lang/gcc42
# make install clean

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


Re: SCSI RAID on FreeBSD 7.0, where is the array?

2008-07-30 Thread [EMAIL PROTECTED]

Hi Derek,

As mentioned in my post, I have configured the Adaptec BIOS 
(SCSIselect/HostRAID) to create a RAID0 array.


The GENERIC Kernel natively-uses the 'ahd' adapter for this card, 
http://www.freebsd.org/cgi/man.cgi?query=ahdsektion=4manpath=FreeBSD+7.0-RELEASE


dmesg does not post any errors, it recognised the card as ahd0, and 
states that da0  da1 are on that bus. I can not post the dmesg as the 
NIC adapter needs to be patched once the OS is installed. I could find a 
USB key and copy it over if you like, but there are no errors to consider.


Regards



Derek Ragona wrote:

At 07:56 AM 7/30/2008, [EMAIL PROTECTED] wrote:

Hi all,


I am fighting the following hardware:

MB: ASUS p5b-plus (NON vista edition)
Cpu: Core 2 duo 4600
SCSI Card: Adaptec 39320 (Unused Dell OEM bought from ebay)
HDDs: 2xSeagate Cheetah 73.4 GB Ultra320 SCSI (posibly Dell OEM)

Nb. The MB does not support PCI-X, but is backwards compatible to a 
standard PCI slot. On recommendations I have limited the throughput 
on the channels to 160mb.


If you think any other pieces relevant let me know.


I think this is probably just an issue with my not knowing wtf I'm 
doing, but to be optimistic lets assume the ahd module worked as 
there are no errors in dmesg; which device do I install to? I can not 
see see ahd0 in fdisk.


There are alot of posts over the years reporting trouble with the 
Dell(Adaptec/Seagate) combiniation. The funny thing is that I am 
having none of these troubles; There are no panics, no dumps and no 
lengthy pauses. It all seems fine, until I try to select the disk to 
install to and I only have da0 or da1.




Thanks for your time


Have you defined an array?

If you create the array in the adaptec BIOS you will see one large 
hard disk in FreeBSD.  If you do not define an array in the adaptec 
BIOS you will see the individual SCSI drives as da0, da1, etc.


The GENERIC kernel has all the typical SCSI and RAID adapters compiled 
in, so look at the dmesg output when you boot FreeBSD.


-Derek

--
This message has been scanned for viruses and
dangerous content by *MailScanner* http://www.mailscanner.info/, 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]


  1   2   >