no more possible to use any usb storage device/usb flash drive, when pluged or unpluged

2010-04-24 Thread harvey dent
Hi everybody

I try to make a functional custom kernel for a i386 machine.
Here the uname -a:
*FreeBSD k 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 16:02:27 UTC
2010 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
i386*

I maked, and I installed a new kernel.
But, there are several problems with it.
Under GNOME, any usb hard drive or usb flash drive are no more mounted
automaticaly, causing errors, unlike GENERIC kernel. So I have to use *mount
*command.
Further, when I connect up and disconnect any usb drive, or use
*umount *command,
it is no more possible to use any usb storage device/usb mass storage (usb
keyboard and usb mouse still work well).
The kernel doesn't detect any more any usb storage plugged or unplugged
(dmesg|tail doesn't return anything when I plug and unplug usb storage/flash
device).
So, I have to reboot for use again an usb storage/flash device.
But, the problem still here. So I have to reboot again and again when I use
*umount *command, plug, unplug usb storage device ...

here the kernel configuration file:

*#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.htmlhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server
(http://www.FreeBSD.org/http://www.freebsd.org/)
for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.519.2.4.2.2 2009/11/09 23:48:01
kensmith Exp $

cpuI686_CPU
# CPU control pseudo-device. Provides access to MSRs, CPUID info and
# microcode update feature.
#
#devicecpuctl


identFREEBSD4

# Optional:
options MPTABLE_FORCE_HTT# Enable HTT CPUs with the MP Table
options IPI_PREEMPTION
options PERFMON
# The system memory devices; /dev/mem, /dev/kmem
#devicemem

# The kernel symbol table device; /dev/ksyms
deviceksyms



# To statically compile in device wiring instead of /boot/device.hints
#hintsGENERIC.hints# Default places to look for devices.

# Use the following to compile in values accessible to the kernel
# through getenv() (or kenv(1) in userland). The format of the file
# is 'variable=value', see kenv(1)
#
# envGENERIC.env

makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_ULE# ULE scheduler
options PREEMPTION# Enable kernel thread preemption
options INET# InterNETworking
options INET6# IPv6 communications protocols
options SCTP# Stream Control Transmission Protocol
options FFS# Berkeley Fast Filesystem
options SOFTUPDATES# Enable FFS soft updates support
options UFS_ACL# Support for access control lists
options UFS_DIRHASH# Improve performance on big directories
options UFS_GJOURNAL# Enable gjournal-based UFS journaling
options MD_ROOT# MD is a potential root device
options NFSCLIENT# Network Filesystem Client
options NFSSERVER# Network Filesystem Server
options NFSLOCKD# Network Lock Manager
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options PROCFS# Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_PART_GPT# GUID Partition Tables.
options GEOM_LABEL# Provides labelization
options COMPAT_43TTY# BSD 4.3 TTY compat (sgtty)
options COMPAT_FREEBSD4# Compatible with FreeBSD4

# Enable i386 a.out binary support
options COMPAT_AOUT


options COMPAT_FREEBSD5# Compatible with FreeBSD5
options COMPAT_FREEBSD6# Compatible with FreeBSD6
options COMPAT_FREEBSD7# Compatible with FreeBSD7
options SCSI_DELAY=5000# Delay (in ms) before probing SCSI
options KTRACE# ktrace(1) support
options STACK# stack(9) support
options SYSVSHM# SYSV-style shared memory
options SYSVMSG# SYSV-style message queues
options SYSVSEM# SYSV-style semaphores
options P1003_1B_SEMAPHORES# POSIX-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options 

Re: no more possible to use any usb storage device/usb flash drive, when pluged or unpluged

2010-04-24 Thread Aiza

harvey dent wrote:

Hi everybody

I try to make a functional custom kernel for a i386 machine.
Here the uname -a:
*FreeBSD k 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 16:02:27 UTC
2010 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
i386*

I maked, and I installed a new kernel.
But, there are several problems with it.
Under GNOME, any usb hard drive or usb flash drive are no more mounted
automaticaly, causing errors, unlike GENERIC kernel. So I have to use *mount
*command.
Further, when I connect up and disconnect any usb drive, or use
*umount *command,
it is no more possible to use any usb storage device/usb mass storage (usb
keyboard and usb mouse still work well).
The kernel doesn't detect any more any usb storage plugged or unplugged
(dmesg|tail doesn't return anything when I plug and unplug usb storage/flash
device).
So, I have to reboot for use again an usb storage/flash device.
But, the problem still here. So I have to reboot again and again when I use
*umount *command, plug, unplug usb storage device ...

here the kernel configuration file:

*#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.htmlhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server
(http://www.FreeBSD.org/http://www.freebsd.org/)
for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.519.2.4.2.2 2009/11/09 23:48:01
kensmith Exp $

cpuI686_CPU
# CPU control pseudo-device. Provides access to MSRs, CPUID info and
# microcode update feature.
#
#devicecpuctl


identFREEBSD4

# Optional:
options MPTABLE_FORCE_HTT# Enable HTT CPUs with the MP Table
options IPI_PREEMPTION
options PERFMON
# The system memory devices; /dev/mem, /dev/kmem
#devicemem

# The kernel symbol table device; /dev/ksyms
deviceksyms



# To statically compile in device wiring instead of /boot/device.hints
#hintsGENERIC.hints# Default places to look for devices.

# Use the following to compile in values accessible to the kernel
# through getenv() (or kenv(1) in userland). The format of the file
# is 'variable=value', see kenv(1)
#
# envGENERIC.env

makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_ULE# ULE scheduler
options PREEMPTION# Enable kernel thread preemption
options INET# InterNETworking
options INET6# IPv6 communications protocols
options SCTP# Stream Control Transmission Protocol
options FFS# Berkeley Fast Filesystem
options SOFTUPDATES# Enable FFS soft updates support
options UFS_ACL# Support for access control lists
options UFS_DIRHASH# Improve performance on big directories
options UFS_GJOURNAL# Enable gjournal-based UFS journaling
options MD_ROOT# MD is a potential root device
options NFSCLIENT# Network Filesystem Client
options NFSSERVER# Network Filesystem Server
options NFSLOCKD# Network Lock Manager
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options PROCFS# Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_PART_GPT# GUID Partition Tables.
options GEOM_LABEL# Provides labelization
options COMPAT_43TTY# BSD 4.3 TTY compat (sgtty)
options COMPAT_FREEBSD4# Compatible with FreeBSD4

# Enable i386 a.out binary support
options COMPAT_AOUT


options COMPAT_FREEBSD5# Compatible with FreeBSD5
options COMPAT_FREEBSD6# Compatible with FreeBSD6
options COMPAT_FREEBSD7# Compatible with FreeBSD7
options SCSI_DELAY=5000# Delay (in ms) before probing SCSI
options KTRACE# ktrace(1) support
options STACK# stack(9) support
options SYSVSHM# SYSV-style shared memory
options SYSVMSG# SYSV-style message queues
options SYSVSEM# SYSV-style semaphores
options P1003_1B_SEMAPHORES# POSIX-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions

Re: KDE 4.4.2

2010-04-24 Thread David DEMELIER
2010/4/23 Bruce Cran bru...@muon.cran.org.uk:
 On Fri, Apr 23, 2010 at 07:58:12PM +1200, Andrew Hill wrote:
 Hi does anyone know if kde 4.4.2 is in freebsd ports?

 It's not yet - a big upgrade to Xorg and KDE is being worked on so I
 guess it'll be available in a few days.


For xorg 1.8 ?

Cheers

--
Demelier David
___
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 doesn't sent route information

2010-04-24 Thread Beat Siegenthaler
On 23.04.10 18:02, Onur Aslan wrote:
 $ cat /usr/local/etc/dhcpd.conf
 option domain-name-servers 8.8.8.8, 8.8.8.4;
   
8.8.8.4 is not a valid Nameserver. You want 8.8.4.4...


___
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 doesn't sent route information

2010-04-24 Thread Peter Boosten
On 23-4-2010 17:22, Chuck Swiger wrote:
 On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote:
 I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a
 client machine, this machine doesn't get gateway from dhcp server. I 
 configured
 dhcpd server as described in FreeBSD handbook.
 
 If the machine you are testing from is one of onur-pc or onur-eee, you aren't 
 getting a default router because you've only defined it for the dynamic pool 
 range of .4 - .24.  Move the:
 
option routers 192.168.1.1;
 
 ...statement to the top level, or move the host declarations inside of the 
 subnet 192.168.1.0 block.  Or copy the routers line to your host 
 declarations, I suppose.
 

No, better to keep routers information together with subnet (or else you
will get in trouble when adding a second subnet):

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;

pool {
  range 192.168.1.4 192.168.1.24;
}
}

Peter

-- 
http://www.boosten.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: Network laser printcap

2010-04-24 Thread perryh
Graham Bentley ad...@cpcnw.co.uk wrote:
 Could anyone using a network laser printer post
 their working /etc/printcap entry?

 Having mixed results getting a Kyocera FS-1010
 working consistently on both ascii  ps

These entries work here on 6.1:

lp|Samsung ML-2571N PostScript network printer:\
:sh:\
:rm=ml2571n:sd=/var/spool/output/ml2571n:lf=/var/log/lpd-errs:
xerox|Xerox Phaser 6130 Color PostScript network printer:\
:sh:\
:rm=xp6130:sd=/var/spool/output/xp6130:lf=/var/log/lpd-errs:
___
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 doesn't sent route information

2010-04-24 Thread Erik Norgaard

On 23/04/10 15:14, Onur Aslan wrote:


Do you have any idea?


Still haven't solved the problem?

I just looked over your dhclient.conf:

#prepend domain-name-servers 127.0.0.1;
prepend domain-name-servers 8.8.8.8, 8.8.8.4;
#request subnet-mask, broadcast-address, time-offset, routers,
#   domain-name, domain-name-servers, domain-search, host-name,
#   netbios-name-servers, netbios-scope, interface-mtu,
#   rfc3442-classless-static-routes, ntp-servers;
request subnet-mask, broadcast-address;

Seems like you don't request router information.

As for dhcpd.conf, I don't know if you have a real need to keep static 
addresses, if you do use fixed-address then your dhcpd.conf can only be 
good for that subnet.


I have:

subnet 192.168.0.0 netmask 255.255.254.0 { # Server subnet
default-lease-time 3600;
max-lease-time 86400;

option routers 192.168.0.1;
option domain-name-servers ns1.example.com;
option domain-name example.com;

pool {
range 192.168.1.1 192.168.1.127;
deny unknown-clients;
}
pool {
range 192.168.1.128 192.168.1.254;
allow unknown-clients;
}
}

group {
use-host-decl-names on;

host myhost {
hardware ethernet 00:ab:cd:de:f0:12;
}
}

With this my host declarations are good for any subnet I may define, and 
I can set special options for known clients as needed - say I only want 
to send router information to known clients, unknown clients will only 
have access to the local network. Of course, this kind of security is 
easy to circumvent. But I do use it to avoid non-diskless clients 
suddenly booting off the network.


BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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: no more possible to use any usb storage device/usb flash drive, when pluged or unpluged

2010-04-24 Thread Mike Clarke
On Saturday 24 April 2010, Aiza wrote:

 harvey dent wrote:
  Hi everybody
 
  I try to make a functional custom kernel for a i386 machine.
  Here the uname -a:
  *FreeBSD k 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5
  16:02:27 UTC 2010
  r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
  i386*
 
  I maked, and I installed a new kernel.
  But, there are several problems with it.
  Under GNOME, any usb hard drive or usb flash drive are no more
  mounted automaticaly, causing errors, unlike GENERIC kernel. So I
  have to use *mount *command.

[snip]

 Well the simple answer is you removed something from the new kernel
 that you shouldn't have. Return to the generic kernel and only remove
 one or two options and compile and test. cycle through this method
 until your system finally misbehaves again. Then you know one of the
 last 2 options has to be kept in the kernel.

An alternative to making a copy of GENERIC and then editing it is to 
create a new file from scratch containing an include GENERIC 
directive and an appropriate ident along with nooptions 
and nodevice directives to remove unwanted features and options 
and device directives to add additional ones, as outlined at the 
start of section 8.6 of the FreeBSD Handbook 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html.

The PAE config file provides an example of this approach. 

This way your kernel file shows only the changes you've made to 
the standard kernel and should make it easier to identify the cause 
of problems.

-- 
Mike Clarke
___
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


Invitation to try Digsby!

2010-04-24 Thread toupar
Digsby = IM + Email + Social Networks
--

toupar has invited you to try Digsby.

--

I have been using a new IM client called Digsby that I think you would 
absolutely love! It helps you manage all your IM, email, and social network 
accounts from one easy to use application. Digsby is completely free and 
supports all the services you already use.

Learn more and download digsby at: 
http://www.digsby.com?utm_medium=emailutm_campaign=emailinviteutm_source=original

--

WHY USE DIGSBY?

Digsby helps you save time by managing all your online accounts from one place. 
Digsby merges all your IM accounts into one buddy list, provides email alerts 
with a snapshot view of your inbox that lets you perform actions such as Mark 
as Read or Report Spam, and shows you a real time newsfeed of all the 
activity on your social networks.

--

Copyright 2009 dotSyntax, LLC. All rights reserved.
125 Tech Park Drive, Rochester, NY 14623
Privacy Policy: http://www.digsby.com/privacy.php
Terms of Serivce: http://www.digsby.com/tos.php
Unsubscribe: 
https://accounts.digsby.com/invite/unsubscribe.php?email=freebsd-questions%40freebsd.orgtoken=0e0ed028c66361c040056f72be335317

___
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


WUSB600N Dual-Band Wireless-N Network Adapter

2010-04-24 Thread Jerry
I was wondering if anyone has gotten a WUSB600N Dual-Band Wireless-N
Network Adapter to work on FreeBSD-8? I cannot find a driver for it.

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

You can fool some of the people all of the time,
and all of the people some of the time,
but you can make a fool of yourself anytime.


signature.asc
Description: PGP signature


Re: WUSB600N Dual-Band Wireless-N Network Adapter

2010-04-24 Thread Leslie Jensen



On 2010-04-24 12:56, Jerry wrote:

I was wondering if anyone has gotten a WUSB600N Dual-Band Wireless-N
Network Adapter to work on FreeBSD-8? I cannot find a driver for it.



I have an older Linksys device. It uses the rum driver. Try man rum.

And of course

http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html

/Leslie
___
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


ping: sendto: No buffer space available

2010-04-24 Thread Erik Norgaard

Hi!

I'm running FreeBSD 8.0. Some times my network just go down without 
leaving any errors behind, now this morning it went down but didn't cut 
my ssh connection to the box and I got this error:


ping: sendto: No buffer space available

From what I have found this relates to protocols like udp and icmp, I 
assume this can occur with p2p but also vpn protocols like l2tp.


Is there some way that I can set limits on these protocols such that 
they will not use up all available buffer space? Or some way to increase 
buffer?


Or is the problem something completely different? I've got two vr 
interfaces on a VIA Nehemiah ITX.


Thanks, Erik
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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


Installation queries

2010-04-24 Thread Warren Liddell
I have a Hard Drive presently running Win 7 which ironically i wish to 
remain souly a Win drive .. my question is, i have another drive im 
looking to put in while i take the windows 1 out and install FreeBSD 
onto it .. if later on i decide for some god unknown reason to put that 
drive back in and take the FreeBSD one out .. will there be any issues ?

___
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


dhcpd doesn't sent route information

2010-04-24 Thread Onur Aslan
Erik Norgaard wrote:
 Seems like you don't request router information.

After I changed request in dhclient.conf to:

request subnet-mask, broadcast-address, time-offset, routers,
   domain-name, domain-name-servers, domain-search, host-name,
   netbios-name-servers, netbios-scope, interface-mtu,
   rfc3442-classless-static-routes, ntp-servers;

It's working fine. But it was getting route ip from other
networks before doing that. I guess it's not a problem after all.
___
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: WUSB600N Dual-Band Wireless-N Network Adapter

2010-04-24 Thread Jerry
On Sat, 24 Apr 2010 13:06:17 +0200
Leslie les...@eskk.nu articulated:

 
 
 On 2010-04-24 12:56, Jerry wrote:
  I was wondering if anyone has gotten a WUSB600N Dual-Band Wireless-N
  Network Adapter to work on FreeBSD-8? I cannot find a driver for it.
 
 
 I have an older Linksys device. It uses the rum driver. Try man rum.
 
 And of course
 
 http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html

The WUSB600N uses a Ralink rt2870 chipset. Evidently, FreeBSD does not
have a driver for that chip. I am thinking about using the Windows
driver. That would of course require NDIS which I have never used
before.

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

If the code and the comments disagree, then both are probably wrong.

Norm Schryer


signature.asc
Description: PGP signature


Re: Installation queries

2010-04-24 Thread Glen Barber
Hi,

Warren Liddell wrote: 
 I have a Hard Drive presently running Win 7 which ironically i wish to 
 remain souly a Win drive .. my question is, i have another drive im 
 looking to put in while i take the windows 1 out and install FreeBSD 
 onto it .. if later on i decide for some god unknown reason to put that 
 drive back in and take the FreeBSD one out .. will there be any issues ?

No, because they will be two separate disks.  If you have only one
attached at one time, each disk will contain its own MBR.

Regards,

-- 
Glen Barber
___
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: Network laser printcap

2010-04-24 Thread Chris Hill

On Sat, 24 Apr 2010, Graham Bentley wrote:


Could anyone using a network laser printer post
their working /etc/printcap entry?

Having mixed results getting a Kyocera FS-1010
working consistently on both ascii  ps


This has been working for many years, 4.x through 8.0:

lp|HP ColorLaserJet 4550N:\
:sh:\
:sd=/var/spool/output/lpd:\
:mx#0:\
:lp=:rm=snowball:rp=auto:

...snowball is the printer's hostname.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
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: KDE 4.4.2

2010-04-24 Thread ajtiM
On Friday 23 April 2010 22:10:00 Michael Powell wrote:
 ajtiM wrote:
  On Friday 23 April 2010 13:39:44 Bruce Cran wrote:
  On Fri, Apr 23, 2010 at 07:58:12PM +1200, Andrew Hill wrote:
   Hi does anyone know if kde 4.4.2 is in freebsd ports?
 
  It's not yet - a big upgrade to Xorg and KDE is being worked on so I
  guess it'll be available in a few days.
 
  ...and again my question: why upgrade on 4.4.2 after two months if 4.4.3
  coming out in the end of the month?? The version 4.4 was out in February
  9th!
 
 Because the release of this software on FreeBSD does not happen on the same
 day as KDE releases it. It has to be patched and ported by people who are
 volunteering their free time. These patches are needed to make compiling
  and running KDE on FreeBSD a worthwhile experience. This takes time.
 
 A lot of third party apps are not as 100% portable as they could be, and
 many contain a lot of 'Linuxisms' which need to be adjusted out.
 
 So do not look at the release dates on the KDE site and think that because
 KDE x.y.z is released by KDE on xx somemonth that it will magically appear
 in the FreeBSD ports immediately. This stuff has to be patched first.
 
 -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
 
I understand it but advertisement was not on KDE site but on the FreeBSD KDE 
site.

Mitja

http://starikarp.redbubble.com
___
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: KDE 4.4.2

2010-04-24 Thread Michael Powell
ajtiM wrote:

[snip]
  ...and again my question: why upgrade on 4.4.2 after two months if
  4.4.3 coming out in the end of the month?? The version 4.4 was out in
  February 9th!
 
 Because the release of this software on FreeBSD does not happen on the
 same day as KDE releases it. It has to be patched and ported by people
 who are volunteering their free time. These patches are needed to make
 compiling
  and running KDE on FreeBSD a worthwhile experience. This takes time.
 
 A lot of third party apps are not as 100% portable as they could be, and
 many contain a lot of 'Linuxisms' which need to be adjusted out.
 
 So do not look at the release dates on the KDE site and think that
 because KDE x.y.z is released by KDE on xx somemonth that it will
 magically appear in the FreeBSD ports immediately. This stuff has to be
 patched first.
 
 -Mike
[snip]
 
 I understand it but advertisement was not on KDE site but on the FreeBSD
 KDE site.
 

Ah - Ok. I did not do an exhaustive review of the site so maybe I missed it, 
but I did not see any mention of KDE 4.4.2. The last was 4.3.4. Perhaps you 
misread the one all the way at the bottom as 4.4.2 when it is really 4.2.4?

Probably I missed something. It is possible to check out from area51 what 
will be forthcoming. This is subject to quite a lot of change and me, I 
prefer to wait until it actually gets finalized and into the ports tree.

-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: Problems with printing

2010-04-24 Thread Frank Wißmann

Hi, folks!

Warren Block schrieb:

On Fri, 23 Apr 2010, Frank Wi?mann wrote:

The beast does it. At least, it does print from the command line like 
cat /etc/rc.conf|lpr.


Excellent.

The printer does not accept a job from a GUI application like 
Firefox or Thunderbird. So how can I go on from now?


That may be a function of the desktop environment.  With xfce4, 
Settings/Printing set to BSD/LPR, Firefox prints fine.


Well, I use KDE. But there seems to be set all to printing BSD style/lpr.

Worst case, you can enter lpr in the Command Line box of the Firefox 
printing dialog.  Or /usr/bin/lpr if it's wrongly trying to run the CUPS 
lpr.


I tried that, but it only produces pages of source code when I start 
using /usr/bin/lpr.

Seems I should ask in a KDE-related newsgroup for that.

Greetings Frank

--
GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE 
Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y?


When pack meets pack in the jungle
and no one will move from the trail
wait till the leaders have spoken
it may be fair words shall prevail

(Rudyard Kipling)
___
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: Installation queries

2010-04-24 Thread Mike Jeays
On April 24, 2010 07:53:27 am Glen Barber wrote:
 Hi,

 Warren Liddell wrote:
  I have a Hard Drive presently running Win 7 which ironically i wish to
  remain souly a Win drive .. my question is, i have another drive im
  looking to put in while i take the windows 1 out and install FreeBSD
  onto it .. if later on i decide for some god unknown reason to put that
  drive back in and take the FreeBSD one out .. will there be any issues ?

 No, because they will be two separate disks.  If you have only one
 attached at one time, each disk will contain its own MBR.

 Regards,

I have always found disk caddies to be a much better solution than dual-boot. 
It guarantees no interference. I learned the hard way some years ago with an 
'accident' with dd on a dual-boot disk...
___
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: Installation queries

2010-04-24 Thread Jorge Biquez

At 09:32 a.m. 24/04/2010, you wrote:

On April 24, 2010 07:53:27 am Glen Barber wrote:
 Hi,

 Warren Liddell wrote:
  I have a Hard Drive presently running Win 7 which ironically i wish to
  remain souly a Win drive .. my question is, i have another drive im
  looking to put in while i take the windows 1 out and install FreeBSD
  onto it .. if later on i decide for some god unknown reason to put that
  drive back in and take the FreeBSD one out .. will there be any issues ?

 No, because they will be two separate disks.  If you have only one
 attached at one time, each disk will contain its own MBR.

 Regards,

I have always found disk caddies to be a much better solution than dual-boot.
It guarantees no interference. I learned the hard way some years ago with an
'accident' with dd on a dual-boot disk...



I would like to hear if possible your comments and advice on this 
taht's related ..


What if you have a to have several OS and distros to study or give 
consulting and developing services. I have this scenario now and I 
guess I have this optios.


- Extra disk(s) and install there the differnet os I need (FreeBSD 
and some Linux distros).
- As mentioned have different small disk with real installations and 
change according to needs.

- Change my slow machine and have a big one with
  a) have the windows needed (for some clients that have that, I am 
sorry) and under it run VMWARE or similar and have all the 
installations that I need.
  b) Have a big mac and do the same with virtualpc or similar (not 
sure of the name).


Thinking that you are looking to continue learning and you are 
offering consulting services where clients have different 
instllations. What would you choose of the above, if any? Or what would you do?


Thanks in advance.

Jorge Biquez


___
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: Setup Fail2Ban on FreeBSD

2010-04-24 Thread Tim Daneliuk
On 4/23/2010 8:03 PM, Zhu Jing wrote:
 On Sat, Apr 24, 2010 at 1:49 AM, Bauer, Aaron J. 
 aaron.j.ba...@saic.comwrote:
 
 I am currently using FreeNAS 0.7 for a file server.  I have multiple SSH
 bruteforce attacks each week, and wish to use fail2ban to prevent this.

 I don't have much experience with BSD, and am having trouble getting
 everything to work.  I ran pkg_add -r python25 and pkg_add -r py25-fail2ban.
  I now have all the files for Fail2Ban, and did the cp jail.conf jail.local
 as the other distro's for linux use.

 However, how do I start using fail2ban?  I have configured it for CentOS
 and Ubuntu, and it starts in init.d.  I don't know how to add it to
 /etc/rc.d to get it to work correctly..

 Any help is greatly appreciated.  If you need more info, please let me
 know.

 Aaron
 Software Research Intern
 aaron.j.ba...@saic.com

I came up with another approach to this problem that involves dynamic
control of TCP Wrappers.  It's freely available at:

  http://www.tundraware.com/Software/tperimeter/


Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Network laser printcap

2010-04-24 Thread Warren Block

On Sat, 24 Apr 2010, Graham Bentley wrote:


Could anyone using a network laser printer post
their working /etc/printcap entry?


lp:\
:lp=:\
:sh:\
:mx#0:\
:rm=laser:\
:rp=raw:\
:sd=/var/spool/output/lpd/lp:\
:if=/usr/local/libexec/psif:\
:lf=/var/log/lpd-errs:

I've corrected the quotes in the psif script shown in my LPD Printing 
document, too, although you may have to refresh the view in the browser 
to get the new version:


http://www.wonkity.com/~wblock/docs/lpdprinting.pdf


Having mixed results getting a Kyocera FS-1010
working consistently on both ascii  ps


What consistency problems are you having?  What are you using for the 
rp= parameter (queue name)?


-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


Re: Installation queries

2010-04-24 Thread Glen Barber
Hi,

Jorge Biquez wrote: 
 I would like to hear if possible your comments and advice on this 
 taht's related ..
 
 What if you have a to have several OS and distros to study or give 
 consulting and developing services. I have this scenario now and I 
 guess I have this optios.
 
 - Extra disk(s) and install there the differnet os I need (FreeBSD 
 and some Linux distros).
 - As mentioned have different small disk with real installations and 
 change according to needs.

IMHO, this is a clumsy way to avoid writing over an existing installed
operating system.  But, you know what they say about opinions.

 - Change my slow machine and have a big one with
a) have the windows needed (for some clients that have that, I am 
 sorry) and under it run VMWARE or similar and have all the 
 installations that I need.
b) Have a big mac and do the same with virtualpc or similar (not 
 sure of the name).
 

VirtualBox?  

 Thinking that you are looking to continue learning and you are 
 offering consulting services where clients have different 
 instllations. What would you choose of the above, if any? Or what would you 
 do?
 

FWIW, I run VirtualBox on all of my FreeBSD machines and my
Mac for similar purposes.  It is much more convenient than carrying around
extra disks or obscure disk partitioning.

Regards,

-- 
Glen Barber
___
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 doesn't sent route information

2010-04-24 Thread Peter Boosten




   option domain-name-servers ns1.example.com;
   option domain-name example.com;



A fqdn for a name server? That'll give you a chicken and egg problem,  
don't you think?


Peter
--
http://www.boosten.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


Which CPUTYPE in make.conf?

2010-04-24 Thread Mike Clarke

I have a AMD Athlon 4850e which is described as Athlon 64 X2 
Dual-Core processor.

/usr/share/examples/etc/make.conf lists recognised CPU types, but which 
of athlon64, athlon-mp or athlon-xp is the most appropriate for this 
CPU? I've been using athlon64 so far without any problems but I don't 
know if it's the most appropriate choice or if there's even any 
significant difference between them.

-- 
Mike Clarke
___
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: Which CPUTYPE in make.conf?

2010-04-24 Thread Антон Клесс
I deal with AMD Athlon 64 X2 4800+ Windsor (AM2, L2 2048Kb) and wondering of
it's CPUTYPE too.


2010/4/24 Mike Clarke jmc-freeb...@milibyte.co.uk


 I have a AMD Athlon 4850e which is described as Athlon 64 X2
 Dual-Core processor.

 /usr/share/examples/etc/make.conf lists recognised CPU types, but which
 of athlon64, athlon-mp or athlon-xp is the most appropriate for this
 CPU? I've been using athlon64 so far without any problems but I don't
 know if it's the most appropriate choice or if there's even any
 significant difference between them.

 --
 Mike Clarke
 ___
 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: Which CPUTYPE in make.conf?

2010-04-24 Thread Michael Powell
Mike Clarke wrote:

 
 I have a AMD Athlon 4850e which is described as Athlon 64 X2
 Dual-Core processor.
 
 /usr/share/examples/etc/make.conf lists recognised CPU types, but which
 of athlon64, athlon-mp or athlon-xp is the most appropriate for this
 CPU? I've been using athlon64 so far without any problems but I don't
 know if it's the most appropriate choice or if there's even any
 significant difference between them.
 

athlon64 is probably a good choice. I haven't looked at it in a while, and 
there isn't much difference. IIRC the older athlon-xp included support for 
3D Now and mmx while the athlon64 adds sse and/or sse2.

I think this matters more to third party ports software builds than it does 
the system. I thought that large pieces of the kernel were designed to not 
make much, if any, use the various SIMD extensions. Maybe this has changed 
and I'm behind the times. 

Your use of athlon64 seems reasonable to me. It is what I've been using. If 
it can be done better I'm always on the look out for better.

-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: Installation queries

2010-04-24 Thread Michael Powell
Glen Barber wrote:

 Hi,
 
 Jorge Biquez wrote:
 I would like to hear if possible your comments and advice on this
 taht's related ..
 
 What if you have a to have several OS and distros to study or give
 consulting and developing services. I have this scenario now and I
 guess I have this optios.
[snip]
 
 
 VirtualBox?

YES!
 
 Thinking that you are looking to continue learning and you are
 offering consulting services where clients have different
 instllations. What would you choose of the above, if any? Or what would
 you do?
 
 
 FWIW, I run VirtualBox on all of my FreeBSD machines and my
 Mac for similar purposes.  It is much more convenient than carrying around
 extra disks or obscure disk partitioning.
 

Me too. I have an AMD quad core and 8GB RAM. Virtualbox is one of the most 
painless ways to do this. Whichever OS you install in a VM it won't run as 
fast as it can if not a VM, but on the larger horsepower box it is very 
nearly  unnoticeable. It's close enough that I'm quite satisfied. In fact it 
is what I do if I need Office for anything, fire up a Windows VM.

I originally started doing this with a Pentium D 940 and 2GB RAM and it made 
the box a little sluggish. The move up to the higher horsepower box 
eliminated that. Virtualbox and higher horsepower gets my vote over 
continually monkeying around with altering slice/partitioning schemes. The 
more often you mess with that the higher the chance that you sooner or later 
make a little 'uh oh' and lose gobs of time wiping your drive and starting 
over.

-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: Which CPUTYPE in make.conf?

2010-04-24 Thread C. P. Ghost
On Sat, Apr 24, 2010 at 7:32 PM, Michael Powell nightre...@hotmail.com wrote:
 I think this matters more to third party ports software builds than it does
 the system. I thought that large pieces of the kernel were designed to not
 make much, if any, use the various SIMD extensions. Maybe this has changed
 and I'm behind the times.

I wouldn't bother setting CPUTYPE at all. It's more trouble than it's worth.

And you're right: for most ports and for the whole system, it doesn't really
matter. If you have a very specific port that needs particular tuning, it has
either already been tuned individually by the port maintainer, or you could
apply more optimizations yourself (which would likely require a specially
compiled tool chain, when -Osomething with the base gcc/binutils isn't
enough).

Unless you have a very specific need, better leave CPUTYPE alone.

 Your use of athlon64 seems reasonable to me. It is what I've been using. If
 it can be done better I'm always on the look out for better.

 -Mike

-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


Re: Which CPUTYPE in make.conf?

2010-04-24 Thread Michael Powell
C. P. Ghost wrote:

 On Sat, Apr 24, 2010 at 7:32 PM, Michael Powell nightre...@hotmail.com
 wrote:
 I think this matters more to third party ports software builds than it
 does the system. I thought that large pieces of the kernel were designed
 to not make much, if any, use the various SIMD extensions. Maybe this has
 changed and I'm behind the times.
 
 I wouldn't bother setting CPUTYPE at all. It's more trouble than it's
 worth.

Actually, I've been setting CPUTYPE for many years and have never had any 
trouble as a result. I've always used the form: CPUTYPE?= blah instead of 
CPUTYPE= without the question mark. 
 
 And you're right: for most ports and for the whole system, it doesn't
 really matter. If you have a very specific port that needs particular
 tuning, it has either already been tuned individually by the port
 maintainer, or you could apply more optimizations yourself (which would
 likely require a specially compiled tool chain, when -Osomething with
 the base gcc/binutils isn't enough).

I have also used CFLAGS= -O2 -pipe COPTFLAGS= -O2 -pipe. About the only 
place it will really make any difference is in some multimedia apps. And 
you're right that if needed the port maintainer has already taken care of 
this.
 
 Unless you have a very specific need, better leave CPUTYPE alone.

Thing is, any performance increase is only going to be very small. So small 
the difference can probably not be seen subjectively. I'll do it as long as 
it creates no problem; if any problem were to arise over this I'd kill it in 
a heartbeat and not fuss over it. It is a point of diminishing returns. 
 
[snip]
-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: Setup Fail2Ban on FreeBSD

2010-04-24 Thread Chris Rees
On 23 April 2010 18:49, Bauer, Aaron J. aaron.j.ba...@saic.com wrote:
 I am currently using FreeNAS 0.7 for a file server.  I have multiple SSH 
 bruteforce attacks each week, and wish to use fail2ban to prevent this.

 I don't have much experience with BSD, and am having trouble getting 
 everything to work.  I ran pkg_add -r python25 and pkg_add -r py25-fail2ban.  
 I now have all the files for Fail2Ban, and did the cp jail.conf jail.local as 
 the other distro's for linux use.

 However, how do I start using fail2ban?  I have configured it for CentOS and 
 Ubuntu, and it starts in init.d.  I don't know how to add it to /etc/rc.d to 
 get it to work correctly..

 Any help is greatly appreciated.  If you need more info, please let me know.

 Aaron
 Software Research Intern
 aaron.j.ba...@saic.com


What everyone else has missed out is that ports install their rc files
into /usr/local/etc/rc.d, rather than /etc which is reserved for the
base system. Fail2ban already installs an rc.d script, so you don't
need to do anything.

So, /etc/rc.conf can be used, and add

fail2ban_enable=YES

Then from the prompt run:

# /usr/local/etc/rc.d/fail2ban start

Chris
___
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


Installing from FTP: unable to transfer the GENERIC distribution

2010-04-24 Thread Антон Клесс
Good day. I am trying to install 8.3-RELEASE on remote servers using
bootonly ISO image connected through IPMI virtual media and then choosing
FTP as installation media to get distributions.

There are 2 similiar servers. On first one all gone OK and I get working
system, but on second - nothing wants to go OK. After choosing FTP-server
from list in sysinstall (I have already tryed about 10 of them) GENERIC
distribution starts to download, and progress-bar as usual moving to 100%,
but then I get message

Installing from FTP: unable to transfer the GENERIC distribution from
ftp://server.addr/

On second console (CTRL + F2) there are messages of checksums fails.

Is I re-try downloading, system seems to install normally, but while
sysinstall continue dialogs, bugs start to appear: it is no way to set root
password, for example.

If reboot, I see installed FreeBSD, that boots, but unable to login because
PAM missing. Seems that not all files installed properly.


I tried to re-install system all the day, and of course look through Google,
but can't find out any usuable information.

What can be the reason of such strange situation?
___
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: Installing from FTP: unable to transfer the GENERIC distribution

2010-04-24 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/04/2010 20:51:40, Антон Клесс wrote:
 Good day. I am trying to install 8.3-RELEASE on remote servers using
 bootonly ISO image connected through IPMI virtual media and then choosing
 FTP as installation media to get distributions.

Excellent.  You must tell us the secrets of being able to download
through a timewarp: I'm sure some of the devs would just love to be able
to cut'n'paste all that future code, rather than spend all the effort of
writing it in the first place.

Oh.  Perhaps you mean 7.3-RELEASE ?

 There are 2 similiar servers. On first one all gone OK and I get working
 system, but on second - nothing wants to go OK. After choosing FTP-server
 from list in sysinstall (I have already tryed about 10 of them) GENERIC
 distribution starts to download, and progress-bar as usual moving to 100%,
 but then I get message

Suspect hardware on the second system?  Try escaping to the shell
(Alt-F4) after pulling down some of the distribution sets and see if
'netstat -i' shows interface errors.  Try swapping out network cables,
new switch ports, different NIC on the server you're installing (if
possible).  Check for stupid errors like duplex mismatch --- locking
down the speed on the switch and letting the server autoneg (or vice
versa) is a favourite foot-shooting mechanism.

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
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvTUm8ACgkQ8Mjk52CukIzTsACfUF5KsH6XqYFSX/PxE5Q7epC+
5mUAnibVr8+xpM0/K5w3s1QyPUUGSdnD
=4yYg
-END PGP SIGNATURE-
___
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


Wireless networking question

2010-04-24 Thread Chip Camden
A new notebook (ASUS K72F) has integrated wireles networking.  The technical
specifications are sadly lacking, so I don't know what chipset.  The
wired ethernet appears to use uath, but that's not working as a wlandev.
Since most everything else is Intel, I figured it could be an Intel
chipset, and since it supports 802.11n, I think its probably in the
6000 series.  I tried all the Intel drivers that are listed here:

http://en.wikipedia.org/wiki/Comparison_of_open_source_wireless_drivers#FreeBSD

And none of them appeared to work.  Looking a little further down, it
seems that the Intel 6000 is supported by iwn on OpenBSD, but not on
FreeBSD.  But I could be barking up the entirely wrong tree.

Can anyone shed some light here?  Is there any way to query the hardware,
short of opening the box (which will void the warranty)?

TIA 

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
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: Installing from FTP: unable to transfer the GENERIC distribution

2010-04-24 Thread Антон Клесс

 On second console (CTRL + F2) there are messages of checksums fails.


I mean ALT + F2, sorry.


2010/4/25 Matthew Seaman m.sea...@infracaninophile.co.uk


 Oh.  Perhaps you mean 7.3-RELEASE ?


Of course I am.



 Suspect hardware on the second system?  Try escaping to the shell
 (Alt-F4) after pulling down some of the distribution sets and see if
 'netstat -i' shows interface errors.


I tried to, but  (Alt-F4) does nothing.
Should it work in Standard installation method or Custom?
___
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: ping: sendto: No buffer space available

2010-04-24 Thread Balázs Mátéffy
I almost forgot!

And if you find out the reason for shortage you can tweak it with the
appropiate sysctl value.

At the moment I'm not sure which value you should tweak, but if you search
for this issue, maybe you can find the appropiate net. values.

Regards,

MB.

On 24 April 2010 22:35, Balázs Mátéffy repcs...@gmail.com wrote:

 Hello,

 I had a similar problem sometimes on one or two of my machines, look up
 netstat -m, usually if you run out of buffer space you have to tweak the
 mbuf memory size.

 You can see the memory usage current / cache / total, if the current or
 cache is the same value as the total, you have memory shortage.

 You can search for it, there are plenty of mail list archives about issue
 like this.

 Hope this helps!

 Best Regards,

 MB.


 On 24 April 2010 13:06, Erik Norgaard norga...@locolomo.org wrote:

 Hi!

 I'm running FreeBSD 8.0. Some times my network just go down without
 leaving any errors behind, now this morning it went down but didn't cut my
 ssh connection to the box and I got this error:

 ping: sendto: No buffer space available

 From what I have found this relates to protocols like udp and icmp, I
 assume this can occur with p2p but also vpn protocols like l2tp.

 Is there some way that I can set limits on these protocols such that they
 will not use up all available buffer space? Or some way to increase buffer?

 Or is the problem something completely different? I've got two vr
 interfaces on a VIA Nehemiah ITX.

 Thanks, Erik
 --
 Erik Nørgaard
 Ph: +34.666334818/+34.915211157  http://www.locolomo.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: Wireless networking question

2010-04-24 Thread S Roberts
Hello Chip,
 
On Sat, 24 Apr 2010 13:39:47 -0700
Chip Camden sterl...@camdensoftware.com wrote:

 A new notebook (ASUS K72F) has integrated wireles networking.  The
 technical specifications are sadly lacking, so I don't know what
 chipset.  The wired ethernet appears to use uath, but that's not
 working as a wlandev. Since most everything else is Intel, I figured
 it could be an Intel chipset, and since it supports 802.11n, I think
 its probably in the 6000 series.  I tried all the Intel drivers that
 are listed here:
 
 http://en.wikipedia.org/wiki/Comparison_of_open_source_wireless_drivers#FreeBSD
 
snipped
 
 Can anyone shed some light here?  Is there any way to query the
 hardware, short of opening the box (which will void the warranty)?
 

Easiest option would be to run a livecd of another more populous *nix
flavour and see what it makes of the hardware.

Needless to say, if you're so bold, you **can** always load windows
and let window tell you what it is ;-)

Regards,

S Roberts

 TIA 
 

___
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: Wireless networking question

2010-04-24 Thread Chip Camden
On Apr 24 2010 13:39, Chip Camden wrote:
 A new notebook (ASUS K72F) has integrated wireles networking.  The technical
 specifications are sadly lacking, so I don't know what chipset.  The
 wired ethernet appears to use uath, but that's not working as a wlandev.
 Since most everything else is Intel, I figured it could be an Intel
 chipset, and since it supports 802.11n, I think its probably in the
 6000 series.  I tried all the Intel drivers that are listed here:
 
 http://en.wikipedia.org/wiki/Comparison_of_open_source_wireless_drivers#FreeBSD
 
 And none of them appeared to work.  Looking a little further down, it
 seems that the Intel 6000 is supported by iwn on OpenBSD, but not on
 FreeBSD.  But I could be barking up the entirely wrong tree.
 
 Can anyone shed some light here?  Is there any way to query the hardware,
 short of opening the box (which will void the warranty)?
 
 TIA 
 
 -- 
 Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
 ___
 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

More info:  I found the following in the output of pciconf -vl:


no...@pci0:2:0:0:   class=0x028000 card=0x10891a3b chip=0x002b168c rev=0x01 
hdr=0x00
vendor = 'Atheros Communications Inc.'
class  = network
a...@pci0:3:0:0:class=0x02 card=0x18201043 chip=0x10631969 rev=0xc0 
hdr=0x00
vendor = 'Attansic (Now owned by Atheros)'
class  = network
subclass   = ethernet


Looks like the first entry show here is my wireless (guessing), because
alc0 is my wired.  Any ideas from that what driver I should be using?
I've tried 'ifconfig wlan0 create wlandev ath0', as well as ath1..9 and
uath0..9, and I always get:

ifconfig: SIOCIFCREATE2: Device not configured

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
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: Wireless networking question

2010-04-24 Thread Chip Camden
On Apr 24 2010 21:55, S Roberts wrote:
snip
 Easiest option would be to run a livecd of another more populous *nix
 flavour and see what it makes of the hardware.
 
 Needless to say, if you're so bold, you **can** always load windows
 and let window tell you what it is ;-)
 
 Regards,
 
 S Roberts
 

The really sad thing is that notebook this came with Windows on it.  Next time,
I'll make sure I write down everything in Device Manager *before* I wipe
Windows off the hard drive.

Thanks for the response.

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
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: ping: sendto: No buffer space available

2010-04-24 Thread Balázs Mátéffy
Hello,

I had a similar problem sometimes on one or two of my machines, look up
netstat -m, usually if you run out of buffer space you have to tweak the
mbuf memory size.

You can see the memory usage current / cache / total, if the current or
cache is the same value as the total, you have memory shortage.

You can search for it, there are plenty of mail list archives about issue
like this.

Hope this helps!

Best Regards,

MB.

On 24 April 2010 13:06, Erik Norgaard norga...@locolomo.org wrote:

 Hi!

 I'm running FreeBSD 8.0. Some times my network just go down without leaving
 any errors behind, now this morning it went down but didn't cut my ssh
 connection to the box and I got this error:

 ping: sendto: No buffer space available

 From what I have found this relates to protocols like udp and icmp, I
 assume this can occur with p2p but also vpn protocols like l2tp.

 Is there some way that I can set limits on these protocols such that they
 will not use up all available buffer space? Or some way to increase buffer?

 Or is the problem something completely different? I've got two vr
 interfaces on a VIA Nehemiah ITX.

 Thanks, Erik
 --
 Erik Nørgaard
 Ph: +34.666334818/+34.915211157  http://www.locolomo.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: Wireless networking question

2010-04-24 Thread S Roberts
Hello Chip,

On Sat, 24 Apr 2010 14:00:29 -0700
Chip Camden sterl...@camdensoftware.com wrote:

 On Apr 24 2010 13:39, Chip Camden wrote:
  A new notebook (ASUS K72F) has integrated wireles networking.  The
  technical specifications are sadly lacking, so I don't know what
  chipset.  The wired ethernet appears to use uath, but that's not
  working as a wlandev. Since most everything else is Intel, I
  figured it could be an Intel chipset, and since it supports
  802.11n, I think its probably in the 6000 series.  I tried all the
  Intel drivers that are listed here:
  
  http://en.wikipedia.org/wiki/Comparison_of_open_source_wireless_drivers#FreeBSD
  
  And none of them appeared to work.  Looking a little further down,
  it seems that the Intel 6000 is supported by iwn on OpenBSD, but
  not on FreeBSD.  But I could be barking up the entirely wrong tree.
  
  Can anyone shed some light here?  Is there any way to query the
  hardware, short of opening the box (which will void the warranty)?
  
  TIA 
snipped
 
 More info:  I found the following in the output of pciconf -vl:
 
 
 no...@pci0:2:0:0: class=0x028000 card=0x10891a3b
 chip=0x002b168c rev=0x01 hdr=0x00 vendor = 'Atheros
 Communications Inc.' class  = network
 a...@pci0:3:0:0:  class=0x02 card=0x18201043
 chip=0x10631969 rev=0xc0 hdr=0x00 vendor = 'Attansic (Now owned
 by Atheros)' class  = network
 subclass   = ethernet
 

Not a whole lot there..,

Does scanpci -v tell you any more details about the hardware?

Regards,

S Roberts

 
 Looks like the first entry show here is my wireless (guessing),
 because alc0 is my wired.  Any ideas from that what driver I should
 be using? I've tried 'ifconfig wlan0 create wlandev ath0', as well as
 ath1..9 and uath0..9, and I always get:
 
 ifconfig: SIOCIFCREATE2: Device not configured
 

___
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 doesn't sent route information

2010-04-24 Thread Erik Norgaard

On 24/04/10 17:41, Peter Boosten wrote:




option domain-name-servers ns1.example.com;
option domain-name example.com;



A fqdn for a name server? That'll give you a chicken and egg problem,
don't you think?


No, the dhcpd server resolves the address and sends the ip to the clients.

BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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: restore via netcat not ending

2010-04-24 Thread Doug Poland
On Fri, Apr 23, 2010 at 08:30:28PM -0500, Doug Poland wrote:
 Hello,
 
 I've got a restore process running now that doesn't seem to want to
 end.  The dump (level 0) was made this morning and sent to another
 host on the network.  I reformatted the partition and am restoring the
 43GB dump as such...
 
 restore#  cd /data  nc -l 1234 | restore -rf-
 backup% nc restore 1234  data.dump
 
 I watched the file system slowly fill up for about 4 hours, then
 network and disk I/O dropped dramatically after the restore file
 system is roughly the same size as the dump file.  Yet the restore is
 still running.
 
What I ended up doing was hitting CTRL C on the host that was sending
the data.  Then the receiving host doing restore set the permissions
correctly and ended.  I wonder why reading a restore from stdin causes
this behavior?

-- 
Regards,
Doug
___
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 doesn't sent route information

2010-04-24 Thread Peter Boosten

On 24 apr 2010, at 23:07, Erik Norgaard wrote:

 On 24/04/10 17:41, Peter Boosten wrote:
 
 
option domain-name-servers ns1.example.com;
option domain-name example.com;
 
 
 A fqdn for a name server? That'll give you a chicken and egg problem,
 don't you think?
 
 No, the dhcpd server resolves the address and sends the ip to the clients.
 

Ah, didn't know that. Thanks.

Peter
-- 
http://www.boosten.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: Installing from FTP: unable to transfer the GENERIC distribution

2010-04-24 Thread Антон Клесс
And, one more thing: after choosing FTP server from list sysinstall get to
window Looking up host servername.net, and show it too long - more
than 1 minute before say User Confirmation Requested - Last chance! ...
- is it OK for 10 mbit link? Distribution downloading goes OK, at 0.9
MByte/sec.
___
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: restore via netcat not ending

2010-04-24 Thread Adam Vande More
On Sat, Apr 24, 2010 at 4:09 PM, Doug Poland d...@polands.org wrote:

 I wonder why reading a restore from stdin causes
 this behavior?


That's why man pages are created.

man 1 nc

-- 
Adam Vande More
___
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: Installing from FTP: unable to transfer the GENERIC distribution

2010-04-24 Thread Антон Клесс
  Suspect hardware on the second system?  Try escaping to the shell
 (Alt-F4) after pulling down some of the distribution sets and see if
 'netstat -i' shows interface errors.


 I tried to, but  (Alt-F4) does nothing.
 Should it work in Standard installation method or Custom?




This time I lucky: Base distribution set get right, and when Generic
started downloading, I reached the console you mean.

netstat -i says there are no errors.

second console says following:

/stand/cpio: invalid header: checksum error
/stand/cpio: warning: skipped number bytes of junk
/stand/cpio:  : No such file or directory


While downloading, such messages run out very fast.
Then, sysinstall says:

User confirmation requested
Unable to transfer the GENERIC distribution from ftp://ftp10.freebsd.org.
Do you want to try to retrieve it again?
___
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: Wireless networking question

2010-04-24 Thread Chip Camden
On Apr 24 2010 22:07, S Roberts wrote:
 
 Not a whole lot there..,
 
 Does scanpci -v tell you any more details about the hardware?
 
 Regards,
 
 S Roberts
 

I don't seem to have scanpci on my system, nor do I see it in the ports
tree -- where would I find it?

Thanks

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
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: Wireless networking question

2010-04-24 Thread S Roberts
Hello Chip,

On Sat, 24 Apr 2010 15:00:34 -0700
Chip Camden sterl...@camdensoftware.com wrote:

 On Apr 24 2010 22:07, S Roberts wrote:
  
  Not a whole lot there..,
  
  Does scanpci -v tell you any more details about the hardware?
  
  Regards,
  
  S Roberts
  
 
 I don't seem to have scanpci on my system, nor do I see it in the
 ports tree -- where would I find it?
 

I believe its been bundled into the  libpciaccess port:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libpciaccess/

Hope that helps..,

Regards,

S Roberts

 Thanks
 

___
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


Advice for finding a leaky Apache (probably PHP) process

2010-04-24 Thread Joe Auty
Hello,

I'm wondering if you guys have any general tips on how to find the
Apache process/app that is gobbling up my RAM randomly until my machine
crashes and I'm forced to reboot? I'm tired of staring at top and
working with flimsy hacks such as 10 minute Apache restart cronjobs.

This seems to start (or worsen) after updating to PHP 5.3, but this is
not happening on my test machine where PHP 5.3 is also installed and the
same apps are used (although not publicly).

General tips and suggestions are welcome here!

THanks in advance...


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org http://www.netmusician.org
j...@netmusician.org mailto:j...@netmusician.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: Advice for finding a leaky Apache (probably PHP) process

2010-04-24 Thread Adam Vande More
On Sat, Apr 24, 2010 at 8:02 PM, Joe Auty j...@netmusician.org wrote:

 Hello,

 I'm wondering if you guys have any general tips on how to find the
 Apache process/app that is gobbling up my RAM randomly until my machine
 crashes and I'm forced to reboot? I'm tired of staring at top and
 working with flimsy hacks such as 10 minute Apache restart cronjobs.

 This seems to start (or worsen) after updating to PHP 5.3, but this is
 not happening on my test machine where PHP 5.3 is also installed and the
 same apps are used (although not publicly).

 General tips and suggestions are welcome here!

 THanks in advance...


Have you tried working with php's mem limit abilities?  The base system
provides procstat for tracking invidual process info.  You could try
something like appending ps aux  file every minute or so to track growth
etc.  Can you provide more info about the php app?

-- 
Adam Vande More
___
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: Bacula 5.0 compiler error (crypto.c)

2010-04-24 Thread Brian A. Seklecki (NOC)

 crypto.c: In function 'ASN1_OCTET_STRING* openssl_cert_keyid(X509*)':
 crypto.c:333: error: invalid conversion from 'const X509V3_EXT_METHOD*' to 
 'X509V3_EXT_METHOD*'
 crypto.c: In function 'CRYPTO_SESSION* crypto_session_new(crypto_cipher_t, 
 alist*)':


What's your uname -a look like?  -current?

5.0.1 was a patch release for version of GNU/Linux that had recent
OpenSSL versions?

For example, 5.0.1 wouldn't compile on RHEL5/Fedora12, but 5.0.1 may be
required for FreeBSD -current with OpenSSL 0.9.8n+ in -current

~BAS

 crypto.c:1102: error: cannot convert 'unsigned char*' to 'EVP_PKEY_CTX*' for 
 argument '1' to 'int EVP_PKEY_encrypt(EVP_PKEY_CTX*, unsigned char*, size_t*, 
 const unsigned char*, size_t)'
 crypto.c: In function 'crypto_error_t crypto_session_decode(const u_int8_t*, 
 u_int32_t, alist*, CRYPTO_SESSION**)':
 crypto.c:1226: error: cannot convert 'unsigned char*' to 'EVP_PKEY_CTX*' for 
 argument '1' to 'int EVP_PKEY_decrypt(EVP_PKEY_CTX*, unsigned char*, size_t*, 
 const unsigned char*, size_t)'
 *** Error code 1


___
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


query..

2010-04-24 Thread Terry T

Does FreeBSD 8.0 have support for the rt2860 chipset from ralink ?

Thanks.


___
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