PPP and resolv.conf

2007-04-17 Thread Ansar Mohammed
How can I stop ppp from modifying my /etc/resolv.conf?
Everytime I establish a pppoe session, my resolv.conf file gets reconfigured
to my ISPs DNS Servers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PPP and resolv.conf

2007-04-17 Thread Daniel Marsh

On 4/17/07, Ansar Mohammed [EMAIL PROTECTED] wrote:


How can I stop ppp from modifying my /etc/resolv.conf?
Everytime I establish a pppoe session, my resolv.conf file gets
reconfigured
to my ISPs DNS Servers.



You could make resolv.conf to what you want it to be and then do: chflags
schg /etc/resolv.conf

That will stop anything from modifying it, if you're in securelevel 1 or
more you can't take schg off, you need to reboot into securelevel 0.

Other than that, check the ppp man page for an option...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: New kernel and jail

2007-04-17 Thread Vladimir
OP On Fri, Apr 13, 2007 at 09:36:20AM +0400, Vladimir wrote:
 Hi all.

OP Hi Vladimir,
 
 I have FreeBSD 5.4 installed. There is a working jail. 
 I am trying to rebuild a kernel to enable quota support. Therefore
 i?ve added options QUOTA to config file (all other options
 are from GENERIC). When booting with this new kernel jail does not
 start. When i issue at the command prompt:
 jail /opt/jails/www.myhost.ru/ www.myhost.ru xxx.xxx.xxx.xxx /bin/sh
 i get:
 jail: jail: Invalid argument  
 
 There is no messages in log files regarding jail.
 After rebooting with old kernel everything is normal.

OP I can not say much about your problem - but 5.4 is a little bit
OP outdated. Is it possible for you to make an update to a newer release?
OP 6.2 would be a good deal.
OP There are very cute rc-scripts to start/restart/stop your jail(s), too.

No, it is not possible :(

Do i need to perform any actions with the jail when upgrading a kernel
or the jail must work without any changes?
Is there some sort of a Howto about this?

-- 
Regards,
 Vladimir

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


Re: lost password caused by drunk admin

2007-04-17 Thread Ghirai
Hello Lewis,

Tuesday, April 17, 2007, 4:59:40 AM, you wrote:

 Hello FreeBSD List,

 Ok I made a huge mistake (insert laugh here because I know you will).
 I was working late at home and had more then a few drinks... A lot  
 more. I was working with a PAP2-NA (Analog to VoIP adapter (ATA)) and
 I changed the password. The password that was programed into the unit
 from my service provider was a randomly generated password and I was  
 messing with a lot of the settings and needed to keep logging in. So  
 I changed it to make my life easier.

 So any way I changed the password and now it appears I didn't change  
 the password to what I had thought I had. The password was a short 4  
 digit number. Like I said I just wanted to make my life easier while  
 I was messing around with it. Now I am locked out of the unit and  
 TOTALY SOL. My phones don't work at the house because the think has  
 been set incorrectly.

 I don't know how to crack passwords or even where to start. Is there  
 some kind of script or application I can run on my FreeBSD system to  
 try every combination of numbers from 0 - .

 It is possible I may have fat fingered the number so it could be 6 or
 7 digits instead of the 4 I intended. I don't know. I tried every  
 variation I can think of and even got drunk again hoping to recreate  
 the stupid mistake.

 I have totally messed that one up. I would have had to type it twice  
 which just goes to show you should not work on your junk while drunk.

 Can anyone help me out? The unit has no reset buttons to reset it to  
 defaults there is nothing online that I can find to bypass the unit.  
 I did a port scan and it appears to only be listening on port 80. Any
 thoughts out there? Please.

 Thanks and I hope I made someone laugh with my mistake because I know
 all my friends are.

 Thanks.

How/over what protocol do you get to wherever it asks for the password?

-- 
Best regards,
Ghirai.

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


Re: GUI to ports collection on FBSD?

2007-04-17 Thread Ivan Carey

[EMAIL PROTECTED] wrote:

On Mon, 16 Apr 2007, Joe Vender wrote:


Hi,
Is there a GUI interface to the FreeBSD
ports collection for use in kde similar to synaptic or adept?

Joe Vender


That's coming soon. I'd check out the FreeBSD SoC page; Andrew, the 
developer's listed at the top of the page: 
http://code.google.com/soc/freebsd/about.html.


-Garrett

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


.


I mainly use PIB and there is kpackage and webmin

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


Re: PPP and resolv.conf

2007-04-17 Thread Ivan Carey

Daniel Marsh wrote:

On 4/17/07, Ansar Mohammed [EMAIL PROTECTED] wrote:


How can I stop ppp from modifying my /etc/resolv.conf?
Everytime I establish a pppoe session, my resolv.conf file gets
reconfigured
to my ISPs DNS Servers.



You could make resolv.conf to what you want it to be and then do: chflags
schg /etc/resolv.conf

That will stop anything from modifying it, if you're in securelevel 1 or
more you can't take schg off, you need to reboot into securelevel 0.

Other than that, check the ppp man page for an option...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


.

do you have enable dns in your ppp.conf file? I had the same thing and 
commented the enable dns to resolve


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


Re: GUI to ports collection on FBSD?

2007-04-17 Thread Peter Ankerstål

[EMAIL PROTECTED] wrote:

On Mon, 16 Apr 2007, Joe Vender wrote:


Hi,
Is there a GUI interface to the FreeBSD
ports collection for use in kde similar to synaptic or adept?

Joe Vender


That's coming soon. I'd check out the FreeBSD SoC page; Andrew, the 
developer's listed at the top of the page: 
http://code.google.com/soc/freebsd/about.html.


But is this really a tool for the ports collection?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tproxy on freebsd

2007-04-17 Thread Chris Slothouber

zen wrote:

hi,
i know it seem out of topic,
i recently build a proxy server to serve our small ISP,
but i'm facing a big problem. as far as i know FreeBSD didn't support 
TPROXY like linux had.
but i need to build this proxy transparently so only my client ips that 
visible when browsing.

i use ipnat and ipf with Squid latest stable release.
does anyone has experience building a true transparent proxy with FreeBSD?
please share the knowledge and the regarding this problems.


Hello Zen,

Perhaps you might have some luck with the walkthrough listed here:

http://tomclegg.net/squid-tproxy

I found this by searching Google for TPROXY freebsd.  I hope this helps!

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


Re: GUI to ports collection on FBSD?

2007-04-17 Thread Abdullah Ibn Hamad Al-Marri

Go for Kports.

http://www.freshports.org/ports-mgmt/kports/


--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re[2]: New kernel and jail

2007-04-17 Thread Oliver Peter
On Tue, Apr 17, 2007 at 10:51:41AM +0400, Vladimir wrote:
 OP On Fri, Apr 13, 2007 at 09:36:20AM +0400, Vladimir wrote:
  Hi all.
 
 OP Hi Vladimir,
  
  I have FreeBSD 5.4 installed. There is a working jail. 
  I am trying to rebuild a kernel to enable quota support. Therefore
  i?ve added options QUOTA to config file (all other options
  are from GENERIC). When booting with this new kernel jail does not
  start. When i issue at the command prompt:
  jail /opt/jails/www.myhost.ru/ www.myhost.ru xxx.xxx.xxx.xxx /bin/sh
  i get:
  jail: jail: Invalid argument  
  
  There is no messages in log files regarding jail.
  After rebooting with old kernel everything is normal.
 
 OP I can not say much about your problem - but 5.4 is a little bit
 OP outdated. Is it possible for you to make an update to a newer release?
 OP 6.2 would be a good deal.
 OP There are very cute rc-scripts to start/restart/stop your jail(s), too.
 
 No, it is not possible :(
 
 Do i need to perform any actions with the jail when upgrading a kernel
 or the jail must work without any changes?

I think it depends on the changes you made to your kernel.
Usually it works without any problems for me.

I have no jails right here to check out QUOTA and jail under
6.2-RELEASE-p3 but maybe anotherone can help us there.

PS: Why it is not possible for you to make an update? :)

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgp3X2swa1Xkx.pgp
Description: PGP signature


PPP and resolv.conf

2007-04-17 Thread Richard Simmonds
 
How can I stop ppp from modifying my /etc/resolv.conf?
Everytime I establish a pppoe session, my resolv.conf file gets
reconfigured to my ISPs DNS Servers.

It's dhclient, not ppp that's modding the file. Adding this to your
dhclient.conf file will fix the problem

interface dc0 {
prepend domain-name-servers 192.168.0.10;
request subnet-mask, broadcast-address, routers, domain-name-servers;
}

you will need to change the interface name and provide the actual dns server
address to match your configuration

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


keeping all things up to date

2007-04-17 Thread Michael Grant

Is there some sort of automated way to keep freebsd and all the
installed ports/packages up to date automatically?

I don't mean just the source, that part is easy.  I mean something
that actually reinstalls the things ad needed, sort of like windows
update or the updater on ubuntu.

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


Re: tproxy on freebsd

2007-04-17 Thread Chris Slothouber

zen wrote:

Chris Slothouber wrote:


zen wrote:


hi,
i know it seem out of topic,
i recently build a proxy server to serve our small ISP,
but i'm facing a big problem. as far as i know FreeBSD didn't support 
TPROXY like linux had.
but i need to build this proxy transparently so only my client ips 
that visible when browsing.

i use ipnat and ipf with Squid latest stable release.
does anyone has experience building a true transparent proxy with 
FreeBSD?

please share the knowledge and the regarding this problems.



Hello Zen,

Perhaps you might have some luck with the walkthrough listed here:

http://tomclegg.net/squid-tproxy





thanks Chris ,
but it didnt solve my problem here,
with that configuration still my proxy ip that visible.


If you send your kernel, firewall, and squid configuration files, I will 
see what is happening.


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


[Fwd: Re: I like Ubuntu]

2007-04-17 Thread Alex Zbyslaw

Forwarded on behalf of Chad Perrin [EMAIL PROTECTED]:

On Mon, Apr 16, 2007 at 10:29:43AM +0100, Alex Zbyslaw wrote:
How does apt-get compare to something like yum/up2date on FC/RHEL?  I.e. 
is there something that makes apt-get better?


It uses a package format that requires more information about the
software (that's a good thing), it's faster, and the command line tools
provide more comprehensive functionality.  The rest of the benefits of
using APT over using YUM that come to mind for me are related to the
fact that I've mostly used APT with Debian, and are distro-specific
benefits, not benefits of the package manager itself.

I haven't used up2date at all, so I really can't comment.  I imagine it
is to YUM as aptitude is to APT.  I prefer APT over aptitude and, based
on what I've heard about up2date from people who have used it, I gather
I'd prefer YUM over up2date.  Aptitude seems to be designed to be more
user friendly than APT itself, and ultimately ends up just being a
reshuffled deck of defaults all tied together through a single command,
reducing the fine-tuned scriptability of APT.  Some people like it, but
a couple years ago when the Debian maintainers were talking about
phasing out APT entirely in favor of aptitude, they apparently got
enough complaints that they reversed that decision.  Now, you have both
APT and aptitude.

APT also has a few GUI front ends.  From what I've seen, Synaptic seems
to be the most stable and complete, and it's pretty nice (as far as GUI
software managers are concerned).  I hear there's a GUI front end to
up2date as well, but I don't know of anyone that actually uses (and
recommends) the thing.



My main issue with all the RedHat OSes is that you are effectively stuck 
with whatever version of packages was combined to make a particular 
release.  So if the machine you have came with say postfix 2.0, your 
stuck with that for the lifetime of the OS.  If you suddenly have a need 
for 2.2, you can try using src rpms, but somehow they never seem to be 
available for your particular OS version, and whether the ones for a 
later OS version compile or not is hit-and-miss.  Sure, it's dead easy 
to yum update say postfix 2.0 to postfix 2.0+some security fix, but 
that's just not enough for me.


The APT system allows pinning, where you can set preferences to use
a given version of a package or to use a specific release branch's
version no matter what version number that is at any given time.  At any
moment, there are at minimum four supported release branches of Debian.
Additionally, you can create your own packages or add third-party
archives to your sources.list file to allow you to select yet another
package version from outside the official release branches.

None of these options are quite as flexible as the FreeBSD ports system
for choosing specific software versions, and from what I've seen it
seems that the really mature binary package systems are more brittle, in
that deviation from expected use of provided packages can cause breakage
more easily than a source-based system like the FreeBSD ports tree.

(There.  I'm on-topic again.)




I resent having to upgrade the OS to get up-to-date packages that have 
no specific relationship to anything I understand as the OS.  That's 
especially a problem for ISP-rented servers, where upgrading the OS is a 
matter of having to get a new server, or taking your life in your hands 
and trying a yum update of the OS.  But even for a desktop, it's 
just far more work than I believe should be required.


FreeBSD ports/packages are not perfect, but at least I can update 
third-party software without upgrading the OS.


Debian Testing and Unstable release branches provide a smooth, gradual
upgrade path so that you don't need to do a complete system reinstall or
upgrade to get updated packages.  Of course, your packages do still get
upgraded on their schedule, not on yours, but certain packages never
upgrade automatically -- like the kernel.  You can upgrade your kernel
version easily, though, if you wish to do so (using an apt-get install
command).  My understanding is that most of the Debian-derived distros
other than Debian itself have strayed from that policy, however, and to
get the benefits of the software versions shipped with the new OS
releases you are expected to upgrade the entire system.  It's probably
easier to get around that with APT-based distributions, simply by adding
archives to your sources.list file and setting preferences appropriately
to pin specific packages to specific release versions, and gradually
pin more and more packages to whatever version you want, but that can
become quite a bit of work if that's how you want to handle it.

Hopefully that helps answer some of your questions.  Overall, I find the
FreeBSD ports system to be more flexible, but an acceptable runner-up
for purposes of binary package-based OSes in my opinion is Debian.

--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
A 

Re: problems with Engelschall upgrade toolkit

2007-04-17 Thread Christoph Schug
On Mon, Apr 16, 2007, Charlie McElfresh wrote:

 Have you tried to go with a clean /var/tmp/temproot by typing 'd' for
 delete?
 
 
 Yes, I tried all the options, and they all failed.  Here is the output when
 I try d
 
   *** Deleting the old /var/tmp/temproot
 
 *** Creating the temporary root environment in /var/tmp/temproot
 *** /var/tmp/temproot ready for use
 *** Creating and populating directory structure in /var/tmp/temproot
 
 mtree -eU  -f /usr/src/etc/mtree/BSD.root.dist -p /var/tmp/temproot/
 ./bin missing (created)
 ./boot missing (created)
[...]
 ./usr missing (created)
 ./var missing (created)
 mtree -eU  -f /usr/src/etc/mtree/BSD.var.dist -p /var/tmp/temproot/var
 mtree: line 19: unknown group audit
 *** Error code 1
[...]

Your system is missing the audit group which has been added to FreeBSD
some time ago. Please proceed as I adviced in my first mail and run
'mergemaster -p' first. Then rebuild your system again as your current
build is very likely to be incomplete.

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


Re: keeping all things up to date

2007-04-17 Thread Chad Perrin
On Tue, Apr 17, 2007 at 10:12:31AM +0200, Michael Grant wrote:
 Is there some sort of automated way to keep freebsd and all the
 installed ports/packages up to date automatically?
 
 I don't mean just the source, that part is easy.  I mean something
 that actually reinstalls the things ad needed, sort of like windows
 update or the updater on ubuntu.

Have you used MS Windows much -- enough to notice that often a patch can
break something?  Now imagine that Windows Update also has to handle a
bunch of third-party applications.  Imagine that a bunch is roughly
equal to 15,000.  Realize that, without direct control over the
development of all those additional applications, the chance of a patch
to any one of them causing more problems than it fixes is increased.

Of course, FreeBSD is managed in a much more sane fashion, but the
increased chance of problems does exist in such circumstances.  There
are ways to try to minimize that, however.  The one FreeBSD seems to
take, as a project, is to do the very best job possible fixing every
potential problem that comes up in a reasonable amount of time, and
telling us about the things that can't just be magically fixed that
quickly in the /usr/ports/UPDATING file.

That means, unfortunately, that you have to pay attention to what's
going on when updating software.  Automating the process is likely to
cause problems by circumventing the last line of defense against system
instability -- you (and me and all the rest of us that actually use the
system).  In other words, completely automating the process is probably
inadvisable.

On the other hand, the above is all assumption and conjecture on my
part, so any or all of it could easily be incorrect.  If someone else
here disputes my guesstimation of the situation, (s)he is probably
right.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
The measure of a man's real character is what he would do
if he knew he would never be found out. - Thomas McCauley
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: keeping all things up to date

2007-04-17 Thread Christian Walther

On 17/04/07, Chad Perrin [EMAIL PROTECTED] wrote:

On Tue, Apr 17, 2007 at 10:12:31AM +0200, Michael Grant wrote:
 Is there some sort of automated way to keep freebsd and all the
 installed ports/packages up to date automatically?

 I don't mean just the source, that part is easy.  I mean something
 that actually reinstalls the things ad needed, sort of like windows
 update or the updater on ubuntu.

Have you used MS Windows much -- enough to notice that often a patch can
break something?  Now imagine that Windows Update also has to handle a
bunch of third-party applications.  Imagine that a bunch is roughly
equal to 15,000.  Realize that, without direct control over the
development of all those additional applications, the chance of a patch
to any one of them causing more problems than it fixes is increased.

Of course, FreeBSD is managed in a much more sane fashion, but the
increased chance of problems does exist in such circumstances.  There
are ways to try to minimize that, however.  The one FreeBSD seems to
take, as a project, is to do the very best job possible fixing every
potential problem that comes up in a reasonable amount of time, and
telling us about the things that can't just be magically fixed that
quickly in the /usr/ports/UPDATING file.


[...]
Just as an example that just came up recently: gettext was updated in
the ports tree, which required a rebuild of all ports that depend on
it. I missed reading /usr/ports/UPDATING before, so I didn't notice
this fact. I did an update on my girlfriends laptop which resulted in
several applications not being usable anymore. Imagine my face as I
had to explain to her why she was unable to use her machine for one
and a half day.
Another lesson learned...

That's why I agree to Chad: Doing automatic updates isn't advisable.
They might even come at the wrong time, e.g. when you need your system
resources. I'm thinking about monsters like OpenOffice, GNOME or KDE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Terabyte harddisks, GELI, AMD64, Samba and Zen...

2007-04-17 Thread Solon Luigi Lutz
CS Solon Luigi Lutz wrote:
 after some troubleshooting and some hours of memory tests, it
 finaly seems to be a hardware problem...
 The machine is based on an ASUS M2N4-SLI (Nforce4) and since the
 heat-sink on the north/southbridge is rather small and passive,
 the chip seems to get too hot. I manufactured a massive one from
 a IGBT heat-sink and since 20 hours the machine is doing ftp-transfers
 without any reboots - I keep my fingers crossed...

CS I have had similar reboot issues with this board, especially when 
CS sustaining high levels of i/o traffic.  Active cooling for chipset seems
CS to help a lot.

CS - Chris Slothouber

Cooling seems to be the point - 36 hours without reboots. Previously
you burn your fingers on the heat-sink, now it has surface temperature
of 28C.
As I havn't put any effort in that field; can you recommend a way of
monitoring the temperature? Healthd? Kernel option?

Solon



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


Re: Terabyte harddisks, GELI, AMD64, Samba and Zen...

2007-04-17 Thread Ivan Voras

Solon Luigi Lutz wrote:

Hi again,

after some troubleshooting and some hours of memory tests, it
finaly seems to be a hardware problem...
The machine is based on an ASUS M2N4-SLI (Nforce4) and since the
heat-sink on the north/southbridge is rather small and passive,
the chip seems to get too hot. I manufactured a massive one from
a IGBT heat-sink and since 20 hours the machine is doing ftp-transfers
without any reboots - I keep my fingers crossed...


Glad you've solved it. Did memtest discover this particular problem for 
you or did you have to diagnose it some other way?



BTW a fsck_ufs -y -f /dev/da0.eli without sofupdates on this 10 TB
volume takes only 3 hours to complete.


Is the file system mostly empty? (i.e. how many % of inodes have been 
used - see df -i)?




signature.asc
Description: OpenPGP digital signature


Re[3]: Terabyte harddisks, GELI, AMD64, Samba and Zen...

2007-04-17 Thread Solon Luigi Lutz
Hello Ivan,

Tuesday, April 17, 2007, 12:16:04 PM, you wrote:

IV Solon Luigi Lutz wrote:
 Hi again,
 
 after some troubleshooting and some hours of memory tests, it
 finaly seems to be a hardware problem...
 The machine is based on an ASUS M2N4-SLI (Nforce4) and since the
 heat-sink on the north/southbridge is rather small and passive,
 the chip seems to get too hot. I manufactured a massive one from
 a IGBT heat-sink and since 20 hours the machine is doing ftp-transfers
 without any reboots - I keep my fingers crossed...

IV Glad you've solved it. Did memtest discover this particular problem for
IV you or did you have to diagnose it some other way?

I burnt my fingers on the heat-sink of the nforce4
north/southbridge/mcp-chip and decided it was too hot ;-)

 BTW a fsck_ufs -y -f /dev/da0.eli without sofupdates on this 10 TB
 volume takes only 3 hours to complete.

IV Is the file system mostly empty? (i.e. how many % of inodes have been
IV used - see df -i)?

Filesystem   1K-blocks Used  Avail Capacity iused ifree %iused  
Mounted on
/dev/da0.eli 10657598008 5464985376 434000479256%  139261 3358775690%   
/mnt

Not very many inodes used.

But I rejoiced too early, just as I'm writing this e-mail I started a
python-script and my files were gone again partialy:

radium# cd /mnt/temporary/
radium# cfv *
[output deleted]
radium# ls -1 | wc -l
311
radium# cd
radium# umount /mnt
radium# mount /dev/da0.eli /mnt
radium# cd /mnt/temporary/
radium# ls -1 | wc -l
3887

AARGH!

And this seems to be rather random behaviour...


 Solon



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


Re: keeping all things up to date

2007-04-17 Thread Roland Smith
On Tue, Apr 17, 2007 at 10:12:31AM +0200, Michael Grant wrote:
 Is there some sort of automated way to keep freebsd and all the
 installed ports/packages up to date automatically?
 
 I don't mean just the source, that part is easy.  I mean something
 that actually reinstalls the things ad needed, sort of like windows
 update or the updater on ubuntu.

Well, almost.

For ports I'd advise portmaster. All in all it works well, but you have
to keep reading /usr/ports/UPDATING. And since some ports configuration values
can't be handled by the options framework, you've got to put them in
/etc/make.conf if you want to automate things.

Rebuilding the kernel + world is relatively easy and well documented in
the handbook, but the mergemaster(8) step requires a human looking at
which config files to update or to leave alone.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpFZKbWc6jMu.pgp
Description: PGP signature


error in find on daily output disk clean

2007-04-17 Thread Dave

Hello,
   One of my periodic.conf checks is running the daily disk cleaner. When 
it uses find it is looking in my jail area, which has device files and other 
virtual items that are not existing. I am getting output from find in the 
output to that effect. I'd like to tell find in that script not to look in 
my jail area, to exclude it.

Thanks.
Dave.

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


Re: [Fwd: Re: I like Ubuntu]

2007-04-17 Thread n j

Hopefully that helps answer some of your questions.  Overall, I find the
FreeBSD ports system to be more flexible, but an acceptable runner-up
for purposes of binary package-based OSes in my opinion is Debian.


Just to add my .02$ to this topic, speaking from a perspective of a
FreeBSD lover in a company which prefers Debian, I must say that, even
though I administer a couple of FreeBSD boxes, I sometimes envy my
fellow Debian admins who manage tens of Debian boxes with a really
quick apt-get upgrade (or whatever the command) to fix a hole or apply
a patch vs. updating the source tree and making world on FreeBSD (not
to mention mergemaster which is a nightmare and the build process
which lasts for hours if not days). I'm quite frightened by the effort
I would have to invest to get the same effect administering a large
number of FreeBSD boxes.

Mind you, I'm not actually talking about the ports tree; given one of
the portupgrade/portmanager/portmaster tools, I usually find my way
through upgrading ports via source to be rather simple. On the other
hand, on Debian there is a price for simplicity, stable still ships
with really old 3rd party apps like Mysql 4.0, Apache 1.3, PHP 4.3...

To conclude my rantings, I really appreciate the effort behind binary
updates and freebsd-update project. Colin is doing a great job and by
using portsnap and/or freebsd-update, FreeBSD is slowly overcoming the
complicated upgrade process which combined with good ports tree and
above mentioned portupgrading toolset and portaudit makes for an
outstanding OS.

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


Re: Is FTP install broken?

2007-04-17 Thread Brian A. Seklecki
You probably want to specify debugging flags for the fetch(1) or ftp(1)
commands in sysinstall to see what the heck commands its trying to
execute.  they should get spit out on the emergency tty.

~~BAS


On Tue, 2007-04-17 at 04:51 -0700, Philip J. Koenig wrote:
 I am booting from the 200703 snapshot i386 bootdisk-only ISO image.
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Problem with freebsd-update

2007-04-17 Thread Dmitry
Hello freebsd-questions,

  I need to update mpd4 binary package via freebsd-update. After
  installing FreeBSD 6.2 RELEASE I have mpd4-4.0b4.

  Settings in /etc/freebsd-update.conf:
  Components src world kernel

  After running commands freebsd-update fetch, then freebsd-update
  install I still have the same mpd4-4.0b4 version.

  I saw in http://www.freebsd.org/cgi/ports.cgi?query=mpdstype=all
  that the last version is mpd-4.1 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/mpd-4.1.tbz

  How can I upgrade to the last packages versions with freebsd-update?
-- 

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


Re: keeping all things up to date

2007-04-17 Thread Michael Grant

Just as an example that just came up recently: gettext was updated in
the ports tree, which required a rebuild of all ports that depend on
it. I missed reading /usr/ports/UPDATING before, so I didn't notice
this fact. I did an update on my girlfriends laptop which resulted in
several applications not being usable anymore. Imagine my face as I
had to explain to her why she was unable to use her machine for one
and a half day.
Another lesson learned...

That's why I agree to Chad: Doing automatic updates isn't advisable.
They might even come at the wrong time, e.g. when you need your system
resources. I'm thinking about monsters like OpenOffice, GNOME or KDE.


Wait, before this gets out of hand, yes, I've been bitten with gettext
more than once over the years.  Mostly I'm worried about bug fixes in
the OS and in the ports I've installed.  I'm not talking about massive
upgrade from one version of the OS to another.

What would be nice to see is some script that would sort out
dependencies and update things sanely.

I think we're all guilty at some point of not having read UPDATING and
updating something.It would be nice if there was something could
watch out for certain conditions and then print out the relevant
section from UPDATING on the screen.

Those are just some obvious ideas.  However, there are unix systems,
for example Ubuntu, which has a sort of package manager that handles
automated updates that sorts out dependencies.  I was just wondering
if anyone had done anything like that for FreeBSD?

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


Is FTP install broken?

2007-04-17 Thread Philip J. Koenig

For probably the 2nd time in history for me, I am trying an FTP 
install.  It's been a good while since I've done a FBSD install, and 
I assumed things had gotten more polished since 4.x..

I'm trying to install the 200703 snapshot of 6.2-STABLE, and no 
matter what server I select, no matter what variant I try of various 
length paths specified in a custom URL to a server that I *know* has 
the files (ftp.freebsd.org), I get the following message:

Warning: Can't find the '6.2-STABLE-200703' distribution on this
FTP server.  You may need to visit a different server for
the release you are trying to fetch or go to the Options
menu and to (sic) set the release name to explicitly match what's
available on ftp.freebsd.org (or set to any).
 
Would you like to select another FTP server?


I am booting from the 200703 snapshot i386 bootdisk-only ISO image.

TIA,

Phil


-- 
Philip J. Koenig   
[EMAIL PROTECTED]
Electric Kahuna Systems -- Computers  Communications for the New 
Millenium


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


setting up ntp on 6.2 with jailed hosts

2007-04-17 Thread Dave

Hello,
   I've got a 6.2 box that i'm running several jails on. I'm trying to get 
ntpd going so the box can sync it's time with the local lan ntp server. In 
the host system's rc.conf i have:


ntpd_enable=YES
ntpd_sync_on_start=YES

That second line from my understanding takes away the need to run ntpdate? 
Ntpd does start, but i'm getting the below errors i'm wondering if this is a 
firewall issue or a reaction to running ntp on a host system with jails or 
another problem?

Thanks.
Dave.

Apr 17 09:55:02 zeus ntpd[65236]: ntpd 4.2.0-a Sun Apr  1 21:07:28 EDT 2007 
(1)
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
0.0.0.0, in_classd=0 flags=8 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 28, port 123, addr ::, 
in6_is_addr_multicast=0 flags=0 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
192.168.0.3, in_classd=0 flags=8 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
192.168.0.200, in_classd=0 flags=8 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 28, port 123, addr 
fe80:2::1, in6_is_addr_multicast=0 flags=0 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 28, port 123, addr 
::1, in6_is_addr_multicast=0 flags=0 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
127.0.0.1, in_classd=0 flags=0 fails: Address already in use

Apr 17 09:55:03 zeus ntpd[65236]: sendto(192.168.0.254): Bad file descriptor
Apr 17 09:56:07 zeus ntpd[65236]: sendto(192.168.0.254): Bad file descriptor

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


Re: Execute command upon interface initialization?

2007-04-17 Thread Roland Smith
On Tue, Apr 17, 2007 at 06:02:25PM +0300, Ido Admon wrote:
 Hello list,
 I couldn't find any way to execute an arbitrary command upon network
 interface initialization. My situations is that I have and ethernet card
 that takes DHCP from a cables provider (not a fixed IP address) and I
 need to update a DynDNS hostname everytime it does (everytime the IP
 changes).
 I couldn't find a way to execute shell commands using the rc system or
 dhclient, what did I miss?

dhclient-script(8)? Maybe devd(8) will work as well.

 Sure I could just use cron but that's not very elegant.

On the other hand it is simple, which is a virtue in itself.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgprLIA6NHfrM.pgp
Description: PGP signature


Re: lost password caused by drunk admin

2007-04-17 Thread Jerry McAllister
On Mon, Apr 16, 2007 at 09:59:40PM -0400, Lewis Joshua wrote:

 Hello FreeBSD List,
 
 Ok I made a huge mistake (insert laugh here because I know you will).  
 I was working late at home and had more then a few drinks... A lot  
 more. I was working with a PAP2-NA (Analog to VoIP adapter (ATA)) and  
 I changed the password. The password that was programed into the unit  
 from my service provider was a randomly generated password and I was  
 messing with a lot of the settings and needed to keep logging in. So  
 I changed it to make my life easier.
 
 So any way I changed the password and now it appears I didn't change  
 the password to what I had thought I had. The password was a short 4  
 digit number. Like I said I just wanted to make my life easier while  
 I was messing around with it. Now I am locked out of the unit and  
 TOTALY SOL. My phones don't work at the house because the think has  
 been set incorrectly.
 
 I don't know how to crack passwords or even where to start. Is there  
 some kind of script or application I can run on my FreeBSD system to  
 try every combination of numbers from 0 - .

It should be easy to create a script that runs from 0 to  or
whatever and tries every one out.   A simple for loop in any scripting
language would do that.   The only thing is to know how to send the
password to whatever it is that needs it and to read the response
to know if it worked.If the system locks out after a certain
numbers of errors, then you will also have to add some waits to
get it past those delays.I have no idea how to send to the
device you are speaking of or to read its response, but probably
something to STDOUT and from STDIN would do it or you may have to
open a pipe.

 It is possible I may have fat fingered the number so it could be 6 or  
 7 digits instead of the 4 I intended. I don't know. I tried every  
 variation I can think of and even got drunk again hoping to recreate  
 the stupid mistake.

If it is more tha 4 digits, set the for loop to go another one or two.
Running it could take a while if there are lockout waits - in the
order of weeks.

jerry

 
 I have totally messed that one up. I would have had to type it twice  
 which just goes to show you should not work on your junk while drunk.
 
 Can anyone help me out? The unit has no reset buttons to reset it to  
 defaults there is nothing online that I can find to bypass the unit.  
 I did a port scan and it appears to only be listening on port 80. Any  
 thoughts out there? Please.
 
 Thanks and I hope I made someone laugh with my mistake because I know  
 all my friends are.
 
 Thanks.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Execute command upon interface initialization?

2007-04-17 Thread Ido Admon
Hello list,
I couldn't find any way to execute an arbitrary command upon network
interface initialization. My situations is that I have and ethernet card
that takes DHCP from a cables provider (not a fixed IP address) and I
need to update a DynDNS hostname everytime it does (everytime the IP
changes).
I couldn't find a way to execute shell commands using the rc system or
dhclient, what did I miss?
Sure I could just use cron but that's not very elegant.

Thanks and please cc me as I'm not on the list,
Ido Admon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ezjail / 6.2-RELEASE-p3

2007-04-17 Thread Oliver Peter
Dear,

Is there a possibilty to use a self-build release (from source) with
ezjail instead of the ftp-RELEASEs ?
I didn't find prebuilt binary packages for 6.2-RELEASE-p3 on the ftp
sites so I'm thinking about building my own.

Maybe it's interesting for -CURRENT and -STABLE users, too.

Bye
Ollie

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpZJh8uhEfKh.pgp
Description: PGP signature


Identifying cause of crash

2007-04-17 Thread Robert Huff
Jeffrey Goldberg writes:

  I had a complete system crash this morning sometime shortly after
  17/Apr/2007:08:51:22 -0500.  (from my most active apache log).
  
  I can't seem to find any information whatsoever about the crash.   

Is there anything in /var/crash?


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


jail specific mailinglist?

2007-04-17 Thread Oliver Peter
Dear,

According to my previous email (ezjail / 6.2-RELEASE-p3) I would
like to ask where to post such messages (for best results :-P ).

What's about having a jail secific mailinglist like
[EMAIL PROTECTED] ?

Bye
Ollie

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgppw8Li1buXQ.pgp
Description: PGP signature


Re: lost password caused by drunk admin

2007-04-17 Thread Jeffrey Goldberg

On Apr 16, 2007, at 8:59 PM, Lewis Joshua wrote:

Can anyone help me out? The unit has no reset buttons to reset it  
to defaults there is nothing online that I can find to bypass the  
unit. I did a port scan and it appears to only be listening on port  
80. Any thoughts out there? Please.


Does it have any way to attach a console?  If so, can you power cycle  
it and boot single user?


If you do, you may be able to reset the password that way, or if you  
can't directly reset it, you can grab a copy of /etc/password.master  
and then run john on that.  john, I think, can be configured to  
just try four digit numbers.


But if it's only listening on port 80, and there is no console, then  
it shouldn't be too hard to put together a perl (or python or your  
favorite scripting language) to try the 1 log ins via HTTP.   
Though a hangover might make the task more difficult.


-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: The OX laptop...

2007-04-17 Thread Sergio Lenzi
  
 
 
   50 m isn't that much.   I was guessing more in the range of
   one to five km. (Maybe with an outside antenna??)

the idea is a child to communicate with another than with another... in
a school during normal
hour, ther will be about 500 computers XO on and online...  so the all
children will have
a way to communicate to each other, share files, produce documents...
when they leave
the school they eventually will go offline... 

   
   Or 5 million people being producers; having them not only
   consume bbut contribute to the greater good of thw world!
   I think 5 million is just the beginning; in a few years, 
   50 millions, and then 500m.  Maybe in another generation
   it'll bring at least a couple of billions (thousand millions)
   into the cooperative world-force.  
 

will this be the start of a new eratime will tell

 
 
   This really makes my day.  Thanks for the story.
 
   gary
 
 

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


Re: setting up ntp on 6.2 with jailed hosts

2007-04-17 Thread Bill Moran
In response to Dave [EMAIL PROTECTED]:

 Hello,
 I've got a 6.2 box that i'm running several jails on. I'm trying to get 
 ntpd going so the box can sync it's time with the local lan ntp server. In 
 the host system's rc.conf i have:
 
 ntpd_enable=YES
 ntpd_sync_on_start=YES
 
 That second line from my understanding takes away the need to run ntpdate? 
 Ntpd does start, but i'm getting the below errors i'm wondering if this is a 
 firewall issue or a reaction to running ntp on a host system with jails or 
 another problem?

You have some other program already running on port 123.  Perhaps another
instance of nptd?  Try sockstat -4 | grep 123 and see what comes up.

This is not specifically a jail problem, but it could be that you
accidentally configured one of your jails to start ntpd as well.  This
is unnecessary.  Each jail will get it's time from the host, so it's
only necessary to sync the host.

 Thanks.
 Dave.
 
 Apr 17 09:55:02 zeus ntpd[65236]: ntpd 4.2.0-a Sun Apr  1 21:07:28 EDT 2007 
 (1)
 Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
 0.0.0.0, in_classd=0 flags=8 fails: Address already in use
 Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 28, port 123, addr ::, 
 in6_is_addr_multicast=0 flags=0 fails: Address already in use
 Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
 192.168.0.3, in_classd=0 flags=8 fails: Address already in use
 Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
 192.168.0.200, in_classd=0 flags=8 fails: Address already in use
 Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 28, port 123, addr 
 fe80:2::1, in6_is_addr_multicast=0 flags=0 fails: Address already in use
 Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 28, port 123, addr 
 ::1, in6_is_addr_multicast=0 flags=0 fails: Address already in use
 Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
 127.0.0.1, in_classd=0 flags=0 fails: Address already in use
 Apr 17 09:55:03 zeus ntpd[65236]: sendto(192.168.0.254): Bad file descriptor
 Apr 17 09:56:07 zeus ntpd[65236]: sendto(192.168.0.254): Bad file descriptor
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


lost password caused by drunk admin

2007-04-17 Thread Ian Lord

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ghirai
Sent: 17 avril 2007 02:58
To: Lewis Joshua; freebsd-questions@freebsd.org
Subject: Re: lost password caused by drunk admin

Hello Lewis,

Tuesday, April 17, 2007, 4:59:40 AM, you wrote:

 Hello FreeBSD List,

 Ok I made a huge mistake (insert laugh here because I know you will).
 I was working late at home and had more then a few drinks... A lot  
 more. I was working with a PAP2-NA (Analog to VoIP adapter (ATA)) and
 I changed the password. The password that was programed into the unit
 from my service provider was a randomly generated password and I was  
 messing with a lot of the settings and needed to keep logging in. So  
 I changed it to make my life easier.

 So any way I changed the password and now it appears I didn't change  
 the password to what I had thought I had. The password was a short 4  
 digit number. Like I said I just wanted to make my life easier while  
 I was messing around with it. Now I am locked out of the unit and  
 TOTALY SOL. My phones don't work at the house because the think has  
 been set incorrectly.

 I don't know how to crack passwords or even where to start. Is there  
 some kind of script or application I can run on my FreeBSD system to  
 try every combination of numbers from 0 - .

 It is possible I may have fat fingered the number so it could be 6 or
 7 digits instead of the 4 I intended. I don't know. I tried every  
 variation I can think of and even got drunk again hoping to recreate  
 the stupid mistake.

 I have totally messed that one up. I would have had to type it twice  
 which just goes to show you should not work on your junk while drunk.

 Can anyone help me out? The unit has no reset buttons to reset it to  
 defaults there is nothing online that I can find to bypass the unit.  
 I did a port scan and it appears to only be listening on port 80. Any
 thoughts out there? Please.

 Thanks and I hope I made someone laugh with my mistake because I know
 all my friends are.

 Thanks.

How/over what protocol do you get to wherever it asks for the password?

-- 
Best regards,
Ghirai.

Hi,

Is it just me or haven't you jumped too fast to the difficult solution ?

I did a simple search on google:
+pap2 +password reset

Which returned a lot of results...

I read through a couple of them and it appears you can use the analog port
to reset the password...

Here is one example that looks good:
http://forums.linksys.com/linksys/board/message?board.id=VoIP_Adaptersmessa
ge.id=11

Read through a couple of them, you might find an easier way then
bruteforcing the unit lol

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


Re: Execute command upon interface initialization?

2007-04-17 Thread Lowell Gilbert
Roland Smith [EMAIL PROTECTED] writes:

 On Tue, Apr 17, 2007 at 06:02:25PM +0300, Ido Admon wrote:
 Hello list,
 I couldn't find any way to execute an arbitrary command upon network
 interface initialization. My situations is that I have and ethernet card
 that takes DHCP from a cables provider (not a fixed IP address) and I
 need to update a DynDNS hostname everytime it does (everytime the IP
 changes).
 I couldn't find a way to execute shell commands using the rc system or
 dhclient, what did I miss?

 dhclient-script(8)? Maybe devd(8) will work as well.

devd won't work as well, because the timing is a bit off (even if you
only get new addresses at boot time, which isn't guaranteed.  
 
dhclient-script already has a capability (hooks) for running scripts
at the appropriate times.  If you check the mailing list archive, I
know I have previously posted the script I used to use for exactly the
same purpose.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is FTP install broken?

2007-04-17 Thread Kris Kennaway
On Tue, Apr 17, 2007 at 04:51:19AM -0700, Philip J. Koenig wrote:
 
 For probably the 2nd time in history for me, I am trying an FTP 
 install.  It's been a good while since I've done a FBSD install, and 
 I assumed things had gotten more polished since 4.x..
 
 I'm trying to install the 200703 snapshot of 6.2-STABLE, and no 
 matter what server I select, no matter what variant I try of various 
 length paths specified in a custom URL to a server that I *know* has 
 the files (ftp.freebsd.org), I get the following message:
 
 Warning: Can't find the '6.2-STABLE-200703' distribution on this
 FTP server.  You may need to visit a different server for
 the release you are trying to fetch or go to the Options
 menu and to (sic) set the release name to explicitly match what's
 available on ftp.freebsd.org (or set to any).
  
 Would you like to select another FTP server?
 
 
 I am booting from the 200703 snapshot i386 bootdisk-only ISO image.

I don't think FTP installs are possible for snapshots, i.e. only the
ISO images are provided.

Kris


pgpGJkQ5JI0Yx.pgp
Description: PGP signature


problem with gcalctool corupt

2007-04-17 Thread freenity

Hi there is a problem with my packages, when I try to upgrade it or do
something with it, there is allways this error. WHen trying to install
firefox it showed the same error.

===   Generating temporary packing list
===  Checking if www/firefox already installed
pkg_info: the package info for package 'gcalctool-5.8.24,2' is corrupt
===   An older version of www/firefox is already installed (firefox-1.5.0.8
,1)
 You may wish to ``make deinstall'' and install this port again
 by ``make reinstall'' to upgrade it properly.
 If you really wish to overwrite the old port of www/firefox
 without deleting it first, set the variable FORCE_PKG_REGISTER
 in your environment or the make install command line.
*** Error code 1

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

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


Re: Identifying cause of crash

2007-04-17 Thread Kris Kennaway
On Tue, Apr 17, 2007 at 11:16:17AM -0500, Jeffrey Goldberg wrote:
 I had a complete system crash this morning sometime shortly after 17/ 
 Apr/2007:08:51:22 -0500.  (from my most active apache log).
 
 I can't seem to find any information whatsoever about the crash.   
 It's just that a few hours later I noticed that the system was down,  
 and had to power cycle the box.  There was nothing on the console  
 except some much older stuff.
 
 I'm running 6.2-RELEASE-p3 on VIA C3 Nehemiah (999.52-MHz 686-class CPU)
 
 Looking in messages or auth.log I see nothing from around the time of  
 the crash.  Is there some place else I should look?  I've also  
 checked logs that are sysloged remotely
 
 $ grep '@10' /etc/syslog.conf
 *.err;kern.warning;auth.notice;mail.crit@10.1.10.131
 security.*  @10.1.10.131
 auth.info;authpriv.info @10.1.10.131
 *.emerg @10.1.10.131
 
 And there is nothing from near the time of the crash there either.
 
 So the system appeared to crash before anything could be logged.
 
 The system has been running fine since I've had it (a few months  
 ago), and my most recent kernel rebuild was on April 13 (and then  
 only to add msdosfs which I needed for USB memory devices).
 
 Where should I look next?

Unless you have enabled crashdumps nothing will be logged.  If you
did, or to learn how, see the chapter on kernel debugging in the
developers' handbook.

Kris


pgpU3GsSLa3DC.pgp
Description: PGP signature


Re: jail specific mailinglist?

2007-04-17 Thread Philipp Wuensche
Oliver Peter wrote:
 Dear,
 
 According to my previous email (ezjail / 6.2-RELEASE-p3) I would
 like to ask where to post such messages (for best results :-P ).
 
 What's about having a jail secific mailinglist like
 [EMAIL PROTECTED] ?

For ezjail related questions (and sometimes just jail related questions)
there is already a mainlinglist: [EMAIL PROTECTED] (archive:
https://elektropost.org/ezmlm-cgi?iss::)

greetings,
philipp

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


Fwd: /dev/gvinum missing, ideas please. .

2007-04-17 Thread Troy Kocher

Fixed it. .

Apparently my metadata was corrupt

using. .
dd if=/dev/zero bs=512 count=265 of=/dev/da0s1g

cleaned it and now I'm up. .



Begin forwarded message:



Date: April 17, 2007 8:00:20 AM CDT
To: freebsd-questions@freebsd.org
Subject: Fwd: /dev/gvinum missing, ideas please. .

One other thing I forgot. .

bsd# kldstat
Id Refs AddressSize Name
14 0xc040 70794c   kernel
21 0xc0b08000 11920geom_vinum.ko
31 0xc0b1a000 59f20acpi.ko



Begin forwarded message:


Date: April 16, 2007 11:11:13 PM CDT
To: freebsd-questions@freebsd.org
Subject: /dev/gvinum missing, ideas please. .

I am rebuilding a 6.2 box and want to use growfs to expand the  
jailed filesystems as needed.


I'm doing something wrong b/c /dev/gvinum isn't being created. .  
help. .


Here is what I've done..

Modified the partition I want to use for gvinum. .

bsd# bsdlabel -e /dev/da0s1

# /dev/da0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  104857604.2BSD 2048 16384 8
  b:  8388608  1048576  swap
  c: 25807297320unused0 0 # raw  
part, don't e

dit
  d:  8884224  94371844.2BSD 2048 16384 28552
  e:  1048576 183214084.2BSD 2048 16384 8
  f: 10485760 193699844.2BSD 2048 16384 28552
  g: 2550873988 29855744 vinum


bsd# gvinum
gvinum - l
1 drive:
D main  State: up   /dev/da0s1g A:  
1245543/1245543 MB (100%)


1 volume:
V outward   State: down Plexes:   1  
Size:  0  B


1 plex:
P outward.p0  C State: down Subdisks: 0  
Size:  0  B


0 subdisks:

bsd# newfs -L outward -O 2 -U -o time /dev/gvinum/outward
newfs: /dev/gvinum/outward: could not find special device

There is no /dev/gvinum..

Ideas??






PGP.sig
Description: This is a digitally signed message part


Re: Identifying cause of crash

2007-04-17 Thread Jeffrey Goldberg

On Apr 17, 2007, at 11:22 AM, Robert Huff wrote:


Jeffrey Goldberg writes:


 I had a complete system crash this morning sometime shortly after
 17/Apr/2007:08:51:22 -0500.  (from my most active apache log).

 I can't seem to find any information whatsoever about the crash.


Is there anything in /var/crash?


Thanks!  I didn't know about that place to look.  Unfortunately there  
is nothing useful there either.


There is only a file called minfree dated from January.
minfree is a text file containing
 2048

Is there some setting I should set so that in future crashes will be  
dumped there?


Let me also add that the system is on an APC UPS and another machine  
that is on the same UPS logs no UPS events since the thunderstorms  
that hit the area on Friday.


-j

--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: ezjail / 6.2-RELEASE-p3

2007-04-17 Thread Kris Kennaway
On Tue, Apr 17, 2007 at 06:19:44PM +0200, Oliver Peter wrote:
 Dear,
 
 Is there a possibilty to use a self-build release (from source) with
 ezjail instead of the ftp-RELEASEs ?
 I didn't find prebuilt binary packages for 6.2-RELEASE-p3 on the ftp
 sites so I'm thinking about building my own.

'make release', look for documentation on the website.

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


BSD make vs. GNU make

2007-04-17 Thread Soo-Hyun Choi

Hi,

This might be a dumb question, but would like get a clear idea about
the differences between BSD make and GNU make. Why do I have to do
'gmake' in some cases instead of just plain 'make'?

What's the differences?

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


Re: Problem with freebsd-update

2007-04-17 Thread Eric

Dmitry wrote:

Hello freebsd-questions,

  I need to update mpd4 binary package via freebsd-update. After
  installing FreeBSD 6.2 RELEASE I have mpd4-4.0b4.

  Settings in /etc/freebsd-update.conf:
  Components src world kernel

  After running commands freebsd-update fetch, then freebsd-update
  install I still have the same mpd4-4.0b4 version.

  I saw in http://www.freebsd.org/cgi/ports.cgi?query=mpdstype=all
  that the last version is mpd-4.1 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/mpd-4.1.tbz

  How can I upgrade to the last packages versions with freebsd-update?


maybe I am wrong here, but isnt mpd4 a port? Freebsd-update is for the 
base system, not ports, so it wont be able to update the mpd4 port. Try 
portsnap and portmaster to update your ports.


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


Re: Execute command upon interface initialization?

2007-04-17 Thread Peter Ankerstål

Ido Admon wrote:

Hello list,
I couldn't find any way to execute an arbitrary command upon network
interface initialization. My situations is that I have and ethernet card
that takes DHCP from a cables provider (not a fixed IP address) and I
need to update a DynDNS hostname everytime it does (everytime the IP
changes).
I couldn't find a way to execute shell commands using the rc system or
dhclient, what did I miss?
Sure I could just use cron but that's not very elegant.


You could use dns/ez-ipupdate. It is a daemon who updates your dyndns 
whenever your ip is changed.

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


Re: error in find on daily output disk clean

2007-04-17 Thread Brian A. Seklecki
The script doesn't grep -v for any user-settable variable to exclude
certain paths...it just runs on / with some FS Type exceptions.

A quick cheap hack could be put in place to include !
${user_settable_exclude}

~BAS

 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -a -prune -o \
\( $args \) -atime +$daily_clean_disks_days -delete
$print |
tee /dev/stderr | wc -l)


On Tue, 2007-04-17 at 07:52 -0400, Dave wrote:
 Hello,
 One of my periodic.conf checks is running the daily disk cleaner. When 
 it uses find it is looking in my jail area, which has device files and other 
 virtual items that are not existing. I am getting output from find in the 
 output to that effect. I'd like to tell find in that script not to look in 
 my jail area, to exclude it.
 Thanks.
 Dave.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


sendmail with dovecot with nologin account

2007-04-17 Thread David Banning
I am using dovecot imap and I am having a problem directing mail to 
go to users in Maildir format when they do not have a login shell.

It seems that the .procmailrc file is ignored and the mail is put 
in mbox format into /var/mail

For mail-only users with-out a shell, what is the best way to direct
mail to them in Maildir format within ~/Maildir - maybe directly from
.forward?

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


Identifying cause of crash

2007-04-17 Thread Jeffrey Goldberg
I had a complete system crash this morning sometime shortly after 17/ 
Apr/2007:08:51:22 -0500.  (from my most active apache log).


I can't seem to find any information whatsoever about the crash.   
It's just that a few hours later I noticed that the system was down,  
and had to power cycle the box.  There was nothing on the console  
except some much older stuff.


I'm running 6.2-RELEASE-p3 on VIA C3 Nehemiah (999.52-MHz 686-class CPU)

Looking in messages or auth.log I see nothing from around the time of  
the crash.  Is there some place else I should look?  I've also  
checked logs that are sysloged remotely


$ grep '@10' /etc/syslog.conf
*.err;kern.warning;auth.notice;mail.crit@10.1.10.131
security.*  @10.1.10.131
auth.info;authpriv.info @10.1.10.131
*.emerg @10.1.10.131

And there is nothing from near the time of the crash there either.

So the system appeared to crash before anything could be logged.

The system has been running fine since I've had it (a few months  
ago), and my most recent kernel rebuild was on April 13 (and then  
only to add msdosfs which I needed for USB memory devices).


Where should I look next?

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Exercising ATA disks in hopes of revealing errors

2007-04-17 Thread Doug Poland
Hello,

I've just come into possesion of a bunch of 80GB ATA drives.  I'd like
to quickly and efficiently test each drive to see if it's free of
errors and suitable for deployment in non-critical workstations.

Using FreeBSD 6.x as a testing platform, what tools do people use to
stress-test disk drives?  I've searched ports and done some googling
but nothing stands out.

Thanks for your help.


-- 
Regards,
Doug

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


Fwd: /dev/gvinum missing, ideas please. .

2007-04-17 Thread Troy Kocher

One other thing I forgot. .

bsd# kldstat
Id Refs AddressSize Name
14 0xc040 70794c   kernel
21 0xc0b08000 11920geom_vinum.ko
31 0xc0b1a000 59f20acpi.ko



Begin forwarded message:


From: Troy Kocher tkocher(at)mtadistributors(dot)com
Date: April 16, 2007 11:11:13 PM CDT
To: freebsd-questions@freebsd.org
Subject: /dev/gvinum missing, ideas please. .

I am rebuilding a 6.2 box and want to use growfs to expand the  
jailed filesystems as needed.


I'm doing something wrong b/c /dev/gvinum isn't being created. .  
help. .


Here is what I've done..

Modified the partition I want to use for gvinum. .

bsd# bsdlabel -e /dev/da0s1

# /dev/da0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  104857604.2BSD 2048 16384 8
  b:  8388608  1048576  swap
  c: 25807297320unused0 0 # raw  
part, don't e

dit
  d:  8884224  94371844.2BSD 2048 16384 28552
  e:  1048576 183214084.2BSD 2048 16384 8
  f: 10485760 193699844.2BSD 2048 16384 28552
  g: 2550873988 29855744 vinum


bsd# gvinum
gvinum - l
1 drive:
D main  State: up   /dev/da0s1g A:  
1245543/1245543 MB (100%)


1 volume:
V outward   State: down Plexes:   1  
Size:  0  B


1 plex:
P outward.p0  C State: down Subdisks: 0  
Size:  0  B


0 subdisks:

bsd# newfs -L outward -O 2 -U -o time /dev/gvinum/outward
newfs: /dev/gvinum/outward: could not find special device

There is no /dev/gvinum..

Ideas??


Troy Kocher
tkocher(at)mtadistributors(dot)com







PGP.sig
Description: This is a digitally signed message part


RE: freebsd-questions Digest, Vol 174, Issue 4

2007-04-17 Thread Joshua Lewis
 to serve our small ISP,
 but i'm facing a big problem. as far as i know FreeBSD didn't support
 TPROXY like linux had.
 but i need to build this proxy transparently so only my client ips
that
 visible when browsing.
 i use ipnat and ipf with Squid latest stable release.
 does anyone has experience building a true transparent proxy with
FreeBSD?
 please share the knowledge and the regarding this problems.

Hello Zen,

Perhaps you might have some luck with the walkthrough listed here:

[47]http://tomclegg.net/squid-tproxy

I found this by searching Google for TPROXY freebsd.  I hope this
helps!

- Chris Slothouber


--

Message: 8
Date: Tue, 17 Apr 2007 10:47:52 +0300
From: Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
Subject: Re: GUI to ports collection on FBSD?
To: [EMAIL PROTECTED]
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=UTF-8; format=flowed

Go for Kports.

[51]http://www.freshports.org/ports-mgmt/kports/


--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
[52]http://www.WeArab.Net/


--

Message: 9
Date: Tue, 17 Apr 2007 09:54:56 +0200
From: Oliver Peter [EMAIL PROTECTED]
Subject: Re: Re[2]: New kernel and jail
To: Vladimir [EMAIL PROTECTED]
Cc: Oliver Peter [EMAIL PROTECTED], [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

On Tue, Apr 17, 2007 at 10:51:41AM +0400, Vladimir wrote:
 OP On Fri, Apr 13, 2007 at 09:36:20AM +0400, Vladimir wrote:
  Hi all.

 OP Hi Vladimir,

  I have FreeBSD 5.4 installed. There is a working jail.
  I am trying to rebuild a kernel to enable quota support. Therefore
  i?ve added options QUOTA to config file (all other options
  are from GENERIC). When booting with this new kernel jail does not
  start. When i issue at the command prompt:
  jail /opt/jails/www.myhost.ru/ [58]www.myhost.ru xxx.xxx.xxx.xxx /bin/sh
  i get:
  jail: jail: Invalid argument
 
  There is no messages in log files regarding jail.
  After rebooting with old kernel everything is normal.

 OP I can not say much about your problem - but 5.4 is a little bit
 OP outdated. Is it possible for you to make an update to a newer
release?
 OP 6.2 would be a good deal.
 OP There are very cute rc-scripts to start/restart/stop your
jail(s), too.

 No, it is not possible :(

 Do i need to perform any actions with the jail when upgrading a kernel
 or the jail must work without any changes?

I think it depends on the changes you made to your kernel.
Usually it works without any problems for me.

I have no jails right here to check out QUOTA and jail under
6.2-RELEASE-p3 but maybe anotherone can help us there.

PS: Why it is not possible for you to make an update? :)

--
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their
slave.
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :
[60]http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070417/4
f9c225a/attachment-0001.pgp

--

Message: 10
Date: Tue, 17 Apr 2007 14:48:25 +0800
From: Richard Simmonds [EMAIL PROTECTED]
Subject: PPP and resolv.conf
To: [EMAIL PROTECTED]
Message-ID:
[63]!!AAAYAPOytc9vInVGkl54LcL/nGDCgAAAEBUi1xQhdEN
[EMAIL PROTECTED]

Content-Type: text/plain;   charset=us-ascii


How can I stop ppp from modifying my /etc/resolv.conf?
Everytime I establish a pppoe session, my resolv.conf file gets
reconfigured to my ISPs DNS Servers.

It's dhclient, not ppp that's modding the file. Adding this to your
dhclient.conf file will fix the problem

interface dc0 {
prepend domain-name-servers 192.168.0.10;
request subnet-mask, broadcast-address, routers, domain-name-servers;
}

you will need to change the interface name and provide the actual dns
server
address to match your configuration



--

Message: 11
Date: Tue, 17 Apr 2007 10:12:31 +0200
From: Michael Grant [EMAIL PROTECTED]
Subject: keeping all things up to date
To: FreeBSD Questions [EMAIL PROTECTED]
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Is there some sort of automated way to keep freebsd and all the
installed ports/packages up to date automatically?

I don't mean just the source, that part is easy.  I mean something
that actually reinstalls the things ad needed, sort of like windows
update or the updater on ubuntu.

Michael Grant


--

Message: 12
Date: Tue, 17 Apr 2007 04:22:08 -0400
From: Chris Slothouber [EMAIL PROTECTED]
Subject: Re: tproxy on freebsd
To: zen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

zen wrote:
 Chris Slothouber wrote:

 zen wrote:

 hi,
 i know it seem out of topic,
 i recently build a proxy

Re: BSD make vs. GNU make

2007-04-17 Thread Chuck Swiger

On Apr 17, 2007, at 9:28 AM, Soo-Hyun Choi wrote:

This might be a dumb question, but would like get a clear idea about
the differences between BSD make and GNU make. Why do I have to do
'gmake' in some cases instead of just plain 'make'?


Because people write more complex makefiles using syntax which is  
specific to either BSD or GNU make.



What's the differences?


The GNU make info pages include this:

Features of GNU `make'
**

   Here is a summary of the features of GNU `make', for comparison with
and credit to other versions of `make'.  We consider the features of
`make' in 4.2 BSD systems as a baseline.  If you are concerned with
writing portable makefiles, you should not use the features of `make'
listed here, nor the ones in *Note Missing::.

   Many features come from the version of `make' in System V.

   * The `VPATH' variable and its special meaning.  *Note Searching
 Directories for Prerequisites: Directory Search.  This feature
 exists in System V `make', but is undocumented.  It is documented
 in 4.3 BSD `make' (which says it mimics System V's `VPATH'
 feature).

   * Included makefiles.  *Note Including Other Makefiles: Include.
 Allowing multiple files to be included with a single directive is
 a GNU extension.

   * Variables are read from and communicated via the environment.
 *Note Variables from the Environment: Environment.

   * Options passed through the variable `MAKEFLAGS' to recursive
 invocations of `make'.  *Note Communicating Options to a
 Sub-`make': Options/Recursion.

   * The automatic variable `$%' is set to the member name in an
 archive reference.  *Note Automatic Variables: Automatic.

   * The automatic variables `$@', `$*', `$', `$%', and `$?' have
 corresponding forms like `$(@F)' and `$(@D)'.  We have generalized
 this to `$^' as an obvious extension.  *Note Automatic Variables:
 Automatic.

   * Substitution variable references.  *Note Basics of Variable
 References: Reference.

   * The command-line options `-b' and `-m', accepted and ignored.  In
 System V `make', these options actually do something.

   * Execution of recursive commands to run `make' via the variable
 `MAKE' even if `-n', `-q' or `-t' is specified.  *Note Recursive
 Use of `make': Recursion.

   * Support for suffix `.a' in suffix rules.  *Note Archive Suffix
 Rules::.  This feature is obsolete in GNU `make', because the
 general feature of rule chaining (*note Chains of Implicit Rules:
 Chained Rules.) allows one pattern rule for installing members in
 an archive (*note Archive Update::) to be sufficient.

   * The arrangement of lines and backslash-newline combinations in
 commands is retained when the commands are printed, so they appear
 as they do in the makefile, except for the stripping of initial
 whitespace.

   The following features were inspired by various other versions of
`make'.  In some cases it is unclear exactly which versions inspired
which others.

   * Pattern rules using `%'.  This has been implemented in several
 versions of `make'.  We're not sure who invented it first, but
 it's been spread around a bit.  *Note Defining and Redefining
 Pattern Rules: Pattern Rules.

   * Rule chaining and implicit intermediate files.  This was
 implemented by Stu Feldman in his version of `make' for ATT
 Eighth Edition Research Unix, and later by Andrew Hume of ATT
 Bell Labs in his `mk' program (where he terms it transitive
 closure).  We do not really know if we got this from either of
 them or thought it up ourselves at the same time.  *Note Chains of
 Implicit Rules: Chained Rules.

   * The automatic variable `$^' containing a list of all prerequisites
 of the current target.  We did not invent this, but we have no
 idea who did.  *Note Automatic Variables: Automatic.  The
 automatic variable `$+' is a simple extension of `$^'.

   * The what if flag (`-W' in GNU `make') was (as far as we know)
 invented by Andrew Hume in `mk'.  *Note Instead of Executing the
 Commands: Instead of Execution.

   * The concept of doing several things at once (parallelism)  
exists in
 many incarnations of `make' and similar programs, though not in  
the

 System V or BSD implementations.  *Note Command Execution:
 Execution.

   * Modified variable references using pattern substitution come from
 SunOS 4.  *Note Basics of Variable References: Reference.  This
 functionality was provided in GNU `make' by the `patsubst'
 function before the alternate syntax was implemented for
 compatibility with SunOS 4.  It is not altogether clear who
 inspired whom, since GNU `make' had `patsubst' before SunOS 4 was
 released.

   * The special significance of `+' characters preceding command lines
 (*note Instead of Executing the Commands: Instead of  
Execution.) is

 mandated by `IEEE Standard 

Re: jail specific mailinglist?

2007-04-17 Thread Oliver Peter
On Tue, Apr 17, 2007 at 06:44:29PM +0200, Philipp Wuensche wrote:
 Oliver Peter wrote:
  Dear,
  
  According to my previous email (ezjail / 6.2-RELEASE-p3) I would
  like to ask where to post such messages (for best results :-P ).
  
  What's about having a jail secific mailinglist like
  [EMAIL PROTECTED] ?
 
 For ezjail related questions (and sometimes just jail related questions)
 there is already a mainlinglist: [EMAIL PROTECTED] (archive:
 https://elektropost.org/ezmlm-cgi?iss::)

Ok, sure.
But jails are a very powerful feature of freebsd and the official way
(JAIL(8)) is to do this without ezjail.
So I would apreciate if there will be a main mailinglist for jail
specific questions. I saw a lot of jail specific posts on this list
the last weeks and I think it would be more effective to maintain a
primary jail-list to collect all those problems.

IMHO.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpdLEYhLzvJz.pgp
Description: PGP signature


Re: Exercising ATA disks in hopes of revealing errors

2007-04-17 Thread Bill Moran
In response to Doug Poland [EMAIL PROTECTED]:

 Hello,
 
 I've just come into possesion of a bunch of 80GB ATA drives.  I'd like
 to quickly and efficiently test each drive to see if it's free of
 errors and suitable for deployment in non-critical workstations.
 
 Using FreeBSD 6.x as a testing platform, what tools do people use to
 stress-test disk drives?  I've searched ports and done some googling
 but nothing stands out.

You can use bonnie++ to stress test the drives, but it doesn't guarantee
that it uses all of the drive, so you might want to do a massive dd
dd if=/dev/zero of=/dev/[rawDevice] bs=512 count=[#sectors] as one
possible example.

Check with the vendors, though.  Many drive manufacturers have utilities
you can download specifically to check their drives.

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


Re: Exercising ATA disks in hopes of revealing errors

2007-04-17 Thread Chuck Swiger

On Apr 17, 2007, at 9:56 AM, Doug Poland wrote:

I've just come into possesion of a bunch of 80GB ATA drives.  I'd like
to quickly and efficiently test each drive to see if it's free of
errors and suitable for deployment in non-critical workstations.

Using FreeBSD 6.x as a testing platform, what tools do people use to
stress-test disk drives?  I've searched ports and done some googling
but nothing stands out.


sysutils/smartmontools will let you check the error counts recorded  
via SMART and let you invoke various self-tests and possibly a  
surface scan, depending on what the drive's firmware supports.   
However, to do more thorough testing, the (typically DOS-based)  
utility from the vendor will be somewhat better.


--
-Chuck

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


Re: lost password caused by drunk admin

2007-04-17 Thread Tom Ierna


On Apr 16, 2007, at 9:59 PM, Lewis Joshua wrote:
Can anyone help me out? The unit has no reset buttons to reset it  
to defaults there is nothing online that I can find to bypass the  
unit. I did a port scan and it appears to only be listening on port  
80. Any thoughts out there? Please.


Here's a document describing how to reset the Admin password by first  
upgrading the firmware with a TFTP server, and then using a machine  
configured to spoof an IP from which the device will read a plaintext  
XML config file.


http://www.sineapps.com/news.php?rssid=949

YMMV, HTH, HAND

--
Tom Ierna
President
Shockergroup, Inc.

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


Re: PPP and resolv.conf

2007-04-17 Thread RW
On Tue, 17 Apr 2007 14:48:25 +0800
Richard Simmonds [EMAIL PROTECTED] wrote:

  
 How can I stop ppp from modifying my /etc/resolv.conf?
 Everytime I establish a pppoe session, my resolv.conf file gets
 reconfigured to my ISPs DNS Servers.
 
 It's dhclient, not ppp that's modding the file.

This is unlikely. PPP normally provides the dns server addresses
itself, in which case the suggestion to remove enable dns from
ppp.conf is correct.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSD make vs. GNU make

2007-04-17 Thread Bill Campbell
On Tue, Apr 17, 2007, Soo-Hyun Choi wrote:
Hi,

This might be a dumb question, but would like get a clear idea about
the differences between BSD make and GNU make. Why do I have to do
'gmake' in some cases instead of just plain 'make'?

What's the differences?

The gmake program has many extensions which tend to be used in
the gnu automake, autoconf, libtools system.

I suspect that gmake will work with most non-gnu Makefiles, but
the reverse is not true.

There's a pretty good book, ``GNU Autoconf, Automake, and
Libtool'' by Vaughan, Elliston, Tomey, and Taylor.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

The only logical reason to take guns away from responsible people is to
give irresponsible people an edge in the perpetration of their crimes
against us. -- The Idaho Observer, Vol. 1, No. 2 February 1997
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with gcalctool corupt

2007-04-17 Thread Robert Huff
freenity writes:

  Hi there is a problem with my packages, when I try to upgrade it or do
  something with it, there is allways this error. WHen trying to install
  firefox it showed the same error.

cd /usr/ports/firefox15
make deinstall  make distclean
cd /usr/ports/firefox
make  make install  make clean

Expect the latter phase to take at least a few hours, dependant
on the speed on your conputer.



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: Identifying cause of crash

2007-04-17 Thread Jeffrey Goldberg

On Apr 17, 2007, at 11:45 AM, Jeffrey Goldberg wrote:

Is there some setting I should set so that in future crashes will  
be dumped there [/var/crash]?


Never mind,  I've just found what I needed in man rc.conf, I've now  
set dumpdev and dumpdir in rc.conf and am rebuilding the kernel with  
debugging.


It's been a long time since I've looked at a core dump, and I don't  
think I've ever looked at a kernel dump.  And now I'm not sure  
whether I want the system to crash again (so that I can try to figure  
out what the problem is) or not.


Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: Is FTP install broken?

2007-04-17 Thread Sean Murphy

   Kris Kennaway wrote:

On Tue, Apr 17, 2007 at 04:51:19AM -0700, Philip J. Koenig wrote:
  

For probably the 2nd time in history for me, I am trying an FTP 
install.  It's been a good while since I've done a FBSD install, and 
I assumed things had gotten more polished since 4.x..

I'm trying to install the 200703 snapshot of 6.2-STABLE, and no 
matter what server I select, no matter what variant I try of various 
length paths specified in a custom URL to a server that I *know* has 
the files ([1]ftp.freebsd.org), I get the following message:

Warning: Can't find the '6.2-STABLE-200703' distribution on this
FTP server.  You may need to visit a different server for
the release you are trying to fetch or go to the Options
menu and to (sic) set the release name to explicitly match what's
available on [2]ftp.freebsd.org (or set to any).

Would you like to select another FTP server?


I am booting from the 200703 snapshot i386 bootdisk-only ISO image.


I don't think FTP installs are possible for snapshots, i.e. only the
ISO images are provided.

Kris


   During the choice for the ftp server selection there are two servers
   close to the top of the list that are named snapshot.se.freebsd.org
   and snapshot.jp.freebsd.org you might want to try those.

References

   1. ftp://ftp.freebsd.org/
   2. ftp://ftp.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: Exercising ATA disks in hopes of revealing errors

2007-04-17 Thread Derek Ragona

At 11:56 AM 4/17/2007, Doug Poland wrote:

Hello,

I've just come into possesion of a bunch of 80GB ATA drives.  I'd like
to quickly and efficiently test each drive to see if it's free of
errors and suitable for deployment in non-critical workstations.

Using FreeBSD 6.x as a testing platform, what tools do people use to
stress-test disk drives?  I've searched ports and done some googling
but nothing stands out.

Thanks for your help.


Use the manufacture's utilities to test the drives.  Each manufacturer has 
bootable test and stress utilities.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Terabyte harddisks, GELI, AMD64, Samba and Zen...

2007-04-17 Thread Chris Slothouber

Solon Luigi Lutz wrote:

CS Solon Luigi Lutz wrote:

after some troubleshooting and some hours of memory tests, it
finaly seems to be a hardware problem...
The machine is based on an ASUS M2N4-SLI (Nforce4) and since the
heat-sink on the north/southbridge is rather small and passive,
the chip seems to get too hot. I manufactured a massive one from
a IGBT heat-sink and since 20 hours the machine is doing ftp-transfers
without any reboots - I keep my fingers crossed...


CS I have had similar reboot issues with this board, especially when 
CS sustaining high levels of i/o traffic.  Active cooling for chipset seems

CS to help a lot.

CS - Chris Slothouber

Cooling seems to be the point - 36 hours without reboots. Previously
you burn your fingers on the heat-sink, now it has surface temperature
of 28C.
As I havn't put any effort in that field; can you recommend a way of
monitoring the temperature? Healthd? Kernel option?


As far as I can tell, there are only two temperature sensors accessible 
via the BIOS, CPU and MB.  I'm not sure of the location of the MB sensor 
is located but it doesn't seem to correspond directly to the chipset health.


I've used mbmon + cacti to keep an RRD history of the temperature and 
fan speeds.


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


Re: Execute command upon interface initialization?

2007-04-17 Thread kelvin woods
On Tue, Apr 17, 2007 at 12:35:41PM -0400, Lowell Gilbert wrote:
 Roland Smith [EMAIL PROTECTED] writes:
 
  On Tue, Apr 17, 2007 at 06:02:25PM +0300, Ido Admon wrote:
  Hello list,
  I couldn't find any way to execute an arbitrary command upon network
  interface initialization. My situations is that I have and ethernet card
  that takes DHCP from a cables provider (not a fixed IP address) and I
  need to update a DynDNS hostname everytime it does (everytime the IP
  changes).
  I couldn't find a way to execute shell commands using the rc system or
  dhclient, what did I miss?
 
  dhclient-script(8)? Maybe devd(8) will work as well.

Just in case you don't manage to find the appropriate text...

You'll need to create (in this instance) an /etc/dhclient-exit-hooks
script. An excerpt from mine is below, you'll need to create your own
update_ddns function to update your DynDNS entry.

if test $reason = RENEW || test $reason = BOUND; then
# The old lease has been renewed or the interface is being re-bound.

if test $old_ip_address != $new_ip_address; then
# IP address has changed -- update DDNS entry.
update_ddns
fi
fi

Hope it helps.

 
 devd won't work as well, because the timing is a bit off (even if you
 only get new addresses at boot time, which isn't guaranteed.  
  
 dhclient-script already has a capability (hooks) for running scripts
 at the appropriate times.  If you check the mailing list archive, I
 know I have previously posted the script I used to use for exactly the
 same purpose.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Is FTP install broken?

2007-04-17 Thread Philip J. Koenig
On 17 Apr 2007 at 11:34, Sean Murphy boldly uttered: 

 Kris Kennaway wrote: 
 On Tue, Apr 17, 2007 at 04:51:19AM -0700, Philip J. Koenig wrote:
   
 I'm trying to install the 200703 snapshot of 6.2-STABLE, and no 
 matter what server I select, no matter what variant I try of various 
 length paths specified in a custom URL to a server that I *know* has 
 the files (ftp.freebsd.org), I get the following message:
 
 Warning: Can't find the '6.2-STABLE-200703' distribution on this
 FTP server.  You may need to visit a different server for
 the release you are trying to fetch or go to the Options
 menu and to (sic) set the release name to explicitly match what's
 available on ftp.freebsd.org (or set to any).
  
 Would you like to select another FTP server?
 
 
 I am booting from the 200703 snapshot i386 bootdisk-only ISO image.
 
 
 I don't think FTP installs are possible for snapshots, i.e. only the
 ISO images are provided.
 
 During the choice for the ftp server selection there are two servers 
 close to the top of the list that are named snapshot.se.freebsd.org 
 and snapshot.jp.freebsd.org you might want to try those.
 

Tried both before I posted my message here.  I got the can't find 
message on both of them.

Re: Kris's assertion, I guess I could have lived with that if it 
weren't for the fact that the installer doesn't give you any clue of 
this.

Thought I was going to avoid the time to download and burn a couple 
of CD's, and now it's sucked up way more of my time than making those 
CD's ever would have...

Thanks for the answers/input.


-- 
Philip J. Koenig   
[EMAIL PROTECTED]
Electric Kahuna Systems -- Computers  Communications for the New 
Millenium


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


Re: gimp: install conflicts

2007-04-17 Thread RW
On Sat, 14 Apr 2007 07:26:11 -0700 (PDT)
White Hat [EMAIL PROTECTED] wrote:

 FreeBSD-6.2
 
 I have a question regarding gimp-devel, the meta-port
 for Gimp.
...
 The problem is that there appears to be a conflict
 between the two versions of gimp-app being installed.
 Is this correct, or am I reading this incorrectly?


Probably, the gutenprint problems can happen with just the ordinary
gimp version. 

Depending on the port options/knobs, you can get a cyclic dependency. I
can't remember exactly what I did to get out of it, but I just went
through the relevant make config screens and removed an option. I
think it was one that made gutenprint depend some part of gimp. I rarely
use gimp, and never print from it, so I didn't look too closely. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The OX laptop...

2007-04-17 Thread Gary Kline
On Tue, Apr 17, 2007 at 01:33:14PM -0300, Sergio Lenzi wrote:
   
  
  
  50 m isn't that much.   I was guessing more in the range of
  one to five km. (Maybe with an outside antenna??)
 
 the idea is a child to communicate with another than with another... in
 a school during normal
 hour, ther will be about 500 computers XO on and online...  so the all
 children will have
 a way to communicate to each other, share files, produce documents...
 when they leave
 the school they eventually will go offline... 



Ok.   In the earlier versions I read of, the students would be 
able to tap into the net or school (or classmates) from their homes.  
Well, this ought to encourage longer, happier school days!

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: sendmail with dovecot with nologin account

2007-04-17 Thread Vince

David Banning wrote:
I am using dovecot imap and I am having a problem directing mail to 
go to users in Maildir format when they do not have a login shell.


It seems that the .procmailrc file is ignored and the mail is put 
in mbox format into /var/mail


For mail-only users with-out a shell, what is the best way to direct
mail to them in Maildir format within ~/Maildir - maybe directly from
.forward?

  
Not an expert but I am just starting to think about moving from mbox to 
mdir on my home server, so Id be interested in how you get on.

man procmail says
  If  no rcfiles and no -p have been specified on the command line, 
proc-
  mail will, prior to reading $HOME/.procmailrc, interpret 
commands  from
  /usr/local/etc/procmailrc (if present).  Care must be taken when 
creat-
  ing /usr/local/etc/procmailrc, because,  if  circumstances  
permit,  it
  will  be  executed  with  root privileges (contrary to the 
$HOME/.proc-

  mailrc file of course).

So you may need to set the default location here.
Something like
DEFAULT=$HOME/Maildir/

Vince





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


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


Re: keeping all things up to date

2007-04-17 Thread Chad Perrin
On Tue, Apr 17, 2007 at 02:58:34PM +0200, Michael Grant wrote:
 Just as an example that just came up recently: gettext was updated in
 the ports tree, which required a rebuild of all ports that depend on
 it. I missed reading /usr/ports/UPDATING before, so I didn't notice
 this fact. I did an update on my girlfriends laptop which resulted in
 several applications not being usable anymore. Imagine my face as I
 had to explain to her why she was unable to use her machine for one
 and a half day.
 Another lesson learned...
 
 That's why I agree to Chad: Doing automatic updates isn't advisable.
 They might even come at the wrong time, e.g. when you need your system
 resources. I'm thinking about monsters like OpenOffice, GNOME or KDE.
 
 Wait, before this gets out of hand, yes, I've been bitten with gettext
 more than once over the years.  Mostly I'm worried about bug fixes in
 the OS and in the ports I've installed.  I'm not talking about massive
 upgrade from one version of the OS to another.
 
 What would be nice to see is some script that would sort out
 dependencies and update things sanely.
 
 I think we're all guilty at some point of not having read UPDATING and
 updating something.It would be nice if there was something could
 watch out for certain conditions and then print out the relevant
 section from UPDATING on the screen.
 
 Those are just some obvious ideas.  However, there are unix systems,
 for example Ubuntu, which has a sort of package manager that handles
 automated updates that sorts out dependencies.  I was just wondering
 if anyone had done anything like that for FreeBSD?

Ubuntu just uses Debian's APT.  Most of the time it works like a charm.
Sometimes, it produces frustrating failures -- like updating gettext
without reading UPDATING, except you don't have UPDATING and sometimes
don't have any warning at all.

I prefer what I've encountered of FreeBSD's approach.  If someone can
point me at software that will do something similar to APT but without
the occasional bit of failure to which that sort of do everything for
me system is prone, I'd be happy to have it -- but I'm not sure it
exists, or would even be easy enough to create that we'll see it any
time soon.

If you have specific ideas about what parts of the updating process are
safe, you might try writing a few shell or Perl scripts that automate
those steps -- then share them with the rest of the world.  You might
also, if writing such scripts is too far outside your expertise, simply
put together a carefully crafted list of steps you think should be taken
so you can pass it on to others like myself who might be more likely to
write the code (at which point I/he/she can give it back to you for your
own use).

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Real ugliness is not harsh-looking syntax, but having to
build programs out of the wrong concepts. - Paul Graham
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is FTP install broken?

2007-04-17 Thread Kris Kennaway
On Tue, Apr 17, 2007 at 01:45:44PM -0700, Philip J. Koenig wrote:
 On 17 Apr 2007 at 11:34, Sean Murphy boldly uttered: 
 
  Kris Kennaway wrote: 
  On Tue, Apr 17, 2007 at 04:51:19AM -0700, Philip J. Koenig wrote:

  I'm trying to install the 200703 snapshot of 6.2-STABLE, and no 
  matter what server I select, no matter what variant I try of various 
  length paths specified in a custom URL to a server that I *know* has 
  the files (ftp.freebsd.org), I get the following message:
  
  Warning: Can't find the '6.2-STABLE-200703' distribution on this
  FTP server.  You may need to visit a different server for
  the release you are trying to fetch or go to the Options
  menu and to (sic) set the release name to explicitly match what's
  available on ftp.freebsd.org (or set to any).
   
  Would you like to select another FTP server?
  
  
  I am booting from the 200703 snapshot i386 bootdisk-only ISO image.
  
  
  I don't think FTP installs are possible for snapshots, i.e. only the
  ISO images are provided.
  
  During the choice for the ftp server selection there are two servers 
  close to the top of the list that are named snapshot.se.freebsd.org 
  and snapshot.jp.freebsd.org you might want to try those.
  
 
 Tried both before I posted my message here.  I got the can't find 
 message on both of them.
 
 Re: Kris's assertion, I guess I could have lived with that if it 
 weren't for the fact that the installer doesn't give you any clue of 
 this.
 
 Thought I was going to avoid the time to download and burn a couple 
 of CD's, and now it's sucked up way more of my time than making those 
 CD's ever would have...
 
 Thanks for the answers/input.

No special casing happens for the snapshot builds, i.e. sysinstall is
not specially modified to disable the FTP install option.

It should be mentioned in the documentation; but for all I know it
already is :)

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


Re: keeping all things up to date

2007-04-17 Thread Kevin Kinsey

Chad Perrin wrote:


If you have specific ideas about what parts of the updating process are
safe, you might try writing a few shell or Perl scripts that automate
those steps -- then share them with the rest of the world.  You might
also, if writing such scripts is too far outside your expertise, simply
put together a carefully crafted list of steps you think should be taken
so you can pass it on to others like myself who might be more likely to
write the code (at which point I/he/she can give it back to you for your
own use).


This is possible - perhaps even trivial.  Of course, when something breaks,
you're off to get a console, whether it's the next office over or a thousand
miles away.

Attached is a modified version of what I use on some of our machines, for OS
only, if anyone wants a starting point.  It's part of a larger system I'll
probably never finish.  It's pretty simple, amateurish even ... no tests, etc.
Since we know it works for us, didn't figure it was needed.

YMMV, BSD license, include #disclaimer.h, etc.

Kevin Kinsey
--
You can observe a lot just by watching.
-- Yogi Berra
#! /bin/sh

#DEFINE THE FOLLOWING:
  #Csup program
CSUP=/usr/local/bin/cvsup
  #Kernel file
$KERNFILE=$SRCTREE/sys/i386/conf/GENERIC
  #Log Directory
LOGDIR=~/buildlogs
  #Admin's mail address
MAIL2=[EMAIL PROTECTED]
  #path to source tree
SRCTREE=/usr/src
  #source supfile
SRC_SUPFILE=/stable-supfile
  #temp dir
TMPD=$TMPD

# More defines
HOST=`hostname`
SCRIPT=`realpath $0`
SCRIPTDIR=`realpath .`
$MSG=updatemsg.txt

echo $HOST successfully built
a GENERIC kernel plus Firewall,
Divert and Dummynet options.   $SCRIPTDIR/updatemsg.txt

 # Get to proper wd and update the source tree
cd $SRCTREE; $CSUP $SRC_SUPFILE  $LOGDIR/src.cvsup 21
 #report and clean up
echo $HOST cvsup script reporting  $TMPD/buildlogfoo
echo \n  $TMPD/buildlogfoo
tail $LOGDIR/src.cvsup  $TMPD/buildlogfoo
cat $TMPD/buildlogfoo | mail -s Server Report $HOST CVSup $MAIL2
rm $TMPD/buildlogfoo
 
 # Next step: build the world
make buildworld  $LOGDIR/buildworld 21
 
 # report and clean up
echo $HOST buildworld script reporting  $TMPD/buildlogfoo
echo \n  $TMPD/buildlogfoo
tail $LOGDIR/buildworld  $TMPD/buildlogfoo
cat $TMPD/buildlogfoo | mail -s Server Report $HOST Buildworld $MAIL2
rm $TMPD/buildlogfoo
 
 # Set up kernel options for Firewall, Nat, Dummynet
echo$KERNFILE
echo # added by $SCRIPT   $KERNFILE
echo$KERNFILE
echo options   IPFIREWALL  $KERNFILE
echo options   IPFIREWALL_VERBOSE_LIMIT=10  $KERNFILE
echo options   IPDIVERT  $KERNFILE
echo options   DUMMYNET  $KERNFILE
echo options   HZ=1000  $KERNFILE
echo$KERNFILE
  
 # Build the kernel
make buildkernel  $LOGDIR/kernel 21
tail $LOGDIR/kernel  $TMPD/kernelfoobuild
cat $SCRIPTDIR/$MSG $TMPD/kernelfoobuild | mail -s $HOST Kernel  Build 
Report $MAIL2
rm $TMPD/kernelfoobuild
 
 # Install the new kernel
make installkernel  $LOGDIR/kern.inst 21
echo Report on kernel installation from $HOST   $TMPD/kernelinstallfoo
cat $TMPD/kernelinstallfoo $LOGDIR/kern.inst | mail -s $HOST kernel  
install report $MAIL2
rm $TMPD/kernelinstallfoo 
 
 exit 0;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Migrating from i386 to AMD64

2007-04-17 Thread Don O'Neil
I've currently got a production server in place that I want to do some
hardware upgrades on. We're currently running a Dual P3 1.4 GHz and I plan
on replacing it with an AMD X2-5200+ cpu/mb.

Now.. Can I just use the same SMP kernel I have currently (assuming the
correct drivers are loaded) for the X2 processor if I just want to run it in
32 bit mode? Or do I need to do a complete re-install/upgrade to the AMD64
platform version of FreeBSD?

I'm not worried about memory usage past 4 GB (that's all we're installing),
or the slight (possible) increase in speed from using the native 64 bit
stuff.

Are there any issues I should be aware of?

Of course I'm going to bench test everything with an image of the production
server, just to be sure, but I'd like to know what I'm getting into before I
start.

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


Re: Migrating from i386 to AMD64

2007-04-17 Thread Josh Carroll

Now.. Can I just use the same SMP kernel I have currently (assuming the
correct drivers are loaded) for the X2 processor if I just want to run it in
32 bit mode?


Yes, it should work fine. You may need to update /etc/fstab of course,
and any other settings that need to change along with the motherboard
change, but other than that it should just work.


Or do I need to do a complete re-install/upgrade to the AMD64
platform version of FreeBSD?


If you want to run the AMD64 version, yes the BKM is a re-install. But
you need not install the AMD64 version, the i386 version will run fine
on the X2.


I'm not worried about memory usage past 4 GB (that's all we're installing),
or the slight (possible) increase in speed from using the native 64 bit
stuff.


Then stick with i386. Your existing installation (assuming you've not
used processor-specific CFLAGS to build world and/or ports) should
work fine.

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


Loop/wildcard-like syntax for GNU make?

2007-04-17 Thread Kelly Jones

Here's a Makefile that converts 3 GIFs to JPGs in a given directory:

1.jpg: 1.gif
  /usr/local/bin/convert 1.gif 1.jpg
2.jpg: 2.gif
  /usr/local/bin/convert 2.gif 2.jpg
3.jpg: 3.gif
  /usr/local/bin/convert 3.gif 3.jpg

How do I generalize this to apply to ALL the GIFs in a given
directory? I tried:

*.jpg: *.gif
  /usr/bin/local/bin/convert $1.gif $1.jpg

but this obviously doesn't work (I didn't really expect it to). Neither does

for $i (*.jpg) {
$i.jpg: $i.gif
   /usr/bin/local/bin/convert $i.gif $i.jpg
}

(again, didn't really expect it to, since you can't put shell looping
into a Makefile).

--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dhcp/update of A records on Bind

2007-04-17 Thread J.D. Bronson

Ok...I have DHCP on fxp0 to my ISP (cable)
and I have a public DNS server (static IP) off site.

I want to be able to update my own public DNS server A records
if/when my DHCP IP changes.

I am familar with nsupdate and I have used TSIG in the past to do this.
Does FBSD 6.2-stable offer any EASY way of doing this via DHCP?

Can dhclient kick something off perhaps?

I have a shell script but looking for a cleaner easier more concise way.
I am sure dhclient knows when the IP changes at least :)

thanks in advance.

-JD

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


Re: sendmail with dovecot with nologin account

2007-04-17 Thread David Banning
 For mail-only users with-out a shell, what is the best way to direct
 mail to them in Maildir format within ~/Maildir - maybe directly from
 .forward?
 
   
 Not an expert but I am just starting to think about moving from mbox to 
 mdir on my home server, so Id be interested in how you get on.
 man procmail says
   If  no rcfiles and no -p have been specified on the command line, 

Well as to my problem, it turns out that a shell is not needed for 
procmailrc to work. It was the permissions on the users home directory
that caused me grief.

On the use of mdir, I am not yet a veteran user but so far I like
it. It seems fast. I really like having each file separate, since
I am backing up the users mail; with mdir I can backup only the
new email which saves a lot of time on backup. I am sold on imap
P
as a mail delivery process. I was using imap-uw but it was not possible
to create subdirectories with mail clients. 

Two webmail clients, squirrelmail, and round-cube are both excellent
for imap use.  For mbox to mdir conversion, I used mb2md which kept
the original file date in tact - (better than mbox2mdir in the
ports) I used the page

http://batleth.sapienti-sat.org/projects/mb2md/

for reference which provides some good examples to automatically
setup directories and convert mailboxes.

All said, simple to setup and run. Dovecot also includes pop3 if 
you want to run it. If you have any questions you can try me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail with dovecot with nologin account

2007-04-17 Thread Jonathan Horne
On Tuesday 17 April 2007 19:55:18 David Banning wrote:
  For mail-only users with-out a shell, what is the best way to direct
  mail to them in Maildir format within ~/Maildir - maybe directly from
  .forward?
 
  Not an expert but I am just starting to think about moving from mbox to
  mdir on my home server, so Id be interested in how you get on.
  man procmail says
If  no rcfiles and no -p have been specified on the command line,

 Well as to my problem, it turns out that a shell is not needed for
 procmailrc to work. It was the permissions on the users home directory
 that caused me grief.

 On the use of mdir, I am not yet a veteran user but so far I like
 it. It seems fast. I really like having each file separate, since
 I am backing up the users mail; with mdir I can backup only the
 new email which saves a lot of time on backup. I am sold on imap
 P
 as a mail delivery process. I was using imap-uw but it was not possible
 to create subdirectories with mail clients.

 Two webmail clients, squirrelmail, and round-cube are both excellent
 for imap use.  For mbox to mdir conversion, I used mb2md which kept
 the original file date in tact - (better than mbox2mdir in the
 ports) I used the page

 http://batleth.sapienti-sat.org/projects/mb2md/

 for reference which provides some good examples to automatically
 setup directories and convert mailboxes.

 All said, simple to setup and run. Dovecot also includes pop3 if
 you want to run it. If you have any questions you can try me.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

david, instead of squirrelmail, take a look at squirreloutlook.  same authors 
i believe, but the interface is much more modern feeling.

cheers,
-- 
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]


ACLs in a jail ... not usable?

2007-04-17 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Just want to make sure there isn't something I'm missing, but it apears ACLs 
aren't settable from within a jail?

# setfacl -m g:mail:rwx Login.1
setfacl: acl_get_file() failed: Operation not supported

Thanks ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGJX4P4QvfyHIvDvMRAmzJAJsFVYyl33FbkZem/EBiCfrmBt4l0gCg3zot
XVf5NIZRg/x8X8izRSda52o=
=Zn8O
-END PGP SIGNATURE-

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


Re: ACLs in a jail ... not usable?

2007-04-17 Thread Anish Mistry
On Tuesday 17 April 2007, Marc G. Fournier wrote:
 Just want to make sure there isn't something I'm missing, but it
 apears ACLs aren't settable from within a jail?

 # setfacl -m g:mail:rwx Login.1
 setfacl: acl_get_file() failed: Operation not supported
ACLs work fine in jails.  Are you sure you enabled ACLs on the 
filesystem?



-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgpRuWOK2AWQ6.pgp
Description: PGP signature


Re: Loop/wildcard-like syntax for GNU make?

2007-04-17 Thread Parv
in message [EMAIL PROTECTED],
wrote Kelly Jones thusly...

Would you mind cutting the number of mailing lists? I think a|any
technical list would have been enough.

Anyway ...


  Here's a Makefile that converts 3 GIFs to JPGs in a given directory:
 
  1.jpg: 1.gif
/usr/local/bin/convert 1.gif 1.jpg
  2.jpg: 2.gif
/usr/local/bin/convert 2.gif 2.jpg
  3.jpg: 3.gif
/usr/local/bin/convert 3.gif 3.jpg
 
  How do I generalize this to apply to ALL the GIFs in a given
  directory? I tried:
 
  *.jpg: *.gif
/usr/bin/local/bin/convert $1.gif $1.jpg
 
  but this obviously doesn't work (I didn't really expect it to). Neither does
 
  for $i (*.jpg) {
  $i.jpg: $i.gif
 /usr/bin/local/bin/convert $i.gif $i.jpg
  }

Following worked with both BSD  GNU make 3.81 (mind the
tabs|spaces)...

  #  Makefile
  all:
@for i in 1 2 3;\
do \
echo i: $$i;\
done


... so some version of body of a target below should work for you
(mind the spaces|tabs) ...

  @cd $$image_dir;\
  for f in *.gif;\
  do \
new=$( basename $$f '.gif' )'.jpg';\
convert $$f $$new;\
  done


  - Parv

-- 

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


Re: ACLs in a jail ... not usable?

2007-04-17 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Tuesday, April 17, 2007 22:38:45 -0400 Anish Mistry 
[EMAIL PROTECTED] wrote:

 On Tuesday 17 April 2007, Marc G. Fournier wrote:
 Just want to make sure there isn't something I'm missing, but it
 apears ACLs aren't settable from within a jail?

 # setfacl -m g:mail:rwx Login.1
 setfacl: acl_get_file() failed: Operation not supported
 ACLs work fine in jails.  Are you sure you enabled ACLs on the
 filesystem?

Great, knew it couldn't be *that* easy :(

At what point do I have to enable them?  I figured 'if getfacl worked, setfacl 
would too':

# getfacl cvsupd.core
#file:cvsupd.core
#owner:0
#group:0
user::rw-
group::---
other::---

Apparently not ... ?

A quick look at tunefs, I see the -a option ... I take it -a enable is all I 
have to do to the file system to enable ACLs?

Thanks ...



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGJaHA4QvfyHIvDvMRAu+3AJ9cy4CQKy6rh1vdViipRrbE7FrqngCgxr5L
A/HVQRUeu7JnvOihVLck96c=
=2LO8
-END PGP SIGNATURE-

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