Re: colors in messages

2006-05-19 Thread Martin Hepworth

What sort of messages???

you can use vt terminal encoding to make things change colour/flash,

or for email, use html and if the MUA copes with HTML you'll get colours.

--
martin

On 5/18/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


I would like to introduce color into my messages,
particularly to the background.  How can I do this?  Is there a sequence
of characters that I can put into a message that will change the background
of the rest of the message (or until a similar sequence is encountered) to
the color designated by this sequence, and if so,
what is the color/sequence relationship?  Similarly for foreground
(i.e., the characters) color.



uname -a
FreeBSD  4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT
2001 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386


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


Hacked Web Site

2006-05-19 Thread Don O'Neil
A customer of mine recently had their web site hacked and the index file
defaced by Milli-Harekat...

http://www.zone-h.org/en/search/what=Milli-Harekat.Org/

Does anyone know the exploit used for this and where to find out about
fixing it? I have a feeling it's a brute force attack of some sort, but I
can't find anything.

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


freeVRRP errors?

2006-05-19 Thread cknipe
Hi,

May 18 21:26:46 netsphere freevrrpd[15350]: all errors are cleared on interface
sis0
May 18 21:57:03 netsphere freevrrpd[15350]: all errors are cleared on interface
sis0
May 18 22:02:21 netsphere freevrrpd[15350]: can't write to socket: No buffer
space available
May 18 22:02:21 netsphere freevrrpd[15350]: There is a big problem here !
May 18 22:02:22 netsphere freevrrpd[15350]: interface sis0 is faulty,
deactivated from VRRP VRIDs
May 18 22:02:22 netsphere freevrrpd[15350]: interface sis0 is alive again,
reactivate it on VRRP
May 18 22:02:23 netsphere freevrrpd[15350]: waiting 40 seconds for the spanning
tree latency
May 18 22:02:23 netsphere freevrrpd[15350]: interface sis0 is faulty,
deactivated from VRRP VRIDs
May 18 22:02:23 netsphere freevrrpd[15350]: interface sis0 is alive again,
reactivate it on VRRP
May 18 22:02:24 netsphere freevrrpd[15350]: interface sis0 is faulty,
deactivated from VRRP VRIDs
May 18 22:02:24 netsphere freevrrpd[15350]: interface sis0 is alive again,
reactivate it on VRRP
May 18 22:02:25 netsphere freevrrpd[15350]: interface sis0 is faulty,
deactivated from VRRP VRIDs
May 18 22:02:25 netsphere freevrrpd[15350]: interface sis0 is alive again,
reactivate it on VRRP
May 18 22:02:26 netsphere freevrrpd[15350]: interface sis0 is faulty,
deactivated from VRRP VRIDs
May 18 22:02:26 netsphere freevrrpd[15350]: cannot reactivate interface sis0,
too much errors on it !
May 18 22:02:27 netsphere freevrrpd[15350]: waiting 40 seconds for the spanning
tree latency
May 18 22:03:03 netsphere freevrrpd[15350]: send gratuitous arp 198.18.0.36 -
0:0:5e:0:1:1e
May 18 22:03:03 netsphere freevrrpd[15350]: send gratuitous arp 198.18.0.60 -
0:0:5e:0:1:1e
May 18 22:03:03 netsphere freevrrpd[15350]: send gratuitous arp 198.18.0.61 -
0:0:5e:0:1:1e
May 18 22:03:03 netsphere freevrrpd[15350]: send gratuitous arp 198.18.0.62 -
0:0:5e:0:1:1e
May 18 22:03:03 netsphere freevrrpd[15350]: server state vrid 20: backup
May 18 22:03:07 netsphere freevrrpd[15350]: send gratuitous arp 198.18.0.36 -
0:e0:18:84:a4:24
May 18 22:03:07 netsphere freevrrpd[15350]: send gratuitous arp 198.18.0.60 -
0:e0:18:84:a4:24
May 18 22:03:07 netsphere freevrrpd[15350]: send gratuitous arp 198.18.0.61 -
0:e0:18:84:a4:24
May 18 22:03:07 netsphere freevrrpd[15350]: send gratuitous arp 198.18.0.62 -
0:e0:18:84:a4:24
May 18 22:03:07 netsphere freevrrpd[15350]: server state vrid 30: backup


That's the last log entry for VRRP.  The deamon is still running, nothing is
logged, and all my virtual IP addresses are removed from the Interface - even
the ones that are configured as Master... 

Config:
[VRID]
serverid = 20
interface = sis0
useVMAC = yes
carriertimeout = 5
spanningtreelatency = 40
sendgratuitousarp = yes
priority = 255
addr = 198.18.0.56/32
monitoredcircuits = yes
MCClearErrorsCount = 3600
#masterscript = /usr/local/bin/master_script.sh
#backupscript = /usr/local/bin/backup_script.sh
password = xxx

[VRID]
serverid = 30
interface = sis0
useVMAC = yes
carriertimeout = 5
spanningtreelatency = 40
sendgratuitousarp = yes
priority = 100
addr = 198.18.0.57/32
monitoredcircuits = yes
MCClearErrorsCount = 3600
#masterscript = /usr/local/bin/master_script.sh
#backupscript = /usr/local/bin/backup_script.sh
password = xxx


Can anyone shed some light perhaps?  I *really* need this to be stable as there
are no reason to even attempt a HA system with the HA software being
unstable... 

Thanks,
Chris.


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


A neural/distributed FreeBSD network

2006-05-19 Thread Kyrre Nygard


Hello!

Got a weird question here ...

I'm a bit curious as to how one can make multiple computers
act as one network. I'm not talking merely /etc/hosts and gateways
or some VPN where connections are just encrypted, but like
something more ... neural, you all feel me? where the operating
systems themselves act together in a distributed fashion.

Does something like this even exist?

Thanks

All the best,
Kyrre

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


PCI card not recognised

2006-05-19 Thread Chris Hastie
I've just received an OEM Wildcard X100P FXO card. Installing into my 
FreeBSD 5.4-RELEASE box it doesn't appear to be recognised at all. Since 
it's the first time I've put a PCI card in this machine I've just 
dropped a Netgear ethernet card in to make sure there isn't something 
fundamentally wrong with the motherboard, but that works fine.


Is there anything else I should check / try before assuming the X100P is 
faulty?


Output of pciconf -l -v below (after the Netgear card went back to where 
it belongs):


[EMAIL PROTECTED]:0:0:  class=0x06 card=0x31161106 chip=0x31161106 rev=0x00 
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8375 ProSavageDDR PM266/KM266 CPU to PCI Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x0080 chip=0xb0911106 rev=0x00 
hdr=0x01
vendor   = 'VIA Technologies Inc'
device   = 'VT8633 Apollo Pro 266 CPU to AGP Controller'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:16:0:class=0x0c0300 card=0x30381106 chip=0x30381106 
rev=0x80 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:16:1:class=0x0c0300 card=0x30381106 chip=0x30381106 
rev=0x80 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:16:2:class=0x0c0300 card=0x30381106 chip=0x30381106 
rev=0x80 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:16:3:class=0x0c0320 card=0x73801462 chip=0x31041106 
rev=0x82 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT6202 USB 2.0 Enhanced Host Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:17:0:class=0x060100 card=0x31771106 chip=0x31771106 
rev=0x00 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8235 PCI to ISA Bridge'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:17:1:  class=0x01018a card=0x73801462 chip=0x05711106 
rev=0x06 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82 EIDE Controller (All VIA Chipsets)'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:17:5:class=0x040100 card=0x73801462 chip=0x30591106 
rev=0x50 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller'
class= multimedia
subclass = audio
[EMAIL PROTECTED]:18:0:  class=0x02 card=0x738c1462 chip=0x30651106 
rev=0x74 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
class= network
subclass = ethernet
[EMAIL PROTECTED]:0:0: class=0x03 card=0x73891462 chip=0x8d045333 rev=0x00 
hdr=0x00
vendor   = 'S3 Graphics Co., Ltd.'
device   = '86C420 ProSavage DDR'
class= display
subclass = VGA

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


Re: Converting a zsh prompt to bash

2006-05-19 Thread Kyrre Nygard

At 22:48 18.05.2006, Dan Nelson wrote:

In the last episode (May 18), Kyrre Nygard said:
 At 17:02 18.05.2006, Dan Nelson wrote:
 In the last episode (May 18), Kyrre Nygard said:
  At 17:04 17.05.2006, Dan Nelson wrote:
  In the last episode (May 17), Kyrre Nygard said:
   Do you think this would work?
  
   I tried applying your principles, as well as some information design:
  
   local a1=01;36m
   local a2=22;36m
   local a3=01;30m
  
   local b1=01;31m
   local b2=22;31m
   local b3=01;30m
  
   PROMPT=$'%{$a1}([EMAIL PROTECTED])'
   
PROMPT+=$'%{$a1}('{$a2}%D{%H:%M}%{$a3}+%{$a2}%D{%d/%m}%{$a1})%{$a3}\n'

   PROMPT+=$'%{$a1}(%{$a2}%#%{$a3}:%{$a2}%~%{$a1})'
  
   if [[ `whoami` = root ]] then
   PROMPT=$'%{$b1}([EMAIL PROTECTED])'
   
PROMPT+=$'%{$b1}(%{$b2}%D{%H:%M}%{$b3}+%{$b2}%D{%d/%m}%{$b1})%{$b3}\n'

   PROMPT+=$'%{$b1}(%{$b2}%#%{$b3}:%{$b2}%~%{$b1})'
   fi
  
   Note that zsh provides symbolic variables for color setting:
  
   autoload -U colors
   colors
   echo $fg[blue]$bg[red]blue on red!
  
   so you don't have to memorize the numbers.  See the zshcontrib
   manpage, OTHER FUNCTIONS section.
  
   If the only difference between your root prompt is color, you can
   also just set a1,a2,a3 to different values within your if block,
   then set PROMPT outside of it.
  
   if [[ $USER == root ]] ; then
a1=%{$fg[cyan]$bg[black]}
   else
a1=%{$fg[red]}$bg[black]}
   fi
   PROMPT=$a1
 
  Hey Dan!
 
  I can't find a list of what colors are available. Besides I doubt
  that mine are accounted for.
 
 There are only so many ways to combine 8 colors :)  From the manpage:
 
   colors This function initializes  several  associative  arrays  to  map
  color names to (and from) the ANSI standard eight-color terminal
  codes.  These are used by the prompt theme system  (see  above).
  You seldom should need to run colors more than once.
 
  The  eight  base  colors  are:  black, red, green, yellow, blue,
  magenta, cyan, and white.  Each of these  has  codes  for  fore-
  ground  and  background.   In addition there are eight intensity
  attributes: bold, faint, standout,  underline,  blink,  reverse,
  and  conceal.   Finally,  there  are  six  codes  used to negate
  attributes: none (reset all attributes to the defaults),  normal
  (neither  bold  nor faint), no-standout, no-underline, no-blink,
  and no-reverse.
 
  I'd be very grateful if you could at least try this prompt out so you
  know my request:
 
  PROMPT=$'%{\e[01;36m%}(%{\e[22;36m%}%n%{\e[01;30m%}@'
  PROMPT+=$'%{\e[22;36m%}%m%{\e[01;36m%})%{\e[01;36m%}%{\e[01;36m%}('
  PROMPT+=$'%{\e[22;36m%}%D{%H:%M}%{\e[01;30m%}+%{\e[22;36m%}%D{%d/%m}'
  PROMPT+=$'%{\e[01;36m%})%{\e[01;30m\e[00m%}\n%{\e[01;36m%}('
  PROMPT+=$'%{\e[22;36m%}%#%{\e[01;30m%}:%{\e[22;36m%}%~%{\e[01;36m%})'
  PROMPT+=$'%{\e[01;30m\e[00m%} '
 
 How about something like:
 
 autoload -U colors
 colors
 
 if [[ $USER == root ]] ; then
  c1=%{$fg_no_bold[cyan]%} # base color1
  c2=%{$fg_bold[cyan]%}# base color2
  c3=%{$fg_bold[black]%}   # punctuation
 else
  c1=%{$fg_no_bold[red]%} # base color1
  c2=%{$fg_bold[red]%}# base color2
  c3=%{$fg_bold[black]%}  # punctuation
 fi
 
 PROMPT=$c2([EMAIL PROTECTED])($c1%D{%H:%M}$c3+$c1%D{%d/%m}$c2)$'\n'
 PROMPT+=$c2($c1%#$c3:$c1%~$c2) %{$reset_color%}
 
 --
 Dan Nelson
 [EMAIL PROTECTED]

 Oh man! That is absolutely gorgeous!!!
 Thank you so much :)))

 My /etc/zshrc is now worth $10.000 (up from $7.000)

 Don't sell it on eBay you all: http://paste.husk.org/5717

 Just out of curiosity Dan, how does your prompt look like?

Mine's strictly functional.  User, host, path in left prompt; error
status in right prompt.  Within screen, I add the window number to the
left prompt and the datetime to the right prompt so I know how long
I've left a window idle.

if [[ $+WINDOW = 1  $TERM = screen* ]] ; then
  PROMPT=([EMAIL PROTECTED]) %B%/%(#/#/)%b 
  RPROMPT=%(?.. %B%?%b)%t %D{%m/%d}
else
  PROMPT=([EMAIL PROTECTED]) %B%/%(#/#/)%b 
  RPROMPT=%(?..%?)
fi

--
Dan Nelson
[EMAIL PROTECTED]


Hey Dan!

Your prompt is truly wonderful.
It inspired me to grow up, as far as my shell is concerned.

Based on your design, I came up with this:

if [[ `whoami` = root ]] then

a1=%{$fg_bold[red]%}
a2=%{$fg_no_bold[red]%}

else

a1=%{$fg_bold[cyan]%}
a2=%{$fg_no_bold[cyan]%}

fi

if [[ $+WINDOW = 1  $TERM = screen* ]] then

PROMPT=$a1([EMAIL PROTECTED]) [$WINDOW] $a2%~ %{$reset_color%} 
RPROMPT=%D{%H:%M} %D{%d/%m}

fi

PROMPT=$a1([EMAIL PROTECTED]) $a2%~ %{$reset_color%} 
RPROMPT=%D{%H:%M} %D{%d/%m}

And I think I'm keeping it like that.

Unless you have any suggestions on how to simply its setup?
It takes up a lot of lines, maybe it could shrink a little.

I hope you don't consider me stealing your design.
If that's the case I'll revert back to my old one.

It's kinda nice though, 

Tyan S5161 compatibility with freebsd ? (or alternatives?)

2006-05-19 Thread Gerald de la Pascua

Hi,  I looking to put together a system running a pentiumD
must have a 64 bit pci card for a 3ware raid card,
my supplier is suggesting a

Tyan S5161

does anyone have any experience with freebsd on this board,  ideally ACPI
would work,

what if I ditched the 3ware card,  has anyone run the onboard raid on this
card,  which drivers will it use?

I see this company are offering the mboard with pentiumD but freebsd is just
one of many operating systems mentioned,
http://www.fnordsystems.com/1u_fnord_60_product_page.shtml

Alternatively what do people suggest that works well with a pentiumD ?

thanks for any help in advance,


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


Re: Intel PRO/Wireless 3495

2006-05-19 Thread Fabian Keil
Matt Schwartz [EMAIL PROTECTED] wrote:

 Would someone be able to direct me to a good FAQ or howto on using ndis.

I'm not aware of any.

 Apparently, I need to use ndisulator to be able to use my Intel 3495 because
 neither the iwi or ipw drivers seem to work with it.

Most of the time it's enough to run ndisgen, follow it's instructions
and load the created module.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: Converting a zsh prompt to bash

2006-05-19 Thread Kyrre Nygard

At 22:48 18.05.2006, Dan Nelson wrote:


Mine's strictly functional.  User, host, path in left prompt; error
status in right prompt.  Within screen, I add the window number to the
left prompt and the datetime to the right prompt so I know how long
I've left a window idle.

if [[ $+WINDOW = 1  $TERM = screen* ]] ; then
  PROMPT=([EMAIL PROTECTED]) %B%/%(#/#/)%b 
  RPROMPT=%(?.. %B%?%b)%t %D{%m/%d}
else
  PROMPT=([EMAIL PROTECTED]) %B%/%(#/#/)%b 
  RPROMPT=%(?..%?)
fi

--
Dan Nelson
[EMAIL PROTECTED]


This is what I'm now going to settle with.

The screen function was really wicked. I've always felt lost
while I'm messing about my screens.

If you have any advice, please make them regarding this setup:

if [[ `whoami` = root ]] then

a1=%{$fg_bold[red]%}
a2=%{$fg_no_bold[red]%}

else

a1=%{$fg_bold[cyan]%}
a2=%{$fg_no_bold[cyan]%}

fi

PROMPT=$a1([EMAIL PROTECTED])$a2(%D{%d/%m}+%D{%H:%M})$'\n'
PROMPT+=$a2(%~) %{$reset_color%}

if [[ $+WINDOW = 1  $TERM = screen* ]] then

PROMPT=$a1([EMAIL PROTECTED])$a2($WINDOW)(%D{%d/%m}+%D{%H:%M})$'\n'
PROMPT+=$a2(%~) %{$reset_color%}

fi

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: Keyspan USB2Serial

2006-05-19 Thread Jason Lixfeld


On 18-May-06, at 11:55 PM, Norberto Meijome wrote:


On Thu, 18 May 2006 22:09:50 -0400
Jason Lixfeld [EMAIL PROTECTED] wrote:


Is this supported?

ugen seems to pick it up:

ugen0: vendor 0x06cd product 0x0118, rev 1.00/80.01, addr 2

$ grep 0x06cd /usr/src/sys/dev/usb/usbdevs
vendor KEYSPAN  0x06cd  Keyspan
$

But I can't seem to access it...


Do you have ucom device in your kernel?


Yup:

# egrep ugen|ucom /usr/src/sys/amd64/conf/RICKY
device  ugen# Generic
device  ucom
#


after you plug it in,  have you got any /dev/cua* ?


Only:

# ls -al /dev/cuad0
crw-rw  1 uucp  dialer0,  40 May 18 22:04 /dev/cuad0
#

But it is there regardless as to whether or not the adapter is  
plugged in.




Does/can it work?  If not, what vendor USB2Serial adapter do I need
to get?


I use one based on the Prolific PL2303 chipset, Comsol brand.

when plugged in I get:
May 19 13:41:05 ayiin kernel: ucom0: vendor 0x067b product 0x2303, rev
1.10/2.02, addr 3

and  gets added as /dev/cuaU0



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


Re: Converting a zsh prompt to bash

2006-05-19 Thread Thomas Dickey
 Hey Dan!
 
 Your prompt is truly wonderful.
 It inspired me to grow up, as far as my shell is concerned.

hmm - no: grownups use tput rather than hardcoding things.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpaAKCgMiHgm.pgp
Description: PGP signature


Acroread7

2006-05-19 Thread Angelin Lalev
Greetings, 

I've installed acrobat reader from /usr/ports/print/acroread7 and have 
some trouble with it. When I start it with acroread, it crashes with
message: 

/usr/X11R6/Adobe/Acrobat7.0/ENU/bin/acroread: /dev/null: Operation not
supported
/usr/X11R6/Adobe/Acrobat7.0/ENU/bin/acroread: /dev/null: Operation not
supported
ERROR: Cannot determine current directory.

Some additional info: 

$ kldstat |grep linux
 32 0xc1e69000 17000linux.ko

$ pkg_info|grep linux
linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, Linux binary
linux-atk-1.8.0_2   Accessibility Toolkit, Linux/i386 binary
linux-expat-1.95.7_1 Linux/i386 binary port of Expat XML-parsing library
linux-fontconfig-2.2.3_4 Linux/i386 binary of Fontconfig
linux-glib2-2.4.8_2 Version 2.X Linux/i386 binary port of GLib
linux-jpeg-6b.33_1  RPM of the JPEG lib
linux-png-1.2.8_1   RPM of the PNG lib
linux-tiff-3.6.1_6  TIFF library, Linux/i386 binary

$ mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1f on /home (ufs, local, soft-updates)
/dev/ad0s1g on /opt (ufs, NFS exported, local, soft-updates)
/dev/ad0s1d on /usr (ufs, local, soft-updates)
/dev/ad0s1e on /var (ufs, local, soft-updates)
/dev/acd0 on /cdrom (cd9660, local, read-only)
linprocfs on /usr/compat/linux/proc (linprocfs, local)

$ uname -a
FreeBSD fence 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Tue May  9 16:19:07
EEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FENCE  i386

$ ls -l /usr/ports/UPDATING
-rw-r--r--  1 root  wheel  130397 May 17 21:36 /usr/ports/UPDATING

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


Re: Skype

2006-05-19 Thread Adi Pircalabu
On Fri, 19 May 2006 11:15:20 +1000 Norberto Meijome wrote:

  Same here, no result for pkg_info -O. Though, they are part of
  linux-XFree86-libs
 
 man pkg_info - you are using the wrong params
 
 use  pkg_info -W to determine the package owning a file:

[...]

 $ pkg_info -W /compat/linux/usr/X11R6/lib/libXft.so.2
 /compat/linux/usr/X11R6/lib/libXft.so.2 was installed by package
 linux-XFree86-libs-4.3.99.902_7

Good correction, thanks!

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

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


Re: Hacked Web Site

2006-05-19 Thread Daniel A.

Don O'Neil wrote:

A customer of mine recently had their web site hacked and the index file
defaced by Milli-Harekat...

http://www.zone-h.org/en/search/what=Milli-Harekat.Org/

Does anyone know the exploit used for this and where to find out about
fixing it? I have a feeling it's a brute force attack of some sort, but I
can't find anything.

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

Hi Don,
Please look in your auth.log (Usually in /var/log) to check for recent 
failed log attempts, and your httpd-*.log (Usually /var/log unless 
specified otherwise in your httpd.conf files)
If you find something suspicious, please paste the relevant lines. I 
suggest *not* attaching the entire log files, as they may contain 
sensitive data in form of IP addresses and valid usernames.

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


Re: how to change roots shell

2006-05-19 Thread Andy Greenwood

how is he supposed to complete step one? Single-user mode is going to
be the best way to get this fixed, IMHO

On 5/18/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Login as root, type vipw hich puts you into  vi  on thwe password file, and 
change the root's shell to whatever you want (provided the path is legal).

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


Acroread7

2006-05-19 Thread Robert Huff
Angelin Lalev writes:

  $ pkg_info|grep linux
  linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, Linux binary
  linux-atk-1.8.0_2   Accessibility Toolkit, Linux/i386 binary
  linux-expat-1.95.7_1 Linux/i386 binary port of Expat XML-parsing library
  linux-fontconfig-2.2.3_4 Linux/i386 binary of Fontconfig
  linux-glib2-2.4.8_2 Version 2.X Linux/i386 binary port of GLib
  linux-jpeg-6b.33_1  RPM of the JPEG lib
  linux-png-1.2.8_1   RPM of the PNG lib
  linux-tiff-3.6.1_6  TIFF library, Linux/i386 binary

Shouldn't there be a linux_base-something in this list?
And how did you these installed without linux_base-something
being pulled in as a dependency?


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


Trouble with rc.conf

2006-05-19 Thread Philip Radford
Hi All,

I have a FreeBSD 5.3 box on which I have been adding references to autostart 
various daemons in /etc/rc.conf - apache, mysql, openvpn etc...

The daemons have suddenly stopped auto-starting and after each physical restart 
of the server I have to manually run these daemons via their .sh files in 
/etc/local/rc.d.

Can anyone offer an explanation or guide me as to where to look to figure out 
what is going on.

Regards
Phil

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


named always binds to *

2006-05-19 Thread Andy Greenwood

I'm trying to set up my first jail, and I've got the below named.conf.
However, even with the query-source line below, it always binds to the
wildcard address! Anyone seen this behavior before and what can I do
to fix it?

// Specify the subnets we're going to serve
acl homenet { 192.168.0.0/16; } ;
options {
directory /etc/namedb;
allow-query { homenet; };
listen-on { 192.168.1.1; };
query-source address 192.168.1.1;
};
// Provide reverse mapping for the loopback IP
zone 0.0.127.in-addr.arpa {
type master;
file localhost.rev;
notify no;
};

When I execute named -u bind -fg I get this
[EMAIL PROTECTED] ~]$ named -u bind -fg
19-May-2006 08:28:11.570 starting BIND 9.3.1 -u bind -fg
19-May-2006 08:28:11.583 loading configuration from '/etc/namedb/named.conf'
19-May-2006 08:28:11.586 listening on IPv4 interface dc1, 192.168.1.1#53
19-May-2006 08:28:11.591 none:0: open: /etc/namedb/rndc.key: file not found
19-May-2006 08:28:11.592 couldn't add command channel 127.0.0.1#953:
file not found
19-May-2006 08:28:11.592 none:0: open: /etc/namedb/rndc.key: file not found
19-May-2006 08:28:11.592 couldn't add command channel ::1#953: file not found
19-May-2006 08:28:11.592 ignoring config file logging statement due to -g option
19-May-2006 08:28:11.594 zone 0.0.127.in-addr.arpa/IN: loading master
file localhost.rev: file not found
19-May-2006 08:28:11.596 running
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: named always binds to *

2006-05-19 Thread Fremlins

Andy Greenwood wrote:

I'm trying to set up my first jail, and I've got the below named.conf.
However, even with the query-source line below, it always binds to the
wildcard address! Anyone seen this behavior before and what can I do
to fix it?


Yes, add the following under options:

  listen-on port 53 { 192.168.1.1; };


// Specify the subnets we're going to serve
acl homenet { 192.168.0.0/16; } ;
options {
directory /etc/namedb;
allow-query { homenet; };
listen-on { 192.168.1.1; };
query-source address 192.168.1.1;
};


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


Re: Keyspan USB2Serial

2006-05-19 Thread David Robillard

On Thu, 18 May 2006 22:09:50 -0400
Jason Lixfeld [EMAIL PROTECTED] wrote:
Do you have ucom device in your kernel?

Yup:

# egrep ugen|ucom /usr/src/sys/amd64/conf/RICKY
device  ugen# Generic
device  ucom
#

after you plug it in,  have you got any /dev/cua* ?

Only:

# ls -al /dev/cuad0
crw-rw  1 uucp  dialer0,  40 May 18 22:04 /dev/cuad0
#

But it is there regardless as to whether or not the adapter is plugged in.


Hi Jason,

Be careful, because the first adapter I received was actually faulty.
The light would go on and the device would show up in my USB device
tree. But it would not work. After a few talks with Keyspan's support,
they had to send me a new one for it to work. The whole process was
free of charge.

I would suggest you try the adapter on a MacOS X or Windows machine
along with the software that shipped with it just to make sure it
behaves as intended. Assuming you do have a Mac or a Win machine handy
of course.

FYI: I use this adapter on MacOS X laptop to access the console of
FreeBSD, RedHat and Sun Microsystems machine. It works like a charm.

Good luck,

David

--
David Robillard
UNIX systems administrator
CISSP
Sun Certified Security Admin
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: named always binds to *

2006-05-19 Thread Freminlins

Oh, sorry. You already have that. It should work. It does for me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: named always binds to *

2006-05-19 Thread Andy Greenwood

that didn't do it. I meant to include this with my first post, but
forgot to. I just now noticed that it's udp6, not udp4, so I'm
recompiling with --disable-ipv6

[EMAIL PROTECTED] ~]$ sockstat | grep \*:[0-9]
bind named  89293 23 udp6   *:58084   *:*

On 5/19/06, Fremlins [EMAIL PROTECTED] wrote:

Andy Greenwood wrote:
 I'm trying to set up my first jail, and I've got the below named.conf.
 However, even with the query-source line below, it always binds to the
 wildcard address! Anyone seen this behavior before and what can I do
 to fix it?

Yes, add the following under options:

   listen-on port 53 { 192.168.1.1; };

 // Specify the subnets we're going to serve
 acl homenet { 192.168.0.0/16; } ;
 options {
 directory /etc/namedb;
 allow-query { homenet; };
 listen-on { 192.168.1.1; };
 query-source address 192.168.1.1;
 };

Frem.


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


Re: Firewall Speed

2006-05-19 Thread Josh Paetzel
On Thursday 18 May 2006 14:48, Chad Leigh -- Shire.Net LLC wrote:
 On May 18, 2006, at 12:39 PM, Giorgos Keramidas wrote:
  On 2006-05-18 11:03, bc [EMAIL PROTECTED] wrote:
  I want to run 6.1_RELEASE with Packet Filter(PF) configured as
  a gateway using 2 identical 10/100 nics, on an old 450mhz
  pentium with 256 meg ram and an 8 gig HD.
 
  In general, should I expect any speed performance issues with
  internet access base on the processor, ram and bus speeds of
  the MB?  Would the PF config cause any speed performance
  deficiencies?
 
  I had same setup as above but with IPF firewall and received
  complaints about surfing speed so I put them back on a Linksys
  router firewall.
 
  We'd have to see the ruleset to be able to reply in an informed
  manner.  I have seen firewalls doing both filtering  NAT on a
  system, with almost no overhead at all though.
 
  This top output:
 
  http://keramida.serverhive.com/pixelshow-top.txt
 
  shows that a FreeBSD 5.X system with 256 MB of physical memory is
  happily filtering the traffic and doing NAT for more than 100
  users, while still being 97% idle.

 I would think it is more than CPU speed.  The speed of the PCI bus
 and the speed and efficiency of the two network cards being used
 and their drivers may have a bit to do with latency (surfing
 speed)...

 Just a guess
 Chad


I had a dual pentium 100 with 96 megs of RAM that did ipf/ipnat for a 
10mbps connection with a couple dozen users.  CPU usage was usually 
around 1% and load averages .03 or so.  Latency and throughput were 
both acceptable.

The only reason I replaced the box was it was a single point of 
failure and the hardware was old enough that I was afraid there would 
be some sort of show stopper breakdown.

-- 
Thanks,

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


Re: Trouble with rc.conf

2006-05-19 Thread Jerry McAllister
 
 Hi All,
 
 I have a FreeBSD 5.3 box on which I have been adding references to 
 autostart various daemons in /etc/rc.conf - apache, mysql, openvpn etc...

What exactly are you putting in to rc.conf?
Do you mean stuff like:   moused_enable=YES
or are they executable commands.
What goes in rc.conf is setting variables that are checked by 
startup processes.

 The daemons have suddenly stopped auto-starting and after each physical 
 restart of the server I have to manually run these daemons via 
 their .sh files in /etc/local/rc.d.

Have you checked log files to see if they attempted to start and
if they put out any error messages?   Without that, it is hard
to tell anything.   For example, apache start will fail if a NIC
binding it expects is not there. It puts a message in /var/log/messages
and gives up.   Others generaly log an error message somewhere.

 Can anyone offer an explanation or guide me as to where to look to 
 figure out what is going on.

Maybe, after you get more information.

jerry

 
 Regards
 Phil
 
 ___
 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: Hacked Web Site

2006-05-19 Thread Kevin Kinsey

Don O'Neil wrote:

A customer of mine recently had their web site hacked and the index file
defaced by Milli-Harekat...

http://www.zone-h.org/en/search/what=Milli-Harekat.Org/

Does anyone know the exploit used for this and where to find out about
fixing it? I have a feeling it's a brute force attack of some sort, but I
can't find anything.



What makes you think it was a BF attack?  IANAE, but looking over
a list of exploits, I see a fairly large number against PHP pages
and the like, including what appears to be HTML URI injection by means
of a semicolon and HTTP 'meta-refresh' tag; so, I'd starting looking
for insecure server-side scripting, especially in the absence of any
evidence of compromise of the machine itself.

Of course, compromise of the machine itself is a whole 'nother
ball of wax.  You've my sympathies either way.

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

2006-05-19 Thread Angelin Lalev
On Fri, 19 May 2006 08:03:08 -0400
Robert Huff [EMAIL PROTECTED] wrote:

 Angelin Lalev writes:
 
   $ pkg_info|grep linux
   linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, Linux binary
   linux-atk-1.8.0_2   Accessibility Toolkit, Linux/i386 binary
   linux-expat-1.95.7_1 Linux/i386 binary port of Expat XML-parsing
  library linux-fontconfig-2.2.3_4 Linux/i386 binary of Fontconfig
   linux-glib2-2.4.8_2 Version 2.X Linux/i386 binary port of GLib
   linux-jpeg-6b.33_1  RPM of the JPEG lib
   linux-png-1.2.8_1   RPM of the PNG lib
   linux-tiff-3.6.1_6  TIFF library, Linux/i386 binary
 
   Shouldn't there be a linux_base-something in this list?
   And how did you these installed without linux_base-something
 being pulled in as a dependency?
 
 
   Robert Huff
Thanks for the competent response!

I should have mentioned this on the first mail, because the 
approach I used is not exactly right. (Guilty).

I went into /usr/ports/print/acroread7 and typed
'make fetch-recursive' and then 'make install'. 

'make install' failed two or three times but i rather laysily 
just restarted it and it continiued. I didn't even look at the 
make output. 

I guess I must clean that mess and try again. 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firewall Speed

2006-05-19 Thread Alexandre Biancalana

I have a Pentium III 600Mhz 720MB Ram running FreeBSD 4.10 with
IPFW+Nat+Squid+Qmail with Clamav+dnscache, routing 4 internal networks
(around 500 users), 3x 2Mbit/s links and a 1Mb internet link. Everything
works perfect !!

I will change the machine by the same problem that Josh said.

Regards,

Alexandre

On 5/19/06, Josh Paetzel [EMAIL PROTECTED] wrote:


On Thursday 18 May 2006 14:48, Chad Leigh -- Shire.Net LLC wrote:
 On May 18, 2006, at 12:39 PM, Giorgos Keramidas wrote:
  On 2006-05-18 11:03, bc [EMAIL PROTECTED] wrote:
  I want to run 6.1_RELEASE with Packet Filter(PF) configured as
  a gateway using 2 identical 10/100 nics, on an old 450mhz
  pentium with 256 meg ram and an 8 gig HD.
 
  In general, should I expect any speed performance issues with
  internet access base on the processor, ram and bus speeds of
  the MB?  Would the PF config cause any speed performance
  deficiencies?
 
  I had same setup as above but with IPF firewall and received
  complaints about surfing speed so I put them back on a Linksys
  router firewall.
 
  We'd have to see the ruleset to be able to reply in an informed
  manner.  I have seen firewalls doing both filtering  NAT on a
  system, with almost no overhead at all though.
 
  This top output:
 
  http://keramida.serverhive.com/pixelshow-top.txt
 
  shows that a FreeBSD 5.X system with 256 MB of physical memory is
  happily filtering the traffic and doing NAT for more than 100
  users, while still being 97% idle.

 I would think it is more than CPU speed.  The speed of the PCI bus
 and the speed and efficiency of the two network cards being used
 and their drivers may have a bit to do with latency (surfing
 speed)...

 Just a guess
 Chad


I had a dual pentium 100 with 96 megs of RAM that did ipf/ipnat for a
10mbps connection with a couple dozen users.  CPU usage was usually
around 1% and load averages .03 or so.  Latency and throughput were
both acceptable.

The only reason I replaced the box was it was a single point of
failure and the hardware was old enough that I was afraid there would
be some sort of show stopper breakdown.

--
Thanks,

Josh Paetzel
___
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: Which xorg driver/setup to use to get all the buttons for a Logitech MX518

2006-05-19 Thread Jim Stapleton

Ahh! Thanks!

Which port would you recommend for xorg7? It's not in devel or x11. I
have 6.9 running now, and the install did go smoothly, so I'm willing
to try a 7 install.

Having all of these buttons work properly is probably the last step I
would need to make a full and confortable switch completely from
Windows to BSD :-)

thanks,
-Jim

On 5/19/06, Marshall Pierce [EMAIL PROTECTED] wrote:

Jim,
I was catching up on my freebsd lists, and saw this... Note that you
can't use evdev unless you're using Xorg 7, as far as I know. Once
you're
on xorg7, you can use evdev as the driver for your mouse, and things
Should
Just Work. See this guide: http://floam.sh.nu/guides/mx1000

HTH,
Marshall

On Mar 31, 2006, at 8:14 PM, Jim Stapleton wrote:

 I have IMWheel installed and setup, and below is the mouse setting for
 my xorg.conf file, however. Buttons 1-7 work just perfectly, however,
 8 mimics the wheel-down, and 9 and 10 refuse to do anything, no
 matther what I do with imwheel or the utility that lets me remap the
 buttons

 Oh, and I was wrong in an earlier post, it isn't the driver that they
 posted and I couldn't use, it was the protocol (ignore my terminology,
 and not the sample mouse-config part with evdev in it).

 current mouse section of xorg.conf
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol auto
 Option  Device   /dev/sysmouse
 Option  Buttons  10
 Option  ZAxisMapping 4 5
 EndSection
 

 ~/.imwheelrc
 
   none, Thumb1, Alt_R|Left
   none, Thumb2, Alt_R|Right
   none, Left, Alt_R|Left
   none, Right, Alt_R|Right
 

 ~/.xsession and ~/.xinitrc
 
 exec startkde
 imwheel -k -b 6789 
 


 I've tried using every variant of xmodmap that I could to alter the
 mapping of 6-10, however, nothing gets buttons other than 6 and 7 to
 work properly, and one of the others (I suspect it's 8) to mimic a
 completely different button. Unfortunately, button 7 is the only
 button that I don't like usin gon this mouse (hard to twist my hand to
 press it).

 By not work properly, I mean that in any mapping other than the
 default, (except reversing 6 and 7) with xmodmap, the buttons either
 do nothing (normally), or act in a manner not previously specifice
 (usually by mimicking a scroll up or down button). Mapping 9 and 10
 into the place of 6 and 7 (i.e. ' xmodmap -e pointer = 1 2 3 4 5 9 10
 8 6 7 ' or ' xmodmap -e pointer = 1 2 3 4 5 9 10 6 7 8 ') ensures
 that no buttons beyond 5 work.

 I strongly suspect that signals from buttons 8-10 aren't reaching the
 software that handles them properly. 8 is either being misread or sent
 wrong, 9 and 10 appear to simply be dropped.

 Thanks,
 -Jim





 On 3/31/06, Garrett Cooper [EMAIL PROTECTED] wrote:
 Jim Stapleton wrote:

 Aye, it's got a lot of buttons, and I've tried transferring
 several of
 the config settings, however, none of the drivers they pointed to
 seem
 to exist in BSD, and they also pointed to devices, again nonexistant
 in bsd.

 example, one involves the following:

 Option Device /dev/input/event1
 Option Protocol evdev


 If I try to use evdev, x refuses to start, and says said module does
 not exist in the log file. The other variants I've seen have similar
 modules that I can't find and won't load.

 Thanks,
 -Jim



 On 3/31/06, Norberto Meijome [EMAIL PROTECTED] wrote:


 On Fri, 31 Mar 2006 13:13:49 -0500
 Jim Stapleton [EMAIL PROTECTED] wrote:



 I've googled the problem in general, tried looking around xorg and
 this site, but I couldn't find any useful information on
 getting my
 MX518 working with all of it's buttons in BSD (were I to downgrade
 back to Linux, I could, but I'd rather not do that, ports is
 much more
 useful than the extra three buttons).


 Hey Jim
 i suppose this is a logitech mouse with lots of buttons? if you
 know it
 works with linux, why not transfer the config from linux to
 freebsd? (u
 dont need to install anything, just try knoppix). It should work
 out of
 the box (I believe moused is same across platforms, and xorg
 shouldn't
 worry too much about what OS it's being used under).

 otherwise, have u read man moused ?

 beto

 Many people in Linux (at least), use imwheel for utilizing all
 mouse
 buttons on their mice, unless they use an internal X program to
 set the
 values for 'key strokes' obtained from the mouse by themselves
 (kind of
 a royal pain, if you ask me). Try searching for imwheel gentoo on
 google if imwheel's included in ports (don't have my FreeBSD
 machine in
 front of me right now to verify).
 Also, if you're looking for the codes for your mouse's
 buttons, try
 using xev.
 -Garrett
 ___
 

RE: /bin/sh: wildcard expansion fails

2006-05-19 Thread [EMAIL PROTECTED]@mgedv.net
 Incidentally, it is operating as documented (pathname expansion isn't
 listed as performed on redirection targets), and explicitly allowed by
 the POSIX standard.

but /bin/sh could accept *txt until there's more than one file matching
after expansion. if that's the case, an error like *blabla: invalid
argument
could be raised.

not that i see this as a real problem, it's just a convenience-thing ;-)


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


Re: stable-supfile: correct tag

2006-05-19 Thread RW
On Thursday 18 May 2006 00:33, Gerard Seibert wrote:
 On a fresh installation of FSBD 6.1 stable, the 'stable-supfile' has
 this:

 *default release=cvs tag=RELENG_6

 shouldn't it be this:

 *default release=cvs tag=RELENG_6_1

 I am always getting confused with what is the correct entry to use.

Are you sure you really want stable?

RELENG_6 is a STABLE branch  i.e. a stable *development* branch

RELENG_6_1 is a security branch, i.e it's the 6.1 release plus bug fixes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Keyspan USB2Serial

2006-05-19 Thread Atom Powers

I have a KeySpan  model USA-19HS that I use with my OS X laptop; but
my FreeBSD desktop is currently being rebuilt, so I can't test it
there. I don't see any reason why it shouldn't work.

I purchased this adapter because it was the only one I saw that had OS
X and Linux support advertised on the box and support pages on their
site.

--
--
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: kernel module for ipf

2006-05-19 Thread Michael P. Soulier

On 5/18/06, Giorgos Keramidas [EMAIL PROTECTED] wrote:

 Yes, this should be in the handbook.

I'll try to add it :)


Let me know if you want a hand. I'm happy to help with that.

Mike

--
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Loop in cmath

2006-05-19 Thread Andrea Venturoli

Hello.

This is on a 5.4p13 i386 box; from /usr/include/c++/3.4/cmath:

...
#if _GLIBCXX_USE_C99_MATH
#if !_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC
namespace __gnu_cxx
{
...
  templatetypename _Tp
int
__capture_isnan(_Tp __f) { return isnan(__f); }
...
}
...
#undef isnan
...
#endif /* _GLIBCXX_USE_C99_FP_MACROS_DYNAMIC */
#endif

#if _GLIBCXX_USE_C99_MATH
#if !_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC
namespace __gnu_cxx
{
...
  templatetypename _Tp
int
isnan(_Tp __f) { return __capture_isnan(__f); }
...
}

namespace std
{
...
  using __gnu_cxx::isnan;
}
#endif /* _GLIBCXX_USE_C99_FP_MACROS_DYNAMIC */
#endif





This results in any call to std::isnan looping thorugh the two above 
functions.


Is this a bug? Should any macro be defined to avoid this?

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


Resolved: Acroread7

2006-05-19 Thread Angelin Lalev
On Fri, 19 May 2006 16:40:25 +0300
Angelin Lalev [EMAIL PROTECTED] wrote:

 On Fri, 19 May 2006 08:03:08 -0400
 Robert Huff [EMAIL PROTECTED] wrote:
 
  Angelin Lalev writes:
  
$ pkg_info|grep linux
linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, Linux binary
linux-atk-1.8.0_2   Accessibility Toolkit, Linux/i386 binary
linux-expat-1.95.7_1 Linux/i386 binary port of Expat XML-parsing
   library linux-fontconfig-2.2.3_4 Linux/i386 binary of Fontconfig
linux-glib2-2.4.8_2 Version 2.X Linux/i386 binary port of GLib
linux-jpeg-6b.33_1  RPM of the JPEG lib
linux-png-1.2.8_1   RPM of the PNG lib
linux-tiff-3.6.1_6  TIFF library, Linux/i386 binary
  
  Shouldn't there be a linux_base-something in this list?
  And how did you these installed without
  linux_base-something being pulled in as a dependency?
  
  
  Robert Huff
 Thanks for the competent response!
 
 I should have mentioned this on the first mail, because the 
 approach I used is not exactly right. (Guilty).
 
 I went into /usr/ports/print/acroread7 and typed
 'make fetch-recursive' and then 'make install'. 
 
 'make install' failed two or three times but i rather laysily 
 just restarted it and it continiued. I didn't even look at the 
 make output. 
 
 I guess I must clean that mess and try again. 
  
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
The problem is caused by very weird mess-up of linux-base. I have
questions about it and will repost it under appropriate topcic. 
Thanks again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Second if_ed Device

2006-05-19 Thread Cy Schubert
Is there any way to enable a second ISA ed device, as in ed1 under 6.1? I 
have two SMC 3c509-combo cards in the same machine. My device.hints file 
contains:

hint.ed.0.at=isa
hint.ed.0.disabled=0
hint.ed.0.port=0x280
hint.ed.0.irq=10
hint.ed.0.maddr=0xd8000
hint.ed.1.at=isa
hint.ed.1.disabled=0
hint.ed.1.port=0x240
hint.ed.1.irq=5
hint.ed.1.maddr=0xd4000

It only sees the first device and when I do bring it online to use it the 
system panics. I do recall having this problem a few years ago however I 
did replace the device with a PCI version. (Of course a system here with 
two PCI versions of the if_ed card works fine.) The last time this worked 
was under 4.X (or was it 3.x, it's been so long I can't remember) using:

device  ed0 at isa? port 0x280 irq 10 iomem 0xd8000
device  ed1 at isa? port 0x240 irq 5  iomem 0xd4000

Any ideas?



-- 
Cheers,
Cy Schubert [EMAIL PROTECTED]
FreeBSD UNIX:  [EMAIL PROTECTED]   Web:  http://www.FreeBSD.org

e**(i*pi)+1=0


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


How to install freebsd6 on alpha server ?

2006-05-19 Thread Halid Faith
Hello

I could not install Freebsd6 to a compaq alpha server. 
in fact I had installed freebsd4.4 before the same machine.
But this time I got an error as below at the beginning ;

fatal kernel trap
memory management fault.

after above error message, the server goes reboot.

Does anyone has any advice ?

Thanks 


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


(no subject)

2006-05-19 Thread Cy Schubert
Cheers,
Cy Schubert [EMAIL PROTECTED]
FreeBSD UNIX:  [EMAIL PROTECTED]   Web:  http://www.FreeBSD.org

e**(i*pi)+1=0

cc: 
Fcc:  note
Subject: Second if_ed Device (fwd)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

That should be an Elite-16 which is based on the WD8013 chip. I have so 
much old hardware here I really should get rid of it.




--- Forwarded Message

Date:Fri, 19 May 2006 08:29:45 -0700
From:Cy Schubert [EMAIL PROTECTED]
To:  freebsd-questions@freebsd.org
Subject: Second if_ed Device

Is there any way to enable a second ISA ed device, as in ed1 under 6.1? I 
have two SMC 3c509-combo cards in the same machine. My device.hints file 
contains:

hint.ed.0.at=isa
hint.ed.0.disabled=0
hint.ed.0.port=0x280
hint.ed.0.irq=10
hint.ed.0.maddr=0xd8000
hint.ed.1.at=isa
hint.ed.1.disabled=0
hint.ed.1.port=0x240
hint.ed.1.irq=5
hint.ed.1.maddr=0xd4000

It only sees the first device and when I do bring it online to use it the 
system panics. I do recall having this problem a few years ago however I 
did replace the device with a PCI version. (Of course a system here with 
two PCI versions of the if_ed card works fine.) The last time this worked 
was under 4.X (or was it 3.x, it's been so long I can't remember) using:

device  ed0 at isa? port 0x280 irq 10 iomem 0xd8000
device  ed1 at isa? port 0x240 irq 5  iomem 0xd4000

Any ideas?



- -- 
Cheers,
Cy Schubert [EMAIL PROTECTED]
FreeBSD UNIX:  [EMAIL PROTECTED]   Web:  http://www.FreeBSD.org

e**(i*pi)+1=0



--- End of Forwarded Message



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


6.1 on Thinkpad T42p

2006-05-19 Thread doug
I just installed 6.1 on this laptop. The 6.0R notes point to the ipw driver
which works with my system out of the box. You have to install a port and
download the firmware from the indicated site. This all works seamlessly with
dual booting, I have the XP pro from IBM on another partition. If you are just
installing the 6.1 the release notes/hardware list do not yet mention new drives
added in 6.0R

My question is about ACPI.  Has anyone got this going, in theory sleep states
3,4,5 are supported. I can sleep fine, resuming requires a reboot. I am going
to walk the ACPI instructions but any pointers would be greatly appreciated.


Doug

_
Douglas Denault
http://www.safeport.com
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing gdm themes?

2006-05-19 Thread Angelin Lalev
On Thu, 18 May 2006 19:18:25 -0400
Lowell Gilbert [EMAIL PROTECTED] wrote:

 Angelin Lalev [EMAIL PROTECTED] writes:
 
  gdmsetup binary seem to miss from the last gnome gdm port.
 
 Look in /usr/X11R6/sbin.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
There it is. Thanks. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


upgrading from 6.0release to 6.1release

2006-05-19 Thread Jonathan Graham

quick question, is the appropriate method of upgrading as follows:

- make 3 floppies (boot, kern1, kern2) from the new version's tree
- reboot from the floppies
- follow the sysinstall's upgrade path?

This isn't explicitly stated in the 
http://www.freebsd.org/releases/6.1R/installation-i386.html;, but I 
think this is the procedure that's alluded to.  I've never updated 
before and I'm thinking this might be a good weekend for it.

Thanx,
-Jon

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


:::. Sendmail on FreeBSD - Deferred: Operation timed out with server

2006-05-19 Thread Mikhail Goriachev
Hi,

Sendmail and I aren't getting along well. I got this FreeBSD
6.0-RELEASE-p7 box doing SMTP work for me. Everything is fine, but a few
domains give me headaches with Deferred: Operation timed out with
server here errors. One domain in particular I'm trying to get to
work is hospitaldeninos.cl

$ host hospitaldeninos.cl
hospitaldeninos.cl has address 200.31.44.1
mail is handled by 4 nt_sql_server2.hospitaldeninos.cl.
mail is handled by 5 mail.hospitaldeninos.cl.

Whenever I try to send anything to that domain I just get the following
in my logs:

[...] delay=01:00:57, xdelay=00:01:15, mailer=esmtp, pri=210425,
relay=mail.hospitaldeninos.cl. [200.29.150.146], dsn=4.0.0,
stat=Deferred: Operation timed out with mail.hospitaldeninos.cl.

$sendmail -q -v
[EMAIL PROTECTED]... Connecting to
nt_sql_server2.hospitaldeninos.cl. via esmtp...
[EMAIL PROTECTED]... Connecting to mail.hospitaldeninos.cl. via
esmtp...
[EMAIL PROTECTED]... Deferred: Operation timed out with
mail.hospitaldeninos.cl.

Now, I've tried so many things. I put

define(`confBIND_OPTS', `WorkAroundBroken')dnl

as suggested in some lists into my mc file. I even installed
/usr/ports/mail/sendmail just in case there was a problem with the stock
one as found 5 years ago
(http://freebsd.rambler.ru/bsdmail/freebsd-stable_2001/msg14611.html).
I've made my way through all possible mailing-lists on the Internet. I
compiled, recompiled sendmail who knows how many times with different
knobs inside /etc/make.conf. I even ruined my DNS for a few hours trying
to fix... something.

A few days ago, after I ran out of all possible options I could come up
with, I tested my OpenBSD 3.8 box with stock sendmail. The test was
successful right away. I'm able to send all e-mails including those ones
to hospitaldeninos.cl without problems.

So my problem is that the OpenBSD and the FreeBSD box in question sit
behind the same NAT connection. The OpenBSD can send e-mails to
hospitaldeninos.cl but FreeBSD gets deferred and stuck. I guess this
experiment rules out all possibilities that I'm being
blacklisted/probed/checked/whatever. So SMART_HOST isn't my remedy just yet.

I compared (with diff) most of the sendmail's config files (mc, m4, cf)
on both machines. No success in seeing any real difference. They both
run sendmail v8.13.4. I even tried to use my other boxes loaded with
5.3-RELEASE-p29  with sendmail 8.13.1. No success whatsoever. I'm
pulling my hair out.

This is what I get on OpepBSD's log:

[...] delay=00:00:04, xdelay=00:00:04, mailer=esmtp, pri=30905,
relay=nt_sql_server2.hospitaldeninos.cl. [200.29.150.147], dsn=2.0.0,
stat=Sent (M2006051714123500106 Message accepted for delivery)

So by comparing the logs, FreeBSD insists on using
mail.hospitaldeninos.cl (MX 5) and fails. On the other hand, OpenBSD
uses nt_sql_server2.hospitaldeninos.cl (MX 4) and succeeds.

Has anyone seen this kind of weirdness? Any ideas on how to fix it? This
is driving me nuts.

Thanks in advance.

Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Openldap problem

2006-05-19 Thread Mahlon E. Smith
On Thu, May 18, 2006, Darryl Hoar wrote:

 [...]

 suffix  dc=osborneinternal, dc=com
 rootdn  cn=Manager, dc=osborneinternal, dc=com
 rootpw secret

 [...]
 
 when I try to do a :
 
 mailman# ldapadd -D 'dc=osborneinternal, dc=com' -f directory.ldif -W
 the system prompts
 Enter LDAP Password:
 I type in my password exactly as it is in the slapd.conf.  So in the above
 slapd.conf it would be the password secret without quotes.  No, its not
 really the word
 secret, and yes its internal so its intended to be a clear text password.

 The system replies with :
 ldap_bind: Invalid credentials
 
 how the heck do I get this to work ?



You aren't using the rootdn specified in the above configuration.

If you want to auth against your rootdn, the correct command line would
be:

% ldapadd -xWD 'cn=Manager,dc=osborneinternal,dc=com'  directory.ldif

--
Mahlon E. Smith  
[EMAIL PROTECTED] | http://www.martini.nu/


pgpMlbvmRe7xw.pgp
Description: PGP signature


Re: Keyspan USB2Serial

2006-05-19 Thread Jason Lixfeld


On 19-May-06, at 8:58 AM, David Robillard wrote:


On Thu, 18 May 2006 22:09:50 -0400
Jason Lixfeld [EMAIL PROTECTED] wrote:
Do you have ucom device in your kernel?

Yup:

# egrep ugen|ucom /usr/src/sys/amd64/conf/RICKY
device  ugen# Generic
device  ucom
#

after you plug it in,  have you got any /dev/cua* ?

Only:

# ls -al /dev/cuad0
crw-rw  1 uucp  dialer0,  40 May 18 22:04 /dev/cuad0
#

But it is there regardless as to whether or not the adapter is  
plugged in.


Hi Jason,

Be careful, because the first adapter I received was actually faulty.
The light would go on and the device would show up in my USB device
tree. But it would not work. After a few talks with Keyspan's support,
they had to send me a new one for it to work. The whole process was
free of charge.

I would suggest you try the adapter on a MacOS X or Windows machine
along with the software that shipped with it just to make sure it
behaves as intended. Assuming you do have a Mac or a Win machine handy
of course.


I've had this adapter for years and it works fine in Mac OS X.  I  
just tested it in another identical machine running Gentoo with a 2.6  
kernel and it works fine there too.


I can freely move it between Mac OS X and Linux without issue, but as  
soon as I move it back to FreeBSD, it goes dead again.


It's not the USB ports because I can connect a USB keyboard and/or  
mouse into any of the other USB ports on that machine and they work  
fine.



FYI: I use this adapter on MacOS X laptop to access the console of
FreeBSD, RedHat and Sun Microsystems machine. It works like a charm.

Good luck,

David

--
David Robillard
UNIX systems administrator
CISSP
Sun Certified Security Admin
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: Keyspan USB2Serial

2006-05-19 Thread Jason Lixfeld

Oh, and incase it matters..  It's a USA-19QW.

On 19-May-06, at 12:49 PM, Jason Lixfeld wrote:



On 19-May-06, at 8:58 AM, David Robillard wrote:


On Thu, 18 May 2006 22:09:50 -0400
Jason Lixfeld [EMAIL PROTECTED] wrote:
Do you have ucom device in your kernel?

Yup:

# egrep ugen|ucom /usr/src/sys/amd64/conf/RICKY
device  ugen# Generic
device  ucom
#

after you plug it in,  have you got any /dev/cua* ?

Only:

# ls -al /dev/cuad0
crw-rw  1 uucp  dialer0,  40 May 18 22:04 /dev/cuad0
#

But it is there regardless as to whether or not the adapter is  
plugged in.


Hi Jason,

Be careful, because the first adapter I received was actually faulty.
The light would go on and the device would show up in my USB device
tree. But it would not work. After a few talks with Keyspan's  
support,

they had to send me a new one for it to work. The whole process was
free of charge.

I would suggest you try the adapter on a MacOS X or Windows machine
along with the software that shipped with it just to make sure it
behaves as intended. Assuming you do have a Mac or a Win machine  
handy

of course.


I've had this adapter for years and it works fine in Mac OS X.  I  
just tested it in another identical machine running Gentoo with a  
2.6 kernel and it works fine there too.


I can freely move it between Mac OS X and Linux without issue, but  
as soon as I move it back to FreeBSD, it goes dead again.


It's not the USB ports because I can connect a USB keyboard and/or  
mouse into any of the other USB ports on that machine and they work  
fine.



FYI: I use this adapter on MacOS X laptop to access the console of
FreeBSD, RedHat and Sun Microsystems machine. It works like a charm.

Good luck,

David

--
David Robillard
UNIX systems administrator
CISSP
Sun Certified Security Admin
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]


A really really weird problem with FreeBSD 6..

2006-05-19 Thread Hugo Silva

Hi list,

I've been using FreeBSD on the desktop for several years now without any 
major problems. However, as of lately, I've been running into a very 
annoying problem. I'll try to explain:


I play some OpenGL games on FreeBSD and have always played them without 
trouble. However, now I can't play my game of election (Wolfenstein: 
Enemy Territory) for more than 20 or 30 minutes. The same thing is 
happening over and over (and this is the weird part):


The game will stop responding to most keys, and the ones that do 
respond, output rubbish characters. The mouse dies. I can CTRL-ALT-F1, 
login, and kill the game - the keyboard works on the console!


Then I get back to KDE (CTRL-ALT-F2). The keyboard is useless at this 
point, as typing something will result in something else. The mouse 
moves, but I can't maximise windows (seems to ignore double click) and 
stuff. CTRL-ALT-BACKSPACE and logging in again solves the problem.


Now, the only thing that I've changed in the last month was a new piece 
of hardware - a Logitech G5 mouse (connected via USB). After giving it 
some thought,  this problem started a few days after I purchased the 
mouse. I can't see how this could be related to what is happening with 
me, but it's the only thing I remind changing.


I was running 6.0-RELEASE-p5, and have upgraded to 6.1-RELEASE and 
xorg-6.9.0, kde-3.5.1, in the hopes that it would probably fix this. 
Unfortunately, the situation remains.


Has anyone experienced a similar problem at all ? I didn't even try 
google as I have no idea of what I'm after..





Some random info:
nvidia0: GeForce 7800 GT port 0xe800-0xe87f mem 
0xcf00-0xcfff,0xd000-0xdfff,0xce00-0xceff irq 16 
at device 0.0 on pci4


ums0: Logitech USB Gaming Mouse, rev 2.00/46.00, addr 2, iclass 3/1
uhid0: Logitech USB Gaming Mouse, rev 2.00/46.00, addr 2, iclass 3/1

-- I cannot remember exactly if this problem only occured after this:
usb0: host controller process error
(happened a few weeks ago for the first time)
^^ My mouse died during a gaming session, and after some investigation, 
I found that error message. Restarting the computer was the only way I 
found to get USB support functional again. I'm not sure, but it could 
have started happening ONLY after I experienced this error for the first 
time.





That's all, I guess. Let me know if you have some clues..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2006-05-19 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-05-19 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


6.1 CD is Hanging on Install

2006-05-19 Thread Justin

Hello,

I'm trying to venture into the world of BSD.  Thus, I have just
recently joined the mailing list and this is my first message.  I have
tried to research my question and found a similar problem, but I was
unable to find any type of solution.

Here's What's Happening:

After I boot my laptop to the installer CD and select what I'd like to
boot (I've tried the default, no acpi, and safe mode with the same
results), the installer seems to lock up the computer after the
following two lines:

 Timecounter TSC frequency 1600070929 Hz quality 800
 Timecounters tick every 1.000 msec

At this point the computer responds to nothing but holding down the
power button, which obviously kills the power.  Just in case it was
trying to work something out (after all, the thinking light was on),
I let my laptop sit for almost four hours with still no change.

I have used Debian and Fedora on this computer previously with no
problems (and obviously Windows works also).

Since there are really no other options as far as booting goes, I
really don't know what I've done wrong or what I can do.

Just is case it helps, here is some information about my system:
Compaq Presario M2105US
 AMD Mobile Sempron processor
 1GB RAM
 ATI Express 200M graphics card w/ shared memory

Also, I've tried to use the 2CD set and Boot Only CD for the i386.

Thanks in advance for your help.

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


Re: A neural/distributed FreeBSD network

2006-05-19 Thread Andy Reitz
On Fri, 19 May 2006, Kyrre Nygard wrote:


 Hello!

 Got a weird question here ...

 I'm a bit curious as to how one can make multiple computers
 act as one network. I'm not talking merely /etc/hosts and gateways
 or some VPN where connections are just encrypted, but like
 something more ... neural, you all feel me? where the operating
 systems themselves act together in a distributed fashion.

 Does something like this even exist?

Hi Kyrre,

I don't know of any neural network packages off the top of my head, but
there are distributed programming mechanisms such as MPI (message
passing), Charm++ (distributed objects), and even Apple's Xgrid[1]
(distribute compute-intensive tasks), that can all probably be made to
work on FreeBSD.

Are any of these similiar to what you are looking for?

-Andy.

[1] Xgrid main page: http://www.apple.com/acg/xgrid/
Xgrid unix agent: http://unu.novajo.ca/simple/archives/26.html

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


broken port with no makefile?

2006-05-19 Thread nthwaver

I've been upgrading to the latest Apache  PHP versions, but seem to
be unable to get PHP to work again.  The crux of the problem is that
mod_php5 has no makefile and seems to be eternally stuck building,
even after updating the whole collection:

$ su
  [prompt edited out]
$ cvsup /root/ports-supfile
Connected to cvsup18.us.FreeBSD.org
Updating collection ports-all/cvs
Finished successfully
$ cd /usr/ports/www/mod_php5; ls -aFl
total 30
drwxr-xr-x 3 root  wheel512 May 18 05:07 ./
drwxr-xr-x  1056 root  wheel  25600 May 19 01:20 ../
drwxr-xr-x 3 root  wheel512 Apr 16 13:28 work/
$ make install
make: don't know how to make install. Stop
$ cd work; ls -aFl
total 10
drwxr-xr-x   3 root  wheel   512 Apr 16 13:28 ./
drwxr-xr-x   3 root  wheel   512 May 18 05:07 ../
-rw-r--r--   1 root  wheel 0 Apr 16 13:28
.build_done.mod_php5-5.0.4_2,1._usr_local
-rw-r--r--   1 root  wheel 0 Apr 16 13:27
.configure_done.mod_php5-5.0.4_2,1._usr_local
-rw-r--r--   1 root  wheel 0 Apr 16 13:27
.extract_done.mod_php5-5.0.4_2,1._usr_local
-rw-r--r--   1 root  wheel 0 Apr 16 13:27
.patch_done.mod_php5-5.0.4_2,1._usr_local
drwxr-xr-x  17 root  wheel  2560 May 19 01:35 php-5.0.4/
-rw-r--r--   1 root  wheel96 Apr 16 13:28 php.conf
$ make install
 [tries to run, crashes]
$ make deinstall
make: don't know how to make deinstall. Stop
$

I don't know why this junk is in the work dir, but I know it's an
older version I don't want anyway.  Can someone tell me how I can fix
this port so that I can compile it and get my webserver up again?

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


Re: broken port with no makefile?

2006-05-19 Thread Matthew Seaman
[EMAIL PROTECTED] wrote:
 I've been upgrading to the latest Apache  PHP versions, but seem to
 be unable to get PHP to work again.  The crux of the problem is that
 mod_php5 has no makefile and seems to be eternally stuck building,
 even after updating the whole collection:

mod_php5 is dead.  It would be gone in your last cvsup, but because you
had an old work directory there from the last time you built it, the system
didn't delete the directory.

What you should do:

   i) Read /usr/ports/UPDATING -- OK, not necessarily *all* of it,
  but certainly the section dated 20060506 and addressed to 'users
  of PHP'

  ii) Follow the instructions there.  You might find it useful to run:

portupgrade -f -o lang/php5 mod_php5-{version.number}

  (if you're a portupgrade fan) but do the 'make config' thing in
  lang/php5 *first*.

Cheers,

Matthew




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



signature.asc
Description: OpenPGP digital signature


Re: :::. Sendmail on FreeBSD - Deferred: Operation timed out with server

2006-05-19 Thread Giorgos Keramidas
On 2006-05-20 02:20, Mikhail Goriachev [EMAIL PROTECTED] wrote:
 Hi,

 Sendmail and I aren't getting along well. I got this FreeBSD
 6.0-RELEASE-p7 box doing SMTP work for me. Everything is fine, but a few
 domains give me headaches with Deferred: Operation timed out with
 server here errors. One domain in particular I'm trying to get to
 work is hospitaldeninos.cl

 $ host hospitaldeninos.cl
 hospitaldeninos.cl has address 200.31.44.1
 mail is handled by 4 nt_sql_server2.hospitaldeninos.cl.
 mail is handled by 5 mail.hospitaldeninos.cl.

 Whenever I try to send anything to that domain I just get the following
 in my logs:

 [...] delay=01:00:57, xdelay=00:01:15, mailer=esmtp, pri=210425,
 relay=mail.hospitaldeninos.cl. [200.29.150.146], dsn=4.0.0,
 stat=Deferred: Operation timed out with mail.hospitaldeninos.cl.

For some reason, your Sendmail setup tries to find out the IP address of
the MX for `hospitaldeninos.cl' and it resolves this to the wrong mail
server:

mail.hospitaldeninos.cl

This would tend to work fine, as long as either one of the two MX hosts
of the domain accepted email, but there are also problems connecting to
the `mail.hospitaldeninos.cl:SMTP' service too.

What do the following files contain in the FreeBSD system that fails to
resolve the MX records correctly?

/etc/hosts
/etc/resolv.conf
/etc/host.conf
/etc/nsswitch.conf

- Giorgos

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


Re: kernel panic on kldload in 6.1

2006-05-19 Thread Kris Kennaway
On Thu, May 18, 2006 at 10:54:19PM -0400, Joe Auty wrote:
 
 On May 18, 2006, at 12:36 AM, Kris Kennaway wrote:
 
  On Wed, May 17, 2006 at 07:06:59PM -0400, Joe Auty wrote:
  Hello,
 
  A problem I've had since 6.0 remains in 6.1 where my machine kernel
  panics at boot trying to kldload some module (it doesn't say which
  one). It also does not log this panic.
 
  I suppose this isn't terribly helpful information, but if there is
  anything you can suggest I do (including pass this on to an
  interested party), please let me know how I can help =)
 
  It sounds like you have an old (6.0) module you're still trying to
  load.  Things like the nvidia driver and other ports are prime
  candidates.
 
 
 
 Hi, I tried commenting out all of the kernel modules in /boot/ 
 loader.conf, and I'm still panicing. I wrote down some of the panic  
 message this time.
 
 The code is superviser read, page not present
 
 the panic output is:
 
 panic: page fault
 
 
 Unless you guys have any ideas of things I can try, I'll just file this.
 
 Any ideas?

So you claimed originally that it was due to kldloading some module,
but now you're still getting the same panic when you're not kldloading
anything?  Can you please clarify exactly what is the situation?

I suspect you're still actually kldloading something (modules are
loaded on demand for some things): did you boot into single-user mode
and confirm that all modules are up-to-date?

Kris


pgpm1YMEwUxXq.pgp
Description: PGP signature


Re: How to install freebsd6 on alpha server ?

2006-05-19 Thread Kris Kennaway
On Fri, May 19, 2006 at 06:32:48PM +0300, Halid Faith wrote:
 Hello
 
 I could not install Freebsd6 to a compaq alpha server. 
 in fact I had installed freebsd4.4 before the same machine.
 But this time I got an error as below at the beginning ;
 
 fatal kernel trap
 memory management fault.
 
 after above error message, the server goes reboot.
 
 Does anyone has any advice ?

Start with the freebsd-alpha mailing list.

Kris


pgpaqPZYyAwzd.pgp
Description: PGP signature


Re: broken port with no makefile?

2006-05-19 Thread Kris Kennaway
On Fri, May 19, 2006 at 02:00:01PM -0400, [EMAIL PROTECTED] wrote:
 I've been upgrading to the latest Apache  PHP versions, but seem to
 be unable to get PHP to work again.  The crux of the problem is that
 mod_php5 has no makefile and seems to be eternally stuck building,
 even after updating the whole collection:
 
 $ su
   [prompt edited out]
 $ cvsup /root/ports-supfile
 Connected to cvsup18.us.FreeBSD.org
 Updating collection ports-all/cvs
 Finished successfully
 $ cd /usr/ports/www/mod_php5; ls -aFl
 total 30
 drwxr-xr-x 3 root  wheel512 May 18 05:07 ./
 drwxr-xr-x  1056 root  wheel  25600 May 19 01:20 ../
 drwxr-xr-x 3 root  wheel512 Apr 16 13:28 work/

The port was removed but you still had a stale work directory there.
Just delete it.

Kris


pgpDBtqBisEfO.pgp
Description: PGP signature


Re: A neural/distributed FreeBSD network

2006-05-19 Thread Aren Olvalde Tyr
There are a number of mechanisms for building distributed or clustered 
FreeBSD systems. 

There is of course the freebsd-cluster mailing list where you would probably 
get some more technical responses than this list.

Here is a site I quickly Googled up regarding a Beowulf cluster running under 
FreeBSD:

http://blizzard.rwic.und.edu/~nordlie/miniwulf/

Is this the sort of thing you had in mind?

Aren.


pgpStLdY7cz2z.pgp
Description: PGP signature


Re: :::. Sendmail on FreeBSD - Deferred: Operation timed out with server

2006-05-19 Thread Mikhail Goriachev
Giorgos Keramidas wrote:
 On 2006-05-20 02:20, Mikhail Goriachev [EMAIL PROTECTED] wrote:
 Hi,

 Sendmail and I aren't getting along well. I got this FreeBSD
 6.0-RELEASE-p7 box doing SMTP work for me. Everything is fine, but a few
 domains give me headaches with Deferred: Operation timed out with
 server here errors. One domain in particular I'm trying to get to
 work is hospitaldeninos.cl

 $ host hospitaldeninos.cl
 hospitaldeninos.cl has address 200.31.44.1
 mail is handled by 4 nt_sql_server2.hospitaldeninos.cl.
 mail is handled by 5 mail.hospitaldeninos.cl.

 Whenever I try to send anything to that domain I just get the following
 in my logs:

 [...] delay=01:00:57, xdelay=00:01:15, mailer=esmtp, pri=210425,
 relay=mail.hospitaldeninos.cl. [200.29.150.146], dsn=4.0.0,
 stat=Deferred: Operation timed out with mail.hospitaldeninos.cl.
 
 For some reason, your Sendmail setup tries to find out the IP address of
 the MX for `hospitaldeninos.cl' and it resolves this to the wrong mail
 server:
 
 mail.hospitaldeninos.cl
 
 This would tend to work fine, as long as either one of the two MX hosts
 of the domain accepted email, but there are also problems connecting to
 the `mail.hospitaldeninos.cl:SMTP' service too.
 
 What do the following files contain in the FreeBSD system that fails to
 resolve the MX records correctly?
 
   /etc/hosts
   /etc/resolv.conf
   /etc/host.conf
   /etc/nsswitch.conf
 


Thanks for quick response. These are the files:

/etc/hosts
127.0.0.1 localhost.tas.webanoide.org localhost
192.168.0.2 kavayito.tas.webanoide.org kavayito

/etc/resolv.conf
search tas.webanoide.org
nameserver 192.168.0.1

/etc/host.conf
hosts
bind

/etc/nsswitch.conf
hosts: files dns



-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: :::. Sendmail on FreeBSD - Deferred: Operation timed out with server

2006-05-19 Thread Kevin Kinsey

Mikhail Goriachev wrote:

Giorgos Keramidas wrote:

On 2006-05-20 02:20, Mikhail Goriachev [EMAIL PROTECTED] wrote:

Hi,

Sendmail and I aren't getting along well. I got this FreeBSD
6.0-RELEASE-p7 box doing SMTP work for me. Everything is fine, but a few
domains give me headaches with Deferred: Operation timed out with
server here errors. One domain in particular I'm trying to get to
work is hospitaldeninos.cl

$ host hospitaldeninos.cl
hospitaldeninos.cl has address 200.31.44.1
mail is handled by 4 nt_sql_server2.hospitaldeninos.cl.
mail is handled by 5 mail.hospitaldeninos.cl.

Whenever I try to send anything to that domain I just get the following
in my logs:

[...] delay=01:00:57, xdelay=00:01:15, mailer=esmtp, pri=210425,
relay=mail.hospitaldeninos.cl. [200.29.150.146], dsn=4.0.0,
stat=Deferred: Operation timed out with mail.hospitaldeninos.cl.

For some reason, your Sendmail setup tries to find out the IP address of
the MX for `hospitaldeninos.cl' and it resolves this to the wrong mail
server:

mail.hospitaldeninos.cl

This would tend to work fine, as long as either one of the two MX hosts
of the domain accepted email, but there are also problems connecting to
the `mail.hospitaldeninos.cl:SMTP' service too.



Don't know if this helps at all, but here's something
that I can't fully explain (and found interesting).

[EMAIL PROTECTED]
host hospitaldeninos.cl
hospitaldeninos.cl has address 200.31.44.1
hospitaldeninos.cl mail is handled by 4 nt_sql_server2.hospitaldeninos.cl.
hospitaldeninos.cl mail is handled by 5 mail.hospitaldeninos.cl.

 [EMAIL PROTECTED]
telnet mail.hospitaldeninos.cl 25
Trying 200.29.150.146...
telnet: connect to address 200.29.150.146: Operation timed out
telnet: Unable to connect to remote host

 [EMAIL PROTECTED]
telnet nt_sql_server2.hospitaldeninos.cl 25
nt_sql_server2.hospitaldeninos.cl: Non-recoverable failure in name 
resolution


 [EMAIL PROTECTED]
host nt_sql_server2.hospitaldeninos.cl
nt_sql_server2.hospitaldeninos.cl has address 200.29.150.147

And that's a cut-n-paste, so whassup with DNS in re: this
NT_SQL server?

If I knew that, I could maybe help Mikhail... but:


 What do the following files contain in the FreeBSD system that fails to
 resolve the MX records correctly?


Could be the records themselves; `dig hospitaldeninos.cl`
returns no MX records

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


quota and /var/mail

2006-05-19 Thread Marwan Sultan

Hello everyone,

 I want to set quota for my users mail,
 The quota reads the shell account size, but ignores the /var/mail/USER

 Please is there away to tell quota reads user shell and /var/mail/user 
file

 and give the total result?

 Your advise is highly appreciated.

 Thank you.
 Marwan

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: What's up with 6.1 and ATA????

2006-05-19 Thread Mike Meyer
In [EMAIL PROTECTED], Kris Kennaway [EMAIL PROTECTED] typed:
 On Thu, May 18, 2006 at 09:05:54PM -0400, Mike Meyer wrote:
  Um, someone want to tell me what happened to the ATA drivers in
  6.1-RELEASE? I tried to upgrade my desktop box from 5.4 to
  6.1-RELEASE, only to have the CDROM fail to find the SATA drive. I
  wind up upgrading to 5-STABLE from CVS instead, which works fine.
  
  Today, I tried upgrading an old appliance from 4.X to 6.1. Same thing
  - the 6.1 CDROM boots, then fails to find the drive.
  
  Have the ATA drivers been mangled in some way? Or is this a problem
  with the CDROM, and if I install 5.X and then upgrade via CVS to 6.1,
  it'll work?
 I know you're upset, but try to avoid being emotional when reporting
 bugs.

Actually, I'm not upset, as nothing critical is busted. I'm just a
little frustrated - two failed installs in one day does that to
me. I'm sorry you felt I was being emotional. I certainy wasn't
feeling that way, and rereading what you quoted makes me wonder what
caused you to think that I was. But I apologize for whatever gave you
that impression in any case.

 You also forgot to give any details of your hardware, which is
 surely the most important fact.

Yup. I was trying to find out if I was just plain unlucky enough to
see a double failure, or if there was a general problem with ATA in
6.1, similar to the one that showed up with 5.2.

I haven't done anything with the box that's now running
5.5-PRERELEASE. That upgrade fixed the problem I was having, so
upgrading it is on hold while I figure out what's wrong with the other
system.

Here's the dmesg from it:

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.5-PRERELEASE #14: Tue May 16 15:42:03 EDT 2006
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/BHUDA
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.70-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,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 536543232 (511 MB)
avail memory = 515473408 (491 MB)
ACPI APIC Table: A M I  OEMAPIC 
ioapic0 Version 1.1 irqs 0-23 on motherboard
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: A M I OEMRSDT on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU 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 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 2.0 on pci0
isa0: ISA bus on isab0
atapci0: SiS 964 UDMA133 controller port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pcm0: SiS 7012 port 0xec00-0xec7f,0xe800-0xe8ff irq 18 at device 2.7 on pci0
pcm0: Avance Logic ALC655 AC97 Codec
ohci0: SiS 5571 USB controller mem 0xdfff8000-0xdfff8fff irq 20 at device 3.0 
on pci0
usb0: OHCI version 1.0, legacy support
usb0: SiS 5571 USB controller on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: SiS 5571 USB controller mem 0xdfff9000-0xdfff9fff irq 21 at device 3.1 
on pci0
usb1: OHCI version 1.0, legacy support
usb1: SiS 5571 USB controller on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci2: SiS 5571 USB controller mem 0xdfffa000-0xdfffafff irq 22 at device 3.2 
on pci0
usb2: OHCI version 1.0, legacy support
usb2: SiS 5571 USB controller on ohci2
usb2: USB revision 1.0
uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 3.3 (no driver attached)
atapci1: SiS 964 UDMA133 controller port 
0xef90-0xef9f,0xefe0-0xefe3,0xefa8-0xefaf,0xefe4-0xefe7,0xeff0-0xeff7 irq 17 at 
device 5.0 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
ahc0: Adaptec 2940 Ultra SCSI adapter port 0xe000-0xe0ff mem 
0xdfff7000-0xdfff7fff irq 17 at device 9.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port 
0xef00-0xef3f mem 0xdffa-0xdffb,0xdffc-0xdffd irq 18 at device 
10.0 on pci0
em0: Ethernet address: 00:07:e9:0f:53:d0
rl0: RealTek 8139 10/100BaseTX port 0xee00-0xeeff mem 0xdfff6c00-0xdfff6cff 
irq 19 at device 11.0 on pci0
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

Re: :::. Sendmail on FreeBSD - Deferred: Operation timed out with server

2006-05-19 Thread Giorgos Keramidas
On 2006-05-20 05:04, Mikhail Goriachev [EMAIL PROTECTED] wrote:
Giorgos Keramidas wrote:
 For some reason, your Sendmail setup tries to find out the IP
 address of the MX for `hospitaldeninos.cl' and it resolves
 this to the wrong mail server:

 mail.hospitaldeninos.cl

 This would tend to work fine, as long as either one of the two
 MX hosts of the domain accepted email, but there are also
 problems connecting to the `mail.hospitaldeninos.cl:SMTP'
 service too.

 What do the following files contain in the FreeBSD system that
 fails to resolve the MX records correctly?

  /etc/hosts /etc/resolv.conf
  /etc/host.conf
  /etc/nsswitch.conf

 Thanks for quick response. These are the files:

 /etc/hosts
 127.0.0.1 localhost.tas.webanoide.org localhost
 192.168.0.2 kavayito.tas.webanoide.org kavayito

 /etc/resolv.conf
 search tas.webanoide.org
 nameserver 192.168.0.1

 /etc/host.conf
 hosts
 bind

 /etc/nsswitch.conf
 hosts: files dns

I see.  Does the nameserver at 192.168.0.1 reply with correct
data for the `hospitaldeninos.cl' domain?  It seems that your
Sendmail gets `mail.hospitaldeninos.cl' as the primary MX for
that domain from somewhere, but it isn't obvious from these files
where the wrong reply comes from.

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


Re: :::. Sendmail on FreeBSD - Deferred: Operation timed out with server

2006-05-19 Thread Giorgos Keramidas
On 2006-05-19 22:50, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 I see.  Does the nameserver at 192.168.0.1 reply with correct data for
 the `hospitaldeninos.cl' domain?  It seems that your Sendmail gets
 `mail.hospitaldeninos.cl' as the primary MX for that domain from
 somewhere, but it isn't obvious from these files where the wrong reply
 comes from.

Hmmm, maybe I know why DNS resolution fails:

$ uname -a
Linux  2.6.10 #1 Thu Dec 30 03:01:16 EET 2004 i686 GNU/Linux
$ host nt_sql_server2.hospitaldeninos.cl 200.31.44.1
nt_sql_server2.hospitaldeninos.cl   A   200.29.150.147
 !!! nt_sql_server2.hospitaldeninos.cl A record has illegal name
$ host nt_sql_server2.hospitaldeninos.cl 200.31.43.33
nt_sql_server2.hospitaldeninos.cl   A   200.29.150.147
 !!! nt_sql_server2.hospitaldeninos.cl A record has illegal name
$

The hostname contains underscores, which is not a legal character for a
hostname.  This way *SOME* systems fail to resolve this hostname and
fall back to using mail.hospitaldeninos.cl as the MX for this domain.

But that system doesn't reply to SMTP connections at all.

Hence the email failures.

So, there are two problems here:

* The primary MX has an invalid character in its hostname.

* The secondary MX is not-working at all.

I think this explains why your Sendmail is complaining about being
unable to deliver email to that domain.

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


Re: kernel panic on kldload in 6.1

2006-05-19 Thread Joe Auty


On May 19, 2006, at 2:38 PM, Kris Kennaway wrote:


On Thu, May 18, 2006 at 10:54:19PM -0400, Joe Auty wrote:


On May 18, 2006, at 12:36 AM, Kris Kennaway wrote:


On Wed, May 17, 2006 at 07:06:59PM -0400, Joe Auty wrote:

Hello,

A problem I've had since 6.0 remains in 6.1 where my machine kernel
panics at boot trying to kldload some module (it doesn't say which
one). It also does not log this panic.

I suppose this isn't terribly helpful information, but if there is
anything you can suggest I do (including pass this on to an
interested party), please let me know how I can help =)


It sounds like you have an old (6.0) module you're still trying to
load.  Things like the nvidia driver and other ports are prime
candidates.




Hi, I tried commenting out all of the kernel modules in /boot/
loader.conf, and I'm still panicing. I wrote down some of the panic
message this time.

The code is superviser read, page not present

the panic output is:

panic: page fault


Unless you guys have any ideas of things I can try, I'll just file  
this.


Any ideas?


So you claimed originally that it was due to kldloading some module,
but now you're still getting the same panic when you're not kldloading
anything?  Can you please clarify exactly what is the situation?

I suspect you're still actually kldloading something (modules are
loaded on demand for some things): did you boot into single-user mode
and confirm that all modules are up-to-date?




I'm getting this error message during boot time, not during manual  
loading of modules.  I'm getting this error message despite disabling  
all my third-party modules listed in /boot/loader.conf. I'm assuming  
that all modules stored in /boot/kernel are system modules, and it  
would be expected that they would all be able to run without kernel  
panicing during boot?


Sorry for my lack of clarity! Where I became unclear was probably in  
saying some module. During boot time, once this panic is spewed  
onto my screen, it doesn't indicate which (system) module it is  
choking on.


This panic occurred in single user mode under 6.0 too, I haven't  
tried single user mode in 6.1 yet





---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-05-19 Thread Jeff Cross
Michael Nottebrock wrote:
 Jeff Cross schrieb:
 I ran the make commands you specified but still do not have a i915.o
 file on my system.  Here is what I have related to i915:
 
 Oops. Turns out the complete i915 module was only added *after* FreeBSD
 6.0 release. You'll have to upgrade to 6-STABLE/6.1-RELEASE (to be
 released very soon now) to get it.
 
 By the way, glxinfo | grep rendering returns no.  
 
 Yes, direct rendering won't work without the drm kernel module.
 
 
 Cheers,

I have recently upgraded to RELENG_6_1 and am still not able to play
RTCW on my laptop. I do have the i915 module loaded now as well as drm.
 Below is the output from kldstat:
$ kldstat
Id Refs AddressSize Name
 1   36 0xc040 691928   kernel
 21 0xc0a92000 5f60 snd_ich.ko
 32 0xc0a98000 22b88sound.ko
 41 0xc0abb000 2d48 wlan_wep.ko
 51 0xc0abe000 4040 wlan_tkip.ko
 61 0xc0ac3000 6da4 wlan_ccmp.ko
 71 0xc0aca000 1b88 wlan_xauth.ko
 81 0xc0acc000 2cf4 wlan_acl.ko
 91 0xc0acf000 fa20 if_ath.ko
103 0xc0adf000 3015cath_hal.ko
112 0xc0b1 3fbc ath_rate.ko
121 0xc0b14000 4ae8 atapicam.ko
132 0xc0b19000 c7fc netgraph.ko
141 0xc0b26000 77e4 ng_ubt.ko
151 0xc0b2e000 5858 vkbd.ko
161 0xc0b34000 58554acpi.ko
171 0xc47ee000 16000linux.ko
181 0xc4f3f000 5000 i915.ko
191 0xc4f44000 e000 drm.ko

glxinfo still shows no direct rendering:

$ glxinfo | grep rendering
direct rendering: No


glxgears still runs at around 300fps average...  It still craps on
itself when trying to launch the window.  X goes crazy for a second and
then I am returned back to this:

]$ wolfsp
Wolf 1.41 linux-i386 Dec  4 2002
- FS_Startup -
Current search path:
/home/cross/.wolf/main
/usr/local/share/rtcw/main/sp_pak3.pk3 (14 files)
/usr/local/share/rtcw/main/sp_pak2.pk3 (232 files)
/usr/local/share/rtcw/main/sp_pak1.pk3 (1342 files)
/usr/local/share/rtcw/main/pak0.pk3 (4775 files)
/usr/local/share/rtcw/main

--
6363 files in pk3 files
execing default.cfg
couldn't exec language.cfg
couldn't exec wolfconfig.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Bypassing CD checks
- Client Initialization -
Cmd_AddCommand: map_restart already defined
- Initializing Renderer 
---
- Client Initialization Complete -
- R_Init -
...loading libGL.so.1: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 1024x768
Using 4/4/4 Color bits, 16 depth, 0 stencil display.
GL_RENDERER: Mesa GLX Indirect


***
 You are using software Mesa (no hardware acceleration)!
 Driver DLL used: libGL.so.1
 If this is intentional, add
   +set r_allowSoftwareGL 1
 to the command line when starting the game.
***
...WARNING: could not set the given mode (3)
- CL_Shutdown -
RE_Shutdown( 1 )
---
- CL_Shutdown -
---
Sys_Error: GLimp_Init() - could not load OpenGL subsystem

Is there anything else I can try or should I get over running games on
my laptop with a makeshift video card?

agp0: Intel 8285xM (85xGM GMCH) SVGA controller port 0xeff0-0xeff7 mem
0xd800-0xdfff,0xe038-0xe03f irq 16 at device 2.0 on pci0

Thanks,

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


Webmin fails after last portupgrade

2006-05-19 Thread Pelle Andersson
Hello List!
After the last portupgrade, Webmin is failing:

freebsd410# /usr/local/etc/rc.d/./webmin.sh start
Starting webmin.
/usr/libexec/ld-elf.so.1:
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Authen/PAM/PAM.so:
Undefined symbol SvPV_nolen


ld-elf.so.1 exists:
freebsd410# find /* -name ld-elf.so.1
/usr/libexec/ld-elf.so.1


cd /usr/ports/sysutils/webmin  make deinstall  make reinstall clean
(did not do the trick)


uname -a:
freebsd410# uname -a
FreeBSD frodo.filmbetyg.nu 4.10-RELEASE-p23 FreeBSD 4.10-RELEASE-p23 #10:
Thu May 18 13:11:54 CEST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FBOPTI i386


Im not sure if this is a specific FreeBSD error, or a problem with Perl (or
other).
Doesn't not know what SvPV_nolen is either. Googling does not make me any
smarter :-/

Thanks in advance - best regards
/Pelle


--

I am using the free version of SPAMfighter for private users.
It has removed 2103 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len


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


Re: colors in messages

2006-05-19 Thread [EMAIL PROTECTED]
On  Fri, May 19, 2006 02:22 AM  Martin Hepworth  wrote:

 What sort of messages???

 you can use vt terminal encoding to make things change colour/flash,

 or for email, use html and if the MUA copes with HTML you'll get colours.


Since I'm asking about  FreeBSD (version 4.3), I'm asking about the  
echo ,  print ,  printf , etc. commands, and similar commands ib  PERL ,  awk , 
etc.
Where can I find the  vt terminal encoding  for this (hopefully on the 
internet)?

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


Re: Cvsup verses Portsnap

2006-05-19 Thread Pablo Mora

portsnap read the refuse file?

--
Linux is for people who hate Micro$oft. BSD is for people who love Unix ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to change roots shell

2006-05-19 Thread [EMAIL PROTECTED]
On  Fri, May 19, 2006 08:04 AM  Andy Greenwood  wrote

   how is he supposed to complete step one? Single-user mode is going to
 be the best way to get this fixed, IMHO

My reading of his question leads me to believe that his problem was how 
to effect the change, not how to login.


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


Re: colors in messages

2006-05-19 Thread Mathias Menzel-Nielsen

[EMAIL PROTECTED] wrote:


Since I'm asking about  FreeBSD (version 4.3), I'm asking about the  
echo ,  print ,  printf , etc. commands, and similar commands ib  PERL ,  awk , 
etc.
Where can I find the  vt terminal encoding  for this (hopefully on the 
internet)?
  


Hi

a simple googlin' for vt100 color codes brings this as first hit:
tp://www.termsys.demon.co.uk/vtansi.htm

you can change colors by the escape sequences shown in the link resource.

for example to get red text use:
echo ^[[31m

you can get the escape character by pressing Ctrl-V followed by escape 
in bash and vi and i suppose other environments


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


Setting up NIS questions?

2006-05-19 Thread Steve Kargl
I have 2 NICS in the master node of a small cluster.
bge0 is connected to the outside world with a FQDN
and registered DNS IP address.  bge1 is connected to
a 192.168.0.x internal network.  I'm trying to configure
NIS for the internal network, but ypinit is grabbing the
FQDN.  I've read the Handbook and ypinit manual page
without too much enlightment. :(

What I'm after is

192.168.0.10  NIS master server
192.168.0.11  NIS slave server
192.168.0.[12-15] NIS clients

Anyone have a pointer to a method to achieve my goals.

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


cant run x-windows on fresh 6.1 install

2006-05-19 Thread Peter Michaux

Hi,

I just installed FreeBSD 6.1-RELEASE for i386 [1]. I selected the
X-User install and (I think) all the defaults along the way. The only
port I added was Ruby. I can log in as root or as peter and make
and run a little ruby script.

When I type startx I see an error which i have retyped below

getconfig.pl: Evaluated 24 rules with 0 errors
getconfig.pl: Weight of result is 500
New driver is ati
(==) Using default built-in configuration (53 lines)
(EE) Failed to load module fbdev (module does not exist, 0)
(EE) default pointer: Cannot find which device to use
(EE) xf860OpenSerial: No Device Specified
(EE) PreInit failed for input device default pointer
No core Pointer

Fatal server error:
failed to initalize core devices

and them more stuff


Where did I go wrong with my install choices?

When Xwindows starts will it boot into Gnome or KDE? If not, what?

Thanks,
Peter



[1] Dell 450 MHz Pentium. I dedicated the entire hard drive to FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting up NIS questions?

2006-05-19 Thread Derek Ragona
If memory serves YP will grab the first interface.  If you switch the 
stacks/IPs on the interfaces I think you will get what you want.


-Derek


At 05:48 PM 5/19/2006, Steve Kargl wrote:

I have 2 NICS in the master node of a small cluster.
bge0 is connected to the outside world with a FQDN
and registered DNS IP address.  bge1 is connected to
a 192.168.0.x internal network.  I'm trying to configure
NIS for the internal network, but ypinit is grabbing the
FQDN.  I've read the Handbook and ypinit manual page
without too much enlightment. :(

What I'm after is

192.168.0.10  NIS master server
192.168.0.11  NIS slave server
192.168.0.[12-15] NIS clients

Anyone have a pointer to a method to achieve my goals.

--
Steve
___
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: IPFW - Two External Interfaces

2006-05-19 Thread Andrew White

your rules don't forward ping to isp2, only port 80 ...

try


00400 divert 8869 ip from any to any in via bge1
00450 divert 8868 ip from any to any in via em0
00500 check-state

#Check for internal_system port 80 traffic
0600 skipto 900 from $internal_system to $remote_system 80 keep-state



#Send Most Traffic out via bge1
00700 divert 8869 ip from $local_net to any in keep-state
00750 divert 8869 ip from $local_net to any out keep-state



#Send special traffic out via em0
00900 divert 8868 ip from $local_net to any in
00950 divert 8868 ip from $local_net to any out


#policy route to get traffic to the correct ISP
02000 fwd $isp2_gw ip from $isp2_ip to any
02500 fwd $isp1_gw ip from $isp1_ip to any

65000 allow ip from any to any

---

the key to this config is line 600, what ever it matches will go to line 700
and get the isp address, then get routed to isp 2.  With this config a ping
won't match, only a port 80 or http request ...

.Andrew

On 5/16/06, PFS IT [EMAIL PROTECTED] wrote:


I am attempting to use IPFW (and either IPNAT or natd) to do the
following:

I have two connections to the outside world coming in to my firewall.
em0 has a static ip and is going to a bridged DSL connection, then
bge1 has a static ip and is going to a a few bonded DS1s. bge0 goes to
my internal network. I am attempting to have NAT on both external
interfaces, and have most outbound traffic move across bge1, while
traffic from/to a particular internal system (We'll call it
internal_system for purposes of this message) to/from a particular
remote  system (This we'll call remote_system) port 80 moves across
the DSL line on em0.

Here is an attempt at a pretty ascii picture


 ISP 1
[192.168.2.254]
   |
   |
[bge1:192.168.2.1]
   FIREWALL[bge0:10.0.0.1]---[10.0.0.2]internal_system
  [em0:192.168.1.1]
   |
   |
[192.168.1.254]
 ISP 2

Here are the rules I've tried using in congunction with natd:

#Send incoming traffic to natd
00400 divert 8869 ip from any to any in via bge1
00450 divert 8868 ip from any to any in via em0
00500 check-state

#Check for internal_system port 80 traffic
0600 skipto 900 from $internal_system to $remote_system 80

#Send Most Traffic out via bge1
00700 divert 8869 ip from $local_net to any in
00750 divert 8869 ip from $local_net to any out

#Send special traffic out via em0
00900 divert 8868 ip from $internal_system to $remote_system 80 in
00950 divert 8868 ip from $remote_system to $remote_system 80 out

#policy route to get traffic to the correct ISP
02000 fwd $isp2_gw ip from $isp2_ip to any
02500 fwd $isp1_gw ip from $isp1_ip to any


Two instances of natd are running, one on port 8868 with an alias
address of $isp1_ip, the other is on port 8869 with an alias address
of $isp2_ip

With the above ipfw rules in place, a

$ping -S $isp2_ip google.com

Should result in a ping across em0 to google, however it acts as
though it cannot even reach the $isp2_gw.

I have been able to get everything to work exactly as I want it to
using pf on FreeBSD, but I've been told that ipfw is preferred within
the organization.


Any suggestions would be greatly appreciated.


Jared Baldridge
Systems Administrator
PFS
___
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
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]


Problem POPing mail

2006-05-19 Thread Gerard Seibert
FreeBSD 6.1

I am using fetchmail to collect my mail and store it on my server. I
currently have three other PC's connect on this LAN. I have Qpopper
installed to allow me to access the mail on one of the other PC's if I
want.

Fetchmail has been gathering mail from SPAMCOP.net for me for several
months without incident. I have a user named spamcop that fetchmail
feeds the mail from SPAMCOP into.

Something has happened to that folder. Qpopper will no longer access it.
This is the log entries in the /var/log/messages file:

May 19 18:54:48 seibercom qpopper[98226]: spamcop at boss (192.168.0.4):
-ERR POP EOF or I/O Error

May 19 18:54:48 seibercom qpopper[98226]: Stats: spamcop 0 0 128
36944163 boss 192.168.0.4

May 19 18:54:54 seibercom qpopper[98226]: I/O error flushing output to
client spamcop at boss [192.168.0.4]: Operation not permitted (1)

May 19 18:59:31 seibercom qpopper[298]: spamcop at boss (192.168.0.4):
-ERR POP EOF or I/O Error

May 19 18:59:31 seibercom qpopper[298]: Stats: spamcop 0 0 129 36950086
boss 192.168.0.4

May 19 18:59:37 seibercom qpopper[298]: I/O error flushing output to
client spamcop at boss [192.168.0.4]: Operation not perm
itted (1)

Boss is the name of one of my other PC's.

I used pico to check out the spamcop file, and it came up with a message
stating: File Has Long Line. I do not know what that means. I tried
copying the file to a new name, clearing out the old file and copying
the contents back, but Qpopper will still not access it.

I have temporarily moved the contents to a new file and cleaned out the
original. Qpopper is again accessing the file.

What could be wrong with the file, and is there anyway that I can fix it.
There is quite a bit of mail in it and I would rather not lose it. I
have been reading it via the console, but that is not what I want to do.

Thanks!

-- 
Gerard Seibert
[EMAIL PROTECTED]

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


RE: after upgrade from 6.0 to 6.1

2006-05-19 Thread Yuri Lukin
Hi Eric,

Hi,

You used my page (mikestammer.com) to upgrade. =)

Notice the comment in the standard-supfile says:

# use 'RELENG_6' for STABLE or 'RELENG_6_0' for RELEASE

As others have mentioned, you would use:

*default release=cvs tag=RELENG_6_1

To get FreeBSD 6.1. 

I added a note to make it a little clearer:

NOTE: Change the cvs tag as appropriate for what you are trying to do!
IE if you want FreeBSD 6.1 RELEASE, use *default release=cvs
tag=RELENG_6_1 and so on.


The good news is the instructions worked =) Sorry for the confusion

Eric

Your procedure is almost identical to mine but I usually reboot after installing
the new kernel, test it and then drop into single user mode to do the rest. 
The only exception is your step #7, I don't do it and wondering why you
have it in there. Maybe I've been doing it wrong all along

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

Re: cant run x-windows on fresh 6.1 install

2006-05-19 Thread doug
No window manager was installed. Xorg installs xterm and an almost null window 
manager twm. You need to follow the instructions for configuring Xorg, chapter 
5 in the handbook. Then if you add an .xsession file:


#!/bin/sh
/usr/X11R6/bin/twm

you can use that to install the window manager of your choice. the following 
will install the kde package:


setenv PACKAGEROOT ftp://ftp10.FreeBSD.org(make this your mirror of 
choice)
pkg_add -r kde

Then change .xsession accordingly


On Fri, 19 May 2006, Peter Michaux wrote:


Hi,

I just installed FreeBSD 6.1-RELEASE for i386 [1]. I selected the
X-User install and (I think) all the defaults along the way. The only
port I added was Ruby. I can log in as root or as peter and make
and run a little ruby script.

When I type startx I see an error which i have retyped below

getconfig.pl: Evaluated 24 rules with 0 errors
getconfig.pl: Weight of result is 500
New driver is ati
(==) Using default built-in configuration (53 lines)
(EE) Failed to load module fbdev (module does not exist, 0)
(EE) default pointer: Cannot find which device to use
(EE) xf860OpenSerial: No Device Specified
(EE) PreInit failed for input device default pointer
No core Pointer

Fatal server error:
failed to initalize core devices

and them more stuff


Where did I go wrong with my install choices?

When Xwindows starts will it boot into Gnome or KDE? If not, what?

Thanks,
Peter



[1] Dell 450 MHz Pentium. I dedicated the entire hard drive to FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: Problem POPing mail

2006-05-19 Thread Derek Ragona
Some SPAM has badly formed headers that trip up POP.  You can log onto the 
system with the bad mail file and use pine to clear it.


-Derek

At 06:20 PM 5/19/2006, Gerard Seibert wrote:

FreeBSD 6.1

I am using fetchmail to collect my mail and store it on my server. I
currently have three other PC's connect on this LAN. I have Qpopper
installed to allow me to access the mail on one of the other PC's if I
want.

Fetchmail has been gathering mail from SPAMCOP.net for me for several
months without incident. I have a user named spamcop that fetchmail
feeds the mail from SPAMCOP into.

Something has happened to that folder. Qpopper will no longer access it.
This is the log entries in the /var/log/messages file:

May 19 18:54:48 seibercom qpopper[98226]: spamcop at boss (192.168.0.4):
-ERR POP EOF or I/O Error

May 19 18:54:48 seibercom qpopper[98226]: Stats: spamcop 0 0 128
36944163 boss 192.168.0.4

May 19 18:54:54 seibercom qpopper[98226]: I/O error flushing output to
client spamcop at boss [192.168.0.4]: Operation not permitted (1)

May 19 18:59:31 seibercom qpopper[298]: spamcop at boss (192.168.0.4):
-ERR POP EOF or I/O Error

May 19 18:59:31 seibercom qpopper[298]: Stats: spamcop 0 0 129 36950086
boss 192.168.0.4

May 19 18:59:37 seibercom qpopper[298]: I/O error flushing output to
client spamcop at boss [192.168.0.4]: Operation not perm
itted (1)

Boss is the name of one of my other PC's.

I used pico to check out the spamcop file, and it came up with a message
stating: File Has Long Line. I do not know what that means. I tried
copying the file to a new name, clearing out the old file and copying
the contents back, but Qpopper will still not access it.

I have temporarily moved the contents to a new file and cleaned out the
original. Qpopper is again accessing the file.

What could be wrong with the file, and is there anyway that I can fix it.
There is quite a bit of mail in it and I would rather not lose it. I
have been reading it via the console, but that is not what I want to do.

Thanks!

--
Gerard Seibert
[EMAIL PROTECTED]

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

--
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: cant run x-windows on fresh 6.1 install

2006-05-19 Thread Kevin Kinsey

Peter Michaux wrote:

Hi,

I just installed FreeBSD 6.1-RELEASE for i386 [1]. I selected the
X-User install and (I think) all the defaults along the way. The only
port I added was Ruby. I can log in as root or as peter and make
and run a little ruby script.

When I type startx I see an error which i have retyped below

getconfig.pl: Evaluated 24 rules with 0 errors
getconfig.pl: Weight of result is 500
New driver is ati
(==) Using default built-in configuration (53 lines)
(EE) Failed to load module fbdev (module does not exist, 0)
(EE) default pointer: Cannot find which device to use
(EE) xf860OpenSerial: No Device Specified
(EE) PreInit failed for input device default pointer
No core Pointer

Fatal server error:
failed to initalize core devices


Install a mouse.  Core pointer not found error means,
where's my mouse?

Notwithstanding that, you might remove the mouse section
from your xorg configuration file and get by, although
in some X environments there's little point in running
X unless you have a mouse.

Ah, wait a minute.  You have no configuration file;
using built-in.  So, get a mouse ;-)

Actually, it seems logical there *should* be one.
What does dmesg(8) say in regard to this?  Can
you run moused(8)?  What hardware is this, anyway?




and them more stuff

Where did I go wrong with my install choices?



Don't know that you did, unless you forgot to
plug in the mouse ;-)


When Xwindows starts will it boot into Gnome or KDE? If not, what?


Have you installed Gnome or KDE?  If not, you'll get twm.

Kevin Kinsey

--
Reporter:   What would you do if you found a million dollars?
Yogi Berra: If the guy was poor, I would give it back.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Webmin fails after last portupgrade

2006-05-19 Thread Kevin Kinsey

Pelle Andersson wrote:

Hello List!
After the last portupgrade, Webmin is failing:

freebsd410# /usr/local/etc/rc.d/./webmin.sh start
Starting webmin.
/usr/libexec/ld-elf.so.1:
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Authen/PAM/PAM.so:
Undefined symbol SvPV_nolen


ld-elf.so.1 exists:
freebsd410# find /* -name ld-elf.so.1
/usr/libexec/ld-elf.so.1


cd /usr/ports/sysutils/webmin  make deinstall  make reinstall clean
(did not do the trick)


uname -a:
freebsd410# uname -a
FreeBSD frodo.filmbetyg.nu 4.10-RELEASE-p23 FreeBSD 4.10-RELEASE-p23 #10:
Thu May 18 13:11:54 CEST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FBOPTI i386


Im not sure if this is a specific FreeBSD error, or a problem with Perl (or
other).
Doesn't not know what SvPV_nolen is either. Googling does not make me any
smarter :-/


Was this a complete portupgrade?  That perl looks quite old.

Did you catch this in ports/UPDATING?

 20050624:
  AFFECTS: users of lang/perl5.8
  AUTHOR: [EMAIL PROTECTED]

  lang/perl5.8 has been updated to 5.8.7.  You should update everything
  depending on perl.  The easiest way to do that is to use
  perl-after-upgrade script supplied with lang/perl5.8.  Please see
  its manual page for details.


HTH,

Kevin Kinsey
--
Q:  How many marketing people does it take to change a lightbulb?
A:  I'll have to get back to you on that.

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


Re: kernel panic on kldload in 6.1

2006-05-19 Thread Kris Kennaway
On Fri, May 19, 2006 at 04:59:44PM -0400, Joe Auty wrote:
 
 On May 19, 2006, at 2:38 PM, Kris Kennaway wrote:
 
 On Thu, May 18, 2006 at 10:54:19PM -0400, Joe Auty wrote:
 
 On May 18, 2006, at 12:36 AM, Kris Kennaway wrote:
 
 On Wed, May 17, 2006 at 07:06:59PM -0400, Joe Auty wrote:
 Hello,
 
 A problem I've had since 6.0 remains in 6.1 where my machine kernel
 panics at boot trying to kldload some module (it doesn't say which
 one). It also does not log this panic.
 
 I suppose this isn't terribly helpful information, but if there is
 anything you can suggest I do (including pass this on to an
 interested party), please let me know how I can help =)
 
 It sounds like you have an old (6.0) module you're still trying to
 load.  Things like the nvidia driver and other ports are prime
 candidates.
 
 
 
 Hi, I tried commenting out all of the kernel modules in /boot/
 loader.conf, and I'm still panicing. I wrote down some of the panic
 message this time.
 
 The code is superviser read, page not present
 
 the panic output is:
 
 panic: page fault
 
 
 Unless you guys have any ideas of things I can try, I'll just file  
 this.
 
 Any ideas?
 
 So you claimed originally that it was due to kldloading some module,
 but now you're still getting the same panic when you're not kldloading
 anything?  Can you please clarify exactly what is the situation?
 
 I suspect you're still actually kldloading something (modules are
 loaded on demand for some things): did you boot into single-user mode
 and confirm that all modules are up-to-date?
 
 
 
 I'm getting this error message during boot time, not during manual  
 loading of modules. 

As I said, some modules are loaded on demand.  Not when booting
single-user though.

 I'm getting this error message despite disabling  
 all my third-party modules listed in /boot/loader.conf. I'm assuming  
 that all modules stored in /boot/kernel are system modules, and it  
 would be expected that they would all be able to run without kernel  
 panicing during boot?
 
 Sorry for my lack of clarity! Where I became unclear was probably in  
 saying some module. During boot time, once this panic is spewed  
 onto my screen, it doesn't indicate which (system) module it is  
 choking on.

The rest of the panic message would have given more details though.

 This panic occurred in single user mode under 6.0 too, I haven't  
 tried single user mode in 6.1 yet

Kris


pgpXjY9PVxWY4.pgp
Description: PGP signature


Sound died after an upgrade

2006-05-19 Thread David LeCount
I was upgrading something in my ports tree (I can't
remember what now) when this problem arised. Any time
I try to play anything with audio, the player will
just freeze. It's not locked up, because I can stop
it. In XMMS for instance, I just hit the stop button.
But while it's playing, the time doesn't change, the
spectrum analyzer doesn't dance, there's no sound from
the speakers, etc. I unloaded and reloaded the kernel
module, but no luck. I have updated my ports tree and
recompiled everything except for a few programs that
have nothing to do with sound. I've also done the same
with my kernel and world. I can't pinpoint the problem
at all. I'm tired of using my laptop for sound, so if
anyone has any suggestions, I'd greatly appreciate it. 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting up NIS questions?

2006-05-19 Thread Lawrence Horvath

There isnt a way to specify which ip or interface NIS will bind to?

On 5/19/06, Derek Ragona [EMAIL PROTECTED] wrote:

If memory serves YP will grab the first interface.  If you switch the
stacks/IPs on the interfaces I think you will get what you want.

 -Derek


At 05:48 PM 5/19/2006, Steve Kargl wrote:
I have 2 NICS in the master node of a small cluster.
bge0 is connected to the outside world with a FQDN
and registered DNS IP address.  bge1 is connected to
a 192.168.0.x internal network.  I'm trying to configure
NIS for the internal network, but ypinit is grabbing the
FQDN.  I've read the Handbook and ypinit manual page
without too much enlightment. :(

What I'm after is

192.168.0.10  NIS master server
192.168.0.11  NIS slave server
192.168.0.[12-15] NIS clients

Anyone have a pointer to a method to achieve my goals.

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




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


Re: colors in messages

2006-05-19 Thread Randy Pratt
On Sat, 20 May 2006 00:33:58 +0200
Mathias Menzel-Nielsen [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
 
  Since I'm asking about  FreeBSD (version 4.3), I'm asking about the  
  echo ,  print ,  printf , etc. commands, and similar commands ib  PERL ,  
  awk , etc.
  Where can I find the  vt terminal encoding  for this (hopefully on the 
  internet)?

 
 Hi
 
 a simple googlin' for vt100 color codes brings this as first hit:
 tp://www.termsys.demon.co.uk/vtansi.htm
 
 you can change colors by the escape sequences shown in the link resource.
 
 for example to get red text use:
 echo ^[[31m
 
 you can get the escape character by pressing Ctrl-V followed by escape 
 in bash and vi and i suppose other environments

A bit off-topic but I found this reference quite handy when
experimenting with colors in scripts:

  http://www.tldp.org/linuxfocus/English/May2004/article335.shtml

HTH,

Randy

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


email with a database

2006-05-19 Thread Jonathan Horne
well, my FreeBSD desktop just had a disk failure, and i am right now in
the middle of building a new system from scratch.  i thought i was so cool
with my smokin fast SCSI RAID0!  at this moment, im not feeling quite as
cool :)

one of the things that im regretting more than others, is the loss of my
email that was in my homedir.  during the day, i read my inbox on my
server via squirrelmail, but when i get home in the evenings, i pop it
down and use my local email client (kontact) while im at home.

is there an email solution that employs some kind of database that stores
mail for long term?  id rather not turn on leave a copy on the server as
this has shown to give poorer and poorer performance over time for me.

welp, im off to build world,
jonathan

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


Re: PCI card not recognised

2006-05-19 Thread Mike Tancsa
On Fri, 19 May 2006 09:29:19 +0100, in sentex.lists.freebsd.questions
you wrote:

I've just received an OEM Wildcard X100P FXO card. Installing into my 
FreeBSD 5.4-RELEASE box it doesn't appear to be recognised at all. Since 
it's the first time I've put a PCI card in this machine I've just 
dropped a Netgear ethernet card in to make sure there isn't something 
fundamentally wrong with the motherboard, but that works fine.

Hi,
Even if a driver did not attach, the card should show up in the
pciconf -lv.  I would say the card is cooked.

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quota and /var/mail

2006-05-19 Thread Mike Tancsa
On Fri, 19 May 2006 19:42:11 +, in sentex.lists.freebsd.questions
you wrote:

Hello everyone,

  I want to set quota for my users mail,
  The quota reads the shell account size, but ignores the /var/mail/USER
Are you sure quota is enabled on /var/mail ?  What does the output of

mount

show ?

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


hosts.allow and ssh problem

2006-05-19 Thread jekillen

Hello all;
I am trying to deny ftp access to my web site from out side. I have two 
nics on the server and access it from the inside network via one and 
serve to the public on the other.
I tried to write a rule in hosts.allow to deny ftp connections to the 
public ip address which has worked. But a side effect is that I can now 
not connect from local machines via
ssh. I reverted back to 'ALL : all ; allow'  to confirm that that was 
in deed why ssh started refusing connections, as it now will accept 
connections. I even ssh'd to one machine
and while in that shell, ssh'd to the server and got in to the server 
via another machine on the local network.
I am concerned because I have had repeated attempts to login to the 
server  over ftp from outside. I do all the development and posting 
from local
network so there is no reason whatsoever for anyone from the out side 
to get ftp access to my site.

How can I do this in hosts.allow?
A few nights ago I noticed odd activity on the router (leds going 
bananas) so I did tcpdump on the server and saw a great deal of ftp 
activity that didn't look right, from
foreign addresses. I shut the web server and the secondary dns server 
down while I dug through Absolute FreeBSD to get some direction.
I can live with ssh refusing local connections but I don't think it 
should be that way.

Thanks in advance;
JK

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


Re: A really really weird problem with FreeBSD 6..

2006-05-19 Thread Hugo Silva

jekillen wrote:


On May 19, 2006, at 10:00 AM, Hugo Silva wrote:


Hi list,

I've been using FreeBSD on the desktop for several years now without 
any major problems. However, as of lately, I've been running into a 
very annoying problem. I'll try to explain:


I play some OpenGL games on FreeBSD and have always played them 
without trouble. However, now I can't play my game of election 
(Wolfenstein: Enemy Territory) for more than 20 or 30 minutes. The 
same thing is happening over and over (and this is the weird part):


The game will stop responding to most keys, and the ones that do 
respond, output rubbish characters. The mouse dies. I can 
CTRL-ALT-F1, login, and kill the game - the keyboard works on the 
console!


Then I get back to KDE (CTRL-ALT-F2). The keyboard is useless at this 
point, as typing something will result in something else. The mouse 
moves, but I can't maximise windows (seems to ignore double click) 
and stuff. CTRL-ALT-BACKSPACE and logging in again solves the problem.


Now, the only thing that I've changed in the last month was a new 
piece of hardware - a Logitech G5 mouse (connected via USB). After 
giving it some thought,  this problem started a few days after I 
purchased the mouse. I can't see how this could be related to what is 
happening with me, but it's the only thing I remind changing.


I was running 6.0-RELEASE-p5, and have upgraded to 6.1-RELEASE and 
xorg-6.9.0, kde-3.5.1, in the hopes that it would probably fix this. 
Unfortunately, the situation remains.


Has anyone experienced a similar problem at all ? I didn't even try 
google as I have no idea of what I'm after..


Sounds like some kind of buffer overrun problem, some memory 
allocation problem in the driver(?)

JK


I thought about something like this too, but what I can't explain is why 
it only started happening when I got the new mouse (and most likely 
after the usb0: host controller process error error, altough I can't 
say for sure - and if this was the cause, howcome it persists across 
reboots? I never got the error anymore (ok.. maybe 1 time).).


There isn't a special driver for this mouse, and the previous one was 
also detected as ums0 (a Logitech MX 700). I am 100% sure that I didn't 
touch any configuration at all, anywhere, when this started to happen.


Thoughts, ideas, maybe someone who's been through the same, altough I 
find it highly unlikely ?









Some random info:
nvidia0: GeForce 7800 GT port 0xe800-0xe87f mem 
0xcf00-0xcfff,0xd000-0xdfff,0xce00-0xceff irq 
16 at device 0.0 on pci4


ums0: Logitech USB Gaming Mouse, rev 2.00/46.00, addr 2, iclass 3/1
uhid0: Logitech USB Gaming Mouse, rev 2.00/46.00, addr 2, iclass 3/1

-- I cannot remember exactly if this problem only occured after this:
usb0: host controller process error
(happened a few weeks ago for the first time)
^^ My mouse died during a gaming session, and after some 
investigation, I found that error message. Restarting the computer 
was the only way I found to get USB support functional again. I'm not 
sure, but it could have started happening ONLY after I experienced 
this error for the first time.





That's all, I guess. Let me know if you have some clues..
___
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: hosts.allow and ssh problem

2006-05-19 Thread David Kelly


On May 19, 2006, at 8:55 PM, jekillen wrote:

I am trying to deny ftp access to my web site from out side. I have  
two nics on the server and access it from the inside network via  
one and serve to the public on the other.
I tried to write a rule in hosts.allow to deny ftp connections to  
the public ip address which has worked. But a side effect is that I  
can now not connect from local machines via

ssh.


Your machine is connected to the outside world and you are not  
running a firewall?


If I understand correctly hosts.allow (and the hosts_access library  
routines) operate in the applications themselves. The only reason you  
wish to keep the outside world from reaching your ftpd is out of fear  
that its somehow vulnerable and/or someone will come across your  
username/password combination. So, nip it in the bud with a firewall  
rule and never let them get that close. Simply deny port 21 incoming  
on your external interface. Everything should work as always on your  
internal interface.


In ipfw where $nic_ext is fxp0 or whatever your extenal NIC is named:

ipfw add deny ip from any to any ftp in via $nic_ext


--
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: hosts.allow and ssh problem

2006-05-19 Thread Eric Schuele

jekillen wrote:

Hello all;
I am trying to deny ftp access to my web site from out side. I have two 
nics on the server and access it from the inside network via one and 
serve to the public on the other.
I tried to write a rule in hosts.allow to deny ftp connections to the 
public ip address which has worked. But a side effect is that I can now 
not connect from local machines via
ssh. I reverted back to 'ALL : all ; allow'  to confirm that that was in 
deed why ssh started refusing connections, as it now will accept 
connections. I even ssh'd to one machine
and while in that shell, ssh'd to the server and got in to the server 
via another machine on the local network.
I am concerned because I have had repeated attempts to login to the 
server  over ftp from outside. I do all the development and posting from 
local
network so there is no reason whatsoever for anyone from the out side to 
get ftp access to my site.

How can I do this in hosts.allow?
A few nights ago I noticed odd activity on the router (leds going 
bananas) so I did tcpdump on the server and saw a great deal of ftp 
activity that didn't look right, from
foreign addresses. I shut the web server and the secondary dns server 
down while I dug through Absolute FreeBSD to get some direction.
I can live with ssh refusing local connections but I don't think it 
should be that way.

Thanks in advance;
JK

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




Default to denying everything... and then add rules to allow the few you 
would like to have access.  Here is a snippet from my hosts.allow.


sshd : A.B.C.D : allow  
sshd : SomeHostName : allow
sshd : D.E.F.0/255.255.255.0 : allow
sshd : H.I.J.0/255.255.255.0 : allow
sshd : ALL : deny

sendmail : localhost : allow
sendmail : ALL : deny

cupsd : localhost : allow
cupsd : ALL : deny

# ftpd does not have tcpwrappers :(
# must run via inetd context
ftpd : localhost : allow
ftpd : A.B.C.D : allow
ftpd : ALL : deny

# DENY DENY DENY
ALL : ALL : deny

replace alpha chars with appropriate ip addresses.  See 'man hosts.allow'

Note that a firewall would be quite helpful as well.  But that's another 
post.


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


Re: hosts.allow and ssh problem

2006-05-19 Thread jekillen


On May 19, 2006, at 7:33 PM, David Kelly wrote:



On May 19, 2006, at 8:55 PM, jekillen wrote:

I am trying to deny ftp access to my web site from out side. I have  
two nics on the server and access it from the inside network via one  
and serve to the public on the other.
I tried to write a rule in hosts.allow to deny ftp connections to the  
public ip address which has worked. But a side effect is that I can  
now not connect from local machines via

ssh.


Your machine is connected to the outside world and you are not running  
a firewall?


If I understand correctly hosts.allow (and the hosts_access library  
routines) operate in the applications themselves. The only reason you  
wish to keep the outside world from reaching your ftpd is out of fear  
that its somehow vulnerable and/or someone will come across your  
username/password combination. So, nip it in the bud with a firewall  
rule and never let them get that close. Simply deny port 21 incoming  
on your external interface. Everything should work as always on your  
internal interface.


In ipfw where $nic_ext is fxp0 or whatever your extenal NIC is named:

ipfw add deny ip from any to any ftp in via $nic_ext


Yes, thank you, I do need to set up the fire wall, but I needed a  
quicker fix for the moment.
posting to this list helped me unblock my brain, maybe we have  
biochemical firewalls built in that are

programmed by morons.
but I got a working set of rules for hosts.allow. Now I will proceed  
with the firewall set up.

Thanks again.
JK



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




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


X -config /root/xorg.conf.new -- the grey screen of death

2006-05-19 Thread Peter Michaux

Hi,

I am doing a little better my second time through installation. I am
in section 5.4.2 of the handbook[1] for installing x11 using xorg.
(The handbook seems to need a bit of an update for 6.1-RELEASE.)

76. run the command Xorg -config
   it says that it detected my moust at /dev/sysmouse
   it says that my xorg.conf file is /root/xorg.conf.new
77. the handbook says to run this command next Xorg -config xorg.conf.new
   this didn't work. I got a core pointer missing error
78. after step 76 the computer screen said to run X -config
/root/xorg.conf.new. I tried this and this command worked a bit. I
could see a little bit of and x windows screen and could move the
cursor around with the mouse.

Now I am completely stuck. I have a grey screen and an 'x' shaped
cursor I can move.

What do I do?

Thanks,
Peter


[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: PCI card not recognised

2006-05-19 Thread fbsd
Try the card in different expansion slots on the motherboard.
Check bios for PCI slots are not assign irq numbers but use auto
setting.
Turn off plug_n_play option in bios.
If PCI card has lights do they blink? Is red or green lights on all
the time?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike Tancsa
Sent: Friday, May 19, 2006 9:44 PM
To: Chris Hastie
Cc: freebsd-questions@freebsd.org
Subject: Re: PCI card not recognised


On Fri, 19 May 2006 09:29:19 +0100, in
sentex.lists.freebsd.questions
you wrote:

I've just received an OEM Wildcard X100P FXO card. Installing into
my
FreeBSD 5.4-RELEASE box it doesn't appear to be recognised at all.
Since
it's the first time I've put a PCI card in this machine I've just
dropped a Netgear ethernet card in to make sure there isn't
something
fundamentally wrong with the motherboard, but that works fine.

Hi,
Even if a driver did not attach, the card should show up in the
pciconf -lv.  I would say the card is cooked.

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.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: X -config /root/xorg.conf.new -- the grey screen of death

2006-05-19 Thread Peter Michaux

doh!

CNTR-ALT-BACKSPACE

rtfm

Thanks,
Peter

On 5/19/06, Peter Michaux [EMAIL PROTECTED] wrote:

Hi,

I am doing a little better my second time through installation. I am
in section 5.4.2 of the handbook[1] for installing x11 using xorg.
(The handbook seems to need a bit of an update for 6.1-RELEASE.)

76. run the command Xorg -config
it says that it detected my moust at /dev/sysmouse
it says that my xorg.conf file is /root/xorg.conf.new
77. the handbook says to run this command next Xorg -config xorg.conf.new
this didn't work. I got a core pointer missing error
78. after step 76 the computer screen said to run X -config
/root/xorg.conf.new. I tried this and this command worked a bit. I
could see a little bit of and x windows screen and could move the
cursor around with the mouse.

Now I am completely stuck. I have a grey screen and an 'x' shaped
cursor I can move.

What do I do?

Thanks,
Peter


[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html


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


Software taking a long time to load on FreeBSD6

2006-05-19 Thread Levi Campbell

Why is it that some applications like x11, ratpoison, and firefox come up
instantly while applications like xmms, emacs and thunderbird take about
five minutes to load? I've tried several things to try and fix this.


  - I've deinstalled packages to see if ports was any better and vice
  versa.
  - I've cleaned out /tmp, /var/tmp, and /var/lock and checked free
  space.
  - getting the vanilla sources from the origional FTP site and
  compiling them

I've tried everything I can think of and I'm wondering, why is this
happening and what can I do to fix it? Thanks for your time and
consideration.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software taking a long time to load on FreeBSD6

2006-05-19 Thread Subhro

Levi Campbell sat at his 'puter and typed on 5/20/2006 8:51:

Why is it that some applications like x11, ratpoison, and firefox come up
instantly while applications like xmms, emacs and thunderbird take about
five minutes to load? I've tried several things to try and fix this.


  - I've deinstalled packages to see if ports was any better and vice
  versa.
  - I've cleaned out /tmp, /var/tmp, and /var/lock and checked free
  space.
  - getting the vanilla sources from the origional FTP site and
  compiling them


Does the hostname for your system resolve? If not, either set it up or 
put proper entries in /etc/hosts


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


About FreeBSD on Celeron D

2006-05-19 Thread Robe

Hi,

Does any body know if the distribution of FreeBSD for IA-64 run in a
Celeron D microprocessor?

--
Robe.

You must be the change you want to see in the world.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


where can i enable bootwerbose in pccbb_pci.c

2006-05-19 Thread william wallace

code like this :if (bootverbose)
cbb_print_config(brdev);
where can i enable bootwerbose in pccbb_pci.c

--
we who r about to die,salute u!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: :::. Sendmail on FreeBSD - Deferred: Operation timed out with server

2006-05-19 Thread Mikhail Goriachev
Giorgos, Kevin, thanks a lot for your input. Finally this madness is
getting some explanation. I was getting a few beers short of a carton on
this one. hospitaldeninos.cl has got some config issues:

http://www.dnsreport.com/tools/dnsreport.ch?domain=hospitaldeninos.cl

The thing about this whole situation is that my ISP's SMTP can send
e-mails to that domain. So I assumed I was doing something wrong with my
FreeBSD box, hence the persistence on my behalf. Now I realise that OSes
behave differently putting them in the same situation.

For instance FreeBSD completely rejects everything. It doesn't want to
do anything with such domains. Understandable, fair enough. OpenBSD
won't telnet to any of the MXs but will send e-mails happily with no
problems at all. On the other hand Mac OS X (Darwin) will telnet to the
first MX. It doesn't throw non-recoverable failure in name resolution
error. So it's even more flexible. I guess everything comes down to OSes
and their mailers. How inconvenient.

Anyway, I'm gonna send a few e-mails to technical contacts for
hospitaldeninos.cl and let them know about this issue. Thanks again guys.

Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD logo

2006-05-19 Thread Harald Muehlboeck
Jona Joachim [EMAIL PROTECTED] writes:

 You can find it here:
 http://www.freebsd.org/logo.html

On this page there is a link to
http://www.freebsdfoundation.org/legal/guidelines.html. This link is
broken (Error 404).

Is the licence of the logo compatible with one of the free licences on
Wikimedia Commons?  http://commons.wikimedia.org/wiki/Copyright_tags

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


  1   2   >