Re: oops, now: bsd question: how to record a tv stream?

2012-03-14 Thread Gary Kline
On Wed, Mar 14, 2012 at 02:58:30PM +1000, Da Rock wrote:
 Date: Wed, 14 Mar 2012 14:58:30 +1000
 From: Da Rock freebsd-questi...@herveybayaustralia.com.au
 Subject: Re: oops, now: bsd question: how to record a tv stream?
 To: freebsd-questions@freebsd.org
 
 On 03/14/12 13:09, Polytropon wrote:
 On Tue, 13 Mar 2012 19:19:46 -0700, Gary Kline wrote:
 i have heard about the 848 or whatever cards for years.
 should i have my sister's technician add one?  i understood
 everything but your last paragraph.  please do send me the
 linksoffline i f you think it wise to spare the
 bandwidth.
 Just to make a note: This is the card I'm using. The model
 name is Haupauge WinTV and the tuner chip is Brooktree 878.
 It is well supported by FreeBSD (and has been for many years).
 A problem may be that it is a PCI card.
 
 The programs mplayer and mencoder can be used to address the
 tuner and video-in functions of that card, as well as displaying
 and storing the received content. You need a HF line to the
 card (or an antenna maybe), except you provide the video feed
 from a satelite receiver via video-in. In that case, you also
 need to provide the audio signal from the receiver to your
 sound card's line-in. With mencoder, both sources can be
 combined and the result can be stored as a video file in
 any format and container you want.
 
 This is the card:
 
 bktr0@pci0:0:9:0:   class=0x04 card=0x13eb0070
  chip=0x036e109e rev=0x11 hdr=0x00
  vendor = 'Conexant (Was: Brooktree Corp)'
  device = 'Bt878/Fusion 878A Mediastream Controller'
  class  = multimedia
  subclass   = video
 
 The card provides HF-in both for TV and radio, video-in,
 audio-out and... not sure what it is. :-)
 
 You need the kernel modules loaded per
 
  bktr_load=YES
 
 in /boot/loader.conf, and the card will work out of the box.
 No need to manually and interactively install a driver. :-)
 
 The player command is something like
 
  % mplayer tv://1 -vo x11 -ao sdl -tv driver=bsdbt848:device=/dev/bktr0
 
 and similarly mencoder can be used (-ovc and -oac need to be
 adjusted accordingly) to encode to a file.
 
 I'm not sure how to handle TV (antenna) input as I've always
 been using a raw video feed (from VTR or camera). However, there's
 documentation that may help:
 
  http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html
 
 It also contains an example to record to file, which will
 implement the software video tape recoder functionality.
 Brooktrees would be nice - if you could find them. Given the move to
 DVB is nearly over, there aren't many analog cards available - or
 need for them.
 
 The new cards use incompatible chipsets (learnt the hard way),
 including analog and especially DVB; you have to use the cx88 port
 to use them. Or if you come across a different chipset ensure the
 card is USB based and use webcamd.
 
 Following all that, FBSD works beautifully as a HTPC.


GAAWK! This is far, far out of my comfort zone thst i wsill
just skip it for now.  i have my feed from my local telco,
not an antenna

thanks for all the datapoints, guys, but i can vedry well
live without the card.

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-14 Thread Da Rock

On 03/15/12 05:30, Gary Kline wrote:

On Wed, Mar 14, 2012 at 02:58:30PM +1000, Da Rock wrote:

Date: Wed, 14 Mar 2012 14:58:30 +1000
From: Da Rockfreebsd-questi...@herveybayaustralia.com.au
Subject: Re: oops, now: bsd question: how to record a tv stream?
To: freebsd-questions@freebsd.org

On 03/14/12 13:09, Polytropon wrote:

On Tue, 13 Mar 2012 19:19:46 -0700, Gary Kline wrote:

i have heard about the 848 or whatever cards for years.
should i have my sister's technician add one?  i understood
everything but your last paragraph.  please do send me the
linksoffline i f you think it wise to spare the
bandwidth.

Just to make a note: This is the card I'm using. The model
name is Haupauge WinTV and the tuner chip is Brooktree 878.
It is well supported by FreeBSD (and has been for many years).
A problem may be that it is a PCI card.

The programs mplayer and mencoder can be used to address the
tuner and video-in functions of that card, as well as displaying
and storing the received content. You need a HF line to the
card (or an antenna maybe), except you provide the video feed

from a satelite receiver via video-in. In that case, you also

need to provide the audio signal from the receiver to your
sound card's line-in. With mencoder, both sources can be
combined and the result can be stored as a video file in
any format and container you want.

This is the card:

bktr0@pci0:0:9:0:   class=0x04 card=0x13eb0070
 chip=0x036e109e rev=0x11 hdr=0x00
 vendor = 'Conexant (Was: Brooktree Corp)'
 device = 'Bt878/Fusion 878A Mediastream Controller'
 class  = multimedia
 subclass   = video

The card provides HF-in both for TV and radio, video-in,
audio-out and... not sure what it is. :-)

You need the kernel modules loaded per

bktr_load=YES

in /boot/loader.conf, and the card will work out of the box.
No need to manually and interactively install a driver. :-)

The player command is something like

% mplayer tv://1 -vo x11 -ao sdl -tv driver=bsdbt848:device=/dev/bktr0

and similarly mencoder can be used (-ovc and -oac need to be
adjusted accordingly) to encode to a file.

I'm not sure how to handle TV (antenna) input as I've always
been using a raw video feed (from VTR or camera). However, there's
documentation that may help:

http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html

It also contains an example to record to file, which will
implement the software video tape recoder functionality.

Brooktrees would be nice - if you could find them. Given the move to
DVB is nearly over, there aren't many analog cards available - or
need for them.

The new cards use incompatible chipsets (learnt the hard way),
including analog and especially DVB; you have to use the cx88 port
to use them. Or if you come across a different chipset ensure the
card is USB based and use webcamd.

Following all that, FBSD works beautifully as a HTPC.


GAAWK! This is far, far out of my comfort zone thst i wsill
just skip it for now.  i have my feed from my local telco,
not an antenna

thanks for all the datapoints, guys, but i can vedry well
live without the card.

gary

Sorry Gary; It wasn't entirely for your sake that this came up.

For your instance I'd suggest becoming very familiar with 
mplayer/mencoder and friends. You can then pick up the stream and 
re-encode to your liking. There are some addons in web browser that can 
help grab the video as well.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-14 Thread Polytropon
On Wed, 14 Mar 2012 12:30:08 -0700, Gary Kline wrote:
 On Wed, Mar 14, 2012 at 02:58:30PM +1000, Da Rock wrote:
  Date: Wed, 14 Mar 2012 14:58:30 +1000
  From: Da Rock freebsd-questi...@herveybayaustralia.com.au
  Subject: Re: oops, now: bsd question: how to record a tv stream?
  To: freebsd-questions@freebsd.org
  
  On 03/14/12 13:09, Polytropon wrote:
  On Tue, 13 Mar 2012 19:19:46 -0700, Gary Kline wrote:
i have heard about the 848 or whatever cards for years.
should i have my sister's technician add one?  i understood
everything but your last paragraph.  please do send me the
linksoffline i f you think it wise to spare the
bandwidth.
  Just to make a note: This is the card I'm using. The model
  name is Haupauge WinTV and the tuner chip is Brooktree 878.
  It is well supported by FreeBSD (and has been for many years).
  A problem may be that it is a PCI card.
  
  The programs mplayer and mencoder can be used to address the
  tuner and video-in functions of that card, as well as displaying
  and storing the received content. You need a HF line to the
  card (or an antenna maybe), except you provide the video feed
  from a satelite receiver via video-in. In that case, you also
  need to provide the audio signal from the receiver to your
  sound card's line-in. With mencoder, both sources can be
  combined and the result can be stored as a video file in
  any format and container you want.
  
  This is the card:
  
  bktr0@pci0:0:9:0:   class=0x04 card=0x13eb0070
   chip=0x036e109e rev=0x11 hdr=0x00
   vendor = 'Conexant (Was: Brooktree Corp)'
   device = 'Bt878/Fusion 878A Mediastream Controller'
   class  = multimedia
   subclass   = video
  
  The card provides HF-in both for TV and radio, video-in,
  audio-out and... not sure what it is. :-)
  
  You need the kernel modules loaded per
  
 bktr_load=YES
  
  in /boot/loader.conf, and the card will work out of the box.
  No need to manually and interactively install a driver. :-)
  
  The player command is something like
  
 % mplayer tv://1 -vo x11 -ao sdl -tv driver=bsdbt848:device=/dev/bktr0
  
  and similarly mencoder can be used (-ovc and -oac need to be
  adjusted accordingly) to encode to a file.
  
  I'm not sure how to handle TV (antenna) input as I've always
  been using a raw video feed (from VTR or camera). However, there's
  documentation that may help:
  
 http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html
  
  It also contains an example to record to file, which will
  implement the software video tape recoder functionality.
  Brooktrees would be nice - if you could find them. Given the move to
  DVB is nearly over, there aren't many analog cards available - or
  need for them.
  
  The new cards use incompatible chipsets (learnt the hard way),
  including analog and especially DVB; you have to use the cx88 port
  to use them. Or if you come across a different chipset ensure the
  card is USB based and use webcamd.
  
  Following all that, FBSD works beautifully as a HTPC.
 
 
   GAAWK! This is far, far out of my comfort zone thst i wsill
   just skip it for now.  i have my feed from my local telco,
   not an antenna

The BrookTree TV tuner component doesn't make a big difference
here. Both the antenna and the cable will deliver a frequency
conglomerate of the available TV programs which the tuner chip
can select from.

If you require a specific cable receiver with video-out, you can
send its signal to the card's video-on (and the audio-out of the
receiver to your computer's sound card's line-in), skipping the
part where the TV card has to select a TV program. Both methods
work fine.



   thanks for all the datapoints, guys, but i can vedry well
   live without the card.

In that case, try to find a web presence that allows you to down-
load or to stream (and in conclusion, to download) the TV programs.
This makes you independent of airing time (which probably is a
good thing).

Maybe there's also a service like OnlineTVRecorder.com (Your
personal multichannel tv recorder) available for you, providing
downloads for the programs you want in AVI or OTRKEY format.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread FBSD UG
doesn't VLC do that too?



On 11 mrt 2012, at 21:28, Gary Kline wrote:

 guys,
 
 i made the mistake that conrad did when replying.  i could make e
 excuse liked only getting five hours sleep, etc, bujt i wont.
 
 here us a FBSD qauestion how can i capture any tv stream---or
 radio stream for later replay?  or is that illegal, too?
 
 gray
 
 
 
 -- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Voice By Computer (for Universal Access): http:/www.thought.org/vbc
 The 8.57a release of Jottings: http://jottings.thought.org
Twenty-five years of service to the Unix community.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Stas Verberkt

Bernt Hansson schreef op 13-03-2012 12:12:

On 2012-03-11 21:28, Gary Kline wrote:

or is that illegal, too?


Depends on jurisdiction.

Indeed, Dutch and Belgium legislation, for example, permit making 
copies for personal use, which originates from recording the radio with 
a tape deck, which is basically what you are trying to do.
I think US legislation is more strict and only allows personal copies 
where one has both the original and the copy, e.g. copying a CD to your 
(licensed) MP3 player.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Gary Kline
On Sun, Mar 11, 2012 at 03:52:36PM -0500, Joshua Isom wrote:
 Date: Sun, 11 Mar 2012 15:52:36 -0500
 From: Joshua Isom jri...@gmail.com
 Subject: Re: oops, now: bsd question: how to record a tv stream?
 To: freebsd-questions@freebsd.org
 
 On 3/11/2012 3:28 PM, Gary Kline wrote:
 guys,
 
 i made the mistake that conrad did when replying.  i could make e
 excuse liked only getting five hours sleep, etc, bujt i wont.
 
 here us a FBSD qauestion how can i capture any tv stream---or
 radio stream for later replay?  or is that illegal, too?
 
 gray
 
 
 
 
 For capturing, I believe linux is your best bet.  I had tried using
 the bktr driver, but I couldn't get it to work properly with the
 card I had.  It could work somewhat from what I remember.  The card
 was my brother's and he used it under linux, but he upgraded to a
 better one.
 
 Legality should be the same as a VCR/DVR, personal use only and
 don't redistribute.


if it means buying a card, then, nope.  i  assumed that the
bits were streaming thu my cable to firefox and that thedre
was some program that could collecte these data and stash
them in, say , /tmp.  i'm using linux as a desktop, and FBSD
as my server.  

maybed i'll find where pbs has these films stashed ... or
maybe they were only for pledge week  

gary

ps:: fwiw, that capmbell stuff was about half of the
original.  i've got all 6 hours of audio, tho.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Gary Kline
On Tue, Mar 13, 2012 at 12:39:38PM +1000, Da Rock wrote:
 Date: Tue, 13 Mar 2012 12:39:38 +1000
 From: Da Rock freebsd-questi...@herveybayaustralia.com.au
 Subject: Re: oops, now: bsd question: how to record a tv stream?
 To: freebsd-questions@freebsd.org
[ ...]

 
 Additionally, there may be an option to download some kind of media
 streams. There are tools for that available.
 There is cx88 in the ports which will cover a lot of pci devices, and
  webcamd covers just about all the rest. Then use mplayer or another
 tool to record the stream.
 
 And if you're real tricky you can set it to record at a specific time
  and shut off at another specified time... :) I wrote a script for
 this; a bit hackish, but it gets the job done. I have to clean it up
 someday when I have the spare time.
 
 No one suggesting MythTV? I haven't used a tuner card but I thought
 MythTV was the one to use.
 Pah! Too much bloat - especially for this use.
 
 A lot of setup and configuration is required, and for a one off why bother?

so that's it.  i messed around with mythtv last fall on my
ubuntu distro.  couldn't get anywhere and finally realized
that =you need some kind of HARDWARE=.  well, bleep that.  i
de-installed and got back to whatever.

sinced early december i've been working on an accessibility
app for the speech impaired.  it won't work on the berkeley
distros natively.  it should given our linux stuff.  i'll 
tell you: i haven't have this much of a challenge since i
was studying  data structures.  Danm, gtk is hard.  but 
super fun.  my application is as lean as i can make it, 
Especially since it is aimed an people who have never used
computers before.  i'm copying as much of gespeaker's 
layout as i can because that is very lean and clean.

---this is a long-winded way of saying to da rock that i
hope you clean up your script[s] and publish the code in
/usr/ports.

{a final rant about copyright:: i woulnd never touch any
commercial station because they sneak in those bloody
commerc*als  on you.  before you know it, you've watched
a minute of babes trying to sell you your Zippy-Do sports
van.  i dont have the energy to get mad.  i just dont watch
anything but pbs   or npr.}


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Josh Tolbert

On 3/13/12 4:06 PM, Gary Kline wrote:

On Tue, Mar 13, 2012 at 12:39:38PM +1000, Da Rock wrote:
so that's it. i messed around with mythtv last fall on my ubuntu 
distro. couldn't get anywhere and finally realized that =you need some 
kind of HARDWARE=.


I have an HDHomeRun...The original classic two-tuner model, from 
http://www.silicondust.com. It's a stand-alone DTV streamer. I use it 
with an antenna; apparently you can get versions that work with antennas 
or cablecard/cable TV as well. Works great. I use it with Windows Media 
Center for scheduling recordings, but they work great with MythTV, VLC 
and others for recording. Using VLC, I've recorded some videos of a 
local band on a morning show that have ended up on YouTube...I can send 
links if you want to see how it looks, although that station only 
broadcasts in 480i.


For what it's worth, I've successfully used three BT848/878/878+ 
cards---all of which were PixelView or STB cards---in the same machine 
running FreeBSD with the bktr driver and Motion to handle 
surveillance-camera duties. mplayer/mencoder could only use bktr0 cause 
they hard-code bktr0 in the source and seemed thoroughly uninterested in 
fixing this oversight, even though the change would be fairly minor.


Hope that helps someone.

Cheers,

Josh

--
Josh Tolbert
h...@puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Gary Kline
On Tue, Mar 13, 2012 at 04:14:52PM -0500, Josh Tolbert wrote:
 Date: Tue, 13 Mar 2012 16:14:52 -0500
 From: Josh Tolbert h...@puresimplicity.net
 Subject: Re: oops, now: bsd question: how to record a tv stream?
 To: freebsd-questions@freebsd.org
 
 On 3/13/12 4:06 PM, Gary Kline wrote:
 On Tue, Mar 13, 2012 at 12:39:38PM +1000, Da Rock wrote:
 so that's it. i messed around with mythtv last fall on my ubuntu
 distro. couldn't get anywhere and finally realized that =you need
 some kind of HARDWARE=.
 
 I have an HDHomeRun...The original classic two-tuner model, from
 http://www.silicondust.com. It's a stand-alone DTV streamer. I use
 it with an antenna; apparently you can get versions that work with
 antennas or cablecard/cable TV as well. Works great. I use it with
 Windows Media Center for scheduling recordings, but they work great
 with MythTV, VLC and others for recording. Using VLC, I've recorded
 some videos of a local band on a morning show that have ended up on
 YouTube...I can send links if you want to see how it looks, although
 that station only broadcasts in 480i.
 
 For what it's worth, I've successfully used three BT848/878/878+
 cards---all of which were PixelView or STB cards---in the same
 machine running FreeBSD with the bktr driver and Motion to handle
 surveillance-camera duties. mplayer/mencoder could only use bktr0
 cause they hard-code bktr0 in the source and seemed thoroughly
 uninterested in fixing this oversight, even though the change would
 be fairly minor.
 
 Hope that helps someone.


hey, josh, you just gave me an idea.  my sister is giving me
a used computer that is in good shape.

i have heard about the 848 or whatever cards for years.
should i have my sister's technician add one?  i understood
everything but your last paragraph.  please do send me the
linksoffline i f you think it wise to spare the
bandwidth.

Q:  i have [i think] hi-def in the used computer, so  want a
hi-def card

yours in geezer-geeekdom,

gary

PS: i was a kernel hacker, a porter, and an OS TEster.
pix, tv, [movies], audio  are strictly over my head.


 
 Cheers,
 
 Josh
 
 -- 
 Josh Tolbert
 h...@puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/
 
 Security is mostly a superstition. It does not exist in nature, nor
 do the children of men as a whole experience it. Avoiding danger
 is no safer in the long run than outright exposure. Life is either
 a daring adventure, or nothing.
 -- Helen Keller
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Polytropon
On Tue, 13 Mar 2012 13:02:24 -0700, Gary Kline wrote:
   if it means buying a card, then, nope.  i  assumed that the
   bits were streaming thu my cable to firefox and that thedre
   was some program that could collecte these data and stash
   them in, say , /tmp.  i'm using linux as a desktop, and FBSD
   as my server.  

There are download helper plugins available for Firefox
that allow you to capture streaming content to a file.



   maybed i'll find where pbs has these films stashed ... or
   maybe they were only for pledge week  

Regular file downloads are something you'll hardly find
on the modern web. But that doesn't mean you cannot
turn streams into files. After all, the data _is_ trans-
ferred to your computer. It's just a question to use the
proper program. :-)





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Polytropon
On Tue, 13 Mar 2012 19:19:46 -0700, Gary Kline wrote:
   i have heard about the 848 or whatever cards for years.
   should i have my sister's technician add one?  i understood
   everything but your last paragraph.  please do send me the
   linksoffline i f you think it wise to spare the
   bandwidth.

Just to make a note: This is the card I'm using. The model
name is Haupauge WinTV and the tuner chip is Brooktree 878.
It is well supported by FreeBSD (and has been for many years).
A problem may be that it is a PCI card.

The programs mplayer and mencoder can be used to address the
tuner and video-in functions of that card, as well as displaying
and storing the received content. You need a HF line to the
card (or an antenna maybe), except you provide the video feed
from a satelite receiver via video-in. In that case, you also
need to provide the audio signal from the receiver to your
sound card's line-in. With mencoder, both sources can be
combined and the result can be stored as a video file in
any format and container you want.

This is the card:

bktr0@pci0:0:9:0:   class=0x04 card=0x13eb0070
chip=0x036e109e rev=0x11 hdr=0x00
vendor = 'Conexant (Was: Brooktree Corp)'
device = 'Bt878/Fusion 878A Mediastream Controller'
class  = multimedia
subclass   = video

The card provides HF-in both for TV and radio, video-in,
audio-out and... not sure what it is. :-)

You need the kernel modules loaded per

bktr_load=YES

in /boot/loader.conf, and the card will work out of the box.
No need to manually and interactively install a driver. :-)

The player command is something like

% mplayer tv://1 -vo x11 -ao sdl -tv driver=bsdbt848:device=/dev/bktr0

and similarly mencoder can be used (-ovc and -oac need to be
adjusted accordingly) to encode to a file.

I'm not sure how to handle TV (antenna) input as I've always
been using a raw video feed (from VTR or camera). However, there's
documentation that may help:

http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html

It also contains an example to record to file, which will
implement the software video tape recoder functionality.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Da Rock

On 03/14/12 13:09, Polytropon wrote:

On Tue, 13 Mar 2012 19:19:46 -0700, Gary Kline wrote:

i have heard about the 848 or whatever cards for years.
should i have my sister's technician add one?  i understood
everything but your last paragraph.  please do send me the
linksoffline i f you think it wise to spare the
bandwidth.

Just to make a note: This is the card I'm using. The model
name is Haupauge WinTV and the tuner chip is Brooktree 878.
It is well supported by FreeBSD (and has been for many years).
A problem may be that it is a PCI card.

The programs mplayer and mencoder can be used to address the
tuner and video-in functions of that card, as well as displaying
and storing the received content. You need a HF line to the
card (or an antenna maybe), except you provide the video feed
from a satelite receiver via video-in. In that case, you also
need to provide the audio signal from the receiver to your
sound card's line-in. With mencoder, both sources can be
combined and the result can be stored as a video file in
any format and container you want.

This is the card:

bktr0@pci0:0:9:0:   class=0x04 card=0x13eb0070
 chip=0x036e109e rev=0x11 hdr=0x00
 vendor = 'Conexant (Was: Brooktree Corp)'
 device = 'Bt878/Fusion 878A Mediastream Controller'
 class  = multimedia
 subclass   = video

The card provides HF-in both for TV and radio, video-in,
audio-out and... not sure what it is. :-)

You need the kernel modules loaded per

bktr_load=YES

in /boot/loader.conf, and the card will work out of the box.
No need to manually and interactively install a driver. :-)

The player command is something like

% mplayer tv://1 -vo x11 -ao sdl -tv driver=bsdbt848:device=/dev/bktr0

and similarly mencoder can be used (-ovc and -oac need to be
adjusted accordingly) to encode to a file.

I'm not sure how to handle TV (antenna) input as I've always
been using a raw video feed (from VTR or camera). However, there's
documentation that may help:

http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html

It also contains an example to record to file, which will
implement the software video tape recoder functionality.
Brooktrees would be nice - if you could find them. Given the move to DVB 
is nearly over, there aren't many analog cards available - or need for them.


The new cards use incompatible chipsets (learnt the hard way), including 
analog and especially DVB; you have to use the cx88 port to use them. Or 
if you come across a different chipset ensure the card is USB based and 
use webcamd.


Following all that, FBSD works beautifully as a HTPC.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-12 Thread Shane Ambler

On 12/03/2012 10:16, Da Rock wrote:

On 03/12/12 07:19, Polytropon wrote:

On Sun, 11 Mar 2012 13:28:19 -0700, Gary Kline wrote:

here us a FBSD qauestion how can i capture any tv
stream---or radio stream for later replay?

I've been using a BrookTree (Haupauge WinTV) PCI card for
capturing from TV which worked very good using the standard
programs mplayer and mencoder.

For capturing TV programs, there may be some service like the
Online TV Recoder which I occassionally use. Maybe this works also
for radio programs?

Additionally, there may be an option to download some kind of media
streams. There are tools for that available.

There is cx88 in the ports which will cover a lot of pci devices, and
 webcamd covers just about all the rest. Then use mplayer or another
tool to record the stream.

And if you're real tricky you can set it to record at a specific time
 and shut off at another specified time... :) I wrote a script for
this; a bit hackish, but it gets the job done. I have to clean it up
someday when I have the spare time.


No one suggesting MythTV? I haven't used a tuner card but I thought
MythTV was the one to use.


--

Shane Ambler
FreeBSD (at) ShaneWare (dot) Biz

http://ShaneWare.Biz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-12 Thread Da Rock

On 03/13/12 12:27, Shane Ambler wrote:

On 12/03/2012 10:16, Da Rock wrote:

On 03/12/12 07:19, Polytropon wrote:

On Sun, 11 Mar 2012 13:28:19 -0700, Gary Kline wrote:

here us a FBSD qauestion how can i capture any tv
stream---or radio stream for later replay?

I've been using a BrookTree (Haupauge WinTV) PCI card for
capturing from TV which worked very good using the standard
programs mplayer and mencoder.

For capturing TV programs, there may be some service like the
Online TV Recoder which I occassionally use. Maybe this works also
for radio programs?

Additionally, there may be an option to download some kind of media
streams. There are tools for that available.

There is cx88 in the ports which will cover a lot of pci devices, and
 webcamd covers just about all the rest. Then use mplayer or another
tool to record the stream.

And if you're real tricky you can set it to record at a specific time
 and shut off at another specified time... :) I wrote a script for
this; a bit hackish, but it gets the job done. I have to clean it up
someday when I have the spare time.


No one suggesting MythTV? I haven't used a tuner card but I thought
MythTV was the one to use.

Pah! Too much bloat - especially for this use.

A lot of setup and configuration is required, and for a one off why bother?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


oops, now: bsd question: how to record a tv stream?

2012-03-11 Thread Gary Kline
guys,

i made the mistake that conrad did when replying.  i could make e
excuse liked only getting five hours sleep, etc, bujt i wont.

here us a FBSD qauestion how can i capture any tv stream---or
radio stream for later replay?  or is that illegal, too?

gray



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-11 Thread Joshua Isom

On 3/11/2012 3:28 PM, Gary Kline wrote:

guys,

i made the mistake that conrad did when replying.  i could make e
excuse liked only getting five hours sleep, etc, bujt i wont.

here us a FBSD qauestion how can i capture any tv stream---or
radio stream for later replay?  or is that illegal, too?

gray





For capturing, I believe linux is your best bet.  I had tried using the 
bktr driver, but I couldn't get it to work properly with the card I had. 
 It could work somewhat from what I remember.  The card was my 
brother's and he used it under linux, but he upgraded to a better one.


Legality should be the same as a VCR/DVR, personal use only and don't 
redistribute.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-11 Thread Al Plant

Gary Kline wrote:

guys,

i made the mistake that conrad did when replying.  i could make e
excuse liked only getting five hours sleep, etc, bujt i wont.

here us a FBSD qauestion how can i capture any tv stream---or
radio stream for later replay?  or is that illegal, too?

gray




Aloha,

Most Public Radio stations have the programs in podcast form from their 
websites. I have had TV stations send me dvd's of broadcasts that my 
Wife has been on here in Hawaii. I think asking the media will get you 
results.


Many of us on the FreeBSD questions list seem to have writing 
backgrounds and are interested in Joseph Campbell and his developments 
in writing and storytelling audio and video process.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-11 Thread Polytropon
On Sun, 11 Mar 2012 13:28:19 -0700, Gary Kline wrote:
 here us a FBSD qauestion how can i capture any tv stream---or
 radio stream for later replay?

I've been using a BrookTree (Haupauge WinTV) PCI card for
capturing from TV which worked very good using the standard
programs mplayer and mencoder.

For capturing TV programs, there may be some service like
the Online TV Recoder which I occassionally use. Maybe this
works also for radio programs?

Additionally, there may be an option to download some kind
of media streams. There are tools for that available.



 or is that illegal, too?

Yes, it is. It's also illegal to listen to MP3 in the US. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-11 Thread Da Rock

On 03/12/12 07:19, Polytropon wrote:

On Sun, 11 Mar 2012 13:28:19 -0700, Gary Kline wrote:

here us a FBSD qauestion how can i capture any tv stream---or
radio stream for later replay?

I've been using a BrookTree (Haupauge WinTV) PCI card for
capturing from TV which worked very good using the standard
programs mplayer and mencoder.

For capturing TV programs, there may be some service like
the Online TV Recoder which I occassionally use. Maybe this
works also for radio programs?

Additionally, there may be an option to download some kind
of media streams. There are tools for that available.
There is cx88 in the ports which will cover a lot of pci devices, and 
webcamd covers just about all the rest. Then use mplayer or another tool 
to record the stream.


And if you're real tricky you can set it to record at a specific time 
and shut off at another specified time... :) I wrote a script for this; 
a bit hackish, but it gets the job done. I have to clean it up someday 
when I have the spare time.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NIS oops

2010-01-21 Thread Olivier Nicole
 and thats the one error I made in setting it up likely... (I saw that 
 note after rebooting in the handbook)

I have been there, I have done that.

Luckily my server is next door :)

Olivier

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


NIS oops

2010-01-20 Thread Aryeh M. Friedman
I set up and tested NIS on our new master server then rebooted and it 
failed to come up... it is not possible for me to get physical access 
(or anyone else for that matter) until tommorow afternoon... is there 
any way to use an other machine on the net to kick start it (NFS mount 
attempts to it also hang)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NIS oops

2010-01-20 Thread Olivier Nicole
 is there any way to use an other machine on the net to kick start it

Unless you have an account on that master server that is not depending
on NIS, I see no way.

Bests,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NIS oops

2010-01-20 Thread Aryeh M. Friedman

Olivier Nicole wrote:

is there any way to use an other machine on the net to kick start it



Unless you have an account on that master server that is not depending
on NIS, I see no way.

Bests,

Olivier

  
and thats the one error I made in setting it up likely... (I saw that 
note after rebooting in the handbook)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Oops

2008-02-01 Thread E. J. Cerejo

Wojciech Puchar wrote:


ufs:mirror/gm0s1a
fsck -p /
mount /

last won't work with fstab not having right entry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




He never said that fstab was complaining!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops

2008-01-31 Thread Wojciech Puchar

am setting up gmirror and screwed up my fstab.  When rebooting,
it complains until I tell it the root device:
ufs:/dev/mirror/gm0s1a


add

vfs.root.mountfrom=ufs:mirror/gm0s1a

to /boot/loader.conf




it boots up and dumps me into single user.  When I try to change
/etc/fstab, it tells me that the parition is mounted read only.


do

mount -uw /dev/gm0s1a /

and then edit

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


RE: Oops

2008-01-31 Thread Darryl Hoar

 am setting up gmirror and screwed up my fstab.  When rebooting,
 it complains until I tell it the root device:
 ufs:/dev/mirror/gm0s1a

add

vfs.root.mountfrom=ufs:mirror/gm0s1a

to /boot/loader.conf

How do I do that when / is automatically being mounted
read only ?


 it boots up and dumps me into single user.  When I try to change
 /etc/fstab, it tells me that the parition is mounted read only.

do

mount -uw /dev/gm0s1a /

and then edit

how can I mount / again when its already mounted ?  When I said single
user, maybe that wasn't the right thing to say.  When I tell it the
root partition (/dev/mirror/gm0s1a), it then asks me to choose a shell
(bin/sh being the default).  When I select the shell it takes me to
a command line where only / is mounted.




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.17/1253 - Release Date: 1/31/2008
9:09 AM


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


Oops

2008-01-31 Thread Darryl Hoar
Greetings,
am setting up gmirror and screwed up my fstab.  When rebooting,
it complains until I tell it the root device:
ufs:/dev/mirror/gm0s1a

it boots up and dumps me into single user.  When I try to change
/etc/fstab, it tells me that the parition is mounted read only.

How can I get things so I can change the /etc/fstab file ?  I
looked on freebsd.org for a live cd, but didn't find one.

thanks for any help.

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


Re: Oops

2008-01-31 Thread Lowell Gilbert
Darryl Hoar [EMAIL PROTECTED] writes:

 Greetings,
 am setting up gmirror and screwed up my fstab.  When rebooting,
 it complains until I tell it the root device:
 ufs:/dev/mirror/gm0s1a

 it boots up and dumps me into single user.  When I try to change
 /etc/fstab, it tells me that the parition is mounted read only.

 How can I get things so I can change the /etc/fstab file ?  

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

 I looked on freebsd.org for a live cd, but didn't find one.

The install CD is bootable, and has a fixit mode.
But you would still need to mount your root partition writable...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Oops

2008-01-31 Thread Darryl Hoar
Darryl Hoar [EMAIL PROTECTED] writes:

 Greetings,
 am setting up gmirror and screwed up my fstab.  When rebooting,
 it complains until I tell it the root device:
 ufs:/dev/mirror/gm0s1a

 it boots up and dumps me into single user.  When I try to change
 /etc/fstab, it tells me that the parition is mounted read only.

 How can I get things so I can change the /etc/fstab file ?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RCCONF-REA
DONLY

 I looked on freebsd.org for a live cd, but didn't find one.

The install CD is bootable, and has a fixit mode.
But you would still need to mount your root partition writable...

Well, the answer was right there.  Easy.  After it asks for shell and you
get
to the command prompt, just enter mount / and it will make / read/write.
Then
edit /etc/fstab.  problem solved.

thanks for all the responses.

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


Re: Oops

2008-01-31 Thread Dan Nelson
In the last episode (Jan 31), Darryl Hoar said:
  it boots up and dumps me into single user.  When I try to change
  /etc/fstab, it tells me that the parition is mounted read only.
 
 do
 
 mount -uw /dev/gm0s1a /
 
 and then edit
 
 how can I mount / again when its already mounted ?  When I said
 single user, maybe that wasn't the right thing to say.  When I tell
 it the root partition (/dev/mirror/gm0s1a), it then asks me to choose
 a shell (bin/sh being the default).  When I select the shell it takes
 me to a command line where only / is mounted.

-u tells mount to update an existing mountpoint.

-- 
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: Oops

2008-01-31 Thread E. J. Cerejo

Darryl Hoar wrote:

am setting up gmirror and screwed up my fstab.  When rebooting,
it complains until I tell it the root device:
ufs:/dev/mirror/gm0s1a



add



vfs.root.mountfrom=ufs:mirror/gm0s1a



to /boot/loader.conf


How do I do that when / is automatically being mounted
read only ?


it boots up and dumps me into single user.  When I try to change
/etc/fstab, it tells me that the parition is mounted read only.



do



mount -uw /dev/gm0s1a /



and then edit


how can I mount / again when its already mounted ?  When I said single
user, maybe that wasn't the right thing to say.  When I tell it the
root partition (/dev/mirror/gm0s1a), it then asks me to choose a shell
(bin/sh being the default).  When I select the shell it takes me to
a command line where only / is mounted.




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.17/1253 - Release Date: 1/31/2008
9:09 AM


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



ufs:mirror/gm0s1a
fsck -p /
mount /
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Oops

2008-01-31 Thread Wojciech Puchar

do



mount -uw /dev/gm0s1a /


how can I mount / again when its already mounted ?  When I said single



reread my mail - i told you

/sbin/mount -uw /dev/gm0s1a /

yes- i missed /sbin/. sorry.

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


Re: Oops

2008-01-31 Thread Wojciech Puchar


ufs:mirror/gm0s1a
fsck -p /
mount /

last won't work with fstab not having right entry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


oops (was Re: what cpu type to use for a intel duo e6850 (i386 or amd64))

2007-09-30 Thread Aryeh Friedman
well the procedure *ALMOST* worked turns out that sysinstall
clobbers any unmodified bsdlabels (bug?)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: oops (was Re: what cpu type to use for a intel duo e6850 (i386 or amd64))

2007-09-30 Thread Giorgos Keramidas
On 2007-09-30 07:24, Aryeh Friedman [EMAIL PROTECTED] wrote:
 well the procedure *ALMOST* worked turns out that sysinstall
 clobbers any unmodified bsdlabels (bug?)

Which 'procedure' would that be?

You haven't quoted anything from the previous messages, and your mailer
hasn't included an In-Reply-To header to help us track down previous
posts of the same thread by searching the list archives.

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


Re: oops, what have i done!

2007-07-31 Thread Rakhesh Sasidharan

On Sun, 29 Jul 2007, Adam J Richardson wrote:


Pollywog wrote:

On Saturday 28 July 2007 20:23:16 Erik Trulsson wrote:


Short answer:  It is perfectly normal.  Don't worry.

Longer answer:

The reason you have all of them installed is that some ports need one of
them, and others need another one etc.
It is perfectly safe to have all of them installed at the same time.

You can delete any or all of them if you wish, but don't be surprised if
they get pulled in again by one port or another.




Kind of related to this topic. Is there any way I can find installed 
packages that are *not* required by any other packages?


Many a times while upgrading ports I've stumbled upon stuff that is no 
longer required by other packages but is still there ... (Possibly they 
were pulled in when I installed some package I wanted. Later I removed 
that, but forgot to remove this requirement package).


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


Re: oops, what have i done!

2007-07-31 Thread Robert Huff

Rakhesh Sasidharan writes:

  Kind of related to this topic. Is there any way I can find installed 
  packages that are *not* required by any other packages?

/usr/ports/ports-mgmt/pkg_cutleaves ?


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


Re: oops, what have i done!

2007-07-31 Thread Rakhesh Sasidharan


On Wed, 1 Aug 2007, Robert Huff wrote:


Rakhesh Sasidharan writes:


 Kind of related to this topic. Is there any way I can find installed
 packages that are *not* required by any other packages?


/usr/ports/ports-mgmt/pkg_cutleaves ?



Man, I love the ports system!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: oops, what have i done!

2007-07-29 Thread Adam J Richardson

Pollywog wrote:

On Saturday 28 July 2007 20:23:16 Erik Trulsson wrote:


Short answer:  It is perfectly normal.  Don't worry.

Longer answer:

The reason you have all of them installed is that some ports need one of
them, and others need another one etc.
It is perfectly safe to have all of them installed at the same time.

You can delete any or all of them if you wish, but don't be surprised if
they get pulled in again by one port or another.


In Linux, I occasionally have compiling problems when I have two versions of 
automake installed.  Removing the ones that are not needed fixes the problem.


I usually delete the older one[s] if I see duplicates in my portversion 
list, and let the resultant stale links [if any] resolve themselves to 
point at the latest version. That shouldn't be dangerous, right? I find 
portsdb generally does the Right Thing.


I don't think it's caused me any problems [yet].

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


oops, what have i done!

2007-07-28 Thread Jonathan Horne
today, when i was auditing what needs to be updated, i came upon this:

autoconf-2.13.000227_5 needs updating (port has 
2.13.000227_6)
autoconf-2.53_3needs updating (port has 2.53_4)
autoconf-2.59_2needs updating (port has 2.59_3)
automake-1.4.6_3   needs updating (port has 1.4.6_4)
automake-1.5_3,1   needs updating (port has 1.5_4,1)
automake-1.9.6_1   needs updating (port has 1.9.6_2)

how did i manage to get so many of these 3 things installed?  can i assume its 
safe to remove all but the highest version?

thanks,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: oops, what have i done!

2007-07-28 Thread Erik Trulsson
On Sat, Jul 28, 2007 at 03:13:51PM -0500, Jonathan Horne wrote:
 today, when i was auditing what needs to be updated, i came upon this:
 
 autoconf-2.13.000227_5 needs updating (port has 
 2.13.000227_6)
 autoconf-2.53_3needs updating (port has 2.53_4)
 autoconf-2.59_2needs updating (port has 2.59_3)
 automake-1.4.6_3   needs updating (port has 1.4.6_4)
 automake-1.5_3,1   needs updating (port has 1.5_4,1)
 automake-1.9.6_1   needs updating (port has 1.9.6_2)
 
 how did i manage to get so many of these 3 things installed?  can i assume 
 its 
 safe to remove all but the highest version?

Short answer:  It is perfectly normal.  Don't worry.


Longer answer:

The reason you have all of them installed is that some ports need one of
them, and others need another one etc.
It is perfectly safe to have all of them installed at the same time.

You can delete any or all of them if you wish, but don't be surprised if
they get pulled in again by one port or another.




-- 
Insert your favourite quote here.
Erik Trulsson
[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: oops, what have i done!

2007-07-28 Thread Manolis Kiagias
Erik Trulsson wrote:
 On Sat, Jul 28, 2007 at 03:13:51PM -0500, Jonathan Horne wrote:
   
 today, when i was auditing what needs to be updated, i came upon this:

 autoconf-2.13.000227_5 needs updating (port has 
 2.13.000227_6)
 autoconf-2.53_3needs updating (port has 2.53_4)
 autoconf-2.59_2needs updating (port has 2.59_3)
 automake-1.4.6_3   needs updating (port has 1.4.6_4)
 automake-1.5_3,1   needs updating (port has 1.5_4,1)
 automake-1.9.6_1   needs updating (port has 1.9.6_2)

 how did i manage to get so many of these 3 things installed?  can i assume 
 its 
 safe to remove all but the highest version?
 

 Short answer:  It is perfectly normal.  Don't worry.


 Longer answer:

 The reason you have all of them installed is that some ports need one of
 them, and others need another one etc.
 It is perfectly safe to have all of them installed at the same time.

 You can delete any or all of them if you wish, but don't be surprised if
 they get pulled in again by one port or another.
   
Even more, if you updated you ports tree today, read /usr/ports/UPDATING
there is an entry for a specific upgrade procedure concerning these.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: oops, what have i done!

2007-07-28 Thread Pollywog
On Saturday 28 July 2007 20:23:16 Erik Trulsson wrote:

 Short answer:  It is perfectly normal.  Don't worry.


 Longer answer:

 The reason you have all of them installed is that some ports need one of
 them, and others need another one etc.
 It is perfectly safe to have all of them installed at the same time.

 You can delete any or all of them if you wish, but don't be surprised if
 they get pulled in again by one port or another.

In Linux, I occasionally have compiling problems when I have two versions of 
automake installed.  Removing the ones that are not needed fixes the problem.



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


Re: oops, what have i done!

2007-07-28 Thread Tom McLaughlin
On Sat, 2007-07-28 at 15:13 -0500, Jonathan Horne wrote:
 today, when i was auditing what needs to be updated, i came upon this:
 
 autoconf-2.13.000227_5 needs updating (port has 
 2.13.000227_6)
 autoconf-2.53_3needs updating (port has 2.53_4)
 autoconf-2.59_2needs updating (port has 2.59_3)
 automake-1.4.6_3   needs updating (port has 1.4.6_4)
 automake-1.5_3,1   needs updating (port has 1.5_4,1)
 automake-1.9.6_1   needs updating (port has 1.9.6_2)
 
 how did i manage to get so many of these 3 things installed?  can i assume 
 its 
 safe to remove all but the highest version?
 
 thanks,

They're build depends for some of the various ports you have installed
since many ports require different auto* versions to build.  You can
just leave them installed since more than likely they will eventually
come back.  Upgrading them takes trivial amounts of time.

tom

-- 
| tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org |
| FreeBSD   http://www.FreeBSD.org |

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


Re: Oops... {upgrading, using a script and pkg_version}

2007-03-26 Thread Lowell Gilbert
Gary Kline [EMAIL PROTECTED] writes:

   I've got ~770 ports install--many|most depencencies.  Doesn't
   -a rebuilt *everything*?  If not, I've been sadly
   mis-understanding the man page.  

-a makes sure that everything is up-to-date, but it doesn't rebuild
ports that are already up-to-date.  Unless you want it to; in which
case you can also provide -f.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops... {upgrading, using a script and pkg_version}

2007-03-25 Thread Lowell Gilbert
Gary Kline [EMAIL PROTECTED] writes:

   Hi people,

   A day or three ago somebody posted a neat upgrade script 
   (or snippet of) using a shell for loop and pkg_version.
   I was going to save, thought I saved it to ~/Mail/freebsd.
   Can't find it.  Anybody knw which post I'm thinking of?

   It was something like:

   for `pkgversion -xyz {foo}`; whatever;
   do
  portupgrade -abc;
   done

   but something that was much more sharp.  Several days ago I
   saved the output of pkg_version -IL'=' to /tmp/Up.sh, then
   edited in portupgrade  to each of the 20+ ports.  As a result,
   I'm almost entirely upgraded here.  What I saw looked much more 
   efficient.

I'm not really following what you're looking for; if you're trying to
upgrade everything, doesn't -a get it?  

To avoid repackaging all the dependencies, I sometimes use something
like:
 portupgrade -P `portversion -vL \=|cut -c 1-24`
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops... {upgrading, using a script and pkg_version}

2007-03-25 Thread Gary Kline
On Sun, Mar 25, 2007 at 09:22:39AM -0400, Lowell Gilbert wrote:
 Gary Kline [EMAIL PROTECTED] writes:
 
  Hi people,
 
  A day or three ago somebody posted a neat upgrade script 
  (or snippet of) using a shell for loop and pkg_version.
  I was going to save, thought I saved it to ~/Mail/freebsd.
  Can't find it.  Anybody knw which post I'm thinking of?
 
  It was something like:
 
  for `pkgversion -xyz {foo}`; whatever;
  do
 portupgrade -abc;
  done
 
  but something that was much more sharp.  Several days ago I
  saved the output of pkg_version -IL'=' to /tmp/Up.sh, then
  edited in portupgrade  to each of the 20+ ports.  As a result,
  I'm almost entirely upgraded here.  What I saw looked much more 
  efficient.
 
 I'm not really following what you're looking for; if you're trying to
 upgrade everything, doesn't -a get it?  


I've got ~770 ports install--many|most depencencies.  Doesn't
-a rebuilt *everything*?  If not, I've been sadly
mis-understanding the man page.  

On my fastest FBSD box I'd like to custom build all the ports
that need upgrading.  Turn them into pakages for use on all my
other i686 servers.  

 
 To avoid repackaging all the dependencies, I sometimes use something
 like:
  portupgrade -P `portversion -vL \=|cut -c 1-24`

This may prove infinitely helpful because I've watchmy upgrades
rebuild dependencies time after time.  No clue how to prevent!!

hat's off,

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]


Oops... {upgrading, using a script and pkg_version}

2007-03-23 Thread Gary Kline

Hi people,

A day or three ago somebody posted a neat upgrade script 
(or snippet of) using a shell for loop and pkg_version.
I was going to save, thought I saved it to ~/Mail/freebsd.
Can't find it.  Anybody knw which post I'm thinking of?

It was something like:

for `pkgversion -xyz {foo}`; whatever;
do
   portupgrade -abc;
done

but something that was much more sharp.  Several days ago I
saved the output of pkg_version -IL'=' to /tmp/Up.sh, then
edited in portupgrade  to each of the 20+ ports.  As a result,
I'm almost entirely upgraded here.  What I saw looked much more 
efficient.

thanks, guys,

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]


Re: OOPS www proxy

2006-12-14 Thread Wojciech Puchar

for me it works. and works really fast, much faster than squid but after
maybe 8-12 hours it crashes.

is it buggy or i'm doing something wrong?


I used it for several years and am still using it, but not on high
loads. It works without crashing on the default install (ports) settings.



on default install settings (berkeley db) it says that db doesn't support 
pthreads right and then runs without storages :(

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


Re: OOPS www proxy

2006-12-14 Thread Ivan Voras
Wojciech Puchar wrote:
 for me it works. and works really fast, much faster than squid but after
 maybe 8-12 hours it crashes.

 is it buggy or i'm doing something wrong?

 I used it for several years and am still using it, but not on high
 loads. It works without crashing on the default install (ports) settings.

 on default install settings (berkeley db) it says that db doesn't
 support pthreads right and then runs without storages :(

?

Maybe I'm misremembering, but my storage default was gigabase and it works.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OOPS www proxy

2006-12-11 Thread Ivan Voras
Wojciech Puchar wrote:
 is anybody using it with success.
 
 for me it works. and works really fast, much faster than squid but after
 maybe 8-12 hours it crashes.
 
 is it buggy or i'm doing something wrong?

I used it for several years and am still using it, but not on high
loads. It works without crashing on the default install (ports) settings.




signature.asc
Description: OpenPGP digital signature


Re: Oops: Deleted /var/named

2006-04-01 Thread Lowell Gilbert
daniel [EMAIL PROTECTED] writes:

 Yes, it was dumb, but while I have a backup of all of my domain info and have 
 restored it all, starting named gives me this error now:
 
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
 
 I can only assume that it has something to do with the files 
 in /var/named/dev/ that I have untarred there.  I tried doing a make 
 deinstall; make install in /usr/ports/dns/bind9 but that didn't create 
 anything.  What is the propper way to re-set this up?

I don't use the port, just the base system bind; so I can't guarantee
that this applies.  

Normally (on 6.x; you didn't mention, so I assume you're running the
production release) /var/named/dev is a devfs mount installed
automatically by /etc/rc.d/named at boot time. From looking at my
rc.conf file, it looks like that method is the default if you have 
named_enable set to YES.  I'm sure there's more information in the
manual for rc.conf(5).

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


Oops: Deleted /var/named

2006-03-31 Thread daniel
Yes, it was dumb, but while I have a backup of all of my domain info and have 
restored it all, starting named gives me this error now:

  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device

I can only assume that it has something to do with the files 
in /var/named/dev/ that I have untarred there.  I tried doing a make 
deinstall; make install in /usr/ports/dns/bind9 but that didn't create 
anything.  What is the propper way to re-set this up?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Oops: Deleted /var/named

2006-03-31 Thread daniel
Yes, it was dumb, but while I have a backup of all of my domain info and have 
restored it all, starting named gives me this error now:

  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device

I can only assume that it has something to do with the files 
in /var/named/dev/ that I have untarred there.  I tried doing a make 
deinstall; make install in /usr/ports/dns/bind9 but that didn't create 
anything.  What is the propper way to re-set this up?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops: Deleted /var/named

2006-03-29 Thread Duane Whitty

Olivier Nicole wrote:

  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device

I can only assume that it has something to do with the files 
in /var/named/dev/ that I have untarred there.  I tried doing a make 



What I can see from my environment (4.11), you only need
/var/named/dev/null, copy it from /dev/null

Olivier
___

  

I have /var/named/dev/random in addition to /var/named/dev/null
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Re: Oops: Deleted /var/named]

2006-03-29 Thread Duane Whitty



 Original Message 
Subject:Re: Oops: Deleted /var/named
Date:   Wed, 29 Mar 2006 13:58:45 +0200
From:   Dimitar Vasilev [EMAIL PROTECTED]
To: Duane Whitty [EMAIL PROTECTED]
References: 	[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]




ev/null

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


there are some rc knobs to update the chroot environtment with files
which are missing.
try to activate and run named start again.

--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Re: Oops: Deleted /var/named]

2006-03-29 Thread Duane Whitty



 Original Message 
Subject:Re: Oops: Deleted /var/named
Date:   Wed, 29 Mar 2006 14:35:52 +0200
From:   Dimitar Vasilev [EMAIL PROTECTED]
To: Duane Whitty [EMAIL PROTECTED]
References: 	[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]




Yes ;-)
Also try with mtree -p /etc/BSD.var.mtree or whatever it was

Hi,
Did you mean to send this to the list?

--Duane




--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Oops: Deleted /var/named

2006-03-28 Thread daniel
Yes, it was dumb, but while I have a backup of all of my domain info and have 
restored it all, starting named gives me this error now:

  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device

I can only assume that it has something to do with the files 
in /var/named/dev/ that I have untarred there.  I tried doing a make 
deinstall; make install in /usr/ports/dns/bind9 but that didn't create 
anything.  What is the propper way to re-set this up?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops: Deleted /var/named

2006-03-28 Thread Peter

--- daniel [EMAIL PROTECTED] wrote:

 Yes, it was dumb, but while I have a backup of all of my domain info
 and have 
 restored it all, starting named gives me this error now:
 
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
 
 I can only assume that it has something to do with the files 
 in /var/named/dev/ that I have untarred there.  I tried doing a make
 
 deinstall; make install in /usr/ports/dns/bind9 but that didn't
 create 
 anything.  What is the propper way to re-set this up?

Your problem probably has to do with missing devices.  They are not
regular files.  Try running in non-chroot environment.

__
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: Oops: Deleted /var/named

2006-03-28 Thread Dan Nelson
In the last episode (Mar 28), daniel said:
 Yes, it was dumb, but while I have a backup of all of my domain info
 and have restored it all, starting named gives me this error now:
 
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
 
 I can only assume that it has something to do with the files in
 /var/named/dev/ that I have untarred there.  I tried doing a make
 deinstall; make install in /usr/ports/dns/bind9 but that didn't
 create anything.  What is the propper way to re-set this up?

Remove everything in /var/named/dev and remount devfs on top of it (or
run /etc/rc.d/named restart which should do the same).

-- 
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: Oops: Deleted /var/named

2006-03-28 Thread daniel
On Tuesday 28 March 2006 11:54, Dan Nelson wrote:
 In the last episode (Mar 28), daniel said:
  Yes, it was dumb, but while I have a backup of all of my domain info
  and have restored it all, starting named gives me this error now:
 
devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
 
  I can only assume that it has something to do with the files in
  /var/named/dev/ that I have untarred there.  I tried doing a make
  deinstall; make install in /usr/ports/dns/bind9 but that didn't
  create anything.  What is the propper way to re-set this up?

 Remove everything in /var/named/dev and remount devfs on top of it (or
 run /etc/rc.d/named restart which should do the same).

I'd tried running /etc/rc.d/named restart a few times until I realised that 
I had to delete the files that were already there (from the tarball).  Once I 
did that, a service restart did the trick.

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


Re: Oops: Deleted /var/named

2006-03-28 Thread Olivier Nicole
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
 
 I can only assume that it has something to do with the files 
 in /var/named/dev/ that I have untarred there.  I tried doing a make 

What I can see from my environment (4.11), you only need
/var/named/dev/null, copy it from /dev/null

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


oops, forgot the conf file

2005-08-04 Thread BBB
ehh i forgot to send my conf file with the last file, so here it is :)

thnx in advance

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

Re: Make Depend -- Oops!

2004-11-27 Thread John Mills
On Sat, 27 Nov 2004, John Mills wrote:

 Freebies -
 
 On Sat, 27 Nov 2004, Conrad J. Sabatier wrote:
 
  On Sat, 27 Nov 2004 09:43:17 +0100, Gert Cuykens
  [EMAIL PROTECTED] wrote:
  
   A Makefile rule that typically scans all C/C++ source files in a
   directory, and generates rules that indicate that an object file
   depends on certain header files, and must be recompiled if they are
   recompiled.
   
   i dont understand this. how can a object depend on something that is
   not compiled yet? Would the freebsd world not be a happier place if
   make did the dependancy thingies what ever they are automatically ?
  ... 
  Re: dependencies, it should be simple to understand if you give it a
  moment's thought.  Let's say you have a file main.c that calls
  functions in foo.c.  In order for main.c to compile and link properly
  to create a complete, executable program, it's absolutely essential that
  foo.c be compiled and linked in as well.
  
  What Makefile dependencies are about is ensuring that, if a change is
  made to foo.c, it will be recompiled and relinked with main.c to
  guarantee that the final executable is up to date in all respects.
 
 Certainly a sensible point, but not the way I understood 'makedepend' to 
 work.
 
 As Conrad said, 'make' can be directed to compare the currency of the 
 files upon which a particular product file (compiled object, library, 
 executable, or other type) depends, so that all product files for which 
 the components have changed _are_ rebuilt, but a maximum number of product 
   Sorry - I meant minimum --^^^
 files (i.e., unchanged objects being linked into a library) are 
 unnecessarily rebuilt. Many of these rules I put in manually.
 
 'make' only knows some 'generic' rules (what is done to change a *.c into 
 a *.o, for example), plus the explicit dependencies I have written into my 
 Makefile. 'makedepend' is a way to automatically generate the 
 file-specific rules that can be deduced from a [source] file's own 
 contents: usually those secondary files that are brought into it by 
 '#include' pragmas. These auxiliary rules are written onto the Makefile 
 and become part of it. These files are not necessarily separately 
 compiled; I find your definition a bit misleading on this.
 
 'makedepend' is given a list of files to scan, and places to look for 
 included files. My 'depend' rule looks like this:
 
 +++
 depend:
   makedepend -- $(CFLAGS) -- $(SRCS) -- $(INCLUDES)
 
 # DO NOT DELETE THIS LINE -- make  depend  depends  on it.
 
 +++
 
 That funky last line really tells 'makedepend' where it should write the 
 new rules onto my Makefile. Before using a Makefile on a group of sources, 
 or when source files are added to the build, I remove all the generate 
 rules which have been added below the '# DO NOT DELETE ...' line and 
 rebuild the 'depend' target - which is the Makefile itself:
 
  $ make depend
 
 Typical rules automagically added by 'makedepend' are:
 
 +++
 ...
 BufRing.o: ../Llcommon/SEBase.h StdAfx.h BufRing.h
 Camera.o: ../Llcommon/SEBase.h StdAfx.h ../Llcommon/commonStruct.h
 Camera.o: ../Llcommon/secureeye.h ../Llcommon/memCtrl.h
 Camera.o: ../Llcommon/retCodes.h ../Llcommon/LiveShare.h Camera.h
 Camera.o: ../Llcommon/Common.h Pump.h BufRing.h CamData.h Snap.h INet.h
 Camera.o: Player.h
 INet.o: ../Llcommon/SEBase.h StdAfx.h /usr/include/stdlib.h
 ...
 +++
 
 The effect of these added rules is that if I change [say] 'BufRing.h' then 
 do 'make all', 'BufRing.c' and 'Camera.c' would be recompiled, but not 
 necessarily 'INet.c'
 
 'make' isn't very bright, but (like 'cpp') it can be _very_ handy.
 
  - John Mills
[EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
 - John Mills
   [EMAIL PROTECTED]

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


oops... sysinstall from X

2004-10-30 Thread Gary Aitken
I made the mistake of trying to build and install the gimp port from an
xterm.  When I came back to it, it had started sysinstall to configure
the ghostscript driver.  Sysinstall looks great in an xterm, but
unfortunately keystrokes aren't mapped in a manner which works.  e.g.
The down arrow is echoed as ^[0B, and while normal characters such as
'x' and space are echoed properly, the sysinstall program apparently
isn't seeing them -- the characters are simply echoed over (replacing)
the text sysinstall has painted on the display, instead of doing the
right thing such as selecting / deselecting the current item.
Is there some simple way out of this?
I've still got the xterm up and would like to finish this install.
Or should I just kill it, exit X, and try make from a normal vty?
Thanks for any insights,
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: oops... sysinstall from X

2004-10-30 Thread Matthew Seaman
On Sat, Oct 30, 2004 at 09:25:49AM -0600, Gary Aitken wrote:
 I made the mistake of trying to build and install the gimp port from an
 xterm.  When I came back to it, it had started sysinstall to configure
 the ghostscript driver.  Sysinstall looks great in an xterm, but
 unfortunately keystrokes aren't mapped in a manner which works.  e.g.
 The down arrow is echoed as ^[0B, and while normal characters such as
 'x' and space are echoed properly, the sysinstall program apparently
 isn't seeing them -- the characters are simply echoed over (replacing)
 the text sysinstall has painted on the display, instead of doing the
 right thing such as selecting / deselecting the current item.
 
 Is there some simple way out of this?
 I've still got the xterm up and would like to finish this install.
 Or should I just kill it, exit X, and try make from a normal vty?

That's not sysinstall -- it just uses the same SLANG libraries as
sysinstall does.  Even in an X-term, the navigation should work with
the arrow keys, but failing that, hitting tab should let you cycle
through all of the options.

Cheers,

Matthew

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


pgpkCFbcOGNmY.pgp
Description: PGP signature


Re: oops... sysinstall from X

2004-10-30 Thread Gary Aitken
Already tried tabbing, but it doesn't work; it just tabs off the end of
the line.  Out past the confines of the config painted window, to the
edge of the xterm window.  Any other ideas?
Thanks,
Gary
Matthew Seaman wrote:
On Sat, Oct 30, 2004 at 09:25:49AM -0600, Gary Aitken wrote:
I made the mistake of trying to build and install the gimp port from an
xterm.  When I came back to it, it had started sysinstall to configure
the ghostscript driver.  Sysinstall looks great in an xterm, but
unfortunately keystrokes aren't mapped in a manner which works.  e.g.
The down arrow is echoed as ^[0B, and while normal characters such as
'x' and space are echoed properly, the sysinstall program apparently
isn't seeing them -- the characters are simply echoed over (replacing)
the text sysinstall has painted on the display, instead of doing the
right thing such as selecting / deselecting the current item.
Is there some simple way out of this?
I've still got the xterm up and would like to finish this install.
Or should I just kill it, exit X, and try make from a normal vty?

That's not sysinstall -- it just uses the same SLANG libraries as
sysinstall does.  Even in an X-term, the navigation should work with
the arrow keys, but failing that, hitting tab should let you cycle
through all of the options.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: oops... sysinstall from X

2004-10-30 Thread Gary Aitken
Ahhh.  Figured out what it was.
I had run the make and piped it into tee to have a hard copy of the log.
Apparently something about the pipe screws up the input.
The log is full of vty escape sequences, obviously from the screen
painting.
Seems like this is a bug of sorts.
Not sure the screen painting should go to the log,
and the keyboard problem is obviously a problem.
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


A serious Oops moment

2004-08-07 Thread Bryant Eadon
So I was trying to properly install a new 200G WD HDD on a Highpoint
controller and wasn't having any luck, so I figured I might as well try
getting the USB2 Enclosure working with the machine too while I was at it
(also a 200G drive, but formatted for NTFS), connecting the drive and going
back to seeing where I might have the highpoint controller recognized I
forgot all about the USB drive --- bad mistake.

I went into the /stand/sysinstall under fdisk and saw I had a 200G drive
there, Oh, I must have done something to enable the HighPoint controller I
said .. let's edit it .. Strange, it's reporting NTFS/QNX/..  did I get a
drive with something on it ?  I was unable to mount the drive with NTFS (it
wasn't in my kernel) so I just said forget it and tried to fdisk, it tossed
a warning about doing the fdisk separately from the disklabel, so I said, ok
, I'll wait.. and went off to do the disklabel at the same time.  at which
point on trying to disklabel the disc I believe the disklabel wrote out
(improperly) and then crashed the PC -- at which point I realized my
mistake.  I don't think that the full write even started because it was a
hard crash and occurred very soon after I executed the command, I don't have
the debug screen that appeared afterward, it was a kernel panic.


This is the USB2 device::

Aug  7 12:14:14 Crappy login: ROOT LOGIN (root) ON ttyv0
Aug  7 12:14:25 Crappy /kernel: umass0: Cypress Semiconductor USB2.0 Storage
Device, rev 2.00/0.01, addr 2
Aug  7 12:14:25 Crappy /kernel: umass0: Get Max Lun not supported (STALLED)
Aug  7 12:14:32 Crappy /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Aug  7 12:14:32 Crappy /kernel: da0: WDC WD20 00JB-00FUA0 \\ Fixed
Direct Access SCSI-0 device
Aug  7 12:14:32 Crappy /kernel: da0: 650KB/s transfers
Aug  7 12:14:32 Crappy /kernel: da0: 190782MB (390721968 512 byte sectors:
64H 32S/T 59710C)

Initially I attempted to just read the disklabel, but it threw a bad pack
magic number.   So I tried to edit it with disklabel -e , I changed
nothing, but it seems the disklabel was written when I left the editor
regardless

Disklabel commands:


[Crappy]:log% disklabel -r /dev/da0
disklabel: bad pack magic number (label is damaged, or pack is unlabeled)

[Crappy]:log% disklabel /dev/da0
# /dev/da0:
type: SCSI
disk: WDC WD20
label: 00JB-00FUA0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 24321
sectors/unit: 390721968
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 3907219680unused0 0# (Cyl.0 -
24321*)

***

I know it's a 7200 RPM drive, with an 8MB cache and 200G of physical space
( ~ 186GB after formatting in NTFS), the Western Digital Special Edition
200G drive.

I want to restore my data, but I am scared to change the disklabel at the
thought of losing the 150+G of data that is on the drive.  Can anyone PLEASE
provide details on how I might be able to restore my data, right now I can't
mount it anywhere?   Any help is appreciated.


Thank you,

Bryant Eadon

Dual Electrical and Computer Systems Engineering Major
Rensselaer Polytechnic Institute
Lambda Chi Alpha EH1063

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


Re: A serious Oops moment

2004-08-07 Thread Marc Fonvieille
On Sat, Aug 07, 2004 at 12:33:27PM -0400, Bryant Eadon wrote:
[...]
 
 I know it's a 7200 RPM drive, with an 8MB cache and 200G of physical space
 ( ~ 186GB after formatting in NTFS), the Western Digital Special Edition
 200G drive.
 
 I want to restore my data, but I am scared to change the disklabel at the
 thought of losing the 150+G of data that is on the drive.  Can anyone PLEASE
 provide details on how I might be able to restore my data, right now I can't
 mount it anywhere?   Any help is appreciated.
 

Try to mount it in read-only mode, some NTFS disks use to make crash my
boxes if I forget to add -o ro option in the mount command.

By default any mount operation is done in read/write mode.

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


Oops! Your mail to fn@hungry.com

2004-05-10 Thread Terry d'Angeles for Faried
Hey there,

My name's Terry Mo d'Angeles.  I handle all of Faried Nawaz's email
sent to [EMAIL PROTECTED]  A virtual secretary, if you will.
I don't believe we've corresponded; I don't quite recognize your email
address.  Then again, I only started the other day -- I'm new here.

My main job these days is sorting email.  Spam's a major problem these days,
you see, so I sort through all the email I get, weed out the spam, and
forward it on to my boss (you know him -- he's the man you want to email).

I have this nifty program I downloaded off the net.  It makes my job a lot
easier -- it helps me keeps track of people I've already talked with in the
past.  Could you send me a message at

[EMAIL PROTECTED]

for my records?  (Simply replying to this email will work, too.)  That way
my program will recognize you whenever you send mail to
[EMAIL PROTECTED], and I won't have to eyeball it.

I'll hold your email in my inbox for 14 days, waiting for your
reply.


Sorry for the inconvenience!

Terry M. d'Angeles :)

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


SMB share unmount : was cdrom unmount (oops)

2004-02-07 Thread Edd Barrett
It appears that the mount that I cant unmount was not actually the cdrom, but 
my remote home dir which is a samba share on another freebsd box.

bash-2.05b$ mount /home/edd/cdrom
bash-2.05b$ umount /home/edd/cdrom
bash-2.05b$ mount /home/edd/rhome
bash-2.05b$ umount /home/edd/rhome
umount: unmount of /home/edd/rhome failed: Operation not permitted

I am in wheel. my fstab is as follows:

# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1d /home   ufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0
/dev/acd1   /cdrom1 cd9660  ro,noauto   0   0
#192.168.0.1:/mnt/media /mnt/media  nfs ro  0   0
//[EMAIL PROTECTED]/media/mnt/media  smbfs   ro,noauto   0   0
/dev/acd0   /home/edd/cdrom cd9660  ro,noauto   0   0
/dev/acd1   /home/edd/cdrom1cd9660  ro,noauto   0   
0
//[EMAIL PROTECTED]/media/home/edd/media smbfs   noauto,rw   0   0
//[EMAIL PROTECTED]/edd  /home/edd/rhome smbfs   noauto,rw   0   0

any ideas??

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


Re: oops!! now i cant boot

2004-01-21 Thread Lowell Gilbert
Rogue Spider [EMAIL PROTECTED] writes:

 I was tring to get my ess sound card working
 on freeBSD 5.0, so i edited /boot/default/loader.conf
 it edited in insert mode and i messed up
 [no] became [yesno] and i saved before i relized
 it and rebooted no it locks up and tells me there is
 a problem and thats it.
 i tried vty4 but do not know the commands
 is there a way to edit the file loader.conf
 using vty4 of something ?please?

Boot a fixit disk, I guess.
I don't think single-user mode will get you out of this one, although
you could try the loader prompt...

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


oops!! now i cant boot

2004-01-20 Thread Rogue Spider
I was tring to get my ess sound card working
on freeBSD 5.0, so i edited /boot/default/loader.conf
it edited in insert mode and i messed up
[no] became [yesno] and i saved before i relized
it and rebooted no it locks up and tells me there is
a problem and thats it.
i tried vty4 but do not know the commands
is there a way to edit the file loader.conf
using vty4 of something ?please?

=

No Hope in the future Look To the past to find redimsioun.

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Made a big oops and formatted the wrong partition.

2003-06-06 Thread Robert J. Lynn Jr.
Oops.

I had an NTFS drive containing about 10GB in MP3s.

And my backups of those MP3s, waiting to be burned.

Until today, anyhow, when I deleted the partition, made a FreeBSD partition
in its place, and proceeded to install over it all. I'm using a hex tool to
try and find it on the drive, but I'm not sure how to look, as I'm not sure
what the mkfs process does. Is there any point in even looking, or is it
futile?

Sorry to bother the mailing list with something so trivial, but I figured it
wouldn't hurt to try. Please reply to me ( [EMAIL PROTECTED] ) as I'm not on
the mailing list.
Thanks in advance.
-Rob

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


Re: OOPS....Re: ipf - IPFILTER_DEFAULT_BLOCK ...This is not working as predicted! Help?

2002-12-20 Thread Keith Spencer
 --- Fernando Gleiser [EMAIL PROTECTED]
wrote:  On Wed, 18 Dec 2002, Keith Spencer wrote:
 
   sorry guys the copy paste mucked up on me...
  Here is the full rule set I am using...
 
 But the questions I sent in my previous mail remain
 unanswered.
 post the answers and maybe I can tell what's wrong.
 
 #ifdef WILDGUESS
 
 if you are using user ppp, the outside interface is
 tun0, *not* ed0
 if that is the case, change ed0 into tun0 in the
 rules, reload
 and tell me if that works
 
 #endif

OK Guys...sorry to be a pain but here goes
Thanks Keith

+IPF.RULES +
#
# Outside Interface
#

#
# Allow out all TCP, UDP, and ICMP traffic  keep
state on it
# so that it's allowed back in.
#
# If you wanted to do egress filtering...here's where
you'd do it.
# You'd change the lines below so that rather than
allowing out any
# arbitrary TCP connection, it would only allow out
mail, pop3, and http
# connections (for example). So, the first line,
below, would be 
# replaced with:
# pass out quick on tun0 proto tcp from any to any
port = 25 keep state
# pass out quick on tun0 proto tcp from any to any
port = 110 keep state
# pass out quick on tun0 proto tcp from any to any
port = 80 keep state
# ...and then do the same for the remaining lines so
that you allow
# only specified protocols/ports 'out' of your network
#
pass out quick on tun0 proto tcp from any to any keep
state
pass out quick on tun0 proto udp from any to any keep
state
pass out quick on tun0 proto icmp from any to any keep
state
block out quick on tun0 all

#---
# Block all inbound traffic from non-routable or
reserved address spaces
#---
block in log quick on tun0 from 192.168.0.0/16 to any
#RFC 1918 private IP
block in log quick on tun0 from 172.16.0.0/12 to any
#RFC 1918 private IP
block in log quick on tun0 from 10.0.0.0/8 to any #RFC
1918 private IP
block in log quick on tun0 from 127.0.0.0/8 to any
#loopback
block in log quick on tun0 from 0.0.0.0/8 to any
#loopback
block in log quick on tun0 from 169.254.0.0/16 to any
#DHCP auto-config
block in log quick on tun0 from 192.0.2.0/24 to any
#reserved for doc's
block in log quick on tun0 from 204.152.64.0/23 to any
#Sun cluster interconnect
block in quick on tun0 from 224.0.0.0/3 to any #Class
D  E multicast

#
# Allow bootp traffic in from your ISP's DHCP server
only. 
#
#pass in quick on tun0 proto udp from X.X.X.X/32 to
any port = 68 keep state

#
# If you wanted to set up a web server or mail server
on your box
# (which is outside the scope of this howto), or allow
another system
# on the Internet to externally SSH into your
firewall, you'd want to 
# uncomment the following lines and modify as
appropriate. If you 
# have other services running that you need to allow
external access
# to, just add more lines using these as examples.
#
# If the services are on a box on your internal
network (rather than
# the firewall itself), you'll have to add both the
filter listed below,
# plus a redirect rule in your /etc/ipnat.rules file.
#
pass in quick on tun0 proto tcp from any to any port =
80 flags S keep state keep frags
pass in quick on tun0 proto tcp from any to any port =
25 flags S keep state keep frags
#pass in quick on tun0 proto tcp from X.X.X.X/32 to
any port = 22 flags S keep state keep frags
pass in quick on tun0 proto tcp from any to
203.36.104.241 port = 2 flags S keep state keep
frags
pass in quick on tun0 proto tcp from any to
203.36.104.241 port = 22 flags S keep state keep frags
pass in quick on tun0 proto udp from any to
203.36.104.241 port = 22  keep state 
pass in quick on tun0 proto tcp from any to any port =
443 flags S keep state keep frags
pass in quick on tun0 proto udp from any to any port =
443 keep state
pass in quick on tun0 proto tcp from any to
203.36.104.241 port = 3306 flags S keep state keep
frags
pass in quick on tun0 proto udp from any to
203.36.104.241 port = 3306 keep state
#
# Block and log all remaining traffic coming into the
firewall
# - Block TCP with a RST (to make it appear as if the
service 
# isn't listening)
# - Block UDP with an ICMP Port Unreachable (to make
it appear 
# as if the service isn't listening)
# - Block all remaining traffic the good 'ol fashioned
way

Re: OOPS....Re: ipf - IPFILTER_DEFAULT_BLOCK ...This is not working as predicted! Help?

2002-12-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-20 23:28:01 +1100:
  --- Fernando Gleiser [EMAIL PROTECTED]
 wrote:  On Wed, 18 Dec 2002, Keith Spencer wrote:

your MUA screws the message text. get a better one.

sorry guys the copy paste mucked up on me...
   Here is the full rule set I am using...
 
 OK Guys...sorry to be a pain but here goes
 Thanks Keith

...

 #
 # Allow out all TCP, UDP, and ICMP traffic  keep
 state on it
 # so that it's allowed back in.

it's wrapped againg. get a better MUA or place the ruleset on web,
and post the url

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

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



OOPS....Re: ipf - IPFILTER_DEFAULT_BLOCK ...This is not working as predicted! Help?

2002-12-17 Thread Keith Spencer
 sorry guys the copy paste mucked up on me...
Here is the full rule set I am using...

#
# Outside Interface 
#

#
# Allow out all TCP, UDP, and ICMP traffic  keep
state on it
# so that it's allowed back in.
#
# If you wanted to do egress filtering...here's where
you'd do it.
# You'd change the lines below so that rather than
allowing out any
# arbitrary TCP connection, it would only allow out
mail, pop3, and http
# connections (for example). So, the first line,
below, would be 
# replaced with:
#pass out quick on ed0 proto tcp from any to any
port = 25 keep state
#pass out quick on ed0 proto tcp from any to any
port = 110 keep state
#pass out quick on ed0 proto tcp from any to any
port = 80 keep state
# ...and then do the same for the remaining lines so
that you allow
# only specified protocols/ports 'out' of your network
#
pass out quick on ed0 proto tcp from any to any keep
state
pass out quick on ed0 proto udp from any to any keep
state
pass out quick on ed0 proto icmp from any to any keep
state
block out quick on ed0 all

#---
# Block all inbound traffic from non-routable or
reserved address spaces
#---
block in log quick on ed0 from 192.168.0.0/16 to any 
#RFC 1918 private IP
block in log quick on ed0 from 172.16.0.0/12 to any  
#RFC 1918 private IP
block in log quick on ed0 from 10.0.0.0/8 to any 
#RFC 1918 private IP
block in log quick on ed0 from 127.0.0.0/8 to any
#loopback
block in log quick on ed0 from 0.0.0.0/8 to any  
#loopback
block in log quick on ed0 from 169.254.0.0/16 to any 
#DHCP auto-config
block in log quick on ed0 from 192.0.2.0/24 to any   
#reserved for doc's
block in log quick on ed0 from 204.152.64.0/23 to any
#Sun cluster interconnect
block in quick on ed0 from 224.0.0.0/3 to any
#Class D  E multicast

#
# Allow bootp traffic in from your ISP's DHCP server
only. 
#
pass in quick on ed0 proto udp from X.X.X.X/32 to any
port = 68 keep state

#
# If you wanted to set up a web server or mail server
on your box
# (which is outside the scope of this howto), or allow
another system
# on the Internet to externally SSH into your
firewall, you'd want to 
# uncomment the following lines and modify as
appropriate. If you 
# have other services running that you need to allow
external access
# to, just add more lines using these as examples.
#
# If the services are on a box on your internal
network (rather than
# the firewall itself), you'll have to add both the
filter listed below,
# plus a redirect rule in your /etc/ipnat.rules file.
#
# pass in quick on ed0 proto tcp from any to any port
= 80 flags S keep state keep frags
# pass in quick on ed0 proto tcp from any to any port
= 25 flags S keep state keep frags
# pass in quick on ed0 proto tcp from X.X.X.X/32 to
any port = 22 flags S keep state keep frags

#
# Block and log all remaining traffic coming into the
firewall
# - Block TCP with a RST (to make it appear as if the
service 
# isn't listening)
# - Block UDP with an ICMP Port Unreachable (to make
it appear 
# as if the service isn't listening)
# - Block all remaining traffic the good 'ol fashioned
way
#
block return-rst in log quick on ed0 proto tcp from
any to any
block return-icmp-as-dest(port-unr) in log quick on
ed0 proto udp from any to any
block in log quick on ed0 all 

#

# Inside Interface 
#


#

# Allow out all TCP, UDP, and ICMP traffic  keep
state 
#

pass out quick on ed1 proto tcp from any to any keep
state 
pass out quick on ed1 proto udp from any to any keep
state 
pass out quick on ed1 proto icmp from any to any keep
state 
block out quick on ed1 all 

#
# Allow in all TCP, UDP, and ICMP traffic  keep state

#

pass in quick on ed1 proto tcp from any to any keep
state 
pass in quick on ed1 proto udp from any to any keep
state 
pass in quick on ed1 proto icmp from any to any keep
state 
block in 

Re: OOPS....Re: ipf - IPFILTER_DEFAULT_BLOCK ...This is not workingas predicted! Help?

2002-12-17 Thread Fernando Gleiser
On Wed, 18 Dec 2002, Keith Spencer wrote:

  sorry guys the copy paste mucked up on me...
 Here is the full rule set I am using...

But the questions I sent in my previous mail remain unanswered.
post the answers and maybe I can tell what's wrong.

#ifdef WILDGUESS

if you are using user ppp, the outside interface is tun0, *not* ed0
if that is the case, change ed0 into tun0 in the rules, reload
and tell me if that works

#endif

Fer


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



www/oops and print/teTeX don't build: new bison related?

2002-10-30 Thread Igor B. Bykhalo
Hi,
anyone tried to build www/oops or print/teTeX after update
of bison?

System:
goshik# uname -a
FreeBSD goshik.binep.ac.ru 4.7-STABLE FreeBSD 4.7-STABLE #10: Sun Oct 27 15:02:15 MSK 
2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GO  i386
goshik#


Both ports fail compilation when bison is invoked, e.g. teTeX:

gmake[3]: Entering directory `/usr/ports/print/teTeX/work/teTeX-1.0/texk/web2c/web2c'
Expect one shift/reduce conflict.
bison -y -d -v ./web2c.y
./web2c.y:139.18: parse error, unexpected :, expecting ; or |
gmake[3]: *** [y_tab.h] Error 1
gmake[3]: Leaving directory `/usr/ports/print/teTeX/work/teTeX-1.0/texk/web2c/web2c'
gmake[2]: *** [web2c/web2c] Error 2
gmake[2]: Leaving directory `/usr/ports/print/teTeX/work/teTeX-1.0/texk/web2c'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/print/teTeX/work/teTeX-1.0/texk'
gmake: *** [all] Error 1
*** Error code 2

Stop in /usr/ports/print/teTeX.

oops fails in parser.y, but with more warnings:

cc -c -O -pipe   -pthread -D_REENTRANT -DFREEBSD -D_THREAD_SAFE -DFD_SETSIZE 48 
-DWITH_LARGE_FILES -DHAVE_CONFIG_H  acl.c
bison -y -d parser.y
parser.y:94.11: parse error, unexpected :, expecting ; or |
[...repeated many times with other lines numbers...]
parser.y:1375.43-1391.25: $3 from `statements' doesn't have predefined type
parser.y:1375.43-1392.25: wrong $ value
parser.y:1375.43-1392.25: $4 from `statements' doesn't have predefined type
[...repeated many times...]
parser.y:1559.23-1562.9: $1 from `statements' doesn't have predefined type
parser.y:1569.9-1593.12: types conflict (`DOMAIN' `') on default action
parser.y:1593.14: parse error, unexpected :, expecting ; or |
parser.y:1594.26-1595.5: $1 from `domain' doesn't have predefined type
parser.y:1594.26-1595.16: $2 from `domain' doesn't have predefined type
parser.y:1594.26-1595.25: $1 from `domain' doesn't have predefined type
*** Error code 1

Stop in /usr/ports/www/oops/work/oops-1.5.22/src.
*** Error code 1

Stop in /usr/ports/www/oops/work/oops-1.5.22.
*** Error code 1

Stop in /usr/ports/www/oops.
*** Error code 1

Stop in /usr/ports/www/oops.

(Note: I'm using oops with gigabase)

I can send full build logs an additional info if requested. Can some kind
soul look at this ports, please? Both are maintained by [EMAIL PROTECTED] :(
I see some other bison-using ports were fixed...


TIA,
Igor


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



Re: Oops! rc.conf mistake

2002-10-23 Thread Jack L. Stone
At 09:28 AM 10.23.2002 +0200, Roger 'Rocky' Vetterberg wrote:
Steve Warwick wrote:
 Hey all, 
 
 I wonder if anyone can tell me how to get out of this stupid mistake.
 
 I edited rc.conf to add a virtual interface and left a quote off the end
 (unterminated string) - now I cannot get past mounting root, so no editors.
 And before you ask, no, I did not backup rc.conf... I told you it was
 stupid.
 
 BTW: I noticed that ad0 is limited to UDMA33 - I have UDMA133 motherboard
 and drive so, I this really true?
 
 
 TIA, 
 
 Steve
 
Since other have answered the rc.conf question, I give the limited to 
UDMA33 a shot.
Are you using a UDMA133 cable? I cant recall the UDMA133 specs, but I 
know UDMA66 and 100 use a different cable then UDMA33. UDMA133 might 
use the same cable as 66 and 100, but Im certain a 33 cable would 
force the drive to be UDMA33 only, even if both drive and controller 
is capable of UDMA133.
It might also be a BIOS issue, check your settings.

--
R


I have noticed that some CD-ROM drives will make the system think it is on
a non-compliant cable or UDMA33. For instance, this from dmesg on one
machine with an older CD_ROM drive.

ata1-master: DMA limited to UDMA33, non-ATA66 compliant cable If I change
to a newer CD player, it's okay.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: Oops! rc.conf mistake

2002-10-23 Thread Jim Durham
Jack L. Stone wrote:

At 09:28 AM 10.23.2002 +0200, Roger 'Rocky' Vetterberg wrote:


Steve Warwick wrote:


Hey all, 

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

I edited rc.conf to add a virtual interface and left a quote off the end
(unterminated string) - now I cannot get past mounting root, so no editors.
And before you ask, no, I did not backup rc.conf... I told you it was
stupid.

BTW: I noticed that ad0 is limited to UDMA33 - I have UDMA133 motherboard
and drive so, I this really true?


TIA, 

Steve


Since other have answered the rc.conf question, I give the limited to 
UDMA33 a shot.
Are you using a UDMA133 cable? I cant recall the UDMA133 specs, but I 
know UDMA66 and 100 use a different cable then UDMA33. UDMA133 might 
use the same cable as 66 and 100, but Im certain a 33 cable would 
force the drive to be UDMA33 only, even if both drive and controller 
is capable of UDMA133.
It might also be a BIOS issue, check your settings.

--
R



I have noticed that some CD-ROM drives will make the system think it is on
a non-compliant cable or UDMA33. For instance, this from dmesg on one
machine with an older CD_ROM drive.

ata1-master: DMA limited to UDMA33, non-ATA66 compliant cable If I change
to a newer CD player, it's okay.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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


This may sound wierd, but I had this problem when I had the hard
drives on the 2nd IDE interface and the CD on the 1st IDE interface.
Reversing the cables and changing /etc/fstab fixed the problem.
This was on an A-Open motherboard.

-Jim



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



Re: Oops! rc.conf mistake

2002-10-23 Thread Jack L. Stone
At 11:09 AM 10.23.2002 -0400, Jim Durham wrote:
Jack L. Stone wrote:
 At 09:28 AM 10.23.2002 +0200, Roger 'Rocky' Vetterberg wrote:
 
Steve Warwick wrote:

Hey all, 

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

I edited rc.conf to add a virtual interface and left a quote off the end
(unterminated string) - now I cannot get past mounting root, so no
editors.
And before you ask, no, I did not backup rc.conf... I told you it was
stupid.

BTW: I noticed that ad0 is limited to UDMA33 - I have UDMA133
motherboard
and drive so, I this really true?


TIA, 

Steve


Since other have answered the rc.conf question, I give the limited to 
UDMA33 a shot.
Are you using a UDMA133 cable? I cant recall the UDMA133 specs, but I 
know UDMA66 and 100 use a different cable then UDMA33. UDMA133 might 
use the same cable as 66 and 100, but Im certain a 33 cable would 
force the drive to be UDMA33 only, even if both drive and controller 
is capable of UDMA133.
It might also be a BIOS issue, check your settings.

--
R

 
 
 I have noticed that some CD-ROM drives will make the system think it is on
 a non-compliant cable or UDMA33. For instance, this from dmesg on one
 machine with an older CD_ROM drive.
 
 ata1-master: DMA limited to UDMA33, non-ATA66 compliant cable If I change
 to a newer CD player, it's okay.
 
 Best regards,
 Jack L. Stone,
 Administrator
 
 SageOne Net
 http://www.sage-one.net
 [EMAIL PROTECTED]
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

This may sound wierd, but I had this problem when I had the hard
drives on the 2nd IDE interface and the CD on the 1st IDE interface.
Reversing the cables and changing /etc/fstab fixed the problem.
This was on an A-Open motherboard.

-Jim

That IS wierd! Usually the problem is limited to being on the same
cable.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: Oops! rc.conf mistake

2002-10-23 Thread Jim Durham
On Wednesday 23 October 2002 11:27 am, Jack L. Stone wrote:
 At 11:09 AM 10.23.2002 -0400, Jim Durham wrote:
 Jack L. Stone wrote:
  At 09:28 AM 10.23.2002 +0200, Roger 'Rocky' Vetterberg wrote:
 Steve Warwick wrote:
 Hey all,
 
 I wonder if anyone can tell me how to get out of this stupid mistake.
 
 I edited rc.conf to add a virtual interface and left a quote off the
  end (unterminated string) - now I cannot get past mounting root, so no

 editors.

 And before you ask, no, I did not backup rc.conf... I told you it was
 stupid.
 
 BTW: I noticed that ad0 is limited to UDMA33 - I have UDMA133

 motherboard

 and drive so, I this really true?
 
 
 TIA,
 
 Steve
 
 Since other have answered the rc.conf question, I give the limited to
 UDMA33 a shot.
 Are you using a UDMA133 cable? I cant recall the UDMA133 specs, but I
 know UDMA66 and 100 use a different cable then UDMA33. UDMA133 might
 use the same cable as 66 and 100, but Im certain a 33 cable would
 force the drive to be UDMA33 only, even if both drive and controller
 is capable of UDMA133.
 It might also be a BIOS issue, check your settings.
 
 --
 R
 
  I have noticed that some CD-ROM drives will make the system think it is
  on a non-compliant cable or UDMA33. For instance, this from dmesg on one
  machine with an older CD_ROM drive.
 
  ata1-master: DMA limited to UDMA33, non-ATA66 compliant cable If I
  change to a newer CD player, it's okay.
 
  Best regards,
  Jack L. Stone,
  Administrator
 
  SageOne Net
  http://www.sage-one.net
  [EMAIL PROTECTED]
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 
 This may sound wierd, but I had this problem when I had the hard
 drives on the 2nd IDE interface and the CD on the 1st IDE interface.
 Reversing the cables and changing /etc/fstab fixed the problem.
 This was on an A-Open motherboard.
 
 -Jim

 That IS wierd! Usually the problem is limited to being on the same
 cable.

You bet!  I originally made a mistake identifying the IDE connectors, and
I put the hard drives on connector 2 and the CD on connector 1. I saw
this when I ran sysintall, but I had put a zillion screws in the box and
I said, FreeBSD doesn't care...so I'll leave it and I installed it that way.
Same message you got...ad4 limited to 33mhz, etc. So, I took the box
apart, changed cables (although I already had 80 conductor cables on
it) and tried various sysctl options. All no go. Finally, I thought since I 
had the box open now, I'd make the cables right and fix /etc/fstab.
Voila! Now the drives report 133 on boot.  Go figure...

-Jim


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



Re: Oops! rc.conf mistake

2002-10-23 Thread Roger 'Rocky' Vetterberg
Steve Warwick wrote:

Hey all, 

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

I edited rc.conf to add a virtual interface and left a quote off the end
(unterminated string) - now I cannot get past mounting root, so no editors.
And before you ask, no, I did not backup rc.conf... I told you it was
stupid.

BTW: I noticed that ad0 is limited to UDMA33 - I have UDMA133 motherboard
and drive so, I this really true?


TIA, 

Steve

Since other have answered the rc.conf question, I give the limited to 
UDMA33 a shot.
Are you using a UDMA133 cable? I cant recall the UDMA133 specs, but I 
know UDMA66 and 100 use a different cable then UDMA33. UDMA133 might 
use the same cable as 66 and 100, but Im certain a 33 cable would 
force the drive to be UDMA33 only, even if both drive and controller 
is capable of UDMA133.
It might also be a BIOS issue, check your settings.

--
R




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


Re: Oops! rc.conf mistake

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

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

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

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

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

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

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