Re: can anybody explain?

2007-11-28 Thread Gary Kline
On Wed, Nov 28, 2007 at 05:41:44PM +1100, Norberto Meijome wrote:
 On Tue, 27 Nov 2007 22:01:50 -0800
 Gary Kline [EMAIL PROTECTED] wrote:
 
  Since my line went dead last Friday I've been having troubles
  simply building a new kernel.  I cvsup'd RELENG_6_2 last time,
  rebuilt the kernel with KERNCONF=GENERIC and now with
  KERNCONF=TAO.  My new /boot/kernel/kernel is  7.4 megs and it
  *hangs* part way up.  I've tried building with the new GENERIC and
  with TAO that has only two devices added.  One is atapicam, the
  other is cpufreq (just now added).  The old kernel is around 4
  megs. My last try is RELENG_6.  No diff.
 
 Hey Gary,
 - did u clean your /usr/obj
 - do you have a good source tree? when in doubt, wipe and re-get (or try a 
 different csup mirror first...that sometimes makes the difference)
 
 B
 

Yes, Beto, I did a /bin/rm -rf of /usr/obj.  At least 3 times.
I also tried to upgrade 6.2 (twice), now I'm grabbing 6.3 
or whatever RELENG_6 will get me...   

I think it has to do with that autoload {or whatever} is the 
first think that appears after the square box of options.
I only saw the string for a n instant; it may have been overwritten.
I'm using cvsup7.   Not good?

gary




 _
 {Beto|Norberto|Numard} Meijome
 
 Windows: Where do you want to go today?
 Linux: Where do you want to go tomorrow?
 FreeBSD: Are you guys coming, or what?
 
 I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
 Reading disclaimers makes you go blind. Writing them is worse. You have been 
 Warned.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: Upper limit on make -j ?

2007-11-28 Thread Bruce Cran

Brian wrote:

Isn't 1000 an unrealistically high value?

Brian


On a system with only 2 cores and 2GB RAM - yes. I'm not sure that even 
with a huge number of cores you'd get much benefit from running such a 
massively parallel make, unless the build system is more intelligent 
than I think it is.


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


Re: Looking for IRC(chat) network with #freebsd channel (English language)

2007-11-28 Thread Byung-Hee HWANG
On Wed, 2007-11-28 at 15:42 +0800, williamkow wrote:
[...]
   *NickServ irc://irc.freenode.net/NickServ,isnick* Password 
 accepted
 - you are now recognized
 
   =-= User mode for wwwkow is now +e

then you join #FreeBSD, type below command:

/join #FreeBSD

is there anything else i can help you?

 Do you mean I must registered a nickname first, before I can see a
 particular channel ?
 But I have registerred, (see above list), and still can not find a
 channel for #FreeBSD (english-based).

#FreeBSD is the #FreeBSD (english-based).

respect,
bh

-- 
I don't care what it costs. I don't care if we have to fight all the five 
families in New York. The Tattaglia Family is going to be wiped out.
-- Santino Corleone, Chapter 4, page 95

___
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 compile and install a new driver

2007-11-28 Thread Alex Zbyslaw

Chuck Robey wrote:

Nice description, but you'd better include enough info so that they 
could make FreeBSD-stype diffs: diff has the unfortunate default of 
making an output that is compatible with ed(1).  This supplies 
extremely little information to use, in case the file you're trying to 
patch with that diff has changed, and is also damned hard for mere 
humans to understand.   There are two other options you can give to 
diff that change the format: -c gives context diffs, and -u gives 
unified diffs, and the -u is the option that is standard with FreeBSD.


It's not FreeBSD's default, it's POSIX's and has been the default 
behaviour of diff since forever (i.e. before -c or -u had even been 
invented); it is also the default behaviour of diff on every version of 
Linux I've ever used as well and probably every unix-like box you can 
get your hands on.  Backwards compatibility *is* a wonderful thing.


-u is a newbie to the diff world of options and is the strongly 
*preferred* way of providing patches, and probably not just for 
FreeBSD.  It's generally the easiest for humans to read and the best for 
general use, though -c isn't that hard either and can sometimes be 
easier to comprehend.


--Alex

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


Re: stability of FreeBSD 7 Beta 3?

2007-11-28 Thread Chris
On 26/11/2007, Kris Kennaway [EMAIL PROTECTED] wrote:


 Of course not :P  What are the PR references?

  Try this.
 
  Login to twice on ssh.
  If not root su both to root.
  using the 2nd tty do a watch -W on the first tty.
  on the first tty type 'killall watch'
  you have now crashed freebsd 7 and most probably a auto reboot timer
  is counting down.

 I can confirm this.

  Even typing reboot to reboot the server causes page faults.

 But not this.

 Kris


Hi Kris

http://www.freebsd.org/cgi/query-pr.cgi?pr=116719 is the watch report

http://www.freebsd.org/cgi/query-pr.cgi?pr=116720 for the reboot

The reboot stopped crashing when I recompiled world using -O I have
however seen it on other servers crashing on -O binaries its not
consistent like the watch problem but its on numerous servers I seen
the problem on.

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


Re: stability of FreeBSD 7 Beta 3?

2007-11-28 Thread Kris Kennaway

Chris wrote:

On 26/11/2007, Kris Kennaway [EMAIL PROTECTED] wrote:


Of course not :P  What are the PR references?


Try this.

Login to twice on ssh.
If not root su both to root.
using the 2nd tty do a watch -W on the first tty.
on the first tty type 'killall watch'
you have now crashed freebsd 7 and most probably a auto reboot timer
is counting down.

I can confirm this.


Even typing reboot to reboot the server causes page faults.

But not this.

Kris



Hi Kris

http://www.freebsd.org/cgi/query-pr.cgi?pr=116719 is the watch report

http://www.freebsd.org/cgi/query-pr.cgi?pr=116720 for the reboot

The reboot stopped crashing when I recompiled world using -O I have
however seen it on other servers crashing on -O binaries its not
consistent like the watch problem but its on numerous servers I seen
the problem on.


Unfortunately both of these are not high quality PR submissions, which 
is probably why no action has been taken yet.  At least in the first one 
you give a how to repeat that I was able to follow, but in general 
when you encounter a panic you should be providing the backtrace and/or 
other debugging information requested here:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

The second PR is basically null as written since it cannot be reproduced 
and no debugging information was submitted.  If you are interested in 
proceeding with it, please reproduce and obtain the necessary kernel 
debugging.  Otherwise we should close it.


Does the patch I sent you solve the first problem?

Kris

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


Re: stability of FreeBSD 7 Beta 3?

2007-11-28 Thread Chris
On 28/11/2007, Kris Kennaway [EMAIL PROTECTED] wrote:
 Chris wrote:
  On 26/11/2007, Kris Kennaway [EMAIL PROTECTED] wrote:
 
  Of course not :P  What are the PR references?
 
  Try this.
 
  Login to twice on ssh.
  If not root su both to root.
  using the 2nd tty do a watch -W on the first tty.
  on the first tty type 'killall watch'
  you have now crashed freebsd 7 and most probably a auto reboot timer
  is counting down.
  I can confirm this.
 
  Even typing reboot to reboot the server causes page faults.
  But not this.
 
  Kris
 
 
  Hi Kris
 
  http://www.freebsd.org/cgi/query-pr.cgi?pr=116719 is the watch report
 
  http://www.freebsd.org/cgi/query-pr.cgi?pr=116720 for the reboot
 
  The reboot stopped crashing when I recompiled world using -O I have
  however seen it on other servers crashing on -O binaries its not
  consistent like the watch problem but its on numerous servers I seen
  the problem on.

 Unfortunately both of these are not high quality PR submissions, which
 is probably why no action has been taken yet.  At least in the first one
 you give a how to repeat that I was able to follow, but in general
 when you encounter a panic you should be providing the backtrace and/or
 other debugging information requested here:

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

 The second PR is basically null as written since it cannot be reproduced
 and no debugging information was submitted.  If you are interested in
 proceeding with it, please reproduce and obtain the necessary kernel
 debugging.  Otherwise we should close it.

 Does the patch I sent you solve the first problem?

 Kris


Ok first an apology there was feedback to 116720 which I didnt know
until now.   I did another crash on the watch but had foreground fsck
set in rc.conf and did another immediate reboot afterwards and as
expected because no bg fsck running it didnt crash.

Patching it now and will also enable full debugging on the kernel.

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


Re: Upper limit on make -j ?

2007-11-28 Thread Kris Kennaway

Brian wrote:
There's a thread on the -stable list about 8 cores being an issue in a 
very specific case.  I couldn't imagine setting j to something more than 
2x or 3x at the most of your available cores.


So it's okay by you that freebsd utilities crash when you overload them? 
 Not to me ;-)


BTW, Aryeh, posting 800KB of your buildworld output to the mailing list 
is exceedingly lame and doesn't help anything.  Please study the gdb 
trace provided by Bruce: that is the kind of debugging that was required 
here, not huge amounts of irrelevant text from your console.


Kris

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


Kernel Compile Error

2007-11-28 Thread Schiz0
Hey,

I'm running FreeBSD 6.3-PRERELEASE. I recently csuped the source code
(src-all) and built world.
I then tried to make buildkernel, and it ran for a little while,
then gave the following error and stopped:

http://schiz0.securityexploits.com/make.buildkernel.out
The error is at the bottom - that is the log of the entire buildkernel process.

I recompiled my kernel cause I wanted to add linux support.
The only change I made to my kernel config, was adding the line:
optionsCOMPAT_LINUX

Compiling the kernel using the same config (Without that COMPAT_LINUX
line) worked perfectly in the past.

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


Re: Kernel Compile Error

2007-11-28 Thread Philip M. Gollucci
Schiz0 wrote:
 Hey,
 
 I'm running FreeBSD 6.3-PRERELEASE. I recently csuped the source code
 (src-all) and built world.
 I then tried to make buildkernel, and it ran for a little while,
 then gave the following error and stopped:
 
 http://schiz0.securityexploits.com/make.buildkernel.out
 The error is at the bottom - that is the log of the entire buildkernel 
 process.
I see no error -- looks like you didnt' copy enough of it.
use -DNO_CLEAN to skip all the rm -f stuff at the start when you post
the new output.

-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


2nd try : tap SIOCIFCREATE failure

2007-11-28 Thread Alain G. Fabry

When creating the tap interface, my system gives the following

FreeBSD# uname -a
FreeBSD FreeBSD 6.2-RELEASE
FreeBSD# kldstat
Id Refs AddressSize Name
 1   11 0xc040 6f7554   kernel
 21 0xc0af8000 140c0snd_hda.ko
 32 0xc0b0d000 479a8sound.ko
 41 0xc0b55000 1d278kqemu.ko
 51 0xc0b73000 8ea4 aio.ko
 61 0xc4f44000 9000 if_bridge.ko
 71 0xc5079000 16000linux.ko
 81 0xc60ce000 4000 if_tap.ko
FreeBSD# ifconfig tap0 create
ifconfig: SIOCIFCREATE: Invalid argument


Trying to get this running so my qemu clients have network access...

Thanks in advance,

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


Network Configuration with Jails.

2007-11-28 Thread Félix Langelier
Hello,

I run a FreeBSD Jailer and I want to have multiple jails in 2 seperate 
networks. The server has 2 network interfaces and each of them are connected in 
a different network. Say vlan1 and vlan2.

My problem is that all the network traffic is going through the first interface 
(vlan1). What I need is that a jail in vlan1 can't communicate with a jail in 
vlan2 (and vice-versa).

Is it possible to split the network traffic in the right interfaces and use a 
diffrent default gateway for each of them ?

Here is my /etc/rc.d configuration.

defaultrouter=192.168.1.1

static_routes=vlan1 vlan2
route_vlan1=-net 192.168.1.0/24 192.168.1.1
route_vlan2=-net 192.168.2.0/24 192.168.2.1

# vlan1 interface config.
ifconfig_bge0=inet 192.168.1.10 netmask 255.255.255.0
ifconfig_bge0_alias0=192.168.1.11 netmask 255.255.255.255

# vlan2 interface config.
ifconfig_bge1=inet 192.168.2.10 netmask 255.255.255.0
ifconfig_bge1_alias0=inet 192.168.2.11 netmask 255.255.255.255
 
I tried to remove the default gateway but then the server was unreachable.
I am thinking of using pf to resolve my issue. 

Any suggestions or ideas ?

Thanks in advance for your help.

--
Felix Langelier
Unix Sysadmin
[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: 2nd try : tap SIOCIFCREATE failure

2007-11-28 Thread Heiko Wundram (Beenic)
Am Mittwoch, 28. November 2007 15:00:35 schrieb Alain G. Fabry:
 FreeBSD# uname -a
 FreeBSD FreeBSD 6.2-RELEASE
 FreeBSD# kldstat
 Id Refs AddressSize Name
  1   11 0xc040 6f7554   kernel
  21 0xc0af8000 140c0snd_hda.ko
  32 0xc0b0d000 479a8sound.ko
  41 0xc0b55000 1d278kqemu.ko
  51 0xc0b73000 8ea4 aio.ko
  61 0xc4f44000 9000 if_bridge.ko
  71 0xc5079000 16000linux.ko
  81 0xc60ce000 4000 if_tap.ko
 FreeBSD# ifconfig tap0 create
 ifconfig: SIOCIFCREATE: Invalid argument

Try:

ifconfig tap create

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


Re: Network Configuration with Jails.

2007-11-28 Thread Philip M. Gollucci
Félix Langelier wrote:
 Hello,
 
 I run a FreeBSD Jailer and I want to have multiple jails in 2 seperate 
 networks. The server has 2 network interfaces and each of them are connected 
 in a different network. Say vlan1 and vlan2.
 
 My problem is that all the network traffic is going through the first 
 interface (vlan1). What I need is that a jail in vlan1 can't communicate with 
 a jail in vlan2 (and vice-versa).
 
 Is it possible to split the network traffic in the right interfaces and use a 
 diffrent default gateway for each of them ?
 
 Here is my /etc/rc.d configuration.
 
 defaultrouter=192.168.1.1
 
 static_routes=vlan1 vlan2
 route_vlan1=-net 192.168.1.0/24 192.168.1.1
 route_vlan2=-net 192.168.2.0/24 192.168.2.1
 
 # vlan1 interface config.
 ifconfig_bge0=inet 192.168.1.10 netmask 255.255.255.0
 ifconfig_bge0_alias0=192.168.1.11 netmask 255.255.255.255
 
 # vlan2 interface config.
 ifconfig_bge1=inet 192.168.2.10 netmask 255.255.255.0
 ifconfig_bge1_alias0=inet 192.168.2.11 netmask 255.255.255.255
 
 I tried to remove the default gateway but then the server was unreachable.
 I am thinking of using pf to resolve my issue.
Removing the default gateway will work, but you have to add back
_similiar_ routes, you can't just remove it.





-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: 2nd try : tap SIOCIFCREATE failure

2007-11-28 Thread Philip M. Gollucci
Alain G. Fabry wrote:
 When creating the tap interface, my system gives the following
 
 FreeBSD# uname -a
 FreeBSD FreeBSD 6.2-RELEASE
 FreeBSD# kldstat
 Id Refs AddressSize Name
  1   11 0xc040 6f7554   kernel
  21 0xc0af8000 140c0snd_hda.ko
  32 0xc0b0d000 479a8sound.ko
  41 0xc0b55000 1d278kqemu.ko
  51 0xc0b73000 8ea4 aio.ko
  61 0xc4f44000 9000 if_bridge.ko
  71 0xc5079000 16000linux.ko
  81 0xc60ce000 4000 if_tap.ko
 FreeBSD# ifconfig tap0 create
 ifconfig: SIOCIFCREATE: Invalid argument
I never had to manually issue the create command, you should just see it
in the ifconfig -a output.

When qemu starts, Opened by process id id should be in the ifconfig
output by the tap0 interface.

You'll need to use the /etc/qemuifup or whatever its called, I forget.
Or the command line options to set networking info like netmask, ip,
gateway for the tap.


-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Finding and installing new locale

2007-11-28 Thread Nikola Lečić
У уторак, 28. новембра 2007 у 17:24:47,
Westin Shafer [EMAIL PROTECTED] је написао(ла):

 Thanks for the info.  I had not seen that doc.  However localedef and
 makelocale are not valid commands.  I also checked out the port tree
 and these tools are not located there either.  Are these Linux
 specific commands?

The command is mklocale(1).

id_ID locale(s) are not included in FreeBSD. If you have correct LC_*
files, you should talk to FreeBSD team member responsible for l10n,
(which is, according to

  
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributors/staff-who.html

Andrey) about official inclusion. I also suggest you to use
[EMAIL PROTECTED] mailing list for that purpose.

Beside this, please don't forget that, if you just need Indonesian
translations of userland applications, you can just install appropriate
ports, for example:

  misc/kde3-i18n-idIndonesian messages and documentation for KDE3
  textproc/id-aspell   Aspell Indonesian dictionary

Finally, you might find this page useful:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/l10n.html

Best regards.
-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ls -l takes a forever to finish.

2007-11-28 Thread Mark Evans

find no aliease for ls -l

df returns the following. So looks like there is restill about 40 G on the
partition.


ilesystem   SizeUsed   Avail Capacity  Mounted on
/dev/aacd0s1a 97G 57G 33G64%/
devfs1.0K1.0K  0B   100%/dev
devfs1.0K1.0K  0B   100%/var/named/dev



Thanks
mark


- Original Message - 
From: Brian [EMAIL PROTECTED]

To: Mark Evans [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 27, 2007 4:35 PM
Subject: Re: ls -l takes a forever to finish.



Is a partition close to full, use df to see that.
Is ls -l aliased to something else that is digging into your directory 
tree, like when you're in /usr and type du?


brian

On Tue, 27 Nov 2007, Mark Evans wrote:

I'm using FreeBSD 6.1-RELEASE.  When I run ls -l it takes forever for 
the it to complete. top shows that the ls -l command uses about 98% of 
the CPU doing the time.  If I run ls  I do not experience any problem. 
anyone have any ideas?


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



--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 
5:32 AM





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


Re: ls -l takes a forever to finish.

2007-11-28 Thread Mark Evans

No we are not using NIS.

it is a large directory i am listing.  actually it is the /usr/home 
directory, and is probably the largest on the system. However ls -l runs 
for close to six minutesand spends the 10 seconds scrolling the screen with 
the results.  so i wait ls to start showing the results for about 5 and a 
half minutes.   Even on a older and much slower system i've never seen it 
talk more than 15 seconds to complete.



Thanks
Mark

- Original Message - 
From: Kris Kennaway [EMAIL PROTECTED]

To: Mark Evans [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 27, 2007 5:13 PM
Subject: Re: ls -l takes a forever to finish.



Mark Evans wrote:
I'm using FreeBSD 6.1-RELEASE.  When I run ls -l it takes forever for 
the it to complete. top shows that the ls -l command uses about 98% of 
the CPU doing the time.  If I run ls  I do not experience any problem. 
anyone have any ideas?


Are you using NIS for user/group lookups?

Is it a large directory that is taking a long time to sort?

Kris



--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 
5:32 AM





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


Re: ls -l takes a forever to finish.

2007-11-28 Thread Jeff Mohler
HOW large is the directory?

ls | wc -l



On Nov 28, 2007 7:44 AM, Mark Evans [EMAIL PROTECTED] wrote:

 No we are not using NIS.

 it is a large directory i am listing.  actually it is the /usr/home
 directory, and is probably the largest on the system. However ls -l runs
 for close to six minutesand spends the 10 seconds scrolling the screen
 with
 the results.  so i wait ls to start showing the results for about 5 and a
 half minutes.   Even on a older and much slower system i've never seen it
 talk more than 15 seconds to complete.


 Thanks
 Mark

 - Original Message -
 From: Kris Kennaway [EMAIL PROTECTED]
 To: Mark Evans [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Tuesday, November 27, 2007 5:13 PM
 Subject: Re: ls -l takes a forever to finish.


  Mark Evans wrote:
  I'm using FreeBSD 6.1-RELEASE.  When I run ls -l it takes forever for
  the it to complete. top shows that the ls -l command uses about 98%
 of
  the CPU doing the time.  If I run ls  I do not experience any
 problem.
  anyone have any ideas?
 
  Are you using NIS for user/group lookups?
 
  Is it a large directory that is taking a long time to sort?
 
  Kris
 
 
 
  --
  Internal Virus Database is out-of-date.
  Checked by AVG Free Edition.
  Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date:
 4/3/2007
  5:32 AM
 
 

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

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


Re: short Q

2007-11-28 Thread Bob Johnson
On 11/27/07, jekillen [EMAIL PROTECTED] wrote:

 Originally, I was in a hurry and was having trouble with ports. This
 approach had
 worked for three machines. But one I was having endless problems with.
 Meanwhile
 I got it together to get ports to work. But the port did not install  a
 startup script for
 MySQL, at least in /etc/rc.d,

The port should have installed a startup script in /usr/local/etc/rc.d/

That is where ports usually install their startup scripts. Adding
scripts to /etc/rc.d can create confusion when you update the OS some
time in the future.

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


Re: ls -l takes a forever to finish.

2007-11-28 Thread James Harrison
On Wed, 2007-11-28 at 09:44 -0600, Mark Evans wrote:
 No we are not using NIS.
 
 it is a large directory i am listing.  actually it is the /usr/home 
 directory, and is probably the largest on the system. However ls -l runs 
 for close to six minutesand spends the 10 seconds scrolling the screen with 
 the results.  so i wait ls to start showing the results for about 5 and a 
 half minutes.   Even on a older and much slower system i've never seen it 
 talk more than 15 seconds to complete.
 
 
 Thanks
 Mark
 


How many directories, roughly? I've seen ls take *many* minutes listing
the contents of a directory that contained tens of thousands of files.

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


Re: ls -l takes a forever to finish.

2007-11-28 Thread Mark Evans
ls | wc 

returns88368836   71583

Thanks
Mark
  - Original Message - 
  From: Jeff Mohler 
  To: Mark Evans 
  Cc: [EMAIL PROTECTED] 
  Sent: Wednesday, November 28, 2007 9:52 AM
  Subject: Re: ls -l takes a forever to finish.


  HOW large is the directory?

  ls | wc -l 




  On Nov 28, 2007 7:44 AM, Mark Evans [EMAIL PROTECTED] wrote:

No we are not using NIS.

it is a large directory i am listing.  actually it is the /usr/home
directory, and is probably the largest on the system. However ls -l runs
for close to six minutesand spends the 10 seconds scrolling the screen with 
the results.  so i wait ls to start showing the results for about 5 and a
half minutes.   Even on a older and much slower system i've never seen it
talk more than 15 seconds to complete.


Thanks
Mark


- Original Message -
From: Kris Kennaway [EMAIL PROTECTED]
To: Mark Evans  [EMAIL PROTECTED]

Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 27, 2007 5:13 PM
Subject: Re: ls -l takes a forever to finish. 



 Mark Evans wrote:
 I'm using FreeBSD 6.1-RELEASE.  When I run ls -l it takes forever for
 the it to complete. top shows that the ls -l command uses about 98% of 
 the CPU doing the time.  If I run ls  I do not experience any problem.
 anyone have any ideas?

 Are you using NIS for user/group lookups?

 Is it a large directory that is taking a long time to sort? 

 Kris




 --
 Internal Virus Database is out-of-date.
 Checked by AVG Free Edition.
 Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 
 5:32 AM



___

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





--


  Internal Virus Database is out-of-date.
  Checked by AVG Free Edition.
  Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 
5:32 AM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ls -l takes a forever to finish.

2007-11-28 Thread cpghost
On Wed, 28 Nov 2007 09:44:03 -0600
Mark Evans [EMAIL PROTECTED] wrote:

 No we are not using NIS.
 
 it is a large directory i am listing.  actually it is the /usr/home 
 directory, and is probably the largest on the system. However ls -l
 runs for close to six minutesand spends the 10 seconds scrolling the
 screen with the results.  so i wait ls to start showing the results
 for about 5 and a half minutes.   Even on a older and much slower
 system i've never seen it talk more than 15 seconds to complete.

Does it run (much) faster with the -f flag or -lf flags?

I have a similar problem with *huge* directories: sorting them is
incredibly slow... though -l makes no difference; it's the sorting
itself than makes one think it is O(N^2) instead of O(N log N).

It could be a pathological case of Quicksort (ls(1) calls fts_open(),
which itself calls fts_sort() from /usr/src/lib/libc/gen/fts.c, and
that function calls qsort(3); so it's not entirely impossible...

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


skype cannot login

2007-11-28 Thread Laszlo Nagy


 Hi All,

My network configuration is a bit odd:

Internet --- SMC Hardware Router  
(192.168.1.0/225.255.255.0) --- FreeBSD Gateway --- 
(192.168.0.0/255.255.255.0) --- Client computer



- skype is running on the client computer.
- The FreeBSD Gateway is a computer with two NIC cards, running natd, 
and named
- The client computer is 6.3-PRERELEASE i386 using linux compatibility 
mode for skype


I can access everything on the internet from the client. Here are some 
things that I tried:


- ping
- nslookup
- smtp
- imaps
- www

All the above work fine. However, when I try to login with skype, it 
tells me Logging in failed. When I try to register a new user, it 
tells me Register failed with friendly red letters.


Do you have any idea what is the problem with my configuration? It might 
be that skype cannot do NAT traversal through two NATs?


BTW, the client computer uses NFS to mount /, but I hope this is not 
related to the problem.


Thanks,

  Laszlo


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


Re: Kernel Compile Error

2007-11-28 Thread Schiz0
On Nov 28, 2007 8:47 AM, Philip M. Gollucci [EMAIL PROTECTED] wrote:
 Schiz0 wrote:
  Hey,
 
  I'm running FreeBSD 6.3-PRERELEASE. I recently csuped the source code
  (src-all) and built world.
  I then tried to make buildkernel, and it ran for a little while,
  then gave the following error and stopped:
 
  http://schiz0.securityexploits.com/make.buildkernel.out
  The error is at the bottom - that is the log of the entire buildkernel 
  process.
 I see no error -- looks like you didnt' copy enough of it.
 use -DNO_CLEAN to skip all the rm -f stuff at the start when you post
 the new output.


Hey,

That make.buildkernel.out is the entire output of that make
buildkernel process. I used script /root/make.buildkernel.out to
record it, then just copied the file to my web server. I didn't
manually copy/paste or edit anything out.

I cleared /usr/obj/ and ran make cleandir twice, as the Handbook
says to. I then recompiled world without any error.

I ran make -DNO_CLEAN buildkernel KERNCONF=my kernel config and got
the following output:
http://schiz0.securityexploits.com/make.buildkernel2.out

It doesn't look like it provides any more information than the
previous output did. It's obviously some error with the COMPAT_LINUX
option   in the kernel config.

Thanks for the help and the quick reply,
~Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Compile Error

2007-11-28 Thread Philip M. Gollucci
Schiz0 wrote:
 On Nov 28, 2007 8:47 AM, Philip M. Gollucci [EMAIL PROTECTED] wrote:
 Schiz0 wrote:
 Hey,

 I'm running FreeBSD 6.3-PRERELEASE. I recently csuped the source code
 (src-all) and built world.
 I then tried to make buildkernel, and it ran for a little while,
 then gave the following error and stopped:

 http://schiz0.securityexploits.com/make.buildkernel.out
 The error is at the bottom - that is the log of the entire buildkernel 
 process.
 I see no error -- looks like you didnt' copy enough of it.
 use -DNO_CLEAN to skip all the rm -f stuff at the start when you post
 the new output.

linux_ipc.o(.text+0x8e4):/usr/src/sys/compat/linux/linux_ipc.c:583:
undefined reference to `__semctl'^M
linux_ipc.o(.text+0x918): In function `linux_msgsnd':^M
/usr/src/sys/compat/linux/linux_ipc.c:600: undefined reference to `msgsnd'^M
linux_ipc.o(.text+0x94e): In function `linux_msgrcv':^M
/usr/src/sys/compat/linux/linux_ipc.c:619: undefined reference to `msgrcv'^M
linux_ipc.o(.text+0x970): In function `linux_msgget':^M
/usr/src/sys/compat/linux/linux_ipc.c:632: undefined reference to `msgget'^M
linux_ipc.o(.text+0x9d2): In function `linux_msgctl':^M
/usr/src/sys/compat/linux/linux_ipc.c:650: undefined reference to
`kern_msgctl'^M
linux_ipc.o(.text+0xa4d): In function `linux_shmat':^M
/usr/src/sys/compat/linux/linux_ipc.c:680: undefined reference to `shmat'^M
linux_ipc.o(.text+0xaae): In function `linux_shmdt':^M
/usr/src/sys/compat/linux/linux_ipc.c:699: undefined reference to `shmdt'^M
linux_ipc.o(.text+0xad6): In function `linux_shmget':^M
/usr/src/sys/compat/linux/linux_ipc.c:714: undefined reference to `shmget'^M
linux_ipc.o(.text+0xb18): In function `linux_shmctl':^M
/usr/src/sys/compat/linux/linux_ipc.c:733: undefined reference to
`kern_shmctl'^M
linux_ipc.o(.text+0xb68):/usr/src/sys/compat/linux/linux_ipc.c:748:
undefined reference to `kern_shmctl'^M
linux_ipc.o(.text+0xbb0):/usr/src/sys/compat/linux/linux_ipc.c:761:
undefined reference to `kern_shmctl'^M
linux_ipc.o(.text+0xc00):/usr/src/sys/compat/linux/linux_ipc.c:773:
undefined reference to `kern_shmctl'^M
linux_ipc.o(.text+0xc7c):/usr/src/sys/compat/linux/linux_ipc.c:792:
undefined reference to `kern_shmctl'^M
linux_ipc.o(.text+0xcd2):/usr/src/sys/compat/linux/linux_ipc.c:808: more
undefined references to `kern_shmctl' follow^M

Add these 3 to your kernel config file near the end. Don't use the
-DNO_CLEAN when you build this time.  That was just to cut down on the
output in the log file (or when you intentionally don't want to delete
the build from the previous attempt or success)

options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores

-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


remove X11

2007-11-28 Thread Jeff Maxwell

I have X11 installed on a server 6.1.

Is there an easy way to remove it all?

Do I have to remove each package individually?


Jeff Maxwell
POS Department Manager
Uni-Marts, LLC
VM  814-234-6000
Fax 570-829-4390



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


Re: stability of FreeBSD 7 Beta 3?

2007-11-28 Thread Chris
On 28/11/2007, Kris Kennaway [EMAIL PROTECTED] wrote:

 Unfortunately both of these are not high quality PR submissions, which
 is probably why no action has been taken yet.  At least in the first one
 you give a how to repeat that I was able to follow, but in general
 when you encounter a panic you should be providing the backtrace and/or
 other debugging information requested here:

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

 The second PR is basically null as written since it cannot be reproduced
 and no debugging information was submitted.  If you are interested in
 proceeding with it, please reproduce and obtain the necessary kernel
 debugging.  Otherwise we should close it.

 Does the patch I sent you solve the first problem?

 Kris


Ok the patch hasnt stopped the watch crashing in addition the reboot I
did after compiling the new kernel also caused a crash and there was
defenitly no fsck running in the background when I did the reboot.

Nov 28 12:21:52 revolution kernel: Fatal trap 12: page fault while in
kernel mode
Nov 28 12:21:52 revolution kernel: cpuid = 0; apic id = 00
Nov 28 12:21:52 revolution kernel: fault virtual address= 0x24
Nov 28 12:21:52 revolution kernel: fault code   = supervisor
read, page not present
Nov 28 12:21:52 revolution kernel: instruction pointer  = 0x20:0xc3f84262
Nov 28 12:21:52 revolution kernel: stack pointer=
0x28:0xde0c2b34
Nov 28 12:21:52 revolution kernel: frame pointer=
0x28:0xde0c2b88
Nov 28 12:21:52 revolution kernel: code segment = base 0x0,
limit 0xf, type 0x1b
Nov 28 12:21:52 revolution kernel: = DPL 0, pres 1, def32 1, gran 1
Nov 28 12:21:52 revolution kernel: processor eflags = interrupt
enabled, resume, IOPL = 0
Nov 28 12:21:52 revolution kernel: current process  = 901 (sh)
Nov 28 12:21:52 revolution kernel: trap number  = 12
Nov 28 12:21:52 revolution kernel: panic: page fault
Nov 28 12:21:52 revolution kernel: cpuid = 0
Nov 28 12:21:52 revolution kernel: Uptime: 49m19s
Nov 28 12:21:52 revolution kernel: Physical memory: 723 MB
Nov 28 12:21:52 revolution kernel: Dumping 122 MB: 107 91 75 59 43 27 11
Nov 28 12:21:52 revolution kernel: Dump complete
Nov 28 12:21:52 revolution kernel: Automatic reboot in 15 seconds -
press a key on the console to abort

I will post back later when I have more debug information for you.

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


RE: apple bonjour served up on FBSD

2007-11-28 Thread brad davison

the mDNSResponder port is up to date (moreso than even the apple download site) 
so i installed that with the port.

it requires swig13 port as well.. which installed from the port just fine.

after you get all that installed and working w/o errors, there is a bonjour 
python script set that will at least test the functionality and get it 
registered for services.  I am still in the 'finding out' stages for this.  I 
will post my findings that might help someone else on their journey..



 From: [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Date: Mon, 26 Nov 2007 17:49:05 +
 Subject: apple bonjour served up on FBSD
 
 
 I am going to be making my BSD server at home available to my wife's macbook 
 running Leopard.
 
 I am planning on implementing one of the mDNSResponder systems, but I am 
 having some issues deciding which one to use.
 
 I have found the mDNSResponder from apple itself.
 
 I have also found (in no particular order) 
 avahi-server
 p5-Net-Rendezvous
 
 My end goal is a server that will be able to share out iTunes and a printer 
 to a Bonjour network.
 
 Does anyone have a suggestion on a recent setup?
 
 

_
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: skype cannot login

2007-11-28 Thread Rodolfo Pellegrino
On Nov 28, 2007 2:29 PM, Laszlo Nagy [EMAIL PROTECTED] wrote:


  Hi All,

 My network configuration is a bit odd:

 Internet --- SMC Hardware Router 
 (192.168.1.0/225.255.255.0) --- FreeBSD Gateway ---
 (192.168.0.0/255.255.255.0) --- Client computer


 - skype is running on the client computer.
 - The FreeBSD Gateway is a computer with two NIC cards, running natd,
 and named
 - The client computer is 6.3-PRERELEASE i386 using linux compatibility
 mode for skype

 I can access everything on the internet from the client. Here are some
 things that I tried:

 - ping
 - nslookup
 - smtp
 - imaps
 - www

 All the above work fine. However, when I try to login with skype, it
 tells me Logging in failed. When I try to register a new user, it
 tells me Register failed with friendly red letters.

 Do you have any idea what is the problem with my configuration? It might
 be that skype cannot do NAT traversal through two NATs?

 BTW, the client computer uses NFS to mount /, but I hope this is not
 related to the problem.

 Thanks,

   Laszlo

 Lazlo,

 I've found a similar problem, but in Skype there are a configuration in
Tools that tells Skype the port to use. Try port 80 as I did and worked.

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


Re: remove X11

2007-11-28 Thread Laszlo Nagy

Jeff Maxwell wrote:

I have X11 installed on a server 6.1.

Is there an easy way to remove it all?

Do I have to remove each package individually?
Suppose you have installed the xorg server, you could remove it easily. 
But it also matters how you installed. If you did it from ports, you can 
probably


cd /usr/ports/x11/xorg
make deinstall

I recommend that you read these manual pages:

pkg_info
pkg_add
pkg_delete
pkg_deinstall   (might not be on your system)


Best,

  Laszlo

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


Free Shipping on Great Hockey Gifts

2007-11-28 Thread Sniper's Edge Hockey - Play on the Edge
Having trouble seeing this? Click here to view an online version. 
http://hosted.verticalresponse.com/170096/8725d21afd/59000552/a4a7ff2e87/


 Great Holiday Gift Ideas For Your Hockey Player !

 Order today for FREE Shipping to the US and Canada on orders over
$99.
Use Coupon Code: SHIPFREE before Dec. 10th to receive special offer.

As seen in the USA Hockey Magazine Pro Shop.

**
   Score More Goals with the Sniper's Edge shooting tarp:
**
* Develop a harder, more accurate shot.

* Protects your house from dents, marks, broken windows and other
damage caused by flying pucks.

* 5 yellow pockets serve as targets and collect pucks for easy
retrieval.

* Two sizes to fit in a 7 or 8 ft high garage door opening.

* Also easy to install inside the garage or in the basement.

* A high quality product -  for use with REAL pucks.  Also great for
lacrosse.

* Designed to withstand extreme weather conditions.


CLICK HERE to learn more or order at www.snipersedge.com
http://cts.vresp.com/c/?SnipersEdge/8725d21afd/a4a7ff2e87/3a1289d5d2

**
   Develop your passing skills and practice one-timers with the Pass
Master:   
**
* Use the Pass Master on ice or for dryland training (cement,
blacktop, etc).

* Includes everything needed for on-ic or dryland training.

* Develop soft, quick hands for passing and receiving passes.

* Great for practicing one timers.

* Can even be used for unique goalie training drills.


CLICK HERE to learn more or order at www.snipersedge.com
http://cts.vresp.com/c/?SnipersEdge/8725d21afd/a4a7ff2e87/fb739f0065

**
Check out these other awesome hockey products brought to you by
Sniper's Edge:  
**
* The Ultimate Passer - make the perfect pass and develop soft hands
to receive a pass.

* Sweet Hands - stick handle like never before.

* The Ultimate Goalie - turn that old goal into a Sniper's dream.



CLICK HERE to learn more or order any of these exciting hockey
training products.
http://cts.vresp.com/c/?SnipersEdge/8725d21afd/a4a7ff2e87/df3cfddf05

**
We look forward to making your Holiday shopping easy and fun! 

Sincerely,
--The Team at Sniper's Edge


__
If you no longer wish to receive emails about the hottest new hockey
products, please reply to this message with Unsubscribe in the
subject line or simply click on the following link: 
http://cts.vresp.com/u?8725d21afd/a4a7ff2e87/9f11daf

__
This message was sent by Sniper's Edge Hockey - Play on the Edge using
VerticalResponse

Sniper's Edge LLC
17355 91st Avenue N
Maple Grove, Minnesota  55311

Read the VerticalResponse marketing policy:
http://www.verticalresponse.com/content/pm_policy.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Free Shipping on Great Hockey Gifts

2007-11-28 Thread Sniper's Edge Hockey - Play on the Edge
Having trouble seeing this? Click here to view an online version. 
http://hosted.verticalresponse.com/170096/8725d21afd/59000552/9bf174cd8c/


 Great Holiday Gift Ideas For Your Hockey Player !

 Order today for FREE Shipping to the US and Canada on orders over
$99.
Use Coupon Code: SHIPFREE before Dec. 10th to receive special offer.

As seen in the USA Hockey Magazine Pro Shop.

**
   Score More Goals with the Sniper's Edge shooting tarp:
**
* Develop a harder, more accurate shot.

* Protects your house from dents, marks, broken windows and other
damage caused by flying pucks.

* 5 yellow pockets serve as targets and collect pucks for easy
retrieval.

* Two sizes to fit in a 7 or 8 ft high garage door opening.

* Also easy to install inside the garage or in the basement.

* A high quality product -  for use with REAL pucks.  Also great for
lacrosse.

* Designed to withstand extreme weather conditions.


CLICK HERE to learn more or order at www.snipersedge.com
http://cts.vresp.com/c/?SnipersEdge/8725d21afd/9bf174cd8c/3a1289d5d2

**
   Develop your passing skills and practice one-timers with the Pass
Master:   
**
* Use the Pass Master on ice or for dryland training (cement,
blacktop, etc).

* Includes everything needed for on-ic or dryland training.

* Develop soft, quick hands for passing and receiving passes.

* Great for practicing one timers.

* Can even be used for unique goalie training drills.


CLICK HERE to learn more or order at www.snipersedge.com
http://cts.vresp.com/c/?SnipersEdge/8725d21afd/9bf174cd8c/fb739f0065

**
Check out these other awesome hockey products brought to you by
Sniper's Edge:  
**
* The Ultimate Passer - make the perfect pass and develop soft hands
to receive a pass.

* Sweet Hands - stick handle like never before.

* The Ultimate Goalie - turn that old goal into a Sniper's dream.



CLICK HERE to learn more or order any of these exciting hockey
training products.
http://cts.vresp.com/c/?SnipersEdge/8725d21afd/9bf174cd8c/df3cfddf05

**
We look forward to making your Holiday shopping easy and fun! 

Sincerely,
--The Team at Sniper's Edge


__
If you no longer wish to receive emails about the hottest new hockey
products, please reply to this message with Unsubscribe in the
subject line or simply click on the following link: 
http://cts.vresp.com/u?8725d21afd/9bf174cd8c/9f11daf

__
This message was sent by Sniper's Edge Hockey - Play on the Edge using
VerticalResponse

Sniper's Edge LLC
17355 91st Avenue N
Maple Grove, Minnesota  55311

Read the VerticalResponse marketing policy:
http://www.verticalresponse.com/content/pm_policy.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remove X11

2007-11-28 Thread Bill Moran
In response to Laszlo Nagy [EMAIL PROTECTED]:

 Jeff Maxwell wrote:
  I have X11 installed on a server 6.1.
 
  Is there an easy way to remove it all?
 
  Do I have to remove each package individually?

I highly recommend the pkg_cutleaves port, which makes this kind of thing
many orders of magnitude easier.

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


Re: skype cannot login

2007-11-28 Thread Laszlo Nagy

Rodolfo Pellegrino wrote:

On Nov 28, 2007 2:29 PM, Laszlo Nagy [EMAIL PROTECTED] wrote:

  

 Hi All,

My network configuration is a bit odd:

Internet --- SMC Hardware Router 
(192.168.1.0/225.255.255.0) --- FreeBSD Gateway ---
(192.168.0.0/255.255.255.0) --- Client computer


- skype is running on the client computer.
- The FreeBSD Gateway is a computer with two NIC cards, running natd,
and named
- The client computer is 6.3-PRERELEASE i386 using linux compatibility
mode for skype

I can access everything on the internet from the client. Here are some
things that I tried:

- ping
- nslookup
- smtp
- imaps
- www

All the above work fine. However, when I try to login with skype, it
tells me Logging in failed. When I try to register a new user, it
tells me Register failed with friendly red letters.

Do you have any idea what is the problem with my configuration? It might
be that skype cannot do NAT traversal through two NATs?

BTW, the client computer uses NFS to mount /, but I hope this is not
related to the problem.

Thanks,

  Laszlo

Lazlo,



 I've found a similar problem, but in Skype there are a configuration in
Tools that tells Skype the port to use. Try port 80 as I did and worked.
  
All items in the tools menu are greyed out for me, except for Select 
Language. I see an item called Options... but it is not available.


Skype version is:  1.2.0.18_API

Thanks,

  Laszlo

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


looking for syscalls especifications

2007-11-28 Thread Sdävtaker
Hello.
I was wondering if there is any place where i can get the
specifications used to write the syscalls.
I was reading the syscalls.master and it only says the number and name
of the syscall, and only few are documented at man.
Any idea who could have that kind of documentation?
As example, what determines the permitions of a just created file?
(From experiments i got they 000) same with the otehr almost 5000
syscalls :-/
Thanks for any help.
Sdav
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remove X11

2007-11-28 Thread Laszlo Nagy



Do I have to remove each package individually?
  

Suppose you have installed the xorg server, you could remove it
easily. But it also matters how you installed. If you did it from
ports, you can probably

cd /usr/ports/x11/xorg
make deinstall




That just deletes the metaport (which is purely a list of dependencies),
try:

ports-mgmt/pkg_cutleaves
  

I stand corrected. :-)

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


Advanced Routing/Firewall Interface Options for FreeBSD 7

2007-11-28 Thread [EMAIL PROTECTED]

Hello,

I am trying to combine my file server and router into a single box.  
Before you tell me this is a bad idea, let me remind you this is a  
personal installation (not intensive file serving) and the machine and  
NICs are fairly beefy.


FreeBSD 7 supports ZFS. From there, NFS and Samba are easy. I've been  
using Solaris for this, but it's rather archaic in many ways, and the  
only reason I use it is for the stable ZFS support. Everything else in  
Solaris - given my needs - is a poor match.


Can anybody suggest what options there are for having a router/ 
firewall configuration interface placed atop FreeBSD 7 with ZFS? I  
want something along the lines of pfSense (GUI for traffic shaping,  
hopefully setup a simple VPN) that can also serve files and perhaps  
run some software that puts free CPU cycles to use. Maybe I might run  
Apache/MySQL for testing a few sites locally.


Any ideas? pfSense is not designed to work atop a standard FreeBSD  
distribution, nor is m0n0wall, and even if I used or modified their  
integrated distribution, I suspect it lacks ZFS support.


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


Re: remove X11

2007-11-28 Thread RW
On Wed, 28 Nov 2007 19:40:24 +0100
Laszlo Nagy [EMAIL PROTECTED] wrote:

 Jeff Maxwell wrote:
  I have X11 installed on a server 6.1.
 
  Is there an easy way to remove it all?
 
  Do I have to remove each package individually?
 Suppose you have installed the xorg server, you could remove it
 easily. But it also matters how you installed. If you did it from
 ports, you can probably
 
 cd /usr/ports/x11/xorg
 make deinstall
 

That just deletes the metaport (which is purely a list of dependencies),
try:

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


7.0 installation, and Xorg in particular

2007-11-28 Thread Freminlins
I used to find FreeBSD easy. What has happened? I have a couple of machines
I usually install new versions on, one is headless the other is a desktop
machine (which was a 100% reliable 5.4 installation). I boot the headless
machine using floppies, then install across the net. But something has
happened such that I now need five floppies, and I have to put the boot one
in at least twice. This wasn't the case previously. It now reminds me of an
OS/2 installation with its floppy shuffling.

Then for my desktop machine. sysinstall crashes if I try to install x.org.
So I do a pkg_add -r xorg. After about 70 packages I give up. I only used to
have about 65 packages in total on my old desktop, now I need more than 70
and I haven't even got x windows up yet. So I go off and have a look and
discover that x.org 7.x is modular - 
http://blogs.ittoolbox.com/unix/bsd/archives/xorg-72-on-freebsd-13661;. This
fellow is talking about 300 packages just for x.org! This is nuts. No two
ways about it. Whoever decided to do this needs their head (or heads)
examined. It used to be so simple. Now it's not. If x.org didn't work for
some reason I wouldn't want to track down which of hundreds of packages is
missing. Who would? Also, I noticed that python as well as perl was being
installed. Is not one scripting language enough for x.org? Why are two
needed?

I am really frustrated. I don't understand how installing X* this way is
supposed to be an improvement. What does it actually give me that I didn't
have before? Note my old system was reliable, as is my desktop at work (a
6.2 machine). I was so frustrated that I gave up installing 7 on my home
desktop and am now in Windows land. It just seems so pointless. It reminds
me of the nastiness of Gnome, which has bazillions of packages, and Gnome
needs nearly all of them so why make them separate?

I've done enough head banging tonight. Maybe Xfree86 is still available. I
haven't looked yet.


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


Re: Major filesystem problems after crash on 7.0-BETA3 (SOLVED)

2007-11-28 Thread Doug Poland
On Tue, November 27, 2007 15:22, Kris Kennaway wrote:
 Doug Poland wrote:
 On Mon, November 26, 2007 15:03, Doug Poland wrote:
 On Mon, November 26, 2007 14:26, Doug Poland wrote:
 Hello,

 This morning my 7.0-BETA3 i386 system (Compaq nx7400) reset
 shortly after starting X11.  I didn't think much of it and went
 to get a cup of coffee while the background fsck took care of
 the file systems.

 Unforunately, something's still broke.  At first, when I tried
 to access the /var or /tmp filesystems, I received panics
 similar to:

 mode = 0100644, inum = 31127, fs = /tmp
 panic: ffs_valloc: dup alloc
 cpuid = 0
 Uptime: 9s
 Physical memory: 3435 MB
 Dumping 101 MB:Aborting dump due to I/O error.
 status == 0x4, scsi status == 0x0

 ** DUMP FAILED (ERROR 5) ** Automatic reboot in 15 seconds -
 press a key on the console to abort


 After doing some googling, it looked like my filesystems
 weren't really clean after several manual runs of fsck.  So I
 disabled softupdates on /var and /tmp and ran fsck on those
 file systems again.  After mounting them rw, I attempted to hit
 the filesystem again, this time getting a panic:

 panic: ffs_clusteralloc: map mismatch
 cpuid = 1
 Uptime: 6m40s
 Physical memory: 3435 MB
 Dumping 149 MB:Aborting dump due to I/O error.
 status == 0x4, scsi status == 0x0

 ** DUMP FAILED (ERROR 5) ** Automatic reboot in 15 seconds -
 press a key on the console to abort

 Is there a way to identify and fix these errors?  I'm thinking
 a newfs of both /var and /tmp is in order.  I don't really care
 about /tmp, and I've backed up /var using dump(8).  My concern
 is if I restore /var on top of a newfs'd filesystem, I'll
 restore my broken files and have the same problem again.

 Just a follow-up...  Everytime I run a  manual fsck on the
 problem filesystems, it returns:

 snip
 BLK(S) MISSING IN BITMAPS SALVAGE?
 snip
 * FILE SYSTEM WAS MODIFIED *


 So it would appear that fsck is unable to repair damage, is that
 correct?

 Well, having stumped all the experts, I decided to reinstall from
 7.0-BETA3 CD-ROM.  After a few minutes of writing to the disk after
 newfs, I got more panic: ffs_clusteralloc: map mismatch errors.
 Since the device I'm writing to is a 3-day old Maxtor OneTouch III
 external HD, I've decided it must be a hardware failure and am
 returing the drive.



 Yes, for whatever reason FreeBSD is unable to reliably perform I/O to
 the drive (hence the errors dumping).

 Kris

New external harddrive solved the problem quite nicely.


-- 
Regards,
Doug

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


Re: Advanced Routing/Firewall Interface Options for FreeBSD 7

2007-11-28 Thread Ivan Voras
[EMAIL PROTECTED] wrote:

 FreeBSD 7 supports ZFS. From there, NFS and Samba are easy. I've been
 using Solaris for this, but it's rather archaic in many ways, and the
 only reason I use it is for the stable ZFS support. Everything else in
 Solaris - given my needs - is a poor match.

People have reported problems with ZFS and NFS and Samba in the past.
Test throughly before using (and report problems, if any :) ).



signature.asc
Description: OpenPGP digital signature


Re: 7.0 installation, and Xorg in particular

2007-11-28 Thread Predrag Punosevac

Freminlins wrote:

I used to find FreeBSD easy. What has happened? I have a couple of machines
I usually install new versions on, one is headless the other is a desktop
machine (which was a 100% reliable 5.4 installation). I boot the headless
machine using floppies, then install across the net. But something has
happened such that I now need five floppies, and I have to put the boot one
in at least twice. This wasn't the case previously. It now reminds me of an
OS/2 installation with its floppy shuffling.

Then for my desktop machine. sysinstall crashes if I try to install x.org.
So I do a pkg_add -r xorg. After about 70 packages I give up. I only used to
have about 65 packages in total on my old desktop, now I need more than 70
and I haven't even got x windows up yet. So I go off and have a look and
discover that x.org 7.x is modular - 
http://blogs.ittoolbox.com/unix/bsd/archives/xorg-72-on-freebsd-13661;. This
fellow is talking about 300 packages just for x.org! This is nuts. No two
ways about it. Whoever decided to do this needs their head (or heads)
examined. It used to be so simple. Now it's not. If x.org didn't work for
some reason I wouldn't want to track down which of hundreds of packages is
missing. Who would? Also, I noticed that python as well as perl was being
installed. Is not one scripting language enough for x.org? Why are two
needed?

I am really frustrated. I don't understand how installing X* this way is
supposed to be an improvement. What does it actually give me that I didn't
have before? Note my old system was reliable, as is my desktop at work (a
6.2 machine). I was so frustrated that I gave up installing 7 on my home
desktop and am now in Windows land. It just seems so pointless. It reminds
me of the nastiness of Gnome, which has bazillions of packages, and Gnome
needs nearly all of them so why make them separate?

I've done enough head banging tonight. Maybe Xfree86 is still available. I
haven't looked yet.


Frem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
NetBSD still uses Xfree86 and complete installation including X is 
200Mb. All packages of NetBSD are adjusted to use Xfree86.
You  system install crashed probably because of false assumptions on 
your part during the installation. 7.0 beta is  NOT release.
Xorg should be installed after the installation using ports or pkg_add . 
Ports three should be taken after the installation by portsnap utility.


As of number of floppies I really could not comment on it. I did FTP 
installation that went without a hitch but booted a computer

from the 5Mb CD.

I really like OpenBSD FTP installation and the fact that you need only 
one floppy but in total they have five floppies depends on
the type of machine you want to boot and for some you will need I think 
three.
I do not know if creation of such specialized boot floppies would be 
possible for FreeBSD. It seems  that  younger  generation  does not

even use floppies any more:-)

What can I say. Major part of your letter is concerning XOrg which is 
not really a part of OS.

Yes they went modular and made some significant changes.

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


UPgrade FAILS (was: Re: can anybody explain?)

2007-11-28 Thread Gary Kline
On Wed, Nov 28, 2007 at 08:20:54PM +1100, Norberto Meijome wrote:
 On Wed, 28 Nov 2007 00:29:15 -0800
 Gary Kline [EMAIL PROTECTED] wrote:
 
  I think it has to do with that autoload {or whatever} is the 
  first thing that appears after the square box of options.
  I only saw the string for a n instant; it may have been overwritten.


I finally caught the *first* part of the boot string; it was
ACPI [followed by some error on loading this.]

Long story short, I was fairly sure that ACPI  ...   string was
causing my upgrade to 6.3 to fail.  I explicitly disabled it 
with the ``hint.acpi.0.disabled=1 hint and rebooted.  No more
ACPI ...  string but the boot *still* hung after  printing 

sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0

to the console.  In /var/log/messages there was more:

sio0: type 8250 or not responding

I'm upgrading to RELENG_7 and will rebuild, but if anyboody know
what that last line means, and how to resolve, I'd be much obliged!

gary

PS:  Odds are that version 7 will hang, too, but dunno until I try.





 
 not sure what you mean by this...but i haven't been following the whole saga, 
 sorry...
 
  I'm using cvsup7.   Not good?
 
 not sure mate, i'm using #5 with no problems, but getting releng_7
 *default host=cvsup5.FreeBSD.org
 *default base=/var/db
 *default prefix=/usr
 *default release=cvs tag=RELENG_7
 *default delete use-rel-suffix
 
 cheers,
 B
 
 _
 {Beto|Norberto|Numard} Meijome
 
 The only people that never change are the stupid and the dead
   Jorge Luis Borges.
 
 I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
 Reading disclaimers makes you go blind. Writing them is worse. You have been 
 Warned.

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Firefox 2.0.0.9 issues on 7.0-BETA3

2007-11-28 Thread Doug Poland
Hello,

I have a freshly installed 7.0-BETA3 i386 system and am having issues
with firefox 2.0.0.9.

Upon launching /usr/local/bin/firefox from a command line I am
immediately returned a cursor with an error code of 1.

% /usr/local/bin/firefox
% echo $?
1

I debugged both /usr/local/bin/firefox and
/usr/local/lib/firefox/run-mozilla.sh until I found the debugger
option, which I tried:

/usr/local/lib/firefox/run-mozilla.sh -g
/usr/local/lib/firefox/firefox-bin -d gdb

# /usr/local/lib/firefox/run-mozilla.sh -g \
  /usr/local/lib/firefox/firefox-bin -d gdb

MOZILLA_FIVE_HOME=/usr/local/lib/firefox
  
LD_LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox/plugins:/usr/local/lib/browser_plugins:/usr/local/lib/browser_linux_plugins:/usr/local/lib/firefox
DISPLAY=:0.0
DYLD_LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox
 
LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox/components:/usr/local/lib/firefox
   SHLIB_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox
  LIBPATH=/usr/local/lib/firefox:/usr/local/lib/firefox
   ADDON_PATH=/usr/local/lib/firefox
  MOZ_PROGRAM=/usr/local/lib/firefox/firefox-bin
  MOZ_TOOLKIT=
moz_debug=1
 moz_debugger=
/usr/bin/gdb /usr/local/lib/firefox/firefox-bin -x /tmp/mozargs.VoVJBX
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are welcome to change it and/or distribute copies of it under
certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for
details.
This GDB was configured as i386-marcel-freebsd...(no debugging
symbols found)...
(gdb) run
Starting program: /usr/local/lib/firefox/firefox-bin -d gdb
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...[New LWP
100191]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...[New Thread
0x29a01100 (LWP 100191)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...[New LWP 100191]

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to LWP 100191]
Cannot remove breakpoints because program is no longer writable.
It might be running in another process.
Further execution is probably impossible.
0x2805c3e0 in ?? () from /libexec/ld-elf.so.1

I did some googling but nothing interesting turned up.  I find it
curious that the latest build of Thunderbird works, but linux-firefox
fails like it's native sibling.

All help is appreciated...



-- 
Regards,
Doug

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


Re: remove X11

2007-11-28 Thread Frank Shute
On Wed, Nov 28, 2007 at 12:33:47PM -0500, Jeff Maxwell wrote:

 I have X11 installed on a server 6.1.
 
 Is there an easy way to remove it all?
 
 Do I have to remove each package individually?
 

You could probably make a good start with:

# pkg_deinstall -rf xorg-\*

check 1st what it will deinstall (without actually deinstalling):

# pkg_deinstall -frn xorg-\*

Finally, you want to:

# echo WITHOUT_X11=yes  /etc/make.conf

to stop yourself accidentally installing stuff based on X in the
future.


-- 

 Frank 


 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 

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


Re: Network Configuration with Jails.

2007-11-28 Thread Josh Paetzel
On Wednesday 28 November 2007 08:12:41 am Philip M. Gollucci wrote:
 Félix Langelier wrote:
  Hello,
 
  I run a FreeBSD Jailer and I want to have multiple jails in 2 seperate
  networks. The server has 2 network interfaces and each of them are
  connected in a different network. Say vlan1 and vlan2.
 
  My problem is that all the network traffic is going through the first
  interface (vlan1). What I need is that a jail in vlan1 can't communicate
  with a jail in vlan2 (and vice-versa).
 
  Is it possible to split the network traffic in the right interfaces and
  use a diffrent default gateway for each of them ?
 
  Here is my /etc/rc.d configuration.
 
  defaultrouter=192.168.1.1
 
  static_routes=vlan1 vlan2
  route_vlan1=-net 192.168.1.0/24 192.168.1.1
  route_vlan2=-net 192.168.2.0/24 192.168.2.1
 
  # vlan1 interface config.
  ifconfig_bge0=inet 192.168.1.10 netmask 255.255.255.0
  ifconfig_bge0_alias0=192.168.1.11 netmask 255.255.255.255
 
  # vlan2 interface config.
  ifconfig_bge1=inet 192.168.2.10 netmask 255.255.255.0
  ifconfig_bge1_alias0=inet 192.168.2.11 netmask 255.255.255.255
 
  I tried to remove the default gateway but then the server was
  unreachable. I am thinking of using pf to resolve my issue.

 Removing the default gateway will work, but you have to add back
 _similiar_ routes, you can't just remove it.

PF is probably the way to go.  In particular using route-to to send traffic 
originating from 192.168.2.0/24 to 192.168.2.1

I'm not totally sure what your static routes even accomplish.  The kernel will 
establish routes for directly connected networks automatically.

So probably some rules of interest

# keep jails from talking to each other
block in on bge0 from 192.168.2.0/24 to 192.168.1.0/24
block in on bge1 from 192.168.1.0/24 to 192.168.2.0/24

# ignore the default route
pass out route-to (bge1 192.168.2.1) from 192.168.2.0/24 to ! 192.168.2.0/24 \
 keep state

# redundant because of the default route
# which actually does what we want
pass out route-to (bge0 192.168.1.1) from 192.168.1.0/24 to ! 192.168.1.0/24 \
  keep state

-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB


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


Re: Firefox 2.0.0.9 issues on 7.0-BETA3

2007-11-28 Thread Jeremy Gransden


 I did some googling but nothing interesting turned up.  I find it
 curious that the latest build of Thunderbird works, but linux-firefox
 fails like it's native sibling.

 All help is appreciated...




 --
 Regards,
 Doug

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



what are the permissions on ~/.mozilla and its contents
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Compile Error

2007-11-28 Thread Schiz0
On Nov 28, 2007 12:17 PM, Philip M. Gollucci [EMAIL PROTECTED] wrote:
 Schiz0 wrote:
  On Nov 28, 2007 8:47 AM, Philip M. Gollucci [EMAIL PROTECTED] wrote:
  Schiz0 wrote:
  Hey,
 
  I'm running FreeBSD 6.3-PRERELEASE. I recently csuped the source code
  (src-all) and built world.
  I then tried to make buildkernel, and it ran for a little while,
  then gave the following error and stopped:
 
  http://schiz0.securityexploits.com/make.buildkernel.out
  The error is at the bottom - that is the log of the entire buildkernel 
  process.
  I see no error -- looks like you didnt' copy enough of it.
  use -DNO_CLEAN to skip all the rm -f stuff at the start when you post
  the new output.
 


 Add these 3 to your kernel config file near the end. Don't use the
 -DNO_CLEAN when you build this time.  That was just to cut down on the
 output in the log file (or when you intentionally don't want to delete
 the build from the previous attempt or success)

 options SYSVSHM #SYSV-style shared memory
 options SYSVMSG #SYSV-style message queues
 options SYSVSEM #SYSV-style semaphores


Worked perfectly. Thanks. I took those lines out of the kernel config
because I wasn't sure what SYSV-style was (And figured I didn't need
it since I didn't know what it was, hehe).

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


Re: Firefox 2.0.0.9 issues on 7.0-BETA3

2007-11-28 Thread Tore Lund
Doug Poland wrote:
 Hello,
 
 I have a freshly installed 7.0-BETA3 i386 system 

So have I.

 and am having issues with firefox 2.0.0.9.

FWIW, native firefox-2.0.0.9,1 runs perfectly OK here.
-- 
Tore


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


ataidle - causing apache cvs timeouts

2007-11-28 Thread Steve Franks
I'm running ataidle on my personal server to save electricity.
However, every time it has to spin up a drive whatever I'm accessing
(apache, cvs, etc) gives an error instead of waiting for the disk.  If
I then access it again after a couple seconds once the disk is active
it works fine.  Any idea how to fix this?

Relevant parts of dmesg:

ad7: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=640790375
ad7: TIMEOUT - READ_DMA48 retrying (0 retries left) LBA=640790375
ad7: FAILURE - READ_DMA48 timed out LBA=640790375


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


Re: Firefox 2.0.0.9 issues on 7.0-BETA3

2007-11-28 Thread Doug Poland
On Wed, Nov 28, 2007 at 03:58:48PM -0500, Jeremy Gransden wrote:
 
 
  I did some googling but nothing interesting turned up.  I find it
  curious that the latest build of Thunderbird works, but linux-firefox
  fails like it's native sibling.
 
  All help is appreciated...
 
 
 
 what are the permissions on ~/.mozilla and its contents

~/.mozilla  700
~/.mozzilla/firefox 700
~/.mozilla/plugins  755


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


Re: ataidle - causing apache cvs timeouts

2007-11-28 Thread Kris Kennaway

Steve Franks wrote:

I'm running ataidle on my personal server to save electricity.
However, every time it has to spin up a drive whatever I'm accessing
(apache, cvs, etc) gives an error instead of waiting for the disk.  If
I then access it again after a couple seconds once the disk is active
it works fine.  Any idea how to fix this?

Relevant parts of dmesg:

ad7: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=640790375
ad7: TIMEOUT - READ_DMA48 retrying (0 retries left) LBA=640790375
ad7: FAILURE - READ_DMA48 timed out LBA=640790375


Hack the code to increase the timeout or number of retries.  Evidently 
your drive is taking too long to spin up when powered down.


Kris

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


Re: Advanced Routing/Firewall Interface Options for FreeBSD 7

2007-11-28 Thread Erik Osterholm
On Wed, Nov 28, 2007 at 09:08:37PM +0100, Ivan Voras wrote:
 [EMAIL PROTECTED] wrote:
 
  FreeBSD 7 supports ZFS. From there, NFS and Samba are easy. I've been
  using Solaris for this, but it's rather archaic in many ways, and the
  only reason I use it is for the stable ZFS support. Everything else in
  Solaris - given my needs - is a poor match.
 
 People have reported problems with ZFS and NFS and Samba in the past.
 Test throughly before using (and report problems, if any :) ).
 

While this is true, recent versions of Samba have addressed the issue.
I'm running a ZFS pool with Samba sharing it to my network, and it's
working flawlessly.

FreeBSD localhost 7.0-BETA1.5 FreeBSD 7.0-BETA1.5 #0: Wed Oct 24 23:17:30 UTC 
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

samba-3.0.26a_1,1   A free SMB and CIFS client and server for UNIX

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


Re: who wrote this

2007-11-28 Thread Chad Perrin
On Mon, Nov 26, 2007 at 11:26:47PM -0600, icantthinkofone wrote:
 Oh, who the heck cares.  The guy is dead and he's not going to hurt you 
 so get a life people.  If you ban Hitler then ban Stalin and Mussolini 
 and let's go back another thousand years and dig up those graves, too.  
 Move on!

That's a much better way to put it than mine.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Anonymous: Eat your crow early, while it's young and tender.  Don't wait
until it's old and tough.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: who wrote this

2007-11-28 Thread Chad Perrin
On Mon, Nov 26, 2007 at 10:14:30PM -0800, Ted Mittelstaedt wrote:
 
 For example, a famous quote of Hitler's is:
 
 I do not see why man should not be just as cruel as nature.

That raises an interesting point:

There are quotes that, taken out of context, might be seen as
offensive.  In many cases, the in context presentation that makes the
inoffensive are those that involve attributing them to the monsters who
uttered the words in the first place.  Let's take two hypothetical
examples . . .

  1. I do not see why man should not be just as cruel as nature.
 - Anonymous

  2. I do not see why man should not be just as cruel as nature.
 - Adolf Hitler

Frankly, I find the latter to be more valuable, because it says something
about the psychology of a genocidal leader of men.  The former might be
considered offensive by some, because it's a statement whose implications
in and of itself are disturbing when taken as it is presented without
context -- as a maxim to live by.  I'd rather see example 2 than example
1, personally.  If I saw the Hitler-attributed version come up in a
fortune, it would be thought-provoking.  If I saw the unattributed
version (and didn't know Hitler said it), I would think What the hell is
this doing here?


 
 Fundamentally, you have to be educated to understand it.  FreeBSD
 is first and formost, for the educated computer user.

That makes me feel all warm and fuzzy inside.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Ben Franklin: As we enjoy great Advantages from the Inventions of others
we should be glad of an Opportunity to serve others by any Invention of
ours, and this we should do freely and generously.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [freebsd-questions] Re: who wrote this

2007-11-28 Thread Tuc at T-B-O-H.NET
Randomly found this :

http://xkcd.com/261/

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


...WELL, latest adventures of The Gary in the Dell

2007-11-28 Thread Gary Kline

Guys,

And this is to all the wizards on-list:  Why does Gnome take
minutes to load?   Yes, I finally got 6.3-PRERELEASE to boot
after learning that Dell has problems with its serial ports
(and Unix).  I did see a few postings about the increased
delay time to bring up the windowing system, but didn't know it 
would apply to 6.3 

In an earlier diagnostic attempt I commented out much of my 
sysctl.conf and related lines in /etc/rc.conf and /devfs.rules.
So is there any way of reinitializing these hint and setting short
of rebooting???  Tweaking the BIOS has me rolling again.

gary

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: ...WELL, latest adventures of The Gary in the Dell

2007-11-28 Thread Steve Bertrand
   And this is to all the wizards on-list:  Why does Gnome take
   minutes to load?   Yes, I finally got 6.3-PRERELEASE to boot
   after learning that Dell has problems with its serial ports
   (and Unix).  I did see a few postings about the increased
   delay time to bring up the windowing system, but didn't know it 
   would apply to 6.3 

Since I don't run any windowing system on any of my FBSD boxen, I may be
way off here, but could this load time be due to DNS timeouts of some sort?

Many things hang if they can not resolve names, perhaps this could be
part of the issue?

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


Re: Firefox 2.0.0.9 issues on 7.0-BETA3

2007-11-28 Thread Doug Poland
On Wed, Nov 28, 2007 at 02:29:38PM -0600, Doug Poland wrote:
 Hello,
 
 I have a freshly installed 7.0-BETA3 i386 system and am having issues
 with firefox 2.0.0.9.
 
 Upon launching /usr/local/bin/firefox from a command line I am
 immediately returned a cursor with an error code of 1.
 
 % /usr/local/bin/firefox
 % echo $?
 1
 
 I debugged both /usr/local/bin/firefox and
 /usr/local/lib/firefox/run-mozilla.sh until I found the debugger
 option, which I tried:
 
 /usr/local/lib/firefox/run-mozilla.sh -g
 /usr/local/lib/firefox/firefox-bin -d gdb
 
 # /usr/local/lib/firefox/run-mozilla.sh -g \
   /usr/local/lib/firefox/firefox-bin -d gdb
 
 MOZILLA_FIVE_HOME=/usr/local/lib/firefox
   
 LD_LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox/plugins:/usr/local/lib/browser_plugins:/usr/local/lib/browser_linux_plugins:/usr/local/lib/firefox
 DISPLAY=:0.0
 DYLD_LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox
  
 LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox/components:/usr/local/lib/firefox
SHLIB_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox
   LIBPATH=/usr/local/lib/firefox:/usr/local/lib/firefox
ADDON_PATH=/usr/local/lib/firefox
   MOZ_PROGRAM=/usr/local/lib/firefox/firefox-bin
   MOZ_TOOLKIT=
 moz_debug=1
  moz_debugger=
 /usr/bin/gdb /usr/local/lib/firefox/firefox-bin -x /tmp/mozargs.VoVJBX
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and
 you are welcome to change it and/or distribute copies of it under
 certain conditions.
 Type show copying to see the conditions.
 There is absolutely no warranty for GDB.  Type show warranty for
 details.
 This GDB was configured as i386-marcel-freebsd...(no debugging
 symbols found)...
 (gdb) run
 Starting program: /usr/local/lib/firefox/firefox-bin -d gdb
 (no debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...[New LWP
 100191]
 (no debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...[New Thread
 0x29a01100 (LWP 100191)]
 (no debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...[New LWP 100191]
 
 Program received signal SIGTRAP, Trace/breakpoint trap.
 [Switching to LWP 100191]
 Cannot remove breakpoints because program is no longer writable.
 It might be running in another process.
 Further execution is probably impossible.
 0x2805c3e0 in ?? () from /libexec/ld-elf.so.1
 
 I did some googling but nothing interesting turned up.  I find it
 curious that the latest build of Thunderbird works, but linux-firefox
 fails like it's native sibling.
 
 All help is appreciated...
 
Thought I'd try installing firefox 2.0.0.10,1 on the whim that it may
fix my problem.  No joy.

BTW, how do I get debugging symbols for firefox so that I may further
debug this?


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


Re: K3b

2007-11-28 Thread Predrag Punosevac

ajtiM wrote:

On Sunday 25 November 2007 21:58:03 you wrote:
  

ajtiM wrote:


Hi!

I am new with FreeBSD. I installed one day ago 7.0 beta3 and I try to
learn and setup the system.
When I start K3b (KDE) I got a message:

No CD/DVD writer found.
K3b did not find an optical writing device in your system. Thus, you will
not be able to burn CDs or DVDs. However, you can still use other K3b
features like audio track extraction or audio transcoding or ISO9660
image creation.

I tired as user and as root but resul is the same.

BTW: under Linux I didn't have a problem

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

You have not done your homework.

Probably the following would be enough

[pedja@ /usr/home/Pedja]$ more /boot/loader.conf
atapicam_load=YES
hw.ata.ata_dma=1
hw.ata.atapi_dma=1


You also need to add the following into your /etc/devfs.conf file

# Allow members of the group operator to mount CD-ROMs.

perm  /dev/acd0   0666
perm  /dev/cd00666

# Commonly used by many ports
link  cd0 cdrom
link  cd0  dvd
link  cd0  rdvd

link  acd0 cdrom
link  acd0 dvd
link  acd0 rdvd


# Misc other devices

permcdrom   0666
permdvd 0666
permrdvd0666
permxpt00666
permpass0   0666

I am not sure if you need HAL as mine is ON  on this computer  on
which  K3b  works  flawlessly. You will have to read handbook and
the following is useful  http://www.freebsd.org/gnome/.


BTW: I really gets annoyed when people say by the way it works in Linux,
Windows, Solaris or whatever.
What is that suppose to mean?


That is nothing wrong with hardware :)
  
I realized that. I hope you saw my apology. I do know however why you 
can not use it as a user. You have to mount the disk on the file system 
that belongs to you not the root.


So edit your /etc/fstab file as this

#These are my options
/dev/cd0 /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0
/dev/acd0/usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0


and you should be good too go. That was exactly what I meant by saying 
that I do not know if you need HAL.

You do not need HAL but you need to edit your /etc/fstab.

Cheers,
Predrag




Thank you...I did but as user I couldn't use K3b but as root works.
  


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


Secure remote shell

2007-11-28 Thread Olivier Nicole
Hi,

Part of (un)registerings users on my system consists in connecting to
various servers to add the user account to some services:

Registering users is done wia a web page, and the web server will
remote execute a script on the mail server to add the users in the
aliases and run newaliases, remote execute a script to the radius
server to add the user in the radius tables and restart radius, etc.

Of course all the remote execution should be done as root :(

So far, one specific user from the web server can rsh -l root to the
various other servers to do what needs to be done. But this is not
quite satisfactory.

What other solution would you suggest to execute a shell remotely as
root, that could be automated in a script (no password required).

Best regards,

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


Re: Secure remote shell

2007-11-28 Thread Kevin Downey
On Nov 28, 2007 8:28 PM, Olivier Nicole [EMAIL PROTECTED] wrote:
 Hi,

 Part of (un)registerings users on my system consists in connecting to
 various servers to add the user account to some services:

 Registering users is done wia a web page, and the web server will
 remote execute a script on the mail server to add the users in the
 aliases and run newaliases, remote execute a script to the radius
 server to add the user in the radius tables and restart radius, etc.

 Of course all the remote execution should be done as root :(

 So far, one specific user from the web server can rsh -l root to the
 various other servers to do what needs to be done. But this is not
 quite satisfactory.

 What other solution would you suggest to execute a shell remotely as
 root, that could be automated in a script (no password required).

 Best regards,

 Olivier

ssh using key authentication and sudo configured to allow a certain
user to run the needed commands and only the needed commands as root.
http://www.gratisoft.us/sudo/
http://sial.org/howto/openssh/publickey-auth/


-- 
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
Fisheye
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Secure remote shell

2007-11-28 Thread Girish Venkatachalam
On 11:28:24 Nov 29, Olivier Nicole wrote:
 Hi,
 
 Part of (un)registerings users on my system consists in connecting to
 various servers to add the user account to some services:
 
 Registering users is done wia a web page, and the web server will
 remote execute a script on the mail server to add the users in the
 aliases and run newaliases, remote execute a script to the radius
 server to add the user in the radius tables and restart radius, etc.
 
 Of course all the remote execution should be done as root :(
 

No. Use sudo(8)

And tighten it up. Giving remote users root access should never ever be
done.

Typically each user should run a suid script or something.

 So far, one specific user from the web server can rsh -l root to the

rsh? Are you living in a cave? :)

ssh(8) was released several years ago.

rsh is horribly insecure and broken whereas ssh(8) has an excellent
security track record.

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


Re: Secure remote shell

2007-11-28 Thread Steve Bertrand
 What other solution would you suggest to execute a shell remotely as
 root, that could be automated in a script (no password required).

- have information input into browser
- have web server save information to server disk in non-executable format
- have script (or admin) authenticate/authorize commands to be performed
(recommend doing this manually for a while to ensure you capture as many
escape type bugs as possible)
- have commands via another script scrubbed/cleaned/tested
- have cron perform commands at every X minutes

Dirty, but it works. Just ensure that your input variables are very
clean during the request, and their storage.

All this said, I have an environment that may *semi* relate to what you
are doing.

It appears you are running your mail with sendmail on one box, RADIUS on
another, and perhaps your web interface on yet another. Is this correct?
Perhaps it's all on the same box...

Can you state:

- mail server software
- RADIUS software
- web interface (server) software

...assuming further, the web interface is custom right?

How many users do you have? How many support people? Perhaps you could
mail me off-list to discuss, as myself, and my support staff just went
through this last year, and are just finishing up the details.

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


Re: Secure remote shell

2007-11-28 Thread Steve Bertrand
 ssh using key authentication and sudo configured to allow a certain
 user to run the needed commands and only the needed commands as root.
 http://www.gratisoft.us/sudo/
 http://sial.org/howto/openssh/publickey-auth/

Yes but in the OP's context, providing this would mean that ANY command
supplied via the web interface would be allowed whether SSH or sudo was
used to perform the remote execution via the web server.

IMHO, there needs to be a distinctive separation as the 'support'
persons request comes via the browser. If it is an 'adduser' type
request, all aspects (mail, radius etc) need to have their own
input-type authentication/authorization check on the input.

Although sudo and SSH are part of the solution, providing a web server
with full rights on a remote server if they can gain keyless entry is a
large mistake.

Tunnel via SSH, and escalate via sudo is both a good idea. But I think
in the OP's context, there needs to be some intensive checks and bounds
in between that make it *harder* for him to achieve his goals than what
it could be.

I don't think anyone would want the following scenario:

- you pass https://url.com?blahblahetc to webserver
- webserver, via password-less ssh executes via sudo a command on remote
RADIUS/mail to introduce a new user, perhaps in wheel group
- owned

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


Re: Secure remote shell

2007-11-28 Thread Kevin Downey
On Nov 28, 2007 9:40 PM, Steve Bertrand [EMAIL PROTECTED] wrote:
  ssh using key authentication and sudo configured to allow a certain
  user to run the needed commands and only the needed commands as root.
  http://www.gratisoft.us/sudo/
  http://sial.org/howto/openssh/publickey-auth/

 Yes but in the OP's context, providing this would mean that ANY command
 supplied via the web interface would be allowed whether SSH or sudo was
 used to perform the remote execution via the web server.

 IMHO, there needs to be a distinctive separation as the 'support'
 persons request comes via the browser. If it is an 'adduser' type
 request, all aspects (mail, radius etc) need to have their own
 input-type authentication/authorization check on the input.

 Although sudo and SSH are part of the solution, providing a web server
 with full rights on a remote server if they can gain keyless entry is a
 large mistake.

Steve,
   at no point does the original email say we need to execute user
input.  sudo does not equate to providing full rights. I suggest
reading the manpage. check yourself before you wreck yourself.


 Tunnel via SSH, and escalate via sudo is both a good idea. But I think
 in the OP's context, there needs to be some intensive checks and bounds
 in between that make it *harder* for him to achieve his goals than what
 it could be.

 I don't think anyone would want the following scenario:

 - you pass https://url.com?blahblahetc to webserver
 - webserver, via password-less ssh executes via sudo a command on remote
 RADIUS/mail to introduce a new user, perhaps in wheel group
 - owned

 Steve




-- 
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
Fisheye
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ...WELL, latest adventures of The Gary in the Dell

2007-11-28 Thread Gary Kline
On Wed, Nov 28, 2007 at 08:10:45PM -0500, Steve Bertrand wrote:
  And this is to all the wizards on-list:  Why does Gnome take
  minutes to load?   Yes, I finally got 6.3-PRERELEASE to boot
  after learning that Dell has problems with its serial ports
  (and Unix).  I did see a few postings about the increased
  delay time to bring up the windowing system, but didn't know it 
  would apply to 6.3 
 
 Since I don't run any windowing system on any of my FBSD boxen, I may be
 way off here, but could this load time be due to DNS timeouts of some sort?
 
 Many things hang if they can not resolve names, perhaps this could be
 part of the issue?
 

Hmm, maybe I should restart my dhcp daemon.  thanks for the idea.

gary


 Steve

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: Secure remote shell

2007-11-28 Thread Peter Boosten
On Thu, November 29, 2007 06:23, Steve Bertrand wrote:
 What other solution would you suggest to execute a shell remotely as
 root, that could be automated in a script (no password required).

 - have information input into browser
 - have web server save information to server disk in non-executable format
  - have script (or admin) authenticate/authorize commands to be performed
  (recommend doing this manually for a while to ensure you capture as many
  escape type bugs as possible) - have commands via another script
 scrubbed/cleaned/tested - have cron perform commands at every X minutes


I once wrote a script for allowing certain persons to add user accounts on
a box:

they just had to create a csv file in a certain place on disk with a
certain name, something like this:

loginname;Full Name;action

where action would be: C (for create new user), D (for delete user), M for
creating a new pair of ssh keys.

A shell script executed from cron every half hour would then pick up that
file and do whatever actions specified in that script.

In the case of OP that file could be created (and transported through ssh)
by the user the web server runs with, while the local root account (if
applicable - in case of LDAP that isn't necessary anyway) does its
thing...

Peter

-- 
http://www.boosten.org

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


Re: Xen howto: inexplicable Kernel image does not exist error

2007-11-28 Thread Le Cocq Michel

I'm in front of the same trouble, did you find a solution ?

M

Matt Pounsett a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I'm trying to get FreeBSD running under Xen on a RedHat RHEL5 box.  I 
seem to be stumped really early in the process by something... 
strange.  I don't have a good explanation for it, other than Xen doing 
something weird, and thought I'd ask if anyone else had seen something 
similar.  All the information I've found googling this error relates 
to users forgetting to install key packages, which doesn't seem to be 
related here.


Basically, I'm following the directions at 
http://www.yuanjue.net/xen/howto.html.  When I hit step 4, and try to 
run xm create, xen complains:


# xm create -c freebsd_xen_INSTALL
Using config file ./freebsd_xen_INSTALL.
Error: Kernel image does not exist: 
/home/mattp/FreeBSD-XENU/freebsd-XENU_INSTALL


However, that kernel file does exist:

# ls -l /home/mattp/FreeBSD-XENU/freebsd-XENU_INSTALL
- -rw-r--r-- 1 mattp users 7379253 Aug 26  2006 
/home/mattp/FreeBSD-XENU/freebsd-XENU_INSTALL


I'm using the config file suggested by the instructions with only two 
changes:

1) change the 'kernel' reference to the kernel file listed above
2) change the 'disk' reference to the image file created in step 1 (I 
also tried without this change)


Am I missing something here?  Looks to me like either Xen is trying to 
chroot somewhere before loading the kernel (don't see anything 
relevant in the config file I downloaded) or something is broken 
somewhere.


Has this been seen before, or does anyone have suggestions about where 
to check for the error?


Matt


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFHHPGpmFeRJ0tjIxERAgC3AKCWWmRyK3PgI0NXH2FZDEUE4ZBeIwCeP0ZI
qTEXAYowhmspZCDlN2HMW68=
=JSqE
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




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


kpersonalizer: cannot connect to X server

2007-11-28 Thread williamkow
I am newbie, recently I have installed FreeBSD 6.2-Stable, and manage to
configure and display the x window manager (X11) using command startx.
and then i run command startkde  and I received error message
(kpersonalizer: cannot connect to X server)
However, if i run command kdm, then it prompt for login screen. I am
wondering the command startkde is not correct way to call KDE. please
advise me. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Secure remote shell

2007-11-28 Thread Steve Bertrand
 Although sudo and SSH are part of the solution, providing a web server
 with full rights on a remote server if they can gain keyless entry is a
 large mistake.
 
 Steve,
at no point does the original email say we need to execute user
 input.  sudo does not equate to providing full rights. I suggest
 reading the manpage. check yourself before you wreck yourself.

I apologize, you are correct.

Perhaps I was in a different context. I was assuming that data passed
via a web browser was in fact data that needed to be executed as the
user (web server context).

Registering users is done wia a web page, and the web server will
remote execute a script on the mail server to add the users in the
aliases and run newaliases, remote execute a script to the radius
server to add the user in the radius tables and restart radius, etc.

Pardon my ignorance, I don't regularly use sudo. However, depending on
how the user is being added to the mail and/or RADIUS server, if the web
server has root auth via sudo to adduser, does that not allow the web
server to create a user within whatever group it wants to?

 check yourself before you wreck yourself

Fair enough. Strong statement, I'll stand by it if necessary :)

A legitimate question:

If I add user 'www' to 'sudoers' with the ability to run adduser, does
that not give user 'www' to put the added user in a group, perhaps wheel?

If said commands are passed via 'user' to web browser to web server, run
within context of the web server user, and web server user has sudo
rights to the remote box, does that not mean that the server is
essentially 'executing user input'?

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


Re: kpersonalizer: cannot connect to X server

2007-11-28 Thread Matthias Apitz
El día Thursday, November 29, 2007 a las 03:19:51PM +0800, williamkow escribió:

 I am newbie, recently I have installed FreeBSD 6.2-Stable, and manage to
 configure and display the x window manager (X11) using command startx.
 and then i run command startkde  and I received error message
 (kpersonalizer: cannot connect to X server)
 However, if i run command kdm, then it prompt for login screen. I am
 wondering the command startkde is not correct way to call KDE. please
 advise me. Thank you.

Do in your HOME directory and without having X11 up:

$ echo exec startkde  ~/.xinitrc
$ startx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]