Re: Fast personal printing _without_ CUPS

2011-10-30 Thread Frank Shute
On Sat, Oct 29, 2011 at 07:28:24AM -0400, Jerry wrote:

 You cannot even get a decent N - protocol wireless device, or even
 a not so decent one for that matter, to work on FreeBSD while the
 rest of the world has had working solutions for 5 years. What the
 hell are they waiting for -- the second coming of the invisible man
 in the sky? Friggin PATHETIC. 

IEEE 802.11n-2009 was only published 2 years ago.

http://en.wikipedia.org/wiki/IEEE_802.11n-2009#Timeline

Can we have enough of you whining about no n? Thanks.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpWGa1H3T9hm.pgp
Description: PGP signature


Re: Wine-fbsd64 updated to 1.3.31 (32bit Wine for 64bit FreeBSD)

2011-10-30 Thread Romain Garbage
2011/10/25 David Naylor naylor.b.da...@gmail.com:
 Hi,

Hi,

 Packages [1] for wine-fbsd64-1.3.31 have been uploaded to mediafire [2] and
 the wine-fbsd64.diff patch has been updated.  There is a known UDP related
 problem with wine (see http://markmail.org/message/i7rtfz7uxd5s4fvl for
 details).

 To date there has been 1217 (+70) downloads from mediafire.

 The patch [3] for nVidia users is now included in the package and is run on
 installation (if the relevant files are accessable).  Please read the
 installation messages for further information.

$ sudo pkg_add Downloads/wine-fbsd64-1.3.31,1.txz
tar: /usr/local/share/wine/patch-nvidia.sh: Cannot stat: No such file
or directory
tar: Error exit delayed from previous errors.
A NVIDIA GRAPHICS DRIVER HAS BEEN DETECTED ON THIS SYSTEM AND THE AUTOMATED
PATCHING HAS FAILED, execute (as root)
sh /usr/local/share/wine/patch-nvidia.sh
to get 2D/3D acceleration to work with the nvidia driver.  Without this wine
will crash when a program requires 2D/3D graphics acceleration.
[...]

$ file /usr/local/share/wine/patch-nvidia.sh
/usr/local/share/wine/patch-nvidia.sh: cannot open
`/usr/local/share/wine/patch-nvidia.sh' (No such file or directory)

$ tar tf Downloads/wine-fbsd64-1.3.31,1.txz | grep -C 2 nvidia
bin32/wmc
bin32/wrc
usr/local/share/wine/patch-nvidia.sh
share/wine/fonts/coue1255.fon
share/wine/fonts/coue1256.fon

The problem here seems to be the trailing usr/local/ for
patch-nvidia.sh file, which get actually installed into
$PREFIX/usr/local/share/wine instead of $PREFIX/share/wine

Regards,
Romain

PD: I used the fbsd9 package. md5 is ok.
___
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


[OFFTOPIC] Solution for school lab

2011-10-30 Thread Peter
Hi,

I am about to setup a small PC lab for teaching operating systems. Since
computers will need to be used for teaching
Windows/Unix(FreeBsd)/Linux(Novell) I need to find a way:

1. Systems to coexists on the same hardware
2. Easily restore system images to the initial state.


I do not want  we to turn into Windows only lab.I was thinking in for
some Citrix solutions but I wonder if there is other way we can
accomplish this task.

Thanks in advance.

Peter
___
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: [OFFTOPIC] Solution for school lab

2011-10-30 Thread Rares Aioanei
On Sun, 30 Oct 2011 12:01:20 +0200
Peter pe...@aboutsupport.com wrote:

 Hi,
 
 I am about to setup a small PC lab for teaching operating systems. Since
 computers will need to be used for teaching
 Windows/Unix(FreeBsd)/Linux(Novell) I need to find a way:
 
 1. Systems to coexists on the same hardware
 2. Easily restore system images to the initial state.
 
 
 I do not want  we to turn into Windows only lab.I was thinking in for
 some Citrix solutions but I wonder if there is other way we can
 accomplish this task.
 
 Thanks in advance.
 
 Peter
For 1. you can always setup triple-boot machines, for 2. you can use 
Clonezilla, for instance. 


-- 
Rares Aioanei
___
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: [OFFTOPIC] Solution for school lab

2011-10-30 Thread Mark Blackman
On 30 Oct 2011, at 10:01, Peter wrote:

 Hi,
 
 I am about to setup a small PC lab for teaching operating systems. Since
 computers will need to be used for teaching
 Windows/Unix(FreeBsd)/Linux(Novell) I need to find a way:
 
 1. Systems to coexists on the same hardware
 2. Easily restore system images to the initial state.
 

Diskless booting perhaps, along the lines of this project at ICL in London.

http://www.ukuug.org/newsletter/19.2/#hpc_f_andy_



___
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: Fast personal printing _without_ CUPS

2011-10-30 Thread Jerry
On Sun, 30 Oct 2011 08:25:11 +
Frank Shute articulated:

 On Sat, Oct 29, 2011 at 07:28:24AM -0400, Jerry wrote:
 
  You cannot even get a decent N - protocol wireless device, or even
  a not so decent one for that matter, to work on FreeBSD while the
  rest of the world has had working solutions for 5 years. What the
  hell are they waiting for -- the second coming of the invisible man
  in the sky? Friggin PATHETIC. 
 
 IEEE 802.11n-2009 was only published 2 years ago.

 http://en.wikipedia.org/wiki/IEEE_802.11n-2009#Timeline
 
 Can we have enough of you whining about no n? Thanks.

I was using the early draft 'N' protocol devices 5 years ago.
Obviously not in a FreeBSD environment. The time to start planning for
change is not when it slams you in the face, but rather anticipating it
and being prepared. There is no way any individual can claim that they
were not aware this was happening. Now, as you pointed out 
IEEE 802.11n-2009 was only published 2 years ago. So what is your
point --  that we should wait another 5 years before addressing the
problem? I am serious here; give me a time frame. Then post it on the
FreeBSD web site so potential users will be aware of this deficiency.
Or perhaps it is your belief that we should skip over this protocol
entirely and wait until the Q or whatever letter is designated
protocol is released. After all, it just stands to reason that at some
time in the future someone will devise a faster and/or more secure
method of wireless transmission.

The biggest loser in this is FreeBSD itself. Virtually any new PC or
laptop, with the exception of the bargain basement brands, and even
some of them are exempt, now come with N protocol wireless devices.
Any user who purchases one of these devices and plans on employing a
wireless network finds him/her self at a disadvantage. Their options
are to use a better OS, or buy and install a cheap G protocol device.
That is like buying a new car and slapping a ten year old motor in it.

I actually up to a few years ago had three FreeBSD machines hooked up
on my network not counting three separate laptops. I now only have one
machine because of the lack of suitable drivers. Once I get ambitious
this spring and rip out the last vestiges of hard wiring, that unit will
be gone too if drivers aren't available. Then I might try Ubuntu. Their
developers apparently do care about their user base.


-- 
Jerry ✌
jerry+f...@seibercom.net

Disclaimer: off-list followups get on-list replies or ignored.
Do not CC this poster. Please do not ignore the Reply-To header.

http://www.catb.org/~esr/faqs/smart-questions.html
___
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: Fast personal printing _without_ CUPS

2011-10-30 Thread C. P. Ghost
On Sun, Oct 30, 2011 at 1:13 PM, Jerry je...@seibercom.net wrote:
 The biggest loser in this is FreeBSD itself. Virtually any new PC or
 laptop, with the exception of the bargain basement brands, and even
 some of them are exempt, now come with N protocol wireless devices.

Instead of devoting so much time and energy whining about the
problem here on-list, even though you know full well that we can't
do anything about it for known reasons... why won't you lobby the
manufacturers of N devices, so that they either open their specs,
so we can write a driver, or at least release binary blobs compatible
with FreeBSD? Wouldn't that be more productive? You're very
outspoken on some aspects, so put that rhetorical skill to good use
and contact the major wireless chipset vendors; and then follow up
with them if you don't get the reply you want, just as you do here
on-list.

-cpghost.

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


Re: Wine-fbsd64 updated to 1.3.31 (32bit Wine for 64bit FreeBSD)

2011-10-30 Thread David Naylor
Hi Romain,

Thank you for the report.  I will address this over the coming week
and update the
packages.

In the interim, the packages will work for both nvidia and non-nvidia users
except nvidia users will need to run patch-nvidia-wine.sh (from mediafire)
manually...

Regards

On 30 October 2011 13:07, Romain Garbage romain.garb...@gmail.com wrote:
 2011/10/25 David Naylor naylor.b.da...@gmail.com:
 Hi,

 Hi,

 Packages [1] for wine-fbsd64-1.3.31 have been uploaded to mediafire [2] and
 the wine-fbsd64.diff patch has been updated.  There is a known UDP related
 problem with wine (see http://markmail.org/message/i7rtfz7uxd5s4fvl for
 details).

 To date there has been 1217 (+70) downloads from mediafire.

 The patch [3] for nVidia users is now included in the package and is run on
 installation (if the relevant files are accessable).  Please read the
 installation messages for further information.

 $ sudo pkg_add Downloads/wine-fbsd64-1.3.31,1.txz
 tar: /usr/local/share/wine/patch-nvidia.sh: Cannot stat: No such file
 or directory
 tar: Error exit delayed from previous errors.
 A NVIDIA GRAPHICS DRIVER HAS BEEN DETECTED ON THIS SYSTEM AND THE AUTOMATED
 PATCHING HAS FAILED, execute (as root)
        sh /usr/local/share/wine/patch-nvidia.sh
 to get 2D/3D acceleration to work with the nvidia driver.  Without this wine
 will crash when a program requires 2D/3D graphics acceleration.
 [...]

 $ file /usr/local/share/wine/patch-nvidia.sh
 /usr/local/share/wine/patch-nvidia.sh: cannot open
 `/usr/local/share/wine/patch-nvidia.sh' (No such file or directory)

 $ tar tf Downloads/wine-fbsd64-1.3.31,1.txz | grep -C 2 nvidia
 bin32/wmc
 bin32/wrc
 usr/local/share/wine/patch-nvidia.sh
 share/wine/fonts/coue1255.fon
 share/wine/fonts/coue1256.fon

 The problem here seems to be the trailing usr/local/ for
 patch-nvidia.sh file, which get actually installed into
 $PREFIX/usr/local/share/wine instead of $PREFIX/share/wine

 Regards,
 Romain

 PD: I used the fbsd9 package. md5 is ok.

___
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: Fast personal printing _without_ CUPS

2011-10-30 Thread Jerry
On Sun, 30 Oct 2011 13:59:58 +0100
C. P. Ghost articulated:

 On Sun, Oct 30, 2011 at 1:13 PM, Jerry je...@seibercom.net wrote:
  The biggest loser in this is FreeBSD itself. Virtually any new PC or
  laptop, with the exception of the bargain basement brands, and even
  some of them are exempt, now come with N protocol wireless
  devices.
 
 Instead of devoting so much time and energy whining about the
 problem here on-list, even though you know full well that we can't
 do anything about it for known reasons... why won't you lobby the
 manufacturers of N devices, so that they either open their specs,
 so we can write a driver, or at least release binary blobs compatible
 with FreeBSD? Wouldn't that be more productive? You're very
 outspoken on some aspects, so put that rhetorical skill to good use
 and contact the major wireless chipset vendors; and then follow up
 with them if you don't get the reply you want, just as you do here
 on-list.

Seriously, are you so naive that you believe that his is the only
venue I use to express my feeling on these matters? I have been
pestering several corporations for over two years now. I have even
spoken to several of their representatives, including a developer from
Brother recently in regards to making drivers easily available to
operating systems other than Microsoft, and usually a few flavors of
Linux. The contact I had at Brother was actually a Linux user himself.

In all cases, no matter what the device I was inquiring about was, the
standard answer was that they -- meaning the OEM -- could not see any
upside to investing in the development and maintenance of drivers for a
community as fragmented as the non-windows frontier. A few actually
told me to use Linux instead since they did offer some support for that
architecture. One company, I believe it was Cisco, told me that FreeBSD
does not support the system calls it needs to make its devices work
correctly. I am not a system engineer and since he was talking above my
head I just let it go. However, considering that nVidia had to wait
years for FreeBSD to mature enough for it to get its drivers functional
under this environment I can easily believe that there is more than a
grain of truth to the statement.

As for releasing technical details, etcetera, I was told point blank
that such information was confidential and would not be released. Now
that I can at least agree with. Unlike many socialists, I don't believe
in working my ass off, spending X amount of dollars and then just giving
my work away freely to every dirt bag to clone.

I write several major vendors on a monthly basic. Sometimes even using
different names so they might falsely believe that there is a larger
base than actually exists to request support. Now, suppose you were to
join me. Perhaps a few thousand other users, in other words all the
FreeBSD base, and wrote on a bi-weekly schedule to a targeted vendor
base requesting support. I will be happy to supply my own personal list
and compile other pertinent vendor's names  address's as well.

The only problem I see with this approach is maintaining continued group
support. The tendency of people to just give up and quite is self
evident. Now, as you might have noticed I don't suffer from that trait.
It is the primary difference between an Alpha male and one who just
bends over and takes it.

In any event Ghost, contact me if you want to help, just don't expect to
get any followers.


-- 
Jerry ✌
jerry+f...@seibercom.net

Disclaimer: off-list followups get on-list replies or ignored.
Do not CC this poster. Please do not ignore the Reply-To header.

http://www.catb.org/~esr/faqs/smart-questions.html
___
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: Fast personal printing _without_ CUPS

2011-10-30 Thread Polytropon
On Sun, 30 Oct 2011 09:48:08 -0400, Jerry wrote:
 On Sun, 30 Oct 2011 13:59:58 +0100
 C. P. Ghost articulated:
 
  On Sun, Oct 30, 2011 at 1:13 PM, Jerry je...@seibercom.net wrote:
   The biggest loser in this is FreeBSD itself. Virtually any new PC or
   laptop, with the exception of the bargain basement brands, and even
   some of them are exempt, now come with N protocol wireless
   devices.
  
  Instead of devoting so much time and energy whining about the
  problem here on-list, even though you know full well that we can't
  do anything about it for known reasons... why won't you lobby the
  manufacturers of N devices, so that they either open their specs,
  so we can write a driver, or at least release binary blobs compatible
  with FreeBSD? Wouldn't that be more productive? You're very
  outspoken on some aspects, so put that rhetorical skill to good use
  and contact the major wireless chipset vendors; and then follow up
  with them if you don't get the reply you want, just as you do here
  on-list.
 
 Seriously, are you so naive that you believe that his is the only
 venue I use to express my feeling on these matters? I have been
 pestering several corporations for over two years now. I have even
 spoken to several of their representatives, including a developer from
 Brother recently in regards to making drivers easily available to
 operating systems other than Microsoft, and usually a few flavors of
 Linux. The contact I had at Brother was actually a Linux user himself.

Actually, Jerry has a point here. The N networking devices
have similarities with modern printers in this regards.
While developing compatible intelligency in the devices
itself is a cost factor of O(n), moving this intelligency
to software is O(1).

For those not familiar with my abuse of the O notation:

O(n) means linear: The more devices are produced, the more
chips need to be made. In case of printers, those chips
control paper feed and ink pee, as well as scanner,
imaging, local buffer storage, data transfer and so on.

O(1) means constant: Only one set of driver will have to
be developed, one for each Windows product line and
architecture that's intended to be supported. The whole
intelligence is in there, and data transfered to the
device will control it directly, maybe even unbuffered.

From a business point of view, investing O(1) in development
vs. getting O(n) revenue sounds very interesting.

What I said regarding printer devices seems to apply to
wireless networking too. The cheaper the better. There
is no intention of continued use in there, as this does
not benefit sales. If hardware could be re-used, what
reason would home consumers (main target area!) have
to buy something new that basically provides the same
functionality?

The more unit sales, the lower the price, and therefore
a wider-spread product spectrum. Of course, the downside
is that the possibilities of use are limited, but again,
that's what customers have been trained to require.



 One company, I believe it was Cisco, told me that FreeBSD
 does not support the system calls it needs to make its devices work
 correctly. I am not a system engineer and since he was talking above my
 head I just let it go.

It _may_ be possible that Cisco depends on Linuxisms
here, maybe things like *64() calls, like fstat64() vs. fstat().
I'm not a Cisco engineer, so this is just a very wild
guess. Doesn't have it may refer to advanced technology
as well as to legacy one.



 As for releasing technical details, etcetera, I was told point blank
 that such information was confidential and would not be released. Now
 that I can at least agree with.

Of course, it is their right to do so, will all the
implications. The confidentiality could also be a means
to hide the fact that devices come with planned
obsolescence or are intended to spy at users (such
as it is quite easily possible with Windows and
a webcam). Other reasons could be secret contracts
with companies or governments for a data exchange,
you're getting the idea. But as this cannot be proven
properly at the moment, just leave this point mentioned
as is.



 Unlike many socialists, I don't believe
 in working my ass off, spending X amount of dollars and then just giving
 my work away freely to every dirt bag to clone.

If this is not your attitude, well, fine, and fully
okay. However this is not everyones attitude as
some want to improve computers and operating systems
for free, as they see it a chance to do something FOR
the society.

The possibility to make money with tools provided
for free is a thing of licensing. You know that FreeBSD
allows its users to create own products with it, even
turn _them_ into something proprietary and then sell
them. This is a good idea from a CAPITALIST point of
view, i. e. take it for 0, sell it for $$$. And why
not? Because the licensing terms don't prohibit it.
This is also a chance for innovation, for individuals
finding their future on a free market.

If this way of 

question regarding style(9) and field initialisers in structs

2011-10-30 Thread Alexander Best
hi there,

i found hundreds of the following cases in the FreeBSD src:

[...]
struct periph_driver {
periph_init_func_t  init;
char*driver_name;
TAILQ_HEAD(,cam_periph) units;
u_int   generation;
u_int   flags;
#define CAM_PERIPH_DRV_EARLY0x01
};
[...]
static struct periph_driver dadriver =
{
dainit, da,
TAILQ_HEAD_INITIALIZER(dadriver.units), /* generation */ 0
};

...is it proper programming practice to forget about the last field, if it
would have been initialised to 0?

cheers.
alex
___
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


Solution for school lab

2011-10-30 Thread Sergio de Almeida Lenzi
I use a solution that is:
1) a large Freebsd box (phenon X4,8Gb of memory, 1TB disk)
2) OS=Freebsd 8.2 with all gnome2.32 installed
3) Virtualbox 10.x  installed in FreeBSD
4) NT 2003 server with unlimited number of users on rdp (the iso is in
internet or torrent).
5) internet connection
Here this would cost about US$400

Install the system using zfs, insert all users can hold about 1000 users
Setup FreeBSD to boot diskless (and so will run on all the old machines
in 
your place) using either pxe or custom CD.

The users will use Gnome interface, and those who wants windows,
can use via rdesktop, pointing on the NT server on the same machine.

You will need a swith with ONE gigabit port, and the others is
100Mbits...

This setup you have:
about 1200 applictions (from the FreBSDports),
some include:
java, eclipse, python, c, c++, multimedia, web browing, office,
printing, email, chat, calculator, vector drawing, dia (visio),
raster image editor (gimp), monodevelop(.NET devel framework),
sql (postgresql), sql administration (pgadmin3).

Reliable, fast, rock solid, central administration...

It just works


[]

Sergio
___
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: Solution for school lab

2011-10-30 Thread Dennis Glatting



On Sun, 30 Oct 2011, Sergio de Almeida Lenzi wrote:


I use a solution that is:
1) a large Freebsd box (phenon X4,8Gb of memory, 1TB disk)
2) OS=Freebsd 8.2 with all gnome2.32 installed
3) Virtualbox 10.x  installed in FreeBSD
4) NT 2003 server with unlimited number of users on rdp (the iso is in
internet or torrent).
5) internet connection
Here this would cost about US$400

Install the system using zfs, insert all users can hold about 1000 users 
Setup FreeBSD to boot diskless (and so will run on all the old machines 
in your place) using either pxe or custom CD.


The users will use Gnome interface, and those who wants windows,
can use via rdesktop, pointing on the NT server on the same machine.

You will need a swith with ONE gigabit port, and the others is
100Mbits...

This setup you have:
about 1200 applictions (from the FreBSDports),
some include:
java, eclipse, python, c, c++, multimedia, web browing, office,
printing, email, chat, calculator, vector drawing, dia (visio),
raster image editor (gimp), monodevelop(.NET devel framework),
sql (postgresql), sql administration (pgadmin3).

Reliable, fast, rock solid, central administration...

It just works



Consider installing VMWare ESXi and instances of whatever operating system 
you like. We have template operating systems we copy to new/replacement 
instances. You can export your disks to the instances but with all things 
you gain some, you loose some.


As someone else mentioned, consider netboot. The booted instance can do 
whatever they want to your hardware but disks are likely to have to be 
re-initialized each time, which is fine if you are using disks for swap 
and other temporary things.


With regard to VirtualBox, someone needs to fix it (probably just update 
the port). The network driver (IIRC) eats memory.





[]

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


___
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


idletime in login.conf

2011-10-30 Thread Modulok
List,

Goal: Automatically logoff users that are idle after 'x' minutes.

Attempt: I added this to /etc/login.conf to the default login class:

:idletime=10m:

I then rebuilt the database:

cap_mkdb /etc/login.conf

Problem: It doesn't work. The 'w' command shows users idle for 20 minutes or
more. I'm missing something. Other than an autologout shell variables, how do I
force idle users to logout?

Thanks.
-Modulok-
___
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: Solution for school lab

2011-10-30 Thread Sergio de Almeida Lenzi
 Consider installing VMWare ESXi and instances of whatever operating system 
 you like. We have template operating systems we copy to new/replacement 
 instances. You can export your disks to the instances but with all things 
 you gain some, you loose some.

with the small machine (phenon 4, 8Gb), and vmware, the sistems is
slow... and the MB does
not accept more than 8GB.  Besides I would need a version of each
operating system for VMWARE..
and I do not know if vmware can be used for free. If even in a school
you can, in other places
you cannot, so I would cope with several platforms... Here I run a
business based on FreeBSD,
and the less different solutions the better...

 
 As someone else mentioned, consider netboot. The booted instance can do 
 whatever they want to your hardware but disks are likely to have to be 
 re-initialized each time, which is fine if you are using disks for swap 
 and other temporary things.

I use PXE because it is in the firmware of the MB... (almost always
have)... some very old
computers, does not boot anything but: floppy, cd, or HD... I choose
CD..  one CD,
boot all machines...  Netboot is great too... 

 
 With regard to VirtualBox, someone needs to fix it (probably just update 
 the port). The network driver (IIRC) eats memory.

Strange  I have been using it in a day basis, and never had problems
with that... the 
machine sometimes suffer power failure (3 months, or 1 month period)..

I use FreeBSD 8.2 in zfs...  with zmirror, and daylly snapshots...  so I
can go back anything
till 5 days ago...

Anyway, thanks for the information

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


The ports are really funcional?

2011-10-30 Thread Zantgo
What happens is that I tried to install things on the ports, but almost no one 
serves me, I've only been able to install firefox, I tried also install KDE, 
GNOME and KFCE, but I have been many errors, commonly solocionables, for 
example I had to modify REFRESH to true, but also to get out other errors, 
commonly have a solution, but is a great problem to have to spend all his time 
fixing bugs. Please tell me if it is natural to every time I download large 
modifying ports so, if so, then why say functional?

Zantgo___
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


IPsec woes in 8.2

2011-10-30 Thread Michael Sierchio
I've been trying to upgrade a client firewall to 8.2, but have an odd
problem.  The current config, based on 7.4, has the firewall as an
IPsec endpoint for other offices, but also is doing 1:1 NAT and
passing L2TP traffic to a VPN endpoint inside the firewall.

The upgrade to 8.2 breaks the L2TP traffic through the firewall.  I
see the ISAKMP traffic, phase 1 and phase 2, but the UDP-encap: ESP
packets seen on the outside of the firewall are no longer passed
through, as evidence by the following (sorry for obscuring the public
IP addresses, you can still read it).

Any suggestions?


reading from file l2tp_inside_capture.pcap.pcap, link-type EN10MB (Ethernet)
13:21:51.554271 IP A.B.C.D.32201  172.17.1.107.500: isakmp: phase 1 I ident
13:21:51.555192 IP 172.17.1.107.500  A.B.C.D.32201: isakmp: phase 1 R ident
13:21:51.576756 IP A.B.C.D.32201  172.17.1.107.500: isakmp: phase 1 I ident
13:21:51.581808 IP 172.17.1.107.500  A.B.C.D.32201: isakmp: phase 1 R ident
13:21:51.600743 IP A.B.C.D.37762  172.17.1.107.4500: NONESP-encap:
isakmp: phase 1 I ident[E]
13:21:51.601082 IP 172.17.1.107.4500  A.B.C.D.37762: NONESP-encap:
isakmp: phase 1 R ident[E]
13:21:52.617401 IP A.B.C.D.37762  172.17.1.107.4500: NONESP-encap:
isakmp: phase 2/others I oakley-quick[E]
13:21:52.618170 IP 172.17.1.107.4500  A.B.C.D.37762: NONESP-encap:
isakmp: phase 2/others R oakley-quick[E]
13:21:52.629397 IP A.B.C.D.37762  172.17.1.107.4500: NONESP-encap:
isakmp: phase 2/others I oakley-quick[E]
13:22:11.776889 IP 172.17.1.107.4500  A.B.C.D.37762: isakmp-nat-keep-alive
13:22:12.642584 IP A.B.C.D.37762  172.17.1.107.4500: NONESP-encap:
isakmp: phase 2/others I inf[E]
13:22:12.642586 IP A.B.C.D.37762  172.17.1.107.4500: NONESP-encap:
isakmp: phase 2/others I inf[E]

reading from file l2tp_outside_capture.pcap.pcap, link-type EN10MB (Ethernet)
13:21:51.470254 IP A.B.C.D.32201  E.F.G.H.500: isakmp: phase 1 I ident
13:21:51.558259 IP E.F.G.H.500  A.B.C.D.32201: isakmp: phase 1 R ident
13:21:51.577845 IP A.B.C.D.32201  E.F.G.H.500: isakmp: phase 1 I ident
13:21:51.584205 IP E.F.G.H.500  A.B.C.D.32201: isakmp: phase 1 R ident
13:21:51.602096 IP A.B.C.D.37762  E.F.G.H.4500: NONESP-encap: isakmp:
phase 1 I ident[E]
13:21:51.603197 IP E.F.G.H.4500  A.B.C.D.37762: NONESP-encap: isakmp:
phase 1 R ident[E]
13:21:52.618053 IP A.B.C.D.37762  E.F.G.H.4500: NONESP-encap: isakmp:
phase 2/others I oakley-quick[E]
13:21:52.620045 IP E.F.G.H.4500  A.B.C.D.37762: NONESP-encap: isakmp:
phase 2/others R oakley-quick[E]
13:21:52.630504 IP A.B.C.D.37762  E.F.G.H.4500: NONESP-encap: isakmp:
phase 2/others I oakley-quick[E]
13:21:52.632112 IP A.B.C.D.37762  E.F.G.H.4500: UDP-encap:
ESP(spi=0x08278f54,seq=0x1), length 116
13:21:53.255200 IP A.B.C.D.37762  E.F.G.H.4500: UDP-encap:
ESP(spi=0x08278f54,seq=0x2), length 116
13:21:55.255914 IP A.B.C.D.37762  E.F.G.H.4500: UDP-encap:
ESP(spi=0x08278f54,seq=0x3), length 116
13:21:59.256397 IP A.B.C.D.37762  E.F.G.H.4500: UDP-encap:
ESP(spi=0x08278f54,seq=0x4), length 116
13:22:07.257594 IP A.B.C.D.37762  E.F.G.H.4500: UDP-encap:
ESP(spi=0x08278f54,seq=0x5), length 116
13:22:12.193516 IP A.B.C.D.37762  E.F.G.H.4500: isakmp-nat-keep-alive
13:22:12.643129 IP A.B.C.D.37762  E.F.G.H.4500: NONESP-encap: isakmp:
phase 2/others I inf[E]
13:22:12.643841 IP A.B.C.D.37762  E.F.G.H.4500: NONESP-encap: isakmp:
phase 2/others I inf[E]
___
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: The ports are really funcional?

2011-10-30 Thread Warren Block

On Sun, 30 Oct 2011, Zantgo wrote:

What happens is that I tried to install things on the ports, but 
almost no one serves me, I've only been able to install firefox, I 
tried also install KDE, GNOME and KFCE, but I have been many errors, 
commonly solocionables, for example I had to modify REFRESH to 
true, but also to get out other errors, commonly have a solution, 
but is a great problem to have to spend all his time fixing bugs. 
Please tell me if it is natural to every time I download large 
modifying ports so, if so, then why say functional?


Yes, ports work well.  From the description, it's difficult to tell what 
is causing the problem.  Please supply additional information, like what 
version of FreeBSD and the exact output of one of the errors (script(1) 
is useful for that).  Also see the section in the Handbook about 
packages and ports: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html


Translations of the Handbook can be found at 
ftp://ftp.freebsd.org/pub/FreeBSD/doc/ in the books subdirectory.

___
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: The ports are really funcional?

2011-10-30 Thread Zantgo
El 30-10-2011, a las 19:55, Warren Block wbl...@wonkity.com escribió:

 On Sun, 30 Oct 2011, Zantgo wrote:
 
 What happens is that I tried to install things on the ports, but almost no 
 one serves me, I've only been able to install firefox, I tried also install 
 KDE, GNOME and KFCE, but I have been many errors, commonly solocionables, 
 for example I had to modify REFRESH to true, but also to get out other 
 errors, commonly have a solution, but is a great problem to have to spend 
 all his time fixing bugs. Please tell me if it is natural to every time I 
 download large modifying ports so, if so, then why say functional?
 
 Yes, ports work well.  From the description, it's difficult to tell what is 
 causing the problem.  Please supply additional information, like what version 
 of FreeBSD and the exact output of one of the errors (script(1) is useful for 
 that).  Also see the section in the Handbook about packages and ports: 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
 
 Translations of the Handbook can be found at 
 ftp://ftp.freebsd.org/pub/FreeBSD/doc/ in the books subdirectory.

the problem is not the problem, since most are solving the problem is that 
there are many errors and problems, then as I say it is stable and 
functional?___
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: [OFFTOPIC] Solution for school lab

2011-10-30 Thread Chris Whitehouse

On 30/10/2011 10:01, Peter wrote:

Hi,

I am about to setup a small PC lab for teaching operating systems. Since
computers will need to be used for teaching
Windows/Unix(FreeBsd)/Linux(Novell) I need to find a way:

1. Systems to coexists on the same hardware
2. Easily restore system images to the initial state.



1) A very robust if slightly more expensive way is a separate disk for 
each OS. Many more recent (last 3 or 4 years?) motherboards have an 
option during POST to choose a boot device so you don't need to go into 
the BIOS setup screens.


This system has the advantage that OS's are completely separate from 
each other.


2) Clonezilla.

(Not very relevant aside... Back in the day of pentium 1's and 2 dual 
channel IDE controllers I solved this same problem with 3 hard disks, 
each set to be master, on a home made IDE cable with an extra connector 
so the three disks were plugged into the primary controller, and a 3 
position rotary switch so only one disk would power up at a time. It 
took a bit of experimentation to find three disks that could coexist but 
it worked really well as long as one didn't switch over while the 
machine was on. I think I had FreeBSD, Windows and Netware).


Chris
___
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: The ports are really funcional?

2011-10-30 Thread Warren Block

On Sun, 30 Oct 2011, Zantgo wrote:


El 30-10-2011, a las 19:55, Warren Block wbl...@wonkity.com escribi?:


On Sun, 30 Oct 2011, Zantgo wrote:


What happens is that I tried to install things on the ports, but almost no one serves me, I've only been able 
to install firefox, I tried also install KDE, GNOME and KFCE, but I have been many errors, commonly 
solocionables, for example I had to modify REFRESH to true, but also to get out other 
errors, commonly have a solution, but is a great problem to have to spend all his time fixing bugs. Please 
tell me if it is natural to every time I download large modifying ports so, if so, then why say 
functional?


Yes, ports work well.  From the description, it's difficult to tell what is 
causing the problem.  Please supply additional information, like what version 
of FreeBSD and the exact output of one of the errors (script(1) is useful for 
that).  Also see the section in the Handbook about packages and ports: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

Translations of the Handbook can be found at 
ftp://ftp.freebsd.org/pub/FreeBSD/doc/ in the books subdirectory.


the problem is not the problem, since most are solving the problem is that 
there are many errors and problems, then as I say it is stable and functional?


The ports system is stable and functional for others, including me, so 
what needs to be figured out is the source of problems on your system.

___
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: The ports are really funcional?

2011-10-30 Thread Neal Hogan
u . . . this person has been doing similar
hold-my-hand-I-do-not-want-to-take-the-time kinda thing on the oBSD
lists recently.



On 10/30/11, Zantgo zan...@gmail.com wrote:
 El 30-10-2011, a las 19:55, Warren Block wbl...@wonkity.com escribió:

 On Sun, 30 Oct 2011, Zantgo wrote:

 What happens is that I tried to install things on the ports, but almost
 no one serves me, I've only been able to install firefox, I tried also
 install KDE, GNOME and KFCE, but I have been many errors, commonly
 solocionables, for example I had to modify REFRESH to true, but also
 to get out other errors, commonly have a solution, but is a great problem
 to have to spend all his time fixing bugs. Please tell me if it is
 natural to every time I download large modifying ports so, if so, then
 why say functional?

 Yes, ports work well.  From the description, it's difficult to tell what
 is causing the problem.  Please supply additional information, like what
 version of FreeBSD and the exact output of one of the errors (script(1) is
 useful for that).  Also see the section in the Handbook about packages and
 ports:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

 Translations of the Handbook can be found at
 ftp://ftp.freebsd.org/pub/FreeBSD/doc/ in the books subdirectory.

 the problem is not the problem, since most are solving the problem is that
 there are many errors and problems, then as I say it is stable and
 functional?___
 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

___
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: The ports are really funcional?

2011-10-30 Thread Polytropon
On Sun, 30 Oct 2011 18:19:16 -0300, Zantgo wrote:
 What happens is that I tried to install things on the ports,
 but almost no one serves me, I've only been able to install
 firefox, I tried also install KDE, GNOME and KFCE, but I have
 been many errors, commonly solocionables, for example I had
 to modify REFRESH to true, but also to get out other errors,
 commonly have a solution, but is a great problem to have to
 spend all his time fixing bugs. Please tell me if it is
 natural to every time I download large modifying ports so,
 if so, then why say functional?

For better diagnostics, please provide the commands you've
run as well as the (last parts containing the errors) of
the output.

You did already get good suggestions on what to read about
how to properly use the ports infrastructure. You should
not need to define any variables (except those you intendedly
want to change according to your needs for program modification).
I'm not familiar with $REFRESH, what does this do?

Maybe using precompiled packages (via pkg_add -r name)
would be a better solution here?

Oh, and don't miss to read man ports, it's very informative!



Regarding the ports collection's functionality: It's VERY
functional and works nearly flawlessly (until, of course,
a port is broken, but this happens only a very few times).
Maybe you should search things like working Internet
connection and proper usage on your side.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: The ports are really funcional?

2011-10-30 Thread Alejandro Imass
On Sun, Oct 30, 2011 at 5:19 PM, Zantgo zan...@gmail.com wrote:
 What happens is that I tried to install things on the ports, but almost no 
 one serves me, I've only been able to install firefox, I tried also install 
 KDE, GNOME and KFCE, but I have been many errors, commonly solocionables, for 
 example I had to modify REFRESH to true, but also to get out other 
 errors, commonly have a solution, but is a great problem to have to spend all 
 his time fixing bugs. Please tell me if it is natural to every time I 
 download large modifying ports so, if so, then why say functional?


I've used FBSD since 6.2 and ports are almost always flawless. Many
times it's the combination of configuration options (in make config)
that may cause problems.

For very large packages such as the graphics system, open or libre
office etc. it's much better to use binary versions via pkg_add. It's
a waste of time to compile these very large suites and most of the
time you will get the config options wrong, and they take forever to
compile.

For things you want to tailor and optimize to your needs then use the
ports system. FBSD is so cool that it doesn't matter if you install
one way or the other and you can use almost all methods
interchangeably.

-- 
Alejandro Imass
___
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: nice man pages?

2011-10-30 Thread Eric Schuele
On 10/25/2011 20:20, Patrick Lamaiziere wrote:
 Hello,
 
 I use sysutils/most to have nice manual pages in color, that's cool but
 is there a way to do this with the base system (ie without adding port)?
 
 Thanks, regards.
 ___
 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
 
 

Well, (depending on your definition of adding a port) for me since I
always have vim, I use the following alias:

alias man man -P \col -b \| vim -c \'set ft=man nomod nolist\' -\

Maybe that helps a bit?

-- 
Regards,
Eric




signature.asc
Description: OpenPGP digital signature


Re: The ports are really funcional?

2011-10-30 Thread Polytropon
On Sun, 30 Oct 2011 22:36:44 -0400, Alejandro Imass wrote:
 For very large packages such as the graphics system, open or libre
 office etc. it's much better to use binary versions via pkg_add. It's
 a waste of time to compile these very large suites and most of the
 time you will get the config options wrong, and they take forever to
 compile.

Exceptions:

1) You need language-specific settings.
   Example: OpenOffice in German.

2) You need others than the default options, e. g. if you
   want to include or exclude some stuff.
   Example: OpenOffice without KDE.

3) You need options to be set at compile time that do differ
   from the default options from which the binary packages
   are made, or because of artificially shit in your pants
   legal requirements and restrictions.
   Example: mplayer with mencoder and all (!) codecs

4) You need to speed up things to make them run on older
   hardware, and you fight for every optimization.
   Example: mplayer's RUNTIME_CPU_DETECTION.

But this is, I think, a case for 1% of users only. You
hardly need to do that. In most cases, the default options
are fine, and the binary packages just work.



 For things you want to tailor and optimize to your needs then use the
 ports system. FBSD is so cool that it doesn't matter if you install
 one way or the other and you can use almost all methods
 interchangeably.

A managament tool (such as portmaster or portupgrade) helps
to keep an eye on dependencies when using the many possible
ways.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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