Vinum Bootstrap Help

2005-07-22 Thread Ben Craig
Hi All,
 
I've been trying to get a bootstrapped vinum volume up and running on a 5.4
release system (generic kernel, minimal install), based this How-to:
 
http://devel.reinikainen.net/docs/how-to/Vinum/
 
But I've managed to run into a problem that no amount of Googling, reading
the archive of this list, or reading the manual seems help me get by.
 
Basically, I have Vinum configured fine and can successfully run:
 
vinum > create -f /etc/vinum.conf
 
The Vinum volume is all fine and a vinum > list shows no problems.  I can
also successfully do a fsck on each of the mounts, which are:
 
/
/home
/tmp
/var
 
However, it appears that the vinum config isn't being saved, as rebooting
the machine can't find the vinum root partition, and after manually booting
to the pre-vinum root (ufs:ad0s1a) running vinum > list shows no volume
information.
 
During the reboot, vinum appears to load ok, but it can't find the root (as
shown by the last bit of the dmesg):
 
vinum: loaded
vinum: no drives found
Mounting root from ufs:/dev/vinum/root
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6
 
The relevant config files look like this:
 
/etc/fstab
 
#DeviceMountpoint   FStypeOptionsDumpPass#
/dev/vinum/swapnoneswap   sw00
/dev/vinum/root  /ufsrw   1
1
/dev/vinum/home/homeufsrw2 2
/dev/vinum/tmp  /tmpufs   rw2
2
/dev/vinum/var   /var ufsrw2
2
/dev/acd0 /cdromcd9660  ro,noauto  00

 
 
/boot/loader.conf
 
vinum_load="YES"
vinum.autostart="YES"
 
Any suggestions as to how to sort this would be greatly appreciated.
 
Regards,
 
Ben Craig.
 
 
 
 
 
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ports Error

2004-04-16 Thread Ben Craig
Hi,

I recently upgraded a system to 4.9R and now receive
the following error when using the "make install
clean" comment on any port in /usr/ports (and also
using package installation in sysinstall):

There is a COMMENTFILE in this port.
COMMENTFILEs have been deprecated in
favor of COMMENT variables.
Please, rectify this.
*** Error code 1

I've looked around online and there seems to be very
little info about this (in English anyway). Any
suggestions would be greatly appreciated.

Regards,

Ben Craig






Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrade Woes

2004-01-15 Thread Ben Craig
Hi Lowell,

Many thanks for the suggestion. I'll give it a go and
see what happens (I take it the AGP module isn't
necessary to get a display on the machine?)

Regards,

Ben Craig.

 --- Lowell Gilbert
<[EMAIL PROTECTED]> wrote: > Ben
Craig <[EMAIL PROTECTED]> writes:
> 
> > I've been running 4.7R on a HP Netserver E60 for
> some
> > time now, however in trying to upgrade this to
> 4.9R
> > I've run into a problem that is unfortunately
> beyond
> > my troubleshooting abilities.
> > 
> > Using the ISO disc, I've booted up 4.9 and gone
> > through the upgrade process successfully. 
> However,
> > once the machine reboots after the CD has been
> > removed, the boot process hangs on the following
> > stage:
> > 
> > agp0 
> > mem0-0xfff at device 0.0 on pci0
> > 
> > Can anyone give me any guideance on what might be
> > causing this?
> 
> I've had problems on a machine with a buggy AGP
> implementation.
> Try booting your old kernel, installing the kernel
> source, and
> building a kernel without the AGP module.
> 
> -- 
> Lowell Gilbert, embedded/networking software
> engineer, Boston area: 
>   resume/CV at
> http://be-well.ilk.org:8088/~lowell/resume/
>   username/password "public"
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]" 


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Upgrade Woes

2004-01-13 Thread Ben Craig
Hi All,

I've been running 4.7R on a HP Netserver E60 for some
time now, however in trying to upgrade this to 4.9R
I've run into a problem that is unfortunately beyond
my troubleshooting abilities.

Using the ISO disc, I've booted up 4.9 and gone
through the upgrade process successfully.  However,
once the machine reboots after the CD has been
removed, the boot process hangs on the following
stage:

agp0 
mem0-0xfff at device 0.0 on pci0

Can anyone give me any guideance on what might be
causing this?

Regards,


Ben Craig.


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Upgrade Woes

2004-01-13 Thread Ben Craig
Hi All,


I've been running 4.7R on a HP Netserver E60 for some
time now, however in trying to upgrade this to 4.9R
I've run into a problem that is unfortunately beyond
my troubleshooting abilities.


Using the ISO disc, I've booted up 4.9 and gone
through the upgrade process successfully.  However,
once the machine reboots after the CD has been
removed, the boot process hangs on the following
stage:


agp0 
mem0-0xfff at device 0.0 on pci0


Can anyone give me any guideance on what might be
causing this?


Regards,


Ben Craig.


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Email Auto-responders with Vacation

2003-03-14 Thread Ben Craig
Hi,

I'm trying to get an email auto-responder working
using vacation, but have hit a bit of a wall.

I have the .forward file in the user's home directory
containing:

\mikew, "|/usr/bin/vacation -r 1 mikew"

(Where mikew is the login for this user)

I have a .vacation.msg file available in the same
directory, and have also verified the path
/usr/bin/vacation is correct.  

But no vacation message... =/  Any suggestions would
be most appreciated.

Regards,

Ben Craig.

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: NAT Help

2002-11-27 Thread Ben Craig
Thanks again for the help.  Unfortunately this doesn't
seem to have worked either.  I've entered:

ifconfig fxp0 alias x.x.x.x

This simply replaces the existing fxp0 settings from
rc.conf with the alias settings (resulting in a loss
of network connectivity.  I've removed the original
alias0 - aliasx lines from rc.conf so the only fxp0
line is now for the main IP address for the interface:

ifconfig_fxp0="inet x.x.x.x netmask 255.255.255.248"

Regards,

Ben Craig.

 --- "Alvaro Rosales R." <[EMAIL PROTECTED]>
wrote: > that's the problema , you have to add the
ifconfig
> alias , manually, I had 
> the saame problem , trying to add the aliases in
> rc.conf , so I had to add 
> the aliases manually, then you have to kill natd 
> and restart it manually 
> somefing like 
> ifconfig rl1 alias  x.x.x.x (a free external ipo
> address)
> > and then I run
> killall natd
> > natd -redirect_address internal ip  x.x.x.x 
> -interface rl1
> Then ou'll have NAT running, youd better create a
> script in rc.local to 
> load this commands at boot time.
> Good Look 

=
--
Benjamin Craig
Executive Producer
Cinemagine Limited


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



NAT Help

2002-11-20 Thread Ben Craig
Hi,

I'm trying to get NAT up and running on my FreeBSD
4.7R gateway machine and have hit a bit of a wall. 
Have looked around online for FAQs and other help and
haven't really been able to isolate the problem this
way.  If anyone can offer advice, I would be most
appreciative.

I have a FreeBSD machine configured as a gateway for a
LAN.  The BSD machine has two NICs (fxp0 and vr0). 
fxp0 is connected to a router via ethernet, which in
turn is connected to the Net via ADSL.  The router is
very basic and doesn't have all of the functions we
require, hence the BSD box being the gateway.

vr0 is connected to a hub for the LAN, which all uses
internal 10.0.0.x IP addressing.  The FreeBSD box
provides DHCP for this range.  All of this is working
correctly.  We also have a couple of external IPs
which I would like to map onto a couple of servers on
the private LAN, and herein lies the problem.  I just
can't seem to get NAT working to redirect these IPs
from the BSD machine to the relevant internal IP.

On the BSD machine, I've compiled a kernel with the
following options:

options IPFIREWALL
options IPDIVERT
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE

The following options exist in rc.conf:

gateway_enable="YES" 
firewall_enable="YES" 
firewall_type="OPEN" 
natd_enable="YES" 
natd_interface="fxp0" 
natd_flags="-redirect_address 10.0.0.2 x.x.x.x
-redirect_address 10.0.0.3 x.x.x.x" 

(where x.x.x.x is of course the external IP).

rc.conf also contains the following ipconfig settings
for the external IP addresses (of which there are 5).

ifconfig_fxp0_alias0="inet x.x.x.x netmask
255.255.255.248"
ifconfig_fxp0_alias1="inet x.x.x.x netmask
255.255.255.248"
ifconfig_fxp0_alias2="inet x.x.x.x netmask
255.255.255.248"
ifconfig_fxp0_alias3="inet x.x.x.x netmask
255.255.255.248"
ifconfig_fxp0_alias4="inet x.x.x.x netmask
255.255.255.248"

alias0 is used as the IP address for the gateway
machine and my intention is to redirect traffic on the
remaining four addresses to other machines on the LAN.
 This is where it falls down and I'm stumped.

Regards,

Ben Craig.

=
--
Benjamin Craig
Executive Producer
Cinemagine Limited


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message