Re: ppp: Chat script failed

2002-10-22 Thread Giorgos Keramidas
On 2002-10-22 00:24, Anton [EMAIL PROTECTED] wrote:
 When I type 'dial' in the ppp I see warning message:
 Chat script failed

 Modem's indicators blink and I hear 'long toot'
 but modem doesn't want to dial.

Any relevant messages in the system logs?

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



Re: Oops! rc.conf mistake

2002-10-22 Thread Giorgos Keramidas
On 2002-10-22 00:21, Steve Warwick [EMAIL PROTECTED] wrote:

 I wonder if anyone can tell me how to get out of this stupid mistake.

 I edited rc.conf to add a virtual interface and left a quote off the end
 (unterminated string) - now I cannot get past mounting root, so no editors.

Please read:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RCCONF-READONLY

If you still can't get past your problem, it is a problem of the
documentation and I would be grateful if you kept notes during the
recovery process and emailed your comments back to me or the
[EMAIL PROTECTED] mailing list.

-- 
[EMAIL PROTECTED]   FreeBSD: The Power to Serve
FreeBSD 5.0-CURRENT #14: Mon Oct 21 06:51:14 EEST 2002

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



Re[2]: ppp: Chat script failed

2002-10-22 Thread Anton
Hello Giorgos,

Tuesday, October 22, 2002, 8:59:06 AM, you wrote:

 When I type 'dial' in the ppp I see warning message:
 Chat script failed

 Modem's indicators blink and I hear 'long toot'
 but modem doesn't want to dial.

GK Any relevant messages in the system logs?

As far as I understand, system log is the messages which I see at the
console while I logged as root.

Yes, I see the same:
Oct 22 10:55:09 lizard ppp[147]: Warning: Chat script failed

Regards
Anton


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



Re: Re[2]: ppp: Chat script failed

2002-10-22 Thread David Lloyd

Anton,

 GK Any relevant messages in the system logs?
 
 As far as I understand, system log is the messages which I see at the
 console while I logged as root.

What's in /var/log/ppp.log ?


DSL
-- 
The Linux C Programming Lists:
 * http://lists.linux.org.au/listinfo/linuxcprogramming/
The Linux C++ Programming Lists:
 * http://lists.linux.org.au/listinfo/tuxcpprogramming/

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



Re: apache prob

2002-10-22 Thread Toomas Aas
Hi!

 i get this error  [error] [client oneip] client sent HTTP/1.1 request
 without hostname (see RFC2616 section 14.23):
 then my httpd start running 100 process and no site are available, is there
 a way to fix this ?

Sounds like you are being attacked by the Slapper worm. The easiest way 
to avoid this would probably be to use a firewall to block out the 
offending machines.

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Drive A: not responding...Formatting C: instead.


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



Server administration while on holiday

2002-10-22 Thread Andreas Wideroe Andersen
Dear list readers,

I'm going away on a 2 month vacation in a couple of weeks and I need 
to find a way I can do simple server administration from remote 
locations. I will most likely not be able to connect via SSH to my 2 
servers (Running FreeBSD 4.5 and 4.6 STABLE) since the only internet 
access I will have is through various Internet Cafes.

Does anyone know if there is a tool to do smaller jobs like 
restarting services and stuff via a www interface?

Thanks for your time!

/Andreas


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


Re: Server administration while on holiday

2002-10-22 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

/usr/ports/sysutils/webmin

- -Adam


 (10.22.2002 @ 0155 PST): Andreas Wideroe Andersen said, in 0.6K: 
 Dear list readers,
 
 I'm going away on a 2 month vacation in a couple of weeks and I need 
 to find a way I can do simple server administration from remote 
 locations. I will most likely not be able to connect via SSH to my 2 
 servers (Running FreeBSD 4.5 and 4.6 STABLE) since the only internet 
 access I will have is through various Internet Cafes.
 
 Does anyone know if there is a tool to do smaller jobs like 
 restarting services and stuff via a www interface?
 
 Thanks for your time!
 
 /Andreas
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of Server administration while on holiday from Andreas Wideroe Andersen 


- --
Adam Weinberger
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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

iD8DBQE9tRQNo8KM2ULHQ/0RAoZvAJ4tbMcN3hcLUoLKvqsm7ZTwvAPRGQCfX4IW
Q5arOFsRxOIiDChWfrymjEc=
=vaqm
-END PGP SIGNATURE-

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



RE: Server administration while on holiday

2002-10-22 Thread Barry Byrne
How about a Java/Web based SSH client?

 - Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of Andreas Wideroe
 Andersen
 Sent: 22 October 2002 09:55
 To: [EMAIL PROTECTED]
 Subject: Server administration while on holiday
 
 
 Dear list readers,
 
 I'm going away on a 2 month vacation in a couple of weeks and I need 
 to find a way I can do simple server administration from remote 
 locations. I will most likely not be able to connect via SSH to my 2 
 servers (Running FreeBSD 4.5 and 4.6 STABLE) since the only internet 
 access I will have is through various Internet Cafes.
 
 Does anyone know if there is a tool to do smaller jobs like 
 restarting services and stuff via a www interface?
 
 Thanks for your time!
 
 /Andreas
 
 
 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: Server administration while on holiday

2002-10-22 Thread Simon Dick
Or the putty ssh client, a single downloadable windows exe file which
requires no installation.

On Tue, Oct 22, 2002 at 10:03:19AM +0100, Barry Byrne wrote:
 How about a Java/Web based SSH client?
 
  - Barry
 
 --
 Barry Byrne, IT Manager,
 WBT Systems, Block 2, Harcourt Centre
 Harcourt Street, Dublin 2, Ireland
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of Andreas Wideroe
  Andersen
  Sent: 22 October 2002 09:55
  To: [EMAIL PROTECTED]
  Subject: Server administration while on holiday
  
  
  Dear list readers,
  
  I'm going away on a 2 month vacation in a couple of weeks and I need 
  to find a way I can do simple server administration from remote 
  locations. I will most likely not be able to connect via SSH to my 2 
  servers (Running FreeBSD 4.5 and 4.6 STABLE) since the only internet 
  access I will have is through various Internet Cafes.
  
  Does anyone know if there is a tool to do smaller jobs like 
  restarting services and stuff via a www interface?
  
  Thanks for your time!
  
  /Andreas
  
  
  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
 

-- 
Simon Dick  [EMAIL PROTECTED]

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



Re: Server administration while on holiday

2002-10-22 Thread Andreas Wideroe Andersen
Adam Weinberger wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

/usr/ports/sysutils/webmin

- -Adam




(10.22.2002 @ 0155 PST): Andreas Wideroe Andersen said, in 0.6K: 


Dear list readers,

I'm going away on a 2 month vacation in a couple of weeks and I need 
to find a way I can do simple server administration from remote 
locations. I will most likely not be able to connect via SSH to my 2 
servers (Running FreeBSD 4.5 and 4.6 STABLE) since the only internet 
access I will have is through various Internet Cafes.

Does anyone know if there is a tool to do smaller jobs like 
restarting services and stuff via a www interface?

Thanks for your suggestions! Webmin is now installed and it does 
exactly what I was looking for!

Thanks again!

/Andreas


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


Re: Installing things....

2002-10-22 Thread Artem Okounev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello John,

Tuesday, October 22, 2002, 1:15:39 PM, you wrote:

 Right I am compleatly new at installing things on FreeBSD
Welcome :)

 I  need  to  install Apache/MySQL and PHP on to my server.
 Are these things in Ports?
You may install these apps using ports or packages.
 and what are the commands to install these things?
Read:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

- --
Best regards,
 Artemmailto:aokounev;yahoo.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (MingW32)

iD8DBQE9tSh4bOuJ0KL1C+MRAov0AJ9xj5JG5I6Q+nT+1SymwyoV+NTQgwCeM+QD
8kvuoYLWoKe3xajfhI37588=
=+KVa
-END PGP SIGNATURE-


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



Re: Server administration while on holiday

2002-10-22 Thread Vallo Kallaste
On Tue, Oct 22, 2002 at 10:55:16AM +0200, Andreas Wideroe Andersen
[EMAIL PROTECTED] wrote:

 Dear list readers,
 
 I'm going away on a 2 month vacation in a couple of weeks and I need 
 to find a way I can do simple server administration from remote 
 locations. I will most likely not be able to connect via SSH to my 2 
 servers (Running FreeBSD 4.5 and 4.6 STABLE) since the only internet 
 access I will have is through various Internet Cafes.
 
 Does anyone know if there is a tool to do smaller jobs like 
 restarting services and stuff via a www interface?

Heh, how about actually fully taking your vacation? ;-)
Getting real the putty seems most reasonable, but some of the Inet
cafe's can have quite restrictive outbound traffic policies.
-- 

Vallo Kallaste
[EMAIL PROTECTED]

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



Re: Server administration while on holiday

2002-10-22 Thread Simon J Mudd
[EMAIL PROTECTED] (Simon Dick) writes:

 Or the putty ssh client, a single downloadable windows exe file which
 requires no installation.

Yes, I've used this on many ocassions to enter my FreeBSD/Linux
machines and in most Internet Cafés you can download it and use it.

Simon
-- 
Simon J Mudd, Postfix RPM Packager, Amsterdam, The Netherlands.
email: [EMAIL PROTECTED], Tel: +31-627-592 627

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



Re: Server administration while on holiday

2002-10-22 Thread Rus Foster
On 22 Oct 2002, Simon J Mudd wrote:

 [EMAIL PROTECTED] (Simon Dick) writes:

  Or the putty ssh client, a single downloadable windows exe file which
  requires no installation.

 Yes, I've used this on many ocassions to enter my FreeBSD/Linux
 machines and in most Internet Cafés you can download it and use it.


I've got a webpage I use which has some helper apps on. See
http://www.spews.net/remote.php and see if any of it help

Rus

--
http://www.fsck.me.uk - My blog
http://shells.fsck.me.uk - Hosting how you want it.


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



ports upgrade?

2002-10-22 Thread Omer Faruk Sen

First I am sorry if here is not the right place to ask it. I am trying to 
update a port but I am having a problem. I am in fact having problems while 
patch'ing my old port. Here is what I have done. 

#cp -r category/ports category/ports.old
#cd category/ports
making changes
#cd /usr/ports/category
#diff -ruN ports.old ports patch 

I have 2 questions here.
1)I have to remove a directory from my port. How can I do that? I have rm 
-fr /usr/ports/category/ports/files but it didn't work since patch didn't 
remove that directory. 

2)After patching ports with `patch  patch' i see files with *.orig but I 
think they shouldn't be there. 

I have read the porters' handbook of course. But I think there can be a 
ports' upgraders :) section too in that guide. 

REGARDS

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


Re: Cyclom ?

2002-10-22 Thread Omer Faruk Sen
I have lived that sio buffer overflow problem with my old 33.6 ISA modem. 
What I did was to detach the isa card cleaned the dust on it and I haven't 
seen such an error on my system :) funny but true.. 



Stephan Weber writes: 

Hello, 

I have a question about the driver for the Cyclades-Multiport-Cards.
We're using a Cyclom-4YoP under FreeBSD4.7 and i got the following 
message: 

	.../kernel: cy0: 1 more silo overflow (total 1) 

What does this mean ? Is it an error ? If so, how can we prevent it ? 

With best regardes, Stephan Weber 

Dipl.-Ing. (FH) Stephan Weber
R.A.M. GmbH - Kundendienst
Wickerer Straße 50/C
65439 Floersheim
Tel.: +49 (0)6145/9356-31
Fax: +49 (0)6145/9356-40
Email: [EMAIL PROTECTED]
http://www.ramgmbh.de 


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: Server administration while on holiday

2002-10-22 Thread MikeM
On 10/22/02 at 12:00 PM Andreas Wideroe Andersen wrote:

|
|Thanks for your suggestions! Webmin is now installed and it does 
|exactly what I was looking for!
 =

Make sure you activate the SSL option of Webmin.

Details here: http://www.webmin.com/ssl.html



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



ipfw bandwidth question.

2002-10-22 Thread faSty
Hi,

 I need help with ipfw pipe. Let me tell you I am using bridged where the firewall 
control
entire 11 servers.

Now, I wanted ask you how do i set the ipfw pipe statement. Example:

# pipe 1 and 2 are 2 dedicated servers and pipe 3 is shared bandwidth 256Kbit/s 
downstream.
ipfw pipe 1 config mask src-ip 0x00ff bw 750kbit/s queue 8Kbytes
ipfw pipe 2 config mask src-ip 0x00ff bw 250kbit/s queue 8Kbytes
ipfw pipe 3 config mask dst-ip 0x00ff bw 256kbit/s queue 8Kbytes
# outgoing
ipfw add pipe 1 all from A to any out via any
ipfw add pipe 2 all from B to any out via any
# incoming
ipfw add pipe 3 all from any to A in via any
ipfw add pipe 3 all from any to B in via any

The outgoing (internet -- NS firewall/bridged/ipfw bandwidth -- dedicated server) 
did not 
make any effect when used out that set to 250Kbit/s or 750Kbit/s.
How do i get them in effect while the firewall controlled on bridged.


The incoming is beautiful working just charm except outgoing.

I hope you understand what im trying figure how get it work properly.

But if I dont use out in statement. it works fine but the statistical show
as double bandwidth usage. Someone told me the firewall pass twice and it makes
look twice bandwidth.. How can i solve this problem?



-- ipfw show

01800 0   0 pipe 1 ip from A to any out xmit any
01900 0   0 pipe 2 ip from B to any out xmit any
02000   210   16349 pipe 3 ip from A in recv any
02100   879   47281 pipe 3 ip from B in recv any
-- end

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



Re: FreeBSD Install question

2002-10-22 Thread David Yeske
What version of FreeBSD is this for?

Can you boot the kern.flp floppy?

Does this machine have a network card?  If so what kind?

Regards,
David Yeske

 
 I have an older laptop that doesn't have a bootable CD-ROM. The bay
 either holds a CD Module or a Floppy module so I can't boot off the
 floppies and install from the CD-ROM.
 
 I have installed a small DOS partition and can access my FreeBSD CD-ROM,
 is there any way to invoke the install from within DOS. (RedHat has a
 batch file on the CD-ROM that allows the installer to launch, is there
 anything I can use to do this for FreeBSD?)
 
 Is it possible to boot off the floppies, switch out the Floppy module
 for the CD module and then use the CD?
 
 Any help or ideas would be appreciated.
 
 Thanks
 
 Rich B
 
 __
 Do you Yahoo!?
 Y! Web Hosting - Let the expert host your web site
 http://webhosting.yahoo.com/


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

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



Re: Java on FreeBSD 4.5

2002-10-22 Thread Kaarthik Sivakumar

 ss == sonam singh [EMAIL PROTECTED] writes:
ss do u need precompiled binaries of jdk1.3 if
ss successfuly compiled the jdk1.3 on my FreeBSD4.5 

ss regards
ss Sonam Singh
ss [EMAIL PROTECTED]

No, I would prefer to compile it on my own. But thanks. I got another
suggestion, which was to install netscape 7 that comes with all the
java and flash bells and whistles as plugins. I got that and it seems
ok to me. So I would likely continue with that rather than try and
compile all this.

Kaarthik

ss --- Kaarthik Sivakumar [EMAIL PROTECTED]
ss wrote:
 Hi
 
 I am trying to set up Java on FreeBSD 4.5. I read
 through:
 
 http://www.freebsd.org/java/install.html
 
 But this didnt work for me. I found this:
 
 
ss http://www.onlamp.com/pub/a/bsd/2002/09/05/FreeBSD_Basics.html?page=3
 
 from the FreeBSD pages. But this doesnt work either.
 I get compilation
 errors as follows. Whats wrong? What did I do? I
 installed
 www/mozilla-headers also since that seemed to have
 npapi.h but that
 npapi.h was installed into
 /usr/X11R6/include/mozilla/plugin/ and so
 was never discovered. Any help is appreciated. Could
 you please CC me
 as I am not subscribed to this list (yet).
 
 ,
 | gcc -Wall -c -I/usr/local/include -O -D_GNU_SOURCE
 -DXP_UNIX
 | -DVERSION=\1.3. 1-p7-aswini-021003-20:52\
 -DDATE=\Oct-03-2002\
 | -DARCH=\i386\ -DRAPTOR_ API
 -DNEW_STREAMING_API
 | -I../../oji-plugin/include/solaris/navig4/nspr
 -I../../o
 | ji-plugin/include/solaris/navig4/xpcom
 | -I../../oji-plugin/include/solaris/navig4 /caps
 | -I../../oji-plugin/include/solaris/navig4/js
 | -I../../oji-plugin/include/so laris/navig4/raptor
 | -I../../tmp/bsd/i386/CClassHeaders
 | -I../../oji-plugin/include/solaris/navig4/oji
 | -I../../oji-plugin/include/solaris/navig4/plugin
 | -I../../oji-plugin/src/motif/common
 | -I../../oji-plugin/src/motif/navig4
 -I/usr/X11R6/inclu de
 | -I../../oji-plugin/src/motif/badapter
 | -I../../../../src/share/javavm/export
 | -I../../../../src/solaris/javavm/export
 -I/usr/X11R6/include
 | -I../../oji-plugin/ src/share -o
 ../../tmp/bsd/i386/stubs.o
 | ../../oji-plugin/src/motif/common/stubs. c
 | 
 | In file included from
 ../../oji-plugin/src/motif/common/stubs.c:29:
 | /usr/X11R6/include/npapi.h:1: #error
 | /tmp/qt-3.0-reggie-21297/qt/extensions/nsp
 lugin/src/npapi.h must be
 | provided by Netscape
 /usr/X11R6/include/npapi.h:2: #error This file
 | is just a placeholder. Please see the
 documentation
 | /usr/X11R6/include/npapi.h:3: #error to learn how
 to obtain the real
 | file
 | 
 | In file included from
 ../../oji-plugin/src/motif/common/stubs.c:30:
 | /usr/X11R6/include/npupp.h:1: #error
 | /tmp/qt-3.0-reggie-21297/qt/extensions/nsp
 lugin/src/npupp.h must be
 | provided by Netscape
 /usr/X11R6/include/npupp.h:2: #error This file
 | is just a placeholder. Please se e the
 documentation
 | /usr/X11R6/include/npupp.h:3: #error to learn how
 to obtain the real
 | file gmake[1]: *** [../../tmp/bsd/i386/stubs.o]
 Error 1 gmake[1]:
 | Leaving directory
 `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/bu
 | ild/solaris' gmake: *** [plugin-all] Error 1
 | *** Error code 2
 | 
 | Stop in /usr/ports/java/jdk13.
 | User: 1181.281u Kernel: 270.461u Time: 31:25.82
 CPU: 76.9% (2911k/27674k) 8409+1
 | 315io
 | Exit 1
 | 
 | /usr/X11R6/include/npupp.h:2: #error This file is
 just a placeholder.
 | Please see the documentation
 /usr/X11R6/include/npupp.h:3: #error
 | to learn how to obtain the real file gmake[1]:
 ***
 | [../../tmp/bsd/i386/stubs.o] Error 1 gmake[1]:
 Leaving directory
 |
 `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/bu
 ild/solaris'
 | gmake: *** [plugin-all] Error 1
 | *** Error code 2
 | 
 | Stop in /usr/ports/java/jdk13.
 | User: 1181.281u Kernel: 270.461u Time: 31:25.82
 CPU: 76.9% (2911k/27674k) 8409+1
 | 315io
 | Exit 1
 `
 
 Kaarthik
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


ss __
ss Do you Yahoo!?
ss Y! Web Hosting - Let the expert host your web site
ss http://webhosting.yahoo.com/

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



Re: DUMP: bad sblock magic number

2002-10-22 Thread Jerry McAllister
 
 Hello, I'm trying the following on FreeBSD 4.2:
 
 dump -0 -h 0 -u -a -f /dev/nsa0 /home/foo
 
 And the dump is dying with the message:
 
   DUMP: Dumping /home/shared to /dev/nsa0
   DUMP: bad sblock magic number
   DUMP: The ENTIRE dump is aborted.
 
 /home/foo is not a mount point, but I seem to remember FreeBSD's dump 
 being able to dump subdirectories.  I can dump /home (which is a mount
 point) without any errors, so its not a problem with /dev/nsa0.  What
 does bad sblock magic number mean?

As far as I know, dump will only work for file systems and not
on sub-directories.   The bad magic is basically telling you that
as well.   If you find a way, let us know.

jerry

 
 Please CC: me on any replies, as I'm not subscribed -- and thanks in
 advance.
 
 Cheers,
 
 Brent
 
 
 
 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: ipfw: ping and icmp fragments

2002-10-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-21 14:18:30 -0400:
 what happens to the first fragmented packet of tcp connections?

hard to tell without seeing your ruleset.

 how can i test that?

by inspecting the firewall logs

-- 
If you cc me or take the list(s) out completely I'll most likely
ignore your message.

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



Packet radio, TNCs, NOS FreeBSD ?

2002-10-22 Thread richard childers
Does anyone have any URLs describing the interconnection of FreeBSD,
specifically, to amateur packet radio hardware (IE, TNCs), that they
would care to share?

A few hours of perusing has turned up darned little - mostly pointers to
Linux projects.

If there is interest I will summarize in a followup.


-- richard

--

Richard A Childers/KG6HAC -- Senor UNIX System  Network Administrator
Dont forget nothing. Maj Rogers, standing orders, 1st Ranger Bn, 1759



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



Low Balancing

2002-10-22 Thread Oliveira Ramiro
Tengo un Server BSD con 2 diferentes conexiones a internet, mediante 2
placas de red, con 2 proveedores diferentes. La pregunta es:
Cual creen es la mejor solucion (o al menos la mas estable y razonable) para
que mi trafico quede balanceado?

Regards,


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



Re: Low Balancing

2002-10-22 Thread DaleCo, S.P.---'the solutions people'
I didn't translate this.  I'm guessing.

man dummynet

Kevin Kinsey
DaleCo, S.P. (USA)
- Original Message -
From: Oliveira Ramiro [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 22, 2002 7:45 AM
Subject: Low Balancing


 Tengo un Server BSD con 2 diferentes conexiones a internet,
mediante 2
 placas de red, con 2 proveedores diferentes. La pregunta es:
 Cual creen es la mejor solucion (o al menos la mas estable y
razonable) para
 que mi trafico quede balanceado?

 Regards,


 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



Unwanted XFree86 stuff in 4.7

2002-10-22 Thread Jack L. Stone
This may qualify the most stupid question of the day, but I need to ask
since I haven't yet found the answer.

On all of the production boxes, I am running 4.5-RELEASE p-20 and have been
waiting to take the plunge on 4.7 after it settled down. Last night I
installed 4.7-RELEASE from an ISO on a test box. While the install went
smoothly, I noticed that a bunch of XFree stuff is installed even
though I don't use nor want to run an X server, if this is what XFree
pertains to. Further, the first thing I did after the ISO install was to
CVSup and then found that a number of ports needed updating all related
to XFree It's taking a HUGE amount of time to update things because
of this unwanted XFree stuff. None of this XFree stuff is on my 4.5 boxes.
First concern was I noticed the f version of cvsup-without-gui install
took a loooggg time.

NOW FOR THE STUPID QUESTION:
What did I do wrong that started this alavanche of XFree installs...?? If
so, what do I do to stop it or correct it??? Below is the list of ports
installed during the ISO original install. I'm running:
# portupgrade -Nai now and it's taking a hour to update the ports listed
below. It's still early in the install process, so I can start over (and
already have including placing NO_X= true in the make.conf file. I'm
assuming I need to place a statement somewhere else to stop this X stuff.

Any tips appreciated as I am concerned about the amount of wasted time
consumed with X installs.

XFree86-4.2.0_1,1   =  up-to-date with port
XFree86-FontServer-4.2.0  needs updating (port has 4.2.0_1)
XFree86-Server-4.2.1_3needs updating (port has 4.2.1_5)
XFree86-clients-4.2.1_2 =  up-to-date with port
XFree86-documents-4.2.0 =  up-to-date with port
XFree86-font100dpi-4.2.0=  up-to-date with port
XFree86-font75dpi-4.2.0 =  up-to-date with port
XFree86-fontCyrillic-4.2.0_4  =  up-to-date with port
XFree86-fontDefaultBitmaps-4.2.0  =  up-to-date with port
XFree86-fontEncodings-4.2.0  =  up-to-date with port
XFree86-fontScalable-4.2.0  =  up-to-date with port
XFree86-libraries-4.2.1_2   =  up-to-date with port

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: Unwanted XFree86 stuff in 4.7

2002-10-22 Thread David Varieur
On Tue, 22 Oct 2002 09:42:05 -0500
Jack L. Stone [EMAIL PROTECTED] wrote:

 On all of the production boxes, I am running 4.5-RELEASE p-20 and have been
 waiting to take the plunge on 4.7 after it settled down. Last night I
 installed 4.7-RELEASE from an ISO on a test box. While the install went
 smoothly, I noticed that a bunch of XFree stuff is installed even
 though I don't use nor want to run an X server, if this is what XFree
 pertains to. Further, the first thing I did after the ISO install was to
 CVSup and then found that a number of ports needed updating all related
 to XFree It's taking a HUGE amount of time to update things because
 of this unwanted XFree stuff. None of this XFree stuff is on my 4.5 boxes.
 First concern was I noticed the f version of cvsup-without-gui install
 took a loooggg time.
 

Did you install cvsup-without-gui? If not, you installed the GUI version which 
requires X.

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



Re: Unwanted XFree86 stuff in 4.7

2002-10-22 Thread Jack L. Stone
At 07:51 AM 10.22.2002 -0700, David Varieur wrote:
On Tue, 22 Oct 2002 09:42:05 -0500
Jack L. Stone [EMAIL PROTECTED] wrote:

 On all of the production boxes, I am running 4.5-RELEASE p-20 and have been
 waiting to take the plunge on 4.7 after it settled down. Last night I
 installed 4.7-RELEASE from an ISO on a test box. While the install went
 smoothly, I noticed that a bunch of XFree stuff is installed even
 though I don't use nor want to run an X server, if this is what XFree
 pertains to. Further, the first thing I did after the ISO install was to
 CVSup and then found that a number of ports needed updating all related
 to XFree It's taking a HUGE amount of time to update things because
 of this unwanted XFree stuff. None of this XFree stuff is on my 4.5 boxes.
 First concern was I noticed the f version of cvsup-without-gui install
 took a loooggg time.
 

Did you install cvsup-without-gui? If not, you installed the GUI version
which requires X.


Yes, I did see above about the loooggg time at bottom. I always
choose without gui.

I just ran pkg_deinstall -Ri XFree86 and removed all of the X port
stuff and nothing has crashed yet.

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: Unwanted XFree86 stuff in 4.7

2002-10-22 Thread Drew Raines
Jack L. Stone wrote:

 What did I do wrong that started this alavanche of XFree
 installs...??

Did you choose a distribution set starting with X-?  (X-Kern-,
X-User-, etc.)

-Drew

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



IPFW/NATD

2002-10-22 Thread Scott Pilz

The answer to this is more than likely 'no'.

But I'll try anyways.

Setup: NATD/IPFW

Say you have an IPFW rule to allow 10.0.0.2 through NATD - thus into the
internet - and everything else to be blocked.

Your machine (10.0.0.2) that is being firewalled by NATD/IPFW works fine.
Then someone else sets their machine up to 10.0.0.2, and now they can also
get out into the network (there will of course be an ip conflict).

My question is, for security, is there any way to use this type of block
based on MAC ID. Almost to bond the MAC ID to the IP Address so the only
computer that can use the IP address 10.0.0.2 is with MAC ID whatever?


Thanks,

Scott


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



mergemaster problem

2002-10-22 Thread pippo
I want to upgrade FreeBSD from 4.62 to 4.7 so I can use openoffice.
I find the instructions in the handbook incomplete:
21.4 Using make world

In trying to use mergemaster, I find it incomprehensible as to what the 
program actually does and what I am supposed to direct it to do.
It is not clear as to what is done with the master.passwd and group files 
and where they are installed or how they are modified.
I tried to be ultra conservative and backed up the /etc/group and 
/etc/master.passwd files to *.old and then ran mergemaster.
It was thereafter not clear who(what process or program) would use the new 
file (which, where) or how the files would be merged. I chose the 'm' 
option to merge the files, assuming that the existing passwords, users and 
groups would be merged into the new file. Then to verify, I entered the 'v' 
option; but this produced nothing.
Thinking that the backups would be insurance, I then opted for 'i'.
On exiting mergemaster, I chose to leave the temp files.
I did not run the pwd_mkdb -p as suggested until after verifying the /etc 
directory and the /var/tmp/temproot/etc directories:
SURPRISE
the /etc/group, /etc/passwd and /etc/master.passwd files are empty.
And there is nothintg in the /var/tmp/temproot/etc directory
What in the world is going on here?
I have not closed down or rebooted as I am afraid that the whole 
installation will be lshot to hell.
What do I do?
Will restoring the saved group and master.passwd files do anything? Then 
there is the empty passwd file. I suppose that running vipw and adduser 
might fix things...
Also, there was no /etc/make.conf file. The installation has been pretty 
much by the book using portupgrade ...
Everything works just fine - Xfree86-4.2; cups, kde3; I just want to 
upgrade to 4.7 for openoffice.
Please help
PJ



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


Or even - NATD/IPFW/BSD

2002-10-22 Thread Scott Pilz

In regards to my last question ... or does anyone even know how to
block all traffic from a MAC ID?



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



freebsd:tcp/ip implementation

2002-10-22 Thread aikala manoj pakkala
hi,

i would like to know if the tcp/ip implementation in freebsd is identical to the 4.4 
bsd lite.
i would like to study tcp/ip w.r.t the book written by stevens 
TCP/IP Illustrated, Vol 1,2,3 in which he provides te implementation as in 4.4bsd lite.

if it is the same or fairly similar i would like you to recomend me a stable version 
of freebsd(cdrom bootable).

thanking you
manoj pakkala
from mangalore
india





Get 25MB of email storage with Lycos Mail Plus!
Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus 

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



freebsd:tcp/ip implementation

2002-10-22 Thread aikala manoj pakkala
hi,

i would like to know if the tcp/ip implementation in freebsd is identical to the 4.4 
bsd lite.
i would like to study tcp/ip w.r.t the book written by stevens 
TCP/IP Illustrated, Vol 1,2,3 in which he provides te implementation as in 4.4bsd lite.

if it is the same or fairly similar i would like you to recomend me a stable version 
of freebsd(cdrom bootable).

thanking you
manoj pakkala
from mangalore
india





Get 25MB of email storage with Lycos Mail Plus!
Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus 

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



Re: Unwanted XFree86 stuff in 4.7

2002-10-22 Thread David Varieur

 
 Did you install cvsup-without-gui? If not, you installed the GUI version
 which requires X.
 
 
 Yes, I did see above about the loooggg time at bottom. I always
 choose without gui.
 

Doh! Sorry.
Note to self: coffee first, email second.

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



Re: Unwanted XFree86 stuff in 4.7

2002-10-22 Thread Jack L. Stone
At 09:21 AM 10.22.2002 -0700, David Varieur wrote:

 
 Did you install cvsup-without-gui? If not, you installed the GUI version
 which requires X.
 
 
 Yes, I did see above about the loooggg time at bottom. I always
 choose without gui.
 

Doh! Sorry.
Note to self: coffee first, email second.


It's okay... I get the stupid award today. I promised a dumb question and
the list got it. Simple: I chose the wrong distribution on install. Never
did that trick before.

Well, maybe a newbie will benefit or someone late at night  tired.

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: Does a web server need ipfw?

2002-10-22 Thread James
On 2002.10.21 20:11 Jacob Rhoden wrote:

On Tue, 22 Oct 2002 03:43, James wrote:
 I'm just wondering if most web servers don't run a firewall?  We've
 setup a FreeBSD web server without ipfw running, and I don't really
see
 any reason to run ipfw since the only services I have running are
httpd
 and sshd.  We have also attempted to secure the machine in the other
 typical ways.

As others have said, you dont really need to, but it is a good idea,
and does
add an extra layer of protection. One example of this would be, if you
web
server is compromised, and the user gets access as 'httpd' but not as
root.
Having a firewall will prevent them malicious activity, such as using
your
machine to launch a DOS attack against another machine, and prevent
them
running a daemon that allows them to connect to your machine on
another port.

So you dont need a firewall, but it does make your machine alot more
safe if
you do.

The other option, is you can set the kernel secure level so that users
cannot
modify the kernel or the firewall rules to get around your security,
without
having local access to the machine.




I appreciate all the input! I think I will be putting up ipfw 
afterall!  I see now that the benefits far outweigh the small amount of 
time it takes to setup ipfw.  I imagine there wouldn't be any 
noticeable effects to performance either.

James

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


Re: Low Balancing

2002-10-22 Thread Fernando Gleiser
On Tue, 22 Oct 2002, Oliveira Ramiro wrote:

 Tengo un Server BSD con 2 diferentes conexiones a internet, mediante 2
 placas de red, con 2 proveedores diferentes. La pregunta es:
 Cual creen es la mejor solucion (o al menos la mas estable y razonable) para
 que mi trafico quede balanceado?

translation

I have a BSD server with two NICs. Each NIC is connected to the Internet
via different ISPs. The question is: What's the best (or the most stable)
solution for traffic balancing between the two links?

/translation



 Regards,


 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



DLT Backup Questions

2002-10-22 Thread Chad Morland
I am looking to create a multi-tape backup of close to 260G of data
using a DLT-7000 with compression turned on. Does anyone have any
recommendations for what to use to accomplish this? Amanda does not
support multi-tape archives so that is out of the question. I have tried
to use gnu tar but for some reason that was only placing 35G onto each
tape (I am trying to use compression.)

Here is what I tried when using tar: 'tar -b 126 -cMpf /dev/nsa0
/backup'

Output of 'mt status':

Mode  Density  Blocksize  bpi  Compression
Current:  0x1b variable   0IDRC
-available modes-
0:0x1b variable   0IDRC
1:0x1b variable   0IDRC
2:0x1b variable   0IDRC
3:0x1b variable   0IDRC
-
Current Driver State: at rest.
-
File Number: 0  Record Number: 0Residual Count 0


-CM


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



Re: mailing list software

2002-10-22 Thread Len Conrad


I recommend Mailman:

/usr/ports/mail/mailman

It's from GNU (free!), works well, and is well supported. It installed
simply and easily for me.


But does a list subscriber need to find/remember and use his list password 
to unsubscribe?

That stupid requirement pretty much kills mailman for the non-geek, 
mass-market crowd.

Len


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


Re: mailing list software

2002-10-22 Thread Anthony Abby
I think Listar/Ecartis is much better than Mailman.  Check it out at 
http://www.listar.org.  It's also free and has a ton of options.

Anthony

I was going to look at mail/listmanager to see if it was good enough for

I recommend Mailman:

/usr/ports/mail/mailman

It's from GNU (free!), works well, and is well supported. It installed
simply and easily for me.



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



Re: mergemaster problem

2002-10-22 Thread Kent Stewart


[EMAIL PROTECTED] wrote:

I want to upgrade FreeBSD from 4.62 to 4.7 so I can use openoffice.
I find the instructions in the handbook incomplete:
21.4 Using make world

In trying to use mergemaster, I find it incomprehensible as to what the 
program actually does and what I am supposed to direct it to do.
It is not clear as to what is done with the master.passwd and group 
files and where they are installed or how they are modified.
I tried to be ultra conservative and backed up the /etc/group and 
/etc/master.passwd files to *.old and then ran mergemaster.
It was thereafter not clear who(what process or program) would use the 
new file (which, where) or how the files would be merged. I chose the 
'm' option to merge the files, assuming that the existing passwords, 
users and groups would be merged into the new file. Then to verify, I 
entered the 'v' option; but this produced nothing.
Thinking that the backups would be insurance, I then opted for 'i'.
On exiting mergemaster, I chose to leave the temp files.
I did not run the pwd_mkdb -p as suggested until after verifying the 
/etc directory and the /var/tmp/temproot/etc directories:
SURPRISE
the /etc/group, /etc/passwd and /etc/master.passwd files are empty.
And there is nothintg in the /var/tmp/temproot/etc directory
What in the world is going on here?
I have not closed down or rebooted as I am afraid that the whole 
installation will be lshot to hell.
What do I do?
Will restoring the saved group and master.passwd files do anything? Then 
there is the empty passwd file. I suppose that running vipw and adduser 
might fix things...
Also, there was no /etc/make.conf file. The installation has been pretty 
much by the book using portupgrade ...
Everything works just fine - Xfree86-4.2; cups, kde3; I just want to 
upgrade to 4.7 for openoffice.
Please help

You might read section 21.4.10 Update Files Not Updated by make 
world of the Handbook. Mergemaster does the compares and produces a 
list for you to see that represents the diff between your current file 
and the new one produced by your buildworld.

Vipw, for example, will update your password files and also update the 
password data base. People used to update /dev and not run MAKEDEV 
when they finished. The result was nothing changed and their system 
did not have the new devices. Mergemaster knows about most of these 
programs that need to be run after /etc has been updated and asks you 
if you want to finish the update. The normal choice is y. If you 
change the version of sendmail, for example, and don't update the 
configuration files, you may not have a running sendmail when you have 
rebooted into your latest version of FreeBSD.

My first encounter with mergemaster was, I think, in the FreeBSD-3.1 
to 3.2 world. I was trying to follow the transition from one release 
level to the next. I was also updating /etc manually. They were 
introducing fixes faster than I could update /etc. Then, I discovered 
mergemaster and a typical installword session on my fast machines, 
which includes running mergemaster, requires less than 5 minutes of 
uptime. It is worth learning how to use it :).

I think I am one of the few that won't let mergemaster modify 
master.passwd, groups, printcap, hosts*, and maybe a couple of other 
files. When it gets into the merge mode, I feel like I have funnel 
vision and can't cope with it. So, I read about changes for new users 
and etc. and add them before I run the buildworld. Some of this you 
can do with the -p option, but I still prefer looking at the files in 
2 windows side by side on a different computer. You can do this from 2 
x-window console sessions but I have 2 computers that don't run X and 
have gotten used to doing this from one central computer.

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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


Re: DLT Backup Questions

2002-10-22 Thread Jerry McAllister
 
 I am looking to create a multi-tape backup of close to 260G of data
 using a DLT-7000 with compression turned on. Does anyone have any
 recommendations for what to use to accomplish this? Amanda does not
 support multi-tape archives so that is out of the question. I have tried
 to use gnu tar but for some reason that was only placing 35G onto each
 tape (I am trying to use compression.)

If you realy mean you want a backup (not a copy to move to some
other system or whatever) to cover yourself in case of a system or disk
failure, then use dump.   It can handle multiple tapes.  

Here is a good reason for creating a special filesystem.  It would 
enable you to make a dump that is only that data.  Since dump works
on a filesystem level and not individual file level.

Good luck,

jerry

 
 Here is what I tried when using tar: 'tar -b 126 -cMpf /dev/nsa0
 /backup'
 
 Output of 'mt status':
 
 Mode  Density  Blocksize  bpi  Compression
 Current:  0x1b variable   0IDRC
 -available modes-
 0:0x1b variable   0IDRC
 1:0x1b variable   0IDRC
 2:0x1b variable   0IDRC
 3:0x1b variable   0IDRC
 -
 Current Driver State: at rest.
 -
 File Number: 0  Record Number: 0Residual Count 0
 
 -CM

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



Re: Mac can't connect to Internet

2002-10-22 Thread Walter
Hi,

   I was wondering what the resolution was to this, as
I (a *nix newbie) am trying to accomplish a very
similar thing: OS 10.1 via hub to a Pentium running
FBSD 4.6.2 to a cable-modem internet connection.
I can't get past the FBSD box from the Mac though
the FBSD box can see the internet just fine. (The
firewall is disabled. And I can ping, telnet,  FTP
from the Mac to FBSD just fine.)

Thanks.

Walter

Alex wrote:

 Friday, October 18, 2002, 6:31:35 PM, you wrote:

 snip
  I added a Powerbook, OS X, to the local network, configured /etc/hosts
  and /etc/resolv.conf. PB can ping the other boxes ok, but can't see the
  Internet. The other boxes can ping the PB ok. Looks like a firewall
  problem. If I connect the PB to the cable modem directly, the PB
  connects ok.
 snip

 Is the mac able to use the internet without the firewall? (Remove the
 firewall lines from rc.conf with '#' and try loading the GENERIC
 kernel at the kernel prompt). If so reboot and change the
 *deny/block/ect* line of the firewall and add the 'log' keyword(man
 ipfw to find out how to use this) to each of them. Check
 /var/log/security if you can see the mac being blocked by your
 firewall. (It will tell you what rule blocked your mac).

 I hope this is helpful, if not send me the output of 'ipfw s' and
 'tail -n 100 /var/log/security' and i'll take a look.

  What am I doing wrong? Thanks.

  Michael Heyes



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



OT: regex(3) and POSIX collating sequences

2002-10-22 Thread D J Hawkey Jr
Hi.

This is rather off-topic, but as the trouble I'm having is on a FreeBSD
box, I'm hoping you'll excuse me.

What's up with collating sequences and the regcomp(3) function? From the
re_format(7) man page:

 Within a bracket expression, a collating element (a character, a multi-
 character sequence that collates as if it were a single character, or a
 collating-sequence name for either) enclosed in `[.' and `.]' stands for
 the sequence of characters of that collating element.  The sequence is a
 single element of the bracket expression's list.  A bracket expression
 containing a multi-character collating element can thus match more than
 one character, e.g. if the collating sequence includes a `ch' collating
 element, then the RE `[[.ch.]]*c' matches the first five characters of
 `chchcc'.

But darned if I can get it to work:

$ echo ZXCV asdf qwer |sed -e s/[^[.ZXCV.][.1234.]]/zxcv/
sed: 1: s/[^[.ZXCV.][.1234.]]/zxcv/
: RE error: invalid collating element

Foolishness, yes, but it illustrates my problem nicely. I've got a program
that uses REs, and it reports this error when I try to use a [[.phrase.]]
bracket syntax. Relevant code example:

#include sys/types.h
#include regex.h

#define REGCOMP_FLAGS(REG_EXTENDED | REG_NOSUB)

regex_t re;
int result;
char *phrase = [^[.ZXCV.][.1234.]];
char buffer[256];

if ((result = regcomp(re, phrase, REGCOMP_FLAGS)) != 0)
{
regerror(result, re, buffer, sizeof(buffer));
regfree(re);

fprintf(stderr, regcomp(\%s\) error: %s\n, phrase, buffer);
}

This works for everything I've thrown at it except for a [[.whatever.]]
bracket expression. regcomp(3) refuses to compile it. The REG_NOSUB is
intentional; I only need to know that a match occurs with regexec(3).

What the devil have I missed? Or, what is an acceptable RE that matches
anything except ZXCV or 1234?

Please CC: me, I'm not subscribed. Thanks,
Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/


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



Re: Low Balancing

2002-10-22 Thread Nick Rogness
On Tue, 22 Oct 2002, Fernando Gleiser wrote:

 On Tue, 22 Oct 2002, Oliveira Ramiro wrote:

  Tengo un Server BSD con 2 diferentes conexiones a internet, mediante 2
  placas de red, con 2 proveedores diferentes. La pregunta es:
  Cual creen es la mejor solucion (o al menos la mas estable y razonable) para
  que mi trafico quede balanceado?

 translation

 I have a BSD server with two NICs. Each NIC is connected to the Internet
 via different ISPs. The question is: What's the best (or the most stable)
 solution for traffic balancing between the two links?

 /translation

The only proper way to do this is with a routing daemon like gated
or zebra.  This requires peering arrangements with your
upstream ISPs.

There are other alternatives, all of which are rather difficult to
implement.


Nick Rogness [EMAIL PROTECTED]
-
 Wouldn't it be great if we could answer people with a
  kick to the crotch?  [EMAIL PROTECTED]



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



Re: mergemaster problem

2002-10-22 Thread pippo
At 10:01 AM 10/22/2002 -0700, you wrote:
I must say, as I often have remarked, that the handbook is rather foggy - 
you often have to read a whole slew of things that are urelated before you 
get to the main point - I was trying to follow the manual, step by step - 
but it sure doesn't seem to work quite that way. :((
I did vipw with the restored backed-up files and now I have passwd and will 
probably be ok.
So, as I understand it, I should just run make buildwold from /usr/src, 
then build the new kernel and then do make installworld, then update the 
files not updated by make world etc, etc. as in the handbook.
That, then, will upgrade my system to 4.7. Right?
As I need no changes to the programs I have installed (they're all 
up-to-date with portupgrade), I should just verify that the /etc/group, 
passwd and master.passwd files are conforming to the newer version. And 
this, as I understand, can be done by the mergemaster.

Thanks much.
PJ



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


Aureal audio driver bug?

2002-10-22 Thread Daniel A. Inzirillo
Hello,

I am unable to play audio cd's.
I am running FreeBSD 4.7.
My sound card is a Montego II (Aureal Vortex), using the aureal-kmode driver.
The sound system is working.
After trying a number of GUI players I resorted to using cdcontrol. As you
 can see from the following, the disc is recognized, and at least its TOC can
 be read, but it fails to play:

[prompt]# cdcontrol -v -f /dev/acd0c
Compact Disc Control utility, version 2.0
Type `?' for command list

cdcontrol info
Starting track = 1, ending track = 11, TOC size = 98 bytes
track start  duration   block  length   type
-
1   0:02.32   4:17.28  32   19153  audio
2   4:17.60   4:30.70   19185   20170  audio
3   8:46.55   4:58.52   39355   22252  audio
4  13:43.32   3:21.58   61607   14983  audio
5  17:03.15   3:52.45   76590   17295  audio
6  20:53.60   3:48.15   93885   16965  audio
7  24:40.00   4:08.70  110850   18520  audio
8  28:46.70   3:30.25  129370   15625  audio
9  32:15.20   3:42.00  144995   16500  audio
   10  35:55.20   4:11.52  161495   18727  audio
   11  40:04.72   4:08.43  180222   18493  audio
  170  44:11.40 -  198715   -  -
cdcontrol play
cdcontrol: Input/output error
cdcontrol debug on
cdcontrol: Inappropriate ioctl for device

I will appreciate any hints, reports of similar problems, and of course, a
solution.

Thank you!

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



Re[4]: ppp: Chat script failed

2002-10-22 Thread Anton
Hello David,

Tuesday, October 22, 2002, 10:17:29 AM, you wrote:


 GK Any relevant messages in the system logs?
 
 As far as I understand, system log is the messages which I see at the
 console while I logged as root.

DL What's in /var/log/ppp.log ?

I've cleared /var/log/ppp.log and have tried to dial:

Oct 22 14:37:30 lizard ppp[147]: Phase: Using interface: tun0
Oct 22 14:37:30 lizard ppp[147]: Phase: deflink: Created in closed state
Oct 22 14:37:30 lizard ppp[147]: Phase: PPP Started (interactive mode).
Oct 22 14:37:31 lizard ppp[147]: Phase: bundle: Establish
Oct 22 14:37:31 lizard ppp[147]: Phase: deflink: closed - opening
Oct 22 14:37:31 lizard ppp[147]: Phase: deflink: Connected!
Oct 22 14:37:31 lizard ppp[147]: Phase: deflink: opening - dial
Oct 22 14:38:00 lizard ppp[147]: Warning: Chat script failed
Oct 22 14:38:00 lizard ppp[147]: Phase: deflink: dial - hangup
Oct 22 14:38:00 lizard ppp[147]: Phase: deflink: Disconnected!
Oct 22 14:38:00 lizard ppp[147]: Phase: deflink: Connect time: 29 secs: 0 octets in, 0 
octets out
Oct 22 14:38:00 lizard ppp[147]: Phase: deflink: : 0 packets in, 0 packets out
Oct 22 14:38:00 lizard ppp[147]: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Tue 
Oct 22 14:38:00 2002
Oct 22 14:38:00 lizard ppp[147]: Phase: deflink: hangup - closed
Oct 22 14:38:00 lizard ppp[147]: Phase: bundle: Dead
Oct 22 14:38:03 lizard ppp[147]: Phase: PPP Terminated (normal).

After phrase Warning: Chat script failed I've typed 'quit'

Regards
Anton


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



/var filling up with X error logs

2002-10-22 Thread Mike Berning
I've been having a nasty problem with my xserver log file being filled up
with a strange message. Once /var gets to about 80% full the system really
starts slowint down and I can't hardly X. At 90% it is unusable, as far as
X is concnerned. Here is a sample of the output from xdm-errors log, which
has gotten up to about 85mb:

XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: FreeBSD 4.6.2-RELEASE i386 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Tue Oct 22 00:36:26 2002
(==) Using config file: /etc/X11/XF86Config
moutb(3CE, E)
moutb(3CF, 20)
moutl(40, 80)
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
removing from list!
minl(40)
moutl(4, 0)
moutl(C, 800)
moutl(18, 40D00D0)
minl(40)
moutl(8, 55D)

And this will continue on for 6.5 million lines. Any help would be greatly
appreciated. Thanks,

Mike

ps my xfree86.0 log is about 85 mb too, but it has a lot more unique
messages in it, if you need I can post it too.



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



Re: Mac can't connect to Internet

2002-10-22 Thread Kevin Stevens


On Tue, 22 Oct 2002, Walter wrote:

 Hi,

I was wondering what the resolution was to this, as
 I (a *nix newbie) am trying to accomplish a very
 similar thing: OS 10.1 via hub to a Pentium running
 FBSD 4.6.2 to a cable-modem internet connection.
 I can't get past the FBSD box from the Mac though
 the FBSD box can see the internet just fine. (The
 firewall is disabled. And I can ping, telnet,  FTP
 from the Mac to FBSD just fine.)

 Thanks.

 Walter

Two things:

- Is the FreeBSD box set to act as a router (packet forwarding on)?
  If another machine behind the BSD box can connect to the Internet
  it would answer that question.

- Is the FreeBSD box set as the default router in the OS X box' settings?

KeS


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



ISP DNS blocking?! (was Re: fetchmail protocol error caused by DNS timeout - solution?)

2002-10-22 Thread Doug Lee
Summary of problem:  Some emails that show up in my mailbox at my ISP
come from addresses for which I can't get DNS, and for which trying to
get DNS info causes a long delay and a timeout--but a long enough
delay to cause my fetchmail retrievals to die with a protocol error
and thus leave all later messages at my ISP, uncollected.  I've tried
several suggestions from this list but found nothing that works all
the time...

but just now, I figured out that at least some of my DNS timeouts
might be caused by my ISP, which is Verizon (DSL).  Example:

nslookup m13.shineandsparkle.com

causes a delay/timeout on my box but returns DNS data when issued from
the two other (non-Verizon-attached) boxes I tried.

So my at least temporary solution was to add the ip of an
apparently-nonblocked DNS server to the Forwarders list in
/etc/namedb/named.conf and restart my local named process.

Question:  Why/how would my ISP limit my DNS queries, or does this
signify either a broken ISP DNS server or some form of attempted spam
blocking?

Thanks much.

The rest of this message is a copy of the older messages in this
thread, which I summarized above.

On Mon, Oct 21, 2002 at 08:53:44AM -0400, Doug Lee wrote:
 I already have
 
 define(`confBIND_OPTS', `WorkAroundBroken')
 
 in my .mc file.  Not sure where this leaves me.
 
 Has anyone else here had this problem?
 
 On Mon, Oct 21, 2002 at 12:10:20PM +0100, Matthew Seaman wrote:
  On Sun, Oct 20, 2002 at 05:58:47PM -0400, Doug Lee wrote:
   CORRECTION:  It's not an rDNS lookup that's causing my problem; it's a
   straight DNS lookup of the From: address, I think.  Example:  I just
   spotted a message coming in from m7.shineandsparkle.com which plugged
   up my ``fetchmail'' download (I have to go to the source mailbox and
   hand-delete the thing to get the rest of them to come in by
   fetchmail).  Pinging m7.shineandsparkle.com causes a long pause
   followed by
   
   ping: cannot resolve m7.shineandsparkle.com.: Host name lookup failure
   
   It appears that the same DNS lookup, when initiated by ``fetchmail,''
   is taking so long that the remote mail server gives up waiting, so
   that when DNS finally quits trying, ``fetchmail'' issues a protocol
   error, only to try again later and go through the same sequence.
   
   Also, this problem is not fixed by using my ISP's DNS server instead
   of my own.
  
  I assume you're using fetchmail(1) to feed the mail into the
  sendmail(8) process on your own machine, which is likely the process
  initiating the DNS lookups that are stalling everything.  
  
  One thing that may be biting you is IPv6 support in sendmail.  As all
  good Unix programs should nowadays, it uses getaddrinfo(3) rather than
  gethostbyname(3) and it searches first for an  record in the DNS.
  Usually the DNS server will respond very quickly that such a record
  doesn't exist and the next lookup will be for the IPv4 A record, which
  should succeed.  Certain broken DNS servers however return the wrong
  code when queried for a resource record type they don't recognise,
  leading to delays similar to what you're seeing.
  
  Check your /etc/mail/`hostname`.mc file --- there's been a workaround
  for this problem in there since May this year, namely:
  
  define(`confBIND_OPTS', `WorkAroundBroken')
  
  You can tweak the resolver timeouts used by sendmail(8): grep for
  'confTO_RESOLVER' in /usr/share/sendmail/cf/README (DANGER Will
  Robinson! -- fiddling with resolver timeouts is not for the faint
  hearted).  Other things that may bite you are ident queries, but those
  are set to timeout after 5s by default, so they shouldn't have the
  effect you're seeing.
  
  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
 
 -- 
 Doug Lee   [EMAIL PROTECTED]http://www.visi.com/~dgl
 Bartimaeus Group   [EMAIL PROTECTED]   http://www.bartsite.com
 If you refuse to be made straight when you are green,
 you will not be made straight when you are dry. {African}

-- 
Doug Lee   [EMAIL PROTECTED]http://www.visi.com/~dgl
Bartimaeus Group   [EMAIL PROTECTED]   http://www.bartsite.com
Our chief want in life is somebody who will make us do what
we can. {Ralph Waldo Emerson}

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



Re: Number of Ports / Packages

2002-10-22 Thread Kris Kennaway
On Tue, Oct 22, 2002 at 08:58:42AM -0700, Matthew MacClary wrote:
 Can you tell me how many ports and how many packages are known to
 exist for FreeBSD?  Thanks -Matt

The ports collection contains 7707 applications, of which over 6800
are available as packages.  The remainder either may not be packaged
for license reasons, do not currently compile, or have a dependency
that fits one of the above conditions.

Kris



msg05926/pgp0.pgp
Description: PGP signature


Re[2]: FreeBSD Install question

2002-10-22 Thread Alex


Tuesday, October 22, 2002, 12:56:29 AM, you wrote:


 I haven't done FreeBSD installs on a laptop before, but you may be able to
 use kern.flp and mfsroot.flp to boot the installer and do a network
 install if you have a supported NIC card.

 Good luck,

  - Mike

 I have an older laptop that doesn't have a bootable CD-ROM. The bay
 either holds a CD Module or a Floppy module so I can't boot off the
 floppies and install from the CD-ROM.
 
 I have installed a small DOS partition and can access my FreeBSD CD-ROM,
 is there any way to invoke the install from within DOS. (RedHat has a
 batch file on the CD-ROM that allows the installer to launch, is there
 anything I can use to do this for FreeBSD?)
 
 Is it possible to boot off the floppies, switch out the Floppy module
 for the CD module and then use the CD?
 
 Any help or ideas would be appreciated.
 
 Thanks
 
 Rich B
 
 
 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

Dear Mike,

You can also use the CDrom as a source.

If you got the CDrom's

You can also do start from the two floppies and use the cdrom as a
source for the rest. You find the floppy images and a tool to make
them(under DOS/Win) on the CD it self.

-- 
Best regards,
Alex

The FreeBSD handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

How to get the best results from FreeBSD-Questions
http://www.lemis.com/questions.html


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



Re: IPFW/NATD

2002-10-22 Thread Ruben de Groot
On Tue, Oct 22, 2002 at 10:55:26AM -0500, Scott Pilz typed:
 
   The answer to this is more than likely 'no'.
 
   But I'll try anyways.
 
 Setup: NATD/IPFW
 
 Say you have an IPFW rule to allow 10.0.0.2 through NATD - thus into the
 internet - and everything else to be blocked.
 
 Your machine (10.0.0.2) that is being firewalled by NATD/IPFW works fine.
 Then someone else sets their machine up to 10.0.0.2, and now they can also
 get out into the network (there will of course be an ip conflict).

You can use arp(8) to make a permanent entry in the arp table on your 
NAT/Firewall box to prevent anyone else to use this IP address:

arp -S 10.0.0.2 Your_machines_MAC

 
 My question is, for security, is there any way to use this type of block
 based on MAC ID. Almost to bond the MAC ID to the IP Address so the only
 computer that can use the IP address 10.0.0.2 is with MAC ID whatever?
 
 
 Thanks,
 
 Scott
 
 
 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: mergemaster problem

2002-10-22 Thread Kent Stewart


[EMAIL PROTECTED] wrote:

At 10:01 AM 10/22/2002 -0700, you wrote:
I must say, as I often have remarked, that the handbook is rather foggy 
- you often have to read a whole slew of things that are urelated before 
you get to the main point - I was trying to follow the manual, step by 
step - but it sure doesn't seem to work quite that way. :((

Part of the problem with the Handbook is that it covers most of the 
versions.

I did vipw with the restored backed-up files and now I have passwd and 
will probably be ok.
So, as I understand it, I should just run make buildwold from /usr/src, 
then build the new kernel and then do make installworld, then update the 
files not updated by make world etc, etc. as in the handbook.
That, then, will upgrade my system to 4.7. Right?

After you have installed the kernel, installed the world, and run 
mergemaster, you have the current release. Many people don't reboot 
into single user mode. I always do that. I want to know the kernel 
works before I do the installworld. I could probably exit from single 
user mode after I ran mergemaster but I do a reboot at that point. If 
I have added some new devices, I want the kernel to see them.

As I need no changes to the programs I have installed (they're all 
up-to-date with portupgrade), I should just verify that the /etc/group, 
passwd and master.passwd files are conforming to the newer version. And 
this, as I understand, can be done by the mergemaster.

I don't use mergemaster to update master.passwd but I do copy the 
header info from the location in /usr/tmp and insert it into the files 
I modify by hand. Once you have rebooted and are running the new 
version, you can run mergemaster again and it will tell you what files 
it wants to update. Some of that is results from a comparison of the 
cvs header information. You can make mergemaster ignore that file by 
updating the header information. I use information from mergemaster to 
update them manually. It tells you where all of the files are located 
and that makes it really easy to upgrade a file manually.

If you have port programs that depend on system libraries, you need to 
rebuild the ports so they link to the new version. This is not always 
important. The port lsof is an exception that comes to mind. It knows 
when you have updated the system and not rebuilt lsof. It tells you 
about this everytime you run it.

If they fix a security related buffer overflow problem in one of the 
system libraries, you need to update all ports that use that library. 
I haven't seen announcents that cover this kind of problem. I don't 
know if this is a problem.

I know I have gone more than a release on some of my ports. Whether I 
should have rebuilt some of them was something I do not know. Some 
people do level upgrades by doing clean installs. They wipe the disks 
and reinstall everything. I use cvsup to follow RELENG_4 and know I 
have some old stuff still available.

Portupgrade makes some of this really simple. It is sort of the 
mergemaster of the port world. I do a portsdb -uU after every cvsup of 
ports-all. There are programs that tell you what is out of date on 
your system. I just finished checking 4 machines and making sure they 
were all running the latest versions of the ports. I didn't rebuild 
everything.

Keeping your ports current is important. The question is one of timing 
and I don't have an answer to that. I have started building packages 
as part of the make install. Checking the date in 
/usr/ports/packages/All will tell me which ports I haven't updated for 
a long time. The ones I use very often are also updated often.

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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


RE: mailing list software

2002-10-22 Thread Derrick Ryalls
comments below

 Subject: Re: mailing list software
 
 
 At 01:07 PM 10.22.2002 -0400, Anthony Abby wrote:
 But does a list subscriber need to find/remember and use his list 
 password
 to unsubscribe?
 
 That stupid requirement pretty much kills mailman for the non-geek,
 mass-market crowd.
 
 Len
 
 
 Yes they do, and not to mention that, but most people will
 subscribe/unsubscribe from the graphical interface anyway, 
 and I think most people who are familiar with mailing lists 
 will attest, it's HORROR trying to admin a list hosted by 
 Mailman.  Until the developers make the unsubscribe 
 feauture more pronounced in Mailman, you're always going to 
 have lord knows how many screaming people on your list who 
 don't know how to unsubscribe.  It's terrible check out 
 the Redhat mailing lists sometime!
 
 Anthony
 
 
 In fact, mailing lists are the best place to find out about 
 programs. Just watch and read for a few weeks and you'll have 
 a very good idea about what to expect. Also, look at their archives.
 
 I was considering mailman and tracked the mailing list, plus 
 have been subscribed to lists using MM and decided it was not 
 ready for prime time yet.
 
 I use majordomo which does the job well... (of course I will 
 tout what I
 use!) it's easy to operate and has a solid performance 
 record. Plus, it's free too if the is part of the criteria.
 
 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
 

I too use majordomo, originally I had it working with sendmail, then I
upgraded to qmail.  I maintain 2 lists with little effort.  Besides, if
it is good enough for the [EMAIL PROTECTED] list, it is good enough
for me.



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



Uh-oh... fsck can't repair my files-partition!

2002-10-22 Thread Pascal Giannakakis
Hello,

after a total systemfreeze - probably due to a new installed kernel - i had
to do a few resets. That bashed a few partiotions, among them the /files,
which is my largest and most valuable with around 30 GB.

All could be cleaned except of files, here is the output:

--
# fsck /files
** /dev/ad0s2e (NO WRITE)
** Last Mounted on /files
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no

SUMMARY INFORMATION BAD
SALVAGE? no

BLK(S) MISSING IN BIT MAPS
SALVAGE? no

5499 files, 23301161 used, 4289037 free (1517 frags, 535940 blocks, 0.0%
fragmentation)
--

What am i gonna do now? =(

BTW: i can mount and access the fs, but fear not everything survived. OS is
5.0-CURRENT.



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



Serial Data Acquisition Problem

2002-10-22 Thread Martin McCormick
I have written a program to receive serial data and store
it in a file.  There is nothing particularly esoteric going on
here, but I have done something wrong because my program almost
works, but not quite.

First, I tested the serial port and cable to rule out
hardware issues.  The port is /dev/ttyd0 and it works perfectly
as a serial login port when I turn that feature on in /etc/ttys.

When I test the program I wrote, I set that flag back to
off, of course.

The program runs as a daemon and opens the serial port
after it goes daemon, but I think the problem is more likely the
way I open the port.  I am calling it as /dev/ttyd0.  I have also
tried /dev/cuaa0 and even /dev/ttyp0.

No data are being received in the file and the serial
port strangely begins to echo all input data to the output line
as if it was a loopback connecter.

If I kill the process, the port is properly deaf again
since it isn't doing anything at all.

Here is the code snippet that opens the file handle for
reading.  I use an external file containing the name but I know
that works because I have used gdb to check that and also have
seen it in an error message when it couldn't open it once.

FILE *fp_inputstream;

/*lots of other variables and code*/

 if ((fp_inputstream = fopen(serialcomm,r)) == NULL) {
  perror(serialcomm);
  exit(1);
 }

while ((c = fgetc(fp_inputstream)) != EOF)
{ /*Read in another character.*/
/*This works with standard input and files.*/
}

When I run the program, the devices attached to the first
serial port show up as busy if you try to access them so that
further proves I am opening the device name I am calling, but am
I calling the right serial device for text data?

In this case, the data are human-readable text with
newlines and all.

I did get this same algorithm to work on a Linux system.
Thanks for any constructive ideas.

Martin McCormick 405 744-7572   Stillwater, OK
OSU Center for Computing and Information services Network Operations Group

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



Re: Uh-oh... fsck can't repair my files-partition!

2002-10-22 Thread chip . wiegand

[EMAIL PROTECTED] wrote on 10/22/2002 12:58:49 PM:

 Hello,

 after a total systemfreeze - probably due to a new installed kernel - i
had
 to do a few resets. That bashed a few partiotions, among them the /files,
 which is my largest and most valuable with around 30 GB.

 All could be cleaned except of files, here is the output:

 --
 # fsck /files
 ** /dev/ad0s2e (NO WRITE)
 ** Last Mounted on /files
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 FREE BLK COUNT(S) WRONG IN SUPERBLK
 SALVAGE? no

 SUMMARY INFORMATION BAD
 SALVAGE? no

 BLK(S) MISSING IN BIT MAPS
 SALVAGE? no

Howabout answering these questions with 'yes' instead of 'no'? That always
works for me. In fact, I have a hard drive on it's last legs, the other day
it apparently crashed, I hard-reset the computer, ran fsck -y on that disk
and finally after running this about 8 times it finally was marked clean.

--
Chip

 5499 files, 23301161 used, 4289037 free (1517 frags, 535940 blocks, 0.0%
 fragmentation)
 --

 What am i gonna do now? =(

 BTW: i can mount and access the fs, but fear not everything survived. OS
is
 5.0-CURRENT.


 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



installing python2 on linux_base-7.1

2002-10-22 Thread Fernan Aguero
--- I am sending this message to questions since I got no
--- reply from freebsd-emulation, which I supposed was the
--- correct mailing-list for this topic. I am also CCing
--- freebsd-ports which is the maintainer of the linux_base
--- port.


Hi!

I am trying to install python2 from rpm over a recently
updated linux_base-7.1 (linux_base-6 - lihux_base-7).

I am invoking rpm with the following command line options:
pi# rpm --allfiles --ignoreos --root /compat/linux --dbpath /var/lib/rpm --replacepkgs 
-i python2-2.2.1-2.i386.rh7.3.rpm

I get several failed dependencies, they are mostly shared
libraries. I search rpmfind.net with each one and downloaded
the rpm package corresponding to RedHat-7.3 i386, as I
guessed that this is the closer I can get. Is my reasoning
here correct?

Now after installing and cleaning most dependencies I still
have these ones to fulfill:
error: failed dependencies:
libdb-3.2.so   is needed by python2-2.2.1-2
libdb.so.3   is needed by python2-2.2.1-2
libreadline.so.4   is needed by python2-2.2.1-2
   
 
However, libreadline apparently is installed by linux_base
(distinfo lists it as readline-4.1-9.i386.rpm). My
rpmfind.net search says that libreadline.so.4 is installed
by readline-4.2a-4.i386.rpm.
Upon trying to install this one I get the following:
file /usr/lib/libhistory.so.4 from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9
file /usr/lib/libreadline.so.4 from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9
file /usr/share/info/history.info.gz from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9
file /usr/share/info/readline.info.gz from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9
file /usr/share/info/rluserman.info.gz from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9
file /usr/share/man/man3/readline.3.gz from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9

So why does python2 still complains about a failed
dependency?

Also with libdb, apparently it is already installed by
linux_base. However in this case, I get a failed dependency
on db3x-3.2.9-4.i386.rpm (from rpmfind.net):
error: failed dependencies:
libtcl.so.0   is needed by db3x-3.2.9-4

However I cannot seem to find any rpm providing this
library on rpmfind.net

Can I safely ignore these and force python2 to install?

Any tips or suggestions are welcome.

Fernan

--
F e r n a n   A g u e r o
http://genoma.unsam.edu.ar/~fernan

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



Re: phpMyAdmin directory (newbie question)

2002-10-22 Thread Andreas Ntaflos
On Tue, Oct 22, 2002 at 02:34:23PM -0400, Richard Biffl wrote:
 I'm setting up a FreeBSD server for the first time. When I installed Apache,
 it created a /usr/local/www/data-dist directory, with www/data as an alias
 (symlink?). I then installed PHP, then phpMyAdmin, and it installed in
 /usr/local/www/data.default/phpMyAdmin.
 
 I understand that the phpMyAdmin directory should be below www/data. Should
 I change www/data so it points to www/data.default instead of www/data-dist,
 or break the link from www/data to www/data-dist and/or copy
 www/data.default/phpMyAdmin into www/data?

What I did was just copy phpMyAdmin into /usr/local/www/data. I don't think
that breaks anything, and I don't see much benefit in messing with lots and
lots of symlinks just to keep data, data-dist, data-dist.default and
data.default...just my POV.

 I don't want to stray too far from the vanilla installation, but I must be
 missing a step here.

You could also unlink data from data-dist and make data its own directory,
keeping everything apache installed in data-dist. Thus you do not break any
scripts that rely on www/data and you can keep the installation as clear as
possible. Or you could change the DocumentRoot variable to something
completely different, I think it is just a matter of personal preference (and
lazyness :)).

HTH
regards
-- 
Andreas ant Ntaflos   
[EMAIL PROTECTED]
Vienna, AUSTRIA

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



Re: Uh-oh... fsck can't repair my files-partition!

2002-10-22 Thread Pascal Giannakakis
 Howabout answering these questions with 'yes' instead of 'no'? That always
 works for me. In fact, I have a hard drive on it's last legs, the other
day
 it apparently crashed, I hard-reset the computer, ran fsck -y on that disk
 and finally after running this about 8 times it finally was marked clean.

LOL

There is no prompt to type y or n, and it is the same with fsck -y. Sorry
for not mentioning this. Meanwhile i got the tip to try...

fsck -y /dev/ad0s2



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



Re: Uh-oh... fsck can't repair my files-partition!

2002-10-22 Thread Pascal Giannakakis
  LOL
  
  There is no prompt to type y or n, and it is the same with fsck -y.
  Sorry for not mentioning this. Meanwhile i got the tip to try...
 
 Dismount the volume before running fsck.  The (NO WRITE) message means
 that the filesystem was in use or otherwise read-only.

YES :D

Thank you guys, that's been the reason - needed to umount first.



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



Re: installing python2 on linux_base-7.1

2002-10-22 Thread paul
Fernan Aguero wrote:


Can I safely ignore these and force python2 to install?



any reason why you can't just use the ports version?




--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

The fact that boys are allowed to exist at all is evidence of a
remarkable Christian forbearance among men.
		-- Ambrose Bierce


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



Re: freebsd:tcp/ip implementation

2002-10-22 Thread Giorgos Keramidas
On 2002-10-22 21:47, aikala manoj pakkala [EMAIL PROTECTED] wrote:
 I would like to know if the tcp/ip implementation in freebsd is
 identical to the 4.4 bsd lite.  I would like to study tcp/ip w.r.t
 the book written by Stevens.  TCP/IP Illustrated, Vol 1,2,3 in which
 he provides the implementation as in 4.4bsd lite.

The TCP/IP implementation of 4.4BSD that is described in the books is
a bit different from the current state of the source in FreeBSD.  You
will certainly find places where things are done a bit differently.
What is marvellous though is that the full history of the FreeBSD
source tree is readily available to you, only a few browser's clicks
away.  Point your browser at http://cvsweb.freebsd.org/ and you will
be able to view both the original 4.4BSD source that FreeBSD is
derived from and all the changes that have been done since.

 If it is the same or fairly similar i would like you to recomend me
 a stable version of freebsd(cdrom bootable).

You should definitely try installing one of the FreeBSD -RELEASE
versions.  The latest release is now 4.7-RELEASE, and you can find
about ways to obtain it easily at the www.FreeBSD.org site.  Start
either at the front page of the site, or at the list of FreeBSD
mirrors:

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

Welcome to the FreeBSD side of the world :)

-- 
[EMAIL PROTECTED]   FreeBSD: The Power to Serve
FreeBSD 5.0-CURRENT #14: Mon Oct 21 06:51:14 EEST 2002

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



Re: mergemaster problem

2002-10-22 Thread pippo
I chanced it and it looks like it all worked.
mergemaster seems to have worked ok.
I was too lazy to do things manually.
V. 4.7 booted up ok. Now to see if there are any quirks I have to fix.
Thanks very much for your help.
PJ.



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



Re[2]: ppp: Chat script failed

2002-10-22 Thread Anton
Hello Giorgos,

Tuesday, October 22, 2002, 10:48:29 PM, you wrote:


GK set log Phase Chat LCP IPCP CCP tun command

GK Add this line, and try dialing again.  Then chat-related errors should
GK become visible in the /var/log/ppp.log file.

OK. I've done that.
Here it is my /var/log/ppp.log

Oct 22 21:32:46 lizard ppp[165]: Phase: Using interface: tun0
Oct 22 21:32:46 lizard ppp[165]: Phase: deflink: Created in closed state
Oct 22 21:32:46 lizard ppp[165]: tun0: Command: default: set speed 115200
Oct 22 21:32:46 lizard ppp[165]: tun0: Command: default: set dial ABORT BUSY ABORT 
NO\sCARRIER TIMEOUT 5 AT OK-AT-OK ATE1Q0 OK \dATDP\T TIMEOUT 40 CONNECT
Oct 22 21:32:46 lizard ppp[165]: tun0: Command: default: set timeout 180
Oct 22 21:32:46 lizard ppp[165]: tun0: Command: default: enable dns
Oct 22 21:32:46 lizard ppp[165]: tun0: Phase: PPP Started (interactive mode).
Oct 22 21:32:49 lizard ppp[165]: tun0: Command: /dev/tty: dial
Oct 22 21:32:49 lizard ppp[165]: tun0: Phase: bundle: Establish
Oct 22 21:32:49 lizard ppp[165]: tun0: Phase: deflink: closed - opening
Oct 22 21:32:49 lizard ppp[165]: tun0: Phase: deflink: Connected!
Oct 22 21:32:49 lizard ppp[165]: tun0: Phase: deflink: opening - dial
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: deflink: Dial attempt 1 of 1
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Send: AT^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Expect(5): OK
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Received: AT^M^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Received: OK^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Send: ATE1Q0^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Expect(5): OK
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Received: ATE1Q0^M^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Received: OK^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Send: ATDP^M
Oct 22 21:32:51 lizard ppp[165]: tun0: Chat: Expect(40): CONNECT
Oct 22 21:33:26 lizard ppp[165]: tun0: Chat: Received: ATDP^M^M
Oct 22 21:33:26 lizard ppp[165]: tun0: Chat: Received: BUSY^M
Oct 22 21:33:26 lizard ppp[165]: tun0: Warning: Chat script failed
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: deflink: dial - hangup
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: deflink: Disconnected!
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: deflink: Connect time: 37 secs: 0 octets 
in, 0 octets out
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: deflink: : 0 packets in, 0 packets out
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on 
Tue Oct 22 21:33:26 2002
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: deflink: hangup - closed
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: bundle: Dead


I see something like an echo:
When chat sends AT\n it reseives AT\n\n and expected OK\n

What could you advice?
Anton

PS I'm using ATDP instead of ATDT because my ATS doesn't support tone
dialing.


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



dump help

2002-10-22 Thread Chad Morland
Take a look at the estimated number of tapes needed below. Now, I'm not
sure why it would need almost 1500 DLT IV tapes to backup 65G of data.
Can someone possibly explain this to me? I am having a hell of a time
trying to backup this data. I have hardware compression turned on on the
drive as well.

backup# mt rewind
backup# dump 0bfun 126 /dev/nsa0 /dev/vinum/striped
  DUMP: Date of this level 0 dump: Tue Oct 22 17:11:19 2002
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/vinum/striped to /dev/nsa0
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 84906026 tape blocks on 1498.69 tape(s).
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: Closing /dev/nsa0
  DUMP: Change Volumes: Mount volume #2
backup# df -k
Filesystem 1K-blocks Used Avail Capacity  Mounted on
/dev/da0s1a   3023505086022730218%/
/dev/da0s1f  5426350   614662   437758012%/usr
/dev/da0s1e  2015918 2068   1852578 0%/var
procfs 44 0   100%/proc
/dev/vinum/striped 454465653 64241886 35386651515%/backup


-CM


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



Re: Low Balancing

2002-10-22 Thread DaleCo, S.P.---'the solutions people'
From: Nick Rogness [EMAIL PROTECTED]
To: Fernando Gleiser [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 22, 2002 12:33 PM
Subject: Re: Low Balancing


 On Tue, 22 Oct 2002, Fernando Gleiser wrote:

  On Tue, 22 Oct 2002, Oliveira Ramiro wrote:
 
   Tengo un Server BSD con 2 diferentes conexiones a internet,
mediante 2
   placas de red, con 2 proveedores diferentes. La pregunta es:
   Cual creen es la mejor solucion (o al menos la mas estable y
razonable) para
   que mi trafico quede balanceado?
 
  translation
 
  I have a BSD server with two NICs. Each NIC is connected to the
Internet
  via different ISPs. The question is: What's the best (or the most
stable)
  solution for traffic balancing between the two links?
 
  /translation

 The only proper way to do this is with a routing daemon like gated
 or zebra.  This requires peering arrangements with your
 upstream ISPs.

 There are other alternatives, all of which are rather difficult to
 implement.


 Nick Rogness [EMAIL PROTECTED]
 -
  Wouldn't it be great if we could answer people with a
   kick to the crotch?  [EMAIL PROTECTED]

Hope you didn't mean me ;-)  Normally I'd run a message
like this through babelfish, but didn't feel I had time.  I
obviously paid more attention to balancing traffic
than to the situation analysis that preceded it.

Thanks Nick for giving a great answer

KDK


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



lpt0: Device is busy

2002-10-22 Thread Anton
Hello everybody!

I've next problem:

When I try to 'cat  file  /dev/lpt0' I see answer:
Device is busy.

What it this?


Anton

ps

Also I tried to install my printer from KDE but I have any drivers for
my HP 4P.


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



Re: Reconfigured named, but now getting errors

2002-10-22 Thread Nick Jennings
On Thu, Oct 17, 2002 at 08:34:37PM +0100, Stacey Roberts wrote:
 Upon my return from work (feeling rather pleased with myself too) I
 thought I'd like to see this again, but that's when I saw that I was now
 unable to resolve www.vickiandstacey.com (other Internet hosts were fine
 btw).
 
 With respect to you suggestion though, presuming that I am supposed to
 add the external IP address for Demon in the zone file, what then
 becomes of Demon's *internal* address?
 
 That is to say, running nslookup from another lan box I would like
 Demon's 192.168. address returned, but running nslookup on
 www.vickiandstacey.com should return the *external address (which is
 what I saw earlier this morning).

 From what I gather about the situation, (please correct me if I'm 
 completely off base), you'd like external queries to only be able
 to lookup *.vickiandstacey.com (and get the public IP), and internal
 queries to get the internal IP of our server. Correct?

 I believe you will need to setup two nameservers, one bound to each
 physical interface on your box (external and internal). 
 

 From your e-mail advice last evening, I thought that the new set up I
 would attempting to implement would have then involved enabling my local
 boxes to use Demon to resolve local machine names, but for external
 addresses, my nameserver set-up would be such that these queries would
 then be passed to my ISP's NS's.

 Ok, now I'm confused.
 
 So you mean, you want external requests to go to your ISP's nameserver?
 and your internal requests to go to your local LAN nameserver?  Set your 
 workstations to use your internal nameserver as primary DNS.


 Maybe one of these two scenarios is what you want to be doing?

- Nick Jennings
- [EMAIL PROTECTED]


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



Problem with rxvt and termName

2002-10-22 Thread Scott Robbins
I'm not sure how much information to give here.  Two machines, one 
installed from a 4.6-rc2 CD the other from a 4.7 release CD. Both
updated in the last day, so uname -a gives the same output.  Different
hardware. The problem one is a Dell Dimension.

I use Japanese and have always been able to make it work by simply
calling a script that I call langx--so if I go langx rxvt an rxvt
terminal opens and I can input Japanese.  The script goes simply

XMODIFIERS='im=kinput2 LANG=ja_JP.EUC ${1+$} 

This enables me to, for example, open an rxvt terminal and then input
Japanese.  

On the problem machine, it doesn't work. On that one, I have to specify
XMODIFIERS in my .Xdefaults.  I mention that in case it's a symptom.

The bigger problem is that if I have an entry in .Xdefaults
Xterm*termName: rxvt
then if I call mutt from a terminal it doesn't work--it opens mutt but
keystrokes don't do anything--that is, I can't switch mailboxes, I can't
even do m for mail.  

The Japanese mentioned above doesn't seem to be a factor, since, when I
removed all mention of it, I had the same problem. I've tried in both my
usual Window Manager, Fluxbox and a vanilla twm. I've done various other
tests, commenting out each line in .Xdefaults.  If I try 

XTerm*termName: xterm

then mutt works without problem, but no colors. If I try :

XTerm*termName: xterm-color

Again, I have the same problem.  I've tried comparing the /etc/termcap
entries for the two boxes but don't see anything different, though I did
it by eye, just looking at rxvt entries, so I may have missed something. 

If I don't specify a termName then echo $TERM gives me kterm another
terminal that can input Japanese, (but isn't on either box).

I've been googling and reading various man pages (term, rxvt, etc) and I
can't figure out what I'm missing here.  Sorry for the length of this,
but trying to indicate what I've tested.

The problem is only on the Dell Machine. I've used this setup on a
variety of machines in the last year or so and never had this problem.

It's a nuisance rather than a major thing--it just means that I can't
have colors in mutt while running X (I get my colors in console)

TIA

-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6


 Cordelia: What's going on? Oh god, is the world ending? I have to
research a paper on Bosnia for tomorrow, but if the world's ending,
I'm not gonna bother.



msg05947/pgp0.pgp
Description: PGP signature


Re: ppp: Chat script failed

2002-10-22 Thread Giorgos Keramidas
On 2002-10-22 00:24, Anton [EMAIL PROTECTED] wrote:
 default:
  set device /dev/cuaa1
  set speed 115200
  set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\\ AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 40 CONNECT
  set timeout 180
  enable dns

 interactive:
  set phone 501057
  set authname name
  set authkey password
  set openmode active
  accept chap

On 2002-10-23 00:41, Anton [EMAIL PROTECTED] wrote:
 Tuesday, October 22, 2002, 10:48:29 PM, you wrote:
 GK set log Phase Chat LCP IPCP CCP tun command
 GK Add this line, and try dialing again.  Then chat-related errors should
 GK become visible in the /var/log/ppp.log file.

 OK. I've done that.
 Here it is my /var/log/ppp.log

 Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Send: ATDP^M
 Oct 22 21:32:51 lizard ppp[165]: tun0: Chat: Expect(40): CONNECT
 Oct 22 21:33:26 lizard ppp[165]: tun0: Chat: Received: ATDP^M^M
 Oct 22 21:33:26 lizard ppp[165]: tun0: Chat: Received: BUSY^M

Hmmm.  I see no phone after ATDP!  This means that \\T in the chat
script doesn't expand to a phone number.  Funny.  It should, if you
use interactive.

On 2002-10-22 00:24, Anton [EMAIL PROTECTED] wrote:
 When I type 'dial' in the ppp I see warning message:
 Chat script failed

You are using just dial and not dial interactive right? :-)

root@hades[01:22]/root# ppp
Working in interactive mode
Using interface: tun1
ppp ON hades help dial
dial|call [system ...] (o)

You have to enter dial interactive instead of just dial to let
ppp(8) know that you want to use ``interactive'' as your current
dialing profile from ppp.conf.

Giorgos.

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



Re: lpt0: Device is busy

2002-10-22 Thread Warren Block
On Wed, 23 Oct 2002, Anton wrote:

 When I try to 'cat  file  /dev/lpt0' I see answer:
 Device is busy.

Often this is because you're running the default kernel with the plip
device configured.  This is a parallel-port device, so it ties up the
port.  There may be another parallel device also, I forget.

-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: dump help

2002-10-22 Thread Jerry McAllister
 
 Take a look at the estimated number of tapes needed below. Now, I'm not
 sure why it would need almost 1500 DLT IV tapes to backup 65G of data.
 Can someone possibly explain this to me? I am having a hell of a time
 trying to backup this data. I have hardware compression turned on on the
 drive as well.

Try:dump 0afun /dev/nsa0 /FS-mountpoint

i don't think the 'b 126' is doing what you hoped.

jerry

 
 backup# mt rewind
 backup# dump 0bfun 126 /dev/nsa0 /dev/vinum/striped
   DUMP: Date of this level 0 dump: Tue Oct 22 17:11:19 2002
   DUMP: Date of last level 0 dump: the epoch
   DUMP: Dumping /dev/vinum/striped to /dev/nsa0
   DUMP: mapping (Pass I) [regular files]
   DUMP: mapping (Pass II) [directories]
   DUMP: estimated 84906026 tape blocks on 1498.69 tape(s).
   DUMP: dumping (Pass III) [directories]
   DUMP: dumping (Pass IV) [regular files]
   DUMP: Closing /dev/nsa0
   DUMP: Change Volumes: Mount volume #2
 backup# df -k
 Filesystem 1K-blocks Used Avail Capacity  Mounted on
 /dev/da0s1a   3023505086022730218%/
 /dev/da0s1f  5426350   614662   437758012%/usr
 /dev/da0s1e  2015918 2068   1852578 0%/var
 procfs 44 0   100%/proc
 /dev/vinum/striped 454465653 64241886 35386651515%/backup
 
 
 -CM
 
 
 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



ipsec, ESP IKE, freebsd as vpn `client' - openbsd, how?

2002-10-22 Thread Palle Girgensohn
Hi!

We just moved our company to a new `office hotel', and they have an openbsd 
firewall with an VPN setup that I should be able to use from home. A 
consultant set the openbsd machine up, and the guys in the new office knows 
absolutely nothing about unix whatsoever. When asking how to use the VPN, I 
got instructions for setting up the windows utility `PGP Desktop Security'.

Fine, I thought, I have the info I need:

- a shared secret
- IKE is used
- ESP is used
- no AH
- the preferred order for ciphers and hashes

Here's what I want to do:

Home, 1.2.3.4 (dhcp address)
|
| ipsec tunnel
|
OpenBSD, 5.6.7.8
w/ NAT 192.168.1.1
|
- ...
| |   | |
192.168.1.2  192.168.1.3   192.168.1.4192.168.1.5


I want to access the machines behind the FW. Pretty straight forward, huh? 
;-)

Anyway, I know the OpenBSD machine uses isakmpd, so I started looking at 
that port, but the docs are very confusing. Also checked racoon, and I 
guess both should work, but all examples are for setting up both ends at 
once - in this case the `server' peer is already setup, and I don't exactly 
how, just roughly.

Problem is, I just don't have time to learn everything about ipsec at this 
time, I need the connection working yesterday... :-(

Is there a crash course / FAQ that will actually help me? Or can someone 
just give some hints on how to set things up on the FreeBSD end, from 
scratch?

Thanks in advance
Palle




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


quick help-new install complains about the hard drive geometry

2002-10-22 Thread Chip Wiegand
I am setting up a brand new system, has a 40gig hard drive. FBSD4.7 
complains about the geometry being incorrect, to use the G command
to change it. I did that, set it to exactly what the BIOS shows for
the drive, and it still claims the numbers are incorrect. What do I 
do now?

--
Chip

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



Dell server with 6 GB RAM

2002-10-22 Thread Kevin A. Pieckiel
I'm looking at buying a Dell PowerEdge 2650.  These servers can come with
up to 6 GB RAM according to Dell's web site.  Now, correct me if I'm wrong,
but what good does that much RAM do when I only have a 32-bit address space?
What am I missing here?  How can the hardware or the OS support more than
4 GB RAM?

Kevin

Well, you know, Hubbard had a bunch of people sworn to commit suicide
when he died.  So of course he never officially died...
-- Larry Wall

---
This message was signed by GnuPG.  E-Mail [EMAIL PROTECTED]
to receive my public key.  You may also get my key from wwwkeys.us.pgp.net;
my ID is 0xF1604E92 and will expire on 01 January 2003.



msg05953/pgp0.pgp
Description: PGP signature


Re: Dell server with 6 GB RAM

2002-10-22 Thread Erik Trulsson
On Tue, Oct 22, 2002 at 07:39:51PM -0400, Kevin A. Pieckiel wrote:
 I'm looking at buying a Dell PowerEdge 2650.  These servers can come with
 up to 6 GB RAM according to Dell's web site.  Now, correct me if I'm wrong,
 but what good does that much RAM do when I only have a 32-bit address space?
 What am I missing here?  How can the hardware or the OS support more than
 4 GB RAM?

The latest x86 CPUs (from the Pentium-II onwards) has the capability to
physically address a 36-bit address space.  This is done by using some
extensions to the MMU to map virtual memory to physical in a special way
and requires OS support to work.
A single process still cannot address more than 4GB at once, but you
could have one process using 3GB and another process the other 3GB.

Now, the natural question is of course: Does FreeBSD support more than
4GB RAM?  The answer is no, it does not and there are currently no
plans that I know of to add such support in the near future either.



-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]

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



Re: quick help-new install complains about the hard drive geometry

2002-10-22 Thread Jack L. Stone
At 04:34 PM 10.22.2002 -0700, Chip Wiegand wrote:
I am setting up a brand new system, has a 40gig hard drive. FBSD4.7 
complains about the geometry being incorrect, to use the G command
to change it. I did that, set it to exactly what the BIOS shows for
the drive, and it still claims the numbers are incorrect. What do I 
do now?

--
Chip


Have you tried ignoring the complaint and finishing the FDISKing and
Labeling? That will probably work okay.

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: What do you do about your FFS fragmention?

2002-10-22 Thread Lowell Gilbert
Matthew Seaman [EMAIL PROTECTED] writes:

 On Tue, Oct 22, 2002 at 12:06:33PM +0300, BigBrother wrote:
  
  
  I know how the FFS (filesystem) works, and that it really does an excelent
  job in allocating clusters as local as possible. But it is also true that after
  some period of extensive use of it, the filesystem get fragmented, and
  results in severe degration of speed.
  
  One way is to dump/restore everything which is very painfull thing.
  
  ---
  So, what do you do [except dump/restore] to defrag the FFS after some time
  of extensive use? Or you dont care for the degration in speed?
 
 Nope.  You're thinking of Windows filesystems.  So long as you don't
 fill a filesystem to 100% or more, it will have sufficient space
 reserved to be able to automatically defragment itself.  No user
 intervention required.

The key point is to realize that fragmentation on a FFS filesystem
is unrelated to the phenomenon called fragmentation on a MS
filesystem.  

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



SCB timeout on SCSI DDS tape drive

2002-10-22 Thread Mark dR
Good morning,

I am having a problem with a DDS tape drive in a 4.4 RELEASE machine. It has
been operating without a problem for  12 months but suddenly last week the
following error started to appear (see below).

Is it a media error? Or do I suspect hardware failure? I have tried two new
media cartridges and various reboots. Perhaps the machine needs to be
physically powered off to reset the bus? The various commands (i.e. mt
status) hang for a few minutes and then return device not configured
errors.

I would be grateful for any assistance that could be provided.

Thank you,

Mark

Attached messages/logs:

/kernel: (sa0:ahc1:0:4:0): SCB 0xe - timed out
/kernel: ahc1: Dumping Card State while idle, at SEQADDR 0x8
/kernel: ACCUM = 0x4, SINDEX = 0x47, DINDEX = 0x25, ARG_2 = 0x3
/kernel: HCNT = 0x0
/kernel: SCSISEQ = 0x12, SBLKCTL = 0x6
/kernel: DFCNTRL = 0x0, DFSTATUS = 0x89
/kernel: LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x80
/kernel: SSTAT0 = 0x0, SSTAT1 = 0x8
/kernel: SCSIPHASE = 0x0
/kernel: STACK == 0x3, 0x175, 0x160, 0x0
/kernel: SCB count = 20
/kernel: Kernel NEXTQSCB = 5
/kernel: Card NEXTQSCB = 5
/kernel: QINFIFO entries:
/kernel: Waiting Queue entries:
/kernel: Disconnected Queue entries: 0:14
/kernel: QOUTFIFO entries:
/kernel: Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25 26 27 28 29 30 31
/kernel: Pending list: 14
/kernel: Kernel Free SCB list: 15 16 17 18 19 0 1 2 3 4 6 7 8 9 13 12 11 10
/kernel: Untagged Q(4): 14
/kernel: sg[0] - Addr 0x8a62000 : Length 4096
/kernel: sg[1] - Addr 0x8dc3000 : Length 4096
/kernel: (sa0:ahc1:0:4:0): Queuing a BDR SCB
/kernel: (sa0:ahc1:0:4:0): Bus Device Reset Message Sent
/kernel: (sa0:ahc1:0:4:0): no longer in timeout, status = 34b
/kernel: ahc1: Bus Device Reset on A:4. 1 SCBs aborted

/kernel: (sa0:ahc1:0:4:0): unable to rewind after test read

Here are the relevant lines from the boot message:

/kernel: ahc0: Adaptec aic7899 Ultra160 SCSI adapter port 0x5800-0x58ff
mem 0xfc00-0xfc000fff irq 9 at device 4.0 on pci2
/kernel: aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
/kernel: ahc1: Adaptec aic7899 Ultra160 SCSI adapter port 0x6000-0x60ff
mem 0xfc001000-0xfc001fff irq 9 at device 4.1 on pci2
/kernel: aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs
/kernel: Waiting 15 seconds for SCSI devices to settle
/kernel: sa0 at ahc1 bus 0 target 4 lun 0
/kernel: sa0: SONY SDT-9000 0600 Removable Sequential Access SCSI-2 device
/kernel: sa0: 10.000MB/s transfers (10.000MHz, offset 15)
---
Mark dR
Systems Administrator
I-Nex Corporation Pty Ltd
Australia



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



Re: Mac can't connect to Internet

2002-10-22 Thread David Kelly
On Tuesday 22 October 2002 01:24 pm, Kevin Stevens wrote:

 Two things:

 - Is the FreeBSD box set to act as a router (packet forwarding on)?
   If another machine behind the BSD box can connect to the Internet
   it would answer that question.

 - Is the FreeBSD box set as the default router in the OS X box'
 settings?

To which I'll add that it was not obvious in the original posting 
whether or not the FreeBSD system had two NICs or whether everything 
was connected to the hub/switch including cable modem.

Walter said the firewall was disabled. So I'm guessing he is a long way 
from getting the Mac connected. Would be surprised if he has more than 
one IP address from his ISP (earthlink?), which would be required 
without NAT. And the firewall is needed to apply the divert rule to get 
NAT.

In setting up my firewall I found this URL very handy: 
http://www.mostgraveconcern.com/freebsd/

Specifically is this one which I believe was the most help:
http://www.mostgraveconcern.com/freebsd/ipfw.html

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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



Super-Server?

2002-10-22 Thread Tony M.
Running verion 4.6-release.
I have installed Pure-FTP, but on boot-up it returns the following:

Tony pure-ftpd: (?@?) (ERROR) Please run pure-ftpd within a super-server (like
tcpserver)

I thought tcpserver was part of the inetd???

Thanks - 

Tony

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



Re: Mac can't connect to Internet

2002-10-22 Thread Walter
I had actually tried it with the firewall enabled previously,
but because that had not worked either, had disabled
hoping it would work after (mis-?)reading a post here.
But it seems now that I failed to recompile the kernel
with IPFIREWALL and IPDIVERT, so I'll check back
once that's done and tested.
(Fwiw, the configuration I'm trying to implement is:
 Cable-Modem = FBSD = hub = Mac, PC, etc.)

Walter

David Kelly wrote:

 On Tuesday 22 October 2002 01:24 pm, Kevin Stevens wrote:
 
  Two things:
 
  - Is the FreeBSD box set to act as a router (packet forwarding on)?
If another machine behind the BSD box can connect to the Internet
it would answer that question.
 
  - Is the FreeBSD box set as the default router in the OS X box'
  settings?

 To which I'll add that it was not obvious in the original posting
 whether or not the FreeBSD system had two NICs or whether everything
 was connected to the hub/switch including cable modem.

 Walter said the firewall was disabled. So I'm guessing he is a long way
 from getting the Mac connected. Would be surprised if he has more than
 one IP address from his ISP (earthlink?), which would be required
 without NAT. And the firewall is needed to apply the divert rule to get
 NAT.

 In setting up my firewall I found this URL very handy:
 http://www.mostgraveconcern.com/freebsd/

 Specifically is this one which I believe was the most help:
 http://www.mostgraveconcern.com/freebsd/ipfw.html



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



Shlight help plz

2002-10-22 Thread RD
Hi guys,

   I'm having some trouble here.  I'm sorda a noob to unix, so plz bare
with me J

 

I've searched all the shlight list archives

I found the startup shel script 

#!/bin/sh

 

case $1 in

'start')

/usr/local/sbin/shlight //papabear/myftp /usr/FTP -w -P
ou812ou812

;;

 

'stop')

# Trivial (you may be able to produce something less

# hamfisted than this) stop script:

/usr/bin/killall shlight

;;

 

*)

echo Usage: $0 { start | stop }

exit 1

;;

esac

exit 0

I'm getting an error ( local package initialization : Samba/etc/rc:
/usr/local/etc/rc.d/shlight.sh: not found   ?

 

Is this because samba needs 30 seconds or so to settle maybe?

I can't access my smb shares from w32 for a few seconds after login
prompt.

I can login and run the shlight command and it mounts ok without error,
so  I'm wondering if 

I need to make the shlight startup sleep or something for a certain
amount of time maybe ?

 

Tx in advance

RD


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



Re: Super-Server?

2002-10-22 Thread Greg 'groggy' Lehey
On Tuesday, 22 October 2002 at 17:42:21 -0700, Tony M. wrote:
 Running verion 4.6-release.
 I have installed Pure-FTP, but on boot-up it returns the following:

 Tony pure-ftpd: (?@?) (ERROR) Please run pure-ftpd within a super-server (like
 tcpserver)

 I thought tcpserver was part of the inetd???

I don't know Pure-FTP, but if it wants to be started from a
super-server, try inetd.  /etc/inetd.conf includes an example of how
to start a normal ftpd.  If Pure-FTP requires something different, it
should be in the documentation somewhere.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

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



X will not start as root - need help

2002-10-22 Thread leegold
I tried to start X as root and got the output below.
I used xf86config script durrung Fbsd 4.7 to create my XF86Config file.
Can anyone help me wuth the fix?
Thanks

Output to screen when # startx:

(==) Log file: /var/log/XFree86.0.log, Time: Tue Oct 22 20:18:58 2002
(==) Using config file: /etc/X11/XF86Config
Symbol drmFreeBufs from module /usr/X11R6/lib/modules/drivers/r128_drv.o
is unre
solved!
Symbol drmR128TextureBlit from module
/usr/X11R6/lib/modules/drivers/r128_drv.o
is unresolved!
Symbol drmFreeBufs from module /usr/X11R6/lib/modules/drivers/r128_drv.o
is unre
solved!
(EE) Mouse1: cannot open input device
(EE) PreInit failed for input device Mouse1
No core pointer
Fatal server error:
failed to initialize core devices
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file /var/log/XFree86.0.log.
Please report problems to [EMAIL PROTECTED]
X connection to :0.0 broken (explicit kill or server shutdown).
xauth:  creating new authority file /root/.Xauthority
xauth: (argv):1:  bad display name :0 in remove command
xauth: (argv):1:  bad display name :0 in remove command


-- 
http://fastmail.fm - Email service worth paying for. Try it for free

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



Re: Mac can't connect to Internet

2002-10-22 Thread David Kelly
On Tuesday 22 October 2002 07:55 pm, Walter wrote:
 I had actually tried it with the firewall enabled previously,
 but because that had not worked either, had disabled
 hoping it would work after (mis-?)reading a post here.
 But it seems now that I failed to recompile the kernel
 with IPFIREWALL and IPDIVERT, so I'll check back
 once that's done and tested.
 (Fwiw, the configuration I'm trying to implement is:
  Cable-Modem = FBSD = hub = Mac, PC, etc.)

Is probably best to compile those into the kernel but IPFW will be 
kldload(1)'ed by the /etc/rc.* scripts if enabled. As for divert, I 
don't remember. Custom kernel is a sure thing.

On reboot, start by proving the connection between Mac and FreeBSD 
works. Then FreeBSD to ISP. Then work on Mac thru FreeBSD to ISP.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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



Re: X will not start as root - need help

2002-10-22 Thread Bryan Cassidy
On Wed, 23 Oct 2002 01:34:44 UT
leegold [EMAIL PROTECTED] wrote:

 I tried to start X as root and got the output below.
 I used xf86config script durrung Fbsd 4.7 to create my XF86Config file.
 Can anyone help me wuth the fix?
 Thanks

why are you trying to startx as root? im a newbie and know thats not good

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



Re: X will not start as root - need help

2002-10-22 Thread leegold
On Tue, 22 Oct 2002 08:53:25 -0500, Bryan Cassidy
[EMAIL PROTECTED] said:
 On Wed, 23 Oct 2002 01:34:44 UT
 leegold [EMAIL PROTECTED] wrote:
 
  I tried to start X as root and got the output below.
  I used xf86config script durrung Fbsd 4.7 to create my XF86Config file.
  Can anyone help me wuth the fix?
  Thanks
 
 why are you trying to startx as root? im a newbie and know thats not good

So people will know that this is not an X-wrapper problem.

--
http://fastmail.fm - I mean, what is it about a decent email service?

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



Re: Shlight help plz

2002-10-22 Thread Help Desk
From: RD [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 22, 2002 7:57 PM
Subject: Shlight help plz


 Hi guys,

I'm having some trouble here.  I'm sorda a noob to unix, so plz
bare
 with me J

 I've searched all the shlight list archives

 I found the startup shel script

 #!/bin/sh

 case $1 in

 'start')

 /usr/local/sbin/shlight //papabear/myftp /usr/FTP -w -P
 ou812ou812

 ;;


 'stop')

 # Trivial (you may be able to produce something less

 # hamfisted than this) stop script:

 /usr/bin/killall shlight

 ;;



 *)

 echo Usage: $0 { start | stop }

 exit 1

 ;;

 esac

 exit 0

Which I assume is located as follows:   /usr/local/sbin/slight??


 I'm getting an error ( local package initialization : Samba/etc/rc:
 /usr/local/etc/rc.d/shlight.sh: not found   ?


So, the Samba startup script can't find the shlight startup
script because it's looking for /usr/local/etc/rc.d/shlight.sh


 Is this because samba needs 30 seconds or so to settle maybe?

 I can't access my smb shares from w32 for a few seconds after login
 prompt.

 I can login and run the shlight command and it mounts ok without
error,
 so  I'm wondering if

 I need to make the shlight startup sleep or something for a certain
 amount of time maybe ?



Methinks in light of the notes above, you have 3-4 options:

1.  Reinstall shlight with a different installdir.  (Ouch!)

2.  cp /usr/local/bin/shlight to /usr/local/etc/rc.d/
   (or whatever that said up there...)

3.  #cd /usr/local/etc/rc.d/
# ln -s /usr/bin/slight ./slight

4.  Change the Samba rc script to use the
  correct path.

Your guess is good as mine as to which is better.
What you've found, I guess, is that some folks
run more like to Linux/GNU than BSD/tradish
when writing makefiles.  It's something that keeps
life interesting :-)

 Tx in advance

 RD

HTH,
Kevin Kinsey


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



Where are the 4.7 release sources?

2002-10-22 Thread Wayne Lubin
Hi,

I am at 
ftp://ftp.freebsd.org/pub/FreeBSD/

and I see where the current and stable sources are,
but where are the 4.7 release sources? Thanks.

Wayne

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

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



Re: X will not start as root - need help

2002-10-22 Thread Bryan Cassidy
On Wed, 23 Oct 2002 02:03:23 UT
leegold [EMAIL PROTECTED] wrote:

 So people will know that this is not an X-wrapper problem.

Second Question: Why would you NEED to startx as root? I must be
very new or something cause I dont understand the point in starting X
as root.

-
E-Mail: Bryan Cassidy [EMAIL PROTECTED]
Gaim: bsdsys
Yahoo Messenger: bsdsys

 Screenshot ~~~

http://deskmod.org/?state=viewskin_id=18160


I have put alot of time in setting up my mail filters. Please do not simply Reply-To: 
Bryan Cassidy [EMAIL PROTECTED] unless stated to do so. Please reply to my 
e-mails using the appropriate mailing lists.

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



du, find/xargs/sort, and MP3.tar

2002-10-22 Thread Peter Leftwich
Here's a doozy for you.  I'm trying to compare a directory called MP3/ with
a huge file called MP3.DONE0415021909MPT.tar -- the idea being to make sure
the contents are similar (I've touched new files in the MP3/ directory
since untarring, so they won't be exactly the same...)

I tried some commands along the lines of these:

# du -hs MP3/
1.6GMP3/

# du -hs MP3.DONE0415021909MPT.tar
1.2GMP3.DONE0415021909MPT.tar

Erg, wait this proves nothing; I'd have to untar and THEN du -hs :(

Then I thought I'd get crafty and `tar tvf MP3.DONE0415021909MPT.tar 
the-tarfile.out` thinking I could later run things through `sort` but I am
hung up on how to get similar output that shows the contents of MP3/.

# find MP3/ -type f | wc -l
OR?
# find MP3/ -type f -exec ls -al {}\; | more
OR?
# find MP3/ -type f -print | xargs or something like that | sort...

Could one of you /\/\aster$ work some unixiacal magic on my task?  =^)

It soothes my soul to know you care.

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



Re: perl crashing - how to debug??

2002-10-22 Thread parv
in message [EMAIL PROTECTED],
wrote Fernando Gleiser thusly...

 On Mon, 21 Oct 2002, parv wrote:
 
  in message [EMAIL PROTECTED],
 
  mind you that perl5.6 port w/ -DDEBUGGING option alone didn't
  build w/ the debugging support the last time i tried.  -g option
  was necessary in addition.
 
 That's because -DDEBUGGING is for enabling the -D command line switch
 (see perlrun(1) for details). If you want to attach a debugger to perl(1),
 you need -g.

i take it you mean that perl -Dr (regex debugging) would/should
work w/ -DDEBUGGING option alone, w/o the need of -g to the
compiler.  if that's the case, i did not find it to be.

first i did try (perl 5.6 port) w/ -DDEBUGGING option alone; tried
perl -Dr -e 'm/moo/' which produced an error message on the lines
that -D is not supported/complied.  after compiling w/ -g
option, things worked as expected.

from what you say  from perlrun(1), it does seem that if perl is
configured w/ -DDEBUGGING alone, it should Just Work, but
doesn't...  possibly a bug(?).


  - parv

-- 


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



Bypassing umass1

2002-10-22 Thread Pookie
I have the devices on umass
Umass0: a floppy drive
Umass1: Sony Memory Stick
Umass2: USB keychain storage

On boot everything works fine but umass1, the memory stick generates CBI
errors. Is there any way I can get the kernel to forget about umass 1
and just do umass[0,2] I tried the BIOS to disable the memory stick but
no luck..



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



USB Keychain storage

2002-10-22 Thread Pookie
I have a USB keychain storage device(on umass2) I frequently use. I can
mount/use it within freebsd. But when im done I want to be able to just
unplug it and go, except the little green light on the device is still
on, how do I turn this off?



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



Re: X will not start as root - need help

2002-10-22 Thread joe
On October 22, 2002 08:28 am, Bryan Cassidy wrote:
 On Wed, 23 Oct 2002 02:03:23 UT

 Second Question: Why would you NEED to startx as root? I must be
 very new or something cause I dont understand the point in starting X
 as root.

To more easily take advantage of the gui destruction tools :}

been there, done  that.


Joe Sotham

Christianity got over the difficulty of furious opposites
by keeping them both and keeping them furious.
  - G.K. Chesterton





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



  1   2   >