General bridging information

2002-12-20 Thread Edmond Baroud
Hi,

I had bridge_cfg set to xl0:0,vmnet1:0 and bridge to 1 on 4.5-STABLE
and it was working fine, but the only problem I had was that I
couldn't ping my FreeBSD's xl0 IP from the vmware/win2k, both OSes
were unable to talk to eachother using any protocol. (AFAIK..)

Now on 4.7 bridge_cfg is null and ether.bridge=0, my vmware
is working AND also able to see my xl0 IP.
I recently noticed that the netgraph control utility creates a node
at startup by the vmware.sh script;
ngctl list:
  Name: ngctl545Type: socket  ID: 000f   Num
hooks: 0
  Name: vmnet_bridgeType: bridge  ID: 0004   Num
hooks: 3
  Name: vmnet1  Type: ether   ID: 0002   Num
hooks: 1
  Name: xl0 Type: ether   ID: 0001   Num
hooks: 2

My questions is:
was my routing problem between the two OSes caused by this? and
was I conflicting the bridge in anyway by linking it manually
(xl0:0,vmnet1:0) while it was controlled by netgraph?

thanks,

Ed.


-- 
Edmond Baroud 
UNIX Systems Admin mailto:[EMAIL PROTECTED]
Fingerprint  140F 5FD5 3FDD 45D9 226D  9602 8C3D EAFB 4E19 BEF9
UNIX is very user friendly, it's just picky about who its friends are.



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



RE: Problems with a C application that changes users and run 'screen -x'

2002-12-20 Thread Aaron Burke
 You're not running the executable as `root'.  Since you are not the
 superuser, you do not have permissions to operate on the pseudo-tty
 that login attempts to work with, and this is why you get the
 following error message:

This is as I expected. And I dont know of a way to get around
it.

 
  Cannot open your terminal '/dev/ttyp0' - please check.
 
 Three possibilities that you might wish to investigate further are:
 
 1. Write a shell script that does the equivalent of the system() call
you are using now.  This should be fairly easy and will work fine
if you execute the script from a root shell.

I dont think that this will work. The super-user has nothing to do
with the process that needs to be run. The user that logs in is not
privliged, and the account that he is becomming is not privlidged
either.

 
 2. Fix your program by removing the bad use of `'.

Done. Thanks for the comment on this. I noticed a warning from g++ about
this today.

 
 3. Avoid using system() which I vaguely recall being described with a
lot of bad words in various places and use fork(), exec(), _exit(),
waitpid() and exit() instead.

How would I do this with exec. According to the man page for exec
I have only a few options.
 int execl(const char *path, const char *arg, ...);
 int execlp(const char *file, const char *arg, ...);
 int execle(const char *path, const char *arg, ...);
 int exect(const char *path, char *const argv[], 
   char *const envp[]);
 int execv(const char *path, char *const argv[]);
 int execvp(const char *file, char *const argv[]);

Can you point me to the right documentation to learn about
the exec functions provided by unistd.h?

Allthough I am not familiar with unistd.h at all, I did do
a little bit of expermentation.

Here is my new code:

#include stdio.h
#include stdlib.h
#include unistd.h

int main(int argc, char* pszArgs[])
{
int result, result2;
result= execlp(/usr/bin/su, ppp, -m);
result2=execlp(/usr/local/bin/screen, -x);
return result + result2;
}
bash-2.05$ g++ run-ppp.c
bash-2.05$ ./a.out
bash-2.05$

I am a little supprised that nothing appeared to have happened.
Perhaps I am running these improperly. Am I using the correct
exec command? Can you demonstrate how this should work? 
What else could execlp(args) needs to say?

 
 - Giorgos
 

Thanks for your time.

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



FIXED: fdisk and HD's larger than 2GB

2002-12-20 Thread David Gethings
Would you believe it was a jumper on the HD that was causing all the
problems. The HD is setup as the primary IDE master, but the jumper
settings on the HD were not configured as such. Once the correct jumper
settings were in place fdisk behaved normally.

I'd like to add that I bought the PC as is from a friend, and so
figured this kind of thing would already have been sorted. I won't make
that kind of assumption again.

So the good news is that I now have more than 2G to play with. The bad
news is that seeing as I installed an OS while the jumpers were not
configured correctly, this seems to have corrupted sections of the disk.
So be warned: make sure your HD jumper settings are correct for the HD's
position!

Regards

Dg


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



RE: Problems with a C application that changes users and run 'screen-x'

2002-12-20 Thread Paul Everlund
On Fri, 20 Dec 2002, Aaron Burke wrote:

  3. Avoid using system() which I vaguely recall being described with a
 lot of bad words in various places and use fork(), exec(), _exit(),
 waitpid() and exit() instead.

 How would I do this with exec. According to the man page for exec
 I have only a few options.
  int execl(const char *path, const char *arg, ...);
  int execlp(const char *file, const char *arg, ...);
  int execle(const char *path, const char *arg, ...);
  int exect(const char *path, char *const argv[],
  char *const envp[]);
  int execv(const char *path, char *const argv[]);
  int execvp(const char *file, char *const argv[]);

 Can you point me to the right documentation to learn about
 the exec functions provided by unistd.h?

 Allthough I am not familiar with unistd.h at all, I did do
 a little bit of expermentation.

 Here is my new code:

 #include stdio.h
 #include stdlib.h
 #include unistd.h

 int main(int argc, char* pszArgs[])
 {
 int result, result2;
 result= execlp(/usr/bin/su, ppp, -m);
 result2=execlp(/usr/local/bin/screen, -x);
 return result + result2;
 }
 bash-2.05$ g++ run-ppp.c
 bash-2.05$ ./a.out
 bash-2.05$

 I am a little supprised that nothing appeared to have happened.
 Perhaps I am running these improperly. Am I using the correct
 exec command? Can you demonstrate how this should work?
 What else could execlp(args) needs to say?

 
  - Giorgos
 

 Thanks for your time.

I think execlp is writing over your current process. So first your
process is exchanged with ppp, then ppp is exchanged with screen. You
have to make a copy of your current process, a.out, by using fork, and
then exchange the process image in this copy using execlp.

I suggest you read more about those functions Giorgos mentioned: fork,
execlp, waitpid, and exit.

Best regards,
Paul


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



Re: FTP installation from the floppies through ADSL modem with P

2002-12-20 Thread Toomas Aas
 Date:  Fri, 20 Dec 2002 11:03:25 +0200
 From:  Asker [EMAIL PROTECTED]

 What do you think about changing GENERIC or just the kernel in installation
 floppies in the future releases of FreeBSD? I think it will be very useful
 because ADSL (therefore PPPoE protocol) is very frequent method of
 connecting with Internet Service Provider in our days.

ADSL doesn't necessarily mean PPPoE. At least here in Estonia PPPoE 
seems to be on its way out and the bulk of ISPs providing ADSL use just 
Ethernet without any PPP.

 P.S. FTP installation use much less internet traffic than 4 huge ISO files'
 downloading.

There is no need to download 4 huge ISO files. All you really need is 
the one mini-ISO, ca 200 MB.

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Those who can't write, write manuals.


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



ports upgrade

2002-12-20 Thread iuliand
Hello!
If I cvsup'd ports what will I need in order to make my new ports to work? I mean I 
should make a buildworld?
Thanks!

-- 
Iulian
ROMTELECOM. OM Network. IN Management Center 

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



Re: starting ppp on boot up

2002-12-20 Thread Scott Mitchell
On Fri, Dec 20, 2002 at 08:47:33PM +1300, Jonathan Chen wrote:
 On Fri, Dec 20, 2002 at 06:59:18AM +, P. U. Kruppa wrote:
  Hi!
  
  I have a well working user ppp configuration, which I run
  manually by
  # ppp -nat -ddial adsl
  What is the simpliest way to start this automatically on boot up?
 
 By adding the following lines into your /etc/rc.conf:
 
 ppp_enable=YES
 ppp_mode=ddial
 ppp_profiles=adsl

You might want

ppp_nat=YES

in there as well

Scott

-- 
===
Scott Mitchell  | PGP Key ID | Eagles may soar, but weasels
Cambridge, England  | 0x54B171B9 |  don't get sucked into jet engines
[EMAIL PROTECTED] | 0xAA775B8B |  -- Anon

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



RE: Problems with a C application that changes users and run 'screen-x'

2002-12-20 Thread Paul Everlund
On Fri, 20 Dec 2002, Paul Everlund wrote:

Found an error in my reply...

 On Fri, 20 Dec 2002, Aaron Burke wrote:

[big snip]

 I think execlp is writing over your current process. So first your
 process is exchanged with ppp, then ppp is exchanged with screen. You
 have to make a copy of your current process, a.out, by using fork, and
 then exchange the process image in this copy using execlp.

Correction... Your a.out process is replaced with ppp, then nothing
else happens, as screen never is called du to the replacement.

 Best regards,
 Paul

Best regards,
Paul


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



Re: ports upgrade

2002-12-20 Thread Ying-Chieh Liao
On Fri, Dec 20, 2002 at 18:11:11 +0200, [EMAIL PROTECTED] wrote:
 Hello!
 If I cvsup'd ports what will I need in order to make my new ports to work? I mean I 
should make a buildworld?

no you wont

just installs portupgrade (ports/sysutils/portupgrade), and then run
portupgrade -R your_port_name
-- 
char*p=char*p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
-- Anonymous



msg12690/pgp0.pgp
Description: PGP signature


Re: ports upgrade

2002-12-20 Thread Jud
On Fri, 20 Dec 2002 18:11:11 +0200, [EMAIL PROTECTED] wrote:


Hello!
If I cvsup'd ports what will I need in order to make my new ports to 
work? I mean I should make a buildworld?
Thanks!

You will often be able to build most or all of your new ports without 
building the world, because cvsup-ing has updated the ports skeletons.  
However, occasionally an updated port will depend on something in your 
system having been updated, so building world would be necessary to avoid 
breakage.  Therefore, unless building the world would be a problem (takes 
too long, don't want to take the machine offline, etc.), doing so avoids 
any potential difficulty.

--
Jud

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


Re: /etc/mail/access list to DENY spam?

2002-12-20 Thread Warren Block
I found this ironic:

From [EMAIL PROTECTED] Fri Dec 20 05:25:11 2002
Date: Fri, 20 Dec 2002 04:20:19 -0800 (PST)
From: Mail Delivery Subsystem [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Returned mail: see transcript for details

The original message was received at Fri, 20 Dec 2002 04:20:19 -0800 (PST)
from mx2.speakeasy.net [216.254.0.225]

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(reason: 550 5.0.0 We brook zero SPAM)

-Warren Block * Rapid City, South Dakota USA




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



Re: OOPS....Re: ipf - IPFILTER_DEFAULT_BLOCK ...This is not working as predicted! Help?

2002-12-20 Thread Keith Spencer
 --- Fernando Gleiser [EMAIL PROTECTED]
wrote:  On Wed, 18 Dec 2002, Keith Spencer wrote:
 
   sorry guys the copy paste mucked up on me...
  Here is the full rule set I am using...
 
 But the questions I sent in my previous mail remain
 unanswered.
 post the answers and maybe I can tell what's wrong.
 
 #ifdef WILDGUESS
 
 if you are using user ppp, the outside interface is
 tun0, *not* ed0
 if that is the case, change ed0 into tun0 in the
 rules, reload
 and tell me if that works
 
 #endif

OK Guys...sorry to be a pain but here goes
Thanks Keith

+IPF.RULES +
#
# Outside Interface
#

#
# Allow out all TCP, UDP, and ICMP traffic  keep
state on it
# so that it's allowed back in.
#
# If you wanted to do egress filtering...here's where
you'd do it.
# You'd change the lines below so that rather than
allowing out any
# arbitrary TCP connection, it would only allow out
mail, pop3, and http
# connections (for example). So, the first line,
below, would be 
# replaced with:
# pass out quick on tun0 proto tcp from any to any
port = 25 keep state
# pass out quick on tun0 proto tcp from any to any
port = 110 keep state
# pass out quick on tun0 proto tcp from any to any
port = 80 keep state
# ...and then do the same for the remaining lines so
that you allow
# only specified protocols/ports 'out' of your network
#
pass out quick on tun0 proto tcp from any to any keep
state
pass out quick on tun0 proto udp from any to any keep
state
pass out quick on tun0 proto icmp from any to any keep
state
block out quick on tun0 all

#---
# Block all inbound traffic from non-routable or
reserved address spaces
#---
block in log quick on tun0 from 192.168.0.0/16 to any
#RFC 1918 private IP
block in log quick on tun0 from 172.16.0.0/12 to any
#RFC 1918 private IP
block in log quick on tun0 from 10.0.0.0/8 to any #RFC
1918 private IP
block in log quick on tun0 from 127.0.0.0/8 to any
#loopback
block in log quick on tun0 from 0.0.0.0/8 to any
#loopback
block in log quick on tun0 from 169.254.0.0/16 to any
#DHCP auto-config
block in log quick on tun0 from 192.0.2.0/24 to any
#reserved for doc's
block in log quick on tun0 from 204.152.64.0/23 to any
#Sun cluster interconnect
block in quick on tun0 from 224.0.0.0/3 to any #Class
D  E multicast

#
# Allow bootp traffic in from your ISP's DHCP server
only. 
#
#pass in quick on tun0 proto udp from X.X.X.X/32 to
any port = 68 keep state

#
# If you wanted to set up a web server or mail server
on your box
# (which is outside the scope of this howto), or allow
another system
# on the Internet to externally SSH into your
firewall, you'd want to 
# uncomment the following lines and modify as
appropriate. If you 
# have other services running that you need to allow
external access
# to, just add more lines using these as examples.
#
# If the services are on a box on your internal
network (rather than
# the firewall itself), you'll have to add both the
filter listed below,
# plus a redirect rule in your /etc/ipnat.rules file.
#
pass in quick on tun0 proto tcp from any to any port =
80 flags S keep state keep frags
pass in quick on tun0 proto tcp from any to any port =
25 flags S keep state keep frags
#pass in quick on tun0 proto tcp from X.X.X.X/32 to
any port = 22 flags S keep state keep frags
pass in quick on tun0 proto tcp from any to
203.36.104.241 port = 2 flags S keep state keep
frags
pass in quick on tun0 proto tcp from any to
203.36.104.241 port = 22 flags S keep state keep frags
pass in quick on tun0 proto udp from any to
203.36.104.241 port = 22  keep state 
pass in quick on tun0 proto tcp from any to any port =
443 flags S keep state keep frags
pass in quick on tun0 proto udp from any to any port =
443 keep state
pass in quick on tun0 proto tcp from any to
203.36.104.241 port = 3306 flags S keep state keep
frags
pass in quick on tun0 proto udp from any to
203.36.104.241 port = 3306 keep state
#
# Block and log all remaining traffic coming into the
firewall
# - Block TCP with a RST (to make it appear as if the
service 
# isn't listening)
# - Block UDP with an ICMP Port Unreachable (to make
it appear 
# as if the service isn't listening)
# - Block all remaining traffic the good 'ol fashioned
way

Re: OOPS....Re: ipf - IPFILTER_DEFAULT_BLOCK ...This is not working as predicted! Help?

2002-12-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-20 23:28:01 +1100:
  --- Fernando Gleiser [EMAIL PROTECTED]
 wrote:  On Wed, 18 Dec 2002, Keith Spencer wrote:

your MUA screws the message text. get a better one.

sorry guys the copy paste mucked up on me...
   Here is the full rule set I am using...
 
 OK Guys...sorry to be a pain but here goes
 Thanks Keith

...

 #
 # Allow out all TCP, UDP, and ICMP traffic  keep
 state on it
 # so that it's allowed back in.

it's wrapped againg. get a better MUA or place the ruleset on web,
and post the url

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

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



Re: what is a pps file?

2002-12-20 Thread Daniel Bye
On Thu, Dec 19, 2002 at 11:37:02PM -0500, David Banning wrote:
 Someone from the Netherlands sent me a pps file. Anyone know what
 type of file that is? 
 

Powerpoint Slideshow format.  Grrr...   Yeuch!

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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



Hey cutie

2002-12-20 Thread Daisey Johnson
Dear Homeowner,
 
Interest Rates are at their lowest point in 40 years!

We help you find the best rate for your situation by
matching your needs with hundreds of lenders!

Home Improvement, Refinance, Second Mortgage,
Home Equity Loans, and More! Even with less than
perfect credit!

This service is 100% FREE to home owners and new
home buyers without any obligation. 

Just fill out a quick, simple form and jump-start
your future plans today!


Visit http://218.5.79.218/dont_delay/index.asp?Afft=QM99






To unsubscribe, please visit:

http://218.5.79.218/light/index.htm



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



Re: Running X-clients on remote hosts.

2002-12-20 Thread Matthew Seaman
On Fri, Dec 20, 2002 at 11:44:17AM +0100, dick hoogendijk wrote:
  How to make X listen on the network depends on how you start the X
  server.  If you use startx(1), then you just need to invoke it as:
  
  startx -listen_tcp
 
 Hmm, well, this definately does not work for me ;-/

So, what happens if you try and start X listening on the network?

What version of XFree86 do you have installed?  You need at least
XFree86-clients-4.2.0_1 according to my reading of the CVS logs:


http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/XFree86-4-clients/Makefile?rev=1.96content-type=text/x-cvsweb-markup

It should be pretty obvious if your startx(1) understands the
-listen_tcp flag just by reading the script.  Of course, if it doesn't
understand the -listen_tcp flag then it probably defaults to listening
on the network anyhow.

What does:

netstat -an | grep '\.60[0-9][0-9]'

 or

sockstat | grep ':60[0-9][0-9]'

return?  How about:

ps -axwww | grep /usr/X11R6/bin/X

You need for something to be listening at about port 6000+n
(where n is zero or more, but usually less than 20) in order to have
any hope of running X over the network.

If X *is* listening for network connections, then I'd start looking at
firewall rulesets or the like to discover what's blocking the traffic.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Re: Mounting XP partition

2002-12-20 Thread Daniel Bye
On Fri, Dec 20, 2002 at 02:37:53PM +0200, Wayne Swart wrote:
 Hi everyone, me again :)
 
 I have mounted a ntfs(WinXP) partition on my freebsd box, but i am unable
 to write anything to it?
 
 Any ideas?

Check the WRITING section of man mount_ntfs.  There are limits on
writing to NTFS.

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

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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



chown broken??

2002-12-20 Thread Andrew Cutler
Hello 



I just hosed one of my boxes by recursively setting all my file
permissions incorrectly:

$ su
$ cd /data
$ chown -R andrew:wheel *
$ chown -R andrew:wheel .*


For some reason the last command was interpreted as:
$ chown -R andrew:wheel /* 

I just cvsuped to 4.7 a few days ago, still running 4.7-RELEASE GENERIC
kernel.

Why does the behaviour of chown change when u r root?

Surely this is a bug?

And what the hell is this crap in the man page about -R:

-R  Change the user ID and/or the group ID for the file
hierarchies rooted in the files instead of just the files
themselves.

As always, any assistance is appreciated!

Cheers,


-- 
Andrew Cutler [EMAIL PROTECTED]


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



Re: chown broken??

2002-12-20 Thread Ceri Davies
On Sat, Dec 21, 2002 at 12:22:32AM +1100, Andrew Cutler wrote:
 Hello 
 
 
 
 I just hosed one of my boxes by recursively setting all my file
 permissions incorrectly:
   
   $ su
 $ cd /data
 $ chown -R andrew:wheel *
 $ chown -R andrew:wheel .*

That matches ...

Ceri
-- 
My ancestors help the bold sons!

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



Re: chown broken??

2002-12-20 Thread Stijn Hoop
Hi,

On Sat, Dec 21, 2002 at 12:22:32AM +1100, Andrew Cutler wrote:
 I just hosed one of my boxes by recursively setting all my file
 permissions incorrectly:
   
   $ su
   $ cd /data
   $ chown -R andrew:wheel *

This is all ok.

   $ chown -R andrew:wheel .*

This isn't.

 For some reason the last command was interpreted as:
 $ chown -R andrew:wheel /* 

No, it was interpreted by your shell as:

# chown -R andrew:wheel . .. .foo .bar other files starting with .

Note the second entry, '..'. This translates to the directory above the one
you are rooted in, as usual. In effect you recursively chown'ed every
directory on your system, just as you asked.

 Why does the behaviour of chown change when u r root?

It doesn't, only when you try this as a normal user you don't have the
permissions to change ownership of /.

 Surely this is a bug?

No, it isn't.

 And what the hell is this crap in the man page about -R:
 
 -R  Change the user ID and/or the group ID for the file
 hierarchies rooted in the files instead of just the files
 themselves.

It is another way of saying that chown will update ownership recursively,
although I admit it is worded rather badly.

HTH,

--Stijn

-- 
I really hate this damned machine
I wish that they would sell it.
It never does quite what I want
But only what I tell it.



msg12708/pgp0.pgp
Description: PGP signature


Re: starting ppp on boot up

2002-12-20 Thread P. U. Kruppa
On Fri, 20 Dec 2002, Scott Mitchell wrote:

 On Fri, Dec 20, 2002 at 08:47:33PM +1300, Jonathan Chen wrote:
  On Fri, Dec 20, 2002 at 06:59:18AM +, P. U. Kruppa wrote:
   Hi!
  
   I have a well working user ppp configuration, which I run
   manually by
   # ppp -nat -ddial adsl
   What is the simpliest way to start this automatically on boot up?
 
  By adding the following lines into your /etc/rc.conf:
 
  ppp_enable=YES
  ppp_mode=ddial
  ppp_profiles=adsl

 You might want

   ppp_nat=YES

 in there as well
In the meantime I found # man   and copied/edited this
- working - /usr/local/etc/rc.d - script:

  ---
#!/bin/sh -
#
#initialization/shutdown script for pppd
case $1 in
start)
/usr/sbin/ppp -nat -ddial adsl  echo -n ' pppd'
;;
stop)
kill `cat /var/run/foo.pid`  echo -n ' pppd'
;;
*)
echo unknown option: $1 - should be 'start' or 'stop' 2
;;
esac
 --

Does this do anything substantially different to your idea?


Uli.

*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


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



Re: chown broken??

2002-12-20 Thread Andrew Cutler
I realise that now, but why does chown not ignore the match since most
other commands simply return?
. is a directory -- ignored
.. is a directory -- ignored

This inconsistency is not logical.

On Sat, 2002-12-21 at 00:26, Ceri Davies wrote:
 On Sat, Dec 21, 2002 at 12:22:32AM +1100, Andrew Cutler wrote:
  Hello 
  
  
  
  I just hosed one of my boxes by recursively setting all my file
  permissions incorrectly:
  
  $ su
  $ cd /data
  $ chown -R andrew:wheel *
  $ chown -R andrew:wheel .*
 
 That matches ...
 
 Ceri
-- 
Andrew Cutler [EMAIL PROTECTED]


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



Re: chown broken??

2002-12-20 Thread Cliff Sarginson
On Sat, Dec 21, 2002 at 12:36:36AM +1100, Andrew Cutler wrote:
 I realise that now, but why does chown not ignore the match since most
 other commands simply return?
 . is a directory -- ignored
 .. is a directory -- ignored
 
 This inconsistency is not logical.
 
It is not inconsistent, the -R flag has told it to wend it's way through
the directory hierarchy. And chown unadorned can change the ownerships
of a directory as well.
Maybe you want a flag that own recurses down the hierarchy and not up it ... ?

Anyway the behaviour is consistent with other system commands that take
a recursion flag (cp for example). 

Remember, sympathy is not abundant when mistakes are made as root ..
since we have all been there .. :) or :( .. depending on your point of
view.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: chown broken??

2002-12-20 Thread David Schultz
Thus spake Andrew Cutler [EMAIL PROTECTED]:
 I realise that now, but why does chown not ignore the match since most
 other commands simply return?
 . is a directory -- ignored
 .. is a directory -- ignored
 
 This inconsistency is not logical.

rm makes a special case for '.' and '..' specifically to avoid
this kind of foot-shooting.  It gets away with it because it
doesn't make much sense to remove your current directory, much
less its parent.  Unfortunately, you can't really do the same
thing for chown because people sometimes do say 'chown -R foo .'
and really mean it.  Since the '.*' is expanded by the shell,
chown has no way of knowing what was really meant.  (BTW, the
example I gave shows you how to do what you were trying to do,
without the problems you ran into.)

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



Re: chown broken??

2002-12-20 Thread Fernando Gleiser
On 21 Dec 2002, Andrew Cutler wrote:

 I realise that now, but why does chown not ignore the match since most
 other commands simply return?
 . is a directory -- ignored
 .. is a directory -- ignored

 This inconsistency is not logical.

It is not inconsistenct. chown can operate on directories. '.' and '..'
are just like any other directory on the system.


Fer



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



Re: chown broken??

2002-12-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-21 00:59:24 +1100:
 So without further embarrassment, does anyone have any idea on what is
 the quickest and easiest way to correct the file ownership issues that
 I'm currently experiencing ? 

restore from backup. if you don't backup, then reinstall.

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

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



Re: chown broken??

2002-12-20 Thread Ceri Davies
On Sat, Dec 21, 2002 at 12:59:24AM +1100, Andrew Cutler wrote:
 Thanks for everyone's quick responses. I'm not going to delve any deeper
 as to why chown, chmod etc match .. for .* when other commands do not.
 I'm sure this is ground that has been covered many times before. And I'm
 sure its the sort of mistake that you only make once. (In fact now that
 I think about it I'm sure there is a discussion of this issue in FreeBSD
 Unleashed/SAMS) And in starting this thread I feel like I've just
 committed some sort of UNIX newbie fopar. :)
 
 So without further embarrassment, does anyone have any idea on what is
 the quickest and easiest way to correct the file ownership issues that
 I'm currently experiencing ? 

mtree -U [insert other options here]

Ceri
-- 
May the ire of my ancestors bring your last day!

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



Re: chown broken??

2002-12-20 Thread Mark
- Original Message -
From: Andrew Cutler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 20, 2002 2:22 PM
Subject: chown broken??


 Hello



 I just hosed one of my boxes by recursively setting all my
 file permissions incorrectly:

 $ su
 $ cd /data
 $ chown -R andrew:wheel *
 $ chown -R andrew:wheel .*


 For some reason the last command was interpreted as:
 $ chown -R andrew:wheel /*


Nope; the recursion includes .. here: / in your case, as others already
pointed out.

I must say, though, that while I understand this behaviour, one can argue on
what exactly recursive is to mean here. Intuitively, the definition of
the current sub-directory and all sub-directories below the current
directory (and that for each subdirectory) seems the correct one. Which
would exclude .., as this is not a sub-directory of the current directory,
but the parent.

But this behavior is not inconsistent; try cp -R .*, and you will find it
does the same. :)

- Mark


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



Re: chown broken??

2002-12-20 Thread Ceri Davies
On Fri, Dec 20, 2002 at 03:12:17PM +0100, Mark wrote:
 
 I must say, though, that while I understand this behaviour, one can argue on
 what exactly recursive is to mean here. Intuitively, the definition of
 the current sub-directory and all sub-directories below the current
 directory (and that for each subdirectory) seems the correct one. Which
 would exclude .., as this is not a sub-directory of the current directory,
 but the parent.

Not really.  It recurses through the directories named on the command line,
of which '..' happens to be one.

Ceri
-- 
By Moradin, I shall avenge the devastation of my beards!

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



help me plz

2002-12-20 Thread waqar hassan
We are living in Pakistan we went to almost all
specialist Doctors related to Fatmia's problems but
Doctors suggest us to take Fatmia abroad for treatment
we tried are best since she was one Day old. her first
Doctor was Dr. G.A. Shah (Ortho). Know she is 10 years
old during 10 years we consult about her to all senior
Doctors available in Pakistan but no one suggest that
her treatment is available here we worked for her
treatment by near our country like Russia, India etc,
but we didn’t received encouraging response form these
Countries. I tried on Email for my child treatment and
hopping so that institute and people like yours can
help us. Because it is a matter of humanity by your
effort one could live healthy life which is a gift of
God and I thing when the world is such advance my
child has a right to live like other healthy child and
it is not only the parents duty its a duty of
institute and people like yours. Who are working for
such kind of patient’s? It is a duty of humanity its a
duty of every person who have a loving heart. My child
is 10 know and we have very little time for her
treatment. She is a baby child and I have to face so
many feminine problems in near further. I want to tell
you one thing that in our Country the basic needs like
Pamper of her age are not available.
I request you to plz help me in favor of her treatment
being mother its my request to all the world for help.
  
A MOTHER.
ISHRAT TARIQ


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: FIXED: fdisk and HD's larger than 2GB

2002-12-20 Thread Jack L. Stone
At 11:18 AM 12.20.2002 +, David Gethings wrote:
On Fri, 2002-12-20 at 11:15, Laszlo Vagner wrote:
 western digital is notorious for that, what brand are you using?
 
 just curious.
Maxtor something-or-other.

Dg


Beware of Quantum Fireballs -- bought two of the 40GBers and the jumpers
would NOT work properly -- according to the BIOS on several different
machines tried. Had to do the opposite of the diagrams for mastering, but
slaves would NOT work period on either one. One died after a couple of
months -- brand new! Moved the survivor to a less-important machine to do
test routine duties -- peeling potatoes and shelling peas!

Never again

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: chown broken??

2002-12-20 Thread Mark
- Original Message -
From: Ceri Davies [EMAIL PROTECTED]
To: Mark [EMAIL PROTECTED]
Cc: Andrew Cutler [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, December 20, 2002 3:15 PM
Subject: Re: chown broken??


 On Fri, Dec 20, 2002 at 03:12:17PM +0100, Mark wrote:

  I must say, though, that while I understand this behaviour, one can
  argue on what exactly recursive is to mean here. Intuitively,
  the definition of the current sub-directory and all sub-directories
  below the current directory (and that for each subdirectory) seems
  the correct one. Which would exclude .., as this is not a
sub-directory
  of the current directory, but the parent.

 Not really.  It recurses through the directories named on the command
 line, of which '..' happens to be one.


Yes, the directories named on the command line within the CURRENT
directory. Technically, . and .. are entries within the current
directory (try: od -c .), and they have inode numbers too. But that does
not deter me from deeming it a bit counter-intuitive to consider .. a
directory of the current directory. :) Especially in the context of
recursion.

- Mark


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



Re: Mounting XP partition

2002-12-20 Thread Jerry McAllister
 
 Hi everyone, me again :)
 
 I have mounted a ntfs(WinXP) partition on my freebsd box, but i am unable
 to write anything to it?

My understanding is that is the current state of ntfs support.
You can read from, but not write to ntfs slices.  I don't know
if writing ability is being worked on.

jerry

 
 Any ideas?
 
 Thanks
 Wayne
 

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



Re: chown broken??

2002-12-20 Thread Ceri Davies
On Fri, Dec 20, 2002 at 03:48:41PM +0100, Mark wrote:
 
  On Fri, Dec 20, 2002 at 03:12:17PM +0100, Mark wrote:
 
   I must say, though, that while I understand this behaviour, one can
   argue on what exactly recursive is to mean here. Intuitively,
   the definition of the current sub-directory and all sub-directories
   below the current directory (and that for each subdirectory) seems
   the correct one. Which would exclude .., as this is not a
 sub-directory
   of the current directory, but the parent.
 
  Not really.  It recurses through the directories named on the command
  line, of which '..' happens to be one.
 
 Yes, the directories named on the command line within the CURRENT
 directory. Technically, . and .. are entries within the current
 directory (try: od -c .), and they have inode numbers too. But that does
 not deter me from deeming it a bit counter-intuitive to consider .. a
 directory of the current directory. :) Especially in the context of
 recursion.

You're saying that chown -R 700 /tmp doesn't work then ?

Ceri
-- 
Face the fire of a 250 pound woman!

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



Re: Mounting XP partition

2002-12-20 Thread Anthony Abby
Jerry McAllister said:

 Hi everyone, me again :)

 I have mounted a ntfs(WinXP) partition on my freebsd box, but i am
 unable to write anything to it?

 My understanding is that is the current state of ntfs support.
 You can read from, but not write to ntfs slices.  I don't know
 if writing ability is being worked on.



You can write to... smbfs allows full rw capability.  I run a backup job
on my linux/freebsd servers every night and back the resultant tars up on
my windows xp box via smbfs mount.  Works like a charm.

Anthony



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



Re: starting ppp on boot up

2002-12-20 Thread Scott Mitchell
On Fri, Dec 20, 2002 at 02:31:20PM +, P. U. Kruppa wrote:
 In the meantime I found   # man   and copied/edited this
 - working -   /usr/local/etc/rc.d - script:
 
   ---
 #!/bin/sh -
 #
 #initialization/shutdown script for pppd
 case $1 in
 start)
 /usr/sbin/ppp -nat -ddial adsl  echo -n ' pppd'
 ;;
 stop)
 kill `cat /var/run/foo.pid`  echo -n ' pppd'
 ;;
 *)
 echo unknown option: $1 - should be 'start' or 'stop' 2
 ;;
 esac
  --
 
 Does this do anything substantially different to your idea?

No -- I expect that the command line actually executed will be the same in
either case.

I guess the advantage of the script is that you have the 'stop' option as
well, which you don't get with rc.conf.  On the other hand, it's one more
script you have to maintain.

Personally I'd go with the rc.conf variables and use pppctl to shut down
the daemon if I ever needed to, but I think it's down to personal
preference at this point.

Cheers,

Scott

-- 
===
Scott Mitchell  | PGP Key ID | Eagles may soar, but weasels
Cambridge, England  | 0x54B171B9 |  don't get sucked into jet engines
[EMAIL PROTECTED] | 0xAA775B8B |  -- Anon

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



Re: chown broken??

2002-12-20 Thread Roman Neuhauser
please don't cc me, I'll pick up your reply from the list.

# [EMAIL PROTECTED] / 2002-12-20 12:39:31 -0300:
 On Fri, 20 Dec 2002, Roman Neuhauser wrote:
 
  apart from what others said about wildcard substitution:
 
  roman@freepuppy /usr 1005:1  ls -l .*
  zsh: no matches found: .*
  roman@freepuppy /usr 1006:1 
 
  zsh (at least with my settings) would protect you from
  yourself in this situation.
 
   And will prevent you from doing it when you really need it :)

any problem with this?

cd ..
chmod -R .

zsh's behavior actually allows you to chmod only dotfils/dotdirs:

roman@freepuppy ~/tmp 1013:0  echo .*
.htaccess .mail .vim
roman@freepuppy ~/tmp 1014:0 

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

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



Re: chown broken??

2002-12-20 Thread Fernando Gleiser
On Fri, 20 Dec 2002, Roman Neuhauser wrote:


 any problem with this?

 cd ..
 chmod -R .

 zsh's behavior actually allows you to chmod only dotfils/dotdirs:

 roman@freepuppy ~/tmp 1013:0  echo .*
 .htaccess .mail .vim
 roman@freepuppy ~/tmp 1014:0 

Because zsh's * never matches a dot at the begining. I am used to sh's
semantics, I know what * expands to, and proceed acording to that.


Fer


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



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



41upgrade.tgz and 42upgrade.tgz gone??

2002-12-20 Thread Jay West
Has anyone seen:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/41upgr
ade.tgz
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/42upgr
ade.tgz

These files appear to have disappeared. Can someone tell me where they are?
I wanted the latest ones to go with the entire 4x stable ports collection.
Please reply to [EMAIL PROTECTED] directly as I'm not on the list.

Thanks!

Jay West

---
[This E-mail scanned for viruses by Declude Virus]


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



IPX and ppp0 (tun0)

2002-12-20 Thread uzzver21
Hello guys,

I wonna know is it possible to send ipx frames trough the tun0
interface. Indeed I need to bind my local network through the
leased line to another LAN where is a Nowell NetWare 4.11. I can't
use pure IP, only IPX over IP, coz soft wich I should use on the
NetWare works only with IPX :(
Any ideas?


-- 
Best regards,
 uzzver21  mailto:[EMAIL PROTECTED]


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



Changing console refresh rate

2002-12-20 Thread Avleen Vig
This is getting quiet frustrating :-)
I don't want to use X, because I like to use my lovely console :)
Plus I'm only on a P233.

I've compiled SC_PIXEL_MODE into my kernel, which means I can use
vidcontrol to set the resolution to 800x600.
Fantastic!

Well, almost. When this happens, my video refresh rate drops to from
70Hz (at the default 640x400) to 60Hz.

I've found a hack to vesa.c that switches the mode to 1024x768, grabs the
refresh rate (100Hz) then switchs to 800x600 and applies it. This is a big
messy, plus my monitor only just supports 100Hz.

Does anyone know how I can set the *refresh rate* of the console, instead
of having to live with the graphics card's default for that resolution?
I'm sure it might be possible, I can't find anything about it though.

Please help !!

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



Re: Tape Backup

2002-12-20 Thread Irwan Hadi
On Mon, Dec 16, 2002 at 11:33:11AM -0500, Jerry McAllister wrote:

 If your usage justifies the cost, you might want to consider DLT
 or LTO type drives.   They handle the load with less failure and 
 higher capacity and data rates.

I'm using Sony AIT-2 and it works great. The benefit of using AIT is
that you don't need to clean your tape drive at all, and it also in a
continuous development with AIT-3 has been launched (100/200 capacity).


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



Re: problem with installing new ports

2002-12-20 Thread Kliment Andreev
 please let me know if i MUST hold a connection to the
 internet during the installations.if so, is there a
 way to avoid that connection?

Download the tarball into /usr/ports/distfiles. 

Then do

# cd /usr/ports/audio/mpeg123
# make all install clean 




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



Re: starting ppp on boot up

2002-12-20 Thread P. U. Kruppa
On Fri, 20 Dec 2002, Scott Mitchell wrote:

 On Fri, Dec 20, 2002 at 02:31:20PM +, P. U. Kruppa wrote:
  In the meantime I found # man   and copied/edited this
  - working - /usr/local/etc/rc.d - script:
 
---
  #!/bin/sh -
  #
  #initialization/shutdown script for pppd
  case $1 in
  start)
  /usr/sbin/ppp -nat -ddial adsl  echo -n ' pppd'
  ;;
  stop)
  kill `cat /var/run/foo.pid`  echo -n ' pppd'
   ^^^
Thanks Scott, now that you explained what this thing should do I
found out that it should be
kill  ... /tun*.pid  ...

Uli.


  ;;
  *)
  echo unknown option: $1 - should be 'start' or 'stop' 2
  ;;
  esac
   --
 
  Does this do anything substantially different to your idea?

 No -- I expect that the command line actually executed will be the same in
 either case.

 I guess the advantage of the script is that you have the 'stop' option as
 well, which you don't get with rc.conf.  On the other hand, it's one more
 script you have to maintain.

 Personally I'd go with the rc.conf variables and use pppctl to shut down
 the daemon if I ever needed to, but I think it's down to personal
 preference at this point.

 Cheers,

   Scott

 --
 ===
 Scott Mitchell  | PGP Key ID | Eagles may soar, but weasels
 Cambridge, England  | 0x54B171B9 |  don't get sucked into jet engines
 [EMAIL PROTECTED] | 0xAA775B8B |  -- Anon

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


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


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



Re: problem with installing new ports

2002-12-20 Thread David S. Jackson
On Fri, Dec 20, 2002 at 09:23:01AM -0800 Ali Nasseh [EMAIL PROTECTED] wrote:
 hi,
 i run freebsd 4.5 stable and when i try to install a
 new port like mpg123 it fails.
 my command to system and it's response is here:
[...]

  mpg123-0.59r-pl1.tar.gz doesn't seem to exist in
 /usr/ports/distfiles/.

This is an important directory for ports!

mpg123-0.59r-pl1.tar.gz is the name of the tarball it cannot find.

  Attempting to fetch from
 http://www.mpg123.de/mpg123/.
  Attempting to fetch from
 http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/.
  Attempting to fetch from
 ftp://ftp.tu-clausthal.de/pub/unix/audio/mpg123/.
  Attempting to fetch from
 http://ftp.tu-clausthal.de/pub/unix/audio/mpg123/.
  Attempting to fetch from
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
  Couldn't fetch it - please try to retrieve this
  port manually into /usr/ports/distfiles/ and try
 again.
 *** Error code 1
 
 Stop in /usr/ports/audio/mpg123.
 *** Error code 1

[...]

 please let me know if i MUST hold a connection to the
 internet during the installations.if so, is there a
 way to avoid that connection?

Um, yes, you do need to be connected, unless you already have the
required tarballs in /usr/ports/distfiles.

 --thank you for any help

Your ports system was trying to remotely fetch a mpg123 tarball.  (There
are several tarballs here, actually, since there are patches to apply.)
It couldn't find one at the proper revision level (4.5-stable will be a
little behind the times, probably).  All you need to do is find the
proper version of mpg123 from an ftp site somewhere and copy it to
/usr/ports/distfiles.

step 1:  cat /usr/ports/audio/mpg123/distinfo. | sed 's/^.*(\(.*\)).*$/\1/g'
This should return about four filenames.

step 2:  google search for the exact tarball name uncovered from the
previous command.  It should be found at 
http://www.mpg123.de/cgi-bin/sitexplorer.cgi?/mpg123/

step 3:  copy said tarballs to /usr/ports/distfiles and try making the
port again.

Also, see the handbook (www.freebsd.org/handbook/) and read the chapter
about the ports system.

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The best way to make a fire with two sticks is to
make sure one of them is a match.  -- Will Rogers

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



Re: FIXED: fdisk and HD's larger than 2GB

2002-12-20 Thread Jud
On Fri, 20 Dec 2002 08:29:56 -0600, Jack L. Stone
[EMAIL PROTECTED] said:
 At 11:18 AM 12.20.2002 +, David Gethings wrote:
 On Fri, 2002-12-20 at 11:15, Laszlo Vagner wrote:
  western digital is notorious for that, what brand are you using?
  
  just curious.
 Maxtor something-or-other.
 
 Dg
 
 
 Beware of Quantum Fireballs -- bought two of the 40GBers and the jumpers
 would NOT work properly -- according to the BIOS on several different
 machines tried. Had to do the opposite of the diagrams for mastering, but
 slaves would NOT work period on either one. One died after a couple of
 months -- brand new! Moved the survivor to a less-important machine to
 do
 test routine duties -- peeling potatoes and shelling peas!
 
 Never again

I'm not a sysadmin at work but I know several, who told me they had to
change out all the Quantum Fireballs here at our 1000-seat campus.  They
were dropping like flies and it wasted too much of everyone's time
replacing them one-by-one as they failed.

Jud

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



Re: FIXED: fdisk and HD's larger than 2GB

2002-12-20 Thread Chad Albert
 
  Beware of Quantum Fireballs -- bought two of the 40GBers and the jumpers
  would NOT work properly -- according to the BIOS on several different
  machines tried. Had to do the opposite of the diagrams for mastering,
but
  slaves would NOT work period on either one. One died after a couple of
  months -- brand new! Moved the survivor to a less-important machine to
  do
  test routine duties -- peeling potatoes and shelling peas!
 
  Never again

 I'm not a sysadmin at work but I know several, who told me they had to
 change out all the Quantum Fireballs here at our 1000-seat campus.  They
 were dropping like flies and it wasted too much of everyone's time
 replacing them one-by-one as they failed.

FYI, I have had problems with fireballs and bigfoots.  Check this page out,
we are not alone...
http://www.driveservice.com/bestwrst.htm



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



xdm setup for dummies?

2002-12-20 Thread J. Seth Henry
Hello,
I have been struggling with setting up an X host and X terminals for a few
weeks now. I figure it's time to stop and ask for directions :)

I have a FBSD 4.7R server which I intend to host X sessions from. It has
the libraries for Xfree86 4.2.0 and runs icewm. (X does work, but isn't
normally running given it's headless most of the time) The terminals are
also running 4.7R, but use Xfree86 3.3.6 due to limited RAM. I
have manually started icewm and redirected it to the terminals
successfully - which works great until the terminals are powered down.
Currently, I start xinit at boot, which sorta works but I still have to
ssh into the server and redirect the DISPLAY. It's also kind of ugly :)

I would like to simply boot the X terminals, and have them immediately
start xdm and display a login to the server. I don't want anyone to be
able to log into the terminal locally, and there is only one server - so
I don't need a chooser.

So far, I have modified the Xsessions to exec icewm. I have added all of
the hosts to the Xaccess file (though I understand this shouldn't be
necessary in a XDMCP broadcast environment), and written a startup script
to launch xdm.

Another snag is that the terminals use DHCP. I would almost prefer that
the X terminals look for the server, rather than the server broadcast.
The server has a static IP, so I wouldn't mind hard coding this into their
configurations.

Ironically, the xdm broadcast does appear to be working somewhat - I have
a linux system in the Xaccess list which shows a login prompt... On top of
the current WM! (I just minimize it)

Any help would be greatly appreciated,
Seth Henry


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



Re: FIXED: fdisk and HD's larger than 2GB

2002-12-20 Thread Jack L. Stone
At 12:20 PM 12.20.2002 -0600, Chad Albert wrote:
 
  Beware of Quantum Fireballs -- bought two of the 40GBers and the jumpers
  would NOT work properly -- according to the BIOS on several different
  machines tried. Had to do the opposite of the diagrams for mastering,
but
  slaves would NOT work period on either one. One died after a couple of
  months -- brand new! Moved the survivor to a less-important machine to
  do
  test routine duties -- peeling potatoes and shelling peas!
 
  Never again

 I'm not a sysadmin at work but I know several, who told me they had to
 change out all the Quantum Fireballs here at our 1000-seat campus.  They
 were dropping like flies and it wasted too much of everyone's time
 replacing them one-by-one as they failed.

FYI, I have had problems with fireballs and bigfoots.  Check this page out,
we are not alone...
http://www.driveservice.com/bestwrst.htm


Well, I be darn! I have since standardized with Seagates and glad to see
them rated at the top of the good list here too.

Used to use only Seagates at one time and then drifted.

Thanks for the info

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Networking hardware question

2002-12-20 Thread Christophe Simon
Hi,

For one week, I have the responsability to administrate a LAN in a society 
where there's at least 5 swithes and 1 hub connected together in chain. I 
heard that plugging too many hubs or swithes in chain can cause network 
stability problems.

Is that right, and what can I do. I have been adviced to put a bridge 
station between twoo switches in the chain, but I didn't succeeded in 
configuring the twoo interfaces (twoo RTL 8139 cards) on the same  network 
adress (for exemple 192.168.0.1 and 192.168.0.2 cards in the same box...) 
and making a bridge. I compiled my kernel with the BRIDGE option, and I put 
sysct.net.link.bridge_cfg=rl0:0,rl1:0 in sysctl.conf.

Im I on the rigt way, and if not so on, what ca I do ?

Thanks a lot !





_
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


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


Re: Networking hardware question

2002-12-20 Thread Stacey Roberts
Hi Christophe,

On Fri, 2002-12-20 at 18:47, Christophe Simon wrote:
 Hi,
 
 For one week, I have the responsability to administrate a LAN in a society 
 where there's at least 5 swithes and 1 hub connected together in chain. I 
 heard that plugging too many hubs or swithes in chain can cause network 
 stability problems.
 
 Is that right, and what can I do. I have been adviced to put a bridge 
 station between twoo switches in the chain, but I didn't succeeded in 
 configuring the twoo interfaces (twoo RTL 8139 cards) on the same  network 
 adress (for exemple 192.168.0.1 and 192.168.0.2 cards in the same box...) 
 and making a bridge. I compiled my kernel with the BRIDGE option, and I put 
 sysct.net.link.bridge_cfg=rl0:0,rl1:0 in sysctl.conf.
 
 Im I on the rigt way, and if not so on, what ca I do ?
 
 Thanks a lot !
 
 

Not sure for others, but I seem to recall that 3COM Office Desktop
switches actually do specify the max number of units you can daisy-chain
together.

Not sure about bridging though.., sorry.

Stcey
 
 
 
 _
 MSN Messenger : discutez en direct avec vos amis ! 
 http://www.msn.fr/msger/default.asp
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



blank saver question

2002-12-20 Thread J. Seth Henry
Hello,
I am working on adapting FreeBSD to a Compaq IA-1. The display on this
system is not DPMS compliant, so shutting off the backlight requires
writing to a PCI register.

I currently have a small C program which I can use to manipulate this
register from the command line, and I would like to either integrate, or
call, this code from the blanksaver module. Unfortunately, I don't know
enough about how it works to change it.

Could someone give me some tips on how to do this? Is it as simple as
simply adding the code to the blank_saver() function, and adding the
appropriate header and include files? I'm a bit nervous mucking in
modules, as I understand they can cause problems that are hard to
recover from.

If it is, this would be a good place to initialize all of the front panel
LED's as well :)

Thanks,
Seth Henry


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



Re: problem with installing new ports

2002-12-20 Thread Shane Kinney
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 20 Dec 2002, David S. Jackson wrote:

 step 2:  google search for the exact tarball name uncovered from the
 previous command.  It should be found at
 http://www.mpg123.de/cgi-bin/sitexplorer.cgi?/mpg123/

 step 3:  copy said tarballs to /usr/ports/distfiles and try making the
 port again.

This method will work just fine, however:  Please be aware that
if you do not continue to update your ports tree, eventually the same
problem will happen to every port you attempt to install.  The problem
will also arise that when you go to the site to download the tarball
and you notice that there is a newer version that contains bug fixes,
security patches or general performance/enhancements.  If you get the
new version rather than the version that is specified in your Makefile,
you will have MD5 Checksum issues.

It is still in your and your computers best interst to update your ports
tree, keeping you safe from other nasty issues.  :)  Good luck.

~Shane
pgp key: http://www.freebsdhackers.net/pgp
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE+A2yQtGSLUf7ussURAs9VAJwJKzg43u8Lu5ob28ossHF636wQSwCfVqNm
nsOx/x2xqSCo8QpqZAuUiFc=
=qVRc
-END PGP SIGNATURE-

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



Buy a new car at 1% over invoice!

2002-12-20 Thread Nina
Did you Know?  
You can buy America's top selling vehicles at 1% over invoice?*

Click Here to Sign Up Now for FREE!
http://redir.impulsive.com/redir.php?id=2817u=538498940b=5632


Look at the list to choose from:
- Ford Explorer
- Ford F-150
- Chevrolet Silverado
- Ford Taurus
- Honda Accord
- Toyota Camry
- Ford Focus
- Jeep Cherokee
- Chevrolet Cavalier
- Nissan Altima
- Dodge Ram
- Honda Civic
- Ford Ranger
- Jeep Liberty
- Chevrolet Tahoe

To sign up now for FREE, click here.
http://redir.impulsive.com/redir.php?id=2817u=538498940b=5632


*Only at StoneAge participating Dealers.  Prices may vary depending 
on local market conditions or based on the configuration of the vehicle.

StoneAge.com has been widely recognized as one of the nation's top 
automotive buying services since 1996.  Headquartered in the Motor City,
StoneAge.com is improving the car buying experience for thousands of 
consumers each day.  It currently serves 2,000,000 customers monthly,
and maintains an extensive network of top-related car dealerships.  

Click here.
http://redir.impulsive.com/redir.php?id=2817u=538498940b=5632

This Email Is Brought To You By EmailHello
brWe appreciate your patronage, and thank you for opting in To cancel your 
subscription to this newsletter, A 
href=http://www.yopit.com/list_remove.php?[EMAIL PROTECTED]source_id=15mojo=538498940;click
 here/A.br!-- GRO.DSBEERF@SNOITSEUQ-DSBEERF --










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



Re: PortUpgrade

2002-12-20 Thread Nathan Kinkade
On Fri, Dec 20, 2002 at 08:28:17PM +0100, Pierrick Brossin wrote:
 
 Hi !
 
 I 'portupgrade -a' my system and figured out that it is
 recompiling every new port.
 It's taking a vry long time to do so.
 
 Is there a way to specify to portupgrade to get the
 compiled package instead of compiling everything ?
 
 Thank you
 
 --
 Pierrick Brossin

Read the man page for portupgrade.  Note the -P and -PP options.

Nathan

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



Re: chown broken??

2002-12-20 Thread Kurt Bigler
on 12/20/02 7:39 AM, Fernando Gleiser [EMAIL PROTECTED] wrote:

 On Fri, 20 Dec 2002, Roman Neuhauser wrote:
 
 apart from what others said about wildcard substitution:
 
 roman@freepuppy /usr 1005:1  ls -l .*
 zsh: no matches found: .*
 roman@freepuppy /usr 1006:1 
 
 IOW, the behavior is actually shell- (and shell configuration-)
 dependent.
 
 Yes, because wildcard expansion is done by the shell.
 
 zsh (at least with my settings) would protect you from
 yourself in this situation.
 
 And will prevent you from doing it when you really need it :)

I don't know zsh, but if it has a setting that prevents wildcard expansion
from including .. as a match for .* that strikes me as an all-around good
thing.

When do you _really_need_ .* to match .. ?  You could in such a situation
type .. explicitly, just as you would often add .* when * does not work.

One possible approach with some nice consistency would be:

*   matches:foo but not .foo
.*  matches:.foobut not ..foo (and not ..)

Of course to remain fully consistent with this approach (by one
interpretation), foo* would not match foo.foo - rather you would have to
type foo.* or foo*.* according to your needs.  This might fail to meet
expectatons in more situations than the ones it fixes.

That aside, even an interpretation of .* that allows ..fo but simply
disallows only .. still strikes me as an all-around good thing.  Anyone hurt
by this (at least on the command line) can simply add .. explicitly to the
list.  Maybe it would be an improvement to unix if this change were made to
all shells, or even just to go into prompt for y mode when hitting .. in
this one case (if the shell is interactive).

  Kurt Bigler

 
 
 Fer
 
 
 --
 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
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


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



adduser ownership of mounted home directory

2002-12-20 Thread Adam Lofstedt
I am trying to put user's home directories onto a mounted windows share
(mounting via smbfs).  When I run the adduser script (and specify
/mountedshare/username as the home directory) it doesn't set the
ownership of the home directory to the user.  Root still owns the
folder.  If I add a user to the usual /home directory it works fine.

Here is what the regular home directory shows for permissions:
# cd /home
# ls -l
drwxr-xr-x  2 test  test  512 Dec 20 13:45 test

Here is what the mounted share shows for permissions:
# cd /mountedshare
# ls -l
drwxr-xr-x  1 root  wheel  16384 Dec 19 10:18 test2

Do I need to chmod the mountedshare to a particular value to get the
ownership to work?  Is there something else about the mountedshare that
I need to change, maybe in fstab?

Many thanks,
Adam Lofstedt



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



[no subject]

2002-12-20 Thread Tim Strike
unsubscribe freebsd-questions
unsubscribe freebsd-stable

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



Re: PortUpgrade

2002-12-20 Thread Joey Mingrone
From the man page:


-P
--use-packages Use packages instead of ports whenever 
available.
   portupgrade searches the local directories 
listed
   in PKG_PATH for each package to install or 
upgrade
   the current installation with, and if none is
   found, pkg_fetch(1) is invoked to fetch one from 
a
   remote site.  If it doesn't work either, the 
port
   is used.


Hi !

I 'portupgrade -a' my system and figured out that it is
recompiling every new port.
It's taking a vry long time to do so.

Is there a way to specify to portupgrade to get the
compiled package instead of compiling everything ?

Thank you

--
Pierrick Brossin
IT Employee
15, Ch. du Château, 1422 Grandson, Switzerland
Tel Prof: +41-327201423 Mobile Priv: +41-794137145
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]


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



_
STOP MORE SPAM with the new MSN 8 and get 3 months FREE*. 
http://join.msn.com/?page=features/junkmailxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_stopmorespam_3mf


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


Re: chown broken??

2002-12-20 Thread Dan Nelson
In the last episode (Dec 20), Giorgos Keramidas said:
 On 2002-12-20 14:00, Dan Nelson [EMAIL PROTECTED] wrote:
  In the last episode (Dec 20), Kurt Bigler said:
   I don't know zsh, but if it has a setting that prevents wildcard
   expansion from including .. as a match for .* that strikes me as an
   all-around good thing.
 
  zsh's rules are that no filename generation pattern ever matches the
  files `.' or `..'.  There is also a GLOB_DOTS option that when set
  makes * match files starting with a dot as well.  You can enable
  GLOB_DOTS for a single pattern by using a glob qualifier: *(D)
 
 That's no good either.  How does someone `chmod 700 .' with zsh then?

`chmod 700 .', of course :)  The rule only applies to wildcards (i.e.
filename generation patterns).

-- 
Dan Nelson
[EMAIL PROTECTED]

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



ppp over usb

2002-12-20 Thread Michael Grant
Is it possible to run ppp between 2 freebsd boxes over a usb
connection?  If so, what's needed to wire them together, some sort of
usb cross-over cable?

Michael grant

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



Ïðåäëàãàåì ðåìîíòû êâàðòèðû

2002-12-20 Thread remstroy2000
Áðèãàäà îïûòíûõ ìàñòåðîâ (Ìîñêâè÷åé) âûïîëíèò êîìïëåêñíûå
ðåìîíòû êâàðòèð, ïî ñàìûì äîñòóïíûì öåíàì (öåíà îò 35 ó.å. çà
ìåòð).
Íàø E-mail: [EMAIL PROTECTED]

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



Re: problem with installing new ports

2002-12-20 Thread Daniel Schrock




If there is an easier way to make pkgdb -F complete its job successfully
and not terminate with errors, I'm all ears by the way.  :-)



I'm not too sure on this one.  I don't really use any of the `pkg'
utilities ;)  Someone else might be able to help with that.



well... if your package db has gotten way out of sync with your ports 
collection, it creates a nightmare that only time and effort will fix.
You have a couple options, both equally suck, but have their merits as well.

option 1:  find the new dependancies or delete the dependancy if it no 
longer exists... once completed, use `portversion -l ''` to see which 
installed ports have newer versions available.  use portupgrade to get 
them current.  takes forever but usually works...just be careful when 
changing dependancies,

option 2:  remove as many old ports as possible, especically if they are 
not used/needed much and get your collection down to a small level, then 
move up to option 1.  This method is easier, but not necessarily an 
option on many systems. its nice for workstations and cleaning the 
system out, not so good if a production box that requires all ports that 
are installed...


once pkgdb -F can be run without errors, cvsup, use `portsdb -Uu` then 
check for old ports using `portversion -l ''`.

from this point on, you should have a clean system.  to keep it clean, 
either always run pkgdb -F after installing a port, or always use 
`portinstall -N` to install your ports, which will update pkgdb on its 
own...

portupgrade is pretty much an all or nothing port... if you use it 
religiously, its great... if you forget about it, its a hassle later on 
down the road.

its a great port but works best on fresh installs... its a little harder 
to deal with if you have already installed a lot of ports.


just my $.02

.daniel.schrock


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


Pike Spontanious reboot or crash

2002-12-20 Thread Darren Henderson

Have an odd one - looking for ideas.

Have a 4.7-STABLE system running on a 1.8Ghz P4 with 256MB - works
wonderfully - make buildworld takes 20 minutes, quite nice.

For some time I've been trying to get a working copy of Pike
(http://pike.ida.liu.se/) running on this box without much success.
Whenever I try to make a current version the machine will chug away for a
few minutes and the system will suddenly reboot or the kernel will crash.

First thing that comes to mind of course is a cooling problem - but as I
mentioned, buildworld works great - as do other larger projects - so that
seems unlikely.

Next thing that comes to mind is a memory problem - but same response - it
seems unlikely given that this is the only package that causes this to
happen.

Not really any tracks to study - most recent release of Pike is 7.4 and
that seems to be causing reboots - 7.3 was causing the kernel halts.

Any thoughts appreciated.

-Darren


Darren Henderson  [EMAIL PROTECTED]
[EMAIL PROTECTED]

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



Re: Mounting XP partition

2002-12-20 Thread Thomas Connolly
On Friday 20 December 2002 08:18 am, Anthony Abby wrote:
 Jerry McAllister said:
  Hi everyone, me again :)
 
  I have mounted a ntfs(WinXP) partition on my freebsd box, but i am
  unable to write anything to it?
 
  My understanding is that is the current state of ntfs support.
  You can read from, but not write to ntfs slices.  I don't know
  if writing ability is being worked on.

 You can write to... smbfs allows full rw capability.  I run a backup job
 on my linux/freebsd servers every night and back the resultant tars up on
 my windows xp box via smbfs mount.  Works like a charm.

 Anthony



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

Here here!
-- 
Thomas Connolly
President
Electrosoft Solutions, Inc.
Phone: (970) 222-7844
[EMAIL PROTECTED]

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



RE: compact flash use

2002-12-20 Thread randall ehren
 I took a look at the adapter, and it appears to support multiple formats.
 This could be the source of your problem. I use a much simpler CF - IDE
 adapter for programming FreeBSD images to CF devices for use in embedded
 systems. My adapter has an IDE header, CF slot and LED - that's it. CF
 devices can operate in true ATA mode. Perhaps your adapter is operating it
 in some other mode?

this was exactly the problem. the adapter i had included a chipset to make the
device act as removable media.

i have since purchased and installed:
 http://www.mydigitaldiscount.com/display_product.cfm?product_id=21

all is well now:
root@fw-1[~]% dmesg | grep ad
 ad1: 307MB DEM ATA FLASH [624/16/63] at ata0-slave PIO4

and as a sidenote, setting up freebsd to use rc.diskless2 was a breeze.

 -randall
--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


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



Re: Pike Spontanious reboot or crash

2002-12-20 Thread Dan Nelson
In the last episode (Dec 20), Darren Henderson said:
 Have a 4.7-STABLE system running on a 1.8Ghz P4 with 256MB - works
 wonderfully - make buildworld takes 20 minutes, quite nice.
 
 For some time I've been trying to get a working copy of Pike
 (http://pike.ida.liu.se/) running on this box without much success.
 Whenever I try to make a current version the machine will chug away
 for a few minutes and the system will suddenly reboot or the kernel
 will crash.

If you get a kernel panic, enable crashdumps and post a stack trace.

http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

There's nothing in the regular pike build that should cause any system
problems.  A testsuite run (make verify) might cause your system to
run out of resources (processes or memory, depending on the test), but
shouldn't panic the system either.

The pikefarm page only has one FreeBSD-4.7 machine building pike-7.4,
and it looks like it's got an m4 problem during the testsuite run, but
it does build.

http://pike.ida.liu.se/development/pikefarm/7.4.xml

-- 
Dan Nelson
[EMAIL PROTECTED]

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



print server (USB)

2002-12-20 Thread Paulo Roberto
Hello,

I was reading the lpd man pages (and the web), but I did not find
anything related to simultaneus printing. Sorry if this is a too lame
question...

I currently got two print servers (running 4.6.2 and lpd), one for each
parallel printer, and since I have to substitute one printer (no longer
works properly) I was thinking about buying two USB ones (same model)
and put them plus the parallel on just one server to attend the demand.

Does lpd manages the three queues at the same time, printing
simultaneus in all three printers?

I read at the lpd manual that I can route print jobs to other printer
so I could make a balance on the load having two equal USB printers.

Does anyone have any experience/tips about it?

BTW machine I am planning to run it is a P-133 with 64MB ram. Is it
good enough for handling three queues? (I know that just one runs
smoothly...)

thanks

Paulo Roberto

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



How to get best results from FreeBSD-questions

2002-12-20 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update 3 September 1999

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to [EMAIL PROTECTED] with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies list caters specifically for people 

The Complete FreeBSD, third edition: errata and addenda

2002-12-20 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, third edition




 Last revision: 2 August 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the third edition, formatted  on  17  May  1999.   You'll  find  this
information  on  page  iv  (the  page  before  the  beginning  of  the Table of
Contents).  See the end of this document for instructions on how  to  find  the
errata for an older version.

You can get the current document in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third  edition
  to  find  out  how  to print out PostScript.  If at all possible, please take
  this document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-3.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

Page ii
___

The instructions on page ii (opposite the title  page)  tell  you  to  look  at
ftp://ftp.lemis.com/pub/cfbsd/errata-2  for  the  errata  list.   That's wrong.
Look at this list.

Pages 190 and 191
_

The description is not very clear about which text appears  when  booting  from
floppy  for  initial  install,  and  which  appears when booting normally.  The
procedure is very similar, but there are some differences.  Add  the  following
text after the heading Boot messages:

You'll  boot  your system in at least two different ways: initially you'll boot
from floppy or CD-ROM in order to install the system.  Later, after the  system
is  installed,  you'll boot from hard disk.  The procedure is almost identical,
so we'll look at both versions in the following examples.

Replace the text from the middle of page 191 with:

If you're booting from 1.44 MB floppies, you will then see:

Please insert MFS root floppy and press enter:

When you insert the MFS root floppy and press  Enter,  you  see  more  twirling
batons, then the UserConfig screen appears.

UserConfig: Modifying the boot configuration


After  the  kernel has been loaded, the following screen will appear if you are
installing the system, or if you have requested it with the -c  option  to  the
boot loader:

Page 206


The  bottom  two lines on this page should be in bold constant font, indicating
that this is input for your /etc/rc.config file


Page 2






 Errata and addenda for the Complete FreeBSD, third edition


nfs_client_enable=YES   # This host is an NFS client (or NO).
nfs_server_enable=YES   # This host is an NFS server (or NO).


Page 265


The example on the second half of the page refers to the old SCSI driver.   The
scsi  program  is  no  longer  available  in  FreeBSD  3.x.   Instead,  use the
camcontrol program.  Replace the text with:.

Modern disks make provisions for recovering from such errors by  allocating  an
alternate sector for the data.  IDE drives do this automatically, but with SCSI
drives you have the option of enabling or disabling reallocation.   Usually  it
is  turned on when you buy them, but occasionally it is not.  When installing a
new disk, you should check that the parameters  ARRE  (Auto  Read  Reallocation
Enable)  and AWRE (Auto Write Reallocation Enable) are turned on.  For example,
to check and set the values for disk da1, you would enter:

# camcontrol modepage da1 -m 1 -e -P 3
# scsi -f /dev/rda1c -m 1 -e -P 3

This command will start up your favourite editor (either the one  specified  in
the EDITOR environment variable, or vi by default) with the 

The Complete FreeBSD, second edition: errata and addenda

2002-12-20 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, second edition




  Last revision: 21 June 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the second edition, formatted on 16 December 1997.  If you have  this
book,  please  check this list.  If you have the first edition of 19 July 1996,
please check ftp://ftp.lemis.com/pub/cfbsd/errata-1. This  same  file  is  also
available via the web link http://www.lemis.com/.

This list is available in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-2.ps. See page 222 of the book  to  find
  out  how  to  print  out  PostScript.   If  at all possible, please take this
  document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-2.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

General changes
___


o In a number of places, I suggest the use of the  following  command  to  find
  process information:

  $ ps aux | grep foo

  Unfortunately,  ps  is sensitive to the column width of the terminal emulator
  upon which it is working.  This command usually works fine  on  a  relatively
  wide  xterm,  but if you're running on an 80-column terminal, it may truncate
  exactly the information you're looking for, so you end  up  with  no  output.
  You can fix that with the w option:

  $ ps waux | grep foo

  Thanks to Sue Blake [EMAIL PROTECTED] for this information


Location of the sample files


On  the  2.2.5 CD-ROM only, the location of the sample files does not match the
specifications in the book (/book on the first CD-ROM).  The 2.2.5 CD-ROM  came
out before the book, and it contains the files on the third (repository) CD-ROM
as a single gzipped tar file  /xperimnt/cfbsd/cfbsd.tar.gz.   It  contains  the
following files:

drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/
drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/mutt/
-rw-r--r-- jkh/jkh 352 Oct 15 15:21 1997 cfbsd/mutt/.mail_aliases
-rw-r--r-- jkh/jkh9394 Oct 15 15:22 1997 cfbsd/mutt/.muttrc
drwxr-xr-x jkh/jkh   0 Oct 17 14:02 1997 cfbsd/scripts/
-rw-r--r-- jkh/jkh   18281 Oct 16 16:52 1997 cfbsd/scripts/.fvwm2rc
-rwxr-xr-x jkh/jkh1392 Oct 17 12:54 1997 cfbsd/scripts/install-desktop
-rw-r--r-- jkh/jkh 296 Oct 17 12:35 1997 cfbsd/scripts/.xinitrc
-rwxr-xr-x jkh/jkh 622 Oct 17 13:51 1997 cfbsd/scripts/install-rcfiles
-rw-r--r-- jkh/jkh1133 Oct 17 13:00 1997 cfbsd/scripts/Uutry
-rw-r--r-- jkh/jkh1028 Oct 17 14:02 1997 cfbsd/scripts/README
drwxr-xr-x jkh/jkh   0 Oct 18 19:32 1997 cfbsd/docs/
-rw-r--r-- jkh/jkh  199111 Oct 16 14:29 1997 cfbsd/docs/packages.txt

Page 2






Errata and addenda for the Complete FreeBSD, second edition


-rw-r--r-- jkh/jkh  189333 Oct 16 14:28 1997 cfbsd/docs/packages-by-category.txt
-rw-r--r-- jkh/jkh  188108 Oct 16 14:29 1997 cfbsd/docs/packages.ps
-rw-r--r-- jkh/jkh  226439 Oct 16 14:27 1997 cfbsd/docs/packages-by-category.ps
-rw-r--r-- jkh/jkh 788 Oct 16 15:01 1997 cfbsd/README
-rw-r--r-- jkh/jkh 248 Oct 17 11:52 1997 cfbsd/errata

To  extract  one  of these files, say cfbsd/docs/packages.txt, and assuming you
have the CD-ROM mounted as /cdrom, enter:

# cd /usr/share/doc
# tar xvzf /cdrom/xperimnt/cfbsd/cfbsd.tar.gz cfbsd/docs/packages.txt

See page 209 for more information on using tar.

These files are an early version of what is described in the book.  I'll put up
some updated 

Re: Tape Backup

2002-12-20 Thread Jerry McAllister
 
 On Mon, Dec 16, 2002 at 11:33:11AM -0500, Jerry McAllister wrote:
 
  If your usage justifies the cost, you might want to consider DLT
  or LTO type drives.   They handle the load with less failure and 
  higher capacity and data rates.
 
 I'm using Sony AIT-2 and it works great. The benefit of using AIT is
 that you don't need to clean your tape drive at all, and it also in a
 continuous development with AIT-3 has been launched (100/200 capacity).

Yah, we have several AIT systems here too and are having pretty good
luck with them too - though, I can't support the NEVER have to clean
the tape drive.  Rarely, yes, but Never, no.

jerry


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



ELF docs

2002-12-20 Thread Alexander
Where I can find some docs about the freebsd elf binary structure ?
I'm interested in more detailed docs (C examples would be great).

thanks

P.S. Please include my mail when responding, because I'm not subscribed
for the mailing list.


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



Re: du -sh inconsistant with df -h

2002-12-20 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

  Paul:
 
  You hit the nail right on the head!  I did a lsof +L1 and found
  stunnel taking up a huge (2148999) amount of space.  Killed it,
  restarted it and all my space is back!  Now, the question is why does
  it keep accumulating all that space and how can I prevent that from
  happening.  

Quick addendum:

I had stunnel on debug level 7 which was logging a tremendous amount of information 
since it records each and every connection; I have many users check their mail via a 
tunneled pop connection every 1-3 minutes!  As you can imagine, the log files were 
enormous.  Wiping the logs and dialing the debug level down to 4 fixed the problem 
nicely.  Hope this helps someone else.  Happy holidays to all!

-BEGIN PGP SIGNATURE-
Version: PGP 8.0
Comment: This message has been digitally signed by Mike Loiterman

iQA/AwUBPgPRl2jZbUnRudGOEQKsowCg+Yig3H1E+MfddfGQBIk1NQo08VkAn3Uz
xDmnOSKmyg8ctznns37K14Jl
=Oswk
-END PGP SIGNATURE-


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



Re: 41upgrade.tgz and 42upgrade.tgz gone??

2002-12-20 Thread Kris Kennaway
On Fri, Dec 20, 2002 at 09:55:07AM -0600, Jay West wrote:
 Has anyone seen:
 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/41upgr
 ade.tgz
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/42upgr
 ade.tgz
 
 These files appear to have disappeared. Can someone tell me where they are?
 I wanted the latest ones to go with the entire 4x stable ports collection.
 Please reply to [EMAIL PROTECTED] directly as I'm not on the list.

They are not produced or supported any more.

Kris




msg12783/pgp0.pgp
Description: PGP signature


Evaporators for sale

2002-12-20 Thread me
J.M. Industries
  55 High St.   Bld #7 North Billerica  MA 01862
  Phone (978) 663-5376 Fax (978) 663-5433

Just in..


CHA SE 600 filiment evaporator,
all manual valving, can be configured with diffusion or cryopump
http://www.jmind.com/chase600evaporator.jpg


Coming in soon..

CHA SE 600 electron beam evaporator, cv-8 power supply

and 

Temescal FC-1800 electron beam evaporator, cv-8 power supply

(Please email us back for more details and a quote)


If you wish to be removed from our mailing list that is sent out
once or twice weekly,  listing recent arrivals, equipment available
or equipment needed,  please accept our apologies for the
inconvenience and respond to this email with the word
REMOVE (IN THE SUBJECT).

If you have multiple email addresses,  that forward to your address,
please respond with MULTIPLE ADDRESSES in the subject,
followed by all addresses in the body to make sure we don't inadvertently
email you again.



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



Re: Pike Spontanious reboot or crash

2002-12-20 Thread Darren Henderson
On Fri, 20 Dec 2002, Dan Nelson wrote:

 If you get a kernel panic, enable crashdumps and post a stack trace.

Thanks for the reply - with the current combination of version I haven't
seen a panic, just the reboot. Was seeing the panics with 4.7, 4.6 and 4.5
of STABLE and versions of pike between 7.2 and 7.4.

Tried build on a couple of other systems and it doesn't reboot - must be
something about the box, just can't think what though. Does have raid
controller etc - much fancier motherboard.


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



Re: problem with installing new ports

2002-12-20 Thread David S. Jackson
On Fri, Dec 20, 2002 at 04:30:24PM -0600 Daniel Schrock [EMAIL PROTECTED] wrote:
 well... if your package db has gotten way out of sync with your ports 
 collection, it creates a nightmare that only time and effort will fix.
 You have a couple options, both equally suck, but have their merits as well.
 
 option 1:  find the new dependancies or delete the dependancy if it no 
 longer exists... once completed, use `portversion -l ''` to see which 
 installed ports have newer versions available.  use portupgrade to get 
 them current.  takes forever but usually works...just be careful when 
 changing dependancies,
 
 option 2:  remove as many old ports as possible, especically if they are 
 not used/needed much and get your collection down to a small level, then 
 move up to option 1.  This method is easier, but not necessarily an 
 option on many systems. its nice for workstations and cleaning the 
 system out, not so good if a production box that requires all ports that 
 are installed...
 
 once pkgdb -F can be run without errors, cvsup, use `portsdb -Uu` then 
 check for old ports using `portversion -l ''`.
 
 from this point on, you should have a clean system.  to keep it clean, 
 either always run pkgdb -F after installing a port, or always use 
 `portinstall -N` to install your ports, which will update pkgdb on its 
 own...
 
 portupgrade is pretty much an all or nothing port... if you use it 
 religiously, its great... if you forget about it, its a hassle later on 
 down the road.
 
 its a great port but works best on fresh installs... its a little harder 
 to deal with if you have already installed a lot of ports.

This has been one of the most helpful and practical pieces of advice I
have ever gotten from this terrific list.  Thank You!  I'll start
planning this operation.  (Option 2 first, then Option 1.)

(The portsdb is really still a mystery to me, and after letting it get
so far out of synch as it is, I hope that I too can have a clean system
again without reinstalling from scratch!)

The advice above seems so good that I didn't trim it; I hope someone
else can get as much help out of it as I have and therefore felt it's
worth leaving intact.  :-)

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Life is divided into the horrible and the miserable.
-- Woody Allen, Annie Hall

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



How can I config Netgear MA401 PCMCIA card?

2002-12-20 Thread Boxuan Gu
hello!
 I want to install my netgear MA401 card into my freebsd4.5 sytem.
 I modified the config file of kernel according to the manual of wl,
but, my netgear MA401 wireless card did not work.
 I do not know why? is there any available new driver of netgear MA401
in freebsd 4.5?:)
Thank you :)
Boxuan


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



FTP installation from the floppies through ADSL modem with PPPoE or PPTP protocol.

2002-12-20 Thread Asker
The modem can be configured to use PPPoE or PPTP protocol for making the
connection with my Internet Servise Provider.

Well if the modem does PPPoE itself (and preusmably NAT) then you need no
speical support from the OS. From its poitn of view you are just conencted
via ethernet.

If you need the machine to do PPPoE, ppp supports PPPoE.  For this to 
work, though, you need netgraph, which isn't in GENERIC.  You will need 
to make a custom kernel and build your own set of custom floppies.
 
 Ok, so in my situation the installation of FreeBSD is impossible.
 What do you think about changing GENERIC or just the kernel in installation
 floppies in the future releases of FreeBSD? I think it will be very useful
 because ADSL (therefore PPPoE protocol) is very frequent method of
 connecting with Internet Service Provider in our days.

 Read the other peoples' posts.  It seems I was incorrect in my
 statement.  Despite the lack of a set of kernel modules on the floppies,
 PPPoE is still supported.  Randy Pratt posted a link to a doc he wrote
 on getting PPPoE working within sysinstall.

Ok, I found Randy Pratt's message in [EMAIL PROTECTED], thank you
and thanks to Randy. I will try his method. But I think it will be a great idea
to add PPPoE into the sysinstall menu. Then the method will be no to so tricky
and abnormal.
 
 P.S. FTP installation use much less internet traffic than 4 huge ISO files'
 downloading.

 Depending on what you're installing, yes.  Personally, I prefer to have
 everything local during an install.  I've never liked the idea of
 connecting to the internet as root, and that's exactly what you do when
 doing an FTP install.

I partially agree with you, to have everything local is better but if it was
possibly I was not asked the question about PPPoE/PPTP and FTP installation.
Also I don't think FTP installation through the internet is as security risky as
you draws. You have no port listening during the installation, you use just FTP
client to download the files. What kind of attack could you be exposed and what
root's role will be? Only DoS attacks I think, some kind of flood for example.
And if you download ISO files the chances of the DoS are worsen?

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



Re: chown broken??

2002-12-20 Thread Mark
- Original Message -
From: Gary W. Swearingen [EMAIL PROTECTED]
To: Mark [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 20, 2002 10:28 PM
Subject: Re: chown broken??


 Mark [EMAIL PROTECTED] writes:

  Yes, the directories named on the command line within the
  CURRENT directory. Technically, . and .. are entries within
  the current directory (try: od -c .), and they have inode numbers
  too. But that does not deter me from deeming it a bit counter-
  intuitive to consider .. a directory of the current directory. :)
  Especially in the context of recursion.

 The manpage explicitly mentions neither directories or recursion,

Indeed; and I was going to mention this too, as the man page seems to have
gone out of its way to avoid the word recursion and directrory.

-R   Change the user ID and/or the group ID for the file hierarchies
  rooted in the files instead of just the files themselves.

Then I looked at the man page for cp -R .*, which acts like chown -R .*,
and read:

-R   If source_file designates a directory, cp copies the directory and
  the entire subtree connected at that point.

Now, see, this is legible to me. :)

- Mark


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



How do you suspend and resume a remote shell session?

2002-12-20 Thread Andrew Cutler
Howdy All,

Does anyone know of a method to suspend and resume a telnet / SSH
session. I know that it is possible to suspend and resume a serial
console session, but is there any way to do it remotely using SSH?

Essentially I'd like to be able to disconnect my session and then
reconnect,say a day later and return to the same console session.

TIA

-- 
Andrew Cutler [EMAIL PROTECTED]


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



Re: How do you suspend and resume a remote shell session?

2002-12-20 Thread Dan Nelson
In the last episode (Dec 21), Andrew Cutler said:
 Does anyone know of a method to suspend and resume a telnet / SSH
 session. I know that it is possible to suspend and resume a serial
 console session, but is there any way to do it remotely using SSH?
 
 Essentially I'd like to be able to disconnect my session and then
 reconnect,say a day later and return to the same console session.

ports/misc/screen

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Help With Custom Kernel

2002-12-20 Thread elarsen2
I am building a custom kernel so I can use my sound card. 
I am building it the ``traditional'' way. And when I type 
the second make comand It ends with the fallowing: 
 
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  
vers.c 
linking kernel 
umass.o: In function `umass_cam_attach_sim': 
umass.o(.text+0x137f): undefined reference to 
`cam_simq_alloc' 
umass.o(.text+0x13a5): undefined reference to 
`cam_sim_alloc' 
umass.o(.text+0x13be): undefined reference to 
`xpt_bus_register' 
umass.o(.text+0x13ce): undefined reference to 
`cam_simq_free' 
umass.o: In function `umass_cam_rescan_callback': 
umass.o(.text+0x13e7): undefined reference to 
`xpt_free_path' 
umass.o: In function `umass_cam_rescan': 
umass.o(.text+0x1431): undefined reference to `xpt_periph' 
umass.o(.text+0x143a): undefined reference to 
`xpt_create_path' 
umass.o(.text+0x144d): undefined reference to 
`xpt_setup_ccb' 
umass.o(.text+0x1468): undefined reference to `xpt_action' 
umass.o: In function `umass_cam_detach_sim': 
umass.o(.text+0x151f): undefined reference to 
`xpt_bus_deregister' 
umass.o(.text+0x153d): undefined reference to 
`cam_sim_free' 
umass.o: In function `umass_cam_detach': 
umass.o(.text+0x157e): undefined reference to 
`xpt_create_path' 
umass.o(.text+0x159f): undefined reference to `xpt_async' 
umass.o(.text+0x15a7): undefined reference to 
`xpt_free_path' 
umass.o: In function `umass_cam_action': 
umass.o(.text+0x18c5): undefined reference to `xpt_done' 
umass.o(.text+0x18d5): undefined reference to `xpt_done' 
umass.o: In function `umass_cam_cb': 
umass.o(.text+0x19d1): undefined reference to `xpt_done' 
umass.o: In function `umass_cam_sense_cb': 
umass.o(.text+0x1ad8): undefined reference to `xpt_done' 
umass.o(.text+0x1ae9): undefined reference to `xpt_done' 
umass.o(.text+0x1b03): more undefined references to 
`xpt_done' follow 
*** Error code 1 
 
Any help would geratly be appreceated. 


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



Re: Help With Custom Kernel

2002-12-20 Thread Matthew Emmerton
Please read the comments in the kernel config file:

device  umass   # Disks/Mass storage - Requires scbus and da

You need to have 'device scbus' and 'device da' in your kernel to enable USB
mass storage (umass) support.

--
Matt Emmerton

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 21, 2002 12:25 AM
Subject: Help With Custom Kernel


 I am building a custom kernel so I can use my sound card.
 I am building it the ``traditional'' way. And when I type
 the second make comand It ends with the fallowing:

  -include opt_global.h -elf  -mpreferred-stack-boundary=2
 vers.c
 linking kernel
 umass.o: In function `umass_cam_attach_sim':
 umass.o(.text+0x137f): undefined reference to
 `cam_simq_alloc'
 umass.o(.text+0x13a5): undefined reference to
 `cam_sim_alloc'
 umass.o(.text+0x13be): undefined reference to
 `xpt_bus_register'
 umass.o(.text+0x13ce): undefined reference to
 `cam_simq_free'
 umass.o: In function `umass_cam_rescan_callback':
 umass.o(.text+0x13e7): undefined reference to
 `xpt_free_path'
 umass.o: In function `umass_cam_rescan':
 umass.o(.text+0x1431): undefined reference to `xpt_periph'
 umass.o(.text+0x143a): undefined reference to
 `xpt_create_path'
 umass.o(.text+0x144d): undefined reference to
 `xpt_setup_ccb'
 umass.o(.text+0x1468): undefined reference to `xpt_action'
 umass.o: In function `umass_cam_detach_sim':
 umass.o(.text+0x151f): undefined reference to
 `xpt_bus_deregister'
 umass.o(.text+0x153d): undefined reference to
 `cam_sim_free'
 umass.o: In function `umass_cam_detach':
 umass.o(.text+0x157e): undefined reference to
 `xpt_create_path'
 umass.o(.text+0x159f): undefined reference to `xpt_async'
 umass.o(.text+0x15a7): undefined reference to
 `xpt_free_path'
 umass.o: In function `umass_cam_action':
 umass.o(.text+0x18c5): undefined reference to `xpt_done'
 umass.o(.text+0x18d5): undefined reference to `xpt_done'
 umass.o: In function `umass_cam_cb':
 umass.o(.text+0x19d1): undefined reference to `xpt_done'
 umass.o: In function `umass_cam_sense_cb':
 umass.o(.text+0x1ad8): undefined reference to `xpt_done'
 umass.o(.text+0x1ae9): undefined reference to `xpt_done'
 umass.o(.text+0x1b03): more undefined references to
 `xpt_done' follow
 *** Error code 1

 Any help would geratly be appreceated.


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



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



Re: chown broken??

2002-12-20 Thread Cliff Sarginson
On Fri, Dec 20, 2002 at 07:49:27PM -0800, David Schultz wrote:
 Thus spake Mark [EMAIL PROTECTED]:
  - Original Message -
  From: Ceri Davies [EMAIL PROTECTED]
  To: Mark [EMAIL PROTECTED]
  Cc: Andrew Cutler [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Friday, December 20, 2002 3:15 PM
  Subject: Re: chown broken??
  
  
   On Fri, Dec 20, 2002 at 03:12:17PM +0100, Mark wrote:
  
I must say, though, that while I understand this behaviour, one can
argue on what exactly recursive is to mean here. Intuitively,
the definition of the current sub-directory and all sub-directories
below the current directory (and that for each subdirectory) seems
the correct one. Which would exclude .., as this is not a
  sub-directory
of the current directory, but the parent.
  
   Not really.  It recurses through the directories named on the command
   line, of which '..' happens to be one.
  
  
  Yes, the directories named on the command line within the CURRENT
  directory. Technically, . and .. are entries within the current
  directory (try: od -c .), and they have inode numbers too. But that does
  not deter me from deeming it a bit counter-intuitive to consider .. a
  directory of the current directory. :) Especially in the context of
  recursion.
 
 So you want 'chown foo ..' to fail, as a special case?  As I
 mentioned before, rm gets away with this because you don't want to
 remove the parent of the directory you're currently in.
 (Actually, some rm implementations *will* let you shoot yourself
 in the foot.)  But it's perfectly reasonable to chown '..', even
 recursively, so chown can't make any assumptions.
 
 I object to going around and documenting this caveat in the
 manpages for every single utility that supports recursion through
 a directory tree.  It doesn't really belong there, it belongs in a
 ``How to use the shell'' tutorial.  The way Unix traditionally
 does parameter expansion makes it easy to shoot yourself in the
 foot in at least a dozen ways, and this is just one of them.
 
There is a little comfort-factor trick for all of this, that I use a lot
on those paranoid days, execute the command first with an echo in front
of it, then you will see what is going to happen..for example:

[admin@willow]:~$ echo chown cls:cls .*
chown cls:cls . .. .bash_history .bashrc .cshrc .forward .login
.login_conf .mail_aliases .mailcap .mailrc .muttrc .procmailrc .profile
.rhosts .shrc .signature .ssh
[admin@willow]:~$

Of course this may not be 100% the truth if the program you are echoing
makes a special case of . etc. But it does show you what the shell
will expand your command line to.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Greetings for the Holiday Season

2002-12-20 Thread nbbn
Warm greetings from UnitedBorneo.com for the holiday seasons.
 
*Selamat Hari Raya
*Merry Christmas 
*Happy new year 2003   
   
   
   

We would like to take this opportunity to invite you to visit our website at 

http://www.unitedborneo.com

and also to look out for special bird's nest offer on Nan Yang Siang Bao 21/12/2002

**We apologise if this email has caused you much inconvenience, Please reply to us 
with Remove title,
   nbbn will not send you further emails.

Yours Sincerely,
North Borneo Bird Nest 
 Sea Products

Tony
Marketing Manager












attachment: emailadv1.gif

CONFIDENTIAL

2002-12-20 Thread samsin joe
FRO:Samsin  joe
PHONE:(874)-762864167, 
  (870)-762864167,
  (871)-762864167 
 
FAX  :(874)-762864168


 (URGENT AND CONFIDENTIAL)

RE:  TRANSFER OF ($26,000.000.00 USD}
TWENTY SIX MILLION DOLLARS

Dear Sir,

We want to transfer to overseas account 
($26,000.000.00 USD) Twenty six million United States
Dollars) from a Prime Bank here in South Africa, I
want to ask you, If you can look for a reliable and
honest person who will be capable and fit to provide
either an existing bank account or to set up a new
Bank a/c immediately to receive this money, even an
empty a/c can serve to receive this money, as long as
you will remain honest to me till the end for this
important business trusting in you and believing in
God that you will never let me down either now or in
future.

I am the Auditor General of one of the prime banks
here in South Africa, during the course of our
auditing,I discovered a floating fund in an account
opened in the bank in 1996 and since 1998 nobody has
operated on this account again,after going through
some old files in the records I discovered that the
owner of the account died without a [Heir/WILL] hence
the money is floating and if I do not remit this money
out urgently it will be forfeited for nothing. The
owner of this account is PEDRO F. HASLER a foreigner,
a great industrialist and he died since 1998.No other
person knows about this account or any thing
concerning it, the account has no other beneficiary
and my investigation proved to me as well that until
his death he was the manager GOLD ARK [pty]. SA.

We will start the first transfer with Six million
[$6,000.000] upon successful transaction without any
disappoint from your side, we shall re-apply for the
payment of the remaining rest amount to your account.

The total amount involve is Twenty six million United
States Dollars only [$26,000.000.00]. I want to first
transfer $6,000.000.00 [Six million United States
Dollar] from this money into a safe foreigners account
abroad before the rest. But I don't know any
foreigner, I am only contacting you as a foreigner
because this money can not be approved to a local
person here, without valid international foreign
passport, but can only be approved to any foreigner
with valid international passport or drivers
license and foreign a/c  because the money is in US
dollars and the former owner of the a/c is a
foreigner too, and the money can only be approved into
a foreign a/c.

However, we will sign a binding agreement, to bind us
together when we meet face to face after the first
transfer of $6 Million before transferring the second
part of $20 Million. I am revealing this to you with
believe in God that you will never let me down in this
business, you are the first and the only person that I
am contacting for this business, so please reply
urgently so that I will inform you the next step to
take urgently. Send also your private telephone and
fax number including the full details of the account
to be used for the deposit.

I want us to meet face to face to build confidence and
to sign a binding agreement that will bind us together
immediately after the first transfer before we fly to
your country for withdrawal, sharing and investments.

I need your full co-operation to make this work fine
because the management is ready to approve this
payment to any foreigner who has correct information
of this account, which I will give to you upon your
positive response and once I am convinced that you are
capable and will meet up with instruction of  a key
bank official who is deeply involved with me in this
business. I need your strong assurance that you will
never, never let me down.

With my influence and my position in the bank the bank
official can transfer this money to any foreigner's
reliable account that you can provide with assurance
that this money will be intact pending our physical
arrival in your country for sharing. The bank official
Will destroy all documents of transaction immediately
we receive this money leaving no trace to any place
and to build confidence you can call me for heart to
heart discussion through my private satellite phone
which I secured for the security and safety of this
business as you know that this business is
confidential.I will use my position and influence to
obtain all legal approvals for onward transfer of this
money to your account with appropriate clearance from
the relevant ministries and foreign exchange
departments.

At the conclusion of this business, you will be given
35% of the total amount, 60% will be for me, while 5%
will be for expenses both parties might have incurred
during the process of transferring.

I look forward to your earliest reply through my email
address.

Yours truly
Samsin  joe








 





__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with