Re: Ports and 64-bit Processors

2008-08-29 Thread sergio lenzi
Em Sex, 2008-08-29 às 10:57 -0400, Bill Moran escreveu:

 In response to FreeBSD Questions [EMAIL PROTECTED]:
 
  FreeBSD has supported 64-bit architectures for a while now...  Alpha
  and UltraSPARC come to mind--even if Alpha is no longer a Tier 1
  architecture.  I'm surprised to hear so many of you say that certain
  ports are broken on AMD64.  I would think if they worked on other
  64-bit processors they'd work on AMD64.  Were the ports that are
  broken on AMD64 also broken on those other architectures, too?
 
 Most of the ports I've had problems with are desktop applications.
 Stuff that doesn't often get installed/used on 64 bit.  It's been a
 while since we've tried (about 1 year) but Gnome was pretty unstable
 on 64 bit at the time.

I have had good experiences with gnome 2.22 and amd64 in produtcion
systems
running on dell poweredge with  4core cpus (4 logical processors) 2Gb of
memory,
120 users using gnome, evolution, openoffice-3, epiphany, pidgin,
java... postgres
servers and a callcenter dial apllication, that needs an asterisk 1.4.21
(on 64 bit too...)
runs about 24X7 the machine have somestimes 1200 process running full
time
alll the clients are thin clients (amd geode, 32 bits, 64mb)... 100
mbits ethernet
with NO Backup...  uptime is 38 days  Yes... it needs more memory...
===
last pid: 65631;  load averages:  0.89,  1.04,  1.07   up 38+05:23:12
12:23:15
824 processes: 1 running, 814 sleeping, 9 stopped
CPU states:  2.8% user,  0.0% nice,  1.0% system,  0.5% interrupt, 95.7%
idle
Mem: 1147M Active, 100M Inact, 601M Wired, 92M Cache, 213M Buf, 12M Free
Swap: 8192M Total, 1955M Used, 6237M Free, 23% Inuse, 12K In
===
we use it in our notebooks too (dell, acer, hp...) several ones about
20...   64 bits amd64
running on amd hardware or D series intel... 

The 32 bit version we use on the geode hardware..  but stays in the 64
bit machine exported
in a nfs... 

Runs fine...

Sergio


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


Re: USB Drive Reliability

2008-08-18 Thread sergio lenzi
it is the usb chip that does not work ok...
or works only with windows timings

Please use an usb storage brand:  Kingston...
for externals usb drivers, I recomend seagate...

format them with a UFS2 file system

using sysinstall, place a Freebsd partition on it
and format it

this way you can use all the freebsd features, and your system
will never hang...


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


Re: PCI Gigabit Ethernet network interface card (NIC) recommendations

2008-08-04 Thread sergio lenzi
I use DLINK TX502 with the VIA chipset 
FreeBSD vr0works very good
for years (2 years) now without any complain
is easy to get (buy) very cheap about US10
each


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


Re: Linux for freebsd admins

2008-07-11 Thread sergio lenzi
Em Sex, 2008-07-11 às 16:03 +0200, Julien Cigar escreveu:

 Debian (not Ubuntu ..)
 
 On Fri, 2008-07-11 at 07:29 -0400, Ian Lord wrote:
  Hi,
  
   
  
  I am not trying to start a war linux vs freebsd or a long thread on which
  distribution is best. Just trying to get a quick answer here.
  
   
  
  I am an inconditional to freebsd and I love it. Unfortunately I have an
  application that doesn't support freebsd and only run on linux. I tried to
  run it for a week under freebsd and it doesn't work.

Try ARCH linux - http://www.archlinux.org


  
   
  
  I have to install a linux machine and don't know which distribution to take.
  
   
  
  I tried debian ubuntu and fedora and didn't like them.
  
   
  
  I want:
  
  - A basic install (not 900 packages installed by default

very small,  140Mb, no GUI... installs fast, 

  
  - No gui, I like my flashing cursor
  
  - an equivalent of ports. I want to easily compile my ports I don't like
  prebuilt package. Want to retrieve them by cvs.

PACMAN (in the archlinux)   is fast and workd very good..  not many
features
as freebsd ports, but works very fast.

  
  - an equivalent to portupgrade.
  

the same program -  pacman


   
  
  I gotta admit mabe the three I tried was able to do that, but I'm so
  negative about linux thay maybe I didn't see the good point of it.
  
   
  
  Could you tell me which distribution you are using when you have no choice
  and need to go to linux ?
  
   
  
  Thanks
  
   
  

take a look -  http://www.archlinux.org

Sergio

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


Re: FreeBSD as VOIP PBX

2008-06-20 Thread sergio lenzi
Em Sex, 2008-06-20 às 14:55 +0200, Wojciech Puchar escreveu:

  Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software

I work on a copany that does this

PABX (large ones) only using FreeBSD - http://www.levier.com.br

FreeBSD 7.0 asterisk 1.4 openvox hardware
it is incredible stable...  and using postgres as a database + dial
controller...
(the dial logic is done in sql stored procedures) the possibilities are
far beyond
the needs of the clients

We have several call centers using it... in a 24/7 basis... 
Using hardware from openvox (E1/ISDN) 

How much cpu
we use always AMD 64 X2 with 2Gb of memory for
up to 3 PCI boards of 4 E1 each, that is: 12 E1.
Each board trigges 2000 interrups/second... so
there are 6000 irqs/sec on the system
for an universe of 200 ATA's  (cisco PAP2...)  and 400 users...
on line, fulltime... 

On the bench mark, FreeBSD was superior performance over
other OS... including the new Linux kernels.. 

The asterisk  is 1.4.20 build from the ports with codec negotiation
disable

Hope you have an idea now


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


Re: FreeBSD as VOIP PBX

2008-06-20 Thread sergio lenzi
Em Sex, 2008-06-20 às 19:19 +0200, Wojciech Puchar escreveu:

  How much cpu
  we use always AMD 64 X2 with 2Gb of memory for
  up to 3 PCI boards of 4 E1 each, that is: 12 E1.
 
 what codec do you use? if no recoding (alaw) i think it uses very 
 little CPU in order of few% of single or less.

We use ulaw (for the logarithm mode of the volume) so no recoding is done...


each board fires 2 irqs and 1000 irq/sec each...  so is 2000 irq per
board,
at a max of 6000 irq /sec

Cpu use (using top) is about 10%  only when receiving fax (because of
the spandsp), goes to 20%... when recieving 4 simultaneous fax

We use Hylafax  + iaxmodem...  works like a charm... the same way
24/7... 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as VOIP PBX

2008-06-20 Thread sergio lenzi
 when i connected 56 cisco phones to my laptop (used 4*16 port switches 
 ;), and having all of them working (called from first to second, from third 
 to 
 fourth etc..) there was below 4% CPU load but it's 1200Mhz Pentium-3M.
 
 

Yes... the cisco uses SIP, that is far more efficient...

the problem is the E1 boards... that all the processing of hdc and
blocking/deblocking/signalling 
is done by the main board processor... so the high irq rate

We think FreeBSD is a good choice for VOIP asterisks... BEsides put us
(the company) in a higher
level.. not because Linux is bad, but because the linux people did not
made good servers in the past,
so, we decided to link our name (the company) to UNIX (BSD) it is a
stronger name...

With the famous rock solid  of FreeBSD, our customers are satisfyed
whith the performance
of the machine and the quality of the product
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as VOIP PBX

2008-06-20 Thread sergio lenzi
Em Sex, 2008-06-20 às 21:45 +0200, Wojciech Puchar escreveu:

  when i connected 56 cisco phones to my laptop (used 4*16 port switches
  ;), and having all of them working (called from first to second, from 
  third to
  fourth etc..) there was below 4% CPU load but it's 1200Mhz Pentium-3M.
 
 
 
  Yes... the cisco uses SIP, that is far more efficient...
 
 i forget to say - SIP allows direct calls (data goes directly between 
 phones), SCCP doesn't (at least asterisk module).
 
 in tests i intentionally disabled this to make asterisk server loaded

we use sip the same way you do with sccp because we need tranfer calls
(,Tt) in the dial command
E1 boards, the best we tested are from the chinese openvox... 
without echo cancelation it seels for about U$750,00 for one port E1,
US$1800 for 2 ports, 
US$2800 for 4 ports...
in my country (brazil) you may think it is too expensive, but as
you 
think that ONE port for a siemens pabx is about US$4000  (yes, 4K
dollars)
you may imagine that for the price of only one board for a siemens you
can mount
the pbx, the cpu, the FreeBSD.

you mount a 100 phones pbx for less than half the price of a siemens
equipment
including the 50 ATAs linksys pap2.

The poor the country, the more you pay  that is the rule.

Philips, nortel, alcatel are even more expensive..

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


Re: Apache

2008-06-13 Thread sergio lenzi
Helllo

I understand your problem (I was once a SCO user/programmer)
well
the easy way is:  a disk of 20GB miminum...   
1) Install FreeBSD 7.0 RELEASE (choose your favorite lay out...) that
is /root, /var,swap, /usr  
in diferent slices  swap is about 2Gb...  (later will hold
the /tmp)  /root is 512M... /var is 8Gb (or more ..)
/usr the rest of the disk
2) during the installation process do not forget to set up the ethernet,
dns...   and install docs, 
kernel sources, and PORTS
3) once the machine boots, and is in internet, setup the timezone using
tzsetup, fix the time using
ntpdate -t 10 pool.ntp.org...  (this is important)
4) update the ports with portsnap fetch update . 
5) install some shell with pkg_add -r bash
6) create a super user named admin or whaterver you want
echo PAWORD | pw adduser admin -o -u 0 -g wheel
-s /usr/local/bin/bash -h 0
7) logout and login as admin 
8) go to the /usr/ports/www/apache22 and type make package, The system
will build your apache
for you
9) put apache22_enable=YES  in /etc/rc.conf, start it with the
command  /usr/local/etc/rc.d/apache22 start.

Your are done

There are 18600 ports you may want to try.

I use the 64 bits FreeBSD... is very stable and incredible fast.

Sergio

 
 Hi. 
 
  
 
 I have a wealth of experience with SCO products, but I have to admit I
 am stumped with BSD and specifically upgrading a customers Apache from
 2.0.55 to 2.0.63 on BSD 5.4.  I have downloaded the product,  unsipped
 it and extracted the tar volume.  Where do I go from here?.  I have read
 many articles until I'm blue in the face.
 
  
 
 Any help would be appreciated!
 
  
 
 
 
 
 
 Dennis Kirschling
 
 Office 916 714-1002
 
 Cell916 825-3737
 
 [EMAIL PROTECTED]
 
  
 
   
 
  
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 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: Flashplugin

2008-06-08 Thread sergio lenzi
Well...

Here I am in a project of notebooks for schools
machines with 13 120gb  of disk turion 64...
All of them running FreeBSD 7.0  it is about 7000 notebooks
in the first year... 

With a total of 35000 notebooks in 3 years... and counting...
may be a total of 100,000 notebooks in 5 years...

Because of special taxes applied in the notebooks,
the user must use FreeBSD or Linux.  If the user formats
the computer and install other non open source OS,
the user must pay the taxes difference to the project...
a value of about US$200. and will not be able to access
the university data. 

Well.. about the flashplugin...  it is a problem... for sure...
they work with flashplugin 7

The wireless is a problem too, for that we choose intel or atheros
chip...

Tell the flashplugin team about... please

Sergio


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


The Freebsd notebook project... was Flashplugin

2008-06-08 Thread sergio lenzi
Em Dom, 2008-06-08 às 14:37 +0100, Chris Whitehouse escreveu:

 Jerry McAllister wrote:



The idea behind the FreebSD nobebook project is rather simple:

Here in my country a person must (or should) pay a lot of taxes to
the govern...  for every notebook sold, there is about 70% of taxes plus
about 6% month of fincancial costs... so a small notebook sells for
about U$1400.  
in this $1400 there are almost $800 of taxes... without count the
financial costs of about 6%/month (at best) .

But not everything is lost...  the govern invest much money in
education,
and health... (I know that a lot of money is lost... but it does not
count, lost is lost)...

For educacional pourposes,  the taxes are very low (about 10%)... so a
good notebook
sells for US800. (final cost)..  the notbook is turion 64 (preferable
not dual core)... 120gb hd
wireless 13... without operating system.. and bought in chunks of 1000.

Because they will use open source, and the operating system must be
built from  ground zero within the university...
serialized, with a software key code that is able to trace the
machine...
(there is no debian, mandriva, gentoo,microsoft) no comercial brand
should apply... 
finance with the State bank in 36 months it will cost about US$20/month
with insurance...

The student sign a contract that will take care of the machine and if
tampered (other no open source
OS installed)... all the taxes should be payed  by him... 

The notbooks runs Gnome 2.22 and with wireless in the campus, everybody
can access the multimedia
files stored in the FreBSD servers (about 20T)... Using a modified divx
codec, the media is protected from
being seen or used by non authorized persons (ok I know that the
protection is not hard) but is enough
for dayly used (all media is marked with a water mark (thanks mencoder
team...)).

The Evolution (email client...) is linked with the open exchange server
and ldap... so a person can email and
receive information form the university staff and others using the ldap
servers... 

Telephony is done using Ekiga (low rates apply to PSTN)... and if you
have fast internet connection, the builtin camera can be used
for video on Ekiga... 

Gatekeepers (using gnugk) links directly to the PSTN, ekiga talks h323..
so no problem with it too.

For office is used openoffice 3.0 (now beta).. 

Media is produced or convertd using ffmpeg mplayer...can be seen on
the standard gnome media
player, using libxine backend... 

it just works

Hope will start installing the servers till end of this month...

Ok... and the users that already have the vista boxes??? (about 2%)
No problem... for a small   they can install a program
that identifyes the notebook to the servers. About the media...
well they can always convert the media... (some more cost is
involved...)
no virus protection is installed in the network. so windows users
are advised to not link their computers at any point of the network
(use at own risk signs are all around...)

Included in the project, there is  for training the users to use
gnome...
(well in fact... make the users forget words and methods. (excell,
outlook, word,
anti-virus, codec, media player...))
Why not KDE   too powerfull.. excelent, consumes more resources,
must get an written permission for QT (the lawers said...). Too
complicated for the users
the users just want to ckick and go... 

That is the project... it was 2 years of negotiation... of course THEY
tried to do the same...
but after 2 years... the project specification remains the same... 

Another good candidate is Arch Linux...   but have some problems with
the media play...
(totem xine zoom does not work, and the openoffice in native language
have some problems,
kernel version and internals change too soon... the kernel schedule does
not compare to FreeBSD7_ULE...
so sometimes the media play chokes  at heavy load...  but is a good
candidade)...

With the   earn in the project... some of them will be inject in
FreeBSD to make some things work (flash player,
buggy bios...).  Must have $$$ to teach people to program in
gnome/gtk... 
this will generate JOBS.. if one in 100 produce something in some time
we will have a new softwre company...
The first buyer???  the govern...

The ideia is to theach the children for no need to punish the men...


Thanks for reading

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


Re: interrobang and other fun characters

2008-05-14 Thread sergio lenzi
Em Ter, 2008-05-13 às 22:25 -0600, Chad Perrin escreveu:

 I'm looking for an easier way to insert interrobangs and other non-ASCII
 characters (em-dashes, et cetera) into text on my FreeBSD laptop than by
 way of copy/paste.  Any recommendations?  A hunt-and-select clicky GUI
 probably wouldn't be any better than just copy/paste, but something like
 holding down Alt while typing 8253 might be an improvement.
 

Hello...
seems that X (and than keyboard) have names for all symbols
for example - çÇ -  name ccedilla,Ccedilla and € (named EuroSign)
you can use the program xmodmap and a custom map.
to redefine all your keyboard... so if you define a META KEY (in my case
the windows one...), 
you can type any kind of wierd symbol utf8 defines... (and it defines a
lot of)
take a look at here for my brazilian keyboard map... in an
acer 5050 with a custom brazilian keyboard 

see xmodmap (man xmodmap...)

you can use the program xev  to show what key gives what code

Have fun
=

keycode   8 =
keycode   9 = Escape
keycode  10 = 1 exclam onesuperior exclamdown
keycode  11 = 2 at twosuperior onehalf oneeighth
keycode  12 = 3 numbersign threesuperior threequarters 
keycode  13 = 4 dollar sterling onequarter
keycode  14 = 5 percent cent threeeighths
keycode  15 = 6 dead_diaeresis notsign fiveeighths
keycode  16 = 7 ampersand braceleft seveneighths
keycode  17 = 8 asterisk bracketleft trademark
keycode  18 = 9 parenleft bracketright plusminus
keycode  19 = 0 parenright braceright degree
keycode  20 = minus underscore backslash questiondown
keycode  21 = equal plus section dead_ogonek
keycode  22 = BackSpace
keycode  23 = Tab ISO_Left_Tab
keycode  24 = q Q slash
keycode  25 = w W question
keycode  26 = e E
keycode  27 = r R paragraph registered
keycode  28 = t T tslash Tslash
keycode  29 = y Y leftarrow yen
keycode  30 = u U downarrow uparrow
keycode  31 = i I rightarrow idotless
keycode  32 = o O oslash Ooblique
keycode  33 = p P thorn THORN
keycode  34 = dead_acute dead_grave dead_breve
keycode  35 = bracketleft braceleft ordfeminine
keycode  36 = Return
keycode  37 = Control_L
keycode  38 = a A ae AE
keycode  39 = s S ssharp section
keycode  40 = d D eth ETH
keycode  41 = f F dstroke
keycode  42 = g G eng ENG
keycode  43 = h H hstroke Hstroke
keycode  44 = j J
keycode  45 = k K kra ampersand
keycode  46 = l L lstroke Lstroke
keycode  48 = dead_tilde dead_circumflex dead_caron
keycode  47 = ccedilla Ccedilla
keycode  49 = apostrophe quotedbl
keycode  50 = Shift_L
keycode  51 = bracketright braceright masculine
keycode  52 = z Z guillemotleft less
keycode  53 = x X guillemotright greater
keycode  54 = c C cent copyright
keycode  55 = v V leftdoublequotemark grave
keycode  56 = b B rightdoublequotemark apostrophe
keycode  57 = n N
keycode  58 = m M mu
keycode  59 = comma less horizconnector multiply
keycode  60 = period greater periodcentered division
keycode  61 = semicolon colon
keycode  62 = Shift_R
keycode  63 = KP_Multiply
keycode  64 = Alt_L
keycode  65 = space
keycode  66 = Caps_Lock
keycode  67 = F1
keycode  68 = F2
keycode  69 = F3
keycode  70 = F4
keycode  71 = F5
keycode  72 = F6
keycode  73 = F7
keycode  74 = F8
keycode  75 = F9
keycode  76 = F10
keycode  77 = Num_Lock Pointer_EnableKeys
keycode  78 = Scroll_Lock
keycode  79 = KP_Home KP_7
keycode  80 = KP_Up KP_8
keycode  81 = KP_Prior KP_9
keycode  82 = KP_Subtract
keycode  83 = KP_Left KP_4
keycode  84 = KP_Begin KP_5
keycode  85 = KP_Right KP_6
keycode  86 = KP_Add KP_Add
keycode  87 = KP_End KP_1
keycode  88 = KP_Down KP_2
keycode  89 = KP_Next KP_3
keycode  90 = KP_Insert KP_0
keycode  91 = KP_Delete KP_Separator
keycode  92 =
keycode  93 =
keycode  94 = backslash bar
keycode  95 = F11
keycode  96 = F12
keycode  97 = Home
keycode  98 = Up
keycode  99 = Prior
keycode 100 = Left
keycode 101 =
keycode 102 = Right
keycode 103 = End
keycode 104 = Down
keycode 105 = Next
keycode 106 = Insert
keycode 107 = Delete
keycode 108 = KP_Enter
keycode 109 = slash question degree
keycode 110 = Pause Break
keycode 111 = Print Execute
keycode 112 = slash
keycode 113 = Mode_switch
keycode 114 =
!keycode 115 = Meta_L
keycode 116 = Multi_key
keycode 117 = Menu
keycode 118 =
keycode 119 =
keycode 120 =
keycode 121 =
keycode 122 =
keycode 123 = slash question degree questiondown
keycode 124 =
keycode 125 =
keycode 126 =
keycode 127 =
keycode 128 =
keycode 129 =
keycode 130 =
keycode 131 =
keycode 132 =
keycode 133 =
keycode 134 = KP_Decimal
keycode 179 = EuroSign
keycode 180 = dollar
keycode 211 = slash question
keycode 228 = slash question
clear Mod1
clear Mod3
clear Mod4
add Mod1 = Alt_L
add Mod3 = Mode_switch
add Mod4 = Meta_L

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


Re: RTL8111C driver for FBSD7

2008-04-18 Thread sergio lenzi
Hello...

I had another NIC from marvell (I did not remember if it was a nve or nfe)
that refuses to work until I put the word UP  in the ifconfig command

in /etc/rc.conf.

ifconfig_xx0=up DHCP

==
may be is it not the case

what the command ifconfig shows???   does the kernel detect the NIC???


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


Re: FreeBSD installation on AMD64

2008-04-16 Thread sergio lenzi
I use an ACER notebook 5050 with 2 partitions (one i386, and other
amd64)
the amd64 is faster,  the software is very stable, and everything
works...

I do not use the sleep mode, the freebsd kernel keeps the processor
halted when not
in use, so the battery lasts longer, and the boot (total boot is less
than 30 seconds...)
to have the gnome 2.22 up and ready... with all I need in my working day
(office, 
emai, multimedia, games, software develop, voip,  phone calls...
and internet)is 

This weekend I will format the i386 partition and install amd64 over
it ..  I am very satisfied
with the amd64 of FreeBSD, indeed is now working in all 6 notebooks if
the family (brothers,
sons, daughters...) The only slow  thing we have was the evolution (in
gnome) now it
is as faster as other applications in the computer


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


Re: Using FreeBSD's make under Linux

2008-04-14 Thread sergio lenzi

Em Dom, 2008-04-13 às 04:14 +0300, Giorgos Keramidas escreveu:

 On Sat, 12 Apr 2008 17:20:17 +0200, Michaël Le Barbier [EMAIL PROTECTED] 
 wrote:
  Hi folks,
 
  a few years ago, I tried to use FreeBSD's make under GNU/Linux, and
  thanks to `jpd' on c.u.b.f.misc, I managed to build FreeBSD 4.7's make
  under some GNU/Linux systems. Having a couple makefiles using make's
  features that were introduced after 4.7, I would like to build a more
  up-to-date.

there is the  bmake... from netbsd... it understands freebsd .mk files
comes with a bootstrap..   and after some configuration  runs very
good
on linux

http://www.morphisms.net/~wkj/software/bmake/index.html


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


Re: Adobe Flash Player Petition

2008-04-09 Thread sergio lenzi
In my computer running FreeBSD 7.0 64bits with gnome 2.22  the
linksys site works ok... indeed I can see more than 90% of the flash
(that is still 7) using nspluginwrapper.
and for those that not work, the wine+firefox solution is used...
it all works including youtube, bbc, fox, aol, uol... 
and also openoffice-3.0 too all in 64 bits  and it is very fast. I also
use the 7.0 in 
several notebooks here at the company, and everything works...

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


FreeBSD takes over Linux at kernel.org

2008-04-02 Thread sergio lenzi
Hello all,

can someone please confirm if this is true
http://lkml.org/lkml/2008/3/31/367



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


EVOLUTION SLOW START , a workaround

2008-03-11 Thread sergio lenzi
Hello all

This week I have time to trace the problem with evolution that
lasts too much time to start.

The problem is that glib on function g_module_load, searchs for a symbol
g_module_check_init, g_module_unload... by default.

It occurs that the evolution code, that will be loaded, does not have
those functions available... so th glib (and dlsym) tries to find the
symbol in every load module in memory... and doing so consumes all cpu
for several seconds, for each load module

! coded a solution for gmodule that tests for those special symbos, and
if found, uses dlsymb(RTLD_NEXT,) instead of dlsym(handler) 
so it will search a much less modules, and evolution will start in 3
seconds... (20 times less...)

Of course the correct strategy is to correct code evolution module
(libevolution-mail.so). will do next time

modified file: /usr/ports/devel/glib20/files/patch-gmodule::gmodule-dl.c

please note this is only a temporary fix... the correct solution is to
fix the 
evolution module

=
--- gmodule/gmodule-dl.c.orig   2008-02-07 03:24:53.0 -0200
+++ gmodule/gmodule-dl.c2008-03-11 18:53:44.0 -0300
@@ -73,6 +73,14 @@
 #endif /* RTLD_GLOBAL */
 
 
+static char *special_names[]={
+   g_module_check_init,
+   g_module_unload,
+   e_plugin_lib_enable,
+   NULL
+};
+   
+
 /* --- functions --- */
 static gchar*
 fetch_dlerror (gboolean replace_null)
@@ -106,6 +114,7 @@
 static gpointer
 _g_module_self (void)
 {
+#ifndef __FreeBSD__
   gpointer handle;
   
   /* to query symbols from the program itself, special link options
@@ -117,6 +126,9 @@
 g_module_set_error (fetch_dlerror (TRUE));
   
   return handle;
+#else
+  return RTLD_DEFAULT;
+#endif
 }
 
 static void
@@ -141,9 +153,19 @@
 {
   gpointer p;
   gchar *msg;
+  char **pn;
 
   fetch_dlerror (FALSE);
-  p = dlsym (handle, symbol_name);
+
+  for (pn=special_names;*pn;pn++) {
+   if (!strcmp(*pn,symbol_name)) {
+   p=dlsym(RTLD_NEXT,symbol_name);
+   break;
+   }
+  }
+
+  if (! *pn)
+   p = dlsym (handle, symbol_name);
   msg = fetch_dlerror (FALSE);
   if (msg)
 g_module_set_error (msg);


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


Re: Evolution just sluggish, slow and slow

2008-02-14 Thread sergio lenzi

Em Qua, 2008-02-13 às 22:51 -0500, E. J. Cerejo escreveu:

 I never had this problem before with evolution, but since upgrading to 
 FBSD 6.3 from 6.2, evolution just takes about a minute to start and 
 consumes 98% of my CPU.  I recently rebuild it from source but still too 
 slow, no improvement.  Any ideas?  Second time posting this problem. 
 There are no errors when I start it from terminal.
 It usually only took 3 seconds to start.
 ___


Humm interesting...  can you please explain what do you mean
from start it from terminal ???

I can trace the problem if I have a working situation 


Thanks for your attention,

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


Re: freebsd - ftp setup - giotissl - ASAP - SOS

2008-01-18 Thread Sergio Lenzi

Em Sex, 2008-01-18 às 14:27 +0200, Giotis Eugen escreveu:

 I have a dedicated server which is based on freebsd and i forgot to install
 ftp at the installation.
 I have no access for ftp but i have the root level accounts.
 For control panel i have cpanel/whm.
 Can i install the ftp now ?
 How ?
 Can you help me step by step ?
 
 
 Please help me as soon as if its possible...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

at the root console prompt.
sysinstall
go to the configure - networking- ftp
choose install option.
exit sysinstall and you are done


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


HOW-TO get Flash9 work

2008-01-18 Thread Sergio Lenzi
Well...

after all the endless reading... and with the weekend ahead... May I
conclude that:

1) Flash 9 works as long as I relocate the libs in /compat
2) I must use version 6 of the linux libraries
3) Must use the linux firefox

Am I missing something???

Will try to put all the libraries in /usr/compat/lib
and try to run firefox???

Or will try to use nspluginwrapper code 

I will ask SUN about opensolaris and flash player...

I received an DVD from sun and the sistem installed without problems.
seems to be as fast as a FreeBSD, with a beautifull gnome 2.20
running...

It is a little bit closed,  and I have not enough time to test it.. but
seens 
very good.

May be an emulation of SVR4 in ELF  would solve the flash problem...

Thanks for the attention,

Sergio

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


Re: Ekiga runs but hangs

2007-12-28 Thread Sergio Lenzi

Em Sex, 2007-12-28 às 12:17 +0100, [EMAIL PROTECTED] escreveu:

 Hello All,
 
 is anyone using ekiga? ekiga runs and connects to [EMAIL PROTECTED] ( test 
 number ).
 
 but when i hang up, or change volume using the ekiga-controls, the UI freezes.
 
 #FreeBSD host 7.0-BETA2 FreeBSD 7.0-BETA2 #4
 
 i would love to hear succes or failures.
 
 regards,
 
 usleep

it happens with me too. the problem is in the
module sound-oss in the pwlib 
the module that deals with oss (the freebsd sound system...) 
tries to resample the stream and than loops... consuming all the cpu.

the folowing patch solves the problem for me
name this file to patch-oss and put it in /usr/ports/devel/pwlib/files
and than... cd /usr/ports/devel/pwlib 
make clean deinstall package

=
--- plugins/sound_oss/sound_oss.cxx.orig
+++plugins/sound_oss/sound_oss.cxx  
@@ -565,7 +565,6 @@
 entry-bitsPerSample = mBitsPerSample   = _bitsPerSample;
 entry-isInitialised = FALSE;
 entry-fragmentValue = 0x7fff0008;
-entry-resampleRate  = 0;
   }

   // save the direction and device
@@ -602,7 +601,6 @@
   // do not re-initialise initialised devices
   if (entry.isInitialised) {
 PTRACE(6, OSS\tSkipping setup for   device   as already
initialised);
-resampleRate = entry.resampleRate;
 
   } else {
 PTRACE(6, OSS\tInitialising   device  (  (void *)(entry)
 ));
@@ -646,17 +644,6 @@
   arg = val = entry.sampleRate;
   if (ConvertOSError(::ioctl(os_handle, SNDCTL_DSP_SPEED,
arg))) {
 stat = TRUE;
-
-// detect cases where the hardware can't do the actual rate
we need, but can do a simple multiple
-if (arg != (int)entry.sampleRate) {
-  if (((arg / entry.sampleRate) * entry.sampleRate) ==
(unsigned)arg) {
-PTRACE(3, Resampling data at   entry.sampleRate 
 to match hardware rate of   arg);
-resampleRate = entry.resampleRate = arg /
entry.sampleRate;
-  } else {
-PTRACE_IF(4, actualSampleRate != (unsigned)val, Actual
sample rate selected is   actualSampleRate  , not  
entry.sampleRate);
-actualSampleRate = arg;
-  }
-}
   }
 }
   }
@@ -724,42 +711,10 @@
   if (!Setup() || os_handle  0)
 return FALSE;
 
-  if (resampleRate == 0) {
-while (!ConvertOSError(::write(os_handle, (void *)buf, len))) 
-  if (GetErrorCode() != Interrupted)
-return FALSE;
-lastWriteCount += len;
-  }
-
-  else {
-// cut the data into 1K blocks and upsample it
-lastWriteCount = 0;
-BYTE resampleBuffer[1024];
-const BYTE * src= (const BYTE *)buf;
-const BYTE * srcEnd = src + len;
-while (src  srcEnd) {
-
-  // expand the data by the appropriate sample ratio
-  BYTE * dst = resampleBuffer;
-  const BYTE * srcStart = src;
-  unsigned j;
-   
-  while ((src  srcEnd)  (dst  (resampleBuffer +
sizeof(resampleBuffer) - resampleRate*2))) {
-for (j = 0; j  resampleRate; ++j) {
-  memcpy(dst, src, 2);
-  dst += 2 ;
-}
-src += 2;
-  }
-  lastWriteCount += src - srcStart;
-  while (!ConvertOSError(::write(os_handle, resampleBuffer, dst -
resampleBuffer))) {
-if (GetErrorCode() != Interrupted) 
-  return FALSE;
-  }
-}
-
-  }
-
+  while (!ConvertOSError(::write(os_handle, (void *)buf, len))) 
+if (GetErrorCode() != Interrupted)
+  return FALSE;
+  lastWriteCount += len;
   return TRUE;
 }
 
@@ -770,72 +725,26 @@
   if (!Setup() || os_handle  0)
 return FALSE;
 
-  if (resampleRate == 0) {
-
-PINDEX total = 0;
-while (total  len) {
-  PINDEX bytes = 0;
-  while (!ConvertOSError(bytes = ::read(os_handle, (void
*)(((unsigned char *)buf) + total), len-total))) {
-if (GetErrorCode() != Interrupted) {
-  PTRACE(6, OSS\tRead failed);
-  return FALSE;
-}
-PTRACE(6, OSS\tRead interrupted);
-  }
-  total += bytes;
-  if (total != len)
-PTRACE(6, OSS\tRead completed short -   total   vs  
len  . Reading more data);
-}
-lastReadCount = total;
-  }
-
-  else {
-
-// downsample the data
-
-BYTE * dst= (BYTE *)buf;
-BYTE * dstEnd = dst + len;
-lastReadCount = 0;
-
-PBYTEArray resampleBuffer((1024 / resampleRate) * resampleRate);
-
-// downsample the data into 1K blocks 
-while (dst  dstEnd) {
-
-
-  // calculate number of source bytes needed to fill the buffer
-  PINDEX srcBytes = resampleRate * (dstEnd - dst);
-  PINDEX bytes;
-
-  {
-PINDEX bufLen = PMIN(resampleBuffer.GetSize(), srcBytes);
-while (!ConvertOSError(bytes = ::read(os_handle,
resampleBuffer.GetPointer(), bufLen))) {
-  if (GetErrorCode() != Interrupted) 
-return FALSE;
-}
-  }
-
-  // use an average, not just a single sample
- 

Re: xdmcp not working

2007-11-26 Thread Sergio Lenzi

Hello,

I read your email about gdm and xdmcp

My setup for 2.20 does not work at all
so I installed the old   2.18.3 from the ports,
(I build the package from the ports) and it works
just ok as before...

I think there is a bug in the 2.20/2.21 xdmcp code... I
had no time to fix ...

Lenzi

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


Re: Can not make a 6.2 ISO image

2007-08-10 Thread Sergio Lenzi
The problem is in the rescue directory of the CD/DVD
the directory have hard links that when copied with tar,
transforms in full files without the links
I think the problem is in libarchive.. as the old 5.4 FreeBSD
does copy the rescue as expected

a small script fix the rescue links is:
assume that your freebsd directory is in /mnt


==
#!/bin/sh

cd /mnt/rescue
lista=`ls | grep -v  \\\[`
for i in $lista
do
   ln -f [ $i
done
echo done


Sergio

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


Re: OpenOffice.org 2.2.1 quits on launch

2007-07-04 Thread Sergio Lenzi
Hello 


I had the same problem a week ago...
sometimes the OO opens, but when I try to choose any menu
option it quits... 

Installing only xorg 7.2 and openoffice it works... 

when I removed the glib or gtk  it works...
I have some problems with the glitz library too...

I am using FreeBSD 6.2 stable (32bits i386), running
on an AMD 3800 X2 with 2Gb of memory 40 diskless stations



track down the problem I found in gtk2... I upgraded to gtk-2.10.13
and the problem was gone

Now I have OO working on gnome 2.18.2 without problems at all
really fast...

The only issue is that I still cannot make the OO play audio still.

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


Re: SMP System but only CPU#0 being used?

2007-06-04 Thread Sergio Lenzi
from the smp man page.


1) make sure you have options SMP in  your kernel and is built and
compiled OK.

2)put the lines in the /boot/loader.conf
and reboot the system


machdep.cpu_idle_hlt=0
machdep.hlt_cpus=0
machdep.hlt_logical_cpus=0
machdep.hyperthreading_allowed=1
==
should work... 
my cpus are pentiuns HT or pentius 4 dual core


Lenzi

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


Re: The OX laptop...

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

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

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

will this be the start of a new eratime will tell

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

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


Re: The OX laptop...

2007-04-16 Thread Sergio Lenzi


  Comments pleaase
 
 
   I heard/read that these will be networked by transceiver going 
   peer-to-peer.  With a range of a few miles. The school or
   university would serve at the link with the Internet.  Yes?
   If other, please explain.

Yes they are networked using WI-FI  in ibcss... really works... does not
need any access 
point and can communicate at about 50 meters away each other... in a
kind of mersh 
network...   really simple and functional.

 
   I think this kind of universally affordable and endlessly 
   useful computer will give us countless thousands of wizards
   and other scholars  who would be wedged in a hopeless situation.
   In a word:: Yes!
 
   gary
 

The point is that will start a new world where things will be
reinvented in new
ways. without proprietary software.  With all open architeture will be
able
to make the children  work together in preparing for a new world
where 
the need of group working will be more and more important...

Just imagine about 5 milion consumers... 

Here my nepheys are already in college and they now have to work and do
all work using Linux at school and FreeBSD at home...   That is a good
point for
the govern that by forcing them to use open source, makes them think and
overcome problems that otherwise would be solved by pressing a button in
the
screen. 

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


The OX laptop...

2007-04-15 Thread Sergio Lenzi
Here in my country is happening 
the FISL http://fisl.softwarelivre.org/8.0/www/?q=en

they finally show the $100 dollar laptop for children..
the machine have 512mb of memory,  more 512mb of flash rom,
resolution of about 1000x900 keyboard and mouse .
they have been in testing for some months now... the children
sure approve ...  Red Hat has yet the operating system, and
expect a small footprint of gnome to run on the 
unit.http://www.escolabr.com/portal/uploads/img462041309c410.jpg..

The govern is expect to buy and distribute the machine 
by the milions  (about 3milion units/year)... only in Brazil

May be I will have 2 in my hands next week..

With a market of about 8 milion units (in -3 years) of a machine
that does not runs windows.. I think it will run BSD (netbsd/freebsd)
have wireless sound and camera, small footprint, lightweight

It is the dawn of an era of market where only open source software...

Any educational program or thing that fits on that computer will
be bought by the govern in milion units... and of course will cost
much less than the commercial  solution we have today...

Comments pleaase

take a look - http://pt.wikipedia.org/wiki/Imagem:OLPC-Drawing75c.png

http://www.escolabr.com/portal/uploads/img462041309c410.jpg

http://www.escolabr.com/portal/uploads/img46204318a876a.jpg







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


gnome-subtitles PORT

2007-03-25 Thread Sergio Lenzi

For me it works great

That was the program I was waiting for to generate or 
alter subtitles... 

Great Job,

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


Re: mkisofs,cd9660 and hard links

2007-03-24 Thread Sergio Lenzi
I notice too the hard link problem.. 
For me the problem happens when I try to read the
CD or DVD into the hard disk

In the CD the hard links exists, but when I copy into the hard disk,
the hard links vanishes...

I think that the problem relies in the iso9660 logic.. because the same
CD works fine using the tar in a 5.4 system


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


Re: Shared object libintl.so.6 not found

2007-03-20 Thread Sergio Lenzi
try edit/add the folowing in /etc/libmap.conf


libintl.so.6libintl.so



Hope will help

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


Re: 6.2 running 4.x binaries (missing libc.so.3)

2007-03-13 Thread Sergio Lenzi
Em Ter, 2007-03-13 às 09:47 -0500, Robert Huff escreveu:

 Thomas David Rivers writes:
   
   I've been trying to run 4.x binaries on FreeBSD 6.2; with
   the compat4x package (and/or port) installed.
   
   However, the 4.x binaries want to find libc.so.3, which
   doesn't seem to be anywhere around.
   
   Anyone know the trick to getting this to work?
 
   /usr/ports/misc/compat4x ?

or as a workaround 
add in the /etc/libmap.conf

libc.so.3libc.so
libm.so.3   libm.so

..
that is every shared library it complains add it to 
the /etc/libmap.conf

It worked for me for 5.x binaries and 4.x on a FreeBSD 6.1/6.2

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


Old things do work.

2007-03-12 Thread Sergio Lenzi
As I said some emails ago

I have a 200 machines all freebsd network that runs 24/7 with a mtbf
of 15 years...

how I got the numbers?

well   I have an issue  every 3 or 4  weeks... (the machine hangs,
stops, the power supply explodes) the machines are aways on...

if you count 200 machines and one machine crashes once every 200 days,
I will have a 200 day running time on each machine... well I have almost
once a month
problem... that is 30 times 200 days - 6000 days for each machine...
the
machines have now 3 to 5 years old...

Now I am replacing the machines for AMD64 with mainboard ECS  that
proved
the more reliable hardware... (asus k8v is also a good choice)
(gateway is bad...) 98% of the machines are AMD, some are cyrix
It continues to run even with the cpu cooler stopped
by dust (yes!!! some machines are in rural areas, gas stations and have
no way to
offer maitenance) and I have not seen them for years... but sometimes
the machines emails me.. (when they finally
get dial up connection... and have some issue like: no space, no
swap...) it is
like sending them to mars...

You can see some pictures of the running system on FreeBSD + gnome +
windowmaker...

at http://www.k1.com.br/images/sistemas

these are old pictures, but you can have an idea.
the new versions have more enhancements

It is all coded in FreeBSD with python + gtk + postgres...

and runs in windows too... 


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


Old things do work.

2007-03-12 Thread Sergio Lenzi
As I said some emails ago

I have a 200 machines all freebsd network that runs 24/7 with a mtbf
of 15 years...

how I got the numbers?

well   I have an issue  every 3 or 4  weeks... (the machine hangs,
stops, the power supply explodes) the machines are aways on...

if you count 200 machines and one machine crashes once every 200 days,
I will have a 200 day running time on each machine... well I have almost
once a month
problem... that is 30 times 200 days - 6000 days for each machine...
the
machines have now 3 to 5 years old...

Now I am replacing the machines for AMD64 with mainboard ECS  that
proved
the more reliable hardware... (asus k8v is also a good choice)
(gateway is bad...) 98% of the machines are AMD, some are cyrix
It continues to run even with the cpu cooler stopped
by dust (yes!!! some machines are in rural areas, gas stations and have
no way to
offer maitenance) and I have not seen them for years... but sometimes
the machines emails me.. (when they finally
get dial up connection... and have some issue like: no space, no
swap...) it is
like sending them to mars...

You can see some pictures of the running system on FreeBSD + gnome +
windowmaker...

at http://www.k1.com.br/images/sistemas

these are old pictures, but you can have an idea.
the new versions have more enhancements

It is all coded in FreeBSD with python + gtk + postgres...

and runs in windows too... 


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


Re: root login with telnetd

2007-03-11 Thread Sergio Lenzi
Hello...

I see you issues about telenet...

I use the inetd+telnet for more than 20 years and using BSD
with RSA, and obviiously with a good password.

I have never been cracked down...
and I have 10 of my /etc/ttys entries setted to secure

ttyp0   nonenetwork off secure
ttyp1   nonenetwork off secure
ttyp2   nonenetwork off secure
ttyp3   nonenetwork off secure
ttyp4   nonenetwork off secure
ttyp5   nonenetwork off secure
ttyp6   nonenetwork off secure
ttyp7   nonenetwork off secure
ttyp8   nonenetwork off secure
ttyp9   nonenetwork off secure
ttypa   nonenetwork off secure
ttypb   nonenetwork off secure
ttypc   nonenetwork off secure

in my /etc/master.passwd.
root:*:0:0::0:0:Charlie :/root:/bin/csh


a kill -1 1  would allow root do dial in

I block the root account in /etc/master.passwd by put a * as md5hash
and setted up an supper account.

pw adduser x -d /root -s /usr/local/bin/bash -u 0 -g 0 -h 0

Than is done...

All the cracking I have seen is from someone that is INSIDE the machine
(http using php,pop,imap, ssh,...) that is you have yet allowed him to
come in,
you gave them the password (in the case of ssh), or in http...

A normal  FreeBSD 6.2 or an OpenBSD, is incredible solid...

You must know the superuser login AND the password

choose a password with letters and numbers, or something in 
portuguese (only 7 countries speak that):  biruta22, pezinho12,
45pinheiiros,
tovazioagora, batatinha744, 45canastra96.

I tested in an security system and it says is have good security...
(pgp)...

Besides.. using brute force in a word like itacolomi  using a 1 second
delay
would result  forever  
Besides, BSD have the ability to force a new password once it is too
old... 
a new password every 3 months is a good choice  and you must stilll
pass through   RSA .


Thanks for sharing the experience...  now I know I am not the one that
uses telenet

  


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


Re: root login with telnetd The FINAL SOLUTION

2007-03-11 Thread Sergio Lenzi
So.  resuming:

1) change some lines in /etc/ttys to:



ttyp0   nonenetwork off secure
ttyp1   nonenetwork off secure
ttyp2   nonenetwork off secure
ttyp3   nonenetwork off secure
ttyp4   nonenetwork off secure
ttyp5   nonenetwork off secure
ttyp6   nonenetwork off secure
ttyp7   nonenetwork off secure
ttyp8   nonenetwork off secure
ttyp9   nonenetwork off secure
ttypa   nonenetwork off secure
ttypb   nonenetwork off secure
ttypc   nonenetwork off secure

 

2) signal init to read it :  
kill -1 1
3) make sure inetd is running
see the /etc/rc.conf
must have inetd_enable=YES
4)  remove the #  at the line telnet in inetd.conf
5) make inetd run
/etc/rc.d/inetd restart
6) change root password
echo mysecretpassword  | pw usermod root -h 0

7) telnet to your server
should now allow root login

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


Telnetd

2007-03-11 Thread Sergio Lenzi


 What do you gain by allowing telnet access to your hosts that you don't 
 get with ssh?
 
 Paul Schmehl ([EMAIL PROTECTED])
 Senior Information Security Analyst
 The University of Texas at Dallas
 http://www.utdallas.edu/ir/security/
 
 --=7CEE76846768256DC8==--
 !DSPAM:3,45f438e7216243993713574!


May be I am an incurable romantic from the old times
that likes telnet, sendmail, finger... daytime... bsd lpr
and never give up from BSD, I use it since 1.0 release...

I agree that ssh is better, etc... etc...   but I still
use sendmail and telnet...  

Once I setted up a mailserver with more that 2000 users
with a single freebsd sendmailin a small machine (1Ghz,512Mb memory,
Freebsd 4.X) one internet connection.. with virtual users,
mailertable... and it 
worked for years... by the way... it had  telnetd avaiable...

Welll

Have anyone yet cracked  the telnet enable machine whose
IP was published  in the list?

I remember some time ago a machine  named Coen.  who
challenged anynone crack it... she published the address, the login
and the password... and in addition, she said there were a bug in the
system...   Well if I remember, the machine stayed alive for several
months
with all the hackers, crackers, and xxxckers  hitting it...

It was  FreeBSD 5.X series

Sergio

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


Vt102 at home

2007-03-11 Thread Sergio Lenzi


 
 Maybe you are, but even so, do you still use V7 on a PDP/11 or 32V on a VAX,
 make dumps to DECtape, or use a VT100? There's something to be said for
 modern PC hardware, xterms/gnome-terminal/konsole/screen, and yes, ssh.
 (Namely speed, convenience, and security, respectively).
 
 I went through a stage of using Linux with xman, xeyes, xterm, twm, etc.,
 until I realised I was much more productive using KDE help and
 konsole/screen and kwin/WindowMaker.
 
 Jeff
 
 

Like Mr Wojciech Puchar,  I have a VT100 clone here at home... that I
use for kernel
debug on a 9600 com1 port... and it works soo good.. 

May be when you are 55 (or 64 as the beatles song)... you will use
konsole and the boys  will use
some kind of brain cortex  wired interface
I started to take BSD serious when 2 years ago I was in a meeting of
linux users...
they all showed those wonderful interfaces, light speed programs, and  a
zillion things
they could do with linux...  I became very impressed... than I asked...
who else is using
all this stuff??  I mean which company, how many users?? how many
systems installed
and running for how long???   well... no answers... got
Than I asked them why don't they code an commercial application with all
that power???
again... none

Than I said that I coded applications for hundred users on DEC, and
VAX... They laugh on
me... than I sit in my home and coded a 200K lines of an complete ERP
for fuel stations...
and in 3 years I am back to the hackers show... Now they have kde 3.5.5
and gnome 2.18
and NO ONE application program... still... May be my method is not
productive, I still use
GDB and CSCOPE  but for sure produces good result at last.   Now I
admin more than 200 BSD computers. 
in the old fashion way... with an mtbf of 15 years..  The next invention
here is BSD for
notebooks... an special blended  BSD that will be installed in more
than 5000 notebooks
a year here... the project will begin to roll in some months


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


Re: Restore /libexec/ld-elf.so.1

2007-03-05 Thread Sergio Lenzi
Em Seg, 2007-03-05 às 08:33 -0500, Huy Ton That escreveu:

 I renamed this file and now I cannot boot up anymore... How can I restore
 this file?  Help


The easy way:
1) Boot from the FreeBSD 1 boot cd (that one with 680Mb...)
2) choose repair 
3) fsck the /dev/adXs1a (X is 0,1 depending of your machine
setup...)
4) mount the /dev/adXs1a on /mnt
5) restore the libexec  .  if you have removed them..  copy from the
CD
that is mounted on /dist

Hope it can help

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


bsdstats

2007-03-03 Thread Sergio Lenzi
Hello all

I setted up several bsd  servers that are terminal servers running
gnome 2.16.3..  the machines runs about 10 to 40 thin clients running
FreeBSD.

Question:  Does the thin clients count as Freebsd servers in bsdstats???

if so.  It will add about 400 servers in the list



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


Re: bsdstats

2007-03-03 Thread Sergio Lenzi
Em S?, 2007-03-03 às 09:27 +0100, [LoN]Kamikaze escreveu:

 Sergio Lenzi wrote:
  Question:  Does the thin clients count as Freebsd servers in bsdstats???
 
 If each client runs the bsdstats script and has its own hostname, yes.
 


Yes. that is the case... the thin clients have hostnames like:
cob.propagar, julia.propagar, comercial5.propagar

that is: there is an internal NIS domain with DNS for email routing.. 
and we expect to have several by the end of this year... where will be
freebsd by the dozen...
when the thin clients boots, it executes the script
daemon /usr/local/etc/periodic  
is that right???  or should execute the script only once a month???

Thanks for any tip.

Sergio

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


gnome art exec error

2007-02-21 Thread Sergio Lenzi
hello.. I have a problem with
gnome-art on gnome 2.16.3  in my computers
it does not runs, gives exec error.

FreeBSD 6.1, Ruby-1.8.5, Ruby-gnome2 0.16.0

an installed ruby-libglade, and test programs runs ok...


error message:

/usr/local/lib/ruby/site_ruby/1.8/libglade2.rb:105:in
`guard_source_from_gc': undefined method `signal_connect' for
nil:NilClass (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/libglade2.rb:98:in
`guard_sources_from_gc'
from /usr/local/lib/ruby/site_ruby/1.8/libglade2.rb:97:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/libglade2.rb:97:in
`guard_sources_from_gc'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:602:in 
`initialize'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:602:in `new'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:602:in 
`init_glade'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:767:in 
`initialize'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/gnome_art.rb:130:in
`new'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/gnome_art.rb:130:in
`main'
from /usr/local/bin/gnome-art:25


Any help???   please
seems that libglade is trying to defide a signal for nil (null).


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


The BBC survey....

2007-01-25 Thread Sergio Lenzi
Hello alll

Even FreeBSD, or even any BSD (ok, OSX is BSD...) is mention in
the BBC survey, I notice that:
1) They claim that 90% of the persons use windows, but in the
publish list, is just the contrary... only 2 ones use windows,
and like it, and one of them just for games
2) The person that likes windows vista, likes it because he
can make a good backup to save things when he lost them,
this shows a common thing that happens when you use windows... (you
will lost something)...
so you need backups, winzips, winrars, avg, norton...  and zilions
of useless things
that make your computer work better..  when in reality, all you need
is a good gnome 2.16 or 
a kde 3.5.4...
3) 90% of the persons use the computer to write documents, access
internet, and use email.
so the number or persons using Mac and Linux is rasing
4)  To use the vista, probably you will need an upgrade... (a good
graphics for directx10,
64bit cpu, and 2 gb of memory...)  here will cost 1000 dollars.. 
5) more than half of the persons were windows users and switched to OSX
or Linux

Here in my country (Brazil) I am selling notebooks with FreeBSD and
gnome 2.16
to high executives. and is doing well.. so it shows that the success of
the computer
is in the easy of use and not in the features it has  The more
important the person
in the company, the easy to use and less features must have the
computer. so
for me, gnome is the best choice.

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


Re: Hairy Cats and mice and FreeBSD

2007-01-20 Thread Sergio Lenzi
Em S?, 2007-01-20 às 10:03 -0500, Bob escreveu:

  Hi:
 
 I Live with a very hairy, large, Main Coon cat called Tania; she sheds
 tons of fine hair all over the place. She is a Mouser, and proudly rids
 our home (a boat) of all sorts of mice. Unfortunately she also kills
 Computer mice! Therein lies my problem.


Hello... I love cats... (I have an himalaian...) would you please send
me
a picture of your Maine Coon here in Brazil is hard to find and
very expensive..

Congratulations... I envy you.

Cheers,

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


Re: Flash 9

2007-01-19 Thread Sergio Lenzi
   
 What would happen if one used the linux-alsa-libs from ports?  Would 
 that help with sound?

Does not work also... the library does not recognize the sound
hardware
besides it crashes some minutes after starting...  May be a problem
with 
the thread library... must be reworked.

Well as I said... I would bet in the gnash team... 



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


Re: the flash 9 player....

2007-01-19 Thread Sergio Lenzi


 
 I would love to see that work, but sync'ing the audio and video may be
 problematical.
 
 FWIW ...
 
   John
 

I tested the lastest version 0.7.2 it is better than the previous but
is missing the ability to play movies   about the sync of audio and
video
once the file is in the flv format, mplayer plays it very well with no
problem
and very low cpu consume

the original mplayer from macromedia  crashes because the mozilla
calls NP_Shutdown and the macromedia plugin does not get initialized
correctly by the mozzila  (I am using epiphany)...

I think that gnash is a good aproach... it forks a process and
so if it crashes, does not crash the browser... 


Not a good solution now.


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


the flash 9 player....

2007-01-18 Thread Sergio Lenzi
I was just wondering... 

I tested the player  of the gnash project... 

seems that a good aproach would get the flv file and 
pass it directly to the mplayer using the window-id 

The mplayer than sure decodes the flv file with good
image and sound

I will spend some time this week on that


Lenzi

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


Re: i finally got wireless working

2006-12-18 Thread Sergio Lenzi
Hello Jonathan...

I configure the wireless in the /etc/dhclient.conf



interface ndis0 {
send host-name lMy computer;
prepend domain-name  cwb.casa  ;
media media autoselect authmode open wepkey -,
ssid bsdnet,
ssid vex,
ssid default,
ssid lenzinet,
ssid Zaitter,
ssid 'Crystal Wireless',
ssid TelleWireless authmode shared wepkey 0XE235485511 deftxkey
1,
ssid OndaRPC wepkey ondaondaondao deftxkey 1,
ssid VoyzeBrazil wepkey 1:0x7440169407 deftxkey 1,
ssid lenzinet wepkey 1:13825 deftxkey 1,
ssid ENGNOTE wepkey 1:0x0011AABBFF deftxkey 1,
ssid lenzicasa wepkey 1:13825 deftxkey 1;
}

for example   

when I turn on the computer  (a notebook hp pavilion v6600)...
it searches for the wifi points... when it finds some that fits,
it stops and configure the interface acording

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


hp 1020 printer not working

2006-11-09 Thread Sergio Lenzi
Hello... has anyone been able to make an HP1020 printer
work in FreeBSD 6.1-RELEASE

it finds the printer, attaches it, but when I try to boot the rom code
(shihp1020.img)
it blocks ... for the trace below you can see that it does not open the
printer,
usb status is 0x00  and error is 15

Have any solution to this


Thanks in advance

Sergio
=

Nov  9 19:35:07  kernel: ulpt0: detached
Nov  9 19:35:21  kernel: ulpt_match
Nov  9 19:35:21  last message repeated 2 times
Nov  9 19:35:21  kernel: ulpt_attach: sc=0xc49e9080
Nov  9 19:35:21  kernel: ulpt0: Hewlett-Packard HP LaserJet 1020, rev
2.00/1.00, addr 2, iclass 7/1
Nov  9 19:35:21  kernel: ulpt0: using bi-directional mode
Nov  9 19:35:21  kernel: ulpt0: debug 1
Nov  9 19:35:21  kernel: ulpt_attach: bulk=1
Nov  9 19:35:27  kernel: ulptopen: flags=0x40
Nov  9 19:35:32  kernel: ulpt_status: status=0x00 err=15
Nov  9 19:35:32  kernel: ulpt_open: waiting a while
Nov  9 19:35:38  kernel: ulpt_status: status=0xe0 err=15
Nov  9 19:35:38  kernel: ulpt_open: waiting a while
Nov  9 19:35:43  kernel: ulpt_status: status=0xe0 err=15
Nov  9 19:35:43  kernel: ulpt_open: waiting a while
Nov  9 19:35:48  kernel: ulpt_status: status=0xe0 err=15
Nov  9 19:35:48  kernel: ulpt_open: waiting a while
Nov  9 19:35:53  kernel: ulpt_status: status=0xe0 err=15
Nov  9 19:35:53  kernel: ulpt_open: waiting a while
Nov  9 19:35:55  kernel: ulpt0: at uhub2 port 3 (addr 2) disconnected
Nov  9 19:35:55  kernel: ulpt_detach: sc=0xc49e9080
Nov  9 19:35:59  kernel: ulpt_status: status=0xe0 err=15
Nov  9 19:35:59  kernel: ulpt_open: waiting a while
Nov  9 19:35:59  kernel: ulptopen: done, error=6
Nov  9 19:36:09  kernel: ulpt0: detached

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


Re: snd_hda driver for 6.1 now working

2006-11-04 Thread Sergio Lenzi


 Sergio, sorry, but you missed the [HEADS UP], and did it all wrong.



 It is not because of the chip cannot do DMA larger than 4k. It is
 because your hardware combination. 



Agree... in that notebook there is a problem with DMA. the
nautilus-cd-burner complains about it...



 Smaller DMA means higher interrupt
 rate, and your chip need to compete with other peripherals to combat
 with that. All this can be solved by just using
 hint.pcm.0.buffersize=4096 without any single driver source tweak.
 Note that you probably don't even need this tunable hint if you using
 the above lowlatency (which itself need another HEADS UP)
 patch/module.


Thanks very much for your infomation... I will fix my installation with
that patch in
the /usr/src/sys   directory... 

I tried to change the buffersize to 4096 or less but still does not
worked   the modules
fails to run in my 6.1-RELEASE because of a call to mix_setparentchild
that does not exists
in the sound.ko module in the 6.1 RELEASE...  so I had to comment the
code too...

Anyway was for me a good exercise  watching  how the module is coded
( I have much to learn
from the masters, like you) 

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


snd_hda driver for 6.1 now working

2006-11-02 Thread Sergio Lenzi
Hello all 

after trying to set up the sound on the 6.1 RELEASE  on a acer aspire
3100
notebook, I realise that the driver for the sound chip was the HDA
(high definition audio)

That notebook use a realtek version of the sound ship.  

The code I get in the internet does not compile in the 6.1-RELEASE
it complains about some
missing entry points in the sound.ko module (that exists in the -current
kernel).

I do not want to to use the CURRENT so I fixed the code to work with the
6.1-RELEASE..the main problem was the distorted sound it produces
The problem was that the realtek chip was not able to make dma
larger than 4096 bytes long   a small fix in the hdac.c code did the
trick

Just get the file http://www.k1.com.br/downloads/snd_hda.tar.gz 
unpack it and do o make;make install 
inside the directory created   (you must have the kernel sources
installed)


EnJoy


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


the real player port

2006-08-20 Thread Sergio Lenzi
Em Dom, 2006-08-20 às 11:19 -0700, Matt Olander escreveu:

 Hi all,
 
 I met with a developer of the Real Player at Linux World. She says they 
 would *love* to port a native version of the Real player to FreeBSD. 
 Yay! She even showed me that they have an older FreeBSD dev environment 
 set up and are ready to start to try compiling it for release after we 
 get it up to date.
 
 We need a couple of FreeBSD experts to assist with 
 questions/expertise/feedback to make sure this gets finished ;-)
 Please send me your name/email off list and I'll reply to her with a 
 shortlist of who can help them.
 
 Thanks!
 -matt
 
 -

Hello Matt,,,

I use only FreeBSD here and I realise that to play real media I use xine
or mplayer(kmplayer)
they are faster than real player, never locks, and plays everything
encoded with real media...

Indeed, the last xine is amazing... just install it with all the
options
it runs all windows codecs, plus divx, dvd,vcd, cd, mp3, mp4, mpg,
quicktime... 


Thanks for your attention

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


Re: Cheap terminals for FreeBSD

2006-08-08 Thread Sergio Lenzi
Em Ter, 2006-08-08 às 00:18 +0200, Nagy László Zsolt escreveu:
Hello

Here I have several units running FreeBSD 6.1 with diskless
using a big server and several clients (20-30) thin clients...

it is very fast..  (the openoffice starts in 5 seconds...)...

I recomend:

1) server AMD64 socket 939 with 2Gb of memory, network adapter Gigabit
ethernet.
200Gb hd,  gnome 2.14 or 2.15 installed packages: gnome2,
gnome2-fifht-toe, gnome2-power-tools,
linux-flashplugin7, java jdk1.4, mplayer-plugin, xine.azureus,
openoffice.org-2.0.2

2) thin clients:  any machine with 64Mb of memory 100mbits ethernet,
sound, usb. 
video of 1024x768 16 bits...  

3) switch with a gigabit port  any (planet, encore...)   I do not
see any difference from a 3com...

4) FreeBSD 6.1 on the server with a kernel prepared to boot on PXE.
(see the manual...)

it is cheap (here the server is about 600 dollars for 40 clients -
about 15$ for client...
I bought the peaces and mount it... asus MB... sata
there is no mouse/keyboard/monitor on the server... and is incredible
fast...
the main trick is to index the icons for the gnome-desktop on server
startup... it works
great using epiphany, gimp, evolution, ekiga(runnin on the client...),
gaim, openoffice, azureus...
about 640 packages installed..  the server runs about 1200 tasks, with
idle of 80-90 %.

Now I am considering using thin clients from http://en.xynetsoft.com

for you to have an idea check a desktop screenshot  at:
http://www.k1.com.br/screens/tela1.jpg
this is the result of a screenshot in the thin-client...   The language
used is  portuguese, but you
can have an idea of...

Sergio.

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


Re: Cheap terminals for FreeBSD

2006-08-08 Thread Sergio Lenzi
Em Ter, 2006-08-08 às 21:20 +0200, Nagy László Zsolt escreveu:

   Hello Sergio,
 
 You are the guy that I was waiting for. :-) Now I know for sure that it 
 will work.

I am glad I could help you 
have you seen the desktop image


 I only have one question. How do you setup the sound card? The programs 
 are running on the server, right? Then how can use use the sound card?
 Is it that 'noisy' programs are running from the diskless machines? Or 
 do you use TCP/IP based sound servers?
 Thanks,
 

I use the esound esd running on the thin client... I set up the sound on
the gnome sound
pointing to ESD ... it uses the $DISPLAY env and works
the freeBSD kernel on the thin client loads the sound module based on a
configuration
per thin-client using kldload... there is a configuration saved in the
server for each
thin client... and the /usr filesystem is shared... 

I use BSD on the SUN 4 with diskless boot... back in the years 198X

so was quite easy to remember how things were done at that time...
if it works on a 286 speed machine... why will not on an AMD 64???

I am 54  and work with UNIX since the 197X  on VAX...   

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


Re: firefox + flash translation

2006-07-18 Thread Sergio Lenzi
Em Ter, 2006-07-18 às 14:14 +, Christopher Hobbs escreveu:

 Greetings all!
 
 I was thumbing through the archives and noticed that someone posted a link to
 the following site:
 
 http://www.unixlike.com.br/?p=%2081
 
 They mentioned they couldn't read the language it was written in, so I
 translated it.  Hopefully this will help some people.  It was written in
 Brazilian portuguese.  My translation is available at:
 
 http://altbit.org/pseudorandom/unixlike_translation.txt
 
 
 Warm regards,
 cmh


Thanks Cmh... it was time to translate to some more international
language...
even if portuguese is an easy language (here the kids about 3 years old
speak it very well...)
the information should be shared in english

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


FreeBSD smp

2006-06-20 Thread Sergio Lenzi
Hello,

Is SMP enabled in the GENERIC kernel? I have a hyperthreading box, and
on
Linux it shows up with two cpus. When I do a top on the box in FreeBSD I
still
see only one CPU. Also, sysctl -a | grep cpu only shows a dev.cpu.0. 


You must set :

machdep.hyperthreading_allowed=1


in /boot/loader.conf.


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


Re: FreeBSD is #1

2006-06-12 Thread Sergio Lenzi


 While trying to introduce FreeBSD into a Micro$oft only house, I've heard the 
 following many times:
 
 Never heard of FreeBSD and Show me some documentation and stats.
 
 Regardless of the actual version, the stats are accurate for those providers. 
 They reflect overall uptime and connectivity. This isn't about version, it's 
 about FreeBSD gaining a firmer foothold in a Micro$oft / Linux dominant 
 world. Personally, I'll take all the help I can get.
 
 'nuff said,
 
 Beech
 

Here we try to offer the FreeBSD to the concorrents  of the house...
as the
concorrents now have less cost,  more reliable servers, and a good
group/collaborative server running on FreeBSD 6.X..
htp://www.open-xchange.org 
they still can use the corporate software (via terminal server,
rdesktop)... now
they use internet (epiphany) email (evolution, linked with the
open-xchange server)
office (via openoffice 2.0.2)  about 1200 thin clients (64Mb memory,
400mhz  geode cpu...)
and about 6 FreeBSD servers... soon they will have to rethink next year
budget...  it will
be impossible to change 400 or more computers to 64 bit architeture for
run next 
Microsoft vista... at about 1000 dollars (or more) for a hardware +
software upgrade

Only an upgrade of the Microsoft exchange server how much will cost??? 

Well the concorrent of the same business have it running now, on the
laptops...
running FreeBSD, gnome 2.15 with hal  -  http://www.freedesktop.org   

How much does this all cost???  about 50 dollars/user/year.. including
training...

An average user (the less he know windows, better) is able to use the
full power
of the system with about 3 hours of trying... 90% of the users have been
using the
system with only the help from the neighbors ... 
Only the best ones (those who earn more salary, because have many
curses
from microsoft)  were still looking for the C drive,  or the outlook
to
use email... a day or two after...

I know that there are advertyzing... in the news telling that using
Microsoft is
cheaper and better is up to you to believe...

Here we used to say that Microsoft builds   full informational
computerized tables
a table where you can scan, print, produce document, some work, play
music,
video, some games...   

But a bunch (no mather what is the number of...) tables does not means
an 
informated  company... 

I came from SUN... where the computer is the network... when i need
something I get from the network... 

Why do I need a printer driver  what is a C drive??? what is a
zip???
how can  a teen ager in a high school in another part of the world can
spoil
my computer??? why do I need to pay for protection??? 
Here in my country is illegal... All I want do to is to do my job... 

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


Just an idea..

2006-06-11 Thread Sergio Lenzi
Hello...

I was thinking  well it was 2 months ago...

FreeBSD I think is one of the most amazing opearting system
ever coded...   Stable, fast... etc... etc...

The interfaces (Xwindow, with Kde, Gnome) have reached a very
good level of usage, stable..

There are several problems still??? Sure there are... Now we  at 
thinking in introduce FreeBSD running for desktops (using gnome 2.14,
2.15)

We are not talking about dozens   but about thousands/month   so this
will produce enough money to invest in the development of the 
operating system and the fix  of bugs in the FreeBSD + gnome...

We are thinking in hiring people in internet and pay  (ebay...)  some
$$   (good money)
for fix bugs in the FreeBSD + gnome..   The fixes will have GPL,  and
will improve
the quality of FreeBSD... I know that is not too much money but about
5000 US$  a month
is a good target

Please I want to hear from you all about .


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]


Re: accidently deleted /lib/libm.so.4 and /lib/libc.so.6

2006-06-11 Thread Sergio Lenzi
Em Dom, 2006-06-11 às 12:55 -0400, Kris Kennaway escreveu:

 On Sun, Jun 11, 2006 at 11:21:43AM +0100, Soo-Hyun Choi wrote:
  Hi,
  
  I accidently deleted /lib/libm.so.4 and /lib/libc.so.6 on my FreeBSD
  6.1 RELEASE systsem. After this, even 'ls' command is not working.
  
  Is there any possibility that I can restore the system?
 
 You can use the tools in /rescue to help recover from a backup
 copy..if you don't have a backup copy accessible then you may have to
 reinstall.
 
 Kris


Easy...
1) boot from install cd (cd1)
2) choose rescue
3) wait for the system to boot with the / filesystem on the CD (or
memory...)
4) fsck -y /dev/ad0s1a (or the root filesystem in the hd...)
5) mount /dev/ad0s1a /mnt  (mount the hd filesystem)
6) cd /
7) tar cf - lib | tar xvf - -C /mnt  (this will restore all the libs you
needed from the distribution CD)
8) fastboot  (reboot the system..., should work.)...



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


Re: FreeBSD on laptops

2006-06-10 Thread Sergio Lenzi
Hello...
I have here running on an HP pavilion zv6000 with all enabled...
gnome2.14 + flash7 + wireless + kernel 6.1 + java. + multimedia(all
types and plugins: rmv, avi, asf)
+ dvdRW..., openoffice 2.0.2 java 1.4, 1.5, eclipse, jdk,
monodevelop 
the broadcom wireless built from the ndis windows driver...
All running on FreeBSD 


Is amazing... in fact, we are starting do ship notebooks with FreeBSD in
1-2 months...
the primary users will be high executives, decision chain persons, that
will operate Kontact + evolution
linked to a Open-Xchange servers... 

Their  needed for secure machines, with an secure operating system, that
is imune to virus , spywares,
with a vpn (using ppp over ip) that in case of lost, robbery, can be
used to track down the machine
or simply wipe out the operating system and do not expose the
information inside...  
a secret key on the loader, prevents the machine from being used in
single user, so one machine can
be safetly be used with more than one person in the company...
Besides, each notebook  (a turion amd64...)  can be used as a FreeBSD
diskless server, and when activated,
almost every machine on an lan that connects with it, can be used with
as a diskless client using 
PXE boot (available on almost every PC now... including the
notebook...).




I can send  some screen shots if you are interested...


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


Re: FreeBSD on laptops

2006-06-10 Thread Sergio Lenzi


 If you looking for a first time BSD desktop (KDE) then try PC-BSD. and
 If you can't get that to run (PC-BSD is based on FreeBSD) give SuSE
 10.1 a go.
 
 

Good  option I tried... fast easy... the version is still 5.X ... but is
good...
it is KDE  based



On the HP  series,  due to a hardware problem in the keyboard,  it locks
just ast you 
load the kernel... 

solution: Boot with a patched keyboard kernel (the one that does not
test the hardware...)
google points..  

Again I recomend the 6.1  kernel... and  gnome.. 2.14 or 2.15   is
ligher than kde, and
easy for the end user   2.15 with HAL implementation is amazing

We notice here that users (those who just want to use the computer) 
does better with gnome (less options, less thing to confitgure)

They just want to read email, use office, som multemedia... internet...
and 
a groupware package linked to the evolution ...  in my case, the
open-xchange software


Lenzi

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


The FreeBSD 6.0 ISO cd...

2006-02-13 Thread sergio lenzi
Hello

I am a FreeBSD user  for a long time, but now
I have a question about the ISO cdrom 

In FreeBSD 6.0-release, disk1 iso image 
it shows mounted in my FreeBSD release
the folowing information from mount...

Filesystem 1K-blocks   Used Avail Capacity  Mounted on
/dev/acd0 588840 588840 0   100%/cdrom

a command du -s   shows 1013144
[EMAIL PROTECTED] du -s .
1013144 .

=
If I copy the contents of the cdrom to another
directory in the file system it shows 1013144 too...

I need to make a new cd1 with xorg version 6.9.0
and some packages for my own use... but I was
unable to rebuild the cd... with an 600Mb size...

My question is:
Where can I find a documentation about the way
the FreeBSD 6.0 release cd1  is built

I try the make buildworld and make release but
it does not build the iso image

The ducumentation on the handbook and in internet
is about the 5.x or 4.x 

Please thanks for any help.

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


Re: The FreeBSD 6.0 ISO cd...

2006-02-13 Thread sergio lenzi
Em Seg, 2006-02-13 às 14:32 -0500, Lowell Gilbert escreveu:

 sergio lenzi [EMAIL PROTECTED] writes:
 
  I need to make a new cd1 with xorg version 6.9.0
  and some packages for my own use... but I was
  unable to rebuild the cd... with an 600Mb size...
  
  My question is:
  Where can I find a documentation about the way
  the FreeBSD 6.0 release cd1  is built
 
 man release

Ok I try to investigate what the system does in a 
make release... 
the problem is that I do not have enough disk or cpu/memory
for a complete build workd  make release

I see that at some point in the Makefile it tries to execute a
mkisoimage.sh
from the i386 directory

the same command executed against the original CD directory tree
(produces
the same 1052Mb filesystem...(of course, it does not fit on a CD)

Can someone point me another idea of how to compress  the CD???

I tried the mkuzip but it result in a shell script that, will not
boot
from a burned  CD


Thanks for any help,


Sergio


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