USB Keyboards (media keys)

2006-06-26 Thread Jeff Molofee

I'm sure this has been asked before, but I'd love to know the answer :)

I have a Saitek USB keyboard. It has just 3 additional media keys. I 
have tried xev, xkeybind, etc and can not get a response from any of the 
keys. Aside from these three keys returning nothing at all, the keyboard 
works fine. They keys are volume down, up and mute. All keys I would 
love to get working in Gnome 2.14.x


I know with my old keyboard, when using it in usb mode none of the media 
keys worked on it either, but if I put the PS2 adapter on, they all worked.


Is this a problem with FreeBSD's USB support for keyboards, or am I 
missing something simple?


Any help would be appreciated.

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


mpd simultaneous connection limited to 2 (VPN connectio limit)

2006-06-26 Thread Ertan Küçükoglu

Hello,

I had the problem of VPN connection limit. I want to have 10-20 VPN
connections at the same time. However, only 2 connections can be made.
3rd person wait for somebody to logout.

I use mpd from the ports. There are 20 different netgraph connections
defined in mpd.conf and mpd.links file also updated accordingly. I can
post the configuration upon request.

I could not find any similar question for VPN and connection limits in
the mail list archives.

Any help will be appreciated.

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


Re: which options/files/chunks of the kernel source define xpt_done and xpt_release?

2006-06-26 Thread Jim Stapleton

Thank you,

-Jim Stapleton

On 6/25/06, Dan Nelson [EMAIL PROTECTED] wrote:

In the last episode (Jun 25), Jim Stapleton said:
 I am trying to work on some stuff, and it references those functions,
 but I can't seem to find where they are in the kernel.

xpt_done and a lot of xpt_release_* functions are in /sys/cam/cam_xpt.c

--
Dan Nelson
[EMAIL PROTECTED]


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


Re: mpd simultaneous connection limited to 2 (VPN connectio limit)

2006-06-26 Thread Nikos Vassiliadis
On Monday 26 June 2006 12:09, Ertan Küçükoglu wrote:
 Hello,

 I had the problem of VPN connection limit. I want to have 10-20 VPN
 connections at the same time. However, only 2 connections can be made.
 3rd person wait for somebody to logout.

 I use mpd from the ports. There are 20 different netgraph connections
 defined in mpd.conf and mpd.links file also updated accordingly. I can
 post the configuration upon request.

please post the configuration files.


 I could not find any similar question for VPN and connection limits in
 the mail list archives.

What's the ouput of bundle in mpd?
mpd is very chatty, Could you post 200-300 lines of messages attached
to your message?


 Any help will be appreciated.

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


Re: Hot-Swapping hard drives on Dell PowerEdge 2850 running FBSD 5.5-PRE

2006-06-26 Thread Alex Zbyslaw

Alex Franks wrote:


Sadly, amrstat-20060414 doesn't build on FBSD 6.0 or earlier (or so
says the error msg I get when trying to build it). I've got megarc
installed but have no idea how to use it and no man page was included
with the port.

Anyone more familiar with this utility?


Type

# megarc \?

to get a usage synopsis.

Then e.g.

# megarc -dispCfg \?

for specific command usage and explanation.

Truly hideous, but at least it's there.

--Alex




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


Re: mpd simultaneous connection limited to 2 (VPN connectio limit)

2006-06-26 Thread Ertan Küçükoglu

On 6/26/06, Nikos Vassiliadis [EMAIL PROTECTED] wrote:

On Monday 26 June 2006 12:09, Ertan Küçükoglu wrote:
 Hello,

 I had the problem of VPN connection limit. I want to have 10-20 VPN
 connections at the same time. However, only 2 connections can be made.
 3rd person wait for somebody to logout.

 I use mpd from the ports. There are 20 different netgraph connections
 defined in mpd.conf and mpd.links file also updated accordingly. I can
 post the configuration upon request.

please post the configuration files.


# mpd.conf - mpd VPN configuration file
# ip adreslerini buraya girecegiz.
default:
   load pptp0
   load pptp1
   load pptp2
   load pptp3
   load pptp4
   load pptp5
   load pptp6
   load pptp7
   load pptp8
   load pptp9
   load pptp10
   load pptp11
   load pptp12
   load pptp13
   load pptp14
   load pptp15
   load pptp16
   load pptp17
   load pptp18
   load pptp19
#  ...   Add however many simultaneous connections you wish to allow
#load pptpN

pptp0:
   new -i ng0 pptp0 pptp0
   set ipcp ranges 192.168.0.254/24 192.168.0.159/24
   load global

pptp1:
   new -i ng1 pptp1 pptp1
   set ipcp ranges 192.168.0.254/24 192.168.0.160/24
   load global

pptp2:
   new -i ng1 pptp2 pptp2
   set ipcp ranges 192.168.0.254/24 192.168.0.161/24
   load global

pptp3:
   new -i ng1 pptp3 pptp3
   set ipcp ranges 192.168.0.254/24 192.168.0.140/24
   load global

pptp4:
   new -i ng1 pptp4 pptp4
   set ipcp ranges 192.168.0.254/24 192.168.0.141/24
   load global
pptp5:
   new -i ng1 pptp5 pptp5
   set ipcp ranges 192.168.0.254/24 192.168.0.142/24
   load global
pptp6:
   new -i ng1 pptp6 pptp6
   set ipcp ranges 192.168.0.254/24 192.168.0.143/24
   load global
pptp7:
   new -i ng1 pptp7 pptp7
   set ipcp ranges 192.168.0.254/24 192.168.0.144/24
   load global
pptp8:
   new -i ng1 pptp8 pptp8
   set ipcp ranges 192.168.0.254/24 192.168.0.145/24
   load global
pptp9:
   new -i ng1 pptp9 pptp9
   set ipcp ranges 192.168.0.254/24 192.168.0.146/24
   load global
pptp10:
   new -i ng1 pptp10 pptp10
   set ipcp ranges 192.168.0.254/24 192.168.0.147/24
   load global
pptp11:
   new -i ng1 pptp11 pptp11
   set ipcp ranges 192.168.0.254/24 192.168.0.148/24
   load global
pptp12:
   new -i ng1 pptp12 pptp12
   set ipcp ranges 192.168.0.254/24 192.168.0.149/24
   load global
pptp13:
   new -i ng1 pptp13 pptp13
   set ipcp ranges 192.168.0.254/24 192.168.0.150/24
   load global
pptp14:
   new -i ng1 pptp14 pptp14
   set ipcp ranges 192.168.0.254/24 192.168.0.151/24
   load global
pptp15:
   new -i ng1 pptp15 pptp15
   set ipcp ranges 192.168.0.254/24 192.168.0.152/24
   load global

pptp16:
   new -i ng1 pptp16 pptp16
   set ipcp ranges 192.168.0.254/24 192.168.0.153/24
   load global

pptp17:
   new -i ng1 pptp16 pptp16
   set ipcp ranges 192.168.0.254/24 192.168.0.154/24
   load global

pptp18:
   new -i ng1 pptp16 pptp16
   set ipcp ranges 192.168.0.254/24 192.168.0.155/24
   load global

pptp19:
   new -i ng1 pptp16 pptp16
   set ipcp ranges 192.168.0.254/24 192.168.0.156/24
   load global

#pptpN:
#new -i ngN pptpN pptpN
#set ipcp ranges 192.168.0.254/24 192.168.0.nnn/24
#load global

global:
   set iface disable on-demand
   set iface enable proxy-arp
   set iface idle 3600
   set iface mtu 1400
   set bundle disable multilink
   set bundle enable compression
   set bundle enable crypt-reqd
   2set link mtu 1400
   set link no pap chap
   set link enable chap
   set link enable chap-msv1
   set link enable chap-msv2
   set link keep-alive 10 60
   set link enable acfcomp protocomp
   set ipcp yes vjcomp
   set ipcp dns 212.156.4.1
#   set ipcp nbns 10.70.154.1Add this if you are running a WINS server
   set ccp yes mppc
   set ccp yes mpp-e40
   set ccp yes mpp-e56
   set ccp yes mpp-e128
   set ccp yes mpp-stateless
   set ccp no mpp-compress
-
# mpd.links - mpd VPN links file
# mpd.conf dosyasina ekledigimiz ip leri buraya da gir.
pptp0:
   set link type pptp
   set pptp self  Your outside IP address 
   set pptp enable incoming
   set pptp disable originate

pptp1:
   set link type pptp
   set pptp self  My outside IP address 
   set pptp enable incoming
   set pptp disable originate

pptp2:
   set link type pptp
   set pptp self  My outside IP address 
   set pptp enable incoming
   set pptp disable originate

pptp3:
   set link type pptp
   set pptp self  My outside IP address 
   set pptp enable incoming
   set pptp disable originate

pptp4:
   set link type pptp
   set pptp self  My outside 

Re: Hot-Swapping hard drives on Dell PowerEdge 2850 running FBSD 5.5-PRE

2006-06-26 Thread Alex Zbyslaw

Joao Barros wrote:



Contrary to what megarc says, it's -h not -? for help.
Hope this helps.


? is special to the shell so you need to escape it with a \.

h does not produce the same output for me - it's just treated as an 
unknown command.  It also doesn't work as a param to commands, but help 
seems to.


--Alex


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


Re: help with 'tar|rsh tar'

2006-06-26 Thread Alex Zbyslaw

Nikolas Britton wrote:


I need to backup the /data directory on hostA to /data on hostB, about
1TB of data on a gigabit link. Right now I'm using scp but the
handshake latency and ssh overhead is killing me.


Try openssh-portable from ports and set these two:

  HPN Enable HPN-11 SSH/SCP patch   off \
   HPN_NONECIPHER  Enable HPN-11 with None Cipher patch  
off \


Then use scp -z to do the copy.  You need this version of ssh at both 
ends for -z (no data encryption) to work.  HPN improves the performance 
of ssh no end on internal gigabits.  No idea if it will match the ttcp 
solution, but much safer than enabling rsh :-)


--Alex


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


Need help restoring from filesystem failure

2006-06-26 Thread Maxim Vetrov

Hi to all,

I'm running 6.1 release compiled from source. For a half of june it run 
smoothly. But then somehow I got a filesystem crash - it just refused to 
start after reaching fstab mounts, saying that fs (/data) was not 
properly dismounted:

...
WARNING: /data was not properly dismounted
/data: bad dir ino 2 at offset 16384: mangled entry
panic: ufs_dir_bad: bad dir
...

I rebooted in single user mode and run fsck -f on each filesystem. All 
but one were clean.  I agreed on automatic correction suggested by fsck 
(shame on me, I do not remember what the message was about). Fsck 
applied suggested change and marked fs as clean. Then I tried to mount 
the fs:

 mount /dev/ad0s1f /data
Instead I got complains about not properly dismounting and page fault 
while at kernel mode (page not present).
I run fsck one more time (it didn't find any problem this time) and 
rebooted the system. The first problem showed up. Now I have vicious 
circle: mangled entry and page fault.


Is there any way to correct the problem? I was not so excited if it 
had been /var or even /usr, but it was /data with all of my personal 
projects and I do not have backups!!!


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


Re: Hot-Swapping hard drives on Dell PowerEdge 2850 running FBSD 5.5-PRE

2006-06-26 Thread Joao Barros

On 6/26/06, Alex Zbyslaw [EMAIL PROTECTED] wrote:

Joao Barros wrote:


 Contrary to what megarc says, it's -h not -? for help.
 Hope this helps.

? is special to the shell so you need to escape it with a \.

h does not produce the same output for me - it's just treated as an
unknown command.  It also doesn't work as a param to commands, but help
seems to.


I stand corrected!

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


Re: Hot-Swapping hard drives on Dell PowerEdge 2850 running FBSD 5.5-PRE

2006-06-26 Thread Scott Mitchell
On Mon, Jun 26, 2006 at 11:32:18AM +0100, Alex Zbyslaw wrote:
 Joao Barros wrote:
 
 
 Contrary to what megarc says, it's -h not -? for help.
 Hope this helps.
 
 ? is special to the shell so you need to escape it with a \.
 
 h does not produce the same output for me - it's just treated as an 
 unknown command.  It also doesn't work as a param to commands, but help 
 seems to.

Yeah, megarc does have possibly the worst interface I've seen in quite a
long time.  Allegedly the Linux monitoring tools for these adapters will
work with 6.1, although I haven't tried this myself yet.

I've attached a couple of scripts I use for monitoring amr(4) adapters.
One (amr-check-status) is run hourly from crontab to alert of any change
in drive or array status.  The other (700.amr-status) is a daily periodic
script.  They could be extended to grovel through the megarc output to
figure out what adapters you have rather than just hardcoding the unit
numbers, but that seemed like more pain that it was worth (and I don't
have any machines with more than one adapter!)  BTW, the '^M' in the
amr-check-status script is a real Control-M character, and there are
embedded tabs in a couple of the egrep patterns, in case those get lost
in transit.

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
#!/bin/sh -f
#
# Check status of RAID volumes on amr(4) controllers using the LSI MegaRC
# utility.  If any logical drive has a status other than OPTIMAL, or any
# physical disks has a status other that ONLINE, display the full status
# for the adapter.  If more than one adapter exists, add additional unit
# numbers to $adapters.
#
# $Id$
#

adapters=0

for adapter in $adapters; do
status=`/usr/local/sbin/megarc -ldinfo -a${adapter} -Lall -nolog |\
/usr/bin/sed '1,$s/
//' |\
/usr/bin/sed '1,/Information Of Logical Drive/d'` ||\
echo Failed to get RAID status for AMR adapter ${adapter}

echo ${status} |\
/usr/bin/egrep '^ Logical Drive : .*:  Status: .*$' |\
/usr/bin/egrep -qv 'OPTIMAL$'
drives=$?

echo ${status} |\
/usr/bin/egrep '^   [0-9]+' |\
/usr/bin/egrep -qv 'ONLINE$'
disks=$?

if [ ${drives} -ne 1 -o ${disks} -ne 1 ]; then
echo 
echo AMR RAID status (adapter ${adapter}):
echo ${status}
fi
done
#!/bin/sh -f
#
# Display status of RAID volumes on amr(4) controllers using the LSI MegaRC
# utility.  If more than one adapter exists, add additional unit numbers to
# $adapters.
#
# $Id$
#

# If there is a global system configuration file, suck it in.
#
if [ -r /etc/defaults/periodic.conf ]; then
. /etc/defaults/periodic.conf
source_periodic_confs
fi

adapters=0

rc=0
case ${daily_amr_status_enable:-YES} in
[Nn][Oo])
;;
*)
for adapter in $adapters; do
echo 
echo AMR RAID status (adapter ${adapter}):
/usr/local/sbin/megarc -ldinfo -a${adapter} -Lall 
-nolog |\
sed '1,/Information Of Logical Drive/d' || rc=$?
done
;;
esac

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

Re: place to obtain 4.11 install ISOs

2006-06-26 Thread D G Teed

Thanks for the link.

The answer is standardization.  When you have 16
of them, people don't like 4 different versions in use.

--Donald

On 6/26/06, Nikolas Britton [EMAIL PROTECTED] wrote:

On 6/25/06, D G Teed [EMAIL PROTECTED] wrote:
 Hi,

 I cannot locate 4.11 installer CD ISOs.  The mirror says they
 are moved to the archive FTP site, but they are not in that
 site, at least not as an ISO.

 Anyone have a hint/tip?

Why 4.11? Why not 6.1? Anyways:

http://mirror.tomato.it/ftp/pub/FreeBSD/releases/i386/ISO-IMAGES/4.11/
http://www.freebsd.org/releases/4.11R/announce.html


--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/


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


MPx220 and FreeBSD

2006-06-26 Thread Andrey Slusar
Hello!

I have the Motorola MPx220 windows 2003 SE smartphone. I need soft
for upload files to this phone. Please, recommend me it's soft.

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


Re: mpd simultaneous connection limited to 2 (VPN connectio limit)

2006-06-26 Thread Nikos Vassiliadis
On Monday 26 June 2006 13:31, Ertan Küçükoglu wrote:
 On 6/26/06, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
  On Monday 26 June 2006 12:09, Ertan Küçükoglu wrote:
   Hello,
  
   I had the problem of VPN connection limit. I want to have 10-20 VPN
   connections at the same time. However, only 2 connections can be made.
   3rd person wait for somebody to logout.
  
   I use mpd from the ports. There are 20 different netgraph connections
   defined in mpd.conf and mpd.links file also updated accordingly. I can
   post the configuration upon request.
 
  please post the configuration files.

 # mpd.conf - mpd VPN configuration file
 # ip adreslerini buraya girecegiz.
 default:
 load pptp0
[snip]
 set ipcp ranges 192.168.0.254/24 192.168.0.159/24

these should be /32, it's a point-to-point interface
but that's not the problem

[snip]

 global:
 set iface disable on-demand
 set iface enable proxy-arp
 set iface idle 3600
 set iface mtu 1400
 set bundle disable multilink
 set bundle enable compression
 set bundle enable crypt-reqd
 2set link mtu 1400

2set?

 set link no pap chap
 set link enable chap

How are users authorized? I assume you have
a secrets file.

[snip]

I see nothing strange in your config...

  What's the ouput of bundle in mpd?
  mpd is very chatty, Could you post 200-300 lines of messages attached
  to your message?

 Unfortunately, I did not open the log file yet. Machine is normally
 not in my control.

You don't have to log to syslog if you meant that by log file. Run mpd
interactively and see what's going on. I don't think you can go on without
this step...

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


Re: Glib1 vs Glib2

2006-06-26 Thread Lowell Gilbert
Norberto Meijome [EMAIL PROTECTED] writes:

 hi all,
 I am having some problems when installing ports that use GLIB 1.x , and I
 *also* have glib 2.x installed. I have, of course, packages that need 2.x.

 when building the pkgs that need glib 1.x (pretty much any package) i get:
 []
 checking for glib-config... /usr/local/bin/glib12-config
 checking for GLIB - version = 1.2.0...
 *** 'glib-config --version' returned 1.2.10, but GLIB (2.10.3)
 *** was found! If glib-config was correct, then it is best
 *** to remove the old version of GLIB. You may also be able to fix the error
 *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
 *** /etc/ld.so.conf. Make sure you have run ldconfig if that is
 *** required on your system.
 *** If glib-config was wrong, set the environment variable GLIB_CONFIG
 *** to point to the correct copy of glib-config, and remove the file
 config.cache *** before re-running configure
 no
 configure: error: glib test failed
 [...]

 The way i read this is that the build process gets an answer from glib-config
 (glib 1.x), but then it detects version 2.
 via the pkg system and bails out.

 I haven't been able to figure out how to use the GLIB_CONFIG variable
 properly,as the glib-config file it's finding *IS* the correct one
 ( glib-config does not exist in 2.x).

 Is the only alternative to uninstall glib2. while i'm building pkgs that need
 glib1 ? 

They should co-exist just fine; I've never had problems with it.

Did you, perhaps, miss an update step at some point?  
The last few Gnome updates have required special steps described in UPDATING...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error Message with Procmail

2006-06-26 Thread Lowell Gilbert
Gerard E. Seibert [EMAIL PROTECTED] writes:

 I just installed 'procmail' onto my FSBD 6.1 stable system. The
 following error message keeps appearing on screen at what appears
 random intervals. This one appeared as I booted up the system.

 Jun 24 11:41:14 seibercom procmail[749]: default rcfile is not an
 absolute path for uid 1002

 I am not sure what it means or how to correct it. Everything appears
 to be working correctly.

How are you invoking procmail?  I'd be surprised if you didn't find
that this message comes up whenever procmail tries to process a
message for the user with uid 1002.  Is the procmailrc specified by
hand for that user, perhaps from a .forward file?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem after update to 6.1

2006-06-26 Thread Lowell Gilbert
Martin Schweizer [EMAIL PROTECTED] writes:

 Since I updated 5.4R to 6.1R I get the following messages after reboot:

 [snip]
 Starting sshd.
 Starting cyrus_imapd.
 Starting sendmail.
 Starting cron.
 Local package initialization: apcupsd.
 Additional TCP options:.
 Starting default moused:.
 Starting inetd.
 Starting background file system checks in 60 seconds.
 /etc/rc: Cannot determine the PREFIX
 Enter full pathname of shell or RETURN for /bin/sh:
 #

 ... and I get no login prompt here. What is going wrong?

 I did the update like described in /usr/src/UPDATING:
 [snip]
To upgrade in-place from 5.x-stable or higher to 6.x-stable
 ---
 make sure you have good level 0 dumps
 make buildworld [9]
 make kernel KERNCONF=YOUR_KERNEL_HERE   [8]
 [1]
 reboot in single user [3]
 mergemaster -p  [5]
 make installworld
 make delete-old
 mergemaster -i  [4]
 reboot
 [snip]

My best guess would be a mistake in the mergemaster portion, because I
can't even find the message you're getting.  The system is going into
single-user mode; use that to find the Cannot determine the PREFIX
in the rc files, and install the latest version of whatever rc file
that's in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hot-Swapping hard drives on Dell PowerEdge 2850 running FBSD 5.5-PRE

2006-06-26 Thread Joao Barros

On 6/26/06, Scott Mitchell [EMAIL PROTECTED] wrote:

Yeah, megarc does have possibly the worst interface I've seen in quite a
long time.  Allegedly the Linux monitoring tools for these adapters will
work with 6.1, although I haven't tried this myself yet.


Yes, I think it was Doug Ambrisko who put in the shims for that, but
haven't tested it.
And yes, megarc should be on wikipedia as a bad example for bad interfaces.



I've attached a couple of scripts I use for monitoring amr(4) adapters.
One (amr-check-status) is run hourly from crontab to alert of any change
in drive or array status.  The other (700.amr-status) is a daily periodic
script.


amrstat from ports also include a daily crontab script which I'm hapilly using.
For the hourly job, there is a function in the amr(4) driver that's
supposed to do a constant check of the controller but alas the
function is just declared, empty in function. If this was to work, a
message to syslog would be enough to send out an email with an alert
for example.
I started this weekend(again) my port of bio from OpenBSD and I really
like what they did with the sysctl variables and with sensorsd like:
$ sysctl hw.sensors
  hw.sensors.0=sd0, ami0 0, drive online, OK
  hw.sensors.1=sd1, ami0 1, degraded, WARN
  hw.sensors.2=sd2, ami0 2, failed, CRITICAL

With sensorsd on top of that, monitoring is a breeze.
I think after bio I know what I will do next ;-)

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


Re: Serial Communication

2006-06-26 Thread bc

The -f option works ok if located directly after 'stty'.
In Windows ( not necessarily bragging here at all) I just set com1 to 
2400, 8, N, 1 with no flow control.
I just need to trouble shoot further and sort through the many serial 
options now.


Thanks for getting me started in the right direction though.

Ted Mittelstaedt wrote:

Hmm,

  Try this instead

stty  /dev/ttyd0 2400 cs8 -parenb -cstopb -crtscts

see /etc/rc.d/serial

for examples of how the system sets these up, or just edit that file.

Maybe the -f option is busted with serial ports.

Ted
- Original Message - 
From: Bryan [EMAIL PROTECTED]

To: Ted Mittelstaedt [EMAIL PROTECTED]
Sent: Saturday, June 24, 2006 1:57 PM
Subject: Re: Serial Communication


  

Ted Mittelstaedt wrote:


stty  speed 2400 -hup cs8 -parenb -clocal  -f /dev/ttyd0
cat dload.txt  /dev/ttyd0

also the scanner must assert DTR when it's turned on.

Ted

- Original Message - 
From: Bryan [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Saturday, June 24, 2006 12:53 PM
Subject: Serial Communication


  

I have an old TCL/TK Script That I wrote several years ago that sends
data out of a serial port into a Radio Shack Pro-64 scanner. The


program
  

basically programs the scanner with frequencies to listen to.

I cant figure out how to make it work in FreeBSD. The port must be
configured as follows

COM1: 2400, 8, N, 1

The actual snippet of code that writes out to the port looks like this:

cat dload.txt  /dev/prd64

where /dev/pro64 was a device (com port configured as above)I had
created (somehow) for the linux box I had at the time.

The handbook reading did not provide enough detail for me to get the
port configured and working. The port does not need anything to be
recognized coming in since the operation is outbound only. Software or
scanner cannot read the port anyway.

Can anyone give me a primer or some help to get going?

Thank You.
___
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]
  
  

Actually, after checking man stty, I see maybe the command should read:
stty -f /dev/ttyd0 speed 2400 cs8 -parenb -cstopb -crtscts

Or from the handbook, to make it permanent
stty -f /dev/ttyd0.init speed 2400 cs8 -parenb -cstopb -crtscts

Either command returns
#9600

Running
#stty -a -f /dev/ttyd0
shows that the speed did not change.

I am still confused then.




___
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: Glib1 vs Glib2

2006-06-26 Thread Norberto Meijome
On Mon, 26 Jun 2006 08:04:36 -0400
Lowell Gilbert [EMAIL PROTECTED] wrote:

  Is the only alternative to uninstall glib2. while i'm building pkgs that
  need glib1 ? 
 
 They should co-exist just fine; I've never had problems with it.
 
 Did you, perhaps, miss an update step at some point?  
 The last few Gnome updates have required special steps described in
 UPDATING...

Hi Lowell,
thanks for your reply.

It has been happening for a while - I am just starting to get a bit tired of it
by now, but knowing that they should coexist means I'll find a way to fix it.

Would I have to do a portupgrade -fa ?

I'll check UPDATING anyway to see if I stuffed up any updates of gnome libs. I
dont use gnome per-se, but definitely some of the supporting gnome + GTK libs.

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


Re: Regarding Fujitsu Siemens Primergy RX220 AMD64.

2006-06-26 Thread Lowell Gilbert
Mattias Björk [EMAIL PROTECTED] writes:

 Hi List members,

 Have recently acquired me an Fujitsu Siemens Primergy RX220 AMD64.
 Everything works fine except one thing, the build in dual broadcom
 5780 NIC. I see that 6.1 does not support that hardware according to
 http://www.freebsd.org/releases/6.1R/hardware-amd64.html.

 I thought that freebsd-questions@freebsd.org was a better choice of
 sending the mail to than [EMAIL PROTECTED] But I might be wrong here.

 Anyhow I have two questions more or less:

 Has anybody succeed in getting it to work and do you have a patch for
 it? (Should I try out stable branch instead of 6.1 Release?)

 I everything else fails could you recommend a NIC that works with
 FreeBSD and is dual Gigabit. Im thinking of an Intel Pro/1000 MT DP
 Server or Intel Pro/1000PT Dual Port Server Adapter PCI-E how ever
 the later I could not find on
 http://www.freebsd.org/releases/6.1R/hardware-amd64.html.

 But if you check it up on Intel's homepage it mentions that FreeBSD is
 support but that is rater vague description on with arch its supported
 on. (If I'm not missing something that is)

 Hopefully support for the broadcom 5780-chipset is right around the corner.

The CPU architecture shouldn't make any difference for these adapters,
so don't worry too much about that.  

The 5780 support doesn't look like it should be that hard; PR 68351
seems to have just gotten some patches that may do it.  NetBSD's
support should be easy to port in any case.

The Intel Pro/1000PT has an 82572 controller.  That is supported by
the em device, so you should be fine with that.  The other Intel card
you mention I think is in the same driver as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rndc reload: connection to remote host closed

2006-06-26 Thread Kyrre Nygard


Hello!

I just tried reloading my nameserver after adding a new domain.

Then this happened:

# rndc reload
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.

I've tried using rndc-confgen to create a new rndc.key, as well as
rndc.conf and references in named.conf, but still this problem persists.
I've been using my nameserver setup for months and it's all been
working smooth. I've made no incremental changes that would result
in this thing either, so I'm really confused.

Thanks,
Kyrre

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


Re: Opinions Wanted: Dell PowerEdge Servers ... ?

2006-06-26 Thread Mike Galvez
On Sat, Jun 24, 2006 at 10:03:42PM -0300, Marc G. Fournier wrote:
 
 I'm currently weighing options ... my last two servers were HP Proliant, 
 and I *really* like them, but I might have a line on a supplier in Panama 
 that deals in Dell Servers and not HP ...
 
 Looking at Dell's web site, the PowerEdge has an optional Remote Access 
 Controller that will it *sounds* like will give me similar functionality 
 as HPs iLO ...
 
 But, I've heard bad things about their 'desktop offerings', and am not 
 sure if that follows through to their Servers ...
 
 So, I'm kinda looking for both good, and bad, experiences with the 
 PowerEdge stuff ... anyone with opinions?
 
 Thx ...
 
 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664

No small thing you need to consider when choosing Dell is that they DO NOT 
support
FreeBSD. They support Windows and Red Hat Linux. If the machine is not 
lights-out
and the OS is not one of the above, they will not send parts or a technician.

I found this out the hard way and had to load Linux on a spare drive just to 
prove
a piece of hardware was failing. They wasted a lot of my time. The cheaper cost 
of
their hardware was easily outweighed by the wasted hours of my time.

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


Re: CUPS, USB printers Permission Denied

2006-06-26 Thread John Nielsen
On Monday 26 June 2006 00:15, Micah wrote:
 John Nielsen wrote:
  On Sunday 25 June 2006 20:04, Anthony Agelastos wrote:
  On Jun 25, 2006, at 7:35 PM, John Nielsen wrote:
  On Sunday 25 June 2006 19:28, Anthony Agelastos wrote:
  I updated CUPS and I cannot print to my USB laser printer. The web
  interface shows the following:
 
  hp_LaserJet_1160Le (Default Printer) Unable to open USB device
  usb:/dev/ulpt0: Permission denied
  Description: Hewlett-Packard LaserJet 1160Le
  Location: Den
  Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended)
  Printer State: stopped, accepting jobs, published.
  Device URI: usb:/dev/ulpt0
 
  Doing a `dmesg | grep ulpt0`, I get
 
  ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00,
  addr 2,
  iclass 7/1
  ulpt0: using bi-directional mode
 
  The printer itself works (I plugged it directly into my MacBook
  and it
  printed fine). To ensure it wasn't an awkward build error, I issued a
 
  `portupgrade -fR cups`
 
  and rebuilt it and everything it is dependent upon. Does anyone
  else have
  any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq
  6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386).
 
  Just a me too so far with an el cheapo Lexmark USB laser printer
  (E210).
  Are you using the foomatic script? I am, with a PPD from
  linuxprinting.org.
 
  I am not sure, actually (it was so long ago, I do not remember how I
  got it working). I installed hpijs and Make and Model mentions
  Foomatic/hpijs, so perhaps. I am sorry I could not be of more
  assistance with this question.
 
  I'm going to try backing up and blowing away my etc/cups dir, re-
  updating
  the port, reinstalling foomatic and my ppd, and see if that makes any
  difference. I'll post whatever I learn.
 
  Thank you for posting your findings and for your quick reply.
 
  No luck. I basically re-installed everything (including config files and
  the foomatic filters) from scratch. I also changed the permissions
  on /dev/ulpt0 to be 0664 for root:cups. That prevents the permissions
  error, but I still get nothing from the printer. The message that comes
  up in the cups web interface when I try to print a test page is:
 
  /usr/local/libexec/cups/backend/usb failed
 
  I did get my other printer (on a different machine) working with cups
  1.2.0 by just changing the permissions on the device node. I hadn't ever
  set this printer up with cups before today, though. It's using
  gutenprint.
 
  JN

 Check the error log for more verbose messages (located in /var/log/cups/
 or from the cups web interface).

I just discovered the web interface, so I'll keep an eye on it.

  From what I've read while trying to solve my failure is that some of
 the backends/drivers don't work properly with the new cups. We're
 probably dealing with several simultaneous failures that need to be
 worked out.

That's the conclusion I'm coming to as well. My sense so far is that most of 
the issues stem from the new cups trying to do as little as possible as root 
and from other pieces assuming / requiring that they will be run as root. 
Obviously the /dev/ulpt permissions thing is a result of this. Another case 
in point is the cups-pdf backend. It stopped working after the cups upgrade 
until I made it setuid root.

 FWIW, cups is working with an Epson 777 and the gimp-print drivers using
 /dev/unlpt0.  It seems to work as well as it did before once I got the
 permissions issue worked out.

Good deal. My network printers at work are also working since the upgrade, so 
all hope is not lost.

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


Re: Opinions Wanted: Dell PowerEdge Servers ... ?

2006-06-26 Thread Chuck Swiger

Mike Galvez wrote:
[ ... ]

No small thing you need to consider when choosing Dell is that they DO NOT 
support
FreeBSD. They support Windows and Red Hat Linux. If the machine is not 
lights-out
and the OS is not one of the above, they will not send parts or a technician.

I found this out the hard way and had to load Linux on a spare drive just to 
prove
a piece of hardware was failing.


I've heard that Dells tech support isn't as helpful as it used to be, but I've 
had them replace a CD-ROM drive and a 4mm DAT tape backup on Dell machines 
dedicated to FreeBSD without any problems.


Try running the diagnostic CD or floppy that came with the machine?
(Or can be downloaded for the specific system type from the Dell website.)

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


Re: Problem after update to 6.1

2006-06-26 Thread Martin Schweizer
Hello Lowell

Am Mon, Jun 26, 2006 at 08:25:34AM -0400 Lowell Gilbert schrieb:
 Martin Schweizer [EMAIL PROTECTED] writes:
 
  Since I updated 5.4R to 6.1R I get the following messages after reboot:
 
  [snip]
  Starting sshd.
  Starting cyrus_imapd.
  Starting sendmail.
  Starting cron.
  Local package initialization: apcupsd.
  Additional TCP options:.
  Starting default moused:.
  Starting inetd.
  Starting background file system checks in 60 seconds.
  /etc/rc: Cannot determine the PREFIX
  Enter full pathname of shell or RETURN for /bin/sh:
  #
 
  ... and I get no login prompt here. What is going wrong?
 
  I did the update like described in /usr/src/UPDATING:
  [snip]
 To upgrade in-place from 5.x-stable or higher to 6.x-stable
  ---
  make sure you have good level 0 dumps
  make buildworld [9]
  make kernel KERNCONF=YOUR_KERNEL_HERE   [8]
  [1]
  reboot in single user [3]
  mergemaster -p  [5]
  make installworld
  make delete-old
  mergemaster -i  [4]
  reboot
  [snip]
 
 My best guess would be a mistake in the mergemaster portion, because I
 can't even find the message you're getting.  The system is going into
 single-user mode; use that to find the Cannot determine the PREFIX
 in the rc files, and install the latest version of whatever rc file
 that's in.

It's not single user mode because all services running well (sendmail, cyrus, 
ftp etc.). 
I will run mergmaster again asap.


-- 

Regards

Martin 
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgp48vs2cyh69.pgp
Description: PGP signature


Re: CUPS, USB printers Permission Denied

2006-06-26 Thread Sergey Akifyev
On вс, 2006-06-25 at 23:32 -0400, John Nielsen wrote:
 On Sunday 25 June 2006 20:04, Anthony Agelastos wrote:
  On Jun 25, 2006, at 7:35 PM, John Nielsen wrote:
   On Sunday 25 June 2006 19:28, Anthony Agelastos wrote:
   I updated CUPS and I cannot print to my USB laser printer. The web
   interface shows the following:
  
   hp_LaserJet_1160Le (Default Printer) Unable to open USB device
   usb:/dev/ulpt0: Permission denied
   Description: Hewlett-Packard LaserJet 1160Le
   Location: Den
   Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended)
   Printer State: stopped, accepting jobs, published.
   Device URI: usb:/dev/ulpt0
  
   Doing a `dmesg | grep ulpt0`, I get
  
   ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00,
   addr 2,
   iclass 7/1
   ulpt0: using bi-directional mode
  
   The printer itself works (I plugged it directly into my MacBook
   and it
   printed fine). To ensure it wasn't an awkward build error, I issued a
  
   `portupgrade -fR cups`
  
   and rebuilt it and everything it is dependent upon. Does anyone
   else have
   any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq
   6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386).
  
   Just a me too so far with an el cheapo Lexmark USB laser printer
   (E210).
   Are you using the foomatic script? I am, with a PPD from
   linuxprinting.org.
 
  I am not sure, actually (it was so long ago, I do not remember how I
  got it working). I installed hpijs and Make and Model mentions
  Foomatic/hpijs, so perhaps. I am sorry I could not be of more
  assistance with this question.
 
   I'm going to try backing up and blowing away my etc/cups dir, re-
   updating
   the port, reinstalling foomatic and my ppd, and see if that makes any
   difference. I'll post whatever I learn.
 
  Thank you for posting your findings and for your quick reply.
 
 No luck. I basically re-installed everything (including config files and the 
 foomatic filters) from scratch. I also changed the permissions 
 on /dev/ulpt0 to be 0664 for root:cups. That prevents the permissions 
 error, but I still get nothing from the printer. The message that comes up 
 in the cups web interface when I try to print a test page is:
 
 /usr/local/libexec/cups/backend/usb failed
 

Could you set
LogLevel debug
in your /usr/local/etc/cups/cupsd.conf file, and then mail
me /var/log/cups/error_log ?

Whatever your problem is - the answer is there.

 I did get my other printer (on a different machine) working with cups 1.2.0 
 by just changing the permissions on the device node. I hadn't ever set this 
 printer up with cups before today, though. It's using gutenprint.
 
 JN
-- 
regards,
Sergey Akifyev
AGAVA Software Ltd http://agava.com
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt

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


Need urgent help to get Sendmail running again

2006-06-26 Thread Andreas Widerøe Andersen

Hi,
I had a recent downtime on the mailserver I'm running due to remote location
and trouble with upgrading FreeBSD. I upgraded from 4.7 STABLE to the latest
4.11 with complete make world and new kernel, at first the machine didn't
come back up again due to a disk error, but now it's online again. However
I'm having big trouble getting Sendmail up and running normal again.

I used to have sendmail configured with Spamassassin and Spamass-Milter, but
I have now removed both of them from the .mc file and uninstalled both the
programs and startup files.

When the machine is rebooted I get the following errors:

pid 86 (sendmail), uid 0: exited on signal 11
pid 87 (sendmail), uid 0: exited on signal 11

Sendmail version 8.13.1

Here are the first lines from /var/log/maillog (server startup)

Jun 26 15:13:44 malibu sm-mta[86]: starting daemon (8.13.1):
[EMAIL PROTECTED]:30:00
Jun 26 15:13:44 malibu sm-msp-queue[91]: starting daemon (8.13.1):
[EMAIL PROTECTED]:30:00
Jun 26 15:13:45 malibu sendmail[95]: k5QDDjPI95: from=root, size=427,
class=-60, nrcpts=1, msgid=200606261313.k5QDD
[EMAIL PROTECTED], [EMAIL PROTECTED]
Jun 26 15:13:45 malibu sendmail[95]: k5QDDjPI95: to=ftp, ctladdr=root
(0/0), delay=00:00:00, xdelay=00:00:00, mailer
=relay, pri=138427, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
Connection refused by [127.0.0.1]
Jun 26 15:13:45 malibu sendmail[97]: k5QDDjQl97: from=root, size=433,
class=-60, nrcpts=1, msgid=200606261313.k5QDD
[EMAIL PROTECTED], [EMAIL PROTECTED]
Jun 26 15:13:45 malibu sendmail[97]: k5QDDjQl97: to=root, ctladdr=root
(0/0), delay=00:00:00, xdelay=00:00:00, maile
r=relay, pri=138433, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0,
stat=Deferred: Connection refused by [127.0.0.1]
Jun 26 15:13:46 malibu sendmail[99]: k5QDDjsQ99: from=root, size=455,
class=-60, nrcpts=1, msgid=200606261313.k5QDD
[EMAIL PROTECTED], [EMAIL PROTECTED]
Jun 26 15:13:46 malibu sendmail[99]: k5QDDjsQ99: to=ftp, ctladdr=root
(0/0), delay=00:00:01, xdelay=00:00:00, mailer
=relay, pri=138455, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
Connection refused by [127.0.0.1]
Jun 26 15:13:46 malibu sendmail[103]: k5QDDkGH000103: from=root, size=427,
class=-60, nrcpts=1, msgid=200606261313.k5QD
[EMAIL PROTECTED], [EMAIL PROTECTED]

There seems to be a lot of messages waiting to be sent, Ie. from the forum I
run.

Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCT89: to=www,
delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425
88, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]
Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCY89: to=www,
delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425
92, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]
Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCW89: to=www,
delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425
93, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]
Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCe89: to=www,
delay=02:35:21, xdelay=00:00:00, mailer=relay, pri=8425
95, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]

/var/spool/clientmqueue contains many messages.

Also, I can't get Sendmail to accept new messages for the people who are
users on this system. Mails I send from Ie. this gmail account do not reach
my account on the mailserver.I don't understand this.

MX record is fine.
local-host-names contain all hostnames on the system.
virtusertable is OK.

???

Anyone help greatly appreciated!

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


Re: Hot-Swapping hard drives on Dell PowerEdge 2850 running FBSD 5.5-PRE

2006-06-26 Thread Scott Mitchell
On Mon, Jun 26, 2006 at 01:54:14PM +0100, Joao Barros wrote:
 On 6/26/06, Scott Mitchell [EMAIL PROTECTED] wrote:
 Yeah, megarc does have possibly the worst interface I've seen in quite a
 long time.  Allegedly the Linux monitoring tools for these adapters will
 work with 6.1, although I haven't tried this myself yet.
 
 Yes, I think it was Doug Ambrisko who put in the shims for that, but
 haven't tested it.
 And yes, megarc should be on wikipedia as a bad example for bad interfaces.

Yeah, I don't know what they were smoking when they decided that it was a
good idea to use '?' as an option on a Unix command line, but they should
share it with the rest if us :-)
 
 
 I've attached a couple of scripts I use for monitoring amr(4) adapters.
 One (amr-check-status) is run hourly from crontab to alert of any change
 in drive or array status.  The other (700.amr-status) is a daily periodic
 script.
 
 amrstat from ports also include a daily crontab script which I'm hapilly 
 using.

I should look at amrstat, I guess - it didn't exist (at least not in ports)
when I set this machine up.

 For the hourly job, there is a function in the amr(4) driver that's
 supposed to do a constant check of the controller but alas the
 function is just declared, empty in function. If this was to work, a
 message to syslog would be enough to send out an email with an alert
 for example.
 I started this weekend(again) my port of bio from OpenBSD and I really
 like what they did with the sysctl variables and with sensorsd like:
 $ sysctl hw.sensors
   hw.sensors.0=sd0, ami0 0, drive online, OK
   hw.sensors.1=sd1, ami0 1, degraded, WARN
   hw.sensors.2=sd2, ami0 2, failed, CRITICAL
 
 With sensorsd on top of that, monitoring is a breeze.
 I think after bio I know what I will do next ;-)

Now that sounds really nice.

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Keyspan USBSerial not recognizing!

2006-06-26 Thread Atom Powers

I have a similar device.
How are you trying to use it, ie what commands?

On 6/25/06, Remington [EMAIL PROTECTED] wrote:

I just bought a Keyspan USB2Serial Adapter(Part No #USA-19HS), and when
I plug it in all I get is:

ugen0: Keyspan, a division of InnoSys Inc. Keyspan USA-19H, rev
1.10/1.00, addr 2

I do have ucom, and uplcom loaded, but when connecting to a Cisco device
it doesn't work, and yes it works through Windows. Anyone have this, or
a similar device working? If so, how'd you get it working?

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




--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Opinions Wanted: Dell PowerEdge Servers ... ?

2006-06-26 Thread Greg Barniskis

Chuck Swiger wrote:

I've heard that Dells tech support isn't as helpful as it used to be, 
but I've had them replace a CD-ROM drive and a 4mm DAT tape backup on 
Dell machines dedicated to FreeBSD without any problems.


Try running the diagnostic CD or floppy that came with the machine?
(Or can be downloaded for the specific system type from the Dell website.)



Second that. They're not as good as in the past, but we have had 
hardware assistance on a FreeBSD-driven server on the condition of 
proving hardware fault using Dell's own bootable diagnostics.


Also, it seems like YMMV definitely applies to Dell, generally. We 
find that their higher end desktops (mainly Optiplex), higher end 
laptops and PowerEdge servers to be pretty solid and well-supported.


However, our support experience may be artificially enhanced 
compared to others because we buy off a large govt. contract. We do 
not talk to the same support group that most other posters have 
grumbled about. That said, our overall experience with Dell support 
has actually been as good or better than with many other vendors.


From time to time we're confronted with a 1st tier non-help desk 
operator (scripted responses, incapable of deviating from script or 
otherwise actually helping), but we find that it's not too difficult 
to escalate around those individuals and actually get help.



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Opinions Wanted: Dell PowerEdge Servers ... ?

2006-06-26 Thread David Robillard

I'm currently weighing options ... my last two servers were HP Proliant,
and I *really* like them, but I might have a line on a supplier in Panama
that deals in Dell Servers and not HP ...

Looking at Dell's web site, the PowerEdge has an optional Remote Access
Controller that will it *sounds* like will give me similar functionality
as HPs iLO ...

But, I've heard bad things about their 'desktop offerings', and am not
sure if that follows through to their Servers ...

So, I'm kinda looking for both good, and bad, experiences with the
PowerEdge stuff ... anyone with opinions?

Thx ...


Hi Marc,

My experience with Dell hardware and support goes back to the year
2000. As a systems administrator, I can only speak for their server
products, not their desktop products.

The short story is: Stay away from Dell. Their hardware is of low
quality and poor construction. Their enterprise support is by far THE
lowest quality I've ever had to deal with. Light years away from Sun,
IBM or HP support.

The long story is that the machine's parts are of poor manufacturing.
They bend, break and snap if you're not very carefull in handling
them. The documentation that comes with the machines is far from
complete.

I've done a test by installing an IBM x346 sitting next to a Dell
PowerEdge 2850 and a Sun Fire X4200. You can clearly see that the IBM
and the Sun are of superior quality. All the parts are clearly
labeled, there is extensive maintenance documentation on the casing
and the parts are sturdy and solid. Compared to the Dell which has
flimsy bits of plastic hanging loose, internal cabling has to pass
over heat-sinks and fans and there is close to zero documentation on
the casing. Also, to remove the casing on the IBM and Sun machines,
you have well built latches which makes the whole thing snap into
place without any screws. While the Dell machine has an awkward metal
casing with sharp edges and requires three screws. All in all, working
with a Dell machine is a nightmare compared to working with IBM or Sun
hardware.

That's on the low end machines. Dell does not offer high end machines
such as the Sun Fire E25K Server or the IBM eServer p5 595. Granted
that not everyone needs such big machines, but almost any corporation
will need more then 4 CPU machines one day, an area in which Dell is
not present. Therefore, you're forced to change hardware when you need
to scale up.

That's for the hardware. Now, let's talk support.

In several years, I've had to place numerous support calls to IBM,
Sun, HP, Veritas, Hitachi, EMC and Brocade. In all of them, the call
was handled by a single phone call, my problem was quickly found and
either a person, a part or a patch was sent or advised to fix it. At
Dell, I often had to make two, three and even four different calls to
talk to someone. One time, that someone didn't even know we had a
support contract. Worse, the phone number on the support contract was
invalid! More often then not, the Dell techs are not properly trained
on the hardware and have close to zero knowledge of actual systems
maintenance.

Of course, our IT staff was not happy with the quality of support from
Dell (or lack of..) So we had Dell's Head of Canadian Support in to
discuss this. His suggestion was that we pay more for the platinum
support. It's pathetic, really.

In the end you get what you pay for. Dell is cheaper of course. But
when you add up the downtime caused by broken parts, the time you lose
answering is the server powered-on dump support questions and the
poor reliability you get out of Dell machines, the ROI is not as nice
as it looked compared to Sun, IBM or HP.

Finally, the HP iLO you appreciate is also present in the IBM and Sun
machines with a lot more features then Dell's.

Of course, YMMV. But IMHO, if you're planning on doing serious work in
an enterprise, stay clear of Dell and go for Sun, IBM or HP.

David

--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE, Sun Certified Security  Systems Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need urgent help to get Sendmail running again

2006-06-26 Thread Derek Ragona
You email didn't state if you rebuilt sendmail too, when you rebuilt 
world.  This is an option in /etc/make.conf.  The current sendmail is 
8.13.7 so you may not have rebuilt sendmail.


The logs show that you are not able to authenticate to localhost, but your 
email didn't state how you have sendmail configured to do authentication.


I have seen this error a number of times, when the
authentication you have configured in your .cf files is not matched by the 
sendmail compiler flags.  Also in /etc/make.conf you should have any 
special sendmail compile options.


-Derek



At 08:41 AM 6/26/2006, Andreas Widerøe Andersen wrote:

Hi,
I had a recent downtime on the mailserver I'm running due to remote location
and trouble with upgrading FreeBSD. I upgraded from 4.7 STABLE to the latest
4.11 with complete make world and new kernel, at first the machine didn't
come back up again due to a disk error, but now it's online again. However
I'm having big trouble getting Sendmail up and running normal again.

I used to have sendmail configured with Spamassassin and Spamass-Milter, but
I have now removed both of them from the .mc file and uninstalled both the
programs and startup files.

When the machine is rebooted I get the following errors:

pid 86 (sendmail), uid 0: exited on signal 11
pid 87 (sendmail), uid 0: exited on signal 11

Sendmail version 8.13.1

Here are the first lines from /var/log/maillog (server startup)

Jun 26 15:13:44 malibu sm-mta[86]: starting daemon (8.13.1):
[EMAIL PROTECTED]:30:00
Jun 26 15:13:44 malibu sm-msp-queue[91]: starting daemon (8.13.1):
[EMAIL PROTECTED]:30:00
Jun 26 15:13:45 malibu sendmail[95]: k5QDDjPI95: from=root, size=427,
class=-60, nrcpts=1, msgid=200606261313.k5QDD
[EMAIL PROTECTED], [EMAIL PROTECTED]
Jun 26 15:13:45 malibu sendmail[95]: k5QDDjPI95: to=ftp, ctladdr=root
(0/0), delay=00:00:00, xdelay=00:00:00, mailer
=relay, pri=138427, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
Connection refused by [127.0.0.1]
Jun 26 15:13:45 malibu sendmail[97]: k5QDDjQl97: from=root, size=433,
class=-60, nrcpts=1, msgid=200606261313.k5QDD
[EMAIL PROTECTED], [EMAIL PROTECTED]
Jun 26 15:13:45 malibu sendmail[97]: k5QDDjQl97: to=root, ctladdr=root
(0/0), delay=00:00:00, xdelay=00:00:00, maile
r=relay, pri=138433, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0,
stat=Deferred: Connection refused by [127.0.0.1]
Jun 26 15:13:46 malibu sendmail[99]: k5QDDjsQ99: from=root, size=455,
class=-60, nrcpts=1, msgid=200606261313.k5QDD
[EMAIL PROTECTED], [EMAIL PROTECTED]
Jun 26 15:13:46 malibu sendmail[99]: k5QDDjsQ99: to=ftp, ctladdr=root
(0/0), delay=00:00:01, xdelay=00:00:00, mailer
=relay, pri=138455, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
Connection refused by [127.0.0.1]
Jun 26 15:13:46 malibu sendmail[103]: k5QDDkGH000103: from=root, size=427,
class=-60, nrcpts=1, msgid=200606261313.k5QD
[EMAIL PROTECTED], [EMAIL PROTECTED]

There seems to be a lot of messages waiting to be sent, Ie. from the forum I
run.

Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCT89: to=www,
delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425
88, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]
Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCY89: to=www,
delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425
92, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]
Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCW89: to=www,
delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425
93, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]
Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCe89: to=www,
delay=02:35:21, xdelay=00:00:00, mailer=relay, pri=8425
95, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]

/var/spool/clientmqueue contains many messages.

Also, I can't get Sendmail to accept new messages for the people who are
users on this system. Mails I send from Ie. this gmail account do not reach
my account on the mailserver.I don't understand this.

MX record is fine.
local-host-names contain all hostnames on the system.
virtusertable is OK.

???

Anyone help greatly appreciated!

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

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



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

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

Re: Monitoring Server Health

2006-06-26 Thread Derek Ragona
I use bigsister, which is in the ports.  Bigsister trys to use snmp and to 
be non-invasive.  However, any monitoring comes with some overhead.


On the good side bigsister is cross-platform and can be used on Windows 
servers as well as FreeBSD (and other 'NIXs too.)Bigsister can be 
configured on a server by server basis for what you want to monitor, to 
limit any overheard you can.  You can also configure bigsister to store the 
data in a database such as mysql for more detailed analysis.


Hope this helps,

-Derek


At 01:02 AM 6/25/2006, Jerlique Bahn wrote:

Hello,

What are sys-admin's using to monitor the status and health of their freebsd
servers?

Specifically what I mean is the collection of data from the server such as
CPU Utilization, memory utilization, various networking resources (eg active
connections), disk health etc.

I do not mean programs such as nagios which would manage/act on this data.

Your thoughts appreciated.

JB

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

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


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

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


Re: Opinions Wanted: Dell PowerEdge Servers ... ?

2006-06-26 Thread Mike Galvez
On Mon, Jun 26, 2006 at 11:24:54AM -0400, Jerry McAllister wrote:
  
  Mike Galvez wrote:
  [ ... ]
   No small thing you need to consider when choosing Dell is that they DO 
   NOT support
   FreeBSD. They support Windows and Red Hat Linux. If the machine is not 
   lights-out
   and the OS is not one of the above, they will not send parts or a 
   technician.
   
   I found this out the hard way and had to load Linux on a spare drive just 
   to prove
   a piece of hardware was failing.
  
  I've heard that Dells tech support isn't as helpful as it used to be, but 
  I've 
  had them replace a CD-ROM drive and a 4mm DAT tape backup on Dell machines 
  dedicated to FreeBSD without any problems.
  
  Try running the diagnostic CD or floppy that came with the machine?
  (Or can be downloaded for the specific system type from the Dell website.)
 
 Dell support grumbles a bit, but they have replaced tapes, disks, SCSI
 controllers and even mother boards on our machines running FreeBSD.

My problem was with my backup server being FreeBSD and running AMANDA. The 
Powervault
autoloader was generating SCSI errors. After I setup AMANDA on Linux and got 
the same
errors, they were willing to replace the Powervault autoloader. 

With the new autoloader in place, I replaced the Linux OS with the same 
instance of FreeBSD
I was using before. No more SCSI errors. 

All of this took more time than it should have. 

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


Re: Opinions Wanted: Dell PowerEdge Servers ... ?

2006-06-26 Thread Joao Barros

On 6/26/06, Mike Galvez [EMAIL PROTECTED] wrote:


My problem was with my backup server being FreeBSD and running AMANDA. The 
Powervault
autoloader was generating SCSI errors. After I setup AMANDA on Linux and got 
the same
errors, they were willing to replace the Powervault autoloader.

With the new autoloader in place, I replaced the Linux OS with the same 
instance of FreeBSD
I was using before. No more SCSI errors.

All of this took more time than it should have.


I can't start to tell you the time I and another collegue wasted with
Dell Support (we're talking Gold Queue here) on a Powervault PV660T.
Logs here, logs there, exercise this, reflash that... I think the damn
thing must have been replaced part by part about 2 times, excluding
the chassi!
And having to reboot a bunch of (Windows) clusters because of the PV
was the icing on the cake! This coating was perfomed many times
At a certain point in time we upgraded the PV from 4 to 6 loaders. It
took Dell 3 wrong scsi cables to finally send the right one.

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


Dual DVI, PCI-Express, xorg and FreeBSD

2006-06-26 Thread Kelsey Cummings
Can anyone recommend a PCI Express graphics card with functional dual DVI
output on FreeBSD for use with X to drive a pair of 1600x1200 displays?  I
don't care at all about 3d performance.  Just something that works.

-K

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


postfix+mysql not working with amavisd-new

2006-06-26 Thread Kyrre Nygard


Hello!

Sorry if this is a bit off topic ...

It appears that postfix won't use my mysql setup whenever amavisd-new 
is around.


Does anyone know what to do?

Thanks,
Kyrre


# tail /var/log/maillog

amavis[46670]: (46670-02) Blocked TEMPFAIL, [80.201.214.30] 
[EMAIL PROTECTED] - [EMAIL PROTECTED], Message-ID: 
[EMAIL PROTECTED], mail_id: 
gJqxSj-LLomT, Hits: 0., 32812 ms
postfix/smtp[46692]: 78E886AF: to=[EMAIL PROTECTED], 
relay=127.0.0.1[127.0.0.1], delay=1777, status=deferred (host 
127.0.0.1[127.0.0.1] said: 451 4.1.0 Failed, id=46670-02, from 
MTA([127.0.0.1]:10025): 451 [EMAIL PROTECTED]: Temporary lookup 
failure (in reply to end of DATA command))


Then I receive a bunch of e-mails saying:

Subject: Postfix SMTP server: errors from unknown[127.0.0.1] -- Out: 
451 [EMAIL PROTECTED]: Temporary lookup failure


Here are my configuration files:

###
### /usr/local/etc/postfix/main.cf
###

mail_owner = postfix
home_mailbox = .maildir/

mydomain = myaddress.com
myhostname = ninja.myaddress.com
mynetworks = 127.0.0.0/8, 192.168.187.0/24, 80.201.214.0/24

myorigin = $mydomain
mydestination = $mydomain, localhost.$mydomain, $myhostname

content_filter = smtp-amavis:[127.0.0.1]:10024

smtpd_recipient_restrictions =
 reject_rbl_client sbl.spamhaus.org
 reject_rbl_client dnsbl.njabl.org
 reject_unauth_destination

unknown_local_recipient_reject_code = 450

virtual_transport = virtual
virtual_uid_maps = static:125
virtual_gid_maps = static:125

virtual_mailbox_base = /var/spool/virtual
virtual_mailbox_domains = mysql:/usr/local/etc/postfix/v_domains.cf
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/v_mailboxes.cf
virtual_alias_maps = mysql:/usr/local/etc/postfix/v_aliases.cf

broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd

smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_use_tls = yes
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s

tls_random_source = dev:/dev/urandom

smtpd_tls_key_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/smtpd.pem

tls_random_source = dev:/dev/urandom

queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
sample_directory = /usr/local/etc/postfix

###
### /usr/local/etc/postfix/master.cf
###

smtp inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp -o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache

maildrop unix - n n - - pipe flags=DRhu user=vmail 
argv=/usr/local/bin/maildrop -d ${recipient}
old-cyrus unix - n n - - pipe flags=R user=cyrus 
argv=/cyrus/bin/deliver -e -m ${extension} ${user}
cyrus unix - n n - - pipe user=cyrus argv=/cyrus/bin/deliver -e -r 
${sender} -m ${extension} ${user}
uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z 
-a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe flags=F user=ftn 
argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe flags=Fq. user=foo 
argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
smtp-amavis unix - - - - 3 smtp -o smtp_data_done_timeout=1200 -o 
disable_dns_lookups=yes


127.0.0.1:10025 inet n - - - - smtpd -o content_filter=

###
### /usr/local/etc/amavisd.conf
###

use strict;

$mydomain = 'myaddress.com';

$daemon_user = 'vscan';
$daemon_group = 'vscan';

$max_servers = 3;

$forward_method = 'smtp:127.0.0.1:10025';
$notify_method = $forward_method;

$inet_socket_port = 10024;

$MYHOME = '/var/amavis';
$TEMPBASE = $MYHOME/tmp;
$QUARANTINEDIR = '/var/virusmails';

$X_HEADER_TAG = 'X-Virus-Scanned';
$X_HEADER_LINE = Secured by $mydomain;

@local_domains_maps = ( [.$mydomain] );

$log_level = 0;
$log_recip_templ = undef;
$DO_SYSLOG = 1;
$SYSLOG_LEVEL = 'mail.debug';

$enable_db = 1;
$enable_global_cache = 1;

$sa_spam_subject_tag = '*** SPAM *** ';

$sa_tag_level_deflt = 2.0;
$sa_tag2_level_deflt = 6.31;
$sa_kill_level_deflt = 6.31;
$sa_dsn_cutoff_level = 10;
$sa_mail_body_size_limit = 200*1024;
$sa_local_tests_only = 0;
$sa_auto_whitelist = 1;

$virus_admin = [EMAIL PROTECTED];


Re: Opinions Wanted: Dell PowerEdge Servers ... ?

2006-06-26 Thread Paul Schmehl

Greg Barniskis wrote:

Chuck Swiger wrote:

Second that. They're not as good as in the past, but we have had 
hardware assistance on a FreeBSD-driven server on the condition of 
proving hardware fault using Dell's own bootable diagnostics.


Also, it seems like YMMV definitely applies to Dell, generally. We 
find that their higher end desktops (mainly Optiplex), higher end 
laptops and PowerEdge servers to be pretty solid and well-supported.


However, our support experience may be artificially enhanced compared 
to others because we buy off a large govt. contract. We do not talk to 
the same support group that most other posters have grumbled about. That 
said, our overall experience with Dell support has actually been as good 
or better than with many other vendors.


 From time to time we're confronted with a 1st tier non-help desk 
operator (scripted responses, incapable of deviating from script or 
otherwise actually helping), but we find that it's not too difficult to 
escalate around those individuals and actually get help.


I've been more than a little surprised to hear the uniformly negative 
reports on Dell hardware and support.  Since they've been from people 
who have loads more experience than I have, I tend to respect them. 
However, I have to agree wtih Greg, our experience has been uniformly 
positive.  Personally I only admin a handful of boxes, but they're 
mostly Dells with a couple of Sun's running AMD64 processors.  I haven't 
noticed any appreciable difference in the layout or labeling, but 
perhaps my eye isn't as keen as some who've handled hundreds and 
hundreds of machines.


One thing I do know is Dell's first tier support for servers is 
worthless, but as Greg says, you just need to establish that you know 
what you're doing, and you can bypass them.


However, if you're running a big shop, maybe Dell should be avoided.  We 
only have a little over a hundred or so, mostly running Windows.  (We 
run Sun Sparcs on the *nix* side of the house, except for me.  I run 
exclusively FreeBSD.)


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


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Dual DVI, PCI-Express, xorg and FreeBSD

2006-06-26 Thread Paul Schmehl

Kelsey Cummings wrote:

Can anyone recommend a PCI Express graphics card with functional dual DVI
output on FreeBSD for use with X to drive a pair of 1600x1200 displays?  I
don't care at all about 3d performance.  Just something that works.


Mine is working fine - Radeon X300 (RV370) 5B60 (PCIE) (ChipID = 0x5b60).

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


smime.p7s
Description: S/MIME Cryptographic Signature


RE: Opinions Wanted: Dell PowerEdge Servers ... ?

2006-06-26 Thread Gayn Winters
 [mailto:[EMAIL PROTECTED] On Behalf Of Chuck Swiger
 Sent: Monday, June 26, 2006 7:57 AM
 To: Mike Galvez
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Opinions Wanted: Dell PowerEdge Servers ... ?
 
 
 Mike Galvez wrote:
 [ ... ]
  No small thing you need to consider when choosing Dell is 
 that they DO NOT support
  FreeBSD. They support Windows and Red Hat Linux. If the 
 machine is not lights-out
  and the OS is not one of the above, they will not send 
 parts or a technician.
  
  I found this out the hard way and had to load Linux on a 
 spare drive just to prove
  a piece of hardware was failing.
 
 I've heard that Dells tech support isn't as helpful as it 
 used to be, but I've 
 had them replace a CD-ROM drive and a 4mm DAT tape backup on 
 Dell machines 
 dedicated to FreeBSD without any problems.
 
 Try running the diagnostic CD or floppy that came with the machine?
 (Or can be downloaded for the specific system type from the 
 Dell website.)
 
 -- 
 -Chuck

I suggest a small slice with Red Hat or Fedora on any Dell Server that
runs FreeBSD.  As Chuck suggests, downloading the diagnostics for your
machine in advance is good advice.  I've found Dell's Linux support team
is helpful, but they have some policies like run the diagnostics before
doing anything else which you usually won't be able to avoid. They may
want to walk you through a Linux boot or some other steps under Linux.
Once they verify the problem, they are very good at sending replacement
hardware. 

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 


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


Re: Opinions Wanted: Dell PowerEdge Servers ... ?

2006-06-26 Thread David Kelly
On Mon, Jun 26, 2006 at 10:31:06AM -0700, Gayn Winters wrote:
 
 I suggest a small slice with Red Hat or Fedora on any Dell Server that
 runs FreeBSD.  As Chuck suggests, downloading the diagnostics for your
 machine in advance is good advice.  I've found Dell's Linux support team
 is helpful, but they have some policies like run the diagnostics before
 doing anything else which you usually won't be able to avoid. They may
 want to walk you through a Linux boot or some other steps under Linux.
 Once they verify the problem, they are very good at sending replacement
 hardware. 

As I wrote earlier my PE 400SC came with a special miniature Linux
partition with all the diagnostics. Maybe 32MB, IIRC. Was purchased w/o
OS so there was no other software installed.

I didn't loose any sleep in not installing the diagnostics on new drives
when the 40GB place holder was replaced. There were fan sites for the
400SC with instructions on how to reinstall the diagnostic partition.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Opinions Wanted: Dell PowerEdge Servers ... ?

2006-06-26 Thread Alex Zbyslaw

Mike Galvez wrote:


No small thing you need to consider when choosing Dell is that they DO NOT 
support
FreeBSD. They support Windows and Red Hat Linux. If the machine is not 
lights-out
and the OS is not one of the above, they will not send parts or a technician.

I found this out the hard way and had to load Linux on a spare drive just to 
prove
a piece of hardware was failing. They wasted a lot of my time. The cheaper cost 
of
their hardware was easily outweighed by the wasted hours of my time.
 

Disclaimer: fingers crossed we have yet to have a hardware problem or 
need Dell's support.  Also, my experience of their technical support 
as a private purchaser of a laptop, was absolutely lousy.  My only 
consolation was that their being so atrocious cost them more money than 
they could possibly have made on the laptop.  I have been told that they 
are better for business class customers but have no proof.


The 2850 servers we purchased came with Dell diagnostics on slice 1 - 
running Windows 95 I think!  It would seem especially prudent when 
running a non-supported OS in any production environment to keep those 
diagnostics intact.  BSD will happily install on slices 2-4 and auto 
boot from whichever you last booted from, so the diags can stay 
invisible until you need them.


--Alex


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


Re: place to obtain 4.11 install ISOs

2006-06-26 Thread Andy Reitz
On Sun, 25 Jun 2006, D G Teed wrote:

 Hi,

 I cannot locate 4.11 installer CD ISOs.  The mirror says they
 are moved to the archive FTP site, but they are not in that
 site, at least not as an ISO.

 Anyone have a hint/tip?

Actually, the I believe that the ISOs are stored on the archive FTP site.
Did you try this path?

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/4.11

HTH,
-Andy.

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


vgetty Help

2006-06-26 Thread Robert McIntosh

Hi,

I'm running into problems getting vgetty to function as an answering 
machine.  I've got a Creative ModemBlaster V.92 Serial DE5621 on /dev/cuaa1


I'll call my number and the modem simply does not pick up.

I the modem reports to be a voice modem from minicom, so I know it has 
this capability.


Here's my configuration and log sample.

Thanks in advance for any pointers,
Robert

#cat /usr/local/etc/mgetty+send/voice.conf (comments removed)


part generic
###
voice_log_level 4
voice_shell_log /var/log/vgetty_voice_shell.%s
voice_dir /var/spool/voice
phone_owner root
phone_group phone
phone_mode 0660
message_flag_file .flag
receive_dir incoming
message_dir messages
message_list Index
backup_message standard.rmd
port_speed 38400
voice_shell /bin/sh
port_timeout 10
dial_timeout 90
command_delay 100
dtmf_len 30
dtmf_threshold 40
dtmf_wait 7
ignore_fax_dle false
raw_data false
rec_compression 0
rec_speed 0
rec_silence_len 70
rec_silence_threshold 40
rec_remove_silence false
rec_max_len 300
rec_min_len 0
do_hard_flow true
beep_frequency 933
beep_length 1500
max_tries 3
retry_delay 5
watchdog_timeout 60
receive_gain -1
transmit_gain -1
enable_command_echo false
poll_interval 10
enable_compression_mapping_querry TRUE
compression_8bit_linear_signed 0
compression_16bit_linear_signed 0
compression_8bit_linear_unsigned 1
compression_8bit_ulaw4
compression_8bit_alaw5
compression_2bit_adpcm 140
compression_4bit_adpcm 141
compression_4bit_ima_adpcm 129

program vgetty
###
rings 3
answer_mode voice:fax:data
force_autodetect false
toll_saver_rings 0
rec_always_keep true
button_program
call_program
dtmf_program dtmf.sh
message_program
do_message_light false
ring_report_delay 15

program vm
###
voice_devices cuaa1
dialout_timeout 90
ringback_goes_away 70
ringback_never_came 100

program pvf
###
port cuaa1
rings 3
ring_type ring
answer_mode voice:fax:data


Output from the log...
#tail -f /var/log/vgetty.cuaa1
06/26 11:38:52 aa1  waiting...
06/26 11:39:11 aa1  wfr: waiting for ``RING''
06/26 11:39:11 aa1  wfr: waiting for ``RING''
06/26 11:39:17 aa1  wfr: waiting for ``RING''
06/26 11:39:23 aa1  reading ring_type ring configuration from config 
file /usr/local/etc/mgetty+sendfax/voice.conf

06/26 11:40:04 aa1  vgetty: timeout while reading character from voice modem
06/26 11:40:15 aa1  vgetty: timeout while reading character from voice modem
06/26 11:40:15 aa1  vgetty: Could not answer the phone. Strange...
--
06/26 11:40:15 aa1  vgetty: experimental test release 0.9.32 / with 
duplex patch

06/26 11:40:15 aa1  mgetty: interim release 1.1.34-Nov30
06/26 11:40:15 aa1  reading generic configuration from config file 
/usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1  reading program vgetty configuration from config 
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1  reading port cuaa1 configuration from config file 
/usr/local/etc/mgetty+sendfax/voice.conf

06/26 11:40:15 aa1  check for lockfiles
06/26 11:40:15 aa1  locking the line
06/26 11:40:15 aa1  lowering DTR to reset Modem
06/26 11:40:16 aa1  send: ATS0=0Q0D3C1[0d]
06/26 11:40:16 aa1  waiting for ``OK'' ** found **
06/26 11:40:16 aa1  mdm_send: 'ATI'
06/26 11:40:16 aa1  Generic Rockwell modem (56000)
06/26 11:40:16 aa1  mdm_send: 'ATI3'
06/26 11:40:16 aa1  mdm_send: 'ATI4'
06/26 11:40:16 aa1  additional info: 'a007040284C6002F'
06/26 11:40:16 aa1  modem quirks: 0004
06/26 11:40:16 aa1  mdm_send: 'AT+FCLASS=2' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FCLASS=0' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FAA=1;+FCR=1' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FBOR=0' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FLID=503.244.7197' - OK
06/26 11:40:17 aa1  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' - OK
06/26 11:40:17 aa1  detecting voice modem type
06/26 11:40:18 aa1  Rockwell detected
06/26 11:40:30 aa1  vgetty: timeout while reading character from voice modem
06/26 11:40:30 aa1  initializing ROCKWELL voice modem
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set silence period
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set transmit gain
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set record gain
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:31 aa1  can't disable silence deletion
06/26 11:40:31 aa1  vgetty: Modem returned ERROR
06/26 11:40:31 aa1  can't set DLE responses
06/26 11:40:31 aa1  vgetty: Modem returned ERROR
06/26 11:40:31 aa1  can't set silence threshold
06/26 11:40:31 aa1  vgetty: Modem returned ERROR
06/26 11:40:32 aa1  waiting...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need driver for wlan-adapter

2006-06-26 Thread Shantanoo Mahajan
Cc'ing to questions- instead of drivers list.

+++ Pontus Falk [freebsd] [26-06-06 12:23 +0200]:
| 
|   So, i have just d/l'ed 6.1, am about to install it any minute now, but
|   the only internet connection i have right now is via a
|   usb-wlan-adapter, which i can't find in the supported list.
| 
|   There are drivers in the linux kernel,  zd1211 , but I can't find any
|   ported.

You may try ndis wrapper.

Shantanoo

-- 
Ignore everybody.

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


Re: Opinions Wanted: Dell PowerEdge Servers ... ?

2006-06-26 Thread Jerry McAllister
 
 Mike Galvez wrote:
 [ ... ]
  No small thing you need to consider when choosing Dell is that they DO NOT 
  support
  FreeBSD. They support Windows and Red Hat Linux. If the machine is not 
  lights-out
  and the OS is not one of the above, they will not send parts or a 
  technician.
  
  I found this out the hard way and had to load Linux on a spare drive just 
  to prove
  a piece of hardware was failing.
 
 I've heard that Dells tech support isn't as helpful as it used to be, but 
 I've 
 had them replace a CD-ROM drive and a 4mm DAT tape backup on Dell machines 
 dedicated to FreeBSD without any problems.
 
 Try running the diagnostic CD or floppy that came with the machine?
 (Or can be downloaded for the specific system type from the Dell website.)

Dell support grumbles a bit, but they have replaced tapes, disks, SCSI
controllers and even mother boards on our machines running FreeBSD.

jerry

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


Re: dd wont work

2006-06-26 Thread Lowell Gilbert
Migs [EMAIL PROTECTED] writes:

 I've already looked around and found that dd will work on cd's only if
 the bs=2k argument is present.

 However, ive tried it both without (before knowing this) and with the
 argument, but I still cant pick up an image of the cd.

 I know that this should work:

 dd if=/dev/cd0 of=~/file.iso bs=2k

 but it doesn't. I always get a

 dd: /dev/acd0: Invalid argument
 0+0 records in
 0+0 records out
 0 bytes transferred in 0.000225 secs (0 bytes/sec)

 I'm on 6.1 releng by the way, and the cd im trying to dd is
 knoppix. My combo drive is a 'LITE-ON ' 'COMBO SOHC-5236V' 'R$09'
 Removable CD-ROM thats a slave on ide0. What else should I be looking
 at?

Are you actually copying from cd0, or acd0?
Are you sure the problem isn't with the CD itself?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need urgent help to get Sendmail running again

2006-06-26 Thread Kevin Kinsey

Andreas Widerøe Andersen wrote:

Hi,
I had a recent downtime on the mailserver I'm running due to remote 
location
and trouble with upgrading FreeBSD. I upgraded from 4.7 STABLE to the 
latest

4.11 with complete make world and new kernel, at first the machine didn't
come back up again due to a disk error, but now it's online again. However
I'm having big trouble getting Sendmail up and running normal again.

I used to have sendmail configured with Spamassassin and Spamass-Milter, 
but

I have now removed both of them from the .mc file and uninstalled both the
programs and startup files.

When the machine is rebooted I get the following errors:

pid 86 (sendmail), uid 0: exited on signal 11
pid 87 (sendmail), uid 0: exited on signal 11

Sendmail version 8.13.1

Here are the first lines from /var/log/maillog (server startup)

Jun 26 15:13:44 malibu sm-mta[86]: starting daemon (8.13.1):
[EMAIL PROTECTED]:30:00
Jun 26 15:13:44 malibu sm-msp-queue[91]: starting daemon (8.13.1):
[EMAIL PROTECTED]:30:00
Jun 26 15:13:45 malibu sendmail[95]: k5QDDjPI95: from=root, size=427,
class=-60, nrcpts=1, msgid=200606261313.k5QDD
[EMAIL PROTECTED], [EMAIL PROTECTED]
Jun 26 15:13:45 malibu sendmail[95]: k5QDDjPI95: to=ftp, ctladdr=root
(0/0), delay=00:00:00, xdelay=00:00:00, mailer
=relay, pri=138427, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, 
stat=Deferred:

Connection refused by [127.0.0.1]
Jun 26 15:13:45 malibu sendmail[97]: k5QDDjQl97: from=root, size=433,
class=-60, nrcpts=1, msgid=200606261313.k5QDD
[EMAIL PROTECTED], [EMAIL PROTECTED]
Jun 26 15:13:45 malibu sendmail[97]: k5QDDjQl97: to=root, ctladdr=root
(0/0), delay=00:00:00, xdelay=00:00:00, maile
r=relay, pri=138433, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0,
stat=Deferred: Connection refused by [127.0.0.1]
Jun 26 15:13:46 malibu sendmail[99]: k5QDDjsQ99: from=root, size=455,
class=-60, nrcpts=1, msgid=200606261313.k5QDD
[EMAIL PROTECTED], [EMAIL PROTECTED]
Jun 26 15:13:46 malibu sendmail[99]: k5QDDjsQ99: to=ftp, ctladdr=root
(0/0), delay=00:00:01, xdelay=00:00:00, mailer
=relay, pri=138455, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, 
stat=Deferred:

Connection refused by [127.0.0.1]
Jun 26 15:13:46 malibu sendmail[103]: k5QDDkGH000103: from=root, size=427,
class=-60, nrcpts=1, msgid=200606261313.k5QD
[EMAIL PROTECTED], [EMAIL PROTECTED]

There seems to be a lot of messages waiting to be sent, Ie. from the 
forum I

run.

Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCT89: to=www,
delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425
88, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]
Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCY89: to=www,
delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425
92, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]
Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCW89: to=www,
delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425
93, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]
Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCe89: to=www,
delay=02:35:21, xdelay=00:00:00, mailer=relay, pri=8425
95, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [
127.0.0.1]

/var/spool/clientmqueue contains many messages.

Also, I can't get Sendmail to accept new messages for the people who are
users on this system. Mails I send from Ie. this gmail account do not reach
my account on the mailserver.I don't understand this.

MX record is fine.
local-host-names contain all hostnames on the system.
virtusertable is OK.



Why is the server trying to connect to localhost, anyway?  Did
you do special configuration in order to have Sendmail deliver
mail to 127.0.0.1 as part of your (former) configuration with
Spamassassin?  If so, did you undo these statements so that Sendmail
would now deliver normally?

Just curious,

Kevin Kinsey

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


Re: iwi-firmware

2006-06-26 Thread Lowell Gilbert
Derrick Ryalls [EMAIL PROTECTED] writes:

 Prior to updating to 6.1, my Intel 2200 BG worked fairly well using
 iwi-firmware and wpa_supplicant.  Now, the firmware fails to load so I
 cannot connect.  I did some searching and some people recommend
 installing iwi-firmware-kmod.  When I try to do so, it is marked as
 ignored and is uninstallable.  Another suggestion is to use code in
 /usr/src/sys/dev/iwi but I don't see a make file and I haven't a clue
 on what to do with that code anyway.

 Does anyone know what I need to do to get this nic working again?

 #uname -a
 6.1-STABLE FreeBSD 6.1-STABLE #1: Wed Jun  7 03:18:16 PDT 2006

Can you be more precise about what goes wrong?
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html

I also suspect that you would have better luck installing the ports if
you updated your ports tree.  But that's just a guess.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libpthread.so.1

2006-06-26 Thread Lowell Gilbert
Saifi [EMAIL PROTECTED] writes:

 Hi:

 Trying to install and configure java jdk and jre on FreeBSD 6.1

 The installation of both the .tgz packages was successful.

 However, on executing the interpreter, 'java' the following error is 
 displayed.
 /libexec/ld-elf.so.1: Shared object libpthread.so.1 not found, required by 
 java

 I could not find a libpthread package in FreeBSD ports collection.

 Appreciate if somebody could point out the src.tar.gz or port to use.

It's part of the base system.  Looks like you installed a Javea
package for a different release of FreeBSD (5.x?).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: place to obtain 4.11 install ISOs

2006-06-26 Thread D G Teed

I was looking for something under:

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.11-RELEASE

i didn't see the little ISO-IMAGES listed in the folder above that
after 6.0.  That is what happens when viewing this from seamonkey,
it is easier to notice stuff at the top than at the bottom as with a text
ftp client.

Thanks...

--Donald

On 6/26/06, Andy Reitz [EMAIL PROTECTED] wrote:

On Sun, 25 Jun 2006, D G Teed wrote:

 Hi,

 I cannot locate 4.11 installer CD ISOs.  The mirror says they
 are moved to the archive FTP site, but they are not in that
 site, at least not as an ISO.

 Anyone have a hint/tip?

Actually, the I believe that the ISOs are stored on the archive FTP site.
Did you try this path?

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/4.11

HTH,
-Andy.



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


Re: libpthread.so.1

2006-06-26 Thread Corey Brune

libpthread should not be in the ports. It should reside under /usr/lib. Do
an 'ls /usr/lib/libpthread*' and see what it returns. Also, try 'locate
libpthread.so.1'



On 6/25/06, Saifi [EMAIL PROTECTED] wrote:


Hi:

Trying to install and configure java jdk and jre on FreeBSD 6.1

The installation of both the .tgz packages was successful.

However, on executing the interpreter, 'java' the following error is
displayed.
/libexec/ld-elf.so.1: Shared object libpthread.so.1 not found, required
by java

I could not find a libpthread package in FreeBSD ports collection.

Appreciate if somebody could point out the src.tar.gz or port to use.

Thanks in advance.

thanks
Saifi.

TWINCLING Society
http://www.twincling.org/



___
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: Learn more about ld-elf and FreeBSD

2006-06-26 Thread Corey Brune

What kind of questions do you have?

On 6/23/06, swygue [EMAIL PROTECTED] wrote:


Corey,

Thanks for your help, /usr/local/pgsql/lib/ permission was:

2 drwx--   2 root   wheel

I changed it to pgsql:pgsql, and it work's.

Where can I find more information about shared library objects ? I read
ldconfig, ldd, ld manpages, but I'm looking for a broader explanation.

-Rod

On 6/23/06, Corey Brune [EMAIL PROTECTED] wrote:

 That's interesting. Would you email me the output of these commands?

 echo $LD_LIBRARY_PATH
 ls path to libpq.so.3
 file libpq.so.3

 Thanks,

 Corey

 On 6/22/06, swygue [EMAIL PROTECTED]  wrote:
 
  Corey,
 
  Thanks for your response, I did set the LD_LIBRARY_PATH but ldd still
  can't find it.
 
  [EMAIL PROTECTED]ldd /usr/local/postgresql-7.4.2/bin/psql
  /usr/local/pgsql/bin/psql:
  libpq.so.3 = not found (0x0)
  libpam.so.1 = /usr/lib/libpam.so.1 (0x28086000)
  libz.so.2 = /usr/lib/libz.so.2 (0x2809)
  libreadline.so.4 = /usr/lib/libreadline.so.4 (0x2809d000)
  libcrypt.so.2 = /usr/lib/libcrypt.so.2 (0x280c2000)
  libm.so.2 = /usr/lib/libm.so.2 (0x280db000)
  libutil.so.3 = /usr/lib/libutil.so.3 (0x280f7000)
  libc.so.4 = /usr/lib/libc.so.4 (0x2810)
  libncurses.so.5 = /usr/lib/libncurses.so.5 (0x2819a000)
 
 
  -Rod
 
 
  On 6/22/06, Corey Brune  [EMAIL PROTECTED] wrote:
  
   Have you tried setting LD_LIBRARY_PATH to include the directory
   where libpq is? Are you getting this error after psql or something like 
it?
   If you haven't, then set LD_LIBRARY_PATH, then type 'ldd command'. This
   will tell you which libs are found and which are not.
  
   Hope this helps.
   Corey
  
  
   On 6/22/06, swygue  [EMAIL PROTECTED] wrote:
  
Once in a while I get some error, looking like this:
  
 /usr/libexec/ld-elf.so.1: Shared object libpq.so.3 not found
  
   This specific error was a result of trying to connect to a
   postgresql-7.4.2 database running on FreeBSD, 4.6.2. And yes the
   server is in the process of being decommissioned.
  
   I was wondering how have others resolve problems related to ld-elf
   and
   shared objects ? And where can I find more information about ld-elf
   and FreeBSD ?
  
   Thanks
  
   --
   swygue neron ---
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
   
  
  
 
 
  --
  swygue neron ---
 




--
swygue neron ---


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


Re: dd wont work

2006-06-26 Thread Migs
Lowell Gilbert wrote:
 Migs [EMAIL PROTECTED] writes:

   
 I've already looked around and found that dd will work on cd's only if
 the bs=2k argument is present.

 However, ive tried it both without (before knowing this) and with the
 argument, but I still cant pick up an image of the cd.

 I know that this should work:

 dd if=/dev/cd0 of=~/file.iso bs=2k

 but it doesn't. I always get a

 dd: /dev/acd0: Invalid argument
 0+0 records in
 0+0 records out
 0 bytes transferred in 0.000225 secs (0 bytes/sec)

 I'm on 6.1 releng by the way, and the cd im trying to dd is
 knoppix. My combo drive is a 'LITE-ON ' 'COMBO SOHC-5236V' 'R$09'
 Removable CD-ROM thats a slave on ide0. What else should I be looking
 at?
 

 Are you actually copying from cd0, or acd0?
 Are you sure the problem isn't with the CD itself?

   
Sorry about that... I was trying both cd0 and acd0, and yes, i know that
the disc is fine since I used to be able to dd from it. I also know that
the drive is fine  because I could dd from it back when  I was still
using slackware. This only showed up when I started with FreeBSD about 2
months ago.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: iwi-firmware

2006-06-26 Thread Erik Nørgaard
Lowell Gilbert wrote:
 Derrick Ryalls [EMAIL PROTECTED] writes:
 
 Prior to updating to 6.1, my Intel 2200 BG worked fairly well using
 iwi-firmware and wpa_supplicant.  Now, the firmware fails to load so I
 cannot connect.  I did some searching and some people recommend
 installing iwi-firmware-kmod.  When I try to do so, it is marked as
 ignored and is uninstallable.  Another suggestion is to use code in
 /usr/src/sys/dev/iwi but I don't see a make file and I haven't a clue
 on what to do with that code anyway.

 Does anyone know what I need to do to get this nic working again?

 #uname -a
 6.1-STABLE FreeBSD 6.1-STABLE #1: Wed Jun  7 03:18:16 PDT 2006
 
 Can you be more precise about what goes wrong?
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html
 
 I also suspect that you would have better luck installing the ports if
 you updated your ports tree.  But that's just a guess.

Are you using iwi-firmware from ports? there seems to be a perfectly
working driver,

  # kldload if_iwi

That's what people suggest you to compile from sys/dev/iwi, but it's
also a loadable as kernel module. If it is not installed in
/boot/kernel, then it will also be built with the normal kernel build
proceedure.

Erik

-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature


Re: dd wont work

2006-06-26 Thread Bill Schoolcraft
At Mon, 26 Jun 2006 it looks like Lowell Gilbert composed:

 Migs [EMAIL PROTECTED] writes:
 
  I've already looked around and found that dd will work on cd's only if
  the bs=2k argument is present.
 
  However, ive tried it both without (before knowing this) and with the
  argument, but I still cant pick up an image of the cd.
 
  I know that this should work:
 
  dd if=/dev/cd0 of=~/file.iso bs=2k
 
  but it doesn't. I always get a
 
  dd: /dev/acd0: Invalid argument
  0+0 records in
  0+0 records out
  0 bytes transferred in 0.000225 secs (0 bytes/sec)
 
  I'm on 6.1 releng by the way, and the cd im trying to dd is
  knoppix. My combo drive is a 'LITE-ON ' 'COMBO SOHC-5236V' 'R$09'
  Removable CD-ROM thats a slave on ide0. What else should I be looking
  at?
 
 Are you actually copying from cd0, or acd0?
 Are you sure the problem isn't with the CD itself?

That happens to me too, I have a Plextor DVD-RW/CD-RW drive.

I have followed the device too to it's link in /dev/* and zilch.

I was trying to dd an umounted FreeBSD iso to file.

-- 
 Bill Schoolcraft || http://wiliweld.com
   
  To be unhappy over what one lacks is to 
 waste what one already possesses.

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


Re: Need urgent help to get Sendmail running again

2006-06-26 Thread Andreas Widerøe Andersen


Why is the server trying to connect to localhost, anyway?  Did
you do special configuration in order to have Sendmail deliver
mail to 127.0.0.1 as part of your (former) configuration with
Spamassassin?  If so, did you undo these statements so that Sendmail
would now deliver normally?



Not quite sure actually, but the mails are generated from a php forum on
this server.

However, I got sendmail running and the server is receiving mails again. I
compiled sendmail one more time with some new DAEMON settings I didn't have
and that did it. Still, it crashes  every 30 minutes with this message:

(dmesg)
pid 12388 (sendmail), uid 0: exited on signal 11

(/var/log/messages):
Jun 26 23:10:15 malibu /kernel: pid 12487 (sendmail), uid 0: exited on
signal 11

I think it tries do queue or send mails every 30 minutes, but how can I see
a list of these jobs or do anything about it? Is there another way for me to
get more detailes on what this crash actually is?

(By the way, sendmail build was enabled in make.conf as far as I could
understand)

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


RE: vgetty Help

2006-06-26 Thread fbsd
you have to use your modems native AT commands to tell it to
answer inbound calls and then save that config on the modem and set
it as the default config to use when the modem is powered on.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Robert
McIntosh
Sent: Monday, June 26, 2006 2:49 PM
To: freebsd-questions@freebsd.org
Subject: vgetty Help


Hi,

I'm running into problems getting vgetty to function as an answering
machine.  I've got a Creative ModemBlaster V.92 Serial DE5621 on
/dev/cuaa1

I'll call my number and the modem simply does not pick up.

I the modem reports to be a voice modem from minicom, so I know it
has
this capability.

Here's my configuration and log sample.

Thanks in advance for any pointers,
Robert

#cat /usr/local/etc/mgetty+send/voice.conf (comments removed)


part generic
###
voice_log_level 4
voice_shell_log /var/log/vgetty_voice_shell.%s
voice_dir /var/spool/voice
phone_owner root
phone_group phone
phone_mode 0660
message_flag_file .flag
receive_dir incoming
message_dir messages
message_list Index
backup_message standard.rmd
port_speed 38400
voice_shell /bin/sh
port_timeout 10
dial_timeout 90
command_delay 100
dtmf_len 30
dtmf_threshold 40
dtmf_wait 7
ignore_fax_dle false
raw_data false
rec_compression 0
rec_speed 0
rec_silence_len 70
rec_silence_threshold 40
rec_remove_silence false
rec_max_len 300
rec_min_len 0
do_hard_flow true
beep_frequency 933
beep_length 1500
max_tries 3
retry_delay 5
watchdog_timeout 60
receive_gain -1
transmit_gain -1
enable_command_echo false
poll_interval 10
enable_compression_mapping_querry TRUE
compression_8bit_linear_signed 0
compression_16bit_linear_signed 0
compression_8bit_linear_unsigned 1
compression_8bit_ulaw4
compression_8bit_alaw5
compression_2bit_adpcm 140
compression_4bit_adpcm 141
compression_4bit_ima_adpcm 129

program vgetty
###
rings 3
answer_mode voice:fax:data
force_autodetect false
toll_saver_rings 0
rec_always_keep true
button_program
call_program
dtmf_program dtmf.sh
message_program
do_message_light false
ring_report_delay 15

program vm
###
voice_devices cuaa1
dialout_timeout 90
ringback_goes_away 70
ringback_never_came 100

program pvf
###
port cuaa1
rings 3
ring_type ring
answer_mode voice:fax:data


Output from the log...
#tail -f /var/log/vgetty.cuaa1
06/26 11:38:52 aa1  waiting...
06/26 11:39:11 aa1  wfr: waiting for ``RING''
06/26 11:39:11 aa1  wfr: waiting for ``RING''
06/26 11:39:17 aa1  wfr: waiting for ``RING''
06/26 11:39:23 aa1  reading ring_type ring configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:04 aa1  vgetty: timeout while reading character from
voice modem
06/26 11:40:15 aa1  vgetty: timeout while reading character from
voice modem
06/26 11:40:15 aa1  vgetty: Could not answer the phone. Strange...
--
06/26 11:40:15 aa1  vgetty: experimental test release 0.9.32 / with
duplex patch
06/26 11:40:15 aa1  mgetty: interim release 1.1.34-Nov30
06/26 11:40:15 aa1  reading generic configuration from config file
/usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1  reading program vgetty configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1  reading port cuaa1 configuration from config
file
/usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1  check for lockfiles
06/26 11:40:15 aa1  locking the line
06/26 11:40:15 aa1  lowering DTR to reset Modem
06/26 11:40:16 aa1  send: ATS0=0Q0D3C1[0d]
06/26 11:40:16 aa1  waiting for ``OK'' ** found **
06/26 11:40:16 aa1  mdm_send: 'ATI'
06/26 11:40:16 aa1  Generic Rockwell modem (56000)
06/26 11:40:16 aa1  mdm_send: 'ATI3'
06/26 11:40:16 aa1  mdm_send: 'ATI4'
06/26 11:40:16 aa1  additional info: 'a007040284C6002F'
06/26 11:40:16 aa1  modem quirks: 0004
06/26 11:40:16 aa1  mdm_send: 'AT+FCLASS=2' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FCLASS=0' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FAA=1;+FCR=1' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FBOR=0' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FLID=503.244.7197' - OK
06/26 11:40:17 aa1  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' - OK
06/26 11:40:17 aa1  detecting voice modem type
06/26 11:40:18 aa1  Rockwell detected
06/26 11:40:30 aa1  vgetty: timeout while reading character from
voice modem
06/26 11:40:30 aa1  initializing ROCKWELL voice modem
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set silence period
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set transmit gain
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set record gain
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:31 aa1  can't disable silence deletion
06/26 11:40:31 aa1  vgetty: Modem returned ERROR
06/26 11:40:31 aa1  can't set DLE responses
06/26 11:40:31 aa1  vgetty: Modem returned ERROR
06/26 11:40:31 aa1  can't set silence threshold
06/26 11:40:31 aa1  vgetty: Modem returned ERROR
06/26 11:40:32 aa1  waiting...

ipopd3 core dumps - can't log into pop3 server

2006-06-26 Thread Andreas Widerøe Andersen

Many mails from me here today. Sorry about that. Having more problems than
skills I guess...

I have upgraded to imap-uw-2004g_1,1 and now my users can't log into the
server using pop3.

Every time I try to log in from Ie. Eudora on my Windows box the ipop3 core
dumps on the server.

telnet my.domain.net 110
Trying 194.123.123.12...
Connected to my.domain.net.
Escape character is '^]'.
+OK POP3 my.domain.net 2004.89 server ready

-ERR Null command
user testuser
-ERR Unknown AUTHORIZATION state command

I haven't seend this AUTHORIZATION message before. I want to allow both
normal unencrypted password connections and let the user enable ssl if they
know how to.

Here are my inetd.conf mail details:
imaps   stream  tcp nowait  root/usr/local/libexec/imapd
imapd
pop3s   stream  tcp nowait  root/usr/local/libexec/ipop3d
ipop3d

pop3stream  tcp nowait  root/usr/local/libexec/ipop3d   ipop3d
imap4   stream  tcp nowait  root/usr/local/libexec/imapdimapd

This is what I have in my /etc/pam.conf file

# Mail services
imapauthrequiredpam_unix.so
imapaccount requiredpam_unix.so
imapsession requiredpam_unix.so
pop3authrequiredpam_unix.so
pop3account requiredpam_unix.so
pop3session requiredpam_unix.so

I have installed both cclient and imap-uw with the following directives:

portinstall -m SSLTYPE=unix imap-uw

(SSLTYPE=unix should be with ssl and plan text)

I have also installed the following ports related to mail:

openssl-0.9.8b_1SSL and crypto library
cyrus-sasl-2.1.22   RFC  SASL (Simple Authentication and Security Layer)
cyrus-sasl-saslauthd-2.1.22 SASL authentication server for cyrus-sasl2
squirrelmail-1.4.6_1 A webmail system which accesses mail over IMAP

telnet my.domain.net 110
Trying 194.123.123.12...
Connected to my.domain.net.
Escape character is '^]'.
+OK POP3 my.domain.net 2004.89 server ready

user testuser
-ERR Unknown AUTHORIZATION state command

Anyone out there who can give me some directions?

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


/bin/cat: Permission denied

2006-06-26 Thread Viktoras Veitas
Hello.

I suddenly cannot run cat command as /bin/cat file appears to be without
execute permissions (all other files in /bin directory are with them) and I
get /bin/cat: Permission denied error.

 

I had a misfortune to chmod 555 /bin/cat, then my machine panicked (when
trying to run cat) and was not able to boot until I changed the /bin/cat
permissions back to read-only. Anyway the system running again but I cannot
install almost any port that uses cat in ./configure script.

 

I am running FreeBSD 5.4-RELEASE-p16 on Intel(R) Pentium(R) 4 CPU 3.00GHz
(2992.52-MHz 686-class CPU), with two 200GB SATA disks and RAID1 geom
mirror.

 

Output of dmesg is attached as file.

 

Question#1: How can I get rid of this problem and repair my cat file to be
able to install new ports again?

Question#2: Why did this happen? I mean everything worked fine for a year or
more until I decided to use hylafax on my machine and found that it cannot
do documet conversion.

 

Thank you.

 

Viktoras

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE-p16 #5: Tue Jun 27 02:55:28 EEST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: IntelR AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
  Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 1072562176 (1022 MB)
avail memory = 1040007168 (991 MB)
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IntelR AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 3.0 on pci0
pci1: ACPI PCI bus on pcib1
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port 0xa000-0xa01f
 mem 0xf100-0xf101,0xf102-0xf103 irq 18 at device 1.0 on pci1
em0: Ethernet address: 00:11:2f:16:40:43
em0:  Speed:N/A  Duplex:N/A
pcib2: ACPI PCI-PCI bridge at device 28.0 on pci0
pci2: ACPI PCI bus on pcib2
pci2: mass storage, SCSI at device 8.0 (no driver attached)
uhci0: UHCI (generic) USB controller port 0xc400-0xc41f irq 16 at device 29.0
on pci0
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: UHCI (generic) USB controller port 0xc000-0xc01f irq 19 at device 29.1
on pci0
usb1: UHCI (generic) USB controller on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: base peripheral at device 29.4 (no driver attached)
pci0: base peripheral, interrupt controller at device 29.5 (no driver attached
)
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib3: ACPI PCI-PCI bridge at device 30.0 on pci0
pci3: ACPI PCI bus on pcib3
em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port 0xb000-0xb03f
 mem 0xf402-0xf403,0xf400-0xf401 irq 18 at device 8.0 on pci3
em1: Ethernet address: 00:11:2f:16:40:44
em1:  Speed:N/A  Duplex:N/A
pci3: display, VGA at device 9.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel 6300ESB UDMA100 controller port 0xf000-0xf00f,0x376,0x170-0x177
,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
atapci1: Intel 6300ESB SATA150 controller port 0xd800-0xd80f,0xd400-0xd403,0xd
000-0xd007,0xcc00-0xcc03,0xc800-0xc807 irq 18 at device 31.2 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
pci0: serial bus, SMBus at device 31.3 (no driver attached)
acpi_tz0: Thermal Zone on acpi0
fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: Standard parallel printer port port 0x778-0x77b,0x378-0x37f irq 7 on acp
i0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on 

Re: iwi-firmware

2006-06-26 Thread Derrick Ryalls

Lowell Gilbert wrote:
 Derrick Ryalls [EMAIL PROTECTED] writes:

 Prior to updating to 6.1, my Intel 2200 BG worked fairly well using
 iwi-firmware and wpa_supplicant.  Now, the firmware fails to load so I
 cannot connect.  I did some searching and some people recommend
 installing iwi-firmware-kmod.  When I try to do so, it is marked as
 ignored and is uninstallable.  Another suggestion is to use code in
 /usr/src/sys/dev/iwi but I don't see a make file and I haven't a clue
 on what to do with that code anyway.

 Does anyone know what I need to do to get this nic working again?

 #uname -a
 6.1-STABLE FreeBSD 6.1-STABLE #1: Wed Jun  7 03:18:16 PDT 2006

 Can you be more precise about what goes wrong?
 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html

 I also suspect that you would have better luck installing the ports if
 you updated your ports tree.  But that's just a guess.

Are you using iwi-firmware from ports? there seems to be a perfectly
working driver,

  # kldload if_iwi

That's what people suggest you to compile from sys/dev/iwi, but it's
also a loadable as kernel module. If it is not installed in
/boot/kernel, then it will also be built with the normal kernel build
proceedure.



Sorry for the lack of details.  Sleep deprivation and hardware
troubleshooting shouldn't be mixed.

Previously, I was using the iwi-firmware port rather successfully,
based on this webpage

http://damien.bergamini.free.fr/ipw/iwi-freebsd.html

At the moment, I do have the device listed under ifconfig iwi0 but I
cannot associate with my AP.  When I go to do a iwicontrol -i iwi0 -d
/boot/firmware/if_iwi -m bss I currently get an error message in the
/var/log/messages (sorry, can't access the machine to get the message)
but I think it was something about the device timing out.  Checking
the help files for the error messages states the the error message
should not happen.

When I did the searching, several posts mentioned that iwi-firmware
didn't work for them on 6.1 when it had on previous versions.  Later I
can update my ports to see if iwi-firmware-kmod now has the ignore
setting removed, but according to
http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/iwi-firmware-kmod/ the
port hasn't been touched in about 2 months (unless I am reading
something wrong).

To sorta summarize, these are example steps that I used to take to get
on wireless:

iwicontrol -i iwi0 -d /boot/firmware/if_iwi -m bss
ifconfig iwi0 up
wpa_supplicant (args)
dhclient iwi0

But now, the first step fails.  The device is still present under
ifconfig though.

My world/kernel is only a couple weeks old, perhaps I cvsup'ed at
exactly the wrong time (during some commit)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error Message with Procmail

2006-06-26 Thread Gerard Seibert
Lowell Gilbert wrote:

 Gerard E. Seibert [EMAIL PROTECTED] writes:
 
  I just installed 'procmail' onto my FSBD 6.1 stable system. The
  following error message keeps appearing on screen at what appears
  random intervals. This one appeared as I booted up the system.
 
  Jun 24 11:41:14 seibercom procmail[749]: default rcfile is not an
  absolute path for uid 1002
 
  I am not sure what it means or how to correct it. Everything appears
  to be working correctly.
 
 How are you invoking procmail?  I'd be surprised if you didn't find
 that this message comes up whenever procmail tries to process a
 message for the user with uid 1002.  Is the procmailrc specified by
 hand for that user, perhaps from a .forward file?

I found the problem. The path to the use did not start with a '/'. I
checked the password file and discovered it. That simple error had gone
unnoticed for three months until I installed Procmail.


-- 
Gerard Seibert
[EMAIL PROTECTED]


The reserve of modern assertions is sometimes pushed to extremes, in
which the fear of being contradicted leads the writer to strip himself
of almost all sense and meaning.

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


Re: /bin/cat: Permission denied

2006-06-26 Thread jdow

From: Viktoras Veitas [EMAIL PROTECTED]


Hello.

I suddenly cannot run cat command as /bin/cat file appears to be without
execute permissions (all other files in /bin directory are with them) and I
get /bin/cat: Permission denied error.



I had a misfortune to chmod 555 /bin/cat, then my machine panicked (when
trying to run cat) and was not able to boot until I changed the /bin/cat
permissions back to read-only. Anyway the system running again but I cannot
install almost any port that uses cat in ./configure script.



I am running FreeBSD 5.4-RELEASE-p16 on Intel(R) Pentium(R) 4 CPU 3.00GHz
(2992.52-MHz 686-class CPU), with two 200GB SATA disks and RAID1 geom
mirror.



Output of dmesg is attached as file.



Question#1: How can I get rid of this problem and repair my cat file to be
able to install new ports again?

Question#2: Why did this happen? I mean everything worked fine for a year or
more until I decided to use hylafax on my machine and found that it cannot
do documet conversion.


Maybe some kind soul you trust will send you a copy of the 5.4 cat
command. I'd suspect you redirected something to /bin/cat by mistake.

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


Re: Cant buildworld

2006-06-26 Thread pid42

Ooops. I think I did just that. Cant try without right now but Ill get back
to it.
Thanks alot.
--
View this message in context: 
http://www.nabble.com/Cant-buildworld-t1843687.html#a5058310
Sent from the freebsd-questions forum 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: Cant buildworld

2006-06-26 Thread Jim Stapleton

Also, I've had issues with custom CFLAGS, CPUTYPE, and CXXFLAGS
settings in my make.conf file, you may want to look at that as well,
that seems to stop the process at semi-random points (at least it
seems that way with my limited knowledge).

-Jim Stapleton

On 6/26/06, pid42 [EMAIL PROTECTED] wrote:


Ooops. I think I did just that. Cant try without right now but Ill get back
to it.
Thanks alot.
--
View this message in context: 
http://www.nabble.com/Cant-buildworld-t1843687.html#a5058310
Sent from the freebsd-questions forum 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]


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


Re: from STABLE to RELENG? (done)

2006-06-26 Thread Jonathan Horne
On Friday 23 June 2006 08:08, John Nielsen wrote:
 On Friday 23 June 2006 00:46, Jonathan Horne wrote:
  On Thursday 22 June 2006 23:16, Chad Leigh -- Shire.Net LLC wrote:
   On Jun 22, 2006, at 10:09 PM, Jonathan Horne wrote:
generally, how risky of an operation is it to change the branch im
following
(assuming i have a server in good working order)?
   
i think i would now prefer to start following RELENG on my
production servers
instead of STABLE (not that im having any issues), so that i can
keep up with
patchlevels of specific servers a little easier.
  
   That easiest if you do it at a version change.  Say, for example, 6.0-
   STABLE to 6.1-RELEASE or similar.
 
  well i would be attempting a 6.1-STABLE to 6.1-RELENG.  i have a dev box
  i think im going to give it a go on, and see what happens.  if this one
  doesnt go well, ill just wait until the next RELEASE increments to the
  next.

 If you were going the other direction (from a pre-6.1 -STABLE to 6.1 or
 from 6.1 to today's -STABLE) it'd be a no-brainer. Even so, I'd be
 surprised if you had any issues going backwards, since it is still a
 rather small step.

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

well i finally had a chance to sit down and try it on my dev box (which is a 
port-by-port mirror of my production server), and the STABLE-to-RELENG 
buildworld worked fine.  since this didnt seem to have any issues at all, 
this saturday after my full backup runs, ill migrate that one as well.

thanks for your advice(s),
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /bin/cat: Permission denied

2006-06-26 Thread Micah

jdow wrote:

From: Viktoras Veitas [EMAIL PROTECTED]


Hello.

I suddenly cannot run cat command as /bin/cat file appears to be 
without
execute permissions (all other files in /bin directory are with them) 
and I

get /bin/cat: Permission denied error.



I had a misfortune to chmod 555 /bin/cat, then my machine panicked 
(when
trying to run cat) and was not able to boot until I changed the 
/bin/cat
permissions back to read-only. Anyway the system running again but I 
cannot

install almost any port that uses cat in ./configure script.



I am running FreeBSD 5.4-RELEASE-p16 on Intel(R) Pentium(R) 4 CPU 3.00GHz
(2992.52-MHz 686-class CPU), with two 200GB SATA disks and RAID1 geom
mirror.



Output of dmesg is attached as file.



Question#1: How can I get rid of this problem and repair my cat file 
to be

able to install new ports again?

Question#2: Why did this happen? I mean everything worked fine for a 
year or
more until I decided to use hylafax on my machine and found that it 
cannot

do documet conversion.


Maybe some kind soul you trust will send you a copy of the 5.4 cat
command. I'd suspect you redirected something to /bin/cat by mistake.

{^_^}   Joanne


Cat for i386 5.4 release can also be gotten from 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.4-RELEASE/base/base.aa 
 just use tar to extract it.


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


Re: SSHD errors: will not forward X11 connections

2006-06-26 Thread Andrew
On Mon, 2006-06-26 at 07:44 +0200, [EMAIL PROTECTED] wrote:
 El día Sunday, June 25, 2006 a las 10:05:03PM -0500, Andrew escribió:
 
  Hello,
  
  I have a FreeBSD 6.1 machine at home that I use for remote backups, and
  sort of an application server for my home network. I occasionally run
  program with the X display forwarded to my laptop. Simple setup, has
  always worked great, etc, etc.
  
  Just last week, I went to login and run a program and I received the
  following error (in /var/log/messages):
  
  sshd[25306]: error: Failed to allocate internet-domain X11 display
  socket.
  
  Now, not to (intentionally) irritate anyone, but I haven't made any
  changes in regards to the setup on either end of the connection that I'm
  aware of. The only change at all that I've recently made, is that I
  switch shells on the remote box (to zsh). I tried changing back to bash,
  (my original setup), and the problem persists. 
  
  The permissions for sshd are:
  
  -r-xr-xr-x  1 root  wheel  168488 May  6 22:58 /usr/sbin/sshd
  
  which looks correct to me. I really haven't a clue where to begin with
  this one, besides a backup and re-install, which is an option, but is
  also a rather large pain. 
  
  Suggestions?
 
 Truss o strace down the SSH daemon to see what the underlying problem
 for error: Failed to allocate... really is.
 
   matthias

Hello,

I've restarted SSHD with LogLevel DEBUG, which did not produce any new
information; just gives the same error message (in /var/log/messages) as
before. I'm not sure how interested you are in this particular problem,
but I've attached the output from truss. The complete session that I
recorded using truss is as follows:

1. start truss on SSH server truss -f -p $PID - sshd-log.txt
2. login via SSH ssh -X $hostname
3. attempt to start an X application rhythmbox 
4. logout 

If you need any more info, or have other suggestions, please let me
know.

Thanks for your help!
-Andrew
3: (null)()  = 1 (0x1)
3: accept(0x4,{ AF_INET 192.168.0.6:51251 },0xbfbfdda8) = 5 (0x5)
3: fcntl(5,F_GETFL,0x0)  = 6 (0x6)
3: gettimeofday({1151375994 309421},0x0) = 0 (0x0)
3: getpid()  = 3 (0x7530)
3: socket(0x1,0x2,0x0)   = 6 (0x6)
3: fcntl(6,F_SETFD,0x1)  = 0 (0x0)
3: connect(0x6,{ AF_UNIX /var/run/logpriv },106) = 0 (0x0)
3: sendto(0x6,0xbfbfcc60,0,0x0,NULL,0x0) = 65 (0x41)
3: close(6)  = 0 (0x0)
3: fcntl(5,F_SETFL,0x2)  = 0 (0x0)
3: pipe()= 6 (0x6)
3: socketpair(0x1,0x1,0x0,0xbfbfddb0)= 0 (0x0)
3: fork()= 30098 (0x7592)
30098: close(6)  = 0 (0x0)
30098: close(3)  = 0 (0x0)
30098: close(4)  = 0 (0x0)
30098: close(-1) ERR#9 'Bad file descriptor'
30098: close(8)  = 0 (0x0)
30098: getpid()  = 30098 (0x7592)
30098: __sysctl(0xbfbfdd00,0x4,0x0,0x0,0x807c800,0x11) = 0 (0x0)
30098: __sysctl(0xbfbfdc28,0x2,0xbfbfdc30,0xbfbfdc24,0x28328509,0xf) = 0 (0x0)
30098: __sysctl(0xbfbfdc30,0x2,0xbfbfdcf8,0xbfbfdcfc,0x0,0x0) = 0 (0x0)
30098: setsid()  = 30098 (0x7592)
30098: gettimeofday({1151375994 356856},0x0) = 0 (0x0)
30098: getpid()  = 30098 (0x7592)
30098: socket(0x1,0x2,0x0)   = 3 (0x3)
30098: fcntl(3,F_SETFD,0x1)  = 0 (0x0)
30098: connect(0x3,{ AF_UNIX /var/run/logpriv },106) = 0 (0x0)
30098: sendto(0x3,0xbfbfcc80,0,0x0,NULL,0x0) = 87 (0x57)
30098: close(3)  = 0 (0x0)
30098: dup2(0x5,0x0) = 0 (0x0)
30098: dup2(0x0,0x1) = 1 (0x1)
30098: dup2(0x7,0x4) = 4 (0x4)
30098: dup2(0x9,0x5) = 5 (0x5)
30098: close(9)  = 0 (0x0)
30098: close(7)  = 0 (0x0)
30098: execve(/usr/sbin/sshd,missing argument,missing argument)
30098: mmap(0x0,3608,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 
671686656 (0x28092000)
30098: munmap(0x28092000,0xe18)  = 0 (0x0)
30098: __sysctl(0xbfbfeaa8,0x2,0x2808e998,0xbfbfeaa4,0x0,0x0) = 0 (0x0)
30098: 
mmap(0x0,32768,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 
671686656 (0x28092000)
30098: issetugid()   = 0 (0x0)
30098: open(/etc/libmap.conf,0x0,0666) ERR#2 'No such file or 
directory'
30098: open(/var/run/ld-elf.so.hints,0x0,00)   = 3 (0x3)
30098: read(0x3,0xbfbfea70,0x80) = 128 (0x80)
30098: lseek(3,0x80,SEEK_SET)   

Re: firefox with flash and java!

2006-06-26 Thread Chris Maness

On Tue, 23 May 2006 23:40:37 +
Marwan Sultan dead_l... 
http://groups.google.com/groups/unlock?msg=695fbeab0c2a56e4_done=/group/list.freebsd.questions/browse_thread/thread/220f6510efe41d89/6e9a9d715460864c%3Fq%3Drtld_dlsym_hack.diff%26rnum%3D1@hotmail.com 
wrote:

 hello everyone!

   I'm really sorry to ask over here, but sick and tired browsing and 
asking

 around.

   I'm on latest FreeBSD 6.1R latest KDE and latest firefox 1.5.3
   I cannot find the flash plugins for Konqueror because no more port 
for it,

 (linux-flashplgin6)

   So i have installed Firefox, now i'm lost, which in port is the flash
 plugin?

   I have linux-flashplugin7 installed, linuxpluginwrapper,

looks ok

$ pkg_info | grep -i flash  pkg_info | grep -i firefox
linux-flashplugin-7.0r63 The official Macromedia Flash Player for 
Linux Mozilla


 firefox-1.5.0.3,1   Web browser based on the browser portion of Mozilla
firefox-remote-20040803 Wrapper scripts for firefox web browser

   But flash still not workin in firefox, i dont know what to do now?
   Will someone kindly guied me for this? how to install flash, for 
firefox?

 and enable it.

from someone else's kind instructions, which worked great for me:

- modify your libmap.conf , following what is shown in
what  /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6

- Finally edit /usr/X11R6/lib/firefox/run-mozilla.sh and add
 /usr/X11R6/lib/linux-flashplugin6 to MOZ_PLUGIN_PATH
 (near the end of the script) (colon-separated path components)

- path your kernel:
Please get and apply a dlsym(3) hook patch (apply in /usr/src ; then cd
libexec/rtld-elf and do make rtld)
http://people.FreeBSD.org/~nork/*rtld_dlsym_hack.diff* 
http://people.FreeBSD.org/%7Enork/rtld_dlsym_hack.diff This provides 
_dlsym(3)
function to fix dynamic-link error can't find gtk_major_version 
ad-hoc-ly.


$cd /usr/src
$fetch http://people.FreeBSD.org/~nork/*rtld_dlsym_hack.diff* 
http://people.FreeBSD.org/%7Enork/rtld_dlsym_hack.diff

$patch  *rtld_dlsym_hack.diff*
$ cd libexec/rtld-elf
$sudo make rtld
$ sudo make install

   Also How to install java? on firefox? it would be my next step.

   Is there by any chance away to run flash for Konqueror? or better to
 delete this package if im
   having firefox?

i dont know, dont use kde.
good luck,
Beto
I have followed all of the instructions for patching the src (from 
above), and firefox still crashes with the error: /libexec/ld-elf.so.1: 
/usr/local/lib/pluginwrapper/flash7.so: Undefined symbol _dlsym  when 
a flash page is loaded.  What have I missed?

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