Dual VGA out on Radeon 8500

2003-09-13 Thread David L
Just want to know if anyone here has gotten dual head working on a Ati Radeon 
8500 Le graphics card. If so, can you tell me how you get the PCI bus ID of 
the DVI port, I beleive you need that to set it in the XFree86 config file.

when I do pciconf -v -l it only shows

[EMAIL PROTECTED]:0:0:  class=0x03 card=0x00041681 chip=0x514c1002 rev=0x00 
hdr=0x00
vendor   = 'ATI Technologies'
device   = 'R200 Radeon 8500 / 8500LE'
class= display
subclass = VGA

Thanks

David

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


Re: Problem(s) resolving names with natd/ipfw.

2003-09-13 Thread chael
1. I would try enabling named on the FreeBSD gateway and set it as a
forwarder to the DNS of my ISP. Then set all the clients' primary DNS to
that of the internal IP of your gateway.
2. I would also not use "OPEN" firewall type. I would not be comfortable
with it.
3. I would also take out the lines firewall_type and firewall_script from
rc.conf and instead create a shell script in a startup_dir (eg
/usr/local/etc/rc.d) and put all my ipfw rules in there and chmod it to be
executable. I think the original /etc/rc.firewall awaits variables set in
rc.conf eg firewall_type, etc.


- Original Message -
From: "Jose Albores" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 14, 2003 12:57 PM
Subject: Problem(s) resolving names with natd/ipfw.


> The problem summary is as follows:
> I'm setting up a very simple LAN at home using only
> two machines with fixed private ip addresses either.
> The FreeBSD gateway is connected to the internet
> through my cablemodem ISP's modem.
>
> The problem is that the Windows XP client CANNOT
> access the Internet with alphabetic names (should be
> called a DNS problem?) but it YES CAN do it with ip
> addresses (numbers).
>
> AFAIK (being a newbie in networking issues) it seems
> that no problems arise from the gateway side after
> "setting" up natd/ipfw.
>
> >From the client, I can ping to numeric addresses
> locally and outside. And (again using ip-numbers) I
> can telnet to my pop server's 110 port. But not with
> "names".
> The (gateway) server has NO problems with alphabetic
> addresses. Neither pinging the local network nor with
> the internet.
>
> Maybe I forgot some "flag" for natd in my
> /etc/rc.conf?
> Is/are there other option/s in my kernel-configuration
> file needeed?
> Any hint will be appreciated. Please feel free to ask
> for any necessary info.
>
>
> These are the "details".
> It's my first job with networks, and the scenario is
> as follows:
> The server:
>· Pentium 233 MMX.
>· OS: FreeBSD 4.8-RELEASE. Alternating with Win 98
> for testing.
>· dc0: interfase to my cablemodem ISP.
>· vr0: interfase to my local network connected to a
> hub.
>
> The client:
>· AMD athlon xp 2.0 Ghz.
>· OS: Windows XP.
> Adding DNS servers to the network config in the client
> didn't solve the problem.
> BTW it's not necessary to add DNS entries when the
> server boots with Win 98 + Microsoft's ICS.
>
> On the server side, I built a new kernel with (all?)
> the necessary options:
>· The GENERIC kernel, adding:
>options IPDIVERT
>options IPFIREWALL
>options IPFIREWALL_VERBOSE
>options IPFIREWALL_VERBOSE_LIMIT=200
>options IPFIREWALL_DEFAULT_TO_ACCEPT
>
> The /etc/hosts file has three entries:
> 127.0.0.1 localhost  localhost.homenet.org
> 192.168.0.1 daviddavid.homenet.org
> 192.198.0.2 goliath  goliath.homenet.org
>
> My /etc/resolv.conf has been automagically generated
> when first configured the interfases.
> Maybe? it updates on every boot.
>
> And my networking-related lines in /etc/resolv.conf
> are as follows:
> --- Begin of /etc/rc.conf ---
> hostname="david.homenet.org"
> # [...] chunking a few not-networking lines...
> ifconfig_dc0="DHCP"
> ifconfig_vr0="inet 192.168.0.1 netmask 255.255.255.0"
> gateway_enable="YES"
> firewall_enable="YES"
> firewall_type="OPEN"
> firewall_script="/etc/my.rc.firewall"
> #firewall_script="/etc/rc.firewall" ### did not work
> either!!!
> natd_enable="YES"
> natd_interface="dc0"
> natd_flags=""
> --- End of /etc/rc.conf ---
>
>
> The COMPLETE /etc/my.rc.firewall is extremely simple:
> --- Begin ---
> #!/bin/sh
> /sbin/ipfw -f flush
> /sbin/ipfw add divert natd all from any to any via dc0
> /sbin/ipfw add pass all from any to any
> --- End ---
> Testing "blindly" the /etc/rc.firewall also did not
> work.
> Learning ipfw secrets will be left for the immediate
> future ;o))).
>
>
> TIA.
> --
> José Albores - <[EMAIL PROTECTED]>
>
> 
> Internet GRATIS es Yahoo! Conexión
> 4004-1010 desde Buenos Aires. Usuario: yahoo; contraseña: yahoo
> Más ciudades: http://conexion.yahoo.com.ar
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: nis security (DES passwords)

2003-09-13 Thread horio shoichi
On Sat, 13 Sep 2003 17:01:31 +0200
Guy Van Sanden <[EMAIL PROTECTED]> wrote:
> I was looking arround for this, and I found that Kerberos uses DES
> encryption, John (on my sytem) reports it rather weak:
> 

> 
> Yet it seems the consensus that Kerberos is secure, am I missing
> something?
> 
1. Krb5 uses default salted 3DES. In addition, as Tillman wrote, krb5
   allows other ciphers.

2. Even krb4, which uses unsalted DES, is considered difficult to crack
   because it does not expose ciphered text (i.e., passwd). On the wire,
   on the local files.


horio shoichi

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


Problem(s) resolving names with natd/ipfw.

2003-09-13 Thread Jose Albores
The problem summary is as follows:
I'm setting up a very simple LAN at home using only
two machines with fixed private ip addresses either.
The FreeBSD gateway is connected to the internet
through my cablemodem ISP's modem.

The problem is that the Windows XP client CANNOT
access the Internet with alphabetic names (should be
called a DNS problem?) but it YES CAN do it with ip
addresses (numbers).

AFAIK (being a newbie in networking issues) it seems
that no problems arise from the gateway side after
"setting" up natd/ipfw.

>From the client, I can ping to numeric addresses
locally and outside. And (again using ip-numbers) I
can telnet to my pop server's 110 port. But not with
"names".
The (gateway) server has NO problems with alphabetic
addresses. Neither pinging the local network nor with
the internet.

Maybe I forgot some "flag" for natd in my
/etc/rc.conf?
Is/are there other option/s in my kernel-configuration
file needeed?
Any hint will be appreciated. Please feel free to ask
for any necessary info.


These are the "details".
It's my first job with networks, and the scenario is
as follows:
The server:
   · Pentium 233 MMX.
   · OS: FreeBSD 4.8-RELEASE. Alternating with Win 98
for testing.
   · dc0: interfase to my cablemodem ISP.
   · vr0: interfase to my local network connected to a
hub.

The client:
   · AMD athlon xp 2.0 Ghz.
   · OS: Windows XP.
Adding DNS servers to the network config in the client
didn't solve the problem.
BTW it's not necessary to add DNS entries when the
server boots with Win 98 + Microsoft's ICS.

On the server side, I built a new kernel with (all?)
the necessary options:
   · The GENERIC kernel, adding:
   options  IPDIVERT
   options  IPFIREWALL
   options  IPFIREWALL_VERBOSE
   options  IPFIREWALL_VERBOSE_LIMIT=200
   options  IPFIREWALL_DEFAULT_TO_ACCEPT

The /etc/hosts file has three entries:
127.0.0.1 localhost  localhost.homenet.org
192.168.0.1 daviddavid.homenet.org
192.198.0.2 goliath  goliath.homenet.org

My /etc/resolv.conf has been automagically generated
when first configured the interfases.
Maybe? it updates on every boot.

And my networking-related lines in /etc/resolv.conf
are as follows:
--- Begin of /etc/rc.conf ---
hostname="david.homenet.org"
# [...] chunking a few not-networking lines...
ifconfig_dc0="DHCP"
ifconfig_vr0="inet 192.168.0.1  netmask 255.255.255.0"
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
firewall_script="/etc/my.rc.firewall"
#firewall_script="/etc/rc.firewall" ### did not work
either!!!
natd_enable="YES"
natd_interface="dc0"
natd_flags=""
--- End of /etc/rc.conf ---


The COMPLETE /etc/my.rc.firewall is extremely simple:
--- Begin ---
#!/bin/sh
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via dc0
/sbin/ipfw add pass all from any to any
--- End ---
Testing "blindly" the /etc/rc.firewall also did not
work.
Learning ipfw secrets will be left for the immediate
future ;o))).


TIA.
--
José Albores - <[EMAIL PROTECTED]>


Internet GRATIS es Yahoo! Conexión
4004-1010 desde Buenos Aires. Usuario: yahoo; contraseña: yahoo
Más ciudades: http://conexion.yahoo.com.ar
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Vinum for root.

2003-09-13 Thread Malcolm Kay
On Sun, 14 Sep 2003 10:23, Lewis Thompson wrote:
> Hi,
>
> I'm looking to setup my new FreeBSD 5.1 server with a mirrored vinum
> volume.  I've read through the necessary handbook entries but it doesn't
> seem to answer my question:
>
>   I'm wanting to do this at install time -- is this possible?  The
> ``Using Vinum for the Root Filesystem'' chapter doesn't seem to cover
> this (as far as I can see).  If it is possible, some hints would be
> greatly appreciated.
>
>   I'm booting from a mini ISO and the console is pretty limited (I
> couldn't kldload vinum).  Is this right?
>

I did this with 4.8 -- bare outlines only -- certainly not the quickest 
approach but probably the easiest conceptually (at least for me).

1) Install a conventional minimal installation on the first disk.
This will be overwritten later so don't fuss too much about details.
2) Use to partition the second disk in a vinum compatible configuration
using disklabel (bsdlabel, I believe in 5.x) but including conventional
partitions for the system beginning 265 sectors inside the vinum
partition (which in turn should start 16 sectors inside the slice; ie 16
sectors inside partition c -- saves disklabel from being over written).
3) Go back to your installation CD and install the system you want on the
conventional partitions you created in step 2). Be careful not to edit
the slice or partition mapping during installation! 
4) Boot into the new system. Map the conventional partitions to vinum 
volumes. Start vinum -- replace fstab entries with corresponding vinum
volume references and configure /boot/loader.conf to boot into vinum.
5) You should now be able to boot directly into vinum; but no mirror yet.
While in that system remap the slices and partitions on the first disk to
match those on your second disk. You should now be able to create
the mirror plexes here and append them to the vinum volumes already
created.

Apart from filling in the detail using information in the handbook and man
pages you should now be there!

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


Re: samba PDC vs IBM T21 keyboard

2003-09-13 Thread Micheal Patterson


- Original Message - 
From: "Stacey Roberts" <[EMAIL PROTECTED]>
To: "FreeBSD Questions" <[EMAIL PROTECTED]>
Sent: Saturday, September 13, 2003 9:25 PM
Subject: samba PDC vs IBM T21 keyboard


> Hello,
>I've got a strange (to me at least) problem here.
>
> I'm running samba (version: samba-2.2.8a) as a PDC on a network. I've
> just joined an IBM T21 WinXP Pro laptop to the domain, which went
> through okay, except for one unexpected factor:
>
> The T21's keymapping appears to be all crazy. By that, I'd refer you to
> keys U, I, O, P, J, K, L, : and M.
>
> All of these keys have alternate chars printed on them - for instance
> the "P" has "*" and "O" has a "6", and so on.
>
> Whenever a user logs onto the domain, these "secondary" chars appear to
> be the ones in use, and what you'd expect for "P" actually gets output
> as the "*" char. This happens regardless of the user that logs in, as
> long as its on the network, then those other chars appear to take
> precedence. This behaviour appears in all applications as well, from M$
> Word to attempts at typing a url into the address bar in IE.
>
> If I didn't know any better, I'd almost want to suggest that the key
> mapping appears to be that of a regular PS/2 keyboard!
>
> Has anyone noticed anything like this? If there's any more info I can
> provide, I'm willing to.
>
> Thanks for the time.
>
> Regards,
>
> Stacey
> -- 
> Stacey Roberts
> B.Sc (HONS) Computer Science
>
> Web: www.vickiandstacey.com
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

Sounds like the 10 key function of the keyboard has been enabled.

--

Micheal Patterson
Network Administration
Cancer Care Network
405-917-0600

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


samba PDC vs IBM T21 keyboard

2003-09-13 Thread Stacey Roberts
Hello,
   I've got a strange (to me at least) problem here.

I'm running samba (version: samba-2.2.8a) as a PDC on a network. I've
just joined an IBM T21 WinXP Pro laptop to the domain, which went
through okay, except for one unexpected factor: 

The T21's keymapping appears to be all crazy. By that, I'd refer you to
keys U, I, O, P, J, K, L, : and M.

All of these keys have alternate chars printed on them - for instance
the "P" has "*" and "O" has a "6", and so on.

Whenever a user logs onto the domain, these "secondary" chars appear to
be the ones in use, and what you'd expect for "P" actually gets output
as the "*" char. This happens regardless of the user that logs in, as
long as its on the network, then those other chars appear to take
precedence. This behaviour appears in all applications as well, from M$
Word to attempts at typing a url into the address bar in IE.

If I didn't know any better, I'd almost want to suggest that the key
mapping appears to be that of a regular PS/2 keyboard!

Has anyone noticed anything like this? If there's any more info I can
provide, I'm willing to.

Thanks for the time.

Regards,

Stacey
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com


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


Re: pkg_delete PERL ?

2003-09-13 Thread Lowell Gilbert
"Richard Shea" <[EMAIL PROTECTED]> writes:

> Hi - I've got disk space problems I'm trying to resolve by having a clear
> up. I've got a lot of stuff which appears to be Perl modules (see
> listings bottom) but I don't know how to uninstall Perl modules - can
> anyone tell me ?
> 
> On the same subject is it possible to uninstall Perl ? When I do pkg_info
> it's not in there - is it build deeper into BSD than that ? 

Before 5.x, perl was part of the base system.  You didn't mention what
version you're running, so I'll just guess it's 4.x.  If it's a recent
4.x, you *might* be able to get rid of perl and be okay, but it's
certainly not supported.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Not quite mail relay

2003-09-13 Thread Gary
Hi Derrick,

--On Saturday, September 13, 2003 05:10:17 PM -0700 Derrick Ryalls 
<[EMAIL PROTECTED]> wrote:

No they don't. Email admims look at the last sender IP
address in the headers, which is the only valid address, all
others are usually forged.
What I am referring to is the unable to deliver email that qmail sends
to hotmail has an unknown user.
If it is his qmail server, then someone is probably relaying through him. 
He can determine this through his logs.

If someone is just using one of his email addresses, and he is not a relay, 
then he is getting Joe-Jobbed.. You have not determined this yet.

Hotmail then bounces the mail back to
my brother's server as an undeliverable, and since it is then a double
bounce, it lands in my brother's inbox (mailer-daemon goes to him).
Today, he has received over 6000 bounced msgs.
Okay, if your question is only - how do I stop double bounces from getting 
into my system, then here is the answer.

1. Change the /var/qmail/control/doublebounceto file to read only one line 
saying "obvilion" (without the quotes)

2. Set up an alias in the /var/qmail/alias dir, and make a file called
.qmail-obvilion
3. Edit the file and put in a "#" (no quotes) on one line by itself.

Now, all double bounces with be directed to nowhere, and dissappear.

Yes, but you have to provide more info rather than speculate
on what you are having  a problem with.  Are you an open
relay? Check your logs? If so, something is not configured
properly.  If you are just getting bounces from your own
domain, and someone is forging your domain as the sender or
return address in their spam, that is called a Joe-Job.

In the /var/qmail/control, only his domains are listed.
That would be /var/qmail/control/rcpthosts file. If he does not have that 
file, he is an open relay and sitting duck.

In tcp.rules,
only localhost can relay email.  Normal clients can only send mail with
SMTP-ATUH.
There is no tcp.rules file in qmail. The local file is called 
/var/qmail/control/locals, and local host and his domain(s) should be 
listed there, but not virtual domains.

As above, if he does not check his logs, and read his headers, he has no 
way of knowing if he is relaying, or suffering from a Joe-Job. There are 
other ways spammers try to get in, and if he is running a web server, have 
him also check to make sure he is not running formmail.cgi or pl

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


Re: Fw: permission denied in root!

2003-09-13 Thread Lowell Gilbert
"Paul Orsi" <[EMAIL PROTECTED]> writes:

"Paul Orsi" <[EMAIL PROTECTED]> writes:

> I may try:
> chattr -V  -i NEWKERN

What?  There's no such command.
You're thinking of chflags(1).

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


Re: xv flag to not create ~/dir/dir/.xvpics/

2003-09-13 Thread Don Tyson
> Does anyone know of a flag for "xv" to -NOT- create a directory called
> ".xvpics"?  I do not want xv to create this directory.  Thanks.

Peter --

Others may know better, but I do not believe you can
invoke the "visual schnauzer" without creating the .xvpics
directory.  Using xv *some pattern* to open an individual image or
r series of images from the command line, however, does not create the .xvpics
directory.

Don Tyson

> 
> --
> Peter Leftwich
> President & Founder, Video2Video Services
> Box 13692, La Jolla, CA, 92039 USA
> http://Www.Video2Video.Com
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Xterm-color

2003-09-13 Thread Daniel Bye
On Sat, Sep 13, 2003 at 06:43:24PM -0400, Bob Hall wrote:
> On Sat, Sep 13, 2003 at 06:22:29PM -0400, Todd Stephens wrote:
> > Probably a no-brainer, but how can I make my xterm start as xterm-color?  
> > If I want color ls, I have to type TERM=xterm-color from the command 
> > line every time I start a new terminal window.  What file do I need to 
> > edit to make X start with xterm-color?
> 
> ~/.Xdefaults
> ---
> xterm*background: green
> xterm*foreground: yellow
> xterm*highlightColor: purple
> 
> I don't necessarily endorse those color choices.

But those colours are so beautiful in combination...  ;-)

Set

XTerm*termName: xterm-color

as well, if you want to be certain that anything that cares about ${TERM}
gets an appropriate value.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp0.pgp
Description: PGP signature


Re: Disk problem at install (Signal 11).

2003-09-13 Thread Lewis Thompson
On Sat, Sep 13, 2003 at 06:01:37PM -0700, Kris Kennaway wrote:
> On Sun, Sep 14, 2003 at 12:49:22AM +0100, Lewis Thompson wrote:
> > DEBUG: Scanning disk ad0 for swap partitions
> > ad0: hard error cmd=read fsbn 0 status=51 error=04
> > DEBUG: Signal 11 caught!  That's bad!

> The disk is failing..pitch it.

Bah!  How did I know you'd say that!

  Ho-hum  *CRASH*.

  Thanks very much,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Fw: permission denied in root!

2003-09-13 Thread Daniel Bye
On Sat, Sep 13, 2003 at 03:35:46AM -0700, Paul Orsi wrote:
> I may try:
> chattr -V  -i NEWKERN

As Kris has already told you, there is no such command as `chattr' in
FreeBSD.

> chmod u+x NEWKERN

Ah!  Now we're (maybe) getting somewhere - the file NEWKERN is simply a text
file - it contains configuration parameters for building a kernel.  It is
not in and of itself executable.  If you set the execute bit and try to run
it, your shell will spew out loads of `command not found' errors.

> let me know if you have any ideas.,thanks

Read these chapters in the handbook:

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

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

The first is useful if you are just trying to build a new kernel.  If you
are trying to update the whole system, read the latter.

HTH,

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp0.pgp
Description: PGP signature


Re: Where can I find a log file for this ... ?

2003-09-13 Thread Alex de Kruijff
On Fri, Sep 12, 2003 at 04:16:10PM +0200, Peter Ulrich Kruppa wrote:
> Hi,
> 
> one FreeBSD machine at work froze, saying something about some
> kind of panic. I simply rebooted it, because I had no time then
> to have a close look at it.
> Is there some kind of log file where I could see this message
> again?

All the log files of the system are in /var/log/. The most general of
all is /var/log/messages/. This sould show you the messages your looking
for.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dummynet Pipes

2003-09-13 Thread Alex de Kruijff
On Fri, Sep 12, 2003 at 03:04:16PM +0100, Colin Watson wrote:
> I've got a question about dummynet pipes, basically I've installed two rules per 
> user to control their traffic flow: 
> 
> add 150 pipe 15 ip from 78.77.76.21 to any out
> pipe 15 config bw 512Kbit/s queue 10
> add 160 pipe 16 ip from any to 78.77.76.21 in
> pipe 16 config bw 512Kbit/s queue 10
> 
> However, the first (outbound traffic) rule is not kicking in. And the users can 
> upload at whatever capcity is on the backbone. Just wondering if I've configured it 
> correctly, or if something is missing - Any help appericated.
> 

First, would you please ajust you mailer so that your lines are less
then 72 chars? 

Its looks ok to me. What it the output of 'ipfw s'?

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mldonkey which name?

2003-09-13 Thread Alex de Kruijff
On Sat, Sep 13, 2003 at 05:49:56PM +0200, Dick Hoogendijk wrote:
> Hey,
> 
> I installed mldonkey, but now I'm a bit confused what program to run.
> It seems lots of them were installed by portinstall (mlchat, mlgui,
> mlguistart, mlin, etc..)

With mlnet you can start just te core. This give you telnet on port 4000
or 4001 and a HTML gui on port 4080.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What now ? [second thoughts ] - 4.4->4.8 Binary upgrade hasleft machine broken

2003-09-13 Thread Alex de Kruijff
On Sat, Sep 13, 2003 at 09:42:24PM +1200, Richard Shea wrote:
> Following on from previous post. 

This is a new mail. I don't know any thing about a previous port.

> During the upgrade I got to that screen
> before you see the sysinstal menu where you can reconfig the Kernel and I
> took the 'Skip Kernel Config' option - I wasn't really sure what the
> right thing to do was but I was guessing that the upgrade process would
> 'learn' what it needed to from the previous setup. 
> 
> Was this the wrong thing to do ? 

No I have tried them all and never notice anything big going on.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Disk problem at install (Signal 11).

2003-09-13 Thread Kris Kennaway
On Sun, Sep 14, 2003 at 12:49:22AM +0100, Lewis Thompson wrote:
> Hi,
> 
> I've just come to install FreeBSD 5.1-RELEASE on a new machine.  It's
> got four disks in it, but right now I'm only working with one (ad0),
> which is a 30GB disk that's been lying about for a bit.  I'm getting:
> 
> DEBUG: Scanning disk ad0 for swap partitions
> ad0: hard error cmd=read fsbn 0 status=51 error=04
> DEBUG: Signal 11 caught!  That's bad!
> 
> on the debug console just after I hit okay after defining my slices.
> I'm guessing this is a hardware problem (well, the ``hard error'' gives
> that away) but does anybody know if this is very serious, or... ?  Can I
> work around it, or is the disk for the bin?

The disk is failing..pitch it.

Kris


pgp0.pgp
Description: PGP signature


Re: permission denied in root!

2003-09-13 Thread Kris Kennaway
On Sat, Sep 13, 2003 at 04:58:45AM -0700, Paul Orsi wrote:
> I also did #../compile/NEWKERN and got permission denied.
> I made a typo (in the email), yes I did do a lower case 'cd'.permission
> denied again.
> I needed to change permissions to the fstab file since it would not let
> me write to it. The fact is that I have no ownership admin privileges on
> this issue.If I was to use a uppercase 'CD' I would get 'no such
> command', not permission denied. And why does not the base distribution
> include the chattr command.

There is no such command in FreeBSD.

> When I use the pkg_add -r for that package
> (since I'm lazy to look for it on my cd's) I get cannot find?
> I did change my root password. Perhaps that is the source, but it
> shouldn't be. I changed my root password because I was not being
> prompted for a password after root logon .After changing my password,
> I'm now prompted for a password.

Are you absolutely sure you're root?  What does 'id' tell you?

Please do not drop the questions list when following up with emails.
Others may still be able to help you.

Kris


pgp0.pgp
Description: PGP signature


Re: HOW TO USE C-R-O-N?????

2003-09-13 Thread Alex de Kruijff
On Sat, Sep 13, 2003 at 03:09:12PM +0400, Denis wrote:
> Hi All!!!
> 
>   Does anybody can show me how i can use Cron???
>   For example, I want to start:
>   /usr/bin/perl /usr/scripts/my.pl
>   every 30 seconds. Can i to do it?

No cron doesn't handle minutes. For more information type man cron from
the command line.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Vinum for root.

2003-09-13 Thread Lewis Thompson
Hi,

I'm looking to setup my new FreeBSD 5.1 server with a mirrored vinum
volume.  I've read through the necessary handbook entries but it doesn't
seem to answer my question:

  I'm wanting to do this at install time -- is this possible?  The
``Using Vinum for the Root Filesystem'' chapter doesn't seem to cover
this (as far as I can see).  If it is possible, some hints would be
greatly appreciated.

  I'm booting from a mini ISO and the console is pretty limited (I
couldn't kldload vinum).  Is this right?

  Thanks very much,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


pkg_delete PERL ?

2003-09-13 Thread Richard Shea
Hi - I've got disk space problems I'm trying to resolve by having a clear
up. I've got a lot of stuff which appears to be Perl modules (see
listings bottom) but I don't know how to uninstall Perl modules - can
anyone tell me ?

On the same subject is it possible to uninstall Perl ? When I do pkg_info
it's not in there - is it build deeper into BSD than that ? 

thanks for any help and here goes with that listing 

richard shea



===[root] / # locate CPAN
/root/.cpan/CPAN
/root/.cpan/CPAN/MyConfig.pm
/root/.cpan/CPAN/MyConfig.pm.000
/usr/libdata/perl/5.00503/CPAN
/usr/libdata/perl/5.00503/CPAN/Config.pm
/usr/libdata/perl/5.00503/CPAN/Config.pm~
/usr/libdata/perl/5.00503/CPAN/FirstTime.pm
/usr/libdata/perl/5.00503/CPAN/Nox.pm
/usr/libdata/perl/5.00503/CPAN.pm
/usr/share/perl/man/cat3/CPAN.3.gz
/usr/share/perl/man/man3/CPAN.3.gz
/usr/share/perl/man/man3/CPAN::FirstTime.3.gz
/usr/share/perl/man/man3/CPAN::Nox.3.gz
/usr/src/contrib/perl5/lib/CPAN
/usr/src/contrib/perl5/lib/CPAN/FirstTime.pm
/usr/src/contrib/perl5/lib/CPAN/Nox.pm
/usr/src/contrib/perl5/lib/CPAN.pm

The Cuba Group
PO Box 1864
Wellington
New Zealand

PH +64 4 496 5205
MO +64 21 296 6839 
FX +64 4 496 5209

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


Re: TCP/IP: Operation Timed Out

2003-09-13 Thread Jonathan Chen
On Sat, Sep 13, 2003 at 12:32:55PM -0400, yo _ wrote:

[...]
> At home i tried connecting to these servers via telnet on port 25 as well, 
> and it worked with ease. Then immediatly I ssh'ed to our remote mail server 
> and telnet'ed to these "operation timed out" mail servers on port 25 and 
> still same thing. Now this shocked me, how could i be easily connecting to 
> the mail servers from home, and from the location of our mail server, not 
> be able to.

The big question is whether you've got firewall rules in place that
could be blocking traffic. The rules could possibly be on your end or
the receiving side. If the maillogs do not indicate a connection on
the receivers, this could very likely be the problem.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Nyuck, nyuck, nyuck" - Curly
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Not quite mail relay

2003-09-13 Thread Derrick Ryalls
> 
> D> Ex.
>  
> D> To: [EMAIL PROTECTED]
> D> From: [EMAIL PROTECTED]
>  
> D> hotmail ends up with a ton of bounce msgs
> 
> Bounces are a normal part of email life.
> 
> D>  and thinks the server is a relay.
> 
> No they don't. Email admims look at the last sender IP 
> address in the headers, which is the only valid address, all 
> others are usually forged.

What I am referring to is the unable to deliver email that qmail sends
to hotmail has an unknown user.  Hotmail then bounces the mail back to
my brother's server as an undeliverable, and since it is then a double
bounce, it lands in my brother's inbox (mailer-daemon goes to him).
Today, he has received over 6000 bounced msgs.

>  
> D> Qmail is the mail server, but I was hoping someone would have an 
> D> idea.
> 
> Yes, but you have to provide more info rather than speculate 
> on what you are having  a problem with.  Are you an open 
> relay? Check your logs? If so, something is not configured 
> properly.  If you are just getting bounces from your own 
> domain, and someone is forging your domain as the sender or 
> return address in their spam, that is called a Joe-Job.

In the /var/qmail/control, only his domains are listed.  In tcp.rules,
only localhost can relay email.  Normal clients can only send mail with
SMTP-ATUH.


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


Re: nvidia kernel module ate my modem (!)

2003-09-13 Thread Lewis Thompson
Okay, most importantly.  Hah hah!  I love the topic.

On Sat, Sep 13, 2003 at 10:28:04AM +0100, Richard Dymond wrote:
> Chapter 2: Investigation. Had a fiddle with /etc/rc.conf and
> /boot/loader.conf, and discovered that if I refrain from loading the
> nvidia module at boot time, ppp works fine and dandy.

The only thing that I can think is that the Nvidia card is using a
conflicting IRQ or some other system setting that your modem also
requires.  I can't provide any more guesses than that but it might give
you something to investigate.

  Secondly, have you compiled XFree86 and the Nvidia driver without any
optimizations, etc.?  You never know, this might be the problem.

> Incidentally, I still have the linux kernel module - which nvidia
> seems to require - loaded, so I think we can cross that off the list
> of suspects.

One last thought -- have you tried using the FreeBSD agp module instead
of the Nvidia one, etc.  There are all sorts of combinations that might
just help you out.

  I can fully sympathise too.  I've just got a cute nForce2 board with a
GeForce4 MX and I tried glxgears and the system died.  I'm just about to
recompile XFree86/nvidia_drivers without optimizations.  Damn annoying.
Furthermore the onboard NIC doesn't work.  In fact... the only thing I
like is the sound.  It works!

  Best wishes,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Disk problem at install (Signal 11).

2003-09-13 Thread Lewis Thompson
Hi,

I've just come to install FreeBSD 5.1-RELEASE on a new machine.  It's
got four disks in it, but right now I'm only working with one (ad0),
which is a 30GB disk that's been lying about for a bit.  I'm getting:

DEBUG: Scanning disk ad0 for swap partitions
ad0: hard error cmd=read fsbn 0 status=51 error=04
DEBUG: Signal 11 caught!  That's bad!

on the debug console just after I hit okay after defining my slices.
I'm guessing this is a hardware problem (well, the ``hard error'' gives
that away) but does anybody know if this is very serious, or... ?  Can I
work around it, or is the disk for the bin?

  Thanks very much,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Finding BIND version

2003-09-13 Thread Frank Reppin
hi,

nslookup  -q=txt -class=CHAOS version.bind. 

and/or

[EMAIL PROTECTED] etc]# /usr/local/sbin/named -v
BIND 9.2.2
the first might be forged since the bind/dns admin can put
sth like:
version "foobar";

into his named.conf

regards,

frank

Ronnie Clark wrote:

How does one determine the version number of BINd
running on a system?
RC

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
43rd Law of Computing:
Anything that can go wr
fortune: Segmentation violation -- Core dumped
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Finding BIND version

2003-09-13 Thread Kris Kennaway
On Sat, Sep 13, 2003 at 04:05:56PM -0700, Ronnie Clark wrote:
> How does one determine the version number of BINd
> running on a system?

named -v

Kris


pgp0.pgp
Description: PGP signature


Finding BIND version

2003-09-13 Thread Ronnie Clark
How does one determine the version number of BINd
running on a system?

RC

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Xterm-color

2003-09-13 Thread Bob Hall
On Sat, Sep 13, 2003 at 06:22:29PM -0400, Todd Stephens wrote:
> Probably a no-brainer, but how can I make my xterm start as xterm-color?  
> If I want color ls, I have to type TERM=xterm-color from the command 
> line every time I start a new terminal window.  What file do I need to 
> edit to make X start with xterm-color?

~/.Xdefaults
---
xterm*background: green
xterm*foreground: yellow
xterm*highlightColor: purple

I don't necessarily endorse those color choices.

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


Re: permission denied in root!

2003-09-13 Thread Kris Kennaway
On Sat, Sep 13, 2003 at 03:27:55AM -0700, Paul Orsi wrote:
> Please help.
> Two problems:
> 1. I'm trying to compile NEWKERN. #config NEWKERN
> #CD ../ ../compile/NEWKERN
> Permission Denied

You used an invalid command:

cd ../../compile/NEWKERN

Not

CD ../ ../compile/NEWKERN

> 2. could not change permissions for etc/fstab also.Can no longer write to file.

You probably made a similar mistake there.  However, a better question
might be why you are trying to change permissions on /etc/fstab in the
first place.

Kris


pgp0.pgp
Description: PGP signature


Fw: permission denied in root!

2003-09-13 Thread Paul Orsi
I may try:
chattr -V  -i NEWKERN
chmod u+x NEWKERN
let me know if you have any ideas.,thanks




- Original Message - 
From: Paul Orsi 
To: [EMAIL PROTECTED] 
Cc: [EMAIL PROTECTED] 
Sent: Saturday, September 13, 2003 3:27 AM
Subject: permission denied in root!


Please help.
Two problems:
1. I'm trying to compile NEWKERN. #config NEWKERN
#CD ../ ../compile/NEWKERN
Permission Denied
2. could not change permissions for etc/fstab also.Can no longer write to file.

All this while in root
I'm using FreeBSD 5.1 powerpack 10 cd set. I had no such problems with FreeBSD 5.0 
unstable.
How do I get administrator privileges back while in root?
Thanks,
Paul
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Xterm-color

2003-09-13 Thread Todd Stephens
Probably a no-brainer, but how can I make my xterm start as xterm-color?  
If I want color ls, I have to type TERM=xterm-color from the command 
line every time I start a new terminal window.  What file do I need to 
edit to make X start with xterm-color?


-- 
Todd Stephens
ICQ# 3150790
"A witty saying proves nothing."
-Voltaire

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


permission denied in root!

2003-09-13 Thread Paul Orsi
Please help.
Two problems:
1. I'm trying to compile NEWKERN. #config NEWKERN
#CD ../ ../compile/NEWKERN
Permission Denied
2. could not change permissions for etc/fstab also.Can no longer write to file.

All this while in root
I'm using FreeBSD 5.1 powerpack 10 cd set. I had no such problems with FreeBSD 5.0 
unstable.
How do I get administrator privileges back while in root?
Thanks,
Paul
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems Compiling Apache with Mod_Perl and Mod_SSL

2003-09-13 Thread Jason L. Schwab
Heya Folks;

System Specs:

FreeBSD 4.8-STABLE
OpenSSL 0.9.7a (OS Installed)
Apache 1.3.27
Mod_Perl 1.28
Mod_SSL 1.3.28 / 2.8.15
Perl 5.8.0 (ports/lang/perl58 installed)
   (use.perl port)

I have tried many, many ways to get mod_ssl and mod_perl to
compile on many servers, all with near same configurations,
with absolutely no luck.

All I can ever to get to compile is either just mod_ssl, just
mod_perl, and with same configurtation options, I can get it
to say and show and compile SSL and modperl, but "httpd -l"
shows no mod_perl ? only mod_ssl, or vice versa!

Altho, when the above happens, apache's configure shows it
adding both SSL and ModPerl uses Config/End Config/Start,
normal stuff, and it even goes thro the directories for the
compile and has no errors.

I have read atleast 100 if not more pages on google, news
groups and else, and have tried all these steps and config
uration options that people have suggested with no such
luck!


So What I am asking of you folks is if any one has any ideas
or if anyone has this same configuration, but has made it work
please reply and let me know! ;).

Thanks a million!


-
Jason L. Schwab
[EMAIL PROTECTED]
http://www.jlschwab.com

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


Newbie needs advice for software raid

2003-09-13 Thread Tom Munro Glass
I'm considering buying a Dell PowerEdge 1600SC with 3 SCSI drives (no hardware 
raid) for use as a file, print, database, email/groupware and intranet 
server. I'm also considering whether to use Linux or FreeBSD - I have some 
experience with both but have never used software raid on either. I feel that 
FreeBSD would be a more stable and secure OS for a server.

From my research so far, it seems that I can use Vinum to set up software RAID 
5, but that the root partition can not be RAID 5 and that there are other 
complexities with using Vinum on the root partition.

I would welcome suggestions for how to set up the disk partitions and Vinum 
for this type of server. Also, should I be looking at FreeBSD 5.1 or would 
4.8 be a safer bet at this stage?

Thanks in advance,

Tom Munro Glass

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


Re: mail server setup

2003-09-13 Thread Matthew Seaman
On Sat, Sep 13, 2003 at 05:12:38PM -0400, Aaron Walters wrote:
> I am setting up freebsd as an incoming mail server running sendmail.  Is there 
> documentation to do this and make sure i do this right??  I am having problems with 
> people relaying through my existing mail server running sco unix and sendmail. 
> Please advise about documentation to do this.

To the Bat book, Robin!

   Sendmail, 3rd Ed.; Bryan Costales and Eric Allman; O'Reilly and
   Associates; 2002; ISBN 1-56592-839-3

If you really want to get sendmail configuration right, this book
tells you everything you need to know.

On the other hand, the sendmail configuration out of the box on
FreeBSD is pretty much relay-proof, and it will serve adequately a
large number of not too complex sites with relatively minor tweaks.
There's a lot of hints and tips on http://www.sendmail.org/, although
they can be confusing to the beginner because some of the recipes
there apply to older versions of sendmail and either need modifying or
have been absorbed into the standard configuration files for more
recent versions.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Extended partitions under FreeBSD: more info, and how to mount?

2003-09-13 Thread Kai Grossjohann
I'm running -current as of a couple of days ago (using the GENERIC
kernel).  I have this disk layout:

~> fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=232632 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=232632 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
start 63, size 10474317 (5114 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 651/ head 254/ sector 63
The data for partition 2 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
start 10474380, size 20964825 (10236 Meg), flag 0
beg: cyl 652/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 31439205, size 62910540 (30718 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 15 (0x0f),(Extended DOS (LBA))
start 94349745, size 140140287 (68427 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 83/ sector 63

First question: how to find out what is inside that extended DOS
partition?

And devd has created these devices for me:

~> ls /dev/ad*
/dev/ad0/dev/ad0s2  /dev/ad0s3a /dev/ad0s3c /dev/ad0s5
/dev/ad0s1  /dev/ad0s3  /dev/ad0s3b /dev/ad0s4

So it seems to me that /dev/ad0s5 ought to be the right place to
look for my FAT32 partition inside the extended DOS partition:

~> mount_msdosfs /dev/ad0s5 /mnt
mount_msdosfs: /dev/ad0s5: Invalid argument

Second question: how to mount that partition?
-- 
Two cafe au lait please, but without milk.

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


usb mouse probs

2003-09-13 Thread Ryan Haggerty
I looked at the hand book
played with rc.conf and all the stuff  i need in the kerel is there
there is a /dev/ums0 too

dmesg says it found my
micrsoft wirless optical usb mouse

but i can not seem to get it to work

from dmesg
ums0: Microsoft Microsoft Wireless Optical Mouse\M-. 1.0A, rev
2.00/0.15, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.


from my kern compile i had this
# USB support
device  uhci# UHCI PCI->USB interface
device  ohci# OHCI PCI->USB interface
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# "Human Interface Devices"
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus
and da
device  ums # Mouse
device  urio# Diamond Rio 500 MP3 player
device  uscanner# Scanners


THANKS for any help


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


Re: cyrus-imapd and spamassassin

2003-09-13 Thread Toni Schmidbauer
On Sat, Sep 13, 2003 at 07:42:09PM +0200, Dick Hoogendijk wrote:
> Can anybody tell my how to use spamc w/ cyrus-imapd?

as always google knows the answer... a quick search on "cyrus
spamc" directed me to the following site:

http://subwiki.honeypot.net/cgi-bin/view/Freebsd/SendMailAndCyrus

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: Compile error

2003-09-13 Thread Lowell Gilbert
Claudiu Bichir <[EMAIL PROTECTED]> writes:

> Hy guys ! I'm triyng to compile this simple prog. in FreeBSD 5.0:
> #include 
> #include 
>  
> int main()
> {
> char h[80];
> struct hostent *x;
>  
> printf("Host:");scanf("%s",h);
> x=gethostbyname(h);
> printf("%s\n", x->h_addr_list[0][0]);
> return 0;
> }
>  
>  but it gives me the fallowing error 
> /var/tmp//ccDxQUWw.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
> Does anybody know why ?

You're compiling it wrong.  A simple "cc program.c" builds for me.

Note, however, that h_addr_list isn't a set of strings; it's a set of
actual addresses, in network byte order.  You'll need to iterate
through those bytes, printing each one separately (the h_length field
tells you how long they are).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mail server setup

2003-09-13 Thread Aaron Walters
I am setting up freebsd as an incoming mail server running sendmail.  Is there 
documentation to do this and make sure i do this right??  I am having problems with 
people relaying through my existing mail server running sco unix and sendmail. Please 
advise about documentation to do this.

Thank you
 Aaron
[EMAIL PROTECTED]

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


Re: TCP/IP: Operation Timed Out

2003-09-13 Thread yo _
Thank you for your help but after looking in to the problem, i realized it 
is not the ident protocol.

This could be a problem due to timeouts with the ident protocol, also
known as auth, which uses port 113.  Most mailservers will try and do
an ident check on you when you connect to them.  If your firewall just
drops the incoming connection, then the server at the other end will
just have to wait out the timeout period.  While ident is meant to be
a security measure, it's practically worthless as it's too easy to lie
to, and if you don't lie, then it's a leak of what should be private
information.
I tried connecting the "un-connectable" servers via Windows and FreeBSD 
using telnet at home and it works, and i am not running any sort of ident 
server. Connecting to the servers where the mail server lives gives me the 
"operation timed out" message under my MTA (not sendmail for note) as well 
as Telnet, even after flushing all firewall rules. So i suspect my problem 
lies elsewhere. Thank you for your concern though.
-Rian Hunter

> I manage a general mail server for my organization and recently i have 
been
> receiving complaints that not all their messages are being sent. A quick
> check to the maillog and i noticed that many of the mail servers of the
> receivers are getting "Operation timed out" responses. I manually 
checked
> connecting to these servers using telnet to see if it was just my mta, 
but
> to my surprise telnet was unable to connect as well!
>
> At home i tried connecting to these servers via telnet on port 25 as 
well,
> and it worked with ease. Then immediatly I ssh'ed to our remote mail 
server
> and telnet'ed to these "operation timed out" mail servers on port 25 and
> still same thing. Now this shocked me, how could i be easily connecting 
to
> the mail servers from home, and from the location of our mail server, 
not
> be able to. It connects to other mail servers there are just a few that 
do
> not work including:
>
> smtp1.dadeschools.net
> mail1.dadeschools.net
> oitmail.dade.k12.fl.us
> sbabmail.dade.k12.fl.us
> 7841exch2.tecmiami.com
>
> It's not a DNS problem as the dns resolves the same ip address from home
> and where the server resides. I'm not sure if it is solely our mail 
server
> or it is all the computers on our LAN that are unable to connect, i 
willl
> have to examine this when i get there sometime this week. The mail 
server
> is connected directly to the internet and is assigned a public ip 
address
> (it is not behind a router filewall or is not forwarded packets through
> NAT). The host address of our mail server is mail.e-equality.org.
>
> Does anyone know the nature of this problem or how to solve it? Could it 
be
> faulty design of the network route from our mail server to theirs? Or 
maybe
> our TTL settings on the packets are too small.
_
Need more e-mail storage? Get 10MB with Hotmail Extra Storage.   
http://join.msn.com/?PAGE=features/es

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


Re: smbmount problem

2003-09-13 Thread Dancho Penev
> On Sat, 2003-09-13 at 15:04, Dancho Penev wrote:
>> On Sat, Sep 13, 2003 at 11:22:57AM +0200, sebastian ssmoller wrote:
>> >From: sebastian ssmoller <[EMAIL PROTECTED]>
>> >To: [EMAIL PROTECTED]
>> >Date: 13 Sep 2003 11:22:57 +0200
>> >Subject: smbmount problem
>> >
>> >hi,
>> >i am running fbsd 5.1. when i try to mount a samba share on a debian
>> >system i get :
>> >smbfs: server name "x.y" too long
>> >the server name is 16 chars long and i found out (looking at the
>> >sources) that there is a limit of 15.
>> >
>> >my question: why is there such a limit? (i used this share from several
>>
>> In Windows world computer's NetBIOS names are limited to 15 bytes,
>> so I suppose that the author of mount_smbfs is conform with that.
>>
>> >linux distros without any problem). does this mean i have to change the
>> >hostname of the debian system (which could not be really a solution...)
>>
>> No, just use "netbios name" option in smb.conf, and attend name to be
>> no more than 15 chars long.
>
> i tried that but i found out that the netbios name in the smb.conf
> (client and server) is already shorter than 15 chars.
> the problem seems to be that the full qualified name hostname.domain (as
> used in the mount command line and as returned by the nameserver) is
> longer than 15 chars.  but this should be ok, shouldn't it ?

Yes, this isn't problem. What command you use to mount the share?

>
> any ideas ?
>
> thx
> seb
>>
>> >or is there any other workaround ?
>> >
>> >thx for ur help
>> >seb
>> >
>> >___
>> >[EMAIL PROTECTED] mailing list
>> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> >To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

---
Dancho Penev

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


Re: Best FTPD...

2003-09-13 Thread Timur
On Tue, Sep 09, 2003 at 09:18:03PM +0200, Incredible Networks wrote:
> Hi,
> 
> I need an FTP Server for FreeBSD 4.8 that complies with the following:
> 
> 1. Anonymous (Read Only) and Authenticated (Read/Write) Access
> 2. Listens on multiple Interfaces (one for anynomous)
> 3. Anonymous Access redirect to specific location (partition)
> 4. Cannot Browse root (cd /) and expose directory structure (folders)
> 5. Can support Active Transfers (not passive)
> 6. Fast and Robust
> 

you can try PureFTPd (httP;//www.pureftpd.org/).. I like it more thn
ProFtpd..  and if you want _very_ simple, secure and fast server (like
for anonymous access), you can use vsftpd.

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


Re: /dev/null permission issues

2003-09-13 Thread Scott Kupferschmidt
Hello,

We are not running X, this is a server it is happening on.  The only thing
running is apache, mysql, sendmail, inetd (proftpd), and that's about
it.  I find it odd that this is only happening on boxes we installed with
4.8-rel and not any other revision.  I manage over 300 machines daily and
have seen this recently.

Sincerely,

Scott Kupferschmidt
ISPrime, Inc.
866.502.4678 ext. 3
AIM: Scott ISPrime - ICQ: 174337249

On Sat, 13 Sep 2003, Stephen Hilton wrote:

> On Sat, 13 Sep 2003 14:47:23 -0400 (EDT)
> Scott Kupferschmidt <[EMAIL PROTECTED]> wrote:
> 
> > Hello,
> > 
> > I know I've sent in once before regarding, but no one has seemed to know
> > how to fix this issue.  It seems when I install boxes with 4.8-rel cd the
> > /dev/null changes permission every minute to non-writable by any user,
> > breaking a lot of scripts piping output to /dev/null.  Anytime I try chmod
> > 666 it, within the next clock minute, it's back to 644.
> > 
> > I've tried rebuilding the device completely, cvsup'ing to a newer version
> > (4.9-pre), nothing seems to fix it and it only seemed to happen on
> > machines that I originally installed with 4.8-rel.  If anyone has some
> > insight on this issue, it would be greatly appreciated as I am pulling
> > hair trying to figure out this problem.
> 
> Scott,
> 
> >From a previous thread:
> 
> ---snip-
> On Tue, 2 Sep 2003, Ed Alley wrote:
> >
> >> I'm running FreeBSD-4.8. Sometimes the file permissions for /dev/null
> >> gets mysteriously changed by some unknown process to:
> >>
> >>crw--- 1 root wheel 2, 2 Sep 2 11:20 /dev/null
> 
> On Tue, 2 Sep 2003, David Landgren wrote:
> 
> >> ..., the moral of the story is, what have you installed recently?
> 
> On Tue, 2 Sep 2003, Matthew Seaman wrote:
> 
> >> ... It would have to be a root-owned process ...
> 
> On Tue, 2 Sep 2003, Scott Kupferschmidt wrote:
> 
> >> I had the same problem and still unable to figure it out..
> 
> I thankyou all for the above comments. They were helpful to
> me in finding the problem: When I thought about it for a
> time I realized that it happens on days that I was doing
> administrative work as ROOT!
> 
>   It was NETSCAPE! running under root. It turns out that
> I periodically tweak our router via Netscape. If I happen to
> be logged in as root on my FreeBSD terminal when I log into
> the router with Netscape, then after I'm finished with my
> work and close Netscape, I find that the permissions on
> /dev/null have been reset to: crw---.
>   I'm running Netscape-4.76. I also have a late
> version of Mozilla installed which doesn't seem to
> mangle the file permissions on /dev/null the way Netscape
> does. I also don't need to be logged in as root when I
> run Netscape to tweak the router, it just happens that
> when I'm doing other administrative stuff I think to
> look at the router also. (:->)
> 
>   Ed Alley
>   [EMAIL PROTECTED]
> ---snip-
> 
> You did not mention running Netscape 4.67 as root, but I thought 
> I would throw this out here, in case it is relevent.
> 
> 
> Regards,
> 
> 
> Stephen Hilton
> [EMAIL PROTECTED]
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Re: Compile error

2003-09-13 Thread Kris Kennaway
On Sat, Sep 13, 2003 at 10:52:29AM -0700, Claudiu Bichir wrote:
> Hy guys ! I'm triyng to compile this simple prog. in FreeBSD 5.0:
> #include 
> #include 
>  
> int main()
> {
> char h[80];
> struct hostent *x;
>  
> printf("Host:");scanf("%s",h);
> x=gethostbyname(h);
> printf("%s\n", x->h_addr_list[0][0]);
> return 0;
> }
>  
>  but it gives me the fallowing error 
> /var/tmp//ccDxQUWw.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
> Does anybody know why ?

What command are you using to compile this?  That error typically
means you're trying to link C++ code using the C compiler, which will
not work (you need to link it with the C++ compiler), but your example
doesn't support this.

Kris


pgp0.pgp
Description: PGP signature


Re: mldonkey which name?

2003-09-13 Thread Kris Kennaway
On Sat, Sep 13, 2003 at 05:49:56PM +0200, Dick Hoogendijk wrote:
> Hey,
> 
> I installed mldonkey, but now I'm a bit confused what program to run.
> It seems lots of them were installed by portinstall (mlchat, mlgui,
> mlguistart, mlin, etc..)
> 
> What do I run when I want a P2P session under X?

Try reading the documentation that came with it ;-)

Kris


pgp0.pgp
Description: PGP signature


Re: another newbie struggling with ppp/modem issues

2003-09-13 Thread parv
in message <[EMAIL PROTECTED]>,
wrote Alex thusly...
>
> My modem is sitting on cuaa2 and I needed to re-compile my kernel
> to  recognize that port. I did this and everything went fine, ...
> am getting the dreaded "sio5: configured irq 2 not in bitmap of
> probed irqs 0" error which I haven't found a solution for in any
> documentation or discussion.
> 
> Just for laughs, I went ahead and tried to contact the modem via
> ppp, but when I enter the "term" command I get:
> 
> "Warning: deflink: /dev/cuaa2: Bad file descriptor
> Failed to open /dev/cuaa2"
...
> # Serial (COM) ports
> device   sio0at isa? port IO_COM1 flags 0x10 irq 4
> device   sio1at isa? port IO_COM2 irq 3
> device   sio2at isa? port IO_COM3 irq 5
> device   sio3at isa? disable port IO_COM4 irq 9

Some questions...

 - Does the /dev/cuaa2 device exits?  (If not, "cd /dev; sh MAKEDEV
   all".)

 - Are the IRQs assigned correct? (Verify via dmesg, something like:
   "dmesg | grep -2i irq".)


Also, search the lists archive for how to contact the modem via tip
or kermit (i forgot), w/o involving ppp.  If you can contact the
modem, and successfully talk to the modem, via terminal, only then
continue w/ solving the ppp problem.  (Somebody else should fill in
the process as i have forgotten it.)


  - Parv (no that's not a question, but sign off)

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


Re: nis security (DES passwords)

2003-09-13 Thread Tillman Hodgson
On Sat, Sep 13, 2003 at 05:01:31PM +0200, Guy Van Sanden wrote:
> I was looking arround for this, and I found that Kerberos uses DES
> encryption, John (on my sytem) reports it rather weak:

> I'm now using MD5 passwords in NIS.
> 
> Yet it seems the consensus that Kerberos is secure, am I missing
> something?

Yes :-)

1. Kerberos can use a variety of encryption methods
2. With NIS, arbitrary users can run John against the password database.
   With Kerberos, they can't because they don't have the Kerberos
   database to run John against.

-T


-- 
Beauty is not diminished by being shared.
- Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: yet another newbie ppp/modem question

2003-09-13 Thread Jud
On Sat, 13 Sep 2003 12:14:45 -0400, fbsd_user <[EMAIL PROTECTED]> 
wrote:

If your modem is external, maybe you have com1 & com2 disabled in
the PC bio's.  If PCI modem them and you are not using com1,2 ports
then you should disable there bio's so modem can use them.  One
other thing FBSD does not work with winmodems, those cheap modems
manufactured just for MS/Windows market.  You can use 'TIP' console
command to talk directly to modem.  If PCI modem check
/var/run/dmesg.log to see if FBSD found your modem.
Post more info on what you have done to debug, describe your modem
type.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alex
Sent: Friday, September 12, 2003 4:11 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: yet another newbie ppp/modem question
I'm having some trouble getting my modem up and running on
FreeBSD 4.8. A search through the mailing list archives shows
that many of the problems I've been wrestling with seem to have
cropped up before, yet I  haven't been able to follow any of the
discussion to a workable answer.
My modem is sitting on cuaa2 and I needed to re-compile my kernel
to recognize that port. I did this and everything went fine,
although I am getting the dreaded "sio5: configured irq 2 not in
bitmap of probed irqs 0" error which I haven't found a solution
for in any documentation or discussion.
[snip]

Have a look at this tutorial: http://www.onlamp.com/pub/a/bsd/2000/06/14/FreeBSD_Basics.html>  Since the 
article was written, an additional requirement has been added in order to 
connect to the Internet using dialup: the dialup user must be added to the 
"dialer" group.

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


Re: /dev/null permission issues

2003-09-13 Thread Stephen Hilton
On Sat, 13 Sep 2003 14:47:23 -0400 (EDT)
Scott Kupferschmidt <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I know I've sent in once before regarding, but no one has seemed to know
> how to fix this issue.  It seems when I install boxes with 4.8-rel cd the
> /dev/null changes permission every minute to non-writable by any user,
> breaking a lot of scripts piping output to /dev/null.  Anytime I try chmod
> 666 it, within the next clock minute, it's back to 644.
> 
> I've tried rebuilding the device completely, cvsup'ing to a newer version
> (4.9-pre), nothing seems to fix it and it only seemed to happen on
> machines that I originally installed with 4.8-rel.  If anyone has some
> insight on this issue, it would be greatly appreciated as I am pulling
> hair trying to figure out this problem.

Scott,

>From a previous thread:

---snip-
On Tue, 2 Sep 2003, Ed Alley wrote:
>
>> I'm running FreeBSD-4.8. Sometimes the file permissions for /dev/null
>> gets mysteriously changed by some unknown process to:
>>
>>crw--- 1 root wheel 2, 2 Sep 2 11:20 /dev/null

On Tue, 2 Sep 2003, David Landgren wrote:

>> ..., the moral of the story is, what have you installed recently?

On Tue, 2 Sep 2003, Matthew Seaman wrote:

>> ... It would have to be a root-owned process ...

On Tue, 2 Sep 2003, Scott Kupferschmidt wrote:

>> I had the same problem and still unable to figure it out..

I thankyou all for the above comments. They were helpful to
me in finding the problem: When I thought about it for a
time I realized that it happens on days that I was doing
administrative work as ROOT!

It was NETSCAPE! running under root. It turns out that
I periodically tweak our router via Netscape. If I happen to
be logged in as root on my FreeBSD terminal when I log into
the router with Netscape, then after I'm finished with my
work and close Netscape, I find that the permissions on
/dev/null have been reset to: crw---.
I'm running Netscape-4.76. I also have a late
version of Mozilla installed which doesn't seem to
mangle the file permissions on /dev/null the way Netscape
does. I also don't need to be logged in as root when I
run Netscape to tweak the router, it just happens that
when I'm doing other administrative stuff I think to
look at the router also. (:->)

Ed Alley
[EMAIL PROTECTED]
---snip-

You did not mention running Netscape 4.67 as root, but I thought 
I would throw this out here, in case it is relevent.


Regards,


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


Re: I need help getting a desktop working.

2003-09-13 Thread Jud
On Sat, 13 Sep 2003 12:31:19 -0400, Bob Hall <[EMAIL PROTECTED]> wrote:

On Fri, Sep 12, 2003 at 02:49:51PM -0700, [EMAIL PROTECTED] wrote:
Dear Freebsd,

   I have installed freebsd 4.4 (the ones that came with the manual.) I
Which manual is that? There's a paper version of the handbook, but that
doesn't come with a CD. I know that "FreeBSD Unleashed" comes with a
copy of 4.4, but that is not "the manual".
got it all installed correctly but when i log in freebsd it leaves me
at a dos like screen with a $. I want to know how to get a desktop
working (the quickest way.) Thank you for your time.
If you haven't installed X-windows, install it. If you don't know how
to install it, su to root (type "su" at the $ prompt, and enter the root
password), and type "/stand/sysinstall". Follow the instructions. By
default, X-windows is installed with the twm window manager. At the "$"
prompt, type "startx".  That's the quickest route to a working desktop.
- though with twm, that'll be a *barely* working desktop.  :)  You may 
want to install a window manager that's a bit more intuitive - Windowmaker 
might be a good one to start off with.  A good tutorial on installing a 
window manager can be found here: http://www.onlamp.com/pub/a/bsd/2000/06/21/FreeBSD_Basics.html>

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


Re: sendto: buffer space not available

2003-09-13 Thread chael

Yes, exact kernel configurations too. To be specific, I just copy/pasted the
extra options plus the pseudo-device gre. And, yes. The same, on a 256MB
machine.

I have also tried the advice of Colin to set the sysctl :

net.inet.raw.recvspace=131072
net.inet.raw.maxdgram=8192
net.inet.tcp.sendspace=131072
net.inet.tcp.recvspace=131072
net.inet.udp.maxdgram=8192
net.inet.udp.recvspace=131072

kern.ipc.nmbclusters=16384 at /boot/loader.conf
(nmbufs automatically sets itself to x4 of nmbclusters)

But that didn't work either.

netstat -m peaks just over 9000 for mbuf clusters.

I should try bring it back to 4.8-RELEASE now.

Thanks.


> <[EMAIL PROTECTED]> writes:
>
> > This is serious. I have just cvsuped stable-supfile again and did all
> > necessary steps re kernel/world. It is still having this problem.
Anybody
> > stumbled accross the same? Should I just reinstall back to 4.8-RELEASE?
> > Because I got another identical hardware/machine working without this
error
> > on 4.8-RELEASE.
>
> Same kernel configuration?
>
> > options MAXDSIZ="(256*1024*1024)"
> > options MAXSSIZ="(256*1024*1024)"
> > options DFLDSIZ="(256*1024*1024)"
> > options NMBCLUSTERS=131072
>
> On a 256MB machine?
>
>

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


/dev/null permission issues

2003-09-13 Thread Scott Kupferschmidt
Hello,

I know I've sent in once before regarding, but no one has seemed to know
how to fix this issue.  It seems when I install boxes with 4.8-rel cd the
/dev/null changes permission every minute to non-writable by any user,
breaking a lot of scripts piping output to /dev/null.  Anytime I try chmod
666 it, within the next clock minute, it's back to 644.

I've tried rebuilding the device completely, cvsup'ing to a newer version
(4.9-pre), nothing seems to fix it and it only seemed to happen on
machines that I originally installed with 4.8-rel.  If anyone has some
insight on this issue, it would be greatly appreciated as I am pulling
hair trying to figure out this problem.

Sincerely,

Scott Kupferschmidt
ISPrime, Inc.
866.502.4678 ext. 3
AIM: Scott ISPrime - ICQ: 174337249

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


Re: Not quite mail relay

2003-09-13 Thread Gary
Hello Derrick,

Saturday, September 13, 2003, 12:02:01 PM, you wrote:

D> I am looking for a way to further secure a mail server.

A mail server is either secure or not, not half way... it's like being
half pregnant.  If you installed qmail properly and from lifewithqmail.org
it is secure by default.

D> It isn't an open rely, but when others try to use it as such with bad
D> return addresses, a small flood of rejection mail end up on the bad
D> addressed server.

Is it at your server?  If not so ..

Spammers forge return addresses all the time. This has nothing to do with
qmail.  If they are using a forged return address, they are not using your
server.

D> Ex.
 
D> To: [EMAIL PROTECTED]
D> From: [EMAIL PROTECTED]
 
D> hotmail ends up with a ton of bounce msgs

Bounces are a normal part of email life.

D>  and thinks the server is a relay.

No they don't. Email admims look at the last sender IP address in the
headers, which is the only valid address, all others are usually forged.

D> How would I go about just dropping those msgs completely?

Are you saying you are getting bounced messages from your domain, or are
you getting messages from hotmail, just what are you saying.. Are they
coming from one source, one From sender, what?
 
D> Qmail is the mail server, but I was hoping someone would have an idea.

Yes, but you have to provide more info rather than speculate on what you
are having  a problem with.  Are you an open relay? Check your logs? If
so, something is not configured properly.  If you are just getting bounces
from your own domain, and someone is forging your domain as the sender or
return address in their spam, that is called a Joe-Job.

-- 
Best regards,
 Gary 

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


Compile error

2003-09-13 Thread Claudiu Bichir
Hy guys ! I'm triyng to compile this simple prog. in FreeBSD 5.0:
#include 
#include 
 
int main()
{
char h[80];
struct hostent *x;
 
printf("Host:");scanf("%s",h);
x=gethostbyname(h);
printf("%s\n", x->h_addr_list[0][0]);
return 0;
}
 
 but it gives me the fallowing error 
/var/tmp//ccDxQUWw.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
Does anybody know why ?


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cyrus-imapd and spamassassin

2003-09-13 Thread Dick Hoogendijk
I installed cyrus-imapd2 and read in the dox that the delivery agent
will be (cyr)deliver in stead of procmail. I use sendmail as my MTA and
procmail.

In my ~/.procmailrc file I call spamc and I hate to loose the
spamassassin services if I'm gonna use cyrus-imapd

Can anybody tell my how to use spamc w/ cyrus-imapd?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: TCP/IP: Operation Timed Out

2003-09-13 Thread Matthew Seaman
On Sat, Sep 13, 2003 at 12:32:55PM -0400, yo _ wrote:

> I manage a general mail server for my organization and recently i have been 
> receiving complaints that not all their messages are being sent. A quick 
> check to the maillog and i noticed that many of the mail servers of the 
> receivers are getting "Operation timed out" responses. I manually checked 
> connecting to these servers using telnet to see if it was just my mta, but 
> to my surprise telnet was unable to connect as well!
> 
> At home i tried connecting to these servers via telnet on port 25 as well, 
> and it worked with ease. Then immediatly I ssh'ed to our remote mail server 
> and telnet'ed to these "operation timed out" mail servers on port 25 and 
> still same thing. Now this shocked me, how could i be easily connecting to 
> the mail servers from home, and from the location of our mail server, not 
> be able to. It connects to other mail servers there are just a few that do 
> not work including:
> 
> smtp1.dadeschools.net
> mail1.dadeschools.net
> oitmail.dade.k12.fl.us
> sbabmail.dade.k12.fl.us
> 7841exch2.tecmiami.com
> 
> It's not a DNS problem as the dns resolves the same ip address from home 
> and where the server resides. I'm not sure if it is solely our mail server 
> or it is all the computers on our LAN that are unable to connect, i willl 
> have to examine this when i get there sometime this week. The mail server 
> is connected directly to the internet and is assigned a public ip address 
> (it is not behind a router filewall or is not forwarded packets through 
> NAT). The host address of our mail server is mail.e-equality.org.
> 
> Does anyone know the nature of this problem or how to solve it? Could it be 
> faulty design of the network route from our mail server to theirs? Or maybe 
> our TTL settings on the packets are too small.

This could be a problem due to timeouts with the ident protocol, also
known as auth, which uses port 113.  Most mailservers will try and do
an ident check on you when you connect to them.  If your firewall just
drops the incoming connection, then the server at the other end will
just have to wait out the timeout period.  While ident is meant to be
a security measure, it's practically worthless as it's too easy to lie
to, and if you don't lie, then it's a leak of what should be private
information.

To prevent your sendmail server making ident requests, include:

define(`confTO_IDENT', `0')dnl

in your /etc/mail/`hostname`.mc file.

If you aren't going to run an ident server, then you should reject
ident protocol packets at your firewall.  With ipfw(8), that's
something like:

add 1234 reset tcp from any to ${oip} 113 setup in recv ${oif}

Nb. 'reset' which will return an ICMP port unreachable message, rather
than just dropping the packet.

If you do decide to run an ident server, then you should add
'inetd_enable="YES"' to /etc/rc.conf and edit /etc/inetd.conf to
enable one of the auth variants -- there's not much reason to run
anything other than the ident server built into inetd.  If you're
behind a NAT gateway, then you can run the ident server on the NAT
gateway, but you'll have to run one of the variants that refuses to
return any information.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: xv flag to not create ~/dir/dir/.xvpics/

2003-09-13 Thread Lowell Gilbert
Peter Leftwich <[EMAIL PROTECTED]> writes:

> If I `cd ~/dir/dir` then run `xv -vsmap` xv creates cached thumbnails.
> 
> Does anyone know of a flag for "xv" to -NOT- create a directory called
> ".xvpics"?  I do not want xv to create this directory.  Thanks.

The option -vsmap is *asking* for the thumbnails. 
If you don't want them, then don't use that option.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Not quite mail relay

2003-09-13 Thread Derrick Ryalls
I am looking for a way to further secure a mail server.  It isn't an open
rely, but when others try to use it as such with bad return addresses, a
small flood of rejection mail end up on the bad addressed server.
 
Ex.
 
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
 
hotmail ends up with a ton of bounce msgs and thinks the server is a relay.
How would I go about just dropping those msgs completely?
 
Qmail is the mail server, but I was hoping someone would have an idea.
 
-Derrick
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Newbie need help on configuring mouse and X windows

2003-09-13 Thread Lowell Gilbert
"Lei Luo" <[EMAIL PROTECTED]> writes:

> I am new to FreeBSD and just trying to learning something. I installed
> FreeBSD without X system on my computer and it works fine. But when I
> tried to configure mouse and X windows, I had big problem.
> 
> As instructed in the handbook, I configured the type and port of the
> mouse (PS2, so I used the default). But after I enabled it, I would be
> in one of two situations.
> 
> In the first situation, the background of the screen turns to blue and
> I cannot see if the mouse cursor moving. I could not see the dialog
> any more. Sometimes, if I just pressed enter, I could go back the
> previous screen, but having a blue background now. More commonly, the
> system was just stuck there and the keyboard was locked. At this time,
> I had to turn off the power to shutdown the computer.
> 
> In the second situation, the background was OK. But the mouse cursor
> was twinkling on the screen. In addition, the mouse cursor had a
> strange shape, not rectangular, but just like some unprintable
> character displayed on a DOS screen. Does anyone know what is wrong
> here and how to fix the problem?

What were you using for this configuration? xf86cfg?

> If I skipped this step and tried to configure X windows directly, of
> course, the system warned me that I hadn't configured the mouse and
> asked me to go back to configure it.
> 
> My computer is a Gateway 2000 desktop with 200 Intel Pentium II
> processor. Very old so I used to run Linux on it.

Maybe the same X configuration will work.

> P.S., I didn't see the kernel configuration menu. Is it removed from
> FreeBSD 5.x?

Yes, a number of things have changed in FreeBSD 5.x, and it's taking a
while for the documentation to catch up.  By the time 5.x is
considered ready for production use, we should be caught up.

> FreeBSD 5.x? Also, when I tried to reboot or shutdown the computer
> with "reboot" or "shutdown" commands, my computer was stuck instead of
> reboot or shutdown. At that time, the power button on the computer
> could not work. I had to turn off the power switch on the wall. Does
> anyone have this problem, too?

Yes, ACPI support is one of the main sources of problems on 5.x.  
See the release errata for some suggestions on what to do about it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Misc PPP questions

2003-09-13 Thread fbsd_user
Kernel ppp is the old way which is no longer maintained. User ppp is
the rewritten replacement for kernel ppp and is the one used by
everyone these days.  Kernel ppp is a dead horse, forget all about
it.

To end user ppp session use console command  killall ppp

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tadimeti
Keshav
Sent: Wednesday, September 10, 2003 10:49 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Misc PPP questions

Hi guys,
I have a few questions.
What are the specific advantages of using a kernel PPP
over user PPP?

I use the command ppp -ddial papchap. This, I am told,
establishes a "stable" connection (i.e reconections
are handled automatically). How do I hang up? Just
switch the modem off? (of course I commented the line
"set timeout 3000" in /etc/ppp/ppp.conf.)

Thanks
keshav






Want to chat instantly with your online friends?  Get the FREE
Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


cvsup connection problems [was Re: how to update source tree without cvs?]

2003-09-13 Thread Lowell Gilbert
yew chin <[EMAIL PROTECTED]> writes:

> thanks for answering, i will try to learn how to use
> ctm. But 1 thing really weird is that, when i use
> cvsup, i can establish connection to the cvsup server.
> But it doesn't download the src and ports.
> here is the output of my cvsup
> 
> Connecting to cvsup10.freebsd.org
> Connected to cvsup10.freebsd.org
> Server software version: SNAP_16_1e
> Negotiating file attribute support
> Exchanging collection information
> Establishing multiplexed-mode data connection
> Running
> 
> as i can tell i have successfully make a connection to
> the cvsup server, but the screen just froze after the
> "running" line, it doesn't show anything after that. i
> just wonder what have prevent my computer downloading
> the src and ports.
> any ideas?

Well, it's not a firewall problem; the connection is getting through
the firewall just fine.  Check to see if cvsup is exchanging any data;
maybe the transfer is just slow.  Also, you could try increasing the
verbosity of cvsup to see if *it* knows anything that's going wrong.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Setiathome question

2003-09-13 Thread Lowell Gilbert
"Charles Howse" <[EMAIL PROTECTED]> writes:

> Hi,
> I recently changed my /usr/local/etc/rc.setiathome.conf file.
> I changed seti_std_args from:
> -email -graphics
> To:
> -email
> 
> That's the only line that's uncommented.
> 
> Then I reboot (I know I didn't have to)
> Now I can't see setiathome in the output of top.
> 
> Is the problem that seti must download a new work unit before it starts?
> If that's so, shouldn't I still see something in ps -aux | grep seti ?

Yes.  setiathome isn't running.

Try changing it back, then stop and restart setiathome.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendto: buffer space not available

2003-09-13 Thread Lowell Gilbert
<[EMAIL PROTECTED]> writes:

> This is serious. I have just cvsuped stable-supfile again and did all
> necessary steps re kernel/world. It is still having this problem. Anybody
> stumbled accross the same? Should I just reinstall back to 4.8-RELEASE?
> Because I got another identical hardware/machine working without this error
> on 4.8-RELEASE.

Same kernel configuration?

> options MAXDSIZ="(256*1024*1024)"
> options MAXSSIZ="(256*1024*1024)"
> options DFLDSIZ="(256*1024*1024)"
> options NMBCLUSTERS=131072

On a 256MB machine?  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


TCP/IP: Operation Timed Out

2003-09-13 Thread yo _
Hello All!

I manage a general mail server for my organization and recently i have been 
receiving complaints that not all their messages are being sent. A quick 
check to the maillog and i noticed that many of the mail servers of the 
receivers are getting "Operation timed out" responses. I manually checked 
connecting to these servers using telnet to see if it was just my mta, but 
to my surprise telnet was unable to connect as well!

At home i tried connecting to these servers via telnet on port 25 as well, 
and it worked with ease. Then immediatly I ssh'ed to our remote mail server 
and telnet'ed to these "operation timed out" mail servers on port 25 and 
still same thing. Now this shocked me, how could i be easily connecting to 
the mail servers from home, and from the location of our mail server, not be 
able to. It connects to other mail servers there are just a few that do not 
work including:

smtp1.dadeschools.net
mail1.dadeschools.net
oitmail.dade.k12.fl.us
sbabmail.dade.k12.fl.us
7841exch2.tecmiami.com
It's not a DNS problem as the dns resolves the same ip address from home and 
where the server resides. I'm not sure if it is solely our mail server or it 
is all the computers on our LAN that are unable to connect, i willl have to 
examine this when i get there sometime this week. The mail server is 
connected directly to the internet and is assigned a public ip address (it 
is not behind a router filewall or is not forwarded packets through NAT). 
The host address of our mail server is mail.e-equality.org.

Does anyone know the nature of this problem or how to solve it? Could it be 
faulty design of the network route from our mail server to theirs? Or maybe 
our TTL settings on the packets are too small.
-Rian Hunter

_
Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage.  
http://join.msn.com/?PAGE=features/es

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


Re: I need help getting a desktop working.

2003-09-13 Thread Bob Hall
On Fri, Sep 12, 2003 at 02:49:51PM -0700, [EMAIL PROTECTED] wrote:
> Dear Freebsd,
> 
> 
>I have installed freebsd 4.4 (the ones that came with the manual.) I

Which manual is that? There's a paper version of the handbook, but that 
doesn't come with a CD. I know that "FreeBSD Unleashed" comes with a 
copy of 4.4, but that is not "the manual".

> got it all installed correctly but when i log in freebsd it leaves me
> at a dos like screen with a $. I want to know how to get a desktop
> working (the quickest way.) Thank you for your time.

If you haven't installed X-windows, install it. If you don't know how 
to install it, su to root (type "su" at the $ prompt, and enter the root 
password), and type "/stand/sysinstall". Follow the instructions. By 
default, X-windows is installed with the twm window manager. At the "$" 
prompt, type "startx".  That's the quickest route to a working desktop.

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


Re: triple NIC route challenge

2003-09-13 Thread -kevin-
Vickly,

On 03-09-13 01:12, vickly <[EMAIL PROTECTED]> wrote:
> do u using outbond n' inbound with difrent isp ?

I could.

ISP1 is Vendor X.
ISP2 is Vendor Y.

I would like all inbound to be on ISP2.
But I would like to split outbound between ISP1 and ISP2.


> - Original Message -
> From: "-kevin-" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, September 06, 2003 12:10 AM
> Subject: triple NIC route challenge
> 
> 
> > (Please respond directly, as I am not on this list.)
> >
> > I have 3 NICs in a single machine.  Shaped something like
> > this:
> >
> > |---|
> > ISP1 ---|DHCP   |
> > |   |-- Internal Network
> > ISP2 ---|PPPoE  |
> > |---|
> >
> > ISP2 is the new thing.  Currently, all my traffic goes out
> > to ISP1 thanks to the same old ipnat rule.
> >
> > If I set up a route for a range of addresses, they will take
> > ISP2 out and be very happy.
> >
> > The problem is inbound.  When I ping via ISP1 it works
> > beautifully.   But when I ping via ISP2, I don't get a
> > response.  I believe the echorep packet is lost because it
> > is being routed according to the existing rules which don't
> > give the machine a clue about ISP2.  If I add a route to the
> > pinging host which uses ISP2, then the pinging starts
> > working there, but you guessed it, the ping via ISP1 stops
> > working.
> >
> > - How can I have the outbound route setup based upon the
> >   inbound request?
> > - Furthermore, how can I have that new route only affect
> >   that connection?
> >
> >
> >
> > Bonus Question:
> > - How do I configure ipnat such that outbound traffic
> >   from my Internal Network is split between the two
> >   external interfaces?
> >
> > Yes, I know I can route it based on the origin machine on
> > the Internal Network, and I know that I can set up the rules
> > such that all traffic goes to a single external interface
> > and when that interface is down, it will fail over to the
> > secondary.  What I want is outbound load balancing with
> > failover capability.
> >
> >
> > My "ifconfig -a":
> > rl0: flags=8843 mtu 1500
> > inet 12.235.49.181 netmask 0xff80 broadcast
> 255.255.255.255
> > ether 00:01:0a:10:8c:74
> > media: Ethernet autoselect (100baseTX )
> > status: active
> > dc0: flags=8843 mtu 1500
> > inet 192.168.177.1 netmask 0xff00 broadcast
> 192.168.177.255
> > ether 00:80:c6:f9:2a:d0
> > media: Ethernet autoselect (100baseTX )
> > status: active
> > rl1: flags=8843 mtu 1500
> > ether 00:40:05:83:11:75
> > media: Ethernet autoselect (100baseTX )
> > status: active
> > lo0: flags=8049 mtu 16384
> > inet 127.0.0.1 netmask 0xff00
> > tun0: flags=8051 mtu 1492
> > inet 68.122.3.211 --> 10.1.1.1 netmask 0xff00
> > Opened by PID 1213
> >
> > My "ipnat.rules":
> > map rl0 192.168.177.0/24 -> 0/32
> >
> >
> >
> > --
> > -*   -kevin-*-
> > -* sick with the good infection *-
> > -*   [EMAIL PROTECTED]   *-
> > -* http://www.pobox.com/~kathey *-
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> 

-- 
-*   -kevin-*-
-* sick with the good infection *-
-*   [EMAIL PROTECTED]   *-
-* http://www.pobox.com/~kathey *-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: yet another newbie ppp/modem question

2003-09-13 Thread fbsd_user
If your modem is external, maybe you have com1 & com2 disabled in
the PC bio's.  If PCI modem them and you are not using com1,2 ports
then you should disable there bio's so modem can use them.  One
other thing FBSD does not work with winmodems, those cheap modems
manufactured just for MS/Windows market.  You can use 'TIP' console
command to talk directly to modem.  If PCI modem check
/var/run/dmesg.log to see if FBSD found your modem.

Post more info on what you have done to debug, describe your modem
type.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alex
Sent: Friday, September 12, 2003 4:11 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: yet another newbie ppp/modem question

I'm having some trouble getting my modem up and running on
FreeBSD 4.8. A search through the mailing list archives shows
that many of the problems I've been wrestling with seem to have
cropped up before, yet I  haven't been able to follow any of the
discussion to a workable answer.

My modem is sitting on cuaa2 and I needed to re-compile my kernel
to recognize that port. I did this and everything went fine,
although I am getting the dreaded "sio5: configured irq 2 not in
bitmap of probed irqs 0" error which I haven't found a solution
for in any documentation or discussion.

Just for laughs, I went ahead and tried to contact the  modem via
ppp, but when I enter the "term" command I get:

"Warning: deflink: /dev/cuaa2: Bad file descriptor Failed to open
/dev/cuaa2"

I am now officially stuck  and am entering a plea for help.

The relevant lines from the kernel config file are pasted below.
This looks right to me, but if anyone can think what I'm doing
wrong (including RTFM references)  I would be forever grateful.

Thanks, Alex

***

# Serial (COM) ports
device  sio0at isa? port IO_COM1 flags 0x10 irq 4
device  sio1at isa? port IO_COM2 irq 3
device  sio2at isa? port IO_COM3 irq 5
device  sio3at isa? disable port IO_COM4 irq 9


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

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


Re: smbmount problem

2003-09-13 Thread sebastian ssmoller
On Sat, 2003-09-13 at 15:04, Dancho Penev wrote:
> On Sat, Sep 13, 2003 at 11:22:57AM +0200, sebastian ssmoller wrote:
> >From: sebastian ssmoller <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Date: 13 Sep 2003 11:22:57 +0200
> >Subject: smbmount problem
> >
> >hi,
> >i am running fbsd 5.1. when i try to mount a samba share on a debian
> >system i get :
> >smbfs: server name "x.y" too long
> >the server name is 16 chars long and i found out (looking at the
> >sources) that there is a limit of 15.
> >
> >my question: why is there such a limit? (i used this share from several
> 
> In Windows world computer's NetBIOS names are limited to 15 bytes,
> so I suppose that the author of mount_smbfs is conform with that.
>  
> >linux distros without any problem). does this mean i have to change the
> >hostname of the debian system (which could not be really a solution...)
> 
> No, just use "netbios name" option in smb.conf, and attend name to be
> no more than 15 chars long.

i tried that but i found out that the netbios name in the smb.conf
(client and server) is already shorter than 15 chars.
the problem seems to be that the full qualified name hostname.domain (as
used in the mount command line and as returned by the nameserver) is
longer than 15 chars.  but this should be ok, shouldn't it ?

any ideas ?

thx
seb
> 
> >or is there any other workaround ?
> >
> >thx for ur help
> >seb
> >
> >___
> >[EMAIL PROTECTED] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: HOW TO USE C-R-O-N?????

2003-09-13 Thread Chris Craft
Here's how I run scripts every 30 seconds from crontab:

* * * * * /path/to/somescript
* * * * * sleep 30; /path/to/somescript

Cheers,
Chris.


On Saturday 13 September 2003 06:02, Jerry Bell wrote:
> As has been pointed out, this will make it run every 2 minutes, not every
> 30 seconds.  I don't know of a way to go less than 1 minute.
>
> Jerry
> - Original Message -
> From: "Jerry Bell" <[EMAIL PROTECTED]>
> To: "Denis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Saturday, September 13, 2003 7:33 AM
> Subject: Re: HOW TO USE C-R-O-N?
>
>
> crontab -e
> then put in
> */2**** /usr/bin/perl /usr/scripts/my.pl
>
> save and it should be good to go.
>
> Jerry
> http://www.syslog.org
> - Original Message -
> From: "Denis" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, September 13, 2003 7:09 AM
> Subject: HOW TO USE C-R-O-N?
>
> Hi All!!!
>
>   Does anybody can show me how i can use Cron???
>   For example, I want to start:
>   /usr/bin/perl /usr/scripts/my.pl
>   every 30 seconds. Can i to do it?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mldonkey which name?

2003-09-13 Thread Dick Hoogendijk
Hey,

I installed mldonkey, but now I'm a bit confused what program to run.
It seems lots of them were installed by portinstall (mlchat, mlgui,
mlguistart, mlin, etc..)

What do I run when I want a P2P session under X?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JAILS: Shared IP?

2003-09-13 Thread Chuck Swiger
Chris wrote:
1) What would be the advantage(s) or disadvanatage(s) of giving each website 
it's own IP vs sharing a single IP?
Are you doing SSL?  You'd need to give each SSL site it's own IP, but otherwise 
you can do what Apache calls "name-based virtual domains" and share.

2) Is one going to be more difficult to set up than the other?
Not significantly.  It's probably a little easier to set up four different 
webservers running on four different IPs.

3) Would it be better to use something like Webmin to configure the setup
instead of trying to do it by hand, or does that take away from learning?
webmin takes away from learning.

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


Bad partition table?

2003-09-13 Thread Matt Dau
Hi,

I'm having a problem with my old FreeBSD partition.  I had the harddrive in a 
working system that i changed the motherboard in.  It was unstable at first, 
causing the system to lock up a couple times.  I finally got the problems 
worked out and installed 5.1 on a new drive.  It is up and running now, but I 
have problems when trying to access the old drive.  The first thing I noticed 
is that devfs wasn't creating /dev/ad2s1*. When I ran disklabel, it gave me 
the following output:

# /dev/ad2s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   524288   634.2BSD 2048 16384 32776
  b:  2055104   524351  swap
  c: 35648172   63unused0 0 # "raw" part, don't 
edit
  d:   524288  25794554.2BSD 2048 16384 32776
  e:   524288  31037434.2BSD 2048 16384 32776
  f: 32020204  36280314.2BSD 2048 16384 28512 
partition c: partition extends past end of unit
disklabel: partition c doesn't start at 0!
disklabel: An incorrect partition c may cause problems for standard system 
utilities
partition f: partition extends past end of unit

Now wishing I had saved the information from when it was working, I tried 
fdisk to see what it would say:

(jacobian|~)# fdisk /dev/ad2  
*** Working on device /dev/ad2 ***
parameters extracted from in-core disklabel are:
cylinders=348861 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=348861 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 14 (0x0e),(Primary 'big' DOS (>= 32MB, LBA))
start 63, size 35648172 (17406 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 35648235, size 315998550 (154296 Meg), flag 80 (active)
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:

The data for partition 4 is:


Partition 1 is DOS?  Could that have gotten changed?  Could that be preventing 
me from seeing the rest of ad2s1?  When I try to mount ad2s1, i get the 'a' 
partition.  I really really need what is on the 'f' partition.. Is there any 
way I can get that information back?

Thanks in advance,
Matt


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


Re: HOW TO USE C-R-O-N?????

2003-09-13 Thread Kirk Strauser
At 2003-09-13T11:09:12Z, Denis <[EMAIL PROTECTED]> writes:

> Does anybody can show me how i can use Cron???  For example, I want to
> start: /usr/bin/perl /usr/scripts/my.pl every 30 seconds. Can i to do it?

You really don't want to do it that way.  You probably want to wrap your
script with something like:

use Time::HiRes qw( sleep );

while (1)
{

... rest of your program ...

sleep .5;
}

-- 
Kirk Strauser

"94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box."


pgp0.pgp
Description: PGP signature


Re: nis security (DES passwords)

2003-09-13 Thread Guy Van Sanden
I was looking arround for this, and I found that Kerberos uses DES
encryption, John (on my sytem) reports it rather weak:

Benchmarking: Standard DES [24/32 4K]... DONE
Many salts: 151603 c/s real, 169200 c/s virtual
Only one salt:  152806 c/s real, 155607 c/s virtual

Benchmarking: BSDI DES (x725) [24/32 4K]... DONE
Many salts: 5750 c/s real, 5940 c/s virtual
Only one salt:  5630 c/s real, 5721 c/s virtual

Benchmarking: FreeBSD MD5 [32/32]... DONE
Raw:3092 c/s real, 3752 c/s virtual

Benchmarking: OpenBSD Blowfish (x32) [32/32]... DONE
Raw:222 c/s real, 227 c/s virtual

Benchmarking: Kerberos AFS DES [24/32 4K]... DONE
Short:  143462 c/s real, 153271 c/s virtual
Long:   377600 c/s real, 394979 c/s virtual

Benchmarking: NT LM DES [24/32 4K]... DONE
Raw:1080115 c/s real, 1125120 c/s virtual

I'm now using MD5 passwords in NIS.

Yet it seems the consensus that Kerberos is secure, am I missing
something?

On Fri, 2003-09-12 at 15:00, Tillman Hodgson wrote:
> On Fri, Sep 12, 2003 at 11:35:16AM +0200, Guy Van Sanden wrote:
> > On Tue, 2003-09-09 at 02:15, Tillman Hodgson wrote:
> > > The rough instructions are fairly simple:
> > > 
> > > * Set up Kerberos and ensure you have a working realm
> > > * Set up NIS, but set all the passwd fields to something that doesn't
> > >   map to a real password (I like 'krb5', others like '*')
> > > 
> > > That's about it. It works because authentication in a Kerberized world
> > > doesn't check the password field in the NIS maps anyway (or the
> > > /etc/master.passwd file for that matter). Your non-Kerberos app's will
> > > break for users that aren't local, but I consider the incentive to
> > > replace them a benefit :-)
> > 
> > Do you have some links to websites or so that you used to set this up?
> 
> Not really. Kerberos and NIS are both in the Handbook, and as I
> mentioned above I just changed the /var/yp/master.passwd that NIS was
> working off of to have 'krb5' in the password field.
> 
> A quick bit of Google spelunking dug up some references but no
> "HowTos". The RedHat Security Guide mentions it explicitly in the NIS
> section, for example.
> 
> > I'm very interested in this setup, with the added complication that the
> > clients are Linux (and Windows using SAMBA), yet the server is FreeBSD
> > (5.0).
> 
> Normally NIS is a pain between different Unix implementations (due to
> the different passwd designs such as DES vs. MD5). When using Kerberos
> to handle the authentication, those problems go away. On the other
> handle, you get to learn how to install NIS and Kerberos on multiple
> operating systems :-)
> 
> -T

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


setting up a second ppp connection

2003-09-13 Thread David Banning
Sometimes my pppoe connection goes down, and since I want to find
out about it right away, I was thinking it would be helpful to have
my freebsd box connect to the net via a dialup line, and then 
email my cell phone that the connection is down. I don 't want to 
disable the pppoe connection which is still attempting to connect.

Any idea if something like this is possible? 

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


RE: 56k pccard modem connect speed?

2003-09-13 Thread fbsd_user
Once user ppp makes the connection and the line speed is set, any
self adjustment to the line speed made by the modem is not captured
by user ppp.  Furthermore I have not seen any (modem terminal
servers) that captures and report on this ether. Some pci modem mfg
have added an I-reg to capture the max and mim line speed during an
modem session which can be accessed using Hayes 'AT' commands after
the online modem session has completed. There is no way to see this
speed as it changes to compensate for line noise.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jesse
Guardiani
Sent: Friday, September 12, 2003 5:07 PM
To: [EMAIL PROTECTED]
Subject: RE: 56k pccard modem connect speed?

fbsd_user wrote:

> Issue this command from console after modem connection is complete
> Cat /var/log/ppp.log | grep CONNECT

Sweet. I must have missed that line in all the noise. Thanks.

Another question:

I know that WingNET's 3com Total Control Chassis (modem terminal
server) will modulate connected modems up or down depending on
line static, noise, etc...

Are events like this logged in ppp.log? Is there a command I can
run, while connected, that will tell me my current connect speed?

Or is this something internal to the modem that I can't retreive?

Thanks.

--
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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

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


Re: /etc/fstab explain me please.....

2003-09-13 Thread David Gerard
On 09/13/03 11:11, Denis wrote:

 I want to mount automatically my second disk drive which has Fat32
 file system. Could you tell me what i must write in FSType section in
 /etc/fstab??
 Maybe "msdos" or "fat32"???
msdos is correct. Here's mine:

$ cat /etc/fstab
# See the fstab(5) manual page for important information on automatic mounts
# of network filesystems before modifying this file.
#
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
/dev/ad3s1  /mp3msdos   rw  1   2
proc/proc   procfs  rw  0   0

The drive called 'mp3' was mounted in a Windows box. Rather
than mess about with 40 gig of ripped CDs, I just put it straight
into this box and mounted it as shown.
- d.



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


Re: /etc/fstab explain me please.....

2003-09-13 Thread Guilmot Mike
Denis wrote:
> Hi All!!!
> 
>   I want to mount automatically my second disk drive which has Fat32
>   file system. Could you tell me what i must write in FSType section
>   in /etc/fstab??
>   Maybe "msdos" or "fat32"???

msdos is what you're looking for :)
Like mount_msdos when it's not automatic.

Kind regards,

Guilmot Mike

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


Re: SHELL scripts..... HOW TO START LEARN????

2003-09-13 Thread Dan Welch
In my opinion the very best for *beginning* is
UNIX SHELL PROGRAMMING
by Kochan and Wood

and once you have the basics in hand, be sure to consult
UNIX POWER TOOLS
by Peek, O'Reilly, and Loukides

On Sat, Sep 13, 2003 at 03:12:42PM +0400, Denis wrote:
> Do you happen to know where is some helpful information about SHELL
> programming???

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


Re: smbmount problem

2003-09-13 Thread Dancho Penev
On Sat, Sep 13, 2003 at 11:22:57AM +0200, sebastian ssmoller wrote:
From: sebastian ssmoller <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: 13 Sep 2003 11:22:57 +0200
Subject: smbmount problem
hi,
i am running fbsd 5.1. when i try to mount a samba share on a debian
system i get :
smbfs: server name "x.y" too long
the server name is 16 chars long and i found out (looking at the
sources) that there is a limit of 15.
my question: why is there such a limit? (i used this share from several
In Windows world computer's NetBIOS names are limited to 15 bytes,
so I suppose that the author of mount_smbfs is conform with that.
linux distros without any problem). does this mean i have to change the
hostname of the debian system (which could not be really a solution...)
No, just use "netbios name" option in smb.conf, and attend name to be
no more than 15 chars long.
or is there any other workaround ?

thx for ur help
seb
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
Dancho Penev
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Q's on dump(8) and restore(8)

2003-09-13 Thread Jerry McAllister
> 
> Hi,
>  I'm looking to improve and automate my primitive
> backups and I'm considering dump(8)/restore(8).  But
> before I go this route, I'd like to be sure I can
> control their behavior.  Unfortunately, the man pages
> don't seem to completely describe the interaction
> between the numerical dump flag in /etc/fstab and
> the dump level.  Can anyone elucidate?

I believe that the /etc/fstab dumpflag tells it to not back up
files in any dump level above the number (or the number and above, I
don't remember for sure), essentially 1 is the number used.  Level '0'
dumps always back up all files unless you use some extra dump flags.

As for a scheme, it really depends on how big each file system is
compared to the size of your backup media and how much your files
change on a daily or weekly, etc basis in each filesystem (dumps are
always by filesystem).   

If you have large filesystems - much larger than your media size, - takes
multiple tapes on a full dump and your files in the filesystem change a 
lot frequently - level 1 dump may use more than 1 tape after two days, 
then you will probably want to implement some scheme like the basic
Sn  Mn  Ts  Wd  Th  Fr  St
 6   0   1   2   3   4   5
or possibly the modified tower of Hanoi scheme you mention below and
that is described in an example in the man page.

If your filesystem is not so huge or particularly if only a few files
are likely to change regularly - so a weeks work of changed files fit
on one tape, then something like
Sn  Mn  Ts  Wd  Th  Fr  St
 1   0   1   1   1   1   1
Would be the easiest.

If your filesystems will fit on one tape, just do a fulldump (level 0)
each time.

jerry

> 
>  In the same vein, does anyone know the
> `modified tower of Hanoi' algorithm the man page
> recommends?
> 
>Mark Terribile
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD and DNS

2003-09-13 Thread Ronnie Clark
OK, this sounds great, and Thanks for the reply. But,
do you know of a good How-to document so I can have
something to reference?

Thanks,
RC



--- Erik Sabowski <[EMAIL PROTECTED]> wrote:
> do you use granitecanyon? i was using them and they
> were having that
> problem, so I am doing that now
> i used djbdns, which is a million times easier to
> set up than BIND, and more
> secure too.
> 
> what you are looking to do it called "split horizon"
> dns, and djbdns
> supports it
> 
> erik
> 
> - Original Message - 
> From: "Ronnie Clark" <[EMAIL PROTECTED]>
> To: "FreeBSD Questions"
> <[EMAIL PROTECTED]>
> Sent: Friday, September 12, 2003 11:11 PM
> Subject: FreeBSD and DNS
> 
> 
> > Hello all,
> >
> > I have a questions that I just cannot get my brain
> > around. I have a home network and use FreeBSD as
> my
> > firewall using IPFW. It is also my internal DNS
> > server, handling name resolution for inside the
> > network and passing requests to the internet. I
> have
> > my own domain, and use a free DNS service to point
> to
> > my static IP from the outside. But as of late, the
> DNS
> > service has come under DOS attack. So, if I want
> to
> > host my own DNS records, so that people on the
> outside
> > get my static, routable internet IP address, plus
> my
> > reverse DNS record, can I still have the DNS
> service
> > serve my internal requests? Can you have an A
> record
> > point to the same machine, yet list two different
> IP
> > addresses? Or do I need to move my internal DNS to
> > another system to serve the inside? Please help,
> brain
> > in knots over this one.
> >
> > Thanks,
> > RC
> >
> > __
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> > http://sitebuilder.yahoo.com
> > ___
> > [EMAIL PROTECTED] mailing list
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Possible ? - clean install but preserve one filesystem ?

2003-09-13 Thread Matthew Seaman
On Sat, Sep 13, 2003 at 09:38:44PM +1200, Richard Shea wrote:
> Hi - I'm having problems upgrading 4.4 -> 4.8 but it's got to work by
> Monday so I'm looking at all my options.
> 
> Before things went bad I backed up off the machine /etc and
> /usr/local/etc. Also took notes about file systems etc.
> 
> I have one file system on its own IDE drive that I would like to preserve
> and have available after the upgrade.
> 
> My question is this : if I act as if the machine had never had FreeBSD on
> it at all will a normal install in some way go digging around on that IDE
> drive  and trash the contents ? 
> 
> It doesn't seem likely but it's important that it's safe. 
> 
> If not I guess I could re-install from scratch and only once the install
> was complete would I then tell FreeBSD about the IDE drive ? It's a long
> time since I did a clean install and I've sort of forgotten the degree to
> which FreeBSD probes for disks.

You can certainly re-install FreeBSD on top of your previous
installation, and you can tell sysinstall not to wipe out any previous
contents of a partition.  You just need to be careful in the
'disklabel' screen to toggle the flag that says "don't newfs this
partition".  Disklabel will pick up the previous partition layout of
the drive, although you will have to fill in the mount points by hand.
If you need to take space from one partition to enlarge another, you
can, so long as you don't change the length or position of any
partitions you want to preserve.  Chances are you will want to do that
sort of thing, as the root partition in recent 4.x-STABLE needs more
like 128Mb nowadays, when at one point you used to be able to get away
with 32Mb.

If the stuff you want to preserve is on a separate drive, that makes
avoiding scribbling all over it even easier: you just tell sysinstall
that you only want to install on the other drive.

Once you've re-installed you'll need to rebuild all of the
customizations and re-install any ports you had previously, merge the
password and group files with the updated default versions, re-add the
partitions from your 2nd drive back into /etc/fstab and so forth.
It's not something that you can just grind through mechanically: you
will have to think about precisely what you're trying to achieve and
know the consequences of the commands you run.

In short, the answer is "Yes, it is possible, but you need to be
careful to avoid mistakes".

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: SHELL scripts..... HOW TO START LEARN????

2003-09-13 Thread Bob Perry
Denis wrote:

Hi All!!!

 Do you happen to know where is some helpful information about SHELL
 programming???
 

_Unix Shell Programming_, Third Editiion, Stephen G. Kochan and Patrick 
Wood, was recommended to me.
This book is easy to understand and provides plenty of examples and 
exercises

Secondly, I just checked Google Search and there seems to be a number of 
tutorials available.

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


Re: SHELL scripts..... HOW TO START LEARN????

2003-09-13 Thread Alastair G. Hogge
On Saturday, 13 September 2003 21:12, Denis wrote:
> Hi All!!!
>
>   Do you happen to know where is some helpful information about SHELL
>   programming???
There was a recent article on DaemonNews.net about Shell programming that 
might be helpfull to you.

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


Re: Is there cool download manager in FreeBSD?

2003-09-13 Thread Shantanoo Mahajan
+-- rk47 [freebsd] [12-09-03 13:47 IST]:
| Alex Zivenko wrote:
| 
| > Hi people!
| > Is there cool download manager in FreeBSD? Like Reget, or Flashget in WIN,
| > Don't disturb me about KGet (he can't to continue download, when
| > connection has broken)
| > Best regards,
| > Alex Zivenko
| > http://www.netgen.com.ua
| 
| Also look at wget (/usr/ports/ftp/wget), it has many features.

If I am not wrong, KGet is front end for wget.
Alex: wget is capable of resuming the download.
check out '-c' option of wget.
| 
| Riaan
| 
| 
| --

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


I need help getting a desktop working.

2003-09-13 Thread exodus
Dear Freebsd,


   I have installed freebsd 4.4 (the ones that came with the manual.) I
got it all installed correctly but when i log in freebsd it leaves me
at a dos like screen with a $. I want to know how to get a desktop
working (the quickest way.) Thank you for your time.



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


Re: Q's on dump(8) and restore(8)

2003-09-13 Thread Matthew Seaman
On Sat, Sep 13, 2003 at 12:00:11AM -0700, Mark Terribile wrote:

>  I'm looking to improve and automate my primitive
> backups and I'm considering dump(8)/restore(8).  But
> before I go this route, I'd like to be sure I can
> control their behavior.  Unfortunately, the man pages
> don't seem to completely describe the interaction
> between the numerical dump flag in /etc/fstab and
> the dump level.  Can anyone elucidate?

Dump levels are a flexible way of implementing incremental backups.  A
level 0 dump will always back up everything[*].  Then a level 1 dump
backs up all of the files that have been modified since the last level
0 dump, and a level 2 dump would backup every file that had been
modified since the previous lower level (level 1 or level 0) dump, and
so on, all the way down to a level 9 dump.

Let's look at some common dump schemes.  I'll base these around a
weekly cycle, using a separate tape for each day of the week:
generally what you'ld do is have several sets of these weekly tapes
that you cycle through, so you aren't completely lost if one of those
sets of tapes should be found to be substandard.

People with more money (or backup media) than is good for them can
just run a full backup every day:

  Sun  Mon  Tue  Wed  Thu  Fri  Sat

  0000000

This maximizes the amount of data to back up each day, but also
minimizes the amount of effort required to restore the system to the
state at any particular date and it gives you minimum exposure should
one of your tapes fail.

The alternate extreme is:

  1234567

So that except for Sunday, each day all you do is backup what changed
since the previous day.  It's assumed that your level 0 dump
corresponds to the state of the system immediately after installation,
and you may or may not actually perform a level 0 dump at that time.
Prudence dictates that you should certainly run an occasional level 0
dump to help keep the size of your level 1 tape sets down and just on
general principles.  This is parsimonious with the tapes, but if you
need to restore the system to the state on Saturday, you need *all* of
your weeks tapes.  And if the Monday tape breaks, then the following
Tuesday to Saturdays' tapes are pretty much useless.

Probably the most popular scheme is:

  1333333

So each day you back up everything that changed since the previous
level 1 backup. (Or you could do a level 0 instead ot the level 1 each
week for extra security). That means that the Friday or Saturday tapes
get a lot more use than the Monday tape.  However all you need to
restore the system is the level 1 and the appropriate level 3 tape.

>  In the same vein, does anyone know the
> `modified tower of Hanoi' algorithm the man page
> recommends?

If you don't know what "Towers of Hanoi" is, fire up your nearest copy
of emacs and run:

M-x hanoi

or

M-x hanoi-unix

although that second one takes quite some time to run to completion.

The 'modified Towers of Hanoi" backup sequence is based on that game.
This is an optimised sequence that achieves a balance between the
different extremes shown above.  A weekly system would look like:

  1325476

although the man page shows how to extend that for a few extra
days. This results in approximately the same amount of data being
saved on each daily tape, but doesn't require that all tapes are
needed to do the Friday backup and should one of the daily tapes fail
(other than a level 1 tape), you can still restore to the state only
one day away.  Thus:

   Tapes needed
  Sun: 1
  Mon: 1, 3
  Tue: 1, 2
  Wed: 1, 3, 5
  Thu: 1, 2, 4
  Fri: 1, 3, 5, 7
  Sat: 1, 2, 4, 6
  
By the way, although I've shown all of these cycles based on a week
starting on Sunday, I can tell you from practical experience that the
full level one backup is most likely to need attention, so it's often
a good idea to shift the cycle round so that the big weekly backup
happens on a week day.

Cheers,

Matthew

[*] Except when you use the '-h 0' flags to dump(8), which tells
dump(8) to honour the 'nodump' file flag even at level 0.  By default
the 'nodump' flag is only honoured at level 1 or higher.

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: HOW TO USE C-R-O-N?????

2003-09-13 Thread Jerry Bell
As has been pointed out, this will make it run every 2 minutes, not every 30
seconds.  I don't know of a way to go less than 1 minute.

Jerry
- Original Message - 
From: "Jerry Bell" <[EMAIL PROTECTED]>
To: "Denis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, September 13, 2003 7:33 AM
Subject: Re: HOW TO USE C-R-O-N?


crontab -e
then put in
*/2**** /usr/bin/perl /usr/scripts/my.pl

save and it should be good to go.

Jerry
http://www.syslog.org
- Original Message - 
From: "Denis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 13, 2003 7:09 AM
Subject: HOW TO USE C-R-O-N?


Hi All!!!

  Does anybody can show me how i can use Cron???
  For example, I want to start:
  /usr/bin/perl /usr/scripts/my.pl
  every 30 seconds. Can i to do it?

-- 
Best regards, Denis
[EMAIL PROTECTED]

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

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


Re: configure args in ports

2003-09-13 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 13 September 2003 12:36, Jens Rehsack wrote:
> Nope,
> $ env CONFIGURE_ARGS=--with-option3 OPTION2=yes make install clean
> would work fine as well as
> $ env CONFIGURE_ARGS=--with-option3 make -DOPTION2 install clean
> would as well as
> $ make -DCONFIGURE_ARGS=--with-option3 -DOPTION2 install clean
> should, too.

Great, thank you :)

Antoine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/YwQnY3Hnhkr+5cQRAhvFAJ40V0eLTgfxgtwyPlzweP7wj7UgmwCcDdvc
u2nS1vgNeyfOvgSUZKcXcbo=
=YqhN
-END PGP SIGNATURE-

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


Re: /etc/fstab explain me please.....

2003-09-13 Thread Jerry Bell
msdosfs should work so long as it's fat or fat32. 

Jerry
http://www.syslog.org
- Original Message - 
From: "Denis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 13, 2003 7:11 AM
Subject: /etc/fstab explain me please.


Hi All!!!

  I want to mount automatically my second disk drive which has Fat32
  file system. Could you tell me what i must write in FSType section in
  /etc/fstab??
  Maybe "msdos" or "fat32"???

-- 
Best regards, Denis
[EMAIL PROTECTED]

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


Re: HOW TO USE C-R-O-N?????

2003-09-13 Thread Jerry Bell
crontab -e
then put in
*/2**** /usr/bin/perl /usr/scripts/my.pl

save and it should be good to go.

Jerry
http://www.syslog.org
- Original Message - 
From: "Denis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 13, 2003 7:09 AM
Subject: HOW TO USE C-R-O-N?


Hi All!!!

  Does anybody can show me how i can use Cron???
  For example, I want to start:
  /usr/bin/perl /usr/scripts/my.pl
  every 30 seconds. Can i to do it?

-- 
Best regards, Denis
[EMAIL PROTECTED]

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


SHELL scripts..... HOW TO START LEARN????

2003-09-13 Thread Denis
Hi All!!!

  Do you happen to know where is some helpful information about SHELL
  programming???

-- 
Best regards, Denis
[EMAIL PROTECTED]

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


/etc/fstab explain me please.....

2003-09-13 Thread Denis
Hi All!!!

  I want to mount automatically my second disk drive which has Fat32
  file system. Could you tell me what i must write in FSType section in
  /etc/fstab??
  Maybe "msdos" or "fat32"???

-- 
Best regards, Denis
[EMAIL PROTECTED]

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


HOW TO USE C-R-O-N?????

2003-09-13 Thread Denis
Hi All!!!

  Does anybody can show me how i can use Cron???
  For example, I want to start:
  /usr/bin/perl /usr/scripts/my.pl
  every 30 seconds. Can i to do it?

-- 
Best regards, Denis
[EMAIL PROTECTED]

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


Re: Re: x windows

2003-09-13 Thread sebastian ssmoller
does the vmware-tools install program overwrites the XF86Config or
generates a new one ? 
how does the video card section of ur XF86Config look like ? which card
do u use ?

On Sat, 2003-09-13 at 12:57, Ian Todd wrote:
> after fbsd boots i install the vmware tools and it still doesnt help.
> any other idea?
> 
> On 13 Sep 2003 11:59:59 +0200 sebastian ssmoller
> ([EMAIL PROTECTED]) wrote:
> 
> >hi,
> >
> >On Sat, 2003-09-13 at 11:46, Ian Todd wrote:
> >> I have a gforce 2 mx 400 and trying to run x windows. I have
> >> downloaded and installed the latest drivers for it and i am still
> >> getting the same error message before i installed it. what could
> the
> >> problem be the error is:
> >>
> >> Fatal server error:
> >> no screens found
> >>
> >> Im running freebsd in vmware.
> >
> >as far as i know vmware does not pass ur video card to the gast OS
> but
> >simulates a different one.  so ur fbsd will not see any geforce but
> the
> >vmware svga card.
> >
> >i guess u will have to install the vmware tools which will create a
> >XF86Config template if i remember correctly (incl. correct card).
> >
> >hope that helps
> >seb
> >
> >>
> >> Regards
> >>
> __
> _
> >> Cool Connection, Cool Price, Internet Access for R59 monthly @
> WebMail
> >> http://www.webmail.co.za/dialup/
> >> ___
> >> [EMAIL PROTECTED] mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >>
> >
> 
> ___
> Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail
> http://www.webmail.co.za/dialup/
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


  1   2   >