error fetching signatures

2007-01-24 Thread Zbigniew Szalbot
Hello,

I am using 6.2 release and it is second time the system cannot fetch
updates signature.

etching updates signature...
fetch: http://update.daemonology.net/i386/6.2/updates.sig: Not Found
Error fetching updates

Anyone else seeing this?

Thank you!

-- 
Zbigniew Szalbot

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


Re: error fetching signatures

2007-01-24 Thread Colin Percival
Zbigniew Szalbot wrote:
 I am using 6.2 release and it is second time the system cannot fetch
 updates signature.
 
 etching updates signature...
 fetch: http://update.daemonology.net/i386/6.2/updates.sig: Not Found
 Error fetching updates

What's the exact command you ran?  What does `uname -r` say?

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


Re: error fetching signatures

2007-01-24 Thread Zbigniew Szalbot
Hello,

 etching updates signature...
 fetch: http://update.daemonology.net/i386/6.2/updates.sig: Not Found
 Error fetching updates

 What's the exact command you ran?  What does `uname -r` say?
6.2-RELEASE

I must have set up something long ago because until your email I was sure
it was part of the OS functionality (the email came from Charlie Root).

I am ashamed but I do not recall typing any commands. Have inspected
crontab but not seeing any entries there either.

-- 
Zbigniew Szalbot

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


Re: error fetching signatures

2007-01-24 Thread Colin Percival
Zbigniew Szalbot wrote:
 etching updates signature...
 fetch: http://update.daemonology.net/i386/6.2/updates.sig: Not Found
 Error fetching updates
 What's the exact command you ran?  What does `uname -r` say?
 6.2-RELEASE
 
 I must have set up something long ago because until your email I was sure
 it was part of the OS functionality (the email came from Charlie Root).

Ah, I see what's going on now.  You had FreeBSD Update installed from the
ports tree, and then you upgraded the system to FreeBSD 6.2.

As you say, FreeBSD Update is now part of the FreeBSD base system; so you
can uninstall the port (pkg_delete freebsd-update-\*).

 I am ashamed but I do not recall typing any commands. Have inspected
 crontab but not seeing any entries there either.

Have you looked in /var/cron/tabs/root ?

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


Re: error fetching signatures

2007-01-24 Thread Zbigniew Szalbot
Dear Colin and others,


 Ah, I see what's going on now.  You had FreeBSD Update installed from the
 ports tree, and then you upgraded the system to FreeBSD 6.2.
Yes, that was it!


 As you say, FreeBSD Update is now part of the FreeBSD base system; so you
 can uninstall the port (pkg_delete freebsd-update-\*).

Some people say that FBSD community is very hermetic and does not help
people who have questions. I find it to be exactly the opposite. Thank you
very much for your help!

-- 
Zbigniew Szalbot

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


Re: Audio (Record) not functioning... (record interrupt timeout)

2007-01-24 Thread Jost Menke

 Original-Nachricht 
Datum: Tue, 23 Jan 2007 18:16:13 -0500
Von: Ben Hacker Jr [EMAIL PROTECTED]
An: Stable FBSD freebsd-stable@FreeBSD.ORG, questions FBSD 
freebsd-questions@FreeBSD.ORG
Betreff: Audio (Record) not functioning... (record interrupt timeout)

 Any help will be Greatly appreciated!  I currently believe this is a 
 problem with the snd_t4dwave driver device

Hi Ben,

I am experiencing similar problems with the snd_t4dwave driver, but with 
playback. Playback works for a few seconds, then it stops and the kernel also 
reports an interrupt timeout. Didn't find a solution yet I'm afraid.

Regards,
Jost Menke

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ghostscript

2007-01-24 Thread kalin mintchev
hi all...

i have a problem compiling ghostscript...
no mater what version i am using and using the newest port i always get:

gcc: ./src/genconf.c: No such file or directory
gcc: No input files specified
*** Error code 1

apparently that happens only on freebsd...

any ideas to solve this...

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


Re: ghostscript

2007-01-24 Thread Andrew Pantyukhin

On 1/24/07, kalin mintchev [EMAIL PROTECTED] wrote:

hi all...

i have a problem compiling ghostscript...
no mater what version i am using and using the newest port i always get:

gcc: ./src/genconf.c: No such file or directory
gcc: No input files specified
*** Error code 1

apparently that happens only on freebsd...


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


Re: FreeBSD challenged by Internet

2007-01-24 Thread perryh
 What I don't get is I see guys walking in
 dropping $1000 on associated Mac hardware crap
  ...
The most expensive system around here is a Mac Sawtooth that cost
$225 -- including a 17 monitor -- last September.  The (Dell)
FreeBSD box I'm using at the moment cost $10 at a flea market,
  ...
   This is a totally unfair comparison.  They guy dropping $1K on a
   Mac is walking out with a machine that is fully configured and
   ready to run.
 
  As was the Sawtooth.

 Hmm - Mac Sawtooth to me is a circa 1999 Power Mac G4.
 I think we are talking about something different since you
 couldn't possibly be just buying used devices and -not-
 nuking and repaving.. or could you?

The seller wiped the drives and reloaded the OS.  When I turned
it on, I got the new MacOS sequence -- or whatever it might
officially be called -- just as if it had been brand-new from
Apple.  I suppose the seller figured that the $225 he charged
was sufficient to cover both the value of the hardware and his
time reinitializing it.

   When you get an old clunker by the time you tally up the time you
   have spent on getting it ready to run, your at the same amount.
  ...
   Skilled UNIX tech time is at min $95 an hour.  Your talking a
   min of 4 hours to get a Goodwill find up and going on FreeBSD
   by the time you work out the quirks, assuming that the ram in it
   doesen't have a flaw and the disk is good, if you have to replace
   that stuff you count the hours it takes to drive to Fry's and
   back, buy the disk, etc..  well your getting pretty close to that
   $1K in my book.
 
  It took me *zero* more time to get this box (Dell #1) ready for
  FreeBSD than if it had come direct from Dell with Windoze preloaded.

 Not fair - you aren't including the time spent preloading FreeBSD.

Totally fair, if the goal is to end up with a FreeBSD system.

 The entire point is of the labor to get it to where you can start
 the userland configuration.  Not to get it to where you can insert
 the operating system install CD and boot it.

 When you buy them new, the windows is already loaded and ready to
 start the userland configuration (which in my experience mainly
 consists of uninstalling all the trialware and crap on them)

Yeah, if you want a !!@@##$$ Windoze box, but AFAIK you can't go
out and buy a box with FreeBSD preloaded and ready for userland
configuration (and kernel hacking :)  Linux, maybe, but not any
of the *BSD.  It takes *zero* longer to wipe the existing Windoze
off a pre-owned box than to wipe the preloaded Windoze off a new
Dell/Compaq/whatever.  The point being that your bashing of an
old clunker above just doesn't hold water.

  [re Comcast]
  They claim they are faster, but since I seldom see anywhere near
  rated speed on DSL I don't think the DSL line is the limiting
  factor.  Given that, I would not expect cable to be any faster
  *in practice* than DSL ... I don't care for their TOS either
  -- as I understand it, I can't even leave an SSH port open
  to enable me to log in from the office because that would be
  considered running a server.

 Correct, they block all incoming ports for well known services.
 Obviously, people can and do run servers on ports above 1024.

If so, they are violating the TOS as I understand it -- and you
as an ISP employee could never countenance that :)  The language
was something along the lines of I agree not to run a server of
any kind ... not I agree not to run servers on well-known ports
or I agree not to make servers available to the public.

 What do you mean you seldom see rated speed on your DSL line?
 Are you talking from world to you, or are you talking from ISP
 to you?

World, of course.  DSL is a dedicated 2.5 fire hose to the ISP.
Cable is a shared 5 supply line.  When the source is a garden
hose, or there is enough congestion that the path from the source
to my ISP is effectively a booster line, the capacity from ISP to
me doesn't affect matters very much at all.

  Anyway, I'm comparing the wire charges, not the ISP service ...
  as of when I looked into it -- Verizon was charging something
  like $5 or $10 *more* for the wire connection to a 3rd party
  ISP than for the equivalent connection to Verizon Online, and
  effectively throwing in the ISP service for free.

 Right, as I said, this is when the ISP sells DSL service over
 Verizon via retail.  Not wholesale.  You only talked to the ones
 at the time that were selling retail.

When I checked, I looked at everyone I could find via Google.
I think there was one quoting a package price that was competitive
with Verizon's, and that one was out due to a co-worker's very bad
past experience with them.  Some didn't mention pricing at all, and
they didn't get a second look.  The rest quoted separately the wire
charge to Verizon, and their own ISP charge, and all those wire
charges were the same (and higher than Verizon's package price).
Maybe *no one* had a wholesale deal then.

 ... most DSL ISPs in 

Re: cardbus not working

2007-01-24 Thread felix.schalck

Christian Walther wrote:

Hi Felix,

On 23/01/07, felix.schalck [EMAIL PROTECTED] wrote:

Hi,

I'm trying to get a WLAN pcmcia card working on freebsd 6.2. Kernel with
cardbus support compiled fine, but when the card is inserted, i get:

Status is 0x3086
Status is 0x3820
cbb0: card inserted: event=0x, state=3820
cbb0: cbb_power: 3V
cbb0: cbb_power: 0V

Dmesg shows:

cbb0: ENE CB1410 PCI-CardBus Bridge at device 7.0 on pci2
cbb0: Found memory at e0202000
cbb0: Secondary bus is 2
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0

Any ideas ? What are my possibilities/chances to get it work ?


Please provide some more information about your system. Is this a
laptop, or are you using a PCMCIA- to PCI-Adapter with a desktop
system? What model is your laptop or desktop system?
Did you load the appropriate driver for your WLAN card, or is it
compiled into the kernel?

Thank you very much for your help;
You're absolutely right: sorry for the poor infos:
Card is an orinoco gold 8470 wd with the *theoretically* supported 
atheros chipset. Drivers ath_hal is compiled into kernel:

Perhaps I'shoud try it with separate kernel-module ?

#Atheros chipset support
device  ath
device  ath_hal
device  ath_rate_sample

# wireless options
device  wlan_wep
device  wlan_ccmp
device  wlan_tkip
device  wlan_xauth
device  wlan_acl

pciconf -l shows:

[EMAIL PROTECTED]:0:0:class=0x06 card=0x01201558 chip=0x35808086 
rev=0x02 hdr=0x00
[EMAIL PROTECTED]:0:1: class=0x088000 card=0x01201558 chip=0x35848086 rev=0x02 
hdr=0x00
[EMAIL PROTECTED]:0:3: class=0x088000 card=0x01201558 chip=0x35858086 rev=0x02 
hdr=0x00
[EMAIL PROTECTED]:2:0:  class=0x03 card=0x01201558 chip=0x35828086 rev=0x02 
hdr=0x00
[EMAIL PROTECTED]:2:1: class=0x038000 card=0x01201558 chip=0x35828086 rev=0x02 
hdr=0x00
[EMAIL PROTECTED]:29:0:class=0x0c0300 card=0x01201558 chip=0x24c28086 
rev=0x03 hdr=0x00
[EMAIL PROTECTED]:29:1:class=0x0c0300 card=0x01201558 chip=0x24c48086 
rev=0x03 hdr=0x00
[EMAIL PROTECTED]:29:2:class=0x0c0300 card=0x01201558 chip=0x24c78086 
rev=0x03 hdr=0x00
[EMAIL PROTECTED]:29:7:class=0x0c0320 card=0x01201558 chip=0x24cd8086 
rev=0x03 hdr=0x00
[EMAIL PROTECTED]:30:0:class=0x060400 card=0x chip=0x24488086 
rev=0x83 hdr=0x01
[EMAIL PROTECTED]:31:0:class=0x060100 card=0x chip=0x24cc8086 
rev=0x03 hdr=0x00
[EMAIL PROTECTED]:31:1:  class=0x01018a card=0x01201558 chip=0x24ca8086 
rev=0x03 hdr=0x00
[EMAIL PROTECTED]:31:3:class=0x0c0500 card=0x01201558 chip=0x24c38086 
rev=0x03 hdr=0x00
[EMAIL PROTECTED]:31:5: class=0x040100 card=0x01201558 chip=0x24c58086 rev=0x03 
hdr=0x00
[EMAIL PROTECTED]:31:6:class=0x070300 card=0x01201558 chip=0x24c68086 
rev=0x03 hdr=0x00
[EMAIL PROTECTED]:6:0:   class=0x02 card=0x01201558 chip=0x813910ec rev=0x10 
hdr=0x00


[EMAIL PROTECTED]:7:0:  class=0x060700 card=0x01201558 chip=0x14101524 rev=0x01 
hdr=0x02


[EMAIL PROTECTED]:8:0:  class=0x028000 card=0x27028086 chip=0x42208086 rev=0x05 
hdr=0x00


So, do you think the problem is due to the cardbus, or to the inserted 
card ?


Thanks again for your help,

Felix

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




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


Remote Desktop Connection

2007-01-24 Thread Grzegorz Pluta
Hi.
Id like to asj you guys if you used any remote desktops with freebsd? Which
client/server would you recommend, and why? Witch wich desktop env have you
been using it?

Cheers,
GregZX


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


FreeBSD 6.2-RELEASE on Dell Optiplex 210L

2007-01-24 Thread Mike Barnard

Hi,

i am having a rather peculiar problem with Dell Optiplex 210L. I have been
trying to install FreeBSD 6.2-Release on this hardware with no success...i
have also tried 6.1 release, as well as 6.0 release but still get the same
error, at the same point. i attempted with a boot only CD for 6.1-Release as
well.

it boots well, but gets to a point and logs:

usb1: Host controller halter
uhub1: device problem (IOERROR), disabling port 1
panic: usbd_transfer: not done

and reboots...

if i remove the USB keyboard, all above versions of FreeBSD boot, but when i
plug the keyboard back in, its not functional. i managed to get it to boot
once with the keyboard plugged in, but loose it after it gets to the
sysinstall part.

I disabled the front USB ports and got no difference, i disabled the USB
controller from BIOS, but of course that leaves me with no USB functionality
on the system.

any one come across this? i ruled out a problem with FreeBSD and USB
functionality because i installed FreeBSD 6.2-RELEASE on to a Dell PowerEdge
1950 and it worked welltried all other 6.x that i have and they worked
well too!

Regards,

Mike


--
--
Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

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


cp to infinity.

2007-01-24 Thread Peter Ankerstål

 cd test/
 mkdir foo
 touch bar
 cp -r * foo/
cp: 
foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo: 
name too long (not copied)
cp: 
foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo: 
name too long (not copied)



It seems FreeBSD cp tries to copy the directory to infinity. Is there an 
option to avoid this?


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


Re: Remote Desktop Connection

2007-01-24 Thread Peter Ankerstål

Grzegorz Pluta wrote:

Hi.
Id like to asj you guys if you used any remote desktops with freebsd? Which
client/server would you recommend, and why? Witch wich desktop env have you
been using it?
  

I've been using tightvnc both as server and client. Works fine.
I'm using fluxbox as window-manager.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cp to infinity.

2007-01-24 Thread Andrew Pantyukhin

On 1/24/07, Peter Ankerstål [EMAIL PROTECTED] wrote:

  cd test/
  mkdir foo
  touch bar
  cp -r * foo/
cp:

name too long (not copied)
cp:

name too long (not copied)


It seems FreeBSD cp tries to copy the directory to infinity. Is there an
option to avoid this?


Sure, just don't copy directories into themselves
recursively.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: cp to infinity.

2007-01-24 Thread Peter Ankerstål



Sure, just don't copy directories into themselves
recursively.


How hard could it be to make cp avoid this problem?
GNU cp does not have any problems with this action.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cp to infinity.

2007-01-24 Thread Stevan Tiefert
Am Mittwoch, 24. Januar 2007 12:50 schrieb Peter Ankerstål:
  Sure, just don't copy directories into themselves
  recursively.

 How hard could it be to make cp avoid this problem?
 GNU cp does not have any problems with this action.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

You need only to write a patch and send it to the developers and voilà 
you have what you want!


pgpivzm4OheS8.pgp
Description: PGP signature


HP Embedded SATA RAID controller (FreeBSD 6.2)

2007-01-24 Thread George Vanev

I have HP ProLiantML 110 G3 server.
I am trying to install FreeBSD 6.2.
But it doesn't seem to recognise the RAID controller.
I don't know what exactly is the controller.
In the hp site I didn't find anything usefull, 
except that this is HP embedded SATA RAID controller

Not much, uh?!

Any one could help?!
Regards
--
George Vanev

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


Listar: Post sent to moderator.

2007-01-24 Thread Listar

 Post to list olympus
 Subject: 
Post submitted to moderator for reason: Non-member submission to closed-post
list.

---
Gestionnaire de liste Listar/0.42 - fin de traitement/job execution complete.

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


Re: 5.3 - 6.2 should work right?

2007-01-24 Thread RW
On Mon, 22 Jan 2007 18:44:26 +0100
Nagy László Zsolt [EMAIL PROTECTED] wrote:
 
 By the way, updating a system from 5 to 6 is a headache. (Updating
 from 4 to 5 is much easier.) Many will suggest (including me) to
 install your new 6.2 system from binaries, and then transfer your
 programs and users, if possible.

That an odd thing to say. The major version number was only bumped to 6
because some interfaces changed. I remember it as a particularly easy
upgrade, simpler than the average 5.x to 5.x+1 upgrade. The 4.x to 5.x
upgrade was one of the most radical.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3 - 6.2 should work right?

2007-01-24 Thread Javier Henderson


On Jan 24, 2007, at 7:52 AM, RW wrote:


On Mon, 22 Jan 2007 18:44:26 +0100
Nagy László Zsolt [EMAIL PROTECTED] wrote:


By the way, updating a system from 5 to 6 is a headache. (Updating
from 4 to 5 is much easier.) Many will suggest (including me) to
install your new 6.2 system from binaries, and then transfer your
programs and users, if possible.


That an odd thing to say. The major version number was only bumped  
to 6

because some interfaces changed. I remember it as a particularly easy
upgrade, simpler than the average 5.x to 5.x+1 upgrade. The 4.x to 5.x
upgrade was one of the most radical.


I will have to agree. I did a remote upgrade of a system running 5.5- 
RELEASE to 6.2-RELEASE last week, without console access (ie, I had  
to reboot into multi-user mode a few times during the process) and it  
worked just fine.


-jav

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


Re: Remote Desktop Connection

2007-01-24 Thread Andrea Venturoli

Grzegorz Pluta wrote:

Hi.
Id like to asj you guys if you used any remote desktops with freebsd? Which
client/server would you recommend, and why? Witch wich desktop env have you
been using it?


There are really countless possibilities, depends on what you are 
looking for.


I've been using rdesktop to connect to Windows 2000 server/XP/2003 
machines. Works really fine. KDE has a frontend for it called krdc. What 
WM you use should not matter much in any case, since you'll get a window 
with the whole remote screen in it.


I've used VNC in the past to connect to older Windows machines, but it's 
a lot slower. Again kdrc can be used as a frontend to it, and again WM 
should not matter. Be aware that what you are doing will display on the 
remote machine's physical screen (can be good, can be bad).
It's also possible to run a VNC server on UNIX/Linux/FreeBSD/..., but I 
never tested this.


I prefer to user ssh with X11 forwarding for that; works like a charm 
when on a local network. Fine, but obviously slower when used remotely. 
Every single application will have its windows on your screen, mixed 
with local applications, to the point you can hardly tell the difference.


I sometimes used to log to a Digital Alpha box using XDM. Quite slow at 
the time (pre ADSL) and no encryption (i.e. very poor security); I din't 
manage that box, so I didn't investigate wether that could be solved. 
KDE has KDM, Gnome has GDM, which are all (compatible, I believe) 
alternatives to XDM. They could in some rare cases be an alternative to 
using a remote shell with direct X11 connections.


IIRC KDE has some sort of remote desktop server built in, but I never 
checked this out.


I guess there are other ways too...


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


ports with -DBATCH

2007-01-24 Thread Questions
Hello,

I'm writing a script to install a series of ports,  and would like to use
the following:


cd /usr/ports/foo/bar
make WITH_OPTION1=yes WITH_OPTION2=yes WITHOUT_ANOTHER=yes -DBATCH install

That works as expected,  but I would also like those settings written to
the /var/db/ports/foobar/options file,  so that future upgrades also
include the choices I made during the batch install.

I've scoured the /usr/ports/Mk/* files,  and don't see anything useful for
both BATCH and writing to the options file.   Suggestions would be much
appreciated.


Jeff


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


Re: Firefox keeps beeping at me ...

2007-01-24 Thread Nikolaj Farrell

Per olof Ljungmark skrev:

Glenn Becker wrote:


All -

I've been away from FreeBSD for some time and have been updating my 
installation, getting used to the ways of portupgrade, etc.


Have noticed that Firefox keeps emitting what sound like console 
beeps - I haven't established much of a pattern for these though it 
always happens when I close the app.


Is there a way to kill these? Apologies in advance if this is a dopey 
question. Obviously more an annoyance than anything.


perhaps -questions is more appropriate...

Anyway, that makes two of us - mine beeps too - when sending and 
reading mails. No idea why though, sorry.


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


The beeping can be avoided by recompiling without the debug option. (I 
am clueless on how to disable it if debug is on though). Sorry for the 
crosspost-reply.


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


Re: ghostscript

2007-01-24 Thread kalin mintchev
 On 1/24/07, kalin mintchev [EMAIL PROTECTED] wrote:
 hi all...

 i have a problem compiling ghostscript...
 no mater what version i am using and using the newest port i always get:

 gcc: ./src/genconf.c: No such file or directory
 gcc: No input files specified
 *** Error code 1

 apparently that happens only on freebsd...

 Are you installing from ports?

no. this is from src.from the port i get:

1 out of 1 hunks ignored--saving rejects to alps/gdevalps.mak-5.50.rej
 Patch patch-alps:gdevalps.mak failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/print/ghostscript-gpl.












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


nfs mount rw

2007-01-24 Thread Warren Head

Hi,

I am trying to get write access on a nfs share.
As far as I can tell by reading around, this should be the syntax in the
exports file:

/maptosharemachinetoshareto(rw)

When I -HUP mountd though, it tells me that the line in the exports file is
wrong.
So I change it into this:
/maptosharemachinetoshareto

and then all is fine. I can mount it as well, but I don't have writing
access, only reading.

How should I specify the (rw) part?

Thanks,

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


Re: Remote Desktop Connection

2007-01-24 Thread Kevin Kinsey

Grzegorz Pluta wrote:

Hi.
Id like to asj you guys if you used any remote desktops with freebsd? Which
client/server would you recommend, and why? Witch wich desktop env have you
been using it?


I use Xorg  XFCE4 on my FreeBSD desktop(s).  For remote desktop 
connections:


FreeBSD - FreeBSD: ssh with X11 forwarding (-X or -Y options, see manpage).

FreeBSD - Windows: rdesktop (/usr/ports/net/rdesktop).  Works 
beautifully for work.  Can't recall which, but some games don't seem to 
like it.


Windows - FreeBSD:  freeXer and PuTTY with X11 forwarding enabled. 
Kind of interesting to have my FreeBSD desktop apps on my wife's lappy 
at the breakfast table ;-).  With this setup, Windows actually is the 
window manager --- kinda disconcerting at first glance :-D


Kevin Kinsey

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


compiling postgresql with tsearch2

2007-01-24 Thread Warren Head

Hi,

I am looking for a postgresql installation with the tsearch2 module.
I require the tsearch2 module for mediawiki. When I install the mediawiki,
it tells me my postgresql server does not have the tsearch2 module loaded.

I installed postgresql 8.1-server from the ports. The tsearch2 code is
available in one of its subdirectories, but I don't know how I can get that
compiled as a module.

I am new to FreeBSD, and thus new to the ports, so not having to ./configure
--myoptions is new to me.
Sofar I like it though.
So, should I compile it afterwards or should I change something in some
configure file?

What I could find on the net is that I should compile tsearch2 from its own
directory afterwards, but that is on linux.

Thanks,

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


Line-spacing and leading in X

2007-01-24 Thread Tore Lund
This question drew exactly zero responses on another forum, so I try the
experts here:

By using Firefox and Thunderbird on both Windows and FreeBSD I have
noticed that line-spacing is slightly denser on Windows. Lines are one
or two pixels taller on FreeBSD, which probably means that leading is
included.

Now, leading as part of line-spacing can be turned on and off in X by
setting minspace to false or true, respectively. This can be done in
~/.fonts.conf or by including minspace in commands like this one:

xterm -fa monospace-11:minspace=true

My problem is, this does not work. Initially, I suspected that GTK might
have something to with it. However, when I installed 6.2-RELEASE - which
I did from scratch - I took care to run the test above with only base
and X, and it still did not work. Whatever the reason, Xorg itself seems
to be responsible.

Anyone know more about this? And, whether in X or GTK, is there a way to
control line-spacing?  It looks like Gnome adjusts some parameter that
has to do with the vertical spacing of icons (in the folder and thread
panes of Thunderbird.)  I suppose this and other parameters could be
adjusted in my ~/.gtkrc-2.0 if only I knew what they are called.
-- 
Tore



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


autostart apache

2007-01-24 Thread Warren Head

Hi,

I would like Apache2 to start automatically when FreeBSD is done booting.
I thought that would happen because I placed this inside /etc/rc.conf

apache_enable=YES

But that doesn't seem to be the case. It doesn't start automatically, I have

to start it manually with:
apachectl start

Is this behaviour correct or not?

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


Re: nfs mount rw

2007-01-24 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Warren Head wrote:
 Hi,
 
 I am trying to get write access on a nfs share.
 As far as I can tell by reading around, this should be the syntax in the
 exports file:
 
 /maptosharemachinetoshareto(rw)
 
 When I -HUP mountd though, it tells me that the line in the exports file is
 wrong.
 So I change it into this:
 /maptosharemachinetoshareto
 
 and then all is fine. I can mount it as well, but I don't have writing
 access, only reading.
 
 How should I specify the (rw) part?
 
 Thanks,
 
 Warren

That's more of a non-Sun type exports file format I believe.

Here's mine as an example:

/store/ad0  hoover shiina mrouter
/store/ad1  hoover shiina mrouter
/media/cdrom-alldirs,ro -mapall=gcooper:gcooper:wheel hoover

Cheers,
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFt3arEnKyINQw/HARAgzeAKCudIOKe1pOJk9wTOlNb/y9YsVPugCfeLMz
uqAbbFtxPKB/JhPzNkl+F+8=
=dqf1
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nfs mount rw

2007-01-24 Thread Vince
Warren Head wrote:
 Hi,
 
 I am trying to get write access on a nfs share.
 As far as I can tell by reading around, this should be the syntax in the
 exports file:
 
 /maptosharemachinetoshareto(rw)
 
hmm man exports suggests examples such as
   /usr /usr/local -maproot=0:10 friends
   /usr -maproot=daemon grumpy.cis.uoguelph.ca 131.104.48.16
   /usr -ro -mapall=nobody
   /u -maproot=bin: -network 131.104.48 -mask 255.255.255.0
   /u2 -maproot=root friends
   /u2 -alldirs -network cis-net -mask cis-mask
   /cdrom -alldirs,quiet,ro -network 192.168.33.0 -mask
255.255.255.0

so not sure where you got that from.

 When I -HUP mountd though, it tells me that the line in the exports file is
 wrong.
 So I change it into this:
 /maptosharemachinetoshareto
 
 and then all is fine. I can mount it as well, but I don't have writing
 access, only reading.
 
Shoudl be rw by default. who doesnt have writing access? are the unix
permissions on both sides correct, if its an issue with root not being
able to write, the manpage says:

In the absence of -maproot and -mapall options, remote accesses by root
 will result in using a credential of -2:-2.  All other users will be
 mapped to their remote credential.  If a -maproot option is given,
remote
 access by root will be mapped to that credential instead of -2:-2.
 If a
 -mapall option is given, all users (including root) will be mapped to
 that credential in place of their own.


Hope this helps, sorry for the RTFM but is a cliche for a reason :)


Vince

 How should I specify the (rw) part?
 
 Thanks,
 
 Warren
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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


Re: autostart apache

2007-01-24 Thread Karol Kwiatkowski
Warren Head wrote:
 Hi,
 
 I would like Apache2 to start automatically when FreeBSD is done booting.
 I thought that would happen because I placed this inside /etc/rc.conf
 
 apache_enable=YES
 
 But that doesn't seem to be the case. It doesn't start automatically, I
 have
 
 to start it manually with:
 apachectl start
 
 Is this behaviour correct or not?

It depends on which version you've installed (was it www/apache20?
www/apache21?)

Have a look at 'pkg-message' file in the ports tree, here's for apache22
for example:

% $ cat /usr/ports/www/apache22/pkg-message
% To run apache www server from startup, add apache22_enable=YES
% in your /etc/rc.conf. Extra options can be found in startup script.

HTH,

Karol


-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: Remote Desktop Connection

2007-01-24 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kevin Kinsey wrote:
 Grzegorz Pluta wrote:
 Hi.
 Id like to asj you guys if you used any remote desktops with freebsd?
 Which
 client/server would you recommend, and why? Witch wich desktop env
 have you
 been using it?
 
 I use Xorg  XFCE4 on my FreeBSD desktop(s).  For remote desktop
 connections:
 
 FreeBSD - FreeBSD: ssh with X11 forwarding (-X or -Y options, see
 manpage).
 
 FreeBSD - Windows: rdesktop (/usr/ports/net/rdesktop).  Works
 beautifully for work.  Can't recall which, but some games don't seem to
 like it.
 
 Windows - FreeBSD:  freeXer and PuTTY with X11 forwarding enabled. Kind
 of interesting to have my FreeBSD desktop apps on my wife's lappy at the
 breakfast table ;-).  With this setup, Windows actually is the window
 manager --- kinda disconcerting at first glance :-D
 
 Kevin Kinsey

Overall, as many have suggest on the list there are a number of caveats
to using different means of connecting.

Here's a short rundown with all of my comments:

rdesktop and krdc (KDE rdesktop) work for connecting to Windows NT 5.0+
servers. Don't have a Windows server that meets that spec? Probably
won't need rdesktop/krdc then.. Don't install krdc unless you also want
to install KDE.

X11 forwarding through ssh is great when you're connections between you
and the remote machine are relatively fast (fast up on the server, fast
down on the client). Compression with ssh (-C flag--not available on all
ssh or ssh2 implementations) is a good idea when using this to connect
remotely because there's a lot of data that gets piped through an X11
connection.

VNC is better for keeping remote sessions active after disconnecting
from the machine. There are many VNC servers software titles, but you
will either probably look into tightvnc (creates a new X session per
instance), or x11vnc (connects to an existing X session on your
machine). Quality, speed and latency are an issue here as VNC is sort of
bad at caching tiles on the desktop. Using a lightweight wm or desktop
is a wise idea though without a desktop picture and sticking to X11 only
widgets (xclock, xterm, etc) is a good idea as the redraw is better than
gtk or qt apps or other programs (firefox, thunderbird). Try to wrap the
connection using portforwarding via SSH if you're logged in from a large
LAN or over a WAN because everything sent with tightvnc is cleartext, so
passwords, credit card numbers, etc can be sniffed by a knowledgeable
individual.

I'm still amazed that nomachinex hasn't been ported to FreeBSD, but it's
a complete binary release of a 'hacked' X11 system, so the devs at the
nomachine group probably haven't gotten around to porting it yet.

Cheers,
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFt3mHEnKyINQw/HARAr1VAJ47ezl8/9q419n4+yccB3zkpx7HRgCfbOub
FqdQscYz6GQlSH3EJKcO67U=
=qIhM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nfs mount rw

2007-01-24 Thread Kevin Kinsey

Warren Head wrote:

Hi,

I am trying to get write access on a nfs share.
As far as I can tell by reading around, this should be the syntax in the
exports file:

/maptosharemachinetoshareto(rw)

When I -HUP mountd though, it tells me that the line in the exports file is
wrong.
So I change it into this:
/maptosharemachinetoshareto

and then all is fine. I can mount it as well, but I don't have writing
access, only reading.

How should I specify the (rw) part?


You don't need to specify rw as such --- it is the default, which is 
why you get an error message when you attempt to do so.


See exports(5) for more information about the configuration file.  You 
don't say much about whom should have access, and to what, but I suspect 
you want to either use -maproot=user or -public or ? 


Disclaimer: IANAE.

Kevin Kinsey
--
Ain't no right way to do a wrong thing.
-- The Mad Dogtender
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: autostart apache

2007-01-24 Thread Eric

Karol Kwiatkowski wrote:

Warren Head wrote:
  

Hi,

I would like Apache2 to start automatically when FreeBSD is done booting.
I thought that would happen because I placed this inside /etc/rc.conf

apache_enable=YES

But that doesn't seem to be the case. It doesn't start automatically, I
have

to start it manually with:
apachectl start

Is this behaviour correct or not?

a good rule of thumb is to always check out the startup script. it will 
give you the parameter to add to rc.conf in order to get things to start 
up automatically

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


RE: Remote Desktop Connection

2007-01-24 Thread Grzegorz Pluta
Thanks for a huge reply!
It was really usefull ;]

Cheers,
gregZX

-Original Message-
From: Andrea Venturoli [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 24, 2007 2:16 PM
To: Grzegorz Pluta
Cc: freebsd-questions@freebsd.org
Subject: Re: Remote Desktop Connection

Grzegorz Pluta wrote:
 Hi.
 Id like to asj you guys if you used any remote desktops with freebsd?
Which
 client/server would you recommend, and why? Witch wich desktop env have
you
 been using it?

There are really countless possibilities, depends on what you are 
looking for.

I've been using rdesktop to connect to Windows 2000 server/XP/2003 
machines. Works really fine. KDE has a frontend for it called krdc. What 
WM you use should not matter much in any case, since you'll get a window 
with the whole remote screen in it.

I've used VNC in the past to connect to older Windows machines, but it's 
a lot slower. Again kdrc can be used as a frontend to it, and again WM 
should not matter. Be aware that what you are doing will display on the 
remote machine's physical screen (can be good, can be bad).
It's also possible to run a VNC server on UNIX/Linux/FreeBSD/..., but I 
never tested this.

I prefer to user ssh with X11 forwarding for that; works like a charm 
when on a local network. Fine, but obviously slower when used remotely. 
Every single application will have its windows on your screen, mixed 
with local applications, to the point you can hardly tell the difference.

I sometimes used to log to a Digital Alpha box using XDM. Quite slow at 
the time (pre ADSL) and no encryption (i.e. very poor security); I din't 
manage that box, so I didn't investigate wether that could be solved. 
KDE has KDM, Gnome has GDM, which are all (compatible, I believe) 
alternatives to XDM. They could in some rare cases be an alternative to 
using a remote shell with direct X11 connections.

IIRC KDE has some sort of remote desktop server built in, but I never 
checked this out.

I guess there are other ways too...


  bye
av.


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


Re: ghostscript

2007-01-24 Thread Andrew Pantyukhin

On 1/24/07, kalin mintchev [EMAIL PROTECTED] wrote:

 On 1/24/07, kalin mintchev [EMAIL PROTECTED] wrote:
 hi all...

 i have a problem compiling ghostscript...
 no mater what version i am using and using the newest port i always get:

 gcc: ./src/genconf.c: No such file or directory
 gcc: No input files specified
 *** Error code 1

 apparently that happens only on freebsd...

 Are you installing from ports?

no. this is from src.from the port i get:

1 out of 1 hunks ignored--saving rejects to alps/gdevalps.mak-5.50.rej
 Patch patch-alps:gdevalps.mak failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/print/ghostscript-gpl.


Forget about src. Try updating your ports. Try
ghostscript-afpl.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Remote Desktop Connection

2007-01-24 Thread Grzegorz Pluta
Thanks for all the replies guys! 
It was really helpful
Cheers,
Greg


Kevin Kinsey wrote:
 Grzegorz Pluta wrote:
 Hi.
 Id like to asj you guys if you used any remote desktops with freebsd?
 Which
 client/server would you recommend, and why? Witch wich desktop env
 have you
 been using it?
 
 I use Xorg  XFCE4 on my FreeBSD desktop(s).  For remote desktop
 connections:
 
 FreeBSD - FreeBSD: ssh with X11 forwarding (-X or -Y options, see
 manpage).
 
 FreeBSD - Windows: rdesktop (/usr/ports/net/rdesktop).  Works
 beautifully for work.  Can't recall which, but some games don't seem to
 like it.
 
 Windows - FreeBSD:  freeXer and PuTTY with X11 forwarding enabled. Kind
 of interesting to have my FreeBSD desktop apps on my wife's lappy at the
 breakfast table ;-).  With this setup, Windows actually is the window
 manager --- kinda disconcerting at first glance :-D
 
 Kevin Kinsey

Overall, as many have suggest on the list there are a number of caveats
to using different means of connecting.

Here's a short rundown with all of my comments:

rdesktop and krdc (KDE rdesktop) work for connecting to Windows NT 5.0+
servers. Don't have a Windows server that meets that spec? Probably
won't need rdesktop/krdc then.. Don't install krdc unless you also want
to install KDE.

X11 forwarding through ssh is great when you're connections between you
and the remote machine are relatively fast (fast up on the server, fast
down on the client). Compression with ssh (-C flag--not available on all
ssh or ssh2 implementations) is a good idea when using this to connect
remotely because there's a lot of data that gets piped through an X11
connection.

VNC is better for keeping remote sessions active after disconnecting
from the machine. There are many VNC servers software titles, but you
will either probably look into tightvnc (creates a new X session per
instance), or x11vnc (connects to an existing X session on your
machine). Quality, speed and latency are an issue here as VNC is sort of
bad at caching tiles on the desktop. Using a lightweight wm or desktop
is a wise idea though without a desktop picture and sticking to X11 only
widgets (xclock, xterm, etc) is a good idea as the redraw is better than
gtk or qt apps or other programs (firefox, thunderbird). Try to wrap the
connection using portforwarding via SSH if you're logged in from a large
LAN or over a WAN because everything sent with tightvnc is cleartext, so
passwords, credit card numbers, etc can be sniffed by a knowledgeable
individual.

I'm still amazed that nomachinex hasn't been ported to FreeBSD, but it's
a complete binary release of a 'hacked' X11 system, so the devs at the
nomachine group probably haven't gotten around to porting it yet.

Cheers,
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFt3mHEnKyINQw/HARAr1VAJ47ezl8/9q419n4+yccB3zkpx7HRgCfbOub
FqdQscYz6GQlSH3EJKcO67U=
=qIhM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: [OT] What does this pipe do?

2007-01-24 Thread Oliver Fromme
Robert Huff wrote:
  [EMAIL PROTECTED] writes:
I know this is a Unix shell command, and off-topic, but I'm
curious. I've been reading a few 'make' commands at work that end
in | and I was wondering if that redirection string is
synonymous to | /dev/stdout. 
  
  That's (t)csh-speak for send both stdout and stderr to the
  pipe.  '|' only covers stdout.

Just for completeness,  (file) and | (pipe) are also
supported by zsh (which is a bourne-shell like sh, ksh or bash).
In fact it's simply a shortcut for 21 (which means to dup
descriptor 2 [=stderr] to desciptor 1 [=stdout]).

The effect is, as several people have pointed out, to redirect
both stdout and stderr to the same file or pipe, respectively.

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

That's what I love about GUIs: They make simple tasks easier,
and complex tasks impossible.
-- John William Chambless
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: autostart apache

2007-01-24 Thread Derek Ragona

Check the startup script in /usr/local/etc, you may need to add
set -x
at the top of the script to see why it isn't started it at boot.

-Derek

At 08:36 AM 1/24/2007, Warren Head wrote:

Hi,

I would like Apache2 to start automatically when FreeBSD is done booting.
I thought that would happen because I placed this inside /etc/rc.conf

apache_enable=YES

But that doesn't seem to be the case. It doesn't start automatically, I have

to start it manually with:
apachectl start

Is this behaviour correct or not?

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: compiling postgresql with tsearch2

2007-01-24 Thread Joshua Frugé
go to 
/usr/ports/databases/postgresql81-server/work/postgresql-8.1.6/contrib/tsearch2

in here you can do a gmake and a make install I think

then 
psql wikidb  tsearch2.sql -U wikiuser


or something along those lines...
-- 
Joshua Frugé
Louisiana State University
Information Technology Services 
Email: [EMAIL PROTECTED]


On Wed, 2007-01-24 at 15:32 +0100, Warren Head wrote:
 Hi,
 
 I am looking for a postgresql installation with the tsearch2 module.
 I require the tsearch2 module for mediawiki. When I install the mediawiki,
 it tells me my postgresql server does not have the tsearch2 module loaded.
 
 I installed postgresql 8.1-server from the ports. The tsearch2 code is
 available in one of its subdirectories, but I don't know how I can get that
 compiled as a module.
 
 I am new to FreeBSD, and thus new to the ports, so not having to ./configure
 --myoptions is new to me.
 Sofar I like it though.
 So, should I compile it afterwards or should I change something in some
 configure file?
 
 What I could find on the net is that I should compile tsearch2 from its own
 directory afterwards, but that is on linux.
 
 Thanks,
 
 Warren
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


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


Re: autostart apache

2007-01-24 Thread Mike Barnard

Hi,

,


I would like Apache2 to start automatically when FreeBSD is done booting.
I thought that would happen because I placed this inside /etc/rc.conf

apache_enable=YES




you cannot start any of the apache2x family like that in FreeBSD, that is
for apache13, for apache2x you need to specify apache2_enable=YES or
apache22_enable=YES in the rc.conf file... depending on which apache you
have installed, also, check /usr/local/etc/rc.d/apache.sh (it can be
apache2.sh as well) and look out for lines that look like the rc.conf enable
settings, that should guide you on how to include it in your rc.conf


But that doesn't seem to be the case. It doesn't start automatically, I
have



make those changes above and you should have no problem

Regards
--

Mike

--
Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

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


Re: automake19: texinfo error during build

2007-01-24 Thread Doug Harris

I'm new to the list, but I'm having the same problem as somebody else
reported earlier this month. I'm trying to install subversion (by
doing cd /usr/ports/devel/subversion/  make install clean) and I'm
getting stuck on the build of automake19 with the same error as
reported earlier:

===  Building for automake-1.9.6
Making all in .
Making all in doc
restore=:  backupdir=.am$$   am__cwd=`pwd`  cd .   rm -rf
$backupdir  mkdir $backupdir   if (makeinfo --no-split --version)

/dev/null 21; then  for f in ./automake19.info

./automake19.info-[0-9] ./automake19.info-[0-9][0-9]
./automake19.i[0-9] ./automake19.i[0-9][0-9]; do  if test -f $f; then
mv $f $backupdir; restore=mv; else :; fi;  done;  else :; fi   cd
$am__cwd;  if makeinfo --no-split   -I .  -o ./automake19.info
./automake19.texi;  then  rc=0;  cd .;  else  rc=$?;  cd . 
$restore $backupdir/* `echo ././automake19.info | sed 's|[^/]*$||'`;
fi;  rm -rf $backupdir; exit $rc
./automake19.texi:8788: Unknown command `tie'.
./automake19.texi:8788: Misplaced {.
./automake19.texi:8788: Misplaced }.
./automake19.texi:9090: Unknown command `tie'.
./automake19.texi:9090: Misplaced {.
./automake19.texi:9090: Misplaced }.
./automake19.texi:9310: Unknown command `tie'.
./automake19.texi:9310: Misplaced {.
./automake19.texi:9310: Misplaced }.
./automake19.texi:9318: Unknown command `tie'.
./automake19.texi:9318: Misplaced {.
./automake19.texi:9318: Misplaced }.
makeinfo: Removing output file `./automake19.info' due to errors; use
--force to preserve.


Per requests from earlier responses, here's my env (with some
hostnames and IPs changed):

BLOCKSIZE=K
EDITOR=vi
FTP_PASSIVE_MODE=YES
GROUP=wheel
HOME=/root
HOST=FOO.BAR.net
HOSTTYPE=FreeBSD
LOGNAME=root
MACHTYPE=i386
MAIL=/var/mail/root
OLDPWD=/usr/ports/devel/automake19
OSTYPE=FreeBSD
PAGER=more
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/www/bin:/root/bin
PWD=/usr/ports/devel/subversion
REMOTEHOST=999.999.999.999
SHELL=/bin/csh
SHLVL=2
TERM=xterm
USER=root
VENDOR=intel
_=/usr/bin/env
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ghostscript

2007-01-24 Thread kalin mintchev


 Forget about src. Try updating your ports. Try
 ghostscript-afpl.

ok...  same crap:

   extracting gs6.0.lexmark7000.patch ...
===  Patching for ghostscript-afpl-8.54,1
===  Applying FreeBSD patches for ghostscript-afpl-8.54,1
-e: not found
*** Error code 127

Stop in /usr/ports/print/ghostscript-afpl.


what next?





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



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


Re: ghostscript

2007-01-24 Thread kalin mintchev


all the nox11 ones are breaking at the same place - the freakin'
gs6.0.lexmark7000.patch

i don;t want all this drivers...  i just need cli utility to turn a
postscript file into an image - jpg or png..  it seams its only doable
with ghostscript...;



 On 1/24/07, kalin mintchev [EMAIL PROTECTED] wrote:
  On 1/24/07, kalin mintchev [EMAIL PROTECTED] wrote:
  hi all...
 
  i have a problem compiling ghostscript...
  no mater what version i am using and using the newest port i always
 get:
 
  gcc: ./src/genconf.c: No such file or directory
  gcc: No input files specified
  *** Error code 1
 
  apparently that happens only on freebsd...
 
  Are you installing from ports?

 no. this is from src.from the port i get:

 1 out of 1 hunks ignored--saving rejects to alps/gdevalps.mak-5.50.rej
  Patch patch-alps:gdevalps.mak failed to apply cleanly.
 *** Error code 1

 Stop in /usr/ports/print/ghostscript-gpl.

 Forget about src. Try updating your ports. Try
 ghostscript-afpl.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



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


Does 82915PM/GMS support dri???

2007-01-24 Thread Γιωργος Φωτεινοπουλ ος
Hello there,
 i have a problem configuring dri support for my laptop (a celeron 1.5Ghz, 
with i915GM GMCH chipset and 768Mb memory).Does anyone knows firstly if there 
is a support for this chipset?If so, can you please check the glxinfo and dmesg 
and tell me what's wrong?
  Thanks for the time.


-
 Χρησιμοποιείτε Yahoo!
 Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την 
καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων 
 http://login.yahoo.com/config/mail?.intl=gr 

dmesg.out
Description: 1529026689-dmesg.out


glxinfo.out
Description: 2764672833-glxinfo.out


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

Re: Remote Desktop Connection

2007-01-24 Thread FreeBSD Daemon

Grzegorz Pluta wrote:

Hi.
Id like to asj you guys if you used any remote desktops with freebsd? Which
client/server would you recommend, and why? Witch wich desktop env have you
been using it?

Cheers,
GregZX


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

  

I use net/tightvnc port both as client ans server.
Works file for me.

I am running a lightweight WM ... aewm++ and pwm.

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


Re: Remote Desktop Connection

2007-01-24 Thread Christian Walther

On 24/01/07, Grzegorz Pluta [EMAIL PROTECTED] wrote:

Hi.
Id like to asj you guys if you used any remote desktops with freebsd? Which
client/server would you recommend, and why? Witch wich desktop env have you
been using it?

Cheers,
GregZX


I like using X. Either start your session locally and login to a
remote machine, for example using ssh -X host and start the
application there, or configure the remote X server to listen to tcp,
and connect your local X server using X -query hostname.
There are some nice Howtos out there, or read the X11 chapter of the
FreeBSD manual, especially The X Display-Manager:

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

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


Re: ghostscript

2007-01-24 Thread Matthew Seaman
kalin mintchev wrote:
 Forget about src. Try updating your ports. Try
 ghostscript-afpl.
 
 ok...  same crap:
 
   extracting gs6.0.lexmark7000.patch ...
 ===  Patching for ghostscript-afpl-8.54,1
 ===  Applying FreeBSD patches for ghostscript-afpl-8.54,1
 -e: not found
 *** Error code 127
 
 Stop in /usr/ports/print/ghostscript-afpl.
 
 
 what next?

What's the result if you type:

   make -V REINPLACE_CMD 

in the Ghostscript port directory?  It should look like this:

happy-idiot-talk:...ports/print/ghostscript-afpl:% make -V REINPLACE_CMD
/usr/bin/sed -i.bak

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: PCIe Core2 Duo Motherboard?

2007-01-24 Thread Ivan Voras
Philippe Lang wrote:

 Hum, that means LAN works on a SuperMicro X7DBE motherboard? That's

Note that I'm really emphasizing that I don't know *why* it was working :)

 really good news! I was hesitating buying one, because of the supposed
 lack of 82563EB support, but I see I'm wrong. Can anyone explain how
 this chip could be supported, even if not mentioned in the driver itself
 and in the documentation?
 
 Ivan, do you have the opportunity to open your server, and check what
 LAN chip there is inside?

Sorry, no, it went to a client and I don't have physical access to it.



signature.asc
Description: OpenPGP digital signature


Re: ghostscript

2007-01-24 Thread Peter A. Giessel
On 2007/01/24 7:35, kalin mintchev seems to have typed:
 
 all the nox11 ones are breaking at the same place - the freakin'
 gs6.0.lexmark7000.patch
 
 i don;t want all this drivers...  i just need cli utility to turn a
 postscript file into an image - jpg or png..  it seams its only doable
 with ghostscript...;

Why don't you just uncheck?:
[ ] lex7000   Lexmark 7000 [LEX7000]

in the config options screen?

cd /usr/ports/print/ghostscript-afpl
make

Up comes the AFPL Ghostscript driver configuration screen.  Just
uncheck all the printers except the image ones...

[X] jpeg  JPEG format, RGB output  
[X] jpeggray  JPEG format, gray output

[X] pngmono   PNG Monochrome Portable Network Graphics 
[X] pnggray   PNG 8-bit gray Portable Network Graphics 
[X] png16 PNG 4-bit color Portable Network Graphics
[X] png256PNG 8-bit color Portable Network Graphics
[X] png16mPNG 24-bit color Portable Network Graphics   
[X] pngalpha  PNG 32-bit RGBA color Portable Network Graphics
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.2-REL w/ SuperMicro Pentium D board, installer problem?

2007-01-24 Thread chris neill
On Mon, Jan 22, 2007 at 09:16:22PM -0500, chris neill wrote:
 It is my understanding that the new Dualcore Pentiums fall under the auspices 
 of the AMD64 port..
 
 Anywho, whenever I try to run the bootonly installer, the boot stalls here:
 
 acd0: CDROM Compaq CRN-8245B/1.16 at ata0-slave PIO4
 
 If I run from an i386 kernel, everything is hunky-dorey. From dmesg:
 
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) D CPU 3.40GHz (3391.51-MHz 686-class CPU)

[snip] ..

Any takers? I'll follow up with the output of boot -v from the AMD64 bootonly 
disc later in the day, if need be.

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


Qlogic QMH2462 Fibre Channel on HP Blade Servers

2007-01-24 Thread Greg Himes


Hello All,

I'm trying to install 6.2 Release on an HP blade,
but the isp driver doesn't recognize the new Qlogic
fibre channel adapters.  I also tried stopping at the
boot loader and manually loading /boot/kernel/isp.ko,
but the fibre channel still doesn't work.

Because of the way the blades are managed, I can't
capture the device info at boot time.  However,
they are seen as serial fibre channel devices by pci.

Is there a patch for isp forthcoming?  Any suggestions?

(I'm only subscribed to freebsd-isp, so please copy me
with any replies)

Greg


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


Upgrading from 4 to 6

2007-01-24 Thread Diomidis Spinellis
With the EOL of FreeBSD 4.X coming close, I'm in the process of 
upgrading to 6.2.  According to

http://www.freebsd.org/releases/5.4R/migration-guide.html#UPGRADE

  Probably the most straightforward approach is that of ``backup 
everything, reformat, reinstall, and restore user data''.


However, things are not that simple, because a system typically has many 
configured files, other than user data.  I'm currently setting up a new 
6.2 system on a VMWare host trying to mirror the existing system.


After a clean installation of 6.2, I also installed ports and some CPAN 
modules.  I then configured the apache configuration files, the sendmail 
local host file, the named masters and configuration file, 
/etc/inetd.conf, /etc/rc.conf, and the imap certificates.  Just before 
the switchoover, I'll also also need to copy the users parts of 
/etc/passwd* and /etc/group, the mail aliases, the httpd logs, the user 
mailboxes in /var/mail, and, of course, /home.


However, I have an uneasy feeling I may miss copying/adjusting some 
files.  Although I've documented the changes I made to the original 
system from 2002 onward, the documentation is a 1000-line file and I 
can't be sure it is 100% complete or that I will spot all required changes.


Is there a checklist or a procedure for restoring a 4.X system 
configuration to a system running 6.X?  Am I missing any obvious files 
or directories I should copy over?


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


Re: ghostscript

2007-01-24 Thread kalin mintchev
 On 2007/01/24 7:35, kalin mintchev seems to have typed:

 all the nox11 ones are breaking at the same place - the freakin'
 gs6.0.lexmark7000.patch

 i don;t want all this drivers...  i just need cli utility to turn a
 postscript file into an image - jpg or png..  it seams its only doable
 with ghostscript...;

 Why don't you just uncheck?:
 [ ] lex7000   Lexmark 7000 [LEX7000]

 in the config options screen?\

options screen!!!  i'd love an option screen
whats the command line option to ignore options??


 cd /usr/ports/print/ghostscript-afpl
 make

 Up comes the AFPL Ghostscript driver configuration screen.  Just
 uncheck all the printers except the image ones...

 [X] jpeg  JPEG format, RGB output
 [X] jpeggray  JPEG format, gray output

 [X] pngmono   PNG Monochrome Portable Network Graphics
 [X] pnggray   PNG 8-bit gray Portable Network Graphics
 [X] png16 PNG 4-bit color Portable Network Graphics
 [X] png256PNG 8-bit color Portable Network Graphics
 [X] png16mPNG 24-bit color Portable Network Graphics
 [X] pngalpha  PNG 32-bit RGBA color Portable Network Graphics



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


Re: ghostscript

2007-01-24 Thread kalin mintchev
 kalin mintchev wrote:
 Forget about src. Try updating your ports. Try
 ghostscript-afpl.

 ok...  same crap:

   extracting gs6.0.lexmark7000.patch ...
 ===  Patching for ghostscript-afpl-8.54,1
 ===  Applying FreeBSD patches for ghostscript-afpl-8.54,1
 -e: not found
 *** Error code 127

 Stop in /usr/ports/print/ghostscript-afpl.


 what next?

 What's the result if you type:

make -V REINPLACE_CMD


a new line  absolutly nothing.



 in the Ghostscript port directory?  It should look like this:

 happy-idiot-talk:...ports/print/ghostscript-afpl:% make -V REINPLACE_CMD
 /usr/bin/sed -i.bak

   Cheers,

   Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
   Kent, CT11 9PW




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


Re: nfs mount rw

2007-01-24 Thread WarrenHead

Vince schreef:

so not sure where you got that from.

  

Hi Vince,

Well, I got that from numerous man pages through google. One of the 
first ten results of 'man exports' was even a link to www.freebsd.org. 
But, now I see on the server that the man page there really is 
different. A difference then between linux and bsd I guess.

Shoudl be rw by default. who doesnt have writing access?
Should it be? Well, it isn't right now. My own user account under ubuntu 
doesn't have write access by default, nor does root.

 are the unix
permissions on both sides correct,
I'm not using nis (yet), so perhaps that is what is needed here? I never 
used nfs before, if that wasn't totally obvious. :-)
The exports syntax shown in the local man page is helping me out. The 
options are all working, -mapall is usefull, but what I really want is 
the 'rw by default' bit. So that each user can create files and get 
their own uid:gid accordingly.

If NIS is the answer here, I would not be surprised. Could it be?

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


Re: nfs mount rw

2007-01-24 Thread Chuck Swiger

On Jan 24, 2007, at 12:01 PM, WarrenHead wrote:
I really want is the 'rw by default' bit. So that each user can  
create files and get their own uid:gid accordingly.

If NIS is the answer here, I would not be surprised. Could it be?


In order for NFS filesharing to work sensibly, the server and client  
need to share the same uid/gid information.  You can manually sync  
the contents of /etc/group and /etc/passwd, but over the long term,  
setting up some form of network directory services (ie, NIS, LDAP/ 
OpenDirectory, etc) will make life much easier...


--
-Chuck

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


Problem with ipfw flush

2007-01-24 Thread Dan Mahoney, System Admin

Hey all.

In trying to tweak my firewall setup I'm using a file called 
/etc/ipfw.rules


However, it seems even though I copy my rules perfectly to that file, the 
system freezes up and locks me out when I do:


ipfw -f flush; ipfw /etc/ipfw.rules

I've also tried doing it as

ipfw -f flush  ipfw /etc/ipfw.rules

But to no avail.

if it matters, ipfw is loaded as a kernel module, not compiled in.

-Dan

--

[23:49:00] LarpGM: Did my little TP comment scare you off?
[23:49:22] ilzarion: no, the shrieking retarded child eating people did

-Feb 06, 2001, times apparent.


Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: Problem with ipfw flush

2007-01-24 Thread Jeff Royle

Dan Mahoney, System Admin wrote:

Hey all.

In trying to tweak my firewall setup I'm using a file called 
/etc/ipfw.rules


However, it seems even though I copy my rules perfectly to that file, 
the system freezes up and locks me out when I do:


ipfw -f flush; ipfw /etc/ipfw.rules

I've also tried doing it as

ipfw -f flush  ipfw /etc/ipfw.rules

But to no avail.

if it matters, ipfw is loaded as a kernel module, not compiled in.

-Dan

--


I haven't used IPFW in a while but if I recall right IPFW has a default 
policy of drop.   So when you flush the ruleset your pass rules are all 
gone.


You could run the command like: ipfw -f flush  ipfw /etc/ipfw.rules

That should allow you flush and load your ruleset.   You may also want 
to look into changing the default policy to accept.   However this may 
require you to adjust your rules depending on how you wrote them.


Cheers,

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


Re: Problem with ipfw flush

2007-01-24 Thread Jeff Royle

Jeff Royle wrote:

Dan Mahoney, System Admin wrote:

Hey all.

In trying to tweak my firewall setup I'm using a file called 
/etc/ipfw.rules


However, it seems even though I copy my rules perfectly to that file, 
the system freezes up and locks me out when I do:


ipfw -f flush; ipfw /etc/ipfw.rules

I've also tried doing it as

ipfw -f flush  ipfw /etc/ipfw.rules

But to no avail.

if it matters, ipfw is loaded as a kernel module, not compiled in.

-Dan

--


I haven't used IPFW in a while but if I recall right IPFW has a default 
policy of drop.   So when you flush the ruleset your pass rules are all 
gone.


You could run the command like: ipfw -f flush  ipfw /etc/ipfw.rules

That should allow you flush and load your ruleset.   You may also want 
to look into changing the default policy to accept.   However this may 
require you to adjust your rules depending on how you wrote them.


Cheers,

Jeff
___


Opps I am sorry, I got pulled away while reading your original email, 
guess I didn't finish reading it.  I see you are trying .


You still may want to look into a default policy of accept for IPFW, 
this way its a non issue.


Sorry for the wasted bandwidth! :)

Cheers,

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


Re: Problem with ipfw flush

2007-01-24 Thread John Nielsen
On Wednesday 24 January 2007 15:59, Jeff Royle wrote:
 Jeff Royle wrote:
  Dan Mahoney, System Admin wrote:
  In trying to tweak my firewall setup I'm using a file called
  /etc/ipfw.rules
 
  However, it seems even though I copy my rules perfectly to that file,
  the system freezes up and locks me out when I do:
 
  ipfw -f flush; ipfw /etc/ipfw.rules
 
  I've also tried doing it as
 
  ipfw -f flush  ipfw /etc/ipfw.rules
 
  But to no avail.
 
  if it matters, ipfw is loaded as a kernel module, not compiled in.
 
  I haven't used IPFW in a while but if I recall right IPFW has a default
  policy of drop.   So when you flush the ruleset your pass rules are all
  gone.
 
  You could run the command like: ipfw -f flush  ipfw /etc/ipfw.rules
 
  That should allow you flush and load your ruleset.   You may also want
  to look into changing the default policy to accept.   However this may
  require you to adjust your rules depending on how you wrote them.

 Opps I am sorry, I got pulled away while reading your original email,
 guess I didn't finish reading it.  I see you are trying .

 You still may want to look into a default policy of accept for IPFW,
 this way its a non issue.

Three things to remember when modifying ipfw rules remotely:

1) Make sure that you have a way to recover when you lock yourself out. Once 
you get the hang of it this doesn't happen very often, but it can definitely 
happen.

2) Put whatever rules you need to access your session at the top of your 
ruleset. (e.g. allow tcp from any to me 22 and allow tcp from me 22 to any)

3) Make sure to use nohup at the beginning of your reload command(s). It's 
helpful to make a script that flushes and reloads the firewall so all you 
have to do is nohup reload.sh. If you use screen or the like you can get 
the same result. The point is to keep the system from hanging up on you and 
interrupting your session while you're momentarily not allowed in.

Changing the default to accept would alleviate the need for some or all of the 
above, but I've never thought that to be a good approach in situations where 
I actually want a firewall.

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


Re: Problem with ipfw flush

2007-01-24 Thread applecom
In trying to tweak my firewall setup I'm using a file called  
/etc/ipfw.rules


However, it seems even though I copy my rules perfectly to that file,  
the system freezes up and locks me out when I do:


ipfw -f flush; ipfw /etc/ipfw.rules

I've also tried doing it as

ipfw -f flush  ipfw /etc/ipfw.rules

But to no avail.


Firewall script is a common shell script. You don't need to run 'ipfw  
script'.

Flushing the rules is usually done by script itself.
For example:
#!/bin/sh
ipfw=/sbin/ipfw
${ipfw} -f flush
${ipfw} rule
${ipfw} rule
${ipfw} rule
...
This file should be executable (chmod +x). You can also put any non-ipfw  
additional commands in this file if you want.

Try to make such script, execute it and write again about the results.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with ipfw flush

2007-01-24 Thread Dan Mahoney, System Admin

On Thu, 25 Jan 2007, [EMAIL PROTECTED] wrote:

In trying to tweak my firewall setup I'm using a file called 
/etc/ipfw.rules


However, it seems even though I copy my rules perfectly to that file, the 
system freezes up and locks me out when I do:


ipfw -f flush; ipfw /etc/ipfw.rules

I've also tried doing it as

ipfw -f flush  ipfw /etc/ipfw.rules

But to no avail.


Firewall script is a common shell script. You don't need to run 'ipfw 
script'.

Flushing the rules is usually done by script itself.
For example:
#!/bin/sh
ipfw=/sbin/ipfw
${ipfw} -f flush
${ipfw} rule
${ipfw} rule
${ipfw} rule
...
This file should be executable (chmod +x). You can also put any non-ipfw 
additional commands in this file if you want.

Try to make such script, execute it and write again about the results.


Well, I'm trying to be compliant with /etc/rc.firewall's expectations for 
a rules file, which IS called with ipfw rules.file


-Dan

--

Gushi And hello kitty does not have a mouth.
bizzy . o O ( oh yes she does )

EfNet #macintosh, 2/21/01, some ridiculous hour of the morning

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: HP Embedded SATA RAID controller (FreeBSD 6.2)

2007-01-24 Thread applecom

George Vanev [EMAIL PROTECTED] wrote:


I have HP ProLiantML 110 G3 server.
I am trying to install FreeBSD 6.2.
But it doesn't seem to recognise the RAID controller.
I don't know what exactly is the controller.
In the hp site I didn't find anything usefull, except that this is HP  
embedded SATA RAID controller

Not much, uh?!

Any one could help?!
Regards


It's Adaptec, probably AHA-3985 - there is an appropriate string in the  
driver.

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


6.2 about the vlan setup

2007-01-24 Thread ann kok
Hi all

I put the device vlan and modify and recompile the
kernel. reboot the computer. uname is showing it is
new kernel 

but I can't see the vlan interface

Do you know why?

Thank you  



 

Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with ipfw flush

2007-01-24 Thread Kevin Kinsey

Dan Mahoney, System Admin wrote:

Hey all.

In trying to tweak my firewall setup I'm using a file called 
/etc/ipfw.rules


However, it seems even though I copy my rules perfectly to that file, 
the system freezes up and locks me out when I do:


/usr/share/examples/ipfw/change_rules.sh?

HTH,

KDK
--
English literature's performing flea.
-- Sean O'Casey on P. G. Wodehouse

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


Re: Upgrading from 4 to 6

2007-01-24 Thread Kevin Kinsey

Diomidis Spinellis wrote:

Am I missing any obvious files 
or directories I should copy over?




I didn't notice your SSH server keys on the list.

KDK
--
Reflections on Ice-Breaking
Candy
Is dandy
But liquor
Is quicker.
-- Ogden Nash

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


ssh w/ rsa certs not working

2007-01-24 Thread Gabriel Rossetti

Hello,

I tried to setup ssh on a FreeBSD 4.8 (OpenSSH_3.5p1) to use 
certificates to log in to a FreeBSD 6.1 (OpenSSH_4.2p1) machine, but it 
still asks for a password.
I did the same setup, same steps, to get the FreeBSD 6.1 machine to log 
into a Gentoo Linux (OpenSSH_4.5p1) machine without any problems.


Having done that, I can be fairly sure that my steps are correct, I 
followed this guide : 
http://backuppc.sourceforge.net/faq/ssh.html#how_do_i_setup_openssh


The user needing to log in is root (I know this is not good and turned 
off by default), so I re-enabled root login with ssh but like I said 
above, I get a password

prompt when I do : ssh -l root machine2 whoami

Does anyone have an idea as of why it is not working?

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


Re: **questions** ssh w/ rsa certs not working

2007-01-24 Thread Matt Ruzicka

On Wed, 24 Jan 2007, Gabriel Rossetti wrote:

The user needing to log in is root (I know this is not good and turned off by 
default), so I re-enabled root login with ssh but like I said above, I get a 
password

prompt when I do : ssh -l root machine2 whoami



Not sure if there is more going on as well, but you might want to set 
PermitRootLogin without-password in your sshd_config on the server you are 
trying to access.  This /should/ give you a bit more security in that 
someone won't be able to brute force your root password if I understand 
it, but will allow you to login using the sshd keys (if they are set up 
properly).  Might also check file and directory perms on .ssh and the 
different key and authorized_keys2 files involved if you haven't already, 
seems perms often bite me..


Matt Ruzicka - Senior Systems Administrator
FRII
970-212-0728  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.2 + xinetd + amanda problem

2007-01-24 Thread Matt Ruzicka
While building out a couple new servers FreeBSD 6.2 was released.  Since 
these boxes were not quite ready to be put into production we took the 
opportunity to upgrade these boxes from 6.1 to 6.2 following the 
instructions from the UPDATING file in src as usual.  Initially everything 
seemed fine, but then we noticed that our previously working amanda 
backups started to fail.  We install amanda from source and run it from 
xinetd, which we install from ports.


Initially I figured amanda just needed to be recompiled, but the new 
install was failing as well.  Specifically amcheck from the amanda server 
was reporting that the client self check was timing out.  (A common and 
usually easily fixed issue.)  During the troubleshooting I noticed that 
xinetd was reporting the following errors in /var/log/messages.


Jan 24 14:36:34 hostname xinetd[44463]: fcntl( 0, clear close-on-exec ) failed: 
Bad file descriptor (errno = 9)
Jan 24 14:36:34 hostname xinetd[44463]: dup2( 0, 0 ) failed: Bad file 
descriptor (errno = 9)

After these errors finished the amanda server would report the selfcheck 
request timed out and suggest the host was down.  Normally when this runs 
the amanda client creates a /var/tmp/amanda directory on the server being 
backed up, but after the selfcheck fails the directory has not been 
created.  This seems to imply that amanda is never actually starting.


This lead me to believe that there was something wrong with xinetd and not 
amanda so I disabled amanda from the xinetd config and added it to plain 
old inetd and fired it up.  With amanda running from inetd the selfcheck 
would complete properly and the /var/tmp/amanda would be created with the 
proper files.


The strange thing I have two other services running from xinetd that /are/ 
working just fine, so xinetd itself seems to be at least partially ok.


After re-installing xinetd about a dozen times with variations in the 
config options and from both ports and source I'm still getting the same 
errors and it's really eating my lunch.


I am able to confirm that the amanda and xinetd configs were working under 
6.1 because we have backups of these machines.  Also, this combination of 
services are running just fine on other servers.  Just to be sure though I 
reinstalled amanda and xinetd on one of my 6.1 boxes from the same source 
that I'm having trouble with on 6.2 and everything works fine on 6.1.


It seems very odd, but there does seem to be some strange subtle issue or 
bug with FreeBSD 6.2 as it relates to the combination of amanda and 
xinetd.


Has anyone else seen anything even remotely similar with FreeBSD 6.2?

Of course I could just run amanda from inetd, but that loses some security 
I would much rather retain.  I'm considering attempting to roll back to 
6.1, but I'm afraid that will cause all sort of strange and unexpected 
results.  Plus, I'll want to move to 6.2 at some point and might just need 
to solve this issue then.


Thanks in advance for your time and I apologize if something similar has 
already been discussed and I somehow missed it in my troubleshooting and 
research.


Matt Ruzicka - Senior Systems Administrator
FRII
970-212-0728  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.2 about the vlan setup

2007-01-24 Thread applecom

ann kok [EMAIL PROTECTED] wrote:


I put the device vlan and modify and recompile the
kernel. reboot the computer. uname is showing it is
new kernel

but I can't see the vlan interface

Do you know why?


See vlan(4) and ifconfig(8). Excerpt from vlan(4):
Each vlan interface is created at runtime using interface cloning.  This
is most easily done with the ifconfig(8) create command or using the
cloned_interfaces variable in rc.conf(5).
So loading if_vlan / compiling into kernel isn't sufficient.

Also look at http://people.freebsd.org/~arved/vlan/vlan_en.html (it's  
slightly outdated).

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


Re: cp to infinity.

2007-01-24 Thread [EMAIL PROTECTED]

On 24/01/07, Stevan Tiefert [EMAIL PROTECTED] wrote:

Am Mittwoch, 24. Januar 2007 12:50 schrieb Peter Ankerstål:
  Sure, just don't copy directories into themselves
  recursively.

 How hard could it be to make cp avoid this problem?
 GNU cp does not have any problems with this action.



You need only to write a patch and send it to the developers and voilà
you have what you want!



I doubt it.
name too long (not copied)
Seems a lot more hand-holdy than just consuming
all of your inodes and crashing in an undignified manner
(which is what I would have bet on).
The lesson is:  be more careful with your wildcards,
this is OS, not AI*.


*Doing stupid things just as quickly and efficiently as
smart things is proper operating system design, if
you ask me.
--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote Desktop Connection

2007-01-24 Thread FreeBSD WickerBill

On 1/24/07, Grzegorz Pluta [EMAIL PROTECTED] wrote:


Thanks for all the replies guys!
It was really helpful
Cheers,
Greg


Kevin Kinsey wrote:
 Grzegorz Pluta wrote:
 Hi.
 Id like to asj you guys if you used any remote desktops with freebsd?
 Which
 client/server would you recommend, and why? Witch wich desktop env
 have you
 been using it?

 I use Xorg  XFCE4 on my FreeBSD desktop(s).  For remote desktop
 connections:

 FreeBSD - FreeBSD: ssh with X11 forwarding (-X or -Y options, see
 manpage).

 FreeBSD - Windows: rdesktop (/usr/ports/net/rdesktop).  Works
 beautifully for work.  Can't recall which, but some games don't seem to
 like it.

 Windows - FreeBSD:  freeXer and PuTTY with X11 forwarding enabled. Kind
 of interesting to have my FreeBSD desktop apps on my wife's lappy at the
 breakfast table ;-).  With this setup, Windows actually is the window
 manager --- kinda disconcerting at first glance :-D

 Kevin Kinsey

Overall, as many have suggest on the list there are a number of caveats
to using different means of connecting.

Here's a short rundown with all of my comments:

rdesktop and krdc (KDE rdesktop) work for connecting to Windows NT 5.0+
servers. Don't have a Windows server that meets that spec? Probably
won't need rdesktop/krdc then.. Don't install krdc unless you also want
to install KDE.

X11 forwarding through ssh is great when you're connections between you
and the remote machine are relatively fast (fast up on the server, fast
down on the client). Compression with ssh (-C flag--not available on all
ssh or ssh2 implementations) is a good idea when using this to connect
remotely because there's a lot of data that gets piped through an X11
connection.

VNC is better for keeping remote sessions active after disconnecting
from the machine. There are many VNC servers software titles, but you
will either probably look into tightvnc (creates a new X session per
instance), or x11vnc (connects to an existing X session on your
machine). Quality, speed and latency are an issue here as VNC is sort of
bad at caching tiles on the desktop. Using a lightweight wm or desktop
is a wise idea though without a desktop picture and sticking to X11 only
widgets (xclock, xterm, etc) is a good idea as the redraw is better than
gtk or qt apps or other programs (firefox, thunderbird). Try to wrap the
connection using portforwarding via SSH if you're logged in from a large
LAN or over a WAN because everything sent with tightvnc is cleartext, so
passwords, credit card numbers, etc can be sniffed by a knowledgeable
individual.

I'm still amazed that nomachinex hasn't been ported to FreeBSD, but it's
a complete binary release of a 'hacked' X11 system, so the devs at the
nomachine group probably haven't gotten around to porting it yet.

Cheers,
- -Garrett
-



It's in the ports.

portless nxserver
This is a port of NoMachine's NX server, which is a way to
use X connections over slow links without noticeable lag.

WWW: http://www.nomachine.com

I use it daily from a windows client to home computer running PC-BSD (KDE)
It runs much faster than I could ever get VNC to run. I use rdesktop going
from FreeBSD to Windows and it works fine too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh w/ rsa certs not working

2007-01-24 Thread Kevin Kinsey

Gabriel Rossetti wrote:

Hello,

I tried to setup ssh on a FreeBSD 4.8 (OpenSSH_3.5p1) to use 
certificates to log in to a FreeBSD 6.1 (OpenSSH_4.2p1) machine, but it 
still asks for a password.


snip

The user needing to log in is root (I know this is not good and turned 
off by default), so I re-enabled root login with ssh but like I said 
above, I get a password

prompt when I do : ssh -l root machine2 whoami


try ssh -vv -l root machine2 whoami and see what's biting you, perhaps.

KDK

--
Mix's Law:
There is nothing more permanent than a temporary building.
There is nothing more permanent than a temporary tax.

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


Re: FreeBSD 6.2-RELEASE on Dell Optiplex 210L

2007-01-24 Thread applecom

Mike Barnard [EMAIL PROTECTED] wrote:

if i remove the USB keyboard, all above versions of FreeBSD boot, but  
when i
plug the keyboard back in, its not functional. i managed to get it to  
boot

once with the keyboard plugged in, but loose it after it gets to the
sysinstall part.


Is everything ok with USB keyboard? Have you the same when plugged it to  
other boxes?

Does PS/2 keyboard works well?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ghostscript

2007-01-24 Thread applecom

kalin mintchev [EMAIL PROTECTED] wrote:


options screen!!!  i'd love an option screen
whats the command line option to ignore options??


It seems that all the ghostscript variants in ports have an options screen.
Did you updated the ports? Make sure you haven't 'work' directory before  
running make.

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


Re: **questions** ssh w/ rsa certs not working

2007-01-24 Thread Gabriel Rossetti



Matt Ruzicka wrote:

On Wed, 24 Jan 2007, Gabriel Rossetti wrote:

The user needing to log in is root (I know this is not good and 
turned off by default), so I re-enabled root login with ssh but like 
I said above, I get a password

prompt when I do : ssh -l root machine2 whoami



Not sure if there is more going on as well, but you might want to set 
PermitRootLogin without-password in your sshd_config on the server you 
are trying to access.  This /should/ give you a bit more security in 
that someone won't be able to brute force your root password if I 
understand it, but will allow you to login using the sshd keys (if 
they are set up properly).  Might also check file and directory perms 
on .ssh and the different key and authorized_keys2 files involved if 
you haven't already, seems perms often bite me..


I have rwx for user and nothing for group and others. Thanks for the 
safety tip, I'll do that. I added the -v param to ssh and I found this :


debug1: Remote: Your host 'machine2' is not permitted to use this key 
for login.


after playing around with it I found two problems :

1) FreeBSD uses ~/.ssh/authorized_keys and not ~/.ssh/authorized_keys2 
like linux



2) I had put :

from=machine1 ssh-rsa [base64 key, eg: ABwBCEAIIALyoqa8]

to limit from where I can login, in my ~/.ssh/authorized_keys and it 
doesn't seem to like that (from=machine1 )


any ideas why it doesn't like the 2nd point?

Thanks,
Gabriel


Matt Ruzicka - Senior Systems Administrator
FRII
970-212-0728  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



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


Re: Problem with ipfw flush

2007-01-24 Thread Dan Mahoney, System Admin

On Wed, 24 Jan 2007, Kevin Kinsey wrote:


Dan Mahoney, System Admin wrote:

Hey all.

In trying to tweak my firewall setup I'm using a file called 
/etc/ipfw.rules


However, it seems even though I copy my rules perfectly to that file, the 
system freezes up and locks me out when I do:


/usr/share/examples/ipfw/change_rules.sh?


That is a very cool script, however, it appears as though it calls 
firewall_script on line 131 with sh, not with ipfw.


nohup sh ${firewall_script} ${firewall_type}.new

Whereas, etc/rc.firewall calls ipfw on line 299 via the ipfw command:

${fwcmd} ${firewall_flags} ${firewall_type}

The difference is that the resulting rules file would not be parseable by 
sh since the lines in the file would not contain the ipfw command but 
only the arguments.  As one's in examples and the other's in a live 
startup script, I'd assume the latter to be the correct method.


That said, this still does not tell me why a subsequent flush-and-rerun 
isn't working via ssh.  It works totally fine via the command line, but 
over ssh it gives:


Jan 24 19:10:55 ads-bsh-fwa4 sshd[845]: fatal: Write failed: Permission 
denied on the console (but by that point my connection's already dropped).


However, this shouldn't actually stop an already-typed command, should it?

Additionally, it doesn't appear that /etc/rc.firewall has the smarts to do 
this, as the stop command it lists only disables the kernel firewall 
structure via sysctl, but does NOT flush the rules, pipes, counts, or the 
like, so it's not a true restart.  (the idea being that otherwise, every 
rule will be added twice -- the flush is a necessary step there).


Even if I add the flush command directly to /etc/ipfw.rules, and run 
ipfw -f /etc/ipfw.rules right from the command line, my connection gets 
dropped and the rest of the commands do not run.


In experimenting a bit more, I've found that I can do:

nohup ipfw -f /etc/ipfw.rules

This allows the rest of the ipfw command to run, but the HUP-on-disconnect 
still doesn't explain why the command doesn't even finish running.


-Dan

--

What's with the server farm down in the basement?

-Spider, Three Skulls Commons at Selden House, 4/15/00

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: Problem with ipfw flush

2007-01-24 Thread applecom
Dan Mahoney, System Admin [EMAIL PROTECTED] wrote:

 Even if I add the flush command directly to /etc/ipfw.rules, and run
 ipfw -f /etc/ipfw.rules right from the command line, my connection gets
 dropped and the rest of the commands do not run.
  In experimenting a bit more, I've found that I can do:
  nohup ipfw -f /etc/ipfw.rules
  This allows the rest of the ipfw command to run, but the HUP-on-disconnect
 still doesn't explain why the command doesn't even finish running.

If I understands rightly you need -q option. ipfw(8):

-q  While adding, zeroing, resetlogging or flushing, be quiet about
  actions (implies -f).  This is useful for adjusting rules by exe-
  cuting multiple ipfw commands in a script (e.g.,
 `sh /etc/rc.firewall'), or by processing a file of many ipfw
^
  rules across a remote login session.  It also stops a table add
  
  or delete from failing if the entry already exists or is not
  present.  If a flush is performed in normal (verbose) mode (with
  the default kernel configuration), it prints a message.  Because
  all rules are flushed, the message might not be delivered to the
  
  login session, causing the remote login session to be closed and
  
  the remainder of the ruleset to not be processed.  Access to the
  
  console would then be required to recover.
  ^^
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ghostscript

2007-01-24 Thread kalin mintchev
 On Wednesday 24 January 2007 1:10 pm, kalin mintchev wrote:

 options screen!!!  i'd love an option screen
 whats the command line option to ignore options??

 What version of FreeBSD are you using?

on that machine 4.10. i know its old but also the ghostscript hasn;t
changed that much since than. as i wrote earlier i don;t need any of the
drivers at all. just need to be able to make a postscript file into png or
jpeg.


 Have you in fact updated your
 entire
 ports tree recently?

do i need to? i did the print ports and graphics too. used the distro 4.10
and the latest one too. also downloaded manually the latest ones and tried
that too. i never get to a gui  started over many times from scratch -
make clean, new different ports   i've never had so mutch trouble with
anything before. even the src doesn;t compile

is there any -d flags i can use to tell make to ignore some of the
optional drivers?

thanks...



 --
 Kirk Strauser



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


Re: 6.2-REL w/ SuperMicro Pentium D board, installer problem?

2007-01-24 Thread chris neill
I can boot the AMD64 GENERIC kernel if I disable APCI from the loader menu.

This appears to be a legitimate bug, so I guess I'm going to submit my dmesg / 
etc to the AMD64 folks..

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


Re: Remote Desktop Connection

2007-01-24 Thread David Schulz
since most of my machines are usually running with no xorg, the only  
tool i need is ssh. in cases where i want a true remote desktop, i  
like vnc, plain and simple.


On Jan 24, 2007, at 5:23 PM, Grzegorz Pluta wrote:


Hi.
Id like to asj you guys if you used any remote desktops with  
freebsd? Which
client/server would you recommend, and why? Witch wich desktop env  
have you

been using it?

Cheers,
GregZX


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


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


Re: Remote Desktop Connection

2007-01-24 Thread Dak Ghatikachalam

On 1/24/07, Grzegorz Pluta [EMAIL PROTECTED] wrote:


Hi.
Id like to asj you guys if you used any remote desktops with freebsd?
Which
client/server would you recommend, and why? Witch wich desktop env have
you
been using it?

Cheers,
GregZX


I am made vpnc( to connect into VPN ntwork of my workplace) and rdesktop

which were in /usr/ports , Works real fast no frills,  All that I need to
quick response  it does that
I connect to Windows server/Workstations with rdesktop

rdesktop is simple and very functional you will be able to transfer between
rdesktop windows and freebsd session.

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


'rc.d/squid stop'

2007-01-24 Thread applecom

It seems Squid 2.6.6 stops strangely on my FreeBSD 6.2-PRERELEASE box.
Output of '/usr/local/etc/rc.d/squid stop'

Stopping squid.
Waiting for PIDS: 553 564, 553 564, 553 564, 553 564, 553 564, 553 564,  
553 564,
 553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553 564,  
553 564

.

During shutdown proccess initiated by Ctrl+Alt+Del or by ACPI power button  
I see the same.
System says about watch-dog timer after it. Is such squid's stopping  
normal or not?

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


Re: 'rc.d/squid stop'

2007-01-24 Thread applecom
Something strange with server. I didn't send that old message any more!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT] What does this pipe do?

2007-01-24 Thread parv
in message [EMAIL PROTECTED],
wrote Oliver Fromme thusly...

 Just for completeness,  (file) and | (pipe) are also
  ^^
  ^^
 supported by zsh (which is a bourne-shell like sh, ksh or bash).

The | construct (in bash [23]  zsh 4), as I know, is to bypass
no-clobber option (when set of course) when redirecting to a file.
Actually, from zshall(1) ...

  | word
  ! word
Same as , except that the file is truncated to zero  length  if
it exists, even if CLOBBER is unset.
  ...
  | word
  ! word
Same  as  ,  except  that  the  file is created if it does not
exist, even if CLOBBER is unset.


 In fact it's simply a shortcut for 21 (which means to dup
 descriptor 2 [=stderr] to desciptor 1 [=stdout]).


  - Parv

-- 

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


Re: Problem with ipfw flush

2007-01-24 Thread Paul Schmehl
--On January 24, 2007 4:18:12 PM -0500 Dan Mahoney, System Admin 
[EMAIL PROTECTED] wrote:


Well, I'm trying to be compliant with /etc/rc.firewall's expectations
for a rules file, which IS called with ipfw rules.file


Are you aware that you can run /etc/rc.d/ipfw restart?

You'll get locked out of that ssh session, but you can start another one 
immediately.  (Assuming you didn't screw up your rules, of course.)


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Re: Request [Ticket#432244926]

2007-01-24 Thread carookee Support
Hello ,

thank you for contacting carookee.com. We have received your message which is 
case #432244926. You will receive a personal answer as soon as possible.

To speed up the answer time you should add your account name or username with 
which you are registered at carookee.com in every support request. If you want 
to add this information now or include further comments to your support call 
please reply to THIS email (by clicking on the reply button in your e-mail 
software, and do not change the subject).

You will possibly receive no personal answer to your message if you have sent a 
feature request or have informed us about trouble on the platform that is 
currently beeing fixed. In this case, we thank you for your message!

In important cases you can contact or SOS hotline: +49 (0)163 - 873 1001 or via 
e-mail: mailto:[EMAIL PROTECTED]


Best regards
carookee customer care staff

e-mail:   [EMAIL PROTECTED]
hotline:  +49 (0)7732 - 9409311
http://www.carookee.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Gigabyte GA-M55SLI-S4 for FBSD?

2007-01-24 Thread Malcolm Kay
Is anyone using the Gigabyte GA-M55SLI-S4
motherboard with FreeBSD?

Are there known problems?

I am looking for a AMD Athlon X2 5600+ machine,
running FreeBSD 6.x,
with particular emphasis on numeric simulations.

Comments and suggestions would be very welcome!

Thank you,

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


FreeRADIUS failing to build the rlm_eap_tls modules

2007-01-24 Thread joe

Hello, folks!  (Thanks SO much David Wood!  I owe you!)

I already have the solution, as assisted by the port maintainer 
(David).  However, I'm posting to this list to get the solution into the 
archives so that if anyone else runs into this situation, there IS 
something in the archives on it.


Situation:

I had a 5.1-RELEASE server that was upgraded to a 5.3-RELEASE, and then  
to 6.2-RELEASE this past weekend (and also used cvsup to update the 
ports collection).  At that point, I tried installing a new port (not an 
upgrade) of FreeRADIUS 1.1.4.  The port successfully built, and 
started.  But when I tried to configure and use EAP-TLS, I got errors 
about the rlm_eap_tls.so extension not being found.  I rebuilt the port 
by patching the source by hand, and running the configure line from the 
config.log file.  In the process of the ./configure script, there were 
many lines such as :


configure: WARNING: silently not building rlm_eap_peap.
configure: WARNING: FAILURE: rlm_eap_peap requires: OpenSSL.

and

configure: WARNING: silently not building rlm_eap_tls.
configure: WARNING: FAILURE: rlm_eap_tls requires: OpenSSL.

That obviously is going to not compile the extensions that I needed.  As 
per the maintainer's suggestion, I ran a portsnap, which brought the 
port revision to 1.1.4_1 for FreeRADIUS.  This exhibited the same situation.


Solution:

I ended up removing the openssl-0.9.7d package (I don't know if it was 
from the 5.1 or 5.3 systems as a carry over), and installing the 
security/openssl port.  At that point, the FreeRADIUS package built 
perfectly fine.


Notes:

If anyone finds that the rlm_eap_?tls or rlm_eap_peap modules are not 
building, make sure your OpenSSL port is up-to-date!


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


Re: Remote Desktop Connection

2007-01-24 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

FreeBSD WickerBill wrote:
 On 1/24/07, Grzegorz Pluta [EMAIL PROTECTED] wrote:

 Thanks for all the replies guys!
 It was really helpful
 Cheers,
 Greg


 Kevin Kinsey wrote:
  Grzegorz Pluta wrote:
  Hi.
  Id like to asj you guys if you used any remote desktops with freebsd?
  Which
  client/server would you recommend, and why? Witch wich desktop env
  have you
  been using it?
 
  I use Xorg  XFCE4 on my FreeBSD desktop(s).  For remote desktop
  connections:
 
  FreeBSD - FreeBSD: ssh with X11 forwarding (-X or -Y options, see
  manpage).
 
  FreeBSD - Windows: rdesktop (/usr/ports/net/rdesktop).  Works
  beautifully for work.  Can't recall which, but some games don't seem to
  like it.
 
  Windows - FreeBSD:  freeXer and PuTTY with X11 forwarding enabled.
 Kind
  of interesting to have my FreeBSD desktop apps on my wife's lappy at
 the
  breakfast table ;-).  With this setup, Windows actually is the window
  manager --- kinda disconcerting at first glance :-D
 
  Kevin Kinsey

 Overall, as many have suggest on the list there are a number of caveats
 to using different means of connecting.

 Here's a short rundown with all of my comments:

 rdesktop and krdc (KDE rdesktop) work for connecting to Windows NT 5.0+
 servers. Don't have a Windows server that meets that spec? Probably
 won't need rdesktop/krdc then.. Don't install krdc unless you also want
 to install KDE.

 X11 forwarding through ssh is great when you're connections between you
 and the remote machine are relatively fast (fast up on the server, fast
 down on the client). Compression with ssh (-C flag--not available on all
 ssh or ssh2 implementations) is a good idea when using this to connect
 remotely because there's a lot of data that gets piped through an X11
 connection.

 VNC is better for keeping remote sessions active after disconnecting
 from the machine. There are many VNC servers software titles, but you
 will either probably look into tightvnc (creates a new X session per
 instance), or x11vnc (connects to an existing X session on your
 machine). Quality, speed and latency are an issue here as VNC is sort of
 bad at caching tiles on the desktop. Using a lightweight wm or desktop
 is a wise idea though without a desktop picture and sticking to X11 only
 widgets (xclock, xterm, etc) is a good idea as the redraw is better than
 gtk or qt apps or other programs (firefox, thunderbird). Try to wrap the
 connection using portforwarding via SSH if you're logged in from a large
 LAN or over a WAN because everything sent with tightvnc is cleartext, so
 passwords, credit card numbers, etc can be sniffed by a knowledgeable
 individual.

 I'm still amazed that nomachinex hasn't been ported to FreeBSD, but it's
 a complete binary release of a 'hacked' X11 system, so the devs at the
 nomachine group probably haven't gotten around to porting it yet.

 Cheers,
 - -Garrett
 -
 
 
 It's in the ports.
 
 portless nxserver
 This is a port of NoMachine's NX server, which is a way to
 use X connections over slow links without noticeable lag.
 
 WWW: http://www.nomachine.com
 
 I use it daily from a windows client to home computer running PC-BSD (KDE)
 It runs much faster than I could ever get VNC to run. I use rdesktop going
 from FreeBSD to Windows and it works fine too.

WickerBill,
Ah, excellent. Didn't know that.. ports_glob doesn't always turn up the
right answers; a tool should be made in conjunction with portell to
search package descriptions, similar to Gentoo's esearch I think..

Greg,
Give nxserver a shot. It's by far a lot better than VNC and it ties
directly into working X sessions IIRC and is equivalent in speed to
remote desktop on Windows NT (in fact possibly faster from what I've
heard on slower connections). Plus it's secure (built in ssh tie-ins).
They (the devs) have a few test servers up so you can give it a shot and
see how it works.
Cheers,
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFuD/uEnKyINQw/HARAu5RAJ9HGbBYtyAt0t63HP6a4N/nSLaxHACfdXL7
Til8G1jadTGN4YfnMN+NHho=
=nTa8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 'rc.d/squid stop'

2007-01-24 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 Something strange with server. I didn't send that old message any more!

? Something got stuck in a mail queue, perhaps..

As for what's happening with squid--try recompiling it and all of its
dependencies under 6.2. Maybe something changed in some APIs for some
libraries that it's referencing that's causing the process(es) to hang.
Good idea to rebuild ports between versions though.

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFuEDzEnKyINQw/HARAigHAKCfcW0yB7iXO7XAEqPwFpR8RQsYvwCeNAoz
jnFJ+sLEx53CaDJwfKHOnP0=
=P3v2
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.2-RELEASE on Dell Optiplex 210L

2007-01-24 Thread Mike Barnard

hi,

Is everything ok with USB keyboard? Have you the same when plugged it to

other boxes?



i have tried three other keyboards on it, all the keyboards are working
fine...

Does PS/2 keyboard works well?




Dell boxes are not shipping with PS/2 ports, well, not for the optiplex 210L
anyway




--
Mike

--
Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

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


Re: ghostscript

2007-01-24 Thread Matthew Seaman
kalin mintchev wrote:
 kalin mintchev wrote:
 Forget about src. Try updating your ports. Try
 ghostscript-afpl.
 ok...  same crap:

   extracting gs6.0.lexmark7000.patch ...
 ===  Patching for ghostscript-afpl-8.54,1
 ===  Applying FreeBSD patches for ghostscript-afpl-8.54,1
 -e: not found
 *** Error code 127

 Stop in /usr/ports/print/ghostscript-afpl.


 what next?
 What's the result if you type:

make -V REINPLACE_CMD
 
 
 a new line  absolutly nothing.
 
 
 in the Ghostscript port directory?  It should look like this:

 happy-idiot-talk:...ports/print/ghostscript-afpl:% make -V REINPLACE_CMD
 /usr/bin/sed -i.bak

OK.  That's what is causing the problems for you.  The definition of
REINPLACE_CMD should come from /usr/ports/Mk/bsd.port.mk around
lines 2084--2087:

# Macro for doing in-place file editing using regexps
REINPLACE_ARGS?=-i.bak
REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS}

Either you haven't got an up to date copy of the /usr/ports/Mk stuff
or you are somehow overriding REINPLACE_CMD elsewhere, perhaps in
/etc/make.conf.

The current version number of bsd.port.mk is 

$FreeBSD: ports/Mk/bsd.port.mk,v 1.545 2007/01/08 00:00:33 pav Exp $

but REINPLACE_CMD hasn't been modified for quite some time -- you'ld need
a ports tree that was years out of date not to have it.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


lua ports install

2007-01-24 Thread w wg

Hi,all

When I run 'make install'  to install the lua ports, I got the
following error message:
cd: can't cd to src

But the src directory is there, I can cd to it by typing ' cd src' at
the BASH command line.

Then, I download the lua source and try to run 'make bsd', the error is same.

I want to know weather FreeBSD refuse cd command in a Makefile ?

Can anybody explains for me?

Thank you.


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


Re: ghostscript

2007-01-24 Thread kalin mintchev

make -V REINPLACE_CMD


 a new line  absolutly nothing.


 in the Ghostscript port directory?  It should look like this:

 happy-idiot-talk:...ports/print/ghostscript-afpl:% make -V
 REINPLACE_CMD
 /usr/bin/sed -i.bak

 OK.  That's what is causing the problems for you.  The definition of
 REINPLACE_CMD should come from /usr/ports/Mk/bsd.port.mk around
 lines 2084--2087:

 # Macro for doing in-place file editing using regexps
 REINPLACE_ARGS?=  -i.bak
 REINPLACE_CMD?=   ${SED} ${REINPLACE_ARGS}


the bsd i'm trying to compile the gs on is 4.10.

here is what i have in bsd.port.mk

# Special macro for doing in-place file editing using regexps
.if defined(USE_REINPLACE)
REINPLACE_ARGS?=-i.bak
.if ${OSVERSION}  460101 || ( ${OSVERSION} = 50  ${OSVERSION} 
500036 )
PATCH_DEPENDS+= ${LOCALBASE}/bin/sed_inplace:${PORTSDIR}/textproc/sed_inplace
REINPLACE_CMD?= ${LOCALBASE}/bin/sed_inplace ${REINPLACE_ARGS}
.else
REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS}
.endif
.endif


sed_inplace is in th eports and installed it myself but that didnt make
any difference...



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