fetch and portinstall

2003-12-06 Thread mike bueide

When I install or upgrade a port, all attempts to an HTTP
URL fetch are timing out.  Typically I'll just sudo
portupgrade a port I wish to install.

I am behind a firewall that uses nat and stateful rules.
Ftp fetches work just fine.  I just would like to speed
things up a bit by either causing the HTTP attempts to time
out sooner or authorize them somehow.

I have done digging via man  fetch.  It mentions some
environment variables that can be set:

HTTP_AUTH  (man 3 fetch)
HTTP_TIMEOUT (man 1 fetch)

I don't understand what user-name / password combination for
HTTP_AUTH could be set to enable HTTP fetches.  Is it the
same as the anonymous/email_address used when manually
logging into ftp sites as a guest? 

And, if I set these ENVIRONMENT VARIABLES, do I need them
set it in the root shell, or the user running sudo? 

Thanks to any who might respond.

-- 
Michael Bueide 
mbueide (at) charter (dot) net .
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fetch and portinstall

2003-12-06 Thread Sergey 'DoubleF' Zaharchenko
On Sat, 6 Dec 2003 00:09:02 -0700
mike bueide [EMAIL PROTECTED] probably wrote:

 
 When I install or upgrade a port, all attempts to an HTTP
 URL fetch are timing out.  Typically I'll just sudo
 portupgrade a port I wish to install.
 
 I am behind a firewall that uses nat and stateful rules.
 Ftp fetches work just fine.  I just would like to speed

If that's the only handicap, I'm very surprised to hear that FTP goes
through and HTTP doesn't. Maybe your sysadmin disabled HTTP access:)?

 things up a bit by either causing the HTTP attempts to time
 out sooner or authorize them somehow.

You mean you have a local proxy? Set HTTP_PROXY to its address then. If
you want to change the timeout value, use -T with fetch.

  -T seconds  Set timeout value to seconds.  Overrides the environment
  variables FTP_TIMEOUT for FTP transfers or HTTP_TIMEOUT for
  HTTP transfers if set.

If you want to make the change permanent, put the appropriate FETCH_CMD
in your /etc/make.conf (e.g FETCH_CMD=/usr/bin/fetch -T 5).

 I have done digging via man  fetch.  It mentions some
 environment variables that can be set:
 
   HTTP_AUTH  (man 3 fetch)
   HTTP_TIMEOUT (man 1 fetch)
 
 I don't understand what user-name / password combination for
 HTTP_AUTH could be set to enable HTTP fetches.  Is it the
 same as the anonymous/email_address used when manually
 logging into ftp sites as a guest? 
 
 And, if I set these ENVIRONMENT VARIABLES, do I need them
 set it in the root shell, or the user running sudo? 
 
 Thanks to any who might respond.
 
 -- 
   Michael Bueide 
   mbueide (at) charter (dot) net .
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
DoubleF
The older a man gets, the farther he had to walk to school as a boy.


pgp0.pgp
Description: PGP signature


[no subject]

2003-12-06 Thread liquid
Hi all,

(My mailserver is currently offline and this address is not subscribed, 
please cc me in all replies, thanks)

I'm waiting for my new internet connection to be setup here, and in the 
meantime I'm starting to configure my network accordingly.

I'm going to have a static IP - say xx.xx.yy.zz - and a subnet as follows: 
xx.xx.xx.zz/28

My plan is to run a FreeBSD router to have the subnet routed through the 
static IP.  I've already got the static routes I need to add figured out.  I 
still have some questions at this point (this setup is new to me):

1.  Do I need to inform the ISP of my intentions so that people can actually 
connect to an IP which is part of my subnet, but behind this router I intend 
to build? (I didn't think it was necessary until I read 19.2.5 in the 
handbook - it doesn't seem like it's necessary based on that alone, but it 
has placed some doubt in my mind).

2.  I currently run my FreeBSD router on a cable connection while waiting 
for the new ISP to get setup.  I use NAT to translate the EXT. IP to the 
internal ones of my lan.  I don't need to run nat for the setup I plan to 
have do I?

3.  Finally, I've read (briefly thus far) about routed on FreeBSD.  Would 
this daemon be used in such a way that I don't even need to add static 
routes for LAN?

Again, this address is not subscribed, so please answer by putting my 
address in the cc: field.

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


Booting

2003-12-06 Thread Jonathan Walters
I have installed FreeBSD on my system and I can't boot into it. I don't see 
a boot menu, other than that of Windows (I have Windows 2000 installed also 
on the same disk in a different partition.) Am I doing something wrong?

_
Wonder if the latest virus has gotten to your computer? Find out. Run the 
FREE McAfee online computer scan! 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: Booting

2003-12-06 Thread Matthew Seaman
On Sat, Dec 06, 2003 at 02:39:11AM -0600, Jonathan Walters wrote:
 I have installed FreeBSD on my system and I can't boot into it. I don't see 
 a boot menu, other than that of Windows (I have Windows 2000 installed also 
 on the same disk in a different partition.) Am I doing something wrong?

I think I can say, without fear of contradiction, Yes, you are doing
something wrong.

However, it's practically impossible to work out exactly what you've
got wrong without a bit more information.  At a guess you either haven
installed a boot block capable of booting several different OSes, or
you need to edit the boot.ini file on your W2K partition to give you
an option to boot FreeBSD.

For the first, the easiest thing to do is install the FreeBSD booteasy
boot manager -- that's the thing that gives you the (F1, F2 ...) menu.
There are several other popular 3rd party boot managers -- grub for
one -- which many people swear by.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/index.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html

If you want to go the NTLDR way:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER

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


Explicit Congestion Notification

2003-12-06 Thread Mark
Hello,

Can someone tell me how to enable Explicit Congestion Notification (IPv4)
on FreeBSD 4.7R? Or do I have to recompile the kernel for that? (hope not).

Thanks,

- Mark

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


pre-login massage.

2003-12-06 Thread falaki
Hi every body;
   In Linux There is a file in /etc named issue which contains the
pre-login massage. But it seems there is not such a file in FreeBSD.
How can I display a pre-login massage in my FreeBSD box.

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


Re: pre-login massage.

2003-12-06 Thread Cordula's Web
In Linux There is a file in /etc named issue which contains the
 pre-login massage. But it seems there is not such a file in FreeBSD.
 How can I display a pre-login massage in my FreeBSD box.

From login.conf(5):
  login_prompt  string  The login prompt given by login(1)

 Mohammad H. Falaki.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: pre-login massage.

2003-12-06 Thread Jez Hancock
On Sat, Dec 06, 2003 at 02:56:41PM -0500, [EMAIL PROTECTED] wrote:
 Hi every body;
In Linux There is a file in /etc named issue which contains the
 pre-login massage. But it seems there is not such a file in FreeBSD.
 How can I display a pre-login massage in my FreeBSD box.
The /etc/motd file contains the message of the day that's displayed for
users when they login.  You can modify that to display what you want.

Alternatively you could add items on a per-user basis in their ~/.login
file or globally in one of the login startup rc files (.profile, .cshrc,
.shrc, etc) - see the manpage for 'login' for more info on the files that
are best to use.

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Re: pre-login massage.

2003-12-06 Thread Matthew Seaman
On Sat, Dec 06, 2003 at 12:35:31PM +0100, Cordula's Web wrote:
 In Linux There is a file in /etc named issue which contains the
  pre-login massage. But it seems there is not such a file in FreeBSD.
  How can I display a pre-login massage in my FreeBSD box.
 
 From login.conf(5):
   login_prompt  string  The login prompt given by login(1)

Or just create /etc/issue -- it is supported under FreeBSD, just
there's no default version supplied with the system. See gettytab(5)
for more details.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: newbie ports question

2003-12-06 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-12-03 17:46:49 -0500:
 AFAIK the subject's accurate, best I could do anyway.

Hmm, I failed to find your question in the message.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Urgent Installation problems (CD)

2003-12-06 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-12-04 07:03:39 +0800:
 Thank you for your time. I burned the .iso for i386 (release 5.1) on 
 the CD and configured the BIOS to boot from the CD but it won't boot 
 from it. I have also tried using the floppy to install it but it 
 can't detect the .iso in the CD. Are there other files that must be 
 burned to the CD.

Does the CD contain an .iso file, or its contents? It should be the
latter.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.1 from hard drive installaton

2003-12-06 Thread Anton -
Hi!
I am installing FreeBSD 5.1 from hard drive.
Installation files on /dev/hda6 formatted as ext3
Have *iso files and directory freebsd where extracted files from iso images.
Booted from 2 floppies...

I have a problem on choosing media. I choose file system from list. Then installer 
asks me: Enter a fully qualified pathname for the directory containing the FreeBSD 
distribution files. I don't know exacly what to type :)

I tryed:
/dev/hda6
/dev/hda6/freebsd
ad0s1
ad0s1/freebds
/dev/ad0s1
/dev/ad0s1/freebsd

I'd be thankful If you help me.

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


blank_saver in 4.9

2003-12-06 Thread Richard Tobin
Why did a binary upgrade to 4.9 remove these lines from /etc/rc.conf?

 blanktime=60
 saver=blank

-- Richard


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


Re: newbie ports question

2003-12-06 Thread Marty Landman
At 06:56 AM 12/6/2003, Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2003-12-03 17:46:49 -0500:
 AFAIK the subject's accurate, best I could do anyway.
Hmm, I failed to find your question in the message.
Woops, Eudora's been acting funny that way; this isn't the first time. 
Thanks for following up Roman, turns out I taught myself (finally) how to 
do makes yesterday and fixed things up. I wonder if my reply re. the email 
setup instructions running freebsd with sendmail and qpopper experienced 
the same problem since I never got a reply.

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NIC problem

2003-12-06 Thread James Pickett
Hello,

I have recently installed a RealTek 8029 NIC into my FreeBSD machine but am
unable to get it to work.
The kernel finds and loads it at boot time, and ifconfig displays it. But I
get no response when I ping it.
What I did notice though, when checking my syslog it displays the NIC and
IRQ setting, but doesnt display the Ethernet MAC address.

Could this mean the card is faulty, or have I done something wrong?

* PS The card is second hand and I dont know if it does work or not. Also I
have not tested it elsewhere.


Thanks

 --- Begin signature ---
:: James Pickett
:: [EMAIL PROTECTED]
:: www.root.org.za/jp
:: The only way to discover the limits of the possible is to go beyond them
into the impossible.
-- Arthur C. Clarke, 'Technology and the Future'
 --- End signature ---

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


md5 newbie question

2003-12-06 Thread Marty Landman
Trying to verify a d/l before compiling:

Swami: md5 -s 466c63bb71b710d20a5c353df8c1a19c /tmp/httpd-2.0.48.tar.gz
MD5 (466c63bb71b710d20a5c353df8c1a19c) = 017b97dd023763b82a219bdfedd5cc29
MD5 (/tmp/httpd-2.0.48.tar.gz) = 466c63bb71b710d20a5c353df8c1a19c
Swami:
By eyeballing the first part of line1 against the second part of line 2 
they appear equal so I guess my d/l's integrity is intact. What is the more 
automated way to do this though, so that I get a line at the end saying 
ok or ah, phooey. Or am I supposed to extract and diff these myself?

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error with man

2003-12-06 Thread Chuck PUP Payne
Hi,

Everytime I run man I get the following error...

/usr/libexec/ld-elf.so.1: more: Share object has no run-time symbol table
Error executingformatting or display command
System command exited with status 256
No manual entry for


Why is the happening? How can I fix it?


Uname -a
FreeBSD freebsd51.gdieng.com 5.1-RELEASE FreeBSD #0: Thu Jun 5 02:55:42GMT
2003. 


Thanks Payne

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


traffic shaping/rate limiting

2003-12-06 Thread Rus Foster
Hi,
 Is there a good document I could look at for traffic shaping/rate
limiting on FreeBSD. Googling hasn't chucked up anything obvious

Cheers

Rus

-- 
w: http://www.jvds.com  | JVDS Tech Channel:
e: [EMAIL PROTECTED]| http://tech.jvds.com
t: +44 7919 373537  | Talk about Tech
t: 1-888-327-6330   | email: [EMAIL PROTECTED]


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


Re: traffic shaping/rate limiting

2003-12-06 Thread Jez Hancock
On Sat, Dec 06, 2003 at 05:22:17PM +, Rus Foster wrote:
 Hi,
  Is there a good document I could look at for traffic shaping/rate
 limiting on FreeBSD. Googling hasn't chucked up anything obvious
The ipfw manual is quite useful and if you try searching through the
freebsd-questions archive for 'dummynet' you should get some results
that include some example ipfw rulesets for traffic shaping.

There's also 'altq' for traffic shaping, although I don't know a lot
about it.

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Re: md5 newbie question

2003-12-06 Thread Chris Pressey
On Sat, 06 Dec 2003 09:59:07 -0500
Marty Landman [EMAIL PROTECTED] wrote:

 Trying to verify a d/l before compiling:
 
 Swami: md5 -s 466c63bb71b710d20a5c353df8c1a19c /tmp/httpd-2.0.48.tar.gz
 MD5 (466c63bb71b710d20a5c353df8c1a19c) = 017b97dd023763b82a219bdfedd5cc29
 MD5 (/tmp/httpd-2.0.48.tar.gz) = 466c63bb71b710d20a5c353df8c1a19c
 Swami:

The -s 466c63bb71b710d20a5c353df8c1a19c part of your command is
requesting an md5 hash of the literal string of characters
466c63bb71b710d20a5c353df8c1a19c.

That's almost certainly not what you want, and will only serve to
confuse.  Try running just this instead:

  md5 /tmp/httpd-2.0.48.tar.gz

and see man md5 for more info.

 By eyeballing the first part of line1 against the second part of line
 2 they appear equal so I guess my d/l's integrity is intact. What is
 the more automated way to do this though, so that I get a line at the
 end saying ok or ah, phooey. Or am I supposed to extract and diff
 these myself?

Essentially, yes; many source tarballs come with an .md5 file which you
can diff against the output of the md5 command.

But FreeBSD's ports system will check md5's for you automatically.
The ports tree is very, very convenient, and I'd recommend using it
whenever possible.

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


which tool for a screenshot?

2003-12-06 Thread Gary Kline

Folks,

Which tool is best (easiest) to capture screenshots to 
be included in an HTML file?  I need to capture several
screen of a web app for a tutorial I've been writing.

Merci d'avance, guys!

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: x11/kde3 and libglut error

2003-12-06 Thread Ryan Moe
[EMAIL PROTECTED] wrote:

Hello. I'm using FreeBSD 4.8-RELEASe p14. I'm trying to install kde3 on my
system and get this error
/usr/libexec/elf/ld: cannot find -lGL
*** Error code 1
Stop in /usr/ports/graphics/libglut/work/Mesa-5.0.2/src-glut.
*** Error code 1
Stop in /usr/ports/graphics/libglut.
*** Error code 1
Stop in /usr/ports/x11-toolkits/qt32.
*** Error code 1
Stop in /usr/ports/x11/kde3.

The -kde mailing list please Cc: me. I'm not subscribed.

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

I believe the problem lies with XFree86-4-libraries.  I had the same 
problem and portupgrade -f XFree86-4-libraries followed by portupgrade 
-f libglut fixed it for me..

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


Re: Weird display problem

2003-12-06 Thread Daniela
On Thursday 04 December 2003 12:46, Melvyn Sopacua wrote:
 On Wednesday 03 December 2003 19:59, Daniela wrote:
  On Sunday 30 November 2003 02:56, Melvyn Sopacua wrote:
   On Sunday 30 November 2003 04:32, Daniela wrote:
   andte_Mathematik/ in Mozilla and scroll down the page. I once had this
a long time ago with 4.8 (now I have 4.9), but I can't remember the
browser I was using and the exact site (it was something in Google
directory).
   
How can I solve the problem, or at least find out what causes it?
  
   Did you install x11-fonts/mozilla-fonts?
 
  Yes, just installed it and restarted the X server, but the problem is
  still there. Is this a known bug?

 Well actually - there is/was a known problem with the Mozilla-fonts package
 and Mozilla. If you're having these problems without the Mozilla-fonts
 package as well, we're looking at something else.

 What's your X version, your display driver and most notably the memory on
 the vidcard and your RAM?

I have XFree86 4.3.0 with the ati driver, 512M core and my vidcard is ATI 
Radeon 9000 with 64M.

 You don't see this with any other page (cause I really can't find anything
 special about that page that could trigger Moz-weirdness)?

I had this a long time ago while viewing some Google directory site, but I 
can't remember if it was the same one, and don't know anymore if I had been 
using Mozilla or Konqueror.

 Are you using Xft for your fonts?

Yes.


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


Re: which tool for a screenshot?

2003-12-06 Thread Daan Vreeken [PA4DAN]
On Saturday 06 December 2003 21:28, Gary Kline wrote:
 Folks,

   Which tool is best (easiest) to capture screenshots to
   be included in an HTML file?  I need to capture several
   screen of a web app for a tutorial I've been writing.
The GIMP can take screenshots and has a nice GUI.
Alternatively you could take a look at xwd in combination with ImageMagick's 
convert to create screenshots from the command line.

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


Re: which tool for a screenshot?

2003-12-06 Thread Kevin D. Kinsey, DaleCo, S.P.
Gary Kline wrote:

	Folks,

	Which tool is best (easiest) to capture screenshots to 
	be included in an HTML file?  I need to capture several
	screen of a web app for a tutorial I've been writing.

	Merci d'avance, guys!

	gary

 

I forget what desktop environment you
said you're using (or even if you mention
it.)
Gnome2 has a default tool built in as
well, under the main launcher IIRC.
Kevin Kinsey

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


mprof 3.0

2003-12-06 Thread AleshaVS
Hello. Please help. I have problem with mprof 3.0.
I install last version mprof 3.0. And do this:
#uname -a
FreeBSD  5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun  5 02:55:42 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
#ls /usr/ports/devel/mprof/files
patch-02  patch-Makefile.i386   patch-mpgraph.c
patch-mprof.h patch-mprof_mon.c

#pwd
/usr/ports/devel/mprof/work

#cc -g test2.c libc_mp.a
#./a.out
Segmantation fault (core dump)
#mprof -normal a.out
--c 0+--v3.0+--m0+--+--+--+--+--+--+--+--+ MPROF 
+--+--+--+--+--+--+--s0+--f2097204+--d2621446+--l1376280+


- Allocation Bins with possible Types 

  size:allocs bytes (%)  frees  kept (%) types   

711 1345956321208213840 (.)  01208213840 (.)
712 1347420161447034880 (2)  01447034880 (2)
715 1345901971742710343 (2)  01742710343 (2)
716 16384  11730944 (-1) 0  11730944 (-1)   
717 4  2868 (.)  0  2868 (.)
719 134596857-2009107625 (-1) 0-2009107625 (-1)   
720 4  2880 (.)  0  2880 (.)
721249861 180149781 (-1) 0 180149781 (-1)   

   ...   .....  ..   ..  ..  ..

   1002   109109218 (.)  0109218 (.)
   1003 1345135271773081405 (-1) 01773081405 (-1)   
   1007 134593641-1903156985 (2)  0-1903156985 (2)
   1008 134626840-1735098752 (2)  0-1735098752 (2)
   1009 134746112-1480126464 (3)  0-1480126464 (3)
   1010   109110090 (.)  0110090 (.)
   1012 1  1012 (.)  0  1012 (.)
   1013 2  2026 (.)  0  2026 (.)
   1015   109110635 (.)  0110635 (.)
   1016 134746112-536903680 (-3) 0-536903680 (-3)   
   1017 134626840-523457192 (1)  0-523457192 (1)
   1019 134591440-290276112 (-1) 0-290276112 (-1)   
   1020 134626840-119576672 (-1) 0-119576672 (-1)   
   1021 134746112 136826880 (-1) 0 136826880 (-1)   
   1022   109111398 (.)  0111398 (.)
  1024 0 0  0 0

TOTAL1010396561-656409063  1-656409063

swap_pager: out of swap space
swap_pager_getswapspace: failed
Dec  6 21:57:30  kernel: pid 905 (mprof), uid 0, was killed: out of swap space
Dec  6 21:57:31  last message repeated 2 times


 OR I DO
#pwd
/home/work/mprof
#ls
1.c libc_mp.a
#more 1.c

#include stdio.h
int main()
{
 int *m;
 m=(int *)malloc(sizeof(int));
 return 0;
} 

#cc -g 1.c libc_mp.a
#./a.out
Segmantation fault (core dump)
#mprof -normal a.out

--c 0+--v3.0+--m0+--+--+--+--+--+--+--+--+ MPROF 
+--+--+--+--+--+--+--s0+--f2097204+--d2621446+--l1900576+


- Allocation Bins with possible Types 

  size:allocs bytes (%)  frees  kept (%) types   

711 1345956321208213840 (67) 01208213840 (67)   
712 1347420161447034880 (-159) 01447034880 (-159)   
715 1345901971742710343 (-218) 01742710343 (-218)   
716 16384  11730944 (140) 0  11730944 (140)   
717 4  2868 (.)  0  2868 (.)

...   ..     .. ..   ..

   1010   109110090 (1)  0110090 (1)
   1012 1  1012 (.)  0  1012 (.)
   1013 2  2026 (.)  0  2026 (.)
   1015   109110635 (1)  0110635 (1)
   1016 134746112-536903680 (257) 0-536903680 (257)   
   1017 134626840-523457192 (-96) 0-523457192 (-96)   
   1019 134591440-290276112 (124) 0-290276112 (124)   
   1020 134626840-119576672 (111) 0-119576672 (111)   
   1021 134746112 136826880 (95) 0 136826880 (95)   
   1022   109111398 (1)  0111398 (1)
  1024 0 0  0 0

 other bins 876531533 751639620 (-257) 0 751639620 (-257)   
TOTAL  80100070   8334961  1   8334961


#gdb a.out a.out.core
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-undermydesk-freebsd...
Core was generated by `a.out'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libc.so.5...done.
Loaded symbols for /usr/lib/libc.so.5
Reading symbols from 

SUNRays

2003-12-06 Thread cloper
I have a few SUNRay thin clients that I would like to use on something 
other than Solaris. Has anyone successfully used these under BSD? Does 
anyone have any ideas what so ever?
Thanks,
[EMAIL PROTECTED]

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


chroot environment

2003-12-06 Thread Nick Twaddell
I am trying to setup a chroot environment for some users.  I rebuilt the
environment inside their userdir, copied all the appropriate binaries, libs,
etc.  The part I am stumped on, is how do you make it so their account gets
chrooted on login.  Since chroot can only be executed by root.  Some of the
docs I found created a shell script that would sudo chroot and run it on
login.  I am just wondering what everyone else recommends.

Thanks

Nick Twaddell


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


Re: SUNRays

2003-12-06 Thread Kevin D. Kinsey, DaleCo, S.P.
cloper wrote:

I have a few SUNRay thin clients that I would like to
use on something other than Solaris. Has anyone
successfully used these under BSD? Does anyone
have any ideas what so ever?
Thanks,
[EMAIL PROTECTED]
No experience here.  Not much ideas, either,
but the list is a bit slow today, methinks.
A coupla thoughts...

Is the machine architecture listed on the
FBSD homepage?  (www.freebsd.org)
Is there hardware that is not on the FBSD HCL?
(www.freebsd.org/releases/5.1R/hardware.html)
With that said, the guyz at NetBSD claim to
be able to run on a toaster, or somesuch.
(That's at www.netbsd.org)
Good luck!

Kevin Kinsey

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


Re: which tool for a screenshot?

2003-12-06 Thread Gary Kline
On Sat, Dec 06, 2003 at 09:42:33PM +0100, Daan Vreeken [PA4DAN] wrote:
 On Saturday 06 December 2003 21:28, Gary Kline wrote:
  Folks,
 
  Which tool is best (easiest) to capture screenshots to
  be included in an HTML file?  I need to capture several
  screen of a web app for a tutorial I've been writing.
 The GIMP can take screenshots and has a nice GUI.
 Alternatively you could take a look at xwd in combination with ImageMagick's 
 convert to create screenshots from the command line.
 

Many thanks!  xwd is the simplest so far.  I'vde used image
% image type bitmap file and it always left a whiteframe 
left to crop.  

Can you give me further help on using gimp? I have it on 
another server  Which button do I press! or which -flag?

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: which tool for a screenshot?

2003-12-06 Thread Gary Kline
On Sat, Dec 06, 2003 at 02:48:25PM -0600, Kevin D. Kinsey, DaleCo, S.P. wrote:
 Gary Kline wrote:
 
  Folks,
 
  Which tool is best (easiest) to capture screenshots to 
  be included in an HTML file?  I need to capture several
  screen of a web app for a tutorial I've been writing.
 
  Merci d'avance, guys!
 
  gary
 
 
  
 
 I forget what desktop environment you
 said you're using (or even if you mention
 it.)
 
 Gnome2 has a default tool built in as
 well, under the main launcher IIRC.
 

I'm still using ctwm Late adoptor.  But I have gnome2
built and ready to launch.  Someday :)

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: md5 newbie question

2003-12-06 Thread Marty Landman
At 02:48 PM 12/6/2003, Chris Pressey wrote:

The -s 466c63bb71b710d20a5c353df8c1a19c part of your command is
requesting an md5 hash of the literal string of characters
466c63bb71b710d20a5c353df8c1a19c.
That's almost certainly not what you want, and will only serve to confuse.
Ah, but you've now unconfused me.

  Try running just this instead:

  md5 /tmp/httpd-2.0.48.tar.gz
What I want to do is avoid having to verify a match by eye. Here's what I 
just tried:


FreeB md5 httpd-2.0.48.tar.gz  thing1 ; echo 
466c63bb71b710d20a5c353df8c1a19c  thing2 ; echo difference is `diff thing1 
thing2` ; rm thing1 thing2
difference is 1c1  MD5 (httpd-2.0.48.tar.gz) = 
466c63bb71b710d20a5c353df8c1a19c ---  466c63bb71b710d20a5c353df8c1a19c
FreeB md5 httpd-2.0.48.tar.gz  thing1 ; echo 
466c63bb71b710d20a5c353df8c1a19c  thing2
FreeB more thing1

MD5 (httpd-2.0.48.tar.gz) = 466c63bb71b710d20a5c353df8c1a19c
FreeB

Seems the problem here is that the md5 cmd's output is not simply the 
result string but a description of the cmd together with the result. If I 
need to do much of this guess a little pgm's called for.

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: which tool for a screenshot?

2003-12-06 Thread Kevin D. Kinsey, DaleCo, S.P.
Gary Kline wrote:

On Sat, Dec 06, 2003 at 09:42:33PM +0100, Daan Vreeken [PA4DAN] wrote:
 

On Saturday 06 December 2003 21:28, Gary Kline wrote:
   

Folks,

	Which tool is best (easiest) to capture screenshots to
	be included in an HTML file?  I need to capture several
	screen of a web app for a tutorial I've been writing.
 

The GIMP can take screenshots and has a nice GUI.
Alternatively you could take a look at xwd in combination with ImageMagick's 
convert to create screenshots from the command line.

   

	Many thanks!  xwd is the simplest so far.  I'vde used image
	% image type bitmap file and it always left a whiteframe 
	left to crop.  

	Can you give me further help on using gimp? I have it on 
	another server  Which button do I press! or which -flag?

	gary
 

Looks like:

1.  Click File menu
2.  Click Acquire
3.  Select screen shot and follow prompts.
HTH,

KDK

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


Re: SUNRays

2003-12-06 Thread Andrew Boothman
cloper wrote:

I have a few SUNRay thin clients that I would like to use on something 
other than Solaris. Has anyone successfully used these under BSD? Does 
anyone have any ideas what so ever?
I've seen an installation of about 30 SunRays before and I seem to 
remember thinking that they needed specialised software from Sun running 
under Solaris in order to work. They are *really* thin clients that 
really only consist of a monitor, mouse and keyboard and rely on their 
host server for everything else. That's not an architecture that you're 
going to get FreeBSD to run under I wouldn't think.

I'd like to be proved wrong however. Perhaps the rays just provide an X 
Server or somesuch and you could persuade them to display the output of 
XFree86 under FreeBSD?

I don't know enough detail to say for sure - do some investigating then 
come back and tell us all!

Also, you might want to ask on the [EMAIL PROTECTED] list, where more 
experienced Sun people hang out I'm sure.

Good luck!

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


Re: which tool for a screenshot?

2003-12-06 Thread Gary Kline
On Sat, Dec 06, 2003 at 03:54:34PM -0600, Kevin D. Kinsey, DaleCo, S.P. wrote:
 Gary Kline wrote:
 
 On Sat, Dec 06, 2003 at 09:42:33PM +0100, Daan Vreeken [PA4DAN] wrote:
  
 
 On Saturday 06 December 2003 21:28, Gary Kline wrote:

 
  Can you give me further help on using gimp? I have it on 
  another server  Which button do I press! or which -flag?
 
  gary
  
 
 
 Looks like:
 
 1.  Click File menu
 2.  Click Acquire
 3.  Select screen shot and follow prompts.
 

Yep, thank you.  

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


panic during dump (ufs_dirbad) and fsck dumping core after

2003-12-06 Thread Ion-Mihai Tetcu
Hi,


FreeBSD it.buh.cameradicommercio.ro 5.1-RELEASE-p10 FreeBSD
5.1-RELEASE-p10 #0: Wed Nov 19 00:01:27 EET 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/IT1  i386


I was trying to dump/restore my data from my 40G HDD (ad3) on a bigger
120G HDD (ad0).

I've booted from the CD, used sysinstall to devide the disk, installed
the minimal distribution, boot up on the new install. Rebooted with the
old system (multiuser but in the console and with no activity beside
dump/restore, with all /usr/local/etc/rc.d stoped), mounted each new
slice and rm -rf * the content.

dump/restore ad3s2a to ad0s1a (/) 
dump/restore ad3s2d to ad0s3d (/tmp)
dump/restore ad3s2e to ad0s1e (/var)

Untill here everithing OK.

# mount /dev/ad0s3f /mnt
# mkdir /mnt/home
# mount /dev/ad0s3g /mnt/home
# cd /mnt
# dump 0aLf - / | restore xf -

Sometime after 1/3 got dumped I've fpund myself in the debbuger with:
/mnt: bad dirino 753722
panic: ufs_dirbad at offset 0: mangled entry

I've hit the wrong key so I do not have a core, but I'm confident I can
reproduce if needed.

Rebooted. After fsck-ing the current disk with good results on the new
disk I get the attached (fsck_ad0s3f.txt adnd fsck_a0s3g.txt) errors,
with fsck saying:
for ad0s3f
 cannot alloc xx bytes for inoinfo 
and ending with 
 fsck_4.2bsd: bad inode number 376832 to nextinode

for ad0s3g
 it# fsck -n ad0s3g
 ** /dev/ad0s3g (NO WRITE)
 ** Last Mounted on /mnt/home
 ** Phase 1 - Check Blocks and Sizes
 cannot alloc 4216257920 bytes for inoinfo

 UNEXPECTED SOFT UPDATE INCONSISTENCY
 UNKNOWN FILE TYPE I=47104
 UNEXPECTED SOFT UPDATE INCONSISTENCY
 fsck: /dev/ad0s3g: Segmentation fault

Attached are also fdisk and bsdlabel output.

Any help will be greatly appreciated.


-- 
IOnut
Unregistered ;) FreeBSD user


fdisk.txt
Description: Binary data


fsck_ad0s3f.txt
Description: Binary data


fsck_ad0s3g.txt
Description: Binary data


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


Re: md5 newbie question

2003-12-06 Thread Chris Pressey
On Sat, 06 Dec 2003 16:52:42 -0500
Marty Landman [EMAIL PROTECTED] wrote:

 [...]
 Seems the problem here is that the md5 cmd's output is not simply the 
 result string but a description of the cmd together with the result.
 If I need to do much of this guess a little pgm's called for.

From man md5:

 -q  Quiet mode - only the MD5 sum is printed out.

So, try:

  md5 -q /tmp/httpd-2.0.48.tar.gz

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


Java VM problems

2003-12-06 Thread Marc Huffnagle
Hello,

I am running into a problem when I try to run any java-related program. 
When I try to use java or javac, I get the following error, and the
application locks up (requiring a kill -9) and starts to use 100% of the
processor.

$ /usr/local/linux-sun-jdk1.4.2/bin/java -version
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)
#
# Error ID: 4F533F4C494E55580E43505001C9
#
 
Heap at VM Abort:
Heap

I have found other reports of this problem, but never a solution. 
Please let me know what other information would be useful, or where I
should be asking this question.  Thanks.

 - Marc

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


Re: md5 newbie question

2003-12-06 Thread Marty Landman
At 05:55 PM 12/6/2003, Chris Pressey wrote:

From man md5:

 -q  Quiet mode - only the MD5 sum is printed out.
#md5 -q httpd-2.0.48.tar.gz  thing1 ; echo 
466c63bb71b710d20a5c353df8c1a19c  thing2 ; echo difference is `diff thing1 
thing2` ; rm thing1 thing2
difference is

Thanks Chris, that's just what I was looking for... too bad when I read the 
man page for md5 I didn't read closely enough.

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java VM problems

2003-12-06 Thread Christian Laursen
Marc Huffnagle [EMAIL PROTECTED] writes:

 I am running into a problem when I try to run any java-related program. 
 When I try to use java or javac, I get the following error, and the
 application locks up (requiring a kill -9) and starts to use 100% of the
 processor.

mount -t linprocfs none /compat/linux/proc

 I have found other reports of this problem, but never a solution. 
 Please let me know what other information would be useful, or where I
 should be asking this question.  Thanks.

freebsd-java is the list for java questions.

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


Re: Java VM problems

2003-12-06 Thread Marc Huffnagle
That solved it, thanks.  I'll pass this along to the people at
freebsd-java, it seems like something that they should have in their
FAQ.

On Sat, 2003-12-06 at 18:10, Christian Laursen wrote:
 Marc Huffnagle [EMAIL PROTECTED] writes:
 
  I am running into a problem when I try to run any java-related program. 
  When I try to use java or javac, I get the following error, and the
  application locks up (requiring a kill -9) and starts to use 100% of the
  processor.
 
 mount -t linprocfs none /compat/linux/proc
 
  I have found other reports of this problem, but never a solution. 
  Please let me know what other information would be useful, or where I
  should be asking this question.  Thanks.
 
 freebsd-java is the list for java questions.

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


Still really looking...

2003-12-06 Thread Mark
Hello,

I am still really looking for a way to enable Explicit Congestion
Notification for TCP on FreeBSD 4.7R (IPv4). And google is really not very
helpful in that regard. Nor the FreeBSD site, for that matter. I found
option TCP_ECN for the kernel, but together with option TCP_SACK. Do I
need that too? I still rather hope this can be controlled with a sysctl
maneouvre.

I mean, there's gotta be a doc somewhere that explains how to enable this,
right? I'm frankly surprised it is so hard to find any FreeBSD info on it.
And I really *DO* need it. I am communicating with a site that has ECN
enabled, and, hence, I get nothing but timeouts on it. There has to be
someone who did this before!

Thanks,

- Mark

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


Re: Still really looking...

2003-12-06 Thread Jez Hancock
On Sat, Dec 06, 2003 at 11:57:22PM +, Mark wrote:
 I mean, there's gotta be a doc somewhere that explains how to enable this,
 right? I'm frankly surprised it is so hard to find any FreeBSD info on it.
 And I really *DO* need it. I am communicating with a site that has ECN
 enabled, and, hence, I get nothing but timeouts on it. There has to be
 someone who did this before!
Have you looked into ALTQ?  Searching for 'ecn freebsd support' seem to
point to it, although a few other references seem to indicate ECN
support was added to FreeBSD in version 4.5.  

If you're really stuck you could try asking on freebsd-hackers perhaps.

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Re: chroot environment

2003-12-06 Thread Rob
If you've already built the environment, you're halfway to having a
jail(8) - this extends chroot(8) by creating a private process tree and
network interface. You can run an entire system inside a jail, including
sshd(8) to accept logins.

For ftp logins, ftpd(8) has builtin support for chrooting certain users -
see ftpchroot(5). There is also support for chrooting logins in the ssh.com
version of sshd - I believe this is /usr/ports/security/ssh2, but I haven't
checked.

Apart from this, I don't know a 'standard' way of doing it.

- Original Message -
From: Nick Twaddell [EMAIL PROTECTED]
Subject: chroot environment


 I am trying to setup a chroot environment for some users.  I rebuilt the
 environment inside their userdir, copied all the appropriate binaries,
libs,
 etc.  The part I am stumped on, is how do you make it so their account
gets
 chrooted on login.  Since chroot can only be executed by root.  Some of
the
 docs I found created a shell script that would sudo chroot and run it on
 login.  I am just wondering what everyone else recommends.

 Thanks

 Nick Twaddell


 ___
 [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]


differance

2003-12-06 Thread Ndo1985
Can you plz tell me what is differant between FreeBSD-4.9-stable and 
ver. 5.0-rel#1. does 4.9-stable have the new UFS2?

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


Re: Java VM problems

2003-12-06 Thread Dan Nelson
In the last episode (Dec 06), Marc Huffnagle said:
 That solved it, thanks.  I'll pass this along to the people at
 freebsd-java, it seems like something that they should have in their
 FAQ.

You should have gotten this message when you installed the port:

$ cat /usr/ports/java/linux-sun-jdk14/pkg-message
==
Warning: This JDK is currently unstable.  You are advised to use
either the FreeBSD jdk14 port or one of the jdk13 ports instead.

This Java VM will attempt to obtain some system information by
accessing files in linux's procfs.  You must install the Linux
emulation procfs filesystem for this to work correctly.  The JVM
will exhibit various problems otherwise.  This can be accomplished
by adding the following line to your /etc/fstab file:

 linprocfs   /compat/linux/proc   linprocfs   rw   0  0

and then, as root, executing the commands:

kldload linprocfs
mount /compat/linux/proc

==


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


Re: Out of pty's

2003-12-06 Thread Justin Burke
* Lee Harr ([EMAIL PROTECTED]) wrote:
 How do I find out the limit of ptys on my system? (sysctl doesn't
 seem to show anything relevant.)
 
 How do I increase that value? The pseudo-pty value in the kernel config
 has no assigned value (ie. we are using the default) but what is the
 default?
 
 
 Which version of FreeBSD?

4.9-PRERELEASE


 I had a similar problem on my 4.9-stable box. What I did was use
 /dev/MAKEDEV to create some more pty devices.
 
 ls /dev/pty*
 
 will show you how many you have, then
 
 /dev/MAKEDEV pty1   (can also use pty2 pty3 pty4 etc)
 
 will create more.

It seems that creating the devices isn't the problem. I just can't get
screen and ssh to actually use those ptys. I'm going just rebuild the
kernel with modification suggested in the FAQ.


Justin

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


Re: fetch and portinstall

2003-12-06 Thread horio shoichi
On Sat, 6 Dec 2003 00:09:02 -0700
mike bueide [EMAIL PROTECTED] wrote:
 
 When I install or upgrade a port, all attempts to an HTTP
 URL fetch are timing out.  Typically I'll just sudo
 portupgrade a port I wish to install.
 
 I am behind a firewall that uses nat and stateful rules.
 Ftp fetches work just fine.  I just would like to speed
 things up a bit by either causing the HTTP attempts to time
 out sooner or authorize them somehow.
 
 I have done digging via man  fetch.  It mentions some
 environment variables that can be set:
 
   HTTP_AUTH  (man 3 fetch)
   HTTP_TIMEOUT (man 1 fetch)
 
 I don't understand what user-name / password combination for
 HTTP_AUTH could be set to enable HTTP fetches.  Is it the
 same as the anonymous/email_address used when manually
 logging into ftp sites as a guest? 
 
 And, if I set these ENVIRONMENT VARIABLES, do I need them
 set it in the root shell, or the user running sudo? 
 
 Thanks to any who might respond.
 
 -- 
   Michael Bueide 
   mbueide (at) charter (dot) net .
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

The site is misconfigured, or is simply down for a moment ?
Can you ping or traceroute to the host ?

If the site seems running, try with FETCH_BEFORE_ARGS=-vv and
see what the real complaints are meant.


horio shoichi

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


Re: Out of pty's

2003-12-06 Thread Justin Burke
* Malcolm Kay ([EMAIL PROTECTED]) wrote:
  1. Build and install a new kernel with the line
 
   pseudo-device pty 256
 
 in the configuration file.
 
  2. Run the commands
 
 
 I believe this may be out of date. I think the kernel may now
 produce 256 by default -- I'm on 4.7-STABLE and more than 32 exist for me.

More than 32 may exist, but can you actually use them? 96 ptys currently
exist on my system, but I can only use 32. The pseudo-device line in my
kernel is the default (ie.  no numeric value is provided).


   # cd /dev
   # sh MAKEDEV pty{1,2,3,4,5,6,7}
 
 to make 256 device nodes for the new terminals.
 
 
 On 4.x certainly need this to create more devices. I don't know if you need to 
 do something with devfs in 5.x, but 5.x doesn't have MAKEDEV.

This seems to be the case on my 5.1 box. The ptys are automatically
created. And the pty limit has been bummed up to 256 in the default
config. (Just checked it with multiple instances of screen)


Justin

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


Re: Realtek 8139 unstable?

2003-12-06 Thread horio shoichi
On Fri, 05 Dec 2003 13:01:15 +0300
den [EMAIL PROTECTED] wrote:
 Greg 'groggy' Lehey wrote:
 
 On Friday,  5 December 2003 at  8:51:30 +0200, Chris Visser wrote:
   
 
 Hi,
 
 I'm running FreeBSD 5.1, on a box with a Digi Sync 570 card and a
 Realtek 8139 network card.
 
 The Machine runs fine, most of the time, but every now and again my
 network card stops working for no reason.  Rebooting the box fixes this
 for a while, but the it starts again.
 
 
 
 There have been reports of instabilities with the 8139.  I don't know
 if it's really the hardware to blame or the driver, but the
 documentation for the hardware is apparently so terrible that it's
 difficult to say.
 
 I'm using an 8139 in a number of places, including (currently) my main
 server machine.  The switch notes a large number of errors under load,
 and I'm thinking of changing to a different card the next time I have
 to reboot.
 
 Rather than reboot your machine, you'll probably find that the
 following sequence unwedges the card:
 
   ifconfig rl0 down
   ifconfig rl0 up
 
 I had this in a cron job at one point.
 
 Greg
 --
 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original recipients.
 For more information, see http://www.lemis.com/questions.html
 See complete headers for address and phone numbers.
   
 
 I have had the problem with this card on FreeBSD 5.0.
 Problem was resolved by recompiling of kernel with new drivers from Realtec.
 It seems there is many modification of 8139 chipset that have a postfix 
 ( D, C,...).
 When I choose driver that match my chipset all become ok.
 I don't know whether this driver was included in 5.1, so this is only 
 assumption, and it doesn't help to you.
 
 --
 Denis.
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I found ftp://152.104.125.40/cn/nic/rtl8139abcd8130810xseries/freebsd-8139(110).zip
via www.realtek.com.tw, which is for FreeBSD.

However, it is for 4.5.

Could you give me (us) your reference to 5.0 (or 5.x) ?



horio shoichi

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


Resolution problems in x and CLI

2003-12-06 Thread Minnesota Slinky
Hello all,

 

I’ve got a couple of questions regarding resolutions. 
First, is there a way to increase/decrease the
resolution of the CLI interface?  I’ve got a laptop
that only seems to use the center 1/3 of the screen,
I’m thinking 640x480, where my native resolution is
1024x768.

 

My next question refers to xfree86.  Part of my log
file seems to indicate X is running at 640x480, and
another seems to indicate 1024x768.  Is there a way I
can test this for sure?

 

TIA

 

Eric F Crist

President

AdTech Integrated Systems, Inc

(612) 998-3588

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