ports/net-mgmt/net-snmp (CURRENT) failes on make install

2009-03-24 Thread Matthias Apitz


Hi,

# cd /usr/ports/net-mgmt/net-snmp
# cvs update
? work
cvs update: Updating .
cvs update: Updating files
cvs update: Updating patches.aout
# make install
...
installing sysv.h in /usr/local/include/net-snmp/system
installing ultrix4.h in /usr/local/include/net-snmp/system
installing dragonfly.h in /usr/local/include/net-snmp/system
creating directory /usr/local/include/net-snmp/machine
installing generic.h in /usr/local/include/net-snmp/machine
making installlibs in
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib
/bin/sh ../libtool --mode=compile cc -I../include -I.   -I../snmplib
-DNETSNMP_ENABLE_IPV6 -O2 -pipe -fno-strict-aliasing -Ufreebsd8
-Dfreebsd8=freebsd8  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-I/usr/local/include  -I/usr/local/lib/perl5/5.8.9/mach/CORE -c -o
mib.lo mib.c
cc -I../include -I. -I../snmplib -DNETSNMP_ENABLE_IPV6 -O2 -pipe
-fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/BSDPAN -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include
-I/usr/local/lib/perl5/5.8.9/mach/CORE -c mib.c  -fPIC -DPIC -o
.libs/mib.o
../include/net-snmp/library/data_list.h:75: error: nested function
'netsnmp_get_list_node' declared but never defined
../include/net-snmp/library/data_list.h:60: error: nested function
'netsnmp_create_data_list' declared but never defined
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.

Any ideas?

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.oclc.org/ http://www.UnixArea.de/
___
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: installing ports xorg - Unknown solution

2009-03-24 Thread Tim Judd
Heh,

there were too many factors as possible culprits in the system.

Glen Barber's command started to run, until I cancelled it when my
laptop battery died... :D

I'm not 100% sure what the problem was, but here's what I did...
. The PC has a msk ethernet device, which I wasn't 100% sold I'd use it,
. It's also behind a Linux-based firewall (corporate purchase) that ...
doesn't always want to work,
. I re-csup'd ports, it updated some stuff, but nothing in x11/
. I forgot it for the weekend, went into work, slapped it onto our other
network (which isn't behind the Linux firewall), and initiated an
install..  it started
. Keeping it on the other network, I finished xorg, then installed kde4
with repeated fetch timeouts on both installs.
. Remembered I had a broadcom ethernet card...  installed it.
. Finished installing everything, and is now my primary desktop at work.


So, either the bad csup, odd msk ethernet, or the (VERY fustrating)
Linux firewall was at fault.  Not sure what, but all is working now.

--Tim

___
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: xorg-server-1.5.3_7, /usr/ports/UPDATING, mouse

2009-03-24 Thread Tim Judd
On Wed, 2009-03-25 at 03:45 +0100, Polytropon wrote:
> On Tue, 24 Mar 2009 20:29:35 -0600, Tim Judd  wrote:
> > So I don't think the hal has the concept of joining the keyboard and
> > mouse together to a single usb device.  The pair works beautifully in
> > the console... so I'm not sure if this is a bug worthy of reporting, or
> > if I should research it more and try to discover the solution with a
> > logitech pair that is known to work in the console to work in hal.

s/single usb device/single usb plug/

> 
> Does the combination result in two devices (ukbd0, ums0)? Maybe
> it's possible to instruct HAL to use the devices explicitely, by
> "hard coding" them into some configuration file?


Yes, FreeBSD/devd/devfs had created a kbd0 and ums0 

HAL just didn't seem to recognize ums0 being listed too..  maybe because
before it setup kbd0, ums0 appeared and it just got left behind?
maybe because it already linked kbd0 to the plug/jack it was plugged
into, it ignored the second device (this case, the mouse)?

I even tried (by of course powerdown first) the USB+Mouse PS2 plug (both
as original plug onto the Logitech pair) in case it might have picked up
the PS2 and let it run with that --- it didn't find the PS2 mouse (by
"found" I mean Xorg adding/enabling that device so the cursor moves).


I was more concerned today (@work) to get my desktop operational.  I can
try later to diagnose, pick apart, etc etc the flaws of dbus and/or hal
to submit a report.  I felt it was necessary to announce this
shortcoming, in case the OP was trying to use the same kind of device.

___
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: installing ports xorg

2009-03-24 Thread Peter Koinange

Tim, 

Looks like perhaps your ports tree is bad, I suggest you install the full ports 
tree and try and build from source

k
- "Tim Judd"  wrote:

> On Sun, 2009-03-22 at 14:00 +0800, Fbsd1 wrote:
> > Tim Judd wrote:
> > > I'm getting ZERO feedback when I install the xorg metaport,
> updated
> > > ports tree today.
> > > 
> > > # cd /usr/ports/x11/xorg
> > > # make install
> > > # 
> > > 
> > > 
> > > 
> > > So what am i missing?
> > > 
> > > http://www.freebsd.org/doc/en/books/handbook/x-install.html
> > > tells me to install this port.
> > > 
> > > 
> > > I even deleted /var/db/pkg/* and /var/db/ports/* to try to hook it
> to
> > > install...  Retrying the above install every time.  Nothing
> works.
> > > 
> > > What to do?
> > > 
> > > 
> > > Thanks
> > > 
> > it will take many many hours to compile. If you read more in
> handbook it 
> > also says you can install the package version which should only take
> 30 
> > minutes.
> > 
> > pkg_add -r xorg
> > 
> 
> that doesn't answer my original question.  I'm not interested in your
> solution here, I want to build from source.
> 
> And I can take the many hours, i'm setting up a machine before it's
> necessity and need to use it isn't now...
> 
> 
> Again, why doesn't the port install correctly?
> 
> ___
> 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: installing freebsd on windows

2009-03-24 Thread Mehul Ved
On Wed, Mar 25, 2009 at 10:59 AM, Leslie Jensen  wrote:
> For testing purposes I've used Suns VirtualBox under Windows, it runs under
> Linux as well. (Free)BSD installs well and it can give you a first
> impression on how it works. There are some settings that you must keep in
> mind, disk size can't be dynamic. You can use the VirtualBox forums for more
> information.
> /Leslie

VirtualBox is really great for no-hassles virtualisation for newbies.
I rely on it too. But, I haven't had a good experience with FreeBSD
7.0 on VirtualBox, too many kernel panics. And it's not just me there
are lots of people who have had the same problem with no evident
solution.
I am not discouraging this solution but informing of a problem that I
have faced. If there's a work around for that, I'd be happy to try it
myself.


-- 

Am I SHOPLIFTING?
___
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: installing freebsd on windows

2009-03-24 Thread Leslie Jensen



Harold Hartley skrev:
I am wondering if the freebsd team has ever thought of making freebsd to 
install on windows like ubuntu does.


I'm just a person that can't afford more than one computer cause I live 
in a nursing home and I would like to be able to use one computer to 
choose what I want to boot into, such as windows or unbuntu and maybe a 
freebsd choice.


I don't always want to boot into windows, except for the 3 apps I have 
to use windows for.


I do boot into ubuntu 90% of the time and enjoy it so much, but I have 
read about freebsd and researched it fully and I wish I could be able to 
 run freebsd as with all the apps freebsd has to offer. I would love to 
be able to install freebsd under windows so I could choose freebsd to 
boot into when I want.


I hope to hear from freebsd about my request, and by the way, I'm not a 
linux expert so I don't know everything about linux, but I'm always 
learning.


Thanks
Harold Hartley
158 Russell Street
Lewiston, Maine 04240
wheelie...@gwi.net




For testing purposes I've used Suns VirtualBox under Windows, it runs 
under Linux as well. (Free)BSD installs well and it can give you a first 
impression on how it works. There are some settings that you must keep 
in mind, disk size can't be dynamic. You can use the VirtualBox forums 
for more information.

/Leslie
___
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: mod_php5 and apache22

2009-03-24 Thread Ian Smith
On Tue, 24 Mar 2009 16:46:16 +0100 Ruben de Groot  wrote:
 > On Tue, Mar 24, 2009 at 03:20:26PM +0100, Mel Flynn typed:
 > > On Tuesday 24 March 2009 15:13:33 Christoph Kukulies wrote:
 > > > I moved a site from some FreeBSD 5.2 or something (with apache2 and
 > > > mod_php5 at that time,
 > > > about 3 years old) to 7.1 (Beta though) and apache22.
 > > >
 > > > Now I don't find something that looks like mod_php5 in /usr/ports/www.
 > > >
 > > > Has that changed somehow?
 > > 
 > > lang/php5 with APACHE_MODULE ticked in options dialog.
 > 
 > The apache module compile is off by default since somewhere in 2006 and I 
 > keep
 > forgetting that occasionally :(
 > So people using pkg_add -r php5 will not get mod_php5.

That's right, you haven't been able able to install mod_php5 from a 
package for at least that long.  I've never understood the rationale.

 > This is probably not what they expected.

I could well be wrong, but I've always suspected that _most_ people who 
install apache (1.3 or 2.x) and php do so because they intend to use it 
with mod_php, rather than the command-line php interpreter or the cgi.

 > Would it not be a good idea to (re)introduce www/mod_php5?

Yes.  As far as I can tell, all that would be required is an identical 
port (with a new name, '+mod_php' would do fine) with the ONLY change 
being to select the APACHE_MODULE option on, as Mel points out.

I wish someone who knows about ports building would just do that.
Then you could again install apache+mod_php from packages, right from 
the dist CDs/DVD if desired.  Ah, for the good old days when it wasn't 
assumed that everyone had both fast boxes and fast net connections :)

cheers, Ian
___
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: installing freebsd on windows

2009-03-24 Thread Polytropon
On Tue, 24 Mar 2009 23:30:58 -0400, Harold Hartley  wrote:
> Some may be running windows and may want to try freebsd and doesn't want 
> to rid windows.



> But if something could be done to make it easy enough for those that 
> doesn't know how to install freebsd or something of that sort.

I think the FreeBSD documentation makes it easy enough. :-)

NBo, honestly: It's so easy, simply put in the CD and follow
the instructions on the screen. There's no black magic involved.



> I know how to install linux to a drive without other OS's on it and I 
> know how to use the command line to install or setup other apps like 
> flash or java and other apps that need other commands.
> 



> But I'm sure others are not familiar with using the command line and 
> such for installing a OS.

But then, FreeBSD surely isn't for them.

For those users, PC-BSD and DesktopBSD are much better ways to go.
They do still have a functional FreeBSD OS, but the installer is
with nice graphics and guides them through a "next, next, next,
next, next, reboot" procedure as they know it from "Windows".

If you want to have a look at it, these are the homepages:

PC-BSD  ===>http://www.pcbsd.org/
DesktopBSD  ===>http://www.desktopbsd.net/

And PC-BSD even provides an installer (PBI) that makes "Windows"
users feel at home: Download something from the web manually,
then click "next, next, next, finish" and have an application
installed. :-)



> I really am interested in freebsd, but I don't want to mess up my OS's 
> on my drive either.

You don't need to be frightened of that. In order to wipe off
something you still need, you will have to be VERY stupid. :-)

FreeBSD provides means that warn you if you're accidentally doing
something wrong. But please keep in mind that FreeBSD relies on
the circumstance that IF you instruct it to do something, you're
SURE that you want to do so.

Everything you need is some free space on the disk. Anything
else keeps unmodified.



> My main interest is wanting to learn how to develop code on linux and/or 
> freebsd.

Then you won't encounter any problems. As a Linux user, you're
already equipped with basic UNIX knowledge that will help you
to understand FreeBSD.



> If I had a second drive on my computer, could I install freebsd on the 
> 2nd drive and still select it from the boot list

Of course. As I mentioned, your boot manager will have to know
about the new OS, either by you (putting the correct information
into it) or by itself (autodetection of a second hard disk with
a valid boot block).



> Maybe I should take this to the other topic of the mailing list.
> I noticed you CC to the freebsd-questions list. Is that the list I need 
> to continue my questions on.

Yes. I think it's okay to CC the list because our conversation
may be helpful to others. I'm not intending something evil. :-)




-- 
Polytropon
>From 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: installing freebsd on windows

2009-03-24 Thread Mehmet Erol Sanliturk
On Tue, Mar 24, 2009 at 9:12 PM, Harold Hartley  wrote:

> I am wondering if the freebsd team has ever thought of making freebsd to
> install on windows like ubuntu does.
>
>

In www.microsoft.com ,
search
Virtual PC in Search Microsoft.com .


There will be a result among many others :

http://windowshelp.microsoft.com/Windows/en-US/Help/97a74f0e-798d-45ff-b9bf-7feed68c40e51033.mspx


Virtual PC is free of charge .

If you can install Virtual PC ( any of them suitable to your hardware and
Windows version )
you may try to use FreeBSD .


Personally I did not try it .

Good luck to you .

Thank you very much .

Mehmet Erol Sanliturk
___
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: Creating a 10km wireless bridge...pointers?

2009-03-24 Thread Olivier Nicole
Hi,

> I have been tasked with getting a DSL connection across about 10km of
> no-man's-land to a rural location without internet access. Ideally,
> all traffic inbetween the two directional antennas would be encrypted.
> (Nice, but not entirely required.) 3Mb/s would be great! Something
> like:
>
> LAN<->BSDrouter<->modem<->Antenna<~~air~~>Antenna<->modem<->DSL
>
> I'm looking for general pointers of both hardware and software to
> achieve this. 
> I'd like to employ FreeBSD as much as is feasible. This
> is my first WAN network project, so even newbie pointers and general
> references would be much appreciated. (Hardware suggestions, books to
> read, etc.) Reliability is of mild concern, simply because I don't
> want to drive 10km at 3:00am when something breaks.
>
> Tips? References? Advice?

We have something of the sort runing between a Thai university and the
National University of Laos. Purpose is to connect the Lao University
to the Thai university and research network. Expected speed is 10Mbps.
You can email me personnally at the end of April, then I will be able
to give you more details :)

I will not go to Laos before one month, until then I cannot remember
the brand of the radio equipment. National University of Laos used to
have their network with remote campus locations build over air, using
public grade WiFi access-points, they were not really stable.

Regarding your set-up, I think it is nothing different from:

  LAN<->BSDrouter<-1->DSL

only the link between the BDSrouter and the DSL provider is a bit
longer.

On your concern about traveling 10KM at 3:00, you can locate the
BSDrouter at either end of the radio link, it will not change much of
the volume of traffic crossing the radio link, unless the BSDrouter is
also doing some heavy proxying. So you could locate the BSDrouter at
the closest end to your home.

Only one remark, if that BSDrouter is to serve as DHCP and such, it is
best located at the LAN end: if the radio link goes down, the clients
on the LAN can still access their DHCP server, and they can still
communicate inside the LAN. If the BSDrouter is located at the DSL end
and the radio link goes down, the clients in the LAN will not manage
to get IP and will not be able to communicate among eachothers.

Best regards,

Olivier
___
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: installing freebsd on windows

2009-03-24 Thread Polytropon
On Tue, 24 Mar 2009 22:59:40 -0400, Harold Hartley  wrote:
> Ubuntu uses "wubi 
> installer" like an application and can be uninstalled if anyone didn't 
> like it. And it sets it up at the boot up time a list to choose from.
> 
> That is about what I was talking about.

Okay, I do understand. I haven't used any MICROS~1 products yet,
and I've installed Ubuntu just from its CD or DVD for testing
purposes, but I'm not a Linux user, so I definitely don't have
much experience in this sector.



> I'm not sure how they did that using the "wubi installer" But if freebsd 
> could do something like that, it would be great.

Hmmm... I may still ask: What should it be good for, exactly?

Those who want to use FreeBSD usually install it by one of the
standard means. They usually don't have "Windows" or do already
want to use a two-or-more-OS system, but they don't run the
installer from within "Windows".

(Side note: I think there's already a tool that lets you install
FreeBSD from within Linux, useful if you want to replace an
already pre-loaded OS on a server where you don't have physical
access to simply put in the FreeBSD installation CD.)

Those who want to try FreeBSD don't install it, they run it from
a live system CD (e. g. FreeSBIE) or use it in an emulator (and
install it there).

Furthermore, there's VirtualBSD: http://www.virtualbsd.info/ for
maximum "Windows" compatibility. :-)



> But will it over write the bootup list or the windows or ubuntu 
> software.

No. At installation time, you can instruct it to leave the boot
area of your hard disk untouched. The only thing you may need is
to put a setting into the boot manager you're using at the moment
to boot between Ubuntu and "Windows" so it can also boot into
FreeBSD. Maybe your boot manager automatically detects the new
OS and adds a choice by itself.

You can, however, use FreeBSD's boot manager to make the boot
selection at system startup.

Everything you need is some disk space on your hard disk (not
occupied by any slice, "partition" how it's called by "Windows").
The installer allows you to delete anything existing (what you
don't need anymore) and create a slice to install FreeBSD in.
You can also install it on another (physical) hard disk.



> Or does freebsd offer a choice to install without messing 
> anything up.

It's a professional operating system, of course it does. :-)
(FreeBSD exactly does what you tell it to do, nothing more and
nothing less.)




-- 
Polytropon
>From 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: Creating a 10km wireless bridge...pointers?

2009-03-24 Thread Jeff Dickens



Modulok wrote:

List,

I have been tasked with getting a DSL connection across about 10km of
no-man's-land to a rural location without internet access. Ideally,
all traffic inbetween the two directional antennas would be encrypted.
(Nice, but not entirely required.) 3Mb/s would be great! Something
like:

LAN<->BSDrouter<->modem<->Antenna<~~air~~>Antenna<->modem<->DSL

I'm looking for general pointers of both hardware and software to
achieve this. 


One option: gnswireless.com

We have a couple of short-haul wireless setups from them.  They work out 
of the box, and they seem to provide good support as well.







I'd like to employ FreeBSD as much as is feasible. This
is my first WAN network project, so even newbie pointers and general
references would be much appreciated. (Hardware suggestions, books to
read, etc.) Reliability is of mild concern, simply because I don't
want to drive 10km at 3:00am when something breaks.

Tips? References? Advice?
-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"
  


__
 Scanned by Google Message Security  - Leaving Seaman Paper
___
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: xorg-server-1.5.3_7, /usr/ports/UPDATING, mouse

2009-03-24 Thread Polytropon
On Tue, 24 Mar 2009 20:29:35 -0600, Tim Judd  wrote:
> So I don't think the hal has the concept of joining the keyboard and
> mouse together to a single usb device.  The pair works beautifully in
> the console... so I'm not sure if this is a bug worthy of reporting, or
> if I should research it more and try to discover the solution with a
> logitech pair that is known to work in the console to work in hal.

Does the combination result in two devices (ukbd0, ums0)? Maybe
it's possible to instruct HAL to use the devices explicitely, by
"hard coding" them into some configuration file?



-- 
Polytropon
>From 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: installing freebsd on windows

2009-03-24 Thread Polytropon
On Tue, 24 Mar 2009 21:12:39 -0400, Harold Hartley  wrote:
> I am wondering if the freebsd team has ever thought of making freebsd to 
> install on windows like ubuntu does.

I'm not sure I do understand "install FreeBSD on 'Windows'" - what
does "on" refer to?

a) Start an installer from within "Windows" that installs
   FreeBSD on the system

b) Run FreeBSD within "Windows" by means of an emulator

c) Run FreeBSD as an application in Windows

In DOS times, there was a tool that booted Linux from within
DOS. Because things are more complicated in "Windows", I don't
think such a tool does exist - it would have to kick "Windows"
out of memory, and we know that it doesn't like that. :-)

But it's still possible to use FreeBSD without leaving "Windows".
You need an emulator. I don't know how they are called in "Windows",
but they do exist in FreeBSD as well, for example qemu. In
"Windows", there's "VMWare" that you can buy.

Using such a means of emulation, you can install FreeBSD on a
"virtual PC" and then use it as it would run on "bare metal".



> I'm just a person that can't afford more than one computer cause I live 
> in a nursing home and I would like to be able to use one computer to 
> choose what I want to boot into, such as windows or unbuntu and maybe a 
> freebsd choice.

Then you would need to install FreeBSD on this box. This is
easily be done by downloading the proper ISO from the FTP
server or FreeBSD's web page. See the excellent documentation
in the handbook (on the web page, too) to learn how this is
done.



> I do boot into ubuntu 90% of the time and enjoy it so much, but I have 
> read about freebsd and researched it fully and I wish I could be able to 
>   run freebsd as with all the apps freebsd has to offer. I would love to 
> be able to install freebsd under windows so I could choose freebsd to 
> boot into when I want.

There's no need to think so complicated. You start the computer
using the bootable CD or DVD, then install the OS (just as you
installed Ubuntu) and then instruct your boot manager to add a
new entry for FreeBSD. That's all.

I hope I'm not saying anything incorrect, but to answer your main
question: No, it's not possible to install FreeBSD in "Windows".

What you want to achieve has nothing to do with "Windows", just
ignore it.



> I hope to hear from freebsd about my request, and by the way, I'm not a 
> linux expert so I don't know everything about linux, but I'm always 
> learning.

FreeBSD's documentation (the handbook and the FAQ, to be found
on FreeBSD's web site) will help you to do so.




-- 
Polytropon
>From 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"


installing freebsd on windows

2009-03-24 Thread Harold Hartley
I am wondering if the freebsd team has ever thought of making freebsd to 
install on windows like ubuntu does.


I'm just a person that can't afford more than one computer cause I live 
in a nursing home and I would like to be able to use one computer to 
choose what I want to boot into, such as windows or unbuntu and maybe a 
freebsd choice.


I don't always want to boot into windows, except for the 3 apps I have 
to use windows for.


I do boot into ubuntu 90% of the time and enjoy it so much, but I have 
read about freebsd and researched it fully and I wish I could be able to 
 run freebsd as with all the apps freebsd has to offer. I would love to 
be able to install freebsd under windows so I could choose freebsd to 
boot into when I want.


I hope to hear from freebsd about my request, and by the way, I'm not a 
linux expert so I don't know everything about linux, but I'm always 
learning.


Thanks
Harold Hartley
158 Russell Street
Lewiston, Maine 04240
wheelie...@gwi.net
___
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: xorg-server-1.5.3_7, /usr/ports/UPDATING, mouse

2009-03-24 Thread Tim Judd


I worked around in circles again and again today with the same problem.
My problem came down to that the Logitech keyboard/mouse combo (to
single USB receiver) saw the keyboard (by hal) but not the mouse.

Slapping a individual mouse in with the Logitech keyboard/mouse pair (so
1 keyboard, 2 mice) let the 2nd mouse work.

So I don't think the hal has the concept of joining the keyboard and
mouse together to a single usb device.  The pair works beautifully in
the console... so I'm not sure if this is a bug worthy of reporting, or
if I should research it more and try to discover the solution with a
logitech pair that is known to work in the console to work in hal.




Thank you!
$0.02

___
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: installing ports xorg

2009-03-24 Thread Tim Judd
On Sun, 2009-03-22 at 14:00 +0800, Fbsd1 wrote:
> Tim Judd wrote:
> > I'm getting ZERO feedback when I install the xorg metaport, updated
> > ports tree today.
> > 
> > # cd /usr/ports/x11/xorg
> > # make install
> > # 
> > 
> > 
> > 
> > So what am i missing?
> > 
> > http://www.freebsd.org/doc/en/books/handbook/x-install.html
> > tells me to install this port.
> > 
> > 
> > I even deleted /var/db/pkg/* and /var/db/ports/* to try to hook it to
> > install...  Retrying the above install every time.  Nothing works.
> > 
> > What to do?
> > 
> > 
> > Thanks
> > 
> it will take many many hours to compile. If you read more in handbook it 
> also says you can install the package version which should only take 30 
> minutes.
> 
> pkg_add -r xorg
> 

that doesn't answer my original question.  I'm not interested in your
solution here, I want to build from source.

And I can take the many hours, i'm setting up a machine before it's
necessity and need to use it isn't now...


Again, why doesn't the port install correctly?

___
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: renaming many Chinese files

2009-03-24 Thread Ramiro Caso

Just a very quick thought (the first that pops into my mind): you could
see which are the western characters that appear in the names, and then
use sed to substitute all non-matching characters with nothing,
something like:

for i in *.jpg; do b="`echo $i | sed 's/[^CHAR_SET]//g'`"; mv $i $b; done

(without
forgetting, obviously, to add . to the CHAR_SET, something like:
[^a-zA-Z0-9.]; if you figure out a less clumsy way, please, share!!)
I'm guessing that the initial 'P123' is just an example, or this will
horribly backfire. But I'm really, REALLY, taking a shot in the dark
here... (if you already thought of this, and it just doesn't work,
sorry for the useless pitch)


> Date: Tue, 24 Mar 2009 15:57:51 -0400
> To: questi...@freebsd.org
> From: david+dated+1238356671.fa5...@skytracker.ca
> CC: 
> Subject: renaming many Chinese files
> 
> I have hundreds of jpg images where each image is named P123.jpg
> where the  are chinese characters. I can't open the file - it
> has to be renamed before I can open it. Evening if I could open it
> I don't want the Chinese part as the name.
> 
> Each file starts with 3 or four western characters and then has 3 or
> four chinese characters, before the western .jpg extension.
> 
> I want to to test each filename character by character
> to see if it is western, and then when the first Chinese Character is 
> found, have it simply rename the file to the 3 or four western-character 
> name + .jpg
> 
> I can write most of the script but I don't know how to test for 
> western and/or Chinese characters.
>  
> I could run a script that would simply rename all the files to 
> a number in sequential order but I would rather use the existing
> starting name of the file if possible.
> 
> ___
> 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"

_
Encontrá el auto de tus sueños en MSN 
http://xml.mercadolibre.com.ar/org-img/msn/autos.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: Clicking on Terminal crashes XFCE4

2009-03-24 Thread Warren Block

On Wed, 25 Mar 2009, Manish Jain wrote:
However, I would still greatly appreciate it if somebody could send me 
an sh/bash script or command that would demonstrate how to use cvsup 
to keep my ports directory up2date. Using cvs is one area which, 
thanks to my Linux heritage, is best rated as ERROR_NONE


Use csup:

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

I use portupgrade, although many like portmaster instead.  Here's how I 
update ports and check what's outdated:


#!/bin/sh
/usr/bin/csup -4 /root/ports-supfile &&
portsdb -Fu &&
portversion -vL=

-Warren Block * Rapid City, South Dakota USA
___
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: Clicking on Terminal crashes XFCE4

2009-03-24 Thread Frank Shute
On Wed, Mar 25, 2009 at 01:05:05AM +0530, Manish Jain wrote:
>
> Jack L. wrote:
> >On Tue, Mar 24, 2009 at 9:40 AM, Manish Jain  
> >wrote:
> >>Warren Block wrote:
> >>>On Tue, 24 Mar 2009, Manish Jain wrote:
> >>>
> I am Gnome user just trying out xfce for fun. I did a
> 'make install clean' in /usr/ports/x11-wm/xfce4-?*
> >>>The meta-port is just /usr/ports/x11-wm/xfce4, which you haven't
> >>>installed.
> >>>
> Everything went well. When I did a startx, xfce4 came up nicely.
> Everything seems ok, but when I click on Terminal/xterm, X crashes 
> returning
> me to the console.
> 
> Is there something missing or wrong in my setup ? Any help would be
> appreciated.
> >>>Install /usr/ports/x11-wm/xfce4 to fill out the rest of the requirements,
> >>>then do startxfce4.
> >>>
> >>>-Warren Block * Rapid City, South Dakota USA
> >>>
> >>I installed /usr/ports/x11-wm/xfce4 too. The results are exactly the same.
> >>Interestingly, I can run gnome-terminal in xfce without any hiccup. Even
> >>more interestingly, I can xfce's Terminal from Gnome pretty well. There 
> >>are
> >>a few warnings though :
> >>
> >>(Terminal:20866): Gtk-WARNING **: Could not find the icon
> >>'stock_terminal-newtab'. The 'hicolor' theme
> >>was not found either, perhaps you need to install it.
> >>You can get a copy from:
> >>Â  Â  Â  Â http://icon-theme.freedesktop.org/releases
> >>
> >>(Terminal:20866): Gtk-WARNING **: Error loading theme icon
> >>'stock_terminal-newtab' for stock: Icon 'stock_terminal-newtab' not 
> >>present
> >>in theme
> >>
> >>(Terminal:20866): Gtk-WARNING **: Error loading theme icon
> >>'stock_terminal-newwindow' for stock: Icon 'stock_terminal-newwindow' not
> >>present in theme
> >>
> >>(Terminal:20866): Gtk-WARNING **: Error loading theme icon
> >>'stock_terminal-closetab' for stock: Icon 'stock_terminal-closetab' not
> >>present in theme
> >>
> >>(Terminal:20866): Gtk-WARNING **: Error loading theme icon
> >>'stock_terminal-closewindow' for stock: Icon 'stock_terminal-closewindow'
> >>not present in theme
> >>
> >>(Terminal:20866): Gtk-WARNING **: Error loading theme icon
> >>'stock_terminal-newtab' for stock: Icon 'stock_terminal-newtab' not 
> >>present
> >>in theme
> >>
> >>(Terminal:20866): Gtk-WARNING **: Error loading theme icon
> >>'stock_terminal-newwindow' for stock: Icon 'stock_terminal-newwindow' not
> >>present in theme
> >>
> >>(Terminal:20866): Gtk-WARNING **: Error loading theme icon
> >>'stock_terminal-closewindow' for stock: Icon 'stock_terminal-closewindow'
> >>not present in theme
> >>
> >>(Terminal:20866): GLib-GObject-WARNING **: instance of invalid
> >>non-instantiatable type `(null)'
> >>
> >>(Terminal:20866): GLib-GObject-CRITICAL **: g_signal_handler_disconnect:
> >>assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
> >>
> >>--
> >Try a make clean install clean and see if it still does that. Also,
> >are your ports up to date?
> >
> 
> Hi Jack/Warren/All,
> 
> I did :
> 
> make deinstall
> make clean
> make install clean
> 
> The results are the same. I downloaded ports.tar.gz last week, so I 
> think the ports should be fairly up2date. However, I would still 
> greatly appreciate it if somebody could send me an sh/bash script or 
> command that would demonstrate how to use cvsup to keep my ports 
> directory up2date. Using cvs is one area which, thanks to my Linux 
> heritage, is best rated as ERROR_NONE
> 

Manish,

There's a make.conf and script on this page which might be of help in
keeping your ports uptodate:

http://www.shute.org.uk/misc/freebsd_uptodate.html

When you've 'suped your ports, you'll notice that there is some stuff
about xfce in /usr/ports/UPDATING. It might be related to your
problems.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.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: Clicking on Terminal crashes XFCE4

2009-03-24 Thread Warren Block

On Tue, 24 Mar 2009, Manish Jain wrote:

Warren Block wrote:


Install /usr/ports/x11-wm/xfce4 to fill out the rest of the requirements, 
then do startxfce4.


I installed /usr/ports/x11-wm/xfce4 too. The results are exactly the same. 
Interestingly, I can run gnome-terminal in xfce without any hiccup. Even more 
interestingly, I can xfce's Terminal from Gnome pretty well. There are a few 
warnings though :


(Terminal:20866): Gtk-WARNING **: Could not find the icon 
'stock_terminal-newtab'. The 'hicolor' theme

was not found either, perhaps you need to install it.


That seems pretty compelling.  Install 
/usr/ports/misc/hicolor-icon-theme.  How you got the xfce4 installed 
without it is a question.


portupgrade's pkgdb can you help you with missing dependencies like 
this.


-Warren Block * Rapid City, South Dakota USA
___
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: Clicking on Terminal crashes XFCE4

2009-03-24 Thread Warren Block

On Tue, 24 Mar 2009, Jack L. wrote:

You can use cvs.
rm -rf your /usr/ports
cd /usr
cvs -d anon...@anoncvs.fr.freebsd.org:/home/ncvs co ports
and then try installing the port you want to install.


Why go to all that effort when you can just 'csup ports-supfile'?


Also, rm -rf /var/db/ports/* to clear out the previous make options
and see if you need to reconfigure some options.


ITYM "irretrievably blow away every option setting for all of your 
installed ports".  Which is pretty drastic advice when 'make rmconfig' 
will clear just one port's settings.


-Warren Block * Rapid City, South Dakota USA
___
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"


renaming many Chinese files

2009-03-24 Thread David Banning
I have hundreds of jpg images where each image is named P123.jpg
where the  are chinese characters. I can't open the file - it
has to be renamed before I can open it. Evening if I could open it
I don't want the Chinese part as the name.

Each file starts with 3 or four western characters and then has 3 or
four chinese characters, before the western .jpg extension.

I want to to test each filename character by character
to see if it is western, and then when the first Chinese Character is 
found, have it simply rename the file to the 3 or four western-character 
name + .jpg

I can write most of the script but I don't know how to test for 
western and/or Chinese characters.
 
I could run a script that would simply rename all the files to 
a number in sequential order but I would rather use the existing
starting name of the file if possible.

___
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: phpBB3, php5 and mysql

2009-03-24 Thread Kevin Kinsey

Christoph Kukulies wrote:
I'm in the process of moving a phpBB3 forum to a new machine (formerly 
5.2, now 7.1).

I also was so keen to move to php5 (was running php4 before, I believe).

I have the phpBB3 forum directory copied back into the DocumentRoot.
Mysql 4.1 is running, The database is there, I can log in to mysql and 
view the database.

I can get phpinfo.

Only I can't get the hell out of the phpBB3 forum. When I invoke the 
index.php
I get a blank page with an incomplete xml header. I have no idea were to 
look at the moment.


Wherever PHP places its errors?  On my installations, it's
/var/log/httpd_error_log.  This might be configurable via
PHP's ini file, or PHP's ini_set(), or from the system's 
syslog.conf ... not certain.


It looks a bit like php5 is not accessing the database (mysql) or 
something. Is there some module
or driver to be compiled in? I installed php5 now from ports with the 
apache mod_php5 module

being installed.


PHP is great about telling what's wrong ... if it's configured
to do so.  Once you have an error message, it'll be easier to 
know how to fix it.


Kevin Kinsey
--
Ever wonder if taxation without representation might have been cheaper?
___
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: Clicking on Terminal crashes XFCE4

2009-03-24 Thread Jack L.
On Tue, Mar 24, 2009 at 12:35 PM, Manish Jain  wrote:
> Jack L. wrote:
>>
>> On Tue, Mar 24, 2009 at 9:40 AM, Manish Jain 
>> wrote:
>>>
>>> Warren Block wrote:

 On Tue, 24 Mar 2009, Manish Jain wrote:

> I am Gnome user just trying out xfce for fun. I did a
> 'make install clean' in /usr/ports/x11-wm/xfce4-?*

 The meta-port is just /usr/ports/x11-wm/xfce4, which you haven't
 installed.

> Everything went well. When I did a startx, xfce4 came up nicely.
> Everything seems ok, but when I click on Terminal/xterm, X crashes
> returning
> me to the console.
>
> Is there something missing or wrong in my setup ? Any help would be
> appreciated.

 Install /usr/ports/x11-wm/xfce4 to fill out the rest of the
 requirements,
 then do startxfce4.

 -Warren Block * Rapid City, South Dakota USA

>>> I installed /usr/ports/x11-wm/xfce4 too. The results are exactly the
>>> same.
>>> Interestingly, I can run gnome-terminal in xfce without any hiccup. Even
>>> more interestingly, I can xfce's Terminal from Gnome pretty well. There
>>> are
>>> a few warnings though :
>>>
>>> (Terminal:20866): Gtk-WARNING **: Could not find the icon
>>> 'stock_terminal-newtab'. The 'hicolor' theme
>>> was not found either, perhaps you need to install it.
>>> You can get a copy from:
>>> Â  Â  Â  Â http://icon-theme.freedesktop.org/releases
>>>
>>> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
>>> 'stock_terminal-newtab' for stock: Icon 'stock_terminal-newtab' not
>>> present
>>> in theme
>>>
>>> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
>>> 'stock_terminal-newwindow' for stock: Icon 'stock_terminal-newwindow' not
>>> present in theme
>>>
>>> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
>>> 'stock_terminal-closetab' for stock: Icon 'stock_terminal-closetab' not
>>> present in theme
>>>
>>> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
>>> 'stock_terminal-closewindow' for stock: Icon 'stock_terminal-closewindow'
>>> not present in theme
>>>
>>> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
>>> 'stock_terminal-newtab' for stock: Icon 'stock_terminal-newtab' not
>>> present
>>> in theme
>>>
>>> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
>>> 'stock_terminal-newwindow' for stock: Icon 'stock_terminal-newwindow' not
>>> present in theme
>>>
>>> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
>>> 'stock_terminal-closewindow' for stock: Icon 'stock_terminal-closewindow'
>>> not present in theme
>>>
>>> (Terminal:20866): GLib-GObject-WARNING **: instance of invalid
>>> non-instantiatable type `(null)'
>>>
>>> (Terminal:20866): GLib-GObject-CRITICAL **: g_signal_handler_disconnect:
>>> assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
>>>
>>> --
>>
>> Try a make clean install clean and see if it still does that. Also,
>> are your ports up to date?
>>
>
> Hi Jack/Warren/All,
>
> I did :
>
> make deinstall
> make clean
> make install clean
>
> The results are the same. I downloaded ports.tar.gz last week, so I think
> the ports should be fairly up2date. However, I would still greatly
> appreciate it if somebody could send me an sh/bash script or command that
> would demonstrate how to use cvsup to keep my ports directory up2date. Using
> cvs is one area which, thanks to my Linux heritage, is best rated as
> ERROR_NONE

You can use cvs.
rm -rf your /usr/ports
cd /usr
cvs -d anon...@anoncvs.fr.freebsd.org:/home/ncvs co ports
and then try installing the port you want to install.
Also, rm -rf /var/db/ports/* to clear out the previous make options
and see if you need to reconfigure some options.
___
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: Atom 330 testing

2009-03-24 Thread D G Teed
On Mon, Mar 23, 2009 at 11:35 PM, Warren Block  wrote:

> This board would make a very nice low-power server if it could boot
> reliably.
>

I'm running the earlier brother to this with Linux and it is fine.

The only weakness is the southbridge fan - they fail early
in their life.  Google it and you'll see it isn't just my experience.
I'd never run this with the stock fan - this fan is required
for the southbridge and also the passive air it shoots to the CPU next to
it.

I opted for an Antec Spot Cool to provide cooling.

--Donald
___
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: Clicking on Terminal crashes XFCE4

2009-03-24 Thread Manish Jain

Jack L. wrote:

On Tue, Mar 24, 2009 at 9:40 AM, Manish Jain  wrote:

Warren Block wrote:

On Tue, 24 Mar 2009, Manish Jain wrote:


I am Gnome user just trying out xfce for fun. I did a
'make install clean' in /usr/ports/x11-wm/xfce4-?*

The meta-port is just /usr/ports/x11-wm/xfce4, which you haven't
installed.


Everything went well. When I did a startx, xfce4 came up nicely.
Everything seems ok, but when I click on Terminal/xterm, X crashes returning
me to the console.

Is there something missing or wrong in my setup ? Any help would be
appreciated.

Install /usr/ports/x11-wm/xfce4 to fill out the rest of the requirements,
then do startxfce4.

-Warren Block * Rapid City, South Dakota USA


I installed /usr/ports/x11-wm/xfce4 too. The results are exactly the same.
Interestingly, I can run gnome-terminal in xfce without any hiccup. Even
more interestingly, I can xfce's Terminal from Gnome pretty well. There are
a few warnings though :

(Terminal:20866): Gtk-WARNING **: Could not find the icon
'stock_terminal-newtab'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
       http://icon-theme.freedesktop.org/releases

(Terminal:20866): Gtk-WARNING **: Error loading theme icon
'stock_terminal-newtab' for stock: Icon 'stock_terminal-newtab' not present
in theme

(Terminal:20866): Gtk-WARNING **: Error loading theme icon
'stock_terminal-newwindow' for stock: Icon 'stock_terminal-newwindow' not
present in theme

(Terminal:20866): Gtk-WARNING **: Error loading theme icon
'stock_terminal-closetab' for stock: Icon 'stock_terminal-closetab' not
present in theme

(Terminal:20866): Gtk-WARNING **: Error loading theme icon
'stock_terminal-closewindow' for stock: Icon 'stock_terminal-closewindow'
not present in theme

(Terminal:20866): Gtk-WARNING **: Error loading theme icon
'stock_terminal-newtab' for stock: Icon 'stock_terminal-newtab' not present
in theme

(Terminal:20866): Gtk-WARNING **: Error loading theme icon
'stock_terminal-newwindow' for stock: Icon 'stock_terminal-newwindow' not
present in theme

(Terminal:20866): Gtk-WARNING **: Error loading theme icon
'stock_terminal-closewindow' for stock: Icon 'stock_terminal-closewindow'
not present in theme

(Terminal:20866): GLib-GObject-WARNING **: instance of invalid
non-instantiatable type `(null)'

(Terminal:20866): GLib-GObject-CRITICAL **: g_signal_handler_disconnect:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

--

Try a make clean install clean and see if it still does that. Also,
are your ports up to date?



Hi Jack/Warren/All,

I did :

make deinstall
make clean
make install clean

The results are the same. I downloaded ports.tar.gz last week, so I 
think the ports should be fairly up2date. However, I would still 
greatly appreciate it if somebody could send me an sh/bash script or 
command that would demonstrate how to use cvsup to keep my ports 
directory up2date. Using cvs is one area which, thanks to my Linux 
heritage, is best rated as ERROR_NONE


--

Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

___
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: Clicking on Terminal crashes XFCE4

2009-03-24 Thread Jack L.
On Tue, Mar 24, 2009 at 9:40 AM, Manish Jain  wrote:
> Warren Block wrote:
>>
>> On Tue, 24 Mar 2009, Manish Jain wrote:
>>
>>> I am Gnome user just trying out xfce for fun. I did a
>>> 'make install clean' in /usr/ports/x11-wm/xfce4-?*
>>
>> The meta-port is just /usr/ports/x11-wm/xfce4, which you haven't
>> installed.
>>
>>> Everything went well. When I did a startx, xfce4 came up nicely.
>>> Everything seems ok, but when I click on Terminal/xterm, X crashes returning
>>> me to the console.
>>>
>>> Is there something missing or wrong in my setup ? Any help would be
>>> appreciated.
>>
>> Install /usr/ports/x11-wm/xfce4 to fill out the rest of the requirements,
>> then do startxfce4.
>>
>> -Warren Block * Rapid City, South Dakota USA
>>
>
> I installed /usr/ports/x11-wm/xfce4 too. The results are exactly the same.
> Interestingly, I can run gnome-terminal in xfce without any hiccup. Even
> more interestingly, I can xfce's Terminal from Gnome pretty well. There are
> a few warnings though :
>
> (Terminal:20866): Gtk-WARNING **: Could not find the icon
> 'stock_terminal-newtab'. The 'hicolor' theme
> was not found either, perhaps you need to install it.
> You can get a copy from:
>        http://icon-theme.freedesktop.org/releases
>
> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
> 'stock_terminal-newtab' for stock: Icon 'stock_terminal-newtab' not present
> in theme
>
> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
> 'stock_terminal-newwindow' for stock: Icon 'stock_terminal-newwindow' not
> present in theme
>
> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
> 'stock_terminal-closetab' for stock: Icon 'stock_terminal-closetab' not
> present in theme
>
> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
> 'stock_terminal-closewindow' for stock: Icon 'stock_terminal-closewindow'
> not present in theme
>
> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
> 'stock_terminal-newtab' for stock: Icon 'stock_terminal-newtab' not present
> in theme
>
> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
> 'stock_terminal-newwindow' for stock: Icon 'stock_terminal-newwindow' not
> present in theme
>
> (Terminal:20866): Gtk-WARNING **: Error loading theme icon
> 'stock_terminal-closewindow' for stock: Icon 'stock_terminal-closewindow'
> not present in theme
>
> (Terminal:20866): GLib-GObject-WARNING **: instance of invalid
> non-instantiatable type `(null)'
>
> (Terminal:20866): GLib-GObject-CRITICAL **: g_signal_handler_disconnect:
> assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
>
> --
Try a make clean install clean and see if it still does that. Also,
are your ports up to date?
___
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: OT: Ping (DUP!).

2009-03-24 Thread Nikos Vassiliadis

Paul Halliday wrote:

Is this situation always indicative of a network problem or can you
get a DUP from a machine that is multihomed and doing load balancing?


No, that's definitely a problem. Load-balancing mechanisms - try
to - forward packets though different paths, not twice as in this
situation.

Nikos
___
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: 7.0-STABLE && qemu not terminating

2009-03-24 Thread Juergen Lock
In article <20090317143537.ga12...@rebelion.sisis.de> you write:
>
>Hello,
>
>My VM qemu (qemu-0.9.1_3 / kqemu-kmod-1.3.0.p11_2) does not terminate 
>after the system (WinXP) is successfully halted and the qemu window is
>closed; it stays forever as:
>
># ps ax | fgrep qemu
> 1687  ??  I  0:00,25 kdesu -u root -c /home/guru/qemu/w2k/qemu.sh 
> 1713  ??  Is 0:00,00 sh -c /home/guru/qemu/w2k/qemu.sh 
> 1714  ??  I  0:00,00 /bin/sh /home/guru/qemu/w2k/qemu.sh
> 1717  ??  DE11:51,11 qemu -localtime -hda disk0 -hdb disk1 -net nic -net 
> tap -m 512
>
>any ides? thx
>
>   matthias

While I don't remeber seeing reports about this particular issue, it is
still very well possible that it has been fixed in the meantime, so I'd
advise you to update.  (the port is at 0.10.1 now, which contains quite
a few bugfixes and improvements...  Don't forget to read UPDATING and
the pkg-message of the port tho.)

 Oh and also, there usually is no reason to run qemu as root if you setup
tap permissions and (possibly) ifup/down scripts accordingly.  (Or,
if you are only using tuntap because you are on amd64 where slirp was
broken, that also is fixed now.)

 HTH,
Juergen
___
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: phpBB3, php5 and mysql

2009-03-24 Thread Mel Flynn
On Tuesday 24 March 2009 18:35:56 Christoph Kukulies wrote:

> Only I can't get the hell out of the phpBB3 forum. When I invoke the
> index.php
> I get a blank page with an incomplete xml header. I have no idea were to
> look at the moment.
>
> It looks a bit like php5 is not accessing the database (mysql) or
> something. Is there some module
> or driver to be compiled in? I installed php5 now from ports with the
> apache mod_php5 module
> being installed.

If you installed phpBB3 from ports, php5-mysql should've been installed. Php5 
has been split into modules. You may want to visit lang/php5-extensions for 
the meta port and install what you need.
-- 
Mel
___
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"


phpBB3, php5 and mysql

2009-03-24 Thread Christoph Kukulies
I'm in the process of moving a phpBB3 forum to a new machine (formerly 
5.2, now 7.1).

I also was so keen to move to php5 (was running php4 before, I believe).

I have the phpBB3 forum directory copied back into the DocumentRoot.
Mysql 4.1 is running, The database is there, I can log in to mysql and 
view the database.

I can get phpinfo.

Only I can't get the hell out of the phpBB3 forum. When I invoke the 
index.php
I get a blank page with an incomplete xml header. I have no idea were to 
look at the moment.


It looks a bit like php5 is not accessing the database (mysql) or 
something. Is there some module
or driver to be compiled in? I installed php5 now from ports with the 
apache mod_php5 module

being installed.

Any help welcome,

--
Christoph Kukulies

___
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: first firewall with pf

2009-03-24 Thread Michael K. Smith - Adhost
I also forgot to mention:

You should probably log your block rule so that you can see what's going on if 
things don't work as expected.

So:

block in log on $ext_if

Note the lack of "quick" as well, as previously mentioned.

With logging enabled, provided you have pflog running (which you should), you 
can use the following to see what's being blocked.

tcpdump -n -e -ttt -i pflog0  (provided pflog0 is your pflog interface).

Regards,

Mike


PGP.sig
Description: PGP signature


Re: OT: Ping (DUP!).

2009-03-24 Thread Wojciech Puchar

Is this situation always indicative of a network problem or can you
get a DUP from a machine that is multihomed and doing load balancing?
multihomed with same IP pool  (i mean BGP and 2 or more 
links) or multihomed with just 2 or more links to provider and different 
IP's on each.

___
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: Clicking on Terminal crashes XFCE4

2009-03-24 Thread Manish Jain

Warren Block wrote:

On Tue, 24 Mar 2009, Manish Jain wrote:


I am Gnome user just trying out xfce for fun. I did a
'make install clean' in /usr/ports/x11-wm/xfce4-?*


The meta-port is just /usr/ports/x11-wm/xfce4, which you haven't installed.

Everything went well. When I did a startx, xfce4 came up nicely. 
Everything seems ok, but when I click on Terminal/xterm, X crashes 
returning me to the console.


Is there something missing or wrong in my setup ? Any help would be 
appreciated.


Install /usr/ports/x11-wm/xfce4 to fill out the rest of the 
requirements, then do startxfce4.


-Warren Block * Rapid City, South Dakota USA



I installed /usr/ports/x11-wm/xfce4 too. The results are exactly the 
same. Interestingly, I can run gnome-terminal in xfce without any 
hiccup. Even more interestingly, I can xfce's Terminal from Gnome 
pretty well. There are a few warnings though :


(Terminal:20866): Gtk-WARNING **: Could not find the icon 
'stock_terminal-newtab'. The 'hicolor' theme

was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases

(Terminal:20866): Gtk-WARNING **: Error loading theme icon 
'stock_terminal-newtab' for stock: Icon 'stock_terminal-newtab' not 
present in theme


(Terminal:20866): Gtk-WARNING **: Error loading theme icon 
'stock_terminal-newwindow' for stock: Icon 
'stock_terminal-newwindow' not present in theme


(Terminal:20866): Gtk-WARNING **: Error loading theme icon 
'stock_terminal-closetab' for stock: Icon 'stock_terminal-closetab' 
not present in theme


(Terminal:20866): Gtk-WARNING **: Error loading theme icon 
'stock_terminal-closewindow' for stock: Icon 
'stock_terminal-closewindow' not present in theme


(Terminal:20866): Gtk-WARNING **: Error loading theme icon 
'stock_terminal-newtab' for stock: Icon 'stock_terminal-newtab' not 
present in theme


(Terminal:20866): Gtk-WARNING **: Error loading theme icon 
'stock_terminal-newwindow' for stock: Icon 
'stock_terminal-newwindow' not present in theme


(Terminal:20866): Gtk-WARNING **: Error loading theme icon 
'stock_terminal-closewindow' for stock: Icon 
'stock_terminal-closewindow' not present in theme


(Terminal:20866): GLib-GObject-WARNING **: instance of invalid 
non-instantiatable type `(null)'


(Terminal:20866): GLib-GObject-CRITICAL **: 
g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE 
(instance)' failed


--

Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

___
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: non-interactive passwd

2009-03-24 Thread Wojciech Puchar

expect
http://en.wikipedia.org/wiki/Expect

is a more general purpose solution in that problem space, though obviously


i know expect, and i use it when there is no straight way. usually it is 
- i used pw usermod -h and worked fine.


thanks all for help. i read manual too briefly
___
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: first firewall with pf

2009-03-24 Thread Vasadi I. Claudiu Florin

I forgot to mention...
You have something like


pass in/out on lo0

that's not wrong but it's not the way to do it


set skip on lo0 # is the right way
___
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"


OT: Ping (DUP!).

2009-03-24 Thread Paul Halliday
I couldn't think of a better place to throw this out, so I will try here.

Is this situation always indicative of a network problem or can you
get a DUP from a machine that is multihomed and doing load balancing?

Thanks.
___
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: first firewall with pf

2009-03-24 Thread Vasadi I. Claudiu Florin

Also, it would be a good ideea to go through the pf manual at least once.
I don't see any scrub or options or timeout periods (fine tunning).
___
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: mod_php5 and apache22

2009-03-24 Thread Ruben de Groot
On Tue, Mar 24, 2009 at 03:20:26PM +0100, Mel Flynn typed:
> On Tuesday 24 March 2009 15:13:33 Christoph Kukulies wrote:
> > I moved a site from some FreeBSD 5.2 or something (with apache2 and
> > mod_php5 at that time,
> > about 3 years old) to 7.1 (Beta though) and apache22.
> >
> > Now I don't find something that looks like mod_php5 in /usr/ports/www.
> >
> > Has that changed somehow?
> 
> lang/php5 with APACHE_MODULE ticked in options dialog.

The apache module compile is off by default since somewhere in 2006 and I keep
forgetting that occasionally :(
So people using pkg_add -r php5 will not get mod_php5.
This is probably not what they expected.
Would it not be a good idea to (re)introduce www/mod_php5?

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


Re: updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread Jerry McAllister
On Tue, Mar 24, 2009 at 10:54:31AM +0100, Matthias Apitz wrote:

> 
> Hello,
> 
> I've updated FreeBSD in some VM from 7.0-REL to CURRENT (without any
> problem); but I'm unsure now how to bring the ports tree /usr/ports to
> CURRENT;
> 
> normally in 7.0-REL I've used 'portsnap fetch update', but this will
> perhaps not bring the ports tree to CURRENT; I've read a lot the
> handbook about, but it is not clear for me; should I use CVS as well to
> bring the /usr/ports to CURRENT, or something else?

Just put the line

ports-all tag=.

in your supfile whenever you do the csup.   

Remember what the ports tree is - a skeleton for installing ports.
Doing this will just bring the tree up to date.   Then you will need
to build and install the desired ports to get the actual utilities
updated.

You might also add
 
doc-all tag=.

to the supfile to get the latest docs.

jerry


> 
> Thx for a pointer
> 
>   matthias
> -- 
> Matthias Apitz
> Manager Technical Support - OCLC GmbH
> Gruenwalder Weg 28g - 82041 Oberhaching - Germany
> t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
> e  - w http://www.oclc.org/ http://www.UnixArea.de/
> ___
> 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: mod_php5 and apache22

2009-03-24 Thread Maciej Milewski
Tuesday 24 March 2009 15:13:33 Christoph Kukulies napisał(a):
> I moved a site from some FreeBSD 5.2 or something (with apache2 and
> mod_php5 at that time,
> about 3 years old) to 7.1 (Beta though) and apache22.
>
> Now I don't find something that looks like mod_php5 in /usr/ports/www.
>
> Has that changed somehow?
Yes, it has changed.

cd /usr/ports/lang/php5 && make config

there is option apache which says it builds apache module.

The reason is explained in ports this way:

-- Port:   www/mod_php5
Moved:  lang/php5
Date:   2006-05-06
Reason: Unification of php slave ports


Regards,
Maciej Milewski
___
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: mod_php5 and apache22

2009-03-24 Thread Mel Flynn
On Tuesday 24 March 2009 15:13:33 Christoph Kukulies wrote:
> I moved a site from some FreeBSD 5.2 or something (with apache2 and
> mod_php5 at that time,
> about 3 years old) to 7.1 (Beta though) and apache22.
>
> Now I don't find something that looks like mod_php5 in /usr/ports/www.
>
> Has that changed somehow?

lang/php5 with APACHE_MODULE ticked in options dialog.
-- 
Mel
___
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"


mod_php5 and apache22

2009-03-24 Thread Christoph Kukulies
I moved a site from some FreeBSD 5.2 or something (with apache2 and 
mod_php5 at that time,

about 3 years old) to 7.1 (Beta though) and apache22.

Now I don't find something that looks like mod_php5 in /usr/ports/www.

Has that changed somehow?

--
Christoph Kukulies


___
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: utility that scans lan for client?

2009-03-24 Thread John Almberg
I suspect that you don't have a switch that can port 'mirror' or  
'span'.

If you do, let us know.

Otherwise, if you *really* want to find out what is on your switched
Ethernet network, and nmap/arp etc. isn't enough, then I'd  
recommend an
application called 'ettercap'. It runs on the CLI, and a colleague  
also

has a nice GUI for it (under Linux) as well.

This will allow you to infiltrate the network at Layer-2 by arp
poisoning all connected devices, and intercepting all traffic.

Essentially, you perform a MitM, and you become the host (or in a  
small

environment the default gw) that the device is trying to talk to.

This way, you can find out not only what the host is, but what it  
is saying.


Please understand that this approach has significant side effects. You
can do extensive harm to your local network by using this approach, so
read up on it, and be careful. Know what you are doing, and know the
ramifications of simply disconnecting yourself from the network  
prior to

stopping the procedure. Not only that, but if you don't own control of
the switched environment, this is a very good way to get yourself
blocked completely from it.

This tactic, and port mirror/span/monitor are the easiest ways to know
what is really going on with regards to the wire (if you don't have
ACL's and other mitigation/protection strategies already in place).


Thanks. This is probably overkill for this little LAN. There are only  
8 machines on it, mainly servers and a big printer and this Vonage  
device. The clients are mainly wireless devices that come and go,  
depending on who is in the building.


The network is just one Cisco router and an Apple Airport Extreme for  
wireless (the best wireless access point I've ever used.) The  
wireless network just extends the wired LAN, so all wired and  
wireless devices are in the same address space. We actually have a  
couple cheap Airport Express boxes spread around the building, but  
they are essentially repeaters for the Airport Extreme, to extend the  
range. All the machines are either FreeBSD servers or Apple laptops  
(with the occasional rogue Windows laptop that sneaks in :-)


The whole network is simple and cheap, with a minimum of wires, but  
it works. It just bugged me that I didn't know the IP address of the  
Vonage box.


- John
___
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"


Support for parallel building hits ports tree

2009-03-24 Thread Mel Flynn
Hi,

I remember people on this list being interested in parallel builds, so here's 
the link to my forum post that explains the details of the support that's been 
added to the ports tree last Sunday:

http://forums.freebsd.org/showthread.php?p=17604#post17604

-- 
Mel
___
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: ipfw, pf and ALTQ on outbound traffic? (or: "The net is slow when I upload!")

2009-03-24 Thread Morgan Wesström
CyberLeo Kitsana wrote:
> Morgan Wesström wrote:
>> Jubal Kessler wrote:
>>> (To put it another way: When I max out my upstream, and my upstream is
>>> capped lower than my downstream, my downstream becomes useless and I am
>>> forced to wait until the upload finishes before I can resume using the
>>> downstream. This is a problem, and I'd like to solve it.)
>> This is exactly the reason why I built my own router several years ago.
> 
> I have done the same with PF and AltQ for the past few years. It is so
> effective on my 1536/384 ADSL that I now have the opposite problem: a
> large download will lag both downloads and uploads. Sadly, this is a
> more difficult issue to tackle without full access to hardware at both
> ends of the slow link.
> 

Yes, I have noticed that too. Some discussions I've seen suggest that
you add a queue on your internal interface too and limit the bandwidth
entering your LAN. This will drop packets and TCP is supposed to
renegotiate transmission windows then and make the upstream server send
data slower and not saturate your download. I'm no expert in the gritty
technical details and I haven't tried this myself but it might be worth
experimenting with.
/Morgan
___
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: Clicking on Terminal crashes XFCE4

2009-03-24 Thread Warren Block

On Tue, 24 Mar 2009, Manish Jain wrote:


I am Gnome user just trying out xfce for fun. I did a
'make install clean' in /usr/ports/x11-wm/xfce4-?*


The meta-port is just /usr/ports/x11-wm/xfce4, which you haven't 
installed.


Everything went well. When I did a startx, xfce4 came up nicely. Everything 
seems ok, but when I click on Terminal/xterm, X crashes returning me to the 
console.


Is there something missing or wrong in my setup ? Any help would be 
appreciated.


Install /usr/ports/x11-wm/xfce4 to fill out the rest of the 
requirements, then do startxfce4.


-Warren Block * Rapid City, South Dakota USA
___
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: non-interactive passwd

2009-03-24 Thread Jon Radel

Wojciech Puchar wrote:


how to change password for account non-interactively from 
commandline/shell script?


expect
http://en.wikipedia.org/wiki/Expect

is a more general purpose solution in that problem space, though 
obviously more effort in this specific case.


--

--Jon Radel
j...@radel.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: non-interactive passwd

2009-03-24 Thread Wojciech Puchar

exactly what i needed - and missed reading manual

On Tue, 24 Mar 2009, Mel Flynn wrote:


On Tuesday 24 March 2009 14:06:57 Wojciech Puchar wrote:

how to change password for account non-interactively from commandline/shell
script?


pw usermod uname -h fd or -H fd, see manpage.
--
Mel



___
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: non-interactive passwd

2009-03-24 Thread Mel Flynn
On Tuesday 24 March 2009 14:06:57 Wojciech Puchar wrote:
> how to change password for account non-interactively from commandline/shell
> script?

pw usermod uname -h fd or -H fd, see manpage.
-- 
Mel
___
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"


non-interactive passwd

2009-03-24 Thread Wojciech Puchar
how to change password for account non-interactively from commandline/shell 
script?

___
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: updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread Matthias Apitz
El día Tuesday, March 24, 2009 a las 12:06:43PM +, RW escribió:

> On Tue, 24 Mar 2009 11:21:10 +0100
> Matthias Apitz  wrote:
> 
> > El día Tuesday, March 24, 2009 a las 10:07:14AM +, Bruce Cran
> > escribió:
> > 
> > > The ports tree isn't versioned like /usr/src; 'portsnap fetch' will
> > > always fetch the latest copy from cvs mainline, and the only way to
> > > go back to a branch (e.g RELENG_5_5_0) is by using csup, which you
> > > would only really want to do if you're using a release of FreeBSD
> > > which has gone out of support, such as 5.x.
> > 
> > What made me worry about this was reading
> > 
> > http://www.freebsd.org/ports/index.html
> > 
> > The Ports Collection supports the latest release on the
> > FreeBSD-CURRENT and FreeBSD-STABLE branches
> 
> You should still rebuild all your ports, since you have crossed a major
> version boundary. 

Yes, of course I should do that; but this is a clean system; I've just
installe 70R and CVS updated to CURRENT; no packages have been in
/var/db/pkg;

I now CVS check'ed out /usr/ports and will build what I need.

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.oclc.org/ http://www.UnixArea.de/
___
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: updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread RW
On Tue, 24 Mar 2009 11:21:10 +0100
Matthias Apitz  wrote:

> El día Tuesday, March 24, 2009 a las 10:07:14AM +, Bruce Cran
> escribió:
> 
> > The ports tree isn't versioned like /usr/src; 'portsnap fetch' will
> > always fetch the latest copy from cvs mainline, and the only way to
> > go back to a branch (e.g RELENG_5_5_0) is by using csup, which you
> > would only really want to do if you're using a release of FreeBSD
> > which has gone out of support, such as 5.x.
> 
> What made me worry about this was reading
> 
> http://www.freebsd.org/ports/index.html
> 
> The Ports Collection supports the latest release on the
> FreeBSD-CURRENT and FreeBSD-STABLE branches

You should still rebuild all your ports, since you have crossed a major
version boundary. 

___
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: updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread Matthias Apitz
El día Tuesday, March 24, 2009 a las 10:07:14AM +, Bruce Cran escribió:

> On Tue, Mar 24, 2009 at 10:54:31AM +0100, Matthias Apitz wrote:
> > 
> > Hello,
> > 
> > I've updated FreeBSD in some VM from 7.0-REL to CURRENT (without any
> > problem); but I'm unsure now how to bring the ports tree /usr/ports to
> > CURRENT;
> > 
> > normally in 7.0-REL I've used 'portsnap fetch update', but this will
> > perhaps not bring the ports tree to CURRENT; I've read a lot the
> > handbook about, but it is not clear for me; should I use CVS as well to
> > bring the /usr/ports to CURRENT, or something else?
> > 
> 
> The ports tree isn't versioned like /usr/src; 'portsnap fetch' will
> always fetch the latest copy from cvs mainline, and the only way to go back to
> a branch (e.g RELENG_5_5_0) is by using csup, which you would only
> really want to do if you're using a release of FreeBSD which has gone
> out of support, such as 5.x.

What made me worry about this was reading

http://www.freebsd.org/ports/index.html

The Ports Collection supports the latest release on the FreeBSD-CURRENT
and FreeBSD-STABLE branches

I have now thrown away the /usr/ports which came from the 70R CDROM and
did a

# cvs checkout ports

now, for example, ports/UPDATING is bleeding edge;

Thx for your feedback in any case

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.oclc.org/ http://www.UnixArea.de/
___
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: utility that scans lan for client?

2009-03-24 Thread Bruce Cran
On Tue, Mar 24, 2009 at 12:43:34AM -0700, per...@pluto.rain.com wrote:
> Mel Flynn  wrote:
> > On Monday 23 March 2009 19:59:36 John Almberg wrote:
> > > What I'm looking for is a utility that can scan a LAN for attached
> > > clients... i.e., computers that are attached to the LAN.
> > >
> > > I have one box (an appliance that I have no access to), that is on
> > > the LAN but I don't know what IP address it's using. I'd like to
> > > complete my network map, and that is the one empty box on my chart.
> >
> > security/nmap
> >
> > If the box pings, you can simply scan your LAN like:
> > $ nmap -sP 192.168.2.0/24
> 
> Or, with no ports needed:
> 
> $ ping -n -t 5 -i 10 192.168.200.255
> 
> Granted you need to know the broadcast address.  If you know the
> interface name, you can get the broadcast address from ifconfig:

That only works if the OS is configured to reply to broadcast ping,
which appears to be usually disabled nowadays. At least on FreeBSD 7.1
net.inet.icmp.bmcastecho defaults to 0.

-- 
Bruce Cran
___
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: updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread Bruce Cran
On Tue, Mar 24, 2009 at 10:54:31AM +0100, Matthias Apitz wrote:
> 
> Hello,
> 
> I've updated FreeBSD in some VM from 7.0-REL to CURRENT (without any
> problem); but I'm unsure now how to bring the ports tree /usr/ports to
> CURRENT;
> 
> normally in 7.0-REL I've used 'portsnap fetch update', but this will
> perhaps not bring the ports tree to CURRENT; I've read a lot the
> handbook about, but it is not clear for me; should I use CVS as well to
> bring the /usr/ports to CURRENT, or something else?
> 

The ports tree isn't versioned like /usr/src; 'portsnap fetch' will
always fetch the latest copy from cvs mainline, and the only way to go back to
a branch (e.g RELENG_5_5_0) is by using csup, which you would only
really want to do if you're using a release of FreeBSD which has gone
out of support, such as 5.x.

-- 
Bruce Cran
___
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"


updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread Matthias Apitz

Hello,

I've updated FreeBSD in some VM from 7.0-REL to CURRENT (without any
problem); but I'm unsure now how to bring the ports tree /usr/ports to
CURRENT;

normally in 7.0-REL I've used 'portsnap fetch update', but this will
perhaps not bring the ports tree to CURRENT; I've read a lot the
handbook about, but it is not clear for me; should I use CVS as well to
bring the /usr/ports to CURRENT, or something else?

Thx for a pointer

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.oclc.org/ http://www.UnixArea.de/
___
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: Clicking on Terminal crashes XFCE4

2009-03-24 Thread Manish Jain

Jack L. wrote:

On Mon, Mar 23, 2009 at 10:04 PM, Manish Jain  wrote:

Hi,

I am Gnome user just trying out xfce for fun. I did a
'make install clean' in /usr/ports/x11-wm/xfce4-?*

Everything went well. When I did a startx, xfce4 came up nicely. Everything
seems ok, but when I click on Terminal/xterm, X crashes returning me to the
console.

Is there something missing or wrong in my setup ? Any help would be
appreciated.
--


What error messages do you get?



I am getting the following with 'startx 2>startx.log'

contents of startx.log:


(xfce4-menu-plugin:26747): Gtk-WARNING **: Could not find the icon 
'seahorse-preferences'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases

(xfdesktop:26729): Gtk-WARNING **: Could not find the icon 
'seahorse-preferences'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases

Fatal server error:
Caught signal 11.  Server aborting

The application 'xfce4-session' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application 'xfdesktop' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application 'xfce4-panel' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application 'xfwm4' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
xinit:  connection to X server lost.
The application 'xfce4-settings-helper' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application 'Terminal' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.


--

Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

___
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: ipfw, pf and ALTQ on outbound traffic? (or: "The net is slow when I upload!")

2009-03-24 Thread CyberLeo Kitsana
Morgan Wesström wrote:
> Jubal Kessler wrote:
>> (To put it another way: When I max out my upstream, and my upstream is
>> capped lower than my downstream, my downstream becomes useless and I am
>> forced to wait until the upload finishes before I can resume using the
>> downstream. This is a problem, and I'd like to solve it.)
> This is exactly the reason why I built my own router several years ago.

I have done the same with PF and AltQ for the past few years. It is so
effective on my 1536/384 ADSL that I now have the opposite problem: a
large download will lag both downloads and uploads. Sadly, this is a
more difficult issue to tackle without full access to hardware at both
ends of the slow link.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net


Furry Peace! - http://.fur.com/peace/
___
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: utility that scans lan for client?

2009-03-24 Thread perryh
Mel Flynn  wrote:
> On Monday 23 March 2009 19:59:36 John Almberg wrote:
> > What I'm looking for is a utility that can scan a LAN for attached
> > clients... i.e., computers that are attached to the LAN.
> >
> > I have one box (an appliance that I have no access to), that is on
> > the LAN but I don't know what IP address it's using. I'd like to
> > complete my network map, and that is the one empty box on my chart.
>
> security/nmap
>
> If the box pings, you can simply scan your LAN like:
> $ nmap -sP 192.168.2.0/24

Or, with no ports needed:

$ ping -n -t 5 -i 10 192.168.200.255

Granted you need to know the broadcast address.  If you know the
interface name, you can get the broadcast address from ifconfig:

$ ping -n -t 5 -i 10 ` ifconfig xl0 | sed -n -e 's/^.* broadcast //p' `

BTW both ping and ifconfig are in /sbin, which is perhaps somewhat
less likely to be in PATH than /bin and /usr/bin.
___
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: Installing 7.1 amd64 on Dell powerEdge 2950

2009-03-24 Thread Olivier Nicole
Hi,

As a follow-up...

> I spent a couple of days trying to install FreeBSD 7.1 amd64 on a Dell
> PowerEdge 2950.
> 
> It won't finish booting properly from the installation CD:
> 
> with default boot, single user and verbose it stops at:
> fdc0: ...
> device_attach: fdc0 attach returned 6
> 
> with ACPI disabled and Safe mode it stops at:
> md0: Preloaded insge ...
> Trying to mount root from ufs /dev/md0
> 
> After it hangs, I waited about half hour and had to power down the
> machine.
> 
> Dell PowerEdge 1950 and 200 are not affected.
> 
> Any help?
I managed to install Release 6.4 amd64.

I cvsup'ed to RELENG 7.1 amd64.

I trimed down the kernel to keep only the devices needed by the
hardware.  It appreas that device sio is among the ones that hang the
load of GENERIC kernel.

"make kernel" would produce a bunch of lines like:
 kldxref: unknown metdata record 0 in file if_zyd.ko.symbols
 kldxref: unknown metdata record 0 in file if_zyd.ko.symbols
 kldxref: unknown metdata record 0 in file if_zyd.ko.symbols
but 7.1 would boot nevertheless.

After installing world on 7.1, the make kernel runs cleanly.

Best regards,

Olivier
___
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"