Multiple DNS

2006-02-18 Thread Robert Slade
Hi,

I am looking for some advice. I have a network which is based on a
number of servers running FreeBsd 6.0 serving Win XP work stations. (yes
I know but..) The network is large enough to use DHCP and DNS for the
internal network, I have setup a DHCP server with a Dynamic DNS (Bind 9)
on one of the servers. That server is handling the LDAP side of the
domain. 

There appears to be a fair bit of DNS Traffic which leads to a secondary
DNS being required to take some of the load as DNS lookup are slow. The
question I have is should I just setup a cashing DNS on another server
using the primary as a forwarder or even several servers eg the mail
server and the secondary LDAP server, or should I setup a proper
secondary DNS using my ISP as a forwarder with dynamic updates from the
primary.

Sorry if this is a bit vague, but I have no experience in this area.

Rob


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


Problems with createing a tap interface.

2006-02-18 Thread Vulpes Velox
#ifconfig tap create
ifconfig: SIOCIFCREATE: Invalid argument

The if_tap module is loaded, but I can't seem to get around this. Any
suggestions?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD installer crash on Epox + HighPoint 372

2006-02-18 Thread Ang Kok Ming
Hi,

I'm trying to set up FreeBSD on an Epox 845 chipset motherboard, P4 1.3 with
a builtin HighPoint 372 RAID controller. The boot process would fail and it
would go into a boot-splashscreen-reboot cycle. Several BSD versions were
tried but to no avail.

I've also tried the HighPoint FreeBSD drivers for the 5.4 release, and after
loading the driver and typing 'boot', it would 'silently' crash and reboot.

Windows installation can go through on the system w/o RAID drivers without a
glitch, but not FreeBSD or Linux. I need to run a *nix box without any RAID.
The installation is to be done on a unpartitioned disk.

Does anybody has any info on resolving such a problem. Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linksys EG1032 -- couldn't map ports/memory

2006-02-18 Thread Benjamin Lutz
> So from what I gather,  "rev=0x10" indicates the use of the realteak
> chipset and the 6.0 release kernel does not recognize this variant and
> must be patched to load the correct driver "re".
>
> I have not manually done source patches and am kind of adverse to
> using blind patches from mailing lists. Is the only other solution to
> update to current?

FreeBSD 6.1 will have support for these cards as well. If you don't want to 
wait, you can cvsup with tag=RELENG_6, which should give you 
FreeBSD-6.1-PRERELEASE or something like that.

Cheers
Benjamin

PS: Please don't top post.


pgpaZgKAlFLet.pgp
Description: PGP signature


Re: Issues with new soundcard

2006-02-18 Thread David LeCount
> Check your line-out jumpers. Most new motherboards
> come with the option of 
> front panel sound, in which case the sound loops
> through the front panel 
> connector. If you're not using front panel sound you
> probably need jumpers on 
> the motherboard. Your manual should tell you about
> this. I ran into a similar 
> problem with another motherboard a few weeks ago.

The motherboard already has jumpers on the pins
specified in the manual. That was a good idea that
hadn't occured to me though.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Issues with new soundcard

2006-02-18 Thread Beech Rintoul
On Saturday 18 February 2006 17:40, David LeCount wrote:
> I just got a new motherboard (Tyan S2895) with a
> soundcard built in. I really don't have any choice at
> the time but to use that soundcard since there isn't a
> free PCI slot for my old one. The card is detected by
> the module snd_ich and I can play music and adjust the
> mixer with no errors, but there is simply no volume
> whatsoever. I've checked to make sure my sound system
> was connected properly and that both the main and pcm
> volumes were turned up. The card is enabled in the
> CMOS. I've ran out of ideas. I'm running FreeBSD 6
> stable updated just today. Here's the output from cat
> /dev/sndstat.
>
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0:  at io 0x1800, 0x1400 irq 22
> bufsz 16384 kld snd_ich (1p/1r/4v channels duplex
> default)

Check your line-out jumpers. Most new motherboards come with the option of 
front panel sound, in which case the sound loops through the front panel 
connector. If you're not using front panel sound you probably need jumpers on 
the motherboard. Your manual should tell you about this. I ran into a similar 
problem with another motherboard a few weeks ago.

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpiL5VAtXr5x.pgp
Description: PGP signature


Re: Linksys EG1032 -- couldn't map ports/memory

2006-02-18 Thread Brent Hostetler
So from what I gather,  "rev=0x10" indicates the use of the realteak
chipset and the 6.0 release kernel does not recognize this variant and
must be patched to load the correct driver "re".

I have not manually done source patches and am kind of adverse to
using blind patches from mailing lists. Is the only other solution to
update to current?

thanks.
Brent

On 2/18/06, Benjamin Lutz <[EMAIL PROTECTED]> wrote:
> On Saturday 18 February 2006 21:11, Brent Hostetler wrote:
> > Hello,
> > I am trying to get a linksys EG1032 working with freebsd 6.0. The
> > driver appears to not be loading properly giving error that it could
> > not map ports/memory and attach returned 6. Not sure what is wrong, or
> > what needs to be done to fix.
>
> I've had the same issue a few months ago. This will probably help you:
> http://marc.theaimsgroup.com/?l=freebsd-current&m=112851499907268&w=2
>
> Cheers
> Benjamin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Issues with new soundcard

2006-02-18 Thread David LeCount
I just got a new motherboard (Tyan S2895) with a
soundcard built in. I really don't have any choice at
the time but to use that soundcard since there isn't a
free PCI slot for my old one. The card is detected by
the module snd_ich and I can play music and adjust the
mixer with no errors, but there is simply no volume
whatsoever. I've checked to make sure my sound system
was connected properly and that both the main and pcm
volumes were turned up. The card is enabled in the
CMOS. I've ran out of ideas. I'm running FreeBSD 6
stable updated just today. Here's the output from cat
/dev/sndstat.

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0x1800, 0x1400 irq 22
bufsz 16384 kld snd_ich (1p/1r/4v channels duplex
default)

I appreciate any help.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Bluetooth - obexapp - get/put files with spaces in names

2006-02-18 Thread dgmm
After some fiddling and hair pulling I eventually got my bluetooth adapter to 
"see" the mobile phone.

I'd like to pull some files from it but either I'm not seeing the obvious or 
it just ain't obvious.

Does anyone know how to change to a directory which has spaces in the name or 
"get" a file which has spaces in the name?


/home/dave %obexapp -c -f -a 00:15:b9:0e:ef:1d -C FTRN
obex> ls
AccessOwnerGroupSize   Modified Name
  n/a  n/a  n/an/a  Photos/
  n/a  n/a  n/an/a  DownLoaded Images/
  n/a  n/a  n/an/a  Favorite Images/
  n/a  n/a  n/an/a  Video clips/
  n/a  n/a  n/an/a  DownLoaded Videos/
  n/a  n/a  n/an/a  Favorite Videos/
  n/a  n/a  n/an/a  Music/
  n/a  n/a  n/an/a  Voice list/
  n/a  n/a  n/an/a  Downloaded Sounds/
  n/a  n/a  n/an/a  Favorite Sounds/
  n/a  n/a  n/an/a  Other Files/
Success, response: OK, Success (0x20)
obex> cd Video clips
Failure, response: Not found (0x44)
obex> cd "Video clips"
Failure, response: Not found (0x44)
obex> cd "Video clips/"
Failure, response: Not found (0x44)
obex> cd Video clips/
Failure, response: Not found (0x44)
obex> cd Video\ clips
Failure, response: Not found (0x44)
obex> cd 'Video clips'
Failure, response: Not found (0x44)
obex>


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


Re: getline function

2006-02-18 Thread Giorgos Keramidas
On 2006-02-18 12:54, Tom Grove <[EMAIL PROTECTED]> wrote:
>Chuck Swiger wrote:
>>Tom Grove wrote:
>>>Mike Jeays wrote:
>>> That works and I had looked into that earlier...it seems like
>>> it does a lot more than just one function from the man page.
>>> I guess I can use that for now but I wonder why getline() is
>>> broken in gcc on FreeBSD?
>>
>> getline() is not part of the standard C library.
>> What makes you think gcc is broken...?
>
> Yeah...I see that after some more research.  So, now I guess my
> question is being that it's not standard and gets() is not safe
> to use what should I use to grab lines?  My gut tells me to
> copy the getline() function from the K&R book but I'm not
> totally sure that's a great idea either.  Stupid strings always
> causing problems!

This is a frequently recurring question in comp.lang.c.  There
are perfectly portable ways to use only ANSI C functions to read
a full line of text, allocating dynamically as much memory as
needed.

For example, a search in the archives of the newsgroup will
provide easily pointers to safe ways to use fgets() to read a line.

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


Re: getline function

2006-02-18 Thread Giorgos Keramidas
On 2006-02-18 15:33, Tom Grove <[EMAIL PROTECTED]> wrote:
>Chuck Swiger wrote:
>>Tom Grove wrote:
>>>Chuck Swiger wrote:
>>[ ... ]
 getline() is not part of the standard C library.
 What makes you think gcc is broken...?
>>>
>>> Yeah...I see that after some more research.  So, now I guess my question
>>> is being that it's not standard and gets() is not safe to use what
>>> should I use to grab lines?  My gut tells me to copy the getline()
>>> function from the K&R book but I'm not totally sure that's a great idea
>>> either.  Stupid strings always causing problems!
>>>
>>
>> Depending on what you'd like to do, GNU readline may be a fine
>> solution to your situation.  Otherwise, getch(stdin) with a bit of
>> code to "cook" DEL/BS/CR/NL, or just use the getline port as you've
>> already done.  :-)
>
> Okay...I think I'm either an idiot or going slowly insane.  I'll admit
> I'm not the most savvy C programmer but the following code gives me an
> error:
>
> ## Source File##
> #include 
> #include 
> #include 
>
> int main() {
>char *line;
>
>line = readline("Test: ");
>
>return 0;
> }
> ##Source File##
>
> ##Error##
> /var/tmp//ccqxIZxQ.o(.text+0x25): In function `main':
> : undefined reference to `readline'
> ##Error##

You're missing an ``-lreadline'' option at the end of your build command.

You may be interested to know that the BSDs have editline(3) too, a
command-line editing library that supports at least `some' of the GNU
readline features, but is BSD-licensed:

% man editline

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


Linksys EG1032 -- couldn't map ports/memory; skc0 attach returned 6

2006-02-18 Thread Robert Huff

Brent Hostetler writes:

>  I am trying to get a linksys EG1032 working with freebsd 6.0. The
>  driver appears to not be loading properly giving error that it
>  could not map ports/memory and attach returned 6. Not sure what
>  is wrong, or what needs to be done to fix.
>  
>  Please advise,

If it is a recent model 1032, then "skc" is the wrong driver.
Try "re" instead; you may want, or need, to put 

if_re_load="YES

in "/boot/loader.conf".


Robert "been there, done that" Huff

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


Linksys EG1032 -- couldn't map ports/memory; skc0 attach returned 6

2006-02-18 Thread Brent Hostetler
Hello,
I am trying to get a linksys EG1032 working with freebsd 6.0. The
driver appears to not be loading properly giving error that it could
not map ports/memory and attach returned 6. Not sure what is wrong, or
what needs to be done to fix.

Please advise,

Brent

Relevant data:

# uname -a

FreeBSD files 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Sun Jan 29
05:17:11 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

# pciconf -v -l | grep -A 3 -B 3 Linksys

vendor   = 'Promise Technology Inc'
class= mass storage
[EMAIL PROTECTED]:12:0: class=0x02 card=0x00241737 chip=0x10321737 rev=0x10 
hdr=0x00
vendor   = 'Linksys'
device   = 'EG1032 Gigabit Ethernet'
class= network
subclass = ethernet

# dmesg | grep sk
skc0:  port 0xb000-0xb0ff mem
0xeb0a5000-0xeb0a50ff irq 16 at device 12.0 on pci1
sk0: couldn't map ports/memory
device_attach: skc0 attach returned 6


# dmesg

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE-p4 #0: Sun Jan 29 05:17:11 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
module_register: module pci/nge already exists!
Module pci/nge failed to register: 17
module_register: module nge/miibus already exists!
Module nge/miibus failed to register: 17
mptable_probe: MP Config Table has bad signature: 4 C
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Unknown CPU Type (1603.64-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
  
Features=0x383fbff
  AMD Features=0xc0400800
real memory  = 268369920 (255 MB)
avail memory = 253128704 (241 MB)
ioapic0  irqs 0-23 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 10 on acpi0
pci_link1:  irq 11 on acpi0
pci_link2:  irq 11 on acpi0
pci_link3:  irq 12 on acpi0
pci_link4:  on acpi0
pci_link5:  irq 5 on acpi0
pci_link6:  on acpi0
pci_link7:  on acpi0
pci_link8:  irq 12 on acpi0
pci_link9:  irq 10 on acpi0
pci_link10:  on acpi0
pci_link11:  on acpi0
pci_link12:  irq 11 on acpi0
pci_link13:  irq 5 on acpi0
pci_link14:  irq 5 on acpi0
pci_link15:  on acpi0
pci_link16:  irq 16 on acpi0
pci_link17:  irq 17 on acpi0
pci_link18:  irq 18 on acpi0
pci_link19:  irq 19 on acpi0
pci_link20:  irq 16 on acpi0
pci_link21:  irq 0 on acpi0
pci_link22:  irq 0 on acpi0
pci_link23:  irq 0 on acpi0
pci_link24:  irq 0 on acpi0
pci_link25:  irq 0 on acpi0
pci_link26:  irq 0 on acpi0
pci_link27:  irq 23 on acpi0
pci_link28:  irq 0 on acpi0
pci_link29:  irq 0 on acpi0
pci_link30:  irq 0 on acpi0
pci_link31:  irq 0 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xe800-0xe9ff at
device 0.0 on pci0
pci0:  at device 0.1 (no driver attached)
pci0:  at device 0.2 (no driver attached)
pci0:  at device 0.3 (no driver attached)
pci0:  at device 0.4 (no driver attached)
pci0:  at device 0.5 (no driver attached)
isab0:  at device 1.0 on pci0
isa0:  on isab0
pci0:  at device 1.1 (no driver attached)
ohci0:  mem 0xee08-0xee080fff irq
20 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1:  mem 0xee083000-0xee083fff at
device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1:  on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0:  mem 0xee084000-0xee0840ff
irq 21 at device 2.2 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
pci0:  at device 5.0 (no driver attached)
pci0:  at device 6.0 (no driver attached)
pcib1:  at device 8.0 on pci0
pci_link17: BIOS IRQ 21 for 0.13.INTA is invalid
pci1:  on pcib1
atapci0:  port
0x8000-0x8007,0x8400-0x8403,0x8800-0x8807,0x8c00-0x8c03,0x9000-0x900f
mem 0xeb0a-0xeb0a3fff irq 16 at device 8.0 on pci1
ata2:  on atapci0
ata3:  on atapci0
pci1:  at device 9.0 (no driver attached)
atapci1:  port
0x9400-0x9407,0x9800-0x9803,0x9c00-0x9c07,0xa000-0xa003,0xa400-0xa40f
irq 18 at device 10.0 on pci1
ata4:  on atapci1
ata5:  on atapci1
atapci2:  port
0xa800-0xa87f,0xac00-0xacff mem
0xeb0a4000-0xeb0a4fff,0xeb08-0xeb09 irq 19 at device 11.0 on
pci1
ata6:  on atapci2
ata7:  on atapci2
ata8:  on atapci2
ata9:  on atapci2
skc0:  port

wdm

2006-02-18 Thread RYAN M. vAN GINNEKEN
Anyone been able to get wdm working with flux box and gnome?  I seem to be able 
to login to kde and wmaker but that is all.  I have the options in the session 
menu but when i choose fluxbox or gnome either nothing happens or i get wmaker. 
 I followed the instructions here.  

http://fluxbox-wiki.org/index.php/Howto_add_fluxbox_to_wdm

here is some of my /usr/X11R6/lib/X11/wdm/Xclients

 
fluxbox*|FluxBox)
# startup fluxbox
FLUXBOX_PATH=/usr/X11r6/bin/fluxbox
if ! test -x $FLUXBOX_PATH ; then
FindInPath $FLUXBOX_PATH
if test -n "$result" -a -x "$result"; then
$FLUXBOX_PATH="$result";
fi
fi
if [ -x $FLUXBOX_PATH ] ; then
echo Starting FluxBox >$HOME/.xwm.msgs
exec $FLUXBOX_PATH >>$HOME/.xwm.msgs 2>&1
fi
;;

 gnome*|GNome)
# startup gnome
GNOME_PATH=/usr/X11R6/bin/gnome-wm
if ! test -x $GNOME_PATH ; then
FindInPath $GNOME_PATH
if test -n "$result" -a -x "$result"; then
$GNOME_PATH="$result";
fi
fi
if [ -x $GNOME_PATH ] ; then
echo Starting GNome >$HOME/.xwm.msgs
exec $GNOME_PATH >>$HOME/.xwm.msgs 2>&1
fi
;;

icewm*|IceWm)
# startup icewm
ICEWM_PATH=icewm
if ! test -x $ICEWM_PATH ; then
FindInPath $ICEWM_PATH
if test -n "$result" -a -x "$result"; then




here is the line from wdm-config


DisplayManager*wdmWm:   wmaker:enlightenment:gnome:kde:fluxbox


please help

-- 
Computer King/CaNMail

http://www.computerking.ca http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S. Barton 

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


RE: certificates

2006-02-18 Thread fbsd_user
Check the questions archives.
There was a post from a east coast college (NJ) that has a internet
education program for FreeBSD certificate.
The director posted some facts about his program.

That's all I can remember of it.

The http://www.bsdcertification.org/ just completed incorporating in
Oct 2005.
The don't have a certificate program yet. They are just looking for
donations to fund the development of the their certificate program.
Maybe in 5 years they may have something.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Per olof
Ljungmark
Sent: Saturday, February 18, 2006 5:27 PM
To: vitor
Cc: [EMAIL PROTECTED]
Subject: Re: certificates


vitor wrote:
> it would like to know if emits certification for a professional
FreeBSD or
> if vocês they homologate entities for emission of certificates?
>
perhaps
http://www.bsdcertification.org/
is what you are looking for?
___
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]"


reg a process's ruid and euid

2006-02-18 Thread divyesh shah
I have a system call which should kill all processes
for a given uid. Now, I am confused about which uid to
use(real or effecctive) of the processes when killing
them.
Example scenario:
userids A, B, C
A is super-user(root) so using my system call he can
kill  processes of any other user.
Also, user C is running a process with ruid C but euid
B(giving him possibly higher privilege). 
Now if A calls my system call asking to kill all
processes of uid B, should my system call also kill
the process started by C but running as B.

Thanks,
Divyesh Shah.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: certificates

2006-02-18 Thread Per olof Ljungmark

vitor wrote:

it would like to know if emits certification for a professional FreeBSD or
if vocês they homologate entities for emission of certificates?


perhaps
http://www.bsdcertification.org/
is what you are looking for?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


certificates

2006-02-18 Thread vitor
it would like to know if emits certification for a professional FreeBSD or
if vocês they homologate entities for emission of certificates?

--
vitor
www.insoniaprodutiva.com

"quando a última árvore tiver caído,
...quando o último rio tiver secado,
...quando o último peixe for pescado,
...vocês vão entender que dinheiro não se come."
SAVE GAYA (greenpeace)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linksys EG1032 -- couldn't map ports/memory

2006-02-18 Thread Benjamin Lutz
On Saturday 18 February 2006 21:11, Brent Hostetler wrote:
> Hello,
> I am trying to get a linksys EG1032 working with freebsd 6.0. The
> driver appears to not be loading properly giving error that it could
> not map ports/memory and attach returned 6. Not sure what is wrong, or
> what needs to be done to fix.

I've had the same issue a few months ago. This will probably help you:
http://marc.theaimsgroup.com/?l=freebsd-current&m=112851499907268&w=2

Cheers
Benjamin



pgpOnadgPnAvZ.pgp
Description: PGP signature


Re: Removing BOM from UTF-8

2006-02-18 Thread Gerard Seibert
Benjamin A'Lee wrote:

> It shouldn't be writing any new files; it prints the filtered text to
> stdout.
> 
> Ben

OK, then that is the problem. I need it to actually write the file. It
could either rename the old file and then rewrite it which would be nice,
or just over write the old file. The BOM is just the first three
characters in the file. I am assuming that it would not be removing
anything else in the file.

-- 
Gerard Seibert
[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: Removing BOM from UTF-8

2006-02-18 Thread Andrew Pantyukhin
I use this to add BOM:
http://search.cpan.org/~lyokato/UTF8BOM-1.01/lib/UTF8BOM.pm

You shouldn't be so fixed on eliminating BOMs, it's
quite a nice concept. It causes less trouble than you
think.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: question on NAT for multiple subnets

2006-02-18 Thread Rob Connon (Info)
Look at PF if your running FreeBSD 5/6. - You can do this easily and 
it's well documented.
IMO it's alot more functional and usable over ipfw and definetly better 
documentation.


http://www.openbsd.org/faq/pf/index.html - *most* of the features in the 
OpenBSD faq cover the freebsd port.




Greg Barniskis wrote:


Ted Mittelstaedt wrote:


I've never done it but I think you can run multiple nat instances
and multiple divert sockets, you will have to specify them in the
config file to natd, though.  



Excellent. That's what I was hoping for. So instead of one "divert 
natd" rule in ipfw, I simply need "divert N", "divert N+1", "divert 
N+2", etc. where N is a port number where I bound my first natd, N+1 
the next natd instance, etc. I think I can manage that.



If it were me, though, I would try to
setup multiple FreeBSD boxes, not only does that give you some
redundancy, but it makes troubleshooting a lot easier.



Thanks, but we're talking about a need for somewhere between 54 and 
216 distinct NAT<->subnet instances, maybe more. I really need a 
solution for one host, two NICs, that compares favorably to providing 
this functionality with a PIX.




Ted


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Greg Barniskis
Sent: Friday, February 17, 2006 8:43 AM
To: freebsd-questions
Subject: question on NAT for multiple subnets


I'm sure I could figure this out from scrutinizing Google, the 
FreeBSD documentation, and testing in a lab, but I'm particularly 
pressed for time on finding the right answer to this.


For a long time we've been quite happy coalescing all private IP 
client requests onto a single public IP address through NAT. 
Management now wants more granularity, at least one unique public IP 
per private subnet.


Can I set up a single ipfw box that examines client source ip addrs 
and provides different public NAT addrs for each private client subnet?


Any pointers to the best way to think about this issue much 
appreciated. If the answer is ipfw doesn't handle this, but some 
other fw does, fine, I just need to know which. Thanks!



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.10/263 - Release Date: 
2/16/2006












smime.p7s
Description: S/MIME Cryptographic Signature


Re: fresh install, portupgrade fails on xterm

2006-02-18 Thread Kent Stewart
On Saturday 18 February 2006 12:08, Xn Nooby wrote:
> its depressing when a fresh install fails
>
> i followed my normal fail-proof slow method of updating a fresh
> install, and it fails to update xterm, some of the messages are:
>
> ==> xterm-206_1 conflicts with  installed packages:
>xorg-clients-6.8.2
> *** Error code 1
>
> 
>
> ** Listing the failed packages
>   ! x11/xterm (xterm-203) (install error)
>* x11/xorg-clients (xorg-clients-6.8.2)
>
>
> I'm trying to install FreeBSD 6.1.  I hadnt even gotten to
> configuring with X, so I was surprised there was a problem there. 
> the command tat generated the error was:
>
>portpgrade -arR
>
>
> I'm guessing other people will also be getting this error soon.


Maybe they read /usr/ports/UPDATING where 

20051113:
  AFFECTS: users of x11/xterm, x11/xorg-clients, x11/XFree86-4-clients
  AUTHOR: [EMAIL PROTECTED]

  Xterm no longer installs with '-static' prefix. Users should upgrade
  XFree86-clients to 4.5.0_1 or xorg-clients to 6.8.2_1 or newer before
  attempting upgrade of xterm to 206_1 or newer. Previous versions 
remove
  xterm on deinstall so CONFLICTS have been set accordingly.

It worked for me back in November :).

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ "I am Andean project".
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Removing BOM from UTF-8

2006-02-18 Thread Benjamin A'Lee
On Sat, 2006-02-18 at 16:14 -0500, Gerard Seibert wrote:
> As I continue to play with this, it has become apparent that the new
> file is not being written, or at least I cannot locate it. Since I do
> not know perl, I have no idea where to look for answers.

It shouldn't be writing any new files; it prints the filtered text to
stdout.

Ben

-- 
Termisoc Tech Officer: 
My Homepage: 
"People demand freedom of speech as compensation for the freedom of
thought which they have but seldom use." -- Søren Kierkegaard 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Removing BOM from UTF-8

2006-02-18 Thread Gerard Seibert
Gerard Seibert wrote:

> enjamin A'Lee wrote:
> 
> > From:
> > "Benjamin A'Lee" <[EMAIL PROTECTED]>
> >   To:
> > freebsd-questions@freebsd.org
> >   Date:
> > Today 03:29:34 pm
> >    
> >
> > On Sat, 2006-02-18 at 14:34 -0500, Gerard Seibert wrote:
> > > Maybe I am doing something wrong, but it does not appear to be
> > > working correctly. I named the file nobom.sh and put it in the same
> > > directory as the files I want to convert. I also set the program
> > > permission to 0755.
> > >
> > > typing the p[program name does nothing; I have to precede it with
> > > 'perl'. Even then, it does not appear to work correctly. In the
> > > following example, the file is parsed, but not converted.
> >
> > Sorry; try changing the first line to #!/usr/local/bin/perl
> >
> > > perl nobom.sh testfile
> > >
> > > Am I doing something incorrectly here?
> >
> > Try:
> >
> > cat testfile | nobom.sh
> >
> > Though the way you describe appears to work here:
> >
> > $ cat bom-testfile | hd
> >   ef bb bf 23 20 42 4f 4d  20 74 65 73 74 20 66 69  |...# BOM
> > test fi| 0010  6c 65 0a                                        
> >  |le.| 0013
> > $ bomkill.pl bom-testfile | hd
> >   23 20 42 4f 4d 20 74 65  73 74 20 66 69 6c 65 0a  |# BOM
> > test file.| 0010
> >
> >
> >     Ben
> 
> Something appears to be wrong here. First, the file will not run unless 
> I precede it with 'perl'. I have another perl script in the same 
> directory that runs just fine without any special prefixes. Also, the 
> script does not seem to remove the BOM entity.
> 
> This is the script as I have it entered:
> 
> #!/usr/local/bin/perl
> use warnings;
> use diagnostics -verbose;
> @file=<>;
> $file[0] =~ s/^\xEF\xBB\xBF//;
> print(@file);
> 
> I have the file permissions set to 0755. Is there anything else that 
> could be causing this to fail?
> 
> This is the first line of the file I am attempting to fix (well one of 
> them).
> 
> Subject:
> 
> That is what appears when I use pico to view the file.
> 
As I continue to play with this, it has become apparent that the new
file is not being written, or at least I cannot locate it. Since I do
not know perl, I have no idea where to look for answers.

-- 
Gerard Seibert
[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: getline function

2006-02-18 Thread Mike Jeays
On Sat, 2006-02-18 at 15:33 -0500, Tom Grove wrote:
> #include 
> #include 
> #include 
> 
> int main() {
> char *line;
> 
> line = readline("Test: ");
> 
> return 0;
> } 

It compiles and works with "gcc -o readline readline.c -l readline". You
need to tell the loader about the library.
-- 
Mike Jeays
http://ca.geocities.com/[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: getline function

2006-02-18 Thread Mike Jeays
On Sat, 2006-02-18 at 13:00 -0500, Tom Grove wrote:
> Mike Jeays wrote:
> > On Fri, 2006-02-17 at 21:54 -0500, Tom Grove wrote:
> >   
> >> Is there anyone who can compile a program using the getline() function?  
> >> Here is a really simple program to recreate the following error:
> >>
> >> ##Error##
> >> /var/tmp//ccvYIi4C.o(.text+0x26): In function `main':
> >> : undefined reference to `getline'
> >> ##Error##
> >>
> >> ##Source File##
> >> #include 
> >>
> >> int main() {
> >> char line[10];
> >>
> >> getline(&line, 10);
> >> printf("%s", line);
> >>
> >> return 0;
> >> }
> >> ## Source File##
> >>
> >> -Tom
> >> ___
> >> freebsd-questions@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >> 
> >
> > I got a bit further by installing the port for getline
> > (/usr/ports/devel/libgetline), and changed the code slightly to provide
> > a single parameter. (Look at man getline)
> >
> > #include 
> > #include 
> >
> > int main() {
> > char line[10]="test";
> >
> > getline(line);
> > printf("%s", line);
> >
> > return 0;
> > }
> >
> > chaucer 29 ~/c $ cc -o getline -I/usr/local/include -L/usr/local/lib
> > getline.c -lgetline
> > chaucer 30 ~/c $ getline
> > testnow
> > testchaucer 31 ~/c $
> I also noticed that this code actually doesn't work...I'm not sure why 
> either but it doesn't output what gets typed.  Notice that the 'now' 
> that gets typed isn't echoed below.
> 
> -Tom
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Yes - that's why I said I "got a bit further", not that I had made it
work.  I have never tried to use it before, and would have to experiment
more.

-- 

Mike Jeays
http://ca.geocities.com/[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: getline function

2006-02-18 Thread James Bailie

Tom Grove wrote:

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

You forgot to pass -lreadline to the compiler.

--
James Bailie <[EMAIL PROTECTED]>
http://www.jamesbailie.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Removing BOM from UTF-8

2006-02-18 Thread Gerard Seibert
enjamin A'Lee wrote:

> From:
> "Benjamin A'Lee" <[EMAIL PROTECTED]>
>   To:
> freebsd-questions@freebsd.org
>   Date:
> Today 03:29:34 pm
>    
>
> On Sat, 2006-02-18 at 14:34 -0500, Gerard Seibert wrote:
> > Maybe I am doing something wrong, but it does not appear to be
> > working correctly. I named the file nobom.sh and put it in the same
> > directory as the files I want to convert. I also set the program
> > permission to 0755.
> >
> > typing the p[program name does nothing; I have to precede it with
> > 'perl'. Even then, it does not appear to work correctly. In the
> > following example, the file is parsed, but not converted.
>
> Sorry; try changing the first line to #!/usr/local/bin/perl
>
> > perl nobom.sh testfile
> >
> > Am I doing something incorrectly here?
>
> Try:
>
> cat testfile | nobom.sh
>
> Though the way you describe appears to work here:
>
> $ cat bom-testfile | hd
>   ef bb bf 23 20 42 4f 4d  20 74 65 73 74 20 66 69  |...# BOM
> test fi| 0010  6c 65 0a                                        
>  |le.| 0013
> $ bomkill.pl bom-testfile | hd
>   23 20 42 4f 4d 20 74 65  73 74 20 66 69 6c 65 0a  |# BOM
> test file.| 0010
>
>
>     Ben

Something appears to be wrong here. First, the file will not run unless 
I precede it with 'perl'. I have another perl script in the same 
directory that runs just fine without any special prefixes. Also, the 
script does not seem to remove the BOM entity.

This is the script as I have it entered:

#!/usr/local/bin/perl
use warnings;
use diagnostics -verbose;
@file=<>;
$file[0] =~ s/^\xEF\xBB\xBF//;
print(@file);

I have the file permissions set to 0755. Is there anything else that 
could be causing this to fail?

This is the first line of the file I am attempting to fix (well one of 
them).

Subject:

That is what appears when I use pico to view the file.

-- 
Gerard Seibert
[EMAIL PROTECTED]

PGP: http://www.seibercom.net/sig/gerard.asc


pgpZJtpuCSTLF.pgp
Description: PGP signature


Linksys EG1032 -- couldn't map ports/memory

2006-02-18 Thread Brent Hostetler
Hello,
I am trying to get a linksys EG1032 working with freebsd 6.0. The
driver appears to not be loading properly giving error that it could
not map ports/memory and attach returned 6. Not sure what is wrong, or
what needs to be done to fix.

Please advise,

Brent

Relevant data:

# uname -a

FreeBSD files 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Sun Jan 29
05:17:11 PST 2006   =20
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

# pciconf -v -l | grep -A 3 -B 3 Linksys

vendor   =3D 'Promise Technology Inc'
class=3D mass storage
[EMAIL PROTECTED]:12:0: class=3D0x02 card=3D0x00241737 chip=3D0x10321737 
rev=3D=
0x10 hdr=3D0x00
vendor   =3D 'Linksys'
device   =3D 'EG1032 Gigabit Ethernet'
class=3D network
subclass =3D ethernet

# dmesg | grep sk
skc0:  port 0xb000-0xb0ff mem
0xeb0a5000-0xeb0a50ff irq 16 at device 12.0 on pci1
sk0: couldn't map ports/memory
device_attach: skc0 attach returned 6


# dmesg

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE-p4 #0: Sun Jan 29 05:17:11 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
module_register: module pci/nge already exists!
Module pci/nge failed to register: 17
module_register: module nge/miibus already exists!
Module nge/miibus failed to register: 17
mptable_probe: MP Config Table has bad signature: 4 C
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Unknown CPU Type (1603.64-MHz 686-class CPU)
  Origin =3D "AuthenticAMD"  Id =3D 0x681  Stepping =3D 1
  Features=3D0x383fbff
  AMD Features=3D0xc0400800
real memory  =3D 268369920 (255 MB)
avail memory =3D 253128704 (241 MB)
ioapic0  irqs 0-23 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 10 on acpi0
pci_link1:  irq 11 on acpi0
pci_link2:  irq 11 on acpi0
pci_link3:  irq 12 on acpi0
pci_link4:  on acpi0
pci_link5:  irq 5 on acpi0
pci_link6:  on acpi0
pci_link7:  on acpi0
pci_link8:  irq 12 on acpi0
pci_link9:  irq 10 on acpi0
pci_link10:  on acpi0
pci_link11:  on acpi0
pci_link12:  irq 11 on acpi0
pci_link13:  irq 5 on acpi0
pci_link14:  irq 5 on acpi0
pci_link15:  on acpi0
pci_link16:  irq 16 on acpi0
pci_link17:  irq 17 on acpi0
pci_link18:  irq 18 on acpi0
pci_link19:  irq 19 on acpi0
pci_link20:  irq 16 on acpi0
pci_link21:  irq 0 on acpi0
pci_link22:  irq 0 on acpi0
pci_link23:  irq 0 on acpi0
pci_link24:  irq 0 on acpi0
pci_link25:  irq 0 on acpi0
pci_link26:  irq 0 on acpi0
pci_link27:  irq 23 on acpi0
pci_link28:  irq 0 on acpi0
pci_link29:  irq 0 on acpi0
pci_link30:  irq 0 on acpi0
pci_link31:  irq 0 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xe800-0xe9ff at
device 0.0 on pci0
pci0:  at device 0.1 (no driver attached)
pci0:  at device 0.2 (no driver attached)
pci0:  at device 0.3 (no driver attached)
pci0:  at device 0.4 (no driver attached)
pci0:  at device 0.5 (no driver attached)
isab0:  at device 1.0 on pci0
isa0:  on isab0
pci0:  at device 1.1 (no driver attached)
ohci0:  mem 0xee08-0xee080fff irq
20 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1:  mem 0xee083000-0xee083fff at
device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1:  on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0:  mem 0xee084000-0xee0840ff
irq 21 at device 2.2 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
pci0:  at device 5.0 (no driver attached)
pci0:  at device 6.0 (no driver attached)
pcib1:  at device 8.0 on pci0
pci_link17: BIOS IRQ 21 for 0.13.INTA is invalid
pci1:  on pcib1
atapci0:  port
0x8000-0x8007,0x8400-0x8403,0x8800-0x8807,0x8c00-0x8c03,0x9000-0x900f
mem 0xeb0a-0xeb0a3fff irq 16 at device 8.0 on pci1
ata2:  on atapci0
ata3:  on atapci0
pci1:  at device 9.0 (no driver attached)
atapci1:  port
0x9400-0x9407,0x9800-0x9803,0x9c00-0x9c07,0xa000-0xa003,0xa400-0xa40f
irq 18 at device 10.0 on pci1
ata4:  on atapci1
ata5:  on atapci1
atapci2:  port
0xa800-0xa87f,0xac00-0xacff mem
0xeb0a4000-0xeb0a4fff,0xeb08-0xeb09 irq 19 at device 11.0 on
pci1
ata6:  on atapci2
ata7:  on atapci2
ata8:  o

Re: getline function

2006-02-18 Thread Tom Grove

Chuck Swiger wrote:

Tom Grove wrote:
  

Chuck Swiger wrote:


[ ... ]
  

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

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



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

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


## Source File##
#include 
#include 
#include 

int main() {
   char *line;

   line = readline("Test: ");

   return 0;
}
##Source File##

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

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


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


Re: Removing BOM from UTF-8

2006-02-18 Thread Benjamin A'Lee
On Sat, 2006-02-18 at 14:34 -0500, Gerard Seibert wrote:
> Maybe I am doing something wrong, but it does not appear to be working 
> correctly. I named the file nobom.sh and put it in the same directory 
> as the files I want to convert. I also set the program permission to 
> 0755.
> 
> typing the p[program name does nothing; I have to precede it with 
> 'perl'. Even then, it does not appear to work correctly. In the 
> following example, the file is parsed, but not converted.

Sorry; try changing the first line to #!/usr/local/bin/perl

> perl nobom.sh testfile
> 
> Am I doing something incorrectly here?

Try:

cat testfile | nobom.sh

Though the way you describe appears to work here:

$ cat bom-testfile | hd
  ef bb bf 23 20 42 4f 4d  20 74 65 73 74 20 66 69  |...# BOM test fi|
0010  6c 65 0a  |le.|
0013
$ bomkill.pl bom-testfile | hd
  23 20 42 4f 4d 20 74 65  73 74 20 66 69 6c 65 0a  |# BOM test file.|
0010


Ben

-- 
Termisoc Tech Officer: 
My Homepage: 
"People demand freedom of speech as compensation for the freedom of
thought which they have but seldom use." -- Søren Kierkegaard 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


fresh install, portupgrade fails on xterm

2006-02-18 Thread Xn Nooby
its depressing when a fresh install fails

i followed my normal fail-proof slow method of updating a fresh install, and
it fails to update xterm, some of the messages are:

==> xterm-206_1 conflicts with  installed packages:
   xorg-clients-6.8.2
*** Error code 1



** Listing the failed packages
  ! x11/xterm (xterm-203) (install error)
   * x11/xorg-clients (xorg-clients-6.8.2)


I'm trying to install FreeBSD 6.1.  I hadnt even gotten to configuring with
X, so I was surprised there was a problem there.  the command tat generated
the error was:

   portpgrade -arR


I'm guessing other people will also be getting this error soon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: AVerMedia AVerTV Hybrid+FM Cardbus

2006-02-18 Thread xkodi
bktr.ko is for Conexant (formerly Rockwell) Booktree (Fussion) 8x8/8x9 based
cards and you have Philips saa713x based, so you should try with the correct
driver and applications. You can download them from here:

http://download.purpe.com/

I don't know why the driver from the link above is not included, like bktr.ko,
into the FreeBSD, and if it will work with your device, but with my saa7134
based ECS EZ-TV (TVP3XP) TV&FM Tuner card, everything works great and I am able
to watch analog TV and capture under FreeBSD 5.x :

[EMAIL PROTECTED]:11:0: class=0x048000 card=0x4cb41019 chip=0x71341131 rev=0x01 
hdr=0x00
   vendor   = 'Philips Semiconductors'
   device   = 'SAA7134HL Multi Media Capture Device'
   class= multimedia

Quoting Ludo Koren <[EMAIL PROTECTED]>:

>
> Hello,
>
> I am using FreeBSD RELENG_5 and decided to give a try to video capture
> device. From the friend, I've got AVerMedia AVerTV Hybrid+FM
> Cardbus. When I plug it to my notebook I get the following to the log:
>
>
>
> cardbus0: Resource not specified in CIS: id=10, size=800
> cardbus0:  at device 0.0 (no driver attached)
>
> and after kldload bktr.ko:
>
> bktr_mem: memory holder loaded
>
> Here is the pciconf -lv output:
>
> .
>
>
> [EMAIL PROTECTED]:0:0: class=0x048000 card=0xf4361461 chip=0x71331131 rev=0xd1
> hdr=0x00
> vendor   = 'Philips Semiconductors'
> device   = 'SAA7135HL Multi Media Capture Device'
> class= multimedia
>
>
> Is anybody running this card? Am I doing something wrong? Is there
> another driver for the card?
>
> I did not find anything useful searching the archives.
>
> Regards,
>
> lk
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> 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: Removing BOM from UTF-8

2006-02-18 Thread Gerard Seibert
Benjamin A'Lee wrote:

> On Sat, 2006-02-18 at 11:28 -0500, Gerard Seibert wrote:
> > It has been suggested that a script could be written to eliminate
> > the BOM from a file(s). My script writing skills suck. I have been
> > unable to locate one using Google, so I was hoping that someone
> > might know where I could either locate such a program, or perhaps
> > give me an idea on how to script one.
>
> #!/usr/bin/perl
> @file=<>;
> $file[0] =~ s/^\xEF\xBB\xBF//;
> print(@file);
>
> That'll read a file from stdin, remove the BOM from the beginning of
> the first line if it's present, and print it to stdout.
>
> Hope it helps.
>
>     Ben
>
> --
> Termisoc Tech Officer: 
> My Homepage: 
> "People demand freedom of speech as compensation for the freedom of
> thought which they have but seldom use." -- Søren Kierkegaard

Maybe I am doing something wrong, but it does not appear to be working 
correctly. I named the file nobom.sh and put it in the same directory 
as the files I want to convert. I also set the program permission to 
0755.

typing the p[program name does nothing; I have to precede it with 
'perl'. Even then, it does not appear to work correctly. In the 
following example, the file is parsed, but not converted.

perl nobom.sh testfile

Am I doing something incorrectly here?

Thanks!

-- 
Gerard Seibert
[EMAIL PROTECTED]

PGP: http://www.seibercom.net/sig/gerard.asc


pgpHJZbonjTLX.pgp
Description: PGP signature


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread ptitoliv
Danial Thom a écrit :

>--- ptitoliv <[EMAIL PROTECTED]>
>wrote:
>
>  
>
>>Hello everybody,
>>
>>I am writing here because I have a problem with
>>network on freebsd 5.3
>>and 5.4. The machines are pluged in a 100
>>Mbit/s with via rhine network
>>cards. On this same LAN  I have a Debian Sarge
>>computer. When I try to
>>transferts big files beetween the FreeBSD and
>>the Debian, I see that I
>>have an assymetric bandwith :
>>
>>>From Debian to BSD : No problem. The bandwitdh
>>is OK : About 8 MBytes/s
>>which is normal for a LAN I guess.
>>>From BSD to Debian : The bandwidth is quite
>>awful => Beetween 300
>>KBytes/s to 1Mbyte/s.
>>
>>Network have been changed and the problem is
>>still the same. So I
>>thought it was a network problem. Then I
>>installed an other FreeBSD on a
>>different computer and plugged it in a
>>completely different network and
>>the problem is still here. That's why I think
>>there is a thing to
>>configure on the BSD system but I don't know
>>why.
>>
>>That's why I am looking here for someone who
>>knows this problem and who
>>will be able to help me.
>>
>>Thank you for your answers
>>
>>Best Regards,
>>ptitoliv
>>
>>
>
>Are you doing "GET" from each machine, or
>comparing GET to PUT? Get has always been a lot
>faster then PUT. 
>
I tried GET and PUT from the two servers and the problem is still the same.

>Put a monitor on the LAN and
>look for weird sending patterns. The 4.x FTP
>servers will stop altogether if you set the
>window under 1500 bytes. I don't know if its the
>server app or the stack, but its probably the
>specific application, as HTTPD seems not to have
>such problems.
>
The problem still exists with HTTP and SCP requests.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread ptitoliv
Mathieu CHATEAU a écrit :

>what about netstat -e on each host ?
>(looking for errors)
>  
>
no errors detected

>are you on swicthes ?
>Are the switches port on auto or forced ?
>  
>
I don't know exactly : the servers are hosted by a company. So I think
they are in autoselect mode.

>when doing an ifconfig -a, are you in 100 full duplex ?
>  
>
Yeah and I tried to forced in all possibles modes. (10/100 and half/full
duplex)

>Are you using proftpd  /wuftpd ?
>  
>
Proftpd but I made some new tests with HTTP and SCP and it is the same
problem.

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


SATA RAID0

2006-02-18 Thread ph rhole oper
What should i use to setup a RAID-0 array using 2 SATA drives and a VIA
software-raid controller (pseudo)? vinum ? ccd? or atacontrol?
PS: suppose the metadata format of my "raid" controller is recognized by
the ata driver

-- 
http://www.fastmail.fm - And now for something completely different…

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread Mathieu CHATEAU
Saturday, February 18, 2006, 3:42:47 PM, you wrote:

p> Hello everybody,

p> I am writing here because I have a problem with network on freebsd 5.3
p> and 5.4. The machines are pluged in a 100 Mbit/s with via rhine network
p> cards. On this same LAN  I have a Debian Sarge computer. When I try to
p> transferts big files beetween the FreeBSD and the Debian, I see that I
p> have an assymetric bandwith :

>>From Debian to BSD : No problem. The bandwitdh is OK : About 8 MBytes/s
p> which is normal for a LAN I guess.
>>From BSD to Debian : The bandwidth is quite awful => Beetween 300
p> KBytes/s to 1Mbyte/s.

p> Network have been changed and the problem is still the same. So I
p> thought it was a network problem. Then I installed an other FreeBSD on a
p> different computer and plugged it in a completely different network and
p> the problem is still here. That's why I think there is a thing to
p> configure on the BSD system but I don't know why.

p> That's why I am looking here for someone who knows this problem and who
p> will be able to help me.

p> Thank you for your answers

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

what about netstat -e on each host ?
(looking for errors)
are you on swicthes ?
Are the switches port on auto or forced ?
when doing an ifconfig -a, are you in 100 full duplex ?
Are you using proftpd  /wuftpd ?

Mathieu CHATEAU

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread Danial Thom


--- ptitoliv <[EMAIL PROTECTED]>
wrote:

> Hello everybody,
> 
> I am writing here because I have a problem with
> network on freebsd 5.3
> and 5.4. The machines are pluged in a 100
> Mbit/s with via rhine network
> cards. On this same LAN  I have a Debian Sarge
> computer. When I try to
> transferts big files beetween the FreeBSD and
> the Debian, I see that I
> have an assymetric bandwith :
> 
> >From Debian to BSD : No problem. The bandwitdh
> is OK : About 8 MBytes/s
> which is normal for a LAN I guess.
> >From BSD to Debian : The bandwidth is quite
> awful => Beetween 300
> KBytes/s to 1Mbyte/s.
> 
> Network have been changed and the problem is
> still the same. So I
> thought it was a network problem. Then I
> installed an other FreeBSD on a
> different computer and plugged it in a
> completely different network and
> the problem is still here. That's why I think
> there is a thing to
> configure on the BSD system but I don't know
> why.
> 
> That's why I am looking here for someone who
> knows this problem and who
> will be able to help me.
> 
> Thank you for your answers
> 
> Best Regards,
> ptitoliv

Are you doing "GET" from each machine, or
comparing GET to PUT? Get has always been a lot
faster then PUT. Put a monitor on the LAN and
look for weird sending patterns. The 4.x FTP
servers will stop altogether if you set the
window under 1500 bytes. I don't know if its the
server app or the stack, but its probably the
specific application, as HTTPD seems not to have
such problems. I think ftp was originally written
by a chimp and no-one has really bothered to ever
fix it (much like nfs). Its quite possible that
socket changes in 5.x made a kludgy
implementation not work as well as it used to.

DT

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: getline function

2006-02-18 Thread Chuck Swiger
Tom Grove wrote:
> Chuck Swiger wrote:
[ ... ]
>> getline() is not part of the standard C library.
>> What makes you think gcc is broken...?
>
> Yeah...I see that after some more research.  So, now I guess my question
> is being that it's not standard and gets() is not safe to use what
> should I use to grab lines?  My gut tells me to copy the getline()
> function from the K&R book but I'm not totally sure that's a great idea
> either.  Stupid strings always causing problems!

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

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


Re: getline function

2006-02-18 Thread Tom Grove

Mike Jeays wrote:

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


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

##Source File##
#include 

int main() {
char line[10];

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

return 0;
}
## Source File##

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



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

#include 
#include 

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

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

return 0;
}

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


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


Re: getline function

2006-02-18 Thread Tom Grove

Chuck Swiger wrote:

Tom Grove wrote:
  

Mike Jeays wrote:


[ ... ]
  

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



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

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


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


Re: getline function

2006-02-18 Thread Chuck Swiger
Tom Grove wrote:
> Mike Jeays wrote:
[ ... ]
> That works and I had looked into that earlier...it seems like it does a
> lot more than just one function from the man page.  I guess I can use
> that for now but I wonder why getline() is broken in gcc on FreeBSD?

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

-- 
-Chuck

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


Re: DVD Burner

2006-02-18 Thread Ion-Mihai Tetcu
On Fri, 17 Feb 2006 15:25:04 -0500
Sean <[EMAIL PROTECTED]> wrote:

> I would like to add a DVD Burner to my system.
> 
> Any recommendations on which models are friendly with FreeBSD?
> I want to try to get one that will give me the best options.
> 
> Also, what interface types would you recommend?
> I am leaning on SCSI.

Plextors genarally work w/o problems

We use Asus DRW-1608 for about 2 years now problems.


-- 
IOnut - Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

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


Re: Removing BOM from UTF-8

2006-02-18 Thread Benjamin A'Lee
On Sat, 2006-02-18 at 11:28 -0500, Gerard Seibert wrote:
> It has been suggested that a script could be written to eliminate the
> BOM from a file(s). My script writing skills suck. I have been unable to
> locate one using Google, so I was hoping that someone might know where I
> could either locate such a program, or perhaps give me an idea on how to
> script one.

#!/usr/bin/perl
@file=<>;
$file[0] =~ s/^\xEF\xBB\xBF//;
print(@file);

That'll read a file from stdin, remove the BOM from the beginning of the
first line if it's present, and print it to stdout.

Hope it helps.

Ben

-- 
Termisoc Tech Officer: 
My Homepage: 
"People demand freedom of speech as compensation for the freedom of
thought which they have but seldom use." -- Søren Kierkegaard 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Odd file created in /

2006-02-18 Thread Philip Hallstrom

Check to see if anything has it open currently.  "netstat -a -f unix"
will do that for you.  Then rename it.  Then wait a week before
unlinking it.

Ceri


Nothing had it open.  Took me a second to figure out the "--" option so that
mv would rename it.  :)

How do I unlink it?


unlink is another way of saying remove...

rm -- ./-P

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


Removing BOM from UTF-8

2006-02-18 Thread Gerard Seibert
I have a large number of text files created in MS Word and saved in
UTF-8 format. Unfortunately, MS Word adds the BOM to each file. I need
to remove the BOM.

Information regarding BOM and UTF-8 can be found here:

http://www.cl.cam.ac.uk/~mgk25/unicode.html
http://www.w3.org/International/questions/qa-utf8-bom

A brief excerpt:

It has also been suggested to use the UTF-8 encoded BOM (0xEF 0xBB 0xBF)
as a signature to mark the beginning of a UTF-8 file. This practice
should definitely not be used on POSIX systems for several reasons:

* On POSIX systems, the locale and not magic file type codes define
 the encoding of plain text files. Mixing the two concepts would add a
 lot of complexity and break existing functionality.

* Adding a UTF-8 signature at the start of a file would interfere
 with many established conventions such as the kernel looking for “#!” at
 the beginning of a plaintext executable to locate the appropriate
 interpreter.

* Handling BOMs properly would add undesirable complexity even to
 simple programs like cat or grep that mix contents of several files into
 one.

It has been suggested that a script could be written to eliminate the
BOM from a file(s). My script writing skills suck. I have been unable to
locate one using Google, so I was hoping that someone might know where I
could either locate such a program, or perhaps give me an idea on how to
script one.

Thanks!

-- 
Gerard Seibert
[EMAIL PROTECTED]


 I'm interested in the fact that the less secure a man is, the more
 likely he is to have extreme prejudice.

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


RE: Odd file created in /

2006-02-18 Thread Mike Loiterman
Ceri Davies  wrote:
> On 18/2/06 10:27, "Mike Loiterman" <[EMAIL PROTECTED]> wrote:
> 
>> I have a file in / called -P.  It is a socket file I believe I
>> created by mistake while trying to get mysql, spamassassin, or
>> something similar to work. 
>> 
>> How can I check for sure to make sure it isn't something important?
> 
> Check to see if anything has it open currently.  "netstat -a -f unix"
> will do that for you.  Then rename it.  Then wait a week before
> unlinking it. 
> 
> Ceri

Nothing had it open.  Took me a second to figure out the "--" option so that
mv would rename it.  :)

How do I unlink it?

--
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

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


Re: getline function

2006-02-18 Thread Tom Grove

Mike Jeays wrote:

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


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

##Source File##
#include 

int main() {
char line[10];

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

return 0;
}
## Source File##

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



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

#include 
#include 

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

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

return 0;
}

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




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


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


Re: mutri-user conference

2006-02-18 Thread Ken Stevenson

jaroonsak A wrote:


dear friend

Hey !. i have problem about mutri user for 
contact between mutri user. Can you  guilde to me 
about something like MCU . Yes now i can build sip server but it work 
for peer to peer, 2 person and i want to contract more than 2 person in 
sametime. look like they are live in same room. Can you guild for 
knowledge. I's very basic man in freebsd,linux,unix because i use window 
along time



 thank good man


_


Does this have to be SIP based? If you're looking for the simplest 
solution for IP based conferencing, what about skype?


www.skype.com

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


Re: apsfilter question/problem

2006-02-18 Thread Eric Schuele

Denny White wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. 


I don't have a fix to your apsfilter issue, but if you you are 
interested in another possible printing solution... try:


http://www.lanside.net/article.php?story=20031007161002250

It works well for me.  And is simple to setup.


Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
& thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org & downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 &
the apsfilter setup script found it & didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
& reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc, & so forth. Thanks.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD9a7dy0Ty5RZE55oRAg/8AKCaidZVu40OrIvmGeLm/Zw40RDAqgCaAggH
YmKpizvD6o7ihgZM8MmQKn0=
=wm8n
-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]"





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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread ptitoliv
Glenn Dawson a écrit :

> What are you using to transfer the files? ftp, scp, nfs, something else?

I am using ftp.

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread Glenn Dawson

At 06:42 AM 2/18/2006, ptitoliv wrote:

Hello everybody,

I am writing here because I have a problem with network on freebsd 5.3
and 5.4. The machines are pluged in a 100 Mbit/s with via rhine network
cards. On this same LAN  I have a Debian Sarge computer. When I try to
transferts big files beetween the FreeBSD and the Debian, I see that I
have an assymetric bandwith :

>From Debian to BSD : No problem. The bandwitdh is OK : About 8 MBytes/s
which is normal for a LAN I guess.
>From BSD to Debian : The bandwidth is quite awful => Beetween 300
KBytes/s to 1Mbyte/s.


What are you using to transfer the files? ftp, scp, nfs, something else?

-Glenn



Network have been changed and the problem is still the same. So I
thought it was a network problem. Then I installed an other FreeBSD on a
different computer and plugged it in a completely different network and
the problem is still here. That's why I think there is a thing to
configure on the BSD system but I don't know why.

That's why I am looking here for someone who knows this problem and who
will be able to help me.

Thank you for your answers

Best Regards,
ptitoliv
___
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]"


Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread ptitoliv
Hello everybody,

I am writing here because I have a problem with network on freebsd 5.3
and 5.4. The machines are pluged in a 100 Mbit/s with via rhine network
cards. On this same LAN  I have a Debian Sarge computer. When I try to
transferts big files beetween the FreeBSD and the Debian, I see that I
have an assymetric bandwith :

>From Debian to BSD : No problem. The bandwitdh is OK : About 8 MBytes/s
which is normal for a LAN I guess.
>From BSD to Debian : The bandwidth is quite awful => Beetween 300
KBytes/s to 1Mbyte/s.

Network have been changed and the problem is still the same. So I
thought it was a network problem. Then I installed an other FreeBSD on a
different computer and plugged it in a completely different network and
the problem is still here. That's why I think there is a thing to
configure on the BSD system but I don't know why.

That's why I am looking here for someone who knows this problem and who
will be able to help me.

Thank you for your answers

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


mutri-user conference

2006-02-18 Thread jaroonsak A


dear friend

Hey !. i have problem about mutri user for contact 
between mutri user. Can you  guilde to me about 
something like MCU . Yes now i can build sip server but it work for peer to 
peer, 2 person and i want to contract more than 2 person in sametime. look 
like they are live in same room. Can you guild for knowledge. I's very basic 
man in freebsd,linux,unix because i use window along time



 thank good man


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: Remving All of MySQL Database

2006-02-18 Thread Björn König

Roman Shakin schrieb:
hello i need to remove all of the mysql databases... i messed it up... 
and now cant log in? please help. I tried deleting the /var/dg/mysql and 
running mysql_install_sh


just start mysql after removing the database, i.e.

/usr/local/etc/rc.d/mysql-server.sh stop
rm -R /var/db/mysql
/usr/local/etc/rc.d/mysql-server.sh start

That's it. Now you have a fresh clean database. The password of the root 
account is "" (without quotes ;-)


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


Re: Odd file created in /

2006-02-18 Thread Ceri Davies
On 18/2/06 10:27, "Mike Loiterman" <[EMAIL PROTECTED]> wrote:

> I have a file in / called -P.  It is a socket file I believe I created by
> mistake while trying to get mysql, spamassassin, or something similar to
> work. 
> 
> How can I check for sure to make sure it isn't something important?

Check to see if anything has it open currently.  "netstat -a -f unix" will
do that for you.  Then rename it.  Then wait a week before unlinking it.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere



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


Re: gnome-config

2006-02-18 Thread kalin mintchev

> which port is gnome-config part of? somewhere underl devel?!

nevermind.  now if i installed firefox 1.5 where firefox-plugin?!
what do i need to get it?


> thanks...
>
>
> ___
> 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]"


Odd file created in /

2006-02-18 Thread Mike Loiterman
I have a file in / called -P.  It is a socket file I believe I created by
mistake while trying to get mysql, spamassassin, or something similar to
work. 

How can I check for sure to make sure it isn't something important?

--
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

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


gnome-config

2006-02-18 Thread kalin mintchev
hi...

i have gnome installed but gnome-config is missing
which port is gnome-config part of? somewhere underl devel?!

thanks...


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


Re: Firefox 1.5.0.1 port

2006-02-18 Thread Mathieu Prevot


Le 18 févr. 06 à 03:14, Daniel Molina Wegener a écrit :


Hello,

   I have installed the firefox 1.5.0.1 browser port -- the
latest version -- but everytime uses the pc speaker and I
get a constant "beep!, beep!, beep!".

   Anyone knows the solution to this problem?.

   I've searched in preferences and about:config url, but
nothing seems to be the right option to disable the constant
beep. Also, google doesn't have information about this problem.

Best regards,
--  
 . 0 . | Daniel Molina Wegener

 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD Power User


You can first do

sysctl hw.syscons.bell=0

in a terminal, or:

echo "hw.syscons.bell=0">>/etc/sysctl.conf

But obviously, the origin of the problem is elsewhere. Try freebsd- 
stable@


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