RE: freebsd-update fetching files failed

2009-02-04 Thread Webster, Andrew
 
 On 1/19/09 4:00 PM, Tore Lund t...@next.online.no wrote:
 
  Tom Worster wrote:
  a funny thing happened on wat to 7.1 today (from 7.0-p6):
 
  # freebsd-update upgrade -r 7.1-RELEASE
 
  Have you tried freebsd-update -r 7.0-RELEASE upgrade?
 
  I am not sure it makes a difference, but at any rate, as far as I know,
  this is the right syntax.
 
 i was following these instructions:
 
 http://www.freebsd.org/releases/7.1R/announce.html
 
 but your suggestion is in line with the handbook:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading
 -freebsdupdate.html#FREEBSDUPDATE-UPGRADE
 
 in any case, repeating the command got me there in the end. or so it seems.
 


I had the exact same problem upgrading 7.0-RELEASE to 7.1-RELEASE.  It took 5 
tries to get all the files to download and apply.  Definitely something 
squirrelly there.  Updating to patch levels however works flawlessly.

One question
After the upgrade, the /var/db/freebsd-update was filled with about 500MB of 
.gz files.  I was wondering if these can be safely deleted?


--
Andrew

___
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


Xorg 7.2 and FreeBSD 6.2-p5 VMWARE vmmouse problem

2007-07-09 Thread Webster, Andrew
Howdy,

 

I was successfully able to get Xorg upgraded to 7.2 by just installing them 
from scratch as opposed to trying to upgrading an existing system, BUT I’ve run 
into a problem…

 

While running VMWare Server 1.0.3 with FreeBSD 6.2-p5 and Xorg 7.2, the mouse 
pointer behaves very oddly.

The pointer appears in the wrong place on the screen for where the system 
actually thinks that it is.

I’m using the vmmouse driver part of the Xorg system, as the regular mouse 
driver doesn’t appear to work at all, unless some settings are amiss.

I really like the vmmouse drive because you can move the pointer in/out of the 
window as you do with regular windows guest OSes.

 

Has anyone experienced similar problems and/ or know of a fix for this?

 

Thanks!

--

Andrew

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


DELL SC1430 SATA/SAS support?

2006-11-02 Thread Webster, Andrew
Anyone knows what the controller card that Dell is putting in the SC1430
entitled SATA/SAS 5iR is based on?  Is it supported under FreeBSD?

 

Thanks!

 

Andrew 

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


IBM xSeries 226 Help needed

2006-04-11 Thread Webster, Andrew
Hi,
 
I'm having problems with an IBM xSeries 226 system.  It has a SATA disk in it, 
and when booting with FreeBSD 6.0-RELEASE, it does not detect any drives.
If I boot in safe mode, however it can see the disk just fine as ad4 and I 
can install the OS on it.
I tried turning on/off ACPI but that didn't help either.
 
Why does it work okay in safe mode but not normal mode?
 
Verbose booting in normal mode says this about the ATA controllers, so I'm 
assuming it is actually seeing the CDROM and the disk:
ata0: reset tp2 stat0=00 stat1=00 devices=0x4ATAPI_MASTER
ata1: reset tp2 stat0=01 stat1=01 devices=0x0
ata2: reset tp2 stat0=50 stat1=00 devices=0x1ATAPI_MASTER
ata3: reset tp2 stat0=ff stat1=00 devices=0x0
ata0 and ata2 are reinitted a couple more times, then it can't find any 
filesystems to mount.
 
---
Andrew
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: IBM xSeries 226 Help needed

2006-04-11 Thread Webster, Andrew

Hey, that worked!
So what gives?  Is this a hardware specific issue with this machine?

--
Andrew 


 -Original Message-
 From: Norberto Meijome [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 11:25
 To: Webster, Andrew
 Cc: freebsd-questions@freebsd.org
 Subject: Re: IBM xSeries 226 Help needed
 
 On Tue, 11 Apr 2006 10:24:26 -0400
 Webster, Andrew [EMAIL PROTECTED] wrote:
 
  If I boot in safe mode, however it can see the disk just fine as
  ad4 and I can install the OS on it.
 
 try disabling apic?

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


pkg_fetch fetches from wrong place???

2006-03-03 Thread Webster, Andrew
I'm trying to figure out how pkg_fetch decides where to get packages
from.  

It doesn't appear to consistently fetch from the same directory.
Sometimes is fetches from the Latest directory, other times from All.
The problem is that the All directory doesn't have the short package
names listed, only Latest does.

 

I've set the following environment vars:

PACKAGES=/release/packages-5-stable/

PKG_SITES=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable
/

 

If I run pkg_fetch -v www/apache20 

It fetches the file from
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest/ap
ache20.tbz, and renames it to apache-2.0.55_3.tbz

 

If I run pkg_fetch -v databases/postgresql74-server

It tries to fetch the file from
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/All/postg
resql74-server.tbz

 

The problem is that in the All directory there is no
postgresql74-server.tbz file, but if I go look in the Latest directory,
there is a symlink for postgresql74-server.tbz to
../All/postgresql-server-7.4.11.tbz.

Why didn't pkg_fetch use the Latest directory?

Can I force it to use Latest all the time?

 

Thanks

 

Andrew Webster

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


RE: pkg_fetch fetches from wrong place???

2006-03-03 Thread Webster, Andrew
 -Original Message-
 From: Kris Kennaway [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 03, 2006 12:19
 To: Webster, Andrew
 Cc: freebsd-questions@freebsd.org
 Subject: Re: pkg_fetch fetches from wrong place???
 
 On Fri, Mar 03, 2006 at 09:46:20AM -0500, Webster, Andrew wrote:
  I'm trying to figure out how pkg_fetch decides where to get packages
  from.
 
 Check the source code :-)

I'm no ruby expert, but the logic looks pretty dubious to me.
The decision to choose the latest is based on whether or not there is a
dash (-) in the filename.  (Line 169 of pkg_fetch).
As a result,
Postgresql74-server sets latest to false.  
Postgresql74 sets latest to true, however there is no such thing as
postgresql74 in packages, it is either -client or -server, etc.
I think the author was intending to use the - to indicate the beginning
of a version number, but that logic is somewhat flawed given the package
naming conventions.

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


RE: Carp and vlan issue

2006-03-03 Thread Webster, Andrew


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Christopher McGee
 Sent: Friday, March 03, 2006 05:06
 To: freebsd-questions@freebsd.org
 Subject: Carp and vlan issue
 
 I am trying to use vlans with carp on some intel pro 1000mt cards with
 the em driver.  I am running into some issues, I read somewhere there
is
 a patch to make this work(I guess it hasn't been MFC'd or something).
 Does anyone know where I can get a patch for this or if the patch I've
 read about even really works?


Hi Chris,

What version of FreeBSD are you using?  
What kind of issues are you seeing?
I had issues with 5.2.1, but 5.4-p8 is running quite well with Carp over
VLAN.

Andrew

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


RE: setting up french keyboard

2006-02-26 Thread Webster, Andrew
 -Original Message-
 From: Peter [mailto:[EMAIL PROTECTED]
 Sent: Sunday, February 26, 2006 15:44
 To: Peter; Webster, Andrew; freebsd-questions
 Subject: RE: setting up french keyboard
 
 
 --- Peter [EMAIL PROTECTED] wrote:
 
 
  --- Webster, Andrew [EMAIL PROTECTED] wrote:
 
 
--- Webster, Andrew [EMAIL PROTECTED] wrote:
   
 
  Hi.  Does anyone know how I can set up my 5.4 system to output
   French
  characters?  If so, how?

 
  
   Try this when X is running:
   setxkbmap -model pc104 -layout ca -variant basic
 
  Hey!  This works in my X windows (é, è, ç, à, ê, ï) but my
  terminal
  emits beeps.  Is this normal?  Is the an easier way (X gadget) to toggle
  back or do I need to always use the setxkbmap command?

Hmm, looks like you are outputting UTF-8 instead of ISO-8859-1, or at least 
your mailer is doing that.  UTF-8 is 16bit characters for the accented 
characters.
Which window manager are you using with X?  KDE or Gnome?  Both have keyboard 
manipulation tools as part of their packages.

Personally I prefer the US International keyboard.  This way the characters 
stay where they belong, but ', , ^, ~, and ` are dead keys, so if you type ' 
followed by a you get á.  

I don't know if there is a quick switch key combination as in windows, but I'm 
sure there is something that can be setup.

 
  $ setxkbmap -model pc104 -layout ca -variant basic
  $ setxkbmap -model pc104 -layout us -variant basic
 
 Hmmm.  Looks like my perfectly good French accents in my compose window do
 not end up as such when I read them in my browser.  When I reply (what I'm
 doing now) they come back to good characters.  Is this normal?  Anyways, I
 modified my xorg.conf keyboad section to try to toggle keyboard maps:
 
 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 Option  XkbModel pc104
 Option  XkbLayout us,ca
 Option  XkbOptions grp:toggle
 EndSection
 
 Surprisingly, by simply hitting the Right-Alt key I go from us to ca
 although hitting the key again has no effect.  Does anyone know how I can
 toggle without having to issue commands all the time?
 
 
 
 
 
 
 __
 Find your next car at http://autos.yahoo.ca

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


RE: setting up french keyboard

2006-02-25 Thread Webster, Andrew
 -Original Message-
 From: Peter [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 24, 2006 10:34
 To: Webster, Andrew; freebsd-questions
 Subject: RE: setting up french keyboard
 
 
 --- Webster, Andrew [EMAIL PROTECTED] wrote:
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:owner-freebsd-
   [EMAIL PROTECTED] On Behalf Of Peter
   Sent: Thursday, February 23, 2006 22:19
   To: freebsd-questions
   Subject: setting up french keyboard
  
   Hi.  Does anyone know how I can set up my 5.4 system to output
French
   characters?  If so, how?
 
  You can set the LANG environment variable.  For example setting it
to
  fr_CA.ISO8859-1 will produce French Canadian error messages with
  ISO8859-1 characters.
  You can see all the available locales with 'locale -a' command.
  You might need to change the screen fonts for other languages, but
the
  default ISO8859-1 set works fine.
  Only programs that are locale aware will actually output French,
others
  will continue to output English.
 
 Well I changed the LANG variable and my keyboard still outputs
English.
 Ideally I would like to toggle between an English keyboard and a
French
 one.  I got one suggestion to use the kbdcontrol command but that too
does
 has no effect.  Although when I tried the equivalent method of setting
it
 up in /etc/rc.conf via the keymap variable and rebooted, the console
 (before startx) was affected (the key bindings were still wrong) but
when
 I entered X-windows I was back to where I started.
 

Try this when X is running:
setxkbmap -model pc104 -layout ca -variant basic

 --
 Peter
 
 
 
 
 
 
 __
 Find your next car at http://autos.yahoo.ca

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


RE: setting up french keyboard

2006-02-24 Thread Webster, Andrew
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Peter
 Sent: Thursday, February 23, 2006 22:19
 To: freebsd-questions
 Subject: setting up french keyboard
 
 Hi.  Does anyone know how I can set up my 5.4 system to output French
 characters?  If so, how?

You can set the LANG environment variable.  For example setting it to
fr_CA.ISO8859-1 will produce French Canadian error messages with
ISO8859-1 characters.
You can see all the available locales with 'locale -a' command.
You might need to change the screen fonts for other languages, but the
default ISO8859-1 set works fine.  
Only programs that are locale aware will actually output French, others
will continue to output English.


--
Andrew


 
 --
 Peter
 
 
 
 
 
 
 __
 Find your next car at http://autos.yahoo.ca
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]

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


CARP question (interpretation clarification)

2006-02-15 Thread Webster, Andrew
On FreeBSD 5.4-p8, the man page for CARP(4), has a paragraph about
net.inet.carp.preempt which reads :

 

 net.inet.carp.preempt Allow virtual hosts to preempt each
other.  It

   is also used to failover carp interfaces
as a

   group.  When the option is enabled and
one of

   the carp enabled physical interfaces goes
down,

   advskew is changed to 240 on all carp
inter-

   faces.  See also the first example.
Disabled

   by default.

 

If I understand this correctly, a system having multiple carp interfaces
would either see all carp interfaces as all MASTER or all BACKUP, but
not a combination of both?

On my system, I've got preempt turned on, but as shown below on my
backup machine, two carp interfaces are in BACKUP config, and one is
MASTER.

On the master machine of this pair, I have the reverse, two MASTER,
and one BACKUP corresponding to the appropriate subnets.

 

Am I misinterpreting the documentation, or does the preempt function not
work the way I expected it to? 

 

r2# sysctl -a | grep preempt

net.inet.carp.preempt: 1

r2#  ifconfig -a

...

carp0: flags=41UP,RUNNING mtu 1500

inet 172.16.0.230 netmask 0xfc00 

carp: BACKUP vhid 1 advbase 1 advskew 100

carp1: flags=41UP,RUNNING mtu 1500

inet 172.16.20.230 netmask 0xfc00 

carp: BACKUP vhid 20 advbase 1 advskew 100

carp2: flags=41UP,RUNNING mtu 1500

inet 10.10.88.1 netmask 0xffe0 

carp: MASTER vhid 88 advbase 1 advskew 100

 

 

Thanks!

 

Andrew 

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


RE: one virtual IP interface on two ethernet ports ?

2006-02-09 Thread Webster, Andrew
 Doug Poland [EMAIL PROTECTED] writes:
 
  On 2/9/06, Frank Bonnet [EMAIL PROTECTED] wrote:
   Hello
  
   Is it possible with FreeBSD to setup a virtual IP interface
   with load balancing that use two or more ethernet ports ?
  
  I think you should have a look at carp
 
 Or may ng_one2many is more what he is looking for...

CARP is good for sharing one IP between several machines, ng_one2many is
for one IP between several interfaces.

Andrew

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


RE: Multiple routes to same destination

2006-02-09 Thread Webster, Andrew
 
 Qing Li wrote:
 
 I use mpd to greate one VPN between the sites, using Multilink PPP, so
 that
 data is sent across both links (eitehr round-robon or split packet).
 I use MPD's udp transport mode to open two UDP sockets
 and send packets from R1 to R4 and from R2 to R3 (in the diagram
below).
 MPD will automatically detect if on e link is down and redirect
 everything through the remaining link.

Sounds like a good idea, but would that not cause the MTU to get smaller
due to the overhead of a MPPP link?  
Windoze hosts have a horrible time with MTU detection!

 
 I have a private patch that's based on radix_mpath for FreeBSD
5.4.
 I believe [EMAIL PROTECTED] is working on a solution.
 
 -- Qing
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Webster, Andrew
 Sent: Wednesday, February 08, 2006 10:51 AM
 To: [EMAIL PROTECTED]; Ian Lord; freebsd-questions@freebsd.org
 Subject: RE: Multiple routes to same destination?
 
 Well, in that case, an ISP wouldn't want to use FreeBSD in their core
 routers :( :(
 
 In this particular case, I have redundant links (L1 and L2) between
two
 locations
 (Loc 1 and Loc 2) with two FreeBSD routers at each location (R1/R2,
and
 R3/R4)
 which are running OSPF to redistribute routing information between
 locations.
 Since FreeBSD limits the entries for a particular network to only one
 active entry,
 the all the traffic for would either go on R1-L1-R4 or R2-L2-R3,
but
 not both.
 
 Loc 1___ /---R1--L1--R4---\___ Loc 2
   \---R2--L2--R3---/
 
 
 Andrew
 
 ___
 freebsd-net@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]

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


RE: Multiple routes to same destination?

2006-02-08 Thread Webster, Andrew
I am using Zebra, but it will only keep one route to the same destination in 
the routing table at any given time, even if there is more than one valid path 
:( :(
I know that Linux has this built-in, and more searching of the 'Net after 
posting my initial question revealed that multipath routing is in fact 
something that many people have been asking for since FreeBSD 3.x.  I was 
hoping it would have been built into FreeBSD 6 by now.


Andrew Webster
Directeur des technologies
Director of Technology
ConnecTalk Inc.
125 Gagnon, Suite 202
Saint-Laurent, QC  H4N 1T1
Tel: 514-856-3060
Fax: 514-856-2988


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Lord
Sent: Tuesday, February 07, 2006 07:22
To: freebsd-questions@freebsd.org
Subject: Re: Multiple routes to same destination?

Hi,

this is not a scientific answer, but since no one 
else replied, here is what I found a while ago...

When I installed Freebsd 6, i did a lot of 
reseach/posting and found out that there is no 
way freebsd will handle multiple routes to the same destination
I was hoping to have two default routes for 
redundancy (and if possible, load balancing)

I never heard of a kernel patch, and if there was 
one, I wouldn't feel confident with it (just my opinion)

I then went with a routing package (there is 
zebra and quagga) which kinda did the trick. (I 
used quagga since I had some problem setting up zebra from the ports).

It works fine but adds a level of routing that 
could have been handled by the kernel I guess.



At 20:51 2006-02-06, Webster, Andrew wrote:
Hi,



Does FreeBSD 5.x, or 6.0 support multiple routes to the same
destination?

I saw some kernel patches a while back for this on 4.x, but I'd like to
run something more recent...



Thanks!



Andrew


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

~~
Ian Lord
MSD Informatique
1711 Montée Major Terrebonne (Québec) J7M 1E6
Tél.: (514) 776-MSDI- (514) 776-6734
Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734
http://www.msdi.ca 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


RE: Multiple routes to same destination?

2006-02-08 Thread Webster, Andrew
Well, in that case, an ISP wouldn't want to use FreeBSD in their core routers 
:( :(

In this particular case, I have redundant links (L1 and L2) between two 
locations (Loc 1 and Loc 2) with two FreeBSD routers at each location (R1/R2, 
and R3/R4) which are running OSPF to redistribute routing information between 
locations.
Since FreeBSD limits the entries for a particular network to only one active 
entry, the all the traffic for would either go on R1-L1-R4 or R2-L2-R3, but 
not both.

Loc 1___ /---R1--L1--R4---\___ Loc 2
 \---R2--L2--R3---/


Andrew 


-Original Message-
From: Danial Thom [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 08, 2006 13:39
To: Webster, Andrew; Ian Lord; freebsd-questions@freebsd.org
Subject: RE: Multiple routes to same destination?

According to Ted this won't work anyway, since he
claims that all ISPs source filter and won't let
any source addresses other than theirs through.
So maybe that's why they've never done it?

--- Webster, Andrew [EMAIL PROTECTED]
wrote:

 I am using Zebra, but it will only keep one
 route to the same destination in the routing
 table at any given time, even if there is more
 than one valid path :( :(
 I know that Linux has this built-in, and more
 searching of the 'Net after posting my initial
 question revealed that multipath routing is in
 fact something that many people have been
 asking for since FreeBSD 3.x.  I was hoping it
 would have been built into FreeBSD 6 by now.
 
 
 Andrew Webster
 Directeur des technologies
 Director of Technology
 ConnecTalk Inc.
 125 Gagnon, Suite 202
 Saint-Laurent, QC  H4N 1T1
 Tel: 514-856-3060
 Fax: 514-856-2988
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Ian Lord
 Sent: Tuesday, February 07, 2006 07:22
 To: freebsd-questions@freebsd.org
 Subject: Re: Multiple routes to same
 destination?
 
 Hi,
 
 this is not a scientific answer, but since no
 one 
 else replied, here is what I found a while
 ago...
 
 When I installed Freebsd 6, i did a lot of 
 reseach/posting and found out that there is no 
 way freebsd will handle multiple routes to the
 same destination
 I was hoping to have two default routes for 
 redundancy (and if possible, load balancing)
 
 I never heard of a kernel patch, and if there
 was 
 one, I wouldn't feel confident with it (just my
 opinion)
 
 I then went with a routing package (there is 
 zebra and quagga) which kinda did the trick. (I
 
 used quagga since I had some problem setting up
 zebra from the ports).
 
 It works fine but adds a level of routing that 
 could have been handled by the kernel I guess.
 
 
 
 At 20:51 2006-02-06, Webster, Andrew wrote:
 Hi,
 
 
 
 Does FreeBSD 5.x, or 6.0 support multiple
 routes to the same
 destination?
 
 I saw some kernel patches a while back for
 this on 4.x, but I'd like to
 run something more recent...
 
 
 
 Thanks!
 
 
 
 Andrew
 
 

___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 ~~
 Ian Lord
 MSD Informatique
 1711 Montée Major Terrebonne (Québec) J7M 1E6
 Tél.: (514) 776-MSDI- (514)
 776-6734
 Sans Frais: 1(877) 776-MSDI - 1(877)
 776-6734
 http://www.msdi.ca 
 ___
 freebsd-questions@freebsd.org mailing list

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

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Multiple routes to same destination?

2006-02-06 Thread Webster, Andrew
Hi,

 

Does FreeBSD 5.x, or 6.0 support multiple routes to the same
destination? 

I saw some kernel patches a while back for this on 4.x, but I'd like to
run something more recent...

 

Thanks!

 

Andrew

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


RE: Looking for SW Firewall

2006-01-12 Thread Webster, Andrew
I highly recommend m0n0wall!
http://www.m0n0.ch/wall

It has web interface for everything, does NAT and a whole bunch of other
goodies and can run P2P VPN with Checkpoint too!

Andrew 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Freeze
Sent: Thursday, January 12, 2006 11:31
To: [EMAIL PROTECTED]
Subject: Looking for SW Firewall

Hi

I am interested implementing a firewall in SW that has similar
features as a Cisco PIX firewall. But, I don't want to roll
my own ipfw statements. A nice gui would be nice. From the 
ports index I see things like:


dante-1.1.15  A circuit-level firewall/proxy
cp2fwb-0.6Checkpoint FW1 to Firewall Builder ruleset
converter
fwbuilder-2.0.10  Firewall Builder GUI and policy compilers
hlfl-0.60.1   High Level Firewall Language
libfwbuilder-2.0.10_1 Firewall Builder API
pfw-0.6.2 A web frontend for the pf firewall

I'm basically looking for a good firewall that has an easy
administration
interface.

Can someone who has experience with this suggest a fw I should try?

Thanks

-- 
Jim Freeze
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
**
The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  
the 
sender immediately and do not disclose the contents to anyone or make copies.

** eSafe scanned this email for viruses, vandals and malicious content. **
**

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


RE: installing dovecot: no dovecot-openssl.conf

2006-01-10 Thread Webster, Andrew
Unless you absolutely need SSL support, edit the configuration so as not
to use SSL.
If you do want to use SSL, you will probably want to generate yourself a
self-signed certificate, and then get a real cert from a 3rd party cert
provider when you are ready to go into production.  See
http://www.openssl.org/docs/HOWTO/certificates.txt
Place the resulting files in the expected locations, and give it a go.

Andrew 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan Curtis
Sent: Tuesday, January 10, 2006 16:02
To: freebsd-questions@freebsd.org
Subject: installing dovecot: no dovecot-openssl.conf

I have installed /usr/ports/dovecot.

When I try to start it, using '/usr/local/etc/rc.d dovecot start' it
complains
Error: Can't use SSL certificate /etc/ssl/certs/dovecot.pem: No such
file or directory
Reading '/usr/local/share/doc/dovecot/configuration.txt' says
If you need to create new SSL certificate, edit dovecot-openssl.cnf and
run mkcert.sh.
but I cannot find a file 'dovecot-openssl.cnf' or 'mkcert.sh' and have
no 'etc/ssl/certs/' (or /usr/share/ssl or /usr/local/share/ssl)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
**
The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  
the 
sender immediately and do not disclose the contents to anyone or make copies.

** eSafe scanned this email for viruses, vandals and malicious content. **
**

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


RE: Asterisk CPU usage

2006-01-06 Thread Webster, Andrew
I have Asterisk 1.0.8-BRIstuffed-0.2.0-RC8h running on 5.4-p6 without
any problems.

Regards,

Andrew 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Klingler
Sent: Wednesday, January 04, 2006 08:09
To: freebsd-questions@freebsd.org
Subject: Asterisk CPU usage

Hello..


Is anyone using Asterisk from /usr/ports under
FBSD 5.4 or 6.0?

After a while the CPU load goes to 99% without
any information in message logs...

I know that FBSD is a bad platform for asterisk (o;


thanx in advance
rick

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
**
The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  
the 
sender immediately and do not disclose the contents to anyone or make copies.

** eSafe scanned this email for viruses, vandals and malicious content. **
**

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


RE: nfs server

2006-01-06 Thread Webster, Andrew
Michael,

If /usr/local/www is not a mount point, this will not work.  You need to
put the mount point (eg: /usr) in /etc/exports, and add the option
-alldirs to allow it to mount a subdirectory of the mount point.


Andrew 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael P.
Soulier
Sent: Friday, January 06, 2006 11:03
To: freebsd-questions@freebsd.org
Subject: nfs server

Hello,

I'm configuring nfsd on my freebsd box, and trying to mount from my
linux box. I keep getting permission denied on the linux side, and I'm
not sure why.

My local network is 192.168.1.0/24.

I've added this to /etc/exports.

/usr/local/www -network 192.168.1.0 -mask 255.255.255.0

My client from 192.168.1.3 is trying to mount /usr/local/www, and it's
getting permission denied from the nfs server, so I'm assuming that my
/etc/exports is somehow misconfigured.

Can anyone help me with this? I'm not used to BSD-style exports.

Thanks,
Mike
--
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a
touch of genius - and a lot of courage to move in the opposite
direction.
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
**
The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  
the 
sender immediately and do not disclose the contents to anyone or make copies.

** eSafe scanned this email for viruses, vandals and malicious content. **
**

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


RE: sysinstall full install remotely with no serial console, possible?

2005-12-27 Thread Webster, Andrew
You might want to check out ethercons, but you'll probably have to roll
your own boot CD with this included.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Elliot
Crosby-McCullough
Sent: Tuesday, December 27, 2005 07:13
To: freebsd-questions@freebsd.org
Subject: sysinstall full install remotely with no serial console,
possible?

Hey guys.

Basically in my situation I have a broken server in colo with no
serial 
console.  It works for the most part but write access to / is gone, and 
all attempts at repair are not coming about.

I'd like to reinstall all but /home (has a seperate slice),
however I 
would have to do so via SSH without the aid of a serial console, and 
with no CD in the drive.

I know sysinstall can run from the OS, and it can install over
the 
network, is it possible to run this full installation remotely in this 
way, given that it's starting from an installed and configured OS?

Thanks,
Elliot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
**
The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  
the 
sender immediately and do not disclose the contents to anyone or make copies.

** eSafe scanned this email for viruses, vandals and malicious content. **
**

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


CARP VLAN MTU question

2005-12-21 Thread Webster, Andrew
Hi,

 

When setting CARP over VLAN configured interfaces, the MTU value of the
CARP interface reflects that of the physical interface, not the VLAN
interface.  Should it not be indicative of the MTU available on the VLAN
interface (4 less than the physical interface) since it is to the CARP
interface that the data is ultimately directed?

 

 

System: FreeBSD 5.4-p8 with CARP device compiled in.  

 

Interface vxn1 is the physical interface on which two vlans (vlan0 and
vlan1) are configured.  Two CARP interfaces (carp0 and carp1) are added,
one for each vlan.

As seen below, the MTU for the physical interface is 1500, and the VLAN
interfaces 1496, but the CARP interfaces are showing 1500.

 

vxn0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500

inet6 fe80::20c:29ff:fef1:9f42%vxn0 prefixlen 64 scopeid 0x1 

inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255

ether 00:0c:29:f1:9f:42

vxn1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu
1500

inet6 fe80::20c:29ff:fef1:9f4c%vxn1 prefixlen 64 scopeid 0x2 

ether 00:0c:29:f1:9f:4c

lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384

inet 127.0.0.1 netmask 0xff00 

inet6 ::1 prefixlen 128 

inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 

vlan0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu
1496

inet 10.10.10.11 netmask 0xff00 broadcast 10.10.10.255

inet6 fe80::20c:29ff:fef1:9f42%vlan0 prefixlen 64 scopeid 0x6 

ether 00:0c:29:f1:9f:4c

vlan: 10 parent interface: vxn1

vlan1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu
1496

inet 10.10.20.11 netmask 0xff00 broadcast 10.10.20.255

inet6 fe80::20c:29ff:fef1:9f42%vlan1 prefixlen 64 scopeid 0x7 

ether 00:0c:29:f1:9f:4c

vlan: 20 parent interface: vxn1

carp0: flags=41UP,RUNNING mtu 1500

inet 10.10.10.10 netmask 0xff00 

carp: MASTER vhid 1 advbase 1 advskew 0

carp1: flags=41UP,RUNNING mtu 1500

inet 10.10.20.10 netmask 0xff00 

carp: MASTER vhid 1 advbase 1 advskew 0

 

 

Andrew 

 

**
The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  
the 
sender immediately and do not disclose the contents to anyone or make copies.

** eSafe scanned this email for viruses, vandals and malicious content. **
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help/problems with fsck_ffs

2004-09-24 Thread Webster, Andrew
FreeBSD: 5.2.1-RELEASE, and 5.2.1-p10

 

Synopsis

I have 2 identical systems with very large 1.3TB disk array (OS sees it
as a single drive /dev/da1)

On one system fsck /dev/da1s1d works fine, on the other fsck /dev/da1s1d
fails with BAD SUPER BLOCK error.

 

Description

On the problem system, fsck returns:

# fsck_ffs /dev/da1s1d

** /dev/da1s1d

BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST
ALTERNATE

 

LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y

 

64 is not a file system superblock

917118848 is not a file system superblock

1834237632 is not a file system superblock

SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE

-b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE

SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8).

 

However when running fsck_ffs -b 192 (192 because newfs listed it as a
backup superblock location)  /dev/da1s1d on the problem system, it works
fine. 

# fsck_ffs -b 192 /dev/da1s1d

Alternate super block location: 192

** /dev/da1s1d

** Last Mounted on 

** Phase 1 - Check Blocks and Sizes

** Phase 2 - Check Pathnames

** Phase 3 - Check Connectivity

** Phase 4 - Check Reference Counts

** Phase 5 - Check Cyl groups

298602 files, 10861179 used, 309521859 free (763 frags, 38690137 blocks,
0.0% fragmentation)

 

UPDATE STANDARD SUPERBLOCK? [yn] y

 

 

* FILE SYSTEM WAS MODIFIED * 

 

Trying fsck_ffs /dev/da1s1d again after responding to UPDATE STANDARD
SUPERBLOCK still returns BAD SUPER BLOCK error message, so the update
isn't happening, or it is writing to THE WRONG PART OF THE DISK!

 

I recompiled fsck_ffs with debugging and spent a while looking at it,
and have a few observations.

 

Setup.c 346:super *= dev_bsize;

Interestingly this doesn't work as expected when debugging.  Super went
from 128 to 128 as I stepped through this code (dev_bsize was 512).  I
don't know if it is a problem with GDB or with GCC, but when I removed
the -O option in the compile, it worked, and super went from 128 to
65536, but didn't fix the superblock problem.

 

Second observation: Setup.c 356

getblk(asblk, cgsblock(sblock, sblock.fs_ncg - 1),
sblock.fs_sbsize);

This looks like to goes to get the _LAST_ superblock on the drive and
then compares it to the first.  If they don't match: error.

The problem is that there is no way to _correct_ a particular
superblock, as the UPDATE STANDARD SUPERBLOCK only fixes the first one
if there is a problem with it.  The only way to workaround the problem
is to backup the data, newfs and restore, but 1.3TB is somewhat large...

 

The question:  How to you repair the damaged superblock when it isn't
the first one?

 

--

Andrew 

 

**
The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the 
sender immediately and do not disclose the contents to anyone or make copies.

** eSafe scanned this email for viruses, vandals and malicious content. **
**
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]