Flash drive device name difficulties.

2005-10-16 Thread Malcolm Kay
I am running FreeBSD 5.4 RELEASE.
I recently aquired a 256M USB flash drive
which the system recognises when plugged in;
and I can mount and use it -- all working well.

But now I'd like to make it available to a user
or group of users through mtools. To do this I need
to change the permissions on /dev/da0s1 where the 
flash drive msdos partition appears. This I can make happen 
automatically using /etc/usbd.conf by adding the lines:

device RunDisk
vendor  0x0ef5
product 0x2366   
attach sleep 1; /bin/chmod g+rw /dev/da[0-9]*

giving members of the operator group access.
But this changes permissions on all da[0-9] devices.
I know the man pages suggest ${DEVICENAME} to obtain the 
particular device but this doesn't work here because usbd
sees the device as umass0 which doesn't appear in /dev/*.

For the moment this is the only device I have appearing 
in the da* group so the problem is not immediate/urgent.
But is there some way I can extract the specific da* device
name to use in the attach statement or is there some way I can 
make the flash drive always pop up at a specific da name.

I've also taken a look at devd.conf but the documentation here 
seems somewhat sparse.

You consideration is appreciated,

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


Re: Help Understanding While Loop

2005-10-16 Thread Parv
in message [EMAIL PROTECTED],
wrote Drew Tomlinson thusly...

 Thus I set the following variables:
 
 remote_pictures_dir=/multimedia/Pictures
 local_pictures_dir=/tv/pictures
 find_args=-iname '*.jpg' -or -iname '*.gif'
 
 Then I called the 'find' command as follows:
 
 for original in $(/usr/bin/find $remote_pictures_dir $find_args -print)
 
 But when I run my script, I get /usr/bin/find: invalid predicate
 `-iname '*.jpg' -or -iname '*.gif''. 

I don't get the invalid predicate; i get nothing printed at all
(bash3  sh).


 However if I don't try and
 use $find_args and type the arguments in specifically, the script
 runs fine.

Are you really sure about the runs fine part?  Here, when the
-iname options were not surrounded by '\('  '\)', find searched
only for the last option, in this case -iname '*.gif', ignoring
all the '*.jpg' files.


 I tried various combinations of quoting and escaping
 those quotes but can't come up with a combination that works.

Add eval before find so that find recognizes $find_args as
separate options not one long string, and group $find_args to make
it work  what you actually wanted ...

  for f in $( eval find $dir \( $find_args \) -print )
  do
echo $f
  done


  - Parv

-- 

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


Re: Gentoo and FreeBSD

2005-10-16 Thread Graham Bentley
I see the beauty of FreeBSD land corrupted by GPL chaos :(

Mmm, that chaos seems to have gotten stallman et alii a long
way ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2005-09-25 - 2005-10-15

2005-10-16 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

14-Oct : Cross compiling on AMD64 - the teaser
 Why let a big machine idle? 
 http://freebsddiary.org/index.html?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


[EMAIL PROTECTED]:/host

2005-10-16 Thread Graham North

Can someone please explain what this is.
I ran df to look at my directory/filesystem and 2 of the devices were:
[EMAIL PROTECTED]:/host
[EMAIL PROTECTED]:/net

I have not noticed these before.
Thanks for any help.
Graham/

--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.1/135 - Release Date: 10/15/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

[Fwd: [EMAIL PROTECTED]:/host]

2005-10-16 Thread Graham North
To clarify - on my home network the server machine is named www so that 
is probably where the www comes from in the device names below:

[EMAIL PROTECTED]:/host
[EMAIL PROTECTED]:/net

G/


 Original Message 
Subject:[EMAIL PROTECTED]:/host
Date:   Sun, 16 Oct 2005 00:21:11 -0700
From:   Graham North [EMAIL PROTECTED]
To: questions freebsd freebsd-questions@freebsd.org



Can someone please explain what this is.
I ran df to look at my directory/filesystem and 2 of the devices were:
[EMAIL PROTECTED]:/host
[EMAIL PROTECTED]:/net

I have not noticed these before.
Thanks for any help.
Graham/

--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.1/135 - Release Date: 10/15/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Recommended partitioning

2005-10-16 Thread Andrew P.
On 10/16/05, Teo De Las Heras [EMAIL PROTECTED] wrote:

 Some of my reading in books and online does suggest straying from the
 default when configuring mail and web servers (for example).  I do
 understand the importance of following standards, and that's why I'm asking
 for feedback from this list.

 Teo


Special partitioning is only really needed on production
servers, where you need all performance you can get.
Your box sounds like not a very critical one. I bet you'll
spend more time configuring it to the max than it'll
ever save you because of that.

Now, if you really think 20G is a proper size for web,
mail, spools and logs - just set your var to 20G. No
need to mess with any other stuff. That's my $.02.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade -ar (why?)

2005-10-16 Thread Andrew P.
On 10/16/05, Peter Matulis [EMAIL PROTECTED] wrote:

 --- Andrew P. [EMAIL PROTECTED] wrote:

  Honestly guys, what is this thread about?

 Hum, understanding something?

  You're not gonna make portupgrade work any faster or
  smoother if you weed out a couple of switches from the
  command-line.

 See above.

  I don't mean to bother anyone if you're
  having fun, but it just seems that portupgrade's manpage
  covers it all.

 Ha, I knew a manpage guy would come around sooner or later.  Don't
 you think I read it already?  I have questions it does not cover.

  If you're not sure - just try it. If something's
  strange - see if it's a bug, and if you're sure it is - send-pr.

 I can use all the switches if I want.  The entire alphabet soup.
 But that won't help me understand what is happening.  I am not
 satisfied with not seeing something strange.






 __
 Find your next car at http://autos.yahoo.ca
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



Yeah, right. Maybe we could get together some time
and understand what's happening over a cup of tea.

Anyway. I don't know ruby at all. In fact, I don't know
any programming language very well at all.

% more `which portupgrade`
search for -a, -r and -R

opts.def_option(-a, --all,
Do with all the installed packages) {
  |$all|
  $recursive = false
  $upward_recursive = false
}

opts.def_option(-r, --recursive,
Do with all those depending on the given
packages  NEXTLINE 
as well) {
  $recursive = true unless $all
}

opts.def_option(-R, --upward-recursive,
Do with all those required by the given packages
 NEXTLINE 
as well / Fetch recursively if -F is specified) {
  $upward_recursive = true unless $all
  $fetch_recursive = true
}

Fortunately, my somewhat basic English allows me
to understand it. Now what part of that is not covered
by the manpage?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kldload snd_driver locks up 5.4-STABLE

2005-10-16 Thread Andrew P.
On 10/16/05, Annelise Anderson [EMAIL PROTECTED] wrote:

 On 5.4-STABLE on a Dell Optiplex GX620, there's
 an Integrated AC97 Audio.

 dmesg says:

 pci0: multimedia, audio at device 30.2 (no driver attached)


 If I try to load sound drivers with kldload, the machine
 locks up entirely and a reset is required.  Perhaps the solution
 is just to not do that, but if anyone knows anything about
 this, I'd be interested.

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



Can you try to compile it in your kernel?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Changing the region code of DVD-Drive

2005-10-16 Thread Thomas Linton
Hi,

Is there any tool available to change the region code of a DVD-Drive?

Many thanks in advance, Thomas.

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


Re[2]: portupgrade stale dependencies

2005-10-16 Thread Gerard Seibert
On Saturday, October 15, 2005 9:21:00 PM, Andrew P. [EMAIL PROTECTED]
Subject: Re: portupgrade stale dependencies
Wrote these words of wisdom:

 On 10/16/05, John DeStefano [EMAIL PROTECTED] wrote:
  I'm trying to use portupgrade to update my installed ports. I ran into
  trouble with dependencies with ImageMagick and xorg-libraries, and I then
  followed the suggestion in UPDATING to delete XFree86 the imake-4 packages,
  and install the full xorg port.
 
  After all that, I got more dependency errors:
  'Stale dependency: aalib-1.4.r5_1 -- imake-4.3.0_1 -- manually run 'pkgdb
  -F' to fix, or specify -O to force.'
 
  'pkgdb -O' returned an invalid option error, and 'pkgdb -o aalib-1.4.r5_1'
  returned 'graphics/aalib'. I then ran 'pkgdb -F' to try and fix this (and
  many, many other) stale dependencies, but the error I got when trying to run
  portupgrade afterward simply changed the stale dependency error to '
  aalib-1.4.r5_1 -- XFree86-libraries-4.3.0_6'.
 
  How does one get around these dependency errors without destroying a system?
  Any good resources on dealing with this? I keep reading that I should just
  run 'pkgdb -F' but that only gets one so far.
 
  Thanks,
  ~John
 
 
 If you don't have a whole free week, consider
 deinstalling every port on your system (with
 pkg_deinstall preferably), installing cvsup,
 updating your ports tree, installing portupgrade,
 and portinstalling all the ports you really need.
 That should only take a couple of days :-)


* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

I certainly hope that this is not a production machine. Taking the
system out of service for a few days would certainly suck.

Personally, I have run into this dependency problem before, and have
just learned to ignore it. Eventually, it just seems to go away. Since I
started using portmanager instead of portupgrade, I have been able to
just ignore these problems.

IMHO, this entire dependency problem is something that needs serious
work. It would seem that there has to be a better way to keep these
dependencies synchronized without user intervention.

Just my 2¢.

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


root mail is pointing to one user account..?(sendmail)

2005-10-16 Thread perikillo
  Hi people.
  Freebsd 5.4-p8
  tag RELENG_5_4

I need some help, the problem is that for some reason that i still
dont know, my root mail account is pointing to another user, is to
wear, that i really dont know how this happend, i check the /etc/mail/
files and dosnt see any thing wrong, i have 2 user working, root and
another call klabaza(wheel group), to access the system i use klabaza
and them su to get root account.
Today i made the buildworld process, after everything was complete
without any problems, i see one message on my /var/log/maillog saying
that my aliases.db was out of day the i run the newaliases program but
give some errors because i was having the mount point / ro(read only)
them i change /  to rw, and again execute the program newaliases, and
everything was good, before this, root could send mail, after i run
newaliases, change some files propierties because this machine is one
firewall, i execute the command mail and appear this message:
samantha#mail
/var/mail/klabaza

   Is the inbox of the other user, them i check my .cshrc file:

alias h history 25
alias j jobs -l
alias lals -a
alias lfls -FA
alias llls -lA
alias loll -o
alias cls   clear
alias apagarshutdown -r now

# A righteous umask
umask 22

set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
/usr/local/bin /usr/X11R6/bin $HOME/bin)

setenv  EDITOR  ee
setenv  PAGER   less
setenv  BLOCKSIZE   K
setenv  CLICOLOR

if ($?prompt) then
# An interactive shell -- set some stuff up
set prompt = `/bin/hostname -s`# 
set filec
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey ^W backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
endif

***
Them i check my vars with set command and found this:

samantha# set
addsuffix
argv()
cwd /root
dirstack/root
echo_style  bsd
edit
filec
gid 0
group   klabaza
history 100
home/root
killring30
mail/var/mail/klabaza
owd /home/klabaza
path(/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
/usr/local/bin /usr/X11R6/bin /root/bin)
prompt  samantha#
prompt2 %R?
prompt3 CORRECT%R (y|n|e|a)?
savehist100
shell   /bin/csh
shlvl   2
status  0
tcsh6.13.00
termxterm
tty ttyp0
uid 0
userklabaza
version tcsh 6.13.00 (Astron) 2004-05-19 (i386-intel-FreeBSD) options
8b,nls,dl,al,kan,sm,rh,color,dspm,filec


There i found that mail is pointing to the other user...why..?, Ok, if
i echo $USER with the root shell appear this:
samantha#echo $USER
klabaza

  I think this is normal because i am using su to get root access, i
amd right...?

  ok, them i decide to change my .cshrc file and change manually mail
and MAIL var, ok this fix the set problem, but not my problem, because
even if now i exec the mail command, and send some mail with root
account, look this header:

From [EMAIL PROTECTED] Sun Oct 16 03:24:39 2005
Return-Path: [EMAIL PROTECTED]
Received: from samantha.MBX.local (localhost [127.0.0.1])
by samantha.MBX.local (8.13.3/8.13.3) with ESMTP id j9GAOd6J001138
for [EMAIL PROTECTED]; Sun, 16 Oct 2005 03:24:39 -0700 (PDT)
(envelope-from [EMAIL PROTECTED])
Received: (from [EMAIL PROTECTED])
by samantha.MBX.local (8.13.3/8.13.3/Submit) id j9GAOYAH001137
for klabaza; Sun, 16 Oct 2005 03:24:34 -0700 (PDT)
(envelope-from klabaza)
Date: Sun, 16 Oct 2005 03:24:34 -0700 (PDT)
From: User Klabaza moreno [EMAIL PROTECTED]
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test root.
body: must be root acount.
**
The first line say is the user klabaza and the mail was with the root
account, i receive this mail on the root and klabaza account, i am
receiving the cron mails to the root account, and this appear on some
maillog lines:

 to=localuser, ctladdr=root (26/0), delay=00:00:00, mailer=local,
pri=40422, dsn=5.1.1, stat=User unknown

The localuser dosnt exits, i only change the /etc/mail/aliases line:

# Pretty much everything else in this file points to root, so
# you would do well in either reading root's mailbox or forwarding
# root's email from here.

root: localuser, [EMAIL PROTECTED]-Only this line

# Basic system aliases -- these MUST be present
MAILER-DAEMON: postmaster
postmaster: root

***
I still dont know how to fix this problem, any advised i will
apreciated, thanks all for your time.

Nagios Client on FreeBSD 5.4

2005-10-16 Thread Deepak Naidu
Hi,
I wanted to install nagios client on FreeBSD 5.4. 
I want to monitor my SMTP (25) and disk usage etc to
be monitored from Nagios server installed on Linux
box.

How do I do...  In linux there is Nagios-Client.rpm. 
What is the alternative on FreeBSD 

I dont want the server, I just wnat to monito my
FreeBSD 5.4 host.

Thanx for any help..

Cheers,
Deepak Naidu.







Linux your Life, Don't Window it [[]] 

   { All for the best }






___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Should I increase vfs.read_max

2005-10-16 Thread Deepak Naidu
Thanx very much Andrew...


Cheers,
Deepak Naidu.


--- Andrew P. [EMAIL PROTECTED] wrote:

 On 10/15/05, Deepak Naidu [EMAIL PROTECTED]
 wrote:
  Thanx Andrew,
 
   Could u provide some details, where
 can I
  obtain 6.0, stable or what ever the updated
 release is
  there for 6.0.  The exact ISO download location.
 
  Bcos, I am always confused which one of 6.0 is
 perfect
  or  good.  If at all I am upgrading, how should I
 do.
 
  Thanx again for the feedback.
 
  Can I use Raisefs/XFS in Read and Write mode in
 6.0
 
  I know I am asking for more.
 
 
 I see that you live in India. Unfortunately, there
 are no
 good mirrors there that I know about. You can try to
 download 6.0-RC1 image from our central ftp server:

ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.0/6.0-RC1-i386-disc1.iso
 
 But if the box is directly connected to the Internet
 (even via slow/lossy link), you'd better cvsup to
 the latest source tree and rebuild world/kernel.
 The update from 5.4 to 6.0 is painless.
 
 6.0 has read-only support for ReiserFS partitions,
 there's an effort to provide XFS support also, but
 it's far from complete yet. For most applications,
 UFS2 is as good (fast, reliable, feature-rich) as
 it gets.
 
 You can learn how to upgrade your system to
 6.0 by reading this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
 
 post to this list in case of trouble, but choose
 a new subj line.
 
 
 Good luck,
 Andrew P.
 






___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Disabling Hyperthreading...

2005-10-16 Thread Deepak Naidu
Hi,
I have installed FreeBSD 5.4 on Dell PowerEdge
1750, which has Xeon processors.

I have recompiled the kernel with SMP support(should I
add any option in Kernelconf file to disable it)

When using top command I c 0123, processor it seems
hyper threading is enabled.

How do I disable it, or is it diabled 


Thanx for any advise.

Cheers,
Deepak Naidu.



___ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Remote Console

2005-10-16 Thread Grant Peel

Hi all,

I have asked this question before, so if it looks familiar ...

I am hoping all the reading I have done over the past few weeks makes this 
instance of the qeustion clearer.


Background:

1 Dell 24 Port Switch, WAN connection to my ISP.
5 Dell Serers, each with 2 NICs.
   1 NIC on each connected to SWITCH - VLAN 1 -WAN (Many different IP's).
   1 NIC on each connected to SWITH - VLAN 2 -LAN (192.168.0/24)

   Each Server has 2 Serial ports, unused.
   Each Server has 2 USB ports, unused.

All servers running FreebSD
   2 Running 4.10
   1 Running 5.2.1
   1 Running 5.4
   1 Running 4.4 (Slave3 Nameserver only).

I am ~ 120 miles from the server cage these are located in. So traveling to 
there is a real pain.


I have been reading everything I can find on consoles, ttys, blackboxes, 
Lantronix serial cables etc, etc ,etc ,etc ...


What I am looking to do, is to connect all the servers to a device, or, 
daisychain them together so that even if I reboot a broken machine, I can 
still get to a boot ? prompt, not to mention single user mode and normal 
ssh shell prompt. (of course I already have the latter through IP when the 
machine boots correctly.


So my question is, can a machine be made to still be remotely accessable 
(any method), when file systems are not mounted, or, kernel not loaded? If 
so, using what setup?


-Grant 



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


localepurge for FreeBSD?

2005-10-16 Thread N Deepak
Hi,

Debian GNU/Linux has a utility called `localepurge'.  This software asks
the user about his locale, and purges remaining locales.  The recovered
disk space, when executed the first time, can run into many megabytes.

Is there an equivalent for FreeBSD?

Thanks,
Deepak

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


Re: Remote Console

2005-10-16 Thread Andrew P.
On 10/16/05, Grant Peel [EMAIL PROTECTED] wrote:
 Hi all,

 I have asked this question before, so if it looks familiar ...

 I am hoping all the reading I have done over the past few weeks makes this
 instance of the qeustion clearer.

 Background:

 1 Dell 24 Port Switch, WAN connection to my ISP.
 5 Dell Serers, each with 2 NICs.
 1 NIC on each connected to SWITCH - VLAN 1 -WAN (Many different IP's).
 1 NIC on each connected to SWITH - VLAN 2 -LAN (192.168.0/24)

 Each Server has 2 Serial ports, unused.
 Each Server has 2 USB ports, unused.

 All servers running FreebSD
 2 Running 4.10
 1 Running 5.2.1
 1 Running 5.4
 1 Running 4.4 (Slave3 Nameserver only).

 I am ~ 120 miles from the server cage these are located in. So traveling to
 there is a real pain.

 I have been reading everything I can find on consoles, ttys, blackboxes,
 Lantronix serial cables etc, etc ,etc ,etc ...

 What I am looking to do, is to connect all the servers to a device, or,
 daisychain them together so that even if I reboot a broken machine, I can
 still get to a boot ? prompt, not to mention single user mode and normal
 ssh shell prompt. (of course I already have the latter through IP when the
 machine boots correctly.

 So my question is, can a machine be made to still be remotely accessable
 (any method), when file systems are not mounted, or, kernel not loaded? If
 so, using what setup?

 -Grant


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



First, you should check with your servers' specs.
Many vendors include basic LOM (Lights-out-
management) support in their boxes. If they do,
you should turn it on in the BIOS - and it will
redirect all text-based screen output and keyboard
input to a COM port. If all goes right, you'll be able
to even edit your BIOS settings remotely.

Secondly, you can place console comsonsole
line in /boot/loader.conf. That should allow you
to access that boot ? prompt.

Thirdly (preferred method for servers without
good LOM) - you can buy a 3d-party LOM,
available in a dozen of forms, from PCI and
what not cards to KVM-over-IP solutions.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


su command PPP

2005-10-16 Thread Mohsen Pahlevanzadeh

Dears,
I have 2 question :
1.for dialing PPP ,Am i do compile kernel?
2.When i run gdm,i can't use su command.When i use this command,i 
recieve following text :

su : sorrry!
Please guide me...
Yours,Mohsen.

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


Re: Remote Console

2005-10-16 Thread Grant Peel

Thanks Andrew,

So If I understand your reply, a setup like this should always give me 
access to any of the servers by SSHing to one server, then CUing to get to 
the console of the 'broken' one, regardless of its state (assuming the disks 
are OK, and boot stage 1 worked):


(WAN Shown, LAN Same, using seperate nics on Servers and Switch)


 ISP's router
   |
   My Switch

|  ||   | 
|
Serv1Serv2Serv3   Serv4 
Serv5


Serial1-Serial2
Serial1-Serial2
 Serial1Serial2
 
Serial1--Serial2

Can more than 1 console access type be specified in loader.conf ?
   i.e.
   console='serialconsole'
   console='videoconsole'

When using 'serial console, does anything have to be specified to use serial 
2?


What is the default local console, how is it specified?
   i.e. the one you use when you plug a keyboard and monitor directly into 
the machine?


Would I need to install any other software other than the client (CU)?

-GRant


- Original Message - 
From: Andrew P. [EMAIL PROTECTED]

To: Grant Peel [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sunday, October 16, 2005 7:32 AM
Subject: Re: Remote Console


On 10/16/05, Grant Peel [EMAIL PROTECTED] wrote:

Hi all,

I have asked this question before, so if it looks familiar ...

I am hoping all the reading I have done over the past few weeks makes this
instance of the qeustion clearer.

Background:

1 Dell 24 Port Switch, WAN connection to my ISP.
5 Dell Serers, each with 2 NICs.
1 NIC on each connected to SWITCH - VLAN 1 -WAN (Many different IP's).
1 NIC on each connected to SWITH - VLAN 2 -LAN (192.168.0/24)

Each Server has 2 Serial ports, unused.
Each Server has 2 USB ports, unused.

All servers running FreebSD
2 Running 4.10
1 Running 5.2.1
1 Running 5.4
1 Running 4.4 (Slave3 Nameserver only).

I am ~ 120 miles from the server cage these are located in. So traveling 
to

there is a real pain.

I have been reading everything I can find on consoles, ttys, blackboxes,
Lantronix serial cables etc, etc ,etc ,etc ...

What I am looking to do, is to connect all the servers to a device, or,
daisychain them together so that even if I reboot a broken machine, I can
still get to a boot ? prompt, not to mention single user mode and normal
ssh shell prompt. (of course I already have the latter through IP when the
machine boots correctly.

So my question is, can a machine be made to still be remotely accessable
(any method), when file systems are not mounted, or, kernel not loaded? If
so, using what setup?

-Grant


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





First, you should check with your servers' specs.
Many vendors include basic LOM (Lights-out-
management) support in their boxes. If they do,
you should turn it on in the BIOS - and it will
redirect all text-based screen output and keyboard
input to a COM port. If all goes right, you'll be able
to even edit your BIOS settings remotely.

Secondly, you can place console comsonsole
line in /boot/loader.conf. That should allow you
to access that boot ? prompt.

Thirdly (preferred method for servers without
good LOM) - you can buy a 3d-party LOM,
available in a dozen of forms, from PCI and
what not cards to KVM-over-IP solutions.



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


Re: su command PPP

2005-10-16 Thread Malcolm Kay
On Sat, 5 Nov 2005 08:28 am, Mohsen Pahlevanzadeh wrote:
 Dears,
 I have 2 question :
 1.for dialing PPP ,Am i do compile kernel?
 2.When i run gdm,i can't use su command.When i use this
 command,i recieve following text :
 su : sorrry!

This is the normal response to a user who does not have 
access to the wheel group.
To su to root you need to belong to this group.

Add your user login name to the wheel:*:0: line in 
/etc/group.

Malcolm Kay


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


Re: Remote Console

2005-10-16 Thread Andrew P.
On 10/16/05, Grant Peel [EMAIL PROTECTED] wrote:
 Thanks Andrew,

 So If I understand your reply, a setup like this should always give me
 access to any of the servers by SSHing to one server, then CUing to get to
 the console of the 'broken' one, regardless of its state (assuming the disks
 are OK, and boot stage 1 worked):

 (WAN Shown, LAN Same, using seperate nics on Servers and Switch)


   ISP's router
 |
 My Switch
 
 |  ||   |
 |
 Serv1Serv2Serv3   Serv4
 Serv5

 Serial1-Serial2
  Serial1-Serial2
   Serial1Serial2
   
 Serial1--Serial2

 Can more than 1 console access type be specified in loader.conf ?
 i.e.
 console='serialconsole'
 console='videoconsole'

 When using 'serial console, does anything have to be specified to use serial
 2?

 What is the default local console, how is it specified?
 i.e. the one you use when you plug a keyboard and monitor directly into
 the machine?

 Would I need to install any other software other than the client (CU)?

 -GRant


I haven't configured comconsoles myself, I just happen
to work at a place where they are used heavily (Sun
ALOM mostly, but built-in LOMs and FreeBSD software
comsonsoles also). Please consult the Handbook and
google, I'm sure there's nothing difficult to it.

I would not support your chaining idea, though. It's
the only one that requires $0.00 budget, but COM
hubs are cheap today. If you rent rackspace, I'm
sure your colocation provider can offer you some
kind of non-expensive remote management. If
rackspace is free, consider buying some hardware
(like a COM hub).

The matter is, that you'll want 9600 bps speeds
for max compatibility. While it is usable for
occasional failure recovery, chaining it would
make it lag too much.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: su command PPP

2005-10-16 Thread Andrew P.
On 11/5/05, Mohsen Pahlevanzadeh [EMAIL PROTECTED] wrote:
 Dears,
 I have 2 question :
 1.for dialing PPP ,Am i do compile kernel?

Make sure device tun in your kernel, use
/usr/sbin/ppp, not /usr/sbin/pppd.

/etc/ppp/ppp.conf - is ppp's config file
man ppp describes ppp and ppp.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommended partitioning

2005-10-16 Thread John Oxley
On Sat, Oct 15, 2005 at 05:01:01PM -0400, Teo De Las Heras wrote:
  Part Size
 / 10G - for both the / and /usr files
 (swap) 2G
 /var 10G - Web server, print spool, other log files??
 /var/mail 10G - for all mail files and easy backup
 /home 50G - for all user files
 /home/teo 40G - For my files and easy backup
 *The rest of the space I'll leave unused in case I need to grow a partition
  I'm new to FreeBSD/*Nix so all criticism is welcome.
  Teo

Keep / small, around 200MB, and split user from this.  You'll understand
why as soon as something nasty happens while you're writing to /usr and
the machine falls over.  You can still boot because / is mainly static.

put 10-20 gigs in usr.  When you build ports, they use space in /usr (by
default. You can change this) which is why I say 20 gigs.

256M in /tmp is fine

/var you want to be quite big if you're running a production server or a
mysql box, because db files and logs and mail etc. go to /var by
default.  I find it easier to make /var big than create symlinks or
modify where things go.

Splitting /var and /var/mail is a good idea because if /var fills up
with logs then you'll still receive mail.  For the same reason its a
good idea to make /var/db/mysql separate as well.  The problem you run
into there is say you've put 10 gigs for each and you have 3 gigs of
logs, 5 gigs of mail and need 12 gigs for your database, then you loose
the flexibility.

I put my web pages in /usr/local/www/virtual/ so that comes under /usr.

You may want to put 90 gigs straight into /home and then setup quota's
so your users don't use up your disk space.

My 2 cents.

-John

-- 
John Oxley
Systems Administrator
Yo!Africa
E-Mail:  john at yoafrica.com
Tel: +263 4 858404
echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] 
s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote Console

2005-10-16 Thread Grant Peel

Thanks again Andrew,

I will do a search on COM Hubs and see whats out there. I assume, the HUB 
would connect to one controll terminal, then to each COM port on the 
servers.


I have been reading (pouring over and over) the man and handbook pages to 
see if more than one console can be specified at a time.


If all goes well, it looks like we should be able to do anything from the 
serial port, short of physicaly pushing the power button!


-Grant

- Original Message - 
From: Andrew P. [EMAIL PROTECTED]

To: Grant Peel [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sunday, October 16, 2005 8:44 AM
Subject: Re: Remote Console


On 10/16/05, Grant Peel [EMAIL PROTECTED] wrote:

Thanks Andrew,

So If I understand your reply, a setup like this should always give me
access to any of the servers by SSHing to one server, then CUing to get to
the console of the 'broken' one, regardless of its state (assuming the 
disks

are OK, and boot stage 1 worked):

(WAN Shown, LAN Same, using seperate nics on Servers and Switch)


  ISP's router
|
My Switch

|  ||   |
|
Serv1Serv2Serv3   Serv4
Serv5

Serial1-Serial2
 Serial1-Serial2
  Serial1Serial2

Serial1--Serial2

Can more than 1 console access type be specified in loader.conf ?
i.e.
console='serialconsole'
console='videoconsole'

When using 'serial console, does anything have to be specified to use 
serial

2?

What is the default local console, how is it specified?
i.e. the one you use when you plug a keyboard and monitor directly 
into

the machine?

Would I need to install any other software other than the client (CU)?

-GRant



I haven't configured comconsoles myself, I just happen
to work at a place where they are used heavily (Sun
ALOM mostly, but built-in LOMs and FreeBSD software
comsonsoles also). Please consult the Handbook and
google, I'm sure there's nothing difficult to it.

I would not support your chaining idea, though. It's
the only one that requires $0.00 budget, but COM
hubs are cheap today. If you rent rackspace, I'm
sure your colocation provider can offer you some
kind of non-expensive remote management. If
rackspace is free, consider buying some hardware
(like a COM hub).

The matter is, that you'll want 9600 bps speeds
for max compatibility. While it is usable for
occasional failure recovery, chaining it would
make it lag too much.



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


Re: Remote Console

2005-10-16 Thread Grant Peel

Hi all,

RS-232 Serial Port hubs seem to be a little hard to come by, and the ones I 
have found are quite expensive.


COuld we could achieve the same using USB terminals and a 16 port USB hub?

-Grant

- Original Message - 
From: Andrew P. [EMAIL PROTECTED]

To: Grant Peel [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sunday, October 16, 2005 8:44 AM
Subject: Re: Remote Console


On 10/16/05, Grant Peel [EMAIL PROTECTED] wrote:

Thanks Andrew,

So If I understand your reply, a setup like this should always give me
access to any of the servers by SSHing to one server, then CUing to get to
the console of the 'broken' one, regardless of its state (assuming the 
disks

are OK, and boot stage 1 worked):

(WAN Shown, LAN Same, using seperate nics on Servers and Switch)


  ISP's router
|
My Switch

|  ||   |
|
Serv1Serv2Serv3   Serv4
Serv5

Serial1-Serial2
 Serial1-Serial2
  Serial1Serial2

Serial1--Serial2

Can more than 1 console access type be specified in loader.conf ?
i.e.
console='serialconsole'
console='videoconsole'

When using 'serial console, does anything have to be specified to use 
serial

2?

What is the default local console, how is it specified?
i.e. the one you use when you plug a keyboard and monitor directly 
into

the machine?

Would I need to install any other software other than the client (CU)?

-GRant



I haven't configured comconsoles myself, I just happen
to work at a place where they are used heavily (Sun
ALOM mostly, but built-in LOMs and FreeBSD software
comsonsoles also). Please consult the Handbook and
google, I'm sure there's nothing difficult to it.

I would not support your chaining idea, though. It's
the only one that requires $0.00 budget, but COM
hubs are cheap today. If you rent rackspace, I'm
sure your colocation provider can offer you some
kind of non-expensive remote management. If
rackspace is free, consider buying some hardware
(like a COM hub).

The matter is, that you'll want 9600 bps speeds
for max compatibility. While it is usable for
occasional failure recovery, chaining it would
make it lag too much.



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


[OT] X+mga frustration

2005-10-16 Thread Per olof Ljungmark
Sorry for the littering but I am so frustrated trying to make a Matrox 
G550 work with DVI output. The G550 has dual head capability and both 
the VGA and the DVI output works from the console, but only VGA from X.


Tried 4.11, 6.0-RC1 with both Xfree86-4 and xorg.

If there is anyone out there who successfully configured this card to 
use DVI only output under X please, please, how did you do it?


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


.wma music files

2005-10-16 Thread Warren
im runnign FreeBSD 5.4-STABLE with XMMS mp3 player and out of curiosity, why 
is it that windows media vid files can be played on FreeBSD, but the music 
files cant?
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .wma music files

2005-10-16 Thread John Oxley
On Mon, Oct 17, 2005 at 12:14:35AM +1000, Warren wrote:
 im runnign FreeBSD 5.4-STABLE with XMMS mp3 player and out of curiosity, why 
 is it that windows media vid files can be played on FreeBSD, but the music 
 files cant?

Install /usr/ports/audio/xmms-wma

-- 
John Oxley
Systems Administrator
Yo!Africa
E-Mail:  john at yoafrica.com
Tel: +263 4 858404
echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] 
s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .wma music files

2005-10-16 Thread Warren
On Mon, 17 Oct 2005 12:16 am, John Oxley wrote:
 /usr/ports/audio/xmms-wma

thanks.
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommended partitioning

2005-10-16 Thread Teo De Las Heras
Based on recommendations here is how I'm going to partition the two FreeBSD
servers that I'm installing in my lab.

mail, print, web, and file server
Part Size
/ 200M
/usr 15G - Ports live in usr
/tmp 256M
(swap) 2G - paging file
/var 10G - print spool, db files, other log files??
/var/mail 10G - for all mail files and easy backup
/www 5G - Web server - I'm going to have a lot of content
/home 50G - for all user files
*The rest of the space I'll leave unused in case I need to grow a partition

Firewall/Router
Part Size
/ 200M
/tmp 256M
/usr 7G
swap 512M
/var 2G

 On 10/16/05, John Oxley [EMAIL PROTECTED] wrote:

 On Sat, Oct 15, 2005 at 05:01:01PM -0400, Teo De Las Heras wrote:
  Part Size
  / 10G - for both the / and /usr files
  (swap) 2G
  /var 10G - Web server, print spool, other log files??
  /var/mail 10G - for all mail files and easy backup
  /home 50G - for all user files
  /home/teo 40G - For my files and easy backup
  *The rest of the space I'll leave unused in case I need to grow a
 partition
  I'm new to FreeBSD/*Nix so all criticism is welcome.
  Teo

 Keep / small, around 200MB, and split user from this. You'll understand
 why as soon as something nasty happens while you're writing to /usr and
 the machine falls over. You can still boot because / is mainly static.

 put 10-20 gigs in usr. When you build ports, they use space in /usr (by
 default. You can change this) which is why I say 20 gigs.

 256M in /tmp is fine

 /var you want to be quite big if you're running a production server or a
 mysql box, because db files and logs and mail etc. go to /var by
 default. I find it easier to make /var big than create symlinks or
 modify where things go.

 Splitting /var and /var/mail is a good idea because if /var fills up
 with logs then you'll still receive mail. For the same reason its a
 good idea to make /var/db/mysql separate as well. The problem you run
 into there is say you've put 10 gigs for each and you have 3 gigs of
 logs, 5 gigs of mail and need 12 gigs for your database, then you loose
 the flexibility.

 I put my web pages in /usr/local/www/virtual/ so that comes under /usr.

 You may want to put 90 gigs straight into /home and then setup quota's
 so your users don't use up your disk space.

 My 2 cents.

 -John

 --
 John Oxley
 Systems Administrator
 Yo!Africa
 E-Mail: john at yoafrica.com http://yoafrica.com
 Tel: +263 4 858404
 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15]
 s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc


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


Re: portupgrade -ar (why?)

2005-10-16 Thread Micah

Andrew P. wrote:

On 10/16/05, Peter Matulis [EMAIL PROTECTED] wrote:


--- Andrew P. [EMAIL PROTECTED] wrote:



Honestly guys, what is this thread about?


Hum, understanding something?



You're not gonna make portupgrade work any faster or
smoother if you weed out a couple of switches from the
command-line.


See above.



I don't mean to bother anyone if you're
having fun, but it just seems that portupgrade's manpage
covers it all.


Ha, I knew a manpage guy would come around sooner or later.  Don't
you think I read it already?  I have questions it does not cover.



If you're not sure - just try it. If something's
strange - see if it's a bug, and if you're sure it is - send-pr.


I can use all the switches if I want.  The entire alphabet soup.
But that won't help me understand what is happening.  I am not
satisfied with not seeing something strange.






__
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





Yeah, right. Maybe we could get together some time
and understand what's happening over a cup of tea.

Anyway. I don't know ruby at all. In fact, I don't know
any programming language very well at all.

% more `which portupgrade`
search for -a, -r and -R

opts.def_option(-a, --all,
Do with all the installed packages) {
  |$all|
  $recursive = false
  $upward_recursive = false
}

opts.def_option(-r, --recursive,
Do with all those depending on the given
packages  NEXTLINE 
as well) {
  $recursive = true unless $all
}

opts.def_option(-R, --upward-recursive,
Do with all those required by the given packages
 NEXTLINE 
as well / Fetch recursively if -F is specified) {
  $upward_recursive = true unless $all
  $fetch_recursive = true
}

Fortunately, my somewhat basic English allows me
to understand it. Now what part of that is not covered
by the manpage?


Look at it again.  Unless I'm completely off, -a and -r are mutually 
exclusive.  All sets $all and sets $recurse to false.  -r only sets 
$recurse if $all is not set.  So if -a is specified you'll never get a 
recurse.  So the original question still stands - why use -r when you've 
used -a?


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


Re: [OT] X+mga frustration

2005-10-16 Thread Joerg Pernfuss
On Sun, 16 Oct 2005 15:39:03 +0200
Per olof Ljungmark [EMAIL PROTECTED] wrote:

 If there is anyone out there who successfully configured this card to 
 use DVI only output under X please, please, how did you do it?

Port:   mga_hal-4.1
Path:   /usr/ports/x11-servers/mga_hal
Info:   Module for additional features with X.Org/XFree86 Matrox driver

You need this for DVI, DualHead and such things installed and loaded.
Works fine with my G450-DVI and Xorg.

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


Re: .wma music files

2005-10-16 Thread Bill Schoolcraft

At Sun, 16 Oct 2005 it looks like John Oxley composed:


On Mon, Oct 17, 2005 at 12:14:35AM +1000, Warren wrote:

im runnign FreeBSD 5.4-STABLE with XMMS mp3 player and out of curiosity, why
is it that windows media vid files can be played on FreeBSD, but the music
files cant?


Install /usr/ports/audio/xmms-wma




Gr, is there a list of all the ports that don't work on
AMD64 machines?  I just attempted to install the above :(

--
Bill Schoolcraft
PO Box 210076
San Francisco, CA 94121
http://billschoolcraft.com
 ~
You do best what you like most.

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


Re: Recommended partitioning

2005-10-16 Thread Bill Schoolcraft

At Sun, 16 Oct 2005 it looks like Teo De Las Heras composed:


Based on recommendations here is how I'm going to partition the two FreeBSD
servers that I'm installing in my lab.

mail, print, web, and file server
Part Size
/ 200M
/usr 15G - Ports live in usr
/tmp 256M
(swap) 2G - paging file
/var 10G - print spool, db files, other log files??
/var/mail 10G - for all mail files and easy backup
/www 5G - Web server - I'm going to have a lot of content
/home 50G - for all user files
*The rest of the space I'll leave unused in case I need to grow a partition

Firewall/Router
Part Size
/ 200M
/tmp 256M
/usr 7G
swap 512M
/var 2G



humbly_snipped

I found this to be an interesting read on all FreeBSD boxes

man hier

--
Bill Schoolcraft
PO Box 210076
San Francisco, CA 94121
http://billschoolcraft.com
 ~
You do best what you like most.

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


cdrecord vs. burncd

2005-10-16 Thread Frederico Franzosi
Hi...
I used to be a debian user and I'm recently migrating to FreeBSD...
One thing that I am still having problems is with the cd recording.
I tried to use burncd to record an audio CD but it seems to eat some
of my media space since it wasn't able to record a 62 minutes CD with
a 80 minutes media.

I've been trying to use cdrecord too, but since I can't discover how
to use de correct bus (look at the output of '#cdrecord -scanbus'
right below), I couldn't test it yet!!! Do I have to include a special
module to kernel in order to use cdrecord??

--
[EMAIL PROTECTED] cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd5.4) Copyright (C) 1995-2004
J\urg Schilling
cdrecord: No such file or directory. Open of /dev/xpt0 failed. Cannot
open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cdrecord vs. burncd

2005-10-16 Thread guru
El día Sunday, October 16, 2005 a las 03:03:56PM -0200, Frederico Franzosi 
escribió:

 Hi...
 I used to be a debian user and I'm recently migrating to FreeBSD...
 One thing that I am still having problems is with the cd recording.
 I tried to use burncd to record an audio CD but it seems to eat some
 of my media space since it wasn't able to record a 62 minutes CD with
 a 80 minutes media.
 
 I've been trying to use cdrecord too, but since I can't discover how
 to use de correct bus (look at the output of '#cdrecord -scanbus'
 right below), I couldn't test it yet!!! Do I have to include a special
 module to kernel in order to use cdrecord??

When I went from SuSE Linux to FreeBSD I got this page as a hint
(and it worked for me): http://www.xs4all.nl/~rsmith/freebsd/

matthias
-- 
Matthias Apitz / Sisis Informationssysteme GmbH
Gruenwalder Weg 28g / D-82041 Oberhaching
Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211
http://www.sisis.de/~guru/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Preferred softphone for Asterisk ...

2005-10-16 Thread Kiffin Gish
I was just wondering which (free) soft-phones were available on FreeBSD
I can use to play around with my asterisk setup.

-- 
Kiffin Gish
Gouda, The Netherlands

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


Re: [OT] X+mga frustration

2005-10-16 Thread Per olof Ljungmark

You need this for DVI, DualHead and such things installed and loaded.
Works fine with my G450-DVI and Xorg.


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


portupgrade: what must I fix in this pkgtools.conf entry?

2005-10-16 Thread James Long
I've been aware of pkgtools.conf but hadn't buckled down to suss out the syntax
prior to recently.  Thanks to Dru Lavigne's excellent article at onlamp.com, I'm
working on my first attempt at setting make variables in pkgtools.conf.

First, is there something I've specified incorrectly in my pkgtools.conf 
(below)?
More generally, I haven't found anything in the portupgrade man page that would
describe a switch that would cause portupgrade to output an indication of what
configuration information it might have parsed from pkgtools.conf, that would
help me figure out (sooner in the build process) whether portupgrade is parsing
my pkgtools.conf successfully.  Is there some way to make portupgrade be verbose
about what actions it is taking based on pkgtools.conf directives?

Here is the MAKE_ARGS section of /usr/local/etc/pkgtools.conf:

  MAKE_ARGS = {
'graphics/ImageMagick-*' = 'WITHOUT_IMAGEMAGICK_TTF=1 
WITHOUT_IMAGEMAGICK_PDF=1 WITHOUT_X11=1 WITHOUT_IMAGEMAGICK_PERL=1',
  }

According to my reading of the Makefile, eliminating TTF and PDF support ought 
to 
be sufficient to eliminate the need for ghostscript, but still, portupgrade -N 
ImageMagick wants to build ghostscript-gnu-7.07_13 as a dependency.

ns : 22:41:38 /root# ls -l /usr/local/etc/pkgtools.conf
-r--r--r--  1 root  wheel  13872 Oct 15 21:42 /usr/local/etc/pkgtools.conf

ns : 22:41:45 /root# grep -1 Magick /usr/local/etc/pkgtools.conf
  MAKE_ARGS = {
'graphics/ImageMagick-*' = 'WITHOUT_IMAGEMAGICK_TTF=1 
WITHOUT_IMAGEMAGICK_PDF=1 WITHOUT_X11=1 WITHOUT_IMAGEMAGICK_PERL=1',
  }

Everything else in pkgtools.conf is stock:

ns : 22:47:01 /root# diff /usr/local/etc/pkgtools.conf.sample 
/usr/local/etc/pkgtools.conf
310a311
 'graphics/ImageMagick-*' = 'WITHOUT_IMAGEMAGICK_TTF=1 
 WITHOUT_IMAGEMAGICK_PDF=1 WITHOUT_X11=1 WITHOUT_IMAGEMAGICK_PERL=1',

After completing a CVS update of my ports tree at 23:08 PDT 10/15/05, 
portupgrade shows all the rest of my ports are up to date.

All of this is on 5.4-STABLE circa 10/1/05.

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


Re: Help Understanding While Loop

2005-10-16 Thread Drew Tomlinson

On 10/15/2005 11:33 PM Parv wrote:


in message [EMAIL PROTECTED],
wrote Drew Tomlinson thusly...
 


Thus I set the following variables:

remote_pictures_dir=/multimedia/Pictures
local_pictures_dir=/tv/pictures
find_args=-iname '*.jpg' -or -iname '*.gif'

Then I called the 'find' command as follows:

for original in $(/usr/bin/find $remote_pictures_dir $find_args -print)

But when I run my script, I get /usr/bin/find: invalid predicate
`-iname '*.jpg' -or -iname '*.gif''. 
   



I don't get the invalid predicate; i get nothing printed at all
(bash3  sh).


 


However if I don't try and
use $find_args and type the arguments in specifically, the script
runs fine.
   



Are you really sure about the runs fine part?  Here, when the
-iname options were not surrounded by '\('  '\)', find searched
only for the last option, in this case -iname '*.gif', ignoring
all the '*.jpg' files.
 



I thought I was but then after continuing to play around with it I 
noticed the phenomena you describe above.  That's when I added the '\(' 
as you mention.  Good catch!



I tried various combinations of quoting and escaping
those quotes but can't come up with a combination that works.
   



Add eval before find so that find recognizes $find_args as
separate options not one long string, and group $find_args to make
it work  what you actually wanted ...

 for f in $( eval find $dir \( $find_args \) -print )
 do
   echo $f
 done
 



Thank you very much!!!  This works great.

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

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


Re: Nagios Client on FreeBSD 5.4

2005-10-16 Thread Mattias Björk

Hi,

Deepak Naidu wrote:

Hi,
I wanted to install nagios client on FreeBSD 5.4. 
I want to monitor my SMTP (25) and disk usage etc to

be monitored from Nagios server installed on Linux
box.

How do I do...  In linux there is Nagios-Client.rpm. 
What is the alternative on FreeBSD 


I dont want the server, I just wnat to monito my
FreeBSD 5.4 host.

Thanx for any help..

Cheers,
Deepak Naidu.







Linux your Life, Don't Window it [[]] 


   { All for the best }






___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

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


Im not sure but I did a cd /usr/ports  make search key=nagios and 
found a bunch of information.
My best bet is to check out nagios-statd in ports. The full path is 
/usr/ports/sysutils/nagios-statd.


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


Re: .wma music files

2005-10-16 Thread Mark Kane

Bill Schoolcraft wrote:

Gr, is there a list of all the ports that don't work on
AMD64 machines?  I just attempted to install the above :(



http://pointyhat.freebsd.org/errorlogs/

I checked there for the xmms-wma port although I did not find it. Post 
the errors that occurred and someone may be able to help.


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


Re: Help Understanding While Loop

2005-10-16 Thread Eric F Crist

On Oct 15, 2005, at 5:59 PM, Drew Tomlinson wrote:


On 10/14/2005 3:24 PM David Kirchner wrote:



On 10/14/05, Drew Tomlinson [EMAIL PROTECTED] wrote:



OK, I've been working on an sh script and I'm almost there.  In the
script, I created a 'while read' loop that is doing what I want.   
Now I
want to keep track of how many times the loop executes.  Thus I  
included

this line between the 'while read' and 'done' statements:

count = $(( count + 1 ))

I've tested this by adding an 'echo $count' statement in the loop  
and it
increments by one each time the loop runs.  However when I  
attempt to

call $count in an 'echo' statement after the 'done', the variable is
null.  Thus I assume that $count is only local to the loop and I  
have to

export it to make it available outside the loop?  What must I do?




Oh yeah, that's another side effect of using the while read method.
Because it's | while read it's starting a subshell, so any  
variables

are only going to exist there. You'd need to have some sort of 'echo'
within the while read, and then | wc -l at the end of the while loop,
or something along those lines.

The IFS method someone else mentioned, in regards to 'for' loops,
would probably be better all around. So you'd want:

OLDIFS=$IFS
# Note this is a single quote, return, single quote, no spaces
IFS='
'

for i in `find etc`
do
done

IFS=$OLDIFS




OK, I've tried this and it does fix the count problem.  However  
it messes up another part of the script and I'm trying understand  
why.  I tried to make this script dynamic in that all I would need  
to do is edit variables set at the top and then not have to worry  
about all occurrences in the script.  Thus I set the following  
variables:


remote_pictures_dir=/multimedia/Pictures
local_pictures_dir=/tv/pictures
find_args=-iname '*.jpg' -or -iname '*.gif'

Then I called the 'find' command as follows:

for original in $(/usr/bin/find $remote_pictures_dir $find_args - 
print)


But when I run my script, I get /usr/bin/find: invalid predicate `- 
iname '*.jpg' -or -iname '*.gif''.  However if I don't try and use  
$find_args and type the arguments in specifically, the script runs  
fine.  I tried various combinations of quoting and escaping those  
quotes but can't come up with a combination that works.


What is going on?  And is there some way to set verbosity so I can  
see how the shell is expanding the variables?


Thanks much,

Drew


IIRC, you can do that be appending a '-x' after #!/bin/sh.  Your  
first line would look like this:


#!/bin/sh -x

This will result in the script echoing all of the commands as they're  
executed.


As far as the count problem, try declaring the variable before the  
while loop.  For example:


doit = 0
count = 0
while [ $doit -lt 4 ]
do
count=$[$count+1]
doit=$[$doit+1]
done
echo $count

HTH
___
Eric F Crist  I am so smart, S.M.R.T!
Secure Computing Networks  -Homer J Simpson

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


Re: cdrecord vs. burncd

2005-10-16 Thread Andrew P.
On 10/16/05, Frederico Franzosi [EMAIL PROTECTED] wrote:
 Hi...
 I used to be a debian user and I'm recently migrating to FreeBSD...
 One thing that I am still having problems is with the cd recording.
 I tried to use burncd to record an audio CD but it seems to eat some
 of my media space since it wasn't able to record a 62 minutes CD with
 a 80 minutes media.

 I've been trying to use cdrecord too, but since I can't discover how
 to use de correct bus (look at the output of '#cdrecord -scanbus'
 right below), I couldn't test it yet!!! Do I have to include a special
 module to kernel in order to use cdrecord??

 --
 [EMAIL PROTECTED] cdrecord -scanbus
 Cdrecord-Clone 2.01 (i386-unknown-freebsd5.4) Copyright (C) 1995-2004
 J\urg Schilling
 cdrecord: No such file or directory. Open of /dev/xpt0 failed. Cannot
 open SCSI driver.
 cdrecord: For possible targets try 'cdrecord -scanbus'.
 cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



I also use cdrdao, and I like it much. It works via
ATA (acd) as well as atapicam (cd).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .wma music files

2005-10-16 Thread Andrew P.
On 10/16/05, Mark Kane [EMAIL PROTECTED] wrote:
 Bill Schoolcraft wrote:
  Gr, is there a list of all the ports that don't work on
  AMD64 machines?  I just attempted to install the above :(
 

 http://pointyhat.freebsd.org/errorlogs/

 I checked there for the xmms-wma port although I did not find it. Post
 the errors that occurred and someone may be able to help.

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



sat64% grep ARCH /usr/ports/audio/xmms-wma/Makefile
ONLY_FOR_ARCHS= i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nagios Client on FreeBSD 5.4

2005-10-16 Thread Deepak Naidu
Thanx Mattias I will give it a try and see.

 

Cheers,

Deepak Naidu


Mattias Björk [EMAIL PROTECTED] wrote:
Hi,

Deepak Naidu wrote:
 Hi,
 I wanted to install nagios client on FreeBSD 5.4. 
 I want to monitor my SMTP (25) and disk usage etc to
 be monitored from Nagios server installed on Linux
 box.
 
 How do I do... In linux there is Nagios-Client.rpm. 
 What is the alternative on FreeBSD 
 
 I dont want the server, I just wnat to monito my
 FreeBSD 5.4 host.
 
 Thanx for any help..
 
 Cheers,
 Deepak Naidu.
 
 
 
 
 
 
 
 Linux your Life, Don't Window it [[]] 
 
 { All for the best }
 
 
 
 
 
 
 ___ 
 How much free photo storage do you get? Store your holiday 
 snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Im not sure but I did a cd /usr/ports  make search key=nagios and 
found a bunch of information.
My best bet is to check out nagios-statd in ports. The full path is 
/usr/ports/sysutils/nagios-statd.

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


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.0 release date and stability

2005-10-16 Thread Dick Hoogendijk
On 16 Oct Michael Nottebrock wrote:
 On Sunday, 16. October 2005 18:34, Ronald Klop wrote:
 
  There are a couple of options:
  1. Do not remove old (5.4) libraries. All 5.4 libs wil still be found.
  2. Remove old libraries and install ports/misc/compat5x. All 5.4 lib wil
  still be found.
 1. and 2. are not an option if you plan on eventually compiling new
 ports after the upgrade - you will most certainly get mixed linkage,
 which will result in runtime errors. 
 
 Compat5x should only be used for leaf-ports (i.e, applications and
 libraries which aren't linked to anything else) - for example software
 that is distributed as dynamically linked binaries only.
 
 Option 4 is certainly the safest thing to do (and you could just upgrade from 
 binary packages instead of recompiling).

OK, you're right. Portupgrade -afPP should do the trick.

One question after reading the answers: how do I get rid of the *old*
5.4-libraries? Since they are kind of a threat to the new 6.0 system.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: localepurge for FreeBSD?

2005-10-16 Thread Parv
in message [EMAIL PROTECTED], wrote N Deepak
thusly...

 Debian GNU/Linux has a utility called `localepurge'.  This
 software asks the user about his locale, and purges remaining
 locales.

I assume the user in this context is root?


 The recovered disk space, when executed the first time, can run
 into many megabytes.

I (may) like it.

One question: in a remote chance if one wants to convert/translate
text from one locale to another, will that conversion work (via
iconv  its ilk) devoid of the locale definitions?


  - Parv

-- 

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


My experiment which FreeBSD, stuck with wireless card.

2005-10-16 Thread Animesh Sharma
Dear Folks,
I had a Mandrake + WinXP dual boot system but somehow was not satisfied with
Mandrake distro, though it was really cool, still I was not happy. So when I
saw the FreeBSD 6.0 RC1, I thought I will go for it.
Right from the installation, I started anticipating the difficulties which
were going to come. First the FDISK thing I could not comprehend much, it
was easier with Mandrake to partition the hard disk. I feel the F1 keys
doesn't give a very comprehensible help and the sysintall interface is
cumbersome. Anyways reading some excellent documents on FreeBSD available on
the net and my intuition, I could manage the installation. I was not much
comfirtable ticking all the programs using ALL package choice, I feel there
should be one check box for INSTALL EVERYTHING. Also repeated changing of
installation CDs was a cumbersome process (I had to alternate between 2 CD's
10 times) and it gave one error for Scren Saver installaton. But it was
worth it and now I have FreeBSD and WinXP with FreeBSD bootloader installed
at MBR :).
After booting, to enable my sound card, I had to go to
/boot/defaults/loader.conf and replace NO with YES at the snd_drv_ich using
VI and card worked like magic. The comment in loader.conf file were pretty
cool and thus I could figure it myself. Now my problem is that I am not able
to install my Wireless Card ( WN825G Motorola ). I tried windows driver with
ndisgen tool, but it didn't work. Neither ndiswrapper is getting installed.
I also have some problem with java installation, but hopefully I will be
able to solve it myself with the help of internet.
Kindly help me regarding the wireless card thing,
Regards,
Animesh

__The Answer Lies in Genome__

Dr. Animesh Sharma
Computational Biologist
http://fuzzylife.org/aboutme.html



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


Re: .wma music files

2005-10-16 Thread Bill Schoolcraft

At Sun, 16 Oct 2005 it looks like Mark Kane composed:


Bill Schoolcraft wrote:

Gr, is there a list of all the ports that don't work on
AMD64 machines?  I just attempted to install the above :(



http://pointyhat.freebsd.org/errorlogs/

I checked there for the xmms-wma port although I did not find it. Post the 
errors that occurred and someone may be able to help.


-Mark



Thanks Mark,

Here is all that happened:

#

[EMAIL PROTECTED] /usr/ports/audio/xmms-wma]- make install

===  xmms-wma-1.0.4_2 is only for i386, and you are running amd64.

#

--
Bill Schoolcraft
PO Box 210076
San Francisco, CA 94121
http://billschoolcraft.com
 ~
You do best what you like most.

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


Re: .wma music files

2005-10-16 Thread Mark Kane

Bill Schoolcraft wrote:

At Sun, 16 Oct 2005 it looks like Mark Kane composed:


Bill Schoolcraft wrote:


Gr, is there a list of all the ports that don't work on
AMD64 machines?  I just attempted to install the above :(



http://pointyhat.freebsd.org/errorlogs/

I checked there for the xmms-wma port although I did not find it. Post 
the errors that occurred and someone may be able to help.


-Mark



Thanks Mark,

Here is all that happened:

#

[EMAIL PROTECTED] /usr/ports/audio/xmms-wma]- make install

===  xmms-wma-1.0.4_2 is only for i386, and you are running amd64.

#



Oh okay. See what Andrew said then (that it's only for i386). I guess it 
won't work, sorry :(


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


Re: pptpclient problem

2005-10-16 Thread Gunter Wambaugh
No.  I _wasted_ so much time trying to figure this out... I have  
given up for the time being.  (I use my iBook).


On Oct 15, 2005, at 5:01 PM, Mike Vidal wrote:


Did you ever get pptp working?  I'm having the same issue I think.

Gunter Wambaugh wrote:


I am having trouble connecting to my work VPN from my freebsd box.  I
seem to be authenticating okay, but I can't ping/ssh any of the boxes
at work using hostnames or ips.  I have been able to connect from by
ibook (Running OSX Tiger), so I am confident that its not a router/
firewall or credentials issue.  Could someone please, please throw me
a bone?  My Gentoo friends are starting to laugh at me because they
got it working with no problems.  The VPN server is using MPPE and
MPPC.

My ppp.conf with some changes to protect the lame:
WORK:
set authname gwambau
set authkey SNIPPED
set timeout 0
set ifaddr 0 0
add 192.168.2.0/24 HISADDR
alias enable yes
disable ipv6cp

pptp WORK.COM WORK

ifconfig:
tun1: flags=8010POINTOPOINT,MULTICAST mtu 1500
 inet 192.168.2.230 -- 192.168.2.6 netmask 0x

leLast login: Thu Sep  8 20:45:21 on ttyp2
Welcome to Darwin!
s$ ssh isengard.six-two.net less pptp.txt
Enter passphrase for key '/Users/gunter/.ssh/id_dsa':
[ppp.conf]
lifeway:
set authname gwambau
set authkey SNIPPED
set timeout 0
set ifaddr 0 0
add 192.168.2.0/24 HISADDR
alias enable yes
disable ipv6cp

[pptp]
pptp WORK.COM WORK

[ifconfig]
tun1: flags=8010POINTOPOINT,MULTICAST mtu 1500
 inet 192.168.2.230 -- 192.168.2.6 netmask 0x

[daemon.log]
Sep 10 11:50:18 isengard pptp[929]: anon log[main:pptp.c:243]: The
synchronous pptp option is NOT activated
Sep 10 11:50:18 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c:
243]: Sent control packet type is 1 'Start-Control-Connection- 
Request'

Sep 10 11:50:18 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c:
721]: Received Start Control Connection Reply
Sep 10 11:50:18 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c:
755]: Client connection established.
Sep 10 11:50:19 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c:
243]: Sent control packet type is 7 'Outgoing-Call-Request'
Sep 10 11:50:19 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c:
841]: Received Outgoing Call Reply.
Sep 10 11:50:19 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c:
880]: Outgoing call established (call ID 0, peer's call ID 19).
Sep 10 11:50:20 isengard ppp[929]: Phase: Using interface: tun1
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: Created in closed
state
Sep 10 11:50:20 isengard ppp[929]: Warning: The alias command is
deprecated
Sep 10 11:50:20 isengard ppp[929]: Phase: PPP Started (direct mode).
Sep 10 11:50:20 isengard ppp[929]: Phase: bundle: Establish
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: closed - opening
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: Connected!
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: opening - carrier
Sep 10 11:50:21 isengard ppp[929]: Phase: deflink: carrier - lcp
Sep 10 11:50:22 isengard pptp[933]: anon log[decaps_gre:pptp_gre.c:
395]: discarding duplicate or old packet 1 (expecting 3)
Sep 10 11:50:25 isengard ppp[929]: Phase: bundle: Authenticate
Sep 10 11:50:25 isengard ppp[929]: Phase: deflink: his = CHAP 0x81,
mine = none
Sep 10 11:50:25 isengard ppp[929]: Phase: Chap Input: CHALLENGE (16
bytes from watchguard)
Sep 10 11:50:25 isengard ppp[929]: Phase: Chap Output: RESPONSE
(gwambau)
Sep 10 11:50:26 isengard ppp[929]: Phase: Chap Input: SUCCESS
(S=C8136D3178689C6C3AA34D5FCE2EA8344262A4EF)
Sep 10 11:50:26 isengard ppp[929]: Phase: deflink: lcp - open
Sep 10 11:50:26 isengard ppp[929]: Phase: bundle: Network
Sep 10 11:50:27 isengard pptp[933]: anon log[decaps_gre:pptp_gre.c:
404]: buffering packet 9 (expecting 8, lost or reordered)
Sep 10 11:50:27 isengard ppp[929]: Warning: ff02:5::/32: Change route
failed: errno: Network is unreachable
Sep 10 11:50:27 isengard ppp[929]: Warning: ff02:5::/32: Change route
failed: errno: Network is unreachable
Sep 10 11:51:19 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c:
243]: Sent control packet type is 5 'Echo-Request'
Sep 10 11:51:19 isengard pptp[932]: anon log[logecho:pptp_ctrl.c:
659]: Echo Reply received.
Sep 10 11:51:38 isengard ppp[929]: Phase: Caught signal 2, abort
connection(s)
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: open - lcp
Sep 10 11:51:38 isengard pptp[932]: anon log
[callmgr_main:pptp_callmgr.c:249]: Closing connection
Sep 10 11:51:38 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c:
243]: Sent control packet type is 12 'Call-Clear-Request'
Sep 10 11:51:38 isengard ppp[929]: Warning: ff02:5::/32: Change route
failed: errno: Network is unreachable
Sep 10 11:51:38 isengard ppp[929]: Phase: bundle: Terminate
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: Disconnected!
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: Connect time: 78
secs: 440 octets in, 479 octets out
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: 11 packets in, 13
packets out
Sep 10 

How to get listed as a publisher

2005-10-16 Thread Ryan Cloke


How can I get listed as a BSD publisher?

My information is:

TheLinuxStore.ca
Shanty Bay, ON
Canada
Email: |[EMAIL PROTECTED]|
WWW: http://www.thelinuxstore.ca/index.php?main_page=indexcPath=41_101

Ryan

--
Get Firefox! 
http://spreadfirefox.com/community/?q=affiliatesid=136833t=81Get 
Thunderbird! 
http://spreadfirefox.com/community/?q=affiliatesid=136833t=179


Ryan Cloke
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.thelinuxstore.ca
MSN: [EMAIL PROTECTED]
ICQ: 251920249
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gdm starting without keyboard

2005-10-16 Thread Frederico Franzosi
I know this is already a known issue, but it seems my problem is kinda
different. The trouble is: when I enable gdm at /etc/rc.conf it
starts at boot time with keyboard totaly locked. But, when I start it
by hand after my machine boots at text mode, the keyboard works just
perfectly.

I already tried the /etc/ttys settings (you can see it's main lines
bellow) but it didn't worked out!!!
---
[EMAIL PROTECTED] cat /etc/ttys |grep dm
#   include none, when no getty is needed, and xdm, to start the
ttyv8   /usr/X11R6/sbin/gdm -nodaemon xterm   off secure
#ttyv8  /usr/X11R6/bin/xdm -nodaemon  xterm   off secure
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .wma music files (amd64 woes...)

2005-10-16 Thread Bill Schoolcraft

At Sun, 16 Oct 2005 it looks like Mark Kane composed:


Bill Schoolcraft wrote:

At Sun, 16 Oct 2005 it looks like Mark Kane composed:


Bill Schoolcraft wrote:


Gr, is there a list of all the ports that don't work on
AMD64 machines?  I just attempted to install the above :(



http://pointyhat.freebsd.org/errorlogs/

I checked there for the xmms-wma port although I did not find it. Post the 
errors that occurred and someone may be able to help.


-Mark



Thanks Mark,

Here is all that happened:

#

[EMAIL PROTECTED] /usr/ports/audio/xmms-wma]- make install

===  xmms-wma-1.0.4_2 is only for i386, and you are running amd64.

#



Oh okay. See what Andrew said then (that it's only for i386). I guess it 
won't work, sorry :(


Do you see all/any of this getting resolved with the release of 6.0 ?

This of course is not the first port that has this limitation.
I was really stoked to get my first amd64 with 1-gig of ram, I
had no idea that these bumps would occur.  I run 5.4 on i386 and
it was that experience that led me to get the 64bit box.

I have it triple booted with FreeBSD-5.4/WinXP-Pro/SuSE-9.3
but keep it booted into BSD to keep the faith!

--
Bill Schoolcraft
PO Box 210076
San Francisco, CA 94121
http://billschoolcraft.com
 ~
You do best what you like most.

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


Re: How to get a high resolution console for FreeBSD inside a VMWare image?

2005-10-16 Thread Jared Evans
Worked like a charm!! Thanks for your expert help!! I'm glad to know that
the next release of FreeBSD will have this all built in.

Jared

On 10/15/05, Jared Evans [EMAIL PROTECTED] wrote:

 Thanks for taking the time to reply. I shall try your patch and see if I
 can get it to work.

 Jared

 On 10/14/05, Nikolas Britton [EMAIL PROTECTED] wrote:
 
  On 10/14/05, Jared Evans [EMAIL PROTECTED] wrote:
   I know that this isn't exactly a standard configuration (VMWare as
  opposed
   to native installation) for FreeBSD so most of the answers I found
  online
   weren't really applicable for me.
  
   I simply wanted a high resolution FreeBSD console PTYs running under
  VMWare.
   It was surprisingly more complex than I expected:
  
   When attempting to change screen resolution for a console in FreeBSD
  running
   under VMWare, I ran across this error message:
  
vidcontrol -g 100x37 VESA_800x600
  
   vidcontrol: cannot set videomode inappropriate ioctl for device
  
   It seemed to me that VMWare was unable to init VESA correctly in
  console but
   strangely enough Xorg is capable of changing to a higher resolution
  without
   any problems.
  
   After some googling:
  
   VESA driver in current source tree checks the NONVGA flag of VESA
   information block when loading. If this flag is set it will refuse to
   initialize. Most VESA adapters do not set this flag, but the virtual
  display
   adapter in VMWare does.
  
   in src/sys/i386/isa/vesa.c, there is a check for the flag V_NONVGA in
  line
   655. If you comment it out, flag check will be bypassed. After all, if
  Xorg
   can use higher resolution, there shouldn't be a problem using VESA on
  the
   console!
  
   Re-compiling my kernel to include the below as suggested by several
  more web
   searches:
  
   options VESA
   options SC_PIXEL_MODE
   options VGA_WIDTH90
  
   rebooting then:
  
vidcontrol -g 100x37 VESA_800x600
  
   vidcontrol: operation not supported by device
  
   Any more tips for me?
 
  You computer (VMware) doesn't have a proper VESA BIOS and that is
  why 800x600 raster text mode won't work etc. FreeBSD 6 has this all
  worked just put 'allscreens_flags=MODE_279' in rc.conf for
  1024x768... you can get a list of other modes supported by typing in
  vidcontrol -i MODE (I think, can never remember :-)). if you want this
  for FreeBSD 5.x then your going to have to manually patch your system,
  but I have a simple script that will do it for you. somewhere around
  here.. check for patch errors after you run the script.
  --
  cd /tmp
  rm current-vesa_patch.tar.gz
  fetch http://www.nbritton.org/uploads/current-vesa_patch.tar.gz
  rm -r current-vesa_patch
  tar -zxf current-vesa_patch.tar.gz
  cd /usr/src/sys/dev/syscons
  patch /tmp/current-vesa_patch/current-syscons.diff
  cd /usr/src/usr.sbin/vidcontrol
  cp /tmp/current-vesa_patch/current-vidcontrol.1 ./vidcontrol.1
  cp /tmp/current-vesa_patch/current-vidcontrol.c ./vidcontrol.c
  make  make install  make clean
  -
  You still need to put in your kernel (both FreeBSD 5 and 6):
  options VESA
  options SC_PIXEL_MODE
 
  and when you cvsup your src in FreeBSD 5 you will need to reapply the
  patch, cvsup will overwrite the files becouse the cvs revision tags
  don't match up.
 
  Anyways
 
 


 --
 http://jarednevans.typepad.com




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


Re: .wma music files (amd64 woes...)

2005-10-16 Thread Andrew P.
On 10/17/05, Bill Schoolcraft [EMAIL PROTECTED] wrote:
 At Sun, 16 Oct 2005 it looks like Mark Kane composed:

  Bill Schoolcraft wrote:
  At Sun, 16 Oct 2005 it looks like Mark Kane composed:
 
  Bill Schoolcraft wrote:
 
  Gr, is there a list of all the ports that don't work on
  AMD64 machines?  I just attempted to install the above :(
 
 
  http://pointyhat.freebsd.org/errorlogs/
 
  I checked there for the xmms-wma port although I did not find it. Post the
  errors that occurred and someone may be able to help.
 
  -Mark
 
 
  Thanks Mark,
 
  Here is all that happened:
 
  #
 
  [EMAIL PROTECTED] /usr/ports/audio/xmms-wma]- make install
 
  ===  xmms-wma-1.0.4_2 is only for i386, and you are running amd64.
 
  #
 
 
  Oh okay. See what Andrew said then (that it's only for i386). I guess it
  won't work, sorry :(

 Do you see all/any of this getting resolved with the release of 6.0 ?

 This of course is not the first port that has this limitation.
 I was really stoked to get my first amd64 with 1-gig of ram, I
 had no idea that these bumps would occur.  I run 5.4 on i386 and
 it was that experience that led me to get the 64bit box.

 I have it triple booted with FreeBSD-5.4/WinXP-Pro/SuSE-9.3
 but keep it booted into BSD to keep the faith!

 --
 Bill Schoolcraft
 PO Box 210076
 San Francisco, CA 94121
 http://billschoolcraft.com
   ~
 You do best what you like most.

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



It's not a problem with FreeBSD, really. The ports
themselves should get to work under amd64.

2006 will probably become the year of widespread
adoption of 64-bit computing. Until it ends, you'd
better use FreeBSD/i386 on your desktops. All
server software that was popular enough was
ensured to run on FreeBSD/amd64 smoothly.

The situation is not much better with Linux, and
even worse with Windows.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange problem at boot time

2005-10-16 Thread Luchezar P. Petkov
Hi list.
I've just moved to 6.0RC1, and I added the ATAPI/CAM module to the
kernel. Now, the system boots *extremely* slowly when detects my CDRW -
about a minute. The device is working almost properly. I can mount CDs,
but not CD-RWs.
# camcontrol devlist
TEAC CD-W552E 1.09   at scbus1 target 0 lun 0 (cd0,pass0)
===
First of all, general info about my system:
# uname -a
FreeBSD lilly.evo.bg 6.0-RC1 FreeBSD 6.0-RC1 #0: Fri Oct 14 22:48:19
EEST 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/LILLY  i386
===
dmesg output shows this:
---
# dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights
reserved.
FreeBSD 6.0-RC1 #0: Fri Oct 14 22:48:19 EEST 2005
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/LILLY
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.40GHz (2404.11-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNTX-ID,b14
real memory  = 268369920 (255 MB)
avail memory = 253149184 (241 MB)
ACPI APIC Table: AMIINT SiS645XX
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 1.1 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: AMIINT SiS645XX on motherboard
acpi0: Power Button (fixed)
pci_link0: ACPI PCI Link LNKA irq 11 on acpi0
pci_link1: ACPI PCI Link LNKB irq 0 on acpi0
pci_link2: ACPI PCI Link LNKC irq 10 on acpi0
pci_link3: ACPI PCI Link LNKD irq 10 on acpi0
pci_link4: ACPI PCI Link LNKE irq 11 on acpi0
pci_link5: ACPI PCI Link LNKF irq 10 on acpi0
pci_link6: ACPI PCI Link LNKG irq 3 on acpi0
pci_link7: ACPI PCI Link LNKH irq 5 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: SiS 645 host to AGP bridge mem 0xe000-0xe3ff at device
0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 2.0 on pci0
isa0: ISA bus on isab0
atapci0: SiS 962/963 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 2.5 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
pcm0: SiS 7012 port 0xdc00-0xdcff,0xd800-0xd87f irq 18 at device 2.7
on pci0pcm0: [GIANT-LOCKED]
pcm0: C-Media Electronics CMI9739 AC97 Codec
ohci0: SiS 5571 USB controller mem 0xdfffc000-0xdfffcfff irq 20 at
device 3.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: SiS 5571 USB controller on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1: SiS 5571 USB controller mem 0xdfffd000-0xdfffdfff irq 21 at
device 3.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: SiS 5571 USB controller on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ohci2: SiS 5571 USB controller mem 0xdfffe000-0xdfffefff irq 22 at
device 3.2 on pci0
ohci2: [GIANT-LOCKED]
usb2: OHCI version 1.0, legacy support
usb2: SMM does not respond, resetting
usb2: SiS 5571 USB controller on ohci2
usb2: USB revision 1.0
uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 3.3 (no driver attached)
sis0: SiS 900 10/100BaseTX port 0xd400-0xd4ff mem
0xdfffb000-0xdfffbfff irq 19 at device 4.0 on pci0
miibus0: MII bus on sis0
rlphy0: RTL8201L 10/100 media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:e0:18:d8:ef:a7
fdc0: floppy drive controller port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6
drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: ECP parallel printer port port 0x378-0x37f,0x778-0x77b irq 7 on
acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
ppi0: Parallel I/O on ppbus0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on
isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ums0: 

Re: .wma music files (amd64 woes...)

2005-10-16 Thread Bill Schoolcraft

At Mon, 17 Oct 2005 it looks like Andrew P. composed:

humbly_snipped



It's not a problem with FreeBSD, really. The ports
themselves should get to work under amd64.


Ahh, very good point.  I didn't look at it from that angle.


2006 will probably become the year of widespread
adoption of 64-bit computing. Until it ends, you'd
better use FreeBSD/i386 on your desktops. All
server software that was popular enough was
ensured to run on FreeBSD/amd64 smoothly.


Yes, the flash plugin had me sigh also...  From being used to
using Unix based OS's for a while, I've come to not expect
flash to work on anything, sad as it may seem.  I guess it's
like the unix-fonts in our browsers, you kinda get numb to the
whole thing.

Thanks for the replies.

--
Bill Schoolcraft
PO Box 210076
San Francisco, CA 94121
http://billschoolcraft.com
 ~
You do best what you like most.

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


Re: .wma music files (amd64 woes...)

2005-10-16 Thread Mark Kane

Andrew P. wrote:

On 10/17/05, Bill Schoolcraft [EMAIL PROTECTED] wrote:


At Sun, 16 Oct 2005 it looks like Mark Kane composed:



Bill Schoolcraft wrote:


At Sun, 16 Oct 2005 it looks like Mark Kane composed:



Bill Schoolcraft wrote:



Gr, is there a list of all the ports that don't work on
AMD64 machines?  I just attempted to install the above :(



http://pointyhat.freebsd.org/errorlogs/

I checked there for the xmms-wma port although I did not find it. Post the
errors that occurred and someone may be able to help.

-Mark



Thanks Mark,

Here is all that happened:

#

[EMAIL PROTECTED] /usr/ports/audio/xmms-wma]- make install

===  xmms-wma-1.0.4_2 is only for i386, and you are running amd64.

#



Oh okay. See what Andrew said then (that it's only for i386). I guess it
won't work, sorry :(


Do you see all/any of this getting resolved with the release of 6.0 ?

This of course is not the first port that has this limitation.
I was really stoked to get my first amd64 with 1-gig of ram, I
had no idea that these bumps would occur.  I run 5.4 on i386 and
it was that experience that led me to get the 64bit box.

I have it triple booted with FreeBSD-5.4/WinXP-Pro/SuSE-9.3
but keep it booted into BSD to keep the faith!

--
Bill Schoolcraft
PO Box 210076
San Francisco, CA 94121
http://billschoolcraft.com
 ~
You do best what you like most.

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





It's not a problem with FreeBSD, really. The ports
themselves should get to work under amd64.

2006 will probably become the year of widespread
adoption of 64-bit computing. Until it ends, you'd
better use FreeBSD/i386 on your desktops. All
server software that was popular enough was
ensured to run on FreeBSD/amd64 smoothly.

The situation is not much better with Linux, and
even worse with Windows.


I run the amd64 version of FreeBSD 5.4-RELEASE on my main workstation 
and there is really only one thing that I would like to run that I 
can't. As much as I dislike flash, lots of websites I visit (including 
one of my own) are in flash so I do wish I could view them.


Actually, I guess one more thing would be OpenOffice since the current 
version of AbiWord in ports has some known bad crashing issues with the 
amd64 version of FreeBSD.


-Mark

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


If I want to hook FreeBSD to a SAN ...

2005-10-16 Thread Marc G. Fournier


What do I need to know?  For instance, if memory serves, we don't support 
iSCSI SANs right now?


Pointers to any web pages that are good for this sort of thing, especially 
as concerns FreeBSD, would be greatly appreciated ...


Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
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 region code of DVD-Drive

2005-10-16 Thread Garrett Cooper

On Oct 16, 2005, at 2:28 AM, Thomas Linton wrote:


Hi,

Is there any tool available to change the region code of a DVD-Drive?

Many thanks in advance, Thomas.


I don't think that region coding really matters for Unix. But,  
just try mplayer since from what I remember it didn't require region  
coding at all in order to play DVDs in Linux/*BSD.

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


Microsoft Wireless Optical Desktop v 2.10 (mouse not being detected)

2005-10-16 Thread Alejandro Valenzuela Roca
Hello, I just purchased a Microsoft Wireless Optical Desktop this
morning and I'm regretting I did.

Here's my dmesg:

ukbd0: Microsft Microsoft Wireless Optical Desktop® 2.10, rev 2.00/0.38,
addr 2, iclass 3/1
kbd1 at ukbd0
uhid0: Microsft Microsoft Wireless Optical Desktop® 2.10, rev 2.00/0.38,
addr 2, iclass 3/1

As you can see, I connected the wireless receiver to an usb port. The
keyboard works correctly but the mouse is never discovered...

The computer I've got right now has only USB ports. Tomorrow I'll be
able to test it when connected via PS/2, and I'll write back.

Do you have any suggestions on what I might try to make the wireless
mouse work?

Thank you very much
Alejandro
-- 
Los ñoños conducen la electricidad

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


Re: .wma music files (amd64 woes...)

2005-10-16 Thread Andrew P.
On 10/17/05, Bill Schoolcraft [EMAIL PROTECTED] wrote:
 At Mon, 17 Oct 2005 it looks like Andrew P. composed:

 humbly_snipped

 
  It's not a problem with FreeBSD, really. The ports
  themselves should get to work under amd64.

 Ahh, very good point.  I didn't look at it from that angle.

  2006 will probably become the year of widespread
  adoption of 64-bit computing. Until it ends, you'd
  better use FreeBSD/i386 on your desktops. All
  server software that was popular enough was
  ensured to run on FreeBSD/amd64 smoothly.

 Yes, the flash plugin had me sigh also...  From being used to
 using Unix based OS's for a while, I've come to not expect
 flash to work on anything, sad as it may seem.  I guess it's
 like the unix-fonts in our browsers, you kinda get numb to the
 whole thing.

 Thanks for the replies.

 --
 Bill Schoolcraft
 PO Box 210076
 San Francisco, CA 94121
 http://billschoolcraft.com
   ~
 You do best what you like most.

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



Only through everyday work with FreeBSD did I
understand the whole scam with claims that
technologies like Java and Flash are cross-
platform. While a thing remains proprietary, it
won't be open and free, however hard one tries
to advertise it.

Try to convince me to develop in ActionScrip
or Java now, I'll just tell you Thanks, but no,
thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Microsoft Wireless Optical Desktop v 2.10 (mouse not being detected)

2005-10-16 Thread Mike Hernandez
On 10/16/05, Alejandro Valenzuela Roca [EMAIL PROTECTED] wrote:
 Do you have any suggestions on what I might try to make the wireless
 mouse work?

Unfortunately I have no solution but I can tell you that on my Dell
system that came with a wireless mouse and keyboard, the keyboard
works, and the mouse doesn't. I had to resort to using an old usb
mouse that I had laying around.


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


nvi for serious hacking

2005-10-16 Thread Oleg Petrov
Hello, FreeBSD people.

First thing to mention is that I'm very experienced Emacs user. I was using it
for 4-5 years or so. But sometime ago i began to feel myself so uncomfortable
with it for some reasons: first, i use many different systems and emacs isn't
default application for FreeBSD or any other *BSD\Linux distribution. Second,
remote machines aren't powerful enough to start Emacs fast. I tried many small
Emacs clones like jed, joe, uemacs and several others i just can't remember.
But for different reasons i disliked all of them. Later I noticed default 
`nvi' editor, that has some nice features: it comes with FreeBSD by default 
and according to documentation it has powerful editing mechanism.

So, my question goes to all FreeBSD hackers who uses `nvi' as their general
editor. Is it possible to do serious hacking with it? More accurate:

* What programming features it support? (Does it have something like etags?
Does it have interface to gdb? And such other things..)

* Is it possible to use it comfortable with Dvorak layout? (I noticed some
bindings that relies on keys arrangement)

* How to setup it to standard FreeBSD C code indentation? And don't use
tabs as well.

It's hard choice for me to switch old good Emacs to something new, so please
give me your opinions.

I'm not subscribed to list, so please CC me.

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


Re: .wma music files

2005-10-16 Thread Vladimir Kushnir



On Sun, 16 Oct 2005, Mark Kane wrote:


Bill Schoolcraft wrote:

At Sun, 16 Oct 2005 it looks like Mark Kane composed:


Bill Schoolcraft wrote:


Gr, is there a list of all the ports that don't work on
AMD64 machines?  I just attempted to install the above :(



http://pointyhat.freebsd.org/errorlogs/

I checked there for the xmms-wma port although I did not find it. Post the 
errors that occurred and someone may be able to help.


-Mark



Thanks Mark,

Here is all that happened:

#

[EMAIL PROTECTED] /usr/ports/audio/xmms-wma]- make install

===  xmms-wma-1.0.4_2 is only for i386, and you are running amd64.

#



Oh okay. See what Andrew said then (that it's only for i386). I guess it 
won't work, sorry :(


-Mark


Sorry for intrusion but it DOES work (with some of WMAs, at least). What 
I've done was comment out ONLY_FOR_ARCHS line and then make CC='cc -fpic 
-DPIC' was all. BTW, mplayer and ffplayer (from ffmpeg - or perhaps 
ffmpeg-devel - port) also can play WMAs.


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


Re: Remote Console

2005-10-16 Thread Andrew P.
On 10/16/05, Grant Peel [EMAIL PROTECTED] wrote:
 Hi all,

 RS-232 Serial Port hubs seem to be a little hard to come by, and the ones I
 have found are quite expensive.

 COuld we could achieve the same using USB terminals and a 16 port USB hub?

 -Grant


Just stumbled upon this:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/console-server/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


WRITE_DMA UDMA CRC error on Nimble v5

2005-10-16 Thread Wesha the Leopard
Dear colleagues,

I would really appreciate some help here. I've tried every option I
was able to think of, to no avail.

My server is built on Nimble v5
(http://www.nimblev5.com/product/specification.htm). This is a
wonderful little box built on VIA C3 Eden 733MHz, quiet and
consuming very little electricity (meaning longer UPS runtimes).
I'm running FreeBSD 5.3 on it, and everything was fine until I
tried to upgrade.

Originally, the box sports 2.5 Fujitsu MHT2030AT hard drive. FreeBSD
reports it as UDMA-100, and it works like a charm. I'm trying to
replace in with Toshiba MK6025GAS 60Gb 2.5 laptop hard drive, and try
to install FreeBSD 5.4 on it. However, no matter how hard I try,
I always run into the same problem:

ad0: WARNING - WRITE_DMA UDMA ICRC (retrying request) LBA=63
ad0: WARNING - WRITE_DMA UDMA ICRC (retrying request) LBA=63
ad0: WARNING - WRITE_DMA UDMA ICRC (retrying request) LBA=63
ad0: FAILURE - status=51READY,DSC,ERROR error=84CRC,ABORTED LBA=63

This error repeats many times.

Here's the steps that I've tried to make:

1) Googled that UltraDMA (80-pin) cable should be used to avoid these
errors. This doesn't help -- to my knowledge, there's no 80-pin ribbon
cables for 2.5 hard drives, at least nobody sells any. And after all,
the original 20Gb drive has no problems with the existing cable,
though it's UDMA100 as well.

2) This box is pretty limited in choice of external storage devices I
can use -- basicly, all I can connect to it is USB stuff. I googled
a suggestion that that error might show up on VIA chipsets when
installing from USB CD-ROM. Tried installing from USB floppy and over
the network -- same thing.

3) Upgraded BIOS to the latest one. No effect.

4) Tried different Nimble box (I've got 2). Same thing.

5) Thought it might be the Toshiba drive. Tried with 2.5 100Gb
Seagate. Same thing.

6) Tried 6.0RC1. Same thing. Tried 5.3 (the one that works OK on the
original 20Gb drive), same thing.

7) Put the 60Gb drive into a USB enclosure and installed onto it.
Worked fine, but when I get the drive out of the enclosure and into the
box, the error happens again.

Here's the table of what I tried:

---
Freebsd Installation TargetTargetResult
version medium   drive interface

5.3 USB-FDD  Fujitsu 20GB  IDE   OK

5.3 USB-CD   ---   ---   Install disk boot 
 stalls -- image
 corrupt

5.4 USB-FDD  Toshiba 60GB  IDE   ICRC error

5.4 USB-CD   Toshiba 60GB  IDE   ICRC error

5.4 USB-CD   Seagate 100GB IDE   ICRC error

6.0RC1  USB-FDD  Toshiba 60GB  IDE   ICRC error

5.4 USB-FDD  Toshiba 60GB  USB   OK

5.4 USB-CD   Toshiba 60GB  USB   OK

5.4 any  Toshiba 60GB  USB-IDE  OK, then ICRC 
 error on boot
---

Any sugggestions?
 
-- 
Best regards,
 Wesha  mailto:[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: [EMAIL PROTECTED]:/host

2005-10-16 Thread Dan Nelson
In the last episode (Oct 16), Graham North said:
 Can someone please explain what this is.
 I ran df to look at my directory/filesystem and 2 of the devices were:
 [EMAIL PROTECTED]:/host
 [EMAIL PROTECTED]:/net

You have amd enabled.

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


Re: [EMAIL PROTECTED]:/host

2005-10-16 Thread Graham North

Thank you for the enlightenment!
Cheers, G/


Dan Nelson wrote:


In the last episode (Oct 16), Graham North said:
 


Can someone please explain what this is.
I ran df to look at my directory/filesystem and 2 of the devices were:
[EMAIL PROTECTED]:/host
[EMAIL PROTECTED]:/net
   



You have amd enabled.

 



--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.2/137 - Release Date: 10/16/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Remote Console

2005-10-16 Thread stheg olloydson
Hi all,

RS-232 Serial Port hubs seem to be a little hard to come by,
and the ones I have found are quite expensive.

COuld we could achieve the same using USB terminals and a 16
port USB hub?

-Grant

- Original Message - From: Andrew P.
[EMAIL PROTECTED]
To: Grant Peel [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sunday, October 16, 2005 8:44 AM
Subject: Re: Remote Console


On 10/16/05, Grant Peel [EMAIL PROTECTED] wrote:

 Thanks Andrew,

 So If I understand your reply, a setup like this should
always give me
 access to any of the servers by SSHing to one server, then
CUing to get to
 the console of the 'broken' one, regardless of its state
(assuming the disks
 are OK, and boot stage 1 worked):

 (WAN Shown, LAN Same, using seperate nics on Servers and
Switch)


   ISP's router
 |
 My Switch


 |  ||   |
 |
 Serv1Serv2Serv3  
Serv4
 Serv5

 Serial1-Serial2
  Serial1-Serial2
  
Serial1Serial2

 Serial1--Serial2

 Can more than 1 console access type be specified in
loader.conf ?
 i.e.
 console='serialconsole'
 console='videoconsole'

 When using 'serial console, does anything have to be
specified to use serial
 2?

 What is the default local console, how is it specified?
 i.e. the one you use when you plug a keyboard and monitor
directly into
 the machine?

 Would I need to install any other software other than the
client (CU)?

 -GRant


I haven't configured comconsoles myself, I just happen
to work at a place where they are used heavily (Sun
ALOM mostly, but built-in LOMs and FreeBSD software
comsonsoles also). Please consult the Handbook and
google, I'm sure there's nothing difficult to it.

I would not support your chaining idea, though. It's
the only one that requires $0.00 budget, but COM
hubs are cheap today. If you rent rackspace, I'm
sure your colocation provider can offer you some
kind of non-expensive remote management. If
rackspace is free, consider buying some hardware
(like a COM hub).

The matter is, that you'll want 9600 bps speeds
for max compatibility. While it is usable for
occasional failure recovery, chaining it would
make it lag too much.



Hello,

If you're in the US, you can get a 30 port serial hub for
$100.00 USD on eBay.com. Just search on portmaster and look
for a model 2e. (Don't get a model 3 or 4; those are different
things entirely.) I have been using them for more than 10 years
to do exactly what you are trying to do. You can telnet into
them or, if your rack has a phone line, you can connect a modem
and dial in. Once connected, you simply attach to the
appropriate port and you have a console. (Of course, you still
have to set up your systems to have a com console, etc.)

stheg



__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nvi for serious hacking

2005-10-16 Thread Gary Kline
On Mon, Oct 17, 2005 at 02:46:56AM +0400, Oleg Petrov wrote:
 Hello, FreeBSD people.
 
 First thing to mention is that I'm very experienced Emacs user. I was using it
 for 4-5 years or so. But sometime ago i began to feel myself so uncomfortable
 with it for some reasons: first, i use many different systems and emacs isn't
 default application for FreeBSD or any other *BSD\Linux distribution. Second,
 remote machines aren't powerful enough to start Emacs fast. I tried many small
 Emacs clones like jed, joe, uemacs and several others i just can't remember.
 But for different reasons i disliked all of them. Later I noticed default 
 `nvi' editor, that has some nice features: it comes with FreeBSD by default 
 and according to documentation it has powerful editing mechanism.
 
 So, my question goes to all FreeBSD hackers who uses `nvi' as their general
 editor. Is it possible to do serious hacking with it? More accurate:
 
 * What programming features it support? (Does it have something like etags?
 Does it have interface to gdb? And such other things..)
 
 * Is it possible to use it comfortable with Dvorak layout? (I noticed some
 bindings that relies on keys arrangement)
 
 * How to setup it to standard FreeBSD C code indentation? And don't use
 tabs as well.
 
 It's hard choice for me to switch old good Emacs to something new, so please
 give me your opinions.
 
 I'm not subscribed to list, so please CC me.
 

vi was the first screen/cursor-based editor in computer 
history.  Written by Bill Joy when he was in his early 20's.
I've  been using vi almost since Bill released his first
draft; my fingers know it by default.  And even after 
almost 30years there are still things I don't know.

Nutshell, I've hacked hundreds of thousands of line using
vi; millions of words of prose.  I've used *tags, debuggers,
and other tools with it.  Have tried *emacs; just can't 
get the hang of it.  

With tools like [n]vi and ctags, plus a debugger you've got
your own IDE.

Since you've learned emacs, you'll learn vi in a flash.

gary kline




-- 
   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: Remote Console

2005-10-16 Thread Frank Knobbe
On Sun, 2005-10-16 at 16:44 +0400, Andrew P. wrote:
 I would not support your chaining idea, though.[...]
 
 The matter is, that you'll want 9600 bps speeds
 for max compatibility. While it is usable for
 occasional failure recovery, chaining it would
 make it lag too much.

Well, chaining is such a strong word. How about connecting the serial
ports in a ring? The thing is that he only jumps from one box to the
other, not through more/all of them. 

I actually prefer this solution over a portmaster, unless it supports
SSH. I would hate to telnet with a clear-text password across the
Internet. SSH'ing into a live system, and them calling upon the other
system via serial port seems like a good solution to me.

Cheers,
Frank



signature.asc
Description: This is a digitally signed message part


Re: Microsoft Wireless Optical Desktop v 2.10 (mouse not being detected)

2005-10-16 Thread Paul Schmehl
--On October 16, 2005 5:06:37 PM -0500 Alejandro Valenzuela Roca 
[EMAIL PROTECTED] wrote:



Hello, I just purchased a Microsoft Wireless Optical Desktop this
morning and I'm regretting I did.

Here's my dmesg:

ukbd0: Microsft Microsoft Wireless Optical Desktop® 2.10, rev 2.00/0.38,
addr 2, iclass 3/1
kbd1 at ukbd0
uhid0: Microsft Microsoft Wireless Optical Desktop® 2.10, rev 2.00/0.38,
addr 2, iclass 3/1

As you can see, I connected the wireless receiver to an usb port. The
keyboard works correctly but the mouse is never discovered...

The computer I've got right now has only USB ports. Tomorrow I'll be
able to test it when connected via PS/2, and I'll write back.

Do you have any suggestions on what I might try to make the wireless
mouse work?

I'm using a USB Natural Keyboard and a Wireless Optical Mouse, and it's 
working fine.


Here's the mouse section of my xorg.conf file:

Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol auto
   Option  Device /dev/sysmouse
   Option  Emulate3Buttons false
   Option  Buttons 8
   Option  XAxisMapping 6 7
   Option  ZAxisMapping 4 5
   Option  Resolution  800
   Option  Vendor Logitech
EndSection

You can use usbdevs (8) to see what devices are connected to your system.

usbdevs
addr 1: UHCI root hub, Intel
addr 2: USB Receiver, Logitech
addr 1: UHCI root hub, Intel
addr 2: product 0xa700, Standard Microsystems
 addr 3: Microsoft Natural Keyboard Elite, Microsoft
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel

The USB Receiver, Logitech, is my mouse.

You should also be able to see the mouse being detected by opening a 
terminal window, disconnecting the mouse and then reconnecting it.  It 
should show up in the terminal window.


This is the part of dmesg that shows my mouse and keyboard:

ums0: Logitech USB Receiver, rev 1.10/29.01, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.
uhub4: Standard Microsystems product 0xa700, class 9/0, rev 2.00/0.00, addr 
2

uhub4: 4 ports with 4 removable, self powered
ukbd0: Microsoft Microsoft Natural Keyboard Elite, rev 2.00/2.07, addr 3, 
iclass 3/1

kbd1 at ukbd0

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


Re: If I want to hook FreeBSD to a SAN ...

2005-10-16 Thread Francisco Reyes

Marc G. Fournier wrote:



Pointers to any web pages that are good for this sort of thing, 
especially as concerns FreeBSD, would be greatly appreciated ...



Not sure if is along the lines of what you need, but but a few years 
back I found a company that allowed multiple machines to connec to a box 
and all the machines would just see it as a SCSI device. You would 
allocate how much space each attached machine could see.


What are you looking for?
Share space amongst many machines? Likely a box that supports NFS.
Have a single device where to store all the data, but not necessarily 
share data amongst machines? What I describe above may be a good choice.


Also wouldn't a big raid connected to a FreeBSD machine do the trick?
Would safe you lots of money. Anything that has the letters SAN, NAS 
has a premiun.


Also are you looking for SAN or NAS

My understanding of those...
SAN - multiple machines attached to a device. The device just appears as 
a disk. No info sharing.


NAS - multiple machines see a device and can share information. The 
device supports different communication methods such as NFS, SMB, etc..

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


Recommended TV Tuner Capture Card

2005-10-16 Thread ross
I'm looking for a very basic TV tuner for my machine. I don't have a tv  
right now and I want something I can hook my VCR into. I'm looking to  
spend the least amount of money so old hardware gotten off e-bay is the  
idea. Any recomendations?


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .wma music files

2005-10-16 Thread Eric Schuele

John Oxley wrote:

On Mon, Oct 17, 2005 at 12:14:35AM +1000, Warren wrote:

im runnign FreeBSD 5.4-STABLE with XMMS mp3 player and out of curiosity, why 
is it that windows media vid files can be played on FreeBSD, but the music 
files cant?



Install /usr/ports/audio/xmms-wma



I recently installed this and it does not seem to work for me.  I have 
copied some files from a WinXP machine (using mount_smb)... when I try 
to listen to them... I just get about a half second of noise.  Not 
really static... and definitely not music.  Just a strange noise. 
Different noise for each song I try and the same song always ganerates 
the same noise.


Any ideas?

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


Re: localepurge for FreeBSD?

2005-10-16 Thread N Deepak
On Sun, Oct 16, 2005 at 03:25:34PM -0400, Parv wrote:
  Debian GNU/Linux has a utility called `localepurge'.  This
  software asks the user about his locale, and purges remaining
  locales.
 
 I assume the user in this context is root?
 
Yes.

  The recovered disk space, when executed the first time, can run
  into many megabytes.
 
 One question: in a remote chance if one wants to convert/translate
 text from one locale to another, will that conversion work (via
 iconv  its ilk) devoid of the locale definitions?
 
Likely not, but that's why it first shows a menu, where the user can
keep locales he is interested in.  OTOH, I just don't need most of those
locales -- chinese, korean, japanese, ...  I can use the same disk space
for something better.

Regards,
Deepak

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


(no subject)

2005-10-16 Thread Clyde Mooney

Hi,
I am having a problem with FreeBSD 5.3 seeing the harddrive on my new 
workstation.

all the previous versions of FreeBSD = 5.1 work great. I believe that the
problem exists with the Biostar Motherboard and its BIOS and have checked 
the boards

for solutions. I have seen none.

I have attempted to CVSup the as well as CD load of the system. It has died 
badly

both times.
Thank you for any help you can render.
Clyde


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


Re: .wma music files

2005-10-16 Thread Bill Schoolcraft

At Mon, 17 Oct 2005 it looks like Vladimir Kushnir composed:

Sorry for intrusion but it DOES work (with some of WMAs, at least). What I've 
done was comment out ONLY_FOR_ARCHS line and then make CC='cc -fpic -DPIC' 
was all. BTW, mplayer and ffplayer (from ffmpeg - or perhaps ffmpeg-devel - 
port) also can play WMAs.


Regards,
Vladimir



That was a very nice bit of information my friend, just saw the
whole program compile as a result of your help.

I thank you. :)

--
Bill Schoolcraft
PO Box 210076
San Francisco, CA 94121
http://billschoolcraft.com
 ~
You do best what you like most.

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


Re: FreeBSD routing

2005-10-16 Thread Richard Burakowski

Bob Hepple wrote:

I won't expect that this will work at all, even not with Linux, because 
the IP 192.168.254.245 and 192.168.2.214 are of different subnets. 
Either you use 192.168.254.0/24 or 192.168.2.0/24 in the 10baseT net, 
but not both. I don't know if Linux makes it possible to do this; I 
haven't tried it yet. At least I can reproduce your error message with a 
similar setup. Just assign the IP 192.168.2.245 to rl0 for example; then 
it should work without problems.


Regards
Björn
   



The reason I'm doing it this way is that I have machines at work on the
192.168.2.0/24 network that I access from home over openvpn. So I can't
grab 192.168.2 at home. But I always bring home one of many different
machines - they're already configured to 192.168.2.214. It's so
convenient to be able to access all of 192.168.2 over openvpn _except_
for the one machine 192.168.2.214.

It's just a bit of a fag to re-configure each machine for home use -
particularly as it could be freebsd, linux (x 4 distros), Solaris, AIX,
SCO OS5, SCO UW7, HPUX etc etc and they all configure in different ways.
 


Bob

I'm having a hard time imagining how the packets are finding their way 
back during your linux testing.  How does 2.214 know what to do with the 
reply when it recieves the echo request from 254.245?  Was openvpn up 
during you linux testing and down during your freebsd testing?  Can we 
see your linux routing tables during the various stages?


Is it possible to preconfigure the servers to your home subnet instead 
of 192.168.2.214?  or additionally?  it shouldn't cause any dramas if 
your home subnet dosen't appear at work.


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


Re: Flash drive device name difficulties.

2005-10-16 Thread Robert Marella
On Sun, 16 Oct 2005 15:54:23 +0930
Malcolm Kay [EMAIL PROTECTED] wrote:

 I am running FreeBSD 5.4 RELEASE.
 I recently aquired a 256M USB flash drive
 which the system recognises when plugged in;
 and I can mount and use it -- all working well.
 
 But now I'd like to make it available to a user
 or group of users through mtools. To do this I need
 to change the permissions on /dev/da0s1 where the 
 flash drive msdos partition appears. This I can make happen 
 automatically using /etc/usbd.conf by adding the lines:
 
 device RunDisk
 vendor  0x0ef5
 product 0x2366   
 attach sleep 1; /bin/chmod g+rw /dev/da[0-9]*
 
 giving members of the operator group access.
 But this changes permissions on all da[0-9] devices.
 I know the man pages suggest ${DEVICENAME} to obtain the 
 particular device but this doesn't work here because usbd
 sees the device as umass0 which doesn't appear in /dev/*.
 
 For the moment this is the only device I have appearing 
 in the da* group so the problem is not immediate/urgent.
 But is there some way I can extract the specific da* device
 name to use in the attach statement or is there some way I can 
 make the flash drive always pop up at a specific da name.
 
 I've also taken a look at devd.conf but the documentation here 
 seems somewhat sparse.
 
 You consideration is appreciated,
 
 Malcolm Kay 

Hello Malcolm

I don't know anything about mtools but you can check this link
regarding user mounting of 'da*' devices. Also have a look at 'man
devfs.rules' and 'man devfs.conf'

http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-November/064237.html

Good luck

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


Re: Microsoft Wireless Optical Desktop v 2.10 (mouse not beingdetected)

2005-10-16 Thread Alejandro Valenzuela Roca
Thank you for your replies.

Mike: have you tried connecting the mouse through PS/2 (if possible)?

I'll try it tomorrow (the computer I'm using right now has only USB
ports).

Paul: the difference between your setup and mine is the fact that
there's only one receiver for both the wireless keyboard and the mouse.

The keyboard does get detected, but then I only see this Human Interface
Device which basically seems to do nothing (what can an HID do, btw?).
Here's the usbdevs output:

addr 1: OHCI root hub, NEC
 addr 4: PSC 750, Hewlett-Packard
 addr 3: USB Optical Mouse, A4Tech
 addr 2: Synaptics WheelPad, Synaptics Inc.
addr 1: OHCI root hub, NEC
 addr 2: Microsoft Wireless Optical Desktop® 2.10, Microsft
addr 1: EHCI root hub, NEC

The USB Optical Mouse from A4Tech is the replacement (wired) mouse
(ums1) I'm using instead of the wireless included with the MS Optical
Desktop Junkish Edition. Currently I'm using my laptop, so there's the
Synaptics Wheelpad in ums0.

Here's a bit more of the dmesg:

ums0: A4Tech USB Optical Mouse, rev 1.10/0.01, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.
ums1: Synaptics Inc. Synaptics WheelPad, rev 1.10/0.10, addr 3, iclass
3/1
ums1: 3 buttons and Z dir.
Timecounter TSC frequency 1993540700 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 76319MB TOSHIBA MK8025GAS/KA023A [155061/16/63] at ata0-master
UDMA100
acd0: CDRW DW-224E/7.0B at ata0-slave PIO4
ums0: at uhub0 port 2 (addr 2) disconnected
ums0: detached
uhub0: device problem (IOERROR), disabling port 2
ums1: at uhub0 port 3 (addr 3) disconnected
ums1: detached
ums0: Synaptics Inc. Synaptics WheelPad, rev 1.10/0.10, addr 2, iclass
3/1
ums0: 3 buttons and Z dir.
cd0 at ata0 bus 0 target 1 lun 0
cd0: TEAC DW-224E 7.0B Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s3a
ukbd0: Microsft Microsoft Wireless Optical Desktop® 2.10, rev 2.00/0.38,
addr 2, iclass 3/1
kbd1 at ukbd0
uhid0: Microsft Microsoft Wireless Optical Desktop® 2.10, rev 2.00/0.38,
addr 2, iclass 3/1
ums1: A4Tech USB Optical Mouse, rev 1.10/0.01, addr 3, iclass 3/1
ums1: 7 buttons and Z dir.

The uhub0: device problem (IOERROR), disabling port 2 line appeared
now that I've been trying to use the MS Wireless Optical Desktop Junkish
Edition (as if there was another one). It doesn't seem to affect much,
just reconnecting the MS stuff makes the keyboard work. There's that
uhid0 device as well, does anyone know what can be done with it?


Thanks again for your replies

PS:I tried using the Wireless Optical Desktop in Ubuntu Warty, but
surprisingly nothing works at all, not even the keyboard which works
here in FreeBSD.
-- 
Los ñoños conducen la electricidad

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


How to update doc/www/source via a http proxy?

2005-10-16 Thread Michael Li
Hello all,
I connect to the Internet via a http proxy(no ftp service available). I
managed to update my port tree by using portsnap port rather than cvsup
which does not use http protocol. But now I want to update my doc/www/source
tree either. What should I do? Is there any port to do this like portsnap or
any tips there? Thanks for any advice!

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


Re: Remote Console

2005-10-16 Thread Martin Hepworth
If you've got money then Cyclades or Perle console servers are the way to
go...

---
Martin

On 10/16/05, Grant Peel [EMAIL PROTECTED] wrote:

 Hi all,

 I have asked this question before, so if it looks familiar ...

 I am hoping all the reading I have done over the past few weeks makes this
 instance of the qeustion clearer.

 Background:

 1 Dell 24 Port Switch, WAN connection to my ISP.
 5 Dell Serers, each with 2 NICs.
 1 NIC on each connected to SWITCH - VLAN 1 -WAN (Many different IP's).
 1 NIC on each connected to SWITH - VLAN 2 -LAN (192.168.0/24)

 Each Server has 2 Serial ports, unused.
 Each Server has 2 USB ports, unused.

 All servers running FreebSD
 2 Running 4.10
 1 Running 5.2.1
 1 Running 5.4
 1 Running 4.4 (Slave3 Nameserver only).

 I am ~ 120 miles from the server cage these are located in. So traveling
 to
 there is a real pain.

 I have been reading everything I can find on consoles, ttys, blackboxes,
 Lantronix serial cables etc, etc ,etc ,etc ...

 What I am looking to do, is to connect all the servers to a device, or,
 daisychain them together so that even if I reboot a broken machine, I can
 still get to a boot ? prompt, not to mention single user mode and normal
 ssh shell prompt. (of course I already have the latter through IP when the
 machine boots correctly.

 So my question is, can a machine be made to still be remotely accessable
 (any method), when file systems are not mounted, or, kernel not loaded? If
 so, using what setup?

 -Grant


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