Re: Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-29 Thread Dan Mahoney, System Admin
/dns/bind96 3. make 4. Enable the replace base option 5. Save the config You will then see the following error: make: don't know how to make /usr/local/tmp/usr/local/ports/dns/bind96/work/.build_done.bind96._usr_local. Stop *** Error code 2 I think Mel is right that the problem is changing PREFIX

Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-28 Thread Dan Mahoney, System Admin
Hey all, I'm having a problem on multiple systems: With a clean port, in dns/bind96: I get the options screen, I select only overwrite base in addition to the defaults:, and after, I get this: make: don't know how to make /usr/ports/dns/bind96/work/.build_done.bind96._usr_local. Stop

Re: Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-28 Thread Mel Flynn
On Tuesday 28 July 2009 20:24:27 Dan Mahoney, System Admin wrote: make: don't know how to make /usr/ports/dns/bind96/work/.build_done.bind96._usr_local. Stop *** Error code 2 Someone else had the same problem, and they also chose overwrite-base: http://unix.derkeiler.com/Mailing-Lists

Now pkg-config trouble.................Re: startx does not work, startxfce4 does!

2009-06-18 Thread Leslie Jensen
...@freebsd.org [maintainer] and attach the /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1

Re: Now pkg-config trouble.................Re: startx does not work, startxfce4 does!

2009-06-18 Thread Tim Judd
Leslie, The given port dirs (x11/xorg, etc) still probably have their work directory, which have the tokens/markers that particular stages of the port build have been done, such as the installation. rm -rf /usr/ports/*/*/work rehash cd /usr/ports/x11/xorg make install Please try that. First

startx does not work, startxfce4 does!

2009-06-17 Thread Leslie Jensen
On a newly installed 7.2-RELEASE system with all ports upgraded and cvsup'ed I have a problem. Both root and user has .xsession linked to .xinitrc and contains #!/bin/sh exec /usr/local/bin/startxfce4 If I execute startx as root TWM is started! If I execute startxfce4 as root XFCE4 is

Re: startx does not work, startxfce4 does!

2009-06-17 Thread Glen Barber
On Wed, Jun 17, 2009 at 12:27 PM, Leslie Jensenles...@eskk.nu wrote: On a newly installed 7.2-RELEASE system with all ports upgraded and cvsup'ed I have a problem. Both root and user has .xsession linked to .xinitrc and contains #!/bin/sh exec /usr/local/bin/startxfce4 If I execute

Re: startx does not work, startxfce4 does!

2009-06-17 Thread Mel Flynn
. If this still don't work, check /var/log/Xorg.0.log for anything (EE). -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Any chance to get the SANE epkowa backend to work on Freebsd?

2009-06-13 Thread Leslie Jensen
I got a good deal on a Epson Perfection 4490 PHOTO scanner, but it's not supported by the SANE Epson backend. One needs the epkowa external backend. Any chance to make it work? /Leslie ___ freebsd-questions@freebsd.org mailing list http

glabel(8) a gmirror(8) doesn't work

2009-06-10 Thread Valentin Bud
to protect the filesystem. But then again for gmirror the providers are the two hdd i use for mirroring and for glabel the provider is the mirror itself. That's again what my logic tells me. So i think there is some kind of separation between the two modules and things should work. I have searched

Re: glabel(8) a gmirror(8) doesn't work

2009-06-10 Thread Wojciech Puchar
following procedure: 1. reboot to single user 2. mount -a 3. tunefs -L var /dev/mirror/system0s1d This commands exits with Failed to write superblock. replace mount -a with mount / you can't write directly to partition which is mounted mounted ___

Re: glabel(8) a gmirror(8) doesn't work

2009-06-10 Thread Valentin Bud
On Wed, Jun 10, 2009 at 9:58 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: following procedure: 1. reboot to single user 2. mount -a 3. tunefs -L var /dev/mirror/system0s1d This commands exits with Failed to write superblock. replace mount -a with mount / you can't write

Re: glabel(8) a gmirror(8) doesn't work

2009-06-10 Thread Manolis Kiagias
Valentin Bud wrote: On Wed, Jun 10, 2009 at 9:58 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: following procedure: 1. reboot to single user 2. mount -a 3. tunefs -L var /dev/mirror/system0s1d This commands exits with Failed to write superblock. replace

Re: glabel(8) a gmirror(8) doesn't work

2009-06-10 Thread Wojciech Puchar
Thanks this time it worked. I am almost sure (99%) I've tried that already yesterday but the 1% wins. One more question can i label the / partition. I have the same error when i try to label it. don't do mount / or boot from liveCD ___

Re: glabel(8) a gmirror(8) doesn't work

2009-06-10 Thread Valentin Bud
much. The odd thing is that I once tried to label it after mounting / and rw and afterward changed it to ro with the help of mount and it did not work. a great day, v -- network warrior since 2005 ___ freebsd-questions@freebsd.org mailing list http

RE: glabel(8) a gmirror(8) doesn't work

2009-06-10 Thread dhaneshk k
can we use# glabel status ? and can use the ufsid labels of /dev/ufsid/and edit /etc/fstab entries for the partitions? From: valentin@gmail.com Date: Wed, 10 Jun 2009 09:12:47 +0300 To: freebsd-questions@freebsd.org Subject: glabel(8) a gmirror(8) doesn't work Hello

Re: glabel(8) a gmirror(8) doesn't work

2009-06-10 Thread Valentin Bud
Subject: glabel(8) a gmirror(8) doesn't work Hello community, Yesterday I have installed FBSD 7.2-RELEASE. I have installed on a mirror created with gmirror(8). All I have modified on this system is that I have updated the sources, rebuild the world and kernel and of course install

Re: glabel(8) a gmirror(8) doesn't work

2009-06-10 Thread Manolis Kiagias
dhaneshk k wrote: List members; http://www.freebsd.org/doc/en/books/handbook/geom-glabel.html Starting with FreeBSD 7.2, the glabel(8) class supports a new label type for UFS file systems, based on the unique file system id, ufsid. Is the above clause applicable in this case ? instead of

Re: /etc/hosts - how does that file work?? - was weird nfs issues.

2009-06-08 Thread Mel Flynn
with Tim here. I don't see the point for having two nets on one interface. They'll be hard to keep secure with firewall rules if you run the same services on them. I'll help, when I can. but forcing this on /etc/hosts is a dead end. Problem is that nfs and DNS don't work well at all. For nfs best

Re: /etc/hosts - how does that file work?? - was weird nfs issues.

2009-06-06 Thread Tim Judd
On 6/4/09, Peter fb...@peterk.org wrote: On Thursday 04 June 2009 20:48:21 Peter wrote: iH, This all started with NFS not mounting at bootso, testing in VMs: snip Why is ping using one IP, and ssh/mount_nfs/showmount using another IP from /etc/hosts? Q: Where is described that name

/etc/hosts - how does that file work?? - was weird nfs issues.

2009-06-04 Thread Peter
iH, This all started with NFS not mounting at bootso, testing in VMs: This is a fresh/generic install of 7.2-REL no firewall em1=10.21.20.0/24 network - DHCP for ssh access client# uname -a FreeBSD client.test 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009

Re: /etc/hosts - how does that file work?? - was weird nfs issues.

2009-06-04 Thread Mel Flynn
On Thursday 04 June 2009 20:48:21 Peter wrote: iH, This all started with NFS not mounting at bootso, testing in VMs: snip Why is ping using one IP, and ssh/mount_nfs/showmount using another IP from /etc/hosts? Q: Where is described that name resolution for A or PTR records should be

Re: /etc/hosts - how does that file work?? - was weird nfs issues.

2009-06-04 Thread Peter
On Thursday 04 June 2009 20:48:21 Peter wrote: iH, This all started with NFS not mounting at bootso, testing in VMs: snip Why is ping using one IP, and ssh/mount_nfs/showmount using another IP from /etc/hosts? Q: Where is described that name resolution for A or PTR records should be

Debugging multithreaded programs with gdb66 doesn't work

2009-05-23 Thread Raphael Kubo da Costa
Hi there, I'm trying to debug some multithreaded programs with gdb 6.6, however commands such as info threads or threads apply all bt simply do nothing and show nothing. Am I missing something here? Is this the appropriate list to ask? Thanks, Raphael

Re: Why would a kill -2 not work?

2009-05-19 Thread Peter Steele
The pthread_* calls you are making aren't listed as being safe to run within the context of a signal handler, and could cause a thread waiting on that condition to be unblocked and start running. Please see earlier comments about mixing threads and signal handlers. Okay, fair enough. I'll

Why would a kill -2 not work?

2009-05-18 Thread Peter Steele
Under what circumstances might a kill -2 nnn not work. I have a Python app with a signal handler configured to catch INT signals. It seems to work fine, but we've recently noticed that after the app has run for a while the kill -2 no longer works. This seems pretty suspicious, perhaps

Re: Why would a kill -2 not work?

2009-05-18 Thread Chuck Swiger
Hi-- On May 18, 2009, at 9:23 AM, Peter Steele wrote: Under what circumstances might a kill -2 nnn not work. I have a Python app with a signal handler configured to catch INT signals. It seems to work fine, but we've recently noticed that after the app has run for a while the kill -2

Re: Why would a kill -2 not work?

2009-05-18 Thread Peter Steele
The amount of stuff you're allowed to do safely in a signal handler is pretty minimal-- you're better off setting a flag, returning from the signal handler, and having the next run past the main event loop or whatever check for the flag and handle things in a normal app context. If you try to

Re: Why would a kill -2 not work?

2009-05-18 Thread Chuck Swiger
never gets called and the system carries on as if the kill -2 never happened. You're not trying to send a signal within the signal handler itself, are you? That won't work-- signal delivery is blocked when you're already running in a signal handler. Also, note that trying to mix signals

RE: Why would a kill -2 not work?

2009-05-18 Thread Gary Gatten
Subject: Re: Why would a kill -2 not work? Hi-- On May 18, 2009, at 2:45 PM, Peter Steele wrote: This is basically what we doing. When the handler is triggered we set a global variable to indicate the system is shutting down. I also signal a condition to wake up a sleeping thread. The lack

Re: Why would a kill -2 not work?

2009-05-18 Thread Peter Steele
You're not trying to send a signal within the signal handler itself, are you? That won't work-- signal delivery is blocked when you're already running in a signal handler. Also, note that trying to mix signals with a multithreaded process is complicated No, I'm not sending a signal within

Re: Why would a kill -2 not work?

2009-05-18 Thread Chuck Swiger
On May 18, 2009, at 5:32 PM, Peter Steele wrote: No, I'm not sending a signal within a signal. The signal handler is this: pthread_mutex_lock(keep_running_mutex); KEEP_RUNNING = 0; pthread_cond_signal(keep_running_cond); pthread_mutex_unlock(keep_running_mutex); This works fine, but at some

netstat doesn't work

2009-04-27 Thread Dsewnr Lu
Hi all, I've used FreeBSD 8.0-CURRENT for a month. My kernel is: ( FreeBSD localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Mon Apr 13 23:56:04 CST 2009 r...@localhost:/usr/obj/usr/src/sys/FB8 i386 ) Most things work fine, but the netstat command shows nothing for me. Could someone help me

Re: netstat doesn't work

2009-04-27 Thread Anton Yuzhaninov
On Tue, 28 Apr 2009 01:24:58 +0800, Dsewnr Lu wrote: DL I've used FreeBSD 8.0-CURRENT for a month. DL My kernel is: ( FreeBSD localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #6: DL Mon Apr 13 23:56:04 CST 2009 DL r...@localhost:/usr/obj/usr/src/sys/FB8 i386 ) DL Most things work fine

does isoqlog work in amd64?

2009-04-20 Thread B. Cook
just wanted to ask if anyone has the mail/isoqlog program working on an amd64 box. We have it working on i386 FreeBSD 7.x but it sig11's on amd64. looking to have it filter exim logs fwiw. I have sent emails to enderunix and not heard back.. and if it does not work, has anyone actually made

Re: does ndisgen work with(mini) pci-E cards?

2009-04-17 Thread Paul B. Mahol
On 4/13/09, Steve Franks bahamasfra...@gmail.com wrote: My new laptop is the fist I've seen with mini-pci-express. Major PITA. I get ndis0 after ndisgen/kldload/etc, but I can see any AP's, and I'm wondering if it's due to the new bus? I suspect I'm barking up the wrong tree since the

does ndisgen work with(mini) pci-E cards?

2009-04-13 Thread Steve Franks
My new laptop is the fist I've seen with mini-pci-express. Major PITA. I get ndis0 after ndisgen/kldload/etc, but I can see any AP's, and I'm wondering if it's due to the new bus? I suspect I'm barking up the wrong tree since the driver does get loaded, it's probably finding the card...other

Re: does ndisgen work with(mini) pci-E cards?

2009-04-13 Thread Neal Hogan
my Broadcom card (mini-pci - BCM94306MP) to work that i gave up and just plug it in. I would get it installed and it would panic. You seem to have avoided that . . . good. What .sys and .inf files are you using? From what I understand, you need/should try a bunch 'til one works. I wish you

Can't work out which disk we are booting from

2009-03-11 Thread Dragos
the loader prints out: [...] Bios drive A: is disk0 [...] Can't work out which disk we are booting from. Guessed BIOS device 0x80 not found by probes, defaulting to disk0: can't load 'kernel' I installed grub too and grub is loading the freebsd loader just fine, but the freebsd loader still get

Mentenance work for mirrors.evolva.ro 04.03.2008 16 - 19 PM GMT+2

2009-03-04 Thread Evolva Telecom
Hello, Today mirrors.evolva.ro will be down 2-3 hours for mentenance work. The actual server will be replaced with a new one, more powerfull. We thank you for understanding. Have a great day. -- Daniel TOMUTA Junior System Administrator Evolva Telecom t: +4-021-9394 t: +4-021

KDE4: How to make Home/End keys to work properly in the kde4-console?

2009-02-12 Thread Yuri
I chose Linux in Settings-Edit Current Profile-Input. But Home/End keys bring the cursor to the beginning/end of line either only in 'vim', or only for commands typed into console. But not for both. If Home=\E[1~ and End=\E[4~ keys work in vim, but for the console commands instead of moving

wildcards don't work in sh shell for FAT32 filesystem

2009-02-09 Thread Carl
Why do pathnames containing a wildcard work in the tcsh shell regardless of the target filesystem, but do not work in the sh shell if the target filesystem is FAT32? The following sequence begins in the tcsh shell by mounting a FAT32 partition from a USB thumb drive. /tmp is in a UFS2

fixed: firefox3 plugins (flash) don't work [was: Re: swfdec-plugin]

2009-01-21 Thread Steve Franks
On Wed, Jan 21, 2009 at 1:43 PM, Chad Perrin per...@apotheon.com wrote: On Wed, Jan 21, 2009 at 01:08:35PM -0700, Steve Franks wrote: Anyone get swfdec-plugin to work? Doesn't show up in firefox3's list of plugins (neither does mplayer-plugin or gnash). Does port installation order matter

FreeBSD 7.1, skype not work

2009-01-20 Thread Горбатовский Дмитрий
not work with linux_base-fc4 because it have 2.4.x kernel and skype need 2.6.x. I'm update FreeBSD to 7.1-RELEASE-p1 freebsd-update fetch, install FreeBSD user 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 r...@user:/usr/src/sys/i386/compile/user i386 After update I run skype and nothing happen

Re: FreeBSD 7.1, skype not work

2009-01-20 Thread Beech Rintoul
GNU/Linux sysctl compat.linux.osrelease=2.6.16 just because skype2 not work with linux_base-fc4 because it have 2.4.x kernel and skype need 2.6.x. I'm update FreeBSD to 7.1-RELEASE-p1 freebsd-update fetch, install FreeBSD user 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 r...@user:/usr/src/sys

FreeBSD 7.1, skype not work

2009-01-20 Thread Горбатовский Дмитрий
not work with linux_base-fc4 because it have 2.4.x kernel and skype need 2.6.x. I'm update FreeBSD to 7.1-RELEASE-p1 freebsd-update fetch, install FreeBSD user 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 r...@user:/usr/src/sys/i386/compile/user i386 After update I run skype and nothing happen. user

can't work with a file starting with dash space '- ' ?

2009-01-16 Thread Anton Shterenlikht
By mistake I saved an email attachmed as it was called, probably from MS world: - Reviewer Comments - FFEMS - Closure paper.pdf Now I cannot delete, or rename it. % cp -\ Reviewer\ Comments\ -\ FFEMS\ -\ Closure\ paper.pdf z cp: illegal option -- usage: cp [-R [-H | -L | -P]] [-f | -i | -n]

Re: can't work with a file starting with dash space '- ' ?

2009-01-16 Thread Yuri Pankov
On Fri, Jan 16, 2009 at 10:33:13AM +, Anton Shterenlikht wrote: By mistake I saved an email attachmed as it was called, probably from MS world: - Reviewer Comments - FFEMS - Closure paper.pdf Now I cannot delete, or rename it. % cp -\ Reviewer\ Comments\ -\ FFEMS\ -\ Closure\

Re: FIXED: vpnc connects, but does not work

2009-01-12 Thread perryh
... I do have a Linux OS that I have access to that strangely does use vpnc successfully. That may help quite a bit. You can use something like tcpdump or wireshark on the FreeBSD system to monitor the traffic between the Linux system and the Cisco while connecting and doing something simple

Re: FIXED: vpnc connects, but does not work

2009-01-12 Thread Stacey Roberts
not be a problem with vpnc..,as such. I got an ethernet connection to work just now, so it looks as if its just down to now vpnc is handling my wifi interface, for some reason. As I said originally, this **was** working, and now its stopped for some reason. I'm now fairly certain that its not got

Re: FIXED: vpnc connects, but does not work

2009-01-11 Thread Stacey Roberts
Hi perryh! Glad to hear that you managed to get your problem fixed.., I also have this problem, the difference being that mine **USED to** work, but now it suddenly stoped working. I tried adding the line to my conf file as you did, but for me, the problem remains: Appears to connect

Re: FIXED: vpnc connects, but does not work

2009-01-11 Thread perryh
I also have this problem, the difference being that mine **USED to** work, but now it suddenly stoped working. I tried adding the line to my conf file as you did, but for me, the problem remains: Appears to connect and authenticate successfully to my office's VPN concentrator Once

Re: FIXED: vpnc connects, but does not work

2009-01-11 Thread Stacey Roberts
Hi perryh! Thanks for the reply.., On Sun, 11 Jan 2009, per...@pluto.rain.com wrote: I also have this problem, the difference being that mine **USED to** work, but now it suddenly stoped working. I tried adding the line to my conf file as you did, but for me, the problem remains

Re: newbie: does irq setting in device.hints work?

2009-01-10 Thread Lowell Gilbert
Zhang Weiwu zhangwe...@realss.com writes: Lowell Gilbert wrote: Have you checked what happens if you disable your APIC? You mean ACPI? No, I meant the APIC, the interrupt controller. But I don't think you can do that without compiling a special kernel for it, so it may not be worth

Re: newbie: does irq setting in device.hints work?

2009-01-10 Thread Paul B. Mahol
On 1/10/09, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Zhang Weiwu zhangwe...@realss.com writes: Lowell Gilbert wrote: Have you checked what happens if you disable your APIC? You mean ACPI? No, I meant the APIC, the interrupt controller. But I don't think you can do

Re: Login accounts don't work after update to 7.1

2009-01-09 Thread Bert-Jan
are you? I started up a second session and found my own account doesn't work anymore either. So all I have now is an open session with my own account. I should probably also have copied the two db files back and of course I should have left my running root session open and started another one

Re: Login accounts don't work after update to 7.1

2009-01-09 Thread Lowell Gilbert
Bert-Jan i...@bert-jan.com writes: I do find it strange though, that freebsd-update replaced those files, even though it tells you it's going to change them. I don't use freebsd-update, so I'm just trying to figure it out from reading the program. [freebsd-update is mostly just a shell

Re: Login accounts don't work after update to 7.1

2009-01-09 Thread Colin Percival
Lowell Gilbert wrote: Bert-Jan i...@bert-jan.com writes: What is the proper way to handle this ? Can I run a command after the update finishes that regenerates the account databases from the master.passwd ? I checked the history and *I* never touched it during the update, so it was merged like

Re: newbie: does irq setting in device.hints work?

2009-01-09 Thread Lowell Gilbert
I made in devices.hints never worked. e.g. hint.uhci.0.at=pci hint.uhci.0.irq=12 I can set whatever value for irq and it always rebooted as irq 11. However 'disabled=1' works. That's strange, I didn't find manual where it say it work in some condition or for some device only. Consult

Re: newbie: does irq setting in device.hints work?

2009-01-09 Thread Zhang Weiwu
Lowell Gilbert wrote: Zhang Weiwu zhangwe...@realss.com writes: That's strange, I didn't find manual where it say it work in some condition or for some device only. Consult individual device drivers' manual pages for available keywords and their possible values. Thanks. I

Re: Do UDP broadcasts work in FreeBSD?

2009-01-08 Thread Pieter de Goeje
On Tuesday 06 January 2009 17:49:49 Peter Steele wrote: Our efforts so far indicate the answer is no, which baffles us. We want to send a limited broadcast to 255.255.255.255 but the message never arrives. The same code works fine under Linux. Is there a trick for doing this kind of thing

RE: Do UDP broadcasts work in FreeBSD?

2009-01-08 Thread Peter Steele
Did you enable SO_BROADCAST and IP_ONESBCAST on the socket? I remember needing this on FreeBSD but not on Linux. Yes we did, but... I know UDP broadcasting works fine, but is somewhat more involved: addr.sin_family = AF_INET; addr.sin_addr.s_addr = inet_addr(130.89.191.255); addr.sin_port =

RE: Do UDP broadcasts work in FreeBSD?

2009-01-08 Thread Peter Steele
why 255.255.255.255 not your net broadcast address? Because the systems we are using do not have IPs assigned and you to know your subnet before you can use subnet broadcasting. We're developing our own DHCP-like service to distribute IPs to all of the systems, and we need limited broadcast to

Re: Login accounts don't work after update to 7.1

2009-01-08 Thread Lowell Gilbert
- su: who are you? I started up a second session and found my own account doesn't work anymore either. So all I have now is an open session with my own account. I should probably also have copied the two db files back and of course I should have left my running root session open and started

newbie: does irq setting in device.hints work?

2009-01-08 Thread Zhang Weiwu
. That's strange, I didn't find manual where it say it work in some condition or for some device only. Is there a way to assign uhci to use an irq differently? seems it is the cause of an interrupt storm problem I am having. ___ freebsd-questions

Login accounts don't work after update to 7.1

2009-01-07 Thread Bert-Jan
it with the spare copy I made. Of course I had to test it now so I exitted from root back to my own account, and you guessed it: I can't su anymore: $ su - su: who are you? I started up a second session and found my own account doesn't work anymore either. So all I have now is an open session with my own

Do UDP broadcasts work in FreeBSD?

2009-01-06 Thread Peter Steele
Our efforts so far indicate the answer is no, which baffles us. We want to send a limited broadcast to 255.255.255.255 but the message never arrives. The same code works fine under Linux. Is there a trick for doing this kind of thing under FreeBSD?

Re: Do UDP broadcasts work in FreeBSD?

2009-01-06 Thread Wojciech Puchar
why 255.255.255.255 not your net broadcast address? On Tue, 6 Jan 2009, Peter Steele wrote: Our efforts so far indicate the answer is no, which baffles us. We want to send a limited broadcast to 255.255.255.255 but the message never arrives. The same code works fine under Linux. Is there a

Re: Do UDP broadcasts work in FreeBSD?

2009-01-06 Thread Chuck Swiger
, this is a bug in FreeBSD, but you can work around it by using the BPF interface to send the traffic directly rather than using the network stack via socket()+send()/write(). I believe the ISC DHCP server software provides examples of how to do this, as dhclient is commonly used to send DHCP requests

RE: Do UDP broadcasts work in FreeBSD?

2009-01-06 Thread Peter Steele
for Linux and Windows. Not FreeBSD though. Arguably, this is a bug in FreeBSD I don't think there is any doubt about that. And from what I understand it even used to work under FreeBSD a few years ago. but you can work around it by using the BPF interface to send the traffic directly rather

RE: Do UDP broadcasts work in FreeBSD?

2009-01-06 Thread Peter Steele
I've already looked at the ISC DHCP source code. They use raw sockets to send their broadcasts, which seems to us to be a convoluted way of sending a simple broadcast. I've seen examples of DHCP client/server code written in Java using standard UDP. Unfortunately, our own system is already

Re: why printf() don't work?

2009-01-05 Thread Tom Marchand
trying putting newlines in the strings like this:    receive overflow\n - Original Message - From: Edward King zhan...@neusoft.com To: freebsd-questions@freebsd.org Sent: Monday, January 5, 2009 2:29:23 AM GMT -05:00 US/Canada Eastern Subject: why printf() don't work? I

Re: why printf() don't work?

2009-01-05 Thread Polytropon
On Mon, 5 Jan 2009 15:12:12 + (UTC), Tom Marchand m0rch...@comcast.net wrote: trying putting newlines in the strings like this:    receive overflow\n You can add fflush(stdout); to force the output, even if no \n is appended. But as it has been mentioned before, don't forget

Re: why printf() don't work?

2009-01-05 Thread Mike Jeays
execute main(),but in fact,printf fuction print none!!! Why printf function do not go work? my code is follows: #include sys/ioctl.h #include unp.h static int sockfd; #define QSIZE 8 #define MAXDG 4096 typedef struct{ void *dg_data; size_t dg_len; struct sockaddr *dg_sa

Re: why printf() don't work?

2009-01-05 Thread Patrick Lamaizière
(execute main()) will print execute main(),but in fact,printf fuction print none!!! Why printf function do not go work? Just to be sure : You should not use printf() in a signal handler, it is not considered 'signal safe'. (See man sigaction) Regards

FIXED: vpnc connects, but does not work

2009-01-04 Thread perryh
I have installed vpnc to connect to an employer's Cisco VPN system, and it seems to make the connection, but after connecting I can't ping the gateway nor anything beyond it ... It turned out the only problem was the absence of NAT Traversal Mode cisco-udp in vpnc.conf. (Presumably

why printf() don't work?

2009-01-04 Thread Edward King
!!! Why printf function do not go work? my code is follows: #include sys/ioctl.h #include unp.h static int sockfd; #define QSIZE 8 #define MAXDG 4096 typedef struct{ void *dg_data; size_t dg_len; struct sockaddr *dg_sa; socklen_t dg_salen; }DG; static DG dg[QSIZE]; static long cntread[QSIZE+1

vpnc connects, but does not work

2008-12-29 Thread perryh
produces the same 14-hop result whether connected or disconnected (modulo the need to use traceroute -n while connected: since vpnc has replaced /etc/resolv.conf with one specifying only the corporate nameservers, and I can't reach them because the link doesn't work, there is no name service while

Re: trouble getting x11 xdm to work

2008-11-12 Thread Lowell Gilbert
virtual consoles work as normal (ie: freebsd console logon prompt). F9 thru F12 virtual consoles will show the xdm logon screen. No. F1 through F7 virtual consoles will be regular consoles, and F8 will be the xdm login screen. To make xdm the system default logon method have to add xdm_enable=YES

Re: trouble getting x11 xdm to work

2008-11-11 Thread Mel
On Tuesday 11 November 2008 11:35:41 Fbsd1 wrote: Still getting error msg init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second You first need to get rid of that. xdm can't open /dev/ttyv8 while getty is hammering at it. -- Mel Problem with today's modular software:

Re: trouble getting x11 xdm to work

2008-11-11 Thread Lowell Gilbert
Fbsd1 [EMAIL PROTECTED] writes: Mel wrote: On Tuesday 11 November 2008 11:35:41 Fbsd1 wrote: Still getting error msg init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second You first need to get rid of that. xdm can't open /dev/ttyv8 while getty is hammering at it. I

Re: trouble getting x11 xdm to work

2008-11-11 Thread Polytropon
On Tue, 11 Nov 2008 19:48:51 +0800, Fbsd1 [EMAIL PROTECTED] wrote: Startx works ok so not xorg problem. Next question is are the xdm configuration files suppose to work as delivered by the port install AS IS? As a default config demo? Ha - xdm configuration files memory flash ahead! :-) Go

Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1
Next question is are the xdm configuration files suppose to work as delivered by the port install AS IS? As a default config demo? Yes. When I said 'range', I did mean range. Not 2 possibilities. Missing libraries, tainted environment, typos, tied up resources, tight security settings

Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1
Mel wrote: On Tuesday 11 November 2008 00:56:29 Fbsd1 wrote: Polytropon wrote: On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 [EMAIL PROTECTED] wrote: Also created the .xsessions file in the users home directory. The file is ~/.xsession, without an s at the end. I assume that csh is your login

Re: trouble getting x11 xdm to work

2008-11-11 Thread Mel
? This may come as a surprise, but startx does different things then xdm. Even having a DISPLAY environment variable set to a non-existing resource, would stop X from starting. Next question is are the xdm configuration files suppose to work as delivered by the port install AS IS? As a default

Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1
is written there. With current information, the possible causes range from errors in a configuration file xdm reads on start up to X display problems. Startx works ok so not xorg problem. Next question is are the xdm configuration files suppose to work as delivered by the port install

Re: trouble getting x11 xdm to work

2008-11-11 Thread Mel
On Tuesday 11 November 2008 12:09:01 Fbsd1 wrote: Mel wrote: On Tuesday 11 November 2008 11:35:41 Fbsd1 wrote: Still getting error msg init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second You first need to get rid of that. xdm can't open /dev/ttyv8 while getty is

Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1
Mel wrote: On Tuesday 11 November 2008 11:35:41 Fbsd1 wrote: Still getting error msg init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second You first need to get rid of that. xdm can't open /dev/ttyv8 while getty is hammering at it. I turned that off all ready before

Re: trouble getting x11 xdm to work

2008-11-11 Thread Karsten Rothemund
On Tue, Nov 11, 2008 at 11:01:44AM -0500, Lowell Gilbert wrote: Fbsd1 [EMAIL PROTECTED] writes: Hello, sorry, but I didn't follow the whole thread. Mel wrote: You first need to get rid of that. xdm can't open /dev/ttyv8 while getty is hammering at it. I turned that off all ready

Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1
on secure followed by a kill -HUP 1 command to reread tyys file the following should happen. F1 thru F8 virtual consoles work as normal (ie: freebsd console logon prompt). F9 thru F12 virtual consoles will show the xdm logon screen. To make xdm the system default logon method have to add

trouble getting x11 xdm to work

2008-11-10 Thread Fbsd1
logging in at command line works and startx works. Now want to use x11 xdm to control logins for virtual terminals 9+ Followed handbook instructions 5.6.2 Using XDM doing this ttyv8 /usr/local/bin/xdm -nodaemon xterm on secure Then kill -HUP 1 to reread the file. Also created the

Re: trouble getting x11 xdm to work

2008-11-10 Thread Polytropon
On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 [EMAIL PROTECTED] wrote: Also created the .xsessions file in the users home directory. The file is ~/.xsession, without an s at the end. I assume that csh is your login shell. Put these in your ~/.xsession: #!/bin/csh source ~/.cshrc

eclipse-cdt debugging doesn't work on FreeBSD 7.0 amd64?

2008-11-10 Thread Mungyung Ryu
Hello BSD guys, My system information is like this. - FreeBSD 7.0-RELEASE amd64 - gcc 4.2.1 - gdb 6.1.1 - eclipse-cdt-3.1.2_1 I used ports tree to compile and install eclipse-cdt-3.1.2_1. Running eclipse and compiling my C++ project are fine. But, when I try to debug, an error dialog box pops up

dump/restore don't work, handbook lies

2008-11-10 Thread peter cornelius consulting
On Tue Sep 2 14:01:06 UTC 2008 Kirk Strauser wrote: On Sunday 31 August 2008 18:03:53 Lloyd M Caldwell wrote: I needed to increase the size of my freebsd root (/). I booted, single user, attached a large usb freebsd formatted file system to receive the backup image. And you're sure

Re: trouble getting x11 xdm to work

2008-11-10 Thread Fbsd1
Polytropon wrote: On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 [EMAIL PROTECTED] wrote: Also created the .xsessions file in the users home directory. The file is ~/.xsession, without an s at the end. I assume that csh is your login shell. Put these in your ~/.xsession: #!/bin/csh

Re: trouble getting x11 xdm to work

2008-11-10 Thread Mel
On Tuesday 11 November 2008 00:56:29 Fbsd1 wrote: Polytropon wrote: On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 [EMAIL PROTECTED] wrote: Also created the .xsessions file in the users home directory. The file is ~/.xsession, without an s at the end. I assume that csh is your login shell.

Re: Printing to a Lanier LD160c does not work

2008-10-24 Thread Martin Alejandro Paredes Sanchez
El Jue 23 Oct 2008, Jeremy Chadwick escribió: On Thu, Oct 23, 2008 at 09:42:41PM -0700, Martin Alejandro Paredes Sanchez wrote: El Jue 16 Oct 2008, Jeremy Chadwick escribió: If this printer is hooked up on the network (e.g. via Ethernet), I believe you need to set the lp variable to

Re: Printing to a Lanier LD160c does not work

2008-10-24 Thread ajphanks
- Warren Block [EMAIL PROTECTED] wrote: On Fri, 17 Oct 2008, [EMAIL PROTECTED] wrote: I have tried the reccomendations that you guys have suggested with no luck. Here is my current printcap. admincolor|LANIER LD160c RPCS:\     :lp=\     :mx#0:\    

Re: Printing to a Lanier LD160c does not work

2008-10-23 Thread Martin Alejandro Paredes Sanchez
El Mar 21 Oct 2008, [EMAIL PROTECTED] escribió: I took your block above and replaced my block in the printcap, then sent the exact command above with the same failure. The queue is drained and the printer's log has a generic message The job was reset. message.  My current printcap file.

Re: Printing to a Lanier LD160c does not work

2008-10-23 Thread Martin Alejandro Paredes Sanchez
El Jue 16 Oct 2008, Jeremy Chadwick escribió: On Thu, Oct 16, 2008 at 08:36:42PM +, [EMAIL PROTECTED] wrote: I am trying to setup a Lanier LD160c (admincolor) that has a network interface.  I am new to FreeBSD and tried to follow the handbook.  I am able to print to a HP 5SI

<    1   2   3   4   5   6   7   8   9   10   >