Re: The logo at boot (Nakatomi Socrates BSD 9.2)

2013-09-04 Thread Dhénin Jean-Jacques
2013/9/4 Patrick Dung patrick_...@yahoo.com.hk

 Hello,

 Do you know what is this logo means, or the story behind it?
 I thought the BSD daemon (logo) has been around for many years in the past.

 Thanks and regards,
 Patrick Dung


http://en.wikipedia.org/wiki/BSD_Daemon

-- 
-
(°   Dhénin Jean-Jacques
/ ) 48, rue de la Justice 78300 Poissy
^^   dhe...@gmail.com
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: shell script problem

2012-12-23 Thread Dhénin Jean-Jacques
2012/12/23 Polytropon free...@edvax.de

 On Sun, 23 Dec 2012 10:34:34 +0100, Polytropon wrote:
  First, the lines with read have to be:
 
  cat /foo/bar.txt | while read $LINE1
 
cat /foo/bar/foo/bar.txt | while read $LINE2
 
  Reason: $LINE1 and $LINE2 will be evaluated here, they are empty
  string, causing read to throw an error.

 Excuse me - I made a mistake! Of course those two lines
 have to be:

 cat /foo/bar.txt | while read LINE1

 and

 cat /foo/bar/foo/bar.txt | while read LINE2

 The $ infront of the variable names have to be removed.
 The variable _name_, not its content, has to be provided
 to read as a parameter.

 The script so far:



 #!/bin/sh

 cat foo.txt | while read LINE1


*  echo Pid Process:  $$*


 do
 cat bar.txt | while read LINE2
 do
 if [ $LINE1 = $LINE2 ]; then
 sw=1
 echo Current value of sw is :  $sw

*ps -ax |grep bar *

  break
 fi
 done
 echo Value of sw is :  $sw
 if [ $sw = 0 ]; then
 echo DO SOMETHING!
 fi
 sw=0
 done




Has you can see,  pipe make a subshell and sw is lost.

Hope this help

-
(°   Dhénin Jean-Jacques
/ ) 48, rue de la Justice 78300 Poissy
^^   dhe...@gmail.com
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: shell script problem

2012-12-23 Thread Dhénin Jean-Jacques
2012/12/23 Polytropon free...@edvax.de


 #!/bin/sh

 cat foo.txt | while read LINE1
 do
 cat bar.txt | while read LINE2
 do
 if [ $LINE1 = $LINE2 ]; then
 sw=1
 echo Current value of sw is :  $sw

  * ps -l | grep $$   *
# see subshell here

  break
 fi
 done


 *  echo  Process:  $$*
# And the parent


  echo Value of sw is :  $sw
 if [ $sw = 0 ]; then
 echo DO SOMETHING!
 fi
 sw=0
 done


I suggest :

-%-

#!/bin/sh

cat foo.txt | while read LINE1
do
echo 'One'  $$tmp
cat bar.txt |while read LINE2
do
if [ $LINE1 = $LINE2 ]; then
echo 'ok'  $$tmp
break
fi
done

if [ `cat $$tmp` = One ]; then
echo One !
fi

if [ `cat $$tmp` = ok ]; then
echo ok !
fi
done

 Best regards

-
(°   Dhénin Jean-Jacques
/ ) 48, rue de la Justice 78300 Poissy
^^   dhe...@gmail.com
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: ezjail

2010-03-22 Thread Dhénin Jean-Jacques
2010/3/22 Ruben de Groot mai...@bzerk.org


 
  My host 8.0 system is the gateway to the public internet.
  I have ipfilter running blocking all inbound request for service.
  I only allow out bound request from the LAN behind the gateway and use
  keep state to allow the packet conversation to continue. All this has
  worked fine for years across many releases of Freebsd.
 
  Now comes playing with jails. I created 3 jails, www, ftp, telnet and
  used ip address of 10.0.20.20, 10.0.20.30, 10.0.20.40. The goal is to
  target those jails from other PC on the private LAN who are using ip
  address in the 10.0.10.2 through 10.0.10.8 range.
 
  I used ezjail-admin onestart and all the jails start. Then did
  ezjail-admin console ftp.local.com and got logged into that jail. Edited
  /etc/inetd.conf and uncommented the ftp line. Edited /etc/rc.conf adding
  inetd_enable=YES exited the ftp jail. Did ezjail-admin onestop
  followed by ezjail-admin onestart to cycle the ftp jail to activate the
  ftp function. ezjail-admin console ftp.local.com to get logged into that
  jail again. From within the jail did ping -c 2 10.0.10.6 which is a pc
  on the lan gives me no sockets mesg. And ftp from 10.0.10.6 to
  10.0.20.30 the ftp jail gives me no connection error.
 
  What is the problem here?


 How are we supposed to know?

 Ruben

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


add

sysctl security.jail.allow_raw_sockets=1

or in /etc/sysctl.conf

on the host (not in in the jail)

Cordialement

-
(°   Dhénin Jean-Jacques
/ ) 48, rue de la Justice 78300 Poissy
^^   jean-jacq...@dhenin.fr
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd for children

2009-12-26 Thread Dhénin Jean-Jacques
http://www.xm1math.net/algobox/index.html

is a very nice french software for beginer

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


Re: Updating - Free 7

2008-04-18 Thread Dhénin Jean-Jacques
  After finish the updating process, the HD (sata) has
  changed of ad5 to ad8 driver.

  So, during the boot process, I've received the
  message:

  Trying to mount root from ufs:/dev/ad5s2a

  Manual root filesystem specification:
  . .. ...
  . .. ...
  mountroot ?

  How can I fix it using a secure way ?

Change options   ATA_STATIC_ID in your kernel conf (/sys/i386/conf/XX)
and rebuild a new kernel.

cd /usr/src
make kernel


--
(°   Dhénin Jean-Jacques
/ ) 48, rue de la Justice 78300 Poissy
^^   [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: how to enable linux flash player in firefox

2007-01-28 Thread Dhénin Jean-Jacques

And so am I

2007/1/29, Dak Ghatikachalam [EMAIL PROTECTED]:


  http://www.freshports.org/www/linuxpluginwrapper/
I  had followd the thread in full, none  of the patch procedure or symlinks
etc, nothing works ,  I am running out of all ideas one thing I noticed was
that the mplayer which I installed with simple make install clean  all have
gotten just right and I can see them all in  and it works each and everytime

This is output of my about:plugins.

I am really about to give up on this flash player or shockwave flash

I tried performing all the steps discussed with both flash 7 and flash 9,
wrapper etc whatever with just no succcess



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


Re: Renaming files in one shot

2007-01-26 Thread Dhénin Jean-Jacques

# more ~/bin/renomme
NUM=$1
shift
NOUVEAU=`echo $* | sed 's/ /_/g' `

find . -inum $NUM -exec ln {} $NOUVEAU \;


2007/1/26, Vittorio [EMAIL PROTECTED]:

Under a directory I have many pdf files named according to M$ Windows
rules, that is:

Marylin Monroe.pdf
James Stewart.pdf
Alice in
Wonderland.pdf
Ludwig Van Beethoven.pdf
.
.

Now I'd like to
rename them ** IN ONE SHOT ** (some more steps would be acceptable
anyway!) deleting all the blanks, that is

MarylinMonroe.pdf
JamesStewart.pdf
AliceinWonderland.pdf
LudwigVanBeethoven.pdf



How can I do that?

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




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


Re: Ghostview errors

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

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

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

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


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


Re: NDISulator - Broadcom - crash

2006-08-07 Thread Dhénin Jean-Jacques

hi,

I am looking for the same information.

Thanks in advance.

2006/8/7, Lorin Lund [EMAIL PROTECTED]:


...
I tried ndisgen with bcmwl5.inf and bcmwl5.sys.

...





If anyone who has their WiFi working with bcmwl5 drivers would send me

their
kernel modules I would like to see if they work with my system.

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





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


Re: Asus P4PE audio and lan driver

2006-05-02 Thread Dhénin Jean-Jacques

me too
2006/5/2, Nikusha kobaxidze [EMAIL PROTECTED]:

hey man ... i need P4PE MOTHERBOARD  sound driver  ... if you know fro mwhere 
can i download it please tell me dude :) bye bye

-
How low will we go? Check out Yahoo! Messenger's low  PC-to-Phone call rates.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




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


Re: Asus P4PE audio and lan driver

2006-05-02 Thread Dhénin Jean-Jacques

:; uname -a

FreeBSD cypries.cyclopes.org 6.1-RC

:; more /boot/loader.conf
sound_load=YES
snd_emu10k1_load=YES

:; more /sys/i386/conf/CYPRIES
device sound
device snd_emu10k1
option NETGRAPH

Thanks in advance

02 May 2006 16:43:58 -0400, Lowell Gilbert
[EMAIL PROTECTED]:


I thought the base system had drivers for those devices on that
board.  In fact, I though the amd64 and i386 releases both did so.

What version of FreeBSD are you trying it on?




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


fxtv - XF86DGANoDirectVideoMode

2006-04-08 Thread Dhénin Jean-Jacques
hi,

is there somebody know why i get this message :

$ fxtv
X Error of failed request:  XF86DGANoDirectVideoMode
  Major opcode of failed request:  129 (XFree86-DGA)
  Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
  Serial number of failed request:  21
  Current serial number in output stream:  21
$

I found nothing about in google.

Thanks in advance.

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


Re: Partitioning on existing system

2006-04-08 Thread Dhénin Jean-Jacques
I don't see what the trouble. If you want a /tmp directory on a disk,
just do :

$ cd /foo# the disk you want, may be /
$ mkdir /tmp

Thats all.

2006/4/9, Wil Hatfield [EMAIL PROTECTED]:
 Ok I screwed up on one of my machines and forgot to put the /tmp directory
 on its own slice. How can I do this on an existing system? Linux has this
 procedure. Anything like it for FreeBSD?

 dd if=/dev/zero of=tmpMnt bs=1024 count=10
 /sbin/mke2fs /dev/tmpMnt
 cd /
 cp -R /tmp /tmp_backup
 mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp
 chmod 1777 /tmp
 cp -R /tmp_backup/* /tmp/
 rm -rf /tmp_backup

 Any help is greatly appreciated.

 --
 Wil Hatfield




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



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


Re: Passing options to Newfs in the FreeBSD installer

2006-04-02 Thread Dhénin Jean-Jacques
Very nice answer.

2006/4/2, Erik Trulsson [EMAIL PROTECTED]:
 On Sun, Apr 02, 2006 at 04:24:48PM +, [EMAIL PROTECTED] wrote:
  Hello FreeBSD Fans ;-),
 
  I have a probably simple question,which kept me busy for several days by 
  now.
  I have a few years experience with Linux and would like to extend my 
  knowledge
  now to the BSD*s.
 
  Hopefully my question is not too stupid so that somebody can point me into 
  the
  correct direction. Anyway here we go...
 
  During the FreeBSD installation I would like to pass parameters to the 
  programm
  which creates the filesystem *newfs if I understand that correctly.
 
  I would like to pass the following options: nosuid, noexec, userquota 
  groupquota to some partitions.
 
  Whatever I do - even when I want to pass only a single option - I get as a 
  error
  message Invalid argument
 
  1) Are the above options nosuid, noexec, userquota, groupquota valid 
  options
  to be passed to the installer programme newfs or do I have some misspells 
  here
  ?

 Those are not options that can be passed to newfs or used when creating the
 filesystem.  They are options for mount(8) and can be put in /etc/fstab to
 be used when you are mounting the filesystem. (See the mount(8) and fstab(5)
 manpages.)


 
  2) How would I separate several options in the installers input screen after
  pressing G, by komma (,) by semicolon (;) or just by space ( ) ?

 Assuming that you are still talking about options to newfs, you write the
 options exactly as you would do on the command line.
 (See the newfs(8) manpage for available options.)

 (If you do not have a FreeBSD system available with manpages installed, they
 can also be found at http://www.freebsd.org/cgi/man.cgi )

 
  I did search the mailing lists up and down and consulted my book from 
  Michael
  Lucas and googled, but somehow I didnt find the answer.
 
  I would appreciate any replies.
 
  Best regards
 
  Nils Valentin
  http://www.be-known-online.com

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



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


Re: cat /proc/cpuinfo ?

2006-03-27 Thread Dhénin Jean-Jacques
pkg_add cpuid

and

:; cpuid

 eax ineax  ebx  ecx  edx
 0002 756e6547 6c65746e 49656e69
0001 0f27 0001080a 0400 bfebfbff
0002 665b5101   003b7040
8000 8004   
8001    
8002 20202020 20202020 20202020 20202020
8003 65746e49 2952286c 6c654320 6e6f7265
8004 20295228 20555043 30322e32 007a4847

Vendor ID: GenuineIntel; CPUID level 2

Intel-specific functions:
Version 0f27:
Type 0 - Original OEM
Family 15 - Pentium 4
Extended family 0
Model 2 - Intel Pentium 4 processor (generic) or newer
Stepping 7
Reserved 0
...

and so on.


dmidecode is interesting also.

2006/3/27, Norberto Meijome [EMAIL PROTECTED]:
 On Sun, 26 Mar 2006 22:47:11 -0800 (PST)
 Bill Schoolcraft [EMAIL PROTECTED] wrote:

  Hello Family,
 
  Yes, yes, I know... I have a bunch of boxes under my desk here at
  home and between the Ultra-10, FreeBSD-5.4 and 6.0 and SuSE I get
  confused and that's what happened when I tried to type the following
  on my FreeBSD box.
 
  cat /proc/cpuinfo
 

 []

 
  Is there some *BSD port that will give me CPU information like the
  above from the command line?

 You want the linux /proc behaviour.

 1) make sure you have linux binary compatibility installed

 $ pkg_info | grep linux_base
 linux_base-8-8.0_14 Base set of packages needed in Linux mode (for
 i386/amd64)

 $ grep -i linux /etc/rc.conf
 linux_enable=YES

 ( without a reboot, this equals to kldload linux)

 2) add to /etc/fstab:
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0

 and then you can get :


 [EMAIL PROTECTED] [Mon Mar 27 17:18:50 2006]
 ~
 $ cat /compat/linux/proc/cpuinfo
 processor   : 0
 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 7
 stepping: 8
 flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
 mca cmov pat b19 b21 mmxext mmx fxsr xmm b26 b27 b29 3dnow cpu
 MHz : 1995.02 bogomips: 1995.02

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



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


Re: cat /proc/cpuinfo ?

2006-03-27 Thread Dhénin Jean-Jacques
:; dmidecode

...
   Version: Intel(R) Celeron(R)
Voltage: 1.5 V
External Clock: 130 MHz
Max Speed: 3200 MHz
Current Speed: 2865 MHz
Status: Populated, Enabled
Upgrade: ZIF Socket
L1 Cache Handle: 0x0009
L2 Cache Handle: 0x000A
L3 Cache Handle: Not Provided

Cordialement,

jjd
___

2006/3/28, Michael P. Soulier [EMAIL PROTECTED]:

 Cool. I don't see clock speed here.

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