Fileserver with FBSD?

2006-03-03 Thread Huy Ton That
I am curious if I setup a fileserver with freebsd, and let's say, I setup 4
HDDs within the unit.  Is it possible to have one network link if you will,
that will span over the 4 drives?  Sort of like a clustered space?  Is
something such as this at all possible?

Could I additionally setup something such as this for a Windows environment
in conjunction with samba, sharity etc?

Thank you in advance,

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


Re: Fileserver with FBSD?

2006-03-03 Thread Huy Ton That
Thanks all, I was looking for the merge solution;  I appreciate your
feedback :)

On 3/3/06, Ian Lord <[EMAIL PROTECTED]> wrote:
>
>
> >>that will span over the 4 drives?  Sort of like a clustered space?
>
> I guess you mean you want to "merge" all hard drive space is if it
> was a single hd...
>
> In this case, you can either mount all the drives in your shared
> directory, or if you really want a single virtual hard drive, you can
> use raid 0, raid 5 or a span. You can either have a hardware raid
> controller or a software solution...
>
>
>
>
> ___
> 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]"


Setting fbsd up as a router?

2006-03-06 Thread Huy Ton That
Would anyone happen to know where I may find tutorials on setting up my FBSD
6.0 Release box as a router with the intention to add firewall services?
Thank you in advance, I spent the greater part of my afternoon breaking
things in the OS :<.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


192.168.0.1/24

2006-03-07 Thread Huy Ton That
Reading the handbook and I've seen /24 appended to an IP address often.  I'm
curious what this exactly means - I don't have strong networking skills;
does this define what ip it goes up to?

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


SSHD Help?

2006-03-13 Thread Huy Ton That
I am sure I am lacking the technical knowledge to get this running but.  I
setup (more like started) the sshd daemon.  Now I have this system setup at
home and am just using it for experimenting.  When I try to SSH into it, it
queries me for my user name, in which case I am logging in as root.  I key
in roots password (is this password the same as the main root password?) and
it returns permission denied, please try again.

I'm guessing I am not asking the right questions but I was under the
assumption that the password would be the same as root or whatever user I'm
trying to login?  Any tutorials?  I'm going crazy :(.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SSHD Help?

2006-03-13 Thread Huy Ton That
I think somethings wrong because even when I log on root locally on the box
I get permission denied.  This is the correct password because I am logging
in as root when the machine boots up.  I'm aware of the issues as logging in
as root but it's just a machine I am using to break over and over again for
learning purposes.

On 3/13/06, John Cruz <[EMAIL PROTECTED]> wrote:

> SSHD will not allow you to log in as root (for security reasons). There
> may be a way to change it, but I don't reccomend it. Configure a user
> account to be able to use the su command or install sudo, then log in
> remotely as a user then su or sudo for administrative tasks.
>
>
> Huy Ton That wrote:
> > I am sure I am lacking the technical knowledge to get this running
> but.  I
> > setup (more like started) the sshd daemon.  Now I have this system setup
> at
> > home and am just using it for experimenting.  When I try to SSH into it,
> it
> > queries me for my user name, in which case I am logging in as root.  I
> key
> > in roots password (is this password the same as the main root password?)
> and
> > it returns permission denied, please try again.
> >
> > I'm guessing I am not asking the right questions but I was under the
> > assumption that the password would be the same as root or whatever user
> I'm
> > trying to login?  Any tutorials?  I'm going crazy :(.
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
> >
> >
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Apache appears to not really be starting?

2006-03-14 Thread Huy Ton That
Installed apache2.2

I launch via apachectl w/:

apachectl -k start -f /usr/local/etc/apache22/httpd.conf

Edited httpd.conf and pointed the ips to 127.0.0.1:81 as I wanted to use
this port for a specific reason.

Executing this I get no errors however apache doesn't show under ps (noticed
this since I tried to do a stop and restart and just received the message:
httpd (no pid file) not running :( )

After doing a tail /var/log/httpd-error.log I get the following output:

[Tue Mar 14 22:25:26 2006] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Tue Mar 14 22:25:26 2006] [alert] (EAI 8)hostname nor servname provided, or
not known: mod_unique_id: unable to find IPv4 address of "Orestes.CASO"
Configuration Failed
[Tue Mar 14 22:26:32 2006] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Tue Mar 14 22:26:32 2006] [alert] (EAI 8)hostname nor servname provided, or
not known: mod_unique_id: unable to find IPv4 address of "Orestes.CASO"
Configuration Failed
[Tue Mar 14 22:28:00 2006] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Tue Mar 14 22:28:00 2006] [alert] (EAI 8)hostname nor servname provided, or
not known: mod_unique_id: unable to find IPv4 address of "Orestes.CASO"
Configuration Failed

Also I've tried replacing 127.0.0.1 with the the ip address for the incoming
connection nic card and I receive the same results.

Would anyone have any clues as to what I may be missing?

I also have
Listen localhost:81
ServerName localhost:81
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache appears to not really be starting?

2006-03-14 Thread Huy Ton That
problem fixed!!! thank you so much for the insight!

On 3/14/06, Robert Huff <[EMAIL PROTECTED]> wrote:
>
>
> Huy Ton That writes:
>
> >  apachectl -k start -f /usr/local/etc/apache22/httpd.conf
>
> First of all, this is - I believe - not the recommended way to
> start apache.  Instaed use the script in /usr/local/etc/rc.d.
>
> >  After doing a tail /var/log/httpd-error.log I get the following output:
> >
> >  [Tue Mar 14 22:25:26 2006] [warn] Init: Session Cache is not configured
> >  [hint: SSLSessionCache]
> >  [Tue Mar 14 22:25:26 2006] [alert] (EAI 8)hostname nor servname
> provided, or
> >  not known: mod_unique_id: unable to find IPv4 address of "Orestes.CASO"
> >  Configuration Failed
> >  [Tue Mar 14 22:26:32 2006] [warn] Init: Session Cache is not configured
> >  [hint: SSLSessionCache]
> >  [Tue Mar 14 22:26:32 2006] [alert] (EAI 8)hostname nor servname
> provided, or
> >  not known: mod_unique_id: unable to find IPv4 address of "Orestes.CASO"
> >  Configuration Failed
> >  [Tue Mar 14 22:28:00 2006] [warn] Init: Session Cache is not configured
> >  [hint: SSLSessionCache]
> >  [Tue Mar 14 22:28:00 2006] [alert] (EAI 8)hostname nor servname
> provided, or
> >  not known: mod_unique_id: unable to find IPv4 address of "Orestes.CASO"
> >  Configuration Failed
> >
> >  Also I've tried replacing 127.0.0.1 with the the ip address for
> >  the incoming connection nic card and I receive the same results.
> >
> >  Would anyone have any clues as to what I may be missing?
>
> You mean like this?
>
> [Mon Mar 13 11:07:53 2006] [alert] (EAI 8)hostname nor servname
> provided, or not known: mod_unique_id: unable to find IPv4 address
> of "jerusalem.litteratus.org" Configuration Failed
>
> This happened after upgrading to:
>
> FreeBSD 7.0-CURRENT #0: Mon Mar 13 09:23:39 EST 2006
>
> Two suggestions:
> 1) check that all interfaces apache is supposed to be listening
> on exist.  For some reason one of mine didn't.
> 2) make sure your hostname is DNS-resolvable.  (Even if this is
> not visible to the Internet, it still needs to reaolve.)
>
>
> Robert Huff
>
>
>
> ___
> 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: Hi there

2006-03-16 Thread Huy Ton That
Excellent choice; I'm still learning myself but I'll tell you between the
documentation, the community and mailing lists, I'm quite amazed.

1- Is FreeBSD compatible with one tool for PHP call Zend Optimizer?

According to their website, it is compatible with FreeBSD 6.0 which is the
recent stable version.

2- Is it hard to configure the drivers?

I haven't had experience with this and have had no issues with my software,
perhaps you should check out www.freebsd.org ; supported hardware is listed
there.

3- Is it compatible with Pentium 4?

Yes.

4- For a Social Network Web with a lot of members what kind of computer
would be the ideal to use with FreeBSD and so the periphericals are
completly compatible with FreeBSD.

Do you mean for a server to an online website?

5- What kind of paquets does FreeBSD to use on a server?

I don't understand your question, please elaborate.

Hope some of the above helps.

On 3/16/06, Federico Freigedo <[EMAIL PROTECTED]> wrote:

> Hi there I am very interested to use FreeBSD because Im gonna make a site
> and I want to create a serverfor this site and I been serching over the
> web
> and from everything I have read FreeBSD is the best option. Im new with SO
> like FreeBSD or Linux. But very interested to learn them, I got a couple
> of
> questions about FreeBSD and are the following:
>
> 1- Is FreeBSD compatible with one tool for PHP call Zend Optimizer?
> 2- Is it hard to configure the drivers?
> 3- Is it compatible with Pentium 4?
> 4- For a Social Network Web with a lot of members what kind of computer
> would be the ideal to use with FreeBSD and so the periphericals are
> completly compatible with FreeBSD.
> 5- What kind of paquets does FreeBSD to use on a server?
>
> Well thanks a lot for your attention and I will be waiting for your answer
> thank you
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Video iPod and FreeBSD 6.0-SECURITY

2006-03-23 Thread Huy Ton That
This same identifical issue happened to me with my Creative Zen MicroPhoto.
Only I just did a reset by removing the battery and putting it back in.

On 3/23/06, Jeff Cross <[EMAIL PROTECTED]> wrote:
>
> I recently purchased a Video iPod (30GB) and am unable to mount it as a
> drive in FreeBSD.  There is no device created for it when it is
> inserted.  All I receive is umass0: Apple iPod, rev 2.00/0.01, addr 2
> but no daX device.  Can anyone lend a hand on how I can mount this
> device so I can use GNUpod once again?!
>
> I also had a very scary experience happen to me when booting my laptop
> in to FreeBSD with the iPod connected.  I blogged about it here...
>
>
> http://www.averageadmins.com/blog/2006/03/21/what-not-to-do-with-a-video-ipod-and-freebsd/
>
> ...and am anxious to know if anyone knows why my laptop failed the
> volume checks when mounting the partitions.  It hosed my iPod up
> temporarily as well.  If anyone is interested in reading that post and
> commenting I would greatly appreciate it.  I now know not to boot my
> laptop up with the Video iPod connected!
>
> Thanks in advance!
>
> Jeff Cross
> ___
> 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]"


package vs ports question

2006-03-26 Thread Huy Ton That
I am curious, the key different between packages and ports are that packages
are precompiled and ports are not?  Am I erroneous in this statement?  I'm a
little confused as I have been always using make install clean from the
ports and don't see the difference...  Has anyone else had the same
question?

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


3ware 9550SX-8LP RAID help

2006-03-27 Thread Huy Ton That
Hello I just purchased a new server and was installing FBSD.  It currently
has 2 internal harddrives which are working and mountable.  Additionally
there are 3 hotswappable hdds which are connected to a 3ware 9550sx-8LP raid
5/0 controller card.  Everything has been configured properly within the
controller's bios.  However, the controller is not detected during boot
time.

I found out that the 'twa' drivers should take care of this, and after
consulting the online manpages I saw...  however it said FreeBSD 7.0 below
at the bottom of the online manpage...

*HARDWARE* 

 The *twa* driver supports the following SATA RAID controllers:

 *·* AMCC's 3ware 9500S-4LP
 *·* AMCC's 3ware 9500S-8
 *·* AMCC's 3ware 9500S-8MI
 *·* AMCC's 3ware 9500S-12
 *·* AMCC's 3ware 9500S-12MI
 *·* AMCC's 3ware 9500SX-4LP
 *·* AMCC's 3ware 9500SX-8LP
 *·* AMCC's 3ware 9500SX-12
 *·* AMCC's 3ware 9500SX-12MI
 *·* AMCC's 3ware 9500SX-16ML
 *·* AMCC's 3ware 9550SX-4LP
 *·* AMCC's 3ware 9550SX-8LP
 *·* AMCC's 3ware 9550SX-12
 *·* AMCC's 3ware 9550SX-12MI
 *·* AMCC's 3ware 9550SX-16ML

The odd thing is that when I do man twa locally on the machine, this is all
I have on my list:

 o   AMCC's 3ware 9500S-4LP
 o   AMCC's 3ware 9500S-8
 o   AMCC's 3ware 9500S-8MI
 o   AMCC's 3ware 9500S-12
 o   AMCC's 3ware 9500S-12MI

Is this just what is supported for FreeBSD 6.0?

I tried loading the twa locally from the box and received the following
message:

kldload twa
module_register: module pci/twa already exists!
Module pci/twa failed to register: 17
kldload: can't load twa: File exists

kldunload twa
kldunload: can't find file twa: No such file or directory

uname -a

FreeBSD localhost.CASO 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3
09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


localhost# cat /var/run/dmesg.boot
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2792.06-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9

Features=0xbfebfbff
  Features2=0x4400>
real memory  = 535691264 (510 MB)
avail memory = 514867200 (491 MB)
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 10 on acpi0
pci_link1:  irq 11 on acpi0
pci_link2:  irq 11 on acpi0
pci_link3:  irq 5 on acpi0
pci_link4:  irq 0 on acpi0
pci_link5:  irq 0 on acpi0
pci_link6:  irq 0 on acpi0
pci_link7:  irq 9 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 3.0 on pci0
pci1:  on pcib1
em0:  port
0xb000-0xb01f mem 0xf600-0xf601 irq 18 at device 1.0 on pci1
em0: Ethernet address: 00:30:48:87:be:ec
em0:  Speed:N/A  Duplex:N/A
pcib2:  at device 28.0 on pci0
pci2:  on pcib2
pci2:  at device 1.0 (no driver attached)
uhci0:  port 0xe100-0xe11f irq 16 at device
29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xe000-0xe01f irq 19 at device
29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0:  at device 29.4 (no driver attached)
pci0:  at device 29.5 (no driver
attached)
ehci0:  mem 0xf610-0xf61003ff irq 23
at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
pcib3:  at device 30.0 on pci0
pci3:  on pcib3
pci3:  at device 9.0 (no driver attached)
em1:  port
0xd100-0xd13f mem 0xf500-0xf501 irq 19 at device 10.0 on pci3
em1: Ethernet address: 00:30:48:87:be:ed
em1:  Speed:N/A  Duplex:N/A
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
ata0:  on atapci0
ata1:  on atapci0
atapci1:  port
0xe200-0xe207,0xe300-0xe303,0xe400-0xe407,0xe500-0xe503,0xe600-0xe60f at
device 31.2 on pci0
atapci1: failed to 

Re: 3ware 9550SX-8LP RAID help

2006-03-27 Thread Huy Ton That
After a lot of digging around and modifying the kernel a bit it's working
now.  I also had to add twa_load to the loader.conf file set to 'yes'.
Thank you for your response sir; I appreciate your time.

On 3/27/06, Erik Trulsson <[EMAIL PROTECTED]> wrote:
>
> On Mon, Mar 27, 2006 at 04:35:18PM -0500, Huy Ton That wrote:
> > Hello I just purchased a new server and was installing FBSD.  It
> currently
> > has 2 internal harddrives which are working and mountable.  Additionally
> > there are 3 hotswappable hdds which are connected to a 3ware 9550sx-8LP
> raid
> > 5/0 controller card.  Everything has been configured properly within the
> > controller's bios.  However, the controller is not detected during boot
> > time.
> >
> > I found out that the 'twa' drivers should take care of this, and after
> > consulting the online manpages I saw...  however it said FreeBSD 7.0below
> > at the bottom of the online manpage...
> >
> > *HARDWARE* <
> http://www.freebsd.org/cgi/man.cgi?query=twa&sektion=4&manpath=FreeBSD+7.0-current#end
> >
>
> As can be seen in the link, that is the manpage for 7-CURRENT.
>
> >  The *twa* driver supports the following SATA RAID controllers:
> >
> >  *·*   AMCC's 3ware 9500S-4LP
> >  *·*   AMCC's 3ware 9500S-8
> >  *·*   AMCC's 3ware 9500S-8MI
> >  *·*   AMCC's 3ware 9500S-12
> >  *·*   AMCC's 3ware 9500S-12MI
> >  *·*   AMCC's 3ware 9500SX-4LP
> >  *·*   AMCC's 3ware 9500SX-8LP
> >  *·*   AMCC's 3ware 9500SX-12
> >  *·*   AMCC's 3ware 9500SX-12MI
> >  *·*   AMCC's 3ware 9500SX-16ML
> >  *·*   AMCC's 3ware 9550SX-4LP
> >  *·*   AMCC's 3ware 9550SX-8LP
> >  *·*   AMCC's 3ware 9550SX-12
> >  *·*   AMCC's 3ware 9550SX-12MI
> >  *·*   AMCC's 3ware 9550SX-16ML
> >
> > The odd thing is that when I do man twa locally on the machine, this is
> all
> > I have on my list:
> >
> >  o   AMCC's 3ware 9500S-4LP
> >  o   AMCC's 3ware 9500S-8
> >  o   AMCC's 3ware 9500S-8MI
> >  o   AMCC's 3ware 9500S-12
> >  o   AMCC's 3ware 9500S-12MI
> >
> > Is this just what is supported for FreeBSD 6.0?
>
> Yes, that is all the devices that twa supported when 6.0 was made.
> Support for the 95x0SX cards have been added since.
> The upcoming 6.1 should support all the devices that 7-CURRENT supports.
>
> >
> > I don't know what else to do, does anyone know how to get this
> recognized?
> > I've spent all morning trying to get this figured out :/.
>
> Try one of the 6.1 betas.  It ought to work.
>
>
> --
> 
> Erik Trulsson
> [EMAIL PROTECTED]
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Odd Sharity-Light mount issue

2006-04-04 Thread Huy Ton That
Hello, I found one other person who had the same below issue with
sharity-light however I did not find a resolution after some googling.

I'm running FreeBSD 6.0 Release and have just installed sharity-light
from the ports.  When I execute:  ./shlight //192.168.0.2/directory
/usr/ntmount -U administrator -P somepassword

It kicks back the error `nfs mount /usr/ntmount: [2] No such file or directory'

/usr/ntmount does exist with absolute certainty.

I'm using version sharity-light-1.2_1 which I believe is the latest.  Any ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hosed my MBR?

2006-04-10 Thread Huy Ton That
Boot off the WinXP disc & enter the repair utility (console).

You can type 'help' for all the commands.

There's a command called fixmbr; I think this is what you are looking for.

On 4/10/06, Doug Poland <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm in a bit of a mess here.  I've got an Asus P4C800-E Deluxe
> motherboard with two on-board SATA RAID controllers, an Intel MatrixRAID
> (ICH5R) and Promise Fasttrak (PDC20378).  My BIOS allows me to boot
> from either the Promise or the Intel controller.
>
> The PDC20378 runs two drives in a RAID0 configuration booting FreeBSD
> 6.0-STABLE.  The entire drive (ar0) is dedicated to FreeBSD and I have
> the boot-manager installed.   The ICH5R also runs two drives in a
> RAID0 for Windows XP.  I allocated roughly 25% of the drive (ar1) to
> Windows NTFS (ar1s1) and left the remaining disk open.
>
> Now that 6.x supports the ICH5R I decided to use the leftover disk (ar1)
> for a FreeBSD slice.  I used sysinstall's fdisk to create the slice in
> the unused portion of the disk.  I successfully committed the changes.  I
> then used # newfs /dev/ar1s2 to create a file-system and it went fine.
>
> The problem is, now, when I attempt to boot off the Intel controller, I
> get a FreeBSD boot load failure:
>
> ---
>
> Invalid Partition
> Invalid Partition
>
> No /boot/loader
>
> FreeBSD/i386 boot
> Default: 0:ad(0,a)/boot/kernel/kernel
> boot:
>
> Invalid partition
> No /boot/kernel/kernel
>
> FreeBSD/i386 boot
> Default: 0:ad(0,a)/boot/kernel/kernel
> boot:
>
> ---
>
> So it would seem I hosed my MBR.  The question is, how did I do it and
> how do I fix it?  I would think that when I choose to leave the MBR
> untouched in sysinstall, that it would do just that.
>
> I cannot use the old DOS boot floppy trick of:  fdisk /MBR as DOS will
> not recognize my Intel controller.  Windows installation media is
> equally clueless.  I want to be very careful here so as not to render my
> entire system useless.  A thought occurred to me that I might be able to
> get a MBR from another Windows box
>
>freesbie# dd if=/dev/ad0 of=/mnt/nfs/tmp/XP.mbr bs=512 count=79
>hosedbox# dd if=/mnt/nfs/tmp/XP.mbr of=/dev/ar1 bs=512 count=79
>
> and write that over my bad MBR.  Does that make sense?  Is there a
> "better" way?
>
>
> --
> Regards,
> Doug
> ___
> 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]"


Changing Default Editor in profile

2006-09-08 Thread Huy Ton That

under my home directory for root under .profile I added the line:

EDITOR=pico;export EDITOR

where no such line existed for EDITOR before; this line exists in my
personal account that I use and my default for external launched editors is
now pico such that I can edit crontab stuff easily.  However, when I ssh in
and then su, I try to run crontab only to find it is still booting into 'vi'
by default.  Any ideas how I can get this loaded?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing Default Editor in profile

2006-09-08 Thread Huy Ton That

Thank you sirs!!!  That did the trick!


On 9/8/06, Dominique Goncalves <[EMAIL PROTECTED]> wrote:


Hi,

On 9/8/06, Huy Ton That <[EMAIL PROTECTED]> wrote:
> under my home directory for root under .profile I added the line:
>
> EDITOR=pico;export EDITOR
>
> where no such line existed for EDITOR before; this line exists in my
> personal account that I use and my default for external launched editors
is
> now pico such that I can edit crontab stuff easily.  However, when I ssh
in
> and then su, I try to run crontab only to find it is still booting into
'vi'
> by default.  Any ideas how I can get this loaded?

You have to use "su -", if you want load your root's environnement.
su(1) for more explications.

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

Regards.

--
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."


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


Restore /libexec/ld-elf.so.1

2007-03-05 Thread Huy Ton That

I renamed this file and now I cannot boot up anymore... How can I restore
this file?  Help
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


BTX Loader Error / Help

2006-11-30 Thread Huy Ton That

Ugh this is bad...  I have this system functioning as a fileserver which was
working for months without a reboot.  Some coworkers complained of lag and
after a reboot it will not start up and I am continuously getting BTX halted
errors.  I tried loading off an FBSD disk but that would incur the same
problem.  Ideas?

BTX Loader 1.00 BTX version is 1.01
Consoles: internal video/keyboard
BIOS CD is cd0
BIOS drive C: is disk0
BIOS drive d: is disk1
BIOS drive e: is disk2

etc...

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


Re: BTX Loader Error / Help

2006-11-30 Thread Huy Ton That

Hm, it appears after powercycling it and removing this USB harddrive I had
attached to it allowed it to come back up.  Odd?

On 11/30/06, Huy Ton That <[EMAIL PROTECTED]> wrote:


Ugh this is bad...  I have this system functioning as a fileserver which
was working for months without a reboot.  Some coworkers complained of lag
and after a reboot it will not start up and I am continuously getting BTX
halted errors.  I tried loading off an FBSD disk but that would incur the
same problem.  Ideas?

BTX Loader 1.00 BTX version is 1.01
Consoles: internal video/keyboard
BIOS CD is cd0
BIOS drive C: is disk0
BIOS drive d: is disk1
BIOS drive e: is disk2

etc...

BTX halted


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


sshd config config file question

2007-07-10 Thread Huy Ton That

Newbie question,

I've made a change to /etc/ssh/sshd_config

such as #MaxAuthTries 6 to MaxAuthTries 3

afterwards I /etc/rc.d/sshd reload as user root

the change did not propagate? Any ideas? Am I doing this correctly? Also
when I run:

/etc/rc.d/sshd status

I do not get any feedback. Am I editing the correct file?

Thanks

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


Re: sshd config config file question

2007-07-10 Thread Huy Ton That

The daemon is up and has been up for a long time. In fact, when I made these
changes to sshd_config, for instance as a test maxauthtries to 3 I also
reloaded it during a ssh terminal session. After which I logged back in and
as a test, purposely errored the tries; it still defaulted to 6 despite the
sshd_config file change and reloading.

when I say I get no message I mean to state as such:

$/etc/rc.d/sshd status <--carriage return
$ <--no message after return.

Thanks Pete.

-Huy

On 7/10/07, pete wright <[EMAIL PROTECTED]> wrote:


On 7/10/07, Huy Ton That <[EMAIL PROTECTED]> wrote:
> No, it was unhashed. Thanks for pointing it out though. But the strange
> thing is when I run:
>
> /etc/rc.d/sshd status
>
> I get no message
>
> No message for start, restart, reload etc. I am performing these
commands as
> root.
>
> Any ideas?
>



(couple things, please don't top post, and be sure to keep
[EMAIL PROTECTED] cc'd on this thread so others can help you)

i'm not sure what you mean about "no message".  make sure you have
sshd_enabled="YES" in your /etc/rc.conf.

also check to see if sshd is running by using "ps".  if it is not, try
starting it by hand - this will tell you if there are any errors on
startup.  once it starts cleanly by hand then use the init script in
/etc/rc.d/sshd.

the man page for sshd is very helpful, and should answer many of the
questions you may have - including how to start the daemon by hand,
etc..  type:
man sshd

-p




--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group


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


Updating to 6.1 RC1 with TWA compile issues?

2006-04-18 Thread Huy Ton That
Perhaps someone may help me, I've successfully cvsup'd the src for the
6.1 rc1 release ran make buildworld and now when I initiate make
buildkernel it halts as shown below.  Any ideas?  is there a way I can
exclude this compilation?


mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I-
-I/usr/src/sys/modules/twa/../../dev/twa -DHAVE_KERNEL_OPTION_HEADERS
-I. -I@ -I@/contrib/altq -I@/../include -I/usr/include
-I/usr/obj/usr/src/sys/GENERIC
/usr/src/sys/modules/twa/tw_osl_freebsd.c
/usr/src/sys/modules/twa/tw_osl_cam.c
/usr/src/sys/modules/twa/tw_cl_init.c
/usr/src/sys/modules/twa/tw_cl_io.c
/usr/src/sys/modules/twa/tw_cl_intr.c
/usr/src/sys/modules/twa/tw_cl_misc.c
/usr/src/sys/modules/twa/tw_cl_io.c:9:2: invalid preprocessing directive #¸
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/twa.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

By the way, this is the contents of the /usr/src/sys/modules/twa directory:

-rw-r--r--  1 root  wheel  3200 Dec  7 18:18 Makefile
-rw-r--r--  1 root  wheel  3587 Mar 27 19:41 tw_cl.h
-rw-r--r--  1 root  wheel  3594 Mar 27 19:41 tw_cl_externs.h
-rw-r--r--  1 root  wheel  3594 Mar 27 19:41 tw_cl_fwif.h
-rw-r--r--  1 root  wheel  3601 Mar 27 19:41 tw_cl_fwimg.c
-rw-r--r--  1 root  wheel  3595 Mar 27 19:41 tw_cl_init.c
-rw-r--r--  1 root  wheel  3592 Mar 27 19:41 tw_cl_intr.c
-rw-r--r--  1 root  wheel  3592 Mar 27 19:41 tw_cl_io.c
-rw-r--r--  1 root  wheel  3593 Mar 27 19:41 tw_cl_ioctl.h
-rw-r--r--  1 root  wheel  3594 Mar 27 19:41 tw_cl_misc.c
-rw-r--r--  1 root  wheel  3593 Mar 27 19:41 tw_cl_share.h
-rw-r--r--  1 root  wheel  3589 Mar 27 19:41 tw_osl.h
-rw-r--r--  1 root  wheel  2937 Mar 27 19:41 tw_osl_cam.c
-rw-r--r--  1 root  wheel  3374 Mar 27 19:41 tw_osl_externs.h
-rw-r--r--  1 root  wheel  3600 Mar 27 19:41 tw_osl_freebsd.c
-rw-r--r--  1 root  wheel  3597 Mar 27 19:41 tw_osl_includes.h
-rw-r--r--  1 root  wheel  2791 Mar 27 19:41 tw_osl_inline.h
-rw-r--r--  1 root  wheel  3596 Mar 27 19:41 tw_osl_ioctl.h
-rw-r--r--  1 root  wheel  2936 Mar 27 19:41 tw_osl_share.h
-rw-r--r--  1 root  wheel  3372 Mar 27 19:41 tw_osl_types.h
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Window Manager Opinions

2006-04-19 Thread Huy Ton That
Just a general question; not sure if it belongs in questions but let me know
otherwise.  I'm currently using gnome2 as my desktop environment on RC
6.1but it is a little dry;  What are you all using out there and any
reasons as
to behind the decision and such.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


chown confusion

2006-04-27 Thread Huy Ton That
Okay I'm feeling like an idiot now, if i chowned a directory such that

user 'x' had the ownership of a given directory and was in group 'alpha'

user 'b' needed to add files to the said directory and was in group 'alpha'

now I know usually you do chown :groupname  or chown
user:groupname  to change ownership however...

I can limit a directory to only a user, but I want to limit it not at a user
level, but at a group level such that all users in a group can write to a
file.

An option to remove ownership perhaps chown -:groupname does this make
sense?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


I've added you as a friend on Doostang

2008-06-18 Thread Huy Ton-That
Hi,

I’ve requested to add you as a friend on Doostang, an invite-only career 
community started at Harvard, Stanford, and MIT.  You can use Doostang to find 
a job or internship, network, and access valuable career information from peers 
and industry professionals.

Regards,
Huy

To accept this invitation, please visit:
http://www.doostang.com/s/u?s=x5JLFIYDjm

---
If you don't want to receive future invitations or emails from Doostang, click 
here:
http://www.doostang.com/logins/noemail?arg=e423f4d4864d62a385dcdc78a90ef96a10161cce___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

I've added you as a friend on Doostang

2008-06-18 Thread Huy Ton-That
Hi,

I’ve requested to add you as a friend on Doostang, an invite-only career 
community started at Harvard, Stanford, and MIT.  You can use Doostang to find 
a job or internship, network, and access valuable career information from peers 
and industry professionals.

Regards,
Huy

To accept this invitation, please visit:
http://www.doostang.com/s/u?s=W7T8azAteF

---
If you don't want to receive future invitations or emails from Doostang, click 
here:
http://www.doostang.com/logins/noemail?arg=e2db3a0f91306e78a1fd50d59dd4593282b1ce33___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"