Re: FreeBSD Embedded in 3rd Party Applications and Appliances?

2007-08-14 Thread Tom Grove

Pervaiz Choudhry wrote:

Well put. Thanks,

cheers,

~ pervaiz
415-215-6530



On Aug 14, 2007, at 7:25 AM, Lowell Gilbert wrote:


Pervaiz Choudhry [EMAIL PROTECTED] writes:


We are trying determine cost and benefits  of supporting  FreeBSD
platform for OEM market.  Does any one have data on the installbase
for FreeBSD Embedded in 3rd party applications and appliances?  We
are looking for ball park numbers.


There is no requirement to tell anyone else that you're using FreeBSD
in a product, so some people don't.  As a result, I would be highly
suspicious of any numbers anyone *could* come up with (I would expect
such numbers to miss a lot of applications).

A better approach in my opinion would be to look at specific use
cases; the FreeBSD web site includes some information of that sort.
One example not listed there is that Juniper Networks routers control
plane (JunOS, I think) is based on FreeBSD.

Good luck.



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

IronPort anti-spam servers use FreeBSD as a base for their ASyncOS.

http://www.ironport.com/technology/ironport_asyncos_operating_system.html

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


Re: /stand/sysconfig does't work

2007-08-03 Thread Tom Grove

[EMAIL PROTECTED] wrote:

I just purchased Freebsd-6.1 RELEASE and  /stand/sysinstall doesn't work.

I have been using freebsd since the version 2.1.  When installing, I 
always use /stand/sysinstall.  Now I have freebsd's 6.1 version.  
/stand/sysinstall no longer works.  Now I think /someword/sysinstall 
works.  I have at least 10 versions of freebsd, both books and the 
freebsd website.  After a long day of research, I couldn't the find 
the word  in the above example.


What word do I use for someword?

/someword/sysinstall

Thanks in advance
bruce
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
You could also try using man or which.  Which will tell you where the 
binary exists within the filesystem and man will give you the location 
of the binary in the first paragraph.


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


Re: Creating an ext2 file system on FreeBSD?

2007-08-03 Thread Tom Grove

Paul Hoffman wrote:
Hi again. Is there a FreeBSD equivalent of Linux's 'mke2fs'? I want to 
create a disk image that is in ext2 format. On Linux, I would do:

  dd if=/dev/zero of=some.img bs=1M count=1 seek=1024
  /sbin/mke2fs -F -j some.img
Can I do something similar on FreeBSD?

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

mke2fs is is the port: /usr/ports/sysutils/e2fsprogs

cd /usr/ports/sysutils/e2fsprogs
make install clean

/usr/local/sbin/mke2fs

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


Re: Root access loggin

2007-07-24 Thread Tom Grove

Ian Lord wrote:

Hi,

 


A Zend technician asked me to have a root access on one of my box to
troubleshoot something wrong in Zend Platform installation that doesn't work
on Freebsd.

 


He will need root access naturally to install and debug remotely.

 


Is there a way to log all the commands he will type and send them in a
logfile ?

 


Or is there a better solution than granting him root access from ssh ?

 


Thanks

 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
You could use sudo.  Setup an account for him and give him sudo rights 
so that each time he would need root access to something he could use 
the command:


$sudo command

You could even go so far as to limit what he can use sudo on.

$man sudo

Giving him full root access is probably not a good idea.

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


Re: Root access loggin

2007-07-24 Thread Tom Grove

Lowell Gilbert wrote:

Tom Grove [EMAIL PROTECTED] writes:

  

You could even go so far as to limit what he can use sudo on.

$man sudo

Giving him full root access is probably not a good idea.



In practice, this approach *is* effectively giving him full root
access.  Once you have to give the tech the ability to edit root-owned
files, you have to trust his honesty.  
Once any kind of local access is given to a user trust becomes an issue; 
regardless of root access or not.  By only allowing a certain set of 
commands there would still need to be a great deal of cracking to gain 
more access.  If one just gives out root access no more would need to be 
done.  This is where sudo is unlike root access.

There are some important
advantages to doing it through sudo, though: one is that it makes it
easy for the user to keep track of just the root-privileged commands,
and another is that it's easier for the user to avoid shooting himself
in the foot.
  
Other advantages to sudo are not having to give out the root password.  
A possible solution may be using sudo and watch together.

To watch everything done by the remote-connected tech, the most
complete approach is probably watch(8), which is a much simpler way of
getting everything typed on a particular tty.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
While I agree that any kind of raised privilege may not be the best 
idea, if it is necessary, sudo adds a layer of protection you do not get 
with straight root.


-Tom

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


Re: FreeBSD systems

2007-07-17 Thread Tom Grove

Peter Clark wrote:

Hello all,

Does anyone have any experience dealing with www.freebsdsystems.com ? 
I am looking to purchase some servers that will work a with a minimum 
of hardware challenges.



Thanks in advance,

Pete

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

IX Systems?

www.ixsystems.com

They are the company that purchased PC-BSD, BSD Mall and FreeBSD Mall.  
Take a look at them.

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


Re: Sharing Outlook calendars via FreeBSD?

2007-07-16 Thread Tom Grove

Nejc Skoberne wrote:

Hello,

I am using a FreeBSD 5.3 server in a company with approx. 30
users. There is also a Samba server as a PDC and a mail server.

The users would like to share their Outlook calendars. What
are my options regarding having FreeBSD as a platform to do this?
OpenGroupware is just for Linux and I can't find any
documentation how to put it on FreeBSD (the linux-opengroupware
port expired last year).

Thanks,
Nejc


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

You could try a couple of things...

First, you could evaluate some software like Communigate or Axigen but I 
can tell you that, Communigate at least, is not a very good product.  
Your best bet is to either try Axigen, which I haven't tested, or do 
what I did...


Install WebDav on a FreeBSD server and use this Outlook plugin to 
connect to webdav servers and save your files in ical format.


Outlook Plugin
http://sourceforge.net/projects/remotecalendars/

Before you flame back with, it only works with Outlook 2003.  Trust 
me, it's a small price to pay to not have to use some over-priced server 
solution like Communigate or Scalix.


Just my 2 cents...

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


Re: cups installation

2007-07-12 Thread Tom Grove

pj wrote:

Try as you may, CUPS does not seem to be installable.

When installing the cups (metaport) on FBSD6.2 I get the error message:

===   cups-1.2.10_1 depends on executable: espgs - not found
===Verifying install for espgs in /usr/ports/print/cups-pstoraster
===  Installing for cups-pstoraster-8.15.4_1
===   cups-pstoraster-8.15.4_1 depends on executable: gs - not found
===Verifying install for gs in /usr/ports/print/ghostscript-gpl
===  Building for ghostscript-gpl-8.57
 in pre-build ...
   creating directories for compilation ...
   building EPAG utility ...
gmake: `ert' is up to date.
   creating symlinks for EPAG ...
./obj/echogs -w ./obj/ldt.tr -n - cc -pthread -L/usr/local/lib -o 
./bin/gs

./obj/echogs -a ./obj/ldt.tr -n -s ./obj/gs.o -s
cat ./obj/ld.tr ./obj/ldt.tr
./obj/echogs -a ./obj/ldt.tr -s -  -lm
if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= 
DEVICE_DEVS3= \
DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= 
DEVICE_DEVS8= \

DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \
DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \
DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \
DEVICE_DEVS_EXTRA= \
/bin/sh ./obj/ldt.tr
*** Error code 2

Stop in /usr/ports/print/ghostscript-gpl.
*** Error code 1

Stop in /usr/ports/print/cups-pstoraster.
*** Error code 1

Stop in /usr/ports/print/cups.

Any ideas? I'm completely lost at this point.

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

portsnap fetch; portsnap extract

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


IPW3945 in 6.2

2007-07-10 Thread Tom Grove
What are the chances that IPW3945 will work in 6.2?  Has anyone 
accomplished this?  Also, is it likely that the wpi drivers will be 
ready for 7.0?


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


Re: OSS in 6.2

2007-07-06 Thread Tom Grove

Daniel Molina Wegener wrote:

On Thursday 05 July 2007 14:16:42 Tom Grove wrote:
  

Has anyone successfully used the OSS in 6.2?  I have an Intel
HDA card that I would like to be able to record on but when I
use the OSS program and modules I get nothing but garbled
tones coming from the speakers. The osstest utility also
reports errors of timeouts.

-Tom
[SNIP]




Hello,

I have an Intel HDA card too, I'm using 6.2-STABLE, where the
driver of 7.0-CURRENT from where has been merged into 6.2.

It works fine... try updating the source tree with csup or
cvsup and recompile the kernel and world.

The driver is snd_hda, with snd_hda_load=YES in boot loader
may work.

OSS sometimes isn't a good options, I think that HDA matches the
case...

Regards,
  

Are you able to record with that driver?

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


OSS in 6.2

2007-07-05 Thread Tom Grove
Has anyone successfully used the OSS in 6.2?  I have an Intel HDA card 
that I would like to be able to record on but when I use the OSS program 
and modules I get nothing but garbled tones coming from the speakers.  
The osstest utility also reports errors of timeouts.


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


Re: Upgrade Failure-

2007-07-05 Thread Tom Grove

Jean-Paul Natola wrote:

Hi all,

I'm once again trying to upgrade from 5.5 to 6.2

So in sysinstall I went to options - changed the release  to 6.2-RELEASE 


Started the upgrade and I keep getting this error

│Write failure on transfer! (wrote -1 bytes of 1425408 bytes)  │
├──(100%)─

I've tried about 12 times using different FTP servers-

What am I missing ?









Jean-Paul 


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

  
Have you tried updating via cvs and rebuilding world?  That may work out 
for you a bit better.


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

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash

2007-07-03 Thread Tom Grove

RW wrote:

On Tue, 03 Jul 2007 08:21:38 -0400
Gerard [EMAIL PROTECTED] wrote:

  

On July 02, 2007 at 11:57PM Richard Lynch wrote:



 ...
And there isn't any content I've felt deprived to not get.

Obviously, folks who spend their free time (or work-time :-))
watching youtube would feel differently, but...
  

Personally, I disagree. Many sites that I use, including business
sites, require the use of Flash. Your statement that Flash is only
relevant for those who view 'YouTube' is grossly incorrect. It is due
to the numerous problems of getting Flash to work correctly under
FreeBSD, regardless of which browser the end user is employing, that
I keep a Windows machine so as to facilitate the viewing of Flash
content.

IMHO, this is one of the reasons that more users do not use
alternative operating systems like FBSD. ...



Can anyone comment on how well Flash9 works in a real Linux
distribution?

In particular does it have the problem where the flash item turns
into a blank box after a few seconds. If that problem exists in Linux
there's a decent chance it will get fixed by Adobe.

 

 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
I will say that my limited use with Debian testing (Lenny) and Flash was 
actually quite pleasant.  Flash worked on almost all sites very well.


I'm not all that familiar with the process that the FreeBSD Foundation 
went through to get Java binaries but I am wondering if they could do 
something similar with Adobe to get a native Flash on FreeBSD.  How 
possible is this?  I know this probably goes against everything that BSD 
stands for but money talks in this day and age.'


Would it be worth pursuing some kind of license agreement with Adobe so 
that the community or Adobe could start working on a native Flash for 
FreeBSD?


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


Re: Anyone has migrated Xorg from 6.9 to 7.2 with success ?

2007-07-02 Thread Tom Grove

Frank Bonnet wrote:

Hello

I tried twice starting from a fresh 6.2-R installed machine
and followed intructions of the updating file but it failed
twice ... Once Xorg has been upgraded I've never been able
to start X server again , I use KDE so I start X server with
the kdm command.

Thanks a lot for any help

Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
The list may be able to help you out more if you include a bit more 
about your machine, your X config and some errors.


Also, I was one of the lucky people that had a successful upgrade the 
first time on an up to date 6.2 release box.  I just followed the 
directions in UPDATING to a T and it was very, very long but fairly 
smooth.  I use XFCE, however, so I can't speak for the K folks.


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


ZFS in 6.3

2007-06-07 Thread Tom Grove

Any chance that ZFS will make it into 6.3 or is this a 7.0 only feature?

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


Release Schedules

2007-06-07 Thread Tom Grove
Are there release schedules for 6.3 and 7.0 up on the web somewhere?  
Something like:


http://www.freebsd.org/releases/6.2R/schedule.html

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


PyGTK Slowness

2007-06-07 Thread Tom Grove
I have a program that I wrote that uses a multitude of modules but the 
main ones are MySQLdb and PyGTK.  I hadn't used the program in awhile 
but the last time I used it it was very responsive.  Now, after a few 
upgrades from 6.0 to 6.2 and plenty of port upgrades including moving to 
X 7.2 I have noticed that it is very slow.  It actually hangs for up to 
10 seconds when switching from record to record of a list.


The list displays within some text boxes and the buttons move from 
record to record.  Nothing too strange but I was wondering if any of the 
upgrades have slowed down PyGTK  programs like this.


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


PyGTK Slowness

2007-06-07 Thread Tom Grove
I have a program that I wrote that uses a multitude of modules but the 
main ones are MySQLdb and PyGTK.  I hadn't used the program in awhile 
but the last time I used it it was very responsive.  Now, after a few 
upgrades from 6.0 to 6.2 and plenty of port upgrades including moving to 
X 7.2 I have noticed that it is very slow.  It actually hangs for up to 
10 seconds when switching from record to record of a list.


The list displays within some text boxes and the buttons move from 
record to record.  Nothing too strange but I was wondering if any of the 
upgrades have slowed down PyGTK  programs like this.


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


Java on the BSD Desktop?

2007-05-28 Thread Tom Grove
I am wanting to write a gui frontend to pkg_cutleaves.  I see that it is 
just a simple perl script so, it would be quite simple to just put a gtk 
frontend on it and call it a day.  However, I am starting to write a 
good amount of code in java and was wondering what others think about 
java as the de-facto gui standard on the BSD desktop.


Python started me on a path of cross platform coding and I found that 
java also makes this task quite simple.  Along with it's nice feature 
set and significant speed improvements since 1.5 I am starting to see it 
as a great language for most everything.  Is it just me or does BSD and 
java make sense?  Basically, before I get started writing a program that 
I hope is used by more than me does it make more sense to write this 
program and future programs in java or gtk/python/perl/c/whatever?


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


XGL/Beryl/Compiz with Xorg 7.2

2007-05-28 Thread Tom Grove
Has anyone tried installing and using any of the above after 7.2 was 
committed?  I tried all weekend and just get poor results.  In XFCE and 
Gnome performance is unusably slow.  I have a dual-core cpu with 1GB of 
memory and a 256MB NVidia video card.  It certainly shouldn't be slow 
because of hardware.  I just can't find much documentation because the 
7.2 port is so new.  Any help is much appreciated.  Thanks.


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


Re: Kernel Options fo a File Server

2007-05-23 Thread Tom Grove

PeterPluta wrote:

From what I heard from most BSD'ers it's not really feasible to re-compile or
customize the kernel much these days. If you truly need to compile/optimize
the kernel you're already overworking your hardware. With that being said
I’m curious myself, I'm always interested in squeezing a little out of my
hardware.


Ivan Carey wrote:
  

Hello,
What would be the best Kernel options to run a file server?
I will be using an Intel server mother board with one Xeon quad core CPU 
installed (this mother board has 2 CPU sockets) 2GB RAM and dual 500Gb 
SATA HDD's


I am thinking of options that would make the kernel efficient as a pure 
file server.


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





  

First, please don't top post.  Thanks.

I typically recompile a kernel for almost every new machine.  You can 
certainly change a great deal of options within the kernel that you 
otherwise can't do.  For instance do a 'make LINT' in 
/usr/src/sys/i386/conf and grok the LINT file for options.  There are 
tons of tweaks you could do.


If you want to tweak the file server I would look more into tunefs.  man 
tunefs...this will probably be where you will find the most info about 
getting the most out of your filesystem.


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


Mail Switcher

2007-04-23 Thread Tom Grove

Does anyone have any ideas on how I would solve the following problem?

I have two mail servers.  One is running cyrus imap and the other 
courier.  I am in the process of moving users over one at a time and 
would like to put some kind of proxy box in front of the mail servers.  
I would like to have the proxy listen on port 143 for connections and 
grab the usernames.  Once this happens I want the users connection 
routed to the appropriate mail server.


Any ideas?

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


Re: Mail Switcher

2007-04-23 Thread Tom Grove

Philip Hallstrom wrote:

Does anyone have any ideas on how I would solve the following problem?

I have two mail servers.  One is running cyrus imap and the other 
courier.  I am in the process of moving users over one at a time and 
would like to put some kind of proxy box in front of the mail 
servers.  I would like to have the proxy listen on port 143 for 
connections and grab the usernames.  Once this happens I want the 
users connection routed to the appropriate mail server.


Any ideas?


I've never used it myself, but perdition comes up when this gets asked...

http://www.vergenet.net/linux/perdition/
Perfect...it also seems to exist in ports 
/usr/ports/mail/perdition...works very well.

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


rc.d scripts

2007-03-23 Thread Tom Grove
Does anyone know how to make a script in /etc/rc.d run last?  For 
instance I want dhclient to be the last script in /etc/rc.d/ to run.  
Any help is much appreciated.


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


Re: Flash with Firefox 2

2007-03-16 Thread Tom Grove

Albert Shih wrote:

 Le 16/03/2007 à 09:31:57+0100, Nagy László Zsolt a écrit
  

Jay Chandler írta:

I can't be the first person to ask this, but a Google and a cursory 
search of the archives don't lend me much in the way of hints.


Anyone have a link or an explanation of how to get the Flash plugin 
working within Firefox?  I've gotten Java up already, but Flash 
continues to elude me...


  
You need to install the linux version. Flash plugin is not supported in 
the FreeBSD version. In Linux compatibility mode, the flash plugin makes 
the browser unstable. Too bad. :-(


There are some applications that we would like to have ported to 
FreeBSD. Firefox flash plugin is on of them. Another one is a natvive 
skype port. The authors of these softwares do not support FreeBSD and 
the source code is closed. :-(





andvmware

It's very usefull software for make test of new-software.

Regards
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Ven 16 mar 2007 11:06:13 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  

Have you tried Win4BSD?  It isn't perfect but get's the job done.

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


Re: Internet Explorer on FreeBSD

2007-02-19 Thread Tom Grove

Bill Moran wrote:

Kevin Downey [EMAIL PROTECTED] wrote:
  

I do a bit of web dev stuff so it would be nice to be able to see the
page in IE.
A website I use for work uses ActiveX.
I hate dual booting.
What is the best(easiest) way to run ie on freebsd?



In addition to everything else that's been suggested, give qemu
a try.  It's rather slow, but I use it often for an app we need
that only runs on widows.

  
qemu is nice and kqemu is also now open source.  You could give Win4BSD 
a shot...it is $50.00 but I use if for all things Windows at work. 


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


hald/polkitd/dbus XFCE Auto-Mount Problems

2007-02-14 Thread Tom Grove
When I plug in an external USB drive, unplug it without unmounting and 
then plug it back in the system reboots!  I know that this is the wrong 
way to do things but I am surprised that the system totally blows up 
rather than spitting out an error or corrupting the external drive.  Any 
ideas why this is?


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


Sendmail Weirdness on 6.2 (Duplicate Emails)

2007-01-30 Thread Tom Grove
It seems as though something in my setup or in Sendmail 8.13.8 is 
causing certain domains, namely Hotmail, to keep sending messages over 
and over up to 15 times.  Each message is accepted and sent to the 
user.  The MX is just a machine that has 6.2, spamassassin, clamav, 
milter-regex and some dnsbl stuff.  It then relays mail to the imap/pop 
server for user retrieval.  I have no idea what could be going on here.


Anyone else had similar issues?

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


Re: Flash 9

2007-01-18 Thread Tom Grove

Bachilo Dmitry wrote:

В сообщении от Четверг 18 января 2007 09:15 Naim написал(a):
  

On Wed, 17 Jan 2007 19:17:21 -0500

Chad Gross [EMAIL PROTECTED] wrote:


I see it in linux compat layer
http://www.freshports.org/www/linux-flashplugin9/ ;)

--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Does it work for anyone though? I just installed it and it gets no sound
or it freezes depending on the site.
  

I have the same situation, no sound!

Best regards,
Rico



Don't you guys know? There would not be any sound, because linux flash 9 uses 
ALSA, not OSS. If there would be some wrapper sometime, we will hear the 
flash, if there would not be such thing, we would not.


  
What would happen if one used the linux-alsa-libs from ports?  Would 
that help with sound?

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


WWW Proxy/Traffic Analyzer

2007-01-10 Thread Tom Grove
We have an employee who spends quite a bit of time on the net and 
currently have no way of analyzing where they go.  Are there any decent 
proxy servers that I can put them on to see where they are going?


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


Sendmail Smarthost Auth

2006-11-09 Thread Tom Grove
I just got a new Internet connection through Verizon and need to be able 
to use a smarthost to send mail.  All servers that I can use required 
SMTP auth and I need to figure out a way to have Sendmail authenticate 
with the smarthost.  Is this possible and could someone lead me in the 
right direction?


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


Sunbird 0.3

2006-10-20 Thread Tom Grove

Has anyone installed Sunbird 0.3 and had it seg fault?  Is the port broken?

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


Re: Something Like Beagle

2006-10-10 Thread Tom Grove

backyard wrote:

--- Tom Grove [EMAIL PROTECTED] wrote:

  

Is there something like beagle that runs on FreeBSD?
 If not is it 
something that people would like to see ported?


-Tom




Beagle the personal data indexer, or open beagle the
evolutionary computation system?

The personel data indexer seems cool to me. the
evolutionary computation system isn't something I
would personally find useful.

my two cents


-brian

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


  
I am referring to the data indexer.  I understand that it uses something 
called iNotify within the Linux kernel and that is why it may not be a 
very nice port to *BSD.  I am wondering if it would be possible to use 
something like kqueue to notify the calling program of a disk write like 
iNotify does.


Just throwing out thought because I think that a desktop search tool 
would be well received with the desktop BSD community.


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


Something Like Beagle

2006-10-09 Thread Tom Grove
Is there something like beagle that runs on FreeBSD?  If not is it 
something that people would like to see ported?


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


Memory leak in PHP on FreeBSD

2006-08-30 Thread Tom Grove
I was reading http://www.bsdnews.com and ran across an article about a 
memory leak in php and mysql on FreeBSD.  This is fairly concerning 
considering I run quite a few servers with this setup.  I haven't been 
able to find much documentation regarding this subject.


It has been reported as a permanent hole which seems odd.  However, if 
there is a problem does anyone have any info?


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


Re: cdrecord

2006-08-17 Thread Tom Grove

dick hoogendijk wrote:

Installed cdrecord from ports.
This version does not include DVD-R/DVD-RW support code.
Cdrecord-porDVD is needed.

I want to burn DVD-R's.
Can this be done with FreeBSD? Do I need cdrecord-devel for this?

  

You need to install /usr/ports/sysutils/dvd+rw-tools.

This will give you the tools like growisofs that allow you to burn a 
dvd.  You will also want to check out:


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

and

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

These have some nice tips on what to do in certain situations.

Lastly, for dvd+rw-tools you need atapicam; more information can be 
found in the second link above.


-Tom

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


Jed Tab Problems

2006-05-12 Thread Tom Grove
I updated my system to 6.1 and portupgraded all of my packages.  Most 
things went well but now when I open old files with Jed my tabs are 
displayed as ^I.  Does anyone know how to fix this?


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


Soekris NET4801 Hang Ups

2006-05-03 Thread Tom Grove
I have had a net4801 running as a router at a branch office doing basic 
routing stuff...this packet comes in from here go there.  I'm running 
6.0-Release on it and it seems to work wonderfully but about once a 
month it just hangs.  No response from anything and the only way to 
bring it back is to pull the power and plug it back in.  I'm including 
the dmesg and would like any help regarding this.  Nothing in the logs 
seems to help so, hopefully someone here can shed some light.


##
##START DMESG##
##
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #0: Mon Jan 23 15:21:47 EST 2006
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/NET4801
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by National Semi (266.68-MHz 
586-class CPU)

 Origin = Geode by NSC  Id = 0x540  Stepping = 0
 Features=0x808131FPU,TSC,MSR,CX8,CMOV,MMX
real memory  = 134217728 (128 MB)
avail memory = 126115840 (120 MB)
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: Host to PCI bridge pcibus 0 on motherboard
pci0: PCI bus on pcib0
sis0: NatSemi DP8381[56] 10/100BaseTX port 0xe100-0xe1ff mem 
0xa000-0xafff irq 10 at device 6.0 on pci0

sis0: Silicon Revision: DP83816A
miibus0: MII bus on sis0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:00:24:c5:6e:68
sis0: [GIANT-LOCKED]
sis1: NatSemi DP8381[56] 10/100BaseTX port 0xe200-0xe2ff mem 
0xa0001000-0xa0001fff irq 10 at device 7.0 on pci0

sis1: Silicon Revision: DP83816A
miibus1: MII bus on sis1
ukphy1: Generic IEEE 802.3u media interface on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis1: Ethernet address: 00:00:24:c5:6e:69
sis1: [GIANT-LOCKED]
sis2: NatSemi DP8381[56] 10/100BaseTX port 0xe300-0xe3ff mem 
0xa0002000-0xa0002fff irq 10 at device 8.0 on pci0

sis2: Silicon Revision: DP83816A
miibus2: MII bus on sis2
ukphy2: Generic IEEE 802.3u media interface on miibus2
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis2: Ethernet address: 00:00:24:c5:6e:6a
sis2: [GIANT-LOCKED]
Geode GPIO@ = 6100
Geode Soekris net4801 comBIOS ver. 1.28 20050529 Copyright (C) 2000-2005
isab0: PCI-ISA bridge port 0x6100-0x613f,0x6200-0x623f at device 18.0 
on pci0

isa0: ISA bus on isab0
pci0: bridge at device 18.1 (no driver attached)
atapci0: National Geode SC1100 ATA33 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 18.2 on pci0

ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
Geode CBA@ 0x6000
Geode rev: 06 03
Timecounter Geode frequency 2700 Hz quality 1000
pci0: bridge at device 18.5 (no driver attached)
pci0: serial bus, USB at device 19.0 (no driver attached)
pmtimer0 on isa0
orm0: ISA Option ROM at iomem 0xc8000-0xd0fff on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding 
disabled, default to accept, logging disabled

ad0: 976MB TOSHIBA THNCF1G02PG 1.00 at ata0-master PIO4
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
##
###END DMESG###
##

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


Re: how get /var/db/pkg?

2006-05-03 Thread Tom Grove

Robert Huff wrote:


xiang writes:

 


Today,i run pkgdb -F,but get a error message:you do not own
/var/db/pkg,becouse i had delete /var/db/pkg by oversight just
the other day.

how can i do now?
   



If you have deleted all contents of /var/db/pkg, and you don't
have a backup, you're screwed.  You'll have to reinstall every to
rebuild the db.
If, however, you just deleted pkgdb.db then pkgdb -U will
repopulate it.


Robert Huff

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


 


If you haven't run locate since you delete /var/db/pkg you could run:

locate /var/db/pkg

This will at least give you a partial (maybe a full) listing of 
everything you have installed.  From there you could do a script that 
does something like:


for $program in fileofpackagenames
   pkg_delete $program
   pkg_add $program

Just a thought

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


Re: new file format for log files in 5x tree ??

2006-05-02 Thread Tom Grove

Brent wrote:


Hello,

I just upgraded a server of mine to the 5.4 release  noticed that maillogs 
cron logs are now being zipped into bz2 compressed files. I know this is a
stupid question but what do use on the system to unpack these files ? so i cn
look at logs ...


thank you
--
Brent 


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


 


bzcat filename | less

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


Python import not working after update

2006-03-31 Thread Tom Grove
I updated to 6.0-p6 and for some reason I can't run any python scripts 
that use import?  For example:


ImportError: Shared object libmysqlclient_r.so.14 not found, required 
by _mysql.so


It seems like the python module for mysql can't find libraries it 
needs.  Any help would be much appreciated.


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


Re: How to load CAM subsystem

2006-03-29 Thread Tom Grove

Lee Shackelford wrote:


Good morning dear FreeBSD enthusiast,
I am trying to install a FreeBSD system for the first time.  I wish to
support a SCSI DVD-RAM.  I have found a bash program that provides a user
interface to use this device for backup, kindly posted by a programmer in
Norway.  It depends on the CAM subsystem.  I am unable to find, in the man
page for this pseudo-device-driver, the acronym to insert into the
configuration file to have it loaded into the operating system.  Any
suggestion is appreciated.  Thank you.  Yours truly, Lee Shackelford

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


 

What version of FreeBSD are you running?  If you are running a version 
that supports kernel modules you could run kldload cam as root.  You 
could also just compile it into your kernel.


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


4.11 Server Locks Up

2006-03-28 Thread Tom Grove
Over the past few months I have noticed that our mail server is flat out 
locking up.  I monitor it via Nagios and about once every two months I 
get emails saying it is down and when I go over to the console the 
server is totally unresponsive.  I've gone through logs every time and 
find nothing at all wrong. 

This is a Dell PowerEdge 2850 with Dual Xeon cpu's and 2GB of memory.  
Uname replies with:


FreeBSD colossus 4.11-RELEASE-p13 FreeBSD 4.11-RELEASE-p13 #0: Fri Oct 
14 13:34:01 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/COLOSSUS  i386


One, has anyone else had similar problems with boxes just becoming 
unresponsive under high load?  Two, is there any reason this would occur?


-Tom Grove


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


Re: Why are so many people using 4.x?

2006-03-28 Thread Tom Grove

Joseph Vella wrote:

I notice a lot of references to version 4.x.  Is there any overwhelming reason 
why its use seems to be still popular.  I'm wanting to set up a server (just 
for play) on my home network using a PII machine.  Am I better off using an 
older version for such old equipment?  If so, do any particular versions 
stand out?




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


 

I would certainly recommend going with 6.x.  The reason that many of our 
servers still run 4.x is that 5.x got a bad reputation and there really 
is no upgrade path from 4.x to 6.x.  5 and 6 default to using UFS2 and 4 
uses UFS so, IMHO it's better to rebuild and taking a few hundred users 
offline for a couple of hours whilst this happens isn't fun.


That's my scenario...I'm sure others have totally different reasons.

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


GTK/Glade autogen issues

2006-02-21 Thread Tom Grove
I'm trying to build a simple hello world using glade.  I've actually 
built this code on this system before and now after a few months and 
several ports tree updates it doesn't work.  When I run autogen.sh 
within the glade built directory I receive the following error:


syntax error near unexpected token `PACKAGE,'

I run:

setenv ACLOCAL_FLAGS -I /usr/local/share/aclocal -I 
/usr/X11R6/share/aclocal


before autogen.sh.

Here's a little info about the system:

6.0-RELEASE FreeBSD 6.0-RELEASE

autoconf-2.13.000227_5
autoconf-2.59_2
automake-1.4.6_2
libtool-1.3.5_2
libtool-1.5.22_1


Also, if anyone knows of something similar to glade as in gui designer 
with C as the development language I would really like to know about 
it.  Thanks.


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


Re: getline function

2006-02-18 Thread Tom Grove

Mike Jeays wrote:

On Fri, 2006-02-17 at 21:54 -0500, Tom Grove wrote:
  
Is there anyone who can compile a program using the getline() function?  
Here is a really simple program to recreate the following error:


##Error##
/var/tmp//ccvYIi4C.o(.text+0x26): In function `main':
: undefined reference to `getline'
##Error##

##Source File##
#include stdio.h

int main() {
char line[10];

getline(line, 10);
printf(%s, line);

return 0;
}
## Source File##

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



I got a bit further by installing the port for getline
(/usr/ports/devel/libgetline), and changed the code slightly to provide
a single parameter. (Look at man getline)

#include stdio.h
#include getline.h

int main() {
char line[10]=test;

getline(line);
printf(%s, line);

return 0;
}

chaucer 29 ~/c $ cc -o getline -I/usr/local/include -L/usr/local/lib
getline.c -lgetline
chaucer 30 ~/c $ getline
testnow
testchaucer 31 ~/c $ 




  
That works and I had looked into that earlier...it seems like it does a 
lot more than just one function from the man page.  I guess I can use 
that for now but I wonder why getline() is broken in gcc on FreeBSD?


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


Re: getline function

2006-02-18 Thread Tom Grove

Chuck Swiger wrote:

Tom Grove wrote:
  

Mike Jeays wrote:


[ ... ]
  

That works and I had looked into that earlier...it seems like it does a
lot more than just one function from the man page.  I guess I can use
that for now but I wonder why getline() is broken in gcc on FreeBSD?



getline() is not part of the standard C library.
What makes you think gcc is broken...?

  
Yeah...I see that after some more research.  So, now I guess my question 
is being that it's not standard and gets() is not safe to use what 
should I use to grab lines?  My gut tells me to copy the getline() 
function from the KR book but I'm not totally sure that's a great idea 
either.  Stupid strings always causing problems!


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


Re: getline function

2006-02-18 Thread Tom Grove

Mike Jeays wrote:

On Fri, 2006-02-17 at 21:54 -0500, Tom Grove wrote:
  
Is there anyone who can compile a program using the getline() function?  
Here is a really simple program to recreate the following error:


##Error##
/var/tmp//ccvYIi4C.o(.text+0x26): In function `main':
: undefined reference to `getline'
##Error##

##Source File##
#include stdio.h

int main() {
char line[10];

getline(line, 10);
printf(%s, line);

return 0;
}
## Source File##

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



I got a bit further by installing the port for getline
(/usr/ports/devel/libgetline), and changed the code slightly to provide
a single parameter. (Look at man getline)

#include stdio.h
#include getline.h

int main() {
char line[10]=test;

getline(line);
printf(%s, line);

return 0;
}

chaucer 29 ~/c $ cc -o getline -I/usr/local/include -L/usr/local/lib
getline.c -lgetline
chaucer 30 ~/c $ getline
testnow
testchaucer 31 ~/c $
I also noticed that this code actually doesn't work...I'm not sure why 
either but it doesn't output what gets typed.  Notice that the 'now' 
that gets typed isn't echoed below.


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


Re: getline function

2006-02-18 Thread Tom Grove

Chuck Swiger wrote:

Tom Grove wrote:
  

Chuck Swiger wrote:


[ ... ]
  

getline() is not part of the standard C library.
What makes you think gcc is broken...?
  

Yeah...I see that after some more research.  So, now I guess my question
is being that it's not standard and gets() is not safe to use what
should I use to grab lines?  My gut tells me to copy the getline()
function from the KR book but I'm not totally sure that's a great idea
either.  Stupid strings always causing problems!



Depending on what you'd like to do, GNU readline may be a fine solution to your
situation.  Otherwise, getch(stdin) with a bit of code to cook DEL/BS/CR/NL,
or just use the getline port as you've already done.  :-)

  
Okay...I think I'm either an idiot or going slowly insane.  I'll admit 
I'm not the most savvy C programmer but the following code gives me an 
error:


## Source File##
#include stdio.h
#include readline/readline.h
#include readline/history.h

int main() {
   char *line;

   line = readline(Test: );

   return 0;
}
##Source File##

##Error##
/var/tmp//ccqxIZxQ.o(.text+0x25): In function `main':
: undefined reference to `readline'
##Error##

What sucks is that readline() seems like it would be the perfect 
solution.  I'm not doing anything special but my I don't want to start 
getting into bad habits like using gets().


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


getline function

2006-02-17 Thread Tom Grove
Is there anyone who can compile a program using the getline() function?  
Here is a really simple program to recreate the following error:


##Error##
/var/tmp//ccvYIi4C.o(.text+0x26): In function `main':
: undefined reference to `getline'
##Error##

##Source File##
#include stdio.h

int main() {
   char line[10];

   getline(line, 10);
   printf(%s, line);

   return 0;
}
## Source File##

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


Undefined Symbol resVgaShared after upgrade to xorg 6.9

2006-02-13 Thread Tom Grove
I did a portupgrade this weekend and today my screen res went to 
1024x768...that's not my normal resolution.  I did some tinkering and 
found that no drivers showed up in xorgcfg when I try to setup my card.  
I looked at some logs and found this error message:


Undefined symbol resVgaShared


I'm not really sure what it means and was wondering if anyone else ran 
into similar problems? I'm running 6-stable and have an ATI radeon 
mobile card. In 6.8 everything worked fine...only after the upgrade did 
I start having problems.


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


Re: SDR GEM312P

2006-02-10 Thread Tom Grove

Andrea Venturoli wrote:


Tom Grove wrote:


Andrea Venturoli wrote:


Hello.
I'm building a new server and stumbled upon this:

 ses0 at ahd0 bus 0 target 8 lun 0
 ses0: SDR GEM318P 1 Fixed Processor SCSI-2 device
 ses0: 3.300MB/s transfers
 ses0: SAF-TE Compliant Device

I guess it has something to do with a SCSI hot-swap device, but I 
didn't find any info on it.

What is it? What's its purpose? Can I do something nice with it?

It's your scsi processor...i guess it's nice because it allows you to 
use scsi hardware.



Not really. That's:

 ahd0: [GIANT-LOCKED]
 aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 50-66Mhz, 512 SCBs
 ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port 
0x3c00-0x3cff,0x3800-0x38ff

 mem 0xfe302000-0xfe303fff irq 27 at device 5.1 on pci9
 ahd1: [GIANT-LOCKED]
 aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 50-66Mhz, 512 SCBs



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



aic7902 is the controller card...the board that has your scsi channels 
and such.  SDR GEM318P 1 is the processor on the aforementioned board.  
It's similar to a regular motherboard in that you would have a things 
like ata0 and cpu0 except here you have ahd0 and ses0.


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


Re: SDR GEM312P

2006-02-09 Thread Tom Grove

Andrea Venturoli wrote:


Hello.
I'm building a new server and stumbled upon this:

 ses0 at ahd0 bus 0 target 8 lun 0
 ses0: SDR GEM318P 1 Fixed Processor SCSI-2 device
 ses0: 3.300MB/s transfers
 ses0: SAF-TE Compliant Device

I guess it has something to do with a SCSI hot-swap device, but I 
didn't find any info on it.

What is it? What's its purpose? Can I do something nice with it?

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



It's your scsi processor...i guess it's nice because it allows you to 
use scsi hardware.


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


Re: Default browser

2006-02-08 Thread Tom Grove

Guido Van Hoecke wrote:


Beto, I took your advice and solved the mess as you suggested.

I just deinstalled both mozilla and firefox and symlinked  
/usr/X11R6/bin/linux-opera to /usr/X11R6/bin/mozilla and to  
/usr/X11R6/bin/firefox.


Thanks,

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




Did you get java working with opera?

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


Re: uninstall httpd + others to get a base system only

2006-02-01 Thread Tom Grove

Igor Robul wrote:


On Tue, Jan 31, 2006 at 07:57:59PM -0600, luke wrote:
 


all packages installed _should_ be in /var/db/pkg(i think) i'm in windows
now. so if you pkg_delete /var/db/pkg/* that should clean it all up.
   


:-)
It will only delete information about packages, not packages self.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


 

No, that will delete the packages.  To delete a package you would run 
pkg_delete package_name so, to delete all of your package the above 
command would work correctly.


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


Re: portupgrade freezing

2006-01-04 Thread Tom Grove

Dave wrote:


Hello,
   Last portupgrade i did showed portupgrade itself was in need of 
updating. I ran portupgrade -arR and i got portupgrade v2.01,1, now 
when i run a portupgrade command the system just sits there. I don't 
get any output at all. I have uninstalled portupgrade and reinstalled 
it, no change. Any help welcome.

Thanks.
Dave.

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



Do you have to power off the system before it will be responsive again 
or just kill portupgrade? 
Have you looked through the logs for any messages?
portupgrade v2.01,1...are you sure; that doesn't seem to correspond with 
my versioning scheme? What does pkg_info say about portupgrade and it's 
version? 
What does portversion -l  say about portupgrade?


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


Sasl Help

2005-12-15 Thread Tom Grove

has anyone ever seen this error?  why would this be happening?

unknown authentication mechanism: sasldb

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