Re: Error linking MYKERNEL

2009-09-20 Thread Rob Farmer
2009/9/20 Arkady Tokaev :
>
> After hours of
> # make buildkernel KERNCONF=MYKERNEL
>
> I see this:
> ...
> linking kernel.debug
> if_ural.o(.text+0x743): In function `ural_free_tx_list':
> /usr/src/sys/dev/usb/if_ural.c:627: undefined reference to 
> `ieee80211_free_node'



rum and ural are wireless cards, but you have the wlan options
commented out. You need to either remove them or add the wlan section
back.
___
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"


Error linking MYKERNEL

2009-09-20 Thread Arkady Tokaev

After hours of
# make buildkernel KERNCONF=MYKERNEL

I see this:
...
linking kernel.debug
if_ural.o(.text+0x743): In function `ural_free_tx_list':
/usr/src/sys/dev/usb/if_ural.c:627: undefined reference to `ieee80211_free_node'

if_ural.o(.text+0x93a): In function `ural_detach':
/usr/src/sys/dev/usb/if_ural.c:567: undefined reference to `ieee80211_ifdetach'
if_ural.o(.text+0xe1c): In function `ural_attach':
/usr/src/sys/dev/usb/if_ural.c:499: undefined reference to `ieee80211_init_chann
els'
if_ural.o(.text+0xe24):/usr/src/sys/dev/usb/if_ural.c:501: undefined reference t
o `ieee80211_ifattach'
if_ural.o(.text+0xe7e):/usr/src/sys/dev/usb/if_ural.c:513: undefined reference t
o `ieee80211_media_status'
if_ural.o(.text+0xe8e):/usr/src/sys/dev/usb/if_ural.c:513: undefined reference t
o `ieee80211_media_init'
if_ural.o(.text+0xeb0):/usr/src/sys/dev/usb/if_ural.c:515: undefined reference t
o `ieee80211_amrr_init'
if_ural.o(.text+0xf22):/usr/src/sys/dev/usb/if_ural.c:531: undefined reference t
o `ieee80211_announce'
if_ural.o(.text+0x1152): In function `ural_raw_xmit':
/usr/src/sys/dev/usb/if_ural.c:2402: undefined reference to `ieee80211_free_node
'
if_ural.o(.text+0x1181):/usr/src/sys/dev/usb/if_ural.c:2408: undefined reference
 to `ieee80211_free_node'
if_ural.o(.text+0x13b5):/usr/src/sys/dev/usb/if_ural.c:2438: undefined reference
 to `ieee80211_free_node'
if_ural.o(.text+0x15b9): In function `ural_set_chan':
/usr/src/sys/dev/usb/if_ural.c:1823: undefined reference to `ieee80211_chan2ieee
'
if_ural.o(.text+0x1c5d): In function `ural_start':
/usr/src/sys/dev/usb/if_ural.c:1461: undefined reference to `ieee80211_free_node
'
if_ural.o(.text+0x1f13):/usr/src/sys/dev/usb/if_ural.c:1479: undefined reference
 to `ieee80211_cancel_scan'
if_ural.o(.text+0x1f42):/usr/src/sys/dev/usb/if_ural.c:1486: undefined reference
 to `ieee80211_find_txnode'
if_ural.o(.text+0x1f87):/usr/src/sys/dev/usb/if_ural.c:1493: undefined reference
 to `ieee80211_encap'
if_ural.o(.text+0x1f98):/usr/src/sys/dev/usb/if_ural.c:1495: undefined reference
 to `ieee80211_free_node'
if_ural.o(.text+0x1ff5):/usr/src/sys/dev/usb/if_ural.c:1366: undefined reference
 to `ieee80211_crypto_encap'
if_ural.o(.text+0x21e5):/usr/src/sys/dev/usb/if_ural.c:1503: undefined reference
 to `ieee80211_free_node'
if_ural.o(.text+0x227a): In function `ural_txeof':
/usr/src/sys/dev/usb/if_ural.c:882: undefined reference to `ieee80211_process_ca
llback'
if_ural.o(.text+0x2309):/usr/src/sys/dev/usb/if_ural.c:901: undefined reference
to `ieee80211_free_node'
if_ural.o(.text+0x2b89): In function `ural_amrr_update':
/usr/src/sys/dev/usb/if_ural.c:2508: undefined reference to `ieee80211_amrr_choo
se'
if_ural.o(.text+0x2c7b): In function `ural_media_change':
/usr/src/sys/dev/usb/if_ural.c:705: undefined reference to `ieee80211_media_chan
ge'
if_ural.o(.text+0x2e26): In function `ural_ioctl':
/usr/src/sys/dev/usb/if_ural.c:1578: undefined reference to `ieee80211_ioctl'
if_ural.o(.text+0x309a): In function `ural_task':
/usr/src/sys/dev/usb/if_ural.c:755: undefined reference to `ieee80211_beacon_all
oc'
if_ural.o(.text+0x32bc):/usr/src/sys/dev/usb/if_ural.c:2450: undefined reference
 to `ieee80211_amrr_node_init'
if_ural.o(.text+0x38a4): In function `ural_rxeof':
/usr/src/sys/dev/usb/if_ural.c:990: undefined reference to `ieee80211_find_rxnod
e'
if_ural.o(.text+0x38e6):/usr/src/sys/dev/usb/if_ural.c:993: undefined reference
to `ieee80211_input'
if_ural.o(.text+0x38ee):/usr/src/sys/dev/usb/if_ural.c:996: undefined reference
to `ieee80211_free_node'
if_rum.o(.text+0x823): In function `rum_free_tx_list':
/usr/src/sys/dev/usb/if_rum.c:668: undefined reference to `ieee80211_free_node'
if_rum.o(.text+0xa42): In function `rum_detach':
/usr/src/sys/dev/usb/if_rum.c:607: undefined reference to `ieee80211_ifdetach'
if_rum.o(.text+0x12c6): In function `rum_attach':
/usr/src/sys/dev/usb/if_rum.c:508: undefined reference to `ieee80211_init_channe
ls'
if_rum.o(.text+0x12fd):/usr/src/sys/dev/usb/if_rum.c:516: undefined reference to
 `ieee80211_ieee2mhz'
if_rum.o(.text+0x1347):/usr/src/sys/dev/usb/if_rum.c:522: undefined reference to
 `ieee80211_ieee2mhz'
if_rum.o(.text+0x1391):/usr/src/sys/dev/usb/if_rum.c:528: undefined reference to
 `ieee80211_ieee2mhz'
if_rum.o(.text+0x13de):/usr/src/sys/dev/usb/if_rum.c:534: undefined reference to
 `ieee80211_ieee2mhz'
if_rum.o(.text+0x1413):/usr/src/sys/dev/usb/if_rum.c:540: undefined reference to
 `ieee80211_ifattach'
if_rum.o(.text+0x1463):/usr/src/sys/dev/usb/if_rum.c:552: undefined reference to
 `ieee80211_media_status'
if_rum.o(.text+0x1476):/usr/src/sys/dev/usb/if_rum.c:552: undefined reference to
 `ieee80211_media_init'
if_rum.o(.text+0x149b):/usr/src/sys/dev/usb/if_rum.c:554: undefined reference to
 `ieee80211_amrr_init'
if_rum.o(.text+0x1513):/usr/src/sys/dev/usb/if_rum.c:571: undefined reference to
 `ieee80211_announce'
if_rum.o(.text+0x1a2d): In function `rum_start':
/usr/src/sys/dev/usb/if_rum.c:1398: undefined reference to `ieee80211_free_node

Re: DHCP client questions

2009-09-20 Thread Michael Powell
Mel Flynn wrote:

> On Sunday 20 September 2009 21:19:28 stan wrote:
> 
>> I have several machines (such as a mailserver) which _MUST_ have fixed
>> names. I have played around with /etc/dhcllient.conf, but not managed to
>> get this working. I can get IP addresses, and various things such as
>> default routers, and DNS servers, but I have not managed to get the
>> suggested name put in their DNS.
> 
> Ok, I know you're trying to make clear what your problem is, but it's
> still not. So, let's try step by step,, using a FreeBSD mailserver as the
> example: 1) Does the mailserver have a fixed HOSTNAME or can the HOSTNAME
> change if the DHCP server wants it to?
> 
> 2) When you say "but I have not managed to get the suggested name put in
> their DNS", does this mean you expect the FreeBSD mailserver to enter
> itself into the Microsoft DNS? Or can you not get the FreeBSD mailserver
> to name itself according to what the DHCP server tells them to?
> 

Don't seem to have all the details either, but from what little I can piece 
together is his company being bought by another necessitates the melding of 
his old systems with the new companies' Windows based environment. This 
could very well be an incorrect assumption on my part.

In a Windows environment when DHCP is used, as it hands out IP addresses it 
then updates the IP/hostname pair in the DNS server database. This is 
configured to operate by the admins. Usually there are at least two DHCP 
scopes minimum for the dynamically assigned IPs, but there can also be 
configured a scope for static IPs for things such as mail servers. So it is 
still possible for a mail server to initialize networking via DHCP and be 
assigned the same statically assigned IP every time. It is the 
responsibility of the Windows DHCP servers to sync with the DNS server 
database. If you are not going to have static services such as a mail server 
initialize via DHCP then a system admin will have to manually enter this 
information into the DNS server database. Without possessing the 
administrative authority to do this things will get very frustrating.

Bottom line is, if what I think is going on is correct, he can fight this 
battle in myriad different directions but inevitably all will lead back to 
the system admins of the purchasing company must get involved in order to 
properly meld the 2 networks together. All 10,000 different paths which can 
be pursued will ultimately lead back to this, so they ought to just bite the 
bullet and get it over with.

(If one wants to run his own Unix based DNS servers so as to have this under 
his/her control set up for file based zone transfer from the Windows DNS 
servers. The key to making this work is to manually config the zone 
transfers on the Windows DNS machines to ascii instead of UTF8 or else the 
Unix box DNS zone files will be endlessly polluted with garbage characters. 
Of course this all is moot if you are not allowed to be delegated or be 
authoritative for your little piece of the DNS tree. Here again, this is 
still going to have to be handled by the purchasing companies' admins as 
they are the ones in the drivers seat. This type of melding of heterogeneous 
systems absolutely requires both sides to work together.) 

-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: Polling and kern.hz

2009-09-20 Thread Agus
2009/9/20 Pieter de Goeje :
> On Saturday 19 September 2009, Agus wrote:
>> Hi guys...
>>
>> Im reading ant playing with polling and kernel. I read that
>> polling increase net performance and i plan on using it... Now the
>> question that arises is.. is polling and performance in general
>> affected by the value of kern.hz? i have put in /boot.loader.con
>> kern.hz=50 and was wondering if this number affects the number i
>> choose for the polling options
>>
>> I wanna recompile kernel using
>>
>> options DEVICE_POLLING
>>  options HZ=1000
>>
>> So that 1000hz how affects the system? if it affects it at all
>>
>> thanks for anyone who can give me a hint
>>
>> Cheers,
>> A
>
> To quote polling(4):
> "Device polling disables interrupts by polling devices at appropriate
> times, i.e., on clock interrupts and within the idle loop.  This way, the
> context switch overhead is removed.  Furthermore, the operating system
> can control accurately how much work to spend in handling device events,
> and thus prevent livelock by reserving some amount of CPU to other tasks."
>
> HZ affects how often the device is polled. For high bandwidth situations, it
> is important that the latency is kept as low as possible. That means that you
> must poll the device as often as possible. So generally people use very high
> HZ values for polling, for example 1. HZ=50 leads to latencies of about
> 20ms, way too high for normal network I/O.
>
> Note that you can change HZ without recompiling by specifying kern.hz="###" in
> loader.conf.
>
> --
> Pieter de Goeje
>

Thanks for the answer... I've been reading and find that i was
confused... i thought that those hz where only for polling but i found
that they are actually for the whole system clock... so now my doubt
is if it will be better to activate polling and leave hz in 1000, or
download hz to lets say 50 so i dont have too many context switches
due to clock interrupts... I will try to test load changing only those
parameters and come back with my results. If u guys know any perf
tester suitable for this please share..hehe... i will use iperf and
will look for a web perf app.


Cheers,
A
___
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"


Command line not saving in 8*

2009-09-20 Thread Al Plant

Aloha,

Anybody have a cure for the root or users not being able to save the 
command line commands in csh/tcsh over a power off?


On two machines I used for testing that have run other versions of 
FreeBSD with no issues I can't save the history as a user or root tcsh 
shell if shutdown -h or shutdown -r is used. You can exit the csh and 
tcsh and log back in and it is saved.


This happens with the all 8.0 BETA*.

This does not happen with the 7.2 p1 that Manolis distributes.

Any Ideas what to look for? There has to be something different done 
with 8* that kills off the command line history.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
  < email: n...@hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol

___
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: Downloading RTSP stream?

2009-09-20 Thread Mark
I use mencoder to dump to a file on a ipcam security camera using rtsp.
a sample command line  
mencoder rtsp://user:p...@192.168.1.177 -ovc copy -o /str/cam7.avi > 
/var/log/cam7.log &

--- On Sun, 9/20/09, Christian Weisgerber  wrote:

> From: Christian Weisgerber 
> Subject: Downloading RTSP stream?
> To: freebsd-multime...@freebsd.org
> Date: Sunday, September 20, 2009, 12:56 PM
> Do we have something in the ports
> tree that can read an RTSP stream
> where mplayer fails?
> 
> $ mplayer
> rtsp://ondemand.quicktime.zdf.newmedia.nacamar.net/zdf/data/quicktime/zdf/09/09/090920_untergang_szent_istvan_tex_vh.mp4
> MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
> CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
> (Family: 15, Model: 67, Stepping: 3)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1
> SSE2: 1
> Compiled with runtime CPU detection.
> 
> Playing
> rtsp://ondemand.quicktime.zdf.newmedia.nacamar.net/zdf/data/quicktime/zdf/09/09/090920_untergang_szent_istvan_tex_vh.mp4.
> Resolving ondemand.quicktime.zdf.newmedia.nacamar.net for
> AF_INET6...
> Couldn't resolve name for AF_INET6:
> ondemand.quicktime.zdf.newmedia.nacamar.net
> Resolving ondemand.quicktime.zdf.newmedia.nacamar.net for
> AF_INET...
> Connecting to server
> ondemand.quicktime.zdf.newmedia.nacamar.net[62.27.26.6]:
> 554...
> A single media stream only is supported atm.
> rtsp_session: unsupported RTSP server. Server type is
> 'DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin
> Streaming Server; State/Development; )'.
> Resolving ondemand.quicktime.zdf.newmedia.nacamar.net for
> AF_INET6...
> Couldn't resolve name for AF_INET6:
> ondemand.quicktime.zdf.newmedia.nacamar.net
> Resolving ondemand.quicktime.zdf.newmedia.nacamar.net for
> AF_INET...
> Connecting to server
> ondemand.quicktime.zdf.newmedia.nacamar.net[62.27.26.6]:
> 80...
> Server returned 404: error
> No stream found to handle url
> rtsp://ondemand.quicktime.zdf.newmedia.nacamar.net/zdf/data/quicktime/zdf/09/09/090920_untergang_szent_istvan_tex_vh.mp4
> 
> -- 
> Christian "naddy" Weisgerber       
>                
>   na...@mips.inka.de
> 
> ___
> freebsd-multime...@freebsd.org
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to "freebsd-multimedia-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 issues

2009-09-20 Thread Olivier Nicole
Hi James,

> I have a FreeBSD 7.0 gateway/server with isc-dhcpd 3.1.2p1_2. Late  
> yesterday I began having some unique and intermittent issues.  
> Basically, random computers will all of a sudden lose their dhcp  
> leases and be unable to contact the dhcp server.

I did not see any reply to your question.

It happened to me that a secondary switch was working badly with
DHCP. If I rebooted the switch, it would work for a while, then fail
again. But that was a sort of random failure, some ports would be
affected sometime. The problem would occur a the first lease in the
morning rather than at renewal time.

As it was a cheap switch, unmanageable, I replaced it.

> Sep 17 14:03:15 grendel dhcpd: ICMP Echo reply while lease  
> 192.168.1.253 valid.
> Sep 17 15:25:19 grendel dhcpd: ICMP Echo Reply for 192.168.1.74 late  
> or spurious.
> 
> which doesn't seem particularly relevant or heinous. Many more  
> computers than the ones above have been affected.

I don't remember ever seeing such error, but I would think that late
or spurions is not that innocent: it could be the symptom of a switch
not working at its nominal speed.

Of  course you could  also consider  a computer  on that  switch being
infected by some kind of virus and generating so much traffic it takes
your switch out.

Bests,

Olivier
___
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: Not able to compile GENERIC kernel

2009-09-20 Thread Giorgos Keramidas
On Mon, 21 Sep 2009 03:46:13 +0200, Mel Flynn 
 wrote:
> On Sunday 20 September 2009 23:26:58 Giorgos Keramidas wrote:
>> On Sun, 20 Sep 2009 21:10:00 +0200, Christer Solskogen 
>>  wrote:
>> > Giorgos Keramidas wrote:
>> >> # rm -fr /usr/obj/usr
>> >> # cd /usr/src
>> >> # make cleandir ; make cleandir
>> >
>> > I've seen serveral placeses that "make cleandir" should be run twice. I
>> > dont understand why. Could somebody explain?
>>
>> The first run cleans file sunder $(MAKEOBJDIRPREFIX), or under
>> `/usr/obj' if MAKEOBJDIRPREFIX is unset.
>>
>> The second run cleans files in the source tree itself.
>
> Which you'll see if you don't use the designated build{world|kernel} targets,
> but cd into a directory and start typing make orquite the pitfall, run
> make obj depend, rather then make obj && make depend. In the first case, the
> .depend file ends up in .CURDIR, not .OBJDIR.
>
> Also, perhaps it's better to advise make cleanworld for the rm -rf, as this
> target accomplishes the same, deals better with chflags(2) and leaves
> /usr/obj/usr/ports in tact for those who have set WRKDIRPREFIX to /usr/obj for
> ports.

That's a good point.  Thanks.  I'll remember it the next time I suggest
that someone wipes their entire `/usr/obj' tree :)

___
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: Not able to compile GENERIC kernel

2009-09-20 Thread Mel Flynn
On Sunday 20 September 2009 23:26:58 Giorgos Keramidas wrote:
> On Sun, 20 Sep 2009 21:10:00 +0200, Christer Solskogen 
 wrote:
> > Giorgos Keramidas wrote:
> >> # rm -fr /usr/obj/usr
> >> # cd /usr/src
> >> # make cleandir ; make cleandir
> >
> > I've seen serveral placeses that "make cleandir" should be run twice. I
> > dont understand why. Could somebody explain?
> 
> The first run cleans file sunder $(MAKEOBJDIRPREFIX), or under
> `/usr/obj' if MAKEOBJDIRPREFIX is unset.
> 
> The second run cleans files in the source tree itself.

Which you'll see if you don't use the designated build{world|kernel} targets, 
but cd into a directory and start typing make orquite the pitfall, run 
make obj depend, rather then make obj && make depend. In the first case, the 
.depend file ends up in .CURDIR, not .OBJDIR.

Also, perhaps it's better to advise make cleanworld for the rm -rf, as this 
target accomplishes the same, deals better with chflags(2) and leaves 
/usr/obj/usr/ports in tact for those who have set WRKDIRPREFIX to /usr/obj for 
ports.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: DHCP client questions

2009-09-20 Thread Mel Flynn
On Sunday 20 September 2009 21:19:28 stan wrote:

> I have several machines (such as a mailserver) which _MUST_ have fixed
> names. I have played around with /etc/dhcllient.conf, but not managed to
> get this working. I can get IP addresses, and various things such as
> default routers, and DNS servers, but I have not managed to get the
> suggested name put in their DNS.

Ok, I know you're trying to make clear what your problem is, but it's still 
not. So, let's try step by step,, using a FreeBSD mailserver as the example:
1) Does the mailserver have a fixed HOSTNAME or can the HOSTNAME change if the 
DHCP server wants it to?

2) When you say "but I have not managed to get the suggested name put in their 
DNS", does this mean you expect the FreeBSD mailserver to enter itself into 
the Microsoft DNS? Or can you not get the FreeBSD mailserver to name itself 
according to what the DHCP server tells them to?

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


evince paper size

2009-09-20 Thread Warren Block
Is there an easy way to force evince to always use US-Letter as a 
default paper size?  I don't run Gnome or CUPS, just lpd.


The only option that seems to work is to setenv LANG en_US.UTF-8.  I'd 
prefer to just build evince to know the default size instead of having 
to do


sh -c "export LANG=en_US.UTF-8 ; /usr/local/bin/evince filename.pdf"

Even with that, the paper size is only implied by the locale, not 
explicitly set.


-Warren Block * Rapid City, South Dakota USA
___
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"


Anybody hear of the ASuS ebook reader??

2009-09-20 Thread Gary Kline
Guys, 


Michael Hart, the guy who invented ebooks back in 1971, send a URL from
somewhere about ASUS soon coming out with a low-low cost ebook reader.

I don't know what format, but it won't do a Kindle on you.  [Swipe books
off your reader: Zip.]  I only heard/read online that this reader is 
coming
soon.  Know nothing else.  Anybody onlist know anything more?  [[oh, 
and 
what formats do ebooks come in anyway?  i only know of ASCII and my 
favorite:
markp. [xh]ml.]]

anybody hear anything else?

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 5.67a release of Jottings: http://jottings.thought.org/index.php

___
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: FreeBSD FTP server error

2009-09-20 Thread Al Plant

Yuri wrote:

When I try to log on to FTP I get this error:

$ ftp ftp.freebsd.org
Trying 204.152.184.73...
Connected to ftp.freebsd.org.
500 OOPS: vsftpd: not found: directory given in 
'secure_chroot_dir':/usr/local/share/vsftpd/empty



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"



Aloha Yuri and List,


I just tried FTP from Hawaii and the link is dead.



~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
  < email: n...@hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol

___
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 FTP server error

2009-09-20 Thread Yuri

When I try to log on to FTP I get this error:

$ ftp ftp.freebsd.org
Trying 204.152.184.73...
Connected to ftp.freebsd.org.
500 OOPS: vsftpd: not found: directory given in 
'secure_chroot_dir':/usr/local/share/vsftpd/empty



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: Not able to compile GENERIC kernel

2009-09-20 Thread Giorgos Keramidas
On Sun, 20 Sep 2009 21:10:00 +0200, Christer Solskogen 
 wrote:
> Giorgos Keramidas wrote:
>
>> # rm -fr /usr/obj/usr
>> # cd /usr/src
>> # make cleandir ; make cleandir
>>
>
> I've seen serveral placeses that "make cleandir" should be run twice. I
> dont understand why. Could somebody explain?

The first run cleans file sunder $(MAKEOBJDIRPREFIX), or under
`/usr/obj' if MAKEOBJDIRPREFIX is unset.

The second run cleans files in the source tree itself.

___
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: DHCP client questions

2009-09-20 Thread David Horn
On Sun, Sep 20, 2009 at 3:19 PM, stan  wrote:
> We have been bought out, and the new powers that be, are changing things.
> They have decreed that there shall be no static entries in their DNS
> servers. They are using $MS DHCP/DNS servers. I have a corporate supported
> Win XP laptop, which I can plug in at various places in the network. It
> gets different IP addresses, based upon where it physically is, but always
> comes up with the same name.

The question is whether by the "same name" you are referring to a dns
lookup, a wins lookup, or a nbns broadcast query, or all of the above
;)

>
> I have several machines (such as a mailserver) which _MUST_ have fixed
> names. I have played around with /etc/dhcllient.conf, but not managed to
> get this working. I can get IP addresses, and various things such as
> default routers, and DNS servers, but I have not managed to get the
> suggested name put in their DNS.

try running:

 tcpdump -r filename.pcap -vvv port bootpc

in order to get a nice decode of your dhcp session.  This will contain
by the client discover/request/ack, and the server offer packets.

>
> I have captured packet traces with wireshark from the laptop, and from the
> FreebSD client, and I am putting these up at http://beachcave.net/pdumps.
>
> I would really appreciate it if someone more familiar with DHCP that I
> could take a look at theses.

Your windows capture clearly shows a dhcp option 12 with the short
name, and dhcp option 81 with FQDN

   Hostname Option 12, length 10: "CHSLSBROWN"
FQDN Option 81, length 31: "CHSLSBROWN.kapstonepaper.com"
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 11:
  Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
  Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
  Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
END Option 255, length 0

Your freebsd captures show dhcp option 12 with the FQDN.  You need to
try using option 12 and option 81 just like in windows land.  You may
even need to put in the Vendor-Class and/or others to duplicate the
windows request, but try one item at a time.

Try adding these to your dhclient.conf as needed.  Take the time to
look at the man page for dhclient.conf, and dhcp-options, and also
take a look at the full defined option numbers here:
http://www.iana.org/assignments/bootp-dhcp-parameters/

Good Luck.

--Dave H
___
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: How to get pf to wait for ng0

2009-09-20 Thread cpghost
On Sat, Sep 19, 2009 at 10:30:14PM -0500, Sam Fourman Jr. wrote:
> Hello list,
> 
> I am trying to use FreeBSD 8 RC1 to setup L2 tunnels via mpd5.
> My problem is the pf.conf file is never parsed because ng0 does not
> exist yet on startup
> 
> ng0 is this case is DSL PPPoE to our local telco for internet access.
> after the DSL dials up (via mpd5) if I do pfctl -d && pfctl -e -f
> /etc/pf.conf everything works as expected.
> 
> What is the best way to get pf to wait and parse the ruleset until
> after ng0 exists?

That old problem again... ;-)

My (somewhat shaky) work around is this:

1. In /etc/rc.d/NETWORKING, add the line
 # REQUIRE: mpd

2. In /usr/local/etc/rc.d/mpd5, make sure the line
 # PROVIDE: mpd
   is present

3. In /usr/local/etc/rc.d/mpd5, add
 sleep 10
   at the bottom.

   (That's where my solution is shaky: 10 secs is more than enough
   for me on PPPoE, but it may not be enough for dial-up modems etc.)

4. In /etc/rc.d/pf, add NETWORKING to the # REQUIRE: line:
 # REQUIRE: FILESYSTEMS netif pflog pfsync NETWORKING

5. In /etc/rc.d/named, add NETWORKING to the # REQUIRE: line:
 # REQUIRE: SERVERS cleanvar NETWORKING

This setup will effectively run mpd5 *before* pf, and will
also wait (hopefully) long enough for mpd5 to set up ng0.
Then, when pf runs, ng0 will be already there.

Of course, there is more than one way to do it. It just happens
to work here.

> Sam Fourman Jr.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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"


java/jdk16 vulnerability?

2009-09-20 Thread cpghost
Hi Greg,

Freenet (http://www.freenetproject.org/) on my FreeBSD/amd64 system
complains about an old and vulnerable Java version:

  Your installed version of Java is vulnerable to a severe remote
  exploit (remote code execution!). You must upgrade to at least Java
  5 update 20 or Java 6 update 15 as soon as possible. Freenet has
  disabled any plugins handling XML for the time being, but this
  includes searching and chat so you should upgrade ASAP!

  See http://www.cert.fi/en/reports/2009/vulnerability2009085.html for
  details.

  Also, please do not use Thaw or Freetalk. The UPnP plugin is
  enabled, it might present a risk if you have bad guys on your LAN,
  but without it Freenet will not be able to port forward and will
  have severe problems.

I'm running java/jdk16:

phenom# java -version
java version "1.6.0_03-p4"
Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_08_sep_2009_17_05-b00)
Java HotSpot(TM) 64-Bit Server VM (build 
1.6.0_03-p4-root_08_sep_2009_17_05-b00, mixed mode)

On 7.2-STABLE:

phenom# uname -a
FreeBSD phenom.cordula.ws 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Sep  8 10:43:26 
CEST 2009 r...@phenom.cordula.ws:/usr/obj/usr/src/sys/GENERIC  amd64

Is that version of Java really vulnerable? If yes, why doesn't
  # portaudit -Fda
report it as such, and could you please update the java/jdk16 port?

Thanks,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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"


DHCP client questions

2009-09-20 Thread stan
We have been bought out, and the new powers that be, are changing things.
They have decreed that there shall be no static entries in their DNS
servers. They are using $MS DHCP/DNS servers. I have a corporate supported
Win XP laptop, which I can plug in at various places in the network. It
gets different IP addresses, based upon where it physically is, but always
comes up with the same name.

I have several machines (such as a mailserver) which _MUST_ have fixed
names. I have played around with /etc/dhcllient.conf, but not managed to
get this working. I can get IP addresses, and various things such as
default routers, and DNS servers, but I have not managed to get the
suggested name put in their DNS.

I have captured packet traces with wireshark from the laptop, and from the
FreebSD client, and I am putting these up at http://beachcave.net/pdumps. 

I would really appreciate it if someone more familiar with DHCP that I
could take a look at theses.

Thanks.

-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.
___
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: Not able to compile GENERIC kernel

2009-09-20 Thread Christer Solskogen

Giorgos Keramidas wrote:


# rm -fr /usr/obj/usr
# cd /usr/src
# make cleandir ; make cleandir



I've seen serveral placeses that "make cleandir" should be run twice. I 
dont understand why. Could somebody explain?


--
chs

___
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: Polling and kern.hz

2009-09-20 Thread Patrick Lamaiziere
Le Sat, 19 Sep 2009 17:16:30 -0300,
Agus  a écrit :

hi,
 
> options DEVICE_POLLING
>  options HZ=1000
> 
> So that 1000hz how affects the system? if it affects it at all

kern.hz is already set to 1000 on i386 and amd64.
___
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: Not able to compile GENERIC kernel

2009-09-20 Thread Giorgos Keramidas
On Sun, 20 Sep 2009 11:15:15 -0400, mfv  wrote:
> Hello,
>
> After rebuilding FreeBSD for many years I am not able to build a
> GENERIC kernel for the last few days.  It always stops when compiling
> acpi.
>
> The source code is up to date for 7 -STABLE for i386 on a amd64 cpu.
> I have always been able to recompile a GENERIC kernel since release
> 5.1 and do not know what I am doing wrong.
>
> Any help would be greatly appreciated.
>
> With thanks.
>
> Marek
>
> The following is the tail end of "make buildkernel":
>
> cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -
> nostdinc -I /usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica
> -DHAVE_KERNEL_OPTION_ HEADERS -include
> /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/a ltq
> -finline-limit=8000 --param inline-unit-growth=100 --param large-
> function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/GENERIC
> -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow
> -mno-sse -mno-sse2 -mno-sse3 - ffreestanding -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototypes -Wmi ssing-prototypes -Wpointer-
> arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions
> -c /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi _machdep.c
> @ ->/usr/src/sys
> ln: @/sys: Operation not permitted
> *** Error code 1

Can you wipe our /usr/obj and start with a clean object tree?  You may
also have stale build artifacts in /usr/src so something like this might
be a good idea:

# rm -fr /usr/obj/usr
# cd /usr/src
# make cleandir ; make cleandir

___
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: Microsoft "Dynamic DNS"

2009-09-20 Thread Mel Flynn
On Saturday 19 September 2009 22:06:03 stan wrote:
> I have a situation at work, where I need  a FreeBSD machine to be in the
> corporate DNS. We have been bought out, and the new owner says "no static
> DNS entries". They use some Microsoft technogly where the client machiens
> register thier names with the corprate DNS.
> 
> My Windows laptop for instance, may get different IP addresses using DHCP
> depending on what physical location I connect it in. but it's always the
> same DNS name.
> 
> Can anyone sugest where to look for information as to how this works, and
> how I cna make my FreeBSD machine participate in this?

You don't need to do anything. By default, dhclient sends the hostname. 
Exception is when you don't have a hostname configured in /etc/rc.conf.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Unable to use CD/DVD drive

2009-09-20 Thread Joseph Olatt
On Sun, Sep 20, 2009 at 09:48:40AM +0530, N. Raghavendra wrote:
> Until a couple of months ago, I was able to read and write CDs and
> DVDs.  Since then, I haven't been able to do so.  When I try to mount
> a CD/DVD, the process just hangs without the media being mounted, or I
> get errors like this:
> 
> [r...@griffin:/root]# mount /cdrom
> mount_cd9660: /dev/acd0: Input/output error
> 
> Also, `/var/log/messages' shows lines like
> 
> Sep 20 09:11:51 griffin kernel: g_vfs_done():acd0[READ(offset=32768, 
> length=2048)]error = 5
> 
> Similar messages occur when I try to write a CD/DVD using cdrecord(1).
> The CD/DVD drive is a ` Removable CD-ROM
> SCSI-0 device'.  I upgraded my kernel to no avail.
> 
> More details are below.  Any help is appreciated.
> 
> Thanks and regards,
> Raghavendra.
> 
> --
> 
> 1. Output of dmesg: attached.
> 
> 2. Kernel configuration file
> 
> 
> include "GENERIC"
> ident GRIFFIN
> device atapicam
> device sound
> device snd_hda
> options ACCEPT_FILTER_HTTP
> 
> 3. /boot/loader.conf
> 
> 
> nvidia_load="YES"
> hw.ata.ata_dma="1"
> 
> 4. /etc/fstab
> -
> 
> # DeviceMountpoint FStype  Options   Dump Pass#
> /dev/ad4s3b none   swapsw00
> /dev/ad4s3a /  ufs rw11
> /dev/ad4s3f /home  ufs rw22
> /dev/ad4s3e /opt   ufs rw22
> /dev/ad4s3h /tmp   ufs rw22
> /dev/ad4s3d /usr   ufs rw22
> /dev/ad4s3g /var   ufs rw22
> /dev/acd0   /cdrom cd9660  ro,noauto 00
> 
> 5. Output of `cdrecord --scanbus'
> 
> 
> [r...@griffin:/root]# cdrecord -scanbus
> Cdrecord-Clone 2.01 (i386-unknown-freebsd7.0) Copyright (C) 1995-2004 Jorg 
> Schilling
> Using libscg version 'schily-0.8'.
> scsibus0:
> 0,0,0 0) 'TEAC' 'USB   HS-CF Card' '4.08' Removable
> Disk
> 0,1,0 1) *
> 0,2,0 2) *
> 0,3,0 3) *
> 0,4,0 4) *
> 0,5,0 5) *
> 0,6,0 6) *
> 0,7,0 7) *
> scsibus4:
> 4,0,0   400) 'PBDS' 'DVD+-RW DH-16W1S' '2D14' Removable
> CD-ROM
> 4,1,0   401) *
> 4,2,0   402) *
> 4,3,0   403) *
> 4,4,0   404) *
> 4,5,0   405) *
> 4,6,0   406) *
> 4,7,0   407) *
> 
> -- 
> N. Raghavendra  | http://www.retrotexts.net/
> Harish-Chandra Research Institute   | http://www.mri.ernet.in/
> See message headers for contact and OpenPGP information.
> 
> 

> Copyright (c) 1992-2009 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>   The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 7.2-STABLE #3: Thu Sep 10 21:00:51 IST 2009
> r...@griffin.campus.hri:/usr/obj/usr/src/sys/GRIFFIN
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz (2394.01-MHz 686-class 
> CPU)
>   Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
>   
> Features=0xbfebfbff
>   Features2=0xe3bd
>   AMD Features=0x2010
>   AMD Features2=0x1
>   Cores per package: 4
> real memory  = 3219718144 (3070 MB)
> avail memory = 3136708608 (2991 MB)
> ACPI APIC Table: 
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
>  cpu2 (AP): APIC ID:  2
>  cpu3 (AP): APIC ID:  3
> ioapic0: Changing APIC ID to 4
> ioapic0  irqs 0-23 on motherboard
> kbd1 at kbdmux0
> acpi0:  on motherboard
> acpi0: [ITHREAD]
> acpi0: Power Button (fixed)
> acpi0: reservation of 0, a (3) failed
> acpi0: reservation of 10, bfd9 (3) failed
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
> acpi_hpet0:  iomem 0xfed0-0xfed003ff on acpi0
> device_attach: acpi_hpet0 attach returned 12
> acpi_button0:  on acpi0
> pcib0:  port 0xcf8-0xcff on acpi0
> pci0:  on pcib0
> pcib1:  irq 16 at device 1.0 on pci0
> pci1:  on pcib1
> vgapci0:  port 0xcf00-0xcf7f mem 
> 0xfa00-0xfaff,0xd000-0xdfff,0xf800-0xf9ff irq 16 at 
> device 0.0 on pci1
> nvidia0:  on vgapci0
> vgapci0: child nvidia0 requested pci_enable_busmaster
> vgapci0: child nvidia0 requested pci_enable_io
> nvidia0: [GIANT-LOCKED]
> nvidia0: [ITHREAD]
> em0:  port 0xff00-0xff1f mem 
> 0xfdfc-0xfdfd,0xfdfff000-0xfdff irq 20 at device 25.0 on pci0
> em0: Using MSI interrupt
> em0: [FILTER]
> em0: Ethernet address: 00:1d:09:99:b5:ee
> uhci0:  port 0xfe00-0xfe1f irq 16 at device 
> 26.0 on pci0
> uhci0: [GIANT-LOCKED]
> uhci0: [ITHREAD]
> usb0:  on uhci0
> usb0: USB revision 1.0
> uhub0:  on usb0
> uhub0: 2 ports with 2 removable, self powered
> uhci1:  port 0xfd00-0xfd1f irq 21 at device 
> 26

freebsd-update problem 8.0Beta1 to 8.0Beta4

2009-09-20 Thread Fernando Apesteguía
Hi all,

I'm having some problems trying to update from FreeBSD 8.0 Beta1 to 8.0 Beta4.

I upgraded from 7.2 to beta1 some time ago, using freebsd-update
without problems. Later
I did the same thing to reach beta2. Yesterday I tried it to get to
beta3 but I have a bunch
of errors like this one:

/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory

This is after the "preparing to download files" stage. I have plenty
of disk space left on my hard disk.
In an attempt to fix the problem I performed a rollback, so I went to
beta1 again. This process seemed
to work fine. However, whenever I try to upgrade to another higher
release number, I get those errors.

Listing the contents of the /var/db/freebsd-update/files/ directory
shows a bunch of .gz files.
What can be wrong?

I've googled, but I haven't been able to find a solution.
Any help?
Thanks in advance.
___
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"


Not able to compile GENERIC kernel

2009-09-20 Thread mfv
Hello,

After rebuilding FreeBSD for many years I am not able to build a GENERIC 
kernel for the last few days.   It always stops when compiling acpi.

The source code is up to date for 7 -STABLE for i386 on a amd64 cpu.  I 
have always been able to recompile a GENERIC kernel since release 5.1 
and do not know what I am doing wrong.

Any help would be greatly appreciated.

With thanks.

Marek

The following is the tail end of "make buildkernel":

cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -
nostdinc -I /usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica
-DHAVE_KERNEL_OPTION_ HEADERS -include
/usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/a ltq
-finline-limit=8000 --param inline-unit-growth=100 --param large-
function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/GENERIC
-mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -mno-sse3 - ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmi ssing-prototypes -Wpointer-
arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions 
-c /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi _machdep.c
@ ->/usr/src/sys
ln: @/sys: Operation not permitted
*** Error code 1

Stop in /usr/src/sys/modules/acpi/acpi.
*** Error code 1

Stop in /usr/src/sys/modules/acpi.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

[root] /usr/src #
___
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: postfix + cyrus sasl: no go

2009-09-20 Thread Gerard
On Sat, 19 Sep 2009 17:05:24 -0500
Jarrod Slick  wrote:

> use dovecot . . . I spent days trying to get postfix configured with
> cyrus sasl, tweaking everything I could think of multiple times, and
> I still couldn't get it to work.  Tried dovecot and had everything
> working in 10 minutes.

Please don't top post. If you don't know what that means, Google for it.

If the OP has 'dovecot' all ready installed, that might be a viable
option. Otherwise, he would be better off to simply configure SASL2
correctly.

I would strongly recommend that the OP reads the Postfix documentation
on SASL as well as visiting:
 and
downloading and running the 'saslfinger' utility. He can then post the
output preferably the Postfix forum, or else here.

-- 
Gerard
ger...@seibercom.net

A well-known friend is a treasure.
___
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"


Postfix error after updating to openssl-0.9.8k_5

2009-09-20 Thread Carmel NY
I just install the updated "openssl-0.9.8k_3" to "openssl-0.9.8k_5" and
then rebuilt "postfix-current-2.7.20090712,4" and
"cyrus-sasl-saslauthd-2.1.23". Now when Postfix starts, I am receiving
this error message:

Sep 20 08:15:51 scorpio postfix/smtpd[4050]: sql_select option missing
Sep 20 08:15:51 scorpio postfix/smtpd[4050]: auxpropfunc error no mechanism 
available

The "/var/log/messages" log is also filled with these error messages.
However, I cannot discover anything inappropriately happening with
Postfix. It appears to working correctly and I have no indication of
mail being lost or refused.

I do not use MySQL with Postfix.

cat /usr/local/lib/sasl2/smtpd.conf

# Global Parameters
log_level: 0
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN

This is on a FreeBSD-7.2 system. Has anyone else experienced this
phenomena?

-- 
Carmel
car...@hotmail.com

Your boyfriend takes chocolate from strangers.
___
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: Polling and kern.hz

2009-09-20 Thread Pieter de Goeje
On Saturday 19 September 2009, Agus wrote:
> Hi guys...
>
> Im reading ant playing with polling and kernel. I read that
> polling increase net performance and i plan on using it... Now the
> question that arises is.. is polling and performance in general
> affected by the value of kern.hz? i have put in /boot.loader.con
> kern.hz=50 and was wondering if this number affects the number i
> choose for the polling options
>
> I wanna recompile kernel using
>
> options DEVICE_POLLING
>  options HZ=1000
>
> So that 1000hz how affects the system? if it affects it at all
>
> thanks for anyone who can give me a hint
>
> Cheers,
> A

To quote polling(4):
"Device polling disables interrupts by polling devices at appropriate
times, i.e., on clock interrupts and within the idle loop.  This way, the
context switch overhead is removed.  Furthermore, the operating system
can control accurately how much work to spend in handling device events,
and thus prevent livelock by reserving some amount of CPU to other tasks."

HZ affects how often the device is polled. For high bandwidth situations, it 
is important that the latency is kept as low as possible. That means that you 
must poll the device as often as possible. So generally people use very high 
HZ values for polling, for example 1. HZ=50 leads to latencies of about 
20ms, way too high for normal network I/O.

Note that you can change HZ without recompiling by specifying kern.hz="###" in 
loader.conf.

-- 
Pieter de Goeje
___
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: Microsoft "Dynamic DNS"

2009-09-20 Thread Mehul Ved
On Sun, Sep 20, 2009 at 2:38 AM, Gary Gatten  wrote:
> I'm pretty sure DDNS is an RFC, I'm sure FBSD supports it.  WINS is
> different altogether.

Yes, you are right. I learnt something new here :)
So, I believe this is what we are looking at:-

 send { [option declaration] [, ... option declaration] }
 The send statement causes the client to send the specified
 options to the server with the specified values.  These are full
 option declarations as described in dhcp-options(5).  Options
 that are always sent in the DHCP protocol should not be specified
 here, except that the client can specify a dhcp-lease-time option
 other than the default requested lease time, which is two hours.
 The other obvious use for this statement is to send information
 to the server that will allow it to differentiate between this
 client and other clients or kinds of clients.

So it would be something like
send host-name "andare.fugue.com";

Taken from http://www.freebsd.org/cgi/man.cgi?query=dhclient.conf&sektion=5
___
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: How to get pf to wait for ng0

2009-09-20 Thread krad
2009/9/20 Sam Fourman Jr. 

> >
> > Take a look at what /etc/rc.d/ppp does
> >
> > Probably you need a script that runs after ng0 comes up and does
> > something similar.
>
>
> I found this, can I just paste it into /usr/local/etc/rc.d/mpd ? I am
> not very versed in shell scripting
>
> ppp_poststart()
> {
># Re-Sync ipfilter and pf so they pick up any new network interfaces
>#
>/etc/rc.d/ipfilter quietresync
>/etc/rc.d/pf quietresync
> }
>
>
>
> Sam
> ___
> 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"
>

can you not add the line

cloned_interfaces="ng0"

to rc.conf(.local) it will create the pseudo interface very early on.
___
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: Mutt /tmp full error when "trying" to read email

2009-09-20 Thread Doug Hardie
You have 4 directories in /tmp.  Check them.  If nothing, run lsof +L1  
and see if there are files allocated but not in the directory.



On 20 September 2009, at 00:41, Bryan Cassidy wrote:

I decided to reinstall and make /tmp 2Gigs and here is my current  
layout


df -H

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a2.0G150M1.7G 8%/
devfs  1.0k1.0k  0B   100%/dev
/dev/ad0s1e2.0G1.8G 78M96%/tmp
/dev/ad0s1f 29G2.4G 24G 9%/usr
/dev/ad0s1d2.0G1.1G750M60%/var

Here is the output of df -i

Filesystem  1K-blocksUsedAvail Capacity iused   ifree  
%iused  Mounted on
/dev/ad0s1a   1982798  146842  1677334 8%1765  257305 
1%   /
devfs   1   10   100%   0   0   
100%   /dev
/dev/ad0s1e   1982798 17476467653096%  15  259055 
0%   /tmp
/dev/ad0s1f  28459276 2301652 23880882 9%  239356 3458306 
6%   /usr
/dev/ad0s1d   1999598 1107622   73201060%1984  279870 
1%   /var



This is the exact error

/tmp: write failed, filesystem is full
yes: stdout: No space left on device. Press any key to continue...

I am able to send emails from Mutt just fine for some reason. How can
/tmp be full when it is 2Gigs? Here is the contents of /tmp

drwxrwxrwt   6 rootwheel   512 Sep 20 02:33 ./
drwxr-xr-x  20 rootwheel   512 Sep 20 00:47 ../
drwxrwxrwt   2 rootwheel   512 Sep 20 00:48 .ICE-unix/
-r--r--r--   1 rootwheel11 Sep 20 01:25 .X0-lock
drwxrwxrwt   2 rootwheel   512 Sep 20 01:25 .X11-unix/
drwxrwxrwt   2 rootwheel   512 Sep 20 00:48 .XIM-unix/
drwxrwxrwt   2 rootwheel   512 Sep 20 00:48 .font-unix/
-rw---   1 bsdsys  wheel  1246 Sep 20 02:29 mutt- 
mail-3b4arq36-3


Thanks in Advance for any help.




On Sun, Sep 20, 2009 at 01:39:22AM -0500, Erik Osterholm wrote:

Out of inodes?  df -i

Erik

On Sat, Sep 19, 2009 at 09:16:36PM -0500, Bryan Cassidy wrote:

Here is a little about my setup

uname -a
FreeBSD mail.comcast.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri  
May  1 08:49:13 UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/ 
usr/src/sys/GENERIC  i386


Mutt 1.4.2.3i

Output from df -h

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a496M143M313M31%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1e496M332M124M73%/tmp
/dev/ad0s1f 30G2.9G 25G11%/usr
/dev/ad0s1d1.9G 53M1.7G 3%/var
linprocfs  4.0K4.0K  0B   100%/usr/compat/linux/ 
proc


When /tmp shows 73% used why am I getting these messages when  
trying
to open emails in mutt? I cannot opem them at all. Thanks in  
advance.


___
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: Help me during Kernel Complie Command Error - make buildkernal KERNEL=KIMHYUN_KERNEL

2009-09-20 Thread Manolis Kiagias
Kim Hyun wrote:
> help me~my configuration kernel file is failed.
>
> my os is FreeBSD 7.2 Release
> my notebook's model is "Compaq Evo N150"
> memory ram is 311M
> cpu is "Intel pentium III (800.04-MHz 686-class CPU)"
>
>
> executig command 
> ===
> make buildkernal KERNEL=KIMHYUN_KERNEL
>
> ...
> ...
> /usr/src/sys/dev/fxp/if_fxp.c:87:23: error: miibus_if.h: No such file or
> directory
> mkdep: compile failed
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/KIMHYUN_KERNEL.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
>   

You need 'device miibus' for fxp.
Uncomment this line in  your configuration file.
___
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"


Help me during Kernel Complie Command Error - make buildkernal KERNEL=KIMHYUN_KERNEL

2009-09-20 Thread Kim Hyun
help me~my configuration kernel file is failed.

my os is FreeBSD 7.2 Release
my notebook's model is "Compaq Evo N150"
memory ram is 311M
cpu is "Intel pentium III (800.04-MHz 686-class CPU)"


executig command 
===
make buildkernal KERNEL=KIMHYUN_KERNEL

...
...
/usr/src/sys/dev/fxp/if_fxp.c:87:23: error: miibus_if.h: No such file or
directory
mkdep: compile failed
*** Error code 1

Stop in /usr/obj/usr/src/sys/KIMHYUN_KERNEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1


*please..what shall i do?*


KIMHYUN_KERNEL
Description: Binary data
___
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: Mutt /tmp full error when "trying" to read email

2009-09-20 Thread Bryan Cassidy
 I decided to reinstall and make /tmp 2Gigs and here is my current layout
 
 df -H
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a2.0G150M1.7G 8%/
 devfs  1.0k1.0k  0B   100%/dev
 /dev/ad0s1e2.0G1.8G 78M96%/tmp
 /dev/ad0s1f 29G2.4G 24G 9%/usr
 /dev/ad0s1d2.0G1.1G750M60%/var
 
 Here is the output of df -i
 
 Filesystem  1K-blocksUsedAvail Capacity iused   ifree %iused  Mounted 
on
 /dev/ad0s1a   1982798  146842  1677334 8%1765  2573051%   /
 devfs   1   10   100%   0   0  100%   /dev
 /dev/ad0s1e   1982798 17476467653096%  15  2590550%   /tmp
 /dev/ad0s1f  28459276 2301652 23880882 9%  239356 34583066%   /usr
 /dev/ad0s1d   1999598 1107622   73201060%1984  2798701%   /var
 
 
 This is the exact error 
 
 /tmp: write failed, filesystem is full
 yes: stdout: No space left on device. Press any key to continue...
 
 I am able to send emails from Mutt just fine for some reason. How can 
 /tmp be full when it is 2Gigs? Here is the contents of /tmp
 
 drwxrwxrwt   6 rootwheel   512 Sep 20 02:33 ./
 drwxr-xr-x  20 rootwheel   512 Sep 20 00:47 ../
 drwxrwxrwt   2 rootwheel   512 Sep 20 00:48 .ICE-unix/
 -r--r--r--   1 rootwheel11 Sep 20 01:25 .X0-lock
 drwxrwxrwt   2 rootwheel   512 Sep 20 01:25 .X11-unix/
 drwxrwxrwt   2 rootwheel   512 Sep 20 00:48 .XIM-unix/
 drwxrwxrwt   2 rootwheel   512 Sep 20 00:48 .font-unix/
 -rw---   1 bsdsys  wheel  1246 Sep 20 02:29 mutt-mail-3b4arq36-3
 
 Thanks in Advance for any help.
 
 
 
> On Sun, Sep 20, 2009 at 01:39:22AM -0500, Erik Osterholm wrote:
> > Out of inodes?  df -i
> > 
> > Erik
> > 
> > On Sat, Sep 19, 2009 at 09:16:36PM -0500, Bryan Cassidy wrote:
> > > Here is a little about my setup
> > > 
> > > uname -a
> > > FreeBSD mail.comcast.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 
> > > 08:49:13 UTC 2009 
> > > r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> > > 
> > > Mutt 1.4.2.3i 
> > > 
> > > Output from df -h
> > > 
> > > Filesystem SizeUsed   Avail Capacity  Mounted on
> > > /dev/ad0s1a496M143M313M31%/
> > > devfs  1.0K1.0K  0B   100%/dev
> > > /dev/ad0s1e496M332M124M73%/tmp
> > > /dev/ad0s1f 30G2.9G 25G11%/usr
> > > /dev/ad0s1d1.9G 53M1.7G 3%/var
> > > linprocfs  4.0K4.0K  0B   100%/usr/compat/linux/proc
> > > 
> > > When /tmp shows 73% used why am I getting these messages when trying 
> > > to open emails in mutt? I cannot opem them at all. Thanks in advance.
> > > 
> > > ___
> > > 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"