Re: Samba between Mac and BSD

2003-07-09 Thread Chuck Swiger
Bill Campbell wrote:
On Tue, Jul 08, 2003 at 09:11:11PM -0700, [EMAIL PROTECTED] wrote:
FreeBSD Question Answerer-
First of all thank you for your help and time.  I have a question about
running a Samba server where the server is a FreeBSD machine and the client
is a Macintosh ibook running max os X. ...
I would think that NFS would be a better choice between two Unix
systems than Samba.
Maybe.  MacOS X has very well integrated Samba support into the Finder; Windows 
filesharing integration is/was a higher priority than NFS.  NFS perhaps is 
easier to configure than Samba, though-- which might matter to the OP.

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


Re: modems

2003-07-09 Thread Rapier
and still try not to get complicated with an external USB modem,can produce serious 
headackes :)

On Tue, 08 Jul 2003 19:31:44 -0400
Jud [EMAIL PROTECTED] wrote:

 On Tue, 08 Jul 2003 16:51:04 -0400, JULIE KOCUBA [EMAIL PROTECTED] 
 wrote:
 
 
 
  i need a dialup modem for a friend in the sticks,  any suggestions for a 
  good dilaup modem/
  dave
 
 If you are wanting something FreeBSD will work with easily, just about any 
 external serial modem should do fine.
 
 Jud
 ___
 [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]


/usr/ports/mail/courier-imap/ authvchkpw?

2003-07-09 Thread Dave Seddon
Greetings,

I can't get VPOPMAIL authentication to build with the latest port of
/usr/ports/mail/courier-imap/.  Several weeks ago I could with an older
version, but I can't reproduce this.  I've tried modifying the configure
arguments in the Makefile, and everything else I can think of.  Maybe
somebody has some ideas.  -- Should I email the ports list?

I do this:
---
cd /usr/ports/mail/courier-imap
make clean
make WITH_VPOPMAIL=yes all install
---

And off it goes...during the build process I see this flash up, which
indicates to that the configure arguments are ok.  Looks like
--with-authvchkpw is working.
---
configure: running /bin/sh './configure' --prefix=/usr/local
'--without-authshadow' '--sysconfdir=/usr/local/etc/courier-imap'
'--with-userdb=/usr/local/etc/userdb'
'--datadir=/usr/local/share/courier-imap'
'--libexecdir=/usr/local/libexec/courier-imap'
'--enable-workarounds-for-imap-client-bugs' '--enable-unicode'
'--disable-root-check' '--with-authvchkpw' '--without-authldap'
'--without-authmysql' '--without-authpgsql' '--with-authpam'
'--without-authcram' '--prefix=/usr/local'
'--build=i386-portbld-freebsd4.8' 'LDFLAGS=-I/usr/local/lib/mysql'
'CFLAGS=-O -pipe -march=pentiumpro'
'CPPFLAGS=-I/usr/local/include/mysql'
'build_alias=i386-portbld-freebsd4.8' 'CC=cc'
--with-authchangepwdir=/usr/local/libexec/courier-imap/authlib
--with-db=db
--with-makedatprog='/usr/local/libexec/courier-imap/makedatprog'
--with-mailuser=root --without-socks
--with-authchangepwdir=/var/tmp/dev/null --with-package=courier-imap
--with-version=2.0.0 --cache-file=/dev/null --srcdir=.
---

However, when it finishes without complaint there is no authvchkpw
authentication program.
---
qmail# ls /usr/local/libexec/courier-imap/authlib/
authdaemon  authdaemond authdaemond.plain
authuserdb
---

Several weeks ago with version 1.7.0 I did manage to get it to work, but
I can't reproduce it.  I did save my original Makefile, and tried
rolling the port back to 1.7 but it still won't build.

Here's the authentication daemons I got to build last time.  These are
what I want.
---
qmail# pwd
/usr/home/das/qmail_backup/courier-imap
qmail# ll
total 544
-rwxr-xr-x  1 root  wheel   85093 Jun 24 17:45 authcustom
-r-xr-xr-x  1 root  wheel   15672 Jun 19 11:06 authdaemon
-rwxr-xr-x  1 root  wheel 408 Jun 19 11:06 authdaemond
-r-xr-xr-x  1 root  wheel   68572 Jun 19 11:06 authdaemond.plain
-rwxr-xr-x  1 root  wheel   59973 Jun 24 17:45 authpam
-rwxr-xr-x  1 root  wheel  116737 Jun 24 17:45 authuserdb
-rwxr-xr-x  1 root  wheel  181293 Jun 24 17:45 authvchkpw
---

thanks,

Dave

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


Re: nutball video question

2003-07-09 Thread Alexey Koptsevich

Hello,

I have got to the same idea today and -- what a luck -- this topic is
already dscussed on FreeBSD list! How fast should be the server to be able
to perform this task? For instance, would PII/400MHz/128Mb be enough? Do
different cards (meteor/bktr) consume CPU power differenly, or about the
same? What is the video resolution which consumes almost 100Mbps?

Is it possible to record video under FreeBSD? Which card should I buy for
that? Is multicasting can be done using combination of available software,
or some programming required?

Thanks,
Alex


On Mon, 9 Jun 2003, yussef wrote:

 If i understand what you want to do, i have something similar setup. i
 stuck my tv card [device bktr] in my headless server. Installed X on
 the server, along with xawtv and fxtv. i then ssh -X into the server
 from a client running X, i then execute the command for one of the tv
 viewing apps mentioned above, and it pops up on the client. It does
 such up most of the bandwidth on my 100base lan, but if you're talking
 small res and dont mind slightly low updates, its fine.
 my goal for this system was actually to turn the system into a bit of
 a pvr, having it record tv programs so i could watch at my own
 convenience.
 good luck
 
 yussef
 
 On Mon, 09 Jun 2003 23:59:11-0400(EDT)J. Seth
 Henry[EMAIL PROTECTED] wrote:
 
  Ok, I'm not sure if this will work (or if it does, how well), but I'm
  curious to see what happens.
   I have one of the older Happauge WinTV boards (that is supported by
  FreeBSD). Unfortunately, the only machine with an open PCI slot is my
  headless server. I have a number of IBM netstations attached to this
  server via a 100Mbps switched ethernet LAN. Currently, I am using KDE
  as my desktop environment. I have no idea what the X server is, but I
  do know KDE apps grumple a lot about the X server lacking features.
   Is it possible to stream video to these X terminals, even if it's not
  movie quality? I'm thinking something along the lines of a security
  camera setup, where it is OK if the video is the size of a business
  card, and isn't updated terribly fast. That being said, could the same
  stream be sent to two or more terminals simultaneously?
   The likely problems here are that the video transmission would be done
  in X, which could result in bandwidth issues, and the little problem
  of my monitor locking the video device.
   Alternately, and perhaps even better, is there a way to capture still
  images from this board, for use as a webcam?
   FYR, this is strictly for experimentation purposes. :)
   Thanks,
  Seth Henry
  ___
  [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: nutball video question

2003-07-09 Thread Olivier Nicole
 What is the video resolution which consumes almost 100Mbps?

I have no answer about the card, but full digital television, without
compression, needs 36 Mbps according to some experiements run by
Japanses.

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


Re: mouse speed

2003-07-09 Thread sascha . pawlowski
 I am pretty new to Freebsd and I am having a problem with
 the mouse.  It moves slowly across the screen, it seems I can the
 acceleration factor, but I really dislike acceleration, is there anyway
 to make the mouse move at a faster constant speed.  Running freebsd 4.8
 stable, PIII 600, 256 ram, usb mouse plugged into PS2 port with adapter.

In /etc/X11/XF86Config, look for the mouse section and insert this line:

Option Resolution 300

Bye,
Sascha

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


MOXA C-104H/PCI support?

2003-07-09 Thread Gregory Edigaroff
Hello,

Does it supported in 4.8 Release? Any success stories?
Thanks.
-- 
With best regards,
Gregory Edigarov

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


Re: List friendliness

2003-07-09 Thread Alex de Kruijff
On Fri, Jul 04, 2003 at 09:34:17AM -0400, Paul Chvostek wrote:
 
 Alex,
 
 On Thu, Jul 03, 2003 at 12:59:23AM +0200, Alex de Kruijff wrote:
  
  I feel the following things are helpfull sending to 
  these list:
  1. Do send mail like this with a cc to the orginal list.
 Others can learn from our exange of information.
 
 You can encourage people to reply back to the list by including a
 Reply-To line in your headers, as I've done with this message.  Some
 list software will filter the header, but a Reply-To in the copy of the
 message that's sent directly to someone will probably be respected by
 their mail client.
 
 Since you use mutt, you might find the following .muttrc lines helpful:
 
   lists freebsd-questions freebsd-current freebsd-chat
   send-hook [EMAIL PROTECTED] 'my_hdr Reply-To: [EMAIL PROTECTED]'
   send-hook [EMAIL PROTECTED]   'my_hdr Reply-To: [EMAIL PROTECTED]'
   send-hook [EMAIL PROTECTED]  'my_hdr Reply-To: [EMAIL PROTECTED]'
   ... etc.
 
 This way, you can use the 'L' key to follow up to the list, the 'g' key
 to do a group-reply, or the 'r' key to reply just to the sender, and
 your headers will include the custom Reply-To for 'L' and 'g'.
 
 
Its doesn't work if you want to recieve a copy. I rely on getting a copy
to my reply or reply-to (set to me) to be able to reply to mails send to
me, since it easy for me to overread things on the lists. This clearly
isn't a option for me.

Your the first person i came a cross that does this. This would indeed
work if one don't wants to get an reply to his from adress. My conclusion
is that people that doesn't want a reply to them self sould use the 
reply field like you suggested.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


maximum supported RAM

2003-07-09 Thread Patrik Veselík
Dear sirs,

I prepare an article about chipset for Pentium 4 supporting 8 GB RAM. What is the 
maximum for FreeBSD 5.1 of RAM and number of processors please?

Best regards,

Patrik Veselik
Stredni skola aplikovane kybernetiky, s.r.o.
Hradecka 1151
500 02 Hradec Kralove
Czech Republic
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
ICQ UIN 13299106
tel. +420 - 495 518 777
fax +420 - 495 518 778
mobil +420 - 608 - 238 328

---
Odchoz zprva neobsahuje viry.
Zkontrolovno antivirovm systmem AVG (http://www.grisoft.cz).
Verze: 6.0.498 / Virov bze: 297 - datum vydn: 8.7.2003
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can vi edit binary file in hex format?

2003-07-09 Thread Daniel Bye
On Wed, Jul 09, 2003 at 06:15:36AM +0100, Supote Leelasupphakorn wrote:
Is there option that enable standard vi (accompany wiht FreeBSD)
 for editing binary file in hex format ?

Don't know, but there are a handful of hex editors in ports.  Maybe one of
them will fit?

[danielby: /usr/ports]$ make search name=hex | grep ^Path:.*/editors
Path:   /usr/ports/editors/chexedit
Path:   /usr/ports/editors/ghex
Path:   /usr/ports/editors/ghex2
Path:   /usr/ports/editors/hexcurse
Path:   /usr/ports/editors/hexedit
Path:   /usr/ports/editors/hexpert
Path:   /usr/ports/editors/lfhex

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


Automatic response to your mail

2003-07-09 Thread Robert Scheer
Thank you for writing us at robertscheer.com. We appreciate 
the feedback. Due to the volume of mail we receive, 
however, we cannot guarantee a response.

If you would like to receive Robert Scheer's weekly 
national politics column, go to http://www.robertscheer.com 
and click on the newsletter link. 

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


Re: Samba between Mac and BSD

2003-07-09 Thread Loz
* [EMAIL PROTECTED] [EMAIL PROTECTED] [2003-07-09 05:08]:
   First of all thank you for your help and time.  I have a question about
 running a Samba server where the server is a FreeBSD machine and the client
 is a Macintosh ibook running max os X. 

I can't help much except to say that there are known issues with Samba
on OS X 10.1 and possibly early versions of 10.2. 10.2.5 and up should 
be fine, so just run 'Software Update' if you need to. 

Good luck.

/loz.

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


Re: DNS and SMTP problem

2003-07-09 Thread Toomas Aas
Hi!

 I have a caching name server up and running and was trying 
 to change it into a master name server with a www record and a mx
 record. 

For what zone? Do you have a registered domain that you
are trying to be authoritative for?

I assume that by 'www record' you mean A or CNAME record
with name www.

 I believe this is the problem that I'm having
 with postfix not be able to recieve mail but can send
 with no problem. 

Might be, might not be. Hard to say without knowing what 
happens when you try to send mail to your postfix server.

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Yes means No and No means Yes. Delete all files [Y]?

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


Re: Can vi edit binary file in hex format?

2003-07-09 Thread Alexander Haderer
At 11:00 09.07.2003 +0100, Daniel Bye wrote:
On Wed, Jul 09, 2003 at 06:15:36AM +0100, Supote Leelasupphakorn wrote:
Is there option that enable standard vi (accompany wiht FreeBSD)
 for editing binary file in hex format ?
Don't know, but there are a handful of hex editors in ports.  Maybe one of
them will fit?
[danielby: /usr/ports]$ make search name=hex | grep ^Path:.*/editors
Path:   /usr/ports/editors/chexedit
Path:   /usr/ports/editors/ghex
Path:   /usr/ports/editors/ghex2
Path:   /usr/ports/editors/hexcurse
Path:   /usr/ports/editors/hexedit
Path:   /usr/ports/editors/hexpert
Path:   /usr/ports/editors/lfhex
One is missing: A vi-lookalike hex editor from the ports:

 /usr/ports/editors/bvi

Alexander

--
--
Alexander Haderer Charite
  Campus Virchow-Klinikum
Tel.  +49 30 - 450 557 182Strahlenklinik und Poliklinik
Fax.  +49 30 - 450 557 117Sekr. Prof. Felix
Email [EMAIL PROTECTED]Augustenburger Platz 1
www   http://www.charite.de/rv/str/   13353 Berlin - Germany
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


colour in the console and xterms

2003-07-09 Thread William O'Higgins
I am trying to migrate to FreeBSD from Linux, but some things just
aren't working the way I'd like.

When I launch an xterm it honours my .bashrc, and I get my custom prompt,
which includes colour, but no other colour seems to work - not vim, not
ls -G, not mutt.

In the console, however, I never get the prompt or the aliases specified
in my .bashrc, and I never get colour.  Any pointers?  Thanks.
-- 

yours,

William

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


Re: colour in the console and xterms

2003-07-09 Thread Daniel Bye
On Wed, Jul 09, 2003 at 07:40:33AM -0400, William O'Higgins wrote:
 I am trying to migrate to FreeBSD from Linux, but some things just
 aren't working the way I'd like.
 
 When I launch an xterm it honours my .bashrc, and I get my custom prompt,
 which includes colour, but no other colour seems to work - not vim, not
 ls -G, not mutt.
 
 In the console, however, I never get the prompt or the aliases specified
 in my .bashrc, and I never get colour.  Any pointers?  Thanks.

Make a ~/.Xdefaults file, that contains at least this:

XTerm*termName: xterm-color

You can also customise geometry, background and foreground colour,
scrollbar, etc.  Check out man xterm for the gory details.

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: colour in the console and xterms

2003-07-09 Thread Daniel Bye
On Wed, Jul 09, 2003 at 12:47:42PM +0100, Daniel Bye wrote:
 On Wed, Jul 09, 2003 at 07:40:33AM -0400, William O'Higgins wrote:
  I am trying to migrate to FreeBSD from Linux, but some things just
  aren't working the way I'd like.
  
  When I launch an xterm it honours my .bashrc, and I get my custom prompt,
  which includes colour, but no other colour seems to work - not vim, not
  ls -G, not mutt.
  
  In the console, however, I never get the prompt or the aliases specified
  in my .bashrc, and I never get colour.  Any pointers?  Thanks.

Sorry - hit send too early.

To get the console bits working, you need also to create a ~/.bash_profile,
from which you source ~/.bashrc.  When started as a login shell, bash looks
for ~/.bash_profile, not ~/.bashrc.  When started as an interactive
subshell, which is what happens when you start xterm, it looks for
~/.bashrc.

This way, you can logically separate setup that only needs to be done once
per login session (exporting certain env variables, setting up ssh-agent,
etc), and things that can be set each time a shell starts up.  (All I do
with my ~/.bashrc is read a file of shell aliases, and source the
system-wide /etc/bashrc, where I define suitable globals like $PS1, etc.)

As for the colour, I'm afraid I don't know - my $TERM is the default cons25,
and colour works just fine with `ls -G'.

HTH

Dan

 
 Make a ~/.Xdefaults file, that contains at least this:
 
 XTerm*termName: xterm-color
 
 You can also customise geometry, background and foreground colour,
 scrollbar, etc.  Check out man xterm for the gory details.

-- 
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


Moving locate DB from weekly to daily?

2003-07-09 Thread Dragoncrest
	Other than just copying the script 310.locate from the weekly folder to 
the daily folder, what else do I need to do in order to move the rebuilding 
of the locate database from weekly to daily?  I want to rebuild it daily if 
possible.  I doubt that'll put a lot of extra load on my machine as it does 
the rebuild and other cron tasks around 3am anyways.  Any suggestions are 
welcome.

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


RE: Reviewers required for simplified Chinese translations ofFreeBSDbooks

2003-07-09 Thread Xin LI/
I would be happy to contribute my time to do this. I am native Chinese
speaker.

Xin LI
CTO of Frontfree Technology Network,
School of Computer Science, Beijing University of Technology

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

 On Behalf Of Greg 'groggy' Lehey
 Sent: Wednesday, July 09, 2003 9:20 AM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Reviewers required for simplified Chinese translations of 
 FreeBSDbooks
 
 I've been approached by a group in China who want to translate The
 Complete FreeBSD into Chinese.  They've translated two sample
 chapters, and we now need reviewers who can assess the quality of the
 translation.  If you're a native Chinese speaker and are interested in
 reviewing these chapters, please contact me.
 
 In addition, they have also translated the handbook, apparently from
 the paper copy of the second edition.  See
 http://www.ptpress.com.cn/books/Book_Information.asp?BID=10541 for
 further details.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't install/upgrade/remove ports (somewhat resolved)

2003-07-09 Thread Dragoncrest
It was happening to all ports.  I can't even install fresh.  But 
it seems that the problem I'm having with that server is much bigger than 
just the ports.  I'm running into all kinds of joy and fun trying to get it 
to behave.  It's panicking on compiles and spontaneously rebooting.  I'm 
suspect of either something in the hardware or the ram, but I'm not sure 
which.  I've already switched over to my backup server and I'm just going 
to take this one and throw the book at it to see what breaks and then fix 
it from there.

At 03:42 PM 7/8/03 -0400, you wrote:
Dragoncrest [EMAIL PROTECTED] writes:

  Ok, I have a little bit more information on this problem.
 Tried installing a new port, one that hasn't been installed before.
 Make worked fine.  But as soon as I do make install it fails out
 exactly the same way each time.  Is there something I can do to fix
 this?  I've even rebuilt my pkgdb file and no luck.  Any ideas?
Is it unique to the port, or is it happening to all of the ports?


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


pptp connection unreliable with MacOSX client, help!

2003-07-09 Thread Raphaël Marmier
I've setup a vpn server with poptop 1.1.3 from the ports (FreeBSD 4.8 
release). It work fine, with mppe 128 enabled, from Windows 2000 and 
MacOSX 10.2 (using the built-in vpn client).

I use it to mount a volume through nfs and samba, so I can use cvs in 
local mode (needed).

However, on MacOSX, it is unreliable and the mountpoint freezes, until 
I manage to disconnect and reconnect the vpn.
 The following appears in /var/log/messages:

Jul  9 02:10:56 napalm pptpd[412]: CTRL: EOF or bad error reading ctrl 
packet length.
Jul  9 02:10:56 napalm pptpd[412]: CTRL: couldn't read packet header 
(exit)
Jul  9 02:10:56 napalm pptpd[412]: CTRL: CTRL read failed
Jul  9 02:11:58 napalm pptpd[421]: CTRL: EOF or bad error reading ctrl 
packet length.
Jul  9 02:11:58 napalm pptpd[421]: CTRL: couldn't read packet header 
(exit)
Jul  9 02:11:58 napalm pptpd[421]: CTRL: CTRL read failed
Jul  9 02:17:13 napalm pptpd[434]: GRE: 
read(fd=5,buffer=804d580,len=8196) from PTY failed: status = 0
error = No error
Jul  9 02:17:13 napalm pptpd[434]: CTRL: PTY read or GRE write failed 
(pty,gre)=(5,4)
Jul  9 02:18:35 napalm pptpd[441]: CTRL: EOF or bad error reading ctrl 
packet length.
Jul  9 02:18:35 napalm pptpd[441]: CTRL: couldn't read packet header 
(exit)
Jul  9 02:18:35 napalm pptpd[441]: CTRL: CTRL read failed

I've gone as far as setting nfs to tcp only, which helps go through 
disconnection/reconnection cycles. But it seems that once the vpn 
connection is wedged, it doesn't recover by itself.

I spent hours pinpointing this to pptp. Curiously, this problem 
manifests itself only on slow llinks, such as dialups. I can reproduce 
it by reducing the bandwidth with altq.

help...

Raph

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


Re: pooh.ASARian.org security run output (lots of wrong arpmessages)

2003-07-09 Thread John Murphy
Fuzzy [EMAIL PROTECTED] wrote:

Is there any way to convince the kernel not to log these
incorrect arp messages?

currently we have...
net.link.ether.inet.log_arp_wrong_iface: 1

Is there a different sysctl or variable for rc.conf
to stop it from logging incorrect information?

Indeed there is but only in 5.0 or greater I believe.  It's called:

net.link.ether.inet.log_arp_movements

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


Error while compiling Mesa 5.0.1

2003-07-09 Thread Augusto Jun Devegili
Hi all,

I'm using FreeBSD 5.1-RELEASE and I am trying to compile Mesa 5.0.1 
(/usr/ports/graphics/mesagl). `make install clean' give me the following 
error messages:

-=-=-=-=-=-=-=-=-=-

cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include 
-I/usr/ports/graphics/mesagl/work/Mesa-5.0.1/include 
-DGLCALLBACKPCAST=* -O -pipe -mcpu=pentiumpro -c glut_bitmap.c  -fPIC 
-DPIC -o .libs/glut_bitmap.lo
In file included from glut_bitmap.c:8:
glutint.h:780: syntax error before GLXFBConfigSGIX
glutint.h:785: syntax error before GLXFBConfigSGIX
glutint.h:788: syntax error before __glut_glXGetFBConfigFromVisualSGIX
glutint.h:789: warning: data definition has no type or storage class
gmake[2]: *** [glut_bitmap.lo] Error 1
gmake[2]: Leaving directory 
`/usr/ports/graphics/mesagl/work/Mesa-5.0.1/src-glut'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/mesagl/work/Mesa-5.0.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/graphics/mesagl.

-=-=-=-=-=-=-=-=-=-

What should I do?

TIA and regards,

Augusto Jun Devegili

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


Re: nutball video question

2003-07-09 Thread mark tinguely

  How fast should be the server to be able
  to perform this task? For instance, would PII/400MHz/128Mb be enough?

depends on the quality of the output and if this a dedicated machine
with idle cycles. the multicast vic application does not take to
big of a machine Pentium I/100. Realtime MPEG2 takes more power.

 Do
  different cards (meteor/bktr) consume CPU power differenly, or about the
  same?

only the original Matrox Meteor is supported, and it cannot run
on modern PCI buses without locking up.

  What is the video resolution which consumes almost 100Mbps?

If a person runs the video on the headless machine, and diplays
using X running over ssh, you are also sending all the overhead
of X with the video. The original poster, J. Seth Henry, did not
need movie quality and should vic and multicast the video stream
to the display. vic will send compressed video in UDP multicast
packets.

If movie quality video is required, I would suggest MPEG compression
before sending to network, not displaying the raw video over X.

  Is it possible to record video under FreeBSD? Which card should I buy for
  that? Is multicasting can be done using combination of available software,
  or some programming required?

For serious digital recording, I would point you towards hardware
MPEG2 compression. FreeBSD does not have a free driver for hardware
MPEG2 devices.

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


[no subject]

2003-07-09 Thread Denis R.
Chris,

It is one of the most common problems with initial setup of the SM.
Check this out and find your error there:
http://www.squirrelmail.org/wiki/en_US/SolvingProblems

Regards,
Denis


Hello,

Has anyone had any trouble with the ports version of SquirrelMail.  I
updated my mail ports yesterday and built cclient and IMAP-uw without
ssl off.

I verified this by logging in through telnet:

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] ed IMAP4rev1
2003.337 at Tue, 8 Jul 2003 11:27:20 -0400 (EDT)
0001 login user password
0001 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY
SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User user
authenticated
0002 logout
* BYE ed IMAP4rev1 server terminating connection
0002 OK LOGOUT completed
Connection closed by foreign host.

So now that I know IMAP and cclient work I moved on to Squirrelmail.  It
installed successfully but when I try to login with a user on the system
I get:

You must be logged in to access this page.

I'm stuck on this one and would appreciate any help.  I acctually tried
the ports version and the latest version off of squirrelmail.org and I
get the same thing.

Thank You
-chris




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


ftpchroot

2003-07-09 Thread Richard Jones
Hi,

I'm trying to get ftpchroot to work and having problems:

In the ftpchroot man page it states that a user (non-anonymous) can be
chrooted by specifying the username and directory as so

user ftp_dir

if there is no leading / then the directory is relative to the user's
home directory.

The problem is that user ftp_dir works, but user /home/user/ftp_dir
does not, giving an error 421 Service not available, remote server has
closed connection. 

There's nothing in syslog or /var/log/xfer.log to indicate why, just
ftpd exited, and FTP LOGIN FROM ...

I'm using FreeBSD-5.1 RELEASE, can anyone help?

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


Re: 5.1 COMMENTFILE Problem

2003-07-09 Thread DAVID MARKLE
Matthew,

OK, I read the FAQ and did not find reference to changing the owner 
of the ports tree (if you will, regestering the tree structure with 
CVSup).  I cannot even install cvsupit from /usr/ports/net/cvsupit.  
Doing a make install from that directory, I get the comment file.

Sorry for not getting it.


On Sun, Jul 06, 2003 at 07:57:11PM -0400, David Markle wrote:
 All,
 
 Installed 5.1 on a system and go to install CVSupit to get my tree in sync.
 I get the following message:
 
 #make install
 There is a COMMENTFILE in this port.
 COMMENTFILEs have been deprecated in
 favor of COMMENT variables.
 Please, rectify this.
 *** Error code 1
 
 Stop.
 
 I read somewhere (google search) that a ports collection update would fix
 this problem.  I can't seem to get to update my ports without CVS.
 installed the ports and src tree from the CD, but that still did not help.
 Why is this error occurring and where does it originate from.
 
 Any suggestions would be great.  Thanks.

Yes --- that's a FAQ.  You need to tell cvsup(1) that it owns all of
the files under /usr/ports --- that way, when you update it will
delete the old COMMENT files to bring your ports tree into line with
the latest available.

See http://www.cvsup.org/faq.html#caniadopt and subsequent questions.

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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installing on a Sun Ultra 10

2003-07-09 Thread Wayne Pascoe
Hi all,

Does anyone have any tips for installing FreeBSD onto a Sun ultra10? I
can boot from the CD-ROM and get to a screen asking me to pick a
terminal. I've tried ANSI, VT-100 and FreeBSD terminal (mono). I can't
use the arrow keys to select sysinstall options in any of these.

I could start a standard install in ANSI mode by pressing 2 and then
enter, however I couldn't do anything in the Disk menu.

Any advice would be greatfully received.

Regards,

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


Re: Compiling meteor device into current

2003-07-09 Thread mark tinguely

  Can anyone tell me, if meteor can be used on FreeBSD-current at all? If 
  yes, what settings do I need?

The meteor driver needs to to ported to the newbus to work with
FreeBSD 5.x.

It has not been done because the meteor driver works only with the
original Meteor card. That card had a chipset bug that locked up
when used on a PCI 2.x bus. At the time, Matrox was not too cooperative
with specs for newer Meteor designs, so the FreeBSD multimedia folks
used the Brooktree line of video capture chipsets.

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


Cyrus PAM authentication doesn't work for POP3 (works for IMAP)

2003-07-09 Thread Johan Paul
Hi all!

Just a brief question: does anyone have a clue why this doesn't work
(4.8R) in /etc/pam.conf:
pop auth sufficient pam_mysql.so user=foo passwd=foo host=localhost
db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1
pop account required pam_mysql.so user=foo passwd=foo host=localhost
db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1
?

I have the same lines for IMAP (the line starting with imap) and it 
works fine. This is the setup I would use with web-cyradmin.

In imapd.conf I have tried for sasl_pwcheck_method both 'PAM' and
'saslauthd' (which would use PAM...). If I set it to be 'saslauthd' I 
get this in /var/log/messages:

Jul  9 18:36:55 silakka pop3d[23741]: badlogin: 
dyn-7.milkyway[10.0.42.7] plaintext kypeli cannot connect to pwcheck server

If I set it to 'PAM' I get nothing in messages - the client just shows 
an error for invalid login. IMAP forks fine no matter if 
sasl_pwcheck_method is PAM or saslauthd.

I am a bit confused :-)

Thanks again in advance!

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


Re: Can vi edit binary file in hex format?

2003-07-09 Thread othermark
Supote Leelasupphakorn wrote:
Is there option that enable standard vi (accompany wiht FreeBSD)
 for editing binary file in hex format ?

I do this fairly regularly, just use xxd.  For example try this:

cp /bin/cat ~/mycat
vi ~/mycat
now editing in vi
[esc] :%!xxd 
now editing mycat in hex
find some innocuous string or rcsid
change the values on the hex side
[esc] :%!xxd -r
[esc] :wq!
./mycat somefile

You can also 'pre' xxd transform the file, then edit it, then transform
it back when finished.

---
Mark
atkin901 at NOSPAM yahoo dot com
(!wired)?(coffee++):(wired);

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


ftpchroot

2003-07-09 Thread Richard Jones
Hi,

I'm trying to get ftpchroot to work and having problems:

In the ftpchroot man page it states that a user (non-anonymous) can be
chrooted by specifying the username and directory as so

user ftp_dir

if there is no leading / then the directory is relative to the user's
home directory.

The problem is that user ftp_dir works, but user /home/user/ftp_dir
does not, giving an error 421 Service not available, remote server has
closed connection. 

There's nothing in syslog or /var/log/xfer.log to indicate why, just
ftpd exited, and FTP LOGIN FROM ...

I'm using FreeBSD-5.1 RELEASE, can anyone help?

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


Re: Installing on a Sun Ultra 10

2003-07-09 Thread Wayne Pascoe
On Wed, Jul 09, 2003 at 04:42:57PM +0100, scott wrote:
 when I installed OpenBSD, terminal type was 'Sun' !!!
 
 not 100% certain it's the same for FreeBSD, but possibly worth a try 

You don't get to specify a terminal type, just choose from a list of 5
:(

-- 
Wayne Pascoe
Everything to excess. To enjoy the flavour of 
life, take big bites. Moderation is for 
monks. - Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nutball video question

2003-07-09 Thread Alexey Koptsevich

Mark,

   Is it possible to record video under FreeBSD? Which card should I buy for
   that? Is multicasting can be done using combination of available software,
   or some programming required?
 
 For serious digital recording, I would point you towards hardware
 MPEG2 compression. FreeBSD does not have a free driver for hardware
 MPEG2 devices.

For which device(s) does it have a non-free driver? Or hardware MPEG2
devices are not supported by FreeBSD at all?

Thanks,
Alex

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


Re: 5.1 COMMENTFILE Problem

2003-07-09 Thread Matthew Seaman
On Wed, Jul 09, 2003 at 11:30:29AM -0400, DAVID MARKLE wrote:

 OK, I read the FAQ and did not find reference to changing the owner 
 of the ports tree (if you will, regestering the tree structure with 
 CVSup).  I cannot even install cvsupit from /usr/ports/net/cvsupit.  
 Doing a make install from that directory, I get the comment file.
 
 Sorry for not getting it.

Hmmm... net/cvsupit is marked broken, plus it seems it hasn't been
updated since 4_6_RELEASE was state of the art.

I recommend that you just grab one of the cvsup or cvsup-without-gui
packages, plus any dependencies, from one of the FTP sites and install
(pkg_add) that. Those dependencies are:

/net/cvsup:% make pretty-print-run-depends-list
This port requires package(s) XFree86-libraries-4.3.0_5 expat-1.95.6_1 
fontconfig-2.2.1 freetype2-2.1.4_1 imake-4.3.0 pkgconfig-0.15.0 to run.

/net/cvsup-without-gui:% make pretty-print-run-depends-list
(no dependencies...)

Then the cheat's way of getting cvsup(1) configured quickly is to add
some variable settings to /etc/make.conf:

SUP_UPDATE= yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=   -g -L 2
SUPHOST=cvsup.XX.FreeBSD.org   [1]
SUPFILE=/usr/share/examples/cvsup/standard-supfile [2]
PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile

[1] Choose a server near to you

[2] standard-supfile will get you the sources for the same OS branch
as you installed.  In you case, probably RELENG_5_1.  However, if you
aren't interested in updating the system sources, it doesn't really
matter what this is set to.

Having done that, you can now:

# cd /usr/ports
# make update

to update your ports tree.  If you've got bandwidth to burn, you can
even go as far as removing most of the structure under /usr/ports
before you run cvsup(1):

# cd /usr/ports
# rm -rf [a-z]*

otherwise, you should probably do the register-the-files-with-cvsup
thing.

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


VMware3 FreeBSD port

2003-07-09 Thread Mike Futerko
Hi,

Does VMware3 support USB under FreeBSD 5.1, and how to configure it?

I have USB scanner (HP ScanJet 3500C) which is not supported by SANE, so I
hope I could use it with windoze installed into VMware...

Thanks in advance,
Mike.


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


How do I max a 6Mbps link

2003-07-09 Thread Max Clark
Hi all,

What configuration changes do I need to make to two freebsd-stable boxes to
fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
transfers.

The target application is proftpd with ncftpd as the client.

Thanks in advance,
Max

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


Restricting logins by terminal

2003-07-09 Thread Charley

I would like to restrict user login based on the terminal where the login 
request originates.  Ideally, I want Root, and ONLY Root, to be able to log 
in at the console.  The system is already running SSHD, so I want to be able 
to check logins via SSH.  Root should not be allowed to log in from a remote 
terminal and SU should be disabled for any remote terminal.  Is there 
something in the ports collection that I've missed that will do this?  Maybe 
I'm just blind and haven't yet seen something like this in the manual.

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


Re: USB mouse/keyboard causes kernel panic during boot sequence

2003-07-09 Thread Joshua Oreman
On Tue, Jul 08, 2003 at 01:05:18PM -0400 or thereabouts, Michael E. Mercer wrote:
 On Tue, 2003-07-08 at 12:11, Joshua Oreman wrote:
  On Mon, Jul 07, 2003 at 11:43:21PM -0400 or thereabouts, Michael E. Mercer wrote:
   Alrighty then,
   
   Ok, after following FAQ 18.13 on the freebsd web site,
   I've been struggling for the last 4 hours trying to get this thing to
   dump core but it just won't! I added ad2s1b to the dumpdev in rc.conf
   and also read about kernel init problems need to have dumpdev added to
   the loader. So I added it to loader.conf as well. 
  
  Your swap partition must be at least a few megs bigger than your physical
  RAM.
  
 My swap is 1 Gig. I also changed MAXMEM in my kernel to a much smaller
 size... still can not get a dump...

Ah, silly me. Since this is a device probe panic, rc.conf setting dumpdev
won't ever happen.

There is one last thing you can do: put
options DDB
in your kernel config file. Recompile. Reproduce.
ddb trace
... please capture all output
ddb continue
...
ddb continue
Uptime - 0s
Rebooting...

-- Josh

 
 Any ideas?
 
   
   Anyways, the method it points to is uhci_idone. 
  
  Thanks!
 
 No, thank you for your help!
 
 Michael
  
  -- Josh
  
   
   That's all I can find out at the moment, unless someone can inform me of
   what I am doing wrong.
   
   Thanks
   Michael
   
   
   
   On Mon, 2003-07-07 at 13:03, Joshua Oreman wrote:
On Mon, Jul 07, 2003 at 12:34:48PM -0400 or thereabouts, Michael E. Mercer 
wrote:
 Anybody?!?!?!
 
 
 
 Hello peoples,
 
 I have posted this before and unfortunately I still have this problem.
 During the boot sequence, when it probes for the USB devices, it causes
 a kernel panic (page fault) if there is either (or both) a USB mouse
 and/or keyboard attached.
 
 If I remove the mouse and keyboard and let it boot up, then connect
 them, they work just fine.
 
 Any ideas?

 Fatal trap 12: page fault while in kernel mode
 mp_lock = 0024; cpuid = 0; lapic.id = 
 fault virtual address = 0x4
 fault code = supervisor read, page not present
 instruction pointer = 0x8: 0xc02583c4
   
 stack pointer   = 0x10: 0xc045fd20
 frame pointer   = 0x10: 0xc045fd3c
 code segment= base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def 32 1, gran 1
 processor eflags= interrupt enabled, resume, IOPC=0
 current process = 0(swapper)
 interrupt mask  = none - SMP: XXX
 trap number = 12
 panic: page fault
 mp_lock = 0024; cpuid = 0; lapic.id = 
 Uptime - 0s

That pointer I highlighted is important; it is also kernel-dependent.
Please read FAQ #18.13 to find out how to give us some useful function names,
or better yet, a backtrace.

-- Josh

 
 Thanks
 Michael Mercer
 
 
 ___
 [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 do I max a 6Mbps link

2003-07-09 Thread Simon

Sounds like you have a problem with your server/network hardware or
firewall/proftpd settings. FreeBSD out of the box on low-end Intel hardware
can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
your harddrive on receiving end can write at least this fast and your network
is capable of such transfers. Sometimes faulty switches/cable wires can
cause packet loss/delays, causing a bottleneck. It could be a number of
things, but I would start with testing your network.

-Simon

On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:

Hi all,

What configuration changes do I need to make to two freebsd-stable boxes to
fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
transfers.

The target application is proftpd with ncftpd as the client.

Thanks in advance,
Max

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
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 do I max a 6Mbps link

2003-07-09 Thread Lapinski, Michael (Research)
1) 6mbps link, which is roughly 3megs/sec is inaccurate 
   6 Mbits is roughly 600kilobytes/second

2) A common way to speed up transfers is to tune your 
   tcp window sizes using /sbin/sysctl.
   The two you may wish to lok at are:
net.inet.tcp.sendspace
net.inet.tcp.recvspace
   try values like 128000 and 256000
   Doing so so on bnoth machien sshould increase your throughput.

   A good reference for all the syctl variable is available at
   http://people.freebsd.org/~adrian/sysctl.descriptions, 
   the freebsd manual may have em soemwhere but i cant recall 
   where.

-mtl

--
Michael Lapinski
Computer Scientist
GE Research


I think there is a world market for maybe five computers.
- IBM Chairman Thomas Watson, 1943


--Original Message-
-From: Simon [mailto:[EMAIL PROTECTED]
-Sent: Wednesday, July 09, 2003 1:19 PM
-To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max Clark
-Subject: Re: How do I max a 6Mbps link
-
-
-
-Sounds like you have a problem with your server/network hardware or
-firewall/proftpd settings. FreeBSD out of the box on low-end 
-Intel hardware
-can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
-your harddrive on receiving end can write at least this fast 
-and your network
-is capable of such transfers. Sometimes faulty switches/cable 
-wires can
-cause packet loss/delays, causing a bottleneck. It could be a 
-number of
-things, but I would start with testing your network.
-
--Simon
-
-On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
-
-Hi all,
-
-What configuration changes do I need to make to two 
-freebsd-stable boxes to
-fully max out a 6Mbps/220ms network link? This is for bulk 
-500+MB file
-transfers.
-
-The target application is proftpd with ncftpd as the client.
-
-Thanks in advance,
-Max
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-To unsubscribe, send any mail to 
-[EMAIL PROTECTED]
-
-
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-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 do I max a 6Mbps link

2003-07-09 Thread Thomas T. Veldhouse
The problem is probably file I/O.  I use samba for use with Windows.  I can
transfer a large file from my FreeBSD server and get almost 10MB/s (using an
Intel 10/100 card).  However, when I transfer files to FreeBSD, I only get
about 6MB/s.  I seem to get this same ratio when using FTP transfers as
well.  This leads me to believe it is I/O bound (my FreeBSD machine has a
UDMA66, mainboard limitted to UDMA33,  7200RPM drive in it running
softupdates).  BTW -- this is one area where Linux (w / reiserfs) kicks the
FreeBSD daemon all over town.

Tom Veldhouse

- Original Message -
From: Simon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max Clark
[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 12:19 PM
Subject: Re: How do I max a 6Mbps link



 Sounds like you have a problem with your server/network hardware or
 firewall/proftpd settings. FreeBSD out of the box on low-end Intel
hardware
 can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
 your harddrive on receiving end can write at least this fast and your
network
 is capable of such transfers. Sometimes faulty switches/cable wires can
 cause packet loss/delays, causing a bottleneck. It could be a number of
 things, but I would start with testing your network.

 -Simon

 On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:

 Hi all,
 
 What configuration changes do I need to make to two freebsd-stable boxes
to
 fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
 transfers.
 
 The target application is proftpd with ncftpd as the client.
 
 Thanks in advance,
 Max
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-isp
 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: How do I max a 6Mbps link

2003-07-09 Thread Simon

Ops, you're absolutely right, I don't know how I got the 3megs, I'm in the middle
of getting a mortgage, if you know what I mean. Sorry for any confusion I might
have caused. I do know my bits and bytes and I was way off indeed, my mistake.

-Simon

On Wed, 9 Jul 2003 13:31:54 -0400, Lapinski, Michael (Research) wrote:

1) 6mbps link, which is roughly 3megs/sec is inaccurate 
   6 Mbits is roughly 600kilobytes/second

2) A common way to speed up transfers is to tune your 
   tcp window sizes using /sbin/sysctl.
   The two you may wish to lok at are:
   net.inet.tcp.sendspace
   net.inet.tcp.recvspace
   try values like 128000 and 256000
   Doing so so on bnoth machien sshould increase your throughput.

   A good reference for all the syctl variable is available at
   http://people.freebsd.org/~adrian/sysctl.descriptions, 
   the freebsd manual may have em soemwhere but i cant recall 
   where.

-mtl

--
Michael Lapinski
Computer Scientist
GE Research


I think there is a world market for maybe five computers.
- IBM Chairman Thomas Watson, 1943


--Original Message-
-From: Simon [mailto:[EMAIL PROTECTED]
-Sent: Wednesday, July 09, 2003 1:19 PM
-To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max Clark
-Subject: Re: How do I max a 6Mbps link
-
-
-
-Sounds like you have a problem with your server/network hardware or
-firewall/proftpd settings. FreeBSD out of the box on low-end 
-Intel hardware
-can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
-your harddrive on receiving end can write at least this fast 
-and your network
-is capable of such transfers. Sometimes faulty switches/cable 
-wires can
-cause packet loss/delays, causing a bottleneck. It could be a 
-number of
-things, but I would start with testing your network.
-
--Simon
-
-On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
-
-Hi all,
-
-What configuration changes do I need to make to two 
-freebsd-stable boxes to
-fully max out a 6Mbps/220ms network link? This is for bulk 
-500+MB file
-transfers.
-
-The target application is proftpd with ncftpd as the client.
-
-Thanks in advance,
-Max
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-To unsubscribe, send any mail to 
-[EMAIL PROTECTED]
-
-
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-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 do I max a 6Mbps link

2003-07-09 Thread Mykroft Holmes IV


Simon wrote:

Sounds like you have a problem with your server/network hardware or
firewall/proftpd settings. FreeBSD out of the box on low-end Intel hardware
can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
your harddrive on receiving end can write at least this fast and your network
is capable of such transfers. Sometimes faulty switches/cable wires can
cause packet loss/delays, causing a bottleneck. It could be a number of
things, but I would start with testing your network.
-Simon



6Mb/s is more like 900KB/s not 3 megs/sec(Which would be 24Mbps)

Adam

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


Re: How do I max a 6Mbps link

2003-07-09 Thread Kevin Stevens


On Wed, 9 Jul 2003, Max Clark wrote:

 Hi all,

 What configuration changes do I need to make to two freebsd-stable boxes to
 fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
 transfers.

You need to increase the maximum TCP window size setting (not sure what
sysctl it is) to around 256KB to accommodate the bandwidth/latency
product.  In brief, 6Mb/1500B frames = 500 frames/sec.  Using 250ms for
simplicity, you need a large enough TCP window to handle 1/4 of that (125
frames x 1500 bytes/frame = 183KB, round up to 256KB) to permit continuous
streaming.  Note that TCP windows actually only go to 64KB, you need to
use TCP window scaling as a multiplier to go beyond that.  Both stations
must support it.

You can find more info on this on the web, look for
high-latency/high-bandwidth.

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


Re: Installing on a Sun Ultra 10

2003-07-09 Thread Tillman
On Wed, Jul 09, 2003 at 05:04:32PM +0100, Wayne Pascoe wrote:
 On Wed, Jul 09, 2003 at 04:42:57PM +0100, scott wrote:
  when I installed OpenBSD, terminal type was 'Sun' !!!
  
  not 100% certain it's the same for FreeBSD, but possibly worth a try 
 
 You don't get to specify a terminal type, just choose from a list of 5
 :(

Try 'n' and 'p' instead of arrow keys.

(I ran into this same problem when I installed on my Ultra 5)

-T


-- 
The priest Sung-yuan said, Why does the enlightened man not stand on his feet
and explain himself? And he said, It is not with the tongue that you speak.
- Zen koan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fxtv video capturing

2003-07-09 Thread david
Hi, I'm using freebsd 5.0

I am using fxtv to watch TV and I decided to try the video capturing
feature. I am able to catch video but unable to hear the audio. I
did select the recording source and record levels with KMix
and I do have a audio file which was captured and it plays fine.
below are the files in the directory I selected:

movie.AUDraw
movie.AVraw
movie.aiff
movie.mpg
movie.sh*

I ran the shell script movie.sh, but it still doesn't combine the 
the audio file with the video file. If you had a similar problem
and solve it, let me know. I really would appreciate it. Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Swap usage locks up my laptop.

2003-07-09 Thread Jon Fox
Whenever I start up gnome I'm getting panics and reboots, until I got
wise and ran ``swapoff'' and started up gnome. No panics. 

How can I check my swap parition in FreeBSD. I've used fsck and
badblocks on ext2 in Linux, but how do I check my FreeBSD swap? 



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


Re: Moving locate DB from weekly to daily?

2003-07-09 Thread Lowell Gilbert
Dragoncrest [EMAIL PROTECTED] writes:

   Other than just copying the script 310.locate from the
 weekly folder to the daily folder, what else do I need to do in order
 to move the rebuilding of the locate database from weekly to daily?  I
 want to rebuild it daily if possible.  I doubt that'll put a lot of
 extra load on my machine as it does the rebuild and other cron tasks
 around 3am anyways.  Any suggestions are welcome.

That should work fine, although if it were I, I'd use a different
number because there's already a 310.* script in periodic/daily.
This isn't important to the computer, of course, but it may save
some human confusion in the future.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pooh.ASARian.org security run output (lots of wrong arpmessages)

2003-07-09 Thread Lowell Gilbert
John Murphy [EMAIL PROTECTED] writes:

 Fuzzy [EMAIL PROTECTED] wrote:
 
 Is there any way to convince the kernel not to log these
 incorrect arp messages?
 
 currently we have...
 net.link.ether.inet.log_arp_wrong_iface: 1
 
 Is there a different sysctl or variable for rc.conf
 to stop it from logging incorrect information?
 
 Indeed there is but only in 5.0 or greater I believe.  It's called:
 
 net.link.ether.inet.log_arp_movements

Actually, both of those are available in -STABLE.
However, it's usually better to fix the source of the address changes,
if it's under your control.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Gif Problem

2003-07-09 Thread Company 2210
I'm running freebsd 5.0, and trying to setup a VPN tunnel between two boxes. However, 
I'm having some problems getting a gif tunnel working - the setup looks like this:

Box-A 
ed0: 10.0.0.2
rl0:81.17.78.1

Box-B
aue0: 10.0.0.1
rl0:81.17.78.81

Now, I've added the following lines to rc.conf to preconfigure the gif interface: 

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


RE: How do I max a 6Mbps link

2003-07-09 Thread Dukemaster
Wrong again a 6megabit link is exactly 768kilobytes/sec


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lapinski, Michael
(Research)
Sent: Wednesday, July 09, 2003 1:32 PM
To: 'Simon'; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max
Clark
Subject: RE: How do I max a 6Mbps link


1) 6mbps link, which is roughly 3megs/sec is inaccurate 
   6 Mbits is roughly 600kilobytes/second

2) A common way to speed up transfers is to tune your 
   tcp window sizes using /sbin/sysctl.
   The two you may wish to lok at are:
net.inet.tcp.sendspace
net.inet.tcp.recvspace
   try values like 128000 and 256000
   Doing so so on bnoth machien sshould increase your throughput.

   A good reference for all the syctl variable is available at
   http://people.freebsd.org/~adrian/sysctl.descriptions, 
   the freebsd manual may have em soemwhere but i cant recall 
   where.

-mtl

--
Michael Lapinski
Computer Scientist
GE Research


I think there is a world market for maybe five computers.
- IBM Chairman Thomas Watson, 1943


--Original Message-
-From: Simon [mailto:[EMAIL PROTECTED]
-Sent: Wednesday, July 09, 2003 1:19 PM
-To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max Clark
-Subject: Re: How do I max a 6Mbps link
-
-
-
-Sounds like you have a problem with your server/network hardware or
-firewall/proftpd settings. FreeBSD out of the box on low-end 
-Intel hardware
-can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
-your harddrive on receiving end can write at least this fast 
-and your network
-is capable of such transfers. Sometimes faulty switches/cable 
-wires can
-cause packet loss/delays, causing a bottleneck. It could be a 
-number of
-things, but I would start with testing your network.
-
--Simon
-
-On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
-
-Hi all,
-
-What configuration changes do I need to make to two 
-freebsd-stable boxes to
-fully max out a 6Mbps/220ms network link? This is for bulk 
-500+MB file
-transfers.
-
-The target application is proftpd with ncftpd as the client.
-
-Thanks in advance,
-Max
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-To unsubscribe, send any mail to 
-[EMAIL PROTECTED]
-
-
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-To unsubscribe, send any mail to [EMAIL PROTECTED]
-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
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 do I max a 6Mbps link

2003-07-09 Thread Lapinski, Michael (Research)
I said roughly.

--
Michael Lapinski
Computer Scientist
GE Research


I think there is a world market for maybe five computers.
- IBM Chairman Thomas Watson, 1943


--Original Message-
-From: Dukemaster [mailto:[EMAIL PROTECTED]
-Sent: Wednesday, July 09, 2003 2:28 PM
-To: 'Lapinski, Michael (Research)'
-Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
-Subject: RE: How do I max a 6Mbps link
-
-
-Wrong again a 6megabit link is exactly 768kilobytes/sec
-
-
--Original Message-
-From: [EMAIL PROTECTED]
-[mailto:[EMAIL PROTECTED] On Behalf Of Lapinski, Michael
-(Research)
-Sent: Wednesday, July 09, 2003 1:32 PM
-To: 'Simon'; [EMAIL PROTECTED]; 
-[EMAIL PROTECTED]; Max
-Clark
-Subject: RE: How do I max a 6Mbps link
-
-
-1) 6mbps link, which is roughly 3megs/sec is inaccurate 
-   6 Mbits is roughly 600kilobytes/second
-
-2) A common way to speed up transfers is to tune your 
-   tcp window sizes using /sbin/sysctl.
-   The two you may wish to lok at are:
-  net.inet.tcp.sendspace
-  net.inet.tcp.recvspace
-   try values like 128000 and 256000
-   Doing so so on bnoth machien sshould increase your throughput.
-
-   A good reference for all the syctl variable is available at
-   http://people.freebsd.org/~adrian/sysctl.descriptions, 
-   the freebsd manual may have em soemwhere but i cant recall 
-   where.
-
--mtl
-
---
-Michael Lapinski
-Computer Scientist
-GE Research
-
-
-I think there is a world market for maybe five computers.
-- IBM Chairman Thomas Watson, 1943
-
-
---Original Message-
--From: Simon [mailto:[EMAIL PROTECTED]
--Sent: Wednesday, July 09, 2003 1:19 PM
--To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
-Max Clark
--Subject: Re: How do I max a 6Mbps link
--
--
--
--Sounds like you have a problem with your server/network hardware or
--firewall/proftpd settings. FreeBSD out of the box on low-end 
--Intel hardware
--can  easily sustain 6mbps link, which is roughly 3megs/sec. 
-Make sure
--your harddrive on receiving end can write at least this fast 
--and your network
--is capable of such transfers. Sometimes faulty switches/cable 
--wires can
--cause packet loss/delays, causing a bottleneck. It could be a 
--number of
--things, but I would start with testing your network.
--
---Simon
--
--On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
--
--Hi all,
--
--What configuration changes do I need to make to two 
--freebsd-stable boxes to
--fully max out a 6Mbps/220ms network link? This is for bulk 
--500+MB file
--transfers.
--
--The target application is proftpd with ncftpd as the client.
--
--Thanks in advance,
--Max
--
--___
--[EMAIL PROTECTED] mailing list
--http://lists.freebsd.org/mailman/listinfo/freebsd-isp
--To unsubscribe, send any mail to 
--[EMAIL PROTECTED]
--
--
--
--___
--[EMAIL PROTECTED] mailing list
--http://lists.freebsd.org/mailman/listinfo/freebsd-isp
--To unsubscribe, send any mail to 
-[EMAIL PROTECTED]
--
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-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]


Lexmark

2003-07-09 Thread Per Nilsson
Heya.

My name is Per Nilsson, and i am a true FreeBSD user, but I have one problem 
now. I got myself a new computerpackage, and i bought a combo-unit for it, 
with a printer and a scanner. The name on that unit is 'Lexmark x75' and you 
can read about it at: 
http://www.lexmark.com/Canada/printers/inkjet/X75/X75_tech.html

Now I was wondering if FreeBSD 4.7 or higher support that Lexmark in any 
way, and where I can get software that works on it?!

// Per Nilsson

_
Hitta rätt köpare på MSN Köp  Sälj http://www.msn.se/koposalj
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ICMP redirect

2003-07-09 Thread Bob Hall
This isn't critical, but I'm wondering if someone can tell me what 
is going on here. 

I did
traceroute 217.20.241.75
and got several of the following on ttyv0, which displays kernel and 
other messages:
icmp redirect from 213.232.120.198: 217.20.241.75 = 213.232.120.194

I'm guessing that the router at 213.232.120.198 is redirecting ICMP 
packets, but why is this information showing up on the tty that 
handles internal messages?

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


Re: ICMP redirect

2003-07-09 Thread Dan Nelson
In the last episode (Jul 09), Bob Hall said:
 This isn't critical, but I'm wondering if someone can tell me what is
 going on here.
 
 I did
   traceroute 217.20.241.75
 and got several of the following on ttyv0, which displays kernel and 
 other messages:
   icmp redirect from 213.232.120.198: 217.20.241.75 = 213.232.120.194
 
 I'm guessing that the router at 213.232.120.198 is redirecting ICMP
 packets, but why is this information showing up on the tty that
 handles internal messages?

You probably have the net.inet.icmp.log_redirect sysctl set to 1.  It
defaults to 0.

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


ATI-Radeon-9000

2003-07-09 Thread cloper
I have a Dell Latitude D600 Laptop with the ATI Radeon 9000 video 
chipset, with FreeBSD-4.8 w/ XFree86-4.3, yet I still can not get X to 
work. I just get 'symbol' errors for the ATI driver. Anyone else have 
the same problem?
Thanks,
[EMAIL PROTECTED]

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


Re: ssh keepalives

2003-07-09 Thread Philip J. Koenig
On 9 Jul 2003 at 20:24, Paulius Bulotas boldly uttered: 

 Hi,
 
 a bit late answer, but I'm not able to keep up with my email traffic ;)
 
 Apply this patch to OpenSSH, if you are running FreeBSD:
 http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html
 
 and use Heartbeat option with something less then dynamic rules life ;)
 
 Regards,
 Paulius


Aha, now this is a very interesting response!

Considering that the author of the patch greatly discourages usage of 
the older OpenSSH code, and considering that my recently updated 4.8-
STABLE box is still using OpenSSH 3.5p1 rather than the latest 3.6p1 
mentioned in the patch, I'm a little disinclined to do this patch 
because I'll have to re-patch it every time I build/install world.

If there's any possibility this patch will make it into the 
mainstream distribution I'll just wait for that.  Will wait and see, 
but thanks very much for the tip!



 
 On 03 07 01, Philip J. Koenig wrote:
  
  I'm having a problem with premature termination of ssh sessions after 
  an idle period of a few minutes, getting a connection reset by peer 
  message.  I presume this is due to intermediate stateful firewalls 
  closing the connection when no traffic passes for a period of time.
  
  In the past I've addressed this issue when I have control of the 
  destination host, by including the following parameters in 
  sshd_config:
  
  ClientAliveInterval 30
  ClientAliveCountMax 4
  
  
  However in this case I don't have control over the destination.  It's 
  a self-contained network device.
  
  man 5 ssh_conf says that KeepAlive is the default with ssh.  Is 
  there any other tactic I can use to keep these connections from 
  closing after a few minutes of inactivity?
  
  Currently on FreeBSD 4.8-stable with OpenSSH_3.5p1


-- 
Philip J. Koenig   
[EMAIL PROTECTED]
Electric Kahuna Systems -- Computers  Communications for 
the New Millenium


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


Re: ssh keepalives

2003-07-09 Thread Chuck Swiger
Philip J. Koenig wrote:
On 9 Jul 2003 at 20:24, Paulius Bulotas boldly uttered: 
a bit late answer, but I'm not able to keep up with my email traffic ;)

Apply this patch to OpenSSH, if you are running FreeBSD:
http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html
[ ... ]
Considering that the author of the patch greatly discourages usage of 
the older OpenSSH code, and considering that my recently updated 4.8-
STABLE box is still using OpenSSH 3.5p1 rather than the latest 3.6p1 
mentioned in the patch, I'm a little disinclined to do this patch 
because I'll have to re-patch it every time I build/install world.

If there's any possibility this patch will make it into the 
mainstream distribution I'll just wait for that.  Will wait and see, 
but thanks very much for the tip!
Why not add the patch mentioned above to /usr/ports/security/openssh/files, and 
then build openssh-3.6p1 as a package?  When you installworld, re-add this 
package afterwards...

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


DNS misconfigured, mail servers can't find me

2003-07-09 Thread pat bey
Or at least I think they can't 
Toomas, phaza7 is not a user on in the smtp but tweaxor is 
root never recieved any mail.   I think its a DNS problem cause I haven't configured a 
MX record in BIND 8.3.2 or a A record either.  guess that would help but having 
trouble following the handbook on how to setup a master name server for my lan will 
that help
In RFC 2181 it's says that MX should never point to CNAME why??
How can I tell in the master name server is running properly thanks for your time and 
consideration ;-)

Toomas Aas [EMAIL PROTECTED] wrote:
OK, as I mentioned in my previous message I cc-d it to
[EMAIL PROTECTED]

My mail server recorded the following in its log as it
tried to send mail to this address

Jul 9 16:59:54 lv sendmail[10974]: h69Dxml10970: to=
 , delay=00:00:06, xdelay=00:00:02, mailer=esmtp, pri=93327, relay=hijra.homeunix.com. 
[66.136.178.42], dsn=5.1.1, stat=User unknown

Note that I was able to successfully connect to hijra.homeunix.com. [66.136.178.42],
but it responded that user phaza7 is unknown. This leaves two possibilities:

* 66.136.178.42 is not really your server, which means that there is some confusion
with dyndns.org nameserver.
* you haven't defined local user phaza7 in your server.

Mail to [EMAIL PROTECTED] was successfully delivered:

Jul 9 16:59:55 lv sendmail[10974]: h69Dxml10970: to=, delay=00:00:07, xdelay=00:00:03, 
mailer=esmtp, pri=93327, relay=hijra.homeunix.com. [66.136.178.42], dsn=2.0.0, 
stat=Sent (Ok: queued as E19E9B55)
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* The cost of living hasn't affected its popularity.



Suppressed minds have no Freedom of Choice

-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing on a Sun Ultra 10

2003-07-09 Thread Wayne Pascoe
On Wed, Jul 09, 2003 at 11:56:34AM -0600, Tillman wrote:
 On Wed, Jul 09, 2003 at 05:04:32PM +0100, Wayne Pascoe wrote:
  On Wed, Jul 09, 2003 at 04:42:57PM +0100, scott wrote:
   when I installed OpenBSD, terminal type was 'Sun' !!!
   
   not 100% certain it's the same for FreeBSD, but possibly worth a try 
  
  You don't get to specify a terminal type, just choose from a list of 5
  :(
 
 Try 'n' and 'p' instead of arrow keys.
 
 (I ran into this same problem when I installed on my Ultra 5)

Out of curiosity, which terminal did you use from the list ? VT100,
ANSI, FreeBSD Terminal (mono), FreeBSD Terminal (color) or Xterm ?

Thanks :)

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


Re: ports installation error

2003-07-09 Thread Alexander Pohoyda
kanematsu [EMAIL PROTECTED] writes:

 Jul  5 10:47:16 ws kernel: swap_pager: out of swap space
 Jul  5 10:47:17 ws kernel: swap_pager_getswapspace: failed
 Jul  5 10:47:21 ws kernel: pid 9345 (ld), uid 0, was killed: out of swap space
 
 Does anyone have any idea?

Seems like you need more RAM or swap space.
Please follow this link:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-space.html


P.S. Questions are welcome on freebsd-questions@ mailing list.

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


make buildworld .. 4.5 to 4.8

2003-07-09 Thread Jeff MacDonald
Hi,

I have an older machine that was recently turned over
to me for administration. It's running Fbsd 4.5 right
now and is a product machine. Re-install is not an option.

Is it safe to do the mergemaster/makebuildworld etc. operation
on it to bring it from 4.5 to 4.8 in one step ?

I've only got experience doing it from 1 point release to
another.

Thanks.

Jeff.

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


Re: SquirrelMail on FreeBSD

2003-07-09 Thread Chris
Yes this I have also enabled.

-cs

Alfonso Romero wrote:

Is session.use_cookies = 1 in php.ini?
- Original Message -
From: Chris [EMAIL PROTECTED]
To: Stephen Hovey [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 4:54 PM
Subject: Re: SquirrelMail on FreeBSD
 

Yes,

I have tried all the php suggestions on the squirrel docs page.
Including sessions.auto_start, register_globals etc.
-cs

Stephen Hovey wrote:

   

You got cookies enabled?

On Tue, 8 Jul 2003, Chris wrote:



 

Hello,

Has anyone had any trouble with the ports version of SquirrelMail.  I
updated my mail ports yesterday and built cclient and IMAP-uw without
ssl off.
I verified this by logging in through telnet:

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] ed IMAP4rev1
2003.337 at Tue, 8 Jul 2003 11:27:20 -0400 (EDT)
0001 login user password
0001 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY
SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User user
authenticated
0002 logout
* BYE ed IMAP4rev1 server terminating connection
0002 OK LOGOUT completed
Connection closed by foreign host.
So now that I know IMAP and cclient work I moved on to Squirrelmail.  It
installed successfully but when I try to login with a user on the system
I get:
You must be logged in to access this page.

I'm stuck on this one and would appreciate any help.  I acctually tried
the ports version and the latest version off of squirrelmail.org and I
get the same thing.
Thank You
-chris
___
[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: SquirrelMail on FreeBSD

2003-07-09 Thread Chris
Yes I have enabled cookies and have even tried to set explorer to 
default accept all cookies -- eek!

Thanks
-cs
Stephen Hovey wrote:

no no - I mean on the browser you are using to try and log in

On Tue, 8 Jul 2003, Chris wrote:

 

Yes,

I have tried all the php suggestions on the squirrel docs page.   
Including sessions.auto_start, register_globals etc.

-cs

Stephen Hovey wrote:

   

You got cookies enabled?

On Tue, 8 Jul 2003, Chris wrote:



 

Hello,

Has anyone had any trouble with the ports version of SquirrelMail.  I 
updated my mail ports yesterday and built cclient and IMAP-uw without 
ssl off.

I verified this by logging in through telnet:

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] ed IMAP4rev1 
2003.337 at Tue, 8 Jul 2003 11:27:20 -0400 (EDT)
0001 login user password
0001 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY 
SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User user 
authenticated
0002 logout
* BYE ed IMAP4rev1 server terminating connection
0002 OK LOGOUT completed
Connection closed by foreign host.

So now that I know IMAP and cclient work I moved on to Squirrelmail.  It 
installed successfully but when I try to login with a user on the system 
I get:

You must be logged in to access this page.

I'm stuck on this one and would appreciate any help.  I acctually tried 
the ports version and the latest version off of squirrelmail.org and I 
get the same thing.

Thank You
-chris
___
[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]


IPNAT... internal server what-to-do

2003-07-09 Thread keith
Hi all.
On my 4.7 system, I have ipfilter and ipnat.
I have several live ips aliased to my external ADSL interface.
Some of these are mapped into private internal ips. So far so good.
All works fine from outside. But if I want to reach one of the internal
servers from inside...eg www.smmc.qld.edu.au...the client  hangs looking.
Here are some of my rules:
==8 snip=

map fxp0 10.0.0.0/21 - 0/32  # ---OK maps internal getting out fine!

#www server
rdr fxp0 210.15.203.195/32 port 80 - 10.0.0.7 port 80
rdr dc0  210.15.203.195/32 port 80 - 10.0.0.7 port 80 #---No worky!

==8 snip=
I can figure there is a problem with this but dont have a clue how to fix it
I want to use fqdns inside not local ip addrs. It is more convenient for
users. BTW the ip address works fine...just the rdr or lookup stuff is
faulty
Help???
Thanks
Keith


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


Re: Installing on a Sun Ultra 10

2003-07-09 Thread Kris Kennaway
On Wed, Jul 09, 2003 at 04:48:55PM +0100, Wayne Pascoe wrote:
 Hi all,
 
 Does anyone have any tips for installing FreeBSD onto a Sun ultra10? I
 can boot from the CD-ROM and get to a screen asking me to pick a
 terminal. I've tried ANSI, VT-100 and FreeBSD terminal (mono). I can't
 use the arrow keys to select sysinstall options in any of these.
 
 I could start a standard install in ANSI mode by pressing 2 and then
 enter, however I couldn't do anything in the Disk menu.
 
 Any advice would be greatfully received.
 

The local console is not yet supported (it will be in 5.2)..see the
release notes and hardware guide.  It's recommended to use the serial
console to perform the installation.

Kris

pgp0.pgp
Description: PGP signature


Re: USB mouse/keyboard causes kernel panic during boot sequence

2003-07-09 Thread Michael E. Mercer
Josh,

Is there an easy way to capture this without me having to handwrite all
that info down myself?

Michael Mercer

On Wed, 2003-07-09 at 13:19, Joshua Oreman wrote:
 On Tue, Jul 08, 2003 at 01:05:18PM -0400 or thereabouts, Michael E. Mercer wrote:
  On Tue, 2003-07-08 at 12:11, Joshua Oreman wrote:
   On Mon, Jul 07, 2003 at 11:43:21PM -0400 or thereabouts, Michael E. Mercer wrote:
Alrighty then,

Ok, after following FAQ 18.13 on the freebsd web site,
I've been struggling for the last 4 hours trying to get this thing to
dump core but it just won't! I added ad2s1b to the dumpdev in rc.conf
and also read about kernel init problems need to have dumpdev added to
the loader. So I added it to loader.conf as well. 
   
   Your swap partition must be at least a few megs bigger than your physical
   RAM.
   
  My swap is 1 Gig. I also changed MAXMEM in my kernel to a much smaller
  size... still can not get a dump...
 
 Ah, silly me. Since this is a device probe panic, rc.conf setting dumpdev
 won't ever happen.
 
 There is one last thing you can do: put
 options DDB
 in your kernel config file. Recompile. Reproduce.
 ddb trace
 ... please capture all output
 ddb continue
 ...
 ddb continue
 Uptime - 0s
 Rebooting...
 
 -- Josh
 
  
  Any ideas?
  

Anyways, the method it points to is uhci_idone. 
   
   Thanks!
  
  No, thank you for your help!
  
  Michael
   
   -- Josh
   

That's all I can find out at the moment, unless someone can inform me of
what I am doing wrong.

Thanks
Michael



On Mon, 2003-07-07 at 13:03, Joshua Oreman wrote:
 On Mon, Jul 07, 2003 at 12:34:48PM -0400 or thereabouts, Michael E. Mercer 
 wrote:
  Anybody?!?!?!
  
  
  
  Hello peoples,
  
  I have posted this before and unfortunately I still have this problem.
  During the boot sequence, when it probes for the USB devices, it causes
  a kernel panic (page fault) if there is either (or both) a USB mouse
  and/or keyboard attached.
  
  If I remove the mouse and keyboard and let it boot up, then connect
  them, they work just fine.
  
  Any ideas?
 
  Fatal trap 12: page fault while in kernel mode
  mp_lock = 0024; cpuid = 0; lapic.id = 
  fault virtual address = 0x4
  fault code = supervisor read, page not present
  instruction pointer = 0x8: 0xc02583c4

  stack pointer   = 0x10: 0xc045fd20
  frame pointer   = 0x10: 0xc045fd3c
  code segment= base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, def 32 1, gran 1
  processor eflags= interrupt enabled, resume, IOPC=0
  current process = 0(swapper)
  interrupt mask  = none - SMP: XXX
  trap number = 12
  panic: page fault
  mp_lock = 0024; cpuid = 0; lapic.id = 
  Uptime - 0s
 
 That pointer I highlighted is important; it is also kernel-dependent.
 Please read FAQ #18.13 to find out how to give us some useful function names,
 or better yet, a backtrace.
 
 -- Josh
 
  
  Thanks
  Michael Mercer
  
  
  ___
  [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: ssh keepalives

2003-07-09 Thread Philip J. Koenig
On 9 Jul 2003 at 23:03, Paulius Bulotas boldly uttered: 


 On 03 07 09, Philip J. Koenig wrote:
   Apply this patch to OpenSSH, if you are running FreeBSD:
   http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html
  
  Considering that the author of the patch greatly discourages usage of 
  the older OpenSSH code, and considering that my recently updated 4.8-
  STABLE box is still using OpenSSH 3.5p1 rather than the latest 3.6p1 
  mentioned in the patch, I'm a little disinclined to do this patch 
  because I'll have to re-patch it every time I build/install world.
  
  If there's any possibility this patch will make it into the 
  mainstream distribution I'll just wait for that.  Will wait and see, 
  but thanks very much for the tip!
 
 I really don't know that ;) But it worked without a problem with 3.4 and
 3.5 versions for me, the only thing could be - you will have to apply
 some peaces of code manually, because of any differences of OpenSSH in
 base FreeBSD vs stock OpenSSH portable. But still, IMO that's the only
 option with dynamic ipfw rules ;)


Not sure what you're saying there - if I have a vanilla install of 
OpenSSH as provided in the base 4.8-STABLE system, am _not_ using 
ipfw, will I have to do additional work in addition to running the 
patch against the existing files?


-- 
Philip J. Koenig   
[EMAIL PROTECTED]
Electric Kahuna Systems -- Computers  Communications for 
the New Millenium


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


restoresymtable

2003-07-09 Thread Dick Hoogendijk
Inspecting the /usr directory I came across a 10MB file called
restoresymtable

Anybody got some idea where this came from?
Can I safely delete it?
How could it be created in the first place?

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


Re: restoresymtable

2003-07-09 Thread Larry Rosenman


--On Wednesday, July 09, 2003 23:02:20 +0200 Dick Hoogendijk 
[EMAIL PROTECTED] wrote:

Inspecting the /usr directory I came across a 10MB file called
restoresymtable
Anybody got some idea where this came from?
Can I safely delete it?
How could it be created in the first place?
it's from restore (as in dump/restore).

It's used by that process.  I **BELIEVE** it is safe to kill it after
the restore.


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


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


Running GNOME Applications

2003-07-09 Thread Ben Shin
I am currently using Window Maker as my desktop.  Whenever I run any GNOME 
app such as XMMS or GAIM, the GNOME panel and menu is superimposed on my 
current desktop.  Is there any way to prevent this?

Thanks in advance,
Ben
_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

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


Re: fxtv video capturing

2003-07-09 Thread Vulpes Velox
I've had problems with the script. I had to edit mine to get it to work. Convert
movie.AUDraw to a mp3 and try mplayer. If that does not work it means your audio
settings are messed.

On Wed, 9 Jul 2003 13:54:28 -0400
david [EMAIL PROTECTED] wrote:

 Hi, I'm using freebsd 5.0
 
 I am using fxtv to watch TV and I decided to try the video capturing
 feature. I am able to catch video but unable to hear the audio. I
 did select the recording source and record levels with KMix
 and I do have a audio file which was captured and it plays fine.
 below are the files in the directory I selected:
 
 movie.AUDraw
 movie.AVraw
 movie.aiff
 movie.mpg
 movie.sh*
 
 I ran the shell script movie.sh, but it still doesn't combine the 
 the audio file with the video file. If you had a similar problem
 and solve it, let me know. I really would appreciate it. Thanks
 ___
 [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: SquirrelMail on FreeBSD

2003-07-09 Thread Scott A. Moberly
 Yes I have enabled cookies and have even tried to set explorer to
 default accept all cookies -- eek!

 Thanks
 -cs

 Stephen Hovey wrote:

no no - I mean on the browser you are using to try and log in

On Tue, 8 Jul 2003, Chris wrote:



Yes,

I have tried all the php suggestions on the squirrel docs page.
Including sessions.auto_start, register_globals etc.


-cs

Stephen Hovey wrote:



You got cookies enabled?

On Tue, 8 Jul 2003, Chris wrote:





Hello,

Has anyone had any trouble with the ports version of SquirrelMail.  I
updated my mail ports yesterday and built cclient and IMAP-uw without
ssl off.

I verified this by logging in through telnet:

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] ed IMAP4rev1
2003.337 at Tue, 8 Jul 2003 11:27:20 -0400 (EDT)
0001 login user password
0001 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY
SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User
 user
authenticated
0002 logout
* BYE ed IMAP4rev1 server terminating connection
0002 OK LOGOUT completed
Connection closed by foreign host.

So now that I know IMAP and cclient work I moved on to Squirrelmail.
 It
installed successfully but when I try to login with a user on the
 system
I get:

You must be logged in to access this page.

I'm stuck on this one and would appreciate any help.  I acctually
 tried
the ports version and the latest version off of squirrelmail.org and I
get the same thing.

Thank You
-chris


Perhaps this has already been answered; but, have you:

cd /usr/local/squirrelmail
./configure

and set all appropriate options, i.e. imap hostname, port, type?

-- 
Scott A. Moberly
smoberly at karamazov.org

Microsoft: Where would you like to go to today
Linux: Where would you like to go tomorrow
FreeBSD: Hey,when are you guys going to catch up
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: restoresymtable

2003-07-09 Thread Mark
- Original Message - 
From: Dick Hoogendijk [EMAIL PROTECTED]
To: freebsd-questions [EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 11:03 PM
Subject: restoresymtable


 Inspecting the /usr directory I came across a 10MB file
 called restoresymtable

 Anybody got some idea where this came from?
 Can I safely delete it?
 How could it be created in the first place?


It was created by the restore program (recently restored a partion backed
up with dump?).

From the ever useful man restore:

Note that restore leaves a file restoresymtable in the root
directory to pass information between incremental restore passes.
This file should be removed when the last incremental has been
restored.

- Mark

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


monitor's frequency

2003-07-09 Thread przodownik
I would like to have more monitor's  frequency.How this doing (under FreeBSD 4.7)?

Thanks for any answers.


K.Kolakowski
Warsow Uniwersity of Technology




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


RE: NAT and MTU

2003-07-09 Thread Brent Wiese
 In the last episode (Jul 08), Brent Wiese said:
  I have a machine that is being double-NAT'd.
  
  Would it make sense to set the MTU lower to account for the NAT 
  overhead?
  
  It makes sense to me as I know MTU, but I like to check in case my 
  thinking isn't right. :)
 
 There is no overhead; all NAT does is rewrite IP addresses in 
 the header (and in some data packets of certain protocols 
 like FTP).  It adds no extra data.
 

I never messed w/ NAT enough to have learned this. There's always something
to learn!

Thanks to all who responded.

Brent

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


Re: restoresymtable

2003-07-09 Thread Peter Elsner
Quick search on google, brought up the following:

If you use the -r option to the restore command, it will create this file.
This is a checkpoint file, which the restore command uses when you are 
restoring
from multiple tapes.  For example, suppose you had a level 0 (full) dump tape
from a week ago and a level 1 (incremental) dump tape from yesterday and 
you need
to restore the entire disk.  You would run the restore -r command on the 
full dump
tape first, and then on the incremental dump tape to pick up the latest 
changes.
The restore command with the -r option assumes that additional restores may be
coming and so creates that restoresymtable file as an aid to help the next 
restore
command determine which directories or files need updating, creating, or 
deleting.

The restore -x option does not create this file, because it assumes no 
further
restores are coming.

After you are finished restoring your disk, you SHOULD remove the 
restoresymtable
file.  You do not want this file to appear on your next dump backup.  If a 
dump with
that file is used for a future restore operation, the old restoresymtable file
could end up overwriting the one that is being created at that time.



Peter

At 11:02 PM 7/9/2003 +0200, you wrote:
Inspecting the /usr directory I came across a 10MB file called
restoresymtable
Anybody got some idea where this came from?
Can I safely delete it?
How could it be created in the first place?
--
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anything below this line, is considered a signature line.
If you do not know what a signature is within an email
STOP here and do not read any further.   Thank you.
_
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.

System Administration - It's a dirty job, but somebody said I had to do it.

If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.
(NOTE: UCE is Unsolicited Commercial Email also known as
SPAM or junk mail).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nutball video question

2003-07-09 Thread mark tinguely

  For which device(s) does it have a non-free driver? Or hardware MPEG2
  devices are not supported by FreeBSD at all?

I am not aware of any MPEG2 hardware capture cards supported under FreeBSD
at this time. The MPEG2 chipsets are finally relatively inexpensive. There
are several drivers for Linux.

The Hauppauge WinTV PVR [based in a Philips decoder and Conexant CX23416
(aka iVAC-15) MPEG2 encoder chipset]. Sounds like a good board. Conexant
does not release information but the Linux driver web page has some
register information that they said should be enough to write the driver.
The web page says they put the YUV information in a strange order and this
would be important if you wish to use a fxtv-like application to watch on
screen. Both of these facts make me leary.

I read the KFIR MPEG chipsets are bad.

The Philips MPEG2 SAA6752 encoder (with SAA7134 video bridge) looks good on
paper, and Philip is great with providing product specs. Unfortunately,
the only board I saw using this chipset was from a company in Germany
for 250 Euros. It looks like this chipset is mostly embedded in video
consumer appliances.

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


Re: Running GNOME Applications

2003-07-09 Thread Joe Marcus Clarke
On Wed, 2003-07-09 at 17:05, Ben Shin wrote:
 I am currently using Window Maker as my desktop.  Whenever I run any GNOME 
 app such as XMMS or GAIM, the GNOME panel and menu is superimposed on my 
 current desktop.  Is there any way to prevent this?

Rebuild those applications after defining WITHOUT_GNOME in your
/etc/make.conf.  For example:

WITHOUT_GNOME=yes

Joe

 
 Thanks in advance,
 Ben
 
 _
 MSN 8 with e-mail virus protection service: 2 months FREE*  
 http://join.msn.com/?page=features/virus
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




signature.asc
Description: This is a digitally signed message part


Re: IPNAT... internal server what-to-do

2003-07-09 Thread keith
Thanks Mark,
The gateway is a dns server so I guess that is not a caching dns server.
I have a 4.7 system squid proxy machine on the inside which is the gateway
for the lan (then its gateway is the firewall)
Can I install the caching dns on it maybe?
Hints?
Thanks again (yet again Freebsd questions people rock)
Keith

 On Wednesday 09 July 2003 01:23 pm, [EMAIL PROTECTED] wrote:
 Hi all.
 On my 4.7 system, I have ipfilter and ipnat.
 I have several live ips aliased to my external ADSL interface. Some
 of these are mapped into private internal ips. So far so good. All
 works fine from outside. But if I want to reach one of the internal
 servers from inside...eg www.smmc.qld.edu.au...the client  hangs
 looking. Here are some of my rules:
 ==8 snip=

 map fxp0 10.0.0.0/21 - 0/32  # ---OK maps internal getting out fine!

 #www server
 rdr fxp0 210.15.203.195/32 port 80 - 10.0.0.7 port 80
 rdr dc0  210.15.203.195/32 port 80 - 10.0.0.7 port 80 #---No worky!

 ==8 snip=
 I can figure there is a problem with this but dont have a clue how to
 fix it I want to use fqdns inside not local ip addrs. It is more
 convenient for users. BTW the ip address works fine...just the rdr or
 lookup stuff is faulty

 There isn't really a way to do this currently.  (that was with 3.4.16 as
 I  remember perhaps support has been added now) because ipnat redirects
 from the  _outside_ interface to the inside and you want the inside
 reflected back  inside.  Not what it's meant to do.

 The easiest thing I can think of is to create a dummy dns entry on the
 local  machines or the caching dns server (if you have one) that points
 to the  10.0.0.7 address.

 -Mark



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


Re: USB mouse/keyboard causes kernel panic during boot sequence

2003-07-09 Thread Joshua Oreman
On Wed, Jul 09, 2003 at 04:38:09PM -0400 or thereabouts, Michael E. Mercer wrote:
 Josh,
 
 Is there an easy way to capture this without me having to handwrite all
 that info down myself?

Unless you have a serial console, no.
However, some kernel programmer on this list may be able to give a function
that enables dumping on a certain device (as a ddb call). Anyone?

-- Josh

 
 Michael Mercer
 
 On Wed, 2003-07-09 at 13:19, Joshua Oreman wrote:
  On Tue, Jul 08, 2003 at 01:05:18PM -0400 or thereabouts, Michael E. Mercer wrote:
   On Tue, 2003-07-08 at 12:11, Joshua Oreman wrote:
On Mon, Jul 07, 2003 at 11:43:21PM -0400 or thereabouts, Michael E. Mercer 
wrote:
 Alrighty then,
 
 Ok, after following FAQ 18.13 on the freebsd web site,
 I've been struggling for the last 4 hours trying to get this thing to
 dump core but it just won't! I added ad2s1b to the dumpdev in rc.conf
 and also read about kernel init problems need to have dumpdev added to
 the loader. So I added it to loader.conf as well. 

Your swap partition must be at least a few megs bigger than your physical
RAM.

   My swap is 1 Gig. I also changed MAXMEM in my kernel to a much smaller
   size... still can not get a dump...
  
  Ah, silly me. Since this is a device probe panic, rc.conf setting dumpdev
  won't ever happen.
  
  There is one last thing you can do: put
  options DDB
  in your kernel config file. Recompile. Reproduce.
  ddb trace
  ... please capture all output
  ddb continue
  ...
  ddb continue
  Uptime - 0s
  Rebooting...
  
  -- Josh
  
   
   Any ideas?
   
 
 Anyways, the method it points to is uhci_idone. 

Thanks!
   
   No, thank you for your help!
   
   Michael

-- Josh

 
 That's all I can find out at the moment, unless someone can inform me of
 what I am doing wrong.
 
 Thanks
 Michael
 
 
 
 On Mon, 2003-07-07 at 13:03, Joshua Oreman wrote:
  On Mon, Jul 07, 2003 at 12:34:48PM -0400 or thereabouts, Michael E. Mercer 
  wrote:
   Anybody?!?!?!
   
   
   
   Hello peoples,
   
   I have posted this before and unfortunately I still have this problem.
   During the boot sequence, when it probes for the USB devices, it causes
   a kernel panic (page fault) if there is either (or both) a USB mouse
   and/or keyboard attached.
   
   If I remove the mouse and keyboard and let it boot up, then connect
   them, they work just fine.
   
   Any ideas?
  
   Fatal trap 12: page fault while in kernel mode
   mp_lock = 0024; cpuid = 0; lapic.id = 
   fault virtual address = 0x4
   fault code = supervisor read, page not present
   instruction pointer = 0x8: 0xc02583c4
 
   stack pointer   = 0x10: 0xc045fd20
   frame pointer   = 0x10: 0xc045fd3c
   code segment= base 0x0, limit 0xf, type 0x1b
   = DPL 0, pres 1, def 32 1, gran 1
   processor eflags= interrupt enabled, resume, IOPC=0
   current process = 0(swapper)
   interrupt mask  = none - SMP: XXX
   trap number = 12
   panic: page fault
   mp_lock = 0024; cpuid = 0; lapic.id = 
   Uptime - 0s
  
  That pointer I highlighted is important; it is also kernel-dependent.
  Please read FAQ #18.13 to find out how to give us some useful function 
  names,
  or better yet, a backtrace.
  
  -- Josh
  
   
   Thanks
   Michael Mercer
   
   
   ___
   [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: Installing on a Sun Ultra 10

2003-07-09 Thread Tillman
On Wed, Jul 09, 2003 at 09:02:59PM +0100, Wayne Pascoe wrote:
 On Wed, Jul 09, 2003 at 11:56:34AM -0600, Tillman wrote:
  Try 'n' and 'p' instead of arrow keys.
  
  (I ran into this same problem when I installed on my Ultra 5)
 
 Out of curiosity, which terminal did you use from the list ? VT100,
 ANSI, FreeBSD Terminal (mono), FreeBSD Terminal (color) or Xterm ?

I don't recall, unfortunately. As Kris mentioned, if you can use a
serial console it'll be a much easier install  - of course, I didn't
know that at the time ;-)

-T

-- 
When you can do nothing what can you do?
- Zen koan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Disk cache size via sh?

2003-07-09 Thread Sean Chittenden
Is the following the correct way to figure out the disk cache size?

echo $((`sysctl -n vm.stats.vm.v_page_count` - \
 `sysctl -n vm.stats.vm.v_free_reserved` - \
 `sysctl -n vm.stats.vm.v_free_target`))

I can't tell if there's a limit in kern/vfs_cache.c though I couldn't
find anything worth while.
 
-sc
-- 
Sean Chittenden
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kern.ipc.maxsockets limits with 4GB of memory

2003-07-09 Thread Thomas Chaffic Mowad
On a Tyan s2466 motherboard with 4 gigs of ram and freebsd 4.7-release-p10
we're having trouble increasing maxsockets beyond 128k.  The kernel panics
when we try buildworlds with any more than 128k.  We were able to increase
maxsockets to 192k with a system that had 2gb and 256k with a system that
had 1.5gb.  Does anyone know what to do in order to get a higher number
for maxsockets?

We need that many sockets because we're trying to run SPECweb99 with over
2000 connections and the server starts dropping connections because theres
not enough sockets.  vmstat -z shows that the sockets are maxed out.

Someone thought that the kernel might need more memory so we tried
increasing VM_KMEM_MAXSIZE too 500 megs and then that caused a panic when
we booted up.

So we're kinda stuck here and any help would be greatly appreciated.

Thanks,
--Tom Mowad






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


Re: kern.ipc.maxsockets limits with 4GB of memory

2003-07-09 Thread Mike Silbersack

On Wed, 9 Jul 2003, Thomas Chaffic Mowad wrote:

 Someone thought that the kernel might need more memory so we tried
 increasing VM_KMEM_MAXSIZE too 500 megs and then that caused a panic when
 we booted up.

 So we're kinda stuck here and any help would be greatly appreciated.

 Thanks,
 --Tom Mowad

Have you tried increasing KVA_PAGES?

#
# Change the size of the kernel virtual address space.  Due to
# constraints in loader(8) on i386, this must be a multiple of 4.
# 256 = 1 GB of kernel address space.  Increasing this also causes
# a reduction of the address space in user processes.  512 splits
# the 4GB cpu address space in half (2GB user, 2GB kernel).
#
options KVA_PAGES=260

If that doesn't help, you may also consider trying 4.8-RELEASE or -STABLE;
I believe that some additional changes to fix handling of 4GB machines
were committed after 4.7-RELEASE.  (You'll have to search the mailinglist
archives to confirm this, I can't remember exactly when they occured.)

Also, how are you exhausting 128K sockets to do a test of 2000
simultaneous connections?  Are the rest all in the TIME_WAIT state?

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


Re: monitor's frequency

2003-07-09 Thread Adam
On Wed, 2003-07-09 at 04:02, przodownik wrote:
 I would like to have more monitor's  frequency.How this doing (under FreeBSD 4.7)?

If you are using X, this is easily set in the XF86Config file (check the
manpage).

-- 
Adam [EMAIL PROTECTED]

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


Can't get splash scr working - arg

2003-07-09 Thread Kevin Berrien
As I've been playing with FreeBSD 4.8 stable on a test box, I came 
across the splash screen feature after building my own kernel.  Figured 
I'd give it a try for the heck of it.

Anyways, I've had no success!  I've followed the various (not always 
identical) tutorials on www.baldwin.cx/splash/, free-bsd.org  the 
manual page.  Other than my kernel my install is stock 4.8.  I'm I 
missing something obvious?  Anyone know if a better tutorial?

Thanks!

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


Re: DNS and SMTP problem

2003-07-09 Thread pat bey
thanks Toomas for your help I'm new at this sort of thing.
I never got the two messages you sent to me but I did find this in log files.
Jul 9 08:04:36 hijra postfix/smtpd[5063]:E19EB55: reject:RCPT FROM lv.raad.tarty.ee
[194.xxx.xxx.xxx]:555[EMAIL PROTECTED]:user unknown in local recipient
table; from=[EMAIL PROTECTED] proto=ESMTP helo=lv.raad.tartu.ee
 
check from root mailbox shown this with pine
The following addresses had permanent fatal error root
(reason:553 5.1.8 [EMAIL PROTECTED]
Domain of sender address [EMAIL PROTECTED] does not exist)
{Which was the hostname before I got the hijra.homeunix.com but I change it manually
in rc.conf and in named.conf, localhost.rev, localhost.v6.rev}
mail in local queue:
/var/spool/mqueue is empty
   total requests: 0
mail in submit queue:
/var/spool/clientmqueue is empty
 total requests: 0
looking at uname
#uname -a
FreeBSD hijra.homeunix.com 4-8-Release
[EMAIL PROTECTED]: /usr/obj/usr/src/sys/GENERIC I386
 
I have a account with dyndns.org that's where I got the host name but it has a option 
for
Mail Exchanger(optional):   Should I fill this in with hijra.homeunix.com or hijra.  
The ip address is the address that points to my router which updates my ip address 
whenever it change by my isp.   thanks for your time and considerations

Toomas Aas [EMAIL PROTECTED] wrote:
Hi!

 my domain name is hijra.homeunix.com and i'm trying to
 be authoritative for my local lan so my xp box can use this server with
 Outlook Express to send and receive mail. 

OK, let's do some DNS checks:

# host hijra.homeunix.com
hijra.homeunix.com has address 66.136.178.42

# dig hijra.homeunix.com SOA

;  DiG 8.3  hijra.homeunix.com SOA
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 2
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;; hijra.homeunix.com, type = SOA, class = IN

;; AUTHORITY SECTION:
homeunix.com. 30M IN SOA ns1.dyndns.org. hostmaster.dyndns.org. (
2002043347 ; serial
3H ; refresh
30M ; retry
1W ; expiry
30M ) ; minimum

It looks like homeunix.com is a domain whose DNS server is ns1.dyndns.org,
and hijra.homeunix.com is a host in that domain, with address
66.136.178.42. Furthermore, it looks like hijra.homeunix.com is not
a subdomain, but just a single host (represented by A record in homeunix.com
zone). Hence it makes no sense to try to be authoritative for hijra.homeunix.com
domain, because this domain doesn't exist.

Anyway, having a domain or even MX record is not required to be able to receive
mail. If mail is sent to [EMAIL PROTECTED], then the sender's mail server
first tries to look up MX record for hijra.homeunix.com, which fails. Then the
sender's mail server tries to look up A record for hijra.homeunix.com, which
succeeds. Hence, the mail sent to hijra.homeunix.com should be sent to 
66.136.178.42. If that is the address of your server, you should get it.

 When I send a mesg to [EMAIL PROTECTED] I
 never receive it
 postqueue -p shows 0 mesgs. Lookin /var/log/maillog
 it's says something
 about the mesg that I sent but doesn't mention the one
 that I reply back too. There are no error messages
 anywhere in log files. My guess is it bounces back
 cause I never get it on the server never shows
 anything about it attempted to receive a mesg either.

If it bounces back, it must bounce back *from* somewhere *to* somewhere :-)
Do you get a bounced message back to your yahoo account? I cc-d this
message to [EMAIL PROTECTED] and [EMAIL PROTECTED]
just to see what happens. 


--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Feeling compressed ARJ you?



Suppressed minds have no Freedom of Choice

-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk cache size via sh?

2003-07-09 Thread Sean Chittenden
 Is the following the correct way to figure out the disk cache size?
 
 echo $((`sysctl -n vm.stats.vm.v_page_count` - \
  `sysctl -n vm.stats.vm.v_free_reserved` - \
  `sysctl -n vm.stats.vm.v_free_target`))
 
 I can't tell if there's a limit in kern/vfs_cache.c though I couldn't
 find anything worth while.

More correctly, can the FS cache up to the entire size listed in
vfs.maxbufspace (actually vfs.hibufspace) bytes or is there a limit to
how much FS operations can use of the vfs cache?  -sc

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


NFS problems

2003-07-09 Thread Mark Woodson
I'm having trouble getting NFS exports to work properly on FreeBSD.  I'm 
running 4.8-STABLE as of July 3.

It's acting like the problem is in /etc/exports.

squelcher# less /etc/exports
/usr/src-ro -maproot=0  cad1 squelcher lappy
/usr/obj-ro -maproot=0  cad1 squelcher lappy

/usr/src will export and is mountable
/usr/obj is not

squelcher# ls -ls /usr
total 54
[edited for brevity]
 2 drwxr-xr-x   3 root  wheel   512 Jun  5 10:45 obj
 2 drwxr-xr-x  21 root  wheel   512 Jun  9 15:54 src

on squelcher (the nfs server) I see this in messages when I start/sighup 
mountd.

squelcher# tail  /var/log/messages
Jul  9 13:09:00 squelcher mountd[16110]: can't change attributes for /usr/obj
Jul  9 13:09:00 squelcher mountd[16110]: bad exports list line /usr/obj -ro 
-maproot
Jul  9 13:09:29 squelcher mountd[16110]: mount request denied from 10.1.2.60 
for /usr/obj

and Access denied messages on lappy (the nfs client).

The permissions look the same, the exports lines are the same, and I must be 
missing something but I can't figure out what it is.

-Mark

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


Re: Can't get splash scr working - arg

2003-07-09 Thread Siegbert Baude
Hi Kevin,

As I've been playing with FreeBSD 4.8 stable on a test box, I came 
across the splash screen feature after building my own kernel.  Figured 
I'd give it a try for the heck of it.

Anyways, I've had no success!  I've followed the various (not always 
identical) tutorials on www.baldwin.cx/splash/, free-bsd.org  the 
manual page.  Other than my kernel my install is stock 4.8.  I'm I 
missing something obvious?  Anyone know if a better tutorial?
I just fiddled myself with the splash screen, but in CURRENT, so I don't 
know, if what I say is correct for STABLE, too.

First, what is the resolution and color depth of your image? Just type

file your_image.bmp

to get this info. If it is more than 320 pixels broad you need the 
VESA-mode preloaded into the kernel to make it work. Thus your graphics 
card must support this VESA modes in its BIOS, without the use of any 
DOS TSR programs, as this was the case for many older cards. Check the 
documentation for your card.

The problem in CURRENT is, that the image is looked for in the path for 
the kernel modules, i.e. /boot/kernel;/boot/modules. If the image is 
located outside these directories you have to use absolute paths.

Check http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/54009 for this.

If this doesn't work, please send as the output of the relevant dmesg 
lines, i.e. the beginning, where the kernel modules are preloaded and 
some message about the splash module should appear.

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


Re: IPSec to Windows 9x, 2k and XP

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 02:55:34PM -0700, Kevin Glick wrote:
 Just wondering if anybody has gotten FreeBSD's IPSec working with any
 version of Windows.  I'd love to see the config's if you've got them.

Yeah, I had it a while ago, but it was just for playing with, not for
any serious use, so sorry, I don't have the configs anymore.

 I've looked for some How-To documents, but haven't come up with much.

A quick Google for ``ipsec windows freebsd'' came up with:
http://www.wiretapped.net/~fyre/ipsec/ -- this looks rather
comprehensive, it's not the guide I followed, however.

 I'm not sure what I'd need to get it to work with 9x.  Any takers?

I'm not certain, but I don't know that it's possible with anything
pre-2000.

  Best wishes,

-lewiz.

-- 
Don't get suckered in by the comments -- they can be terribly
misleading.  Debug only code.
-- Dave Storer

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


pgp0.pgp
Description: PGP signature


Re: make buildworld .. 4.5 to 4.8

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 04:16:12PM -0400, Jeff MacDonald wrote:
 Is it safe to do the mergemaster/makebuildworld etc. operation
 on it to bring it from 4.5 to 4.8 in one step ?

I can't vouch for having done it but technically it is absolutely
possible and I doubt you would run into any serious trouble.  If you're
really worried about upgrading between more than one minor release you
could always try incrementing, which will work for sure.  It seems a
rather silly way to do it though.

  Best wishes,

-lewiz.

-- 
Alas, I am dying beyond my means.
-- Oscar Wilde, as he sipped champagne on his deathbed

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


pgp0.pgp
Description: PGP signature


Re: ATI-Radeon-9000

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 12:03:46PM -0700, cloper wrote:
 I have a Dell Latitude D600 Laptop with the ATI Radeon 9000 video 
 chipset, with FreeBSD-4.8 w/ XFree86-4.3, yet I still can not get X to 

I've had it working with an AIW 7200 before now.  It was just a stock
setup, very straightforward.  I don't know if there's much difference
between the 9000 and the 7200.  Have you tried using an older driver?

  Best wishes,

-lewiz.

-- 
Never count your chickens before they rip your lips off

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


pgp0.pgp
Description: PGP signature


FreeBSD Router and ARP

2003-07-09 Thread Dan Mahoney, System Admin
I have a lan of maybe 200 nodes where a BSD box is performing as the
core router (with cisco's doing line-connectivity).  It is all switched,
with no VLAN in place.

Each machine (in general) has its own subnet.  Most are /29's, some are as
large as a /25.  Each subnet has a single gateway ip configured on the
router.  This is so that each machine can have a gateway within its own
subnet.

This works reasonably well, except that when running ethereal on one of
the local machines, I discovered an alarming rate of ARP requests coming
out from the MAC of the BSD router.

Considering the arp is supposed to be cached for 20 minutes or more until
something different is heard, I shouldn't see five or six requests within
two seconds.

I don't see this when routing with (say) a Cisco router.  Is there some
reason for this?

TCPDumps from my local desktop available upon request.

-Dan Mahoney

--

There is no right and wrong, there is only fun and boring.

-Fisher Stevens, Hackers

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---


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


sybase connection

2003-07-09 Thread David Bear
has anyone made a connection to a sybase db from freebsd?  I'm looking
at the netlibs from sybase.  they are binaries for linux.  I was
hoping there is some connector for freebsd...
-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lexmark

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 08:33:47PM +0200, Per Nilsson wrote:
 for it, with a printer and a scanner. The name on that unit is 'Lexmark 
 x75' and you can read about it at: 

I have an X85.

 Now I was wondering if FreeBSD 4.7 or higher support that Lexmark in any 
 way, and where I can get software that works on it?!

Absolutely, I've had mine working.  I always use apsfilter for printers
(it's under print/apsfilter in the ports).  If your model is also a
scanner, you should be taking a look at SANE.  A quick Google will
return lots of info.

  Best wishes,

-lewiz.

-- 
A bird in the hand is worth what it will bring.

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


pgp0.pgp
Description: PGP signature


Re: ATI-Radeon-9000

2003-07-09 Thread cloper
Yes I have. The odd part is that I dual boot with slackware, and X on 
slackware works great. I wonder whats wrong :(
Thanks,
[EMAIL PROTECTED]

lewiz wrote:

On Wed, Jul 09, 2003 at 12:03:46PM -0700, cloper wrote:
 

I have a Dell Latitude D600 Laptop with the ATI Radeon 9000 video 
chipset, with FreeBSD-4.8 w/ XFree86-4.3, yet I still can not get X to 
   

I've had it working with an AIW 7200 before now.  It was just a stock
setup, very straightforward.  I don't know if there's much difference
between the 9000 and the 7200.  Have you tried using an older driver?
 Best wishes,

-lewiz.

 

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


Re: Restricting logins by terminal

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 01:14:06PM -0400, Charley wrote:
 I would like to restrict user login based on the terminal where the login 
 request originates.  Ideally, I want Root, and ONLY Root, to be able to log 
 in at the console.  The system is already running SSHD, so I want to be able 

That's more than possible.  Take a look at /etc/login.access and
/etc/login.conf.  In login.access a simple:

-:ALL EXCEPT root # taken from the examples near the end (which actual
use groups)

should do the trick.

 to check logins via SSH.  Root should not be allowed to log in from a remote 

That's all defined in your sshd config (by default root cannot login via
sshd).  If you're really paranoid, the second example in login.access:

-:root:ALL EXCEPT LOCAL # instead of considering root, the ``wheel''
group might be better.

 terminal and SU should be disabled for any remote terminal.  Is there 

By default, only members of the wheel group can su to root.

 something in the ports collection that I've missed that will do this?  Maybe 
 I'm just blind and haven't yet seen something like this in the manual.

Well, I don't know exactly what you want to do... but ``su'' is setuid
root, so you could unset that and use the ``sudo'' command.  Take a look
at security/sudo in the ports collection.  That'd be quite contrived
though.

  Best wishes,

-lewiz.

P.S.
  Some of my examples might not work -- I didn't test them and I'm
shocking for getting things to work first time.

-- 
Why was I born with such contemporaries?
-- Oscar Wilde

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


pgp0.pgp
Description: PGP signature


  1   2   >