am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else

2009-10-26 Thread Henry Olyer
'everything; is dying in /usr/ports/lang/gcc44

I know, (in all likelihood,) I'll have to scratch this area and do a
complete re-install.  Fine.  The thing is, I didn't change anything to mess
this area up in the first place.

I've just been going to various directories in /usr/ports and saying, make
install clean and now this...  I was trying to put up octave when this
happened.

So I could use a little help here, please...

I also want/need to run X, and my X session (just put up,) doesn't yet let
me move the mouse.  I installed hal and dbus but what do I do now?

And where or where do I put the ServerFlags entry in my xorg.conf file.
 I'm sorry, I just don't know these things...




===  Building for gcc-4.4.2.20091006
echo stage3  stage_final
gmake[1]: Entering directory `/usr/ports/lang/gcc44/work/build'
gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build'
gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build'
rm -f stage_current
gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build'
gmake[2]: Leaving directory `/usr/ports/lang/gcc44/work/build'
gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build'
gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libiberty'
gmake[4]: Entering directory
`/usr/ports/lang/gcc44/work/build/libiberty/testsuite'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/ports/lang/gcc44/work/build/libiberty/testsuite'
gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libiberty'
gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/intl'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/intl'
gmake[3]: Entering directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty'
gmake[4]: Entering directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite'
gmake[3]: Leaving directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty'
gmake[3]: Entering directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes'
gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/zlib'
true AR_FLAGS=rc CC_FOR_BUILD=cc CFLAGS=-g -fkeep-inline-functions
CXXFLAGS=-g -fkeep-inline-functions CFLAGS_FOR_BUILD=-O2
-fno-strict-aliasing -pipe -I/usr/l
ocal/include CFLAGS_FOR_TARGET=-g -O2 -fno-strict-aliasing -pipe
-I/usr/local/include INSTALL=/usr/bin/install -c -o root -g wheel
INSTALL_DATA=install  -o root -
g wheel -m 444 INSTALL_PROGRAM=install  -s -o root -g wheel -m 555
INSTALL_SCRIPT=install  -o root -g wheel -m 555 LDFLAGS= LIBCFLAGS=-g
-O2 -fno-strict-aliasin
g -pipe -I/usr/local/include LIBCFLAGS_FOR_TARGET=-g -O2
-fno-strict-aliasing -pipe -I/usr/local/include MAKE=gmake
MAKEINFO=makeinfo --no-split --split-size=5000
000 --split-size=500 --split-size=500 PICFLAG=
PICFLAG_FOR_TARGET= SHELL=/bin/sh EXPECT=expect RUNTEST=runtest
RUNTESTFLAGS= exec_prefix=/usr/loca
l infodir=/usr/local/info/gcc44 libdir=/usr/local/lib/gcc44
prefix=/usr/local tooldir=/usr/local/i386-portbld-freebsd7.2 AR=ar
AS=as CC=cc CXX=c++ LD=
/usr/bin/ld LIBCFLAGS=-g -O2 -fno-strict-aliasing -pipe
-I/usr/local/include NM=nm PICFLAG= RANLIB=ranlib DESTDIR= DO=all
multi-do # gmake
gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/zlib'
gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libcpp'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libcpp'
gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libdecnumber'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libdecnumber'
gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/gcc'
gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/gcc'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WD External Disc Drive

2009-10-26 Thread Herbert J. Skuhra
At Mon, 26 Oct 2009 14:32:02 +1100,
Rob Hurle wrote:
 
 Thank you to everyone who answered:
 
  kldload fusefs
  What does ls -la /dev/da* show you.
 
  So the device is there, but ntfs-3g fails to see it.
 
  Probably kldload fusefs isn't loaded (until Saturday)
 
 
 Yes, fuse.ko had to me copied from /usr/local/modules to /boot/kernel
 and then kloaded.  Everything is fine now.  Thanks again.

No. You only have to add fusefs_enable=YES to your /etc/rc.conf and
run '/usr/local/etc/rc.d/fusefs start' or reboot.

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


Re: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else

2009-10-26 Thread Andreas Rudisch
On Mon, 26 Oct 2009 02:53:36 -0400
Henry Olyer henry.ol...@gmail.com wrote:

 'everything; is dying in /usr/ports/lang/gcc44

Update and clean out your ports tree (portsnap/ portsclean). And then
rebuild octave.

Take a look at the error message. Does it tell you to put something
like kern.maxdsiz=734003200 into /boot/loader.conf?

 I also want/need to run X, and my X session (just put up,) doesn't yet let
 me move the mouse.  I installed hal and dbus but what do I do now?
 
 And where or where do I put the ServerFlags entry in my xorg.conf file.
  I'm sorry, I just don't know these things...

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

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpbhb1exnbOn.pgp
Description: PGP signature


Re: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else

2009-10-26 Thread b. f.
Henry Olyer wrote:
'everything; is dying in /usr/ports/lang/gcc44

I know, (in all likelihood,) I'll have to scratch this area and do a
complete re-install.  Fine.  The thing is, I didn't change anything to mess
this area up in the first place.

I've just been going to various directories in /usr/ports and saying, make
install clean and now this...  I was trying to put up octave when this
happened.

Why don't you try 'make clean install  make clean' , to ensure that
you are starting from scratch, with a clean WRKDIR? If that fails,
send a full transcript of the failed build to the lang/gcc44 port
maintainer.  script(1) is useful for producing a full transcript.

So I could use a little help here, please...

I also want/need to run X, and my X session (just put up,) doesn't yet let
me move the mouse.  I installed hal and dbus but what do I do now?

hal and dbus are not required, if you have the proper entries in your
xorg.conf, although some people find them useful.  Can you use the
mouse in the console with moused(8)?  If not, then there may be a
problem with the mouse.  Did you try running 'Xorg -configure' to see
what sample configuration file it constructs for your hardware,
especially the entries, if any, for the mouse?

And where or where do I put the ServerFlags entry in my xorg.conf file.
I'm sorry, I just don't know these things...

In it's own section, offset by:


Section  ServerFlags
   ...
   EndSection

xorg.conf(5) claims the order of the sections is unimportant.

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


ipf firewall, dropping connections

2009-10-26 Thread cknipe


Hi,

I'm runing 7.2 with IPFilter - main purpose is for a news server.

Many established connections are just dropped and closed, it seems to  
be random, all allow rules are being affected.  Any insight would be  
appreciated.  The machine is under heavy usage, averaging arround 150  
to 200 connections per second.


[r...@news ~]# ipfstat
bad packets:in 0out 0
 IPv6 packets:  in 0 out 0
 input packets: blocked 22570422 passed 488309778 nomatch  
146719580 counted 0 short 0
output packets: blocked 21885 passed 507034679 nomatch  
160765161 counted 0 short 0

 input packets logged:  blocked 22570422 passed 0
output packets logged:  blocked 0 passed 0
 packets logged:input 0 output 0
 log failures:  input 12571655 output 0
fragment state(in): kept 0  lost 0  not fragmented 0
fragment state(out):kept 0  lost 0  not fragmented 0
packet state(in):   kept 14100  lost 2770255
packet state(out):  kept 22966740   lost 8078847
ICMP replies:   0   TCP RSTs sent:  0
Invalid source(in): 0
Result cache hits(in):  17487490(out):  21607481
IN Pullups succeeded:   9   failed: 0
OUT Pullups succeeded:  1092failed: 0
Fastroute successes:0   failures:   0
TCP cksum fails(in):0   (out):  0
IPF Ticks:  325071
Packet log flags set: (0)
none

[r...@wa-cpt-news ~]# cat /etc/ipf.rules
###
### Globals
###
block in log quick all with frags   
  # TCP Fragments
block in log quick all with short   
  # Short Fragments
block in log quick all with ipopts  
  # Invalid IP Options


###
### Loopback Interface
###
pass in quick on lo0 from any to 127.0.0.0/8
pass out quick on lo0 from 127.0.0.0/8 to any

###
## em0 - Public NIC
###
# em0 - Outbound Traffic
pass out quick on em0 from a.a.a.a to any keep state
pass out quick on em0 from a.a.a.21 to any keep state
pass out quick on em0 from a.a.a.22 to any keep state
pass out quick on em0 from x.x.x.23 to any keep state
pass out quick on em0 from x.x.x.24 to any keep state
pass out quick on em0 from x.x.x.59.30 to any keep state

pass in quick on em0 from 196.220.59.0/27 to a.a.a.a
# Internal Network Traffic
pass in quick on em0 proto icmp from any to a.a.a.a keep state  
# ICMP
pass in quick on em0 proto tcp from x.220.63.238/32 to a.a.a.a port =  
22 flags S keep state  # SSH (Office Only)
pass in quick on em0 proto tcp from x.220.63.33/32 to a.a.a.a port =  
22 flags S keep state   # SSH (Office Only)
pass in quick on em0 proto tcp from x.220.32.228/32 to a.a.a.a port =  
22 flags S keep state  # SSH (Office Only)
pass in quick on em0 proto tcp from x.220.42.29/32 to a.a.a.a port =  
22 flags S keep state   # SSH (Office Only)
pass in quick on em0 proto tcp from any port = 53 to a.a.a.a
# DNS (Responces)
pass in quick on em0 proto udp from any port = 53 to a.a.a.a
# DNS (Responces)
pass in quick on em0 proto tcp from x.220.63.238/32 to a.a.a.a port =  
80 # HTTP (Office Only)
pass in quick on em0 proto tcp from x.220.63.33/32 to a.a.a.a port =  
80  # HTTP (Office Only)
pass in quick on em0 proto tcp from x.220.32.228/32 to a.a.a.a port =  
80 # HTTP (Office Only)
pass in quick on em0 proto tcp from x.220.42.29/32 to a.a.a.a port =  
80  # HTTP (Office Only)
pass in quick on em0 proto tcp from x.185.0.0/16 to a.a.a.a port = 119  
   # NNTP
pass in quick on em0 proto tcp from x.211.26.0/24 to a.a.a.a port =  
119   # NNTP
pass in quick on em0 proto tcp from x.220.32.0/19 to a.a.a.a port =  
119  # NNTP
pass in quick on em0 proto tcp from x.220.63.238/32 to a.a.a.a port =  
119# NNTP
pass in quick on em0 proto tcp from x.220.32.228/32 to a.a.a.a port =  
119# NNTP
pass in quick on em0 proto tcp from x.220.63.33/32 to a.a.a.a port =  
119 # NNTP
pass in quick on em0 proto tcp from x.220.42.29/32 to a.a.a.a port =  
119 # NNTP
pass in quick on em0 proto udp from x.220.59.143/32 to a.a.a.a port =  
161# SNMP
pass in quick on em0 proto udp from 

Re: WD External Disc Drive

2009-10-26 Thread Polytropon
Hi Rob,

just a little terminology note (from me, Mister Use-the-correct-words):
If you are refering to a kind of hard disk, use disk with k.
Think like diskette. If you are refering to optical media,
use disc with c. Think like CD = compact disc.

Disk: disk pack, hard disk, disk drive
Disc: optical disc, magneto-optical disc, disc drive

In your special case, you can even say that your external
hard disk shows up as a disc in Windows. It's correct.

I know it may sound impolite (but it is not meant to be),
but using the correct terminology is very important if you
want to be understood correctly.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WD External Disc Drive

2009-10-26 Thread Polytropon
On Mon, 26 Oct 2009 12:33:16 +1100, Rob Hurle rob1...@gmail.com wrote:
 I need to transfer between
 FreeBSD and Windows, both ways :-(

Could you imagine to use FAT instead of NTFS, or do you
intendedly require features that are specific to NTFS?
I found that FAT - in FreeBSD: msdosfs - is sufficient
for transfer tasks. It doesn't require fuse, you have r/w
by kernel means (refer to man mount_msdosfs). Of course,
this would require new initialising of the disk.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't make www/linux-f10-flashplugin10

2009-10-26 Thread Boris Samorodov
Jamie Griffin j...@gmx.com writes:

 Hi, i'm trying to build the www/linux-f10-flashplugin port and i'm
 getting the following error on make:

 /usr/ports/Mk/bsd.linux-apps.mk, line 79: Malformed conditional
 ($LINUX_DIST_SUFFIX}==)
 /usr/ports/Mk/bsd.linux-apps.mk, line 145: Malformed conditional
 ($LINUX_DIST_SUFFIX}==-f10)
 /usr/ports/Mk/bsd.linux-apps.mk, line 171: Malformed conditional
 ($LINUX_DIST_SUFFIX}==)
 /usr/ports/Mk/bsd.linux-apps.mk, line 173: Malformed conditional
 ($LINUX_DIST_SUFFIX}==-f8)
 /usr/ports/Mk/bsd.linux-apps.mk, line 421: Malformed conditional
 ($LINUX_DIST_SUFFIX}==)
 /usr/ports/Mk/bsd.linux-apps.mk, line 459: Malformed conditional
 ($LINUX_DIST_SUFFIX}==-f8)
 /usr/ports/Mk/bsd.linux-apps.mk, line 461: if-less else
 /usr/ports/Mk/bsd.linux-apps.mk, line 463: if-less endif
 /usr/ports/Mk/bsd.linux-apps.mk, line 477: Malformed conditional
 ($LINUX_DIST_SUFFIX}==-f8)
 /usr/ports/Mk/bsd.linux-apps.mk, line 479: if-less else
 /usr/ports/Mk/bsd.linux-apps.mk, line 481: if-less endif
 Error expanding embedded variable.

 I don't know what this means and i'm not sure how to fix it. Can
 anyone help?

 I'm using FreeBSD 7.2, my ports tree is up to date (did it earlier
 today). I did have flashplugin 9 installed with the linux-f4-core, but
 i've removed this, installed the f10-core and then started having
 problems with the flashplugin.

 Thanks in advance for any advice/help.

The port www/linux-f10-flashplugin needs linux -f10- ports. The latter
are defaults for FreeBSD-8.x and later. You can use them at 7.2
(7.2-STABLE is preferred). For more unformation take a look at
/usr/ports/UPDATING 20090401: AFFECTS: users of linux Fedora 8
infrastructure ports (it deals with non default f8 ports, f10
are the same with f10 value). HTH

Please, keep in mind that those ports are not defaults for 7.x.

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


LinkedIn Messages, 10/26/2009

2009-10-26 Thread LinkedIn Communication
LinkedIn





 REMINDERS: 
Invitation Reminders: 
 * View Invitation from Leandro Silva 
http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1497860734_2/39vd3cTc3oUdPAQckALqnpPbOYWrSlI/svi/
 
 * View Invitation from Artem Kazakov 
http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1507158794_2/39vd3ATe3kNdP0RckALqnpPbOYWrSlI/svi/
 





PENDING MESSAGES:

There are a total of 64 messages awaiting your response. Visit your InBox now: 
http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/inb/


--

Don't want to receive email notifications? Adjust your message settings:
https://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/prv/

LinkedIn values your privacy. At no time has LinkedIn made your email address 
available to any other LinkedIn user without your permission. (c) 2009, 
LinkedIn Corporation.

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


Re: ipf firewall, dropping connections

2009-10-26 Thread phantomcircuit
I'm guessing you have kernel tuning issues that have nothing to do with 
the firewall.


http://www.freebsd.org/doc/en/books/handbook/configtuning-kernel-limits.html

ckn...@savage.za.org wrote:


Hi,

I'm runing 7.2 with IPFilter - main purpose is for a news server.

Many established connections are just dropped and closed, it seems to 
be random, all allow rules are being affected.  Any insight would be 
appreciated.  The machine is under heavy usage, averaging arround 150 
to 200 connections per second.


[r...@news ~]# ipfstat
bad packets:in 0out 0
 IPv6 packets:  in 0 out 0
 input packets: blocked 22570422 passed 488309778 nomatch 
146719580 counted 0 short 0
output packets: blocked 21885 passed 507034679 nomatch 
160765161 counted 0 short 0

 input packets logged:  blocked 22570422 passed 0
output packets logged:  blocked 0 passed 0
 packets logged:input 0 output 0
 log failures:  input 12571655 output 0
fragment state(in): kept 0  lost 0  not fragmented 0
fragment state(out):kept 0  lost 0  not fragmented 0
packet state(in):   kept 14100  lost 2770255
packet state(out):  kept 22966740   lost 8078847
ICMP replies:   0   TCP RSTs sent:  0
Invalid source(in): 0
Result cache hits(in):  17487490(out):  21607481
IN Pullups succeeded:   9   failed: 0
OUT Pullups succeeded:  1092failed: 0
Fastroute successes:0   failures:   0
TCP cksum fails(in):0   (out):  0
IPF Ticks:  325071
Packet log flags set: (0)
none

[r...@wa-cpt-news ~]# cat /etc/ipf.rules
### 


### Globals
### 

block in log quick all with frags  
  # TCP Fragments
block in log quick all with short  
  # Short Fragments
block in log quick all with ipopts 
  # Invalid IP Options


### 


### Loopback Interface
### 


pass in quick on lo0 from any to 127.0.0.0/8
pass out quick on lo0 from 127.0.0.0/8 to any

### 


## em0 - Public NIC
### 


# em0 - Outbound Traffic
pass out quick on em0 from a.a.a.a to any keep state
pass out quick on em0 from a.a.a.21 to any keep state
pass out quick on em0 from a.a.a.22 to any keep state
pass out quick on em0 from x.x.x.23 to any keep state
pass out quick on em0 from x.x.x.24 to any keep state
pass out quick on em0 from x.x.x.59.30 to any keep state

pass in quick on em0 from 196.220.59.0/27 to a.a.a.a   
# Internal Network Traffic
pass in quick on em0 proto icmp from any to a.a.a.a keep state 
# ICMP
pass in quick on em0 proto tcp from x.220.63.238/32 to a.a.a.a port = 
22 flags S keep state  # SSH (Office Only)
pass in quick on em0 proto tcp from x.220.63.33/32 to a.a.a.a port = 
22 flags S keep state   # SSH (Office Only)
pass in quick on em0 proto tcp from x.220.32.228/32 to a.a.a.a port = 
22 flags S keep state  # SSH (Office Only)
pass in quick on em0 proto tcp from x.220.42.29/32 to a.a.a.a port = 
22 flags S keep state   # SSH (Office Only)
pass in quick on em0 proto tcp from any port = 53 to a.a.a.a   
# DNS (Responces)
pass in quick on em0 proto udp from any port = 53 to a.a.a.a   
# DNS (Responces)
pass in quick on em0 proto tcp from x.220.63.238/32 to a.a.a.a port = 
80 # HTTP (Office Only)
pass in quick on em0 proto tcp from x.220.63.33/32 to a.a.a.a port = 
80  # HTTP (Office Only)
pass in quick on em0 proto tcp from x.220.32.228/32 to a.a.a.a port = 
80 # HTTP (Office Only)
pass in quick on em0 proto tcp from x.220.42.29/32 to a.a.a.a port = 
80  # HTTP (Office Only)
pass in quick on em0 proto tcp from x.185.0.0/16 to a.a.a.a port = 119 
   # NNTP
pass in quick on em0 proto tcp from x.211.26.0/24 to a.a.a.a port = 
119   # NNTP
pass in quick on em0 proto tcp from x.220.32.0/19 to a.a.a.a port = 
119  # NNTP
pass in quick on em0 proto tcp from x.220.63.238/32 to a.a.a.a port = 
119# NNTP
pass in quick on em0 proto tcp from x.220.32.228/32 to a.a.a.a port = 
119# NNTP
pass in quick on em0 proto tcp from x.220.63.33/32 to a.a.a.a port = 
119 # NNTP
pass in quick on em0 proto tcp from x.220.42.29/32 to 

some ftp mirrors is wrong or inconsistently

2009-10-26 Thread Oleg Ole
Hello maillist

Some ftp servers from official ftp mirrors

( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html)

is incorrect or out of sync.

For example, test scripts ( require ftp/lftp ) says that only 90 from 167 ;)
have 8.0-RC1.iso

--

#!/bin/sh

cd /tmp

fetch
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

SITE=`egrep -E (^target) /tmp/mirrors-ftp.html |tr|awk {'printf
$2\n'}`

for HST in ${SITE}; do

echo $HST

lftp -e ls; quit ${HST}ISO-IMAGES-amd64/8.0/

done

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


Re: WD External Disc Drive

2009-10-26 Thread Rob Hurle
Hi Polytropon,

 just a little terminology note (from me, Mister Use-the-correct-words):
 If you are refering to a kind of hard disk, use disk with k.
 Think like diskette. If you are refering to optical media,
 use disc with c. Think like CD = compact disc.

Thanks for your comment.  disk began life as the American spelling
(probably older English, copied from Greek) and disc was the English
(UK, Australia, probably South Africa and other places).  Here, in
Australia, I am used to disc, but I take your point and agree that
the two spellings most likely have their particular usages.  In the
fullness of time I suspect that the scheme you outline will become
widely accepted.  There's other instances of particular preferences in
spelling in Australian English vis a vis American - for example,
recognize versus recognise.  As others have pointed out, the
English language is a bit of a mongrel :-)

  Thanks for your comments too, about use of the FAT32 file system.  I
had thought about that, but the NTFS seemed to be a bit more universal
- I'm not sure that FAT file systems are recognised by default on Macs
(for example).

 Happy FreeBSD user since 4.0

Happy FreeBSD user since 2.2.

Cheers,
Rob Hurle
-- 
-
Rob Hurle
ANU, College of Asia and the Pacific
School of Culture, History and Language
e-mail:  rob1...@gmail.com
Telephone (ANU): +61 2 6125 3169
Mobile (in VN):  +84 948 243 538 (Currently in Australia)
Mobile (in OZ):  +61 417 293 603 (Currently in Australia)
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WD External Disc Drive

2009-10-26 Thread Arthur Chance

Polytropon wrote:

Hi Rob,

just a little terminology note (from me, Mister Use-the-correct-words):
If you are refering to a kind of hard disk, use disk with k.
Think like diskette. If you are refering to optical media,
use disc with c. Think like CD = compact disc.

Disk: disk pack, hard disk, disk drive
Disc: optical disc, magneto-optical disc, disc drive


Um, I don't want to get into spelling flames but from where I'm sitting 
(the UK) disk is the American English spelling and disc is the 
British English spelling of the same word which means in general a flat 
thin round thing and in computing a (usually) spinning flat thin round 
thing used for non-volatile storage. The distinction you make is one 
I've not come across before, and I've worked with computers for nearly 
40 years. I think it's better to simply qualify dis[ck] with an 
adjective to disambiguate as necessary and accept that the US had a 
spelling reform that the UK didn't so both forms are valid and 
interchangeable.


See also: program v. programme, colour v. color, etc. :-)

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


Re: WD External Disc Drive

2009-10-26 Thread Manolis Kiagias
Rob Hurle wrote:


   Thanks for your comments too, about use of the FAT32 file system.  I
 had thought about that, but the NTFS seemed to be a bit more universal
 - I'm not sure that FAT file systems are recognised by default on Macs
 (for example).

   
FAT (and almost to the same extent, FAT32) are widely recognizable:
FreeBSD, Windows, Linux, OS X.
The most important limitation though is maximum file size (=4GB).
Depending on your usage, FAT32 may or may not be appropriate because of
this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WD External Disc Drive

2009-10-26 Thread Polytropon
On Mon, 26 Oct 2009 22:37:50 +1100, Rob Hurle rob1...@gmail.com wrote:
 Thanks for your comment.  disk began life as the American spelling
 (probably older English, copied from Greek) and disc was the English
 (UK, Australia, probably South Africa and other places).  Here, in
 Australia, I am used to disc, but I take your point and agree that
 the two spellings most likely have their particular usages.  In the
 fullness of time I suspect that the scheme you outline will become
 widely accepted.  There's other instances of particular preferences in
 spelling in Australian English vis a vis American - for example,
 recognize versus recognise.  As others have pointed out, the
 English language is a bit of a mongrel :-)

Wow, that's interesting to know. From my IT career, I
always read disks, not discs (in its meaning as optical
discs when they started to exist in the 80s).

The differentiation disk vs. disc started at this time and
is very common today to distinguish optical media from
magnetic media. Magneto-optical media is called MO disc
though. :-)



   Thanks for your comments too, about use of the FAT32 file system.  I
 had thought about that, but the NTFS seemed to be a bit more universal
 - I'm not sure that FAT file systems are recognised by default on Macs
 (for example).

I always thought FAT is one of the most universal file systems
(at least when Windows is involved); if it's not, I do
consider tar the most universal file system (allthough it is
no file system in particular). It works on all UNIX flavours
I encountered, as well as on Mac OS. The only thing you need
is a tar program that reads from or writes to the preferred
media. Of course, Windows lacks such a program.

Example. On Linux

# tar cvf /dev/fd0.h1440 sourcefile(s)

On Sun Solaris:

# tar xvf /dev/rfd0

It works on IRIX, HP-UX and other UNIXes, too, and it works
with every media (floppy, CD, DVD, USB stick, external hard
disk, MO disc etc.). The only thing you have to grant access
to is the device (usually via its device file).

As for your intended use, well, try FAT. Sadly, my iBook
doesn't work yet, so I can't check. In MICROS~1 land, FAT
is recognized among all the Windows, and r/w support
is fine on FreeBSD. Mac OS X should be able to use it,
too.



 Rob Hurle
 ANU, College of Asia and the Pacific
 School of Culture, History and Language
 
That explains everything. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WD External Disc Drive

2009-10-26 Thread Polytropon
On Mon, 26 Oct 2009 12:07:45 +, Arthur Chance free...@qeng-ho.org wrote:
 The distinction you make is one 
 I've not come across before, and I've worked with computers for nearly 
 40 years.

This specific differentiation is common at least in Germany.
We handle foreign words quite differently, for example we
call a mobile phone a Handy. :-)

The FreeBSD handbook is a good example.
http://www.freebsd.org/doc/en/books/handbook/install-start.html

Here, disk seems to refer to hard disks, while disc
refers to exchangable media. Both words can be found in
the document.



 I think it's better to simply qualify dis[ck] with an 
 adjective to disambiguate as necessary and accept that the US had a 
 spelling reform that the UK didn't so both forms are valid and 
 interchangeable.

In most cases, it is done that way, e. g. floppy disk or
hard disk.




 See also: program v. programme, colour v. color, etc. :-)

I see that you are working in a computor centre. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't make www/linux-f10-flashplugin10

2009-10-26 Thread Jamie Griffin
On Mon 26.Oct'09 at 13:17:56 +0300, Boris Samorodov wrote:
 The port www/linux-f10-flashplugin needs linux -f10- ports. The latter
 are defaults for FreeBSD-8.x and later. You can use them at 7.2
 (7.2-STABLE is preferred). For more unformation take a look at
 /usr/ports/UPDATING 20090401: AFFECTS: users of linux Fedora 8
 infrastructure ports (it deals with non default f8 ports, f10
 are the same with f10 value). HTH
 
 Please, keep in mind that those ports are not defaults for 7.x.


Hi, thanks for the reply. I worked out what was causing the problem in
the end. (incidentally, i already had made sure the linux-f10-base was
installed.) I had stupidly left whitespace after the  = sign in the file:

/etc/sysctl.conf:

OVERRIDE_LINUX_BASE_PORT =f10
OVERRIDE_LINUX_NONBASE_PORT =f10 

correcting that did the trick and its all working great. 

Thanks again, though. 

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


Re: auto format and partion

2009-10-26 Thread Robert
On Fri, 23 Oct 2009 09:23:35 +1000
da...@hushmail.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 got the latest version of your os for 64 bit systems from osdisc.com
 do you think you could throw in an auto install feauture that like
 every other os on the market i dropped out of devry and i still
 cant figure out what the installer is asking me to do.

Perhaps you need to read the handbook found at freebsd.org

or you can try pcbsd at http://www.pcbsd.org/

or you can wait until some one creates an auto install feature. That
could be a very long time and you would be missing out on the best OS
available.

HTH

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


bind configuration issues

2009-10-26 Thread Ray Still
Hello,
I am adding a redundant Internet connection to my current hosting setup and
I
need to figure out how to set up the DNS to make this work.
Current setup:
freebsd 7.0 machine, one local IP address, runs web, mail, and name server.
static ip address in router.
I have two DNS servers registered, but they both point to the same ip
address
an the same machine. (Yes, I should have my fingers slapped.)

Desired setup
same machine, one local IP address, runs web, mail, and name server.
different router (Linksys RV082) with 2 static ip address.

How do I set up bind so that
1) bandwidth is shared between the two connections,
and
2) if one goes down, the other keeps working.
I had a few ideas, but they all seem to have flaws.

feel free to answer with links or search keywords.
Also, as this question isn't exactly a FreeBSD question, is there a better
list for this?
Thanks

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


Re: Disk vs Disc (was: WD External Disc Drive)

2009-10-26 Thread Bob Johnson
On 10/26/09, Polytropon free...@edvax.de wrote:
 On Mon, 26 Oct 2009 12:07:45 +, Arthur Chance free...@qeng-ho.org
 wrote:
 The distinction you make is one
 I've not come across before, and I've worked with computers for nearly
 40 years.


Same here. I've always been told they were completely interchangeable.

I do recall that when floppy drives appeared for personal computers in
the late '70s and early '80s, there was some argument about the
correct spelling. The claim was that disc was correct, and that some
ignorant hobbyist at a new computer company had misspelled it as
disk and it stuck. But IBM used the disk spelling long before
that, so I don't think that was really what happened.

Looking in the OED, I find that disk was the original spelling, and
in the late 1800s disc became popular, then around 1950 disk
started regaining popularity, largely in the computer industry.


- Bob

-- 
-- Bob Johnson
   fbsdli...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: bind configuration issues

2009-10-26 Thread Chuck Swiger

On Oct 26, 2009, at 10:03 AM, Ray Still wrote:

Hello,
I am adding a redundant Internet connection to my current hosting  
setup and

I need to figure out how to set up the DNS to make this work.


The two issues normally aren't related.

If both connections are from the same provider, talk to them about  
multilink PPP; if they are from different providers, you need to look  
into multihoming and getting your own AS #.



Current setup:
freebsd 7.0 machine, one local IP address, runs web, mail, and name  
server.

static ip address in router.
I have two DNS servers registered, but they both point to the same ip
address an the same machine. (Yes, I should have my fingers slapped.)

Desired setup
same machine, one local IP address, runs web, mail, and name server.
different router (Linksys RV082) with 2 static ip address.


In order to have redundancy, you need to have two real, separate  
machines, each of which is running BIND, each of which is on a  
separate routable IP.  This is an orthogonal issue to setting up  
multiple Internet connections.



How do I set up bind so that
1) bandwidth is shared between the two connections,
and
2) if one goes down, the other keeps working.
I had a few ideas, but they all seem to have flaws.


You can't set up BIND to control multilink aggregation and failover;  
that's not what it does.


Regards,
--
-Chuck

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


Re: bind configuration issues

2009-10-26 Thread Gary Gatten
You certainly don't need BGP for this, the DNS thing will work, but will be a 
bit kludgy and certainly not as ... responsive to failures - a la query 
caching, TTL's and what not.

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: Ray Still rstil...@gmail.com
Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Mon Oct 26 12:50:56 2009
Subject: Re: bind configuration issues

On Oct 26, 2009, at 10:03 AM, Ray Still wrote:
 Hello,
 I am adding a redundant Internet connection to my current hosting  
 setup and
 I need to figure out how to set up the DNS to make this work.

The two issues normally aren't related.

If both connections are from the same provider, talk to them about  
multilink PPP; if they are from different providers, you need to look  
into multihoming and getting your own AS #.

 Current setup:
 freebsd 7.0 machine, one local IP address, runs web, mail, and name  
 server.
 static ip address in router.
 I have two DNS servers registered, but they both point to the same ip
 address an the same machine. (Yes, I should have my fingers slapped.)

 Desired setup
 same machine, one local IP address, runs web, mail, and name server.
 different router (Linksys RV082) with 2 static ip address.

In order to have redundancy, you need to have two real, separate  
machines, each of which is running BIND, each of which is on a  
separate routable IP.  This is an orthogonal issue to setting up  
multiple Internet connections.

 How do I set up bind so that
 1) bandwidth is shared between the two connections,
 and
 2) if one goes down, the other keeps working.
 I had a few ideas, but they all seem to have flaws.

You can't set up BIND to control multilink aggregation and failover;  
that's not what it does.

Regards,
-- 
-Chuck

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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

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

Re: bind configuration issues

2009-10-26 Thread Ray Still
On Mon, Oct 26, 2009 at 11:55 AM, Gary Gatten ggat...@waddell.com wrote:

 You certainly don't need BGP for this, the DNS thing will work, but will be 
 a bit kludgy and certainly not as ... responsive to failures - a la query 
 caching, TTL's and what not.

 - Original Message -
 From: owner-freebsd-questi...@freebsd.org 
 owner-freebsd-questi...@freebsd.org
 To: Ray Still rstil...@gmail.com
 Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Sent: Mon Oct 26 12:50:56 2009
 Subject: Re: bind configuration issues

 On Oct 26, 2009, at 10:03 AM, Ray Still wrote:
  Hello,
  I am adding a redundant Internet connection to my current hosting
  setup and
  I need to figure out how to set up the DNS to make this work.

 The two issues normally aren't related.

 If both connections are from the same provider, talk to them about
 multilink PPP; if they are from different providers, you need to look
 into multihoming and getting your own AS #.


two different providers.


  Current setup:
  freebsd 7.0 machine, one local IP address, runs web, mail, and name
  server.
  static ip address in router.
  I have two DNS servers registered, but they both point to the same ip
  address an the same machine. (Yes, I should have my fingers slapped.)
 
  Desired setup
  same machine, one local IP address, runs web, mail, and name server.
  different router (Linksys RV082) with 2 static ip address.

 In order to have redundancy, you need to have two real, separate
 machines, each of which is running BIND, each of which is on a
 separate routable IP.  This is an orthogonal issue to setting up
 multiple Internet connections.

Yes, In an ideal world I would do this. The two machines would also be
in separate buildings/cities/provinces/countries/planets
(pick your level of paranoia)  ;)
However, reducing single points of failure is an improvement, even if
I can't eliminate them.



  How do I set up bind so that
  1) bandwidth is shared between the two connections,
  and
  2) if one goes down, the other keeps working.
  I had a few ideas, but they all seem to have flaws.

 You can't set up BIND to control multilink aggregation and failover;
 that's not what it does.

 Regards,
 -- freebsd-questions@freebsd.org
 -Chuck


Thanks for the replies.
Chuck, thanks for the keywords to search. Some of what I'm finding
looks like a solution for companies a lot bigger than me, but I'll
keep looking.

Gary, can you give me any clues about how to do it with just DNS? Yes,
I do realize that this leaves single points of failure, but at least
they would be points that I could do something about if necessary.

Thanks again,
Ray

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

 This email is intended to be reviewed by only the intended recipient and may 
 contain information that is privileged and/or confidential. If you are not 
 the intended recipient, you are hereby notified that any review, use, 
 dissemination, disclosure or copying of this email and its attachments, if 
 any, is strictly prohibited. If you have received this email in error, please 
 immediately notify the sender by return email and delete this email from your 
 system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Disk vs Disc (was: WD External Disc Drive)

2009-10-26 Thread Chris Rees
2009/10/26 Bob Johnson fbsdli...@gmail.com:
 On 10/26/09, Polytropon free...@edvax.de wrote:
 On Mon, 26 Oct 2009 12:07:45 +, Arthur Chance free...@qeng-ho.org
 wrote:
 The distinction you make is one
 I've not come across before, and I've worked with computers for nearly
 40 years.


 Same here. I've always been told they were completely interchangeable.

 I do recall that when floppy drives appeared for personal computers in
 the late '70s and early '80s, there was some argument about the
 correct spelling. The claim was that disc was correct, and that some
 ignorant hobbyist at a new computer company had misspelled it as
 disk and it stuck. But IBM used the disk spelling long before
 that, so I don't think that was really what happened.

 Looking in the OED, I find that disk was the original spelling, and
 in the late 1800s disc became popular, then around 1950 disk
 started regaining popularity, largely in the computer industry.


 - Bob

 --
 -- Bob Johnson
   fbsdli...@gmail.com

I have always considered hard disk, floppy diskette, and compact disc
(and digital versatile disc) to be the terminology; but then again the
official British spelling is disc, whereas AFAICR the US spelling is
disk.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FW: DNS Question

2009-10-26 Thread krad
2009/10/23 Len Conrad lcon...@go2france.com

 -- Original Message --
 From: krad kra...@googlemail.com
 Date:  Fri, 23 Oct 2009 15:56:40 +0100

 2009/10/23 Sean Cavanaugh millenia2...@hotmail.com
 
 
 
 
   Date: Fri, 23 Oct 2009 08:30:08 -0400
   From: dave.l...@pixelhammer.com
   To: freebsd-questions@freebsd.org
   Subject: DNS Question
  
   Good morning.
  
   I have been asked by my co-workers and sales why I always create a A
   record for new domains we host instead of a CNAME.
  
   The issue I run into lately with some domains is that a client has a
   website with a industry host such as frank.relator.com and he wants
 to
   have DNS point www.frank.com to frank.relator.com with a CNAME. The
   client does not want an A record for frank.com.
  
   Somewhere, in a class far far away, I was taught a DNS zone had to
 have
   a A record to function properly. I can't seem to locate anything in
 the
   RFCs.
  
   Am I wrong?
  
 
 
  I think you are confusing basics of DNS records. you are partially
 correct
  in that a DNS zone needs an initial A record to be able to translate a
 name
  to an IP, but there is nothing wrong about setting up a CNAME to point
 to a
  record in a different zone instead. you just cannot do a zone that has a
  CNAME only that does not at some point to a valid A record. CNAMEs are
  forwarders only whereas A records are actual lookups.
 
  for proper way to set this up
 
  The A record would be assigned for the main name that you want to
 associate
  to an IP address.
  The CNAME record just relates a different name to that original name.
 this
  allows you to change the IP address of the server and only have to
 update
  the original A record instead of every DNS record for that server.
 
  for small number of vhosts, this would not really be an issue, but
 imagine
  if you were hosting a couple hundred vhosts from a single IP and then
 had to
  change that IP because you switched your ISP. It would take you a LONG
 time
  to update them if they were all A records, but only a couple of seconds
 if
  you had it properly set up as CNAME's
 
  www.bobshosting.comA 192.168.0.1
  www.vhost1.com  CNAME  www.bobshosting.com.
  www.vhost2.com  CNAME  www.bobshosting.com.
  www.vhost3.com  CNAME  www.bobshosting.com.
  www.vhost4.com  CNAME  www.bobshosting.com.
 
 
 
  -Sean
 
 
   ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
 I try to use CNAMES as much as possible, for one very good reason. If say
 I
 have web server with 1000 vhost on it. I have one A record for the server
 and all the cnames point at that A record. Now i need to change the ip of
 the server. I update the A record and add a reverse record and im done. IF
 I
 had done it your way with all A records I would now have to go and edit
 another 1000 records. Even worse if some of these domains are not under my
 control I have to go and liaise with customers, or other third parties,
 and
 it becomes a complete mess. The chances of me convincing them all and
 coordinated it correctly are minimal 8(

 domains sharing records is better handled by $INCLUDE

 $INCLUDE /path/db.ttl, which contains

 $TTL 6h


 $INCLUDE /path/db.ns, which contains

 @ ns ns1.domain.tld.
 @ ns ns2.domain.tld.

 $INCLUDE /path/db.www, which contains

 @   a ip.ad.re.ss
 www a ip.ad.re.ss

 etc.

 Changing an include file changes all the zone files that include it, giving
 enormous leverage, while removing the extra query required to resolve a
 CNAME to canonical.

 Len

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


a few massive assumptions here I feel.

1. all the domains are controlled by said person
2. Are on the same server
3. Fits with the relevent provisioning system,
4. Is probably are using bind
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: bind configuration issues

2009-10-26 Thread Gary Gatten
I'm not intimate with bind, or anything/one actually - but that's another 
story...

Anyway, the gist is you need to ping some public hosts from your dns server 
(or another system I guess, but easier if on the dns server).  One destination 
host would be reachable through one connection, and the other of course would 
only be reachable through the alternate connection.  Maybe use the primary DNS 
servers each upstream ISP provides to you?  Anyway, if both pings are OK, then 
your DNS server does round-robin for the host(s) in question.  If one ping 
fails, then you stop handing out that IP.  You can for the route taken within 
ping itself, or use static host(/32) routes, etc.

Sounds simple huh?  It kinda is, and LONG ago I had a shell script to do just 
this, but it's gone - and maybe bind 9+ has some sort of this functionality 
available to you embedded in the bind code?  Don't know.  Even if you have to 
write your own script to update your dns records based on your monitoring 
process it's not that hard even for a scripting novice such as myself!

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ray Still
Sent: Monday, October 26, 2009 1:56 PM
To: freebsd-questions@freebsd.org
Subject: Re: bind configuration issues

On Mon, Oct 26, 2009 at 11:55 AM, Gary Gatten ggat...@waddell.com wrote:

 You certainly don't need BGP for this, the DNS thing will work, but will be 
 a bit kludgy and certainly not as ... responsive to failures - a la query 
 caching, TTL's and what not.

 - Original Message -
 From: owner-freebsd-questi...@freebsd.org 
 owner-freebsd-questi...@freebsd.org
 To: Ray Still rstil...@gmail.com
 Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Sent: Mon Oct 26 12:50:56 2009
 Subject: Re: bind configuration issues

 On Oct 26, 2009, at 10:03 AM, Ray Still wrote:
  Hello,
  I am adding a redundant Internet connection to my current hosting
  setup and
  I need to figure out how to set up the DNS to make this work.

 The two issues normally aren't related.

 If both connections are from the same provider, talk to them about
 multilink PPP; if they are from different providers, you need to look
 into multihoming and getting your own AS #.


two different providers.


  Current setup:
  freebsd 7.0 machine, one local IP address, runs web, mail, and name
  server.
  static ip address in router.
  I have two DNS servers registered, but they both point to the same ip
  address an the same machine. (Yes, I should have my fingers slapped.)
 
  Desired setup
  same machine, one local IP address, runs web, mail, and name server.
  different router (Linksys RV082) with 2 static ip address.

 In order to have redundancy, you need to have two real, separate
 machines, each of which is running BIND, each of which is on a
 separate routable IP.  This is an orthogonal issue to setting up
 multiple Internet connections.

Yes, In an ideal world I would do this. The two machines would also be
in separate buildings/cities/provinces/countries/planets
(pick your level of paranoia)  ;)
However, reducing single points of failure is an improvement, even if
I can't eliminate them.



  How do I set up bind so that
  1) bandwidth is shared between the two connections,
  and
  2) if one goes down, the other keeps working.
  I had a few ideas, but they all seem to have flaws.

 You can't set up BIND to control multilink aggregation and failover;
 that's not what it does.

 Regards,
 -- freebsd-questions@freebsd.org
 -Chuck


Thanks for the replies.
Chuck, thanks for the keywords to search. Some of what I'm finding
looks like a solution for companies a lot bigger than me, but I'll
keep looking.

Gary, can you give me any clues about how to do it with just DNS? Yes,
I do realize that this leaves single points of failure, but at least
they would be points that I could do something about if necessary.

Thanks again,
Ray

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

 This email is intended to be reviewed by only the intended recipient and may 
 contain information that is privileged and/or confidential. If you are not 
 the intended recipient, you are hereby notified that any review, use, 
 dissemination, disclosure or copying of this email and its attachments, if 
 any, is strictly prohibited. If you have received this email in error, please 
 immediately notify the sender by return email and delete this email from your 
 system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





font size=1
div style='border:none;border-bottom:double windowtext 

Why is sendmail is part of the system and not a package?

2009-10-26 Thread Yuri

It's in /usr/sbin/sendmail.

How many people actually use it? Very few.
Why isn't it moved to ports?

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


Re: Why is sendmail is part of the system and not a package?

2009-10-26 Thread Steve Bertrand
Yuri wrote:
 It's in /usr/sbin/sendmail.
 
 How many people actually use it? Very few.

Are you sure about that?

AFAIK, all system reports are sent with the sendmail binary.

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


Re: Why is sendmail is part of the system and not a package?

2009-10-26 Thread Bill Moran
In response to Yuri y...@rawbw.com:

 It's in /usr/sbin/sendmail.
 
 How many people actually use it? Very few.

Quite a lot.  In fact, anyone who properly installs FreeBSD as a server.

 Why isn't it moved to ports?

Because an MTA has traditionally been part of a POSIX system.

Besides, if it's not there, how are you going to send mail from things
like cron?

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FW: DNS Question

2009-10-26 Thread DAve

krad wrote:


a few massive assumptions here I feel.

1. all the domains are controlled by said person
2. Are on the same server
3. Fits with the relevent provisioning system,
4. Is probably are using bind


You betcha, though all good information.

1. Nope, the CNAME is not controlled by me.
2. Nope, the CNAMEd sites are on another provider.
3. Yes, it is possible by our support system.
4. Nope, no bind here.

I have been reading the info everyone posted, and I configured a domain 
as I was asked. Since the reconfigured domain did no harm to my servers, 
I am inclined to let them do it. If it is the right thing to do, or the 
proper thing to do, seems to matter little those in the big offices. If 
they can find nowhere on the internet where it says THOU SHALL NOT DO 
this, they believe this is industry standard.


So WTH, I'll do it, so long as it doesn't cause my pager to go beep in 
the night.


I am too tired of arguing to keep it up anymore.

Thanks,

DAve


--
Posterity, you will know how much it cost the present generation to
preserve your freedom.  I hope you will make good use of it.  If you
do not, I shall repent in heaven that ever I took half the pains to
preserve it. John Quincy Adams

http://appleseedinfo.org

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


Re: Why is sendmail is part of the system and not a package?

2009-10-26 Thread Giorgos Keramidas
On Mon, 26 Oct 2009 12:29:27 -0700, Yuri y...@rawbw.com wrote:
 It's in /usr/sbin/sendmail.

 How many people actually use it? Very few.
 Why isn't it moved to ports?

This questions comes up very often.  You can find lots of reasons in one
of the older threads about Sendmail, e.g. at:

  http://groups.google.com/group/fa.freebsd.stable/msg/166040f2d75547bc
  http://groups.google.com/group/mailing.freebsd.chat/msg/a9e850da1dba3fc2
  http://groups.google.com/group/comp.unix.bsd.freebsd.misc/msg/39f14b08bb752ca7
  http://groups.google.com/group/mailing.freebsd.current/msg/3b73a04c9f5e6a19

Sendmail is _already_ part of the ports/ BTW, and it supports many knobs
to build custom versions of Sendmail with or without IPv6, milter, NIS,
SASL, TLS or LDAP support, and so on:

  keram...@kobe:/usr/ports/mail$ more sendmail/Makefile
  [...]
  # Options to define Features:
  # SENDMAIL_WITHOUT_IPV6=yes
  # SENDMAIL_WITHOUT_MILTER=yes
  # SENDMAIL_WITHOUT_NIS=yes
  [...]

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


Re: flashplugin

2009-10-26 Thread Freminlins
2009/10/25 Matthew Seaman m.sea...@infracaninophile.co.uk


% pkg_info -r linux-f10-flashplugin-10.0r32
Information for linux-f10-flashplugin-10.0r32:

Depends on:
Dependency: linux_base-f10-10_2
Dependency: linux-f10-openssl-0.9.8g
Dependency: linux-f10-openldap-2.4.12_1
Dependency: linux-f10-libssh2-0.18
Dependency: linux-f10-cyrus-sasl2-2.1.22
Dependency: linux-f10-curl-7.19.4_4
Dependency: linux-f10-nspr-4.7.4
Dependency: linux-f10-sqlite3-3.5.9_1
Dependency: linux-f10-nss-3.12.2.0


Why the hell the Flash plugin (for Linux) needs openldap and sqlite I do not
know. SASL too for that matter.

I must admit I gave up ever getting Flash to work RELIABLY on FreeBSD a long
time ago. It's just too hard, too much work, and not worth the misery of
installing heaps of crud just to get a flipping browser plugin working
unreliably.



 Cheers,

Matthew


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


RE: bind configuration issues

2009-10-26 Thread Gary Gatten
I googled dns round robin failover and there are many hits.  One interesting 
one is:
http://forums.devshed.com/dns-36/ha-using-round-robinworking-368800.html

It suggests well written apps / resolvers will try to use all ip's returned by 
the query starting with the preferred one, not JUST the preferred one.  Which 
means, just by enabling round robin with multiple A records, you MAY get some 
level of HA/Failover by default.  Cool, BUT, I wouldn't bet my life on it.  I'd 
still have something that could tweak your DNS records based on packet loss, 
latency, etc.  What if your circuit is up, but is degraded by loss, latency 
(load induced or otherwise), etc.

As you mentioned, something is better than nothing - so start simple and go 
from there!

HTH!

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Gatten
Sent: Monday, October 26, 2009 2:07 PM
To: Ray Still; freebsd-questions@freebsd.org
Subject: RE: bind configuration issues

I'm not intimate with bind, or anything/one actually - but that's another 
story...

Anyway, the gist is you need to ping some public hosts from your dns server 
(or another system I guess, but easier if on the dns server).  One destination 
host would be reachable through one connection, and the other of course would 
only be reachable through the alternate connection.  Maybe use the primary DNS 
servers each upstream ISP provides to you?  Anyway, if both pings are OK, then 
your DNS server does round-robin for the host(s) in question.  If one ping 
fails, then you stop handing out that IP.  You can for the route taken within 
ping itself, or use static host(/32) routes, etc.

Sounds simple huh?  It kinda is, and LONG ago I had a shell script to do just 
this, but it's gone - and maybe bind 9+ has some sort of this functionality 
available to you embedded in the bind code?  Don't know.  Even if you have to 
write your own script to update your dns records based on your monitoring 
process it's not that hard even for a scripting novice such as myself!

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ray Still
Sent: Monday, October 26, 2009 1:56 PM
To: freebsd-questions@freebsd.org
Subject: Re: bind configuration issues

On Mon, Oct 26, 2009 at 11:55 AM, Gary Gatten ggat...@waddell.com wrote:

 You certainly don't need BGP for this, the DNS thing will work, but will be 
 a bit kludgy and certainly not as ... responsive to failures - a la query 
 caching, TTL's and what not.

 - Original Message -
 From: owner-freebsd-questi...@freebsd.org 
 owner-freebsd-questi...@freebsd.org
 To: Ray Still rstil...@gmail.com
 Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Sent: Mon Oct 26 12:50:56 2009
 Subject: Re: bind configuration issues

 On Oct 26, 2009, at 10:03 AM, Ray Still wrote:
  Hello,
  I am adding a redundant Internet connection to my current hosting
  setup and
  I need to figure out how to set up the DNS to make this work.

 The two issues normally aren't related.

 If both connections are from the same provider, talk to them about
 multilink PPP; if they are from different providers, you need to look
 into multihoming and getting your own AS #.


two different providers.


  Current setup:
  freebsd 7.0 machine, one local IP address, runs web, mail, and name
  server.
  static ip address in router.
  I have two DNS servers registered, but they both point to the same ip
  address an the same machine. (Yes, I should have my fingers slapped.)
 
  Desired setup
  same machine, one local IP address, runs web, mail, and name server.
  different router (Linksys RV082) with 2 static ip address.

 In order to have redundancy, you need to have two real, separate
 machines, each of which is running BIND, each of which is on a
 separate routable IP.  This is an orthogonal issue to setting up
 multiple Internet connections.

Yes, In an ideal world I would do this. The two machines would also be
in separate buildings/cities/provinces/countries/planets
(pick your level of paranoia)  ;)
However, reducing single points of failure is an improvement, even if
I can't eliminate them.



  How do I set up bind so that
  1) bandwidth is shared between the two connections,
  and
  2) if one goes down, the other keeps working.
  I had a few ideas, but they all seem to have flaws.

 You can't set up BIND to control multilink aggregation and failover;
 that's not what it does.

 Regards,
 -- freebsd-questions@freebsd.org
 -Chuck


Thanks for the replies.
Chuck, thanks for the keywords to search. Some of what I'm finding
looks like a solution for companies a lot bigger than me, but I'll
keep looking.

Gary, can you give me any clues about how to do it with just DNS? Yes,
I do realize that this leaves single points of failure, but at least
they would be points that I could do something about if necessary.


Re: configuring X on the Presario with the 8200M driver

2009-10-26 Thread Chris Whitehouse

Henry Olyer wrote:

I need more information to make this work.

help, please.  And thank you!

On Sat, Sep 26, 2009 at 8:27 AM, Chris Whitehouse cwhi...@onetel.comwrote:


Jules Gilbert wrote:


now i got up (by doing the startx as root,) but i dont' have a working
mouse.

when I am in screen mode (normal, -- with no X.) when I move the
mouse, I can see the 'arrow' pointer move just fine.

So...



If you are running hald you probably need

   option  AutoAddDevicesoff
   option  AllowEmptyInput   off


in the ServerFlags section in xorg.conf

Or you can configure hal to recognise them - there are various threads in
the archives i believe.

Chris

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




I got it all from the handbook and the mailing list archives.

http://www.freebsd.org/cgi/getmsg.cgi?fetch=106398+109934+/usr/local/www/db/text/2009/freebsd-questions/20091011.freebsd-questions

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

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


Re: Disk vs Disc (was: WD External Disc Drive)

2009-10-26 Thread Matthew Seaman

Chris Rees wrote:


I have always considered hard disk, floppy diskette, and compact disc
(and digital versatile disc) to be the terminology; but then again the
official British spelling is disc, whereas AFAICR the US spelling is
disk.


The official British spelling is whichever one of disc or disk takes your
fancy at the time.  Very few people actually care one way or the other.

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: can't make www/linux-f10-flashplugin10

2009-10-26 Thread Chris Whitehouse

Jamie Griffin wrote:

On Mon 26.Oct'09 at 13:17:56 +0300, Boris Samorodov wrote:

The port www/linux-f10-flashplugin needs linux -f10- ports. The latter
are defaults for FreeBSD-8.x and later. You can use them at 7.2
(7.2-STABLE is preferred). For more unformation take a look at
/usr/ports/UPDATING 20090401: AFFECTS: users of linux Fedora 8
infrastructure ports (it deals with non default f8 ports, f10
are the same with f10 value). HTH

Please, keep in mind that those ports are not defaults for 7.x.



Hi, thanks for the reply. I worked out what was causing the problem in
the end. (incidentally, i already had made sure the linux-f10-base was
installed.) I had stupidly left whitespace after the  = sign in the file:

/etc/sysctl.conf:

OVERRIDE_LINUX_BASE_PORT =f10
OVERRIDE_LINUX_NONBASE_PORT =f10 

correcting that did the trick and its all working great. 

Thanks again, though. 


Jamie


Just in case someone looks here and not in UPDATING referred above, they 
go in /etc/make.conf but you probably meant that :)


Chris



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



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


Re: can't make www/linux-f10-flashplugin10

2009-10-26 Thread Jamie Griffin
 Just in case someone looks here and not in UPDATING referred above, they 
 go in /etc/make.conf but you probably meant that :)
 
 Chris

Hi chris

oops, yes that is what meant. sorry.

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


[freebsd-questions] in subject line

2009-10-26 Thread Chris Whitehouse

Hi

Some mailing lists I am on automatically insert the mailing list name in 
square brackets into the subject line. I find this quite useful for 
setting up filters in thunderbird to drop different lists into different 
'folders'


I couldn't see anything in my freebsd questions list account settings to 
add that behaviour. Is it possible somehow? Or is it seen as undesirable?


Thanks

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


Re: [freebsd-questions] in subject line

2009-10-26 Thread Chuck Swiger

Hi, Chris--

On Oct 26, 2009, at 3:43 PM, Chris Whitehouse wrote:
Some mailing lists I am on automatically insert the mailing list  
name in square brackets into the subject line. I find this quite  
useful for setting up filters in thunderbird to drop different lists  
into different 'folders'


I couldn't see anything in my freebsd questions list account  
settings to add that behaviour. Is it possible somehow? Or is it  
seen as undesirable?


It's a per-list option in Mailman, not a per-user option.  In order to  
filter list mail, you can key off of the List-Id: header instead


Regards,
--
-Chuck

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


Re: [freebsd-questions] in subject line

2009-10-26 Thread Daniel C. Dowse
On Mon, 26 Oct 2009 22:43:17 +
Chris Whitehouse cwhi...@onetel.com wrote:

 Hi
 
 Some mailing lists I am on automatically insert the mailing list name in 
 square brackets into the subject line. I find this quite useful for 
 setting up filters in thunderbird to drop different lists into different 
 'folders'
 
 I couldn't see anything in my freebsd questions list account settings to 
 add that behaviour. Is it possible somehow? Or is it seen as undesirable?
 
 Thanks
 
 Chris
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I filter my incoming msgs by the to field. 
So no need for [ ] if you filter by to or list-id or cc or all
together.  I`m using Sylpheed

cheers

Daniel


-- 
[ The only reality is virtual ] 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: bind configuration issues

2009-10-26 Thread Ray Still
Ok,
tell me just how nuts this idea is.
To recap, two pipes, one destination.
I set up second DNS server.
ns1.example.com at 70.65. (provider 1)
ns2.example.com at 206.75(provider 2)
A records for example.org on ns1 will give  70.65.
on ns2 206.75
if provider one goes down, ns1 is gone, ns2 is still available, and so
is the route to the sites.

It's not the best solution, but it's better than what I have.
Am I missing something that's going to come back and bite me in the butt?
Thanks,
Ray

On Mon, Oct 26, 2009 at 2:14 PM, Gary Gatten ggat...@waddell.com wrote:
 I googled dns round robin failover and there are many hits.  One 
 interesting one is:
 http://forums.devshed.com/dns-36/ha-using-round-robinworking-368800.html

 It suggests well written apps / resolvers will try to use all ip's returned 
 by the query starting with the preferred one, not JUST the preferred one.  
 Which means, just by enabling round robin with multiple A records, you MAY 
 get some level of HA/Failover by default.  Cool, BUT, I wouldn't bet my life 
 on it.  I'd still have something that could tweak your DNS records based on 
 packet loss, latency, etc.  What if your circuit is up, but is degraded by 
 loss, latency (load induced or otherwise), etc.

 As you mentioned, something is better than nothing - so start simple and go 
 from there!

 HTH!

 G


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Gatten
 Sent: Monday, October 26, 2009 2:07 PM
 To: Ray Still; freebsd-questions@freebsd.org
 Subject: RE: bind configuration issues

 I'm not intimate with bind, or anything/one actually - but that's another 
 story...

 Anyway, the gist is you need to ping some public hosts from your dns server 
 (or another system I guess, but easier if on the dns server).  One 
 destination host would be reachable through one connection, and the other of 
 course would only be reachable through the alternate connection.  Maybe use 
 the primary DNS servers each upstream ISP provides to you?  Anyway, if both 
 pings are OK, then your DNS server does round-robin for the host(s) in 
 question.  If one ping fails, then you stop handing out that IP.  You can for 
 the route taken within ping itself, or use static host(/32) routes, etc.

 Sounds simple huh?  It kinda is, and LONG ago I had a shell script to do just 
 this, but it's gone - and maybe bind 9+ has some sort of this functionality 
 available to you embedded in the bind code?  Don't know.  Even if you have to 
 write your own script to update your dns records based on your monitoring 
 process it's not that hard even for a scripting novice such as myself!

 G


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ray Still
 Sent: Monday, October 26, 2009 1:56 PM
 To: freebsd-questions@freebsd.org
 Subject: Re: bind configuration issues

 On Mon, Oct 26, 2009 at 11:55 AM, Gary Gatten ggat...@waddell.com wrote:

 You certainly don't need BGP for this, the DNS thing will work, but will 
 be a bit kludgy and certainly not as ... responsive to failures - a la 
 query caching, TTL's and what not.

 - Original Message -
 From: owner-freebsd-questi...@freebsd.org 
 owner-freebsd-questi...@freebsd.org
 To: Ray Still rstil...@gmail.com
 Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Sent: Mon Oct 26 12:50:56 2009
 Subject: Re: bind configuration issues

 On Oct 26, 2009, at 10:03 AM, Ray Still wrote:
  Hello,
  I am adding a redundant Internet connection to my current hosting
  setup and
  I need to figure out how to set up the DNS to make this work.

 The two issues normally aren't related.

 If both connections are from the same provider, talk to them about
 multilink PPP; if they are from different providers, you need to look
 into multihoming and getting your own AS #.


 two different providers.


  Current setup:
  freebsd 7.0 machine, one local IP address, runs web, mail, and name
  server.
  static ip address in router.
  I have two DNS servers registered, but they both point to the same ip
  address an the same machine. (Yes, I should have my fingers slapped.)
 
  Desired setup
  same machine, one local IP address, runs web, mail, and name server.
  different router (Linksys RV082) with 2 static ip address.

 In order to have redundancy, you need to have two real, separate
 machines, each of which is running BIND, each of which is on a
 separate routable IP.  This is an orthogonal issue to setting up
 multiple Internet connections.

 Yes, In an ideal world I would do this. The two machines would also be
 in separate buildings/cities/provinces/countries/planets
 (pick your level of paranoia)  ;)
 However, reducing single points of failure is an improvement, even if
 I can't eliminate them.



  How do I set up bind so that
  1) bandwidth is shared between the two connections,
  and
  

Re: bind configuration issues

2009-10-26 Thread Gary Gatten
Yes, your missing something.  I don't think your solution will work very well.

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Mon Oct 26 18:13:47 2009
Subject: Re: bind configuration issues

Ok,
tell me just how nuts this idea is.
To recap, two pipes, one destination.
I set up second DNS server.
ns1.example.com at 70.65. (provider 1)
ns2.example.com at 206.75(provider 2)
A records for example.org on ns1 will give  70.65.
on ns2 206.75
if provider one goes down, ns1 is gone, ns2 is still available, and so
is the route to the sites.

It's not the best solution, but it's better than what I have.
Am I missing something that's going to come back and bite me in the butt?
Thanks,
Ray

On Mon, Oct 26, 2009 at 2:14 PM, Gary Gatten ggat...@waddell.com wrote:
 I googled dns round robin failover and there are many hits.  One 
 interesting one is:
 http://forums.devshed.com/dns-36/ha-using-round-robinworking-368800.html

 It suggests well written apps / resolvers will try to use all ip's returned 
 by the query starting with the preferred one, not JUST the preferred one.  
 Which means, just by enabling round robin with multiple A records, you MAY 
 get some level of HA/Failover by default.  Cool, BUT, I wouldn't bet my life 
 on it.  I'd still have something that could tweak your DNS records based on 
 packet loss, latency, etc.  What if your circuit is up, but is degraded by 
 loss, latency (load induced or otherwise), etc.

 As you mentioned, something is better than nothing - so start simple and go 
 from there!

 HTH!

 G


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Gatten
 Sent: Monday, October 26, 2009 2:07 PM
 To: Ray Still; freebsd-questions@freebsd.org
 Subject: RE: bind configuration issues

 I'm not intimate with bind, or anything/one actually - but that's another 
 story...

 Anyway, the gist is you need to ping some public hosts from your dns server 
 (or another system I guess, but easier if on the dns server).  One 
 destination host would be reachable through one connection, and the other of 
 course would only be reachable through the alternate connection.  Maybe use 
 the primary DNS servers each upstream ISP provides to you?  Anyway, if both 
 pings are OK, then your DNS server does round-robin for the host(s) in 
 question.  If one ping fails, then you stop handing out that IP.  You can for 
 the route taken within ping itself, or use static host(/32) routes, etc.

 Sounds simple huh?  It kinda is, and LONG ago I had a shell script to do just 
 this, but it's gone - and maybe bind 9+ has some sort of this functionality 
 available to you embedded in the bind code?  Don't know.  Even if you have to 
 write your own script to update your dns records based on your monitoring 
 process it's not that hard even for a scripting novice such as myself!

 G


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ray Still
 Sent: Monday, October 26, 2009 1:56 PM
 To: freebsd-questions@freebsd.org
 Subject: Re: bind configuration issues

 On Mon, Oct 26, 2009 at 11:55 AM, Gary Gatten ggat...@waddell.com wrote:

 You certainly don't need BGP for this, the DNS thing will work, but will 
 be a bit kludgy and certainly not as ... responsive to failures - a la 
 query caching, TTL's and what not.

 - Original Message -
 From: owner-freebsd-questi...@freebsd.org 
 owner-freebsd-questi...@freebsd.org
 To: Ray Still rstil...@gmail.com
 Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Sent: Mon Oct 26 12:50:56 2009
 Subject: Re: bind configuration issues

 On Oct 26, 2009, at 10:03 AM, Ray Still wrote:
  Hello,
  I am adding a redundant Internet connection to my current hosting
  setup and
  I need to figure out how to set up the DNS to make this work.

 The two issues normally aren't related.

 If both connections are from the same provider, talk to them about
 multilink PPP; if they are from different providers, you need to look
 into multihoming and getting your own AS #.


 two different providers.


  Current setup:
  freebsd 7.0 machine, one local IP address, runs web, mail, and name
  server.
  static ip address in router.
  I have two DNS servers registered, but they both point to the same ip
  address an the same machine. (Yes, I should have my fingers slapped.)
 
  Desired setup
  same machine, one local IP address, runs web, mail, and name server.
  different router (Linksys RV082) with 2 static ip address.

 In order to have redundancy, you need to have two real, separate
 machines, each of which is running BIND, each of which is on a
 separate routable IP.  This is an orthogonal issue to setting up
 multiple Internet connections.

 Yes, In an ideal world I would do 

Re: bind configuration issues

2009-10-26 Thread Gary Gatten
How will the client side resolvers know what dns server to use to resolve 
example.com?

- Original Message -
From: Gary Gatten
To: 'rstil...@gmail.com' rstil...@gmail.com; 'freebsd-questions@freebsd.org' 
freebsd-questions@freebsd.org
Sent: Mon Oct 26 18:24:38 2009
Subject: Re: bind configuration issues

Yes, your missing something.  I don't think your solution will work very well.

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Mon Oct 26 18:13:47 2009
Subject: Re: bind configuration issues

Ok,
tell me just how nuts this idea is.
To recap, two pipes, one destination.
I set up second DNS server.
ns1.example.com at 70.65. (provider 1)
ns2.example.com at 206.75(provider 2)
A records for example.org on ns1 will give  70.65.
on ns2 206.75
if provider one goes down, ns1 is gone, ns2 is still available, and so
is the route to the sites.

It's not the best solution, but it's better than what I have.
Am I missing something that's going to come back and bite me in the butt?
Thanks,
Ray

On Mon, Oct 26, 2009 at 2:14 PM, Gary Gatten ggat...@waddell.com wrote:
 I googled dns round robin failover and there are many hits.  One 
 interesting one is:
 http://forums.devshed.com/dns-36/ha-using-round-robinworking-368800.html

 It suggests well written apps / resolvers will try to use all ip's returned 
 by the query starting with the preferred one, not JUST the preferred one.  
 Which means, just by enabling round robin with multiple A records, you MAY 
 get some level of HA/Failover by default.  Cool, BUT, I wouldn't bet my life 
 on it.  I'd still have something that could tweak your DNS records based on 
 packet loss, latency, etc.  What if your circuit is up, but is degraded by 
 loss, latency (load induced or otherwise), etc.

 As you mentioned, something is better than nothing - so start simple and go 
 from there!

 HTH!

 G


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Gatten
 Sent: Monday, October 26, 2009 2:07 PM
 To: Ray Still; freebsd-questions@freebsd.org
 Subject: RE: bind configuration issues

 I'm not intimate with bind, or anything/one actually - but that's another 
 story...

 Anyway, the gist is you need to ping some public hosts from your dns server 
 (or another system I guess, but easier if on the dns server).  One 
 destination host would be reachable through one connection, and the other of 
 course would only be reachable through the alternate connection.  Maybe use 
 the primary DNS servers each upstream ISP provides to you?  Anyway, if both 
 pings are OK, then your DNS server does round-robin for the host(s) in 
 question.  If one ping fails, then you stop handing out that IP.  You can for 
 the route taken within ping itself, or use static host(/32) routes, etc.

 Sounds simple huh?  It kinda is, and LONG ago I had a shell script to do just 
 this, but it's gone - and maybe bind 9+ has some sort of this functionality 
 available to you embedded in the bind code?  Don't know.  Even if you have to 
 write your own script to update your dns records based on your monitoring 
 process it's not that hard even for a scripting novice such as myself!

 G


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ray Still
 Sent: Monday, October 26, 2009 1:56 PM
 To: freebsd-questions@freebsd.org
 Subject: Re: bind configuration issues

 On Mon, Oct 26, 2009 at 11:55 AM, Gary Gatten ggat...@waddell.com wrote:

 You certainly don't need BGP for this, the DNS thing will work, but will 
 be a bit kludgy and certainly not as ... responsive to failures - a la 
 query caching, TTL's and what not.

 - Original Message -
 From: owner-freebsd-questi...@freebsd.org 
 owner-freebsd-questi...@freebsd.org
 To: Ray Still rstil...@gmail.com
 Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Sent: Mon Oct 26 12:50:56 2009
 Subject: Re: bind configuration issues

 On Oct 26, 2009, at 10:03 AM, Ray Still wrote:
  Hello,
  I am adding a redundant Internet connection to my current hosting
  setup and
  I need to figure out how to set up the DNS to make this work.

 The two issues normally aren't related.

 If both connections are from the same provider, talk to them about
 multilink PPP; if they are from different providers, you need to look
 into multihoming and getting your own AS #.


 two different providers.


  Current setup:
  freebsd 7.0 machine, one local IP address, runs web, mail, and name
  server.
  static ip address in router.
  I have two DNS servers registered, but they both point to the same ip
  address an the same machine. (Yes, I should have my fingers slapped.)
 
  Desired setup
  same machine, one local IP address, runs web, mail, and name server.
  different 

Re: flashplugin

2009-10-26 Thread PJ
Thank you very much Herbert,

I appreciate your input.
As I wrote in my original query, I had auccessfully installed the
lilnux-flashplugin9 on FreeBSD 7.2 both on a 64 bit portable _ Acer
Travelmate 4400 - and on a couple of disks on the same machine (i386). I
followed the instructions  from
http://crnl.org/blog/2008/11/01/flash-9-for-freebsd-71#comment-form

 upgrade FreeBSD. Once that's done the rest is straight forward.
 
Step 1: Enable Linux compatibility and linprocfs
Add linux_enable=YES to /etc/rc.conf. Add
compat.linux.osrelease=2.6.16 to /etc/sysctl.conf. Add
OVERRIDE_LINUX_BASE_PORT=f8 to /etc/make.conf. Add this line to /etc/fstab:
linproc /usr/compat/linux/proc linprocfs rw 0 0
Then run these commands:
mkdir -p /usr/compat/linux/proc
mount /usr/compat/linux/proc
/etc/rc.d/abi start
/etc/rc.d/sysctl start   
Step 2: Update ports and install all the needed software
You will now need to install the following ports and their
dependencies:
cd /usr/ports/emulators/linux_base-f8  make install clean
cd /usr/ports/www/linux-flashplugin9  make install clean
cd /usr/ports/www/nspluginwrapper  make install clean
Follow the nspluginwrapper instructions to enable all
available plugins:
# nspluginwrapper -v -a -i
Auto-install plugins from /usr/X11R6/lib/browser_plugins
Looking for plugins in /usr/X11R6/lib/browser_plugins
Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so
Auto-install plugins from /root/.mozilla/plugins
Looking for plugins in /root/.mozilla/plugins
Restart or open Firefox 3 and enter about:plugins into your
address bar. You should see something like the following:

And that's it! Open your favourite Flash site and all should
work.
If your browser doesn't register the Shockwave Flash plugin
as pictured above, you might need to do a bit of extra work as I had to
do on one of my machines:
cd /usr/local/lib/firefox3/plugins  ln -s
/usr/local/lib/browser_plugins/npwrapper.libflashplayer.so
npwrapper.libflashplayer.so
I'm not sure why one of my machines needed this, but it
might happen to you so this is just a heads up.
Update: I have learned that the change with the plugin
directory is due to a change in FreeBSD's Firefox 3 port. If you're
running port version 3.0.1_1 or later you will need to use the new
plugin directory as shown above. CVS change history can be seen here.
Enjoy!
 
Worked without a problem. But while learning how to dump/restore to make
clones, I cannot imagine what happened, but I found that the machines
now had lilnux-fc4 distribution. This did not work. I have tried to
install all the versions  of  linux, except the f10, and all versions of
flashplayer 0 7, 9 and even 10 ... no way will it work...so I just have
to abandon it an accept the fact that Adobe sucks just as much as
MushWindows.

I have also tried following the instructions in the manual and have lost
a tremendous lot of time... really, this is the kind of shit that we
just don't need ... why do we tolerate the likes of Adobe and MS?
(Rhetorical question)
Thanks, anyway.
   
 
   

herbert langhans wrote:
 I have some instructions on http://freebsd.langhans.com.pl/af/index.html - 
 not updated for a while, but it might be some useful input.

 Cheers
 herb langhans


 On Sat, Oct 24, 2009 at 07:56:58PM -0400, PJ wrote:
   
 Is there any definitive install guide for flashplugin.
 I was able to install it on a 7.2 64bit machine and then on an i386 but
 somehow it has morphed into god-knows-what and no longer works.
 I thought I had installed it with linux-f8 emulations but I found the
 linux-f4 on the machine... so I don't know what is going on.
 Now, trying to reinstall under linux-f8 and flashplugin9 does not work...
 Adobe seems to be toally unreliable as to what they are doing with their
 software; at least from what I can see about the problems users are
 having with their products.
 So, the question - what is the latest method to get the flashplugin to
 work - what linux emulation, whick version of flashplugin... stumble,
 bumble and mumble ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 

   

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


Re: flashplugin

2009-10-26 Thread PJ
Matthew Seaman wrote:
 PJ wrote:
 Is there any definitive install guide for flashplugin.
 I was able to install it on a 7.2 64bit machine and then on an i386 but
 somehow it has morphed into god-knows-what and no longer works.

 This is what I did for a 7.2 box.  Note that there are compatibility
 issues between new versions of Linux emulation and older versions of
 FreeBSD, so don't expect this to work with anything older.

 * Make a note of all the linux-emulated software you have installed
  for later reference:

 # pkg_info -orx linux  linux-stuff

  We save the package origins in particular, because this procedure
  will result in a name change for most linux packages.

 * Delete everything linux related

 # pkg_delete -rx linux

 * Check and clean out /compat/linux -- there shouldn't be any interesting
  files left in this directory after the above step.  As I recall, when I
  did this, there was a ldconfig.hints file (which would be regenerated on
  demand), and some Acrobat related stuff under /compat/linux/home/matthew
  which I didn't care about, and which shouldn't have been there anyhow.

 # cd /compat/linux
 # find . -type f -ls
 # rm -rf *

 * Change the default Linux kernel version for emulation:

 # sysctl compat.linux.osrelease=2.6.16

  Also add compat.linux.osrelease=2.6.16 to /etc/sysctl.conf so it
  gets reset on reboots.

 * Tell the ports system we want to use Fedora-10 as the Linux base by
 adding

 OVERRIDE_LINUX_BASE_PORT=   f10
 OVERRIDE_LINUX_NONBASE_PORTS=   f10

   to /etc/make.conf.

 * Now install www/linux-f10-flashplugin10 from ports -- this should
 have all
  of the following as dependencies (modulo any version updates that may
 have
  happened since writing this):

 % pkg_info -r linux-f10-flashplugin-10.0r32
 Information for linux-f10-flashplugin-10.0r32:

 Depends on:
 Dependency: linux_base-f10-10_2
 Dependency: linux-f10-openssl-0.9.8g
 Dependency: linux-f10-openldap-2.4.12_1
 Dependency: linux-f10-libssh2-0.18
 Dependency: linux-f10-cyrus-sasl2-2.1.22
 Dependency: linux-f10-curl-7.19.4_4
 Dependency: linux-f10-nspr-4.7.4
 Dependency: linux-f10-sqlite3-3.5.9_1
 Dependency: linux-f10-nss-3.12.2.0

  if that isn't the case and you aren't getting the f10 flavour of those
  ports, double check everything you've done so far for errors, and try
 again
  from the top.

 * Add nspluginwrapper to enable Firefox to load the flash add-on:

 # portinstall www/nspluginwrapper

  (This has a dependency list as long as your arm, so it might take some
  time...)

  Following the install instructions for the nspluginwrapper package
 (which
  you can redisplay by pkg_info -Dx nspluginwrapper)  install
 whatever globally
  available plugins there are by running this as root:

 # nspluginwrapper -v -a -i

  This puts plugins into /usr/local/lib/browser_plugins/ which Firefox
 should
  read.  Alternatively, install the plugins locally to your own user
 account
  by running that command under your own UID:

 % nspluginwrapper -v -a -i

 * Finally, fire up Firefox and check that it has loaded the flash
 plugin by
  typing 'about:plugins' into the URL bar.  Find a site with flash
 content[*],
  and enjoy.

 * Check the list you made at the first step, and reinstall any other
 linux
  applications you want. 
 So far I've found flash10 under Fedora10 to be pretty stable and
 inoffensive
 on FreeBSD 7.2.  You even get the sound track on Flash movies. 
 However I'm
 still running Firefox with xpi-flashblock-1.5.11.2 and
 xpi-noscript-1.9.3.3 on general principles

 Adobe Acrobat isn't working, but I think that's more to do with the
 map_at_zero stuff introduced in the last security advisory.

 Cheers,

 Matthew

 [*] I think there are one or two flash based things at YouTube.com

Much appreciated, Matthew.
I will give it a shot... maybe I should have tried to clean things out
earlier... I was just too-dumb-lazy and din't know the shortcuts you
offer above.
Will let you know... but it may take some time as I have to catch up
with lost time  energy. :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-26 Thread PJ
Freminlins wrote:
 2009/10/25 Matthew Seaman m.sea...@infracaninophile.co.uk


   
% pkg_info -r linux-f10-flashplugin-10.0r32
Information for linux-f10-flashplugin-10.0r32:

Depends on:
Dependency: linux_base-f10-10_2
Dependency: linux-f10-openssl-0.9.8g
Dependency: linux-f10-openldap-2.4.12_1
Dependency: linux-f10-libssh2-0.18
Dependency: linux-f10-cyrus-sasl2-2.1.22
Dependency: linux-f10-curl-7.19.4_4
Dependency: linux-f10-nspr-4.7.4
Dependency: linux-f10-sqlite3-3.5.9_1
Dependency: linux-f10-nss-3.12.2.0

 

 Why the hell the Flash plugin (for Linux) needs openldap and sqlite I do not
 know. SASL too for that matter.

 I must admit I gave up ever getting Flash to work RELIABLY on FreeBSD a long
 time ago. It's just too hard, too much work, and not worth the misery of
 installing heaps of crud just to get a flipping browser plugin working
 unreliably.
   
I haven't tried your last suggestion yet... but it will be the last...
I'm only wanted to be able to use it for my own development stuff - I
have to time for the youtubes and mindless twitterings. Fortunately, as
much as I hate MS, flash does work on it. But adobe and ms muck up the
system so that it lumbers along like a humpty-Dumpty overstuffed
S-car-go! ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: bind configuration issues

2009-10-26 Thread Steve Bertrand
Ray Still wrote:
 Ok,
 tell me just how nuts this idea is.

imho, your thought-process is not nuts. I can see what you are trying to
do, so kudos given for trying to work it out with what you have.

 To recap, two pipes, one destination.

 I set up second DNS server.
 ns1.example.com at 70.65. (provider 1)
 ns2.example.com at 206.75(provider 2)
 A records for example.org on ns1 will give  70.65.
 on ns2 206.75
 if provider one goes down, ns1 is gone, ns2 is still available, and so
 is the route to the sites.

Note: I haven't followed the entire thread...

Remember that no matter where your name servers are located, they both
will hold the same information (if they don't, then shame on you, as you
just broke scalability).

This means that other caching servers all over the 'net may have either
entry. Some ISP's name servers will cache records even longer than what
your TTL is set to without trying to re-check (shame on them). Hence,
you can never count on using DNS naming as a tactic for redundancy.

 It's not the best solution, but it's better than what I have.

If I understand your conundrum properly (one server with an internal IP,
with NAT in front of it, port-forwarded back aliased from two separate
ISP public IPs), then, at minimum, here's how you can essentially
'halve' the damage:

- set up your DNS servers in a proper master/slave configuration
- configure your 'A' records in a round-robin setup. I'll assume your
zone is ibctech.ca, and that your $TTL is 360:

www   IN A 208.70.104.210
www   IN A 208.70.104.211

(yes, I know 360 puts pressure on everyone else, but this is for example
purposes).

If I know I will need to make DNS changes in advance for a domain, I'll
set the TTL to 360 (secs) long before the changes need to be made. Then,
I can make the changes, and if caching resolvers are Doing The Right
Thing, they will pick up these changes after five minutes.

If you have a domain that is high-traffic, don't do this. I'd like to
emphasize that a low ttl puts pressure on every DNS caching server on
the Internet that must look up information on your domain.

With that said, with a 5 min ttl, in the event of an outage, you can hop
onto your authoritative DNS server, switch BOTH A records to point to
the working IP, and the rest of the 'net 'should' be able to see those
changes within five minutes (again, if they obey your ttl).

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


Re: bind configuration issues

2009-10-26 Thread Steve Bertrand
Ray Still wrote:
 Ok,
 tell me just how nuts this idea is.

In addition to my other post:

I like your mentality of trying to do whatever you can to create redundancy.

I've often tried to think of ways to use DNS to make things redundant
and resilient.

Keep up trying new ways to stretch things in ways people may not have
expected. You never know what you may stumble across one day.

Cheers,

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


Re: Why is sendmail is part of the system and not a package?

2009-10-26 Thread Olivier Nicole
 How many people actually use it? Very few.

Out of the 12 or 15 servers I run, only one do not use stock sendmail:
the mail server. So one out of twelve is rather quite a lot...

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


howto use https in favour of http

2009-10-26 Thread Alexander Best
hi there,

i've added the following line to my /etc/hosts:

permail.uni-muenster.de:25  permail.uni-muenster.de:443

so what i want is for freebsd to never use http, but https for that address.
unfortunately hosts doesn't seem to support this syntax.

any advice on how to do this?

cheers.
alex

ps: i'm running FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #7 r198330M: Thu
Oct 22 18:03:45 CEST 2009 r...@otaku:/usr/obj/usr/src/sys/ARUNDEL  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: howto use https in favour of http

2009-10-26 Thread Steve Bertrand
Alexander Best wrote:
 hi there,
 
 i've added the following line to my /etc/hosts:
 
 permail.uni-muenster.de:25  permail.uni-muenster.de:443
 
 so what i want is for freebsd to never use http, but https for that address.
 unfortunately hosts doesn't seem to support this syntax.

It doesn't work that way.

The 'hosts' file resolves a name to an IP address.

I can see what you want to do here, but to get there, you must provide
in your own words what it is you want exactly...

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


Re: howto use https in favour of http

2009-10-26 Thread Olivier Nicole
Hi,

 i've added the following line to my /etc/hosts:
 
 permail.uni-muenster.de:25  permail.uni-muenster.de:443
 
 so what i want is for freebsd to never use http, but https for that address.
 unfortunately hosts doesn't seem to support this syntax.

De3finitely not. man hosts to see the syntax and meaning of the
/etc/hosts file.

 any advice on how to do this?

I am not sure what you want to do. You want to install a web server
that only serves https? then you configure your web server to only
serve https, in Apache configuration you would only have a 
VirtualHost: permail.uni-muenster.de:443
and none with port 80.

Best regards,

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


Re: howto use https in favour of http

2009-10-26 Thread Alexander Best
Olivier Nicole schrieb am 2009-10-27:
 Hi,

  i've added the following line to my /etc/hosts:

  permail.uni-muenster.de:25  permail.uni-muenster.de:443

  so what i want is for freebsd to never use http, but https for that
  address.
  unfortunately hosts doesn't seem to support this syntax.

 De3finitely not. man hosts to see the syntax and meaning of the
 /etc/hosts file.

  any advice on how to do this?

 I am not sure what you want to do. You want to install a web server
 that only serves https? then you configure your web server to only
 serve https, in Apache configuration you would only have a
 VirtualHost: permail.uni-muenster.de:443
 and none with port 80.

 Best regards,

 Olivier

sorry if i didn't specify my problem in detail.

i'm not using a webserver or anything. i'm just a regular user. the point is:
i often forget to specify https://... for that specific address in apps like
lynx or firefox. that's why the non-ssl version of that site is being loaded.
i'd like freebsd to take care of this so even if the app is trying to access
the non-ssl version it should in fact be redirected to the ssl version by
freebsd.

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


Re: howto use https in favour of http

2009-10-26 Thread Olivier Nicole
Alex,

 i'm not using a webserver or anything. i'm just a regular user. the point is:
 i often forget to specify https://... for that specific address in apps like
 lynx or firefox. that's why the non-ssl version of that site is being loaded.
 i'd like freebsd to take care of this so even if the app is trying to access
 the non-ssl version it should in fact be redirected to the ssl version by
 freebsd.

I think it is the responsibility of the person in charge of the server
to decide whether non-ssl connections are allowed or not; and to
redirect non-ssl connections to ssl ones when needed. That should
never be a burden for the client.

Now on your client side what you can do is:

- set-up a firewall to forbid non-ssl connections to certain web
  sites: if you try a non-ssl connection, it will be refused; easy
  enough to set-up, but frustrating when you see that your connection
  is refused;

- set-up a proxy/redirector to change your non-ssl connections to ssl
  one: certainly an heavier thing to set-up, but would work
  transparently;

Good luck,

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


Re: howto use https in favour of http

2009-10-26 Thread Steve Bertrand
Alexander Best wrote:
 Olivier Nicole schrieb am 2009-10-27:
 Hi,
 
 i've added the following line to my /etc/hosts:
 
 permail.uni-muenster.de:25  permail.uni-muenster.de:443
 
 so what i want is for freebsd to never use http, but https for that
 address.
 unfortunately hosts doesn't seem to support this syntax.
 
 De3finitely not. man hosts to see the syntax and meaning of the
 /etc/hosts file.
 
 any advice on how to do this?
 
 I am not sure what you want to do. You want to install a web server
 that only serves https? then you configure your web server to only
 serve https, in Apache configuration you would only have a
 VirtualHost: permail.uni-muenster.de:443
 and none with port 80.
 
 Best regards,
 
 Olivier
 
 sorry if i didn't specify my problem in detail.
 
 i'm not using a webserver or anything. i'm just a regular user. the point is:
 i often forget to specify https://... for that specific address in apps like
 lynx or firefox. that's why the non-ssl version of that site is being loaded.
 i'd like freebsd to take care of this so even if the app is trying to access
 the non-ssl version it should in fact be redirected to the ssl version by
 freebsd.

I thought that this is what you were originally after.

FreeBSD, in itself, can't do this... much like Mac OS or Windows can't
do this.

Most applications such as Firefox can't even do this (inherently).

If you are trying to enforce this as a personal/company policy, you will
need to write a 'wrapper' around your application (lynx/firefox) to do this.

Note that your example was :25-:443, which implied SMTP over SSL...

Nonetheless, FreeBSD can't make these decisions inherently (thankfully).

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


Invitation to connect on LinkedIn

2009-10-26 Thread Andrew Falanga
LinkedIn


Andrew Falanga requested to add you as a connection on LinkedIn:
--

Jerry,

I'd like to add you to my professional network on LinkedIn.

- Andrew

Accept invitation from Andrew Falanga
http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1536239637_2/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_cBYTcPoVcP8ScPkNiiZyhm5js397biYRdPoMcP0OczwLrCBxbOYWrSlI/EML_comm_afe/

View invitation from Andrew Falanga
http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1536239637_2/39vdPcSejcOdzcRckALqnpPbOYWrSlI/svi/


 
--
(c) 2009, LinkedIn Corporation

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


Lagg driver not working on HP Proliant

2009-10-26 Thread Peter Steele
We just purchased an HP Proliant DL320 G6, a 1U server with two Broadcom NICs. 
When configured as standalone interfaces, the two NICs work fine. However, when 
configured as a failover lagg pair, we cannot assign an IP to the lagg0 
interface. We are using the following entry in our rc.conf file:

ifconfig_lagg0=laggproto failover laggport bge0 laggport bge1 dhcp

This same setup works fine on our other 1U servers, the difference being that 
they have nVidia NICS instead of Broadcom (nfe instead of bge). Does anyone 
know if there is a driver patch for the Broadcom NICs that will solve this lagg 
issue? We are running a 7.0 system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: howto use https in favour of http

2009-10-26 Thread Michael Powell
Steve Bertrand wrote:

 Alexander Best wrote:
 Olivier Nicole schrieb am 2009-10-27:
 Hi,
 
 i've added the following line to my /etc/hosts:
 
 permail.uni-muenster.de:25  permail.uni-muenster.de:443
 
 so what i want is for freebsd to never use http, but https for that
 address.
 unfortunately hosts doesn't seem to support this syntax.
 
[snip]
 
 i'm not using a webserver or anything. i'm just a regular user. the point
 is: i often forget to specify https://... for that specific address in
 apps like lynx or firefox. that's why the non-ssl version of that site is
 being loaded. i'd like freebsd to take care of this so even if the app is
 trying to access the non-ssl version it should in fact be redirected to
 the ssl version by freebsd.
 
 I thought that this is what you were originally after.
 
 FreeBSD, in itself, can't do this... much like Mac OS or Windows can't
 do this.
 
 Most applications such as Firefox can't even do this (inherently).
 
 If you are trying to enforce this as a personal/company policy, you will
 need to write a 'wrapper' around your application (lynx/firefox) to do
 this.
 
 Note that your example was :25-:443, which implied SMTP over SSL...
 
 Nonetheless, FreeBSD can't make these decisions inherently (thankfully).
 
 Steve

I think the OP does not have a clear grasp on how the various protocols 
operate. Evidenced by confusing http with mail services. Yes, I know there 
is 'web mail', but even web based mail is still a web server.

It is up to the server operator to configure the services on the server end 
of things. Whether its SMTP with SSL/TLS, HTTP/HTTPS, pop3 or imap with SSL, 
etc., all of these things are made to work at the server end. True enough a 
client may need to be configured to talk on port 995 for pop3/SSL or port 
993 for IMAP/SSL but for the web a client shouldn't need to do anything.

The web server operator configures which locations in his URI space should 
be served up on port 443, and the client's browser should automatically 
switch to HTTPS based upon this. The OP doesn't seem to understand that he 
doesn't need to make this happen on his end, at least as far as HTTP/HTTPS 
goes.

If he is actually trying to configure a mail client to talk TLS or SSL to an 
SMTP server, then he needs to tell the email client software this. E.g., 
This connection requires encryption and whether it is SSL or TLS. Mail 
servers on port 25 do not use HTTP or HTTPS, but rather SMTP.

So it seems as if he is just very confused.

-Mike



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


Re: bind configuration issues

2009-10-26 Thread Ray Still
On Mon, Oct 26, 2009 at 6:42 PM, Steve Bertrand st...@ibctech.ca wrote:
 Ray Still wrote:
 Ok,
 tell me just how nuts this idea is.

 imho, your thought-process is not nuts. I can see what you are trying to
 do, so kudos given for trying to work it out with what you have.

 To recap, two pipes, one destination.

 I set up second DNS server.
 ns1.example.com at 70.65. (provider 1)
 ns2.example.com at 206.75(provider 2)
 A records for example.org on ns1 will give  70.65.
 on ns2 206.75
 if provider one goes down, ns1 is gone, ns2 is still available, and so
 is the route to the sites.

 Note: I haven't followed the entire thread...

 Remember that no matter where your name servers are located, they both
 will hold the same information (if they don't, then shame on you, as you
 just broke scalability).

 This means that other caching servers all over the 'net may have either
 entry. Some ISP's name servers will cache records even longer than what
 your TTL is set to without trying to re-check (shame on them). Hence,
 you can never count on using DNS naming as a tactic for redundancy.

 It's not the best solution, but it's better than what I have.

 If I understand your conundrum properly (one server with an internal IP,
 with NAT in front of it, port-forwarded back aliased from two separate
 ISP public IPs), then, at minimum, here's how you can essentially
 'halve' the damage:

 - set up your DNS servers in a proper master/slave configuration
 - configure your 'A' records in a round-robin setup. I'll assume your
 zone is ibctech.ca, and that your $TTL is 360:

 www   IN A 208.70.104.210
 www   IN A 208.70.104.211

 (yes, I know 360 puts pressure on everyone else, but this is for example
 purposes).

 If I know I will need to make DNS changes in advance for a domain, I'll
 set the TTL to 360 (secs) long before the changes need to be made. Then,
 I can make the changes, and if caching resolvers are Doing The Right
 Thing, they will pick up these changes after five minutes.

 If you have a domain that is high-traffic, don't do this. I'd like to
 emphasize that a low ttl puts pressure on every DNS caching server on
 the Internet that must look up information on your domain.

 With that said, with a 5 min ttl, in the event of an outage, you can hop
 onto your authoritative DNS server, switch BOTH A records to point to
 the working IP, and the rest of the 'net 'should' be able to see those
 changes within five minutes (again, if they obey your ttl).

 Steve


OK,
after reading and re-reading and experimenting I think I get it.
Thanks for your comments and patience.
I will probably end up using something based on Gary's round robin
suggestion. It may not provide 100% reliable failover, but it will
help, and worst case, it will provide some bandwidth sharing.
Thanks,
Ray
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: howto use https in favour of http

2009-10-26 Thread jhell


On Mon, 26 Oct 2009 22:29, alexbestms@ wrote:

Olivier Nicole schrieb am 2009-10-27:

Hi,



i've added the following line to my /etc/hosts:



permail.uni-muenster.de:25  permail.uni-muenster.de:443



so what i want is for freebsd to never use http, but https for that
address.
unfortunately hosts doesn't seem to support this syntax.



De3finitely not. man hosts to see the syntax and meaning of the
/etc/hosts file.



any advice on how to do this?



I am not sure what you want to do. You want to install a web server
that only serves https? then you configure your web server to only
serve https, in Apache configuration you would only have a
VirtualHost: permail.uni-muenster.de:443
and none with port 80.



Best regards,



Olivier


sorry if i didn't specify my problem in detail.

i'm not using a webserver or anything. i'm just a regular user. the point is:
i often forget to specify https://... for that specific address in apps like
lynx or firefox. that's why the non-ssl version of that site is being loaded.
i'd like freebsd to take care of this so even if the app is trying to access
the non-ssl version it should in fact be redirected to the ssl version by
freebsd.

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



Add some shell aliases to your shells rc's.

Bourne style shells:

alias your_name=lynx https://sub.domain.tld/;

Ill leave the c style shell syntax for you to figure out.

Now as long as you can remember your_name then you shouldn't have to much 
of a problem. ;)


Best regards,
PC Pro Sch00lz

--

 ;; dataix.net!jhell 2048R/89D8547E 2009-09-30
 ;; BSD since FreeBSD 4.2Linux since Slackware 2.1
 ;; 85EF E26B 07BB 3777 76BE  B12A 9057 8789 89D8 547E

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


Invitation to connect on LinkedIn

2009-10-26 Thread Siju George
LinkedIn


Siju George requested to add you as a connection on LinkedIn:
--

Jerry,

I'd like to add you to my professional network on LinkedIn.

- Siju

Accept invitation from Siju George
http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1536383359_2/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_cBYVdjcPe3cScPkNiiZdqnFOiDkOmiYSd30Ud34OczwLrCBxbOYWrSlI/EML_comm_afe/

View invitation from Siju George
http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1536383359_2/39vejkPcPwPdzcRckALqnpPbOYWrSlI/svi/
 
--

DID YOU KNOW you can showcase your professional knowledge on LinkedIn to 
receive job/consulting offers and enhance your professional reputation? Posting 
replies to questions on LinkedIn Answers puts you in front of the world's 
professional community.
http://www.linkedin.com/e/abq/inv-24/

 
--
(c) 2009, LinkedIn Corporation

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


Re: WD External Disc Drive

2009-10-26 Thread Malcolm Kay
On Mon, 26 Oct 2009 08:39 pm, Polytropon wrote:
 Hi Rob,

 just a little terminology note (from me, Mister
 Use-the-correct-words): If you are refering to a kind of hard
 disk, use disk with k. Think like diskette. If you are
 refering to optical media, use disc with c. Think like CD =
 compact disc.

An arbitrary convention adopted by you and a few other people 
does not invalidate the dictionary spellings and usage.

My Australian (Macquarie) dictionary gives the spelling in all 
cases as disc but recognises disk as a chiefly US variant.
My Conscise Oxford (English) dictionary simply gives the two 
spellings as alternatives but states that disk is the better.
My Webster's (American) gives the two forms as alternatives 
without suggesting any preference. Of course different editions 
of the dictionaries may give slightly different slants but are
most unlikely to actually contradict these possibly earlier 
views.


 Disk: disk pack, hard disk, disk drive
 Disc: optical disc, magneto-optical disc, disc drive

 In your special case, you can even say that your external
 hard disk shows up as a disc in Windows. It's correct.

 I know it may sound impolite (but it is not meant to be),
 but using the correct terminology is very important if you
 want to be understood correctly.

I find your distinctions arbitrary and quite inappropriate;
again not meaning to sound impolite. So, each to his/her own
usage but please do not be critical of those of us not 
conforming to your arbirary conventions.

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


Re: WD External Disc Drive

2009-10-26 Thread Malcolm Kay
On Tue, 27 Oct 2009 03:27 pm, Malcolm Kay wrote:
 On Mon, 26 Oct 2009 08:39 pm, Polytropon wrote:
  Hi Rob,
 
  just a little terminology note (from me, Mister
  Use-the-correct-words): If you are refering to a kind of
  hard disk, use disk with k. Think like diskette. If you
  are refering to optical media, use disc with c. Think like
  CD = compact disc.

 An arbitrary convention adopted by you and a few other people
 does not invalidate the dictionary spellings and usage.

 My Australian (Macquarie) dictionary gives the spelling in all
 cases as disc but recognises disk as a chiefly US variant.
 My Conscise Oxford (English) dictionary simply gives the two
 spellings as alternatives but states that disk is the
 better. My Webster's (American) gives the two forms as
 alternatives without suggesting any preference. Of course
 different editions of the dictionaries may give slightly
 different slants but are most unlikely to actually contradict
 these possibly earlier views.

  Disk: disk pack, hard disk, disk drive
  Disc: optical disc, magneto-optical disc, disc drive
 
  In your special case, you can even say that your external
  hard disk shows up as a disc in Windows. It's correct.
 
  I know it may sound impolite (but it is not meant to be),
  but using the correct terminology is very important if you
  want to be understood correctly.

 I find your distinctions arbitrary and quite inappropriate;
 again not meaning to sound impolite. So, each to his/her own
 usage but please do not be critical of those of us not
 conforming to your arbirary conventions.

Further,

If we look at some acronyms associated with optical media we 
have:
CD - Compact Disc
DVD - Digital Video Disc
but:
UDF - Universal Disk Format (The file system frequently used on 
CDs and DVDs)
So there is no consistency here!

Malcolm

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