Re: 5.3: scbus & da in kernel config, umass as module: but no /dev/da* ?

2005-03-12 Thread Rob
Alejandro Pulver wrote:
> Rob wrote:
>>
>>I'm running FreeBSD 5.3.
>>I have following in my kernel config:
>>
>> device scbus
>> device da
>> device uhci
>> device usb
>>
>>hoping that this provides enough 'basic' usb
>>support for my usb-memory-stick. Indeed, I can
>>load the umass module.
>>
>>If I'm not wrong, I must do following to access the
>>usb-memory-stick:
>>   mount -t msdosfs /dev/da0s1 /mnt
>>
>>but there's no /dev/da* device. 
> 
> Hello,
> 
> I have a camera that is detected as an 'umass'
> storage device, and it appears as '/dev/da0'
> (strangely I can use it as a common storage
> device). This is my configuration:
> 
> kernel options:
> 
> device scbus
> device da
> device pass
> device uhci
> device ohci
> device usb
> device umass
> device ehci
> 
> '/etc/rc.conf' options:
> 
> usbd_enable="YES"
> 
> To test it you can:
> 
> 1) Check the devices in '/dev/daX'.
> 2) # camcontrol devlist
> 3) Check the boot messages (umass and da) and
>the messages printed when you plug the device.
> 
> To mount it you have to select a slice (if it has
> data stored in):
> 
> mount -t msdosfs /dev/da0s1 /mnt

I do not have the cam device in the kernel config.
Do I have to? I also don't have umass in the
kernel config either, but I load that as a module
later; is that OK?

Problem is that I do not have any /dev/da* devices,
with or without my memory stick in the usb port.

I load umass module into the kernel, and then plug
the memory stick into the usb port. The console
gets then:

umass0: EXATEL  , Inc. I-BEAD Multi Player, rev
1.10/0.01, addr 2
umass0: Get Max Lun not supported (STALLED)
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Removable Direct Access
SCSI-4 device
da0: 1.000MB/s transfers
da0: 122MB (249856 512 byte sectors: 64H 32S/T 122C)
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
[...last three lines repeated every minute or so...]


What does the "STALLED" mean here?
Is that critical? The "usbdevs -v" reports now:

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI
 root hub(0x), Intel(0x), rev 1.00
 port 1 powered
 port 2 addr 2: full speed, self powered, config 1,
 i-Bead 100 MP3 Player(0x8008), Sigmatel(0x066f),
 rev 0.01

But I have no /dev/da0 :

  # ls /dev/da*
  ls: No match.

So, the memory stick is detected at the USB port,
but I don't have the /dev/da* devices to mount the
memory stick (although devices da and scbus are in
my kernel config!).
When I remove the memory stick, I get following in
the console:

umass0: at uhub0 port 2 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
Opened disk da0 -> 5
umass0: detached


What am I doing wrong?

Thanks,
Rob.

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


Re: Fast and reliable /tmp partition.

2005-03-12 Thread Uwe Doering
ÑÐÐÐÑ ÐÐÑÐÐÑÐÐÐ wrote:
Hello Freebsd Questions,
I'm using DVD-R to back up our Perforce SCM server.
The size of backup data is 13Gb now and increase ~ 1Gb in two months.
The full backups was made every week, incrementary - every day.
I have made a custom script to start archiver, split on the fly results 
to adequate sized files (< 1Gb),
evaluate checksum and burn it onto DVD.
The script also verify burned DVD by using stored checksums, and burn 
DVD again if needed.
The problem is: i can't compose DVD's on the fly, i need to save them 
somewhere.

I need to have a big, fast and reliable temporary filesystem.
It doesn't needed to survive reboots.
It must be fast writing. (RAID5 vinum array which i have is slow 
performs writes)
And even if one of the disks in server computer will broke (i have a 
vinum on them),
the backup procedure must still works.

Does anybody have expirience with temporary fast filesystems ?
You could use striping and mirroring (RAID 0+1).  This is both fast with 
writes and fail-safe.  And if the partition doesn't have to be crash 
resilient you could mount a UFS/UFS2 filesystem asynchronously.  With 
hard disk drives that's about as fast as it gets, I'd guess.

Of course, a RAM disk would be even faster, but the data volume you're 
dealing with is way too high for normal system memory.  There are RAM 
disks on the market that you can add to the system as a physical 
(hardware) device, in the form of a hard disk drive or a PCI card, but 
these are usually pretty expensive.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: how to deal with spam for good?

2005-03-12 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
> On Mar 11, 2005, at 1:37 AM, Ted Mittelstaedt wrote:
>
>>
>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] Behalf Of Kirk
>>> Strauser Sent: Thursday, March 10, 2005 11:42 AM
>>> To: freebsd-questions@freebsd.org
>>> Subject: Re: how to deal with spam for good?
>>>
>>
>>> You know, I'm no longer sure that's true.  I think that spam will
>>> stick around as long as stupid business owners continue to get
>>> suckered into thinking that it's a legitimate means of marketing.
>>> One of my associate's customers (a brick and mortar store) was
>>> being sweet-talked by a spammer into sending a series of
>>> broadcasts.  In this situation, the spammer would profit off the
>>> ignorance of that *business owner*.  Even if 100% of the messages
>>> were blocked, he'd still get his pay for performing the "service".
>>
>> Didn't anyone tell your associate's customers that spamming is now
>> a felony?  And, even if they hire a spammer to do it for them, the
>> law still prosecutes them for the spamming?
>
> Add some teeth to that law and some lawyers who are willing to pursue
> this in volume, and you'd be on to something.  As it stands, it's like
> prosecuting jaywalkers.  Who bothers?
>

http://www.forbes.com/home/feeds/ap/2004/11/03/ap1631798.html%E2%80%9D%20
target=

(although while the judge did set aside the verdict for DeGroot, Jayne's
appeal of his conviction went nowhere)

Keep in mind these are the very first convictions on this.  Once the
appeals process is exhausted then we will have set some precident, which
is vitally important for these to go forward on a large scale.

> Even junk faxer's get away with that kind of crap despite the fines
> (happened to catch Tom Martino on the radio yesterday talking about
> it...)
>

That is only because these days most people handling received faxes for
companies are lazy and dumb "administrative assistants" who don't even
know
it's illegal or who to complain to.

Ted

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


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


Bridge and dummynet

2005-03-12 Thread F. Banna
Good Day Guys.
I installed FreeBSD 5.3 and everything worked fine .
i recompiled the kernel included options for
   IPDIVERT
   IPFIREWALL
   IPFIREWALL_VERBOSE
   BRIDGE
everything went fine
i did the systcl to load the two network cards as should be
 sysctl net.link.ether.bridge.config=rl0:0,rl1:0
 sysctl net.link.ether.bridge.ipfw=1
 sysctl net.link.ether.bridge.enable=1

schema
  client 1 FreeBSD  bridge
/--\   /---\ 
 /\
 a.b.c.d|--|rl0 -   
-rl1|-| external network|
\--/   \---/ 
 \/

so far everything is working fine .
now my internal network is connected physically to rl0.
i want to rate limit ip a.b.c.d from internal network to 32Kbit uplink and 
128Kbit downlink .

in the manual and documention given on the sites it helps but not on the 
same network card as needed in here !

i was successfull to rate limit uplink but not downlink ! as such
ipfw pipe 1 config bw 32Kbit/s queue 4Kbyte
ipfw add pipe 1 all from a.b.c.d to any in recv rl0  # uplink limitation 
works fine

ipfw pipe 2 config bw 128Kbit/s queue 4Kbyte
ipfw add pipe 2 all from any to  a.b.c.d  out xmit rl0  # downlink doesn't 
match

if there is something i missed then feel free to guide me .
else if its possible for someone parse his/her connfiguration
Thanks
F. B.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Getting rid of message: unknown: can't assign resources (port)

2005-03-12 Thread Fafa Diliha Romanova
haye!

i'm just kinda tired of seeing this in my dmesg.
can i make my kernel ignore it?

thanks!

-- fafa
-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Getting rid of message: unknown: can't assign resources (port)

2005-03-12 Thread abu khaled
On Sat, 12 Mar 2005 04:55:32 -0500, Fafa Diliha Romanova
<[EMAIL PROTECTED]> wrote:
> haye!
> 
> i'm just kinda tired of seeing this in my dmesg.
> can i make my kernel ignore it?
> 
> thanks!
> 
> -- fafa
> --
> ___
> Sign-up for Ads Free at Mail.com
> http://promo.mail.com/adsfreejump.htm
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

The following is an excerpt from a post to the freebsd-current mailing list.

  The ``can't assign resources'' messages indicate that the devices
are legacy ISA devices for which a non-PnP-aware driver is compiled
into the kernel. These include devices such as keyboard controllers,
the programmable interrupt controller chip, and several other bits of
standard infrastructure. The resources cannot be assigned because
there is already a driver using those addresses.
   
--Garrett Wollman <[EMAIL PROTECTED]>, 24 April 2001   

PNP0700 is the "Standard floppy disk controller"
AFAIK if the Floppy Disk is working then these messages do not mean
that there is a problem.

* I do not know how to disable the message. I have them to.

unknown:  can't assign resources (port)
   *Standard 101/102-Key or Microsoft Natural PS/2 Keyboard*

unknown:  can't assign resources (memory)
   *Motherboard resources*

unknown:  can't assign resources (port)
   *Motherboard resources*

unknown:  can't assign resources (port)
   *Standard floppy disk controller*

Everyhing is working just fine!!!

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


Re: 5.3: scbus & da in kernel config, umass as module: but no /dev/da* ?

2005-03-12 Thread Matt
> Alejandro Pulver wrote:
>> Rob wrote:
>>>
>>>I'm running FreeBSD 5.3.
>>>I have following in my kernel config:
>>>
>>> device scbus
>>> device da
>>> device uhci
>>> device usb
>>>
>>>hoping that this provides enough 'basic' usb
>>>support for my usb-memory-stick. Indeed, I can
>>>load the umass module.
>>>
>>>If I'm not wrong, I must do following to access the
>>>usb-memory-stick:
>>>   mount -t msdosfs /dev/da0s1 /mnt
>>>
>>>but there's no /dev/da* device.
>>
>> Hello,
>>
>> I have a camera that is detected as an 'umass'
>> storage device, and it appears as '/dev/da0'
>> (strangely I can use it as a common storage
>> device). This is my configuration:
>>
>> kernel options:
>>
>> device scbus
>> device da
>> device pass
>> device uhci
>> device ohci
>> device usb
>> device umass
>> device ehci
>>
>> '/etc/rc.conf' options:
>>
>> usbd_enable="YES"
>>
>> To test it you can:
>>
>> 1) Check the devices in '/dev/daX'.
>> 2) # camcontrol devlist
>> 3) Check the boot messages (umass and da) and
>>the messages printed when you plug the device.
>>
>> To mount it you have to select a slice (if it has
>> data stored in):
>>
>> mount -t msdosfs /dev/da0s1 /mnt
>
> I do not have the cam device in the kernel config.
> Do I have to? I also don't have umass in the
> kernel config either, but I load that as a module
> later; is that OK?
>
> Problem is that I do not have any /dev/da* devices,
> with or without my memory stick in the usb port.
>
> I load umass module into the kernel, and then plug
> the memory stick into the usb port. The console
> gets then:
>
> umass0: EXATEL  , Inc. I-BEAD Multi Player, rev
> 1.10/0.01, addr 2
> umass0: Get Max Lun not supported (STALLED)
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0:  Removable Direct Access
> SCSI-4 device
> da0: 1.000MB/s transfers
> da0: 122MB (249856 512 byte sectors: 64H 32S/T 122C)
> umass0: BBB reset failed, STALLED
> umass0: BBB bulk-in clear stall failed, STALLED
> umass0: BBB bulk-out clear stall failed, STALLED
> [...last three lines repeated every minute or so...]
>
>
> What does the "STALLED" mean here?
> Is that critical? The "usbdevs -v" reports now:
>
> Controller /dev/usb0:
> addr 1: full speed, self powered, config 1, UHCI
>  root hub(0x), Intel(0x), rev 1.00
>  port 1 powered
>  port 2 addr 2: full speed, self powered, config 1,
>  i-Bead 100 MP3 Player(0x8008), Sigmatel(0x066f),
>  rev 0.01
>
> But I have no /dev/da0 :
>
>   # ls /dev/da*
>   ls: No match.
>
> So, the memory stick is detected at the USB port,
> but I don't have the /dev/da* devices to mount the
> memory stick (although devices da and scbus are in
> my kernel config!).
> When I remove the memory stick, I get following in
> the console:
>
> umass0: at uhub0 port 2 (addr 2) disconnected
> (da0:umass-sim0:0:0:0): lost device
> (da0:umass-sim0:0:0:0): removing device entry
> Opened disk da0 -> 5
> umass0: detached
>
>
> What am I doing wrong?
>
> Thanks,
> Rob.
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

I don't know about FreeBSD but in linux i used "fdisk -l" (lowercase L) to
list the partitions on a device. This helped identify for a start what the
device was and also what partition I needed to mount. Also in linux for
some reason my USB memory stick appeared as a SCSI device alongside my
SATA hard disk and my firewire connected iPod. All a bit odd really :/


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


Where is the default system-wide configuration file for qpopper?

2005-03-12 Thread Anthony Atkielski
I give up:  Where is the default system-wide configuration file for
qpopper?  Neither the documentation nor the official Web site ever
specifically identifies it, and even googling for it hasn't helped.
What's the exact path (and the format of entries inside, as the
documentation isn't very clear about that, either)?

-- 
Anthony


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


chmod equivalent to find commands

2005-03-12 Thread Fafa Diliha Romanova
hello.

i know there's an equivalent to these two find commands that
can be summed up in one chmod command:

find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

it fixes my permissions ...
i haven't tested this yet but i think it's wrong: chmod -R u+rwX,a+rX

what would be the best solution here?

thanks,
-- fafa

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: no flames, please.

2005-03-12 Thread Don Tyson
> Don Tyson wrote:
> 
> >I am running XandrOS Linux on an old Digital PC box. It is almost
> >scarily Windows-like, but installs in a snap and, if you buy the 
> >full edition, comes with Crossover Office for all the Windows
> >applications you can't wait to run. On another test box (a Dell), MS Office
> >ran just fine under XandrOS Linux and Crossover Office.
> >  
> >
> 
> That's cool, but isn't it an, um, offense or, um, whatever to that 
> lon^H^Hittle
> 
> * Umm, woops!  "End User License Agreement", I see now it sez

Yes, you must have a licensed copy of MS Office to install it. You do
not need a copy of the Windows OS itself.

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


Re: Where is the default system-wide configuration file for qpopper?

2005-03-12 Thread Bernt Hansson
Anthony Atkielski skrev:
I give up:  Where is the default system-wide configuration file for
qpopper?  
Specify the config file with commandline option -f /path/to/file
when you start qpopper. You have to create the file first.
man qpopper
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.3: scbus & da in kernel config, umass as module: but no /dev/da* ?

2005-03-12 Thread Alejandro Pulver
On Sat, 12 Mar 2005 00:00:23 -0800 (PST)
Rob <[EMAIL PROTECTED]> wrote:

> Alejandro Pulver wrote:
> > Rob wrote:
> >>
> >>I'm running FreeBSD 5.3.
> >>I have following in my kernel config:
> >>
> >> device scbus
> >> device da
> >> device uhci
> >> device usb
> >>
> >>hoping that this provides enough 'basic' usb
> >>support for my usb-memory-stick. Indeed, I can
> >>load the umass module.
> >>
> >>If I'm not wrong, I must do following to access the
> >>usb-memory-stick:
> >>   mount -t msdosfs /dev/da0s1 /mnt
> >>
> >>but there's no /dev/da* device. 
> > 
> > Hello,
> > 
> > I have a camera that is detected as an 'umass'
> > storage device, and it appears as '/dev/da0'
> > (strangely I can use it as a common storage
> > device). This is my configuration:
> > 
> > kernel options:
> > 
> > device scbus
> > device da
> > device pass
> > device uhci
> > device ohci
> > device usb
> > device umass
> > device ehci
> > 
> > '/etc/rc.conf' options:
> > 
> > usbd_enable="YES"
> > 
> > To test it you can:
> > 
> > 1) Check the devices in '/dev/daX'.
> > 2) # camcontrol devlist
> > 3) Check the boot messages (umass and da) and
> >the messages printed when you plug the device.
> > 
> > To mount it you have to select a slice (if it has
> > data stored in):
> > 
> > mount -t msdosfs /dev/da0s1 /mnt
> 
> I do not have the cam device in the kernel config.
> Do I have to? I also don't have umass in the
> kernel config either, but I load that as a module
> later; is that OK?
> 
> Problem is that I do not have any /dev/da* devices,
> with or without my memory stick in the usb port.
> 
> I load umass module into the kernel, and then plug
> the memory stick into the usb port. The console
> gets then:
> 
> umass0: EXATEL  , Inc. I-BEAD Multi Player, rev
> 1.10/0.01, addr 2
> umass0: Get Max Lun not supported (STALLED)
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0:  Removable Direct Access
> SCSI-4 device
> da0: 1.000MB/s transfers
> da0: 122MB (249856 512 byte sectors: 64H 32S/T 122C)
> umass0: BBB reset failed, STALLED
> umass0: BBB bulk-in clear stall failed, STALLED
> umass0: BBB bulk-out clear stall failed, STALLED
> [...last three lines repeated every minute or so...]
> 
> 
> What does the "STALLED" mean here?
> Is that critical? The "usbdevs -v" reports now:
> 
> Controller /dev/usb0:
> addr 1: full speed, self powered, config 1, UHCI
>  root hub(0x), Intel(0x), rev 1.00
>  port 1 powered
>  port 2 addr 2: full speed, self powered, config 1,
>  i-Bead 100 MP3 Player(0x8008), Sigmatel(0x066f),
>  rev 0.01
> 
> But I have no /dev/da0 :
> 
>   # ls /dev/da*
>   ls: No match.
> 
> So, the memory stick is detected at the USB port,
> but I don't have the /dev/da* devices to mount the
> memory stick (although devices da and scbus are in
> my kernel config!).
> When I remove the memory stick, I get following in
> the console:
> 
> umass0: at uhub0 port 2 (addr 2) disconnected
> (da0:umass-sim0:0:0:0): lost device
> (da0:umass-sim0:0:0:0): removing device entry
> Opened disk da0 -> 5
> umass0: detached
> 
> 
> What am I doing wrong?
> 
> Thanks,
> Rob.
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Hello,

I think your configuration is fine.

I guess the problem is with the driver or maybe it needs some extra
configuration.

Your device is detected:

umass0: EXATEL  , Inc. I-BEAD Multi Player, rev
1.10/0.01, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Removable Direct Access
SCSI-4 device
da0: 1.000MB/s transfers
da0: 122MB (249856 512 byte sectors: 64H 32S/T 122C)

I think the source of the problem are these lines:

umass0: Get Max Lun not supported (STALLED)
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
[...last three lines repeated every minute or so...]

I do not know how to solve this, but perhaps someone will answer you in
the '[EMAIL PROTECTED]' list.

Do not forget to provide the following information:

1) messages reported when booting/plugging/unplugging/
2) # camcontrol devlist
3) # usbdevfs -v
4) error messages (STALLED)
5) FreeBSD version and kernel options related to USB

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


Re: chmod equivalent to find commands

2005-03-12 Thread Eric McCoy
Fafa Diliha Romanova wrote:
hello.
i know there's an equivalent to these two find commands that
can be summed up in one chmod command:
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
it fixes my permissions ...
i haven't tested this yet but i think it's wrong: chmod -R u+rwX,a+rX
what would be the best solution here?
I would do it the same way you do, but with xargs instead:
find . -type X -print0 | xargs -0 chmod XXX
If you were feeling crazy and use sh:
find . | while read path; do \
  if [ -d "$path" ]; then chmod 755;
  else chmod 644; fi; \
done
The latter is overkill, but the approach can be useful for nontrivial 
operations on systems that don't support -print0.  It also has the 
benefit that you can do it over ssh without having to copy over a 
script, e.g.

ssh [EMAIL PROTECTED] sh -s 
(No nightmares from having to double- or triple-escape special 
characters, either.)

Sorry, I don't know how to do it all with chmod.  I assume you've 
consulted the excellent FreeBSD man pages?

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


gmirror rebuilds on every reboot

2005-03-12 Thread Andrea Venturoli
As per subject: I have a 5.3 box with two SATA drives and I using 
gmirror to achieve RAID 1.
The problem is it started rebuilding the array *on every boot*.

From the logs:
Mar 12 16:39:16 robert kernel: ad4: 78167MB  
[158816/16/63] at ata2-master SATA150
Mar 12 16:39:16 robert kernel: ad6: 78167MB  
[158816/16/63] at ata3-master SATA150
Mar 12 16:39:16 robert kernel: GEOM_MIRROR: Device gm0 created 
(id=2197339280).
Mar 12 16:39:16 robert kernel: GEOM_MIRROR: Device gm0: provider ad4 
detected.
Mar 12 16:39:16 robert kernel: GEOM_MIRROR: Device gm0: provider ad6 
detected.
Mar 12 16:39:16 robert kernel: GEOM_MIRROR: Device gm0: provider ad6 
activated.
Mar 12 16:39:16 robert kernel: GEOM_MIRROR: Device gm0: provider 
mirror/gm0 launched.
Mar 12 16:39:16 robert kernel: GEOM_MIRROR: Device gm0: rebuilding 
provider ad4.


fdisk /dev/ad4 (same for /dev/ad6 or /dev/mirror/gm0) gives:
*** Working on device /dev/ad4 ***
parameters extracted from in-core disklabel are:
cylinders=158816 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=158816 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 160071597 (78159 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 747/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:


bsdlabel /dev/mirror/gm0s1:
# /dev/mirror/gm0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  1048576   164.2BSD 2048 16384 8
  b:  4194304  1048592  swap
  c: 1600715970unused0 0 # "raw" part, 
don't edi
t
  d: 41943040  52428964.2BSD 2048 16384 28552

(Yes, I left some space unused.)

Finally /etc/fstab:
# Device Mountpoint   FStype  Options  Dump  Pass#
/dev/mirror/gm0s1b   none swapsw   0 0
/dev/mirror/gm0s1a   /ufs rw   1 1
/dev/mirror/gm0s1d   /usr ufs rw   2 2
/dev/acd0/cdrom   cd9660  ro,noauto0 0

And I have swapoff="YES" in /etc/rc.conf.

I cannot think of any reason this might happen, but I'd appreciate any 
hint to avoid that.

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


Re: Setting up a danish locale

2005-03-12 Thread Erik Norgaard
Steve Kargl wrote:
Problem:  We have a visiting scientist from Denmark, whose laptop
  died a horrible death.  A colleagued asked if I would loan him
  a currently unused system in my office.  I've set up FreeBSD 5.3
  on the system and everything appears to work except for setting
  up a Danish locale.
From my rc.conf: The keymap sets the keyboard - doesn't make sense to 
set it per account I think? The font stuff is for the console.

##
###  System console options  #
##
keymap="danish.iso" # keymap in /usr/share/syscons/keymaps/* (or NO).
font8x16="iso-8x16" # font 8x16 from /usr/share/syscons/fonts/* (or NO).
font8x14="iso-8x14" # font 8x14 from /usr/share/syscons/fonts/* (or NO).
font8x8="iso-8x8"   # font 8x8 from /usr/share/syscons/fonts/* (or NO).

Disclaimer:  I searched the Handbook, used google, and spent a
  few hours reading up of login.conf, locale support, etc.  But,
  we are stuck without the danish locale.
Yes, it's not trivial, what have bothered me is that some programs seems 
to have their own overriding settings.

I have setup a ~/,login_conf in the user home directory that 
contains

dhcp-78-77:kargl[201] cat .login_conf
me:\
:charset=ISO8859-1:\
:lang=da_DK.ISO8859-1:
Should you get a future visiting scientist from Denmark, maybe you 
should create a class in /etc/login.conf, I have:

da_DK:Danish users:\
:charset=iso-8859-1:\
:lang=da_DK.ISO8859-1:\
:tc=default:
In master.passwd you then set the class for the user to da_DK.
Finally, in /etc/ttys you need to select a console that supports latin1 
characters instead of plain ascii, cons25l1 is recomended:

ttyv0   "/usr/libexec/getty Pc" cons25l1on  secure
All this stuff is to make the console behave. X has it's own life, I 
have had things working in X but not on the console - and I guess the 
oposite is possible too.

For X I have the following in my XF86Config:
Section "InputDevice"
Identifier  "Keyboard0"
Driver  "keyboard"
Option  "XkbRules" "xfree86"
Option  "XkbModel" "pc102"
Option  "XkbLayout" "dk"
I haven't installed anything particular for international support, I 
think that is only required for non latin based character sets.

If you still have problems, you may try and ask in the danish BUG (is it 
 called a BUG??) bsd-dk.dk - don't worry, you can write in english.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: no flames, please.

2005-03-12 Thread Kevin Kinsey

Don Tyson wrote:
   

I am running XandrOS Linux on an old Digital PC box. It is almost
scarily Windows-like, but installs in a snap and, if you buy the 
full edition, comes with Crossover Office for all the Windows
applications you can't wait to run. On another test box (a Dell), MS Office
ran just fine under XandrOS Linux and Crossover Office.

 

KDK> That's cool, but isn't it an, um, offense or, um, whatever to that 
lon^H^Hittle

* Umm, woops!  "End User License Agreement", I see now it sez
   

Yes, you must have a licensed copy of MS Office to install it. You do
not need a copy of the Windows OS itself.
Don
 


Hmm, I don't see any clause in the "Office Standard Edition 2003" EULA
that would support my claim, so I publicly repent of any FUD that may
have been flung your way.
OTOH, the box that the product comes in pretty well states that you
need a Microsoft OS ("System Requirements").  I guess one could say
that since we're running 5.3, or what-not, we have something "later" :-)
It's a rather controversial issue, and the EULA's from Redmond
are continually varying in their language.  Compare some older ones,
and see also things like:
http://www.microsoft-watch.com/article2/0,1995,1766738,00.asp
http://linux.slashdot.org/article.pl?sid=05/02/17/1318212&tid=125&tid=109&tid=106
(watch out for URI wrapping)
I'm not trying to troll now, nor offend; but, based on reading some M$
"documents", as it were, one might very well wonder whether Microsoft
really agrees with your last statement or not.
Sincerely,
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Realplay10GOLD] Error: ELF binary type "0" not known

2005-03-12 Thread David Fleck
On Fri, 11 Mar 2005, P.H.Tung wrote:
Hi David Fleck,
I downloaded port linux-realplayer from http://www.freebsd.org/ports/multimedia/
and run: make install clean (internet connected and it automatically
downloaded relevant files)
What's wrong?

Thanks, I just wanted to make sure you were getting the sources from the 
right place.  As to what's wrong, I can't help you currently, because I 
can't get the thing to install.

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


Why not?

2005-03-12 Thread Aperez
Hello everybdody

I read an interview of Linus Torvald made by Linux Magazine. In that interview 
Linus mentioned the following:

"On the other hand, no, Linux does not have that stupid notion of having 
totally separate kernel development for different issues. If you want a secure 
BSD, you get OpenBSD; if you want a usable BSD, you get FreeBSD; and if you 
want BSD on other architectures, you get NetBSD. That___s just idiotic, to have 
different teams worry about different things."

I dont want to critize what Linus stated above. However, I find a very valid 
point when he says that every BSD version team is woking in different 
directions.

My question is this:

Why not all three teams work together for just one BSD version? 

At the moment there are three groups of developers and users working in the 
same issues. I think if we should all work together and create well rounded BSD 
version for us users and corporate clients. Imagine a BSD version that is 
portable (NetBSD), that is very secured (OpenBSD) and that is a good Destop 
solution (FreeBSD).



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


Re: chmod equivalent to find commands

2005-03-12 Thread Dan Nelson
In the last episode (Mar 12), Fafa Diliha Romanova said:
> i know there's an equivalent to these two find commands that
> can be summed up in one chmod command:
> 
> find . -type d -exec chmod 755 {} \;
> find . -type f -exec chmod 644 {} \;
> 
> it fixes my permissions ...
> i haven't tested this yet but i think it's wrong: chmod -R u+rwX,a+rX

That chmod command should work just fine.

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


RE: Why not?

2005-03-12 Thread Subhro


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Aperez
> Sent: Saturday, March 12, 2005 23:09
> To: freebsd-questions@freebsd.org
> Subject: Why not?
> 
> 
> Why not all three teams work together for just one BSD version?

Well, your notion is not 100% correct. There are indeed different teams for
the development of FreeBSD, OpenBSD and NetBSD but they are extremely
friendly and toleant towards each other and often share lot of code and
modules. For example, NetBSD and FreeBSD share the same USB subsystem.

As far as my understanding goes, each of the different flavours of BSD are
developed with a particular viewset in mind. For example, NetBSD is built no
to squeeze out the last drop of juice from the hardware. Instead it is
designed to be highly portable and literally run on anything you throw at
it. Similarly OpenBSD developers prefers more to swear by security than
anything else. They are entirely different projects although not entirely
independent.

> 
> At the moment there are three groups of developers and users working in
> the same issues. I think if we should all work together and create well
> rounded BSD version for us users and corporate clients. Imagine a BSD
> version that is portable (NetBSD), that is very secured (OpenBSD) and that
> is a good Destop solution (FreeBSD).

Well there are quite a few things which are mutually exclusive in nature. In
those cases you need to have tradeoffs.

Regards,
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


begin 666 smime.p7s
M,( &"2J&2(;W#0$'`J" ,( "`0$Q"S )[EMAIL PROTECTED]@,"&@4`,( &"2J&2(;W#0$'
M`0``H(()X3""`CTP@@&F`A$`S;I_5O#?Y+Q4_B*LLW*J53 [EMAIL PROTECTED]&]PT!
M`0(%`#!?,0LP"08#500&$P)54S$7,!4&`U4$"A,.5F5R:5-I9VXL($EN8RXQ
M-S [EMAIL PROTECTED] L3+D-L87-S([EMAIL PROTECTED]'5B;&EC(%!R:6UA<[EMAIL 
PROTECTED]&EF:6-A=&EO
M;B!!=71H;W)I='DP'A<-.38P,3(Y,# P,# P6A<-,[EMAIL PROTECTED] Q,C,U.34Y6C!?
M,0LP"08#500&$P)54S$7,!4&`U4$"A,.5F5R:5-I9VXL($EN8RXQ-S [EMAIL PROTECTED]
M! L3+D-L87-S([EMAIL PROTECTED]'5B;&EC(%!R:6UA<[EMAIL 
PROTECTED]&EF:6-A=&EO;B!!=71H
M;W)I='[EMAIL PROTECTED])*H9(AO<[EMAIL PROTECTED],(&)`H&!`.49OVVC5F$MF4AQ
M]F?>N8WKMYZ&@ J1#OHX):]&B(+E<[EMAIL PROTECTED],96X,L-!6A!B'F@:;$*%S
MW[18.6MNP?85U:BH/ZH2!HTQK'^P-->/-&>(").159I'W@"@-K<1Y$I
MNS;)8US%X-S"Z*B\QJNZC9]K;`@,!``$P#08)*H9(AO<-`0$"
[EMAIL PROTECTED],PY=Z:;+!X1->C/_DAOT-JW8E2(V:!%L?$+,\YPN
MQ <_%+ /3_^0DG;YXKQ*Z8_-H( *]\4I\8(B7;BQW8$CHWLE%48P>1;[EMAIL PROTECTED]
ME'\=PAS(X[?T$$ \$\-?'U/H2.2&M'NA-;![);JXTXZK/SB=`#0`F//1<90P
M@@-F,(("SZ [EMAIL PROTECTED]"`A -BT_NJM(86_1U:ITIX7_[, T&"2J&2(;[EMAIL 
PROTECTED]
M,%\Q"S )[EMAIL PROTECTED] 83`E53,12!#97)T:69I8V%T:6]N($%U
M=&AO3 >%PTY.# U,3(P,# P,#!:%PTP.# U,3(R,S4Y-3E:,(',,1HHME$\5>#:X#4JR;YQ4O[SH=RJ=N?!HNY79,4%P
M>[EMAIL PROTECTED]'".&$0JO HI*K1%RJ0O""[EMAIL PROTECTED]".[N^R2<*7;:P-D(SM6Y4
MB$^'2K\9VOD5Z ^'MASCS,::CG]J))+C_.!ENJ>Q?N_)VS=JR$K("0;DF0(#
M`0`!HX&T,(&Q,!$&"6"&2 &&^$(!`00$`P(!!C [EMAIL PROTECTED]'1\$+C L,"[EMAIL 
PROTECTED] F
MAB1H='1P.B\O8W)L+G9E4RLOPCL354O4([EMAIL 
PROTECTED]
M+EZ5,IMYK641"QQ*4L35J#$ACMX0FVP(Q0?F`[GGR#1X"0GRO 9"^%J,@]&*
MWJHB]=GC(=+/98P&,[#-(+(SS0J]/N&=P36I9+"GI21;Z?%HZQ/$?#?TE&0-
MFL6],[EMAIL PROTECTED]@/N6J/J[8[EMAIL PROTECTED];W)P+B!">2!2
M968N+$Q)04(N3%1$*&,[EMAIL PROTECTED]&[EMAIL PROTECTED] 
,3/U9E%PTP-#$Q,3$P,# P,#!:%PTP-3 W,[EMAIL PROTECTED],S4Y-3E:,((!$C$7,!4&`U4$
M"A,.5F5R:5-I9VXL($EN8RXQ'S [EMAIL PROTECTED] L3%E9E*="@C]MBPY5= 6VK7H..XWY"AVFC!RE);X]3%#?RZW
MZ%PT%YBC5NR(PM500 -HB,("!9\,(9RK!2*]_/RH'>(3LG(H"N<$XJ8&D++W
M"8SBCH4_B9&P`2TBB?['VC)+`@,!``&C@;L&:;])
MO1]KAWM]6:@[EMAIL PROTECTED](Q42$7BX$"7M29M$%I+ZR-4J^_FQ$7O&[17
MT/>T3YB4+F)QQKS.W0OG0P@>$P@[EMAIL PROTECTED]&"RJ&
M2(;W#0$)$ (+,8'DH('A,(',,1*U#+GO.'=D.?)N,-4\"D%!>W,&
MQ!>W*4Y.(2V2_3G;UDO_79/$I&PZ6IP+>.WV([EMAIL PROTECTED])[EMAIL 
PROTECTED])O_6KM-0,$
@9?I6:C!XH4.;?,@,63\?GZ,>:PI,HP?\`UH`
`
end

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


Re: Why not?

2005-03-12 Thread Dan Nelson
In the last episode (Mar 12), Aperez said:
> Why not all three teams work together for just one BSD version? 
> 
> At the moment there are three groups of developers and users working
> in the same issues. I think if we should all work together and create
> well rounded BSD version for us users and corporate clients. Imagine
> a BSD version that is portable (NetBSD), that is very secured
> (OpenBSD) and that is a good Destop solution (FreeBSD).

(don't forget dragonfly and OS X)

Might as well ask the literally dozens (hundreds?) of Linux
distributions why they are dividing /their/ efforts, keeping their own
custom patchsets, installers, bug databases, etc.

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


Re: Why not?

2005-03-12 Thread bsdzz

"On the other hand, no, Linux does not have that stupid notion of having totally 
separate kernel development for different issues. If you want a secure BSD, you get 
OpenBSD; if you want a usable BSD, you get FreeBSD; and if you want BSD on other 
architectures, you get NetBSD. That___s just idiotic, to have different teams worry about 
different things."
 

I guess Linus didn't have anything to say about the 200 different 
versions of Linux, with their 200 different installers, and 200 
different file hierachies, and their multiple package management systems.

Why not all three teams work together for just one BSD version? 
 

If I remember correctly, there are multiple versions of BSD because the 
teams could not work together.

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


Re: Location of openssl certs in FreeBSD 5.3-RELEASE

2005-03-12 Thread Freminlins
On Fri, 11 Mar 2005 22:29:24 -0500, Madhusudan Singh
<[EMAIL PROTECTED]> wrote:
>
>  Anyways, where are the certs installed in FreeBSD ?

There are no default certificates in FreeBSD. They are easy to create
however. Look in the Handbook here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/openssl.html.
If you want to create your own CA you can search for a "howto" on
Google. There are enough of these published so you won't have a
problem finding one.


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


Re: CVSup versions?

2005-03-12 Thread Lowell Gilbert
cizuriet <[EMAIL PROTECTED]> writes:

>  I am trying to get a copy of the CVS tree on my local machine.  I would like 
> to use the CVSup utility since it is supposed to be much faster.  Can I use 
> CVSup from my Windows XP machine?  Or is there a version(binary) that runs on 
> GNU/Linux?

I'm not clear on exactly what you're trying to do.  Are you just
trying to get the latest versions of a source code tree, or do you
want to have full access to the CVS history?  Is there a cvsup server
already providing access to that code tree?

But probably, you'll be able to figure out exactly what you need to
know from http://www.cvsup.org/.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


enable acpi

2005-03-12 Thread koen de wijs
Hello
Could anyone tell me how to enable acpi with FreeBSD 5.3?
I read on the FreeBSD that acpi isn't enabled in some cases. When I 
shutted down with FreeBSD 5.2.1, the power of my pc automaticaly goes 
down and with 5.3 not. How  do I enable acpi?

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


Re: gdbe - how?

2005-03-12 Thread Erik Norgaard
h p wrote:
I feel I'm bombarding the list with stupid questions, but I really
can't find an answer to this.
I'd like to use the gdbe disk encryption. I have activated GEOM_BDE in
my kernel and would like to go ahead with the procedure described in
the handbook. But I don't have a gdbe executable anywhere on my
system. Neither a manpage or a port with a name obviously related to
gdbe, for that matter.
Where do I find it?
That's probably because of the typo it's gbde not gdbe.
Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IP Filter Issues in 4.11

2005-03-12 Thread Mario Antonio
Dear List,

I just upgraded a couple of my machines from 4.9 release to 4.11 release,
and now I am finding some issues with IP Filters.

this is the output of ipf -V:
ipf: IP Filter: v3.4.35 (336)
Kernel: IP Filter: v3.4.35

Some of the issues I am having are:

Before this set of rules worked fine:

head/group 10
block out log quick on fxp0 all head 10
pass out quick on fxp0 proto tcp from any to any keep state group 10
pass out quick on fxp0 proto udp from any to any keep state group 10
pass out quick on fxp0 proto icmp from any to any keep state group 10

Now in order to be able to make that machine pingable I have to:
pass out quick on fxp0

--> UDP also behaves in a similar way, only TCP works fine.

I wonder if somebody has experienced something similar?


Regards

Mario Antonio







---
[This e-mail was scanned for viruses by Webjogger's AntiVirus Protection System]

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


Re: Why not?

2005-03-12 Thread Chris
Aperez wrote:
> Hello everybdody
> 
> I read an interview of Linus Torvald made by Linux Magazine. In that 
> interview Linus mentioned the following:
> 
> "On the other hand, no, Linux does not have that stupid notion of having 
> totally separate kernel development for different issues. If you want a 
> secure BSD, you get OpenBSD; if you want a usable BSD, you get FreeBSD; and 
> if you want BSD on other architectures, you get NetBSD. That___s just 
> idiotic, to have different teams worry about different things."

Here's irony posed as a question:

... and how many distros of Linux are there?


-- 
Best regards,
Chris

Never wrestle with a pig; you both get dirty, and the pig
likes it!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ntp problems (strata too high)

2005-03-12 Thread martinmcc
Hi,

   I am having problems getting my client machine syncing with hy ntp
server. Details follow -

doing a ntpdate -d 192.168.16.1 on the client returns

12 Mar 19:35:56 ntpdate[1443]: ntpdate 4.2.0-a Thu Nov  4 22:31:39 UTC
2004 (1)
Looking for host 192.168.16.1 and service ntp
transmit(192.168.16.1)
receive(192.168.16.1)
transmit(192.168.16.1)
receive(192.168.16.1)
transmit(192.168.16.1)
receive(192.168.16.1)
transmit(192.168.16.1)
receive(192.168.16.1)
transmit(192.168.16.1)
192.168.16.1: Server dropped: strata too high
server 192.168.16.1, port 123
stratum 16, precision -20, leap 11, trust 000
refid [192.168.16.1], delay 0.02574, dispersion 0.0
transmitted 4, in filter 4
reference time:.  Thu, Feb  7 2036  6:28:16.000
originate timestamp: c5ddc31c.eacb5afa  Sat, Mar 12 2005 19:35:56.917
transmit timestamp:  c5ddc31d.053aaf24  Sat, Mar 12 2005 19:35:57.020
filter delay:  0.02579  0.02577  0.02574  0.02574
 0.0  0.0  0.0  0.0
filter offset: -0.10333 -0.10334 -0.10334 -0.10334
 0.00 0.00 0.00 0.00
delay 0.02574, dispersion 0.0
offset -0.103344



On the server  ntpq -cas returns -

ind assID status  conf reach auth condition  last_event cnt
===
  1 15532  b024   yes   yes  nonereject   reachable  2
  2 15533  b024   yes   yes  nonereject   reachable  2
  3 15534  b024   yes   yes  nonereject   reachable  2
  4 15535  b024   yes   yes  nonereject   reachable  2
---

and ntpq -p returns

 remote   refid  st t when poll reach   delay   offset 
jitter
==
 clueful.shagged 195.66.241.3 2 u  107  256   17   33.901  199.499 
14.837
 sky.nuxi.it 217.11.227.683 u  108  256   17   68.775  212.512 
17.382
 i157107.upc-i.c 193.79.237.142 u  107  256   17   54.001  203.632  
9.815
 62.152.126.5146.48.83.1823 u  109  256   17   58.000  201.334  
9.996


ntp.conf on server is

restrict 192.168.16.0 mask 255.255.255.0 nomodify notrap
restrict 127.0.0.1

server uk.pool.ntp.org
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org

logfile   /var/log/ntp.log
---

(server ip is 192.168.16.1, client is 192.168.16.200)

doing a ntpdate uk.pool.ntp.org from either server or client syncs fine.

Any help would be much appreciated.

Cheers,
Martin

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


Re: chmod equivalent to find commands

2005-03-12 Thread Giorgos Keramidas
On 2005-03-12 10:30, Eric McCoy <[EMAIL PROTECTED]> wrote:
>Fafa Diliha Romanova wrote:
>> hello.
>>
>> i know there's an equivalent to these two find commands that
>> can be summed up in one chmod command:
>>
>> find . -type d -exec chmod 755 {} \;
>> find . -type f -exec chmod 644 {} \;

Uhm, why?  Even if that were possible, isn't clarity more important that
stuffing as many actions as possible in one line?

What you list above is similar to the way I use for changing the
permissions of files/dirs and it works all the time.

There's no reason to try to write one, long, complicated command just
for the sake of making it one command instead of two.  Otherwise, you
may as well do more complex stuff like:

find . | while read line; do
mode=''
[ -d "${line}" ] && mode=0755
[ -f "${line}" ] && mode=0644

[ -n "${mode}" ] && echo "chmod ${mode} \"${line}\""
done | sh

But this is getting quickly very difficult to remember easily and repeat
consistently every time you want to do something similar :)

>> what would be the best solution here?
>
> I would do it the same way you do, but with xargs instead:
>
> find . -type X -print0 | xargs -0 chmod XXX

This is an excellent way to do this, IMHO.

> If you were feeling crazy and use sh:
>
> find . | while read path; do \
>   if [ -d "$path" ]; then chmod 755;
>   else chmod 644; fi; \
> done

I guess you meant to write:

find . | while read path; do \
  if [ -d "$path" ]; then chmod 755 "${path}";
  else chmod 644 "${path}"; fi; \
done

Otherwise, many chmod failures are the only result.

But this has a minor buglet.  It will change everything that is not a
directory to mode 0644.  This mode is ok for files, but it may not be ok
(or it may even fail) for other stuff (symbolic links, for instance).

- Giorgos

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


Re: Why not?

2005-03-12 Thread Giorgos Keramidas
On 2005-03-12 12:38, Aperez <[EMAIL PROTECTED]> wrote:
> Hello everybdody
>
> I read an interview of Linus Torvald made by Linux Magazine. In that
> interview Linus mentioned the following:
>
> "On the other hand, no, Linux does not have that stupid notion of
> having totally separate kernel development for different issues. If
> you want a secure BSD, you get OpenBSD; if you want a usable BSD, you
> get FreeBSD; and if you want BSD on other architectures, you get
> NetBSD. That___s just idiotic, to have different teams worry about
> different things."
>
> I dont want to critize what Linus stated above. However, I find a very
> valid point when he says that every BSD version team is woking in
> different directions.

The important detail, I guess, that makes Linus wrong or at least not entirely
correct in making this statement is that the three BSD-derived systems he
mentions are different systems altogether.  They are *NOT* different sets of
packages collected and distributed around the same kernel.

The same can be said about Linux distributions; some times even more so.  One
cannot compare any version of Slackware Linux vs. Redhat Linux vs. Mandrake
vs. SuSE vs. Gentoo vs. Ubuntu vs. the Linux distribution "de jour".  At any
given point in time, one can find Linux distributions that come with kernel
version 2.2, others with 2.4, a third group coming with some minor release of
2.6.x, etc.

Having said that, I don't see why Linux can be considered as "one system".
Even if it were, I don't see why four different systems (FreeBSD, NetBSD,
OpenBSD and Dragonfly BSD) are bad because they are not "one system".  Not to
mention, that this is partly wrong because the BSD systems -- the internals of
their kernels put aside for a while -- have a great deal of similarities
between then; many more than any randomly chosen set of Linux distributions.

What Linus fails to see when he makes comments like the one above are some
very crucial points:

- A "system" is not just its kernel.

- Linux "systems" have a lot more differences than he implies.

- The BSD systems, when seen as a whole and not just as a kernel, have
  many more similarities among them than any set of at least two
  different Linux systems.

> My question is this:
> Why not all three teams work together for just one BSD version?

They do, in fact.  A lot more than Linus implies.  They just use their
different BSD systems to develop the things they most like.

Very often, what new features developed on one BSD system is ported or copied
over to other BSD systems.  Bug fixes that are made on one of the BSDs are
many times fixed in a short time in other BSDs too.

> At the moment there are three groups of developers and users working
> in the same issues. I think if we should all work together and create
> well rounded BSD version for us users and corporate clients. Imagine a
> BSD version that is portable (NetBSD), that is very secured (OpenBSD)
> and that is a good Destop solution (FreeBSD).

Diversity is not bad.  Linus is just wrong in stating that the BSDs are
somehow silly for not making the One, True BSD(TM)(C)(R).

- Giorgos

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


RE: format slice

2005-03-12 Thread Freek Nossin
Hello, formatting is almost complete... 

My new problem is that bsdlabel didn't create a new partition after bsdlabel
-e ad0s1. Below is an extensive output of some commands, but you might want
to skip to the last alinea ;). 

I used fdisk to create a new slice. I copied the exact format of the
previous slice (on which the windows installation resided), so I didn't have
to worry about the "overlapping slices". I got this nice output:

pcwin451# fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=39704 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=39704 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 0 (),(unused)
start 63, size 20820177 (10166 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 174/ head 15/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 20820240, size 19201392 (9375 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 15/ sector 63
The data for partition 3 is:

The data for partition 4 is:


Part 1 is the new slice which I want to use. 
Then I used bsdlabel to create a label on ad0s1 by typing: 

#bsdlabel -w ad0s1

And following the handbook, my next command was:

#bsdlabel -e ad0s1

Now I wrote in the text editor (I admit, after 4 tries and a lot of
reading...):

# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 208201770unused0 0 # "raw" part, don't 
  e: 2082017704.2BSD 2048 16384 32776


now I wanted to use newfs to create a file system on ad0s1e, but it could
not. My problem is illustrated by my ls output:

pcwin451# ls /dev/ad*
/dev/ad0/dev/ad0s2  /dev/ad0s2b /dev/ad0s2d
/dev/ad0s1  /dev/ad0s2a /dev/ad0s2c /dev/ad0s2e

bsdlabel -e didn't create a new partition, although the output of bsdlabel
ad0s1 is:

pcwin451# disklabel ad0s1
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 208201770unused0 0 # "raw" part, don't
edit
  e: 20820161   164.2BSD 2048 16384 32776

How can this be? (and how do I fix it...?)

Thanks for your help already so far

Freek


> -Original Message-
> From: Alejandro Pulver [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 11 maart 2005 21:31
> To: Freek Nossin
> Cc: 'Jerry McAllister'; freebsd-questions@freebsd.org
> Subject: Re: format slice
> 
> On Fri, 11 Mar 2005 21:16:49 +0100
> "Freek Nossin" <[EMAIL PROTECTED]> wrote:
> 
> > > -Original Message-
> > > From: Jerry McAllister [mailto:[EMAIL PROTECTED]
> > > Sent: vrijdag 11 maart 2005 21:00
> > > To: Freek Nossin
> > > Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
> > > Subject: Re: format slice
> > >
> > > >
> > > > Thank you for your suggestions, I followed them and this is what
> > > happened:
> > > >
> > > > pcwin451# fdisk -s
> > > > /dev/ad0: 39704 cyl 16 hd 63 sec
> > > > PartStartSize Type Flags
> > > >1:  6320820177 0x07 0x00
> > > >2:2082024019201392 0xa5 0x80
> > > >
> > > > Part 1 is the one I want to convert to a freebsd slice.
> > > >
> > > > Now I used fdisk -f  with the input
> > > >
> > > > p 1 0 0 0
> > > >
> > > > the operation succeeded. I did again:
> > > >
> > > > pcwin451# fdisk -s
> > > > /dev/ad0: 39704 cyl 16 hd 63 sec
> > > > PartStartSize Type Flags
> > > >2:2082024019201392 0xa5 0x80
> > > >
> > > > And this was indeed the output I expected. So I thought lets see
> > > > what sysinstall thinks of all this. Selecting fdisk in the menu
> > > > showed me a
> > > disk
> > > > layout where the NTFS partition still was on the disk.
> > > >
> > > > Disk name:  ad0FDISK
> > > > Partition Editor
> > > > DISK Geometry:  39704 cyls/16 heads/63 sectors = 40021632 sectors
> > > (19541MB)
> > > >
> > > > Offset   Size(ST)End Name  PType   Desc
> > > > Subtype Flags
> > > >
> > > >  0 63 62- 12 unused
> > > >  0
> > > >
> > > > 63   20820177   20820239ad0s1  4 NTFS/HPFS/QNX
> > > >7
> > > >   20820240   19201392   40021631ad0s2  8freebsd
> > > >   165
> > > >
> > > >
> > > > How can this be? I've always assumed that sysinstall uses the
> > > > fdisk
> > > tool?
> > > > And which one is "correct"? Is it wise to try creating a new slice
> > > > with fdisk?
> > >
> > > Well, is one of them reading only the in-memory label and the other
> > > reading the label on the disk?When you did the fdisk, did you
> > > make sure it changed on disk.  Then,

Re: Portinstall/upgrade stops with no error

2005-03-12 Thread Doug Lee
You said simply to try sysutils/portmanager.  I must have really made
a mess here:

Kirk 3# portmanager -s

PMGRrStatus 0.2.7_0 info: Creating inital data bases

Segmentation fault (core dumped)
Kirk 3# gdb /usr/local/bin/portmanager portmanager.core
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
Core was generated by `portmanager'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libMG.1...(no debugging symbols found)...
done.
Reading symbols from /usr/local/lib/libPMGR.1...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...
done.
#0  0x280d3b74 in strstr () from /usr/lib/libc.so.4
(gdb) bt
#0  0x280d3b74 in strstr () from /usr/lib/libc.so.4
#1  0x2806e618 in PMGRrAddDependencies () from /usr/local/lib/libPMGR.1
#2  0x2806ea9f in PMGRrDbCreate () from /usr/local/lib/libPMGR.1
#3  0x280724d5 in PMGRrShowLeaves () from /usr/local/lib/libPMGR.1
#4  0x8048df3 in PMGRrShowLeaves ()
#5  0x8048862 in PMGRrShowLeaves ()
#6  0x80487a2 in PMGRrShowLeaves ()
(gdb) 

I had no errors installing portmanager, though I think I had to use
make install.

On Fri, Feb 25, 2005 at 10:09:14PM -0800, Michael C. Shultz wrote:
On Friday 25 February 2005 09:26 pm, Doug Lee wrote:
> System: FreeBSD-STABLE (4.10).  Ports updated recently, but I've had
> trouble with the database and probably never straightened it out.
>
> Problem:  "portinstall lang/perl5.8" and other similar attempts to
> install ports abort quietly.  With -v, I just see session started,
> nothing installed or upgraded, session ended.  I can install any port
> via make install though (perl is going in now thus).  I have run
> pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again; no
> change. I've run make index several times, but not today (this is a
> P166, so make index takes a while).
>
> I think my ports database must be irreparably hosed, but I welcome
> suggestions on how to salvage things. :-)
>
> Please Cc me.

Try sysutils/portmanager

-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
Bartimaeus Group   [EMAIL PROTECTED]   http://www.bartsite.com
In laughter, love is found; but in tears, it is forged.  (12/09/01)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


can't delete file even after "chmod 777" & "rm -f"

2005-03-12 Thread Gary Stanny
Howdy -
I'm having a weird problem. My users can't delete each other's files.
Even if I "chmod 777" the target file and use a "rm -f" cmd. Of course root
can delete the files. Both users are in wheel.
stanny >ls -l  bf_com_exit_rpt.txt
-rwxrwxrwx  1 robot  wheel  5241 Mar 11 16:30 bf_com_exit_rpt.txt
stanny >rm  bf_com_exit_rpt.txt
rm: bf_com_exit_rpt.txt: Operation not permitted
stanny >rm -f  bf_com_exit_rpt.txt
rm: bf_com_exit_rpt.txt: Operation not permitted
cat /etc/passwd ->
stanny:*:1000:0:Gary Stanny:/home/stanny:/usr/local/bin/zsh
robot:*::0:Mr. Robot:/home/robot:/usr/local/bin/zsh
mlbot:*:9998:0:Mail Bot:/home/mlbot:/usr/local/bin/zsh
stanny >cat /etc/group
# $FreeBSD: src/etc/group,v 1.19.2.1 2001/11/24 17:22:24 gshapiro Exp $
#
wheel:*:0:root,stanny,robot,mlbot
Please also CC me direct as I get the list via digest.
Thanks a bunch.
cheers
gary
Gary Stanny  Tierra del Fuego Ltd.www.TDFltd.com
[EMAIL PROTECTED]Financial Software   734-449-8306 (voice/fax)
7725 Shady Beach Dr  Whitmore Lake, MI, 48189 USA 

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


Re: can't delete file even after "chmod 777" & "rm -f"

2005-03-12 Thread Danie Du Toit
The attributes for the /home/robot and /home/mlbot by default set to
755. To have a users in the same group delete files from these
directories, you need to set the directory attributes to 775.


On Sat, 12 Mar 2005 16:47:03 -0500, Gary Stanny <[EMAIL PROTECTED]> wrote:
> 
> Howdy -
> 
> I'm having a weird problem. My users can't delete each other's files.
> Even if I "chmod 777" the target file and use a "rm -f" cmd. Of course root
> can delete the files. Both users are in wheel.
> 
> stanny >ls -l  bf_com_exit_rpt.txt
> -rwxrwxrwx  1 robot  wheel  5241 Mar 11 16:30 bf_com_exit_rpt.txt
> 
> stanny >rm  bf_com_exit_rpt.txt
> rm: bf_com_exit_rpt.txt: Operation not permitted
> 
> stanny >rm -f  bf_com_exit_rpt.txt
> rm: bf_com_exit_rpt.txt: Operation not permitted
> 
> cat /etc/passwd ->
> stanny:*:1000:0:Gary Stanny:/home/stanny:/usr/local/bin/zsh
> robot:*::0:Mr. Robot:/home/robot:/usr/local/bin/zsh
> mlbot:*:9998:0:Mail Bot:/home/mlbot:/usr/local/bin/zsh
> 
> stanny >cat /etc/group
> # $FreeBSD: src/etc/group,v 1.19.2.1 2001/11/24 17:22:24 gshapiro Exp $
> #
> wheel:*:0:root,stanny,robot,mlbot
> 
> Please also CC me direct as I get the list via digest.
> 
> Thanks a bunch.
> 
> cheers
> 
> gary
> 
> Gary Stanny  Tierra del Fuego Ltd.www.TDFltd.com
> [EMAIL PROTECTED]Financial Software   734-449-8306 (voice/fax)
> 7725 Shady Beach Dr  Whitmore Lake, MI, 48189 USA
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Portinstall/upgrade stops with no error

2005-03-12 Thread Michael C. Shultz
On Saturday 12 March 2005 12:16 pm, Doug Lee wrote:
> You said simply to try sysutils/portmanager.  I must have really made
> a mess here:
>
> Kirk 3#   portmanager -s
> -
>--- PMGRrStatus 0.2.7_0 info: Creating inital data bases
> -
>--- Segmentation fault (core dumped)
> Kirk 3#   gdb /usr/local/bin/portmanager portmanager.core
> GNU gdb 4.18 (FreeBSD)
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and
> you are welcome to change it and/or distribute copies of it under
> certain conditions. Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details. This GDB was configured as "i386-unknown-freebsd"...
> (no debugging symbols found)...
> Core was generated by `portmanager'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/local/lib/libMG.1...(no debugging symbols
> found)... done.
> Reading symbols from /usr/local/lib/libPMGR.1...(no debugging symbols
> found)... done.
> Reading symbols from /usr/lib/libc.so.4...(no debugging symbols
> found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no
> debugging symbols found)... done.
> #0  0x280d3b74 in strstr () from /usr/lib/libc.so.4
> (gdb) bt
> #0  0x280d3b74 in strstr () from /usr/lib/libc.so.4
> #1  0x2806e618 in PMGRrAddDependencies () from
> /usr/local/lib/libPMGR.1 #2  0x2806ea9f in PMGRrDbCreate () from
> /usr/local/lib/libPMGR.1 #3  0x280724d5 in PMGRrShowLeaves () from
> /usr/local/lib/libPMGR.1 #4  0x8048df3 in PMGRrShowLeaves ()
> #5  0x8048862 in PMGRrShowLeaves ()
> #6  0x80487a2 in PMGRrShowLeaves ()
> (gdb)
>
> I had no errors installing portmanager, though I think I had to use
> make install.
>
> On Fri, Feb 25, 2005 at 10:09:14PM -0800, Michael C. Shultz wrote:
>
> On Friday 25 February 2005 09:26 pm, Doug Lee wrote:
> > System: FreeBSD-STABLE (4.10).  Ports updated recently, but I've
> > had trouble with the database and probably never straightened it
> > out.
> >
> > Problem:  "portinstall lang/perl5.8" and other similar attempts to
> > install ports abort quietly.  With -v, I just see session started,
> > nothing installed or upgraded, session ended.  I can install any
> > port via make install though (perl is going in now thus).  I have
> > run pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again;
> > no change. I've run make index several times, but not today (this
> > is a P166, so make index takes a while).
> >
> > I think my ports database must be irreparably hosed, but I welcome
> > suggestions on how to salvage things. :-)
> >
> > Please Cc me.
>
> Try sysutils/portmanager

Portmanager is at version 0.2.9_2 now so you should update with
cvsup.  I'm guessing you did not run portmanager as root, if that
is the problem the current version will correctly report it.

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


Errors

2005-03-12 Thread Shawn B
I am running FreeBSD-4.8, and upon doing a ps x, I see


163 ?? I 0:00.01 readproctitle service errors:
.

What process could that be, and how do I fix it?


Thanks

__ 
Post your free ad now! http://personals.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why not?

2005-03-12 Thread Kevin Kinsey
Aperez wrote:
Hello everybdody
I read an interview of Linus Torvald made by Linux Magazine. In that 
interview Linus mentioned the following:

"On the other hand, no, Linux does not have that stupid notion of 
having totally separate kernel development for different issues. If 
you want a secure BSD, you get OpenBSD; if you want a usable BSD, you 
get FreeBSD; and if you want BSD on other architectures, you get 
NetBSD. That___s just idiotic, to have different teams worry about 
different things."

I dont want to critize what Linus stated above. However, I find a 
very valid point when he says that every BSD version team is woking 
in different directions.

My question is this:
Why not all three teams work together for just one BSD version? 

At the moment there are three groups of developers and users 
working in the same issues. I think if we should all work together 
and create well rounded BSD version for us users and corporate 
clients. Imagine a BSD version that is portable (NetBSD), that 
is very secured (OpenBSD) and that is a good Destop solution (FreeBSD).

 

At the risk of really *being* a troll, I'll philosophize apart from
the technical world for a moment.
Some people are born, grow up, and when the time is
right, based on love, respect, and trust, they start a family.
(You can view ours under /usr/share/misc/ on most systems).
Others are born, grow up, discover they are popular and
fsck around with anyone who'll have them.  They say that
it's more fun, and maybe it is for a while; nature takes its
course and the seeds scatter where they may
On one hand you'll usually (rules exist to prove exceptions,
right?) have a relatively small group of well-adjusted
individuals after several years.
On the other, you'll have a legions of messed-up bastardized
malcontents.
Draw your own conclusions
Kevin Kinsey
P.S.  I have nothing personal against Linux, Mr. Torvalds, or
$name_here.  It's just that I'm a family-oriented person ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: can't delete file even after "chmod 777" & "rm -f"

2005-03-12 Thread Gary Stanny
Hi again list and thanks for the instant answer. The winner was John Pettitt.
He correctly pointed me to the sticky bit set on the /tmp & /ramdisk 
directories.

Danie Du Toit did provide correct information except that the problem files 
weren't
in the users home directories.

Thanks a bunch guys :-)
cheers
gary
Gary Stanny  Tierra del Fuego Ltd.www.TDFltd.com
[EMAIL PROTECTED]Financial Software   734-449-8306 (voice/fax)
7725 Shady Beach Dr  Whitmore Lake, MI, 48189 USA 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: format slice

2005-03-12 Thread Alejandro Pulver
On Sat, 12 Mar 2005 21:09:33 +0100
"Freek Nossin" <[EMAIL PROTECTED]> wrote:

> Hello, formatting is almost complete... 
> 
> My new problem is that bsdlabel didn't create a new partition after
> bsdlabel-e ad0s1. Below is an extensive output of some commands, but
> you might want to skip to the last alinea ;). 
> 
> I used fdisk to create a new slice. I copied the exact format of the
> previous slice (on which the windows installation resided), so I
> didn't have to worry about the "overlapping slices". I got this nice
> output:
> 
> pcwin451# fdisk
> *** Working on device /dev/ad0 ***
> parameters extracted from in-core disklabel are:
> cylinders=39704 heads=16 sectors/track=63 (1008 blks/cyl)
> 
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=39704 heads=16 sectors/track=63 (1008 blks/cyl)
> 
> Media sector size is 512
> Warning: BIOS sector numbering starts with sector 1
> Information from DOS bootblock is:
> The data for partition 1 is:
> sysid 0 (),(unused)
> start 63, size 20820177 (10166 Meg), flag 0
> beg: cyl 0/ head 1/ sector 1;
> end: cyl 174/ head 15/ sector 63
> The data for partition 2 is:
> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> start 20820240, size 19201392 (9375 Meg), flag 80 (active)
> beg: cyl 1023/ head 255/ sector 63;
> end: cyl 1023/ head 15/ sector 63
> The data for partition 3 is:
> 
> The data for partition 4 is:
> 
> 
> Part 1 is the new slice which I want to use. 
> Then I used bsdlabel to create a label on ad0s1 by typing: 
> 
> #bsdlabel -w ad0s1
> 
> And following the handbook, my next command was:
> 
> #bsdlabel -e ad0s1
> 
> Now I wrote in the text editor (I admit, after 4 tries and a lot of
> reading...):
> 
> # /dev/ad0s1:
> 8 partitions:
> #size   offsetfstype   [fsize bsize bps/cpg]
>   c: 208201770unused0 0 # "raw" part,
>   don't e: 2082017704.2BSD 2048 16384 32776
> 
> 
> now I wanted to use newfs to create a file system on ad0s1e, but it
> could not. My problem is illustrated by my ls output:
> 
> pcwin451# ls /dev/ad*
> /dev/ad0/dev/ad0s2  /dev/ad0s2b /dev/ad0s2d
> /dev/ad0s1  /dev/ad0s2a /dev/ad0s2c /dev/ad0s2e
> 
> bsdlabel -e didn't create a new partition, although the output of
> bsdlabel ad0s1 is:
> 
> pcwin451# disklabel ad0s1
> # /dev/ad0s1:
> 8 partitions:
> #size   offsetfstype   [fsize bsize bps/cpg]
>   c: 208201770unused0 0 # "raw" part,
>   don't
> edit
>   e: 20820161   164.2BSD 2048 16384 32776
> 
> How can this be? (and how do I fix it...?)
> 
> Thanks for your help already so far
> 
> Freek
>

Hello,

In my second disk I have free space between two slices so I tried the
procedure by myself.

When I did a 'bsdlabel -w /dev/adXsY' (without editing them) I ended
with a partition labeled 'a', and it instantly appeared in '/dev/'. Then
I did what you have done ('bsdlabel -e ') and it also appeared in
'/dev'.

I do not know about this, but maybe this helps:

1) Try with only 'bsdlabel -w '. The partition should appear as
'a'.

2) If the partition does not appear in '/dev/' then you can reinitialize
the ATA channel (0 or 1, I think your disk is in 0) your disk is in,
with 'atacontrol reinit '. For a list of ATA channels
with the devices do 'atacontrol list'.

***WARNING***: do ***NOT*** 'detach' and 'attach' the channel your
device your running hard disk (that contain the FreeBSD you are
running) is connected to (but you can safely 'reinit' it). A 'detach'
removes the disk and slices/partitions from the kernel and powers down
the devices in that channel, so FreeBSD will stall when it tries to
read/write on its partitions ('/', '/usr', etc.). I could detach and
atach it once (in less than 5 seconds), but the other time it crashed
my machine (I had to rewrite this mail three times, because I was
experimenting with 'atacontrol'). It is more safe to reboot the machine.

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


RE: format slice

2005-03-12 Thread Freek Nossin


> -Original Message-
> From: Alejandro Pulver [mailto:[EMAIL PROTECTED]
> Sent: zaterdag 12 maart 2005 23:44
> To: Freek Nossin
> Cc: freebsd-questions@freebsd.org; 'Jerry McAllister'
> Subject: Re: format slice
> 
> On Sat, 12 Mar 2005 21:09:33 +0100
> "Freek Nossin" <[EMAIL PROTECTED]> wrote:
> 
> > Hello, formatting is almost complete...
> >
> > My new problem is that bsdlabel didn't create a new partition after
> > bsdlabel-e ad0s1. Below is an extensive output of some commands, but
> > you might want to skip to the last alinea ;).
> >
> > I used fdisk to create a new slice. I copied the exact format of the
> > previous slice (on which the windows installation resided), so I
> > didn't have to worry about the "overlapping slices". I got this nice
> > output:
> >
> > pcwin451# fdisk
> > *** Working on device /dev/ad0 ***
> > parameters extracted from in-core disklabel are:
> > cylinders=39704 heads=16 sectors/track=63 (1008 blks/cyl)
> >
> > Figures below won't work with BIOS for partitions not in cyl 1
> > parameters to be used for BIOS calculations are:
> > cylinders=39704 heads=16 sectors/track=63 (1008 blks/cyl)
> >
> > Media sector size is 512
> > Warning: BIOS sector numbering starts with sector 1
> > Information from DOS bootblock is:
> > The data for partition 1 is:
> > sysid 0 (),(unused)
> > start 63, size 20820177 (10166 Meg), flag 0
> > beg: cyl 0/ head 1/ sector 1;
> > end: cyl 174/ head 15/ sector 63
> > The data for partition 2 is:
> > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> > start 20820240, size 19201392 (9375 Meg), flag 80 (active)
> > beg: cyl 1023/ head 255/ sector 63;
> > end: cyl 1023/ head 15/ sector 63
> > The data for partition 3 is:
> > 
> > The data for partition 4 is:
> > 
> >
> > Part 1 is the new slice which I want to use.
> > Then I used bsdlabel to create a label on ad0s1 by typing:
> >
> > #bsdlabel -w ad0s1
> >
> > And following the handbook, my next command was:
> >
> > #bsdlabel -e ad0s1
> >
> > Now I wrote in the text editor (I admit, after 4 tries and a lot of
> > reading...):
> >
> > # /dev/ad0s1:
> > 8 partitions:
> > #size   offsetfstype   [fsize bsize bps/cpg]
> >   c: 208201770unused0 0 # "raw" part,
> >   don't e: 2082017704.2BSD 2048 16384 32776
> >
> >
> > now I wanted to use newfs to create a file system on ad0s1e, but it
> > could not. My problem is illustrated by my ls output:
> >
> > pcwin451# ls /dev/ad*
> > /dev/ad0/dev/ad0s2  /dev/ad0s2b /dev/ad0s2d
> > /dev/ad0s1  /dev/ad0s2a /dev/ad0s2c /dev/ad0s2e
> >
> > bsdlabel -e didn't create a new partition, although the output of
> > bsdlabel ad0s1 is:
> >
> > pcwin451# disklabel ad0s1
> > # /dev/ad0s1:
> > 8 partitions:
> > #size   offsetfstype   [fsize bsize bps/cpg]
> >   c: 208201770unused0 0 # "raw" part,
> >   don't
> > edit
> >   e: 20820161   164.2BSD 2048 16384 32776
> >
> > How can this be? (and how do I fix it...?)
> >
> > Thanks for your help already so far
> >
> > Freek
> >
> 
> Hello,
> 
> In my second disk I have free space between two slices so I tried the
> procedure by myself.
> 
> When I did a 'bsdlabel -w /dev/adXsY' (without editing them) I ended
> with a partition labeled 'a', and it instantly appeared in '/dev/'. Then
> I did what you have done ('bsdlabel -e ') and it also appeared in
> '/dev'.
> 
> I do not know about this, but maybe this helps:
> 
> 1) Try with only 'bsdlabel -w '. The partition should appear as
> 'a'.
> 
> 2) If the partition does not appear in '/dev/' then you can reinitialize
> the ATA channel (0 or 1, I think your disk is in 0) your disk is in,
> with 'atacontrol reinit '. For a list of ATA channels
> with the devices do 'atacontrol list'.
> 
> ***WARNING***: do ***NOT*** 'detach' and 'attach' the channel your
> device your running hard disk (that contain the FreeBSD you are
> running) is connected to (but you can safely 'reinit' it). A 'detach'
> removes the disk and slices/partitions from the kernel and powers down
> the devices in that channel, so FreeBSD will stall when it tries to
> read/write on its partitions ('/', '/usr', etc.). I could detach and
> atach it once (in less than 5 seconds), but the other time it crashed
> my machine (I had to rewrite this mail three times, because I was
> experimenting with 'atacontrol'). It is more safe to reboot the machine.
> 
> Best Regards,
> Ale


Thank, but unfortunately it dit not help

pcwin451# atacontrol reinit 0
Master:  ad0  ATA/ATAPI revision 6
Slave:   no device present

pcwin451# bsdlabel -w ad0s1

pcwin451# ls /dev/ad*
/dev/ad0/dev/ad0s2  /dev/ad0s2b /dev/ad0s2d
/dev/ad0s1  /dev/ad0s2a /dev/ad0s2c /dev/ad0s2e



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubsc

Re: Portinstall/upgrade stops with no error

2005-03-12 Thread Doug Lee
On Sat, Mar 12, 2005 at 01:58:58PM -0800, Michael C. Shultz wrote:
On Saturday 12 March 2005 12:16 pm, Doug Lee wrote:
> You said simply to try sysutils/portmanager.  I must have really made
> a mess here:
>
> Kirk 3#   portmanager -s
> -
>--- PMGRrStatus 0.2.7_0 info: Creating inital data bases
> -
>--- Segmentation fault (core dumped)
> Kirk 3#   gdb /usr/local/bin/portmanager portmanager.core
> GNU gdb 4.18 (FreeBSD)
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and
> you are welcome to change it and/or distribute copies of it under
> certain conditions. Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details. This GDB was configured as "i386-unknown-freebsd"...
> (no debugging symbols found)...
> Core was generated by `portmanager'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/local/lib/libMG.1...(no debugging symbols
> found)... done.
> Reading symbols from /usr/local/lib/libPMGR.1...(no debugging symbols
> found)... done.
> Reading symbols from /usr/lib/libc.so.4...(no debugging symbols
> found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no
> debugging symbols found)... done.
> #0  0x280d3b74 in strstr () from /usr/lib/libc.so.4
> (gdb) bt
> #0  0x280d3b74 in strstr () from /usr/lib/libc.so.4
> #1  0x2806e618 in PMGRrAddDependencies () from
> /usr/local/lib/libPMGR.1 #2  0x2806ea9f in PMGRrDbCreate () from
> /usr/local/lib/libPMGR.1 #3  0x280724d5 in PMGRrShowLeaves () from
> /usr/local/lib/libPMGR.1 #4  0x8048df3 in PMGRrShowLeaves ()
> #5  0x8048862 in PMGRrShowLeaves ()
> #6  0x80487a2 in PMGRrShowLeaves ()
> (gdb)
>
> I had no errors installing portmanager, though I think I had to use
> make install.
>
> On Fri, Feb 25, 2005 at 10:09:14PM -0800, Michael C. Shultz wrote:
>
> On Friday 25 February 2005 09:26 pm, Doug Lee wrote:
> > System: FreeBSD-STABLE (4.10).  Ports updated recently, but I've
> > had trouble with the database and probably never straightened it
> > out.
> >
> > Problem:  "portinstall lang/perl5.8" and other similar attempts to
> > install ports abort quietly.  With -v, I just see session started,
> > nothing installed or upgraded, session ended.  I can install any
> > port via make install though (perl is going in now thus).  I have
> > run pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again;
> > no change. I've run make index several times, but not today (this
> > is a P166, so make index takes a while).
> >
> > I think my ports database must be irreparably hosed, but I welcome
> > suggestions on how to salvage things. :-)
> >
> > Please Cc me.
>
> Try sysutils/portmanager

Portmanager is at version 0.2.9_2 now so you should update with
cvsup.  I'm guessing you did not run portmanager as root, if that
is the problem the current version will correctly report it.

-Mike

Yes I ran it as root (hence the "#" in "Kirk 3#"), but I'm now doing a
cvsup of ports and will try an upgrade of portmanager anyway.

-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
Bartimaeus Group   [EMAIL PROTECTED]   http://www.bartsite.com
"Pray devoutly, but hammer stoutly."
--Sir William G. Benham
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Portinstall/upgrade stops with no error

2005-03-12 Thread Michael C. Shultz
>
> Portmanager is at version 0.2.9_2 now so you should update with
> cvsup.  I'm guessing you did not run portmanager as root, if that
> is the problem the current version will correctly report it.
>
> -Mike
>
> Yes I ran it as root (hence the "#" in "Kirk 3#"), but I'm now doing
> a cvsup of ports and will try an upgrade of portmanager anyway.

If it still cores, build with WITH_DEBUG=yes and send me the core
please if you are on a X86 system. If not the output of 
gdb /usr/local/bin/portmanager ./portmanager.core
bt
would be very helpful.  Thanks

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


Re: changed cases, now freebsd won't boot!

2005-03-12 Thread Martin Alejandro Paredes Sanchez
El Vie 11 Mar 2005 11:12, Brian John escribió:
> - Original Message -
>
> > Brian John wrote:
> > > ad1:  WARNING - READDMA UDMA ICRC error (retrying)

is your cable a 80-conductor IDE/ATA cable?

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


Re: format slice

2005-03-12 Thread Alejandro Pulver
On Sun, 13 Mar 2005 00:04:06 +0100
"Freek Nossin" <[EMAIL PROTECTED]> wrote:
> > > Then I used bsdlabel to create a label on ad0s1 by typing:
> > >
> > > #bsdlabel -w ad0s1
> > >
> > > And following the handbook, my next command was:
> > >
> > > #bsdlabel -e ad0s1
> > >
> > > Now I wrote in the text editor (I admit, after 4 tries and a lot
> > > of reading...):
> > >
> > > # /dev/ad0s1:
> > > 8 partitions:
> > > #size   offsetfstype   [fsize bsize bps/cpg]
> > >   c: 208201770unused0 0 # "raw"
> > >   part, don't e: 2082017704.2BSD 2048 16384 32776
> > >
> > >
> > > now I wanted to use newfs to create a file system on ad0s1e, but
> > > it could not. My problem is illustrated by my ls output:
> > >
> > > pcwin451# ls /dev/ad*
> > > /dev/ad0/dev/ad0s2  /dev/ad0s2b /dev/ad0s2d
> > > /dev/ad0s1  /dev/ad0s2a /dev/ad0s2c /dev/ad0s2e
> > >
> > > bsdlabel -e didn't create a new partition, although the output of
> > > bsdlabel ad0s1 is:
> > >
> > > pcwin451# disklabel ad0s1
> > > # /dev/ad0s1:
> > > 8 partitions:
> > > #size   offsetfstype   [fsize bsize bps/cpg]
> > >   c: 208201770unused0 0 # "raw"
> > >   part, don't
> > > edit
> > >   e: 20820161   164.2BSD 2048 16384 32776
> > >
> > > How can this be? (and how do I fix it...?)
> > >
> > > Thanks for your help already so far
> > >
> > > Freek
> > >
> > 
> > Hello,
> > 
> > In my second disk I have free space between two slices so I tried
> > the procedure by myself.
> > 
> > When I did a 'bsdlabel -w /dev/adXsY' (without editing them) I ended
> > with a partition labeled 'a', and it instantly appeared in '/dev/'.
> > Then I did what you have done ('bsdlabel -e ') and it also
> > appeared in'/dev'.
> > 
> > I do not know about this, but maybe this helps:
> > 
> > 1) Try with only 'bsdlabel -w '. The partition should appear
> > as'a'.
> > 
> > 2) If the partition does not appear in '/dev/' then you can
> > reinitialize the ATA channel (0 or 1, I think your disk is in 0)
> > your disk is in, with 'atacontrol reinit '. For a list of
> > ATA channels with the devices do 'atacontrol list'.
> > 
> > ***WARNING***: do ***NOT*** 'detach' and 'attach' the channel your
> > device your running hard disk (that contain the FreeBSD you are
> > running) is connected to (but you can safely 'reinit' it). A
> > 'detach' removes the disk and slices/partitions from the kernel and
> > powers down the devices in that channel, so FreeBSD will stall when
> > it tries to read/write on its partitions ('/', '/usr', etc.). I
> > could detach and atach it once (in less than 5 seconds), but the
> > other time it crashed my machine (I had to rewrite this mail three
> > times, because I was experimenting with 'atacontrol'). It is more
> > safe to reboot the machine.
> > 
> > Best Regards,
> > Ale
> 
> 
> Thank, but unfortunately it dit not help
> 
> pcwin451# atacontrol reinit 0
> Master:  ad0  ATA/ATAPI revision 6
> Slave:   no device present
> 
> pcwin451# bsdlabel -w ad0s1
> 
> pcwin451# ls /dev/ad*
> /dev/ad0/dev/ad0s2  /dev/ad0s2b /dev/ad0s2d
> /dev/ad0s1  /dev/ad0s2a /dev/ad0s2c /dev/ad0s2e
> 
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Hello,

Have you tried to reinitialize the ata channel before changing the
partitions?

Try unmounting '/dev' and mounting it again (forcing it with '-f').

If the problem persist, the only alternative is to reboot. Do you have a
dynamic IP? If that is the case it is possible to add a crontab entry
that executes a script on each system startup. The script can send you
an e-mail to you using the internal sendmail (must be enabled for that)
relay so it will contain the IP of your server (in the complete
headers). Alternatively the script can upload a file containing the
output of 'ifconfig' to an FTP site.

If you are interested you can ask me for more information.

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


RE: Where is the default system-wide configuration file for qpopper?

2005-03-12 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
> I give up:  Where is the default system-wide configuration file for
> qpopper?  Neither the documentation nor the official Web site ever
> specifically identifies it, and even googling for it hasn't helped.
> What's the exact path (and the format of entries inside, as the
> documentation isn't very clear about that, either)?


what does strings qpopper say?

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


Re: Where is the default system-wide configuration file for qpopper?

2005-03-12 Thread Anthony Atkielski
Ted Mittelstaedt writes:

> what does strings qpopper say?

I didn't try it.  I added an -f option to the command line in inet.conf
and that seemed to work.

-- 
Anthony


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


Re: format slice

2005-03-12 Thread Alejandro Pulver
On Sat, 12 Mar 2005 21:06:05 -0300
Alejandro Pulver <[EMAIL PROTECTED]> wrote:

> On Sun, 13 Mar 2005 00:04:06 +0100
> "Freek Nossin" <[EMAIL PROTECTED]> wrote:
> > > > Then I used bsdlabel to create a label on ad0s1 by typing:
> > > >
> > > > #bsdlabel -w ad0s1
> > > >
> > > > And following the handbook, my next command was:
> > > >
> > > > #bsdlabel -e ad0s1
> > > >
> > > > Now I wrote in the text editor (I admit, after 4 tries and a lot
> > > > of reading...):
> > > >
> > > > # /dev/ad0s1:
> > > > 8 partitions:
> > > > #size   offsetfstype   [fsize bsize bps/cpg]
> > > >   c: 208201770unused0 0 # "raw"
> > > >   part, don't e: 2082017704.2BSD 2048 16384
> > > >   32776
> > > >
> > > >
> > > > now I wanted to use newfs to create a file system on ad0s1e, but
> > > > it could not. My problem is illustrated by my ls output:
> > > >
> > > > pcwin451# ls /dev/ad*
> > > > /dev/ad0/dev/ad0s2  /dev/ad0s2b /dev/ad0s2d
> > > > /dev/ad0s1  /dev/ad0s2a /dev/ad0s2c /dev/ad0s2e
> > > >
> > > > bsdlabel -e didn't create a new partition, although the output
> > > > of bsdlabel ad0s1 is:
> > > >
> > > > pcwin451# disklabel ad0s1
> > > > # /dev/ad0s1:
> > > > 8 partitions:
> > > > #size   offsetfstype   [fsize bsize bps/cpg]
> > > >   c: 208201770unused0 0 # "raw"
> > > >   part, don't
> > > > edit
> > > >   e: 20820161   164.2BSD 2048 16384 32776
> > > >
> > > > How can this be? (and how do I fix it...?)
> > > >
> > > > Thanks for your help already so far
> > > >
> > > > Freek
> > > >
> > > 
> > > Hello,
> > > 
> > > In my second disk I have free space between two slices so I tried
> > > the procedure by myself.
> > > 
> > > When I did a 'bsdlabel -w /dev/adXsY' (without editing them) I
> > > ended with a partition labeled 'a', and it instantly appeared in
> > > '/dev/'. Then I did what you have done ('bsdlabel -e ') and
> > > it also appeared in'/dev'.
> > > 
> > > I do not know about this, but maybe this helps:
> > > 
> > > 1) Try with only 'bsdlabel -w '. The partition should
> > > appear as'a'.
> > > 
> > > 2) If the partition does not appear in '/dev/' then you can
> > > reinitialize the ATA channel (0 or 1, I think your disk is in 0)
> > > your disk is in, with 'atacontrol reinit '. For a list of
> > > ATA channels with the devices do 'atacontrol list'.
> > > 
> > > ***WARNING***: do ***NOT*** 'detach' and 'attach' the channel your
> > > device your running hard disk (that contain the FreeBSD you are
> > > running) is connected to (but you can safely 'reinit' it). A
> > > 'detach' removes the disk and slices/partitions from the kernel
> > > and powers down the devices in that channel, so FreeBSD will stall
> > > when it tries to read/write on its partitions ('/', '/usr', etc.).
> > > I could detach and atach it once (in less than 5 seconds), but the
> > > other time it crashed my machine (I had to rewrite this mail three
> > > times, because I was experimenting with 'atacontrol'). It is more
> > > safe to reboot the machine.
> > > 
> > > Best Regards,
> > > Ale
> > 
> > 
> > Thank, but unfortunately it dit not help
> > 
> > pcwin451# atacontrol reinit 0
> > Master:  ad0  ATA/ATAPI revision 6
> > Slave:   no device present
> > 
> > pcwin451# bsdlabel -w ad0s1
> > 
> > pcwin451# ls /dev/ad*
> > /dev/ad0/dev/ad0s2  /dev/ad0s2b /dev/ad0s2d
> > /dev/ad0s1  /dev/ad0s2a /dev/ad0s2c /dev/ad0s2e
> > 
> > 
> > 
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> 
> Hello,
> 
> Have you tried to reinitialize the ata channel before changing the
> partitions?
> 

Sorry, I mean after.

> Try unmounting '/dev' and mounting it again (forcing it with '-f').
> 
> If the problem persist, the only alternative is to reboot. Do you have
> a dynamic IP? If that is the case it is possible to add a crontab
> entry that executes a script on each system startup. The script can
> send you an e-mail to you using the internal sendmail (must be enabled
> for that) relay so it will contain the IP of your server (in the
> complete headers). Alternatively the script can upload a file
> containing the output of 'ifconfig' to an FTP site.
> 
> If you are interested you can ask me for more information.
> 
> Best Regards,
> Ale
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


buffer limit in cron?

2005-03-12 Thread junk
I have a script that works fine from command line.
But when I run it from cron , its not displaying all the info.
Looks like cron is limiting the char length.

example from script ran by cron:
root54313  0.0  0.2  1024  720  ??  S 3:20PM   0:00.00 cron:
running jo

example from script ran by command line:
root54313  0.0  0.2  1024  720  ??  S 3:20PM   0:00.00 cron:
running job (cron)

Any way to make cron use more buffer?

Thanks


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


Re: minicom and ugen

2005-03-12 Thread Emanuel Strobl
Am Samstag, 12. März 2005 01:42 schrieb Paulo Roberto:
> Hello Emanuel,
>
> THanks for your help. My usbdevs -v:
>
> Controller /dev/usb0:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x),
> Intel(0x), rev 1.00
>  port 1 powered
>  port 2 powered
> Controller /dev/usb1:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x),
> Intel(0x), rev 1.00
>  port 1 powered
>  port 2 addr 3: full speed, power 90 mA, config 1, USB <->
> Serial(0x6001), FTDI(0x0403), rev 4.00

This needs the uftdi (and ucom) device. If you can't access /dev/ucom0 after 
loading/compiling the two devices then it's probably a newer version and you 
can try to contact the author of the code.

Best regards,

-Harry



pgpNJrFsZNE8o.pgp
Description: PGP signature


Re: Confused about connection between an option in rc.conf and the associated action?

2005-03-12 Thread Giorgos Keramidas
# Redirected from freebsd-newbies to freebsd-questions.
# Please do not post technical questions to freebsd-newbies.
# This is what freebsd-questions is for.  Followups set.

On 2005-03-13 02:49, Ola Theander <[EMAIL PROTECTED]> wrote:
> Dear subscribers
>
> I'm slightly confused about enabling an option in rc.conf and the associated
> action? E.g. say that I enable gateway_enable="YES" or maybe
> dhcpd_enable="YES", how does FreeBSD associate this simple line to the
> associated action? I've had a theory that adding e.g. test_enable="YES" to
> rc.conf would trigger the execution of the file /etc/rc.d/test.sh at boot
> time but it seems like this isn't how it's done.

The /etc/rc script is the first "rc script" that runs.  This is the one
that takes care of running all the rest of the rc stuff.

In pre-5.X versions of FreeBSD, the /etc/rc script called a predefined
set of /etc/rc.* scripts at specific points during the startup process,
delegating pieces of the work to them.

In 5.3-RELEASE and later versions of FreeBSD, there is a collection of
small /etc/rc.d/* scripts, that are called by /etc/rc instead of the
older /etc/rc.* stuff.  The specific order these scripts will have is
determined at boot time, by the /sbin/rcorder utility.

Each script, either one of the older /etc/rc.* stuff or the newer
/etc/rc.d/* scripts, slurps in /etc/rc.conf and then checks what parts
of the script are enabled to run.  It is the responsibility of the
specific script to check the proper rc.conf variables and act
accordingly.

A small example of an rc script that checks a variable and modifies its
own behavior is /etc/rc.d/tmp, which contains (among other stuff):

load_rc_config $name

# If we do not have a writable /tmp, create a memory
# filesystem for /tmp.  If /tmp is a symlink (e.g. to /var/tmp,
# then it should already be writable).
#
case "${tmpmfs}" in
[Yy][Ee][Ss])
...

Thus, it's not /etc/rc that checks the "tmpfs" variable from rc.conf,
but the specific script that is interested in its value.

Regards,

Giorgos

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


Re: Why not?

2005-03-12 Thread Joshua Tinnin
On Saturday 12 March 2005 09:38 am, Aperez <[EMAIL PROTECTED]> wrote:
> Hello everybdody
>
> I read an interview of Linus Torvald made by Linux Magazine. In that
> interview Linus mentioned the following:
>
> "On the other hand, no, Linux does not have that stupid notion of
> having totally separate kernel development for different issues. If
> you want a secure BSD, you get OpenBSD; if you want a usable BSD, you
> get FreeBSD; and if you want BSD on other architectures, you get
> NetBSD. That___s just idiotic, to have different teams worry about
> different things."
>
> I dont want to critize what Linus stated above. However, I find a
> very valid point when he says that every BSD version team is woking
> in different directions.
>
> My question is this:
>
> Why not all three teams work together for just one BSD version?
>
> At the moment there are three groups of developers and users working
> in the same issues. I think if we should all work together and create
> well rounded BSD version for us users and corporate clients. Imagine
> a BSD version that is portable (NetBSD), that is very secured
> (OpenBSD) and that is a good Destop solution (FreeBSD).

The way I look at it is this (these are the circumstances which matter 
to me - YMMV). When I want to install BSD on embedded hardware or Apple 
hardware, I use NetBSD. When I want to install BSD on a box to use as a 
dedicated firewall, network logging/snort machine, or other security 
apparatus, I use OpenBSD. When I want to install BSD on a box to use as 
a server or a desktop/workstation, I install FreeBSD.

When I want to use Linux as a desktop (I haven't installed any Linux 
servers for a while now), I use Slackware. If I recommend a beginner 
Linux distro to a newbie, it's usually Mandrake or SuSE. If I recommend 
an enterprise Linux distro, it's usually RedHat. If I recommend a Linux 
distro that is for more experienced users, I'd recommend Debian, Gentoo 
or (my personal preference) Slackware. However, if any of those people 
are comfortable with *nix but are looking for something different, like 
maybe they would appreciate an OS developed cohesively, rather than a 
kernel with various distros which add any of a variety of userland 
tools, I recommend FreeBSD. If they find they like it, then I tell them 
about the more specialized flavors.

Linus is free to disagree with the direction BSD has taken over the 
years. However, I'm a bit surprised he's knocking the forking of code. 
Isn't that an inherent strength of open source? He's free to develop in 
his own manner, which has proven to be successful for his particular 
concept, but it's strength is that it's chaotic and allows a variety of 
userland configurations and setups. BSD is more disciplined but rigid 
in its choice of userland tools, which is its strength. The issue of 
code forking is ancillary, and the history is somewhat political, but 
the teams all share code and concepts.

I'm not sure why this is a problem for anyone. However, if you think, as 
an example, Theo de Raadt should give up OpenBSD and come back to 
develop for FreeBSD, then feel free to drop him an email, as well as 
the core FreeBSD team. Oh, and make sure to let us know how it goes ;)

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


connecting a FreeBSD-4.10 to Internet using DSL with static ip address

2005-03-12 Thread Cheezy Vines
Hello everyone!

I have a FreeBSD-4.10 machine and a newly connected DSL with static ip
address. The DSL connection setup uses an ADSL modem (SMC7901BRA) 
which has 1 connection to my phone line and 1 connection to my LAN
card using UTP cable. In Windows XP setup, the process of setting up
Internet is just as easy as configuring the TCP/IP prpoerties with the
static ip address given to me and other details such as gateway, dns,
subnet mask etc.

My machine has a dual-boot WinXP and FreeBSD-4.10. As I've said above,
I can easily connect to the Internet using the WinXP. But, I want to
try FreeBSD to connect to the Internet, but it doesn't work.

Here's what I did to test if I can connect to Internet via DSL using FreeBSD:
1. Reboot or boot to FreeBSD-4.10
2. Login as root
3. /stand/sysinstall to assign IP address, gateway, and dns
4. Reboot machine to make sure new IP settings take effect
5. Do an ifconfig and see that the IP settings are correct
6. I can ping my own IP address (static IP address of the DSL assigned
by my ISP)
7. When I try to ping the ISP's given gateway, I receive "ping to:
Host is down".
8. Seeing the modem status, the "LAN" and "SYNC" signals are up but
the "DATA" is off.

I have tried searching the net with FreeBSD+DSL but all I can read is
about "PPPoE" which requires a "username" and "password" which I don't
have. My DSL account is an "always on" account with a static IP
address and I guess it doesnt have a username/password for connection
to the ISP.

Does FreeBSD need to detect my DSL modem if it is connected to the NIC
using a UTP cable connected to the modem? Here's my setup:

[DSL modem]<->[DSL Provider] (provides static IP address) 
|
|
|
[FreeBSD's LAN card]

Does anybody has an experience connecting FreeBSD to a DSL with a
static IP address and has similar setup above?

Actually my real purpose is to use FreeBSD as LAN gateway using the
DSL connection. But I wanna try first connecting the FreeBSD machine
as a stand-alone PC which uses the simple setup above. If this setup
works, the gateeway setup will surely work too.

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


How to merge an unused partition.

2005-03-12 Thread Chris
Heya folks - here's my issue; I removed a OS from my drive and that freed
up 10 gig. I wish to "merge" the free 10 gig into my FreeBSD file system.
Here's what she looks like via fdisk:
Disk name:  ad1FDISK Partition 
Editor
DISK Geometry:  9729 cyls/255 heads/63 sectors = 156296385 sectors (76316MB)

Offset   Size(MB)End Name  PType   Desc  Subtype
0  10236   20964824- 12 unused0
 20964825  66079  156296384ad1s1  8freebsd  165
156296385  2  156301487- 12 unused0
So - what do I need to do to take the 1st line and merge it into the 
existing system?

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


Re: [Realplay10GOLD] Error: ELF binary type "0" not known

2005-03-12 Thread Jason Henson
On 03/11/05 03:47:27, P.H.Tung wrote:
I successfully installed Realplayer10GOLD on FreeBSD released 5.3
When I run realplay from console, I got following error:
ELF binary type "0" not known.
/usr/local/lib/RealPlayer/realplay.bin: 1: Syntax error: "("
unexpected
What does it means? any advises?
Thanks!
___

Sounds like a compiler error?  Check man brandelf.
$ brandelf -l
known ELF types are: FreeBSD(9) Linux(3) Solaris(6) SVR4(0)
You could try to rebrand it to type 9.
as root:
brandelf -f 9 /usr/local/lib/RealPlayer/realplay.bin
But the syntax error, how would that get there?  Try to make reinstall  
after a make distclean if branding fails. 

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


Fwd: connecting a FreeBSD-4.10 to Internet using DSL with static ip address

2005-03-12 Thread Edwin D. Vinas
Hello everyone!

I have a FreeBSD-4.10 machine and a newly connected DSL with static ip
address. The DSL connection setup uses an ADSL modem (SMC7901BRA)
which has 1 connection to my phone line and 1 connection to my LAN
card using UTP cable. In Windows XP setup, the process of setting up
Internet is just as easy as configuring the TCP/IP prpoerties with the
static ip address given to me and other details such as gateway, dns,
subnet mask etc.

My machine has a dual-boot WinXP and FreeBSD-4.10. As I've said above,
I can easily connect to the Internet using the WinXP. But, I want to
try FreeBSD to connect to the Internet, but it doesn't work.

Here's what I did to test if I can connect to Internet via DSL using FreeBSD:
1. Reboot or boot to FreeBSD-4.10
2. Login as root
3. /stand/sysinstall to assign IP address, gateway, and dns
4. Reboot machine to make sure new IP settings take effect
5. Do an ifconfig and see that the IP settings are correct
6. I can ping my own IP address (static IP address of the DSL assigned
by my ISP)
7. When I try to ping the ISP's given gateway, I receive "ping to:
Host is down".
8. Seeing the modem status, the "LAN" and "SYNC" signals are up but
the "DATA" is off.

I have tried searching the net with FreeBSD+DSL but all I can read is
about "PPPoE" which requires a "username" and "password" which I don't
have. My DSL account is an "always on" account with a static IP
address and I guess it doesnt have a username/password for connection
to the ISP.

Does FreeBSD need to detect my DSL modem if it is connected to the NIC
using a UTP cable connected to the modem? Here's my setup:

[DSL modem]<->[DSL Provider] (provides static IP address)
|
|
|
[FreeBSD's LAN card]

Here's the modem's technical description:
https://secure.quicksolve.com.au/catalog/product_info.php?cPath=&products_id=2991
http://sg.hardwarezone.com/priceguide/info.php?cid=113&id=11104

Does anybody has an experience connecting FreeBSD to a DSL with a
static IP address and has similar setup above?

Actually my real purpose is to use FreeBSD as LAN gateway using the
DSL connection. But I wanna try first connecting the FreeBSD machine
as a stand-alone PC which uses the simple setup above. If this setup
works, the gateeway setup will surely work too.

Thank you very much!


-- 
--
Edwin D. Viñas
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to merge an unused partition.

2005-03-12 Thread Greg 'groggy' Lehey
On Saturday, 12 March 2005 at 21:09:47 -0600, Chris wrote:
> Heya folks - here's my issue; I removed a OS from my drive and that freed
> up 10 gig. I wish to "merge" the free 10 gig into my FreeBSD file system.
>
> Here's what she looks like via fdisk:
>
> Disk name:  ad1FDISK Partition
> Editor
> DISK Geometry:  9729 cyls/255 heads/63 sectors = 156296385 sectors (76316MB)
>
> Offset   Size(MB)End Name  PType   Desc  Subtype
>
> 0  10236   20964824- 12 unused0
>  20964825  66079  156296384ad1s1  8freebsd  165
> 156296385  2  156301487- 12 unused0
>
>
> So - what do I need to do to take the 1st line and merge it into the
> existing system?

That depends on what you want to do with the space.  It would be
relatively complicated (but not impossible) to merge it into an
existing file system.  If you just want to create a another file
system, just create a new partition in the partition editor, set it to
tye 165, then in the label editor create one (or just possibly more
than one) file system.  Both here and in the label editor, use the W
command to actually write the stuff to disk.

> Sorry for the formatting

Looks fine to me.

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


pgp2ANFkzdFnZ.pgp
Description: PGP signature


Re: How to merge an unused partition.

2005-03-12 Thread Chris
Greg 'groggy' Lehey wrote:
On Saturday, 12 March 2005 at 21:09:47 -0600, Chris wrote:
 

Heya folks - here's my issue; I removed a OS from my drive and that freed
up 10 gig. I wish to "merge" the free 10 gig into my FreeBSD file system.
Here's what she looks like via fdisk:
Disk name:  ad1FDISK Partition
Editor
DISK Geometry:  9729 cyls/255 heads/63 sectors = 156296385 sectors (76316MB)
Offset   Size(MB)End Name  PType   Desc  Subtype
   0  10236   20964824- 12 unused0
20964825  66079  156296384ad1s1  8freebsd  165
156296385  2  156301487- 12 unused0
So - what do I need to do to take the 1st line and merge it into the
existing system?
   

That depends on what you want to do with the space.  It would be
relatively complicated (but not impossible) to merge it into an
existing file system.  If you just want to create a another file
system, just create a new partition in the partition editor, set it to
tye 165, then in the label editor create one (or just possibly more
than one) file system.  Both here and in the label editor, use the W
command to actually write the stuff to disk.
 

Sorry for the formatting
   

Looks fine to me.
Greg
 

I assume doing this while in single user mode. Otherwise I am getting an 
error: unable to write to disk.
But as you mentioned,. I would prefer to somehow merge it into the 
current FBSD file system.

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


Re: How to merge an unused partition.

2005-03-12 Thread Chris Hodgins
Chris wrote:
Greg 'groggy' Lehey wrote:
On Saturday, 12 March 2005 at 21:09:47 -0600, Chris wrote:
 

Heya folks - here's my issue; I removed a OS from my drive and that 
freed
up 10 gig. I wish to "merge" the free 10 gig into my FreeBSD file 
system.

Here's what she looks like via fdisk:
Disk name:  ad1FDISK Partition
Editor
DISK Geometry:  9729 cyls/255 heads/63 sectors = 156296385 sectors 
(76316MB)

Offset   Size(MB)End Name  PType   Desc  Subtype
   0  10236   20964824- 12 unused0
20964825  66079  156296384ad1s1  8freebsd  165
156296385  2  156301487- 12 unused0
So - what do I need to do to take the 1st line and merge it into the
existing system?
  

That depends on what you want to do with the space.  It would be
relatively complicated (but not impossible) to merge it into an
existing file system.  If you just want to create a another file
system, just create a new partition in the partition editor, set it to
tye 165, then in the label editor create one (or just possibly more
than one) file system.  Both here and in the label editor, use the W
command to actually write the stuff to disk.
 

Sorry for the formatting
  

Looks fine to me.
Greg
 

I assume doing this while in single user mode. Otherwise I am getting an 
error: unable to write to disk.
But as you mentioned,. I would prefer to somehow merge it into the 
current FBSD file system.

Chris
I think growfs(8) will do what your after.  However if it all goes wrong 
and your data implodes ;)

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


RE: connecting a FreeBSD-4.10 to Internet using DSL with static ipaddress

2005-03-12 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Cheezy Vines
> Sent: Saturday, March 12, 2005 7:04 PM
> To: freebsd-questions@freebsd.org
> Subject: connecting a FreeBSD-4.10 to Internet using DSL with static
> ipaddress
> 
> 
> Hello everyone!
> 
> I have a FreeBSD-4.10 machine and a newly connected DSL with static ip
> address. The DSL connection setup uses an ADSL modem (SMC7901BRA) 
> which has 1 connection to my phone line and 1 connection to my LAN
> card using UTP cable. In Windows XP setup, the process of setting up
> Internet is just as easy as configuring the TCP/IP prpoerties with the
> static ip address given to me and other details such as gateway, dns,
> subnet mask etc.
> 

If that is the kind of DSL connection you have then in FreeBSD it is
just as easy.

> My machine has a dual-boot WinXP and FreeBSD-4.10. As I've said above,
> I can easily connect to the Internet using the WinXP. But, I want to
> try FreeBSD to connect to the Internet, but it doesn't work.
> 
> Here's what I did to test if I can connect to Internet via DSL 
> using FreeBSD:
> 1. Reboot or boot to FreeBSD-4.10
> 2. Login as root
> 3. /stand/sysinstall to assign IP address, gateway, and dns
> 4. Reboot machine to make sure new IP settings take effect
> 5. Do an ifconfig and see that the IP settings are correct
> 6. I can ping my own IP address (static IP address of the DSL assigned
> by my ISP)
> 7. When I try to ping the ISP's given gateway, I receive "ping to:
> Host is down".
> 8. Seeing the modem status, the "LAN" and "SYNC" signals are up but
> the "DATA" is off.
> 

That doesen't help us because the manual for this DSL router/modem is
not online, we can't know what this light does.

Have you set your default gateway IP address?

Please post the contents of your /etc/rc.conf

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


Re: connecting a FreeBSD-4.10 to Internet using DSL with static ip address

2005-03-12 Thread Luke Kearney

On Sat, 12 Mar 2005 19:27:51 -0800
"Edwin D. Vinas" <[EMAIL PROTECTED]> spake thus:

> Hello everyone!
> 
> I have a FreeBSD-4.10 machine and a newly connected DSL with static ip
> address. The DSL connection setup uses an ADSL modem (SMC7901BRA)
> which has 1 connection to my phone line and 1 connection to my LAN
> card using UTP cable. In Windows XP setup, the process of setting up
> Internet is just as easy as configuring the TCP/IP prpoerties with the
> static ip address given to me and other details such as gateway, dns,
> subnet mask etc.
> 
> My machine has a dual-boot WinXP and FreeBSD-4.10. As I've said above,
> I can easily connect to the Internet using the WinXP. But, I want to
> try FreeBSD to connect to the Internet, but it doesn't work.
> 
> Here's what I did to test if I can connect to Internet via DSL using FreeBSD:
> 1. Reboot or boot to FreeBSD-4.10
> 2. Login as root
> 3. /stand/sysinstall to assign IP address, gateway, and dns
> 4. Reboot machine to make sure new IP settings take effect
> 5. Do an ifconfig and see that the IP settings are correct
> 6. I can ping my own IP address (static IP address of the DSL assigned
> by my ISP)
> 7. When I try to ping the ISP's given gateway, I receive "ping to:
> Host is down".
> 8. Seeing the modem status, the "LAN" and "SYNC" signals are up but
> the "DATA" is off.
> 
> I have tried searching the net with FreeBSD+DSL but all I can read is
> about "PPPoE" which requires a "username" and "password" which I don't
> have. My DSL account is an "always on" account with a static IP
> address and I guess it doesnt have a username/password for connection
> to the ISP.
> 
> Does FreeBSD need to detect my DSL modem if it is connected to the NIC
> using a UTP cable connected to the modem? Here's my setup:
> 
> [DSL modem]<->[DSL Provider] (provides static IP address)
> |
> |
> |
> [FreeBSD's LAN card]
> 
> Here's the modem's technical description:
> https://secure.quicksolve.com.au/catalog/product_info.php?cPath=&products_id=2991
> http://sg.hardwarezone.com/priceguide/info.php?cid=113&id=11104
> 
> Does anybody has an experience connecting FreeBSD to a DSL with a
> static IP address and has similar setup above?
> 
> Actually my real purpose is to use FreeBSD as LAN gateway using the
> DSL connection. But I wanna try first connecting the FreeBSD machine
> as a stand-alone PC which uses the simple setup above. If this setup
> works, the gateeway setup will surely work too.
> 
> Thank you very much!
> 

Just out of curiosity did your ISP give you a username and passwd ? Did
your ISP provide the DSL Modem ?  

Certainly posting the rc.conf of your freebsd machine will help as might
the output of netstat -rn

thanks


-- 
 <>

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


need help: i lost my ghostscript shell script

2005-03-12 Thread Gary Kline

Well, people, I did it; I didn't backup my script that renders
PostScript on my HP-500 printer.  I t was in /usr/libexec,
and while it was backed up on two other servers.  But I
upgraded to 5.3 on both.  So lost.Can somene send me
what I need?

thanks much,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


readproctitle service errors

2005-03-12 Thread Shawn B
I am running FreeBSD-4.8, and upon doing a ps x, I see


163  ??  I  0:00.01readproctitle service errors:
.

What process could that be, and how do I fix it?


Thanks


__ 
Post your free ad now! http://personals.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: connecting a FreeBSD-4.10 to Internet using DSL with static ip address

2005-03-12 Thread doug
If your ISP does not use PPPoE it is really quite simple. I included my laptop
rc.conf just to show it plays no part: 

  hostname="mneme.boltsys.com"
  moused_enable="YES"
  sshd_enable="YES"
  usbd_enable="YES"

  linux_enable="YES"
  nfs_client_enable="YES"
  nfs_server_enable="YES"
  nfs_reserved_port_only="YES"
  rpcbind_enable="YES"

I take this system around to a site using cable, dsl, my office where I connect
via a wireless network and, under duress dial-up. For that reason I boot up and
then connect. Every where except for the office that is as simple as: 

  dhclient ep0

as that the antique NIC I use. Both the cable modem and the DSL modem I connect
to provide DHCP on the inside. On the outside, the cable modem seems to get a
fixed IP from its network. My DSL connection uses 192.168.0 addresses but all
you have to do is connect to the modem as a gateway. My wireless setup:

  ifconfig wi0  wep wepkey 0x...
  dhclient wi0

If your modem has a fixed IP adding

   defaultrouter="xxx.xxx.xxx.xxx"
   ifconfig_nic0="inet xxx.xxx.xxx.xxx  netmask 255.255.255.0"
 or
   ifconfig_nic0="DHCP"

to rc.conf should be all you need.

You can of course do this manually by:

   ifconfig nic0 add inet xxx.xxx.xxx.xxx  netmask 255.255.255.0
   route add default xxx.xxx.xxx.xxx

I would then first try to ping an IP address and then a host name. If your ISPs
DNS really is bad, you can change the hostname to localhost to avoid all the
dns timeouts. If it all works, netstat -nr will have a line something like:

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.23.3   UGS 012052wi0


I hope this helps




On Sat, 12 Mar 2005, Cheezy Vines wrote:

> Hello everyone!
> 
> I have a FreeBSD-4.10 machine and a newly connected DSL with static ip
> address. The DSL connection setup uses an ADSL modem (SMC7901BRA) 
> which has 1 connection to my phone line and 1 connection to my LAN
> card using UTP cable. In Windows XP setup, the process of setting up
> Internet is just as easy as configuring the TCP/IP prpoerties with the
> static ip address given to me and other details such as gateway, dns,
> subnet mask etc.
> 
> My machine has a dual-boot WinXP and FreeBSD-4.10. As I've said above,
> I can easily connect to the Internet using the WinXP. But, I want to
> try FreeBSD to connect to the Internet, but it doesn't work.
> 
> Here's what I did to test if I can connect to Internet via DSL using FreeBSD:
> 1. Reboot or boot to FreeBSD-4.10
> 2. Login as root
> 3. /stand/sysinstall to assign IP address, gateway, and dns
> 4. Reboot machine to make sure new IP settings take effect
> 5. Do an ifconfig and see that the IP settings are correct
> 6. I can ping my own IP address (static IP address of the DSL assigned
> by my ISP)
> 7. When I try to ping the ISP's given gateway, I receive "ping to:
> Host is down".
> 8. Seeing the modem status, the "LAN" and "SYNC" signals are up but
> the "DATA" is off.
> 
> I have tried searching the net with FreeBSD+DSL but all I can read is
> about "PPPoE" which requires a "username" and "password" which I don't
> have. My DSL account is an "always on" account with a static IP
> address and I guess it doesnt have a username/password for connection
> to the ISP.
> 
> Does FreeBSD need to detect my DSL modem if it is connected to the NIC
> using a UTP cable connected to the modem? Here's my setup:
> 
> [DSL modem]<->[DSL Provider] (provides static IP address) 
> |
> |
> |
> [FreeBSD's LAN card]
> 
> Does anybody has an experience connecting FreeBSD to a DSL with a
> static IP address and has similar setup above?
> 
> Actually my real purpose is to use FreeBSD as LAN gateway using the
> DSL connection. But I wanna try first connecting the FreeBSD machine
> as a stand-alone PC which uses the simple setup above. If this setup
> works, the gateeway setup will surely work too.
> 
> Thank you very much!
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Decent HTML editor?

2005-03-12 Thread bsdzz
Is there a simple HTML editor that is known to be pretty good in the 
ports tree?

I've been using Abiword for wordprocessing, and it has a "Save as HTML" 
feature which I plan to try. I was just curious if there was something 
else I should try using.  I'm not using OpenOffice, as it seems a little 
bloated lately.  My desktop is Fluxbox, though I have Gnome  installed.  
Maybe KDE has a really good one?  I prefer to keep my system lean if 
possible (its a P3-650 laptop).

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


Synaptics Touchpad driver

2005-03-12 Thread Loren M. Lang
It seems that FreeBSD 5.3 now has support in the kernel for the
synaptics touchpad that my laptop has.  Right now it's just running as a
normal mouse, it looks like the support is disabled by default.  In
isa/psm.c, I can see the synaptics support in there, but it's disabled
unless hw.psm.synaptics_support is set to 1.  My question is how do I
set it to one?  It's setup as a TUNABLE_INT, but there is no sysctl for
it.  Does it only appear on boot?

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 


pgpsJDzwGU3KT.pgp
Description: PGP signature


Re: Decent HTML editor?

2005-03-12 Thread Joshua Tinnin
On Saturday 12 March 2005 10:59 pm, bsdzz <[EMAIL PROTECTED]> wrote:
> Is there a simple HTML editor that is known to be pretty good in the
> ports tree?
>
> I've been using Abiword for wordprocessing, and it has a "Save as
> HTML" feature which I plan to try. I was just curious if there was
> something else I should try using.  I'm not using OpenOffice, as it
> seems a little bloated lately.  My desktop is Fluxbox, though I have
> Gnome  installed. Maybe KDE has a really good one?  I prefer to keep
> my system lean if possible (its a P3-650 laptop).

Are you talking about an HTML generator? As for editing pretty much any 
web code, I prefer vim with syntax highlighting, then I use Firefox 
with HTML Tidy to validate. I know, that's pretty old school (I used to 
use Tidy with other tools for validation, and sometimes still do), but 
it's simple and efficient and I can use it pretty much anywhere. I've 
never been happy with any HTML generator, so I'm not too familiar with 
all the varieties - Dreamweaver is the only one I personally know to be 
decent, though it's commercial and not ported to *BSD. Quanta (now part 
of kdewebdev) is a pretty decent gui web development tool by KDE, have 
used it on occasion, though from what I gather it's more useful if you 
have a large project and/or use something besides flat HTML, like php. 
If you just need simple, flat HTML and you really don't want to learn 
how to code it yourself, you might want to try Amaya.
/usr/ports/www/amaya - http://www.w3.org/Amaya/
I haven't done more than play around with it, but the code should at 
least be better than most office-suite generators, as it's made by w3c.

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