Re: ntpd as broadcastclient - not working?

2004-08-30 Thread W. D.
Thanks Harlan for your reply.

More below...

At 01:52 8/29/2004, Harlan Stenn wrote:

I'd recommend the latest ntp-dev tarball

Why the ntp-dev?

From what Danny Mayer says, there was a 
broadcastclient bug that was fixed for -Nix
on 2004 March 25:
http://Bugzilla.NTP.org/show_bug.cgi?id=267

According to this listing:
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/

there is a 'stable' version as new as 2004 Jun 17.
I am looking for a simple and reliable solution
to use my existing NTP broadcasts (using Tardis)
to synch up my FreeBSD box.  Using a 'development'
version implies that it hasn't been certified to
be used in a production environment, correct?


once you have it:

 % tar xvzf ntp-dev-whatever.gz
 % cd ntp-dev-whatever
 % mkdir A.x
 % cd A.x
 % ../configure
 % make
 % su
 # make install
 # /usr/local/bin/ntpd -gN -D2  (or whatever)


Thanks for this procedure list.  I actually did
the following:

# cd /usr/ports/net/ntp/
# make deinstall

(went to /etc/rc.conf and commmented out lines concerning NTP,
then rebooted to disallow the ntpd program from running)

# mkdir ntp-stable-4.2.0a-20040617
cd /usr/ports/distfiles/
#ftp
ftp open ftp.starhub.net.sg
ftp cd /pub/funet/unix/tcpip/ntp/xntp/udel/ntp4/
ftp get ntp-stable-4.2.0a-20040617.tar.gz
ftp exit
# cp -p ntp-stable-4.2.0a-20040617.tar.gz
/usr/ports/net/ntp/ntp-stable-4.2.0a-20040617/
# cd /usr/ports/net/ntp/ntp-stable-4.2.0a-20040617/
# tar xvzf ntp-stable-4.2.0a-20040617.tar.gz
# mkdir A.x# Why 'A.x'?  Would 'temp' work?
# cd A.x
# ../configure
# make
# make install

The 'make install' seemed to go smoothly , but
I cannot find the new executables for NTP.  The 
old ones from 2003 Oct 27 are still in /usr/sbin/.

When I try to find any files modified in the
past day and run:

find ./ -name *.* -mtime 1

I don't find 'ntpd' or any other new NTP
related executables.  Does anyone know why 
I can't find the executables, and why the old 
ones are still here?  Where should the new
ones be?


And remember that you need to use authentication by default if you
are using broadcast.

If you do not want to use authentication you will either need a line
in your ntp.conf file (I forget what it is, but it should be easy to find)
or use -A on the command line.

Right.  This is what I have been using in rc.conf:

xntpd_enable=YES
xntpd_flags=-A -c /etc/ntp.conf -p /var/run/ntpd.pid -l
/var/log/ntpd.log 





It's pretty easy to set up authentication.

Well, I am sure it should be, but I can't find a 
clear, step-by-step procedure for it.  ;^)

Again, Tardis does not have the option for
authentication--as far as I know.


H


At 02:46 8/29/2004, Harlan Stenn, wrote:
How about you replace tardis with ntpd?

H

Well, I thought it would be just a simple matter
to get my FreeBSD box to listen to the existing
Tardis NTP broadcasts.  I was hoping to avoid
all the complications of setting up NTP on 
a FreeBSD box to duplicate what Tardis is already
doing.

As an aside, I am very dissapointed that that
there isn't more clear and simple documentation
for FreeBSD/Unix software.  I've found 'man'
pages to be almost useless.  They rarely give
examples, and when they do, they are extremely
complicated.  Criminy, why make it easy for
Bill Gates to keep his stranglehold?



W. D. wrote:
 
 Harlan Stenn wrote:
 
  The timeout on ntpq is strange.
 
  broadcast requires auth.  Are you starting ntpd with -A (bad idea) to get
  around this requirement?
 
 Yes, here are the lines that I added to /etc/rc.conf:
 
 xntpd_enable=YES
 xntpd_flags=-A -c /etc/ntp.conf -p /var/run/ntpd.pid -l
 /var/log/ntpd.log
 
 What else can I do?  Tardis doesn't have the
 authentication option--as far as I know.
 
 Although I have some Pentium III boxes laying around,
 I was hoping to not have to build a complete time
 server--just wanted to use the existing NTP
 broadcasts that Tardis puts out.
 
 
  H
 


-- 
Start Here to Find It Fast!™ -
http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ntpd as broadcastclient - not working?

2004-08-30 Thread Harlan Stenn
The ntp-stable tarballs are curently less-complete (less up-to-date) than
the ntp-dev tarballs.

I suspect Danny's patches have only been applied to ntp-dev, but
depending on when I last pulled ntp-dev back to -stable some of them
might be there.

Basically, we run ntp-dev all over and are expecting very few changes
between ntp-dev and what will become ntp-4.2.1.

We know that broadcasts work with networks that use ntpd.  I have no idea
what tardis is doing.  The fact that they apparently do not support any
authentication mechanism for broadcasts is troubling.

As for the documentation, this is a volunteer project.  There are at least
three documentation channels:

- the official pages (submit your ideas to Dave)
- the FAQ (submit your ideas to Ulrich)
- the twiki (edit/add pages as you see fit)

If you post improved documentation to the newsgroup and you post
permission to have your information used in the twiki, there is a chance
somebody will see it and also copy it there.  In general, I do not
copy content from the newsgroup to the twiki without explicit permission.

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


Re: Which disk is which

2004-08-30 Thread Subhro
What do u mean by difference?

The device ad represents a IDE/ATA disk and the da device represents a
SCSI disk. As you have got one IDE hard disk and one SCSI hard disk in
your box, its showing up as ad0 and da0. But as you say that there is
no SCSI in that box, then something seems to be wrong. Check your BIOS
and disable any onboard SCSI controllers if present

Regards
S.

On Mon, 30 Aug 2004 14:11:43 +0800, John [EMAIL PROTECTED] wrote:
 Subhro wrote:
  Read the handbook buddy, its clearly given there that
 
 There is no call for that rudeness.
 
 I'm looking at
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html
 figure 2-20 which explains lots of things, but not the difference
 between ad and da devices.
 
  ad = IDE/ATA
  da = SCSI
 
 I have no SCSI in this box.
 
 
 
 
  Regards
  S.
 
  On Mon, 30 Aug 2004 13:18:39 +0800, John Summerfield
  [EMAIL PROTECTED] wrote:
 
 I've booted a 5.2.1 miniinstall CD and got to the point where I choose which
 disk to install onto.
 
 My choices are
 ad0
 da0
 
 Great. How do I know which disk is which? _I_ could work it out if the panel
 displayed information such as
 Brand
 Capacity
 
 Note: DOS names would be worse than useless because I don't use DOS, and the
 BIOS doesn't detect all my drives.
 
 The website doesn't help.
 
 I'm not on any list. Please respond by
 a) Fixing the web page
 b) Mailing me the necessary info (eg the fixed page when it's done) in case I
 can't discover by other means which is which.
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 
 
 
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ntpd as broadcastclient - not working?

2004-08-30 Thread W. D.
At 01:22 8/30/2004, Harlan Stenn wrote:
The new binaries are probably in /usr/local/bin/ .

Right you are!

Why is that?  Shouldn't there be a compiler directive
for FreeBSD that puts them in /usr/sbin/ ?  I believe
that is where FreeBSD expects them to be.

Shall I just move them over there manually?



I use A.* because I usually build for a Lot of platforms.

The ./build script can also be used, and follows this convention.

H

Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

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


Re: ntpd as broadcastclient - not working?

2004-08-30 Thread Harlan Stenn
Better to follow the FreeBSD convention and leave them in /usr/local.

Change xntpd_program in /etc/rc.conf .

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


Re: Which disk is which

2004-08-30 Thread John
Subhro wrote:
What do u mean by difference?
 

That page does not mention da devices at all.
The device ad represents a IDE/ATA disk and the da device represents a
SCSI disk. As you have got one IDE hard disk and one SCSI hard disk in
your box, its showing up as ad0 and da0. But as you say that there is
no SCSI in that box, then something seems to be wrong. Check your BIOS
and disable any onboard SCSI controllers if present
 

There are no SCSI controllers. It's your basic cheap Acer desktop 
Pentium III of a few years ago.

As I said already, I have no SCSI in this box.

Regards
S.
On Mon, 30 Aug 2004 14:11:43 +0800, John [EMAIL PROTECTED] wrote:
 

Subhro wrote:
   

Read the handbook buddy, its clearly given there that
 

There is no call for that rudeness.
I'm looking at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html
figure 2-20 which explains lots of things, but not the difference
between ad and da devices.
   

ad = IDE/ATA
da = SCSI
 

I have no SCSI in this box.

   

Regards
S.
On Mon, 30 Aug 2004 13:18:39 +0800, John Summerfield
[EMAIL PROTECTED] wrote:
 

I've booted a 5.2.1 miniinstall CD and got to the point where I choose which
disk to install onto.
My choices are
ad0
da0
Great. How do I know which disk is which? _I_ could work it out if the panel
displayed information such as
Brand
Capacity
Note: DOS names would be worse than useless because I don't use DOS, and the
BIOS doesn't detect all my drives.
The website doesn't help.
I'm not on any list. Please respond by
a) Fixing the web page
b) Mailing me the necessary info (eg the fixed page when it's done) in case I
can't discover by other means which is which.
___
[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: MAXDSIZ and MAXSIZ

2004-08-30 Thread Dennis George
But if its an offset then why do specify like this :

 

options MAXDSIZ=(1024UL*1024*1024)

options MAXSSIZ=(128UL*1024*1024)
options DFLDSIZ=(1024UL*1024*1024) 
 

 

Dennis


Subhro [EMAIL PROTECTED] wrote:
Hi,

On Sun, 29 Aug 2004 21:19:51 -0700 (PDT), Dennis George
wrote:
 I was going through the following post to understand MAXDSIZ and MAXSSIZ...
 Its really a helpfull post...
 
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=83003+0+archive/2002/freebsd-hackers/20020804.freebsd-hackers
 
 But I have a doubt about this... Is the MAXDSIZ the offset  or its the 
 actual size From the diagram explained in the above link. Where can I fit 
 MAXSSIZ in the diagram. If its a offset
 

Its just the offset.

 And one more thing Does the Kernel occupies 1GB of VM  as depicted by the 
 diagram ???

No it does not, it was just an example. The maximum space available is
limited by the amount of SWAP space present.

 
 Waiting for your answers
 
 Thanks in advance
 Dennis
 

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India


-
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question on ATM w/ FreeBSD

2004-08-30 Thread Ted Mittelstaedt
Hi All,

   Can I plug in an ATM DS3 into something like a Cisco Lightstream LS1010
with a DS3 card, then plug a PC running FreeBSD and Quagga, with a
Marconi Forerunner HE155 using the fatm() driver, into a OC3 card on
the LS1010, then define a VC, switch it through the switch,
and run data over that?

  We are looking into bringing in another feed this time via ATM DS3,
and I don't think that a DS3 ATM card exists for the PC that has a
FreeBSD (or Linux) driver.  However I see a number of PCI ATM lan adapters
for PC's.  It seems that an ATM switch, of which there are plenty
available, would be the way to get from one to the other.  However I
have not dealt yet with ATM switches, is there anything inherently different
about ATM on a lan adapter like the HE155, and ATM on a DS3?

Ted


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


re: building new kernel fails during build of 'ath' driver

2004-08-30 Thread Fredrik Andersson
Hi jms ! 

I had the same problem. I get a tip in another mailgroup, that I tried. After that my 
card worked better and no errors when compile kernel. 

Try too add 
device ath_hal 
device wlan

in kernel and then compile again. 

Fred. 

version: 5.2.1

I added this driver in my kernel config to natively support my
Atheros-based wireless NIC (Netgear WCG311 I think).  The build fails
immediately after starting to link the necessary objects together.  I
didn't notice any unusual errors during the compile phase.


if_ath_pci.o: In function `ath_pci_probe':
if_ath_pci.o(.text+0xd4): undefined reference to `ath_hal_probe'
*** Error code 1

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


It looks like the system found a header file that defined the function,
since it compiled if_ath.c in the first place.  Any ideas why it wouldn't
be linking properly?

jms




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


Re: vi editor related question

2004-08-30 Thread Shantanu
+++ Soo-Hyun Choi [freebsd] [28-08-04 00:52 +0100]:
| Hi,
| 
| I edit C++ codes with a certain text editor under Windows XP, and then
| I open the C++ codes using vi editor under FreeBSD. Then, there are
| bunch of ^M sign at the end of each line. Does anyone know why this
| is happening? And, does anyone can tell me how to avoid this kind of
| things?
| 
| Cheers,
| 
| --

col -bs  oldfile  newfile

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


Re: newfs_msdos bootstrap file

2004-08-30 Thread Matthew Crowe
Henrik:
Yes, I did try /boot/mbr and /boot/boot0 (and boot1), but none of them 
successfully booted dos or windows.

I think I need to steal one from a FAT32 filesystem that was made with 
Dos's fdisk.. :(

Matt
Henrik W Lund wrote:
Matthew Crowe wrote:
Hi All,
In the newfs_msdos(8) man page, there is a -B option to add a 
bootstrap from a file.  How do you generate this bootstrap?

I wanted to make a FAT32 filesystem that Windows or Dos could boot, 
from freebsd.  Newfs_msdos creates the filesystem just fine.. it just 
won't boot anything :)

Thanks,
Matt 

Greetings!
Have you tried the file /boot/mbr or even /boot/boot0? These files are 
boot code, so why not try them?

I may be totally off here, but hey - nothing ventured, nothing gained, 
eh? ;-)

-Henrik W Lund
___
[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: Squirell mail login problem

2004-08-30 Thread Paul Schmehl
--On Monday, August 30, 2004 09:51:14 AM +0600 indunil 
[EMAIL PROTECTED] wrote:

Hey ,
I installed PHP, Couier-Imap and squirell mail for sendmail under freeBSD
5.21. but when i go to squirell mail and login to it, it says unknown
user name and password.
What method of authentication are you using?  Have you installed the 
modules?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: maximum hard drive capacity supported?

2004-08-30 Thread Wojciech Puchar

 Upon trying to buy a new hard drive (80 GB) I was asked
 about the capabilities of my system, and I just thought that
 these were needed to tell what kind the IDE (ATA)
 capabilities. However, the vendor said that depending on the
 BIOS the system might not be able to recognize a large disk.

BIOS is only needed to boot.

FreeBSD then drives it without BIOS


there are 3 possibilities:

1) BIOS just supports whole drive. nothing special needed

2) BIOS can't support the whole drive, it detects as much smaller one.

solution:

install system with separate /boot partition that fits in the range that
BIOS supports. after booting FreeBSD will get whole disk

3) BIOS hangs completely trying to drive your disk.
rare case but i have this with P133 machine with 80GB disk.

machine runs NetBSD, and i boot kernel from floppy, then NetBSD supports
whole drive.

with FreeBSD it could be difficult to fit kernel on floppy but it is
possible if you will compile yours with minimal set of drivers (but
including disk) and then load modules from disk by startup scripts.

my custom kernel compresses to 977000 bytes, loader takes 237568 bytes so
it could fit.

unfortunately i don't have enough FreeBSD knowledge now to tell you how
prepare such floppy.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: maximum hard drive capacity supported?

2004-08-30 Thread Wojciech Puchar

 Well if the manufacturer states that the BIOS CAN support 80G drives
 then there is no reason why you should not believe on that. Go ahead
 and get one of thoes 80G giants.

it's rather standard now :)

250GB are available and works with FreeBSD on 500Mhz class hardware :)

just /boot partition had to be separate because BIOS doesn't take it's
full capacity
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


burncd problem err=16 any ideas?

2004-08-30 Thread michael
Im running freebsd 4.10 with a sony cd/dvd burner combo (DRU-530A) im 
using burncd -f /dev/acd0c -s max -e data imagefile.iso fixate , i have 
tried to lower the speed to 1x and 8x and i get the same problem  ill 
include the error with -v verabos output maybe it will help ( does 
burncd log somewhere there might be more about the error message that 
might help this problem out? )

adding type 0x08 file permfiles.iso size 8992 KB 4496 blocks
next writeable LBA 0
addr = 0 size = 9207808 blocks = 4496
writing from file permfiles.iso size 8992 KB
written this track 1056 KB (11%) total 1056 KB
only wrote -1 of 32768 bytes err=16
fixating CD, please wait..
I have also tried to cat imagefile.iso  /dev/acd0c so i could then just 
fixate with burncd but i get this error

cat: stdout: Input/output error
i looked in my /var/log/messages and found this it might help you guys out
Aug 30 15:20:49 cripticcorp /kernel: acd0: READ_TRACK_INFO - ILLEGAL 
REQUEST asc=0x24 ascq=0x00 error=0x04

Aug 30 15:21:06 cripticcorp /kernel: acd0: WRITE_BIG - ILLEGAL REQUEST 
asc=0x30 ascq=0x05 error=0x04

Aug 30 15:22:05 cripticcorp /kernel: acd0: WRITE_BIG - ILLEGAL REQUEST 
asc=0x21 ascq=0x00 error=0x04

Aug 30 15:23:07 cripticcorp /kernel: acd0: SEND_OPC_INFO command timeout 
- resetting

Aug 30 15:23:07 cripticcorp /kernel: ata1: resetting devices .. done
Aug 30 15:23:37 cripticcorp /kernel: acd0: READ_TRACK_INFO command 
timeout - resetting

Aug 30 15:23:37 cripticcorp /kernel: ata1: resetting devices .. done
Aug 30 15:23:37 cripticcorp /kernel: acd0: READ_TRACK_INFO - ILLEGAL 
REQUEST asc=0x20 ascq=0x00 error=0x04

Aug 30 15:26:52 cripticcorp /kernel: acd0: REZERO command timeout - 
resetting

Aug 30 15:26:52 cripticcorp /kernel: ata1: resetting devices .. done
Aug 30 15:27:23 cripticcorp /kernel: acd0: SEND_OPC_INFO command timeout 
- resetting

Aug 30 15:27:23 cripticcorp /kernel: ata1: resetting devices .. done
Aug 30 15:27:53 cripticcorp /kernel: acd0: READ_TRACK_INFO command 
timeout - resetting

Aug 30 15:27:53 cripticcorp /kernel: ata1: resetting devices .. done
Aug 30 15:27:53 cripticcorp /kernel: acd0: READ_TRACK_INFO - ILLEGAL 
REQUEST asc=0x20 ascq=0x00 error=0x04

Also one last thing in my /dev i have a acd0c and acd0a is this Cd and DVD ?
Any ideas would be helpful.
Michael W.
[EMAIL PROTECTED]




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


Re: maximum hard drive capacity supported?

2004-08-30 Thread Fernan Aguero
+[ Wojciech Puchar [EMAIL PROTECTED] (30.Aug.2004 17:55):
|
| 
|  Upon trying to buy a new hard drive (80 GB) I was asked
|  about the capabilities of my system, and I just thought that
|  these were needed to tell what kind the IDE (ATA)
|  capabilities. However, the vendor said that depending on the
|  BIOS the system might not be able to recognize a large disk.
| 
| BIOS is only needed to boot.
| FreeBSD then drives it without BIOS

Thanks for pointing this ... that's what I originally
thought!


 
| there are 3 possibilities:
| 
| 1) BIOS just supports whole drive. nothing special needed
| 
| 2) BIOS can't support the whole drive, it detects as much smaller one.

actually, from what I've read there are other possibilities.
I'm providing two URLs that seem to say essentially the same
thing:
http://storagereview.com/guide2000/ref/hdd/bios/sizeHandling.html

See section How a BIOS handles Oversized Hard Disks in:
http://www.dewassoc.com/kbase/hard_drives/hard_drive_size_barriers.htm


| solution:
| 
| install system with separate /boot partition that fits in the range that
| BIOS supports. after booting FreeBSD will get whole disk

OK, that's what I remember reading when I first installed
FreeBSD ... but that was a long time ago. This is the
disadvantage of using an OS you don't need to reinstall :)

Now, in my case I don't need the new and bigger disk to be
the bootable disk (i.e. I already have two drives that are
sliced, partitioned and working fine). I just need it to be
another disk to hold a /home or /scratch partition ... so
does it really matter what the BIOS sees? 

| 3) BIOS hangs completely trying to drive your disk.
| rare case but i have this with P133 machine with 80GB disk.

OK, in this case it might matter. But I also read it is
rare. Perhaps it's also less probable to happen if the
big disk is not bootable (i.e. does not contain a MBR)? (I'm
not knowledgeable enough on this issue, so perhaps it does
not matter whether it has an MBR or not ...)

| machine runs NetBSD, and i boot kernel from floppy, then NetBSD supports
| whole drive.
| 
| with FreeBSD it could be difficult to fit kernel on floppy but it is
| possible if you will compile yours with minimal set of drivers (but
| including disk) and then load modules from disk by startup scripts.
| 
| my custom kernel compresses to 977000 bytes, loader takes 237568 bytes so
| it could fit.
| unfortunately i don't have enough FreeBSD knowledge now to tell you how
| prepare such floppy.
|
+]

Let's hope I'm not in this situation ... my custom kernel
(2.6 MB) compresses to 1214598 bytes.
 
Thanks for your reply!

Fernan

-- 
Fernan Aguero -  fernan at iib.unsam.edu.ar
Phone: +54 11 4580-7255/7 ext 310, Fax: +54 11 4752-9639
Check http://genoma.unsam.edu.ar/~fernan for more info.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


determine X windows version from command line

2004-08-30 Thread Steven Friedrich
I've been massaging UberMon for SuperKaramba for my FreeBSD systems.

I'd like to be able to run a command that will yield which X window system is 
installed and what version.

I've done it with something like startx -- -version, but this is problematic 
if X windows is running (which is the scenario I need it to work in).

Even then, I'd have to grep for XFree86 Version so it isn't a general 
solution that would work for systems already switched to x-org.

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


Re: determine X windows version from command line

2004-08-30 Thread Phil Schulz
Steven Friedrich wrote:
I'd like to be able to run a command that will yield which X window system is 
installed and what version.

`X -version` works for me. But I'm not sure if this will also work w/ 
X.org since I'm still running XFree86

Regards,
Phil
--
Did you know...
If you play a Windows 2000 CD backwards, you hear satanic messages,
but what's worse is when you play it forward
 ...it installs Windows 2000
  -- Alfred Perlstein on [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT - journal or project tracking app query

2004-08-30 Thread Charles Ulrich

Louis LeBlanc said:
 Failing the existence of such an application,
 I'll have to devise my own organizational method and just go with vim
 until I can work something useful out.

 What does the FreeBSD community use?

vim's always worked great for me. But these days I use a wiki hosted on
internal network for all of my documentation. Extremely easy to use and you
can organize it much better than a flat text file or even a journal. There are
quite a few wikis in ports. I use MoinMoin, but I want to switch to something
more lightweight but with similar syntax.

-- 
Charles Ulrich
System Administrator
Ideal Solution - http://www.idealso.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which disk is which

2004-08-30 Thread John
Kevin D. Kinsey, DaleCo, S.P. wrote:
Hi, John ...
As you cc'ed doc@, I'm sending your original mail to them
also, so they'll have some background.  Comments inline.
John Summerfield wrote:
I've booted a 5.2.1 miniinstall CD and got to the point where I choose 
which disk to install onto.

My choices are
ad0
da0
Great. How do I know which disk is which? _I_ could work it out if the 
panel displayed information such as
Brand
Capacity

 

Read the *text* in the handbook.  As an example, the following
appears on the page that you linked in your recent crosspost to doc@:
   Consider what would happen if you had two IDE hard disks, one
   as the master on the first IDE controller, and one as the master
   on the second IDE controller. If FreeBSD numbered these as it
   found them, as ad0 and ad1 then everything would work.
   But if you then added a third disk, as the slave device on the first
   IDE controller, it would now be ad1, and the previous ad1 would  
This goes on for another 3-4 paragraphs; it is a discussion of why 
FreeBSD
has basically hardcoded disk drive names/numbers into the kernel, (e.g.,
why IDE primary master will always be ad0, why secondary slave will always
be ad3, etc).
Then again, just above figure 2-16 (which is the same as figure 2-20
but without an X in the checkbox):

Figure 2-16 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html#SYSINSTALL-FDISK-DRIVE1 
shows an example from a system with two IDE disks.
They have been called ad0 and ad2.

Based on reading these sections/statements of the manual, it would seem
somewhat obvious that ad0 is the primary master IDE hard disk.  It is
hard, then, at least for me, to see this as a fault of the documentation.

The drawback to this is that you're writing from the POV of someone who 
knows all this.

I'm not, I don't.
I have booted some other installers on this setup and find they do 
provide more information than the bare OS-dependant name.

Ideally, on my system, the installer would say:
AD0 Internal IDE drive, primary master, WD102AA 10.2 Gb
DA0 External USB drive, Cypress ATMR04-0 40 Gb
so most, even modestly, technical people could instantly recognise which 
disk is which.

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


Re: Which disk is which

2004-08-30 Thread John
Jerry McAllister wrote:
I've booted a 5.2.1 miniinstall CD and got to the point where I choose which 
disk to install onto.

My choices are
ad0
da0
Great. How do I know which disk is which? 

OK  ad0 would be the first ide drive and da0 would be the first SCSI
drive or maybe the first USB drive.

Thanks Jerry

 _I_ could work it out if the panel 
displayed information such as
Brand
Capacity

Note: DOS names would be worse than useless because I don't use DOS, and the 
BIOS doesn't detect all my drives.

If your BIOS doesn't detect your drives you have problems to deal
with before you get to installing FreeBSD.

The website doesn't help.
I'm not on any list. Please respond by
a) Fixing the web page
b) Mailing me the necessary info (eg the fixed page when it's done) in case I 
can't discover by other means which is which.

Try not giving orders to volunteers.  It is tacky and won't get
you anywhere.Maybe you should learn enough to fix the DOC yourself
and submit a change.
I'm new to FreeBSD and this is my first look at it. I think your 
suggestion a little tacky.

I'm sorry that you felt I was giving orders, that was not my intent. In 
my defence though, as I said in another post, thought I was talking 
directly to someone responsible for the content, and explaining that I 
find that content confusing.

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


pentium II cpu cache prevents boot

2004-08-30 Thread fbsd
Hello All,

I've been trying to install FreeBSD-4.10 stable on a PcPartner BXA828D mainboard. This 
mainboard features the Intel 82440BX chipset, and I fitted it with a Pentium-II 450mhz 
with 512kb cache. Furthermore, I've added one vga adapter and two nic's (RTL8139). 
Storage is in the form of one generic ATAPI cd-rom drive and one Western Digital 
caviar AC21200H (1.2gb) ide disk. I used 256mb ram, as well as a 64mb module.

Now I have been unable to boot FreeBSD 4.10-stable on this system unless I turn of the 
internal cache. This is what I did and I installed the minimal FreeBSD distribution 
this way from the cd. I then tried to boot from the hard disk, but the same problem: 
it'd only boot with the cpu's internal cache turned off. With cache turned on, it 
would load the kernel but at the point where it normally shows the copyright message 
it hangs (or reboots sometimes), the screen does flicker momentarily as it normally 
does before printing the copyright message.

So, I tried a linux distro (Mandrake 10.0), which booted just fine with the cpu cache 
enabled, which makes me think the cpu cache is not defect or anything. 

Then I tried FreeBSD 5.2.1, which also wouldn't boot with cpu internal cache enabled. 
Also tried disabling ACPI on both 4.10-stable and 5.2.1.

Now my last hope is to build a new kernel on the installed 4.10-stable, which will 
obviously take a while with the cache disabled.

In the mean time, does anyone out there know what's going on here? Any help is 
apreciated! I've copied the dmesg output from the 

Koen Martens


Copyright (c) 1992-2004 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.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Calibrating clock(s) ... TSC clock: 463955679 Hz, i8254 clock: 1193299 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter i8254  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium II/Pentium II Xeon/Celeron (463.92-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x652  Stepping = 2
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 67043328 (65472K bytes)
Physical memory chunk(s):
0x01000 - 0x9, 651264 bytes (159 pages)
0x000578000 - 0x003fe7fff, 61276160 bytes (14960 pages)
avail memory = 59830272 (58428K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fabf0
bios32: Entry = 0xfb070 (c00fb070)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xb250
pnpbios: Found PnP BIOS data at 0xc00fbdf0
pnpbios: Entry = f:be18  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f6b30
Preloaded elf kernel kernel at 0xc0551000.
Pentium Pro MTRR support enabled
Creating DISK md0
md0: Malloc disk
Math emulator present
pci_open(1):mode 1 addr port (0x0cf8) is 0x805c
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=00] is there (id=71908086)
Using $PIR table, 7 entries at 0xc00fde50
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
found- vendor=0x8086, dev=0x7190, revid=0x02
class=06-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[10]: type 1, range 32, base e400, size 24
found- vendor=0x8086, dev=0x7191, revid=0x02
class=06-04-00, hdrtype=0x01, mfdev=0
subordinatebus=1secondarybus=1
found- vendor=0x8086, dev=0x7110, revid=0x02
class=06-01-00, hdrtype=0x00, mfdev=1
subordinatebus=0secondarybus=0
found- vendor=0x8086, dev=0x7111, revid=0x01
class=01-01-80, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[20]: type 1, range 32, base f000, size  4
found- vendor=0x8086, dev=0x7112, revid=0x01
class=0c-03-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=d, irq=11
map[20]: type 1, range 32, base e000, size  5
found- vendor=0x8086, dev=0x7113, revid=0x02
class=06-80-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[90]: type 1, range 32, base 5000, size  4
found- vendor=0x5333, dev=0x5631, revid=0x06
class=03-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=a, irq=10
map[10]: type 1, range 32, base e000, size 26
found- vendor=0x10ec, dev=0x8139, revid=0x10
class=02-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=a, irq=12
map[10]: type 1, range 32, base e400, size  8
map[14]: type 1, range 32, base e600, size  8
found- vendor=0x10ec, dev=0x8139, revid=0x10
class=02-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0   

Re: ntpd as broadcastclient - not working?

2004-08-30 Thread W. D.
At 01:46 8/30/2004, Harlan Stenn, wrote:
Better to follow the FreeBSD convention and leave them in /usr/local.

Change xntpd_program in /etc/rc.conf .

H

Thanks Harlan for your reply.

FreeBSD appears to expect these NTP programs to be
in:

/usr/sbin/

That is where the 2003 Oct port put them.  I downloaded
the most recent 'ntp-dev' tarball I could find:

ftp://ftp.starhub.net.sg/pub/funet/unix/tcpip/ntp/xntp/udel/ntp4/ntp-dev-4.2.0a-20040826.tar.gz

I did a 'make install' as we discussed previously.  As
before, the files were compiled to:

/usr/local/sbin/


I added the middle line of these three to rc.conf:

xntpd_enable=YES
xntpd_program=/usr/local/sbin/ntpd
xntpd_flags=-A -b -c /etc/ntp.conf -p /var/run/ntpd.pid -l
/var/log/ntpd.log 

After rebooting, the ntpd program is now running.  
However, it doesn't appear to be able to 'hear' the NTP 
broadcasts that the 2003 Oct version did.  Here
is a log snippet:

30 Aug 21:50:05 ntpd[88]: logging to file /var/log/ntpd.log
30 Aug 21:50:05 ntpd[88]: ntpd [EMAIL PROTECTED] Mon Aug 30 14:14:07 GMT
2004 (1)
30 Aug 21:50:05 ntpd[88]: precision = 4.191 usec
30 Aug 21:50:05 ntpd[88]: Listening on interface dc0,
fe80:1::2a0:ccff:fe50:e7c7#123
30 Aug 21:50:05 ntpd[88]: Listening on interface dc0, 192.168.2.177#123
30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, ::1#123
30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, fe80:3::1#123
30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, 127.0.0.1#123
30 Aug 21:50:05 ntpd[88]: kernel time sync status 2040
30 Aug 21:50:05 ntpd[88]: frequency initialized 0.000 PPM from
/etc/ntp.drift
30 Aug 21:50:05 ntpd[88]: Unable to listen for broadcasts, no broadcast
interfaces available

The Windows computer generating the Tardis NTP broadcasts is
at IP address: 192.168.2.119.  Does anyone have any idea
why it's not picking up these broadcasts?

Somewhere in here I also changed the CMOS Real Time Clock to 
UTC, and reconfigured for my local time in /stand/sysinstall

Now what?  How do I get the program to 'hear' the 
broadcasts?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ntpd as broadcastclient - not working?

2004-08-30 Thread Harlan Stenn
 FreeBSD appears to expect these NTP programs to be in:

/usr/sbin/

No, that's where FreeBSD expects the *stock* versions to go.

If that's where something in /usr/ports/ put them, you'd have to ask
the port maintainer why.  Doing so is against normal guidelines.

Danny will have to comment on the broadcast issue.

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


vt400 terminal?

2004-08-30 Thread Michael Pope

   I have a special need to use a vt400 compatible terminal program.
   Currently I use gnome-terminal but it only supports vt320, i've tried
   aterm, xterm and eterm and all are the same as gnome-terminal in
   regards to emulation types.  Does anyone have any suggestion to which
   terminal program I should use?

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


loader keymap

2004-08-30 Thread Marcel.lautenbach
hi,

is there a way to set the keyboard type for the loader(8)?

-- 

mailto:[EMAIL PROTECTED]

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


Re: Which disk is which

2004-08-30 Thread Jerry McAllister
 
 Jerry McAllister wrote:
 I've booted a 5.2.1 miniinstall CD and got to the point where I choose which 
 disk to install onto.
 
 My choices are
 ad0
 da0
 
 Great. How do I know which disk is which? 
  
  
  OK  ad0 would be the first ide drive and da0 would be the first SCSI
  drive or maybe the first USB drive.
 
 Thanks Jerry
 
  
 The website doesn't help.
 
 I'm not on any list. Please respond by
 a) Fixing the web page
 b) Mailing me the necessary info (eg the fixed page when it's done) in case I 
 can't discover by other means which is which.
  
  Try not giving orders to volunteers.  It is tacky and won't get
  you anywhere.Maybe you should learn enough to fix the DOC yourself
  and submit a change.
 
 I'm new to FreeBSD and this is my first look at it. I think your 
 suggestion a little tacky.

It is the standard FreeBSD and other Freeware/open source suggestion.
Since it is all done by volunteers, if you find something that needs
improving, you are the first in line to do it.

 I'm sorry that you felt I was giving orders, that was not my intent. In 
 my defence though, as I said in another post, thought I was talking 
 directly to someone responsible for the content, and explaining that I 
 find that content confusing.

Live and learn.  Newbie questions are welcome/encouraged, but remember
you are getting help from those who doing it out of their own sense
of community and support for the FreeBSD philosophy, not paid consultants.

jerry

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


Strange error

2004-08-30 Thread Jack Raats
The last weeks I've a strange error. After a reboot It seems that some
programms are not being started up by their script in /etc/usr/local/rc.d.
The programms will run if I start the script by hand. (The programms are
enabled in /etc/rc.conf). Can anyone give me a clue where to look?

Met vriendelijke groeten
Jack Raats

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


Re: ntpd as broadcastclient - not working?

2004-08-30 Thread Danny Mayer
At 07:13 PM 8/30/2004, W. D. wrote:
30 Aug 21:50:05 ntpd[88]: logging to file /var/log/ntpd.log
30 Aug 21:50:05 ntpd[88]: ntpd [EMAIL PROTECTED] Mon Aug 30 14:14:07 GMT
2004 (1)
30 Aug 21:50:05 ntpd[88]: precision = 4.191 usec
30 Aug 21:50:05 ntpd[88]: Listening on interface dc0,
fe80:1::2a0:ccff:fe50:e7c7#123
30 Aug 21:50:05 ntpd[88]: Listening on interface dc0, 192.168.2.177#123
30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, ::1#123
30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, fe80:3::1#123
30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, 127.0.0.1#123
30 Aug 21:50:05 ntpd[88]: kernel time sync status 2040
30 Aug 21:50:05 ntpd[88]: frequency initialized 0.000 PPM from
/etc/ntp.drift
30 Aug 21:50:05 ntpd[88]: Unable to listen for broadcasts, no broadcast
interfaces available
What does ifconfig -a tell you?
Danny
The Windows computer generating the Tardis NTP broadcasts is
at IP address: 192.168.2.119.  Does anyone have any idea
why it's not picking up these broadcasts?
Also, that's not a broadcast address as I recall.
Somewhere in here I also changed the CMOS Real Time Clock to
UTC, and reconfigured for my local time in /stand/sysinstall
Now what?  How do I get the program to 'hear' the
broadcasts?
See above.
Danny
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


LDAP, pam, nss

2004-08-30 Thread Curtis Vaughan
In order to get centralized logins to work on my Linux Debian computers 
(authenticating of a RedHat Samba server), I have to:

install libnss-ldap libpam-ldap.
Perform some configuration on the of /etc/libnss-ldap.conf and 
/etc/pam-ldap.conf files.
Edit the /etc/nnsswitch.conf file.

Then I can check that the packages have been installed by issuing the 
command nscd.

Finally to get authentication happening in specific applications, I go 
to the directory /etc/pam.d/  and edit the service files there though 
which I want such authentication to occur.

Now, of course, no one here is looking for instructions on how to do 
something on Linux, but I was now wondering what it is I need to do on 
my FreeBSD server to get this functionality working?  I can't seem to 
find anything similar so far in my searches.

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


Question

2004-08-30 Thread A W
Hello,
   i am attempting to try FreeBsd on a very old computer, unfortunatly 
it does not have any cd drive. And i do not know which files to install. 
Leaving me with only 1 choice to use FTP servers but the problem is the 
version of FreeBsd that i've tried does not support the network card i have 
on the computer which is a 3Com Etherlink III ISA (3C509b-TPO) in PnP mode 
i would like to know which versions of FreeBsd supports this network card.

   Thank you
_
Take charge with a pop-up guard built on patented Microsoft® SmartScreen 
Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

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


newest kdelibs fails to build

2004-08-30 Thread Steven Friedrich
KDE 3.3.3 became available today, but kdelibs build fails.

gmake[4]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http'
source='http.cc' object='http.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. 
-I../.. -I../../dcop -I../../kio/kssl -I../../interfaces -I../../kio/httpfilter 
-I../../dcop -I../../libltdl -I../../kdefx -
I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../..  
-I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -I/usr/include 
@INCLUDE_des@  -D_THREAD_SAFE -pthread -
DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include 
-D_GETOPT_H -D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W 
-Wpointer-arith 
-Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new 
-fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -
DQT_NO_TRANSLATION  -c -o http.lo http.cc
c++: cannot specify -o with -c or -S and multiple compilations
gmake[4]: *** [http.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/kdelibs3.



Some people wonder what's the difference between a freedom fighter and a terrorist.

Freedom fighters don't kill women and children.  They don't strap explosives to 
sixteen year olds. They attack military targets.

Terrorists keep automatic weapons within reach for press interviews. They attack 
civilian targets.


Steven Friedrich
5112 Mount Holyoke Drive
Louisville, KY  40216

[EMAIL PROTECTED]
(502) 447-7730



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


Variable length packets?

2004-08-30 Thread Lucas (a.k.a T-Bird or bsdfan3)
I am trying to implement a custom protocol that sends and receives 
variable-length packets on top of TCP/IPv4.  The problem is that the length 
field of the packet is silently being mangled first becoming 0 and then 
getting turned into a very large number (about 2-3 billion).  The length 
field is a u_int32_t and I am using the byteorder routines.  Source code 
snippets follow:

--decl of struct packet_t--
struct packet_t
{
 u_int16_t num;
 u_int32_t len;
 char data[0];
};
--receive code--
 if (read (s, auth_header, sizeof (struct packet_t)))
   {
 perror (srvrmond read: could not read from socket);
 exit (2);
   }
 auth_header - num = ntohs (auth_header - num);
 auth_header - len = ntohl (auth_header - len);
--send code--
 struct packet_t *auth_data2 = malloc (sizeof (struct packet_t) + 
AUTHCOOKIE_S\
IZE + sizeof (time_t));
 auth_data2 - num = htons (100);
 auth_data2 - len = htonl (AUTHCOOKIE_SIZE + sizeof (time_t));
 fprintf (stderr, Packet payload length: %lu, ntohl (auth_data2 - len));
 long temp = htonl ((long)time (0)  0xff00);
 memcpy (auth_data2 - data, cookie, AUTHCOOKIE_SIZE);
 memcpy (auth_data2 - data + AUTHCOOKIE_SIZE, temp, sizeof (time_t));
 if (write (s, auth_data2, AUTHCOOKIE_SIZE + sizeof (struct packet_t) + 
sizeof\
(time_t)) == -1)
   {
 perror (srvrmon write);
 free (auth_data2);
 exit (1);
   }

P.S. Please CC me, I am not subscribed to the list 

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


Re: newest kdelibs fails to build

2004-08-30 Thread Subhro
cat /etc/make.conf

Regards
S.

On Mon, 30 Aug 2004 21:15:19 -0400, Steven Friedrich
[EMAIL PROTECTED] wrote:
 KDE 3.3.3 became available today, but kdelibs build fails.
 
 gmake[4]: Entering directory 
 `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http'
 source='http.cc' object='http.lo' libtool=yes \
 DEPDIR=.deps depmode=gcc /bin/sh ../../admin/depcomp \
 /bin/sh ../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. 
 -I../.. -I../../dcop -I../../kio/kssl -I../../interfaces -I../../kio/httpfilter 
 -I../../dcop -I../../libltdl -I../../kdefx -
 I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../..  
 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -I/usr/include 
 @INCLUDE_des@  -D_THREAD_SAFE -pthread -
 DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include 
 -D_GETOPT_H -D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W 
 -Wpointer-arith
 -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new 
 -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -
 DQT_NO_TRANSLATION  -c -o http.lo http.cc
 c++: cannot specify -o with -c or -S and multiple compilations
 gmake[4]: *** [http.lo] Error 1
 gmake[4]: Leaving directory 
 `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http'
 gmake[3]: *** [all-recursive] Error 1
 gmake[3]: Leaving directory 
 `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0'
 gmake: *** [all] Error 2
 *** Error code 2
 
 Stop in /usr/ports/x11/kdelibs3.
 
 
 Some people wonder what's the difference between a freedom fighter and a terrorist.
 
 Freedom fighters don't kill women and children.  They don't strap explosives to 
 sixteen year olds. They attack military targets.
 
 Terrorists keep automatic weapons within reach for press interviews. They attack 
 civilian targets.
 
 Steven Friedrich
 5112 Mount Holyoke Drive
 Louisville, KY  40216
 
 [EMAIL PROTECTED]
 (502) 447-7730
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: burncd problem err=16 any ideas?

2004-08-30 Thread Subhro
Are you running the GENERIC kernel? If not have you included support
for the CD file system? Also did you put something non standard in
/etc/make.conf?

Regards
S.

On Mon, 30 Aug 2004 15:56:54 -0500, michael [EMAIL PROTECTED] wrote:
 Im running freebsd 4.10 with a sony cd/dvd burner combo (DRU-530A) im
 using burncd -f /dev/acd0c -s max -e data imagefile.iso fixate , i have
 tried to lower the speed to 1x and 8x and i get the same problem  ill
 include the error with -v verabos output maybe it will help ( does
 burncd log somewhere there might be more about the error message that
 might help this problem out? )
 
 adding type 0x08 file permfiles.iso size 8992 KB 4496 blocks
 next writeable LBA 0
 addr = 0 size = 9207808 blocks = 4496
 writing from file permfiles.iso size 8992 KB
 written this track 1056 KB (11%) total 1056 KB
 only wrote -1 of 32768 bytes err=16
 
 fixating CD, please wait..
 
 I have also tried to cat imagefile.iso  /dev/acd0c so i could then just
 fixate with burncd but i get this error
 
 cat: stdout: Input/output error
 
 i looked in my /var/log/messages and found this it might help you guys out
 
 Aug 30 15:20:49 cripticcorp /kernel: acd0: READ_TRACK_INFO - ILLEGAL
 REQUEST asc=0x24 ascq=0x00 error=0x04
 
 Aug 30 15:21:06 cripticcorp /kernel: acd0: WRITE_BIG - ILLEGAL REQUEST
 asc=0x30 ascq=0x05 error=0x04
 
 Aug 30 15:22:05 cripticcorp /kernel: acd0: WRITE_BIG - ILLEGAL REQUEST
 asc=0x21 ascq=0x00 error=0x04
 
 Aug 30 15:23:07 cripticcorp /kernel: acd0: SEND_OPC_INFO command timeout
 - resetting
 
 Aug 30 15:23:07 cripticcorp /kernel: ata1: resetting devices .. done
 
 Aug 30 15:23:37 cripticcorp /kernel: acd0: READ_TRACK_INFO command
 timeout - resetting
 
 Aug 30 15:23:37 cripticcorp /kernel: ata1: resetting devices .. done
 
 Aug 30 15:23:37 cripticcorp /kernel: acd0: READ_TRACK_INFO - ILLEGAL
 REQUEST asc=0x20 ascq=0x00 error=0x04
 
 Aug 30 15:26:52 cripticcorp /kernel: acd0: REZERO command timeout -
 resetting
 
 Aug 30 15:26:52 cripticcorp /kernel: ata1: resetting devices .. done
 
 Aug 30 15:27:23 cripticcorp /kernel: acd0: SEND_OPC_INFO command timeout
 - resetting
 
 Aug 30 15:27:23 cripticcorp /kernel: ata1: resetting devices .. done
 
 Aug 30 15:27:53 cripticcorp /kernel: acd0: READ_TRACK_INFO command
 timeout - resetting
 
 Aug 30 15:27:53 cripticcorp /kernel: ata1: resetting devices .. done
 
 Aug 30 15:27:53 cripticcorp /kernel: acd0: READ_TRACK_INFO - ILLEGAL
 REQUEST asc=0x20 ascq=0x00 error=0x04
 
 Also one last thing in my /dev i have a acd0c and acd0a is this Cd and DVD ?
 
 Any ideas would be helpful.
 
 Michael W.
 [EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newest kdelibs fails to build

2004-08-30 Thread Steven Friedrich
On Monday 30 August 2004 09:54 pm, Subhro wrote:
 cat /etc/make.conf

 Regards
 S.

 On Mon, 30 Aug 2004 21:15:19 -0400, Steven Friedrich

 [EMAIL PROTECTED] wrote:
  KDE 3.3.3 became available today, but kdelibs build fails.
 
  gmake[4]: Entering directory
  `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http'
  source='http.cc' object='http.lo' libtool=yes \
  DEPDIR=.deps depmode=gcc /bin/sh ../../admin/depcomp \
  /bin/sh ../../libtool --silent --mode=compile --tag=CXX c++
  -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kio/kssl
  -I../../interfaces -I../../kio/httpfilter -I../../dcop -I../../libltdl
  -I../../kdefx - I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio
  -I../../kio/kfile -I../..  -I/usr/X11R6/include -I/usr/local/include
  -I/usr/local/include -I/usr/include @INCLUDE_des@  -D_THREAD_SAFE
  -pthread - DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include
   -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE   -Wnon-virtual-dtor
  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG
  -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common 
  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -
  DQT_NO_TRANSLATION  -c -o http.lo http.cc
  c++: cannot specify -o with -c or -S and multiple compilations
  gmake[4]: *** [http.lo] Error 1
  gmake[4]: Leaving directory
  `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http' gmake[3]: ***
  [all-recursive] Error 1
  gmake[3]: Leaving directory
  `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http' gmake[2]: ***
  [all-recursive] Error 1
  gmake[2]: Leaving directory
  `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave' gmake[1]: ***
  [all-recursive] Error 1
  gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0'
  gmake: *** [all] Error 2
  *** Error code 2
 
  Stop in /usr/ports/x11/kdelibs3.
 
  -
 --- Some people wonder what's the difference between a freedom fighter
  and a terrorist.
 
  Freedom fighters don't kill women and children.  They don't strap
  explosives to sixteen year olds. They attack military targets.
 
  Terrorists keep automatic weapons within reach for press interviews. They
  attack civilian targets.
 
  Steven Friedrich
  5112 Mount Holyoke Drive
  Louisville, KY  40216
 
  [EMAIL PROTECTED]
  (502) 447-7730
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
# LIGHTNING: /etc/make.conf
#
# CPUTYPE doesn't work in 4.x yet, except openssh
#CPUTYPE=p4
#
X_WINDOW_SYSTEM=xfree86-4
#
#BDECFLAGS= -W -Wall -amsi -pedantic -Wbad-function-cast -Wcast-align \
#   -Wcast-qual -Wchar-subscripts -Winline \
#   -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
#   -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
#
# To avoid building various parts of the base system:
NOPROFILE=  true# Avoid compiling profiled libraries
#
# If you're resident in the USA, this will help various ports to determine
# whether or not they should attempt to comply with the various U.S.
# export regulations on certain types of software which do not apply to
# anyone else in the world.
#
USA_RESIDENT=   YES
#
# CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
# file(s) you use on your site (see /usr/share/examples/cvsup/README for more
# information on CVSup and these files).  To use, do make update 
in /usr/src.
#
SUP_UPDATE= yes
#
SUP=/usr/local/bin/cvsup
#SUPFLAGS=   -g -L 2
SUPHOST=cvsup.FreeBSD.org
SUPFILE=/root/cvsup/stable-supfile
PORTSSUPFILE=   /root/cvsup/ports-supfile
DOCSUPFILE= /root/cvsup/doc-supfile
#
# Documentation
#
# The list of languages and encodings to build and install
#
DOC_LANG=   en_US.ISO8859-1

# cups-lpr requirements
CUPS_OVERWRITE_BASE=yes
NO_LPR=yes

#
# -- use.perl generated deltas -- #
# Created: Sun Aug  8 11:13:32 2004
# Setting to use base perl from ports:
PERL_VER=5.8.5
PERL_VERSION=5.8.5
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo

By the Way, I was following the instructions in /usr/ports/UPDATING
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange error

2004-08-30 Thread Subhro
The paths you have provided are wrong. The correct path is /usr/local/etc/rc.d/

Regards
S.

On Tue, 31 Aug 2004 02:03:09 +0200, Jack Raats [EMAIL PROTECTED] wrote:
 The last weeks I've a strange error. After a reboot It seems that some
 programms are not being started up by their script in /etc/usr/local/rc.d.
 The programms will run if I start the script by hand. (The programms are
 enabled in /etc/rc.conf). Can anyone give me a clue where to look?
 
 Met vriendelijke groeten
 Jack Raats
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Variable length packets?

2004-08-30 Thread Dan Nelson
In the last episode (Aug 30), Lucas (a.k.a T-Bird or bsdfan3) said:
 I am trying to implement a custom protocol that sends and receives
 variable-length packets on top of TCP/IPv4.  The problem is that the
 length field of the packet is silently being mangled first becoming 0
 and then getting turned into a very large number (about 2-3 billion). 
 The length field is a u_int32_t and I am using the byteorder
 routines.  Source code snippets follow:
 
 --decl of struct packet_t--
 struct packet_t
 {
  u_int16_t num;
  u_int32_t len;
  char data[0];
 };

If these are different OSes, the structure may be packed differently.
There's almost certainly two bytes of padding between num and len to
ensure that len is 32-bit aligned, for example.

If you run ktrace on your client (or server), the kdump output will
include a hexdump of all data read or written, which might help you
determine what's going wrong.

-- 
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: newest kdelibs fails to build

2004-08-30 Thread Subhro
First of all, ports like XFree86 and KDE are really not worth
maintaining from the ports. Packages do much better for these
softwares. If you really want to compile it from the ports tree, then
go ahead.

It seems to me that somehow wrong arguments are being passed to c++ as
a result of which the entire scenario arises. Although highly unlikely
but it is possible that the Makefile has been corrupted while
syncing.Could you try a recvsup with ports-all? After that make
clean without the s and portupgrade -a. After that try rebuilding
KDE.

Regards
S.

On Mon, 30 Aug 2004 22:01:07 -0400, Steven Friedrich
[EMAIL PROTECTED] wrote:
 
 
 On Monday 30 August 2004 09:54 pm, Subhro wrote:
  cat /etc/make.conf
 
  Regards
  S.
 
  On Mon, 30 Aug 2004 21:15:19 -0400, Steven Friedrich
 
  [EMAIL PROTECTED] wrote:
   KDE 3.3.3 became available today, but kdelibs build fails.
  
   gmake[4]: Entering directory
   `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http'
   source='http.cc' object='http.lo' libtool=yes \
   DEPDIR=.deps depmode=gcc /bin/sh ../../admin/depcomp \
   /bin/sh ../../libtool --silent --mode=compile --tag=CXX c++
   -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kio/kssl
   -I../../interfaces -I../../kio/httpfilter -I../../dcop -I../../libltdl
   -I../../kdefx - I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio
   -I../../kio/kfile -I../..  -I/usr/X11R6/include -I/usr/local/include
   -I/usr/local/include -I/usr/include @INCLUDE_des@  -D_THREAD_SAFE
   -pthread - DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include
-I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE   -Wnon-virtual-dtor
   -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG
   -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common
   -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -
   DQT_NO_TRANSLATION  -c -o http.lo http.cc
   c++: cannot specify -o with -c or -S and multiple compilations
   gmake[4]: *** [http.lo] Error 1
   gmake[4]: Leaving directory
   `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http' gmake[3]: ***
   [all-recursive] Error 1
   gmake[3]: Leaving directory
   `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave/http' gmake[2]: ***
   [all-recursive] Error 1
   gmake[2]: Leaving directory
   `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kioslave' gmake[1]: ***
   [all-recursive] Error 1
   gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0'
   gmake: *** [all] Error 2
   *** Error code 2
  
   Stop in /usr/ports/x11/kdelibs3.
  
   -
  --- Some people wonder what's the difference between a freedom fighter
   and a terrorist.
  
   Freedom fighters don't kill women and children.  They don't strap
   explosives to sixteen year olds. They attack military targets.
  
   Terrorists keep automatic weapons within reach for press interviews. They
   attack civilian targets.
  
   Steven Friedrich
   5112 Mount Holyoke Drive
   Louisville, KY  40216
  
   [EMAIL PROTECTED]
   (502) 447-7730
  
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 # LIGHTNING: /etc/make.conf
 #
 # CPUTYPE doesn't work in 4.x yet, except openssh
 #CPUTYPE=p4
 #
 X_WINDOW_SYSTEM=xfree86-4
 #
 #BDECFLAGS= -W -Wall -amsi -pedantic -Wbad-function-cast -Wcast-align \
 #   -Wcast-qual -Wchar-subscripts -Winline \
 #   -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
 #   -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
 #
 # To avoid building various parts of the base system:
 NOPROFILE=  true# Avoid compiling profiled libraries
 #
 # If you're resident in the USA, this will help various ports to determine
 # whether or not they should attempt to comply with the various U.S.
 # export regulations on certain types of software which do not apply to
 # anyone else in the world.
 #
 USA_RESIDENT=   YES
 #
 # CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
 # file(s) you use on your site (see /usr/share/examples/cvsup/README for more
 # information on CVSup and these files).  To use, do make update
 in /usr/src.
 #
 SUP_UPDATE= yes
 #
 SUP=/usr/local/bin/cvsup
 #SUPFLAGS=   -g -L 2
 SUPHOST=cvsup.FreeBSD.org
 SUPFILE=/root/cvsup/stable-supfile
 PORTSSUPFILE=   /root/cvsup/ports-supfile
 DOCSUPFILE= /root/cvsup/doc-supfile
 #
 # Documentation
 #
 # The list of languages and encodings to build and install
 #
 DOC_LANG=   en_US.ISO8859-1
 
 # cups-lpr requirements
 CUPS_OVERWRITE_BASE=yes
 NO_LPR=yes
 
 #
 # -- use.perl generated deltas -- #
 # Created: Sun Aug  8 11:13:32 2004
 # Setting to use base perl from ports:
 PERL_VER=5.8.5
 PERL_VERSION=5.8.5
 PERL_ARCH=mach
 

Re: Unsupported 3Com NIC? (dsl Was: Question)

2004-08-30 Thread Kevin D. Kinsey, DaleCo, S.P.
A W wrote:
Hello,
   i am attempting to try FreeBsd on a very old computer,
unfortunatly it does not have any cd drive. And i do not know
which files to install. Leaving me with only 1 choice to use
FTP servers but the problem is the version of FreeBsd that
i've tried does not support the network card i have on the
computer which is a 3Com Etherlink III ISA (3C509b-TPO)
in PnP mode i would like to know which versions of FreeBsd
supports this network card.
   Thank you

Hi, Alton...
3Com cards almost always use the 'xl' driver, which is
built into the kernel and enabled by default.  How do
you know/how did you determine that your card is
unsupported?
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 3Com Etherlink III ISA support [was Question]

2004-08-30 Thread stheg olloydson
it was said:

the version of FreeBsd that i've tried does not support the network
card i have on the computer which is a 3Com Etherlink III ISA
(3C509b-TPO) in PnP mode i would like to know which versions of
FreeBsd supports this network card.

Hello,

I used that card in 2.2.2. (My first FBSD install!) As I remember, I
had to run a 3Com DOS utility to set the physical parameters manually.
Then I configured FreeBSD to use those settings.
I would think later versions would support that card, as well. You
probably just need to do what I did. If you don't have the 3Com disk,
you can download what you need from their site.

HTH,

Stheg


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ntpd as broadcastclient - not working?

2004-08-30 Thread W. D.
Hi Danny,

Reply below...

At 19:02 8/30/2004, Danny Mayer wrote:
At 07:13 PM 8/30/2004, W. D. wrote:
30 Aug 21:50:05 ntpd[88]: logging to file /var/log/ntpd.log
30 Aug 21:50:05 ntpd[88]: ntpd [EMAIL PROTECTED] Mon Aug 30 14:14:07 GMT
2004 (1)
30 Aug 21:50:05 ntpd[88]: precision = 4.191 usec
30 Aug 21:50:05 ntpd[88]: Listening on interface dc0,
fe80:1::2a0:ccff:fe50:e7c7#123
30 Aug 21:50:05 ntpd[88]: Listening on interface dc0, 192.168.2.177#123
30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, ::1#123
30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, fe80:3::1#123
30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, 127.0.0.1#123
30 Aug 21:50:05 ntpd[88]: kernel time sync status 2040
30 Aug 21:50:05 ntpd[88]: frequency initialized 0.000 PPM from
/etc/ntp.drift
30 Aug 21:50:05 ntpd[88]: Unable to listen for broadcasts, no broadcast
interfaces available

What does ifconfig -a tell you?


dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::2a0:ccff:fe50:e7c7%dc0 prefixlen 64 scopeid 0x1 
inet 192.168.2.177 netmask 0xff00 broadcast 192.168.2.255
ether 00:a0:cc:50:e7:c7
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
inet 127.0.0.1 netmask 0xff00 
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
faith0: flags=8002BROADCAST,MULTICAST mtu 1500



Danny

The Windows computer generating the Tardis NTP broadcasts is
at IP address: 192.168.2.119.  Does anyone have any idea
why it's not picking up these broadcasts?

Also, that's not a broadcast address as I recall.

It's the internal, NAT address, that my DHCP server/router
assigned to the Windows box that is sending out NTP
broadcast signals on port 123.


Somewhere in here I also changed the CMOS Real Time Clock to
UTC, and reconfigured for my local time in /stand/sysinstall

Now what?  How do I get the program to 'hear' the
broadcasts?

See above.

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


Re: Question on ATM w/ FreeBSD

2004-08-30 Thread stheg olloydson
it was said:

Can I plug in an ATM DS3 into something like a Cisco Lightstream
LS1010
with a DS3 card, then plug a PC running FreeBSD and Quagga, with a
Marconi Forerunner HE155 using the fatm() driver, into a OC3 card on
the LS1010, then define a VC, switch it through the switch,
and run data over that?

However I have not dealt yet with ATM switches, is there anything
inherently different about ATM on a lan adapter like the HE155, and
ATM on a DS3?

Hello,

The HE155 uses the hatm(4) driver. From the man page:

The hatm device driver supports the FORE (now Marconi) HE155 and HE622
ATM interface cards. The driver interfaces with the natm(4) framework,
netgraph(4) and the HARP ATM stack.  It provides only PVC services.
Signalling, ATMARP, ILMI and other higher layer protocols are
implemented using netgraph(4) or HARP.

So the remaing question is can the LS1010 do what you want. IIRC, the
LS1010 is very similar to the Catalyst 8500 series, Unfortunately, I am
more familiar with the latter than the former, so I cannot answer
definitively. I know it has support for PVCs, asymmetric circuits, and
bridging to a LAN, so I would be surprised if it couldn't (but not very
surprised, you know how Cisco can be some times ;-)).
To answer your last question about inherent differences in ATM, no. But
ATM is a protocol suite consisting of three layers: physical, ATM, and
AAL. Just be sure you use the same AAL config on each end. Because the
telco dictates their end, just match it and you're set. 

HTH,

Stheg

HTH,

Stheg




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: burncd problem err=16 any ideas?

2004-08-30 Thread Subhro
What type of ATA cable are you using? The 40 conductor type or the 80
conductor type?

Does your burner support some kind of underburn protection?

Could you paste sysctl -a | grep dma without the s ?
 
FreeBSD requires IDE drives to be fixed on the cable in a particular
order, ie the master drive goes in one end and the slave comes in the
middle. It is recommended not to reply on CS and assign the drives to
be master/slave the hard way, err I meant the manual way. Also if you
intend to burn CDs/DVDs on the fly then the source and the
destination drives should not be on the same Bus. Could you tell us
about your setup?

Regards
S.

On Mon, 30 Aug 2004 21:46:33 -0500, michael [EMAIL PROTECTED] wrote:
 On another note too, it is burning part of the cd, on my attempts i
 think i completed about 20% maximum, something missing or not enabled in
 the kernel would still cause this ?
 
 
 
 Are you running the GENERIC kernel? If not have you included support
 for the CD file system? Also did you put something non standard in
 /etc/make.conf?
 
 Regards
 S.
 
 On Mon, 30 Aug 2004 15:56:54 -0500, michael [EMAIL PROTECTED] wrote:
 
 
 Im running freebsd 4.10 with a sony cd/dvd burner combo (DRU-530A) im
 using burncd -f /dev/acd0c -s max -e data imagefile.iso fixate , i have
 tried to lower the speed to 1x and 8x and i get the same problem  ill
 include the error with -v verabos output maybe it will help ( does
 burncd log somewhere there might be more about the error message that
 might help this problem out? )
 
 adding type 0x08 file permfiles.iso size 8992 KB 4496 blocks
 next writeable LBA 0
 addr = 0 size = 9207808 blocks = 4496
 writing from file permfiles.iso size 8992 KB
 written this track 1056 KB (11%) total 1056 KB
 only wrote -1 of 32768 bytes err=16
 
 fixating CD, please wait..
 
 I have also tried to cat imagefile.iso  /dev/acd0c so i could then just
 fixate with burncd but i get this error
 
 cat: stdout: Input/output error
 
 i looked in my /var/log/messages and found this it might help you guys out
 
 Aug 30 15:20:49 cripticcorp /kernel: acd0: READ_TRACK_INFO - ILLEGAL
 REQUEST asc=0x24 ascq=0x00 error=0x04
 
 Aug 30 15:21:06 cripticcorp /kernel: acd0: WRITE_BIG - ILLEGAL REQUEST
 asc=0x30 ascq=0x05 error=0x04
 
 Aug 30 15:22:05 cripticcorp /kernel: acd0: WRITE_BIG - ILLEGAL REQUEST
 asc=0x21 ascq=0x00 error=0x04
 
 Aug 30 15:23:07 cripticcorp /kernel: acd0: SEND_OPC_INFO command timeout
 - resetting
 
 Aug 30 15:23:07 cripticcorp /kernel: ata1: resetting devices .. done
 
 Aug 30 15:23:37 cripticcorp /kernel: acd0: READ_TRACK_INFO command
 timeout - resetting
 
 Aug 30 15:23:37 cripticcorp /kernel: ata1: resetting devices .. done
 
 Aug 30 15:23:37 cripticcorp /kernel: acd0: READ_TRACK_INFO - ILLEGAL
 REQUEST asc=0x20 ascq=0x00 error=0x04
 
 Aug 30 15:26:52 cripticcorp /kernel: acd0: REZERO command timeout -
 resetting
 
 Aug 30 15:26:52 cripticcorp /kernel: ata1: resetting devices .. done
 
 Aug 30 15:27:23 cripticcorp /kernel: acd0: SEND_OPC_INFO command timeout
 - resetting
 
 Aug 30 15:27:23 cripticcorp /kernel: ata1: resetting devices .. done
 
 Aug 30 15:27:53 cripticcorp /kernel: acd0: READ_TRACK_INFO command
 timeout - resetting
 
 Aug 30 15:27:53 cripticcorp /kernel: ata1: resetting devices .. done
 
 Aug 30 15:27:53 cripticcorp /kernel: acd0: READ_TRACK_INFO - ILLEGAL
 REQUEST asc=0x20 ascq=0x00 error=0x04
 
 Also one last thing in my /dev i have a acd0c and acd0a is this Cd and DVD ?
 
 Any ideas would be helpful.
 
 Michael W.
 [EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 
 
 
 
 
 
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LDAP, pam, nss

2004-08-30 Thread Konrad Heuer

On Mon, 30 Aug 2004, Curtis Vaughan wrote:

 In order to get centralized logins to work on my Linux Debian computers
 (authenticating of a RedHat Samba server), I have to:

 install libnss-ldap libpam-ldap.
 Perform some configuration on the of /etc/libnss-ldap.conf and
 /etc/pam-ldap.conf files.
 Edit the /etc/nnsswitch.conf file.

 Then I can check that the packages have been installed by issuing the
 command nscd.

 Finally to get authentication happening in specific applications, I go
 to the directory /etc/pam.d/  and edit the service files there though
 which I want such authentication to occur.

 Now, of course, no one here is looking for instructions on how to do
 something on Linux, but I was now wondering what it is I need to do on
 my FreeBSD server to get this functionality working?  I can't seem to
 find anything similar so far in my searches.

 Thanks for any pointers in the right direction.

With FreeBSD 4.x, you won't get very far. But beginning with 5.x (not to
say 5.2.1-R), it's very similar. Install the following ports:

/usr/ports/security/pam_ldap
/usr/ports/net/nss_ldap

Edit /usr/local/etc/ldap.conf, build /etc/nsswitch.conf, and edit the
files within /etc/pam.d.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: 3Com Etherlink III ISA support [was Question]

2004-08-30 Thread stheg olloydson
it was said:

by: A W
Sorry im a total Newb to this Freebsd thingy. But if i were to do wat
u told me to do and get Version 2.2.2 of FreeBsd, Which files do i
need to start the installation?
 
by: stheg olloydson
I used that card in 2.2.2. (My first FBSD install!) As I remember, I
had to run a 3Com DOS utility to set the physical parameters
manually. Then I configured FreeBSD to use those settings.
I would think later versions would support that card, as well. You
probably just need to do what I did. If you don't have the 3Com
disk, you can download what you need from their site.

Hello,

Please keep the list in the loop.
Hold on there! I didn't say to run 2.2.2. It was nice back in the day,
but if you were to run it now, the Huns would sack your village. What I
meant to communicate is you should use the 3Com software to configure
the NIC manually and then enter that configuration - if needed - when
setting up your interface.

HTH (by being more clear),

Stheg

P.S. Another poster asked why do you think your NIC doesn't work. That
is a good question. What output do you get from ifconfig -a ?  


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]