PPP and NAT, this time.

2002-11-26 Thread John Jennings
To whom it may concern:

Thanks to all responses regarding my previous problem.  The issue was
resolved and our box is connected to our DSL line completely and correctly.

We completely remade our ppp.config, and it looks as follows:

default:
 ident user-ppp VERSION (built COMPILATIONDATE)
 set log Phase Chat IPCP CCP tun command

adsl:
 set authname our_username
 set authkey our_password
 add default HISADDR
 set device !"pppoa2 -vpi 8 -vci 35 -v 1"
 accept pap
 set speed sync
 set timeout 0
 enable lqr
 set lqrperiod 5
 set redial 15 1
 set dial ""
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 enable dns

This works beautifully.  Now, another problem we believed would be simple to
solve, but it isn't quite so.  We have a network card in the FreeBSD machine
with IP address 192.168.1.3.  It is connected to a Windows 98 machine with
IP address 192.168.1.1.The Windows 98 machine's TCP stack is completely
configured and operational (it can ping the FreeBSD machine and vice versa;
we are using a crossover cable to connect the two).   We want to enable NAT
on the FreeBSD machine to allow the Windows 98 machine access to the
Internet via the FreeBSD box.

We have done the following to accomplish this:

1)  Built a custom kernel with options IPDIVERT and IPFIREWALL

2)  Enabled the machine to act as a gateway in rc.conf
(gateway_enable="YES")

3)  Enabled natd in rc.conf (nat_enable="YES")

4)  Changed natd interface to "tun0" (our interface for ppp)
(natd_interface="tun0")

5)  Enabled named, so Win98 can resolve names using the FreeBSD box
(named_enable="YES")

6)  Created rc.firewall with the following lines:

/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via tun0
/sbin/ipfw add pass all from any to any

7)  Enabled the firewall in rc.conf (We compiled kernel with DEFAULT_ACCEPT
option)

8)  Created rc.local to initialise the USB Alcatel Hometouch on startup:

modem_run -f /usr/local/libdata/mgmt.o -m

9)  We manually connect doing the following:

ppp -ddial -nat adsl

It connects succesfully and the FreeBSD box is on the net.

10)  The Win98 machine can ping IP addresses outside the LAN and our ISP
(i.e. it can ping the IP of www.google.com), but it cannot resolve domain
names, nor access IP addresses of web sites (i.e. we used www.hawaii.edu 's
IP address, and the web server could not be found, yet it is accessible by
IP address from elsewhere)

11)  We attempt to manually start natd on the FreeBSD box:

natd -interface tun0

12)  Same problem as # 10, no change.

Going with info given in reply to my previous problem, does a default route
for the 192.168.1.0 network need to be configured?

Again, any help is greatly appreciated.

J


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



free-call

2002-11-26 Thread Aron
Çäðàâñòâóéòå

Ñêîëüêî âû ïëàòèòå çà ìîáèëüíûé òåëåôîí ??
Ìû ìîæåì ñäåëàòü âñå èñõîäÿùèå çâîíêè ñ âàøåãî òåëåôîíà ÁÅÑÏËÀÒÍÛÌÈ !!
Ïîäðîáíîñòè íà ñàéòå   http://gsmfreecall.port5.com









ÈÇÂÈÍÈÒÅ, ÅÑËÈ ÝÒÀ ÈÍÔÎÐÌÀÖÈß ÂÀÌ ÍÅ ÏÐÈÃÎÄÈËÀÑÜ.
Äàííîå ïèñüìî îòîñëàíî â ñîîòâåòñòâèè ñ ï. 4 ñò. 29 Êîíñòèòóöèè ÐÔ. 
Âàø ýëåêòðîííûé àäðåñ ïîëó÷åí èç îòêðûòûõ èñòî÷íèêîâ.
Ïîâòîðíî ýòî ïèñüìî ê âàì ãàðàíòèðîâàííî íå ïðèäåò

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



Problem pulling particular directory from CVS

2002-11-26 Thread Paul A. Scott
I've been trying to load the whole source tree from CVS, but 'cvs co' dies
on src/contrib/cvs directory.

cvs checkout: in directory src/contrib/cvs:
cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: cannot write : No such file or
directory

Up until this point, everything was working fine. All the proper directories
were created and sources downloaded to the working directory tree. But I
can't get anything beyond this point unless I manually ask for it.

Any ideas?

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



ÍÔÊÃзҧ¡ÒÃà§Ô¹¢Í§¤Ø³

2002-11-26 Thread getrich
Part-Time Job!! ÊÓËÃѺ¹Ñ¡àÃÕ¹ ¹Ñ¡ÈÖ¡ÉÒ áÅмÙé·Ó§Ò¹»ÃШÓ
¤Ø³µéͧ¡ÒçҹẺ¹ÕéºéÒ§äËÁ…??
-§Ò¹ parttime ·Ó§Ò¹·ÕèºéÒ¹ä´é ¶éҤسãªé Internet à»ç¹
-·Ó§Ò¹à¾Õ§ÇѹÅÐ 2-3 ªÁ.
-ÃÒÂä´é 5,000 – 15,000 ºÒ·
¶éҤسà»ç¹¤¹Ë¹Ö觷Õè·Ó§Ò¹»ÃШÓËÃ×ÍÂѧäÁèÁÕ§Ò¹·Ó ¹Ñ¡ÈÖ¡ÉÒ·Õè¡ÓÅѧÈÖ¡ÉÒÍÂÙè 
¼ÙéÇèÒ§§Ò¹ ËÃ×ͼÙé·ÕèÂѧ¾ÍÁÕàÇÅÒÇèÒ§¨Ò¡§Ò¹»ÃШÓ
ÁդسÊÁºÑµÔàº×éͧµé¹´Ñ§¹Õé
1. ÁÕ·Ñȹ¤µÔ·Õè´Õ
2. ¾ÃéÍÁ·Õè¨ÐàÃÕ¹ÃÙé 
à¹×èͧ¨Ò¡à»ç¹ÃкºãËÁè¨Ö§µéͧãËéÁÕ¡ÒÃͺÃÁãËéµÒÁ¤ÇÒÁàËÁÒÐÊÁ
3. µéͧ¡Ò÷Õè¨Ð·Ó§Ò¹ÍÂèÒ§¨ÃÔ§¨Ñ§ ÍÂÒ¡·Õè¨Ðà»ÅÕ蹰ҹзҧ¡ÒÃà§Ô¹¢Í§µ¹àͧ 
áÅÐÍÂÒ¡ÁÕÃÒÂä´é¨Ò¡¡Ò÷ӧҹµÃ§¹Õé¨ÃÔ§æ ·Ø¡ÍÂèÒ§à»ç¹ä»ä´é ã¹
ʹã¨ÃѺ¢éÍÁÙÅà¾ÔèÁàµÔÁ¿ÃÕ ä´é·Õè http://ejobthailand.net/getrich
ÍÂèÒ !….. à»ç¹á¤èà¾Õ§¤¹·Õè¹Ñè§ÃÍâÍ¡ÒÊ


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


Re: any advice before I buy a printer for FreeBSD?

2002-11-26 Thread Cliff Sarginson
On Tue, Nov 26, 2002 at 05:27:40PM +0930, Michael Ritchie wrote:
> I'll back up the case against Lexmark.  Many of their larger laser models 
> attempt to do both PCL and PS, as well as some other 
> languages.  Unfortunately, they don't seem to have licensed the full PCL or 
> PS code, and their emulation isn't the best.  Many pages (especially pages 
> with complex font varieties) will fail to render properly.
> 
> Just a heads-up, from my experience with Lexmark printers ... of course, 
> I'd never use much other than a HP if I could help it.  (Some of the larger 
> Canon models seem ok too)  Die, Xerox, Die.
> 
Panasonics are good if you like the smell of ozone in the morning.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



$BL$>5Bz9-9p"(EE;R%a!<%k9-9p(J

2002-11-26 Thread cmail9999
<‘—MŽÒ>
“dŽqƒ[ƒ‹LŽÐ

¡ŒãAL‚ð‚²Šó–]‚µ‚È‚¢•û‚Í‚±‚±‚Ö
(•K‚¸–{•¶‚É‚ ‚È‚½‚̃[ƒ‹ƒAƒhƒŒƒX‚Ì‚Ý‚ð‚¨‘‚«‰º‚³‚¢j
[EMAIL PROTECTED]
ƒ[ƒ‹ƒAƒhƒŒƒX‚ð‚²‹L“ü‚µ‚Ä‚­‚¾‚³‚¢B

§104-0061
“Œ‹ž“s’†‰›‹æ‹âÀ8-19-3
‘æ2ƒEƒCƒ“ƒOƒrƒ‹@3F
ƒ[ƒ‹ƒ}ƒKƒWƒ“”­s

TEL@03-3544-6222
FAX@03-3544-6218

===
–â‘菤•i‚΂©‚èW‚ß‚Ü‚µ‚½‚̂ŁAÁ‚³‚ê‚é‹°‚ꂪ‚ ‚è‚Ü‚·‚Ì‚Å
‚¨\ž‚Ý‚Í‚¨‘‚߂ɁI
=

™\\\™\\\™\\\™\\\™\\\™\\\™\\\™\\\™

— ƒrƒfƒI”Ì”„EƒƒŠƒrƒfƒIE“ÁŽêƒ_ƒbƒ`ƒƒCƒtE‚r‚lƒNƒ‰ƒu 
@@ ‚`‚u’j—D•åWE‰‡•ŒðÛE‚r‚d‚wƒtƒŒƒ“ƒhEƒAƒ_ƒ‹ƒgƒOƒbƒY‚È‚Ç
 š@ƒAƒ_ƒ‹ƒgŠÖ˜A‚̏î•ñ–žÚ@š


@@‚¨\ž‚݁E‚²’•¶E¤•iÚ×“™‚́@
@@@@@‰º‹L‚t‚q‚k‚ðƒNƒŠƒbƒN‚µ‚Ä‚²——‰º‚³‚¢B

«@@@@«@@@@«@
@@@http://changeboy.kir.jp/

™\\\™\\\™\\\™\\\™\\\™\\\™\\\™\\\™

@@@@@@@@ŠJ‰^ƒOƒbƒYE‹É”éî•ñŽ
@@@@–h”ƃOƒbƒYE‹à–ׂ¯î•ñEƒ_ƒCƒGƒbƒgH•i‚Ȃǁ@
@@@@@@@@š@‚»‚Ì‘¼î•ñ–žÚ@š


@@‚¨\ž‚݁E‚²’•¶E¤•iÚ×“™‚́@
@@@@@‰º‹L‚t‚q‚k‚ðƒNƒŠƒbƒN‚µ‚Ä‚²——‰º‚³‚¢B

«@@@@«@@@@«@
http://changeboy.kir.jp/index2.html


™\\\™\\\™\\\™\\\™\\\™\\\™\\\™\\\™


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



ÍÔÊÃзҧ¡ÒÃà§Ô¹¢Í§¤Ø³

2002-11-26 Thread getrich
Part-Time Job!! ÊÓËÃѺ¹Ñ¡àÃÕ¹ ¹Ñ¡ÈÖ¡ÉÒ áÅмÙé·Ó§Ò¹»ÃШÓ
¤Ø³µéͧ¡ÒçҹẺ¹ÕéºéÒ§äËÁ…??
-§Ò¹ parttime ·Ó§Ò¹·ÕèºéÒ¹ä´é ¶éҤسãªé Internet à»ç¹
-·Ó§Ò¹à¾Õ§ÇѹÅÐ 2-3 ªÁ.
-ÃÒÂä´é 5,000 – 15,000 ºÒ·
¶éҤسà»ç¹¤¹Ë¹Ö觷Õè·Ó§Ò¹»ÃШÓËÃ×ÍÂѧäÁèÁÕ§Ò¹·Ó ¹Ñ¡ÈÖ¡ÉÒ·Õè¡ÓÅѧÈÖ¡ÉÒÍÂÙè 
¼ÙéÇèÒ§§Ò¹ ËÃ×ͼÙé·ÕèÂѧ¾ÍÁÕàÇÅÒÇèÒ§¨Ò¡§Ò¹»ÃШÓ
ÁդسÊÁºÑµÔàº×éͧµé¹´Ñ§¹Õé
1. ÁÕ·Ñȹ¤µÔ·Õè´Õ
2. ¾ÃéÍÁ·Õè¨ÐàÃÕ¹ÃÙé 
à¹×èͧ¨Ò¡à»ç¹ÃкºãËÁè¨Ö§µéͧãËéÁÕ¡ÒÃͺÃÁãËéµÒÁ¤ÇÒÁàËÁÒÐÊÁ
3. µéͧ¡Ò÷Õè¨Ð·Ó§Ò¹ÍÂèÒ§¨ÃÔ§¨Ñ§ ÍÂÒ¡·Õè¨Ðà»ÅÕ蹰ҹзҧ¡ÒÃà§Ô¹¢Í§µ¹àͧ 
áÅÐÍÂÒ¡ÁÕÃÒÂä´é¨Ò¡¡Ò÷ӧҹµÃ§¹Õé¨ÃÔ§æ ·Ø¡ÍÂèÒ§à»ç¹ä»ä´é ã¹
ʹã¨ÃѺ¢éÍÁÙÅà¾ÔèÁàµÔÁ¿ÃÕ ä´é·Õè http://ejobthailand.net/getrich
ÍÂèÒ !….. à»ç¹á¤èà¾Õ§¤¹·Õè¹Ñè§ÃÍâÍ¡ÒÊ


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


Re: FIGURED IT OUT!!! (was): Can't seem to assign a different port for http (apache)

2002-11-26 Thread Jan Grant
On Mon, 25 Nov 2002, Totally Jayyness wrote:

> Turns out that IE doesn't ASSUME the 'http://' on any port except 80.
> So I went back in, made the changed to httpd.conf and then went to
> http://192.168.0.10:1124 and BANG, there it was.

> So thought I would follow up with all of you to 1:  Thankyou and
> 2:  Let you know about EVIL IE.

IE does what you tell it if you give it a proper URL. That it doesn't
behave in the way you intended when you gave it a non-standardised,
abbreviated input, is not something that it should be castigated for -
unless you count teaching people the notion that "www.example.org" is a
valid URL.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Personal responsibility for corporate decisions:
if they've nothing to hide, they've nothing to lobby against.


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



non-interactive aiff to mp3 encoder

2002-11-26 Thread BSD Freak
Hi all,

Can anyone recommend a good non-interactive aiff to mp3 encoder for
batch emcoding mp3's via a shell script...


Many thanks and warm regards to all






-
Faxes delivered directly to any email address, new to mBox!
Find out more http://www.mbox.com.au/fax

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



PLS GET BACK TO ME.

2002-11-26 Thread SANDRA SAVIMBI
 DEAR FRIEND,
 THIS LETTER MAY COME TO YOU AS A SURPRISE DUE TO THE FACT THAT WE
 HAVE NOT YET MET. THE MESSAGE COULD BE STRANGE BUT REAL IF YOU PAY
 SOME ATTENTION TO IT. I COULD HAVE NOTIFIED YOU ABOUT IT AT LEAST
 FOR THE SAKE OF YOUR INTEGRITY. PLEASE ACCEPT MY SINCERE APOLOGIES.
 IN BRINGING THIS MESSAGE OF GOODWILL TO YOU, I HAVE TO SAY THAT
 I HAVE NO INTENTIONS OF CAUSING YOU ANY PAINS.
 I AM MRS. SANDRA SAVIMBI, DAUGHTER OF THE LATE REBEL LEADER JONAS
 SAVIMBI OF ANGOLA WHO WAS KILLED ON THE 22ND OF FEBUARY 2002 .
 MY LATE FATHER, JONAS SAVIMBI WAS ABLE TO DEPOSIT A LARGE SUM OF
 MONEY IN DIFFERENT BANKS IN EUROPE AND THE MOVEMENT OF HIS FAMILY MEMBERS
 (INCLUDING ME) IS RESTRICTED. WE ARE FORBIDDEN TO EITHER TRAVEL
 ABROAD OR OUT OF OUR LOCALITIES. PRESENTLY, THE US$8,500,000.00 EIGHT
 MILLION, FIVE
 HUNDRED THOUSAND DOLLARS MY FATHER TRANSFERRED TO NETHERLANDS IS
 SAFE AND IS WITH A SECURITY FIRM. I AM THEREFORE SOLICITING YOUR
 HELP TO HAVE THIS MONEY TRANSFERRED INTO YOUR ACCOUNT BEFORE MY
 GOVERNMENT GET WIND OF THIS FUND. YOU MAY KNOW THAT MY FATHER WAS
 A REBEL LEADER IN ANGOLA BEFORE HIS DEATH AND MY REASON FOR DOING
 THIS IS BECAUSE IT WILL BE DIFFICULT FOR THE ANGOLAN GOVERNMENT
 TO TRACE MY FATHER'S MONEY TO AN INDIVIDUAL'S ACCOUNT, ESPECIALLY
 WHEN SUCH AN INDIVIDUAL HAS NO RELATIONSHIP WITH MY FATHER THEREBY
 KEEPING THAT MONEY FOR MY FAMILY USE. AT PRESENT THE MONEY AS I
 SAID IS KEPT IN A SECURITY COMPANY IN THE NETHERLAND.
 I AM CURRENTLY AND TEMPORARILY LIVING IN ANGOLA WITH MY HUSBAND. MY
 BROTHER HAS A REFUGEE STATUS IN THE NETHERLANDS. MOREOVER, THE POLITICAL
 CLIMATE IN ANGOLA AT THE MOMENT IS SO SENSITIVE AND UNSTABLE SO
 IT WILL BE BETTER WE DO THIS TRANSACTION NOW.
 WITH THIS PASSWORD AND INFORMATION I WILL SEND YOU, AND THE CHANGE OF
 OWNERSHIP THAT I WILL SEND TO THE SECURITY FIRM, YOU WILL BE ABLE TO
 REPRESENT US IN THE NETHERLANDS TO CLAIM THIS CONSIGNMENT FROM THE
 SECURITY FIRM. WHEN YOU ARE READY, I WILL GIVE YOU THE INFORMATION
 NEEDED BEFORE YOU CAN GET ACCESS TO THE FUND, YOU WILL THEN PROCEED
 TO NETHERLANDS WHERE YOU WILL SIGN THE FINAL RELEASE DOCUMENTS OF
 THE US$8,500,000.00 EIGHT, MILLION, FIVE HUNDRED THOUSAND DOLLARS.
 I WILL GIVE YOU FURTHER DETAILS WHEN I GET YOUR RESPONSE TO THIS LETTER
 ASSURING US THAT YOU WILL BE ABLE TO REPRESENT US IN THE NETHERLANDS
 AND THAT YOU WILL MAKE THIS TRANSACTION CONFIDENTIAL. IT IS VERY
 IMPORTANT THAT YOU GIVE ME YOUR PHONE AND FAX NUMBERS WHILE THIS IS KEPT
 CONFIDENTIAL.
 YOU CAN CONTACT ME WITH MY E-MAIL ADDRESS, [EMAIL PROTECTED]


 
 YOURS SINCERELY,
 SANDRA SAVIMBI.
 
 
 
 
 
 
 
 
 


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



make builkernel error on Athlon

2002-11-26 Thread Nelis Lamprecht
Hi All

I'm busy compiling a custom kernel on a AMD Athlon(tm) XP 1700+ to setup 
sound. I am also upgrading from 4.7 RELEASE to STABLE. After cvsuping to 
the latest stable source I run buildworld which works fine but on my 'make 
buildkernel KERNCONF=ENIGMA' I get the following error:


sh /usr/src/sys/conf/newvers.sh ENIGMA
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys 
-I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter  -D_KERNEL 
-include opt_global.h  -mpreferred-stack-boundary=2  vers.c
linking kernel
umass.o: In function `umass_cam_attach_sim':
umass.o(.text+0x137f): undefined reference to `cam_simq_alloc'
umass.o(.text+0x13a5): undefined reference to `cam_sim_alloc'
umass.o(.text+0x13be): undefined reference to `xpt_bus_register'
umass.o(.text+0x13ce): undefined reference to `cam_simq_free'
umass.o: In function `umass_cam_rescan_callback':
umass.o(.text+0x13e7): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_rescan':
umass.o(.text+0x1431): undefined reference to `xpt_periph'
umass.o(.text+0x143a): undefined reference to `xpt_create_path'
umass.o(.text+0x144d): undefined reference to `xpt_setup_ccb'
umass.o(.text+0x1468): undefined reference to `xpt_action'
umass.o: In function `umass_cam_detach_sim':
umass.o(.text+0x151f): undefined reference to `xpt_bus_deregister'
umass.o(.text+0x153d): undefined reference to `cam_sim_free'
umass.o: In function `umass_cam_detach':
umass.o(.text+0x157e): undefined reference to `xpt_create_path'
umass.o(.text+0x159f): undefined reference to `xpt_async'
umass.o(.text+0x15a7): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_action':
umass.o(.text+0x1913): undefined reference to `xpt_done'
umass.o(.text+0x1925): undefined reference to `xpt_done'
umass.o: In function `umass_cam_cb':
umass.o(.text+0x1a21): undefined reference to `xpt_done'
umass.o: In function `umass_cam_sense_cb':
umass.o(.text+0x1b28): undefined reference to `xpt_done'
umass.o(.text+0x1b39): undefined reference to `xpt_done'
umass.o(.text+0x1b53): more undefined references to `xpt_done' follow
*** Error code 1

Stop in /usr/obj/usr/src/sys/ENIGMA.
*** Error code 1

Any suggestions, help would be greatly appreciated. I have upgraded and 
built custom kernel's many times before without any problems on Intel 
platform but this is my first on an AMD machine. Any specific AMD kernel 
config's I should know about ?

Kind Regards,
Nelis


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


Re: vinum documentation

2002-11-26 Thread Adam Laurie
Greg 'groggy' Lehey wrote:

On Monday, 25 November 2002 at 15:42:37 +, Adam Laurie wrote:


hi,

who is the best person to talk to regarding vinum docco? 


I suppose I'm as good as any.



the reason i ask is because i recently had to recover a crashed
system with vinum runinng on it, and i had a recovery scenario which
doesn't appear to be covered by any of the docs or online faqs... my
company has therefore tasked me with submitting a patch and getting
said docco updated...

fyi, the scenario was that the root disk containing /dev/vinum
lost so the whole thing was moved onto a fresh install.



That doesn't make any sense.


sorry - that should have said the root disk *was* lost. i.e. i was 
working on a brand new system disk which didn't have /dev/vinum on it.




the tricky bit was to get vinum to come back up without initialising
& wiping the volume(s).



vinum start


see above. since the system didn't know about the raid, there was 
nothing to start.




please respond to me direct - i am not subscribed to questions...



I'd be very interested to know what happened and what you did. 

ok, so we built a new bsd boot disk and did a vinum create with the 
original config to create the  /dev/vinum tree:

  drive d0 device /dev/da0s1e
  drive d1 device /dev/da1s1e
  drive d2 device /dev/da2s1e
  drive d3 device /dev/da3s1e
  drive d4 device /dev/da4s1e
  drive d5 device /dev/da5s1e
  drive d6 device /dev/da6s1e
  drive d7 device /dev/da7s1e
  drive d8 device /dev/da8s1e
  drive d9 device /dev/da9s1e
volume raid1
plex org raid5 512k
sd length 5g drive d0
sd length 5g drive d1
sd length 5g drive d2
sd length 5g drive d3
sd length 5g drive d4
sd length 5g drive d5
sd length 5g drive d6
sd length 5g drive d7
sd length 5g drive d8
sd length 5g drive d9
volume raid2
plex org raid5 512k
sd length 0 drive d0
sd length 0 drive d1
sd length 0 drive d2
sd length 0 drive d3
sd length 0 drive d4
sd length 0 drive d5
sd length 0 drive d6
sd length 0 drive d7
sd length 0 drive d8
sd length 0 drive d9


however, when we did a vinum start, raid1.p0.s0 and raid2.p0.s0 went to 
'init' state, so we shut it down. the eventual fix was to do a 'vinum 
read' on each of the devices, set raid1.p0.s0 and raid2.p0.s0 to 
obsolete (as they had been clobbered by the init) and then start everything.

i suspect what i should have done right from the start was just the 
'vinum read' on each hard disk instead of the create which made it think 
it was a new raid?


> Have
you read http://www.vinumvm.org/vinum/replacing-drive.html?


yep. like all the others i've found, this deals with fixing problems 
within the raid itself, not moving a working raid onto a new system 
(which is effectively what i was doing).

cheers,
Adam
--
Adam Laurie   Tel: +44 (20) 8742 0755
A.L. Digital Ltd. Fax: +44 (20) 8742 5995
The Storeshttp://www.thebunker.net
2 Bath Road   http://www.aldigital.co.uk
London W4 1LT mailto:[EMAIL PROTECTED]
UNITED KINGDOMPGP key on keyservers


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


PLS GET BACK TO ME.

2002-11-26 Thread SANDRA SAVIMBI
 DEAR FRIEND,
 THIS LETTER MAY COME TO YOU AS A SURPRISE DUE TO THE FACT THAT WE
 HAVE NOT YET MET. THE MESSAGE COULD BE STRANGE BUT REAL IF YOU PAY
 SOME ATTENTION TO IT. I COULD HAVE NOTIFIED YOU ABOUT IT AT LEAST
 FOR THE SAKE OF YOUR INTEGRITY. PLEASE ACCEPT MY SINCERE APOLOGIES.
 IN BRINGING THIS MESSAGE OF GOODWILL TO YOU, I HAVE TO SAY THAT
 I HAVE NO INTENTIONS OF CAUSING YOU ANY PAINS.
 I AM MRS. SANDRA SAVIMBI, DAUGHTER OF THE LATE REBEL LEADER JONAS
 SAVIMBI OF ANGOLA WHO WAS KILLED ON THE 22ND OF FEBUARY 2002 .
 MY LATE FATHER, JONAS SAVIMBI WAS ABLE TO DEPOSIT A LARGE SUM OF
 MONEY IN DIFFERENT BANKS IN EUROPE AND THE MOVEMENT OF HIS FAMILY MEMBERS
 (INCLUDING ME) IS RESTRICTED. WE ARE FORBIDDEN TO EITHER TRAVEL
 ABROAD OR OUT OF OUR LOCALITIES. PRESENTLY, THE US$8,500,000.00 EIGHT
 MILLION, FIVE
 HUNDRED THOUSAND DOLLARS MY FATHER TRANSFERRED TO NETHERLANDS IS
 SAFE AND IS WITH A SECURITY FIRM. I AM THEREFORE SOLICITING YOUR
 HELP TO HAVE THIS MONEY TRANSFERRED INTO YOUR ACCOUNT BEFORE MY
 GOVERNMENT GET WIND OF THIS FUND. YOU MAY KNOW THAT MY FATHER WAS
 A REBEL LEADER IN ANGOLA BEFORE HIS DEATH AND MY REASON FOR DOING
 THIS IS BECAUSE IT WILL BE DIFFICULT FOR THE ANGOLAN GOVERNMENT
 TO TRACE MY FATHER'S MONEY TO AN INDIVIDUAL'S ACCOUNT, ESPECIALLY
 WHEN SUCH AN INDIVIDUAL HAS NO RELATIONSHIP WITH MY FATHER THEREBY
 KEEPING THAT MONEY FOR MY FAMILY USE. AT PRESENT THE MONEY AS I
 SAID IS KEPT IN A SECURITY COMPANY IN THE NETHERLAND.
 I AM CURRENTLY AND TEMPORARILY LIVING IN ANGOLA WITH MY HUSBAND. MY
 BROTHER HAS A REFUGEE STATUS IN THE NETHERLANDS. MOREOVER, THE POLITICAL
 CLIMATE IN ANGOLA AT THE MOMENT IS SO SENSITIVE AND UNSTABLE SO
 IT WILL BE BETTER WE DO THIS TRANSACTION NOW.
 WITH THIS PASSWORD AND INFORMATION I WILL SEND YOU, AND THE CHANGE OF
 OWNERSHIP THAT I WILL SEND TO THE SECURITY FIRM, YOU WILL BE ABLE TO
 REPRESENT US IN THE NETHERLANDS TO CLAIM THIS CONSIGNMENT FROM THE
 SECURITY FIRM. WHEN YOU ARE READY, I WILL GIVE YOU THE INFORMATION
 NEEDED BEFORE YOU CAN GET ACCESS TO THE FUND, YOU WILL THEN PROCEED
 TO NETHERLANDS WHERE YOU WILL SIGN THE FINAL RELEASE DOCUMENTS OF
 THE US$8,500,000.00 EIGHT, MILLION, FIVE HUNDRED THOUSAND DOLLARS.
 I WILL GIVE YOU FURTHER DETAILS WHEN I GET YOUR RESPONSE TO THIS LETTER
 ASSURING US THAT YOU WILL BE ABLE TO REPRESENT US IN THE NETHERLANDS
 AND THAT YOU WILL MAKE THIS TRANSACTION CONFIDENTIAL. IT IS VERY
 IMPORTANT THAT YOU GIVE ME YOUR PHONE AND FAX NUMBERS WHILE THIS IS KEPT
 CONFIDENTIAL.
 YOU CAN CONTACT ME WITH MY E-MAIL ADDRESS, [EMAIL PROTECTED]


 
 YOURS SINCERELY,
 SANDRA SAVIMBI.
 
 
 
 
 
 
 
 
 


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



ports/courier-imap in fbsd 4.7.0

2002-11-26 Thread Condor
Hello, 
i write you after 3-4 weeks, but i not recive any answer
messages, so i write you again.
I trying to compile courier-imap with mysql support
from ports but, authmysql modules is not build.
I define to use mysql, recompile, in configuration script
i show that sucessful have parameter --with-authmysql
but modules is not build.

Any ides howto compile with mysql support?


Regards,
Condor

___
 http://www.vcable.net



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



Re: make builkernel error on Athlon

2002-11-26 Thread Akifyev Sergey
On Tue, 2002-11-26 at 14:56, Nelis Lamprecht wrote:
> Hi All
> 
> I'm busy compiling a custom kernel on a AMD Athlon(tm) XP 1700+ to setup 

It's not your hardware problem. You could post your kernel config. :)
Bug probably resides there.

> sound. I am also upgrading from 4.7 RELEASE to STABLE. After cvsuping to 
> the latest stable source I run buildworld which works fine but on my 'make 
[...skipped...]

Also, there is a probability you've messed things up while cvsup'ing.
You should remove all SCSI (CAM(4)) devices from kernel, and I bet it
will compile.

Regards,
Sergey


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



Re: make builkernel error on Athlon

2002-11-26 Thread iulian
On Tue, 26 Nov 2002 13:56:04 +0200
NL wrote:

> Hi All
> 
> I'm busy compiling a custom kernel on a AMD Athlon(tm) XP 1700+ to setup 
> sound. I am also upgrading from 4.7 RELEASE to STABLE. After cvsuping to 
> the latest stable source I run buildworld which works fine but on my 'make 
> buildkernel KERNCONF=ENIGMA' I get the following error:
> 
> 
> sh /usr/src/sys/conf/newvers.sh ENIGMA
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
> -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys 
> -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter  -D_KERNEL 
> -include opt_global.h  -mpreferred-stack-boundary=2  vers.c
> linking kernel
> umass.o: In function `umass_cam_attach_sim':
> umass.o(.text+0x137f): undefined reference to `cam_simq_alloc'
> umass.o(.text+0x13a5): undefined reference to `cam_sim_alloc'
> umass.o(.text+0x13be): undefined reference to `xpt_bus_register'
> umass.o(.text+0x13ce): undefined reference to `cam_simq_free'
> umass.o: In function `umass_cam_rescan_callback':
> umass.o(.text+0x13e7): undefined reference to `xpt_free_path'
> umass.o: In function `umass_cam_rescan':
> umass.o(.text+0x1431): undefined reference to `xpt_periph'
> umass.o(.text+0x143a): undefined reference to `xpt_create_path'
> umass.o(.text+0x144d): undefined reference to `xpt_setup_ccb'
> umass.o(.text+0x1468): undefined reference to `xpt_action'
> umass.o: In function `umass_cam_detach_sim':
> umass.o(.text+0x151f): undefined reference to `xpt_bus_deregister'
> umass.o(.text+0x153d): undefined reference to `cam_sim_free'
> umass.o: In function `umass_cam_detach':
> umass.o(.text+0x157e): undefined reference to `xpt_create_path'
> umass.o(.text+0x159f): undefined reference to `xpt_async'
> umass.o(.text+0x15a7): undefined reference to `xpt_free_path'
> umass.o: In function `umass_cam_action':
> umass.o(.text+0x1913): undefined reference to `xpt_done'
> umass.o(.text+0x1925): undefined reference to `xpt_done'
> umass.o: In function `umass_cam_cb':
> umass.o(.text+0x1a21): undefined reference to `xpt_done'
> umass.o: In function `umass_cam_sense_cb':
> umass.o(.text+0x1b28): undefined reference to `xpt_done'
> umass.o(.text+0x1b39): undefined reference to `xpt_done'
> umass.o(.text+0x1b53): more undefined references to `xpt_done' follow
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/ENIGMA.
> *** Error code 1
> 
I had exactly the same problem.
I was trying to build kernel using make buildkernel, make installkernel
I have not the same hardware
I solved that problem following 
cd /usr/src/sys/i386/conf && /usr/sbin/config NEW_KERNEL
cd ../../compile/NEW_KERNEL
make depend
make
make install
An d I have a new kernel :)
> Any suggestions, help would be greatly appreciated. I have upgraded and 
> built custom kernel's many times before without any problems on Intel 
> platform but this is my first on an AMD machine. Any specific AMD kernel 
> config's I should know about ?
> 
> Kind Regards,
> Nelis
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message


---
Iulian
Romtelecom O&M Network Operation
IN Management Center 

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



Re: make builkernel error on Athlon

2002-11-26 Thread Kris Kennaway
On Tue, Nov 26, 2002 at 02:23:21PM +, iulian wrote:

> I had exactly the same problem.

You are both ignoring the documentation in GENERIC that tells you
which kernel option you are missing from your config file :)

Kris



msg10203/pgp0.pgp
Description: PGP signature


does FreeBSD have something like OpenBSD's transparent bridge firewall

2002-11-26 Thread Bsd Neophyte
I was reading a bit about this and it seems pretty sweet.  Does FreeBSD
have anything like this?  And how do the two compare?

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

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



[no subject]

2002-11-26 Thread freebsdsinfronteras
somos espaqoles estamos interesados en la traduccion de source a nuestra lengua natal, 
comentarios de codigo proyectos de traduccion etc todo gratis!!

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



Re: LINTfile is wrong?

2002-11-26 Thread Kris Kennaway
On Tue, Nov 26, 2002 at 10:08:15AM +0300, ? wrote:
> Good day, questions.
> 
> There is no 'device pst' (Promise SuperTrack SX6000) in the LINT file
> of FreeBSD 4.7-RELEASE. Why?

Perhaps an oversight.

Kris



msg10206/pgp0.pgp
Description: PGP signature


Which package installs Pod::Usage ?

2002-11-26 Thread Ceri Davies

Could someone please mail me the output of:

pkg_info -W /usr/local/lib/perl5/site_perl/5.005/Pod/Usage.pm

Mine seems to have gone walkies for some reason.

Thanks,

Ceri
-- 
By the Dwarf Father's rune, your fate is here!

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



RE: DUMP to disk over 2GB

2002-11-26 Thread Dave [Hawk-Systems]
 ran into the file size limitation of 2GB when doing a L0 dump of the /usr
 partition.

>>> Hmm.  I think the trick is to not be aware that there *is* a 2GB limit!
>>>
>> Could be it there...  using 4.3 stable with security patches and
>> selected port upgrades only...
>
>I didn't think there was any change in behaviour during this time.
>
>> Assumption from responses being upgrading to a more recent stable
>> version is required to eliminate the problem?
>
>I think it would be better if you showed more detail about what you've
>done and what happened.  Of course, if you want to upgrade to 4.7
>anyway, that might be instructive, but don't expect it to fix your
>problems.

backed up then deleted the entire backup mount, redid a fresh L0 dump and it
worked just fine.  Not sure what the problem was, or why it would choose to halt
almost exactly around the 2GB mark...  a quick search in google brough some 2GB
limit conversation so I figured Id better run it by the list.  Appreciate the
comments.

Dave



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



nis/yp

2002-11-26 Thread Kasper
When i add a user on my nis/yp server i need to update the nis database.
How do i do this?

/K


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



changing directory listing type

2002-11-26 Thread Özgür Özaslan
Hi,
I'm a new FreeBSD user and using FreBSD 4.6.2. I wonder if it is possible to
colour directories in blue or symbolic links to another like linux systems.
Now all them are in the same white colour. Is this simple? Thanks...

Özgür ÖZASLAN
http://ozaslan.ifbim.itu.edu.tr



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



Re: changing directory listing type

2002-11-26 Thread Ismail YENIGUL
hi

try   "ls -G" or
 install gnuls from ports /usr/ports/misc/gnuls and  and run ls --color
regard

On Tue, 26 Nov 2002 15:51:43 +0200
"Özgür Özaslan" <[EMAIL PROTECTED]> wrote:

> n

-- 
If a straight line fit is required, obtain only two
data points.

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



Re: changing directory listing type

2002-11-26 Thread Pascal Giannakakis
> Hi, 
> I'm a new FreeBSD user and using FreBSD 4.6.2. I wonder if it is possible 
> to 
> colour directories in blue or symbolic links to another like linux 
> systems. 
> Now all them are in the same white colour. Is this simple? Thanks... 
 
# man ls 
 
The solution is "ls -F". If you want to bind it permanently, edit your
~/.cshrc and 
add a line like this: 
 
alias ls ls -F 
 
You might consider this as more usefull: 
 
alias ll ls -alF 
 
 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: changing directory listing type

2002-11-26 Thread Pascal Giannakakis
> alias ls ls -F  
>   
> You might consider this as more usefull:  
>   
> alias ll ls -alF  
 
Sorry, it must be 
 
alias ls ls -G 
 
and 
 
alias ll ls -alG 
 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: changing directory listing type

2002-11-26 Thread Matthew Seaman
On Tue, Nov 26, 2002 at 03:51:43PM +0200, Özgür Özaslan wrote:

> I'm a new FreeBSD user and using FreBSD 4.6.2. I wonder if it is possible to
> colour directories in blue or symbolic links to another like linux systems.
> Now all them are in the same white colour. Is this simple? Thanks...

Simple enough.  If you log into the console without using X-windows,
all you need to do is:

ls -G

to see the pretty colours.  To save typing, you can alias 'ls' to 'ls
-G' in your shell configuration files:

alias ls  ls -G# .tcshrc, .cshrc

or

alias ls='ls -G'   # .shrc, .bashrc

If you're using xterm(1) under X-Windows, you need to do the above,
plus you need to tell xterm to use a terminal type that supports
colours.  For some reason hidden in the mists of time, the default
'xterm' terminal type under FreeBSD is better known elsewhere as
'xterm-mono', and you have to change to using 'xterm-color' to get the
colourization you want --- this makes quite a difference to several
programs like mutt, emacs, /stand/sysinstall which do full screen
character based stuff.  Simply put:

xterm*termName: xterm-color

into your ~/.Xdefaults file, and if necessary add:

[ -f ${HOME}/.Xdefaults ] && /usr/X11R6/bin/xrdb -merge ${HOME}/.Xdefaults

somewhere near the top of your .xsession or .xinitrc file.

Cheers,

Matthew

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

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



Re: FreeBSD detecting less than total memory

2002-11-26 Thread Lowell Gilbert
Kenneth Culver <[EMAIL PROTECTED]> writes:

> Hi,
>   I'm running FreeBSD 4.7-STABLE as of a couple of days ago... and
> it seems that FreeBSD is not detecting the total amount of ram that I have
> on my system. I have 512M but here's my dmesg (where memory is concerned:
> 
> real memory  = 402669568 (393232K bytes)
> Physical memory chunk(s):
> 0x1000 - 0x0009, 651264 bytes (159 pages)
> 0x004ad000 - 0x17ffbfff, 397733888 bytes (97103 pages)
> avail memory = 386895872 (377828K bytes)
> 
> This is much less than what is really available. /boot/loader detects the
> proper amount, but for some reason the kernel won't. Any ideas?

Did you try telling it explicitly, as recommended in the FAQ?

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



Re: PPP and NAT, this time.

2002-11-26 Thread Matthew Emmerton
> To whom it may concern:
>
> Thanks to all responses regarding my previous problem.  The issue was
> resolved and our box is connected to our DSL line completely and
correctly.
>
> We completely remade our ppp.config, and it looks as follows:
>
> default:
>  ident user-ppp VERSION (built COMPILATIONDATE)
>  set log Phase Chat IPCP CCP tun command
>
> adsl:
>  set authname our_username
>  set authkey our_password
>  add default HISADDR
>  set device !"pppoa2 -vpi 8 -vci 35 -v 1"
>  accept pap
>  set speed sync
>  set timeout 0
>  enable lqr
>  set lqrperiod 5
>  set redial 15 1
>  set dial ""
>  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
>  enable dns
>
> This works beautifully.  Now, another problem we believed would be simple
to
> solve, but it isn't quite so.  We have a network card in the FreeBSD
machine
> with IP address 192.168.1.3.  It is connected to a Windows 98 machine with
> IP address 192.168.1.1.The Windows 98 machine's TCP stack is
completely
> configured and operational (it can ping the FreeBSD machine and vice
versa;
> we are using a crossover cable to connect the two).   We want to enable
NAT
> on the FreeBSD machine to allow the Windows 98 machine access to the
> Internet via the FreeBSD box.
>
> We have done the following to accomplish this:
>
> 1)  Built a custom kernel with options IPDIVERT and IPFIREWALL
>
> 2)  Enabled the machine to act as a gateway in rc.conf
> (gateway_enable="YES")
>
> 3)  Enabled natd in rc.conf (nat_enable="YES")
>
> 4)  Changed natd interface to "tun0" (our interface for ppp)
> (natd_interface="tun0")
>
> 5)  Enabled named, so Win98 can resolve names using the FreeBSD box
> (named_enable="YES")
>
> 6)  Created rc.firewall with the following lines:
>
> /sbin/ipfw -f flush
> /sbin/ipfw add divert natd all from any to any via tun0
> /sbin/ipfw add pass all from any to any
>
> 7)  Enabled the firewall in rc.conf (We compiled kernel with
DEFAULT_ACCEPT
> option)
>
> 8)  Created rc.local to initialise the USB Alcatel Hometouch on startup:
>
> modem_run -f /usr/local/libdata/mgmt.o -m
>
> 9)  We manually connect doing the following:
>
> ppp -ddial -nat adsl
>
> It connects succesfully and the FreeBSD box is on the net.
>
> 10)  The Win98 machine can ping IP addresses outside the LAN and our ISP
> (i.e. it can ping the IP of www.google.com), but it cannot resolve domain
> names, nor access IP addresses of web sites (i.e. we used www.hawaii.edu
's
> IP address, and the web server could not be found, yet it is accessible by
> IP address from elsewhere)
>
> 11)  We attempt to manually start natd on the FreeBSD box:
>
> natd -interface tun0
>
> 12)  Same problem as # 10, no change.
>
> Going with info given in reply to my previous problem, does a default
route
> for the 192.168.1.0 network need to be configured?
>
> Again, any help is greatly appreciated.

If you're running ppp with the -nat flag, don't run ipfw/natd.  The two
mechanisms are mutually exclusive.  I would recommend sticking with
'ppp -nat', so you can eliminate steps 3,4,6,7 and you don't need to run
with a custom kernel (IPDIVERT, IPFIREWALL).

As for step 5 (enabling named), this will only work as you intend if you've
configured named to forward all requests to your ISP's DNS server, like the
following:

options {
directory "/etc/namedb";
forwarders
{
209.226.175.224;// Sympatico DNS 1
198.235.216.110;// Sympatico DNS 2
};
};

--
Matt Emmerton


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



Re: changing directory listing type

2002-11-26 Thread Jack L. Stone
At 03:54 PM 11.26.2002 +0200, Ismail YENIGUL wrote:
>hi
>
>try   "ls -G" or
> install gnuls from ports /usr/ports/misc/gnuls and  and run ls --color
>regard
>

Easier yet, just add the following line in /etc/profile:
# alias ls='ls -G'

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: FreeBSD detecting less than total memory

2002-11-26 Thread Jack L. Stone
At 09:11 AM 11.26.2002 -0500, Lowell Gilbert wrote:
>Kenneth Culver <[EMAIL PROTECTED]> writes:
>
>> Hi,
>>  I'm running FreeBSD 4.7-STABLE as of a couple of days ago... and
>> it seems that FreeBSD is not detecting the total amount of ram that I have
>> on my system. I have 512M but here's my dmesg (where memory is concerned:
>> 
>> real memory  = 402669568 (393232K bytes)
>> Physical memory chunk(s):
>> 0x1000 - 0x0009, 651264 bytes (159 pages)
>> 0x004ad000 - 0x17ffbfff, 397733888 bytes (97103 pages)
>> avail memory = 386895872 (377828K bytes)
>> 
>> This is much less than what is really available. /boot/loader detects the
>> proper amount, but for some reason the kernel won't. Any ideas?
>
>Did you try telling it explicitly, as recommended in the FAQ?
>

If all else fails, try pulling the strip(s) and switching the slots. Then,
if you have more than one strip, drop to 1 and add 1 back at a time. If one
or more isn't seen, then the strip has probably gone bad.

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 FreeBSD have something like OpenBSD's transparent bridgefirewall

2002-11-26 Thread Marc Perisa
Bsd Neophyte wrote:

I was reading a bit about this and it seems pretty sweet.  Does FreeBSD
have anything like this?  And how do the two compare?



man bridge
man ipfw

I can not compare that to OpenBSD since I had never used OpenBSD as 
transparent firewall before.

Hope that helps

Marc




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


Re: any advice before I buy a printer for FreeBSD?

2002-11-26 Thread Kirk Strauser

At 2002-11-25T04:19:31Z, David Kelly <[EMAIL PROTECTED]> writes:

> The most painless way to print within FreeBSD is with a Postscript printer
> which speaks lpd protocol on ethernet.

Second most painless: a Postscript printer supported by CUPS with a parallel
interface.  I bought an HP LaserJet 1200SE, and it worked the first time I
used the CUPS setup "wizard" to configure it.
-- 
Kirk Strauser
In Googlis non est, ergo non est.

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



Re: DUMP to disk over 2GB

2002-11-26 Thread Kirk Strauser

At 2002-11-26T00:36:04Z, "Greg 'groggy' Lehey" <[EMAIL PROTECTED]> writes:

> /dumpa/echunga/0:
> total 49181

> -rw-r--r--  1 root  wheel  22947456192 Nov  2 04:56 src.gz

You have 22GB of source code?  I bow in respect.
-- 
Kirk Strauser
In Googlis non est, ergo non est.

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



Re: nis/yp

2002-11-26 Thread Matthew Seaman
On Tue, Nov 26, 2002 at 02:48:17PM +0100, Kasper wrote:
> When i add a user on my nis/yp server i need to update the nis database.
> How do i do this?

Run 'make' in /var/yp

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



pybliographer does not install with pkg_add

2002-11-26 Thread Kirk R. Wythers
Is pybliographer available as a package (I'm getting tired of fighting
with the port)? If so, does anyone know what to pass to pkg_add -r?
pkg_add -r pybliographer, does not seem to work:

lorax# pkg_add -r pybliographer
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/pybliographer.tgz:
 File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/pybliographer.tgz'
 by URL

Thanks, 

Kirk
-- 
Kirk R. Wythers email: [EMAIL PROTECTED]
University of Minnesota tel: 612.625.2261
Department of Forest Resources  fax: 612.625.5212
Saint Paul, MN 55108



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



How to control the cpu fan? (freebsd current)

2002-11-26 Thread a
Hi.

Is there a way to control the CPU fan? So that is turns slow, and if the
CPU reach a given temperature, it runs faster? 
(freebsd-current)

Thanks

asg

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



Jail setup with mount_union?

2002-11-26 Thread bsd
I want to setup multiple jails with mount_union using a common base, but
the warning on the bottom of the man page is severely limiting my
consideration of its use. Is the warning on the bottom of that man page
still valid? And are there other ways to setup a common base for jails?
Perhaps mount_null? Thanks.




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



Re: Which package installs Pod::Usage ?

2002-11-26 Thread Matthew Seaman
On Tue, Nov 26, 2002 at 01:23:42PM +, Ceri Davies wrote:
> 
> Could someone please mail me the output of:
> 
>   pkg_info -W /usr/local/lib/perl5/site_perl/5.005/Pod/Usage.pm
> 
> Mine seems to have gone walkies for some reason.

Hmmm... No perl 5.005.03 on these systems, but:

% pkg_info -W /usr/local/lib/perl5/5.6.1/Pod/Usage.pm
/usr/local/lib/perl5/5.6.1/Pod/Usage.pm was installed by package perl-5.6.1_10
% pkg_info -W /usr/local/lib/perl5/5.8.0/Pod/Usage.pm
/usr/local/lib/perl5/5.8.0/Pod/Usage.pm was installed by package perl-5.8.0_3

Pod::Usage is bundled with perl-5.6.1 or perl-5.8.0, otherwise you
need to install the textproc/p5-PodParser port.

Cheers,

Matthew

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

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



Re: Jail setup with mount_union?

2002-11-26 Thread bsd
Nevermind. I just tried a couple of jail setups with a base and a couple
of mount_union'd directories. My machine promptly locked up on loggin into
them with ssh. Bleh. And mount_null doesn't seem to be what I want, as I
want write access without affecting the lower layer. O'well.

On Tue, 26 Nov 2002 [EMAIL PROTECTED] wrote:

> I want to setup multiple jails with mount_union using a common base, but
> the warning on the bottom of the man page is severely limiting my
> consideration of its use. Is the warning on the bottom of that man page
> still valid? And are there other ways to setup a common base for jails?
> Perhaps mount_null? Thanks.
>
>
>
>
> 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



Is this possible: mschapv1 + mppe?

2002-11-26 Thread Dung Patrick
Hi,

I can establish mppe with mschapv1 in linux. I think FreeBSD (userland ppp) only 
support mppe + mschapv2. Is there any way to hack it to support mschapv1+mppe.

Regards,
Patrick


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



Re: ports/courier-imap in fbsd 4.7.0

2002-11-26 Thread Joan Picanyol i Puig
* Condor <[EMAIL PROTECTED]> [20021126 13:07]:
> I trying to compile courier-imap with mysql support
> from ports but, authmysql modules is not build.
> I define to use mysql, recompile, in configuration script
> i show that sucessful have parameter --with-authmysql
> but modules is not build.
IIRC, courier-imap builds authdaemond wich has all the modules built-in.
See the courier-imap docs for details.

qvb
-- 
pica

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



Re: Jail setup with mount_union?

2002-11-26 Thread Kirk Strauser

At 2002-11-26T21:36:31Z, [EMAIL PROTECTED] writes:

> Nevermind. I just tried a couple of jail setups with a base and a couple
> of mount_union'd directories. My machine promptly locked up on loggin into
> them with ssh.

I never had much luck with the setup, either.  That's too bad, because it
seems like an almost ideal solution to a lot of jail problems.
-- 
Kirk Strauser
In Googlis non est, ergo non est.

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



Re: NAT + IPFW question

2002-11-26 Thread Flemming Frøkjær
Alvaro Rosales R. wrote:
> Hi fellows I have setup natd in my freeBSD BOX (using firewall =OPEN) 
> and it is working fine.
> Now I want to close my firewall so that the only computer that is using 
> NATD would the the only one that could accept connections from the 
> internet.But when I try to telnet to the natd box I cant connect to it.What 
> Am I doing wrong?
> Those are   my  ipfw rules
> 10.10.1.91 (natd box)
> 10.10.1.2 (my box)
> 
> 00050   5816  2829686 divert 8668 ip from any to any via rl1
> 00100   2412   168334 allow ip from any to any via lo0
> 00200  00 deny ip from any to 127.0.0.0/8
> 00300  00 deny ip from 127.0.0.0/8 to any
> 00800   5609  6342173 allow ip from 10.10.1.91 to 130.102.1.2
> 00801   3580   143970 allow ip from 10.10.1.2 to 130.102.1.91
> 01000 430772 59326512 deny ip from any to any
> 65000  00 allow ip from any to 10.10.1.2
> 65535  17161  5967606 allow ip from any to any
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

You need to tell natd to forward port 23 (telnet) to 10.10.1.2
man natd

\Flemming

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



Re: ports/courier-imap in fbsd 4.7.0

2002-11-26 Thread Condor
Roman Neuhauser <[EMAIL PROTECTED]> wrote :

> # [EMAIL PROTECTED]
> / 2002-11-26 14:10:29 +0200:
> > I trying to compile courier-imap with mysql support
> > from ports but, authmysql modules is not build.
> > I define to use mysql, recompile, in configuration script
> > i show that sucessful have parameter --with-authmysql
> > but modules is not build.
> 
> what was the exact procedure you used for building courier-imap?
> 
> -- 
> If you cc me or remove the list(s) completely I'll most likely ignore
> your message.see http://www.eyrie.org./~eagle/faqs/questions.html

I added in /usr/ports/mail/courier-imap/Makefile:
USE_MYSQL=  YES
WITH_MYSQL= YES
and run make.

Compiled fine but auth msyql module is not exist and
files authmysql* is not compiled (is not build .o file).

Regards,
Condor


___
 http://www.vcable.net



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



Re: NAT + IPFW question

2002-11-26 Thread Drew Tomlinson
- Original Message -
From: "Flemming Frøkjær" <[EMAIL PROTECTED]>
To: "Alvaro Rosales R." <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 8:29 AM
Subject: Re: NAT + IPFW question


> Alvaro Rosales R. wrote:
> > Hi fellows I have setup natd in my freeBSD BOX (using firewall
=OPEN)
> > and it is working fine.
> > Now I want to close my firewall so that the only computer that is
using
> > NATD would the the only one that could accept connections from the
> > internet.But when I try to telnet to the natd box I cant connect to
it.What
> > Am I doing wrong?
> > Those are   my  ipfw rules
> > 10.10.1.91 (natd box)
> > 10.10.1.2 (my box)
> >
> > 00050   5816  2829686 divert 8668 ip from any to any via rl1
> > 00100   2412   168334 allow ip from any to any via lo0
> > 00200  00 deny ip from any to 127.0.0.0/8
> > 00300  00 deny ip from 127.0.0.0/8 to any
> > 00800   5609  6342173 allow ip from 10.10.1.91 to 130.102.1.2
> > 00801   3580   143970 allow ip from 10.10.1.2 to 130.102.1.91
> > 01000 430772 59326512 deny ip from any to any
> > 65000  00 allow ip from any to 10.10.1.2
> > 65535  17161  5967606 allow ip from any to any
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
>
> You need to tell natd to forward port 23 (telnet) to 10.10.1.2
> man natd

This is only necessary if the poster wants to connect to "his box".  As
I understand it, he wishes to telnet to the natd box which is
10.10.1.91.  In this case, no forward is required.

Cheers,

Drew

> \Flemming
>
> 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: changing directory listing type

2002-11-26 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-26 14:07:34 +:
> For some reason hidden in the mists of time, the default 'xterm'
> terminal type under FreeBSD is better known elsewhere as 'xterm-mono',
> and you have to change to using 'xterm-color' to get the colourization
> you want

Check the mutt-users@ archives, for example. Thomas E. Dickey,
xterm's maintainer doesn't have much nice to say about the FreeBSD's
xterm termcap description.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: adding ca_ES locale to FreeBSD

2002-11-26 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-24 16:20:19 +0100:
> I'd like to have the ca_ES locale added to FreeBSD. In my -STABLE src
> tree I find:

...

> What would be the fastest way to get this commited? Are there any other
> files which would need some changes? Should I file a PR?
> Should I make a patch to create all the files (hints to obtain a perfect
> patch are welcomed)? To whom should I send it?

a PR containing a patch against latest STABLE should be the fastest
way of getting it commited I guess. see send-pr(1) and/or the page
on www.freebsd.org

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: spoof mac address

2002-11-26 Thread Mike Hogsett

> I want to be able to spoof a mac address of a nic in my machine so i can
> run a router(bsd) parralel to my router (LRP). The reason i want to
> spoof the mac address is because i don't want to call my isp and have
> them change my mac address. can someone tell me where to look or howto
> spoof a mac address in bsd?

ifconfig  ether DE:AD:BE:EF:DE:AD



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



Re: ports/courier-imap in fbsd 4.7.0

2002-11-26 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-26 14:10:29 +0200:
> I trying to compile courier-imap with mysql support
> from ports but, authmysql modules is not build.
> I define to use mysql, recompile, in configuration script
> i show that sucessful have parameter --with-authmysql
> but modules is not build.

what was the exact procedure you used for building courier-imap?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



spoof mac address

2002-11-26 Thread Brian Henning
Hello,
I want to be able to spoof a mac address of a nic in my machine so i can
run a router(bsd) parralel to my router (LRP). The reason i want to spoof
the mac
address is because i don't want to call my isp and have them change my mac
address. can someone tell me where to look or howto spoof a mac address in
bsd?

thanks,
brian


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



RE: spoof mac address

2002-11-26 Thread Yonatan Bokovza
> -Original Message-
> From: Brian Henning [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 26, 2002 19:41
> To: [EMAIL PROTECTED]
> Subject: spoof mac address
> 
> 
> Hello,
> I want to be able to spoof a mac address of a nic in my 
> machine so i can
> run a router(bsd) parralel to my router (LRP). The reason i 
> want to spoof
> the mac
> address is because i don't want to call my isp and have them 
> change my mac
> address. can someone tell me where to look or howto spoof a 
> mac address in
> bsd?

man ifconfig

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



subscribe

2002-11-26 Thread ache
subscribe
end




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



allow write to directory but not modify the dir itself possible?

2002-11-26 Thread Peter Brezny
Hi Everyone,

Is it possible to allow a user write permissions inside a particular
directory, but not allow them to modify the directory itself?

Thanks,


Peter Brezny
Skyrunner.net



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



Re: does FreeBSD have something like OpenBSD's transparent bridge firewall

2002-11-26 Thread Gary W. Swearingen
Bsd Neophyte <[EMAIL PROTECTED]> writes:

> I was reading a bit about this and it seems pretty sweet.  Does FreeBSD
> have anything like this?

It's built into "ipfw" and the kernel.  You must use "options   BRIDGE"
in the kernel build's config file.   You might well use "picobsd" too
and put the bridging OS on a floppy or CD with or without a hard disk 
on the system.  It's part of the basic OS and has it's own manpage.

The LINT file loosely implies that bridging is not usable with the "ipf"
firewall, but that's all I know about it.

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



Re: allow write to directory but not modify the dir itself possible?

2002-11-26 Thread Jerry McAllister
> 
> Hi Everyone,
> 
> Is it possible to allow a user write permissions inside a particular
> directory, but not allow them to modify the directory itself?

Yes.

> 
> Thanks,
> Peter Brezny
> Skyrunner.net

Just take away write permissions on the directory, but leave it 
on the file[s] in the directory.   You have to leave x permission 
on the directory, but not necessarily r permission.

jerry

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



Re: changing directory listing type

2002-11-26 Thread Grant Cooper
> alias lsls -alG

I made the changes to my .cshrc but I had to reboot to make the changes?
Anyway to activate it without rebooting?

I also added  alias ls='ls -G' my /etc/profile but I couldn't get it to work
with 4.5. Do I have to activate this?

- Original Message -
From: "Jack L. Stone" <[EMAIL PROTECTED]>
To: "Ismail YENIGUL" <[EMAIL PROTECTED]>; "Özgür Özaslan"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 6:21 AM
Subject: Re: changing directory listing type


> At 03:54 PM 11.26.2002 +0200, Ismail YENIGUL wrote:
> >hi
> >
> >try   "ls -G" or
> > install gnuls from ports /usr/ports/misc/gnuls and  and run ls --color
> >regard
> >
>
> Easier yet, just add the following line in /etc/profile:
> # alias ls='ls -G'
>
> 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


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



Re: allow write to directory but not modify the dir itselfpossible?

2002-11-26 Thread Paul A. Scott
> Is it possible to allow a user write permissions inside a particular
> directory, but not allow them to modify the directory itself?

The "sticky" bit on the directory might do what you want, depending on your
expectations.

man chmmod

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Re: changing directory listing type

2002-11-26 Thread Jack L. Stone
At 12:14 PM 11.26.2002 -0800, Grant Cooper wrote:
>> alias lsls -alG
>
>I made the changes to my .cshrc but I had to reboot to make the changes?
>Anyway to activate it without rebooting?

Just log out of the shell and next time back in, it should read the settings.

>I also added  alias ls='ls -G' my /etc/profile but I couldn't get it to work
>with 4.5. Do I have to activate this?
>

Next time you boot, it will take effect.

>- Original Message -
>From: "Jack L. Stone" <[EMAIL PROTECTED]>
>To: "Ismail YENIGUL" <[EMAIL PROTECTED]>; "Özgür Özaslan"
><[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Tuesday, November 26, 2002 6:21 AM
>Subject: Re: changing directory listing type
>
>
>> At 03:54 PM 11.26.2002 +0200, Ismail YENIGUL wrote:
>> >hi
>> >
>> >try   "ls -G" or
>> > install gnuls from ports /usr/ports/misc/gnuls and  and run ls --color
>> >regard
>> >
>>
>> Easier yet, just add the following line in /etc/profile:
>> # alias ls='ls -G'
>>



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: starting, stopping, and reloading services

2002-11-26 Thread nuk
On Tue, 26 Nov 2002, iulian wrote:

> On Mon, 25 Nov 2002 23:12:21 -0500 (EST)
> N wrote:
>
> > hmmm... well, cancel most of that; I found it in the hand book.
> Where did you find it, exactly? :)

In section 3.6 'Daemons, Signals, and Killing Processes'

HTH,

nuk

-- 
I know more than enough *nix to do some very destructive things,
and not nearly enough to do very many useful things.


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



Re: changing directory listing type

2002-11-26 Thread Grant Cooper
ignore that,

Just has to log off and re login.

- Original Message -
From: "Grant Cooper" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 12:14 PM
Subject: Re: changing directory listing type


> > alias lsls -alG
>
> I made the changes to my .cshrc but I had to reboot to make the changes?
> Anyway to activate it without rebooting?
>
> I also added  alias ls='ls -G' my /etc/profile but I couldn't get it to
work
> with 4.5. Do I have to activate this?
>
> - Original Message -
> From: "Jack L. Stone" <[EMAIL PROTECTED]>
> To: "Ismail YENIGUL" <[EMAIL PROTECTED]>; "Özgür Özaslan"
> <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 26, 2002 6:21 AM
> Subject: Re: changing directory listing type
>
>
> > At 03:54 PM 11.26.2002 +0200, Ismail YENIGUL wrote:
> > >hi
> > >
> > >try   "ls -G" or
> > > install gnuls from ports /usr/ports/misc/gnuls and  and run ls --color
> > >regard
> > >
> >
> > Easier yet, just add the following line in /etc/profile:
> > # alias ls='ls -G'
> >
> > 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
>
>
> 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: changing directory listing type

2002-11-26 Thread Jerry McAllister
> 
> ignore that,
> 
> Just has to log off and re login.

Well, if you are using csh or tcsh, etc you can just
do   'source .cshrc'  to get it to suck in the latest.

jerry

> 
> - Original Message -
> From: "Grant Cooper" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 26, 2002 12:14 PM
> Subject: Re: changing directory listing type
> 
> 
> > > alias lsls -alG
> >
> > I made the changes to my .cshrc but I had to reboot to make the changes?
> > Anyway to activate it without rebooting?
> >
> > I also added  alias ls='ls -G' my /etc/profile but I couldn't get it to
> work
> > with 4.5. Do I have to activate this?
> >
> > - Original Message -
> > From: "Jack L. Stone" <[EMAIL PROTECTED]>
> > To: "Ismail YENIGUL" <[EMAIL PROTECTED]>; "Özgür Özaslan"
> > <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Tuesday, November 26, 2002 6:21 AM
> > Subject: Re: changing directory listing type
> >
> >
> > > At 03:54 PM 11.26.2002 +0200, Ismail YENIGUL wrote:
> > > >hi
> > > >
> > > >try   "ls -G" or
> > > > install gnuls from ports /usr/ports/misc/gnuls and  and run ls --color
> > > >regard
> > > >
> > >
> > > Easier yet, just add the following line in /etc/profile:
> > > # alias ls='ls -G'
> > >
> > > 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
> >
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 


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



Re: changing directory listing type

2002-11-26 Thread Kliment Andreev
> > Just has to log off and re login.
> 
> Well, if you are using csh or tcsh, etc you can just
> do   'source .cshrc'  to get it to suck in the latest.

... or 

# rehash



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



Re: changing directory listing type

2002-11-26 Thread Jack L. Stone
At 12:29 PM 11.26.2002 -0800, Grant Cooper wrote:
>ignore that,
>
>Just has to log off and re login.
>
>- Original Message -
>From: "Grant Cooper" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Tuesday, November 26, 2002 12:14 PM
>Subject: Re: changing directory listing type
>
>
>> > alias lsls -alG
>>
>> I made the changes to my .cshrc but I had to reboot to make the changes?
>> Anyway to activate it without rebooting?
>>
>> I also added  alias ls='ls -G' my /etc/profile but I couldn't get it to
>work
>> with 4.5. Do I have to activate this?
>>
On the /etc/profile method, sorry, forgot about not wanting to reboot
(although there may be a way w/o reboot). The other method .cshrc should
work on logout/login and there may be a way to do the /etc/profile method
without a reboot. The .cshrc is limited to each user's shell while the
/etc/profile is "global" to all of the shells except the root.  It's been a
long time since I set it up, I just know it works and I prefer it for my
needs.

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: changing directory listing type

2002-11-26 Thread Jack L. Stone
At 02:42 PM 11.26.2002 -0500, Kliment Andreev wrote:
>> > Just has to log off and re login.
>> 
>> Well, if you are using csh or tcsh, etc you can just
>> do   'source .cshrc'  to get it to suck in the latest.
>
>... or 
>
># rehash
>

don't you mean just "hash" rehash is not in an sh shell

Guess this is well-covered though by now...

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



TWIG port but no --with-pgsql and --with-imap with mod_php4

2002-11-26 Thread Jeremy C. Reed
I am unclear why there is a mail/twig port which depends on www/mod_php4
and databases/postgresql7, but mod_php4 isn't built with --with-pgsql and
--with-imap.

Does anyone succesfully use the Twig port using only official FreeBSD
ports?

   Jeremy C. Reed
   http://bsd.reedmedia.net/



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



Re: changing directory listing type

2002-11-26 Thread Peter Leftwich
On Tue, 26 Nov 2002, Grant Cooper wrote:
> ignore that, Just has to log off and re login.

You don't even have to log off and back on.  After you make a change to
your ~/.cshrc or ~/.tcshrc file, you can simply run `source ~/.cshrc`

The only problem you can run into is kind of meshing aliases together, for
example if you had three different aliases that do the same exact thing.

I have been a tcsh shell user for the past 10+ years so I'd be happy to
forward you parts of my ~/.cshrc with commentary about what each part does
if you are interested.

By the way, it doesn't hurt to use full paths in aliases.  That way you
don't get into circular stuff, for example, use this instead:

alias ls "/bin/ls -alG"

> - Original Message -
> From: "Grant Cooper" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 26, 2002 12:14 PM
> Subject: Re: changing directory listing type
>
> > > alias lsls -alG
> > I made the changes to my .cshrc but I had to reboot to make the changes?
> > Anyway to activate it without rebooting?
> >
> > I also added  alias ls='ls -G' my /etc/profile but I couldn't get it to work
> > with 4.5. Do I have to activate this?
> >
> > - Original Message -
> > From: "Jack L. Stone" <[EMAIL PROTECTED]>
> > To: "Ismail YENIGUL" <[EMAIL PROTECTED]>; "Özgür Özaslan"
> > <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Tuesday, November 26, 2002 6:21 AM
> > Subject: Re: changing directory listing type
> >
> > > At 03:54 PM 11.26.2002 +0200, Ismail YENIGUL wrote:
> > > >hi - try   "ls -G" or
> > > > install gnuls from ports /usr/ports/misc/gnuls and  and run ls --color
> > > >regard
> > > Easier yet, just add the following line in /etc/profile:
> > > # alias ls='ls -G'
> > >
> > > Best regards,
> > > Jack L. Stone,
> > > Administrator
> > >
> > > SageOne Net
> > > http://www.sage-one.net
> > > [EMAIL PROTECTED]

--
Peter Leftwich
President & Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com

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



Re: changing directory listing type

2002-11-26 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-26 15:33:57 -0500:
> By the way, it doesn't hurt to use full paths in aliases.  That way you
> don't get into circular stuff, for example, use this instead:
> 
> alias ls "/bin/ls -alG"

which shell has recursive aliases?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Urgent reply

2002-11-26 Thread mrsabbot02



Mrs MARY Abbot.JOHANNESBURG,SOUTH AFRICA. 
   
ATTN:CEO

 

My name is MARY Abbot ,the wife of late
Mr Abuchi Abbot of Zimbabwe. This might be a surprise
to you about where I got your contact address. I got
your(CONTACT FROM THE SOUTH AFRICA EXCHENGE NETWORK
ONLINE) During the current war against the
farmers in Zimbabwe from the supporters of our
President Robert Mugabe to claim all the white-owned
farms to his party members and his followers, he
ordered all farmers to surrender all farms to his
party members and his followers.

My husband is One of the best farmers in our country
and because he did
not support Mugabes ideas,Mugabes supporters invaded
my husband farm and burnt everything in the farm,killing
my husband and made away with alot of items in my
husband farm.Before his death,my husband had
deposited with a Security Company in
Amsterdam Holland the sum of US$32.6
MILLION(THIRTY TWO MILLION SIX HUNDERD THOUSAND
UNITED STATES DOLLARS).After the death of my husband,
we decided to move to the Republic of SouthAfrica to
leave for the main time
So I decided to contact overseas firm and companies
that will assist me to
move this money out of Holland because as asylum
seekers we are not allowed to operate any Bank
Account within South Africa.

We have agreed to offer you 25% of the total sum for
your assistance,5% will
be mapped out for any expenses that may be incurred
in the course of this transaction while 70% will be
for me and my children to invest in your country.All
I want you to do is to furnish me with your
entire personal phone and fax numbers for
easy communication.Note that
this transaction is 100% Risk free and
absolutely confidential.Thanks and God bless.



BestRegards

Mrs MARY Abbot(for the family)




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



Re: allow write to directory but not modify the dir itselfpossible?

2002-11-26 Thread Paul A. Scott

> From: Jerry McAllister <[EMAIL PROTECTED]>
> Just take away write permissions on the directory, but leave it
> on the file[s] in the directory.   You have to leave x permission
> on the directory, but not necessarily r permission.

That will allow the owner of the file to write, but will not let a user
create new files in the directory.

The 'sticky' bit on the directory will allow anyone to write to the
directory and control their own files but not delete other peoples files or
the directory itself.

chown dirowner:dirgroup dirname
chmod 1777 dirname

This may or may not be what you want, but from the original description it
seems to fit the bill.

Paul


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



Re: Problem pulling particular directory from CVS

2002-11-26 Thread Paul A. Scott
I do the following:

cvs co src/contrib

and I get:
.
.
.
cvs server: Updating src/contrib/bison
cvs server: Updating src/contrib/bzip2
cvs server: Updating src/contrib/com_err
cvs server: Updating src/contrib/cpio
cvs checkout: in directory src/contrib/cvs:
cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: cannot write : No such file or
directory

cvs co stops on the src/contrib/cvs directory and will not go further.

Is there any way to do a checkout on src/contrib while bypassing
src/contrib/cvs? Or, can this be fixed to work?

Thanks,
Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/



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



Re: any advice before I buy a printer for FreeBSD?

2002-11-26 Thread Wayne Lubin

--- Kevin Stevens <[EMAIL PROTECTED]>
wrote:
> 
> On Sunday, Nov 24, 2002, at 23:08 US/Pacific, Cliff
> Sarginson wrote:
> 
> > On Sun, Nov 24, 2002 at 10:19:31PM -0600, David
> Kelly wrote:
> >> On Sunday 24 November 2002 09:45 pm, BSD baby
> wrote:
> >>> Any advice before I buy a printer for FreeBSD?
> >>>
> >>> I'm finally going to get a printer for my
> FreeBSD devbox this week.
> >>>
> >>> Are they all pretty much FreeBSD-compatible?
> >>> or is there some spec I need to look for?
> >>>
> >>> I assume parallel port is still the way to go
> >>> or is USB really ready on FreeBSD?
> >>
> >> The most painless way to print within FreeBSD is
> with a Postscript
> >> printer which speaks lpd protocol on ethernet.
> >>
> > Sadly this is quite an expensive way.
> 
> If you can find one on eBay or somewhere, look into
> a Lexmark Optra 
> Color 40 (or 45).
> Nice color inkjet printer, WITH Postscript.  It
> comes with a fighting 
> 2MB of memory, but add a 32 or 64MB SIMM and you're
> good to go; prints 
> great from FreeBSD, WinXP, and Mac OS X.  I've 
> loved mine for two 
> years, and recently acquired another NIB that I
> might, MIGHT be talked 
> out of.  Better yet, go find your own - should be
> less than $100.  
> Recommended.
> 
> KeS
> 
> BTW, I was recently looking to see what else is out
> there, and the best 
> I came up with is an HP 2280 at $450.
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of
> the message

I think the best thing to do is look at the man page
for gs and look at the sDEVICE swith options which
tells you basicaly which printers it will support. And
buy a printer that it supports and then all you have
to do when you want to print something is convert it
to postscript and then give it to ps to print it. Well
at least this way works for me.

Wayne

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

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



"Invalid user" box pops up on gaim start up

2002-11-26 Thread Stacey Roberts
Hi,
  Ever since I portupgraded gaim to gaim v0.59.6 recently, every time I
sign on to any of my defined accounts, I get two dialogue boxes saying:
"Invalid User" popping up that I have to click on "OK" (for both) before
I can start using gaim.

Is anyone else seeing this? Here's the uname info:
# uname -r
4.7-STABLE
# 

Thanks in advance.

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

Web: www.vickiandstacey.com



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



Re: Find abandoned packages

2002-11-26 Thread Gary W. Swearingen
Roman Neuhauser <[EMAIL PROTECTED]> writes:

>4. You have already shown that you (falsely) think MIME email ==
>   HTML email.

I surely didn't think that, but HTML was all I mentioned because I did
(falsely) think that MIME email was almost always either HTML or
complex stuff like MSFT Word or multipart things with images, etc.  I
didn't know it could be as simple as a non-MIME message with a
"MIME-Version: 1.0" header inserted, with or without a
"Content-type: text/plain; charset=something" header.

Per your suggestion, I've just read some of RFC-2045, but not all 31
pages or the several other RCFs which are essentially parts of it.
But I think I've learned a few things new to me and, apparently, you.

>2. 3. and 4. lead me to the conclusion that it *was* a MIME message,
>despite 1.

You are corrrect.  I've been missing that fact that MIME is often used
for (sort of) plain text messages.  Here are the offending message's key
headers with the false claim of charset, like you said:

Content-Type: text/plain;   charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

> AFAIK, this has changed with MIME. RFC 822 restricts email messages
> to 7 bits (ASCII), ...

Looks like we're both wrong, if non-STMP MTAs are allowed.  MIME hasn't
changed anything at the level I was thinking about (MTA) -- after MIME
encoding, if any.

First, both non-MIME and MIME messages MUST have only 7-bit data if they
want to get thru a SMTP system. RFC-2045 says:

   RFC 821 (SMTP) restricts mail messages to 7bit US-ASCII data with
   lines no longer than 1000 characters including any trailing CRLF line
   separator.

Second, non-MIME messages MAY have 8-bit data if they are using
"less restrictive transports" (than SMTP). RFC-2045 says:

   In the absence of a MIME-Version field, a receiving mail user agent
   (whether conforming to MIME requirements or not) may optionally
   choose to interpret the body of the message according to local
   conventions.  Many such conventions are currently in use and it
   should be noted that in practice non-MIME messages can contain just
   about anything.

>  ... but MIME allows different charecter sets, like
> UTF8. What is still a possibility is that such a message will get
> mangled on its way by an MTA that assumes all data is ASCII, but I
> don't remember seeing anything like that happen.

But assuming SMTP MTAs, those different character sets are in the same
category as any other non-7-bit data; they require encoding to 7-bit
data so that those ASCII-assuming MTAs won't mangle them.  MIME has
options for other (eg, 8-bit) encodings or no encoding, but they are
likely to be mangled on the Internet.

> BTW, RFC 2045 specifies a way to pass non-ASCII messages through
> MTA's that assume all-ASCII world: the Content-Transfer-Encoding
> header.

Yes.  The default MIME encoding is none; the message must be 7-bit clean
for SMTP MTAs.  The offending message used "quoted-printable" which is
almost like 7-bit, except that 8-bit characters (and a few 7-bit'ers)
are encoded as "=#", where "#" is the 8-bit value encoded as two ASCII
HEX digits.  (The offending message had that OK.)  A more reliable
(but unreadable) 7-bit encoding is "base64".  Other encodings allow for
encodings to 8-bit data, no encoding, etc.


There's a whole other aspect of this that deserves mention.  Even if
MSFT software worked correctly, telling the truth about its weird
character set and properly encoding it, it's unlikely that my MUA
(Xemacs) would know how to decode it properly.  If it did, it would need
to either decode to the original weird character and support the display
of that, or translate the decoded character set to some other character
set, like probably Unicode.  (Which Xemacs might even support, I don't
know -- I HAVE noticed that has started displaying trademark symbols,
for instance where it probably used to show it as an octal number
(\###).)


Thanks for the education-inducing dialog.

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



Re: Problem pulling particular directory from CVS

2002-11-26 Thread Paul A. Scott

> From: Dan Nelson <[EMAIL PROTECTED]>
> Are you maybe running out of space on your local drive?  You might also
> have a corrupted CVS repo, but I don't think you'd be getting those
> errors in that case.

No, I have over 40GB available on the filesystem.

CVSROOT is set to :pserver:[EMAIL PROTECTED]:/home/ncvs
so, if the repository is corrupt, then someone else has to fix it.

I've tried scratching everything on my end, and starting with a clean
working directory, but that didn't make a difference.

Most likely, there's something wrong at the server side. Can it be fixed?

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Re: "Invalid user" box pops up on gaim start up

2002-11-26 Thread Joe Marcus Clarke
On Tue, 2002-11-26 at 16:41, Stacey Roberts wrote:
> Hi,
>   Ever since I portupgraded gaim to gaim v0.59.6 recently, every time I
> sign on to any of my defined accounts, I get two dialogue boxes saying:
> "Invalid User" popping up that I have to click on "OK" (for both) before
> I can start using gaim.
> 
> Is anyone else seeing this? Here's the uname info:
> # uname -r
> 4.7-STABLE
> # 
> 
> Thanks in advance.

Just FYI, marcus (just me) is the maintainer of gaim.  Therefore, I'm
removing freebsd-gnome from the Cc.  I am unable to reproduce your
problem (and thus far, you are the only user to complain).  What
accounts are you trying to sign in on?  Are you sure it's not your
account data that's messed up?

Joe

> 
> Stacey
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




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



Re: "Invalid user" box pops up on gaim start up

2002-11-26 Thread Stacey Roberts
Hi Marcus,
   Sorry about that, I always see your name associated with gnome, so I
sort of (wrongly) presumed that this would fall into that category.

On Tue, 2002-11-26 at 21:48, Joe Marcus Clarke wrote:
> On Tue, 2002-11-26 at 16:41, Stacey Roberts wrote:
> > Hi,
> >   Ever since I portupgraded gaim to gaim v0.59.6 recently, every time I
> > sign on to any of my defined accounts, I get two dialogue boxes saying:
> > "Invalid User" popping up that I have to click on "OK" (for both) before
> > I can start using gaim.
> > 
> > Is anyone else seeing this? Here's the uname info:
> > # uname -r
> > 4.7-STABLE
> > # 
> > 
> > Thanks in advance.
> 
> Just FYI, marcus (just me) is the maintainer of gaim.  Therefore, I'm
> removing freebsd-gnome from the Cc.  I am unable to reproduce your
> problem (and thus far, you are the only user to complain).  What
> accounts are you trying to sign in on?  Are you sure it's not your
> account data that's messed up?

I'm trying to sign onto my MSN Messenger account. Not sure what you
meant by messed up - its fairly straight-forward information to use in
order to log in.

Any more info I can supply to you?

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

Web: www.vickiandstacey.com



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



Re: Sony AIT tape position question

2002-11-26 Thread Matthias Trevarthan
Well, it's been a while since this was posted, but 
I'm just getting a chance to re-investigate the 
possibility of determining my Sony AIT tape 
drive's wound position. It would be extremely 
convenient to read via the command line in my 
backup scripts, and for remote administration.

See replies listed below:


On Wednesday 30 October 2002 16:26, Dan Nelson 
wrote:
> In the last episode (Oct 30), Matthias 
Trevarthan said:
> > I have a Sony AIT tape drive (one of the
> > nifty 4 tape autoloaders): TSL-SA300C.  It
> > has a nice little display on the front that
> > indicates the tape's "wound" status. When the
> > tape is fully rewound, the bar graph is full.
> > When the tape is fully recorded, or wound,
> > the bar graph is empty.
> >
> > Is there any way that I can detect this
> > programmatically? I would like my scripts to
> > be intelligent enough that they can
> > approximate the size required for a dump, and
> > the size left on the tape.
>
> That's difficult.  There definitely isn't any
> standard SCSI command for pulling this info. 
> Sony might provide it in a vendor-specific
> modepage (readable with the "camcontrol
> modepage" command; you can decode
> vendor-specific pages by adding entries to
> /usr/share/misc/scsi_modes). See if you can
> find a technical manual for the AIT drive.

Hmmm executed this:

--
camcontrol devlist
--

and got this:

--
  at scbus1 
target 5 lun 0 (pass0,sa0)
  at scbus1 
target 5 lun 1 (pass1,ch0)
--

Then, I used that information to execute this:

--
camcontrol modepage 1:5:0 -m 2
--

and got this for output:

--
Buffer Full Ratio:  0
Buffer Empty Ratio:  0
Bus Inactivity Limit:  0
Disconnect Time Limit:  0
Connect Time Limit:  0
Maximum Burst Size:  1566
DTDC:  0
--

I couldn't get modepage output if I requested more 
than or fewer than 2 pages.

How do I use this output? What is it? I'm not 
familiar with low level SCSI, or FreeBSD Cam. But 
if you can give me some on-line references, I'd 
be happy to educate myself. (story of my life!)

>
> > (I would also like to detect which tape I
> > have loaded at any given point, but I suspect
> > that is outside the bounds of standard SCSI
> > communication. I'd probably need some
> > proprietary code to do this...)
>
> If your autoloader has a barcode scanner, you
> can read the labels with the "chio status"
> command.

Once I installed the 'ch' driver in the kernel, 
'chio' works great. I can now determine which 
tape is loaded, and swap tapes from the command 
line. Cool stuff.

Thanks!

>
> > When I use the 'mt' command with 'rdspos' I
> > get a block number. Would this number be
> > useful in determining how wound the tape is?
> > If so, how would I go about interpreting this
> > as a percentage or as a byte volume?
>
> rdspos gives you the logical scsi block number,
> which doesn't mean much if your tape does
> hardware compression, since a tape full of
> zeros will have more logical blocks on it than
> a tape full of zip files.  rdhpos might work
> better, if the tape drive actually ends up
> writing fixed-size blocks to tape.

I've tried to figure out a rhyme or reason to the 
rdspos and rdhpos outputs, but since my drive 
uses variable block size, I'm afraid it's 
hopeless It gives me a number, but I can't 
make any sense of it. I've tried multiplying by 
1024, 512, 2048, 256, 128, etc... but nothing 
comes up with a number close to what the drive's 
LCD "wound" indicator displays.

Thanks.

I hope you can point me in the right direction for 
the modepage thing.

Matthias


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



Re: pybliographer does not install with pkg_add

2002-11-26 Thread paul beard
Kirk R. Wythers wrote:


Is pybliographer available as a package (I'm getting tired of 
fighting
with the port)? If so, does anyone know what to pass to pkg_add -r?
pkg_add -r pybliographer, does not seem to work:

what problems are you having with the port? I tried it and found a 
couple of missing dependencies (libgda and gconf) that wouldn't 
build, but pkg_add -rv took care of them. Now it seems gnome-db is 
needed as well: I'll see how that goes.

Can you pass along an error message?


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

weblog @ 

Death is life's way of telling you you've been fired.
		-- R. Geis


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


Re: starting, stopping, and reloading services

2002-11-26 Thread Giorgos Keramidas
On 2002-11-26 08:43, iulian <[EMAIL PROTECTED]> wrote:
> On Mon, 25 Nov 2002 23:12:21 -0500 (EST)  N wrote:
> > hmmm... well, cancel most of that; I found it in the hand book.
>
> Where did you find it, exactly? :)

I think he was referring to:

"Starting Services".  Section 6.5. of the FreeBSD Handbook.
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/configtuning-starting-services.html

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



Re: starting, stopping, and reloading services

2002-11-26 Thread Giorgos Keramidas
On 2002-11-25 23:12, nuk <[EMAIL PROTECTED]> wrote:
> hmmm... well, cancel most of that; I found it in the hand book.  Except
> the part:  Isn't there an easier way?  Or is there a good reason for doing
> it like this, or a reason *not* to write a local script to
> start/stop/whatever based on the arguments passed to it?

The usual reason for such things is "nobody has done it already".
But in this case...

NetBSD has something similar to the scripts that SysV systems use
(like most Linux distributions).  The scripts still use rc.conf for
configuring the options and parameters of the services, and /etc/rc
takes care of running the proper /etc/rc.d/service scripts when the
system boots (or shuts down).  The order that the /etc/rc.d scripts
are executed is dynamically changed to satisfy dependencies that
these scripts might have.

The NetBSD rc scripts have been ported to FreeBSD 5.0 and have been
tested for quite a while in the CURRENT branch.  The upcoming
5.0-RELEASE of FreeBSD will use these scripts by default.

Now, I do realise that a lot of users will stick to 4.x releases until
the 5.x branch is considered stable enough for their purposes, and the
release notes of 5.0 include an "Early Adopter's Guide" that describes
why one would probably avoid running a 5.x release for some time.
Yet, this seemed like a good opportunity for me to advocate one of the
new, cool and exciting changes that 5.x will bring to the world :-]


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



Re: "Invalid user" box pops up on gaim start up

2002-11-26 Thread Joe Marcus Clarke
On Tue, 2002-11-26 at 16:55, Stacey Roberts wrote:

> I'm trying to sign onto my MSN Messenger account. Not sure what you
> meant by messed up - its fairly straight-forward information to use in
> order to log in.

I meant that the MSN servers may be messed up.  I don't have an MSN
account myself, so I can't verify.

> 
> Any more info I can supply to you?

Unless it's crashing, or you're using AIM or Yahoo, I probably won't be
albe to do much to troubleshoot.  You might want to send an email to
[EMAIL PROTECTED] to see if someone there can help you
out.  The msn code hasn't changed since 0.59.3.

Joe

> 
> Stacey
> > 
> > Joe
> > 
> > > 
> > > Stacey
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




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



Re: does ucom0 work?

2002-11-26 Thread Simon Dick
On Thu, 2002-11-21 at 11:42, Dan Pelleg wrote:
> David Banning <[EMAIL PROTECTED]> writes:
> 
> > I have been getting the error;
> > 
> > Oct 28 11:51:53 ada /kernel: ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00,
> > +addr 2
> > Oct 28 11:51:53 ada /kernel: ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00,
> > +addr 2
> > Oct 28 11:51:53 ada /kernel: ucom0: init failed, STALLED
> > Oct 28 11:51:53 ada /kernel: device_probe_and_attach: ucom0 attach returned 6
> > 
> > in the log when I attach and hit the hotsync on my palm device.
> > 
> > one of the developers at pilot-link had mentioned this as an unfixed 
> > error on getting pilot-link working with FreeBSD's USB port.
>  
> > Is this error a FreeBSD error? Is there FreeBSD'ers using ucom0 successfully?
> > 
> 
> ucom with uvisor certainly works for me. Look in the archives of the
> freebsd-stable list for a message I sent a few weeks ago that has a few
> tips and gotchas in it.

I think it's probably a case of it works with some Palms but not others
(e.g. my Clie T625c or Palm Tungsten T, so I've never got it working
yet!)



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



Re: does ucom0 work?

2002-11-26 Thread Larry Rosenman


--On Tuesday, November 26, 2002 18:45:59 + Simon Dick 
<[EMAIL PROTECTED]> wrote:

On Thu, 2002-11-21 at 11:42, Dan Pelleg wrote:

David Banning <[EMAIL PROTECTED]> writes:

> I have been getting the error;
>
> Oct 28 11:51:53 ada /kernel: ucom0: Palm, Inc. Palm Handheld, rev
> 1.00/1.00, +addr 2
> Oct 28 11:51:53 ada /kernel: ucom0: Palm, Inc. Palm Handheld, rev
> 1.00/1.00, +addr 2
> Oct 28 11:51:53 ada /kernel: ucom0: init failed, STALLED
> Oct 28 11:51:53 ada /kernel: device_probe_and_attach: ucom0 attach
> returned 6
>
> in the log when I attach and hit the hotsync on my palm device.
>
> one of the developers at pilot-link had mentioned this as an unfixed
> error on getting pilot-link working with FreeBSD's USB port.

> Is this error a FreeBSD error? Is there FreeBSD'ers using ucom0
> successfully?
>

ucom with uvisor certainly works for me. Look in the archives of the
freebsd-stable list for a message I sent a few weeks ago that has a few
tips and gotchas in it.


I think it's probably a case of it works with some Palms but not others
(e.g. my Clie T625c or Palm Tungsten T, so I've never got it working
yet!)



This is a known issue...  the Pilot-link guys are working on it (see the 
p-l list
and/or the folks that hang out in #pilot-link on irc.pilot-link.org).

There may be errors in both the USB stack and/or Pilot-Link.

LER


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





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




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



No USB host controllers found

2002-11-26 Thread David Banning
I was compiling my kernel with different usb options, trying
to get a usb option working and I not get this error whenever I 
try to run usbd;

No USB host controllers found

I have restored my previous kernel settings, even tried to build
a kernel with GENERIC. I have cvsuped stable-supfile and even
done a "make world" followed by a new kernel.

Any idea what is causing my problem?



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



Re: FIGURED IT OUT!!! (was): Can't seem to assign a differentport for http (apache)

2002-11-26 Thread Paul A. Scott

> From: Jan Grant <[EMAIL PROTECTED]>
> IE does what you tell it if you give it a proper URL.

Very true.

> That it doesn't behave in the way you intended when you gave
> it a non-standardised, abbreviated input, is not something that
> it should be castigated for - unless you count teaching people
> the notion that "www.example.org" is a valid URL.

Well, that's one way of looking at it. However, since IE seems to go out of
it's way to "help" you out, one would NOT necessarily be WRONG to expect
that it would "help" consistently.

If I simply type "apple" in the "address bar" IE will prefix "apple" with
"http://www."; and add the ".com" suffix, after failing to connect to just
"apple". Likewise, if I simply type an ip address, IE will prefix it with
"http://";. You really get used to these SHORTCUTS, and begin to depend on
them. So, it's NOT really WRONG to expect that "192.168.1.1:80" will give
the same results as "192.168.1.1".

IN FACT, Mozilla Navigator, Opera, and other browsers WILL work as expected
if you type either "192.168.1.1" or "192.168.1.1:80".

To expect ANYTHING LESS could be considered WRONG.

IMHO, M$ should fix this "problem". :)

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Re: No USB host controllers found

2002-11-26 Thread David Banning
On Tue, Nov 26, 2002 at 02:04:30PM -0500, David Banning wrote:
> I was compiling my kernel with different usb options, trying
> to get a usb option working and I not get this error whenever I 
> try to run usbd;
> 
> No USB host controllers found

I found the problem. I deleted usb0 and usb1.  

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



Re: FIGURED IT OUT!!! (was): Can't seem to assign a different port for http (apache)

2002-11-26 Thread Mike Hogsett

> If I simply type "apple" in the "address bar" IE will prefix "apple"
> with "http://www."; and add the ".com" suffix, after failing to connect
> to just "apple".

I do not find this to be the case.  I have a machine (hogx.csl.sri.com)
and on my windows box if I enter "hogx" into the location field it never
connects to http://hogx/ despite the fact that both machines are in the
same domain (.csl.sri.com) and that the windows box is configured with
this domain as its default domain and as a domain to search in.



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



port redirect with ipfw NOT NAT (not NAT)

2002-11-26 Thread Josh Brooks

Hello,

I want to perform a very simple act:

All traffic going to 10.10.10.10 port 50
should go to
10.10.10.10 port 5050

That's it.  The trick is, I am _not_ interested in running NAT.  This is
not some cable modem or laptop splitting my DSL service - this is a
rackmount firewall on a real network.  So again, I do not have any
interest in running NAT in any form.  Not interested, thanks.

But, I cannot seem to figure out what the ipfw rule is to perform this
simple task.  So the question is:


What is the ipfw syntax to redirect all traffic from one port to another.


Thanks!




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



Pine is being slow

2002-11-26 Thread Steven Lake
I've noticed lately that when doing mail or many other things in
Pine as of late, it's been very slow.  This includes moving between
screens, into and out of messages, marking and deleting messages, closing
the program, etc.

Not sure if this is related to my SSH sessions or not because I've
noticed periodical lag with those too.  Just not to the degree I see in
Pine.  The box is running 95-98% idle, so I know it's not maxed out or
under load.  It's just so weird to see it act this way.  Anyone ever
encounter anything like this?  What can I do to fix this?  Much
apreciated.  Thanks.


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



Re: allow write to directory but not modify the dir itself possible?

2002-11-26 Thread Jerry McAllister
> 
> Thanks again Jerry,
> 
> I really need something that will allow users to do everything within a
> directory but not be able to do anything to the directory itself (like
> remove it or rename it)...
> 
> They've got to be able to put files in the directory and take others out of
> it etc...
> 
> Any ideas there?

Well, you could chroot(8) them to that directory.   That would make it 
their root (eg /) and they wouldn't be able to do anything to the 
directory per se.  It would be their home directory while they were 
logged (or ftp-d) in.  They could even add directories under it, etc.
If you chroot them, you have to set up appropriate copies of binaries
(/bin /sbin/ usr/bin /usr/sbin, etc) that they will need to use while
logged in.

Another thing to consider is jail(8) which is sort of more intense along 
the same line.   It really depends on what else the users will need to do
while logged in.

jerry

> 
> 
> Peter Brezny
> Skyrunner.net
> 
> 
> -Original Message-
> From: Jerry McAllister [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 26, 2002 3:43 PM
> To: Peter Brezny
> Cc: Jerry McAllister
> Subject: Re: allow write to directory but not modify the dir itself
> possible?
> 
> 
> >
> > Thanks Jerry,
> >
> > I'll give this another try.  I think i already tried to do this, but since
> > there wern't already files in the directory...
> 
> The think that usually gets missed is leaving x execute permission
> on the directory.   Without that it won't let you at files in
> the directory regardless of their permissions.
> 
> Without write permission on the directory, users won't be able
> to create files in the directory - just rewrie in place existing files.
> 
> Anyway, I think that is the way I remember doing it.
> 
> Using the sticky bit can also make it so users can only modify their
> own files within a directory.  But, that still lets them modify the
> directory by creating new files and deleting files.
> 
> jerry
> 
> >
> > I'll do some experimenting again.
> >
> >
> > Peter Brezny
> > Skyrunner.net
> >
> >
> > -Original Message-
> > From: Jerry McAllister [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, November 26, 2002 2:09 PM
> > To: Peter Brezny
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: allow write to directory but not modify the dir itself
> > possible?
> >
> >
> > >
> > > Hi Everyone,
> > >
> > > Is it possible to allow a user write permissions inside a particular
> > > directory, but not allow them to modify the directory itself?
> >
> > Yes.
> >
> > >
> > > Thanks,
> > > Peter Brezny
> > > Skyrunner.net
> >
> > Just take away write permissions on the directory, but leave it
> > on the file[s] in the directory.   You have to leave x permission
> > on the directory, but not necessarily r permission.
> >
> > jerry
> >
> >
> 
> 
> 


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



Re: Mail to News software suggestions?

2002-11-26 Thread Vivek Khera
> "DL" == Doug Lee <[EMAIL PROTECTED]> writes:

DL> I want to read busy mailing lists with nn or trn.  I have space to
DL> store the messages as news articles locally.  I'm looking for a
DL> system that will take incoming list mail and deposit it in "newsgroups"
DL> I create for them on this machine.  I use procmail, so it would be

Download and read the commentary in

 http://www.cpan.org/authors/id/V/VK/VKHERA/mail2news-1.14

I use this gateway to read the freebsd lists, and various other high
volume lists that a few of us read here.  I keep archives for 6
months, but that's all configured via my INN installation.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

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



Re: Mail to News software suggestions?

2002-11-26 Thread Doug Lee
On Tue, Nov 26, 2002 at 01:09:16PM -0800, Vivek Khera wrote:
> > "DL" == Doug Lee <[EMAIL PROTECTED]> writes:
> 
> DL> I want to read busy mailing lists with nn or trn.  I have space to
> DL> store the messages as news articles locally.  I'm looking for a
> DL> system that will take incoming list mail and deposit it in "newsgroups"
> DL> I create for them on this machine.  I use procmail, so it would be
> 
> Download and read the commentary in
> 
>  http://www.cpan.org/authors/id/V/VK/VKHERA/mail2news-1.14
> 
> I use this gateway to read the freebsd lists, and various other high
> volume lists that a few of us read here.  I keep archives for 6
> months, but that's all configured via my INN installation.

I'll plan to check that out, as well as www.gmane.org, which was also
suggested here, and nntpcache, which looks like a way to speed up my
news access while allowing me to merge this specialized hierarchy with
standard newsgroups without even needing to store local article trees.

Thanks, all, for the valuable input.

-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
Bartimaeus Group   [EMAIL PROTECTED]   http://www.bartsite.com
"This page is best viewed with your monitor switched on."
--from Antiword web site (http://www.winfield.demon.nl/index.html)

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



Re: Problem pulling particular directory from CVS

2002-11-26 Thread Dan Nelson
In the last episode (Nov 26), Paul A. Scott said:
> I do the following:
> 
> cvs co src/contrib
> 
> and I get:
> .
> .
> .
> cvs server: Updating src/contrib/bison
> cvs server: Updating src/contrib/bzip2
> cvs server: Updating src/contrib/com_err
> cvs server: Updating src/contrib/cpio
> cvs checkout: in directory src/contrib/cvs:
> cvs checkout: cannot open CVS/Entries for reading: No such file or directory
> cvs [checkout aborted]: cannot write : No such file or directory

Are you maybe running out of space on your local drive?  You might also
have a corrupted CVS repo, but I don't think you'd be getting those
errors in that case.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: Which package installs Pod::Usage ?

2002-11-26 Thread Ceri Davies
On Tue, Nov 26, 2002 at 02:54:51PM +, Matthew Seaman wrote:
> On Tue, Nov 26, 2002 at 01:23:42PM +, Ceri Davies wrote:

> > Could someone please mail me the output of:
> > 
> > pkg_info -W /usr/local/lib/perl5/site_perl/5.005/Pod/Usage.pm
> 
> Pod::Usage is bundled with perl-5.6.1 or perl-5.8.0, otherwise you
> need to install the textproc/p5-PodParser port.

Ah, that's what I was after, thank you.
Bad net/mrtg port, bad.

Ceri
-- 
The legions of the rune have brought your defeat!

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



Re: port redirect with ipfw NOT NAT (not NAT)

2002-11-26 Thread Scott A. Moberly
>
> Hello,
>
> I want to perform a very simple act:
>
> All traffic going to 10.10.10.10 port 50
>   should go to
> 10.10.10.10 port 5050
>
> That's it.  The trick is, I am _not_ interested in running NAT.  This is
> not some cable modem or laptop splitting my DSL service - this is a
> rackmount firewall on a real network.  So again, I do not have any
> interest in running NAT in any form.  Not interested, thanks.
>
> But, I cannot seem to figure out what the ipfw rule is to perform this
> simple task.  So the question is:
>
>
> What is the ipfw syntax to redirect all traffic from one port to
> another.
>
>
> Thanks!

Have you tried something like:

add 01000 fwd 10.10.10.10,5050 tcp from any to 10.10.10.10 50

---
Scott A. Moberly
[EMAIL PROTECTED]



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



Re: 5.0-DP2 ACLs on UFS2

2002-11-26 Thread Robert Watson

On Mon, 25 Nov 2002 [EMAIL PROTECTED] wrote:

> I've recently installed FreeBSD 5.0-DP2 to get myself familiar with the
> upcoming ACLs present in -CURRENT before the release itself. I've setup
> a test machine with one 45gb ide drive with one slice and two partitions
> (/ and swap) and installed FreeBSD on it. 
> 
> dumpfs / shows that root is UFS2, and from reading
> /usr/src/sys/ufs/ufs/README.acls, I don't need to do the extattrctl
> initattr commands since ufs2 supports EA/ACLs natively. Additionally, I
> booted to single user mode and enabled ACLS on / by doing a tunefs -a
> enable /dev/ad0s1a. I proceeded to try getfacl and setfacl. 
> 
> getfacl returned the default settings (just stat() in ACL form according
> to Robert Watson), however, no matter what I tried all I could get with
> setfacl -m g:mail:rwx testfile was: 
> 
> setfacl: acl_get_file() failed: Operation not supported
> 
> I thought perhaps the tunefs on the ro mount of / did not take. So
> instead I used the mount time flag in fstab: 
> 
> /dev/ad0s1a / ufs rw,acls 1 1
> 
> I rebooted, and tried again. Yet I still get the same error message with
> setfacl. At this point I'm stuck. Is it because I only have / and not /
> and /usr? Does UFS2 with EA/ACLs not work on boot partitions? Or did I
> misunderstand something when trying to setup ACLs in -CURRENT? Any
> advice right now would be welcomed. Thanks. 

ACLs should work fine on any UFS2 partition where ACLs are enabled.  I'm
wondering if it's actually UFS2, or if dumpfs is lying to you.  Could you
try the following command:

touch /foo
setextattr system foo foo /foo
getextattr system foo /foo

And tell me what results you get?  That will tell us if extended
attributes are available or not.

Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
[EMAIL PROTECTED]  Network Associates Laboratories



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



Re: 5.0-DP2 ACLs on UFS2

2002-11-26 Thread Juli Mallett
* De: Robert Watson <[EMAIL PROTECTED]> [ Data: 2002-11-26 ]
[ Subjecte: Re: 5.0-DP2 ACLs on UFS2 ]
> ACLs should work fine on any UFS2 partition where ACLs are enabled.  I'm
> wondering if it's actually UFS2, or if dumpfs is lying to you.  Could you

libufs stores the UFS version in disk.d_ufs based on the magic in the sblock
it finds, and then dumpfs simply does something like

printf("UFS%d", disk.d_ufs);

More or less...  So if it's lying, there's something much more fundamentally
wrong :)
-- 
Juli Mallett <[EMAIL PROTECTED]>
OpenDarwin, Mono, FreeBSD Developer.
ircd-hybrid Developer, EFnet addict.
FreeBSD on MIPS-Anything on FreeBSD.

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



Re: Sony AIT tape position question

2002-11-26 Thread Dan Nelson
In the last episode (Nov 26), Matthias Trevarthan said:
> Well, it's been a while since this was posted, but I'm just getting a
> chance to re-investigate the possibility of determining my Sony AIT
> tape drive's wound position. It would be extremely convenient to read
> via the command line in my backup scripts, and for remote
> administration.
> 
> Then, I used that information to execute this:
> 
> camcontrol modepage 1:5:0 -m 2
> 
> and got this for output:
> 
> Buffer Full Ratio:  0
> Buffer Empty Ratio:  0
> Bus Inactivity Limit:  0
> Disconnect Time Limit:  0
> Connect Time Limit:  0
> Maximum Burst Size:  1566
> DTDC:  0

Ok, that's modepage 2, which is the Disconnect-Reconnect page and
doesn't have any potitional status information anyway.  None of the
standard pages do, so you'll need to look at the SCSI spec document for
the AIT drives.  It's doubtful that one exists; modepages don't seem to
store ephemeral information like tape position.  They're usually used
more for configuration, like enabling retires on error, or adjusting
the streaming buffer sizes.

> > > When I use the 'mt' command with 'rdspos' I get a block number.
> > > Would this number be useful in determining how wound the tape is?
> > > If so, how would I go about interpreting this as a percentage or
> > > as a byte volume?
> >
> > rdspos gives you the logical scsi block number, which doesn't mean
> > much if your tape does hardware compression, since a tape full of
> > zeros will have more logical blocks on it than a tape full of zip
> > files.  rdhpos might work better, if the tape drive actually ends
> > up writing fixed-size blocks to tape.
> 
> I've tried to figure out a rhyme or reason to the rdspos and rdhpos
> outputs, but since my drive uses variable block size, I'm afraid it's
> hopeless It gives me a number, but I can't make any sense of it.
> I've tried multiplying by 1024, 512, 2048, 256, 128, etc... but
> nothing comes up with a number close to what the drive's LCD "wound"
> indicator displays.

Try generating 1gb of random data, run a "dd if=randomdata
of=/dev/nrsa0 bs=1m ; mt rdhpos" loop until the tape fills up, and then
graph the results.  If it's a straight line, you can safely use the
results of rdhpos as a rough tape capacity indicator.  If you were not
writing completely random data, chances are your tape drive's
compresion algorithm was screwing up your calculations.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



  1   2   >