ppp confusion

2003-10-07 Thread nevle
hi,
I'm new to BSD and am having trouble configuring my ppp.My ppp.conf file is 
the same as the manual accept for:
line 7 set login
line 15 accept PAP
and line 17 set if addr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
my ppp.linkup file says
MYADDR:
 delete ALL
 add 0 0 HISADDR
my hosts file says 
127.0.0.1 nevsbsd.nevsbsd localhost
The lights on my modem go on when I typeppp -auto myisp  but I don't get PPP 
ON or any indication that I'm connected. I tried ping -c 210.216.27.18 and 
got invalid count of packages to transmit.I've read all the instructions I 
could find but each is slightly different and I'm not sure what to do next.
Any help or suggestions would be gratefully received
thanks in advance 
neville


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


Token Ring card

2003-10-07 Thread ico
Is $subject supported? I can't find any info in hardware compatibility,
so i suppose it's not.
Am i right?

Thank you
-- 
*ico*
freebsd(at)beke.info

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


Re: How to turn off the HDD? How to reduce the overall noise?

2003-10-07 Thread C. Ulrich
On Mon, 2003-10-06 at 14:49, Eric Dillenseger wrote:
 BTW, turning it off is almost useless, as there's often a little
 activity on most *real* OS so reducing noise is better (in fact it
 reduces the spinning speed during heavy operations).
 Just my 2cts.

There's also the case where you might want to shut down a drive which is
rarely used. Such as the case with a Slackware box of mine. One drive in
it is dedicated to backing up some important stuff on the others, so
it's only needed once a day. My init scripts have a line (using hdparm)
that completely shuts off the drive after everything's booted up. At the
appropriate time, the backup script runs from cron, and the mounting of
the disk tells the kernel to spin the drive back up. (Usually takes
about 10 seconds.) Once the backup procedure is complete, it runs hdparm
again to shut the disk off again.

I don't know that powering one drive down saves a ton of money in
electricity, or makes the box much quieter, but I figure it has to be
saving some wear and tear on a disk that gets accessed maybe a maximum
of 30 minutes a day. When I convert the machine to FreeBSD, (one of
those when-I-get-around-to-it projects) I'd like to be able to do the
same thing, so I'll look for the IBM utility and bug this list some more
if it doesn't work out or if I can't find it. :)

Charles Ulrich
-- 
http://bityard.net

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


I try to change atapi_dma to 1 but it doesn't work (It was Re: ATI Radeon IGP 340M)

2003-10-07 Thread Juan Rodriguez Hervella
On Monday 06 October 2003 19:49, Mike Silbersack wrote:
 On Mon, 6 Oct 2003, Juan Rodriguez Hervella wrote:
  Thank you very much.
 
  It's working. I've tried to play a DVD using ogle, but
  it doesn't work very well, the movement isn't steadyI've got
  a friend with the same laptop using Linux and he tells me it works
  nice.so I guess it's a FreeBSD performance problem*sigh*
 
  Thank you anyway.
 
  --
  JFRH

 FreeBSD doesn't enable DMA access to CD/DVD drives by default, that may be
 part of the problem; try enabling atapi_dma (see the ata manpage), that
 might help.

 Mike Silby Silbersack

I've tried both atapi_dma=1 in loader.conf and atacontrol mode 1 udma100 
XXX but when I attempt to access the device, it hangs up.

I copy a dmesg if this can help. Look at the end there are some error 
messages related to ATA

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RELEASE #3: Sun Oct  5 02:07:28 CEST 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/JUANILLO
Timecounter i8254  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (2658.30-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
  
Features=0xbfebf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,
FXSR,SSE,SSE2,SS,HTT,TM,PBE
real memory  = 200736768 (196032K bytes)
avail memory = 189956096 (185504K bytes)
Preloaded elf kernel kernel at 0xc051c000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fdf30
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: PCI to PCI bridge (vendor=1002 device=7010) at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: ATI model 4337 graphics accelerator at 5.0
pci0: unknown card (vendor=0x10b9, dev=0x5451) at 6.0 irq 5
isab0: AcerLabs M1533 portable PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
pci0: unknown card (vendor=0x10b9, dev=0x5457) at 8.0
pci_cfgintr_virgin: using routable interrupt 7
pci_cfgintr: 0:10 INTA routed to irq 7
pcic0: O2micro 6912 PCI-Cardbus Bridge irq 7 at device 10.0 on pci0
pcic0: Could not map register memory 0xd0002000
device_probe_and_attach: pcic0 attach returned 12
uhci0: VIA 83C572 USB controller port 0x2000-0x201f irq 10 at device 11.0 on 
pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: NEC Corporation USB2.0 Hub Controller, class 9/0, rev 2.00/1.00, addr 2
uhub1: 3 ports with 3 removable, self powered
uhci1: VIA 83C572 USB controller port 0x2020-0x203f irq 10 at device 11.1 on 
pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: USB controller at 11.2
pci0: unknown card (vendor=0x104c, dev=0x8026) at 12.0
atapci0: AcerLabs Aladdin ATA100 controller port 0x2040-0x204f irq 0 at 
device 16.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
chip1: AcerLabs M15x3 Power Management Unit at device 17.0 on pci0
sis0: NatSemi DP83815 10/100BaseTX port 0x2400-0x24ff mem 
0xd0008000-0xd0008fff irq 10 at device 18.0 on pci
0
sis0: Ethernet address: 00:0d:9d:46:f2:c9
miibus0: MII bus on sis0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: Option ROMs at iomem 
0xc-0xcefff,0xcf000-0xcf7ff,0xdf000-0xd,0xe-0xe3fff on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
pcic0: Intel i82365SL-DF at port 0x3e0 iomem 0xd on isa0
pcic0: Polling mode
pccard0: PC Card 16-bit bus (classic) on pcic0
pccard1: PC Card 16-bit bus (classic) on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/1 bytes threshold
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
ad0: 38154MB FUJITSU MHT2040AT [77520/16/63] at ata0-master UDMA100
acd0: CD-RW TOSHIBA DVD-ROM SD-R2312 at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
cd0 at ata1 bus 0 target 0 lun 0
cd0: 

Re: I try to change atapi_dma to 1 but it doesn't work (It was Re: ATI Radeon IGP 340M)

2003-10-07 Thread Mike Silbersack

On Tue, 7 Oct 2003, Juan Rodriguez Hervella wrote:

 I've tried both atapi_dma=1 in loader.conf and atacontrol mode 1 udma100
 XXX but when I attempt to access the device, it hangs up.

The same thing happens to me, unfortunately...

Actually, that shouldn't be surprising; I compared dmesgs, and it looks
like we have the same IDE controller and DVD/CD-RW drive; is this a
Compaq/HP laptop?

Soren (the ata driver guy) might be able to debug the problem, but I
haven't taken the time to bother him about it.

Unless you can get him to look at it, you're stuck for now. :)

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


Re: I try to change atapi_dma to 1 but it doesn't work (It was Re: ATI Radeon IGP 340M)

2003-10-07 Thread Juan Rodriguez Hervella
On Tuesday 07 October 2003 09:11, Mike Silbersack wrote:
 On Tue, 7 Oct 2003, Juan Rodriguez Hervella wrote:
  I've tried both atapi_dma=1 in loader.conf and atacontrol mode 1
  udma100 XXX but when I attempt to access the device, it hangs up.

 The same thing happens to me, unfortunately...

 Actually, that shouldn't be surprising; I compared dmesgs, and it looks
 like we have the same IDE controller and DVD/CD-RW drive; is this a
 Compaq/HP laptop?

 Soren (the ata driver guy) might be able to debug the problem, but I
 haven't taken the time to bother him about it.

 Unless you can get him to look at it, you're stuck for now. :)

 Mike Silby Silbersack

Yeah my laptop is HP (at least on the screen it shows HP) and
on the keyboard it shows compaq nx9010. I'm not sure if this is
an HP or Compaq :D

I think I will remain happily stuck. This doesn't seem to be an important
issue as long as I can watch DVDs on windows*sigh*.

Thank you Mike ! :)

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


Re: How to turn off the HDD? How to reduce the overall noise?

2003-10-07 Thread Eric Dillenseger
On Tue, Oct 07, 2003 at 02:50:42AM -0400, C. Ulrich wrote:
 On Mon, 2003-10-06 at 14:49, Eric Dillenseger wrote:
  BTW, turning it off is almost useless, as there's often a little
  activity on most *real* OS so reducing noise is better (in fact it
  reduces the spinning speed during heavy operations).
  Just my 2cts.
 
 There's also the case where you might want to shut down a drive which is
 rarely used. Such as the case with a Slackware box of mine. One drive in
morning joke
Wonderful, and there's also the case where you want to sleep a drive for
hot plug, and there's the case...
But there's the case of the freak who wants to shut his single hard
drive when idle and can't wake it up. (don't laugh i've seen it before)
As he's using softupdates and has tuned his hard drive to get the best 
perfomances,so that he *only* waits 25 secs when launching bloatzilla but
he screwed up his box and comes back posting 
How to turn on HDD after sleep time.
I don't think they're joking when they say Use at your own risk.
Of course the cat of the girlfriend of the friend of one of my cousin
use it and says it works like a charm on screwdrake v12 using kernel
2.6.150-pre7-beta21 and the latest 240Gb sATA drive and an Athl33t XP 
4200+/-...and so on...

Damn! What did you put in my cigarettes??!
/morning joke

-- 
 Enfin vivement les procs optique qui ne chaufferont pas trop ;-)
Vivement les proc quantiques, en rajoutant un glaçon, on pourra même 
les boire ...
[ Eric Dillenseger GPG(OxFF352913) eric(at)naxalite(dot)ath(dot)cx ]


pgp0.pgp
Description: PGP signature


Re: IPF and Routing

2003-10-07 Thread Michael Lee
Hi,

Have you checked the How-to of ipf ?
Mapping Many Addresses Into a Pool of Addresses.

http://www.obfuscation.org/ipf/ipf-howto.html#TOC_31

- Original Message - 
From: Luke Kearney [EMAIL PROTECTED]
To: FreeBSD Questions [EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 10:12 AM
Subject: IPF and Routing



 Hello,
 I have question regarding IPNat and routing. The situation is that I
 need to setup a network where each machine gets a unique global IP
 address from behind a firewall which performs NAT. I have 16 addresses
 so my question is can I alias 14 addresses to the primary nic and then
 config each private address to map directly to one global address or
 have I missed something fundamental about this ?

 Any advice is appreciated.

 TIA LukeK

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



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


RE: Another question - Boot Menu

2003-10-07 Thread Dan Strick
On Mon, 6 Oct 2003, [EMAIL PROTECTED] wrote:
 I too have this problem (I dual boot Win 2K/FreeBSD on my desktop).
 Everything works fine, but I think what Ron wants to know is simply can
 you change the ??? into Windows for example?

The partition type code - OS name translation table is hardwired into
/usr/src/sys/boot/i386/boot0/boot0.s, the source for the master bootstrap
program.  These are the current mappings:

parition codes  string
--  
1,4,6,11,12,14  DOS
99  UNIX
131 Linux
159,166,169 BSD
165 FreeBSD

There isn't enough free space left in boot0 to add any more mappings.
(It has to fit in a 512 byte disk sector).  You could make space by
deleting some of the current mappings or other boot0 program features.
I suspect that you don't want to get into that.

If you want to create your own customized bootstrap menu, you might
look into /usr/ports/sysutils/grub.

If you are curious, you can find a larger partition code table in
/usr/src/sbin/i386/fdisk/fdisk.c.

For an even larger compilation, see

http://www.win.tue.nl/~aeb/partitions/partition_types-1.html

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


sys/i386/i386/exception.s RELENG_4 help to understand several lines

2003-10-07 Thread Andrey Simonenko
Hi,

Help me to understand several lines from RELENG_4
src/sys/i386/i386/exception.s,v 1.65.2.3 file:

   214  calltrap:
   215  FAKE_MCOUNT(_btrap) /* init from _btrap - calltrap */
   216  MPLOCKED incl _cnt+V_TRAP
   217  MP_LOCK
   218  movl_cpl,%ebx   /* keep orig. cpl here during trap() */
   219  call_trap

   220  /*
   221   * Return via _doreti to handle ASTs.  Have to change trap frame
   222   * to interrupt frame.
   223   */
   224  pushl   %ebx/* cpl to restore */
   225  subl$4,%esp /* dummy unit to finish intr frame */
   226  incb_intr_nesting_level
   227  MEXITCOUNT
   228  jmp _doreti

Is everything correct with 218, 219 and 224 lines (or comments are wrong)?

I checked several places in exception.s and vm86bios.s in sys/i386/i386/
and in all places _cpl is saved in the stack, trap() need frame{} in the
stack, so here we can't put _cpl into stack, but it is unclear for
me how above listed lines works.

How can %ebx contain saved _cpl after trap()?

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


Re: Token Ring card

2003-10-07 Thread Kris Kennaway
On Tue, Oct 07, 2003 at 08:41:43AM +0200, ico wrote:
 Is $subject supported? I can't find any info in hardware compatibility,
 so i suppose it's not.
 Am i right?

Nope..see the oltr driver.

Kris


pgp0.pgp
Description: PGP signature


PCI ATA cards and ATAPI devices

2003-10-07 Thread Dan Strick
Can anyone suggest a PCP ATA host adapter card that supports booting
off CD-ROM drives (and is supported by FreeBSD)?

I can't find any PCI cards that do that.

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


PCI ATA cards and ATAPI devices

2003-10-07 Thread Dan Strick
Can anyone suggest a PCI ATA host adapter card that supports booting
off CD-ROM drives (and is supported by FreeBSD)?

I can't find any PCI cards that really support ATAPI devices.

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


FreeBSD won't work on Toshiba Satellite 3000

2003-10-07 Thread ATM
Dear Sir or Madame,

I can't install FreeBSD 5.1 on my laptop (toshiba satellite 3000). The 
boot/installation CD stops during initiation. I am very willing to work on FreeBSD.

What can I do about it??

ATM
__
Andrew T. Matuszczyk
ICQ#: 11223504
  Current ICQ status: 
+  More ways to contact me 
__



online?icq=11223504img=21
Description: Binary data
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: IPF and Routing

2003-10-07 Thread Minnesota Slinky
Why bother doing nat?  You *could* just setup a DHCP server on the
gateway for the remaining IP address and when the other 14 machines came
online, they could dynamically pull the IP addy.  Just set some very
strict rules on the incoming packets to the rest of the internal
network.  This is a similar thing to what I did when I had an 8-block
from Qwest a couple years ago.

HTH

Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Luke Kearney
Sent: Monday, October 06, 2003 9:12 PM
To: FreeBSD Questions
Subject: IPF and Routing



Hello,
I have question regarding IPNat and routing. The situation is that I
need to setup a network where each machine gets a unique global IP
address from behind a firewall which performs NAT. I have 16 addresses
so my question is can I alias 14 addresses to the primary nic and then
config each private address to map directly to one global address or
have I missed something fundamental about this ?

Any advice is appreciated.

TIA LukeK

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


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


Unable to install

2003-10-07 Thread skisen
I have FreeBSD 4.5 Feb 2002.

I had 4GB quantum harddisk. I had Installed the above version of FreeBSD
along with Windows2000 and Linux.
I had no problems and all the three OS were running fine.

Now I upgraded my system with 60GB seagate harddisk.
I created 4 partitions of 20GB, 20GB,10GB,10GB.
I installed windows2000 followed by Linux and FreeBSD.
After Installation at each stage i Found Windows running fine, Linux
also. Finally I found BSD installation was succesful. But migrating to
BSD was not possible.

Is there any way I can overcome this problem?

Sanjay

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


Unable to install

2003-10-07 Thread skisen
I have FreeBSD 4.5 Feb 2002.

I had 4GB quantum harddisk. I had Installed the above version of FreeBSD
along with Windows2000 and Linux.
I had no problems and all the three OS were running fine.

Now I upgraded my system with 60GB seagate harddisk.
I created 4 partitions of 20GB, 20GB,10GB,10GB.
I installed windows2000 followed by Linux and FreeBSD.
After Installation at each stage i Found Windows running fine, Linux
also. Finally I found BSD installation was succesful. But migrating to
BSD was not possible.

Is there any way I can overcome this problem?

Sanjay

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


RE: ppp confusion

2003-10-07 Thread fbsd_user
You need to readman ppp   some more.  Using the form of the
command ppp -auto myisp  puts ppp in silence mode, you will not
get an console messages that ppp is on, you have to look in the
/var/log/ppp.log for your log messages.  Use just ppp command
alone to go into manual mode and then you will get console messages.

You left out all the details about your environment. Before
reposting get all the details together and post them with your
question.  Dmesg.boot ppp.log ppp.conf details about modem

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of nevle
Sent: Tuesday, October 07, 2003 2:29 AM
To: [EMAIL PROTECTED]
Subject: ppp confusion

hi,
I'm new to BSD and am having trouble configuring my ppp.My ppp.conf
file is
the same as the manual accept for:
line 7 set login
line 15 accept PAP
and line 17 set if addr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
my ppp.linkup file says
MYADDR:
 delete ALL
 add 0 0 HISADDR
my hosts file says
127.0.0.1 nevsbsd.nevsbsd localhost
The lights on my modem go on when I typeppp -auto myisp  but I
don't get PPP
ON or any indication that I'm connected. I tried ping -c
210.216.27.18 and
got invalid count of packages to transmit.I've read all the
instructions I
could find but each is slightly different and I'm not sure what to
do next.
Any help or suggestions would be gratefully received
thanks in advance
neville


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

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


Re: Encrypted Password Portability Between releases

2003-10-07 Thread Lowell Gilbert
James Moser [EMAIL PROTECTED] writes:

 Hey everyone...  cryptography is not really my strong point and I'm
 trying to do something I thought should have been fairly easy.  We
 have a number of machines running various versions of FreeBSD from
 4.7-RELEASE to 4.8-STABLE.  Our password files for our users are
 generated through passwords which are currently being stored in plain
 text. I wish to encrypt these on a central server and store them in
 the database for better security, however I'm running into some
 problems.  It appears to work on some systems and some systems it does
 not.  I have tried DES and MD5 encryption.
 
 Most of these systems have been upgraded from much earlier releases of
 the 4 branch, and the passwords of users not generated from the
 database seem to have been find after each upgrade.  So my question
 is, what am I doing wrong?  Is there a way to encrypt a password on
 one system and have it work on all FreeBSD machines no matter what
 release its running? If I encrypt on a 4.7 box will it work on a 4.8
 system, just not the other way around?
 
 Thanks for any help of information you can provide.

The password formats should be the same on any version of FreeBSD
whatsoever, assuming they are supported at all.  However, FreeBSD does
not keep passwords in plain text on any version, so I'm not really
clear on what you were doing in the first place.

What you want to do should definitely be possible.  [It doesn't sound
like a great security idea, for roughly the same reasons that NIS
isn't appropriate for hostile environments, but that's another issue.]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem installing FreeBSD in M754LMR Motherboard.

2003-10-07 Thread Guillermo Fuentes
I did the minimal installation posible for 4.8 and when I reboot the kernel
shows me the same error.
I have tried everthing.
Any other suggestion will be must than welcome.
Thanks


- Original Message - 
From: Lowell Gilbert [EMAIL PROTECTED]
To: Guillermo Fuentes [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, October 05, 2003 4:20 PM
Subject: Re: Problem installing FreeBSD in M754LMR Motherboard.


 Guillermo Fuentes [EMAIL PROTECTED] writes:

  Hello there,
 
  This is the fisrt time I'm trying to install FreeBSD. I really like the
  project and I decided to study it and learn from it.
  I have not been able to install it in my PC:
  Motherboard: M754LMR (http://www.pcchips.com.tw/M754LMR.html):
  Video  adapter (onboard):  NVIDIDA Aladdin TNT2
  Devices (onboard):
   ALi M1533 PCI to ISA bridge
   ALi M1621 CPU to PCI bridge
   ALi M1621 PCI to AGP bridge
 
  Processor: Celeron 600MHz
  Memory: 192MB RAM (-16MB taken to video adapter NVIDIDA Aladdin TNT2 )
  Hard Drive: 4GB
 
  The problem I'm having is that when the kernel start loading, it gives
me
  the
  following error.
 
  ...
  pci0: PCI bus on pcib0
  agp0: Ali Generic host to PCI bridge mem 0xd800-0xdbff at
device
  0.0 on pci0
  panic: contigmalloc1: size must not be 0
  Uptime: 0s
  Automatic reboot in 15 seconds
 
  I have search for a posible solution but I have not found anything
helpfull.
  I flash the EPROM of the motherboard with the last version
  (ftp://ftp.pcchips.com.tw/BIOS/M754LMR/) and it din't work.
 
  I'm getting the same error for FreeBSD 4.8 release or 5.1 current, but
in
  different moments.
  With FreeBSD 4.8 release the installation reach the Configure X Server
  section and allways fail when I specify the video card I have. Then,
when I
  reboot, I receive the error message mentioned above.
  With FreeBSD 5.1 current the error is show when the Installation CD
boots
  and try to load the kernel.
 
 
  Can someone tell me if this motherboard and configuration is not
supported
  by FreeBSD?
  What can I do to get my FreeBSD running in this configuration?

 My suggestion would be to do the 4.8 installation, without installing
 X up front.  Rebuild a kernel without the AGP device, and then go back
 and try to install and configure X.

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


Squid and newsyslog

2003-10-07 Thread Jason Stewart
I'm having trouble rotating my squid access.log and cache.log with 
newsyslog.

Here is my entry in newsyslog.conf:

/usr/local/squid/logs/access.log nobody.nogroup 644 7 * 168 Z 
/usr/local/squid/logs/squid.pid
(ditto, but for cache.log also)

I have the pid file, the mode, user, and group. The new log is created 
just fine with the correct ownership and permissions and the old one is 
trimmed, but squid does not actually restart. The new logfile does not 
get appended to.

For now, I have the newsyslog entry commented out and I'm rotating the 
log by hand, but sometime I'd like to get it working automatically.

For some reason, newsyslog and squid aren't working well together.

Any ideas?

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


Re: Problem installing FreeBSD in M754LMR Motherboard.

2003-10-07 Thread Lowell Gilbert
Guillermo Fuentes [EMAIL PROTECTED] writes:

 I did the minimal installation posible for 4.8 and when I reboot the kernel
 shows me the same error.

Oh, well.  I think you'll have to install an earlier version and
update from there; just make sure to leave out the kernel AGP support
when you build the new kernels.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to install

2003-10-07 Thread Lowell Gilbert
skisen [EMAIL PROTECTED] writes:

 I have FreeBSD 4.5 Feb 2002.
 
 I had 4GB quantum harddisk. I had Installed the above version of FreeBSD
 along with Windows2000 and Linux.
 I had no problems and all the three OS were running fine.
 
 Now I upgraded my system with 60GB seagate harddisk.
 I created 4 partitions of 20GB, 20GB,10GB,10GB.
 I installed windows2000 followed by Linux and FreeBSD.
 After Installation at each stage i Found Windows running fine, Linux
 also. Finally I found BSD installation was succesful. But migrating to
 BSD was not possible.
 
 Is there any way I can overcome this problem?

Probably.  But we can't tell unless you tell us what the problem
actually is.  What happens when you try to boot FreeBSD?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Squid and newsyslog

2003-10-07 Thread Barry Byrne
Jason:

I don't use newsyslog to rotate the squid logs but do the following:

Specify the number of logfiles to keep in the squid.conf file:

logfile_rotate  8

Tell squid to do rotate the logs with the command:

/usr/local/squid/sbin/squid -k rotate

You could do this in a short cron job.

 - Barry

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Jason Stewart
 Sent: 07 October 2003 14:06
 To: Free BSD Questions list
 Subject: Squid and newsyslog
 
 
 I'm having trouble rotating my squid access.log and cache.log with 
 newsyslog.
 
 Here is my entry in newsyslog.conf:
 
 /usr/local/squid/logs/access.log nobody.nogroup 644 7 * 168 Z 
 /usr/local/squid/logs/squid.pid
 (ditto, but for cache.log also)
 
 I have the pid file, the mode, user, and group. The new log is created 
 just fine with the correct ownership and permissions and the old one is 
 trimmed, but squid does not actually restart. The new logfile does not 
 get appended to.
 
 For now, I have the newsyslog entry commented out and I'm rotating the 
 log by hand, but sometime I'd like to get it working automatically.
 
 For some reason, newsyslog and squid aren't working well together.
 
 Any ideas?
 
 Thanks,
 Jason Stewart
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


oracle 9i on freebsd 5.1

2003-10-07 Thread Johannes Lochmann
Hello all,

Has somebody gotten around to install the Linux edition of Oracle 9i in a 
FreeBSD environment on a i386 box? I know about the oracle howto at http://
www.scc.nl/~marcel/howto-oracle.html and the oracle section in the handbook, 
but they deal with oracle 8i and 8i and 9i are quite different animals. 

So, how about 5.1 with 9.i? Are there any instructions out there? Been feeding 
search engines for quite a while, now...

Oracle on FreeBSD would be the killer app in my case - have oracle and use it 
or don't have oracle and use Linux.

Thank you in advance for any hints.

Johannes Lochmann

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


Re: Mount_nfs permission denied

2003-10-07 Thread Lowell Gilbert
Charles Howse [EMAIL PROTECTED] writes:

 I'm trying to mount_nfs larry:/usr /mnt
 And I always get permission denied.
 It also fails on mount_nfs larry:/disk2 /mnt
 Any idea what I'm doing wrong?
 
 [EMAIL PROTECTED] ~]# df -h
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   492M54M   399M12%/
 /dev/ad2s1f   1.1G43M   1.0G 4%/disk2
 /dev/ad0s1f   492M   4.0K   453M 0%/tmp
 /dev/ad0s1g   6.1G   902M   4.7G16%/usr
 /dev/ad2s1e   984M   347M   558M38%/usr/obj
 /dev/ad0s1e   492M   5.2M   448M 1%/var
 procfs4.0K   4.0K 0B   100%/proc
 
 [EMAIL PROTECTED] ~]# cat /etc/exports
 /disk2  -alldirs-network 192.168.254.0  -mask 255.255.255.0
 /usr-alldirs-network 192.168.254.0  -mask 255.255.255.0
 
 [EMAIL PROTECTED] ~]# showmount -e
 Exports list on localhost:
 /usr   192.168.254.0
 /disk2 192.168.254.0
 
 [EMAIL PROTECTED] ~]# ls -l / | grep usr
 lrwxr-xr-x   1 root  wheel   10 Sep  4 02:58 compat - usr/compat
 lrwxrwxrwx   1 root  wheel9 Sep  4 03:00 home - /usr/home
 lrwxr-xr-x   1 root  wheel   11 Sep 27 15:17 sys - usr/src/sys
 drwxr-xr-x  19 root  wheel  512 Sep  4 09:25 usr

Looks okay to me.  
Are you trying to do the mount on the same machine?
Do you have portmap, nfsd, and mountd running on larry?
Is larry on the same subnet?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Make World and Sound Help

2003-10-07 Thread rodrique heron
I have been trying to update my system using make world for the last 5 days and I am 
getting no where. All my searches for an answer comes up short.

I have wipe my drive clean and re-install BSD from the cd and start a new make world.  
make -j4 buildworld - will work fine. but as soon I try to make buildkernel 
KERNCONF=RODKERNEL
I would get a stop error, each one different from the one before. This is from the 
last attempt I made:

nt
/usr/src/sys/dev/cardbus/cardbus.c:390: error: (near initialization for 
'cardbus_methods[35]')
***Error code 1

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

Stop in /usr/src.
***Error code 1

Stop in /usr/src.

I have tried using just GENERIC KERNEL and not my custom. Please guide me. I also 
tried starting over with, 
chflags -R noschg /usr/obj/usr
rm -rf /usr/obj/usr
cd /usr/src

but when I issure this command 

make cleandir

I get an 

Stop in /usr/src.
***Error code 1

with I bunch I stuff before that, I forgot to copy that also.

Also, I have a sound issue, I followed the steps the HANDBOOK and how to configure my 
sound, once I did that ( before I tried make world )rebuild my KERNEL I notice in my 
dmesg the following lines :

pci0: multimedia, audio at device 31.5 (no driver attached)
pci0: simple comms at device 31.6 (no driver attached)

Does it mean my sound is not supported. My sound card in onboard a Amptron 3WMV 
motherboard.

uname -a  ( output)
FreeBSD rodbsd.rodhouse.net 5.0-RELEASE FreeBSD 5.0-RELEASE #1: Sun Oct 5 17:53:31 GMT 
2003 [EMAIL PROTECTED]:/usr/obj/usr/src/RODKERNEL i386


$ cat /var/run/dmesg.boot
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-RELEASE #1: Sun Oct  5 17:53:31 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/RODKERNEL
Preloaded elf kernel /boot/kernel/kernel at 0xc0673000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc06730a8.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 534548414 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (534.55-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x665  Stepping = 5
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 267321344 (254 MB)
avail memory = 252751872 (241 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: AWARD  AWRDACPI on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31
Using $PIR table, 4 entries at 0xc00fdf30
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
acpi_cpu0: CPU on acpi0
acpi_tz0: thermal zone on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0x4000-0x40f7,0x5000-0x500f,0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82810-DC100 (i810-DC100 GMCH) SVGA controller mem 
0xde00-0xde07,0xd800-0xdbff irq 12 at device 1.0 on pci0
pcib1: PCIBIOS PCI-PCI bridge at device 30.0 on pci0
pci1: PCI bus on pcib1
sis0: NatSemi DP83815 10/100BaseTX port 0xc000-0xc0ff mem 0xdd00-0xdd000fff irq 
11 at device 5.0 on pci1
sis0: Ethernet address: 00:09:5b:07:8f:e8
miibus0: MII bus on sis0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH ATA66 controller port 0xf000-0xf00f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82801AA (ICH) USB controller port 0xd000-0xd01f irq 5 at device 31.2 on 
pci0
usb0: Intel 82801AA (ICH) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
pci0: multimedia, audio at device 31.5 (no driver attached)
pci0: simple comms at device 31.6 (no driver attached)
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f2-0x3f5 
irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: Option ROM at iomem 0xc-0xc7fff on isa0
pmtimer0 

redirect.pl - where is it ?

2003-10-07 Thread Darryl Hoar
Greetings,
I have FreeBSD 4.7 stable installed on a machine.  In
addition, I have apache 1.13 installed an configured.
I'm trying to locate redirect.pl for my cgi-bin directory.
Where is this file located ?

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


Re: Unable to install

2003-10-07 Thread Sanjay
I'm unalbe to boot the BSD partition Itself.
On entering F3 it just hangs, blank screen.
Lowell Gilbert wrote:

skisen [EMAIL PROTECTED] writes:

 

I have FreeBSD 4.5 Feb 2002.

I had 4GB quantum harddisk. I had Installed the above version of FreeBSD
along with Windows2000 and Linux.
I had no problems and all the three OS were running fine.
Now I upgraded my system with 60GB seagate harddisk.
I created 4 partitions of 20GB, 20GB,10GB,10GB.
I installed windows2000 followed by Linux and FreeBSD.
After Installation at each stage i Found Windows running fine, Linux
also. Finally I found BSD installation was succesful. But migrating to
BSD was not possible.
Is there any way I can overcome this problem?
   

Probably.  But we can't tell unless you tell us what the problem
actually is.  What happens when you try to boot FreeBSD?
 

--
Sanjay Kisen
Litespan®
[EMAIL PROTECTED]






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


bgfsck - message won't go away

2003-10-07 Thread matti k
After (re)boot I get the message Starting background file system
checks in 60 seconds. whether bgfsck needs to run or not.
How can I remove this message?



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


Re: scant description for devfs - unable to create /dev/ad3* or use disklabel

2003-10-07 Thread Lowell Gilbert
ecsd [EMAIL PROTECTED] writes:

 The transition to using devfs versus MAKEDEV is not very well documented,
 and I find no way to create /dev/ad3-anything although I have a /dev/ad3
 and have used disklabel -w -r ad3 auto to initialize it.
 
 I wish there were an example section for devfs(8) that showed how to use
 devfs to do what MAKEDEV used to do. I have seen the remark devfs
 will create the node for you, but disklabel -e /dev/ad3d and
 disklabel -e /dev/ad3s1d
 fail no such device whereas disklabel -e /dev/ad3 reports
 operation not supported
 by device. Perhaps I could use mknod, but I don't know what minor
 numbers to
 use and doing file ad* doesn't show a clear pattern of assignment.
 
 I wish MAKEDEV were not removed, as it is an easy, well-known interface
 to creating device nodes - as opposed to the opaque devfs, inasmuch
 as, if I had
 MAKEDEV I would be done by now whereas there is nothing in the FAQs,
 nothing in the search, and nothing in the release notes that describes
 the devfs
 replacement for this common operation. Now I am left guessing whether I'll
 have to reboot the system to see the partitions on /dev/ad3. MAKEDEV would
 just work with no fuss.

Those are just the breaks of using a technology preview release.
The documentation is coming along, and should be pretty solid by the
time 5.x is ready to be recommended for production use.

I don't think you understand how device nodes work; they're not
magic, and don't add devices into the kernel.  If devfs doesn't create
them automatically, building them wouldn't do any good, because the
device numbers wouldn't be understood by the kernel.

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


Re: Squid and newsyslog

2003-10-07 Thread Dan Nelson
In the last episode (Oct 07), Jason Stewart said:
 I'm having trouble rotating my squid access.log and cache.log with
 newsyslog.
 
 Here is my entry in newsyslog.conf:
 
 /usr/local/squid/logs/access.log nobody.nogroup 644 7 * 168 Z 
 /usr/local/squid/logs/squid.pid

You need to send squid SIGUSR1 (signal 30) to tell it to reopen its
logfiles.  Here's my line:

/usr/local/squid/logs/access.log nobody:wheel 644 7 4  *  ZB /var/run/squid.pid 30

The B flag tells newsyslog not to put a logfile turned over entry at
the top of the file, since squid logs aren't in syslog format.
 
-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bgfsck - message won't go away

2003-10-07 Thread Dan Nelson
In the last episode (Oct 08), matti k said:
 After (re)boot I get the message Starting background file system
 checks in 60 seconds. whether bgfsck needs to run or not.
 How can I remove this message?

Comment it out of /etc/rc.d/bgfsck :)  The script just kicks off
bgfsck; it doesn't know whether any filesystems actually require
checking or not.

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


Re: Upgrading 5.1 to latest - crash upon starting X

2003-10-07 Thread Lowell Gilbert
Ewald Jenisch [EMAIL PROTECTED] writes:

 Seems like I'm running into a problem upgrading my 5.1 machine to the
 latest level:

If you're going to run -CURRENT, you really do have to follow the
-CURRENT mailing list.   
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html

 The symptoms: When I boot the new kernel everything runs straight up
 to the moment when I start X-Windows. When starting X as a normal user
 I end up with a db-prompt (debugger?); when starting X as root the
 screen goes blank and after some seconds the box reboots.

Yep, sounds pretty serious.

 As far as building  installing is concerned I did everything as per
 chapter 21 of the handbook, including installing binaries (userland)
 in single-user mode, running mergemaster etc.etc.

No, you are supposed do the installworld under the *new* kernel, so
that if the kernel fails to boot, you don't end up with the new
binaries unless the matching kernel works as well.

 BTW, when booting the old kernel (kernel.old) everything is fine again
 -
 so assume the problem is with the kernel itself.

Right.

 Has anybody else seen this? What can I do against it?

I don't think I've seen anything like this on the -CURRENT list, so it
doesn't seem to be a general problem.  cvsup your sources again, and
do another round of updates.  Just make sure you save the working
kernel somewhere safe (kernel.old will be overwritten next time you do
an installkernel).

make buildworld
make buildkernel
make installkernel
shutdown -r now
and *then* do the make installworld.

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


Does any one know product like to Outlook 2003

2003-10-07 Thread Ajit Kakade
Hi All, Does any one know FreeBSD product just like to Outlook 2003 (on exchange 
server). My company people want same features.
Help me guys. Thanks
Ajit
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Handling of multiple Pythons on the same system

2003-10-07 Thread Kirk Strauser
How do you manage multiple versions of Python on the same machine?

I'm running Zope on one of my servers and it requires Python 2.1 (and has
known issues with later versions).  I want to install other applications
that require Python 2.3.  I've installed the lang/python (2.3) and
lang/python21 ports and everything is basically OK.

Except, now, that I want to use the databases/py-psycopg port with both
versions of Python.  Whenever I build the port, I get either:

py21-psycopg-1.1.7

or

py23-psycopg-1.1.7

depending on whether /usr/local/bin/python is a link to python2.1 or
python2.3 at the port's build time.  Those packages are mutually exclusive;
they both write some files to the same place, and write other files to
version-specific paths.

This is quickly becoming a hassle.  Is there a good workaround for this
situation?
-- 
Kirk Strauser

94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box.


pgp0.pgp
Description: PGP signature


Re: complex crontab query

2003-10-07 Thread Odhiambo Washington
* Matthew Seaman [EMAIL PROTECTED] [20030930 21:08]: wrote:
 On Tue, Sep 30, 2003 at 07:49:57PM +0300, Odhiambo Washington wrote:
  This question was asked and was answered by Crist J. Clark some years gone.
  Google could not help me so I beg to ask here:
 
 crontab(5) should be all you need.
  
  I would like to run a script via crontab every
  
  1. 3rd day and 28th day of each month (seems easy)
 
 Crontab line like:
 
   23 11 3,28 * * your_script
 
 will run at 11:23am on the 3rd and 28th of each month.
 
  2. Every first Thursday of the month
 
 This one is slightly trickier -- the best you can do with crontab is
 either every Thursday, and add logic to your script to detect if it's
 on or before the 7th of the month (or conversely for the first 7 days
 of each month, and have the script check if it's Thursday): something
 like --
 
   23 11 * * Thu   [ $(date +%d) -lt 8 ]  your_script
 
 ( or
 
   23 11 1-7 * *   [ $(date +%a) = Thu ]  your_script
 
 but the former is probably preferable)

How does that differ with the following?

23 11 * * 4 if [ `date +\%d` -le 7 ]; then /path/to/my/command; fi



 

Best regards,
Odhiambo Washington
Wananchi Online Ltd.

--+-
 Odhiambo W. wash(at)wananchi(dot)com   . WANANCHI ONLINE LTD (Nairobi, KE)
 http://www.wananchi.com/email/ . 1ere Etage, Loita Hse, Loita St.,
 Mobile: (+254) 722 743 223 . # 10286, 00100 NAIROBI
--+-
What the hell, go ahead and put all your eggs in one basket.



Do not be afraid of those who kill the body but cannot kill the soul.
Rather be afraid of the One who can destroy both soul and body in hell.
Matthew 10:28
 



pgp0.pgp
Description: PGP signature


Re: Does any one know product like to Outlook 2003

2003-10-07 Thread jasondic
Sorry, I don't know of any other software which is more feature packed with 
bugs ;).

-Jason

On Tuesday 07 October 2003 07:35, Ajit Kakade wrote:
 Hi All, Does any one know FreeBSD product just like to Outlook 2003 (on
 exchange server). My company people want same features. Help me guys.
 Thanks
 Ajit
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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


Re: Does any one know product like to Outlook 2003

2003-10-07 Thread Jeff MacDonald
Give Evolution a try, i find it's a perfect substitute for outlook, tho
i have no experience with exchange i think there is something called
connector which will allow evolution to connect with exchange.

Jeff.


On Tue, 2003-10-07 at 11:46, [EMAIL PROTECTED] wrote:
 Sorry, I don't know of any other software which is more feature packed with 
 bugs ;).
 
 -Jason
 
 On Tuesday 07 October 2003 07:35, Ajit Kakade wrote:
  Hi All, Does any one know FreeBSD product just like to Outlook 2003 (on
  exchange server). My company people want same features. Help me guys.
  Thanks
  Ajit
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Does any one know product like to Outlook 2003

2003-10-07 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-


~
On 07-Oct-2003, Ajit Kakade wrote message Does any one know product like to
Outlook 2003
~
 Hi All, Does any one know FreeBSD product just like to Outlook 2003 (on
 exchange server). My company people want same features.
 Help me guys. Thanks

Have a look at this one.

http://www.freshports.org/mail/evolution/

~~ 
Andy Harrison
(full headers for details)


-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBP4LZdFPEkLgodAWVAQEmwgQApvuhWpiI297HkHLYS2EiXewvRs9kmcn+
sVVZMkAVXpqyC3+2Pd60mM0ykZp4N7uM0HAOd0DIrssQbKiLHjL2odE12loENMJY
gXbBbGmvNHQqgGNaEDIPzJfAYBr3QvH80JQLEM3l/hbccu5VR4o7BXagHdAoilYT
fBX/MxZ6xH8=
=/6KR
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Does any one know product like to Outlook 2003

2003-10-07 Thread Chris
On Tuesday 07 October 2003 10:19 am, Andy Harrison wrote:
 ~
 On 07-Oct-2003, Ajit Kakade wrote message Does any one know product like
 to Outlook 2003
 ~

  Hi All, Does any one know FreeBSD product just like to Outlook 2003 (on
  exchange server). My company people want same features.
  Help me guys. Thanks

 Have a look at this one.

 http://www.freshports.org/mail/evolution/

Yes - This app does well. 2 things to keep in mind.

1. It's bloated and piggish. 
2. If you want to access an Exchange server and making use of the same 
features - it's gonna cost you for the Exchange connector per client.

Unless Xiam has changed this - I last remember it being somewhere in the 
ballpark of 50.00 to 100.00 bux per client.


 ~~
 Andy Harrison
 (full headers for details)

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

-- 

Best regards,
 Chris
__

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
   01010010011101100011011001010111001001011000


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


Re: complex crontab query

2003-10-07 Thread Matthew Seaman
On Tue, Oct 07, 2003 at 05:53:47PM +0300, Odhiambo Washington wrote:
 * Matthew Seaman [EMAIL PROTECTED] [20030930 21:08]: wrote:

23 11 * * Thu   [ $(date +%d) -lt 8 ]  your_script

 How does that differ with the following?
 
 23 11 * * 4 if [ `date +\%d` -le 7 ]; then /path/to/my/command; fi

TIMTOWTDI.

Both lines should have the same effect overall, although I neglected
to escape the % sign in what I wrote, which is not a good move in a
crontab file.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


CKermit connect problem...

2003-10-07 Thread Peter Elsner
Hi list...

I've been using CKermit 6, 7, and now 8.0 (installed from the ports) for 
some time now...

I've been using this to dial (with a US Robotics external modem) to various 
customers running
SCO (Yuck) Openserver 5.0.5.

Recently, I switched to a new FreeBSD Server, running 4.8-STABLE, and now 
when I dial
with Kermit to my customersm it dials and connects, but I never get a login 
prompt...

Does anyone have any idea's  ???

Thanks in advance

Peter Elsner

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


Re: Scrolling messages

2003-10-07 Thread Peter Elsner
Turn off apm in the kernel.



At 04:48 PM 10/5/2003 -0700, you wrote:
On FreeBSD 4.8-20030810-STABLE:

After i recompiled the kernel with support
for a few wireless ethernet interfaces, I
am now getting continuously scrolling messages
in /var/log/messages :
Oct  5 19:14:59 localhost /kernel: microuptime() went
backwards (9808.271062 - 9808.243817)
Oct  5 19:14:59 localhost /kernel: microuptime() went
backwards (9808.271062 - 9808.249396)
Oct  5 19:14:59 localhost /kernel: microuptime() went
backwards (9808.282351 - 9808.237299)
Oct  5 19:14:59 localhost /kernel: microuptime() went
backwards (9808.282351 - 9808.249313)
Oct  5 19:14:59 localhost /kernel: microuptime() went
backwards (9808.291282 - 9808.254811)
Oct  5 19:14:59 localhost /kernel: microuptime() went
backwards (9808.300854 - 9808.255157)
Oct  5 19:14:59 localhost /kernel: microuptime() went
backwards (9808.311713 - 9808.275242)
Oct  5 19:14:59 localhost /kernel: microuptime() went
backwards (9808.311713 - 9808.282668)
Oct  5 19:14:59 localhost /kernel: microuptime() went
backwards (9808.311713 - 9808.294897)
Oct  5 19:14:59 localhost /kernel: microuptime() went
backwards (9808.311713 - 9808.304468)
.
.
.
etc
I have killed xntpd, and timed, yet the messages
continue unabated.
What did I do do wrong?

Thanks,

Nasha

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CKermit connect problem...

2003-10-07 Thread Peter Elsner
Hi list...

I've been using CKermit 6, 7, and now 8.0 (installed from the ports) for 
some time now...

I've been using this to dial (with a US Robotics external modem) to various 
customers running
SCO (Yuck) Openserver 5.0.5.

Recently, I switched to a new FreeBSD Server, running 4.8-STABLE, and now 
when I dial
with Kermit to my customersm it dials and connects, but I never get a login 
prompt...

Does anyone have any idea's  ???

Thanks in advance

Peter Elsner 

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


RE: redirect.pl - where is it ?

2003-10-07 Thread Darryl Hoar
-Original Message-
From: Matthew Seaman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 10:34 AM
To: Darryl Hoar
Cc: [EMAIL PROTECTED]
Subject: Re: redirect.pl - where is it ?


On Tue, Oct 07, 2003 at 08:42:58AM -0500, Darryl Hoar wrote:
 Greetings,
 I have FreeBSD 4.7 stable installed on a machine.  In
 addition, I have apache 1.13 installed an configured.
 I'm trying to locate redirect.pl for my cgi-bin directory.
 Where is this file located ?

% grep ScriptAlias /usr/local/etc/apache/httpd.conf

but it's usually /usr/local/www/cgi-bin

Cheers,

Matthew

my ScriptAlias points to /usr/local/www/cgi-bin
redirect.pl is not in /usr/local/www/cgi-bin.
A search of the system doesn't locate the 
redirect.pl file.  A check of several FreeBSD
systems I have access to, shows the same thing.
No redirect.pl file.

thanks,
Darryl

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


Re: IPF and Routing

2003-10-07 Thread Fernando Gleiser
On Tue, 7 Oct 2003, Luke Kearney wrote:


 Hello,
 I have question regarding IPNat and routing. The situation is that I
 need to setup a network where each machine gets a unique global IP
 address from behind a firewall which performs NAT. I have 16 addresses
 so my question is can I alias 14 addresses to the primary nic and then
 config each private address to map directly to one global address or
 have I missed something fundamental about this ?

Too much time playing with PIX, isn't it?

You can do that very easily with ipnat, just add:

map nic internal/mask - global/32 portmap tcp/udp 3:5

to the top of /etc/ipnat.rules and then ipnat -FC -f /etc/ipnat.rules

Change nic, internal and external to suit your needs.


Fer




 Any advice is appreciated.

 TIA LukeK

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


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


ppp

2003-10-07 Thread jonno smith
The results of 'uname -a' are as follows:
FreeBSD server.home.dom 4.8-RELEASE FreeBSD
4.8-RELEASE #0:Thu Apr 2 10:53:38 
GMT 2003
[EMAIL PROTECTED]:/usr/obj/src/sys/GENERIC
i386

I need to be able to tell the modem not to detect a
dial tone when using ppp.
After typing 'AT' I get 'OK'. After 'ATDT1234567' I
get 'NO DIAL TONE'
I'd like to use NAT to connect machines in my LAN to
the net. Is there
any command that I can give it in ppp.conf to tell it
not to detect the
dial tone?

Thank you,
Jonno.
[EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: adding webmail

2003-10-07 Thread User Sellis
On Sun, Oct 05, 2003 at 09:47:52AM -0700, S Ellis wrote:
 
 I want to broaden access to my home email by adding a webmail interface.
 Right now I'm running sendmail with procmail and using spamassassin; I'd
 like to keep this setup.

A quick note to tie up.

I've gotten a long way towards what I wanted; we'll see how it actually
behaves in practice. To summarize, I needed to make both imap-uw and
cclient with -DWITH_SSL_AND_PLAINTEXT, and for both ports I had to patch
the source to use an alternate mailboxdir  as outlined in the CONFIG 
file in the docs directory of the source tree. After adding my original
mailboxes to ~/.mailboxlist the web app is opening where I want and with
what I want.

These are relevant:

http://marc.theaimsgroup.com/?l=freebsd-questionsm=105342946712054w=2

http://marc.theaimsgroup.com/?l=freebsd-questionsm=106486098828048w=2

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


RE: ppp

2003-10-07 Thread fbsd_user
Your question is not clear. Are you trying to use ppp to dial out to
your ISP to get internet access OR are you trying to get ppp to
answer an in coming call to your FBSD box?  You have to provide more
details about your configuration before people can help you, we do
not have ESP to read your mind.  You need to post ppp.log and
dmesg.boot and rc.conf and ppp.conf as well as explain in detail
what you are trying to do.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of jonno smith
Sent: Tuesday, October 07, 2003 1:38 PM
To: [EMAIL PROTECTED]
Subject: ppp

The results of 'uname -a' are as follows:
FreeBSD server.home.dom 4.8-RELEASE FreeBSD
4.8-RELEASE #0:Thu Apr 2 10:53:38
GMT 2003
[EMAIL PROTECTED]:/usr/obj/src/sys/GENERIC
i386

I need to be able to tell the modem not to detect a
dial tone when using ppp.
After typing 'AT' I get 'OK'. After 'ATDT1234567' I
get 'NO DIAL TONE'
I'd like to use NAT to connect machines in my LAN to
the net. Is there
any command that I can give it in ppp.conf to tell it
not to detect the
dial tone?

Thank you,
Jonno.
[EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Samba Change Password from Windows using ctrl-alt-delete

2003-10-07 Thread List
I have seen this question posted a number of times without an answer, 
and there's a bug from June in the ports database regarding this issue. 
Running 4.8 and samba 2.2.8a.

I receive the following error when trying to change a samba password 
from a windows client: The system cannot change your password now 
because the domain is not available.

Samba logs indicate:
[2003/10/07 11:00:09, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=CPUXSV01 name2=IPAQDK
[2003/10/07 11:00:09, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=cpuxsv01 remote=ipaqdk
[2003/10/07 11:00:09, 0] lib/util_sec.c:assert_gid(114)
  Failed to set gid privileges to (0,1001) now set to (1001,1001) 
uid=(0,1001)
[2003/10/07 11:00:09, 0] lib/util.c:smb_panic(1094)
  PANIC: failed to set gid

Any help would be appreciated,

Clay

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


RAID-1 pre-install question

2003-10-07 Thread Ben Blier
I am having trouble setting up the partitions for my hardware RAID-1
(a Promise RAID controller) with the latest version of FreeBSD.

My partitions come up as ad4 ad6 and ar0. When I try and partition
the ad4 drive with the normal partitons it gives me the error that it
cant write partition info to the disk. When I try and partition the
ar0, it will write the partition info successfully. But after it's
done trying to write a file to it will give me the error of not
enough space left on the disk.

Maybe it's just because I've never set a hardware RAID on FreeBSD
before but can anybody give me a hint how to set this up so it will
work :)

Thanks,

Ben Blier
[EMAIL PROTECTED]

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


Re: ppp

2003-10-07 Thread Kliment Andreev
 I need to be able to tell the modem not to detect a
 dial tone when using ppp.
 After typing 'AT' I get 'OK'. After 'ATDT1234567' I
 get 'NO DIAL TONE'
 I'd like to use NAT to connect machines in my LAN to
 the net. Is there
 any command that I can give it in ppp.conf to tell it
 not to detect the
 dial tone?

You can do that with ATX3 (detect busy but do not detect dial tone)

Also, you can store this X3 in a profile so you won't need to type this in
future. Search for modem hayes AT commands for your modem.

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


RE: Mount_nfs permission denied

2003-10-07 Thread Charles Howse
  I'm trying to mount_nfs larry:/usr /mnt
  And I always get permission denied.
  It also fails on mount_nfs larry:/disk2 /mnt
  Any idea what I'm doing wrong?
  
  [EMAIL PROTECTED] ~]# df -h
  FilesystemSize   Used  Avail Capacity  Mounted on
  /dev/ad0s1a   492M54M   399M12%/
  /dev/ad2s1f   1.1G43M   1.0G 4%/disk2
  /dev/ad0s1f   492M   4.0K   453M 0%/tmp
  /dev/ad0s1g   6.1G   902M   4.7G16%/usr
  /dev/ad2s1e   984M   347M   558M38%/usr/obj
  /dev/ad0s1e   492M   5.2M   448M 1%/var
  procfs4.0K   4.0K 0B   100%/proc
  
  [EMAIL PROTECTED] ~]# cat /etc/exports
  /disk2  -alldirs-network 192.168.254.0  -mask 255.255.255.0
  /usr-alldirs-network 192.168.254.0  -mask 255.255.255.0
  
  [EMAIL PROTECTED] ~]# showmount -e
  Exports list on localhost:
  /usr   192.168.254.0
  /disk2 192.168.254.0
  
  [EMAIL PROTECTED] ~]# ls -l / | grep usr
  lrwxr-xr-x   1 root  wheel   10 Sep  4 02:58 compat - 
 usr/compat
  lrwxrwxrwx   1 root  wheel9 Sep  4 03:00 home - /usr/home
  lrwxr-xr-x   1 root  wheel   11 Sep 27 15:17 sys - usr/src/sys
  drwxr-xr-x  19 root  wheel  512 Sep  4 09:25 usr
 
 Looks okay to me.  
 Are you trying to do the mount on the same machine?

I use a KVM, but effectively, I'm sitting at curly's keyboard, trying to
nfs mount shares that reside on larry.

[EMAIL PROTECTED] ~]# mount_nfs curly:/disk2 /mnt
curly:/disk2: Permission denied
^C
[EMAIL PROTECTED] ~]# 

 Do you have portmap, nfsd, and mountd running on larry?

Yes...
[EMAIL PROTECTED] ~]# sockstat -4
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN
ADDRESS
charles  sshd  40765 tcp4   192.168.254.3:22
192.168.254.4:4127
root sshd  40745 tcp4   192.168.254.3:22
192.168.254.4:4127
root nmbd   1566 udp4   *:137 *:*
root nmbd   1567 udp4   *:138 *:*
root nmbd   1568 udp4   192.168.254.3:137 *:*
root nmbd   1569 udp4   192.168.254.3:138 *:*
root smbd   154   12 tcp4   *:445 *:*
root smbd   154   13 tcp4   *:139 *:*
root sendmail   1214 tcp4   127.0.0.1:25  *:*
root sshd   1174 tcp4   *:22  *:*
root inetd  1134 tcp4   192.168.254.3:110 *:*
root rpc.stat993 udp4   *:1011*:*
root rpc.stat994 tcp4   *:1022*:*
root nfsd933 tcp4   *:2049*:*
root mountd  913 udp4   *:1023*:*
root mountd  914 tcp4   *:1023*:*
daemon   portmap 883 udp4   *:111 *:*
daemon   portmap 884 tcp4   *:111 *:*
root ntpd864 udp4   *:123 *:*
root ntpd865 udp4   192.168.254.3:123 *:*
root ntpd866 udp4   127.0.0.1:123 *:*

 Is larry on the same subnet?

Yes, curly is 192.168.254.2/255.255.255.0 and larry is
192.168.254.3/255.255.255.0

[EMAIL PROTECTED] ~]# ping -c 3 larry
PING larry (192.168.254.3): 56 data bytes
64 bytes from 192.168.254.3: icmp_seq=0 ttl=64 time=0.318 ms
64 bytes from 192.168.254.3: icmp_seq=1 ttl=64 time=0.319 ms
64 bytes from 192.168.254.3: icmp_seq=2 ttl=64 time=0.280 ms

--- larry ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.280/0.306/0.319/0.018 ms


Might there be some file(s) on larry that restrict non-local logins?
I checked /etc/login.access on larry, and saw that I had:
-:wheel:All EXCEPT LOCAL
I commented that out, saved.
I checked /etc/hosts.allow, made the appropriate edits there,
specifically the portmap section, saved.
I changed /etc/exports, and changed it to:
/disk2 -maproot=root -network=192.168.254.0 -mask=255.255.255.0
(This was the only way I could do it without getting an error)
Rebooted, tried again, NOW IT WORKS!
Comments?
Thanks for making me think!






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


Re: redirect.pl - where is it ?

2003-10-07 Thread Matthew Seaman
[Quoting got rather mangled: fixed by hand]

On Tue, Oct 07, 2003 at 10:57:33AM -0500, Darryl Hoar wrote:
 From: Matthew Seaman [mailto:[EMAIL PROTECTED]
  On Tue, Oct 07, 2003 at 08:42:58AM -0500, Darryl Hoar wrote:

   I have FreeBSD 4.7 stable installed on a machine.  In
   addition, I have apache 1.13 installed an configured.
   I'm trying to locate redirect.pl for my cgi-bin directory.
   Where is this file located ?
 
  % grep ScriptAlias /usr/local/etc/apache/httpd.conf
 
  but it's usually /usr/local/www/cgi-bin
 
 my ScriptAlias points to /usr/local/www/cgi-bin
 redirect.pl is not in /usr/local/www/cgi-bin.
 A search of the system doesn't locate the 
 redirect.pl file.  A check of several FreeBSD
 systems I have access to, shows the same thing.
 No redirect.pl file.

Sorry, I thought you were asking where to put your redirect.pl script
you had written or obtained some other way.  Hmmm.. redirect.pl is not
part of any apache software installation I've ever dealt with.

Neither is it part of the apache_1.3.28 sources.

It is mentioned in the following plists for ports currently in the
tree:

% find . -name '*plist' -print0 | xargs -0 grep redirect.pl 
./irc/irssi/pkg-plist:share/irssi/scripts/redirect.pl
./www/bk2site/pkg-plist:%%CGIDIR%%/redirect.pl

but you'll have to investigate if either of those is the script you're
thinking of.

If that doesn't come up trumps, then I guess that this is some sort of
locally written CGI that you've run into on another system: you'll
have to ask the admins of that system where it comes from.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


cvsup: Error code 1

2003-10-07 Thread rtjohan
For some reason the portupgrade / or make reinstall does not work on any 
of the outdated ports. Get the same error on all of them. Error code 1. 
I've tried:
 portsclean -C
 portsclean -DD
 make index
 portsdb -Ufu
 pkgdb -F

Nothing seems to get the ports back into shape. The whole cvsup / 
portupgrade -ra had been working for a while. Not sure what could have 
messed it up. Is there a way I can get all the necessary indexes / 
databases required by cvsup / portupgrade / pkg_add recreated? The only 
way I know how to fix this is to reinstall. There must be a better way. 
Any assistance or tips would be very much appreciated.

Regards,
Richard




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


Re: Samba Change Password from Windows using ctrl-alt-delete

2003-10-07 Thread Markie
Just like to say that I have this same problem too :o) Posted it to the
Samba list and here quite a while ago but.. no answer! 4.8 and Samba 2.2.8a
here too, I am going to try 3.0 soon.

- Original Message -
From: List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 7:23 PM
Subject: Samba Change Password from Windows using ctrl-alt-delete


 I have seen this question posted a number of times without an answer,
 and there's a bug from June in the ports database regarding this issue.
 Running 4.8 and samba 2.2.8a.

 I receive the following error when trying to change a samba password
 from a windows client: The system cannot change your password now
 because the domain is not available.

 Samba logs indicate:
 [2003/10/07 11:00:09, 2] smbd/reply.c:reply_special(92)
netbios connect: name1=CPUXSV01 name2=IPAQDK
 [2003/10/07 11:00:09, 2] smbd/reply.c:reply_special(111)
netbios connect: local=cpuxsv01 remote=ipaqdk
 [2003/10/07 11:00:09, 0] lib/util_sec.c:assert_gid(114)
Failed to set gid privileges to (0,1001) now set to (1001,1001)
 uid=(0,1001)
 [2003/10/07 11:00:09, 0] lib/util.c:smb_panic(1094)
PANIC: failed to set gid

 Any help would be appreciated,

 Clay

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


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


looking at customers password

2003-10-07 Thread DanB
Once you changed your master password can you look at your customers
passwords to see if any have been changed by date?
Where is the master password file located?

Dan

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


freebsd root password lost

2003-10-07 Thread DanB
Is there other way to change the root password that been lost without
shutting down the computer.

Old way shutdown space barboot -s  #mount  -t ufs -a
#passwd
# exit to multiusers.


Dan



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


nerd

2003-10-07 Thread roro
how do I download freeBSD ? Right! It´s a nerd question, but I tried to download it 
from the ftp-sites and it did not work

Apart from using my PIV
Is there a version of freeBSD suitable for machines such as a 486 and MMX133/166? Id  
like to turn al the leftovers into a little network and obtain a super-desktop.
Any hints on that respect?

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


sasl 2.1.15 - applications crash when authenticating

2003-10-07 Thread Chris Hastie
I've been trying to get Cyrus imapd 2.1.15 installed on FreeBSD 
5.1-RELEASE machine. Initially I used cyrus-sasl 2.1.13 because that is 
what is in the ports tree for 5.1 (although it is broken when used with 
MySQL 4). I've just tried using sasl 2.1.15 but still get the same 
problem.

That is, when a user tries to authenticate to imapd it dies with a 
signal 11, or on authenticating to Postfix the cause of death is 
reported as signal 6. Either way, authenticating to either app is 
impossible.

I'm using auxprop, have checked permissions on sasldb2 and have trawled 
everything I can find for answers and go no where. Perhaps I'm just 
looking in the wrong place, but some help here would be greatly 
appreciated.
--
Chris Hastie
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Gateway / Port redirection

2003-10-07 Thread Tech Support
Background

I am currently running freeBSD 4.8 on a box as
a) a gateway for the house for internet access on dialup permanant IP
, domain etc
b) using apache for a web server hosting a domain and virtual domains
c ) Qmail for mail
d ) Squid proxy for the childrens computers access ( saves on
bandwidth )
e) ProFtp as FTP Server
f ) DNS
g ) Ssh
h) All on a dial up account
i )  port Sentry
j ) etc

I need to run a couple of programs inside the lan where ports are
directed to them from outside  the lan  eg all the above services are
located on the Bsd box ( 192.168.x.x ) and i need to direct port 5060
to 192.168.0.7 ( for arguments sake )

Not being very knowlegable about the inner workings of FreeBSD ( but
learning slowly ) I have decided that seeing as this is really only a
temporary exercise ( perhaps a month , and to compound everything in a
couple of months the BSD box will also be shifting to broadband ),
that I would use FreeSCO ( www.freesco.org) as a NEW gateway / port
redirector .  I am going to forward my current services above to my
current BSD box and the NEW PORTS direct to the Win box(s) that I need
to test this software on . My thoughts were to leave the current
gateway as 192.160.0.1  and the FreeSCO box name it 192.168.0.254 . I
would like to direct outbound web surfing via the BSD box as current
as it would be a PITA to change all the machines on the LAN

My question(s)

a) is this overkill ( is there an EASIER way to do what I want ( port
redirecting ) ( bearing in mind that although the lights are on in the
attic they are at times low wattage :-)  )

b ) WHAT do I need to change on my BSD box ( rc.conf  etc ) to make it
work the way described ? Remembering that this is only temporary .

Thanks in advance for any advice

Regards

Benny






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


how do I

2003-10-07 Thread Stephanie
uninstall free bsd from a server?
I would really just like the dos prompt back...?

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


Re: Gateway / Port redirection

2003-10-07 Thread Mohsin Rahman
Perhaps this will help.

/usr/ports/net/bounce
pkg-descr: A little program to bounce tcp connections to another
machine/port.
By default it listens on port 1523.

/usr/ports/net/rinetd
pkg-descr:
rinetd redirects TCP connections from one IP address and port to another.
rinetd is a single-process server which handles any number of connections to
the address/port pairs specified in the file /etc/rinetd.conf. Since rinetd
runs as a single process using nonblocking I/O, it is able to redirect a
large number of connections without a severe impact on the machine. This
makes it practical to run TCP services on machines inside an IP masquerading
firewall. rinetd does not redirect FTP, because FTP requires more than one
socket. rinetd also supports basic allow/deny access control and logging.
Good Luck!
--Mohsin [EMAIL PROTECTED]

- Original Message - 
From: Tech Support [EMAIL PROTECTED]
To: freebsd-questions [EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 4:14 PM
Subject: Gateway / Port redirection


 Background

 I am currently running freeBSD 4.8 on a box as
 a) a gateway for the house for internet access on dialup permanant IP
 , domain etc
 b) using apache for a web server hosting a domain and virtual domains
 c ) Qmail for mail
 d ) Squid proxy for the childrens computers access ( saves on
 bandwidth )
 e) ProFtp as FTP Server
 f ) DNS
 g ) Ssh
 h) All on a dial up account
 i )  port Sentry
 j ) etc

 I need to run a couple of programs inside the lan where ports are
 directed to them from outside  the lan  eg all the above services are
 located on the Bsd box ( 192.168.x.x ) and i need to direct port 5060
 to 192.168.0.7 ( for arguments sake )

 Not being very knowlegable about the inner workings of FreeBSD ( but
 learning slowly ) I have decided that seeing as this is really only a
 temporary exercise ( perhaps a month , and to compound everything in a
 couple of months the BSD box will also be shifting to broadband ),
 that I would use FreeSCO ( www.freesco.org) as a NEW gateway / port
 redirector .  I am going to forward my current services above to my
 current BSD box and the NEW PORTS direct to the Win box(s) that I need
 to test this software on . My thoughts were to leave the current
 gateway as 192.160.0.1  and the FreeSCO box name it 192.168.0.254 . I
 would like to direct outbound web surfing via the BSD box as current
 as it would be a PITA to change all the machines on the LAN

 My question(s)

 a) is this overkill ( is there an EASIER way to do what I want ( port
 redirecting ) ( bearing in mind that although the lights are on in the
 attic they are at times low wattage :-)  )

 b ) WHAT do I need to change on my BSD box ( rc.conf  etc ) to make it
 work the way described ? Remembering that this is only temporary .

 Thanks in advance for any advice

 Regards

 Benny






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




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


ppp shell command and MYADDR

2003-10-07 Thread rduvall
I have configured ppp to bring up my ADSL connection (PPPoA) on Qwest MSN.  It 
works great!  However, for personal reasons which I won't mention here, I would 
like ppp to write the dynamic IP address that was assigned to me to a file 
called test.txt.  As you can see by the config below, this *should* work via the 
shell command in ppp.conf, which executes ipaddr.sh and sends MYADDR to the 
script.  However, when the script executes, it writes 10.0.0.2 to the file 
instead of the IP assigned.

How do I get it to write the address assigned?


Here is my entry in ppp.conf

adsl:
 set authname 
 set authkey xx
 set device !/usr/local/sbin/pppoa2 -vpi 0 -vci 32
 accept chap pap
 set speed sync
 set timeout 0
 enable lqr
 set lqrperiod 5
 set redial 15 1
 set dial 
 set ifaddr 10.0.0.2/0 10.0.0.1/0 255.255.255.0 0.0.0.0
 add default HISADDR
 shell /etc/ppp/ipaddr.sh MYADDR

Here is the shell script:

#!/bin/sh

MYADDR=$1
echo ${MYADDR}  /etc/ppp/test.txt
exit;

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


Ckermit connect problems more info...

2003-10-07 Thread Peter Elsner
sridev# kermit

Executing C-Kermit customization file /root/.mykermrc for UNIX...

C-Kermit 8.0.206, 24 Oct 2002, for FreeBSD 4.0
 Copyright (C) 1985, 2002,
  Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/usr/home/peter/) C-Kermitmydial daysdist
 Lookup: daysdist - exact match
 Trying: 1170W 1 574 266 1041...
 Device: /dev/cuaa0, modem: megahertz-xjack-56k, speed: 115200
 Dial timeout: 70 seconds
 To cancel: type your interrupt character (normally Ctrl-C).
 Call complete: CONNECT 9600/ARQ/V34/LAPM/V42BIS.
(/usr/home/peter/) C-Kermitc
Connecting to /dev/cuaa0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.


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


IPsec with racoon

2003-10-07 Thread Adam Bayless
I've followed a couple of the tutorials available on the web, including the 
one in the FreeBSD manual, for setting up an IPsec tunnel between two 
FreeBSD machines, but I am trying to connect to a netgear VPN device. I'm 
getting past phase 1 and getting an SA but the traffic will not flow.

Without quoting every piece of config, does anybody have any pointers on 
what might differ between the tutorials on FreeBSD - FreeBSD and talking 
to a VPN device?

Thanks,

Adam






Adam Bayless|  vi /etc/mail/aliases
Fibernet System Janitor |  complaints: /dev/null
[EMAIL PROTECTED]  |  :wq
baylessfamily.org/~abayless |  newaliases
 

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


Re: IPsec with racoon

2003-10-07 Thread rduvall
Is the external IP address of your VPN device an internet routable IP address?  
I know that if you are on an ADSL without static IP (like Qwest or MSN adsl) the 
IP address that is automatically assigned via DHCP by the DSL modem is private 
IP space, and therefore your VPN will not work.  I resorted to getting an 
Alcatel Speedtouch USB modem and plugging it into a FreeBSD box for my Qwest MSN 
and set my VPN to go between the 2 FreeBSD boxes.  This gave my firewall/gateway 
a real IP address.  Granted, it is dynamic and I have to change my vpn every 
time my IP address get's re-negotiated, but at least it works.  I am trying to 
figure out a way to dynamicly change the VPN config on both ends when ppp comes 
up so I don't have to do it manually.

Sincerely,

Rick Duvall

--- Adam Bayless [EMAIL PROTECTED] wrote:
 I've followed a couple of the tutorials available on the web, including the 
 one in the FreeBSD manual, for setting up an IPsec tunnel between two 
 FreeBSD machines, but I am trying to connect to a netgear VPN device. I'm 
 getting past phase 1 and getting an SA but the traffic will not flow.
 
 Without quoting every piece of config, does anybody have any pointers on 
 what might differ between the tutorials on FreeBSD - FreeBSD and talking 
 to a VPN device?
 
 Thanks,
 
 Adam
 
 
 
 
 
 
 Adam Bayless|  vi /etc/mail/aliases
 Fibernet System Janitor |  complaints: /dev/null
 [EMAIL PROTECTED]  |  :wq
 baylessfamily.org/~abayless |  newaliases
  
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


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


Re: ppp shell command and MYADDR

2003-10-07 Thread Eric Dillenseger
On Tue, Oct 07, 2003 at 01:28:09PM -0700, rduvall @ onlinehighways. net wrote:
 How do I get it to write the address assigned?
Using ppp.linkup comes to my mind with something like 
ifconfig tun0 | grep inet | awk '{print $2}'  test.txt

-- 
 Enfin vivement les procs optique qui ne chaufferont pas trop ;-)
Vivement les proc quantiques, en rajoutant un glaçon, on pourra même 
les boire ...
[ Eric Dillenseger GPG(OxFF352913) eric(at)naxalite(dot)ath(dot)cx ]


pgp0.pgp
Description: PGP signature


Re: looking at customers password

2003-10-07 Thread Ion-Mihai Tetcu
On Tue, 07 Oct 2003 19:41:42 +
DanB [EMAIL PROTECTED] wrote:

 Once you changed your master password can you look at your customers
 passwords to see if any have been changed by date?
 Where is the master password file located?
 
 Dan

RTFM:

FILES
 /etc/master.passwd  the user database
 /etc/passwd a Version 7 format password file
 /etc/passwd.XX  temporary copy of the password file
 /etc/login.conf login class capabilities database
 /etc/auth.conf  configure authentication services

SEE ALSO
 chpass(1), kerberos(1), kinit(1), login(1), login.conf(5), passwd(5), 
kpasswdd(8), pwd_mkdb(8), vipw(8)

And the handbook, etc.


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


Inetd services question

2003-10-07 Thread Darryl Hoar
Greetings,
I am running 4.7-stable.  My machine has an internet facing 
network interface, and a private LAN (192.168.1.X) facing interface.

Question:  Can you enable a well known service in inetd.conf, and
have it only available for the private interface?  IE, no hacking from
outside ?

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


Re: Inetd services question

2003-10-07 Thread Eric Dillenseger
On Tue, Oct 07, 2003 at 04:27:10PM -0500, Darryl Hoar wrote:
 Greetings,
 I am running 4.7-stable.  My machine has an internet facing 
 network interface, and a private LAN (192.168.1.X) facing interface.
 
 Question:  Can you enable a well known service in inetd.conf, and
 have it only available for the private interface?  IE, no hacking from
 outside ?
 
Of course, example:
192.168.1.X:ftp  stream tcp  nowait  root  /usr/libexec/ftpd   ftpd -l
but i'd rather set a firewall up.

-- 
 Enfin vivement les procs optique qui ne chaufferont pas trop ;-)
Vivement les proc quantiques, en rajoutant un glaçon, on pourra même 
les boire ...
[ Eric Dillenseger GPG(OxFF352913) eric(at)naxalite(dot)ath(dot)cx ]


pgp0.pgp
Description: PGP signature


Re: Does any one know product like to Outlook 2003

2003-10-07 Thread rtjohan

Hi All, Does any one know FreeBSD product just like to Outlook 2003 (on
exchange server). My company people want same features.
Help me guys. Thanks
 

Have a look at this one.

http://www.freshports.org/mail/evolution/
   

Unless Xiam has changed this - I last remember it being somewhere in the 
ballpark of 50.00 to 100.00 bux per client.
 

Is there a free alternative available?

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


Re: freebsd root password lost

2003-10-07 Thread Ion-Mihai Tetcu
On Tue, 07 Oct 2003 19:49:32 +
DanB [EMAIL PROTECTED] wrote:

 Is there other way to change the root password that been lost
 without shutting down the computer.

Take a look at:
Dru's Cracking Passwords to Enhance Security
http://www.onlamp.com/pub/a/bsd/2001/01/24/FreeBSD_Basics.html
It might work.

(
UNtested:
/var/backups/master.passwd.bak
should contain the old passwords and, with
pwd_mkdb master.passwd.bak should regenerate the old password databases.
But first backup and READ
PWD_MKDB(8)

)


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


Re: ppp shell command and MYADDR

2003-10-07 Thread rduvall
I fixed the problem...

It seems that I cannot specify my shell command within ppp.conf, I have to use a 
ppp.linkup file and specify from within there.  It works correctly now.

Sincerely,

Rick Duvall

--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I have configured ppp to bring up my ADSL connection (PPPoA) on Qwest MSN.  It 

 works great!  However, for personal reasons which I won't mention here, I 
would 
 like ppp to write the dynamic IP address that was assigned to me to a file 
 called test.txt.  As you can see by the config below, this *should* work via
 the 
 shell command in ppp.conf, which executes ipaddr.sh and sends MYADDR to the 
 script.  However, when the script executes, it writes 10.0.0.2 to the file 
 instead of the IP assigned.
 
 How do I get it to write the address assigned?
 
 
 Here is my entry in ppp.conf
 
 adsl:
  set authname 
  set authkey xx
  set device !/usr/local/sbin/pppoa2 -vpi 0 -vci 32
  accept chap pap
  set speed sync
  set timeout 0
  enable lqr
  set lqrperiod 5
  set redial 15 1
  set dial 
  set ifaddr 10.0.0.2/0 10.0.0.1/0 255.255.255.0 0.0.0.0
  add default HISADDR
  shell /etc/ppp/ipaddr.sh MYADDR
 
 Here is the shell script:
 
 #!/bin/sh
 
 MYADDR=$1
 echo ${MYADDR}  /etc/ppp/test.txt
 exit;
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


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


Re: Inetd services question

2003-10-07 Thread Ion-Mihai Tetcu
On Tue, 7 Oct 2003 16:27:10 -0500
Darryl Hoar [EMAIL PROTECTED] wrote:

 Greetings,
 I am running 4.7-stable.  My machine has an internet facing 
 network interface, and a private LAN (192.168.1.X) facing interface.
 
 Question:  Can you enable a well known service in inetd.conf, and
 have it only available for the private interface?  IE, no hacking
 from outside ?

In hosts.allow put:

service_name_or_port(s) : 192.168.1.1/255.255.255.0 : allow
ALL : ALL : DENY

see also :

tcpdmatch(8)
ftpchroot(5)
ftpd(8)

security(7)
ipfw(8)




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


Re: nerd

2003-10-07 Thread Lowell Gilbert
roro [EMAIL PROTECTED] writes:

 how do I download freeBSD ? Right! It´s a nerd question, but I tried to download it 
 from the ftp-sites and it did not work

http://www2.es.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

 Apart from using my PIV
 Is there a version of freeBSD suitable for machines such as a 486 and MMX133/166? Id 
  like to turn al the leftovers into a little network and obtain a super-desktop.
 Any hints on that respect?

If they have at least a dozen megabytes of RAM, any version.  [FreeBSD
can run in a lot less, but the normal install needs more.]
I don't think any number of old, slow machines will help you improve
your desktop operations, though.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gateway / Port redirection

2003-10-07 Thread Eric F Crist
On Tuesday 07 October 2003 03:14 pm, Tech Support wrote:
 ||Snip||
 My question(s)

 a) is this overkill ( is there an EASIER way to do what I want ( port
 redirecting ) ( bearing in mind that although the lights are on in the
 attic they are at times low wattage :-)  )

 b ) WHAT do I need to change on my BSD box ( rc.conf  etc ) to make it
 work the way described ? Remembering that this is only temporary .

 Thanks in advance for any advice

 Regards

 Benny

Benny,

As great as FreeBSD is, you'd probably get as much done with a lot less 
headache if you used a broadband gateway/router.  My Linksys BEFW11S4 has 
done everything I need it to thus far.  This particular devil has built-in 
802.11b wireless access, built-in DHCP server, port-forwarding, if you 
purchase ZoneAlarm, you can input the purchase code and it will even act as a 
firewall!  The only things it will NOT do include connecting to a dial-up 
internet provider and it can't act as a proxy server, but you shouldn't need 
that with broadband, anyways.  

What's great about the portforwarding is that it's not like the older ones, 
where you just told it what computer was the DMZ and EVERYTHING incoming got 
forwarded.  Now, you can tell it that port 22 is ssh and your ssh server is 
on the internal 192.168.0.4 computer and the web server is operating on port 
80 on 192.168.0.5, etc, etc.

I hope this helps. (In other words, there is an easier way to do this...)

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000


pgp0.pgp
Description: signature


Re: Gateway / Port redirection

2003-10-07 Thread Tech Support
Eric
you wrote
~
s great as FreeBSD is, you'd probably get as much done with a lot less
headache if you used a broadband gateway/router.  My Linksys BEFW11S4
has
done everything I need it to thus far.  This particular devil has
built-in
802.11b wireless access, built-in DHCP server, port-forwarding, if you
~~~

I am moving to that suggestion in 1 - 2 months time so what I am after
is a temporary measure for this transition period

regards and thanks

Benny

Moshin

Thank you for your suggestion . I am reading up on that now to see if
its within my scope .. The BSD box is running like a dream for well
over 12 months now and I don't want to break it going into areas I am
not sure of ..

I'll let yo know the result

Thank you

Benny


Don't throw your PC out the window, throw Windows out of the PC




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


Logging users activity with termlog

2003-10-07 Thread Lukasz Wasikowski
Hello!

FreeBSD 4.9-RC. termlog 1.0.2-STABLE. I want to log users activity on my
box.

1. I'd like to run termlog -u UID as soon as user with UID log in. How
should I do it?

2. I noticed that running screen program and then leaving it (quit, not
detach) makes termlog to quit with:

termlog: fatal: unable to poll device.: Bad file descriptor

User is still logged in. The same quit reason is when user don't use
screen and logout. What's wrong?

3. -t switch should put timestamps in the output file but it doesn't.
Files created with -t and without it are identical.

Maybe there is a better way to log users activity?

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


Re: Gateway / Port redirection

2003-10-07 Thread Drew Tomlinson
- Original Message - 
From: Tech Support [EMAIL PROTECTED]
To: freebsd-questions [EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 1:14 PM

 Background

 I am currently running freeBSD 4.8 on a box as
 a) a gateway for the house for internet access on dialup permanant IP

...

 i )  port Sentry

Is this your firewall?

 I need to run a couple of programs inside the lan where ports are
 directed to them from outside  the lan  eg all the above services are
 located on the Bsd box ( 192.168.x.x ) and i need to direct port 5060
 to 192.168.0.7 ( for arguments sake )

...

 a) is this overkill ( is there an EASIER way to do what I want ( port
 redirecting ) ( bearing in mind that although the lights are on in the
 attic they are at times low wattage :-)  )

 b ) WHAT do I need to change on my BSD box ( rc.conf  etc ) to make it
 work the way described ? Remembering that this is only temporary .

If you use ipfw that's available with the base system (you have to add
an option to your kernel config to enable), then you get a very
configurable firewall with the ability to port forward.  If all you
wanted to do is forward traffic on a few ports and leave everything else
wide open, your rule set would be as simple as:

ipfw add fwd 192.168.0.7 from any 5060 to me
ipfw add allow from any to any

Of course I recommend that you do not leave your system wide open but if
Port Sentry is already filtering your traffic to your liking, you can
just use the forwarding feature of ipfw.  See man ipfw and the handbook
for more info.

Note:  The above assumes that ipfw sees a dial-up interface just like
any other network interface.  I've never used dial-up but have had no
problems using ipfw to forward packets with regular Ethernet interfaces.
YMMV.

HTH,

Drew

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


update confusion 4.8-STABLE to STABLE = 4.9-PRERELEASE !?

2003-10-07 Thread Luke Sheppard
I just want to say Thank You for posting this:

http://lists.freebsd.org/mailman/htdig/freebsd-questions/2003-October/02
1196.html

I've read two books on FreeBSD and a lot of the Handbook, but I was
still confused about this issue.
The exact same thing happened to me that happned to the original poster
of that message. Your reply clarified the issue perfectly for me. Thanks
for taking the time.


Luke Sheppard, CCNP, CCDA, CCSE
Senior Security Consultant  [EMAIL PROTECTED]
Network Presence, LLC   310-216-6850, x15
5959 W. Century Blvd, Ste 734   310-216-6905 FAX
Los Angeles, CA 90045-6508  www.netpr.com
PGP Key:  www.netpr.com/contact/pgpkeys/lukekey.asc  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPF and Routing

2003-10-07 Thread Eric F Crist
On Tuesday 07 October 2003 07:21 am, Luke Kearney wrote:
 Thanks for your response. It may well be that I end up doing exactly
 that to fix this issue in the short term. But there are some internal
 resources that I don't want to have live IP's so I am trying for the
 workable NAT solution.

 Regards,

 LukeK


 On Tue, 7 Oct 2003 07:20:15 -0500

 Minnesota Slinky [EMAIL PROTECTED] granted us these pearls of wisdom:
  Why bother doing nat?  You *could* just setup a DHCP server on the
  gateway for the remaining IP address and when the other 14 machines came
  online, they could dynamically pull the IP addy.  Just set some very
  strict rules on the incoming packets to the rest of the internal
  network.  This is a similar thing to what I did when I had an 8-block
  from Qwest a couple years ago.
 
  HTH
 
  Eric F Crist
  AdTech Integrated Systems, Inc
  (952) 403-9000

Do you mind if I ask you to elaborate on the configuration of your network and 
which services you don't want accessed?

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000


pgp0.pgp
Description: signature


Two extra buttons on mouse.

2003-10-07 Thread Eric F Crist
Hey all,

I'm getting excited, as, after using FreeBSD since 1998, I'm finally getting 
around to making the GUI more friendly for myself and the fortunate people 
who use my systems...

I finally got the wheel to work on my Trackball Explorer, but I'm not finding 
anything that helps me map the extra two buttons on the side of the mouse to 
functions inside KDE.  I figured that, like the keyboard, they would have 
keymaps that I could just direct to, say, F20 and F21, but, alass, they do 
not, as far as I can tell.

Perhaps some of you have gotten this working?  I love the scrolling feature, 
especially in X.  I have to say, it's one thing that Microsoft did right.

TIA
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000


pgp0.pgp
Description: signature


Re: I try to change atapi_dma to 1 but it doesn't work (It was Re: ATI Radeon IGP 340M)

2003-10-07 Thread jason
Use hw.ata.atapi.dma=x  for atapi devices(cdroms and dvdroms).  Drop 
that atapi for hard drives.  Here x = 0-6 at speeds of 16.7, 25, 33.3, 
44.4, 66.7, 100, 133.  Mode 6 only works on select drives, like mators, 
with a board that supports, like an nforce.  Most cdroms should not be 
more than a mode 2.  Thats for a 52x where 52x150kb/s=7800kb/s=7.6mb/s 
max transfer.  My liteon supports 33.3mb/s tranfers, and I use that mode 
but it is no real avantage over mode 0 or 1.  Dvds use 1250kb/s as their 
x value, so a 8x dvd would need 8x1250kb/s=1kb/s=9.8mb/s.  So just 
cut and paste this in the loader.conf file.



Juan Rodriguez Hervella wrote:

On Monday 06 October 2003 19:49, Mike Silbersack wrote:
 

On Mon, 6 Oct 2003, Juan Rodriguez Hervella wrote:
   

Thank you very much.

It's working. I've tried to play a DVD using ogle, but
it doesn't work very well, the movement isn't steadyI've got
a friend with the same laptop using Linux and he tells me it works
nice.so I guess it's a FreeBSD performance problem*sigh*
Thank you anyway.

--
JFRH
 

FreeBSD doesn't enable DMA access to CD/DVD drives by default, that may be
part of the problem; try enabling atapi_dma (see the ata manpage), that
might help.
Mike Silby Silbersack
   

I've tried both atapi_dma=1 in loader.conf and atacontrol mode 1 udma100 
XXX but when I attempt to access the device, it hangs up.

I copy a dmesg if this can help. Look at the end there are some error 
messages related to ATA
 



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


mkisofs file too large?

2003-10-07 Thread jon
i googled and found that linux has a large file
problem, but no info about FreeBSD

# mkisofs -v
mkisofs 2.0.3

# uname -r
5.1-RELEASE-p10

# ls -lh
-rw-r-  1 root  wheel2.6G Oct  7 22:11:00
2003 mkisofstest.tar

# mkisofs -o mkisofstest.tgz.iso mkisofstest.tgz
mkisofs: Value too large to be stored in data type.
File mkisofstest.tar is too large - ignoring
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used ab24
48 extents written (0 Mb)


thanks to all


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ogle and sound problems...

2003-10-07 Thread Eric F Crist
Hey, I already posted once about this, and after a little more investigation, 
I'm finding that the dsp device is simply busy.  I created a test account, 
with the .xinitrc file simply containing: exec ogle /dev/acd1 and the DVD 
played with sound (although choppy, but I'm following the other post).

I would like to use Ogle from inside KDE, but I'm not sure, and have not seen 
anything in google or these posts about this problem.  How do I make ogle use 
either the aRTS server, or just force it to use the /dev/dsp method? (I've 
tried running ogle as root, too)


-- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000


pgp0.pgp
Description: signature


Re: mkisofs file too large?

2003-10-07 Thread Dan Nelson
In the last episode (Oct 07), jon said:
 # ls -lh
 -rw-r-  1 root  wheel2.6G Oct  7 22:11:00 2003 mkisofstest.tar
 
 # mkisofs -o mkisofstest.tgz.iso mkisofstest.tgz
 mkisofs: Value too large to be stored in data type.
 File mkisofstest.tar is too large - ignoring
 Total translation table size: 0
 Total rockridge attributes bytes: 0
 Total directory bytes: 0
 Path table size(bytes): 10
 Max brk space used ab24
 48 extents written (0 Mb)

It may be that the cd9660 filesystem cannot correctly represent files
over 2gb, so mkisofs skips files larger than that.  Mkisofs explicitly
rejects files over 2^31 bytes:

tree.c:1520
if (S_ISREG(lstatbuf.st_mode)  (lstatbuf.st_size = (off_t)0x7FFF)) { 
errno = EFBIG;
errmsg(File %s is too large - ignoring\n, whole_path); 


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


fxp0, fxp1 falling into promiscuous mode ?

2003-10-07 Thread Michael Lee
Hi,

I run my FBSD Box as a gateway for my internal network on ipf and ipnat. (
with rdr rules set as port forwarding )
After changing my NICs to Compaq NC3134, dual ports Intel 82559 Server NIC,
I found that the NICs sometimes fell into promiscuous mode when I log into
the console.

The system sometimes shows up
fxp0 promiscuous mode enabled
fxp0 promiscuous mode disabled
fxp1 promiscuous mode enabled
fxp1 promiscuous mode disabled

in this way in between.

I have a win2000 box in the internal network running edonkey with a lot of
connection. The compaq server Nic is supposed to be very stable. I wonder if
it was caused by too many concurrent connection on the Win2000 box causing
this problem.

My FBSD Box runs on FreeBSD 5.1 Release. I don't know if it is the driver
issue.

Does it have any side effect that the system keeps showing the messages ?

Thanks!

Michael Lee

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


Setting the sticky bit on /var/mail...

2003-10-07 Thread Joe Altman
I am using Exim as a local mail agent on 5.1-RELEASE-p10. Suddenly, I
can no longer set the sticky bit on /var/mail...not even as root. The
error is operation not permitted when I run 'chmod 1777 mail'...this
error doesn't occur on 4.9-RC.

What could cause this type of behavior, the sudden inability to set
that sticky bit? Further, if anyone has a pointer (beyond the manual)
to information regarding this, I would be grateful for the pointer.

I just finished a cvsup this weekend; but I am not sure when this
became a problem because the machine is a testbed for 5.x and is often
turned off for extended periods.

Anyway, if anyone has a clue for me, I would appreciate it. I am
guessing (utterly in the dark) that the culprit may be a chflags
issue? 

Thanks in advance for any replies...

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


Re: Setting the sticky bit on /var/mail...

2003-10-07 Thread Mike Maltese
This may not be correct, but my first instinct would be to check for a flag
on the directory, i.e., 'ls -lo /var | grep mail'.

See man pages for chflags and ls if necessary.


 I am using Exim as a local mail agent on 5.1-RELEASE-p10. Suddenly, I
 can no longer set the sticky bit on /var/mail...not even as root. The
 error is operation not permitted when I run 'chmod 1777 mail'...this
 error doesn't occur on 4.9-RC.

 What could cause this type of behavior, the sudden inability to set
 that sticky bit? Further, if anyone has a pointer (beyond the manual)
 to information regarding this, I would be grateful for the pointer.

 I just finished a cvsup this weekend; but I am not sure when this
 became a problem because the machine is a testbed for 5.x and is often
 turned off for extended periods.

 Anyway, if anyone has a clue for me, I would appreciate it. I am
 guessing (utterly in the dark) that the culprit may be a chflags
 issue?

 Thanks in advance for any replies...

 fj

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


Re: Unable to install

2003-10-07 Thread Kris Kennaway
On Tue, Oct 07, 2003 at 07:40:43PM +0530, Sanjay wrote:
 I'm unalbe to boot the BSD partition Itself.
 On entering F3 it just hangs, blank screen.

As you note, you're using a version of the OS that is 1 1/2 years out
of date.  Try again with something more modern.

Kris


pgp0.pgp
Description: PGP signature


Re: Make World and Sound Help

2003-10-07 Thread Kris Kennaway
On Tue, Oct 07, 2003 at 09:34:32AM -0400, rodrique heron wrote:

 I have been trying to update my system using make world for the last
 5 days and I am getting no where. All my searches for an answer
 comes up short.

You seem to be using FreeBSD-CURRENT, when you probably shouldn't be -
in general if you want to run -CURRENT you're expected to read the cvs
commit logs, and the freebsd-current mailing list, and to deal with
this kind of problem yourself when it occurs.

Please see the example cvsupfiles and read the FreeBSD Handbook
section on how to track -STABLE or a release branch instead.

Kris


pgp0.pgp
Description: PGP signature


Re: cvsup: Error code 1

2003-10-07 Thread Kris Kennaway
On Tue, Oct 07, 2003 at 11:55:08AM -0700, [EMAIL PROTECTED] wrote:
 For some reason the portupgrade / or make reinstall does not work on any 
 of the outdated ports. Get the same error on all of them. Error code 1. 

Post the actual error with context so we can begin trying to help you.

Kris


pgp0.pgp
Description: PGP signature


Re: Setting the sticky bit on /var/mail...

2003-10-07 Thread Joe Altman
On Tue, Oct 07, 2003 at 08:26:40PM -0700, Mike Maltese wrote:
 This may not be correct, but my first instinct would be to check for a flag
 on the directory, i.e., 'ls -lo /var | grep mail'.

Absolutely you are correct, and the crowd goes wild with
applause...thank you.

I suppose it would be nice to know what set all of the following on
/var/mail:

opaque nodump uappnd uchg uunlnk

because it sure wasn't me.

Removing them allowed me to set the appropriate bit. Thanks again.


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


Re: Setting the sticky bit on /var/mail...

2003-10-07 Thread Mike Maltese
 Absolutely you are correct, and the crowd goes wild with
 applause...thank you.


Glad it helped. =)

 I suppose it would be nice to know what set all of the following on
 /var/mail:

 opaque nodump uappnd uchg uunlnk

 because it sure wasn't me.

 Removing them allowed me to set the appropriate bit. Thanks again.

That strikes me as really strange. Any chance another user did this or that
the box was compromised? It seems to be no small coincidence that all the
flags you listed are the ones that don't require root privileges.

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


[no subject]

2003-10-07 Thread esayer1
FreeBSD-
Is the AMD iso image miniinst.iso the equivalent of the first disk in an
i386 install.  If not is there anything else i need besides the second disk?
-Thanks

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


Re: your mail

2003-10-07 Thread Kris Kennaway
On Tue, Oct 07, 2003 at 09:37:53PM -0700, [EMAIL PROTECTED] wrote:
   FreeBSD-
   Is the AMD iso image miniinst.iso the equivalent of the first disk in an
 i386 install.

No, the miniinst is the miniinst (i.e. one exists for i386 too)..it's
the bare install media with no packages.

Kris

pgp0.pgp
Description: PGP signature


sendmail with ssl

2003-10-07 Thread Tony Tung
Hi,

I'm trying to set up sendmail with ssl.  I followed the directions on 
http://www.puresimplicity.net/~hemi/freebsd/sendmail.html, and 
everything appears to work for port 25.  However, I want to make it 
accessible on port 465 as well.  When I connect to the server on port 
465, it does not work.  If I disable SSL on my client, both ports 25 
and 465 work.

Does anyone have any suggestions?

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