building and installing world on two separate machines

2006-09-03 Thread Dave

Hello,
   I have a machine that i want to upgrade from 5.x to 6.1. I've got a 6.1 
world built on a much faster system and would like to just install it on 
this machine. I thought about nfs, but i have to drop to single user mode to 
do the make installworld and won't have nfs available. Is there a way i can 
install this already compiled world on the slower box without having to 
remake 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: Dump to DVD

2006-09-03 Thread Martin Hepworth

Hi

Well I know this is a bit OT, but amanda can do spit 'dump's over multilple
tapes/dvds/whatever.

That way you also have an index of what's on what media etc.

--
Martin

On 9/4/06, Beech Rintoul <[EMAIL PROTECTED]> wrote:


Can someone give me a bit of help? I'm trying to dump /user to multiple
DVD's
and keep getting a write error when the DVD runs out of space. I need an
example of the proper command. I think I need to add file size to the
command, but I'm not quite sure how to do it. I don't normally use DVD's
so
this is a bit new to  me.

TIA

Beech
--


---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com

---















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


Re: time to come clean... .

2006-09-03 Thread Gary Kline
On Sun, Sep 03, 2006 at 09:44:53PM -0700, David King wrote:
> >It's time to come clean and admit that parts/most of rsync are
> >lost on me.  [...]
> >How can I automate the backup via rsync to other servers?
> 
> Depending on the backup strategy that you want, I highly recommend  
> rsnapshot (/usr/ports/sysutils/rsnapshot  >). It handles most of the management of retaining past backups up  
> to X days, X weeks, etc, and uses hardlinks to save space between the  
> backups. So because it uses rsync, it uses the bandwidth of an  
> incremental backup, but because it uses directory trees of hardlinks,  
> each backup is completely restorable like a full backup.
> 

One problem may be semantics.  I'm not certain if I want directory
/etc/* synchronized on servers A and B, or if I just want a 
100%-guaranteed backup ... .  Since I do 99% of stuff on
tao, I want every other (possible) server to sync up my ~/* files
on other machines. The build and config files I just want tar'd up
and moved to, say, /usr/tmp/tao, /usr/tmp/sage, usr/tmp/zen, and
so on.  This stuff is what I would like done at least daily.

I'll look at rsnapshot.  A very big (*)++plus is that Dru
wrote it.  That mean it's thoroughly first rate.

Around 10 hrs sleep in three days just don' cut it.

-- 
   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: Various package/ports problems

2006-09-03 Thread Kris Kennaway
On Sun, Sep 03, 2006 at 06:31:18PM -0700, Dr. Jennifer Nussbaum wrote:
> Kris Kennaway <[EMAIL PROTECTED]> wrote: On Sun, Sep 03, 2006 at 05:58:36PM 
> -0700, Dr. Jennifer Nussbaum wrote:
> > Kris Kennaway  wrote: On Mon, Aug 28, 2006 at 01:59:14PM -0700, Dr. 
> > Jennifer Nussbaum wrote:
> > 
> >> Thanks, i CAN compile from the ports collection (i never wanted to use
> >>  packages). Its MANAGING this that i cant do. I can update my ports tree
> >> fine, and i can go into ports directory and do a make install, sure.
> >> 
> >> But i cant do portsversion to see what needs updating, and i cant do
> >> pkg_info to find out what versions i have. So doing something like
> 
> >Why not (in both cases)?As i posted in the original message - the main 
> >question i was
> asking - both of these are broken in some way. Reposting:
> 
> ---
> 
> For example if i try to run "portversion" i get:
> 
>   undefined method `each' for nil:NilClass
>   /usr/local/sbin/portversion:239: [BUG] Bus Error
> 
> from Ruby (ruby 1.8.5 is up to date on the system).

pkgdb -f

> 
> If i try to run "pkg_info" I quickly get:
> 
>   pkg_info: read_plist: bad command '@conflicts apache+ipv6-1.*'
> 
> (i googled for similar problems and there were a few other reports
> 
> of this, with other packages, but no suggestion of how to fix them.)

Deinstall the package that was built for a later version of FreeBSD.

Kris

pgpOQzObD7MKY.pgp
Description: PGP signature


Re: apache22 Checksum mismatch

2006-09-03 Thread Alexey Mikhailov

Andrea Venturoli wrote:

Hi.
I'm trying to install apache22 on a 6.1 machine.
Here what I get since days:


=> MD5 Checksum OK for apache22/httpd-2.2.3.tar.bz2.
=> SHA256 Checksum OK for apache22/httpd-2.2.3.tar.bz2.
=> MD5 Checksum mismatch for apache22/apr_dbd_mysql.rev-50.c.
=> SHA256 Checksum mismatch for apache22/apr_dbd_mysql.rev-50.c.
===>  Giving up on fetching files: apache22/apr_dbd_mysql.rev-50.c 
apache22/apr_dbd_mysql.rev-50.c


I've obviously tried deleting that file and refetching, but I always 
end up the same.

Is it happening to everyone?
Any hint or plan to correct this?

If you trust to content of file "apache22/apr_dbd_mysql.rev-50.c" you 
can even use "make NO_CHECKSUM=1 install".
But if I were at your place I tried to update "apache22" port and if 
this will happen again I would submit PR.



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


Re: time to come clean... .

2006-09-03 Thread Gary Kline
On Sun, Sep 03, 2006 at 10:39:40PM -0600, Chad Leigh -- Shire.Net LLC wrote:
> 
> On Sep 3, 2006, at 10:35 PM, Gary Kline wrote:
> 
> >
> > Folks,
> > How can I automate the backup via rsync to other servers?
> 
> I believe the default for rsync is to use ssh as a transport.  That  
> is how I am using it with ssh certificates.  Read up on rsync and if  
> you want to create some cron jobs that would be an easy automation.
> 

yeah, the default IS ssh, rsh-no-mo.  what i want is to cron stuff 
exactly like Mathews's ideas.   then at least, i'll have VERY recent
synchronization   iow:help me get this right; please.

i have spent hours reading about rsync.  my printserver (tao) is busted;
the man pages are horrible, &c.

gary

> Chad
> 
> ---
> Chad Leigh -- Shire.Net LLC
> Your Web App and Email hosting provider
> chad at shire.net
> 
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
   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: time to come clean... .

2006-09-03 Thread David King

It's time to come clean and admit that parts/most of rsync are
lost on my.  [...]
How can I automate the backup via rsync to other servers?


Depending on the backup strategy that you want, I highly recommend  
rsnapshot (/usr/ports/sysutils/rsnapshot ). It handles most of the management of retaining past backups up  
to X days, X weeks, etc, and uses hardlinks to save space between the  
backups. So because it uses rsync, it uses the bandwidth of an  
incremental backup, but because it uses directory trees of hardlinks,  
each backup is completely restorable like a full backup.



I have
a couple boxen out there miles remote; the rest are meters apart.
If 'expect the unexpected' is any guide, now I *am* expecting.
If it means a few days and 8 hours of typing, then that's just
the price.  (That I had a recent TaoEtc.tbz is a good sign; that
it was in /usr/tmp _on_ tao is not a good sign... .)

I've just installed/reinstaled rsync here on ns1.thought.org (aka
"sage") and on zen.thought.org.  I've fiddled with the rsyncd.conf on
both FBSD systems.  What I don't understand is how rsync, using
ssh, gets past the secret password.  If, say, I want to
copy all of my www files from sage to zen, what do I put
into /usr/local/etc/rsyncd.secrets? Let's say that rsyncd.secrets
had:

# User : pw
root : abcd
kline: wxyz

Would this old snippet work as a starting place, exec'd by root:



rsync --verbose  --progress --stats --compress --rsh=/usr/local/bin/ 
ssh

  --recursive --times --perms --links --delete \
  --exclude "*bak" --exclude "*~" \
  /usr/local/www/* zen.thought.org:/usr/local/www

  ??

  Thanks for any clues.  I have a lot of stuff tarballed, but it's
  time to do things right!!

  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 "freebsd-questions- 
[EMAIL PROTECTED]"


--
David King
Computer Programmer
Ketralnis Systems


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


Re: HP-1022 laser printer

2006-09-03 Thread Mikhail Goriachev
Andriy Babiy wrote:
> Hello,
> 
> Could anybody advise me on the HP-1022 laser printer? Does anyone have this 
> model working on the FreeBSD? I'm going to buy it, therefore I wanted to 
> check if there are any issues/problems about it. I found postings about "USB 
> port busy" problem, but guys didn't specify clearly the platform they used.
> Especially, I'm interested in positive experiences.
> Originally, I posted the question to freebsd-hardware, with no answer though.
> Thank you for your time.


This might come in handy:

http://www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_1022

Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: time to come clean... .

2006-09-03 Thread Chad Leigh -- Shire.Net LLC


On Sep 3, 2006, at 10:35 PM, Gary Kline wrote:



Folks,
How can I automate the backup via rsync to other servers?


I believe the default for rsync is to use ssh as a transport.  That  
is how I am using it with ssh certificates.  Read up on rsync and if  
you want to create some cron jobs that would be an easy automation.


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


time to come clean... .

2006-09-03 Thread Gary Kline

Folks,

It's time to come clean and admit that parts/most of rsync are 
lost on my.  The good-old-days when everybody trusted everybody
on the net--when it was mostly just we geeks are way gone.
Crackers, prob'ly 12-year-olds using DOS scripts, tried to
crack my ns1 server.  After that I upgraded to bind-9 and read
[and enjoyed] DNS/BIND, *and* began using ssh.  So a lot of my
automatic backup programs stopped working.  As thought.org grew
from one machine to four, it became that much harder to tar and
backup stuff.  (I have automated some backups, but crudely.   
Now, after Friday's "trap 18",  my first fatal ever, it's time 
to follow the backup system that Matthew suggested.)

How can I automate the backup via rsync to other servers?  I have 
a couple boxen out there miles remote; the rest are meters apart.  
If 'expect the unexpected' is any guide, now I *am* expecting.   
If it means a few days and 8 hours of typing, then that's just 
the price.  (That I had a recent TaoEtc.tbz is a good sign; that 
it was in /usr/tmp _on_ tao is not a good sign... .)

I've just installed/reinstaled rsync here on ns1.thought.org (aka
"sage") and on zen.thought.org.  I've fiddled with the rsyncd.conf on
both FBSD systems.  What I don't understand is how rsync, using
ssh, gets past the secret password.  If, say, I want to
copy all of my www files from sage to zen, what do I put
into /usr/local/etc/rsyncd.secrets? Let's say that rsyncd.secrets
had:

# User : pw
root : abcd
kline: wxyz

Would this old snippet work as a starting place, exec'd by root:



rsync --verbose  --progress --stats --compress --rsh=/usr/local/bin/ssh
  --recursive --times --perms --links --delete \
  --exclude "*bak" --exclude "*~" \
  /usr/local/www/* zen.thought.org:/usr/local/www

  ??

  Thanks for any clues.  I have a lot of stuff tarballed, but it's
  time to do things right!!

  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: how can I su as root over telnet or ssh?

2006-09-03 Thread armstrong adam

It really woks!!thanks,
but why this happen?
which part of the document explain this?
I browsed the documentation and cannot find it



From: Jonathan Chen <[EMAIL PROTECTED]>
To: armstrong adam <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: how can I su as root over telnet or ssh?
Date: Mon, 4 Sep 2006 14:19:18 +1200

On Mon, Sep 04, 2006 at 10:12:26AM +0800, armstrong adam wrote:
> yes,the user logging on is in the wheel group,

You should add the user to `wheel' via /etc/group, and not via
the login-group.
--
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Beer. Now there's a temporary solution."
   - Homer Simpson



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


Re: migrating user and web files to new server

2006-09-03 Thread Chad Leigh -- Shire.Net LLC


On Sep 3, 2006, at 8:59 PM, Noah wrote:


hackmiester (Hunter Fuller) wrote:


On 3 September 2006, at 20:34, Noah wrote:


hackmiester (Hunter Fuller) wrote:


I find it incredibly interesting that, while you REFUSE SPECIFY  
exactly what you want, you find it necessary to deem certain  
commands unacceptable! No one is going to freaking spoon feed  
you this stuff! What you just pasted will do basically THE SAME  
THING as tarring and scping it over, so what's the problem? The  
only difference is there is no intermediate tar file. If that's  
what you wanted, why can't you just SAY THAT?!




cool.  it is different though.  ssh and scp are quite different  
syntax.  thank you.


Obviously they are different syntax, but the two commands posted  
give you the same end result. Why are you rejecting the syntax?!




Hi there,

I never saw any syntax for the scp way of doing it.  Also after I  
received the ssh command I was happy to see that moving files could  
be performed on one line


you mean like

% tar cf newfile.tar mydirtotar; scp newfile.tar [EMAIL PROTECTED]:

?

that is one command line

Chad


and want to share it with the list and soon google.

please lets drop the issue it seems too nitpicky.

cheers,

Noah




cheers,

Noah





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


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: solaris

2006-09-03 Thread Chad Leigh -- Shire.Net LLC


On Sep 3, 2006, at 9:20 PM, P.U.Kruppa wrote:


On Sun, 3 Sep 2006, dick hoogendijk wrote:


I have a 3-part disk:
(a) XP for games
(b) FreeBSD-6.1 (my main OS)
(c) FreeBSD-6.1 (a backup)

I want to replace the third partition with solaris 10, mainly for
studying this OS. I burned the DVD. Will it install solaris on this
third partition without trouble? Will I be able to continue to use  
the

FreeBSD bootloader or do I need to isntall sol's grub?

The documentation on SUN and solaris is huge. Many many pdf files..
Are there better ways then these pdf's? Good books on solaris 10?
Starting points on the net? I ask here because I know lot of you guys
here have also installed solaris 10 (at least I remember seeing it  
here)


Hope to get some advice and reading points. I have years of  
experience

with linux and FreeBSD and like to explore new (OS) challences.
I did something like that (WIN2k instead of XP) last year - no  
problem. You might feel better if you had some kind of bootloader  
disk at hand (something like GAG (my favourite), grub or whatever).


At that time I was very disappointed of solaris:
- very slow
- very old versions of software
Tell me if that has improved. I decided to test Debian instead, and  
am very satisfied with it.


I am not sure about installing Solaris into an existing partition.   
The new U2 of Solaris 10 uses grub though.   But I find Solaris 10  
much faster than FreeBSD for some things (java, threaded apps, etc).   
It has its quirks and I am sure that FreeBSD has its advantages (for  
me I use FreeBSD on most of my servers but have a few Solaris 10  
based ones for java, ZFS, etc).  I am not trying to get into a mud- 
slinging match -- both are good.  But I wanted to mention that  
Solaris is a very mature OS.  It is a hyrbid BSD/SVR4 system in terms  
of commands (I believe in ancietnt history SunOS was a VSD variant  
that switched to a SVR4 variant when it became Solaris).  And FreeBSD  
has the upper hand in my estimation in terms of normal userland stuff  
like an updated tar and update apps in many cases (userland utils) so  
a lot of things you normally do will be frustrating at first until  
you learn that he command flags are different on Solaris than on  
FreeBSD.


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: Unicode support on freebsd?

2006-09-03 Thread P.U.Kruppa

On Mon, 4 Sep 2006, Wei Hu wrote:


When will Freebsd support unicode? Freebsd 7?
What exactly do you want be supported? In my /usr/share/locale/ I 
can see some UTF-8 directories.


Regards,

Uli.


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





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


Re: New widescreen monitor, old radeon card - will this not work?

2006-09-03 Thread Oliver Iberien
Yes, you'd think, but no. I got a $50 GeForce 6200 LE/256M card and it works, 
as long as I use the proprietary driver. With the standard nv driver that 
xorgconfig came up with, it was just as bad as the Radeon. 

The nvidia config utility did not add extra lines to the config file, 
incidentally.

Thanks,

Oliver

On Sunday 03 September 2006 09:12, Atom Powers wrote:
> I don't know of any reason a less-that-eight-year-old Radeon card
> couldn't support that resolution. I think you only need <64MB video
> memory to support that resolution at 32bit color. Some monitors need
> extra settings in the config line though.
>
> I have recently tested 1680x1050,32bit color with Nvidia 6600, 6800,
> 7900 cards. (On MS Win, linux though. )

> On 9/3/06, Oliver Iberien <[EMAIL PROTECTED]> wrote:
> > As usual, as soon as I post, I discover the correct search string to get
> > me to the answer:
> >
> > http://www.mail-archive.com/freebsd-questions%40freebsd.org/msg147148.htm
> >l
> >
> > This poster even bought the same monitor I did. Does anyone know: Will
> > newer nvidia cards generally work at this resolution? It seems safest
> > just to get the one he did.
> >
> > > I have a new monitor with the following specs:
> > > Horiz 31-87 kHz
> > > Vert 56-75 Hz
> > > [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: solaris

2006-09-03 Thread P.U.Kruppa

On Sun, 3 Sep 2006, dick hoogendijk wrote:


I have a 3-part disk:
(a) XP for games
(b) FreeBSD-6.1 (my main OS)
(c) FreeBSD-6.1 (a backup)

I want to replace the third partition with solaris 10, mainly for
studying this OS. I burned the DVD. Will it install solaris on this
third partition without trouble? Will I be able to continue to use the
FreeBSD bootloader or do I need to isntall sol's grub?

The documentation on SUN and solaris is huge. Many many pdf files..
Are there better ways then these pdf's? Good books on solaris 10?
Starting points on the net? I ask here because I know lot of you guys
here have also installed solaris 10 (at least I remember seeing it here)

Hope to get some advice and reading points. I have years of experience
with linux and FreeBSD and like to explore new (OS) challences.
I did something like that (WIN2k instead of XP) last year - no 
problem. You might feel better if you had some kind of bootloader 
disk at hand (something like GAG (my favourite), grub or 
whatever).


At that time I was very disappointed of solaris:
- very slow
- very old versions of software
Tell me if that has improved. I decided to test Debian instead, 
and am very satisfied with it.


Regards,

Uli.




--
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"





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


Re: migrating user and web files to new server

2006-09-03 Thread Noah

hackmiester (Hunter Fuller) wrote:


On 3 September 2006, at 20:34, Noah wrote:


hackmiester (Hunter Fuller) wrote:


I find it incredibly interesting that, while you REFUSE SPECIFY 
exactly what you want, you find it necessary to deem certain 
commands unacceptable! No one is going to freaking spoon feed you 
this stuff! What you just pasted will do basically THE SAME THING as 
tarring and scping it over, so what's the problem? The only 
difference is there is no intermediate tar file. If that's what you 
wanted, why can't you just SAY THAT?!




cool.  it is different though.  ssh and scp are quite different 
syntax.  thank you.


Obviously they are different syntax, but the two commands posted give 
you the same end result. Why are you rejecting the syntax?!




Hi there,

I never saw any syntax for the scp way of doing it.  Also after I 
received the ssh command I was happy to see that moving files could be 
performed on one line and want to share it with the list and soon google.


please lets drop the issue it seems too nitpicky.

cheers,

Noah




cheers,

Noah





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


Re: migrating user and web files to new server

2006-09-03 Thread hackmiester (Hunter Fuller)


On 3 September 2006, at 20:34, Noah wrote:


hackmiester (Hunter Fuller) wrote:


I find it incredibly interesting that, while you REFUSE SPECIFY  
exactly what you want, you find it necessary to deem certain  
commands unacceptable! No one is going to freaking spoon feed you  
this stuff! What you just pasted will do basically THE SAME THING  
as tarring and scping it over, so what's the problem? The only  
difference is there is no intermediate tar file. If that's what  
you wanted, why can't you just SAY THAT?!




cool.  it is different though.  ssh and scp are quite different  
syntax.  thank you.


Obviously they are different syntax, but the two commands posted give  
you the same end result. Why are you rejecting the syntax?!




cheers,

Noah





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


Unicode support on freebsd?

2006-09-03 Thread Wei Hu

When will Freebsd support unicode? Freebsd 7?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSDstats v3.0 - The Security Rewrite

2006-09-03 Thread Marc G. Fournier

On Mon, 14 Aug 2006, Paul Schmehl wrote:


Marc, thanks for all your hard work on these issues.

One small change needs to be made.  The pkg-message file reads, at its end:
o view current statistics, go to:
   http://bsdstats.hub.org

That needs to be changed to http://www.bsdstst.org/

This patch will fix it.

--- pkg-message.origMon Aug 14 10:02:29 2006
+++ pkg-message Mon Aug 14 10:02:51 2006
@@ -10,6 +10,6 @@
   /usr/local/etc/periodic/monthly/300.statistics

To view current statistics, go to:
-http://bsdstats.hub.org
+http://www.bsdstats.org



Fixed, thanks ...

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


Re: how can I su as root over telnet or ssh?

2006-09-03 Thread Jonathan Chen
On Mon, Sep 04, 2006 at 10:12:26AM +0800, armstrong adam wrote:
> yes,the user logging on is in the wheel group,

You should add the user to `wheel' via /etc/group, and not via
the login-group.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Beer. Now there's a temporary solution."
   - Homer Simpson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSDstats v3.0 - The Security Rewrite

2006-09-03 Thread Marc G. Fournier

On Thu, 17 Aug 2006, Oliver Fromme wrote:


(1)  When run for the first time, you get an error message:
: not found
That's because a few bogus spaces after the backslash in
the line containing the chmod command.  Those trailing
spaces should be removed.  I suppose I don't need to send
a PR for that.  :-)


'k, that one is/was fixed ...


(2)  Some people aborted the inital "sleep 900" (because
of the above-mentioned error message, or other reasons),
then restarted the script.  In this case there is no sleep,
and the submission _seems_ to be successful (no negative
feedback), but it isn't.

One way to improve the situation would be to check the
mtime on the /var/db/bsdstats file.  If it's younger than
900 seconds, a sleep is required.  For example, something
like this piece of shell code (untested):

FILETIME=$( stat -f %m $id_token_file )
NOW=$( date +%s )
if [ $(( $NOW - 900 )) -le $FILETIME ]; then
   SLEEPTIME=$(( 900 - ($NOW - $FILETIME) ))
   echo "Token key is younger than 15 minutes!"
   echo "Sleeping $SLEEPTIME seconds, please wait."
   sleep $SLEEPTIME
fi


Code tested, and committed ... thanks ...


(3)  Some sites require the use of a proxy for HTTP access.
Such sites usually have an entry in /etc/make.conf, so the
ports can fetch their distfiles:

FETCH_ENV=  FTP_PROXY=http://proxy.my.site:3128 \
   HTTP_PROXY=http://proxy.my.site:3128

The bsdstats script could easily pick up that entry and set
the environment variables appropriatly.  This line at the
beginning of the script should be sufficient:

export $( make -V FETCH_ENV 2>/dev/null )


'k, that one could be a problem, since adding that line produces:

# /usr/local/etc/periodic/monthly/300.statistics
MACHTYPE
SSH_CLIENT
USER
MAIL
SHLVL
VENDOR
HOME
SSH_TTY
PAGER
GROUP
LOGNAME
BLOCKSIZE
TERM
PATH
REMOTEHOST
HOST
SHELL
OSTYPE
PWD
SSH_CONNECTION
FTP_PASSIVE_MODE
HOSTTYPE
EDITOR
Token key is younger than 15 minutes!
Sleeping 361 seconds, please wait.

Is there a better way of doing it that it would be silent?


(4)  Some sites have a proxy that requires authentication.
It is possible to include the password in the FETCH_ENV
entry in /etc/make.conf, but it's usually not a good idea
to do that, because you shouldn't write passwords to files
that are world-readable.

That problem could be solved in different ways.  One way
would be a periodic.conf setting that instructs the script
not to try to submit the data, but instead just print a
reminder to the admin that he should run the monthly script
manually (or print that reminder automatically when the
submission fails because the proxy denies access).
When the admin runs the script manually (which could be
detected by "test -t 0", i.e. stdin is a terminal), it
could ask for the HTTP proxy password and then set the
HTTP_PROXY_AUTH variable appropriately (see fetch(3)).


'k, this one has been brought up, and was something that I am hoping to 
address once I get back online properly this week ...



(5)  Some machines might not be able to access the web at
all.  For example, I'm right now working on a farm of 35
machines which don't have internet access, not even via
a proxy.  I can connect to them via ssh/scp (port 22) from
a management machine, and that management machine only has
web access via a proxy.

It would be nice to be able to request token keys on behalf
of those 35 servers from the management machine, transfer
them to the servers, run the data gathering script on the
servers (putting it into a file instead of submitting it
directyl), copy the results to the management machine and
finally submit them from there.  That's pretty complicated,
but I'm afraid I haven't gotten a better idea so far.  :-(


Actually, this is one that we have discussed, and believe we have a 
solution for already, I just  have to sit down and code this one ...


And I think it might actually act as a way of dealing with (4) as well ...

We're goin ot have a 'use_email' setting ... what will happen is as 
follows:


Initial Install / Run:
  Email is sent to root containing IDTOKEN= as generated by host, root 
forwards that to [EMAIL PROTECTED], [EMAIL PROTECTED] sends back KEY= value 
to be put in /var/db/bsdstats (manual cut-n-paste) ... script is re-run a 
second time, submits report values to root, root forwards that to 
[EMAIL PROTECTED] ...


Subsequent Runs:
  Email is sent to root containing report values, root forwards that to 
[EMAIL PROTECTED]


Now, in theory, root could have a filter on it that 'if subject = bsdstats 
report, auto-forward to [EMAIL PROTECTED]', but that would be totally up to 
the admin whether they wanted to do each report manually or not ...


(6)  All of the statistics on the web page are sorted by percentages. 
It would be nice to be able to click on a column header and have the 
table sorted by that value. That would be especially useful for the 
release statistics and the country statistics.


That is all major work in progress ... my first goal was to get

Re: how can I su as root over telnet or ssh?

2006-09-03 Thread armstrong adam

yes,the user logging on is in the wheel group,
any suggestion is appreciated!!



From: Jeff Cross <[EMAIL PROTECTED]>
To: armstrong adam <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: how can I su as root over telnet or ssh?
Date: Sun, 03 Sep 2006 20:33:05 -0500

armstrong adam wrote:
> hello every one!
>
>I have just installed FreeBSD 6.1-RELEASE,but I cannot su as root by
> telnet or ssh,why this happen? FreeBSD is really safe maybe, How can I
> su as root from remote?
> thanks!!
>
>
> best regards!!
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
>
>
Is the user you are logging on as in the wheel group?  I believe it has
to be before you can su to root.

Jeff Cross
http://www.averageadmins.com/



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


Re: Dump to DVD

2006-09-03 Thread stan
On Sun, Sep 03, 2006 at 05:17:58PM -0800, Beech Rintoul wrote:
> On Sunday 03 September 2006 15:27, stan wrote:
> > On Sun, Sep 03, 2006 at 03:10:45PM -0800, Beech Rintoul wrote:
> > > Can someone give me a bit of help? I'm trying to dump /user to multiple
> > > DVD's and keep getting a write error when the DVD runs out of space. I
> > > need an example of the proper command. I think I need to add file size to
> > > the command, but I'm not quite sure how to do it. I don't normally use
> > > DVD's so this is a bit new to  me.
> >
> > What command are you using? tar? dump? .
> 
> Dump dump -0au -L -f /dev/acd0 /usr
> 
> It used to just prompt me to feed in another DVD. Now it errors out when the 
> DVD is full.
> 

Hmm, the man page says that the -a option (which you are using), should
do just that.. odd. Have you played with teh -s option?


-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating user and web files to new server

2006-09-03 Thread Noah

hackmiester (Hunter Fuller) wrote:


On 3 September 2006, at 13:11, Noah wrote:


Philip Q wrote:

Noah wrote, On 4/09/06 3.58 a:

this command also meets my coolness requirements.
oldsys # tar -C /var/www -cf - . | ssh newsys tar -C /var/www -xvf -


Which is almost /exactly/ what Chad recommended to you...



kinda.  this is the syntax I was looking for.


I find it incredibly interesting that, while you REFUSE SPECIFY 
exactly what you want, you find it necessary to deem certain commands 
unacceptable! No one is going to freaking spoon feed you this stuff! 
What you just pasted will do basically THE SAME THING as tarring and 
scping it over, so what's the problem? The only difference is there is 
no intermediate tar file. If that's what you wanted, why can't you 
just SAY THAT?!




cool.  it is different though.  ssh and scp are quite different syntax.  
thank you.


cheers,

Noah


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


Re: Best gigabit network interface for FreeBSD?

2006-09-03 Thread David Kelly


On Sep 3, 2006, at 5:19 PM, Brett Glass wrote:

I have some Intel "em" interfaces available to me, but have been  
told that while the driver is well supported they are quirky and  
not the best choice.


I have an em built into the MB of a Dell PowerEdge 400SC and have no  
complaints. It will send/receive data at whatever the discs will  
support, typically 40+ MB/sec, 55 MB/sec to/from some locations on disk.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: how can I su as root over telnet or ssh?

2006-09-03 Thread Jeff Cross
armstrong adam wrote:
> hello every one!
> 
>I have just installed FreeBSD 6.1-RELEASE,but I cannot su as root by
> telnet or ssh,why this happen? FreeBSD is really safe maybe, How can I
> su as root from remote?
> thanks!!
> 
> 
> best regards!!
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
> 
> 
Is the user you are logging on as in the wheel group?  I believe it has
to be before you can su to root.

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


Re: migrating user and web files to new server

2006-09-03 Thread hackmiester (Hunter Fuller)


On 3 September 2006, at 13:11, Noah wrote:


Philip Q wrote:

Noah wrote, On 4/09/06 3.58 a:

this command also meets my coolness requirements.
oldsys # tar -C /var/www -cf - . | ssh newsys tar -C /var/www -xvf -


Which is almost /exactly/ what Chad recommended to you...



kinda.  this is the syntax I was looking for.


I find it incredibly interesting that, while you REFUSE SPECIFY  
exactly what you want, you find it necessary to deem certain commands  
unacceptable! No one is going to freaking spoon feed you this stuff!  
What you just pasted will do basically THE SAME THING as tarring and  
scping it over, so what's the problem? The only difference is there  
is no intermediate tar file. If that's what you wanted, why can't you  
just SAY THAT?!




Cheers,

Noah




-Phil


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[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: Various package/ports problems

2006-09-03 Thread Dr. Jennifer Nussbaum
Kris Kennaway <[EMAIL PROTECTED]> wrote: On Sun, Sep 03, 2006 at 05:58:36PM 
-0700, Dr. Jennifer Nussbaum wrote:
> Kris Kennaway  wrote: On Mon, Aug 28, 2006 at 01:59:14PM -0700, Dr. Jennifer 
> Nussbaum wrote:
> 
>> Thanks, i CAN compile from the ports collection (i never wanted to use
>>  packages). Its MANAGING this that i cant do. I can update my ports tree
>> fine, and i can go into ports directory and do a make install, sure.
>> 
>> But i cant do portsversion to see what needs updating, and i cant do
>> pkg_info to find out what versions i have. So doing something like

>Why not (in both cases)?As i posted in the original message - the main 
>question i was
asking - both of these are broken in some way. Reposting:

---

For example if i try to run "portversion" i get:

  undefined method `each' for nil:NilClass
  /usr/local/sbin/portversion:239: [BUG] Bus Error

from Ruby (ruby 1.8.5 is up to date on the system).

If i try to run "pkg_info" I quickly get:

  pkg_info: read_plist: bad command '@conflicts apache+ipv6-1.*'

(i googled for similar problems and there were a few other reports

of this, with other packages, but no suggestion of how to fix them.)

---

I manually updated Ruby and portupgrade (by updating my ports
tree and going into their /usr/ports directories and doing make install)
with no change.

This is what i am trying to solve.

Thanks.

Jen


-
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small 
Business.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


how can I su as root over telnet or ssh?

2006-09-03 Thread armstrong adam

hello every one!

   I have just installed FreeBSD 6.1-RELEASE,but I cannot su as root by 
telnet or ssh,why this happen? FreeBSD is really safe maybe, How can I su 
as root from remote?

thanks!!


best regards!!


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


Re: Dump to DVD

2006-09-03 Thread Beech Rintoul
On Sunday 03 September 2006 15:27, stan wrote:
> On Sun, Sep 03, 2006 at 03:10:45PM -0800, Beech Rintoul wrote:
> > Can someone give me a bit of help? I'm trying to dump /user to multiple
> > DVD's and keep getting a write error when the DVD runs out of space. I
> > need an example of the proper command. I think I need to add file size to
> > the command, but I'm not quite sure how to do it. I don't normally use
> > DVD's so this is a bit new to  me.
>
> What command are you using? tar? dump? .

Dump dump -0au -L -f /dev/acd0 /usr

It used to just prompt me to feed in another DVD. Now it errors out when the 
DVD is full.

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpj7rqQI9X4j.pgp
Description: PGP signature


Re: Various package/ports problems

2006-09-03 Thread Kris Kennaway
On Sun, Sep 03, 2006 at 05:58:36PM -0700, Dr. Jennifer Nussbaum wrote:
> Kris Kennaway <[EMAIL PROTECTED]> wrote: On Mon, Aug 28, 2006 at 01:59:14PM 
> -0700, Dr. Jennifer Nussbaum wrote:
> 
> >> I wish i could, but i dont have physical access to the machine - its
> >> in a remote location with no serial console. So if anything gets 
> >> messed up during an upgrade, im in a hell of a lot of trouble.
> > 
> >> I dont know when i'll be able to fix this problem so until i can upgrade
> >> the OS i at least want to keep the rest of it up to date.
> 
> >The packages are compiled for 4.11-stable and do not work >with systems
> >much older than this (e.g. 4.8, as you discovered).  You might >have
> >more luck compiling from the ports collection, although that >too only
> >supports 4.11 officially (and modern releases, of course).
> Thanks, i CAN compile from the ports collection (i never wanted to use
>  packages). Its MANAGING this that i cant do. I can update my ports tree
> fine, and i can go into ports directory and do a make install, sure.
> 
> But i cant do portsversion to see what needs updating, and i cant do
> pkg_info to find out what versions i have. So doing something like

Why not (in both cases)?

> upgrading Perl and all it's dependencies--wow what a nightmare that
> would be.
> 
> But for another way of fixing the problem, is there any trustworthy
> way i can do a clean install of 6.1 on a box i dont have access to? I
> can backup everything offsite and ship a CD or an external drive to
> the facility, if there is some way i can be assured of getting back into
> the box after some install procedure is run by a tech there.

You can do an 'upgrade install' from the install media...it's
something you should definitely practise on a local system first
though (not because it's hard, but so you know what you're doing).

Kris


pgpj5Q9Ob5X3S.pgp
Description: PGP signature


Re: man page bug in mv(1) ?

2006-09-03 Thread hackmiester (Hunter Fuller)


On 3 September 2006, at 12:37, James Long wrote:


The man page mv(1) states:

"It is an error for either the source operand or the destination path
to specify a directory unless both do."


However:

mv file /tmp/

works.  Am I reading things wrong, or is the man page incorrect?


I think what it means is you cannot move a directory to a file. You  
also can't move a file so it becomes a directory. FOr example:


snowy:~ hackmiester$ mv blah blahdir/
mv: rename blah to blahdir/: No such file or directory

You are actually moving the file INTO the directory, not trying to  
make a file BE a directory. See what I mean?





Jim



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[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: Various package/ports problems

2006-09-03 Thread Dr. Jennifer Nussbaum
Kris Kennaway <[EMAIL PROTECTED]> wrote: On Mon, Aug 28, 2006 at 01:59:14PM 
-0700, Dr. Jennifer Nussbaum wrote:

>> I wish i could, but i dont have physical access to the machine - its
>> in a remote location with no serial console. So if anything gets 
>> messed up during an upgrade, im in a hell of a lot of trouble.
> 
>> I dont know when i'll be able to fix this problem so until i can upgrade
>> the OS i at least want to keep the rest of it up to date.

>The packages are compiled for 4.11-stable and do not work >with systems
>much older than this (e.g. 4.8, as you discovered).  You might >have
>more luck compiling from the ports collection, although that >too only
>supports 4.11 officially (and modern releases, of course).
Thanks, i CAN compile from the ports collection (i never wanted to use
 packages). Its MANAGING this that i cant do. I can update my ports tree
fine, and i can go into ports directory and do a make install, sure.

But i cant do portsversion to see what needs updating, and i cant do
pkg_info to find out what versions i have. So doing something like
upgrading Perl and all it's dependencies--wow what a nightmare that
would be.

But for another way of fixing the problem, is there any trustworthy
way i can do a clean install of 6.1 on a box i dont have access to? I
can backup everything offsite and ship a CD or an external drive to
the facility, if there is some way i can be assured of getting back into
the box after some install procedure is run by a tech there.

Jen

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


Fwd: Re: A question about programming RS-232

2006-09-03 Thread backyard


--- stan <[EMAIL PROTECTED]> wrote:

> Date: Sun, 3 Sep 2006 16:49:51 -0400
> From: stan <[EMAIL PROTECTED]>
> To: backyard <[EMAIL PROTECTED]>
> Subject: Re: A question about programming RS-232
> 
> On Sun, Sep 03, 2006 at 01:39:00PM -0700, backyard
> wrote:
> > 
> > 
> > --- stan <[EMAIL PROTECTED]> wrote:
> > 
> > > On Sun, Sep 03, 2006 at 11:26:04PM +0600, ??
> > > ? wrote:
> > > > Hello.
> > > > I have a question I can't deal myself.
> > > > And nobody can help me in resolving my
> problem.
> > > > 
> > > > Problem:
> > > > I have a hand-made device, I want to control
> from
> > > FreeBSD 6.1
> > > > (I am porting this application from Windows
> > > equivalent).
> > > > But I don't know, in what device /dev/ I
> should
> > > write to get reults.
> > > > I tryed to write bytes into /dev/ttyd0,
> > > /dev/cuad0, but got nothing. :(
> > > > 
> > > Start off by using minicom (or cu) to talk to
> the
> > > device. By doing
> > > this you can sort through baud
> rate/parity,hardware
> > > issues.
> > > 
> > > Once you have that working, then move on to
> code.
> > > 
> > > -- 
> > > Unix is very simple, but it takes a genius to
> > > understand the simplicity.
> > > (Dennis Ritchie)
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > >
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> > > 
> > 
> > does your handmade device use RS-232? If its PIC
> or
> > some such microcontroller based they claim to be
> > RS-232 compliant but they do not always use +12V
> and
> > -12V levels. MAX-232 chips can correct this. I
> assume
> > if it worked in windows for you this might not the
> > case, but you never know.
> 
> I'm not the orignal poster on this.
> 
> -- 
> Unix is very simple, but it takes a genius to
> understand the simplicity.
> (Dennis Ritchie)
> 
oops must have clicked a little too quick on this one

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


New machine, mouse scroll wheel not working

2006-09-03 Thread stan
I just set up a new 6 CURRENT machine with xorg, and KDE. The scroll wheel
on my mouse does not seem to be scrolling anything.

I have the follwinf lines in /etc/X11/xorg.conf

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "ZAxisMapping" "4 5 6 7"
EndSection

The mose itself works OK, bith in X/KDE, and in the consoles.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dump to DVD

2006-09-03 Thread stan
On Sun, Sep 03, 2006 at 03:10:45PM -0800, Beech Rintoul wrote:
> Can someone give me a bit of help? I'm trying to dump /user to multiple DVD's 
> and keep getting a write error when the DVD runs out of space. I need an 
> example of the proper command. I think I need to add file size to the 
> command, but I'm not quite sure how to do it. I don't normally use DVD's so 
> this is a bit new to  me.
> 
What command are you using? tar? dump? .


-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Dump to DVD

2006-09-03 Thread Beech Rintoul
Can someone give me a bit of help? I'm trying to dump /user to multiple DVD's 
and keep getting a write error when the DVD runs out of space. I need an 
example of the proper command. I think I need to add file size to the 
command, but I'm not quite sure how to do it. I don't normally use DVD's so 
this is a bit new to  me.

TIA

Beech
-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpIa6Xp4Qn0r.pgp
Description: PGP signature


Re: Conrad(CB)

2006-09-03 Thread Jonathan Chen
On Sun, Sep 03, 2006 at 03:37:47PM -0700, Conrad Bellman wrote:
> To Whom It May Concern::
> I am interest in downloading & installing freebsd, but I can not find the
> links to download the two disks,  I am hopeing someone could help with with
> the nlinks for downloading trhe 2 disks, please & thank you, I am anxious to
> get involved with this, but as you can see I am a newby,

The latest release announcement is at:

http://www.freebsd.org/releases/6.1R/announce.html

There are quite a few FTP servers listed as having the release and you
should be able to dig around in them to look for the ISO image you are
interested in.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 When all else fails, RTFM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


joystick as mouse?

2006-09-03 Thread [LoN]Kamikaze
I managed to convince moused that my USB joystick, a Logitech WingMan Extreme 
Digital 3D on /dev/uhid0 (3 axis, throttle, 8 buttons and a HUD switch), is 
actually a mouse. Of course the mouse cursor acts absolutely insane when I 
touch the joystick. But it shows that it is possible.

My question is, is there some kind of way to write a profile for moused such as 
the intellimouse and microsoft profiles to tell moused how to read the joystick 
input?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: changing the gdm resolution

2006-09-03 Thread Jordi Carrillo

Already solved, thanks
Just tweaking the /etc/X11/xorg.conf has solved the problem

2006/9/4, stan <[EMAIL PROTECTED]>:


On Sun, Sep 03, 2006 at 11:52:46PM +0200, Jordi Carrillo wrote:
> Is there a way to change the gdm resolution (login screen).  It's a
little
> bit low for me and I need 1280x1024
> thanks

Doesn't kdm just use the X settings? If so, you can fix this in your
X config file.

--
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)





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


Conrad(CB)

2006-09-03 Thread Conrad Bellman

To Whom It May Concern::
I am interest in downloading & installing freebsd, but I can not find the
links to download the two disks,  I am hopeing someone could help with with
the nlinks for downloading trhe 2 disks, please & thank you, I am anxious to
get involved with this, but as you can see I am a newby,

thank you for your time and patients,
CB
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: changing the gdm resolution

2006-09-03 Thread stan
On Sun, Sep 03, 2006 at 11:52:46PM +0200, Jordi Carrillo wrote:
> Is there a way to change the gdm resolution (login screen).  It's a little
> bit low for me and I need 1280x1024
> thanks

Doesn't kdm just use the X settings? If so, you can fix this in your
X config file.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problesm with X application default

2006-09-03 Thread stan
On Sun, Sep 03, 2006 at 08:32:14PM +0100, Daniel Bye wrote:
> On Sunday 03 September 2006 15:33, stan wrote:
> > I'm building a replacement machine for a long serving workstation
> > that finally died a hardware death.
> >
> > I've built a new machine updated to 6 CURRENT, and installed the
> > KDE metaport. I have a customize XTerm application defaults
> > file from a backup of the old machine. However, I can't seem to get
> > xterm to honor it. I'm running xterm from teh menu bar in KDE
> > with alauncher, and the -ls command line option.
> >
> > I use ksh, and I have my .profile set up to set the following
> > environment variable:
> >
> > PPLRESDIR=/usr/X11R6/lib/X11/app-defaults/:/usr/lib/X11/app-defaults:/home/
> >stan/.X11/app-defaults
> >
> >
> [---snip---]
> >
> > But despite that the Xterm comes up in white with black text. So,
> > I put the same file in  /usr/X11R6/lib/X11/app-defaults, but it
> > still does not honor it
> >
> > Can anyone sugest what I am doing wrong?
> 
> It's more to do with how KDE handles it, I think.  From what reading I did 
> about this a while ago, you need to tell KDE to read your X settings as it 
> starts.  I have a little sh script in ~/.kde/Autostart/load_Xdefaults.sh:
> 
> #!/bin/sh
> 
> [ -x /usr/X11R6/bin/xrdb ] && /usr/X11R6/bin/xrdb -load $HOME/.Xdefaults
> 
> Looking at your XTerm file, you should be able to load it in much the same 
> way.
> 
Thanks, I will give that a try.



-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Best gigabit network interface for FreeBSD?

2006-09-03 Thread Brett Glass
Was going to post this to net@, but figured I'd get a bigger 
audience and better answers on this list. (Please copy responses to 
me as well as the list to make sure I see them.)


I'm building a machine which is going to have very high network 
loads, but can't really use a TCP/IP "accelerator" because much of 
the traffic won't be TCP. What, as of now, is the most capable 
gigabit Ethernet interface for FreeBSD? Which has the cleanest, 
simplest driver? The most onboard buffer space to prevent overruns 
and underruns? The fastest bus interface? The least interrupt 
overhead (important because interrupts in FreeBSD 6.x are 
relatively expensive)? I have some Intel "em" interfaces available 
to me, but have been told that while the driver is well supported 
they are quirky and not the best choice.


--Brett Glass

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


changing the gdm resolution

2006-09-03 Thread Jordi Carrillo

Is there a way to change the gdm resolution (login screen).  It's a little
bit low for me and I need 1280x1024
thanks
--
http://jordilin.wordpress.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ensuring the same group and user IDs

2006-09-03 Thread Noah

Bill Moran wrote:

Noah <[EMAIL PROTECTED]> wrote:

  

Hi there,

How can I ensure the user and group IDs are the same between two systems 
without breaking things?


Is it as easy to copy /etc/group and /etc/passwd and /etc/master.passwd 
between machines?



Yes, but read the man page for pwd_mkdb first.  Other than that, it works
fine.

If you're going to be doing this on a larger scale, look into Kerberos or
similar.

  



thank you kindly for your guidance.  this is exactly the information I 
was looking for.


cheers,

noah

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


Re: Can't Find Kernel

2006-09-03 Thread Jeff Rollin

On 03/09/06, Andy Street <[EMAIL PROTECTED]> wrote:


[I'm not sure if this got sent becvause I just got a message saying that
since I wasn't a member, a message entitled "No Subject" was waiting
approval.  I think I'm a member now, but if this email went out twice, I
appologize]

Hi guys,

I had installed FreeBSD in my schools computer systems lab, so I decided
to
install it at home as a dual boot with Solaris 10, already installed on
half
the HD.  I downloaded the images off FreeBSD.org, burned them to CD's, and
then did a post burn md5sum on them to make sure they burned
properly.  The
install seemed to go well, other than not being able to read fvwm off the
disc.  When I boot, the error I'm getting after I select FreeBSD in the
boot
loader is that it "cant find the 'kernel'".  Just before I get the error,
it
says "Loading /boot/defaults/loader.conf", so naturally that's the first
place I looked after booting into single user mode with the live CD.
Strangely, I found that not only was there no /boot/defaults/loader.conf,
the /boot/defaults folder didn't even exist.  There is, however, a
/dist/boot/defaults/loader.conf.  Normally, I'd just edit the boot loader
but 1) I want to make sure something didn't go horribly wrong with the
install (I also noticed that bin and sbin in the / directory had @ signs
after them, i.e. bin@, and I wasn't sure this was normal, though I haven't
dealt with UNIX much), and 2) according to google and the online
documentation, the only way to "edit" the boot loader is to install a new
one.

So, what should I do?  Copy the /dist/boot/defaults/loader.conf to
/boot/defaults/loader.conf?  Reinstall using the CD's I burned at school
that I know work?  Install a new boot loader and point it at
/dist/boot/defaults/loader.conf?



It got sent.

I've had this problem too; it appears to be a problem with the installation
program. Yes, the fix is to copy the relevant files from the CD. The best
way I've found to do that is to boot the install cd and choose the fixit
option.

Thanks in advance for the help.


You're welcome!

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


Re: portversion is part of what?

2006-09-03 Thread Boris Samorodov
On Sun, 3 Sep 2006 17:21:49 -0300 Henry Lenzi wrote:

> Is portversion a part of another big binary? Apparently, I can't just
> reinstall portversion.
> TIA,

$ which portversion
/usr/local/sbin/portversion
$ pkg_info -W /usr/local/sbin/portversion
/usr/local/sbin/portversion was installed by package portupgrade-2.0.1_1,1


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru, Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org, The Power To Serve

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


Re: ensuring the same group and user IDs

2006-09-03 Thread Bill Moran
Noah <[EMAIL PROTECTED]> wrote:

> 
> Hi there,
> 
> How can I ensure the user and group IDs are the same between two systems 
> without breaking things?
> 
> Is it as easy to copy /etc/group and /etc/passwd and /etc/master.passwd 
> between machines?

Yes, but read the man page for pwd_mkdb first.  Other than that, it works
fine.

If you're going to be doing this on a larger scale, look into Kerberos or
similar.

-- 
Bill Moran

Someting happened or something.

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


Re: samba problem; member server can't authenticate

2006-09-03 Thread Henrik Hudson
FYI: It seems the winbind use default domain = yes   was getting the member 
server all messed up in the head. I removed that and suddenly it became just 
a problem of changing my permissions to include the ECW domain in the allowed 
users.

Thanks for the responses.

henrik

On Sunday 03 September 2006 13:46, Henrik Hudson <[EMAIL PROTECTED]> sent a 
missive stating: 
> Hey List-
>
> I tried the Samba lists...but didn't get any tips there..so possibly a
> freebsd issue? Dunno, anyways
>
> I have a Samba PDC and a Samba Member Server.
>
> The Samba PDC works fine, but the problem is that the Member Server can't
> authenticate users and let me browse file shares and i always get the
> error: NT_STATUS_NO_LOGON_SERVERS
>
> the wierd thing is that sometimes:  SMBCLIENT -L ECWTEST
> will work and list my shares. However, the first time I actually try to
> authenticate a user to browse a share the whole shebang stops and I get the
> above error. I'm using Konqueror and smb://ecwtest/sharename to connect.
>
> I don't need to make any PAM changes to allow just file / share
> authentication do I?
>
> One thing, the member server is a new rebuild of a machine with the same
> name and the PDC is a upgrade using the TDBs, etc.. from backup. I did
> remove the machine account from the PDC and then re-added it using net join
> and that worked fine.
>
> I ran through the test at the back of the "offical book" and all of them
> work except the  actual sharing and the nmblookup -d 2 '*' on the member
> server and of course the smbclient specific ones.
>
> wbinfo -u and wbinfo -g work on the member server and i can chown files to
> users only in the PDC in the samba users file. I just can't authenticate.
>
> the only error I'm seeing is in log.wb-ECW and its:
> [2006/09/03 12:54:12, 1]
> rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
>   cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> received from remote machine ECWSERVER pipe \lsarpc fnum 0x70a8!
> [2006/09/03 13:17:04, 1]
> rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
>   cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> received from remote machine ECWSERVER pipe \NETLOGON fnum 0x7549!
> [2006/09/03 13:38:05, 0] nsswitch/winbindd_dual.c:child_read_request(49)
>   Got invalid request length: 0
> [2006/09/03 13:38:12, 1]
> rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
>   cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> received from remote machine ECWSERVER pipe \lsarpc fnum 0x7104!
>
>
>
> Here is my setup:
>
> PDC: ECWSERVER ; FreeBSD 6-stable and samba-3.0.23b,1
> member: ECWTEST ; freeBSD 6-stable and samba-3.0.23b,1
>
> Both servers are on the same network and have static IPs. i am able to
> ping, etc.. using the netbios names
>
> my /etc/nssswitch.conf is the same on both:
> group: files winbind
> group_compat: nis
> hosts: files dns
> networks: files
> passwd: files winbind
> passwd_compat: nis
> shells: files
>
> PDC smb.conf:
> # Global parameters
> [global]
> workgroup = ECW
> netbios name = ECWSERVER
> passdb backend = tdbsam:/usr/local/etc/samba/private/passwd.tdb
> os level = 65
> preferred master = yes
> domain master = yes
> local master = yes
> domain logons = yes
> wins support = yes
> #server string = Samba %v on %L
> server string =
> security = USER
> encrypt passwords = yes
> disable spoolss = Yes
> guest ok = yes
> follow symlinks = no
> case sensitive = no
> idmap uid = 15000-2
> idmap gid = 15000-2
> username map = /usr/local/etc/samba/smbusers
>
> name resolve order = hosts wins bcast
> time server = Yes
>
> #printing options
> #printing = cups
> #printcap name = cups
> #load printers = yes
> #show add printer wizard = Yes
> #printer admin = @ecwadmins,@wheel
>
> #user scripts
> add user script = /usr/sbin/pw useradd -n %u -g
> ecwusers -s /usr/sbin/nologin -c ""
> delete user script = /usr/sbin/pw userdel -n %u
> add group script = /usr/sbin/pw groupadd -n %g
> delete group script = /usr/sbin/pw groupdel -n %g
> add user to group script = /usr/sbin/pw usermod -n %u -g %g
> #add machine script = /usr/sbin/pw useradd -n %u -g
> 100 -s /usr/sbin/nologin -d /dev/null
>
> #user directories
> logon home = \\%N\%U\
> logon drive = H:
>
> #roaming profiles
> logon path =
>
> #
>
>
> the member server smb.conf:
>
> # Global parameters
> [global]
> workgroup = ECW
> netbios name = ECWTEST
> #server string = Samba %v on %L
> server string =
> security = domain
> password server = ECWSERVER
> wins server = 10.0.0.6
> encrypt passwords = yes
> idmap uid = 15000-2
> idmap gid = 15000-2
> winbind use default domain = yes
> guest ok = yes
> follow symlinks = no
> case sensitive = no
> os level = 33
>
> preferred master = no
> domain master = no
>
> #bind interfaces only = yes
> #interfaces = fxp0 lo0
> #hosts deny = ALL
> #hosts allow = 10.0.0.0/24 127.
>
> name resolve order = hosts wins bcast
>
>
>
> Than

Can't Find Kernel

2006-09-03 Thread Andy Street

[I'm not sure if this got sent becvause I just got a message saying that
since I wasn't a member, a message entitled "No Subject" was waiting
approval.  I think I'm a member now, but if this email went out twice, I
appologize]

Hi guys,

I had installed FreeBSD in my schools computer systems lab, so I decided to
install it at home as a dual boot with Solaris 10, already installed on half
the HD.  I downloaded the images off FreeBSD.org, burned them to CD's, and
then did a post burn md5sum on them to make sure they burned properly.  The
install seemed to go well, other than not being able to read fvwm off the
disc.  When I boot, the error I'm getting after I select FreeBSD in the boot
loader is that it "cant find the 'kernel'".  Just before I get the error, it
says "Loading /boot/defaults/loader.conf", so naturally that's the first
place I looked after booting into single user mode with the live CD.
Strangely, I found that not only was there no /boot/defaults/loader.conf,
the /boot/defaults folder didn't even exist.  There is, however, a
/dist/boot/defaults/loader.conf.  Normally, I'd just edit the boot loader
but 1) I want to make sure something didn't go horribly wrong with the
install (I also noticed that bin and sbin in the / directory had @ signs
after them, i.e. bin@, and I wasn't sure this was normal, though I haven't
dealt with UNIX much), and 2) according to google and the online
documentation, the only way to "edit" the boot loader is to install a new
one.

So, what should I do?  Copy the /dist/boot/defaults/loader.conf to
/boot/defaults/loader.conf?  Reinstall using the CD's I burned at school
that I know work?  Install a new boot loader and point it at
/dist/boot/defaults/loader.conf?

Thanks in advance for the help.

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


Re: A question about programming RS-232

2006-09-03 Thread backyard


--- stan <[EMAIL PROTECTED]> wrote:

> On Sun, Sep 03, 2006 at 11:26:04PM +0600, ??
> ? wrote:
> > Hello.
> > I have a question I can't deal myself.
> > And nobody can help me in resolving my problem.
> > 
> > Problem:
> > I have a hand-made device, I want to control from
> FreeBSD 6.1
> > (I am porting this application from Windows
> equivalent).
> > But I don't know, in what device /dev/ I should
> write to get reults.
> > I tryed to write bytes into /dev/ttyd0,
> /dev/cuad0, but got nothing. :(
> > 
> Start off by using minicom (or cu) to talk to the
> device. By doing
> this you can sort through baud rate/parity,hardware
> issues.
> 
> Once you have that working, then move on to code.
> 
> -- 
> Unix is very simple, but it takes a genius to
> understand the simplicity.
> (Dennis Ritchie)
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 

does your handmade device use RS-232? If its PIC or
some such microcontroller based they claim to be
RS-232 compliant but they do not always use +12V and
-12V levels. MAX-232 chips can correct this. I assume
if it worked in windows for you this might not the
case, but you never know.


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


Re: Conrad

2006-09-03 Thread Perry Hutchison
> I am interested in downloadind the 2 disks for linux, and trying
> to install them on my computer, but I am not sure what i have to
> download, could comeone please help me

You may be asking the wrong list.  FreeBSD is not Linux, although it
can run many Linux binaries if configured appropriately.

For Linux, you probably want to be looking into something along the
lines of Debian, Fedora, Gentoo, Mandrake, or Suse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


solaris

2006-09-03 Thread dick hoogendijk
I have a 3-part disk:
(a) XP for games
(b) FreeBSD-6.1 (my main OS)
(c) FreeBSD-6.1 (a backup)

I want to replace the third partition with solaris 10, mainly for
studying this OS. I burned the DVD. Will it install solaris on this
third partition without trouble? Will I be able to continue to use the
FreeBSD bootloader or do I need to isntall sol's grub?

The documentation on SUN and solaris is huge. Many many pdf files..
Are there better ways then these pdf's? Good books on solaris 10?
Starting points on the net? I ask here because I know lot of you guys
here have also installed solaris 10 (at least I remember seeing it here)

Hope to get some advice and reading points. I have years of experience
with linux and FreeBSD and like to explore new (OS) challences.

-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portversion is part of what?

2006-09-03 Thread Alex Zbyslaw

Henry Lenzi wrote:


Hi --

Is portversion a part of another big binary? Apparently, I can't just
reinstall portversion.



$  pkg_info -W `which portversion`
/usr/local/sbin/portversion was installed by package portupgrade-20041226_7

--Alex


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


Re: portversion is part of what?

2006-09-03 Thread Philip Q

Henry Lenzi wrote, On 4/09/06 8.21 a:

Hi --

 Is portversion a part of another big binary? Apparently, I can't just
reinstall portversion.


portversion comes as part of sysutils/portupgrade

-Phil

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


Re: portversion is part of what?

2006-09-03 Thread Kris Kennaway
On Sun, Sep 03, 2006 at 05:21:49PM -0300, Henry Lenzi wrote:
> Hi --
> 
> Is portversion a part of another big binary? Apparently, I can't just
> reinstall portversion.

sysutils/portupgrade

Kris


pgpz9bDWiJ0yz.pgp
Description: PGP signature


Re: Error in the list of ports www.freebsd.org

2006-09-03 Thread Kris Kennaway
On Sun, Sep 03, 2006 at 09:04:21PM +0200, Santos wrote:
>  
> 
> The
> 
> courier-authlib-ldap-0.58_2

This confused me for a while, because your URL is for a different
port.

> port requires openldap-client-2.2.30, not 2.3.27

You must be looking at an old ports tree; 2.3.27 is used by the
current tree (since July).

Kris


pgpNqPQIUR8Io.pgp
Description: PGP signature


portversion is part of what?

2006-09-03 Thread Henry Lenzi

Hi --

Is portversion a part of another big binary? Apparently, I can't just
reinstall portversion.
TIA,

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


ensuring the same group and user IDs

2006-09-03 Thread Noah


Hi there,

How can I ensure the user and group IDs are the same between two systems 
without breaking things?


Is it as easy to copy /etc/group and /etc/passwd and /etc/master.passwd 
between machines?


Cheers,

Noah

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


Re: Problesm with X application default

2006-09-03 Thread Daniel Bye
On Sunday 03 September 2006 15:33, stan wrote:
> I'm building a replacement machine for a long serving workstation
> that finally died a hardware death.
>
> I've built a new machine updated to 6 CURRENT, and installed the
> KDE metaport. I have a customize XTerm application defaults
> file from a backup of the old machine. However, I can't seem to get
> xterm to honor it. I'm running xterm from teh menu bar in KDE
> with alauncher, and the -ls command line option.
>
> I use ksh, and I have my .profile set up to set the following
> environment variable:
>
> PPLRESDIR=/usr/X11R6/lib/X11/app-defaults/:/usr/lib/X11/app-defaults:/home/
>stan/.X11/app-defaults
>
>
[---snip---]
>
> But despite that the Xterm comes up in white with black text. So,
> I put the same file in  /usr/X11R6/lib/X11/app-defaults, but it
> still does not honor it
>
> Can anyone sugest what I am doing wrong?

It's more to do with how KDE handles it, I think.  From what reading I did 
about this a while ago, you need to tell KDE to read your X settings as it 
starts.  I have a little sh script in ~/.kde/Autostart/load_Xdefaults.sh:

#!/bin/sh

[ -x /usr/X11R6/bin/xrdb ] && /usr/X11R6/bin/xrdb -load $HOME/.Xdefaults

Looking at your XTerm file, you should be able to load it in much the same 
way.

HTH

Dan

-- 
Daniel Bye
Local Host Services Partnership
http://www.localhostservices.co.uk


pgptCUEmOYT0Z.pgp
Description: PGP signature


Re: samba problem; member server can't authenticate

2006-09-03 Thread Henrik Hudson
On Sunday 03 September 2006 13:59, "Atom Powers" <[EMAIL PROTECTED]> sent 
a missive stating: 
> On 9/3/06, Henrik Hudson <[EMAIL PROTECTED]> wrote:
> > I have a Samba PDC and a Samba Member Server.
> >
> > The Samba PDC works fine, but the problem is that the Member Server can't
> > authenticate users and let me browse file shares and i always get the
> > error: NT_STATUS_NO_LOGON_SERVERS
>
> Sounds like your member server can't contact the pdc's logon service.
>

Yeap :) 

> > the wierd thing is that sometimes:  SMBCLIENT -L ECWTEST
> > will work and list my shares. However, the first time I actually try to
> > authenticate a user to browse a share the whole shebang stops and I get
> > the above error. I'm using Konqueror and smb://ecwtest/sharename to
> > connect.
>
> Try to always use FQDN (ecwtest.domain.blah); or be very careful and
> complete in the way you set up your name resolution (WINS, DNS).
> Especially if you have hosts on different subnets.

I've tried it both ways. Some people say to use the FQDN and some the other 
way around.

> nmblookup is a WINS resolution tool. If your WINS server is not
> configured and functioning and your computers are on different subnets
> (or have blocking firewalls) you will have problems. If you don't use
> FQDN samba will, probably, be using WINS to resolve your host names.

My firewalls are 100% off until I get this working.

henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
"There are 10 kinds of people in the world: Those who
 understand binary and those who don't..."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do you get gnustep to run?

2006-09-03 Thread Anthony Agelastos

On Sep 3, 2006, at 1:43 PM, g wrote:
using the direction in chapter 5 didn't help.  i followed the  
instructions and now x window system does not start.  i'm going to  
reload the os and follow the directions again.
You probably do not need to reload the OS. When you install FreeBSD,  
I recommend you to install the base system and to keep the amount of  
Packages you install to a minimum. Install X.org from Ports and then  
follow the instructions within the FreeBSD Handbook.


the xorg.conf.new file requires information i may not have and  
cannot find, the vertical and horizontal frequencies.  if i can't  
find the frequencies, are there default values that i can use to  
create that file.
I did not know my monitor information and used the values that it  
came up with and they appeared to work fine. If it works for you,  
then use them. If it does not, then call your monitor manufacturer  
and get the information you need. Or, resort to Google; you can  
probably find the information there.


I, along with the rest of freebsd-questions, need to know more  
information before a potential fix can be prescribed. This  
information includes, as an example, what your current OS version is  
(output of uname -a), how you installed X.org (Ports or Packages),  
what you currently have in your xorg.conf.new file, what steps you  
have taken and what the output is (many of the log files are within / 
var/log), your hardware (what type of video card and monitor do you  
have), etc. Anything that you _think_ may be relevant needs to be  
given. If you are unsure, then posting extra information will not  
hamper things.


In the event that it can help you right now, I have pasted the  
contents of my /etc/X11/xorg.conf file as well as my .xinitrc file  
(~/.xinitrc) which will start Window Maker when startx is entered. I  
hope this helps.



cat xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath  "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load  "extmod"
Load  "glx"
Load  "dri"
Load  "dbe"
Load  "record"
Load  "xtrap"
Load  "type1"
Load  "freetype"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
#DisplaySize  330   240 # mm
Identifier   "Monitor0"
VendorName   "DEL"
ModelName"DELL D1025TM"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync30.0 - 85.0
VertRefresh  50.0 - 120.0
Option  "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor"  # []
#Option "HWcursor"  # []
#Option "NoAccel"   # []
#Option "ShadowFB"  # []
#Option "UseFBDev"  # []
#Option "Rotate"# []
#Option "VideoKey"  # 
#Option "FlatPanel" # []
#Option "FPDither"  # []
#Option "CrtcNumber"# 
#Option "FPScale"   # []
#Option "FPTweak"   # 
Identifier  "Card0"
Driver  "nv"
VendorName  "nVidia Corporation"
BoardName   "NV5 [RIVA TNT2/TNT2 Pro]"
BusID   "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport   0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 15
EndSubSection
SubSection "Display"
Viewpo

Conrad

2006-09-03 Thread Conrad Bellman

I am interested in downloadind the 2 disks for linux, and trying to install
them on my computer, but I am not sure what i have to download, could
comeone please help me
Conrad
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error in the list of ports www.freebsd.org

2006-09-03 Thread Santos
 

The

courier-authlib-ldap-0.58_2 port requires openldap-client-2.2.30, not 2.3.27

Regards.

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


Your message to Opseuregion2 awaits moderator approval

2006-09-03 Thread opseuregion2-bounces
Your mail to 'Opseuregion2' with the subject

(no subject)

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://list.web.net/lists/confirm/opseuregion2/e89ba7545bbb7d4841b2382068a75c43fe44ec73

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


Re: samba problem; member server can't authenticate

2006-09-03 Thread Atom Powers

On 9/3/06, Henrik Hudson <[EMAIL PROTECTED]> wrote:


I have a Samba PDC and a Samba Member Server.

The Samba PDC works fine, but the problem is that the Member Server can't
authenticate users and let me browse file shares and i always get the error:
NT_STATUS_NO_LOGON_SERVERS


Sounds like your member server can't contact the pdc's logon service.


the wierd thing is that sometimes:  SMBCLIENT -L ECWTEST
will work and list my shares. However, the first time I actually try to
authenticate a user to browse a share the whole shebang stops and I get the
above error. I'm using Konqueror and smb://ecwtest/sharename to connect.


Try to always use FQDN (ecwtest.domain.blah); or be very careful and
complete in the way you set up your name resolution (WINS, DNS).
Especially if you have hosts on different subnets.


I don't need to make any PAM changes to allow just file / share authentication
do I?


No. Samba doesn't use PAM.


One thing, the member server is a new rebuild of a machine with the same name
and the PDC is a upgrade using the TDBs, etc.. from backup. I did remove the
machine account from the PDC and then re-added it using net join and that
worked fine.

I ran through the test at the back of the "offical book" and all of them work
except the  actual sharing and the nmblookup -d 2 '*' on the member server
and of course the smbclient specific ones.


nmblookup is a WINS resolution tool. If your WINS server is not
configured and functioning and your computers are on different subnets
(or have blocking firewalls) you will have problems. If you don't use
FQDN samba will, probably, be using WINS to resolve your host names.



the member server smb.conf:

# Global parameters
[global]
workgroup = ECW
netbios name = ECWTEST
#server string = Samba %v on %L
server string =
security = domain
password server = ECWSERVER


Make that an FQDN hostname or ip address.


wins server = 10.0.0.6
encrypt passwords = yes
idmap uid = 15000-2
idmap gid = 15000-2
winbind use default domain = yes
guest ok = yes
follow symlinks = no
case sensitive = no
os level = 33

preferred master = no
domain master = no

#bind interfaces only = yes
#interfaces = fxp0 lo0
#hosts deny = ALL
#hosts allow = 10.0.0.0/24 127.

name resolve order = hosts wins bcast



And check your firewall rules.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


samba problem; member server can't authenticate

2006-09-03 Thread Henrik Hudson
Hey List-

I tried the Samba lists...but didn't get any tips there..so possibly a freebsd 
issue? Dunno, anyways

I have a Samba PDC and a Samba Member Server.

The Samba PDC works fine, but the problem is that the Member Server can't 
authenticate users and let me browse file shares and i always get the error:  
NT_STATUS_NO_LOGON_SERVERS

the wierd thing is that sometimes:  SMBCLIENT -L ECWTEST
will work and list my shares. However, the first time I actually try to 
authenticate a user to browse a share the whole shebang stops and I get the 
above error. I'm using Konqueror and smb://ecwtest/sharename to connect.

I don't need to make any PAM changes to allow just file / share authentication 
do I?

One thing, the member server is a new rebuild of a machine with the same name 
and the PDC is a upgrade using the TDBs, etc.. from backup. I did remove the 
machine account from the PDC and then re-added it using net join and that 
worked fine.

I ran through the test at the back of the "offical book" and all of them work 
except the  actual sharing and the nmblookup -d 2 '*' on the member server 
and of course the smbclient specific ones.

wbinfo -u and wbinfo -g work on the member server and i can chown files to 
users only in the PDC in the samba users file. I just can't authenticate.

the only error I'm seeing is in log.wb-ECW and its:
[2006/09/03 12:54:12, 1] 
rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
  cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR 
received from remote machine ECWSERVER pipe \lsarpc fnum 0x70a8!
[2006/09/03 13:17:04, 1] 
rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
  cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR 
received from remote machine ECWSERVER pipe \NETLOGON fnum 0x7549!
[2006/09/03 13:38:05, 0] nsswitch/winbindd_dual.c:child_read_request(49)
  Got invalid request length: 0
[2006/09/03 13:38:12, 1] 
rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
  cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR 
received from remote machine ECWSERVER pipe \lsarpc fnum 0x7104!



Here is my setup:

PDC: ECWSERVER ; FreeBSD 6-stable and samba-3.0.23b,1
member: ECWTEST ; freeBSD 6-stable and samba-3.0.23b,1

Both servers are on the same network and have static IPs. i am able to ping, 
etc.. using the netbios names

my /etc/nssswitch.conf is the same on both:
group: files winbind
group_compat: nis
hosts: files dns
networks: files
passwd: files winbind
passwd_compat: nis
shells: files

PDC smb.conf:
# Global parameters
[global]
workgroup = ECW
netbios name = ECWSERVER
passdb backend = tdbsam:/usr/local/etc/samba/private/passwd.tdb
os level = 65
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
wins support = yes
#server string = Samba %v on %L
server string =
security = USER
encrypt passwords = yes 
disable spoolss = Yes
guest ok = yes
follow symlinks = no
case sensitive = no
idmap uid = 15000-2
idmap gid = 15000-2
username map = /usr/local/etc/samba/smbusers

name resolve order = hosts wins bcast
time server = Yes

#printing options
#printing = cups
#printcap name = cups
#load printers = yes
#show add printer wizard = Yes
#printer admin = @ecwadmins,@wheel

#user scripts
add user script = /usr/sbin/pw useradd -n %u -g 
ecwusers -s /usr/sbin/nologin -c ""
delete user script = /usr/sbin/pw userdel -n %u
add group script = /usr/sbin/pw groupadd -n %g
delete group script = /usr/sbin/pw groupdel -n %g
add user to group script = /usr/sbin/pw usermod -n %u -g %g
#add machine script = /usr/sbin/pw useradd -n %u -g 
100 -s /usr/sbin/nologin -d /dev/null

#user directories
logon home = \\%N\%U\
logon drive = H:

#roaming profiles
logon path =

#


the member server smb.conf:

# Global parameters
[global]
workgroup = ECW
netbios name = ECWTEST
#server string = Samba %v on %L
server string =
security = domain
password server = ECWSERVER
wins server = 10.0.0.6
encrypt passwords = yes 
idmap uid = 15000-2
idmap gid = 15000-2
winbind use default domain = yes
guest ok = yes
follow symlinks = no
case sensitive = no
os level = 33

preferred master = no
domain master = no

#bind interfaces only = yes
#interfaces = fxp0 lo0
#hosts deny = ALL
#hosts allow = 10.0.0.0/24 127.

name resolve order = hosts wins bcast



Thanks.

henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
"There are 10 kinds of people in the world: Those who
 understand binary and those who don't..."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Having trouble getting ppp configured on my 6.1 box

2006-09-03 Thread Matteo Pillon
Hi Andrew.

On Sat, Sep 02, 2006 at 11:51:40AM -0600, Andrew Falanga wrote:
> ppp works and all, but I can't resolve any DNS hostnames.  Everytime I try,
> I get something like "no address associated to the name."  Or something
> similar.  Sorry, I'm writing this mail from the Windows OS (one computer
> shares the two OS's) and I don't recall the error exactly but that's
> basically it.

First, verify you're really connected to internet, looking at ifconfig
if tun0 has an ip. Then look at the output of netstat -rn if there's a
default route, then try to ping a numeric address, like ping
151.1.1.1.

This will help you diagnose the problem. ;-)

Bye.

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


Re: migrating user and web files to new server

2006-09-03 Thread Noah

Philip Q wrote:

Noah wrote, On 4/09/06 3.58 a:

this command also meets my coolness requirements.
oldsys # tar -C /var/www -cf - . | ssh newsys tar -C /var/www -xvf -


Which is almost /exactly/ what Chad recommended to you...



kinda.  this is the syntax I was looking for.

Cheers,

Noah




-Phil


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


Re: migrating user and web files to new server

2006-09-03 Thread Philip Q

Noah wrote, On 4/09/06 3.58 a:
this command also meets my coolness requirements. 


oldsys # tar -C /var/www -cf - . | ssh newsys tar -C /var/www -xvf -


Which is almost /exactly/ what Chad recommended to you...

-Phil

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


Re: From FIXIT: (was:Re: System down, won't come up

2006-09-03 Thread Gary Kline
On Sun, Sep 03, 2006 at 09:19:10AM +0100, Matthew Seaman wrote:
> Gary Kline wrote:
> 
> > fixit mode.   What I really want is to get the data files off
> > and over to another servr.  Havng /etc/* and maybe /var/db/pkg/*
> > would be a big help.  Then I could reinstall 5.3  ->5.5 and
> > finally over to 6.1.
> 
> Why go via 5.5 if you're upgrading by installing a new system on the
> machine?  Just go straight to 6.1.


Good point.

> 
> Stuff you should backup before doing that:
> 
> /etc --- absolutely vital

Yep; and I do have a Tao.tbz; but it is sitting right in 
/usr/tmp, on tao.  ()


> /usr/local/etc   --- ditto: most people have put hours of work into
>  port configuration files which would be painful
>  to have to recreate.
> /var --- lots of programs keep their state in files in
>  /var, not to mention stuff like MYSQL DB files.
> /home or /usr/home - depending on how your disk is laid out.
> /root
> 
> Other stuff you might need to backup:
> 
> /usr/local/www   --- if you run web sites of this machine
> /usr/X11R6/lib/X11/{xdm,app-defaults,...}
>  --- if you've customised stuff under there
> 
> /boot/loader.conf
> /usr/src/sys/i386/conf/HOSTNAME
>  --- these two should be mostly for reference as
>  their contents have changed significantly with
>  changes to the system.
>  /usr/local/share/snmp/{snmp.conf,snmpd.conf}
>  ---  only if you run net-snmpd: for some reason it
>   keeps its config files here instead of under
>   /usr/local/etc
> 
> That covers all of the locations I know of where hand customised files
> can generally be found (on machines I admin, at least).  Everything else
> should be replacable by running a 'make world' cycle or by using the ports.
> No doubt other people do things differently, so will have a slightly different
> list...
> 


Every night I tar -y my website files up and sent them remote.
--Whenever-I-remember, I tar up the /etc directories and ship
them to local servers.  (I *really* do gotta get a plan.  Never
expect 5.4 to [ct]rap out!  What a wakeup call)

Oh: /boot/loader.conf is something to consider too.  Thanks
much.

gary

> 
>   Cheers,
> 
>   Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>   Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
>   Kent, CT11 9PW
> 



-- 
   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]"


how do you get gnustep to run?

2006-09-03 Thread g
using the direction in chapter 5 didn't help.  i followed the  
instructions and now x window system does not start.  i'm going to  
reload the os and follow the directions again.  the xorg.conf.new  
file requires information i may not have and cannot find, the  
vertical and horizontal frequencies.  if i can't find the  
frequencies, are there default values that i can use to create that  
file.


www.windowmaker.info site seems to be down

thanks,

g.





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


man page bug in mv(1) ?

2006-09-03 Thread James Long
The man page mv(1) states:

"It is an error for either the source operand or the destination path 
to specify a directory unless both do."


However:

mv file /tmp/

works.  Am I reading things wrong, or is the man page incorrect?


Jim



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


Re: A question about programming RS-232

2006-09-03 Thread stan
On Sun, Sep 03, 2006 at 11:26:04PM +0600, ?? ? wrote:
> Hello.
> I have a question I can't deal myself.
> And nobody can help me in resolving my problem.
> 
> Problem:
> I have a hand-made device, I want to control from FreeBSD 6.1
> (I am porting this application from Windows equivalent).
> But I don't know, in what device /dev/ I should write to get reults.
> I tryed to write bytes into /dev/ttyd0, /dev/cuad0, but got nothing. :(
> 
Start off by using minicom (or cu) to talk to the device. By doing
this you can sort through baud rate/parity,hardware issues.

Once you have that working, then move on to code.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


A question about programming RS-232

2006-09-03 Thread Сергей Собко
Hello.
I have a question I can't deal myself.
And nobody can help me in resolving my problem.

Problem:
I have a hand-made device, I want to control from FreeBSD 6.1
(I am porting this application from Windows equivalent).
But I don't know, in what device /dev/ I should write to get reults.
I tryed to write bytes into /dev/ttyd0, /dev/cuad0, but got nothing. :(

Code:

#include 
#include 
#include 
#include 

int main(void) {
 int t = 0, num = 10, fd, i, iOut; char *ch;
 struct termios my_termios;
 ch = (char *)malloc(6);
 memset(ch, 250, 6);
 fd = open("/dev/ttyd0", O_RDWR | O_NONBLOCK);
 printf("Opened com port\n");
 if(fd < 0) return 0;
// tcflush(fd, TCIFLUSH);
 my_termios.c_cflag = CS8 | CLOCAL;
 if(cfsetspeed(&my_termios, B9600) < 0) return 0;
 if(tcsetattr(fd, TCSANOW, &my_termios) < 0) return 0;
 iOut = write(fd, ch, 6);
 if(iOut < 0) return 0;
 printf("Number of bytes = %d\n", iOut);
 printf("Writed %s!\n", ch);
 close(fd);
 printf("Closed!\n");
 return 0;
}

P.S. Please, help me. 
P.P.S. Sorry for such stupid and annoying questions
P.P.P.S. Sorry for my bad English as I'm from Russia and I'm only 16 ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


calendar

2006-09-03 Thread Michael S

Good day all.

I have a question about calendar.usholidays. In the man page for
calendar it says that this file must be updated every year. Is it
enough just to cvsup, buildworld and installworld?
I am following RELENG_6_1.

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


Re: From FIXIT: (was:Re: System down, won't come up

2006-09-03 Thread Garrett Cooper

Gary Kline wrote:

On Sat, Sep 02, 2006 at 10:25:01PM -0400, Jerold McAllister wrote:
  
Gary Kline writes: 



On Sat, Sep 02, 2006 at 08:33:44AM -0700, Atom Powers wrote:
  

If it's only the data you want, try a FreeSBIE boot disk. That will
give you access to the file system/network, so you can recover your
data. 



Where can I get this FreeSBIE boot disk?  Is it a floppy or can I
burn a CDROM?  I have a "burner" on my new Ubuntu box, but have
	never burned anything but an audio CD.   

	 


This is one of the myriad things I've never heard of,
but sounds like it should be shipped with each CD boxed
		set...   

	 

  

It is.  I think all you have to do is boot the regular CD and
select live system or something like that (I don't remember the
exact label in the menu, but it should be apparent.   Then you
can mount the other disk[s] and try to rescue things. 


	The key is "try to rescue".  After fscking my filesystems 
	I tried a reboot and ran into the fatal trap.  Now I'm back i

fixit mode.   What I really want is to get the data files off
and over to another servr.  Havng /etc/* and maybe /var/db/pkg/*
would be a big help.  Then I could reinstall 5.3  ->5.5 and
finally over to 6.1.

If anybody nearby who understands the FreeSBIE boot disk  can
stop by in the next week or two, that'd be great.   Are there
ways to scp from the # Fixit environment?  Or ways to recompile
kernel and world frm here?

   Try chrooting in the FreeBSIE environment on the mounted device, e.g.:

   mkdir /mnt/fbsd_root
   mount /dev/da0s1a /mnt/fbsd_root
   #mount other filesystems here--make sure that the path is relative 
to /mnt/fbsd_root and follows the same sort of rules as specified in 
/mnt/fbsd_root/etc/fstab!
   chroot /mnt/fbsd_root /bin/tcsh # insert your shell of choice 
available here.


   You need to make sure that all devices are mounted properly ('/', 
'/usr/', '/var', etc), and the /dev filesystems are mounted in the 
chroot environment before continuing. This is basically what users do 
when installing Gentoo Linux, and I don't think that you should have an 
issue with it when trying to upgrade and fix your FreeBSD system because 
the principle is the same. Not sure how to do the devfs filesystems, but 
I'm sure someone has an idea of how it's done; IIRC it was done by the 
kernel somehow.

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


Re: New widescreen monitor, old radeon card - will this not work?

2006-09-03 Thread Atom Powers

On 9/3/06, Oliver Iberien <[EMAIL PROTECTED]> wrote:

As usual, as soon as I post, I discover the correct search string to get me to
the answer:

http://www.mail-archive.com/freebsd-questions%40freebsd.org/msg147148.html

This poster even bought the same monitor I did. Does anyone know: Will newer
nvidia cards generally work at this resolution? It seems safest just to get
the one he did.


> I have a new monitor with the following specs:
> Horiz 31-87 kHz
> Vert 56-75 Hz
> [EMAIL PROTECTED]
>


I don't know of any reason a less-that-eight-year-old Radeon card
couldn't support that resolution. I think you only need <64MB video
memory to support that resolution at 32bit color. Some monitors need
extra settings in the config line though.

I have recently tested 1680x1050,32bit color with Nvidia 6600, 6800,
7900 cards. (On MS Win, linux though. )

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New widescreen monitor, old radeon card - will this not work?

2006-09-03 Thread Oliver Iberien
As usual, as soon as I post, I discover the correct search string to get me to 
the answer:

http://www.mail-archive.com/freebsd-questions%40freebsd.org/msg147148.html

This poster even bought the same monitor I did. Does anyone know: Will newer 
nvidia cards generally work at this resolution? It seems safest just to get 
the one he did. 

Thanks,

Oliver


> I have a new monitor with the following specs:
> Horiz 31-87 kHz
> Vert 56-75 Hz
> [EMAIL PROTECTED]
>
> Now, this is attached to a windows box with its digital out and a FreeBSD
> box with analog via a Radeon 7500 card. On this last, when I put these new
> settings into xorg.conf, it is not what actually shows up on the screen. It
> ends up being [EMAIL PROTECTED], says the monitor, more or less, which puts 
> up a
> message complaining about it. It's also offset not in focus.
>
> Somehow, using the old xorg.conf file with all the wrong settings works
> better. There is a little distortion but not much I don't know why this
> would be. Limitations of the driver ("radeon")?
>
> Parts of the old xorg.conf file follow. I'd like to get this set up
> properly, Thanks for any help.
>
> Oliver
>
>  **
> # Monitor section
> # **
>
> # Any number of monitor sections may be present
>
> Section "Monitor"
>
> Identifier  "Multiscan E540"
>
> # HorizSync is in kHz unless units are specified.
> # HorizSync may be a comma separated list of discrete values, or a
> # comma separated list of ranges of values.
> # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
> # USER MANUAL FOR THE CORRECT NUMBERS.
>
> HorizSync   38-70
>
> #HorizSync30-64 # multisync
> #HorizSync31.5, 35.2# multiple fixed sync frequencies
> #HorizSync15-25, 30-50  # multiple ranges of sync frequencies
>
> # VertRefresh is in Hz unless units are specified.
> # VertRefresh may be a comma separated list of discrete values, or a
> # comma separated list of ranges of values.
> # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
> # USER MANUAL FOR THE CORRECT NUMBERS.
>
> VertRefresh 48-120
>
> EndSection
>
>
> # **
> # Graphics device section
> # **
>
> # Any number of graphics device sections may be present
>
> # Standard VGA Device:
>
> Section "Device"
> Identifier"Standard VGA"
> VendorName"Unknown"
> BoardName "Unknown"
>
> # The chipset line is optional in most cases.  It can be used to override
> # the driver's chipset detection, and should not normally be specified.
>
> #Chipset  "generic"
>
> # The Driver line must be present.  When using run-time loadable driver
> # modules, this line instructs the server to load the specified driver
> # module.  Even when not using loadable driver modules, this line
> # indicates which driver should interpret the information in this section.
>
> Driver "vga"
> # The BusID line is used to specify which of possibly multiple devices
> # this section is intended for.  When this line isn't present, a device
> # section can only match up with the primary video device.  For PCI
> # devices a line like the following could be used.  This line should not
> # normally be included unless there is more than one video device
> # intalled.
>
> #BusID  "PCI:0:10:0"
>
> #VideoRam 256
>
> #Clocks   25.2 28.3
>
> EndSection
>
> # Device configured by xorgconfig:
>
> Section "Device"
> Identifier  "Radeon 7500"
> Driver  "radeon"
> #VideoRam65536
> # Insert Clocks lines here if appropriate
> EndSection
>
>
> # **
> # Screen sections
> # **
>
> # Any number of screen sections may be present.  Each describes
> # the configuration of a single screen.  A single specific screen section
> # may be specified from the X server command line with the "-screen"
> # option.
> Section "Screen"
> Identifier  "Screen 1"
> Device  "Radeon 7500"
> Monitor "Multiscan E540"
> DefaultDepth 24
>
> Subsection "Display"
> Depth   8
> Modes   "1280x1024" "1024x768" "800x600" "640x480"
> ViewPort0 0
> EndSubsection
> Subsection "Display"
> Depth   16
> Modes   "1280x1024" "1024x768" "800x600" "640x480"
> ViewPort0 0
> EndSubsection
> Subsection "Display"
> Depth   24
> Modes   "1280x1024" "1024x768" "800x600" "640x480"
> ViewPort0 0
> EndSubsection
> EndSection
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mai

Re: migrating user and web files to new server

2006-09-03 Thread Noah

Philip Q wrote:

Noah wrote, On 3/09/06 5.15 p:
> there are cooler ways of doing this.   there will be people on this 
list

> that know what I am talking about.  I will await  their responses.

Does rsync meet your coolness requirements?




this command also meets my coolness requirements. 


oldsys # tar -C /var/www -cf - . | ssh newsys tar -C /var/www -xvf -

cheers,

Noah








-Phil

___
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: Azureus downloads slow

2006-09-03 Thread rlw2
> On Sat, 2 Sep 2006 18:06:57 -0500 (CDT)
> [EMAIL PROTECTED] wrote:
>
>> I know all that. I am saying that Azureus on FreeBSD runs slower than
>> d/ling the same torrent on a windows or even a linux (ubuntu) box when
>> getting the same torrent from the same network.
>
> You did not mention that before. Anyway, make sure to run Azureus on
> Java 1.4.2. Neither 1.5.0 from ports nor Diablo from the FreeBSD
> Foundation seem to work well with it.
>
> At least for me.
>
> Andreas
>
> --
> GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc
> Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565
>

Yeah...sorry i left out that crucial info. Well, i AM running on 1.5 so
i'll try running on 1.4 and i'll get back to you as soon as i find out.

thx a lot for info,
ryan


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


Re: Azureus downloads slow

2006-09-03 Thread Andreas Rudisch
On Sun, 3 Sep 2006 09:48:19 +1000
"Wei Hu" <[EMAIL PROTECTED]> wrote:

> Give utorrent a try. Azureus is slow and takes too much resources.

utorrent is Windows-only. Do not come with the excuse to run it with Wine. And 
Azureus is far from being slow. It might use a few more resources than other 
clients, but I have no problem running it on FreeBSD 6.1 downloading torrents 
at almost full speed of my internet connection.

Andreas

-- 
GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpQgAuxNUjzn.pgp
Description: PGP signature


Problesm with X application default

2006-09-03 Thread stan
I'm building a replacement machine for a long serving workstation
that finally died a hardware death.

I've built a new machine updated to 6 CURRENT, and installed the
KDE metaport. I have a customize XTerm application defaults
file from a backup of the old machine. However, I can't seem to get
xterm to honor it. I'm running xterm from teh menu bar in KDE
with alauncher, and the -ls command line option. 

I use ksh, and I have my .profile set up to set the following
environment variable:

PPLRESDIR=/usr/X11R6/lib/X11/app-defaults/:/usr/lib/X11/app-defaults:/home/stan/.X11/app-defaults

In /home/stan/.x11/app-defaults I have a file name XTerm that
looks like this:


XTerm*scrollBar:True
XTerm*saveLines:2048
XTerm*ttyModes:erase ^H intr ^C quit ^\ kill ^U start ^Q stop 
^S swtch ^@ susp ^Z

XTerm*SimpleMenu*BackingStore:  NotUseful
XTerm*SimpleMenu*menuLabel.font:
-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso*-*
XTerm*SimpleMenu*menuLabel.vertSpace:   100
XTerm*SimpleMenu*HorizontalMargins: 16
XTerm*SimpleMenu*Sme.height:16

XTerm*SimpleMenu*Cursor:left_ptr
XTerm*SimpleMenu.background:gray75
XTerm*SimpleMenu.foreground:Black
XTerm*mainMenu.Label:   Main Options
XTerm*mainMenu*Foreground:  Black
XTerm*mainMenu*Background:  gray75
XTerm*mainMenu*securekbd*Label: Secure Keyboard
XTerm*mainMenu*allowsends*Label:Allow SendEvents
XTerm*mainMenu*logging*Label:   Log to File
XTerm*mainMenu*redraw*Label:Redraw Window
XTerm*mainMenu*suspend*Label:   Send STOP Signal
XTerm*mainMenu*continue*Label:  Send CONT Signal
XTerm*mainMenu*interrupt*Label: Send INT Signal
XTerm*mainMenu*hangup*Label:Send HUP Signal
XTerm*mainMenu*terminate*Label: Send TERM Signal
XTerm*mainMenu*kill*Label:  Send KILL Signal
XTerm*mainMenu*quit*Label:  Quit

XTerm*vtMenu.Label: VT Options
XTerm*vtMenu*Foreground:Black
XTerm*vtMenu*Background:gray75
XTerm*vtMenu*scrollbar*Label:   Enable Scrollbar
XTerm*vtMenu*jumpscroll*Label:  Enable Jump Scroll
XTerm*vtMenu*reversevideo*Label:Enable Reverse Video
XTerm*vtMenu*autowrap*Label:Enable Auto Wraparound
XTerm*vtMenu*reversewrap*Label: Enable Reverse Wraparound
XTerm*vtMenu*autolinefeed*Label:Enable Auto Linefeed
XTerm*vtMenu*appcursor*Label:   Enable Application Cursor Keys
XTerm*vtMenu*appkeypad*Label:   Enable Application Keypad
XTerm*vtMenu*scrollkey*Label:   Scroll to Bottom on Key Press
XTerm*vtMenu*scrollttyoutput*Label: Scroll to Bottom on Tty Output
XTerm*vtMenu*allow132*Label:Allow 80/132 Column Switching
XTerm*vtMenu*cursesemul*Label:  Enable Curses Emulation
XTerm*vtMenu*visualbell*Label:  Enable Visual Bell
XTerm*vtMenu*marginbell*Label:  Enable Margin Bell
XTerm*vtMenu*altscreen*Label:   Show Alternate Screen
XTerm*vtMenu*softreset*Label:   Do Soft Reset
XTerm*vtMenu*hardreset*Label:   Do Full Reset
XTerm*vtMenu*tekshow*Label: Show Tek Window
XTerm*vtMenu*tekmode*Label: Switch to Tek Mode
XTerm*vtMenu*vthide*Label:  Hide VT Window

XTerm*fontMenu.Label:   VT Fonts
XTerm*fontMenu*Foreground:  Black
XTerm*fontMenu*Background:  gray75
XTerm*fontMenu*fontdefault*Label:   Default
XTerm*fontMenu*font1*Label: Tiny
XTerm*VT100*font1:  nil2
XTerm*fontMenu*font2*Label: Small
XTerm*VT100*font2:  6x10
XTerm*fontMenu*font3*Label: Medium
XTerm*VT100*font3:  8x13
XTerm*fontMenu*font4*Label: Large
XTerm*VT100*font4:  9x15
XTerm*fontMenu*fontescape*Label:Escape Sequence
XTerm*fontMenu*fontsel*Label:   Selection
!fontescape and fontsel overridden by application

XTerm*tekMenu.Label:Tek Options
XTerm*tekMenu*tektextlarge*Label:   Large Characters
XTerm*tekMenu*tektext2*Label:   #2 Size Characters
XTerm*tekMenu*tektext3*Label:   #3 Size Characters
XTerm*tekMenu*tektextsmall*Label:   Small Characters
XTerm*tekMenu*tekpage*Label:PAGE
XTerm*tekMenu*tekreset*Label:   RESET
XTerm*tekMenu*tekcopy*Label:COPY
XTerm*tekMenu*vtshow*Label: Show VT Window
XTerm*tekMenu*vtmode*Label: Switch to VT Mode
XTerm*tekMenu*tekhide*Label:Hide Tek Window

XTerm*tek4014*fontLarge:9x15
XTerm*tek4014*font2:8x13
XTerm*tek4014*font3:6x13
XTerm*tek4014*fontSmall:6x10

XTerm*VT100.Translations:   #override Meta: 
insert-seven-b

Re: migrating user and web files to new server

2006-09-03 Thread Philip Q

Noah wrote, On 3/09/06 5.15 p:
> there are cooler ways of doing this.   there will be people on this list
> that know what I am talking about.  I will await  their responses.

Does rsync meet your coolness requirements?

-Phil

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


Re: Azureus downloads slow

2006-09-03 Thread Andreas Rudisch
On Sat, 2 Sep 2006 18:06:57 -0500 (CDT)
[EMAIL PROTECTED] wrote:

> I know all that. I am saying that Azureus on FreeBSD runs slower than
> d/ling the same torrent on a windows or even a linux (ubuntu) box when
> getting the same torrent from the same network.

You did not mention that before. Anyway, make sure to run Azureus on
Java 1.4.2. Neither 1.5.0 from ports nor Diablo from the FreeBSD
Foundation seem to work well with it.

At least for me.

Andreas

-- 
GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpoZKwGxEXzo.pgp
Description: PGP signature


File Flags in directories

2006-09-03 Thread Jordi Carrillo

In the FreeBSD handbook when it talks about the file flags permissions it
says:
"These flags add an additional level of security and control over files, but
not directories."
Well, I am able to put file flags in directories as well.
If I do:
mkdir curric
chflags uchange curric
It works well and then I can't modify the contents of the directory. So it
works flawlessly. Anybody knows that everything in Unix is a file, so flags
can be applied to anything. So, the handbook is wrong in this aspect, isn't
it?

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


Re: Ghostview errors

2006-09-03 Thread Jordi Carrillo

I haven't post the error because the message is quite big.
But no problem I use xdvi now.
Thanks anyway.
Jordi

2006/9/3, Gerard Seibert <[EMAIL PROTECTED]>:


On Sunday 03 September 2006 07:30, Jordi Carrillo wrote:
> I've compiled ghostview. All ok. But when I try to execute it to view a
dvi
> file it launches several errors.
> Any of you have the same problem?
> thanks

Kind of hard to say since you failed to list any errors. Try prefixing
your
command line with this:

script -ak ~/gv.log "place command line here - no quotation marks"

Now you can submit that file here for our perusal.

--
Gerard Seibert
[EMAIL PROTECTED]

You are so boring that when I see you my feet go to sleep.






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


Re: Ghostview errors

2006-09-03 Thread Gerard Seibert
On Sunday 03 September 2006 07:30, Jordi Carrillo wrote:
> I've compiled ghostview. All ok. But when I try to execute it to view a dvi
> file it launches several errors.
> Any of you have the same problem?
> thanks

Kind of hard to say since you failed to list any errors. Try prefixing your 
command line with this:

script -ak ~/gv.log "place command line here - no quotation marks"

Now you can submit that file here for our perusal.

-- 
Gerard Seibert
[EMAIL PROTECTED]

You are so boring that when I see you my feet go to sleep.


pgpuBfKbW5IUV.pgp
Description: PGP signature


Re: Ghostview errors

2006-09-03 Thread Tamas (septi) Gal

Could you post the errormessages?

On 9/3/06, Jordi Carrillo <[EMAIL PROTECTED]> wrote:

I've compiled ghostview. All ok. But when I try to execute it to view a dvi
file it launches several errors.
Any of you have the same problem?
thanks



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




--
everyone's pink on the inside - http://www.nuffinsirius.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ghostview errors

2006-09-03 Thread Dhénin Jean-Jacques

For a .dvi file use xdvi
and use ghostview or gv for .ps file

2006/9/3, Jordi Carrillo <[EMAIL PROTECTED]>:

I've compiled ghostview. All ok. But when I try to execute it to view a dvi
file it launches several errors.


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


Ghostview errors

2006-09-03 Thread Jordi Carrillo

I've compiled ghostview. All ok. But when I try to execute it to view a dvi
file it launches several errors.
Any of you have the same problem?
thanks



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


Re: hp_no_device_found

2006-09-03 Thread Sean M.
Follow these directions: http://am-productions.biz/docs/hplip.php

--- Andriy Babiy <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> Could you advise me on how to properly configure my printing?
> I have LaserJet HP-1022, on FreeBSD 6.1 and CUPS-1.2.
> I installed hplip, hpijs, and foomatic-*.
> 
> (as root)
> hp-setup says: ERROR no devices found
> In CUPS I see: hp_no_device_found
> 
> dmesg shows:
> ulpt0: Hewlett-Packard HP LaserJet 1022, rev. 2.00/1.00, addr 2,
> iclass 7/1
> ulpt0: using bi-directional mode
> 
> I can add printer on /dev/ulpt0, and choose HP-1022 from the list,
> and even 
> send a test page to the printer, which isn't printed though.
> 
> There might be something wrong in the configuration, I think. Could
> you advise 
> me on how to get the printer working?
> Thank you in advance for your assistance and ideas!
> 
> Andriy
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


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


WARNING - READ_DMA UDMA ICRC error

2006-09-03 Thread Tamas (septi) Gal

Yesterday I upgraded my hardware from a Pentium2 400mhz setup (running
freebsd 5.4) to a Sempron 2.8ghz and installed freebsd 6.1 on it (the
32bit version).
There are 4 harddisks attached to the IDE-controllers:

ad0: 6150MB  at ata0-master UDMA66
ad1: 38166MB  at ata0-slave UDMA100
ad2: 78167MB  at ata1-master UDMA133
ad3: 38166MB  at ata1-slave UDMA100

ad1 and ad3 are the same and both contain important data.
After the installation of freebsd I noticed a lot of UDMA-errors:

ad1: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
ad1: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=63
ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=63

After decreasing the speed of UDMA (on ad1 and ad3)  in the
BIOS-Setup, ad1 worked fine, without any errors, but ad3 still
produces the same error-messages and is not mountable:

(14:51) root (/home/septi) %mount /dev/ad3s1 /test
mount: /dev/ad3s1: Input/output error

Here the dmesg output:

ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=12063
ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=12063
ad3: FAILURE - READ_DMA status=51
error=84 LBA=12063
g_vfs_done():ad3s1[READ(offset=6144000, length=4096)]error = 5
ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
ad3: FAILURE - READ_DMA status=51 error=84 LBA=63

I also replaced the IDE-cable but it changed nothing...

Does anybody have an idea?

--
everyone's pink on the inside - http://www.nuffinsirius.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ADSL

2006-09-03 Thread Beni
On Sunday 03 September 2006 09:26, [EMAIL PROTECTED] wrote:
> Does FreeBSD support ADSL-modem D-Link DSL-200 ?
> ___

hi,

It seems possible with the eciadsl-program : 
http://users.tpg.com.au/johnd/dsl200.html (i know, its for fedora, but it 
could work for freebsd too...).

Hope this helps,

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


Re: Boot message: atapci: failed to enable memory mapping!

2006-09-03 Thread Beni
On Saturday 02 September 2006 22:39, Viswas Nair wrote:
>Been getting this message everytime I boot.
>
>atapci1:  port
>0x20d8-0x20df,0x20f0-0x20f3,0x20e0-0x20e7,0x20f4-0x20f7,0x20b0-0x20bf irq 19
>at device 31.2 on pci0
>atapci1: failed to enable memory mapping!
>
>Any ideas what this means and what can be done to fix it?
>
>Thanks,
>Vishy

Maybe this link can help you :
http://www.freebsd.org/cgi/query-pr.cgi?pr=92238

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


hp_no_device_found

2006-09-03 Thread Andriy Babiy
Hello,

Could you advise me on how to properly configure my printing?
I have LaserJet HP-1022, on FreeBSD 6.1 and CUPS-1.2.
I installed hplip, hpijs, and foomatic-*.

(as root)
hp-setup says: ERROR no devices found
In CUPS I see: hp_no_device_found

dmesg shows:
ulpt0: Hewlett-Packard HP LaserJet 1022, rev. 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode

I can add printer on /dev/ulpt0, and choose HP-1022 from the list, and even 
send a test page to the printer, which isn't printed though.

There might be something wrong in the configuration, I think. Could you advise 
me on how to get the printer working?
Thank you in advance for your assistance and ideas!

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


Re: crontab entries not executing

2006-09-03 Thread Matthew Seaman
Noah wrote:

> I just rebuilt a new 5.5 server and I am finding root's crontab entries
> are not being executed.  any body got some clues about how I can
> troubleshoot this issue so my cron entries are bring executed.

Verify that root's crontab does anything at all by running a simple
command every minute.  Eg. use 'crontab -u root -e' to add this
line to the root crontab:

*/1 * * * * /usr/bin/touch /tmp/foo

Then if you do 'ls -l /tmp/foo' you should see the timestamp changing
every minute.  Remember to remove this line once you're done testing.

If it doesn't, check that cron is enabled and running.  It is enabled
by default in /etc/defaults/rc.conf.

Examine /var/log/cron -- everything cron tries to run should be logged
there.

However, I suspect that the problem is the standard gotcha when using
cron.  Scripts run from cron get a very minimal environment.  In
particular you *will* need to set the PATH explicitly at the top of
your script. Something like this generally suffices:


PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/usr/local/sbin
export PATH

Or else use fully qualified paths for any programs you call from the
script.

This is the primary cause of programs that work fine under test when
run from your login account but that do not work when run from cron.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: From FIXIT: (was:Re: System down, won't come up

2006-09-03 Thread Matthew Seaman
Gary Kline wrote:

>   fixit mode.   What I really want is to get the data files off
>   and over to another servr.  Havng /etc/* and maybe /var/db/pkg/*
>   would be a big help.  Then I could reinstall 5.3  ->5.5 and
>   finally over to 6.1.

Why go via 5.5 if you're upgrading by installing a new system on the
machine?  Just go straight to 6.1.

Stuff you should backup before doing that:

/etc --- absolutely vital
/usr/local/etc   --- ditto: most people have put hours of work into
 port configuration files which would be painful
 to have to recreate.
/var --- lots of programs keep their state in files in
 /var, not to mention stuff like MYSQL DB files.
/home or /usr/home - depending on how your disk is laid out.
/root

Other stuff you might need to backup:

/usr/local/www   --- if you run web sites of this machine
/usr/X11R6/lib/X11/{xdm,app-defaults,...}
 --- if you've customised stuff under there

/boot/loader.conf
/usr/src/sys/i386/conf/HOSTNAME
 --- these two should be mostly for reference as
 their contents have changed significantly with
 changes to the system.
 /usr/local/share/snmp/{snmp.conf,snmpd.conf}
 ---  only if you run net-snmpd: for some reason it
  keeps its config files here instead of under
  /usr/local/etc

That covers all of the locations I know of where hand customised files
can generally be found (on machines I admin, at least).  Everything else
should be replacable by running a 'make world' cycle or by using the ports.
No doubt other people do things differently, so will have a slightly different
list...


Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


  1   2   >