Re: dhcpd related issue

2009-11-01 Thread patrick
What happens if you disable pf temporarily?

2009/10/31 Dánielisz László laszlo_daniel...@yahoo.com:
 Hello,

 I just configured my dhcpd but it gives no IP-s.
 What had I done until now:

  1. Installed isc-dhcp via ports

 2. edited the /usr/local/etc/dhcpd.conf

 option domain-name bsd;
 option domain-name-servers my dns server ip;
 option subnet-mask 255.255.255.0;
 authoritative;

 default-lease-time 3600;
 max-lease-time 86400;
 ddns-update-style none;

 subnet 192.168.1.0 netmask 255.255.255.0 {
 range 192.168.1.129 192.168.1.250;
 option routers 192.168.1.1;
 }

 3. Added the following ones to /etc/rc.conf
 ifconfig_rl1=inet 192.168.1.1  netmask 255.255.255.0
 dhcpd_enable=YES
 dhcpd_conf=/usr/local/etc/dhcpd.conf
 dhcpd_ifaces=rl1


 4. Opened the adequate port in pf
 pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = 
 bootps flags S/SA keep state
 pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = 
 bootps keep state

 5.. When I start de daemon:
 # /usr/local/etc/rc.d/isc-dhcpd start
 Starting dhcpd.
 Internet Systems Consortium DHCP Server V3.0.7
 Copyright 2004-2008 Internet Systems Consortium.
 All rights reserved.
 For info, please visit http://www.isc.org/sw/dhcp/
 Wrote 0 leases to leases file.
 Listening on Socket/rl1/192.168.1/24
 Sending on   Socket/rl1/192.168.1/24

 Everythings looks to be ok there but on the client (I tried OS-X and Nokia 
 symbian) I can not obtain the IP address, do you have any idea what should I 
 check?


 Thanks!
 Laci



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

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


Re: dhcpd related issue

2009-11-01 Thread Dánielisz László
It's the same, I still don't got any IP address.





From: patrick gibblert...@gmail.com
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 6:38:31 AM
Subject: Re: dhcpd related issue

What happens if you disable pf temporarily?

2009/10/31 Dánielisz László laszlo_daniel...@yahoo.com:
 Hello,

 I just configured my dhcpd but it gives no IP-s.
 What had I done until now:

  1. Installed isc-dhcp via ports

 2. edited the /usr/local/etc/dhcpd.conf

 option domain-name bsd;
 option domain-name-servers my dns server ip;
 option subnet-mask 255.255.255.0;
 authoritative;

 default-lease-time 3600;
 max-lease-time 86400;
 ddns-update-style none;

 subnet 192.168.1.0 netmask 255.255.255.0 {
 range 192.168.1.129 192.168.1.250;
 option routers 192.168.1.1;
 }

 3. Added the following ones to /etc/rc.conf
 ifconfig_rl1=inet 192.168.1.1  netmask 255.255.255.0
 dhcpd_enable=YES
 dhcpd_conf=/usr/local/etc/dhcpd.conf
 dhcpd_ifaces=rl1


 4. Opened the adequate port in pf
 pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = 
 bootps flags S/SA keep state
 pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = 
 bootps keep state

 5.. When I start de daemon:
 # /usr/local/etc/rc.d/isc-dhcpd start
 Starting dhcpd.
 Internet Systems Consortium DHCP Server V3.0.7
 Copyright 2004-2008 Internet Systems Consortium.
 All rights reserved.
 For info, please visit http://www.isc.org/sw/dhcp/
 Wrote 0 leases to leases file.
 Listening on Socket/rl1/192.168.1/24
 Sending on   Socket/rl1/192.168.1/24

 Everythings looks to be ok there but on the client (I tried OS-X and Nokia 
 symbian) I can not obtain the IP address, do you have any idea what should I 
 check?


 Thanks!
 Laci



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

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




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


Re: Gnokii with USB2

2009-11-01 Thread Hans Petter Selasky
On Saturday 31 October 2009 20:48:57 Jille Timmermans wrote:
 I'm trying to read the SMS of my telephone using comms/gnokii. But I
 can't figure out which 'port' (thing in /dev) I must pass to gnokii.
 /dev/usb/0.2.{0,1,2}, /dev/ugen0.2, /dev/da0, /dev/pass0 all didn't work
 (Yes, I know trying da0 was not a really smart/safe idea). But those are
 the only new devices which showed up after connecting the USB-cable.


I think that connection = serial is wrong. You should not have to specify 
port for USB. Also check that your device shows up when you type usbconfig 
as the user you are running gnokiirc. Also make sure gnokiirc is compiled with 
USB support.

--HPS


 My ~/.gnokiirc:
 [global]
 port = /dev/usb/0.2.1
 model = AT
 connection = serial

 [logging]
 debug = on

 OS:
 FreeBSD 8.0-CURRENT r193930 of June 10

 Telephone:
 LG K800


 -- Jille

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


Re: dhcpd related issue

2009-11-01 Thread Dánielisz László
I had one more idea: try nmap on my dhcp server, and port 67 does not seems to 
be opened, after I tried telneting in and my connection was refused:

$ telnet 192.168.1.1 67
Trying 192.168.1.1...
telnet: connect to address 192.168.1.1: Connection refused
telnet: Unable to connect to remote host

Than I disabled pf
# pfctl -d
No ALTQ support in kernel
ALTQ related functions disabled
pf disabled

Than I checked telnet/nmap again but still don't found any 67 port ever there. 
I checked again that the dhcpd is running, and its up:
# ps ax|grep dhcp
  958  ??  Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf 
-lf /var/db/dhcpd/dhcpd.lease

Any idea?





From: Dánielisz László laszlo_daniel...@yahoo.com
To: patrick gibblert...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 8:34:03 AM
Subject: Re: dhcpd related issue

It's the same, I still don't got any IP address.





From: patrick gibblert...@gmail.com
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 6:38:31 AM
Subject: Re: dhcpd related issue

What happens if you disable pf temporarily?

2009/10/31 Dánielisz László laszlo_daniel...@yahoo.com:
 Hello,

 I just configured my dhcpd but it gives no IP-s.
 What had I done until now:

  1. Installed isc-dhcp via ports

 2. edited the /usr/local/etc/dhcpd.conf

 option domain-name bsd;
 option domain-name-servers my dns server ip;
 option subnet-mask 255.255.255.0;
 authoritative;

 default-lease-time 3600;
 max-lease-time 86400;
 ddns-update-style none;

 subnet 192.168.1.0 netmask 255.255.255.0 {
 range 192.168.1.129 192.168.1.250;
 option routers 192.168.1.1;
 }

 3. Added the following ones to /etc/rc.conf
 ifconfig_rl1=inet 192.168.1.1  netmask 255.255.255.0
 dhcpd_enable=YES
 dhcpd_conf=/usr/local/etc/dhcpd.conf
 dhcpd_ifaces=rl1


 4. Opened the adequate port in pf
 pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = 
 bootps flags S/SA keep state
 pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = 
 bootps keep state

 5.. When I start de daemon:
 # /usr/local/etc/rc.d/isc-dhcpd start
 Starting dhcpd.
 Internet Systems Consortium DHCP Server V3.0.7
 Copyright 2004-2008 Internet Systems Consortium.
 All rights reserved.
 For info, please visit http://www.isc.org/sw/dhcp/
 Wrote 0 leases to leases file.
 Listening on Socket/rl1/192.168.1/24
 Sending on   Socket/rl1/192.168.1/24

 Everythings looks to be ok there but on the client (I tried OS-X and Nokia 
 symbian) I can not obtain the IP address, do you have any idea what should I 
 check?


 Thanks!
 Laci



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

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




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




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


Re: dhcpd related issue - not giving up

2009-11-01 Thread Dánielisz László
I don't give it up, doing some tcpdump on my BSD I can see the dhcp request 
reaches the machine, the dhcpd is running, but why doesn't gives any IP?

# tcpdump -i rl1 -n port 67 or port 68
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
11:51:43.086597 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:51:45.102260 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:51:49.114960 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:51:57.150734 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:51:59.157311 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:52:03.160029 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:57:09.770520 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
11:57:11.941379 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
11:57:14.928398 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
11:57:16.378911 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
11:57:17.703219 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
11:57:18.839763 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300







From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 11:06:36 AM
Subject: Re: dhcpd related issue

I had one more idea: try nmap on my dhcp server, and port 67 does not seems to 
be opened, after I tried telneting in and my connection was refused:

$ telnet 192.168.1.1 67
Trying 192.168.1.1...
telnet: connect to address 192.168.1.1: Connection refused
telnet: Unable to connect to remote host

Than I disabled pf
# pfctl -d
No ALTQ support in kernel
ALTQ related functions disabled
pf disabled

Than I checked telnet/nmap again but still don't found any 67 port ever there. 
I checked again that the dhcpd is running, and its up:
# ps ax|grep dhcp
  958  ??  Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf 
-lf /var/db/dhcpd/dhcpd.lease

Any idea?





From: Dánielisz László laszlo_daniel...@yahoo.com
To: patrick gibblert...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 8:34:03 AM
Subject: Re: dhcpd related issue

It's the same, I still don't got any IP address.





From: patrick gibblert...@gmail.com
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 6:38:31 AM
Subject: Re: dhcpd related issue

What happens if you disable pf temporarily?

2009/10/31 Dánielisz László laszlo_daniel...@yahoo.com:
 Hello,

 I just configured my dhcpd but it gives no IP-s.
 What had I done until now:

  1. Installed isc-dhcp via ports

 2. edited the /usr/local/etc/dhcpd.conf

 option domain-name bsd;
 option domain-name-servers my dns server ip;
 option subnet-mask 255.255.255.0;
 authoritative;

 default-lease-time 3600;
 max-lease-time 86400;
 ddns-update-style none;

 subnet 192.168.1.0 netmask 255.255.255.0 {
 range 192.168.1.129 192.168.1.250;
 option routers 192.168.1.1;
 }

 3. Added the following ones to /etc/rc.conf
 ifconfig_rl1=inet 192.168.1.1  netmask 255.255.255.0
 dhcpd_enable=YES
 dhcpd_conf=/usr/local/etc/dhcpd.conf
 dhcpd_ifaces=rl1


 4. Opened the adequate port in pf
 pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = 
 bootps flags S/SA keep state
 pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = 
 bootps keep state

 5.. When I start de daemon:
 # /usr/local/etc/rc.d/isc-dhcpd start
 Starting dhcpd.
 Internet Systems Consortium DHCP Server V3.0.7
 Copyright 2004-2008 Internet Systems Consortium.
 All rights reserved.
 For info, please visit http://www.isc.org/sw/dhcp/
 Wrote 0 leases to leases file.
 Listening on Socket/rl1/192.168.1/24
 Sending on   Socket/rl1/192.168.1/24

 Everythings looks to be ok there but on the client (I tried OS-X and Nokia 
 symbian) I can not obtain the IP address, do you have any idea what should I 
 check?


 Thanks!
 Laci



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

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





Re: dhcpd related issue - not giving up

2009-11-01 Thread krad
2009/11/1 Dánielisz László laszlo_daniel...@yahoo.com

 I don't give it up, doing some tcpdump on my BSD I can see the dhcp request
 reaches the machine, the dhcpd is running, but why doesn't gives any IP?

 # tcpdump -i rl1 -n port 67 or port 68
 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
 listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
 11:51:43.086597 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:51:45.102260 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:51:49.114960 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:51:57.150734 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:51:59.157311 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:52:03.160029 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:57:09.770520 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300
 11:57:11.941379 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300
 11:57:14.928398 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300
 11:57:16.378911 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300
 11:57:17.703219 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300
 11:57:18.839763 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300






 
 From: Dánielisz László laszlo_daniel...@yahoo.com
 To: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 11:06:36 AM
 Subject: Re: dhcpd related issue

 I had one more idea: try nmap on my dhcp server, and port 67 does not seems
 to be opened, after I tried telneting in and my connection was refused:

 $ telnet 192.168.1.1 67
 Trying 192.168.1.1...
 telnet: connect to address 192.168.1.1: Connection refused
 telnet: Unable to connect to remote host

 Than I disabled pf
 # pfctl -d
 No ALTQ support in kernel
 ALTQ related functions disabled
 pf disabled

 Than I checked telnet/nmap again but still don't found any 67 port ever
 there. I checked again that the dhcpd is running, and its up:
 # ps ax|grep dhcp
  958  ??  Is 0:00.00 /usr/local/sbin/dhcpd -cf
 /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease

 Any idea?




 
 From: Dánielisz László laszlo_daniel...@yahoo.com
 To: patrick gibblert...@gmail.com
 Cc: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 8:34:03 AM
 Subject: Re: dhcpd related issue

 It's the same, I still don't got any IP address.




 
 From: patrick gibblert...@gmail.com
 To: Dánielisz László laszlo_daniel...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 6:38:31 AM
 Subject: Re: dhcpd related issue

 What happens if you disable pf temporarily?

 2009/10/31 Dánielisz László laszlo_daniel...@yahoo.com:
  Hello,
 
  I just configured my dhcpd but it gives no IP-s.
  What had I done until now:
 
   1. Installed isc-dhcp via ports
 
  2. edited the /usr/local/etc/dhcpd.conf
 
  option domain-name bsd;
  option domain-name-servers my dns server ip;
  option subnet-mask 255.255.255.0;
  authoritative;
 
  default-lease-time 3600;
  max-lease-time 86400;
  ddns-update-style none;
 
  subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.129 192.168.1.250;
  option routers 192.168.1.1;
  }
 
  3. Added the following ones to /etc/rc.conf
  ifconfig_rl1=inet 192.168.1.1  netmask 255.255.255.0
  dhcpd_enable=YES
  dhcpd_conf=/usr/local/etc/dhcpd.conf
  dhcpd_ifaces=rl1
 
 
  4. Opened the adequate port in pf
  pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1
 port = bootps flags S/SA keep state
  pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1
 port = bootps keep state
 
  5.. When I start de daemon:
  # /usr/local/etc/rc.d/isc-dhcpd start
  Starting dhcpd.
  Internet Systems Consortium DHCP Server V3.0.7
  Copyright 2004-2008 Internet Systems Consortium.
  All rights reserved.
  For info, please visit http://www.isc.org/sw/dhcp/
  Wrote 0 leases to leases file.
  Listening on Socket/rl1/192.168.1/24
  Sending on   Socket/rl1/192.168.1/24
 
  Everythings looks to be ok there but on the client (I tried OS-X and
 Nokia symbian) I can not obtain the IP address, do you have any idea what
 should I check?
 
 
  Thanks!
  Laci
 
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 ___
 

Re: best way to install/update software and firewall choice

2009-11-01 Thread Guy Marcenac

Thanks to all

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


Re: dhcpd related issue - not giving up

2009-11-01 Thread Dánielisz László
Well, it says:

rl1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 
1500
options=8VLAN_MTU
ether 00:13:8f:86:2f:64
inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active





From: krad kra...@googlemail.com
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 12:09:30 PM
Subject: Re: dhcpd related issue - not giving up




2009/11/1 Dánielisz László laszlo_daniel...@yahoo.com

I don't give it up, doing some tcpdump on my BSD I can see the dhcp request 
reaches the machine, the dhcpd is running, but why doesn't gives any IP?

# tcpdump -i rl1 -n port 67 or port 68
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
11:51:43.086597 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:51:45.102260 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:51:49.114960 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:51:57.150734 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:51:59.157311 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:52:03.160029 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:24:03:f1:bd:36, length 300
11:57:09.770520 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
11:57:11.941379 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
11:57:14.928398 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
11:57:16.378911 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
11:57:17.703219 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
11:57:18.839763 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300







From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 11:06:36 AM
Subject: Re: dhcpd related issue

I had one more idea: try nmap on my dhcp server, and port 67 does not seems 
to be opened, after I tried telneting in and my connection was refused:

$ telnet 192.168.1.1 67
Trying 192.168.1.1...
telnet: connect to address 192.168.1.1: Connection refused
telnet: Unable to connect to remote host

Than I disabled pf
# pfctl -d
No ALTQ support in kernel
ALTQ related functions disabled
pf disabled

Than I checked telnet/nmap again but still don't found any 67 port ever 
there. I checked again that the dhcpd is running, and its up:
# ps ax|grep dhcp
  958  ??  Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf 
 -lf /var/db/dhcpd/dhcpd.lease

Any idea?





From: Dánielisz László laszlo_daniel...@yahoo.com
To: patrick gibblert...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 8:34:03 AM
Subject: Re: dhcpd related issue

It's the same, I still don't got any IP address.





From: patrick gibblert...@gmail.com
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 6:38:31 AM
Subject: Re: dhcpd related issue

What happens if you disable pf temporarily?

2009/10/31 Dánielisz László laszlo_daniel...@yahoo.com:
 Hello,

 I just configured my dhcpd but it gives no IP-s.
 What had I done until now:

  1. Installed isc-dhcp via ports

 2. edited the /usr/local/etc/dhcpd.conf

 option domain-name bsd;
 option domain-name-servers my dns server ip;
 option subnet-mask 255.255.255.0;
 authoritative;

 default-lease-time 3600;
 max-lease-time 86400;
 ddns-update-style none;

 subnet 192.168.1.0 netmask 255.255.255.0 {
 range 192.168.1.129 192.168.1.250;
 option routers 192.168.1.1;
 }

 3. Added the following ones to /etc/rc.conf
 ifconfig_rl1=inet 192.168.1.1  netmask 255.255.255.0
 dhcpd_enable=YES
 dhcpd_conf=/usr/local/etc/dhcpd.conf
 dhcpd_ifaces=rl1


 4. Opened the adequate port in pf
 pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = 
 bootps flags S/SA keep state
 pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = 
 bootps keep state

 5.. When I start de daemon:
 # /usr/local/etc/rc.d/isc-dhcpd start
 Starting dhcpd.
 Internet Systems Consortium DHCP Server V3.0.7
 Copyright 2004-2008 Internet Systems Consortium.
 All rights reserved.
 For info, please visit http://www.isc.org/sw/dhcp/
 Wrote 0 leases to leases file.
 Listening on Socket/rl1/192.168.1/24
 Sending on   Socket/rl1/192.168.1/24

 Everythings looks to be ok there but on the client (I tried 

Re: dhcpd related issue

2009-11-01 Thread Trond Endrestøl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 1 Nov 2009 02:06-0800, Dánielisz László wrote:

 I had one more idea: try nmap on my dhcp server, and port 67 does 
 not seems to be opened, after I tried telneting in and my connection 
 was refused:
 
 $ telnet 192.168.1.1 67
 Trying 192.168.1.1...
 telnet: connect to address 192.168.1.1: Connection refused
 telnet: Unable to connect to remote host

DHCP uses UDP, telnet uses TCP, no wonder you're getting refused.

Do you have bpf (Berkeley packet filter) compiled in the kernel?
dhcpd relies on bpf. Just a thought, although dhcpd would probably 
shut down if bpf is unavailable.

As others have suggested, please post the output from ifconfig rl1, 
and from netstat -rnf inet.

 Than I disabled pf
 # pfctl -d
 No ALTQ support in kernel
 ALTQ related functions disabled
 pf disabled

Just another (silly) thought, does your pf setup allow UDP from 
192.168.1.1:67 to *:68 over the rl1 interface?

 Than I checked telnet/nmap again but still don't found any 67 port 
 ever there. I checked again that the dhcpd is running, and its up:

 # ps ax|grep dhcp
   958  ??  Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf 
 -lf /var/db/dhcpd/dhcpd.lease
 
 Any idea?

Did you restart dhcpd?
What's the output from fstat with respect to dhcpd?

The output should be something resembling:

dhcpddhcpd  18990 root / 2 drwxr-xr-x1024  r
dhcpddhcpd  18990   wd / 6 drwxr-xr-x1024  r
dhcpddhcpd  18990 text /usr 10505569 -rwxr-xr-x  595924  r
dhcpddhcpd  189900 /dev 14 crw-rw-rw-null rw
dhcpddhcpd  189901 /dev 14 crw-rw-rw-null rw
dhcpddhcpd  189902 /dev 14 crw-rw-rw-null rw
dhcpddhcpd  189903* local dgram c32224b4 - c32228bc
dhcpddhcpd  189904* internet raw icmp c32d8b2c
dhcpddhcpd  189905* internet dgram udp c3173974
dhcpddhcpd  189906 /var  70999 -rw-r--r--   93335  w
dhcpddhcpd  189907 /dev  7 crw--- bpf rw

If you happen to have lsof installed, it should yield something like 
this:

dhcpd 18990 1 dhcpd  cwd   VDIR   0,98   10246 /root
dhcpd 18990 1 dhcpd  rtd   VDIR   0,98   10242 /
dhcpd 18990 1 dhcpd  txt   VREG  0,106 595924 10505569 
/usr/local/sbin/dhcpd
dhcpd 18990 1 dhcpd  txt   VREG   0,98 22013626684 
/libexec/ld-elf.so.1
dhcpd 18990 1 dhcpd  txt   VREG   0,981143792 1327 
/lib/libc.so.7
dhcpd 18990 1 dhcpd0u  VCHR   0,140t0   14 /dev/null
dhcpd 18990 1 dhcpd1u  VCHR   0,140t0   14 /dev/null
dhcpd 18990 1 dhcpd2u  VCHR   0,140t0   14 /dev/null
dhcpd 18990 1 dhcpd3u  unix 0xc31719a80t0  
-0xc3171b44 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=32768,SNDBUF=16384 
SS=ISCONNECTED)
dhcpd 18990 1 dhcpd4u  IPv4 0xc32d8b2c0t0 ICMP *:* 
(QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=73728,SNDBUF=73728)
dhcpd 18990 1 dhcpd5u  IPv4 0xc31750600t0  UDP *:bootps 
(QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=262144,REUSEADDR,SNDBUF=73728)
dhcpd 18990 1 dhcpd6w  VREG  0,104  9406170999 /var 
(/dev/ufs/var)
dhcpd 18990 1 dhcpd7u  VCHR0,7 0t267449857 /dev/bpf


HTH,
Trond.

 
 From: Dánielisz László laszlo_daniel...@yahoo.com
 To: patrick gibblert...@gmail.com
 Cc: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 8:34:03 AM
 Subject: Re: dhcpd related issue
 
 It's the same, I still don't got any IP address.
 
 
 
 
 
 From: patrick gibblert...@gmail.com
 To: Dánielisz László laszlo_daniel...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 6:38:31 AM
 Subject: Re: dhcpd related issue
 
 What happens if you disable pf temporarily?
 
 2009/10/31 Dánielisz László laszlo_daniel...@yahoo.com:
  Hello,
 
  I just configured my dhcpd but it gives no IP-s.
  What had I done until now:
 
   1. Installed isc-dhcp via ports
 
  2. edited the /usr/local/etc/dhcpd.conf
 
  option domain-name bsd;
  option domain-name-servers my dns server ip;
  option subnet-mask 255.255.255.0;
  authoritative;
 
  default-lease-time 3600;
  max-lease-time 86400;
  ddns-update-style none;
 
  subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.129 192.168.1.250;
  option routers 192.168.1.1;
  }
 
  3. Added the following ones to /etc/rc.conf
  ifconfig_rl1=inet 192.168.1.1  netmask 255.255.255.0
  dhcpd_enable=YES
  dhcpd_conf=/usr/local/etc/dhcpd.conf
  dhcpd_ifaces=rl1
 
 
  4. Opened the adequate port in pf
  pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = 
  bootps flags S/SA keep state
  pass in log on rl1 inet proto udp from 192.168.1.0/24 to 

Re: dhcpd related issue

2009-11-01 Thread Trond Endrestøl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 1 Nov 2009 12:30+0100, Trond Endrestøl wrote:

 On Sun, 1 Nov 2009 02:06-0800, Dánielisz László wrote:
 
  I had one more idea: try nmap on my dhcp server, and port 67 does 
  not seems to be opened, after I tried telneting in and my connection 
  was refused:
  
  $ telnet 192.168.1.1 67
  Trying 192.168.1.1...
  telnet: connect to address 192.168.1.1: Connection refused
  telnet: Unable to connect to remote host
 
 DHCP uses UDP, telnet uses TCP, no wonder you're getting refused.
 
 Do you have bpf (Berkeley packet filter) compiled in the kernel?
 dhcpd relies on bpf. Just a thought, although dhcpd would probably 
 shut down if bpf is unavailable.
 
 As others have suggested, please post the output from ifconfig rl1, 
 and from netstat -rnf inet.
 
  Than I disabled pf
  # pfctl -d
  No ALTQ support in kernel
  ALTQ related functions disabled
  pf disabled
 
 Just another (silly) thought, does your pf setup allow UDP from 
 192.168.1.1:67 to *:68 over the rl1 interface?

Initially the DHCP client uses 0.0.0.0 as its IP address and 
broadcasts the DHCP requests to 255.255.255.255. I know you have 
disabled pf, but you should later allow the clients and dhcpd to send 
DHCP messages using the above addresses, i.e. dhcpd will broadcast 
back the offerings using its own IP-address as source (192.168.1.1 in 
your case) and the broadcast address 255.255.255.255 as destination. 
You should probably also allow for the use of 192.168.1.255 as 
broadcast address in your pf setup with respect to DHCP messages.


More ranting on my part,
Trond.

  Than I checked telnet/nmap again but still don't found any 67 port 
  ever there. I checked again that the dhcpd is running, and its up:
 
  # ps ax|grep dhcp
958  ??  Is 0:00.00 /usr/local/sbin/dhcpd -cf 
  /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease
  
  Any idea?
 
 Did you restart dhcpd?
 What's the output from fstat with respect to dhcpd?
 
 The output should be something resembling:
 
 dhcpddhcpd  18990 root / 2 drwxr-xr-x1024  r
 dhcpddhcpd  18990   wd / 6 drwxr-xr-x1024  r
 dhcpddhcpd  18990 text /usr 10505569 -rwxr-xr-x  595924  r
 dhcpddhcpd  189900 /dev 14 crw-rw-rw-null rw
 dhcpddhcpd  189901 /dev 14 crw-rw-rw-null rw
 dhcpddhcpd  189902 /dev 14 crw-rw-rw-null rw
 dhcpddhcpd  189903* local dgram c32224b4 - c32228bc
 dhcpddhcpd  189904* internet raw icmp c32d8b2c
 dhcpddhcpd  189905* internet dgram udp c3173974
 dhcpddhcpd  189906 /var  70999 -rw-r--r--   93335  w
 dhcpddhcpd  189907 /dev  7 crw--- bpf rw
 
 If you happen to have lsof installed, it should yield something like 
 this:
 
 dhcpd 18990 1 dhcpd  cwd   VDIR   0,98   10246 /root
 dhcpd 18990 1 dhcpd  rtd   VDIR   0,98   10242 /
 dhcpd 18990 1 dhcpd  txt   VREG  0,106 595924 10505569 
 /usr/local/sbin/dhcpd
 dhcpd 18990 1 dhcpd  txt   VREG   0,98 22013626684 
 /libexec/ld-elf.so.1
 dhcpd 18990 1 dhcpd  txt   VREG   0,981143792 1327 
 /lib/libc.so.7
 dhcpd 18990 1 dhcpd0u  VCHR   0,140t0   14 
 /dev/null
 dhcpd 18990 1 dhcpd1u  VCHR   0,140t0   14 
 /dev/null
 dhcpd 18990 1 dhcpd2u  VCHR   0,140t0   14 
 /dev/null
 dhcpd 18990 1 dhcpd3u  unix 0xc31719a80t0  
 -0xc3171b44 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=32768,SNDBUF=16384 
 SS=ISCONNECTED)
 dhcpd 18990 1 dhcpd4u  IPv4 0xc32d8b2c0t0 ICMP *:* 
 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=73728,SNDBUF=73728)
 dhcpd 18990 1 dhcpd5u  IPv4 0xc31750600t0  UDP 
 *:bootps (QR=0 QS=0 
 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=262144,REUSEADDR,SNDBUF=73728)
 dhcpd 18990 1 dhcpd6w  VREG  0,104  9406170999 /var 
 (/dev/ufs/var)
 dhcpd 18990 1 dhcpd7u  VCHR0,7 0t267449857 
 /dev/bpf
 
 
 HTH,
 Trond.
 
  
  From: Dánielisz László laszlo_daniel...@yahoo.com
  To: patrick gibblert...@gmail.com
  Cc: freebsd-questions@freebsd.org
  Sent: Sun, November 1, 2009 8:34:03 AM
  Subject: Re: dhcpd related issue
  
  It's the same, I still don't got any IP address.
  
  
  
  
  
  From: patrick gibblert...@gmail.com
  To: Dánielisz László laszlo_daniel...@yahoo.com
  Cc: freebsd-questions@freebsd.org
  Sent: Sun, November 1, 2009 6:38:31 AM
  Subject: Re: dhcpd related issue
  
  What happens if you disable pf temporarily?
  
  2009/10/31 Dánielisz László laszlo_daniel...@yahoo.com:
   Hello,
  
   I just configured my dhcpd but it gives no IP-s.
   What had I done until now:
  
1. Installed isc-dhcp via ports
  
   2. 

Re: dhcpd related issue

2009-11-01 Thread Dánielisz László
The output of:
# ifconfig rl1
rl1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 
1500
options=8VLAN_MTU
ether 00:13:8f:86:2f:64
inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active

And:
# netstat -rnf inet
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
defaultmy_gw_address   UGS 0   116905   tun0
my_ip_address   link#4 UHS 00lo0
my_gw_addresslink#6 UHS 00   tun0
127.0.0.1  link#4 UH  0  327lo0
192.168.1.0/24 link#2 U   199038rl1
192.168.1.1link#4 UHS 00lo0


I'm usinf FreeBSD 8.0, right now I try to figure out how to check if bpf is 
comipled in the generic kernel; just to mention:
# /usr/local/etc/rc.d/isc-dhcpd status
dhcpd is running as pid 3716.



From: Trond Endrestøl trond.endres...@fagskolen.gjovik.no
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 12:30:52 PM
Subject: Re: dhcpd related issue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 1 Nov 2009 02:06-0800, Dánielisz László wrote:

 I had one more idea: try nmap on my dhcp server, and port 67 does 
 not seems to be opened, after I tried telneting in and my connection 
 was refused:
 
 $ telnet 192.168.1.1 67
 Trying 192.168.1.1...
 telnet: connect to address 192.168.1.1: Connection refused
 telnet: Unable to connect to remote host

DHCP uses UDP, telnet uses TCP, no wonder you're getting refused.

Do you have bpf (Berkeley packet filter) compiled in the kernel?
dhcpd relies on bpf. Just a thought, although dhcpd would probably 
shut down if bpf is unavailable.

As others have suggested, please post the output from ifconfig rl1, 
and from netstat -rnf inet.

 Than I disabled pf
 # pfctl -d
 No ALTQ support in kernel
 ALTQ related functions disabled
 pf disabled

Just another (silly) thought, does your pf setup allow UDP from 
192.168.1.1:67 to *:68 over the rl1 interface?

 Than I checked telnet/nmap again but still don't found any 67 port 
 ever there. I checked again that the dhcpd is running, and its up:

 # ps ax|grep dhcp
   958  ??  Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf 
 -lf /var/db/dhcpd/dhcpd.lease
 
 Any idea?

Did you restart dhcpd?
What's the output from fstat with respect to dhcpd?

The output should be something resembling:

dhcpddhcpd  18990 root / 2 drwxr-xr-x1024  r
dhcpddhcpd  18990   wd / 6 drwxr-xr-x1024  r
dhcpddhcpd  18990 text /usr 10505569 -rwxr-xr-x  595924  r
dhcpddhcpd  189900 /dev 14 crw-rw-rw-null rw
dhcpddhcpd  189901 /dev 14 crw-rw-rw-null rw
dhcpddhcpd  189902 /dev 14 crw-rw-rw-null rw
dhcpddhcpd  189903* local dgram c32224b4 - c32228bc
dhcpddhcpd  189904* internet raw icmp c32d8b2c
dhcpddhcpd  189905* internet dgram udp c3173974
dhcpddhcpd  189906 /var  70999 -rw-r--r--   93335  w
dhcpddhcpd  189907 /dev  7 crw--- bpf rw

If you happen to have lsof installed, it should yield something like 
this:

dhcpd 18990 1 dhcpd  cwd   VDIR   0,98   10246 /root
dhcpd 18990 1 dhcpd  rtd   VDIR   0,98   10242 /
dhcpd 18990 1 dhcpd  txt   VREG  0,106 595924 10505569 
/usr/local/sbin/dhcpd
dhcpd 18990 1 dhcpd  txt   VREG   0,98 22013626684 
/libexec/ld-elf.so.1
dhcpd 18990 1 dhcpd  txt   VREG   0,981143792 1327 
/lib/libc.so.7
dhcpd 18990 1 dhcpd0u  VCHR   0,140t0   14 /dev/null
dhcpd 18990 1 dhcpd1u  VCHR   0,140t0   14 /dev/null
dhcpd 18990 1 dhcpd2u  VCHR   0,140t0   14 /dev/null
dhcpd 18990 1 dhcpd3u  unix 0xc31719a80t0  
-0xc3171b44 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=32768,SNDBUF=16384 
SS=ISCONNECTED)
dhcpd 18990 1 dhcpd4u  IPv4 0xc32d8b2c0t0 ICMP *:* 
(QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=73728,SNDBUF=73728)
dhcpd 18990 1 dhcpd5u  IPv4 0xc31750600t0  UDP *:bootps 
(QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=262144,REUSEADDR,SNDBUF=73728)
dhcpd 18990 1 dhcpd6w  VREG  0,104  9406170999 /var 
(/dev/ufs/var)
dhcpd 18990 1 dhcpd7u  VCHR0,7 0t267449857 /dev/bpf


HTH,
Trond.

 
 From: Dánielisz László laszlo_daniel...@yahoo.com
 To: patrick gibblert...@gmail.com
 Cc: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 8:34:03 AM
 Subject: Re: dhcpd related 

Re: dhcpd related issue

2009-11-01 Thread Dánielisz László
Thank you Trond! 
True and I'll implement this to my pf.conf just first I want to make work this 
dhcpd :-)





From: Trond Endrestøl trond.endres...@fagskolen.gjovik.no
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 12:48:45 PM
Subject: Re: dhcpd related issue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 1 Nov 2009 12:30+0100, Trond Endrestøl wrote:

 On Sun, 1 Nov 2009 02:06-0800, Dánielisz László wrote:
 
  I had one more idea: try nmap on my dhcp server, and port 67 does 
  not seems to be opened, after I tried telneting in and my connection 
  was refused:
  
  $ telnet 192.168.1.1 67
  Trying 192.168.1.1...
  telnet: connect to address 192.168.1.1: Connection refused
  telnet: Unable to connect to remote host
 
 DHCP uses UDP, telnet uses TCP, no wonder you're getting refused.
 
 Do you have bpf (Berkeley packet filter) compiled in the kernel?
 dhcpd relies on bpf. Just a thought, although dhcpd would probably 
 shut down if bpf is unavailable.
 
 As others have suggested, please post the output from ifconfig rl1, 
 and from netstat -rnf inet.
 
  Than I disabled pf
  # pfctl -d
  No ALTQ support in kernel
  ALTQ related functions disabled
  pf disabled
 
 Just another (silly) thought, does your pf setup allow UDP from 
 192.168.1.1:67 to *:68 over the rl1 interface?

Initially the DHCP client uses 0.0.0.0 as its IP address and 
broadcasts the DHCP requests to 255.255.255.255. I know you have 
disabled pf, but you should later allow the clients and dhcpd to send 
DHCP messages using the above addresses, i.e. dhcpd will broadcast 
back the offerings using its own IP-address as source (192.168.1.1 in 
your case) and the broadcast address 255.255.255.255 as destination. 
You should probably also allow for the use of 192.168.1.255 as 
broadcast address in your pf setup with respect to DHCP messages.


More ranting on my part,
Trond.

  Than I checked telnet/nmap again but still don't found any 67 port 
  ever there. I checked again that the dhcpd is running, and its up:
 
  # ps ax|grep dhcp
958  ??  Is 0:00.00 /usr/local/sbin/dhcpd -cf 
  /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease
  
  Any idea?
 
 Did you restart dhcpd?
 What's the output from fstat with respect to dhcpd?
 
 The output should be something resembling:
 
 dhcpddhcpd  18990 root / 2 drwxr-xr-x1024  r
 dhcpddhcpd  18990   wd / 6 drwxr-xr-x1024  r
 dhcpddhcpd  18990 text /usr 10505569 -rwxr-xr-x  595924  r
 dhcpddhcpd  189900 /dev 14 crw-rw-rw-null rw
 dhcpddhcpd  189901 /dev 14 crw-rw-rw-null rw
 dhcpddhcpd  189902 /dev 14 crw-rw-rw-null rw
 dhcpddhcpd  189903* local dgram c32224b4 - c32228bc
 dhcpddhcpd  189904* internet raw icmp c32d8b2c
 dhcpddhcpd  189905* internet dgram udp c3173974
 dhcpddhcpd  189906 /var  70999 -rw-r--r--   93335  w
 dhcpddhcpd  189907 /dev  7 crw--- bpf rw
 
 If you happen to have lsof installed, it should yield something like 
 this:
 
 dhcpd 18990 1 dhcpd  cwd   VDIR   0,98   10246 /root
 dhcpd 18990 1 dhcpd  rtd   VDIR   0,98   10242 /
 dhcpd 18990 1 dhcpd  txt   VREG  0,106 595924 10505569 
 /usr/local/sbin/dhcpd
 dhcpd 18990 1 dhcpd  txt   VREG   0,98 22013626684 
 /libexec/ld-elf.so.1
 dhcpd 18990 1 dhcpd  txt   VREG   0,981143792 1327 
 /lib/libc.so.7
 dhcpd 18990 1 dhcpd0u  VCHR   0,140t0   14 
 /dev/null
 dhcpd 18990 1 dhcpd1u  VCHR   0,140t0   14 
 /dev/null
 dhcpd 18990 1 dhcpd2u  VCHR   0,140t0   14 
 /dev/null
 dhcpd 18990 1 dhcpd3u  unix 0xc31719a80t0  
 -0xc3171b44 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=32768,SNDBUF=16384 
 SS=ISCONNECTED)
 dhcpd 18990 1 dhcpd4u  IPv4 0xc32d8b2c0t0 ICMP *:* 
 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=73728,SNDBUF=73728)
 dhcpd 18990 1 dhcpd5u  IPv4 0xc31750600t0  UDP 
 *:bootps (QR=0 QS=0 
 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=262144,REUSEADDR,SNDBUF=73728)
 dhcpd 18990 1 dhcpd6w  VREG  0,104  9406170999 /var 
 (/dev/ufs/var)
 dhcpd 18990 1 dhcpd7u  VCHR0,7 0t267449857 
 /dev/bpf
 
 
 HTH,
 Trond.
 
  
  From: Dánielisz László laszlo_daniel...@yahoo.com
  To: patrick gibblert...@gmail.com
  Cc: freebsd-questions@freebsd.org
  Sent: Sun, November 1, 2009 8:34:03 AM
  Subject: Re: dhcpd related issue
  
  It's the same, I still don't got any IP address.
  
  
  
  
  
  From: patrick gibblert...@gmail.com
  To: Dánielisz László laszlo_daniel...@yahoo.com
  Cc: 

Re: dhcpd related issue - not giving up

2009-11-01 Thread krad
2009/11/1 Dánielisz László laszlo_daniel...@yahoo.com

 Well, it says:

 rl1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0
 mtu 1500
 options=8VLAN_MTU
 ether 00:13:8f:86:2f:64
 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active

 --
 *From:* krad kra...@googlemail.com

 *To:* Dánielisz László laszlo_daniel...@yahoo.com
 *Cc:* freebsd-questions@freebsd.org
 *Sent:* Sun, November 1, 2009 12:09:30 PM
 *Subject:* Re: dhcpd related issue - not giving up



 2009/11/1 Dánielisz László laszlo_daniel...@yahoo.com

 I don't give it up, doing some tcpdump on my BSD I can see the dhcp
 request reaches the machine, the dhcpd is running, but why doesn't gives any
 IP?

 # tcpdump -i rl1 -n port 67 or port 68
 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
 listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
 11:51:43.086597 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:51:45.102260 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:51:49.114960 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:51:57.150734 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:51:59.157311 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:52:03.160029 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300
 11:57:09.770520 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300
 11:57:11.941379 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300
 11:57:14.928398 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300
 11:57:16.378911 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300
 11:57:17.703219 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300
 11:57:18.839763 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:23:6c:86:41:d9, length 300






 
 From: Dánielisz László laszlo_daniel...@yahoo.com
 To: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 11:06:36 AM
 Subject: Re: dhcpd related issue

 I had one more idea: try nmap on my dhcp server, and port 67 does not
 seems to be opened, after I tried telneting in and my connection was
 refused:

 $ telnet 192.168.1.1 67
 Trying 192.168.1.1...
 telnet: connect to address 192.168.1.1: Connection refused
 telnet: Unable to connect to remote host

 Than I disabled pf
 # pfctl -d
 No ALTQ support in kernel
 ALTQ related functions disabled
 pf disabled

 Than I checked telnet/nmap again but still don't found any 67 port ever
 there. I checked again that the dhcpd is running, and its up:
 # ps ax|grep dhcp
  958  ??  Is 0:00.00 /usr/local/sbin/dhcpd -cf
 /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease

 Any idea?




 
 From: Dánielisz László laszlo_daniel...@yahoo.com
 To: patrick gibblert...@gmail.com
 Cc: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 8:34:03 AM
 Subject: Re: dhcpd related issue

 It's the same, I still don't got any IP address.




 
 From: patrick gibblert...@gmail.com
 To: Dánielisz László laszlo_daniel...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 6:38:31 AM
 Subject: Re: dhcpd related issue

 What happens if you disable pf temporarily?

 2009/10/31 Dánielisz László laszlo_daniel...@yahoo.com:
  Hello,
 
  I just configured my dhcpd but it gives no IP-s.
  What had I done until now:
 
   1. Installed isc-dhcp via ports
 
  2. edited the /usr/local/etc/dhcpd.conf
 
  option domain-name bsd;
  option domain-name-servers my dns server ip;
  option subnet-mask 255.255.255.0;
  authoritative;
 
  default-lease-time 3600;
  max-lease-time 86400;
  ddns-update-style none;
 
  subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.129 192.168.1.250;
  option routers 192.168.1.1;
  }
 
  3. Added the following ones to /etc/rc.conf
  ifconfig_rl1=inet 192.168.1.1  netmask 255.255.255.0
  dhcpd_enable=YES
  dhcpd_conf=/usr/local/etc/dhcpd.conf
  dhcpd_ifaces=rl1
 
 
  4. Opened the adequate port in pf
  pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1
 port = bootps flags S/SA keep state
  pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1
 port = bootps keep state
 
  5.. When I start de daemon:
  # /usr/local/etc/rc.d/isc-dhcpd start
  Starting dhcpd.
  Internet Systems Consortium DHCP Server V3.0.7
  Copyright 2004-2008 Internet Systems Consortium.
  All rights reserved.
  For info, please visit http://www.isc.org/sw/dhcp/
  Wrote 

Re: system() call causes core dump

2009-11-01 Thread usleepless
On Sat, Oct 31, 2009 at 4:55 PM, Kris Kennaway k...@freebsd.org wrote:

 Peter Steele wrote:

 I have an application running a number of threads. I've had recent
 instances where the code below is causing a core dump to occur:

 char fstatCmd[200];
 char *fstatOut = /tmp/fstat.out;
 sprintf(fstatCmd, fstat | grep -v USER | wc -l %s, fstatOut);
 rc = system(fstatCmd);

 The call is simply intended to get a count of the current open handles.
 The system call though causes a core:

 #0 0x000801058307 in _spinunlock () from /lib/libthr.so.3
 #1 0x0008011d0afb in _malloc_postfork () from /lib/libc.so.7
 #2 0x00080105c5fb in fork () from /lib/libthr.so.3
 #3 0x000801191aae in system () from /lib/libc.so.7
 #4 0x0008010553aa in system () from /lib/libthr.so.3
 #5 0x0040b6f9 in mythread at myapp.c:461
 #6 0x000801056a88 in pthread_getprio () from /lib/libthr.so.3

 There appears to be some kind of thread-safe issue going on. I have a
 number of threads that are monitoring various items, waking up a differing
 intervals to do their respective tasks. Do I need to put in a global mutex
 so that the threads never attempt to make simultaneous system() calls?
 Curiously, only this particular system() call appears to be causing a core.


 In UNIX it is not safe to perform arbitrary actions after forking a
 multi-threaded process.  You're basically expected to call exec soon after
 the fork, although you can do certain other work if you are very careful.

 The reason for this is that after the fork, only one thread will be running
 in the child, and if that thread tries to acquire a lock or other
 formerly-shared resource it may deadlock or crash, because the child process
 is no longer accessing the same memory location as the threads in the parent
 process (it gets a separate copy of the address space at the time of fork,
 which may not be in a consistent state from the point of view of the thread
 library).


Are you  saying system/popen can't be used in threads? Is there a
workaround? ( forking manual and executing exec? )

Would calling 'system(exec fstat | ...  result.txt)' make any difference?

just curious,

kind regards,

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


Re: dhcpd related issue - not giving up

2009-11-01 Thread Dánielisz László
Right now I'm using a layer 3 switch but I also tried with direct UTP 
connection between BSD-s rl1 port and MacBook's en0 port and I experience the 
same.





From: krad kra...@googlemail.com
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 1:39:13 PM
Subject: Re: dhcpd related issue - not giving up




2009/11/1 Dánielisz László laszlo_daniel...@yahoo.com

Well, it says:

rl1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 
1500
options=8VLAN_MTU
ether 00:13:8f:86:2f:64
inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active





From: krad kra...@googlemail.com

To: Dánielisz László
 laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 12:09:30 PM
Subject: Re: dhcpd related issue - not giving up





2009/11/1 Dánielisz László laszlo_daniel...@yahoo.com


I don't give it up, doing some tcpdump on my BSD I can see the dhcp request 
reaches the machine, the dhcpd is running, but why doesn't gives any IP?

# tcpdump -i rl1 -n port 67 or port 68
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
11:51:43.086597 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:24:03:f1:bd:36, length 300
11:51:45.102260 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:24:03:f1:bd:36, length 300
11:51:49.114960 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:24:03:f1:bd:36, length 300
11:51:57.150734 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:24:03:f1:bd:36, length 300
11:51:59.157311 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:24:03:f1:bd:36, length 300
11:52:03.160029 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:24:03:f1:bd:36, length 300
11:57:09.770520 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:23:6c:86:41:d9, length 300
11:57:11.941379 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:23:6c:86:41:d9, length 300
11:57:14.928398 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:23:6c:86:41:d9, length 300
11:57:16.378911 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:23:6c:86:41:d9, length 300
11:57:17.703219 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:23:6c:86:41:d9, length 300
11:57:18.839763 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request 
from 00:23:6c:86:41:d9, length 300







From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 11:06:36 AM
Subject: Re: dhcpd related issue

I had one more idea: try nmap on my dhcp server, and port 67 does not seems 
to be opened, after I tried telneting in and my connection was refused:

$ telnet 192.168.1.1 67
Trying 192.168.1.1...
telnet: connect to address 192.168.1.1: Connection refused
telnet: Unable to connect to remote host

Than I disabled pf
# pfctl -d
No ALTQ support in kernel
ALTQ related functions disabled
pf disabled

Than I checked telnet/nmap again but still don't found any 67 port ever 
there. I checked again that the dhcpd is running, and its up:
# ps ax|grep dhcp
  958  ??  Is 0:00.00 /usr/local/sbin/dhcpd -cf 
 /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease

Any idea?





From: Dánielisz László laszlo_daniel...@yahoo.com
To: patrick gibblert...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 8:34:03 AM
Subject: Re: dhcpd related issue

It's the same, I still don't got any IP address.





From: patrick gibblert...@gmail.com
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 6:38:31 AM
Subject: Re: dhcpd related issue

What happens if you disable pf temporarily?

2009/10/31 Dánielisz László laszlo_daniel...@yahoo.com:
 Hello,

 I just configured my dhcpd but it gives no IP-s.
 What had I done until now:

  1. Installed isc-dhcp via ports

 2. edited the /usr/local/etc/dhcpd.conf

 option domain-name bsd;
 option domain-name-servers my dns server ip;
 option subnet-mask 255.255.255.0;
 authoritative;

 default-lease-time 3600;
 max-lease-time 86400;
 ddns-update-style none;

 subnet 192.168.1.0 netmask 255.255.255.0 {
 range 192.168.1.129 192.168.1.250;
 option routers 192.168.1.1;
 }

 3. Added the following ones to /etc/rc.conf
 ifconfig_rl1=inet 192.168.1.1  netmask 255.255.255.0
 dhcpd_enable=YES
 dhcpd_conf=/usr/local/etc/dhcpd.conf
 dhcpd_ifaces=rl1


 4. Opened the adequate port in pf
 pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port 
 = bootps flags S/SA keep state
 pass in log on rl1 inet proto udp from 192.168.1.0/24 to 

Why after packages update my 'startx' gives me a message: Protocol not supported by server.

2009-11-01 Thread Yuri
It keeps repeating this line in original terminal, putting line .. in 
between. So it looks like this:

Protocol not supported by server.
..
Protocol not supported by server.
..
Protocol not supported by server.
..
goes on like this

Now I have to start just 'Xorg', it starts bare X. And from another 
terminal I have to start kde: DISPLAY=localhost:0.0 
/usr/local/kde4/bin/kde

Then it works ok.

My .xinitrc looks like this:

export LANG=en_US.UTF-8
export XMODIFIERS='@im=SCIM'
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
export XIM=SCIM
export XIM_PROGRAM=SCIM
exec scim -d 
/usr/local/kde4/bin/startkde

Yuri

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


Re: dhcpd related issue - not giving up

2009-11-01 Thread Tim Judd
snip

is your dhcpd authoritative?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dhcpd related issue - not giving up

2009-11-01 Thread Dánielisz László
It's the only one on the network.





From: Tim Judd taj...@gmail.com
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 5:41:58 PM
Subject: Re: dhcpd related issue - not giving up

snip

is your dhcpd authoritative?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




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


Re: dhcpd related issue - not giving up

2009-11-01 Thread Michael Powell
Dánielisz László wrote:

 I don't give it up, doing some tcpdump on my BSD I can see the dhcp
 request reaches the machine, the dhcpd is running, but why doesn't gives
 any IP?
 
 # tcpdump -i rl1 -n port 67 or port 68
 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
 listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
 11:51:43.086597 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300 11:51:45.102260 IP 0.0.0.0.68 
 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300
[snip]

I only have a couple if ideas. First, is it possible to substitute some 
other non rl or re NIC for rl1? I seem to recall something about these cards 
having some sort of problem like this. This test would eliminate that idea.

Also, right after a client machine requests a lease examine your arp tables 
on both machines. Maybe the dhcpd server is confused and sending the reply 
out the wrong interface? sockstat -4l can confirm which/what interface dhcpd 
is listening on, compare with arp results. Theoretically if dhcpd is bound 
to and listening on rl1 there shouldn't be any replies going out rl0. Check 
to eliminate.

Wrt to a managed switch blocking ports, I think you probably ruled this out 
by connecting the machines to each other. Note that for GigE, or NICs that 
do MDI-X properly any cable will work. However, on many older 100baseTX 
cards this would need to be using a crossover cable to function correctly.

You can also broaden your tcpdump to include arp traffic. When the output 
files become cumbersome to examine it's easier to look at them in Wireshark. 
I have a hunch if rl1 could be replaced with some old fxp or sk card lying 
around it might work. YMMV

-Mike



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


Re: Why after packages update my 'startx' gives me a message: Protocol not supported by server.

2009-11-01 Thread Michael Powell
Yuri wrote:

 It keeps repeating this line in original terminal, putting line .. in
 between. So it looks like this:
 Protocol not supported by server.
 ..
 Protocol not supported by server.
 ..
 Protocol not supported by server.
 ..
 goes on like this
 
 Now I have to start just 'Xorg', it starts bare X. And from another
 terminal I have to start kde: DISPLAY=localhost:0.0
 /usr/local/kde4/bin/kde
 Then it works ok.
 
 My .xinitrc looks like this:
 
 export LANG=en_US.UTF-8
 export XMODIFIERS='@im=SCIM'
 export GTK_IM_MODULE=scim
 export QT_IM_MODULE=scim
 export XIM=SCIM
 export XIM_PROGRAM=SCIM
 exec scim -d 
 /usr/local/kde4/bin/startkde
 

My first wild guess would be take out all the scim lines in your .xinitrc 
and see if the messages disappear. I know xorg.conf isn't supposed to be 
'needed' any longer, what with Xorg's supposed ability to auto configure, 
but you might want to look at the Xorg docs for configuring scim in Xorg. I 
don't use it myself but have seen something about it in the docs. Once the 
support has been added/configured then look in the KDE desktop config 
utility and set it up there too.

-Mike



___
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


dvdauthor can't find fribidi headers?

2009-11-01 Thread Steve Franks
Seems as dvdauthor is broken on 8-rc1...anything I might have done?

Steve

[st...@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean
===  Building for dvdauthor-0.6.14_4
Making all in doc
gmake[1]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
Making all in src
gmake[1]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake  all-am
gmake[2]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR=\/usr/local/etc\
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
  -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP
-MF .deps/subreader.Tpo -c -o subreader.o subreader.c; \
then mv -f .deps/subreader.Tpo .deps/subreader.Po; else rm -f
.deps/subreader.Tpo; exit 1; fi
subreader.c: In function 'sub_read_line_aqt':
subreader.c:661: warning: comparison with string literal results in
unspecified behaviour
subreader.c:661: warning: comparison with string literal results in
unspecified behaviour
subreader.c: In function 'sub_read_line_subrip09':
subreader.c:717: warning: comparison with string literal results in
unspecified behaviour
subreader.c: In function 'sub_fribidi':
subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this function)
subreader.c:1082: error: (Each undeclared identifier is reported only once
subreader.c:1082: error: for each function it appears in.)
subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this function)
subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis'
from incompatible pointer type
gmake[2]: *** [subreader.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/multimedia/dvdauthor.
[st...@fyre /usr/ports/multimedia/dvdauthor]$
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dhcpd related issue - not giving up

2009-11-01 Thread Dánielisz László
I also though that maybe the rl NIC can be wrong, I will try another branded 
NIC as soon as it will be possible, until than I looked for arp an socksat 
right after dhcp request, these are my results:
mac# $ dhcping -h 00:23:32:dc:72:19 -s 192.168.1.1
no answer

bsd# tcpdump -i rl1 -n port 67 or port 68
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
19:14:38.604545 IP 192.168.1.234.68  192.168.1.1.67: BOOTP/DHCP, Request from 
00:23:32:dc:72:19, length 250
19:24:06.600131 IP 192.168.1.234.68  192.168.1.1.67: BOOTP/DHCP, Request from 
00:23:32:dc:72:19, length 250

bsd# arp -a
? (192.168.1.234) at 00:23:6c:86:41:d9 on rl1 [ethernet] - this is my MacBook
? (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] - this is the 
layer 3 switch
# sockstat -4l | grep dhcp
dhcpddhcpd  4747  7  udp4   *:67  *:*

mac# arp -a
public_ip.pool.hdsnet.hu (public_ip) at 4a:55:88:7c:44:4f on tap0 ifscope 
[ethernet]
bsd (192.168.1.1) at 0:13:8f:86:2f:64 on en1 ifscope [ethernet]






From: Michael Powell nightre...@hotmail.com
To: freebsd-questions@freebsd.org
Sent: Sun, November 1, 2009 6:29:04 PM
Subject: Re: dhcpd related issue - not giving up

Dánielisz László wrote:

 I don't give it up, doing some tcpdump on my BSD I can see the dhcp
 request reaches the machine, the dhcpd is running, but why doesn't gives
 any IP?
 
 # tcpdump -i rl1 -n port 67 or port 68
 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
 listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
 11:51:43.086597 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request
 from 00:24:03:f1:bd:36, length 300 11:51:45.102260 IP 0.0.0.0.68 
 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300
[snip]

I only have a couple if ideas. First, is it possible to substitute some 
other non rl or re NIC for rl1? I seem to recall something about these cards 
having some sort of problem like this. This test would eliminate that idea.

Also, right after a client machine requests a lease examine your arp tables 
on both machines. Maybe the dhcpd server is confused and sending the reply 
out the wrong interface? sockstat -4l can confirm which/what interface dhcpd 
is listening on, compare with arp results. Theoretically if dhcpd is bound 
to and listening on rl1 there shouldn't be any replies going out rl0. Check 
to eliminate.

Wrt to a managed switch blocking ports, I think you probably ruled this out 
by connecting the machines to each other. Note that for GigE, or NICs that 
do MDI-X properly any cable will work. However, on many older 100baseTX 
cards this would need to be using a crossover cable to function correctly.

You can also broaden your tcpdump to include arp traffic. When the output 
files become cumbersome to examine it's easier to look at them in Wireshark. 
I have a hunch if rl1 could be replaced with some old fxp or sk card lying 
around it might work. YMMV

-Mike



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




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


Re: dvdauthor can't find fribidi headers?

2009-11-01 Thread Peter Harrison
Sunday,  1 November 2009 at 11:04:26 -0700, Steve Franks said:
 Seems as dvdauthor is broken on 8-rc1...anything I might have done?
 
 Steve
 
 [st...@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean
 ===  Building for dvdauthor-0.6.14_4
 Making all in doc
 gmake[1]: Entering directory
 `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
 gmake[1]: Nothing to be done for `all'.
 gmake[1]: Leaving directory
 `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
 Making all in src
 gmake[1]: Entering directory
 `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
 gmake  all-am
 gmake[2]: Entering directory
 `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
 if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR=\/usr/local/etc\
 -I/usr/local/include/libxml2 -I/usr/local/include
 -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
   -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP
 -MF .deps/subreader.Tpo -c -o subreader.o subreader.c; \
   then mv -f .deps/subreader.Tpo .deps/subreader.Po; else rm -f
 .deps/subreader.Tpo; exit 1; fi
 subreader.c: In function 'sub_read_line_aqt':
 subreader.c:661: warning: comparison with string literal results in
 unspecified behaviour
 subreader.c:661: warning: comparison with string literal results in
 unspecified behaviour
 subreader.c: In function 'sub_read_line_subrip09':
 subreader.c:717: warning: comparison with string literal results in
 unspecified behaviour
 subreader.c: In function 'sub_fribidi':
 subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this 
 function)
 subreader.c:1082: error: (Each undeclared identifier is reported only once
 subreader.c:1082: error: for each function it appears in.)
 subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this 
 function)
 subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis'
 from incompatible pointer type
 gmake[2]: *** [subreader.o] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
 gmake[1]: *** [all] Error 2
 gmake[1]: Leaving directory
 `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
 gmake: *** [all-recursive] Error 1
 *** Error code 1
 
 Stop in /usr/ports/multimedia/dvdauthor.
 [st...@fyre /usr/ports/multimedia/dvdauthor]$

Just a me too I'm afraid. I'm having the same problem on 7.2-STABLE, but:

pkg_info | grep fribidi

fribidi-0.19.2_1A Free Implementation of the Unicode Bidirectional Algorith



Peter Harrison


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


Example of using mount() function?

2009-11-01 Thread Peter Steele
I want to call the mount() function to perform the same action as running the 
following mount command from the command line:

mount -t ufs -o noatime /dev/adXXX /mnt

The man page lists the signature of mount() as

int mount(const char *type, const char *dir, int flags, void 
*data);

The problem is that the last parameter, data, apparently has to be in a special 
structure based on the file system type and it does not describe what this 
structure is for ufs. It says The format for these argument structures is 
described in the manual page for each file system, then it follows this up 
saying that there is no man page for ufs?

I did some searches but could not find a single example of what needs to be 
plugged into this parameter. Can anyone fill in the missing info?

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


Re: Example of using mount() function?

2009-11-01 Thread Joe Marcus Clarke
On Sun, 2009-11-01 at 14:12 -0600, Peter Steele wrote:
 I want to call the mount() function to perform the same action as running the 
 following mount command from the command line:
 
 mount -t ufs -o noatime /dev/adXXX /mnt
 
 The man page lists the signature of mount() as
 
 int mount(const char *type, const char *dir, int flags, void 
 *data);
 
 The problem is that the last parameter, data, apparently has to be in a 
 special structure based on the file system type and it does not describe what 
 this structure is for ufs. It says The format for these argument structures 
 is described in the manual page for each file system, then it follows this 
 up saying that there is no man page for ufs?
 
 I did some searches but could not find a single example of what needs to be 
 plugged into this parameter. Can anyone fill in the missing info?

See /usr/src/sbin/mount/mount_ufs.c from RELENG_6.  Essentially, this
argument should be a ufs_args struct as defined
in /usr/include/ufs/ufs/ufsmount.h.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Ideas For Change launches in closed beta today

2009-11-01 Thread IdeasForChange . TV

We are very proud to have finalized the first step in building this platform 
that will become an active tool to improve our world.

Against all good advice that we should build first and then connect the world, 
we decided that we are nothing without your knowledge. Without your input. And 
we said that we wanted to build this project from a different angle. We have 
the tools, we have the team, we have some funding but we need you guys to 
engage and tell us what your community needs. How we can help.

We will build the biggest online community on sustainable topics, we will give 
you access and the keys to build your own subgroups both closed and public. But 
without taking this first step to ask for your opinion we would be working with 
old obsolete models.

The films you see are just a fragment of what will come, the texts are just a 
start. If you need a login please ask us, if you want to contribute otherwise, 
sponsor a subcategory or need anything more please don´t hesitate to ask.

So please enjoy, spread the word and engage!

The Ideas For Change Global Team

Visit the web site IdeasForChange.TV



To unsubscribe, please reply with the word unsubscribe. Sorry if we bothered 
you!


Project and website by Dabber.tv



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


Re: Problem installing dvdauthor...

2009-11-01 Thread usleepless
Dear Peter,

On Sat, Oct 31, 2009 at 8:18 PM, Peter Harrison
peter.piggy...@virgin.netwrote:

 Hi all,

 Can anyone advise what I'm doing wrong trying to install
 multimedia/dvdauthor. Here's the end of the error:

 if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR=\/usr/local/etc\
 -I/usr/local/include/libxml2 -I/usr/local/include
 -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
 -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP -MF
 .deps/subreader.Tpo -c -o subreader.o subreader.c; \
then mv -f .deps/subreader.Tpo .deps/subreader.Po; else rm -f
 .deps/subreader.Tpo; exit 1; fi
 subreader.c: In function 'sub_read_line_aqt':
 subreader.c:661: warning: comparison with string literal results in
 unspecified behaviour
 subreader.c:661: warning: comparison with string literal results in
 unspecified behaviour
 subreader.c: In function 'sub_read_line_subrip09':
 subreader.c:717: warning: comparison with string literal results in
 unspecified behaviour
 subreader.c: In function 'sub_fribidi':
 subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this
 function)
 subreader.c:1082: error: (Each undeclared identifier is reported only once
 subreader.c:1082: error: for each function it appears in.)
 subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this
 function)
 subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis' from
 incompatible pointer type
 gmake[2]: *** [subreader.o] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
 gmake[1]: *** [all] Error 2
 gmake[1]: Leaving directory
 `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
 gmake: *** [all-recursive] Error 1
 *** Error code 1

 This is on:

 FreeBSD laptop.piggybox 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Oct 10
 13:54:52 BST 2009 r...@laptop.piggybox:/usr/obj/usr/src/sys/LAPTOP
  i386

 With a ports tree updated last night.

 What am I missing?


i don't think you are missing anything:  i have a slighty older ports tree
from september, and it fails as well.

i assume the port is broken. ( i will take a look if i can identitfy the
problem )

regards,

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


RE: Example of using mount() function?

2009-11-01 Thread Peter Steele
 See /usr/src/sbin/mount/mount_ufs.c from RELENG_6.  Essentially, this 
 argument should be a ufs_args struct as defined in 
 /usr/include/ufs/ufs/ufsmount.h.

Okay, got it. Thanks very much!
___
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


ntp

2009-11-01 Thread alexus
this is my ntp.conf

su-3.2# cat /usr/local/etc/ntp.conf
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org
su-3.2# ntpq -p
 remote   refid  st t when poll reach   delay   offset  jitter
==
 mx  .RMOT.  16 u- 102400.0000.000   0.000
su-3.2#

this isn't the first time, but after a while my ntp stops working :(
i dont know what to do...

any suggestions?


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


Re: dhcpd related issue - not giving up

2009-11-01 Thread Liontaur
2009/11/1 Dánielisz László laszlo_daniel...@yahoo.com

 I also though that maybe the rl NIC can be wrong, I will try another
 branded NIC as soon as it will be possible, until than I looked for arp an
 socksat right after dhcp request, these are my results:
 mac# $ dhcping -h 00:23:32:dc:72:19 -s 192.168.1.1
 no answer

 bsd# tcpdump -i rl1 -n port 67 or port 68
 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
 listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
 19:14:38.604545 IP 192.168.1.234.68  192.168.1.1.67: BOOTP/DHCP, Request
 from 00:23:32:dc:72:19, length 250
 19:24:06.600131 IP 192.168.1.234.68  192.168.1.1.67: BOOTP/DHCP, Request
 from 00:23:32:dc:72:19, length 250

 bsd# arp -a
 ? (192.168.1.234) at 00:23:6c:86:41:d9 on rl1 [ethernet] - this is my
 MacBook
 ? (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] - this is
 the layer 3 switch


So your switch and your rl1 interface have the same IP? That can't be good,
can't see why it would affect things when the switch isn't in action though.

# sockstat -4l | grep dhcp
 dhcpddhcpd  4747  7  udp4   *:67  *:*

 mac# arp -a
 public_ip.pool.hdsnet.hu (public_ip) at 4a:55:88:7c:44:4f on tap0
 ifscope [ethernet]
 bsd (192.168.1.1) at 0:13:8f:86:2f:64 on en1 ifscope [ethernet]



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

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


korean english on same box?

2009-11-01 Thread Steve Franks
My Korean mother-in-law is visiting USA for the first time.  I don't
know the first thing about what it will take to make it so she can
email home, so I'm hoping someone on the list is familiar with this?
I can start firefox for her, so my installation could theoretically
stay in english, but I have a spare drive I could install korean fbsd
on if needed, although I don't know if it's been translated well
enough to understand sysinstall or bootup in Korean?

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


Re: korean english on same box?

2009-11-01 Thread Steve Franks
On Sun, Nov 1, 2009 at 7:56 PM, Steve Franks bahamasfra...@gmail.com wrote:
 My Korean mother-in-law is visiting USA for the first time.  I don't
 know the first thing about what it will take to make it so she can
 email home, so I'm hoping someone on the list is familiar with this?
 I can start firefox for her, so my installation could theoretically
 stay in english, but I have a spare drive I could install korean fbsd
 on if needed, although I don't know if it's been translated well
 enough to understand sysinstall or bootup in Korean?

 Thanks,
 Steve


Ok, well, fooling around, it's quite obvious that firefox has things
nicely wrapped up, as long as I can get a korean keyboard to work,
that should be interestinghopefully opeoffice is as robust...

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


Re: dvdauthor can't find fribidi headers?

2009-11-01 Thread Jimmie James

Seems as dvdauthor is broken on 8-rc1...anything I might have done?

Steve

[st...@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean
===  Building for dvdauthor-0.6.14_4
Making all in doc
gmake[1]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
Making all in src
gmake[1]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/ Seems as dvdauthor is broken on 
8-rc1...anything I might have done?

Steve

[st...@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean
===  Building for dvdauthor-0.6.14_4
Making all in doc
gmake[1]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
Making all in src
gmake[1]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake  all-am
gmake[2]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR=\/usr/local/etc\
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
  -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP
-MF .deps/subreader.Tpo -c -o subreader.o subreader.c; \
then mv -f .deps/subreader.Tpo .deps/subreader.Po; else rm -f
.deps/subreader.Tpo; exit 1; fi
subreader.c: In function 'sub_read_line_aqt':
subreader.c:661: warning: comparison with string literal results in
unspecified behaviour
subreader.c:661: warning: comparison with string literal results in
unspecified behaviour
subreader.c: In function 'sub_read_line_subrip09':
subreader.c:717: warning: comparison with string literal results in
unspecified behaviour
subreader.c: In function 'sub_fribidi':
subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this function)
subreader.c:1082: error: (Each undeclared identifier is reported only once
subreader.c:1082: error: for each function it appears in.)
subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this function)
subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis'
from incompatible pointer type
gmake[2]: *** [subreader.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake: *** [all-recursive] Error 1
*** Error code 1

dvdauthor-0.6.14/src'

gmake  all-am
gmake[2]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR=\/usr/local/etc\
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
  -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP
-MF .deps/subreader.Tpo -c -o subreader.o subreader.c; \
then mv -f .deps/subreader.Tpo .deps/subreader.Po; else rm -f
.deps/subreader.Tpo; exit 1; fi
subreader.c: In function 'sub_read_line_aqt':
subreader.c:661: warning: comparison with string literal results in
unspecified behaviour
subreader.c:661: warning: comparison with string literal results in
unspecified behaviour
subreader.c: In function 'sub_read_line_subrip09':
subreader.c:717: warning: comparison with string literal results in
unspecified behaviour
subreader.c: In function 'sub_fribidi':
subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this function)
subreader.c:1082: error: (Each undeclared identifier is reported only once
subreader.c:1082: error: for each function it appears in.)
subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this function)
subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis'
from incompatible pointer type
gmake[2]: *** [subreader.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake: *** [all-recursive] Error 1
*** Error code 1


Hate to pop in with a me too, but me too. I've reinstalled all of it's 
depends, no joy. I've removed them all, along with dvdauthor and no joy. 
Tried commenting out fribidi from the Makefile, no joy.


FreeBSD 7.2-STABLE #0: Thu Oct 15 19:19:47 EDT 2009 
r...@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO

dvdauthor-0.6.14_3
pkg_info -r dvdauthor-0.6.14_3
Information for dvdauthor-0.6.14_3:

Depends on:
Dependency: libdvdcss-1.2.10_1
Dependency: libdvdread-4.1.3_1
Dependency: png-1.2.40
Dependency: pkg-config-0.23_1
Dependency: freetype2-2.3.9_1
Dependency: libiconv-1.13.1
Dependency: 

Re: korean english on same box?

2009-11-01 Thread 牛粥
Steve Franks bahamasfra...@gmail.com writes:

 My Korean mother-in-law is visiting USA for the first time.  I don't
 know the first thing about what it will take to make it so she can
 email home, so I'm hoping someone on the list is familiar with this?
 I can start firefox for her, so my installation could theoretically
 stay in english, but I have a spare drive I could install korean fbsd
 on if needed, although I don't know if it's been translated well
 enough to understand sysinstall or bootup in Korean?

IMHO, your mother-in-law won't use computer, i guess. In general, Korean
women (above 40 years old) don't know about computer and Internet. 

Though if you have to prepare that, discuss with your wife in
first. Your wife will know very well about the state of your
mother-in-law's computing general. 

The following is just normal case. Korean need only Input Method program
such as Nabi under default X-Window system. That's enough to make
checking (writing) emails. Have a look korean/nabi in ports. 

Sincerely,

-- 
You still owe me two hundred dollars.
-- Fanucci, Chapter 14, page 202
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dvdauthor can't find fribidi headers?

2009-11-01 Thread Dima Panov
On Monday 02 November 2009 13:45:47 Jimmie James wrote:
  Seems as dvdauthor is broken on 8-rc1...anything I might have done?
 
 
  [st...@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean
  ===  Building for dvdauthor-0.6.14_4
  Making all in doc
  gmake[1]: Entering directory
  `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
  gmake[1]: Nothing to be done for `all'.
  gmake[1]: Leaving directory
  `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
  Making all in src
  gmake[1]: Entering directory
  `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
  gmake  all-am
  gmake[2]: Entering directory
  `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
  if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR=\/usr/local/etc\
  -I/usr/local/include/libxml2 -I/usr/local/include
  -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
  -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
-I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP
  -MF .deps/subreader.Tpo -c -o subreader.o subreader.c; \
  then mv -f .deps/subreader.Tpo .deps/subreader.Po; else rm -f
  .deps/subreader.Tpo; exit 1; fi
  subreader.c: In function 'sub_read_line_aqt':
  subreader.c:661: warning: comparison with string literal results in
  unspecified behaviour
  subreader.c:661: warning: comparison with string literal results in
  unspecified behaviour
  subreader.c: In function 'sub_read_line_subrip09':
  subreader.c:717: warning: comparison with string literal results in
  unspecified behaviour
  subreader.c: In function 'sub_fribidi':
  subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this
  function) subreader.c:1082: error: (Each undeclared identifier is
  reported only once subreader.c:1082: error: for each function it appears
  in.)
  subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this
  function) subreader.c:1102: warning: passing argument 3 of
  'fribidi_log2vis' from incompatible pointer type
  gmake[2]: *** [subreader.o] Error 1
  gmake[2]: Leaving directory
  `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
  gmake[1]: *** [all] Error 2
  gmake[1]: Leaving directory
  `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
  gmake: *** [all-recursive] Error 1
  *** Error code 1
 
 dvdauthor-0.6.14/src'
 
  gmake  all-am
  gmake[2]: Entering directory
  `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
  if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR=\/usr/local/etc\
  -I/usr/local/include/libxml2 -I/usr/local/include
  -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
  -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
-I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP
  -MF .deps/subreader.Tpo -c -o subreader.o subreader.c; \
  then mv -f .deps/subreader.Tpo .deps/subreader.Po; else rm -f
  .deps/subreader.Tpo; exit 1; fi
  subreader.c: In function 'sub_read_line_aqt':
  subreader.c:661: warning: comparison with string literal results in
  unspecified behaviour
  subreader.c:661: warning: comparison with string literal results in
  unspecified behaviour
  subreader.c: In function 'sub_read_line_subrip09':
  subreader.c:717: warning: comparison with string literal results in
  unspecified behaviour
  subreader.c: In function 'sub_fribidi':
  subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this
  function) subreader.c:1082: error: (Each undeclared identifier is
  reported only once subreader.c:1082: error: for each function it appears
  in.)
  subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this
  function) subreader.c:1102: warning: passing argument 3 of
  'fribidi_log2vis' from incompatible pointer type
  gmake[2]: *** [subreader.o] Error 1
  gmake[2]: Leaving directory
  `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
  gmake[1]: *** [all] Error 2
  gmake[1]: Leaving directory
  `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
  gmake: *** [all-recursive] Error 1
  *** Error code 1
 
 Hate to pop in with a me too, but me too. I've reinstalled all of it's
 depends, no joy. I've removed them all, along with dvdauthor and no joy.
 Tried commenting out fribidi from the Makefile, no joy.
 

It always try to use fribidi if it installed on the system, but broken with new 
fribidi. 


-- 
Dima Red Fox Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024


signature.asc
Description: This is a digitally signed message part.


Re: dhcpd related issue - not giving up

2009-11-01 Thread Tim Judd
On 11/1/09, Dánielisz László laszlo_daniel...@yahoo.com wrote:
 It's the only one on the network.

Doesn't mean that it will answer.

I saw your previous posts which has the authoritative declaration.

Authoritative (from my experience) means that if a client had
previously gotten an address, a non-authoritative server won't correct
the client's lease.  Think of a roaming laptop or a PDA with wifi.

An authoritative server will say No, that won't work, then the
client will release any knowledge of the previous IP, and search for
new dhcp servers.



Since you weren't getting leases when your firewall was disabled, I
would lean toward a misconfigured dhcpd.conf.  I don't think I've seen
in the same post:
  ifconfig rl1
  cat /usr/local/etc/dhcpd.conf


Please provide these.  Thanks.

 
 From: Tim Judd taj...@gmail.com
 To: Dánielisz László laszlo_daniel...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 5:41:58 PM
 Subject: Re: dhcpd related issue - not giving up

 snip

 is your dhcpd authoritative?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




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


Re: korean english on same box?

2009-11-01 Thread Jonathan Chen
On Sun, Nov 01, 2009 at 07:56:24PM -0700, Steve Franks wrote:
 My Korean mother-in-law is visiting USA for the first time.  I don't
 know the first thing about what it will take to make it so she can
 email home, so I'm hoping someone on the list is familiar with this?

I had a similar situation with Japanese in-laws. Fortunately, I'm
using GNOME, which has localisation for Japanese. I had to tweak their
~/.dmrc and add/alter:

Language=ja_JP.UTF-8

Once they got past the English gdm login, they were presented with a
Japanese lanaguage desktop.

The ports which I had to install were:

www/firefox35
www/firefox35-i18n
mail/thunderbird
mail/thunderbird-i18n
japanese/scim-anthy

I'm guessing that you'll have to do something similar for Korean,
adding to ~/.dmrc:

Language=ko-KR.UTF-8

and installing korean/scim-hangul; as well as firefox and thunderbird
and their internationalisation support.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
If everything's under control, you're going too slow
  - Mario Andretti
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntp

2009-11-01 Thread Matthew Seaman

alexus wrote:

this is my ntp.conf

su-3.2# cat /usr/local/etc/ntp.conf
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org
su-3.2# ntpq -p
 remote   refid  st t when poll reach   delay   offset  jitter
==
 mx  .RMOT.  16 u- 102400.0000.000   0.000
su-3.2#

this isn't the first time, but after a while my ntp stops working :(
i dont know what to do...

any suggestions?


It's /etc/ntp.conf if you're using the ntpd that comes with the base
system in FreeBSD.  Unless you're running you own PPS clock or engaged
in developing NTP, there's much point in installing the ports version.

Even so, it seems you have a problem connecting to a remote NTP server.
Can you do the following:

First, choose one of the IPs returned from one of those pool.ntp.org
addresses:

% host 0.us.pool.ntp.org
0.us.pool.ntp.org has address 216.45.57.38
0.us.pool.ntp.org has address 64.22.86.210
0.us.pool.ntp.org has address 69.36.241.112
0.us.pool.ntp.org has address 69.56.251.238
0.us.pool.ntp.org has address 169.229.70.201

Then test that you can get NTP packets to and from between that machine
and your own by using ntpq(8):

% ntpq -p 216.45.57.38
remote   refid  st t when poll reach   delay   offset  jitter
==
+clock.via.net   .GPS.1 u  698 1024  3778.8320.232   0.125
-timekeeper.isi. .GPS.1 u 1915 1024  3767.5090.416  18.394
+clock.sjc.he.ne .CDMA.   1 u  109 1024  377   10.0850.262   0.066
-nist1.symmetric .ACTS.   1 u   73 1024  377   13.380   -0.470   0.172
-rrcs-64-183-55- .GPS.1 u  645 1024  377   25.310   -3.634   2.929
-rrcs-64-183-56- .GPS.1 u  625 1024  377   13.364   -3.183   1.270
-nist1.aol-ca.tr .ACTS.   1 u  947 1024  3779.8603.786   0.029
-clock.isc.org   .GPS.1 u   98 1024  377   10.025   -6.679   0.005
-gps.layer42.net .GPS.1 u  113 1024  377   12.3150.042   0.388
-gatekeeper.no-s .PPS.1 u  662 1024  377   27.1653.409  78.001
-nist1-sj.witime .ACTS.   1 u  675 1024  3779.2045.834   0.780
*clepsydra.dec.c .GPS.1 u  867 1024  3779.9880.283   0.123
-time.nist.gov   .ACTS.   1 u  933 1024  377   33.453   -1.888   1.615
ntp2.lax-noc.co 204.123.2.5  2 u  935 1024  3770.1220.467   0.015
LOCAL(0).LOCL.   9 l   23   64  3770.0000.000   0.002

If you don't get output like this showing a list of reference servers
from any of the available addresses, then I'd suspect something like
over restrictive firewall rules blocking the traffic.  If you do get
a response then the problem is localised on your machine.  In which
case, try stripping out and NTP related ports you've installed,
configure the base system ntpd(8) and see if that works better for you.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature