Re: Logcheck dependency hell

2009-02-25 Thread n j
Hey Greg,

perhaps you might want to know about this. Sorry for using the list
for unicast mail, but (as seen below) I obviously can't contact you
directly.

Regards,
-- 
Nino


-- Forwarded message --
...
                  The mail system

i...@sourcehosting.net: host mail1.sourcehosting.net[74.205.51.45] said: 550
   Forged Gmail, not sent from your account. (in reply to RCPT TO command)

Final-Recipient: rfc822; i...@sourcehosting.net
Original-Recipient: rfc822;glar...@freebsd.org
Action: failed
Status: 5.0.0
Remote-MTA: dns; mail1.sourcehosting.net
Diagnostic-Code: smtp; 550 Forged Gmail, not sent from your account.
...
___
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: Issue With 7.0-Rel - 7.1-Rel Update

2009-02-25 Thread Vince Sabio
Anyone have any ideas on this? Or should I make a couple of backups 
(test them to confirm they're viable) and install v7.1 from scratch?


Hmmm. There's actually a certain appeal to installing v7.1 from 
scratch. RHEL has the option of creating SoftRAID mirrors at install 
time (and later, of course). Does the FreeBSD installer have that 
capability, as well? If so, then I'll probably go that route even if 
there's a simple solution to the dilemma below; disk space has become 
so incredibly cheap that it's almost a mistake *not* to configure 
mirrors at this point.


Either way, all pointers appreciated

Thanks,
Vince


** At 14:24 -0500 on 02/22/2009, Vince Sabio wrote:


Hi folks,

I am updating an AMD-based machine from v7.0-RELEASE to 
v7.1-RELEASE. Here's what I get:


BEGIN:
ares-root# freebsd-update upgrade -r 7.1-RELEASE
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic src/base src/bin src/contrib src/crypto src/etc src/games
src/gnu src/include src/krb5 src/lib src/libexec src/release src/sbin
src/secure src/share src/sys src/ubin src/usbin world/base world/dict
world/doc world/games world/info world/manpages world/proflibs

The following components of FreeBSD do not seem to be installed:
src/cddl src/compat src/rescue src/tools world/catpages

Does this look reasonable (y/n)? y

Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 7.0-RELEASE for merging... done.
Preparing to download files...
done.
Fetching 14771 patches.[snip snip snip]... done.
Applying patches... done.
Fetching 21632 files... gunzip: (stdin): unexpected end of file
21ca797afb693c5ee108f0c9a617760501cb749b9592603dc16e089acf2be70f has 
incorrect hash.

ares-root#
END

Weird. But hey, I'm an optimist (and it was 2:00 a.m.), so I figured 
WTF, I'll try it again


BEGIN:
ares-root# freebsd-update upgrade -r 7.1-RELEASE
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic src/base src/bin src/contrib src/crypto src/etc src/games
src/gnu src/include src/krb5 src/lib src/libexec src/release src/sbin
src/secure src/share src/sys src/ubin src/usbin world/base world/dict
world/doc world/games world/info world/manpages world/proflibs

The following components of FreeBSD do not seem to be installed:
src/cddl src/compat src/rescue src/tools world/catpages

Does this look reasonable (y/n)? y

Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 7.0-RELEASE for merging... done.
Preparing to download files... done.
Fetching 10796 patches.102030. done.
Applying patches... done.
Fetching 18821 files... done.
Attempting to automatically merge changes in files... done.

The following file could not be merged automatically: /etc/amd.map
Press Enter to edit this file in vi and resolve the conflicts
manually...
END

Okay, I reach that point and press Enter, and I am presented with a 
diff-style file in vi (which is fine; I'm a vi user) that clearly 
highlights the differences between the current file and v7.1-R file. 
I'm good to go with the v7.1-R version, so I edit out the 'current' 
section, remove the 'diff' markers, ZZ, and that file is done.


The updater then presents me with another file whose changes could 
not be merged automatically. So I go through the identical process.


Wash, rinse, repeat, FOR [more than] FORTY MINUTES' worth of files. 
Each time, I kept thinking, Okay, this has to be the last one.., 
but it wasn't. Even after 40 minutes, the process was not completed 
-- I just threw in the towel. For all I know, this process could 
have continued for all 21632 files -- version 11.5-RELEASE could 
have been out by the time I finished that process.


So, first of all, what did I do wrong?

Second, when I start the upgrade over again, what should I do differently?

And, if all else fails: In each case of editing the files, the v7.1 
version was fine. Is there any way to tell it, I have good backups, 
and want to live dangerously, so Just Do It, and don't ask me if I 
want to edit anything...?


Muchas 

Re: Issue With 7.0-Rel - 7.1-Rel Update

2009-02-25 Thread Wojciech Puchar
Hmmm. There's actually a certain appeal to installing v7.1 from scratch. RHEL 
has the option of creating SoftRAID mirrors at install time (and later, of 
course). Does the FreeBSD installer have that capability, as well? If so,


no it doesn't. but nobody force you to use installer at all.
Personally i don't use it
___
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: new hardware platform?? :-)

2009-02-25 Thread perryh
 On Tue, 24 Feb 2009, Robert Huff wrote:
  Has any one seen more on this?
  http://news.cnet.com/8301-17938_105-10170648-1.html

http://www.marvell.com/featured/plugcomputing.jsp

They claim only Linux support for the brick, but the blurb on the
88F6281 system-on-chip processor claims BSD support (for the SOC,
not necessarily for this board, and it didn't say which BSD).
BTW it's an ARM processor.

Wojciech Puchar wojtek.tensor.gdynia.pl!woj...@agora.rdrop.com wrote:
 i don't see monitor connector? :)

It's presumably intended to be used as a headless server, accessed
primarily via the GB Ethernet; however that slot on the top side has
several useful connections including serial and JTAG.  (Their debug
board converts those to USB, but nothing requires you to plug in the
debug board :)

One disappointment is that they apparently did not bring out the
chip's SATA and PCI-E connections.  The PCI-E is only x1, so not
all that great for high-performance video, but burying it inside
the box does seem like an unnecessary limitation.
___
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: LDAP pam

2009-02-25 Thread Olivier Nicole
Hi,

Could someone confirm my understanding:

1) things like getent(1), getpwnam(3) use:
   /etc/nsswitch
   /usr/local/etc/nss_ldap.conf

2) things like sshd, with pam_ldap use:
   /usr/local/etc/ldap.conf

So if I have different filter in /usr/local/etc/nss_ldap.conf and
/usr/local/etc/ldap.conf I can have a different list of users that
would apply to getent and sshd.

The purpose is to have all the users listed in getent, but only some
allowed to login into the machine.

TIA,

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: Pango not found .....

2009-02-25 Thread Brent Clark

Steve Polyack wrote:
I ran into this as well.  There is not a configurable option to build 
pango with Cairo support.  It is a default.  Simply rebuilding pango 
took care of it:


$ portupgrade -f pango

or

$ cd /usr/ports/x11-toolkits/pango
$ make  make deinstall reinstall


Thanks this did the trick.

Kind Regards
Brent Clark
___
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


PoE Midspans

2009-02-25 Thread Midspan Manager
PoE Midspans 

In stock - order now from our distributor WAV. 
Call 800-678-2419 and ask for the Midspan Promotional Price 
These prices are not available online.
 
Through March 31st we are offering PoE Midspans at up to 65% off PowerDsine 
list prices. You can order now through our distributor WAV. Call them at 
800-678-2419 and ask for the Midspan Promotional Price. These prices are not 
availible online.



1 Port 10/100$19.7560% Off
1 Port Gig (10/100/1000)$23.6060% Off
8 Port Gig (10/100/1000)$164.5050% Off
16 Port Gig (10/100/1000)$320.0050% Off
24 Port Gig (10/100/1000) $395.0060% Off
24 Port Gig (10/100/1000) Managed 
(SNMP Management)$495.0065% Off


1 Port Gig (10/100/1000)$39.50 50% Off
8 Port Gig (10/100/1000)$349.5050% Off
16 Port Gig (10/100/1000) Managed 
(SNMP Management)$549.5050% Off
 




 1Calculated savings are based upon list prices of PowerDsine comparable 
products as of 12/1/08. PowerDsine is a trademark of Microsemi Corporation.
This email was sent to you by Phihong USA. We are a top global manufacture of 
power products with OEM customer such as Cisco, HP, Nortel Networks, 3com, 
Accton, Motorola and Siemens. You are being sent this email because you have 
expressed interest in PoE products in the past. If you do not wish to receive 
emails from us in the future and be removed from our list please click on the 
link below. 

To unsubscribe, please click here. 

www.phihong.com - 47800 Fremont Blvd., Fremont, CA. 94538 - Phone 510-445-0100


spacer.htm
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: cups-pdf does not print

2009-02-25 Thread Cam

Mario Lobo wrote:

On Tuesday 24 February 2009 19:49:46 Cam wrote:

Hello,

I need a whole lot of help with cups-pdf.  I've been wrestling with this
for about a week without success.  There are no error messages when test
page printed from CUPS web admin but no output either; there are no
error messages from Windows, which is how I plan to use the PDF
printer.  CUPS works fine with other printers.

thanks
Cam

This is how I set up the cups-pdf printer in the web admin page:
device: CUPS-PDF (virtual PDF printer)
make: Generic.  There is no 'Postscript' option per the Readme file
(http://cups-pdf.de)
model: Generic-CUPS-PDF printer.  There is no 'color Postscript' option.

cups-pdf.conf is all default values, except these lines, which are now
commented:
Out /usr/home/Shiner/PDFs
AnonDirName /usr/home/Shiner/PDFs


I use these /etc/devfs.rules:
[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups

Error log from setting up the printer 'server_PDF' - what is the
significance of the inability to write to /var/cache/cups/ppds.dat ?

I [24/Feb/2009:16:32:21 -0600] Started
/usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44236) I
[24/Feb/2009:16:36:02 -0600] Started
/usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44266) I
[24/Feb/2009:16:36:06 -0600] Started
/usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44268) I
[24/Feb/2009:16:36:08 -0600] Started
/usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44269) I
[24/Feb/2009:16:36:08 -0600] Started
/usr/local/libexec/cups/daemon/cups-deviced (pid=44270) I
[24/Feb/2009:16:36:47 -0600] Started
/usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44285) I
[24/Feb/2009:16:36:47 -0600] Started
/usr/local/libexec/cups/daemon/cups-driverd (pid=44286) E
[24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write
/var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:38:26
-0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44293) I
[24/Feb/2009:16:38:26 -0600] Started
/usr/local/libexec/cups/daemon/cups-driverd (pid=44294) E
[24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write
/var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:39:56
-0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44301) I
[24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to cups-pdf:/
(was cups-pdf:/.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF
printer-is-accepting-jobs to 1 (was 1.) I [24/Feb/2009:16:39:56 -0600]
Setting server_PDF printer-state to 3 (was 3.) I [24/Feb/2009:16:39:56
-0600] Saving printers.conf...
I [24/Feb/2009:16:39:56 -0600] Printer server_PDF modified by root.
I [24/Feb/2009:16:39:59 -0600] Started
/usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44303) I
[24/Feb/2009:16:40:14 -0600] Started
/usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44307) I
[24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page none. I
[24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page none. I
[24/Feb/2009:16:40:14 -0600] [Job 49] File of type application/postscript
queued by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Queued on
server_PDF by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Started
filter /usr/local/libexec/cups/filter/pstops (PID 44308) I
[24/Feb/2009:16:40:14 -0600] [Job 49] Started backend
/usr/local/libexec/cups/backend/cups-pdf (PID 44309) I
[24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully.



Error log from CUPS restart and printing a test page to PDF printer:

I [24/Feb/2009:15:14:25 -0600] Started
/usr/local/libexec/cups/cgi-bin/admin.cgi (pid=43763) I
[24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally.
I [24/Feb/2009:15:15:32 -0600] Saving job cache file
/var/cache/cups/job.cache... I [24/Feb/2009:15:15:32 -0600] Listening to
:::631 (IPv6)
I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4)
I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock (Domain)
I [24/Feb/2009:15:15:32 -0600] Loaded configuration file
/usr/local/etc/cups/cupsd.conf I [24/Feb/2009:15:15:32 -0600] Using
default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32 -0600]
Configured for up to 100 clients.
I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections per
host. I [24/Feb/2009:15:15:32 -0600] Using policy default as the default!
I [24/Feb/2009:15:15:32 -0600] Full reload is required.
I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from
'/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33
-0600] Loading job cache file /var/cache/cups/job.cache... I
[24/Feb/2009:15:15:33 -0600] Full reload complete.
I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in
/var/spool/cups/tmp... I [24/Feb/2009:15:15:33 -0600] Listening to :::631
on fd 3...
I [24/Feb/2009:15:15:33 -0600] Listening to 0.0.0.0:631 on fd 4...
I [24/Feb/2009:15:15:33 -0600] Listening to /var/run/cups.sock on fd 5...
I [24/Feb/2009:15:15:33 -0600] Resuming new connection processing...
I [24/Feb/2009:15:16:37 

Re: RELENG_7 != STABLE?

2009-02-25 Thread Paul Schmehl
--On Tuesday, February 24, 2009 23:02:36 -0600 Mel 
fbsd.questi...@rachie.is-a-geek.net wrote:


Presence of tag enables checkout mode, so it's not that you have a cvs repo
copy. Kernel date tag suggests a reboot, so the only thing that comes to mind
is newvers.sh not having done it's job or UNAME_r set in env.
sysctl kern.osrelease also shows 7.1-PRERELEASE?



# sysctl kern.osrelease
kern.osrelease: 7.1-PRERELEASE

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

___
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


X to not blank screen or switch off monitor

2009-02-25 Thread Brent Clark

Hiya

I got a very minimalistic installation of FreeBSD, so much so that I 
login on console and just run startx and im presented with twm.


The problem I seem to face is that I cant get X and / or freebsd to not 
blank the screen and / or switch off the monitor.


Ive run

xset s noblank  vbetool dpms on

I even set blanktime=NO in /etc/rc.conf.

And yet after a period in time of idleness my monitor goes off.

If anyone can help me understand or achieve my objective, i would be 
most grateful.


Kind Regards
Brent Clark
___
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: weird permissions on directories when installing ports through sudo

2009-02-25 Thread Eric Schuele
On 02/19/2009 15:56, Aleksandr Miroslav wrote:
 For the longest time, I have installed ports via the sudo make install or
 sudo portupgrade or sudo portinstall method and never had a problem.

This seems to have jumped up and bitten me on the arse as well.  I
believe the problem lies herein:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/sudo/distinfo?rev=1.61

It appears that sudo has been changed following a security issue.  I use
a more restrictive umask than the default.  I suspect you do as well.
The sudo change now implements a union of umasks, therefore never
lowering the umask of the person running sudo.

This had the effect of truly screwing up many installed ports for me (I
do the same as you `sudo portupgrade`).  I'm not blaming the fix... just
whining about it.

The fix for me was to deinstall and reinstall and problem ports using
root himself.

I suspect though you could fix it other ways by fiddling with your
usmask, and/or altering the sudo config files.

 
 
 Recently, as of a few weeks ago, I started noticing that ports that were
 installed or upgraded were getting the wrong permissions. Not only were
 directories getting permissions of 700 (whereas previously they had been
 755), but the directories /usr/local and entries in /var/db/pkg were getting
 permissions of 700.
 
 This is causing a lot of things to break, and I have to manually go in and
 make everything public for it to work again.
 
 This only happens when I build ports via sudo. If I am root and I run make
 install, everything works fine.

yeah.  Me too. :)

 
 I haven't changed anything recently either in sudo, or my umask.
 
 What can I do to fix this?
 ___
 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
 
 


-- 
Regards,
Eric




signature.asc
Description: OpenPGP digital signature


ping stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC

2009-02-25 Thread Faizan ul haq Muhammad

Hi
I have two PCI NICs and one builtin NIC on freebsd 7.0
ifconfig shows information somthing like:

bge0: flags=8843UP, broadcast, runing, simplex, multicastmetric 0 mtu 1500
options=9bRXCSUM,TXCSUM, VLAN_HWTAGGING. VLAN_HWCSUM
ether 00:13:21:f8:7e:56
inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
media: Ethernet autoselect (none)
status: no carrier

sk0: flags=8843UP, broadcast, runing, simplex, multicastmetric 0 mtu 1500

options=bRXCSUM,TXCSUM, VLAN_MTU

ether 00:0a:5e:1a:69:25

inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255

media: Ethernet autoselect (none)

status: no carrier


Note: bge0 is builtin NIC
sk0 is 3com PCI NIC

now after configuration of IPV4 Addresses, when i verify the configuration with 
ping

if i ping bge0(ping 192.168.0.1) i get the response of success
but when i ping sk0 (ping 192.168.0.2) Ping gets stuck and gives no response, 
neither it gives success or host unreachable or denied kinda errors.. it just 
hangs over there.. and i can juz see one line of ping not proceeding anyway. 
and if I terminate it via CTRL C then i get statistics sumthing like 3 packets 
sent, 0 received and 100% loss...

I am stuck and my brain does not work any more here.. 
Can anybody help me ... 

Regards
Faizan

_
It’s the same Hotmail®. If by “same” you mean up to 70% faster. 
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Same_022009___
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 stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC

2009-02-25 Thread John Nielsen
On Wednesday 25 February 2009 12:35:23 pm Faizan ul haq Muhammad wrote:
 Hi
 I have two PCI NICs and one builtin NIC on freebsd 7.0
 ifconfig shows information somthing like:

 bge0: flags=8843UP, broadcast, runing, simplex, multicastmetric 0 mtu
 1500 options=9bRXCSUM,TXCSUM, VLAN_HWTAGGING. VLAN_HWCSUM
 ether 00:13:21:f8:7e:56
 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
 media: Ethernet autoselect (none) status: no carrier

This is NIC doesn't appear to be plugged in.

 sk0: flags=8843UP, broadcast, runing, simplex, multicastmetric 0 mtu
 1500 options=bRXCSUM,TXCSUM, VLAN_MTU
 ether 00:0a:5e:1a:69:25
 inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
 media: Ethernet autoselect (none) status: no carrier

Neither is this one.

 Note: bge0 is builtin NIC
 sk0 is 3com PCI NIC

 now after configuration of IPV4 Addresses, when i verify the
 configuration with ping

 if i ping bge0(ping 192.168.0.1) i get the response of success
 but when i ping sk0 (ping 192.168.0.2) Ping gets stuck and gives no
 response, neither it gives success or host unreachable or denied kinda
 errors..

Why do you want both interfaces to be configured on the same subnet?

 it just hangs over there.. and i can juz see one line of ping 
 not proceeding anyway. and if I terminate it via CTRL C then i get
 statistics sumthing like 3 packets sent, 0 received and 100% loss...

This is probably expected behavior. What does netstat -rn show? My guess 
is that the route for 192.168.0.0/24 is link#1 aka bge0 and since it's 
not plugged in to anything that's as far as it gets.

 I am stuck and my brain does not work any more here..
 Can anybody help me ...

JN

___
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 stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC

2009-02-25 Thread Faizan ul haq Muhammad

 


 From: li...@jnielsen.net
 To: freebsd-questions@freebsd.org
 Subject: Re: ping stucks/hangs on PCI 3com NIC sk0 interface but works on 
 builtin NIC
 Date: Wed, 25 Feb 2009 13:06:14 -0500
 CC: faiz...@hotmail.com
 
 On Wednesday 25 February 2009 12:35:23 pm Faizan ul haq Muhammad wrote:
  Hi
  I have two PCI NICs and one builtin NIC on freebsd 7.0
  ifconfig shows information somthing like:
 
  bge0: flags=8843UP, broadcast, runing, simplex, multicastmetric 0 mtu
  1500 options=9bRXCSUM,TXCSUM, VLAN_HWTAGGING. VLAN_HWCSUM
  ether 00:13:21:f8:7e:56
  inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
  media: Ethernet autoselect (none) status: no carrier
 
 This is NIC doesn't appear to be plugged in.

no it is not plugged into any other yet and if i plug it and ping it from an 
external machine, it works
 
  sk0: flags=8843UP, broadcast, runing, simplex, multicastmetric 0 mtu
  1500 options=bRXCSUM,TXCSUM, VLAN_MTU
  ether 00:0a:5e:1a:69:25
  inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
  media: Ethernet autoselect (none) status: no carrier
 
 Neither is this one.

You are right, but it does not reply to ping even if i plug this to an external 
system with crossover cable and ping from that PC.

that is the difference in behaviour of both NICs
 
  Note: bge0 is builtin NIC
  sk0 is 3com PCI NIC
 
  now after configuration of IPV4 Addresses, when i verify the
  configuration with ping
 
  if i ping bge0(ping 192.168.0.1) i get the response of success
  but when i ping sk0 (ping 192.168.0.2) Ping gets stuck and gives no
  response, neither it gives success or host unreachable or denied kinda
  errors..
 
 Why do you want both interfaces to be configured on the same subnet?

that is not required as such, I am just preparing the setup to use this machine 
a bridge and configure dummynet on this machine.

I hope now you get it.
 
  it just hangs over there.. and i can juz see one line of ping 
  not proceeding anyway. and if I terminate it via CTRL C then i get
  statistics sumthing like 3 packets sent, 0 received and 100% loss...
 
 This is probably expected behavior. What does netstat -rn show? My guess 
 is that the route for 192.168.0.0/24 is link#1 aka bge0 and since it's 
 not plugged in to anything that's as far as it gets.

exactly

btu it does not show any other interface in netstat printout with this -rn 
switch

and can you explain, how this is the expected behavior then..?


 
  I am stuck and my brain does not work any more here..
  Can anybody help me ...
 
 JN
 
Thanks for your early response

_
Windows Live™ Hotmail®:…more than just e-mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_022009___
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: cups-pdf does not print

2009-02-25 Thread Mario Lobo
On Wednesday 25 February 2009 12:23:02 Cam wrote:
 Mario Lobo wrote:
  On Tuesday 24 February 2009 19:49:46 Cam wrote:
  Hello,
 
  I need a whole lot of help with cups-pdf.  I've been wrestling with this
  for about a week without success.  There are no error messages when test
  page printed from CUPS web admin but no output either; there are no
  error messages from Windows, which is how I plan to use the PDF
  printer.  CUPS works fine with other printers.
 
  thanks
  Cam
 
  This is how I set up the cups-pdf printer in the web admin page:
  device: CUPS-PDF (virtual PDF printer)
  make: Generic.  There is no 'Postscript' option per the Readme file
  (http://cups-pdf.de)
  model: Generic-CUPS-PDF printer.  There is no 'color Postscript' option.
 
  cups-pdf.conf is all default values, except these lines, which are now
  commented:
  Out /usr/home/Shiner/PDFs
  AnonDirName /usr/home/Shiner/PDFs
 
 
  I use these /etc/devfs.rules:
  [system=10]
  add path 'unlpt*' mode 0660 group cups
  add path 'ulpt*' mode 0660 group cups
  add path 'lpt*' mode 0660 group cups
 
  Error log from setting up the printer 'server_PDF' - what is the
  significance of the inability to write to /var/cache/cups/ppds.dat ?
 
  I [24/Feb/2009:16:32:21 -0600] Started
  /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44236) I
  [24/Feb/2009:16:36:02 -0600] Started
  /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44266) I
  [24/Feb/2009:16:36:06 -0600] Started
  /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44268) I
  [24/Feb/2009:16:36:08 -0600] Started
  /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44269) I
  [24/Feb/2009:16:36:08 -0600] Started
  /usr/local/libexec/cups/daemon/cups-deviced (pid=44270) I
  [24/Feb/2009:16:36:47 -0600] Started
  /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44285) I
  [24/Feb/2009:16:36:47 -0600] Started
  /usr/local/libexec/cups/daemon/cups-driverd (pid=44286) E
  [24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write
  /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:38:26
  -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44293) I
  [24/Feb/2009:16:38:26 -0600] Started
  /usr/local/libexec/cups/daemon/cups-driverd (pid=44294) E
  [24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write
  /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:39:56
  -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44301) I
  [24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to
  cups-pdf:/ (was cups-pdf:/.) I [24/Feb/2009:16:39:56 -0600] Setting
  server_PDF printer-is-accepting-jobs to 1 (was 1.) I
  [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-state to 3 (was
  3.) I [24/Feb/2009:16:39:56 -0600] Saving printers.conf...
  I [24/Feb/2009:16:39:56 -0600] Printer server_PDF modified by root.
  I [24/Feb/2009:16:39:59 -0600] Started
  /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44303) I
  [24/Feb/2009:16:40:14 -0600] Started
  /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44307) I
  [24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page none. I
  [24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page none. I
  [24/Feb/2009:16:40:14 -0600] [Job 49] File of type
  application/postscript queued by root. I [24/Feb/2009:16:40:14 -0600]
  [Job 49] Queued on server_PDF by root. I [24/Feb/2009:16:40:14
  -0600] [Job 49] Started filter /usr/local/libexec/cups/filter/pstops
  (PID 44308) I
  [24/Feb/2009:16:40:14 -0600] [Job 49] Started backend
  /usr/local/libexec/cups/backend/cups-pdf (PID 44309) I
  [24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully.
 
 
 
  Error log from CUPS restart and printing a test page to PDF printer:
 
  I [24/Feb/2009:15:14:25 -0600] Started
  /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=43763) I
  [24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally.
  I [24/Feb/2009:15:15:32 -0600] Saving job cache file
  /var/cache/cups/job.cache... I [24/Feb/2009:15:15:32 -0600] Listening
  to
 
  :::631 (IPv6)
 
  I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4)
  I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock (Domain)
  I [24/Feb/2009:15:15:32 -0600] Loaded configuration file
  /usr/local/etc/cups/cupsd.conf I [24/Feb/2009:15:15:32 -0600] Using
  default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32 -0600]
  Configured for up to 100 clients.
  I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections per
  host. I [24/Feb/2009:15:15:32 -0600] Using policy default as the
  default! I [24/Feb/2009:15:15:32 -0600] Full reload is required.
  I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from
  '/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33
  -0600] Loading job cache file /var/cache/cups/job.cache... I
  [24/Feb/2009:15:15:33 -0600] Full reload complete.
  I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in
  /var/spool/cups/tmp... I [24/Feb/2009:15:15:33 -0600] Listening to
  :::631 on 

Re: weird permissions on directories when installing ports through sudo

2009-02-25 Thread Brian A. Seklecki

 lowering the umask of the person running sudo.
 
 This had the effect of truly screwing up many installed ports for me 

Maybe try sudo -H -u root [command]   NetBSD Pkgsrc is nice in this
respect because it has sudo(8) integration in the MKs. ~BAS


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


Re: RELENG_7 != STABLE?

2009-02-25 Thread Warren Block

On Wed, 25 Feb 2009, Paul Schmehl wrote:

--On Tuesday, February 24, 2009 23:02:36 -0600 Mel 
fbsd.questi...@rachie.is-a-geek.net wrote:


Presence of tag enables checkout mode, so it's not that you have a cvs repo
copy. Kernel date tag suggests a reboot, so the only thing that comes to 
mind

is newvers.sh not having done it's job or UNAME_r set in env.
sysctl kern.osrelease also shows 7.1-PRERELEASE?



# sysctl kern.osrelease
kern.osrelease: 7.1-PRERELEASE


Something that might apply: your cvsup file showed cvsup12 as the 
server.  cvsup12 stopped responding for me several months ago.  If your 
csup and build is automated so you don't see the timeouts, that would 
explain why you aren't getting updated.


-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: RELENG_7 != STABLE?

2009-02-25 Thread Kevin Kinsey

Paul Schmehl wrote:

I have this in my /etc/cvsupfile:

*default tag=RELENG_7

Yet, when I recompiled world and kernel yesterday, I ended up with this:

FreeBSD hostname.utdallas.edu 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #10: 
Mon Feb 23 18:15:12 CST 2009 
r...@utd65257.utdallas.edu:/usr/obj/usr/src/sys/GENERIC  i386


I thought that tag got me the STABLE branch?


And I'm probably just talking out loud to hear my own voice at
this point, but the -STABLE branch is tagged -PRERELEASE during
the last $n $units prior to a RELENG_M_N being tagged, unless
I'm mistaken [IANAE] ... in case that was what your question actually
was.


Kevin Kinsey

--
Are you a turtle?
___
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: RELENG_7 != STABLE?

2009-02-25 Thread Mel
On Wednesday 25 February 2009 09:16:51 Warren Block wrote:
 On Wed, 25 Feb 2009, Paul Schmehl wrote:
  --On Tuesday, February 24, 2009 23:02:36 -0600 Mel
 
  fbsd.questi...@rachie.is-a-geek.net wrote:
  Presence of tag enables checkout mode, so it's not that you have a cvs
  repo copy. Kernel date tag suggests a reboot, so the only thing that
  comes to mind
  is newvers.sh not having done it's job or UNAME_r set in env.
  sysctl kern.osrelease also shows 7.1-PRERELEASE?
 
  # sysctl kern.osrelease
  kern.osrelease: 7.1-PRERELEASE

 Something that might apply: your cvsup file showed cvsup12 as the
 server.  cvsup12 stopped responding for me several months ago.  If your
 csup and build is automated so you don't see the timeouts, that would
 explain why you aren't getting updated.

Yep, looks like this is the problem. You can verify by 
inspecting /usr/src/sys/conf/newvers.sh. It should be:
# $FreeBSD: src/sys/conf/newvers.sh,v 1.72.2.10 2009/01/05 04:45:17 kensmith 
Exp $

TYPE=FreeBSD
REVISION=7.1
BRANCH=STABLE

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: X to not blank screen or switch off monitor

2009-02-25 Thread Polytropon
On Wed, 25 Feb 2009 18:48:23 +0200, Brent Clark brentgclarkl...@gmail.com 
wrote:
 The problem I seem to face is that I cant get X and / or freebsd to not 
 blank the screen and / or switch off the monitor.

Sounds like you need to add

Section Monitor
Option  DPMS  false
EndSection

respectively.



 Ive run
 
 xset s noblank  vbetool dpms on

In my ~/.xinitrc, I have these

xset s off 
xset -dpms 

to prevent blank / monitor off (suspend DPMS).



 I even set blanktime=NO in /etc/rc.conf.

This is for the text mode consoles only. You can add

saver=NO

do your /etc/rc.conf, but I think it's already a default
value (check /etc/defaults/rc.conf).





-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: cups-pdf does not print

2009-02-25 Thread Cam

Mario Lobo wrote:

On Wednesday 25 February 2009 12:23:02 Cam wrote:

Mario Lobo wrote:

On Tuesday 24 February 2009 19:49:46 Cam wrote:

Hello,

I need a whole lot of help with cups-pdf.  I've been wrestling with this
for about a week without success.  There are no error messages when test
page printed from CUPS web admin but no output either; there are no
error messages from Windows, which is how I plan to use the PDF
printer.  CUPS works fine with other printers.

thanks
Cam

This is how I set up the cups-pdf printer in the web admin page:
device: CUPS-PDF (virtual PDF printer)
make: Generic.  There is no 'Postscript' option per the Readme file
(http://cups-pdf.de)
model: Generic-CUPS-PDF printer.  There is no 'color Postscript' option.

cups-pdf.conf is all default values, except these lines, which are now
commented:
Out /usr/home/Shiner/PDFs
AnonDirName /usr/home/Shiner/PDFs


I use these /etc/devfs.rules:
[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups

Error log from setting up the printer 'server_PDF' - what is the
significance of the inability to write to /var/cache/cups/ppds.dat ?

I [24/Feb/2009:16:32:21 -0600] Started
/usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44236) I
[24/Feb/2009:16:36:02 -0600] Started
/usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44266) I
[24/Feb/2009:16:36:06 -0600] Started
/usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44268) I
[24/Feb/2009:16:36:08 -0600] Started
/usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44269) I
[24/Feb/2009:16:36:08 -0600] Started
/usr/local/libexec/cups/daemon/cups-deviced (pid=44270) I
[24/Feb/2009:16:36:47 -0600] Started
/usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44285) I
[24/Feb/2009:16:36:47 -0600] Started
/usr/local/libexec/cups/daemon/cups-driverd (pid=44286) E
[24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write
/var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:38:26
-0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44293) I
[24/Feb/2009:16:38:26 -0600] Started
/usr/local/libexec/cups/daemon/cups-driverd (pid=44294) E
[24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write
/var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:39:56
-0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44301) I
[24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to
cups-pdf:/ (was cups-pdf:/.) I [24/Feb/2009:16:39:56 -0600] Setting
server_PDF printer-is-accepting-jobs to 1 (was 1.) I
[24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-state to 3 (was
3.) I [24/Feb/2009:16:39:56 -0600] Saving printers.conf...
I [24/Feb/2009:16:39:56 -0600] Printer server_PDF modified by root.
I [24/Feb/2009:16:39:59 -0600] Started
/usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44303) I
[24/Feb/2009:16:40:14 -0600] Started
/usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44307) I
[24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page none. I
[24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page none. I
[24/Feb/2009:16:40:14 -0600] [Job 49] File of type
application/postscript queued by root. I [24/Feb/2009:16:40:14 -0600]
[Job 49] Queued on server_PDF by root. I [24/Feb/2009:16:40:14
-0600] [Job 49] Started filter /usr/local/libexec/cups/filter/pstops
(PID 44308) I
[24/Feb/2009:16:40:14 -0600] [Job 49] Started backend
/usr/local/libexec/cups/backend/cups-pdf (PID 44309) I
[24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully.



Error log from CUPS restart and printing a test page to PDF printer:

I [24/Feb/2009:15:14:25 -0600] Started
/usr/local/libexec/cups/cgi-bin/admin.cgi (pid=43763) I
[24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally.
I [24/Feb/2009:15:15:32 -0600] Saving job cache file
/var/cache/cups/job.cache... I [24/Feb/2009:15:15:32 -0600] Listening
to

:::631 (IPv6)

I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4)
I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock (Domain)
I [24/Feb/2009:15:15:32 -0600] Loaded configuration file
/usr/local/etc/cups/cupsd.conf I [24/Feb/2009:15:15:32 -0600] Using
default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32 -0600]
Configured for up to 100 clients.
I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections per
host. I [24/Feb/2009:15:15:32 -0600] Using policy default as the
default! I [24/Feb/2009:15:15:32 -0600] Full reload is required.
I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from
'/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33
-0600] Loading job cache file /var/cache/cups/job.cache... I
[24/Feb/2009:15:15:33 -0600] Full reload complete.
I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in
/var/spool/cups/tmp... I [24/Feb/2009:15:15:33 -0600] Listening to
:::631 on fd 3...
I [24/Feb/2009:15:15:33 -0600] Listening to 0.0.0.0:631 on fd 4...
I [24/Feb/2009:15:15:33 -0600] Listening to /var/run/cups.sock on fd
5... I [24/Feb/2009:15:15:33 

Re: X to not blank screen or switch off monitor

2009-02-25 Thread Dominique Goncalves
Hi,

On Wed, Feb 25, 2009 at 5:48 PM, Brent Clark brentgclarkl...@gmail.com wrote:
 Hiya

 I got a very minimalistic installation of FreeBSD, so much so that I login
 on console and just run startx and im presented with twm.

 The problem I seem to face is that I cant get X and / or freebsd to not
 blank the screen and / or switch off the monitor.

 Ive run

 xset s noblank  vbetool dpms on

 I even set blanktime=NO in /etc/rc.conf.

 And yet after a period in time of idleness my monitor goes off.

I've done a similar setup, add in your xorg.conf

Section ServerLayout
[...]
Option blank time 0
Option standby time 0
Option suspend time 0
Option off time 0
EndSection

Section Monitor
[...]
Option  DPMS
EndSection

So far it works with xorg 7.4
HTH

 If anyone can help me understand or achieve my objective, i would be most
 grateful.

 Kind Regards
 Brent Clark
 ___
 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


Regards.

-- 
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
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 stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC

2009-02-25 Thread John Nielsen
On Wednesday 25 February 2009 01:11:42 pm Faizan ul haq Muhammad wrote:
  From: li...@jnielsen.net
  On Wednesday 25 February 2009 12:35:23 pm Faizan ul haq Muhammad 
wrote:
   Hi
   I have two PCI NICs and one builtin NIC on freebsd 7.0
   ifconfig shows information somthing like:
  
   bge0: flags=8843UP, broadcast, runing, simplex, multicastmetric 0
   mtu 1500 options=9bRXCSUM,TXCSUM, VLAN_HWTAGGING. VLAN_HWCSUM
   ether 00:13:21:f8:7e:56
   inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
   media: Ethernet autoselect (none) status: no carrier
 
  This is NIC doesn't appear to be plugged in.

 no it is not plugged into any other yet and if i plug it and ping it
 from an external machine, it works

That's good.

   sk0: flags=8843UP, broadcast, runing, simplex, multicastmetric 0
   mtu 1500 options=bRXCSUM,TXCSUM, VLAN_MTU
   ether 00:0a:5e:1a:69:25
   inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
   media: Ethernet autoselect (none) status: no carrier
 
  Neither is this one.

 You are right, but it does not reply to ping even if i plug this to an
 external system with crossover cable and ping from that PC.

Still not surprising. See below.

 that is the difference in behaviour of both NICs

   Note: bge0 is builtin NIC
   sk0 is 3com PCI NIC
  
   now after configuration of IPV4 Addresses, when i verify the
   configuration with ping
  
   if i ping bge0(ping 192.168.0.1) i get the response of success
   but when i ping sk0 (ping 192.168.0.2) Ping gets stuck and gives no
   response, neither it gives success or host unreachable or denied
   kinda errors..
 
  Why do you want both interfaces to be configured on the same subnet?

 that is not required as such, I am just preparing the setup to use this
 machine a bridge and configure dummynet on this machine.

You might try a different configuration for your testing. I suspect if you 
changed the IP address of sk0 to 192.168.1.2 or similar it would behave 
as you are expecting.

   it just hangs over there.. and i can juz see one line of ping
   not proceeding anyway. and if I terminate it via CTRL C then i get
   statistics sumthing like 3 packets sent, 0 received and 100%
   loss...
 
  This is probably expected behavior. What does netstat -rn show? My
  guess is that the route for 192.168.0.0/24 is link#1 aka bge0 and
  since it's not plugged in to anything that's as far as it gets.

 btu it does not show any other interface in netstat printout with this
 -rn switch

 and can you explain, how this is the expected behavior then..?

There can only be one route at any time for any given network. When you 
bring up bge0 with 192.168.0.1 a route is automatically created for 
192.168.0.0 pointing to that interface. When you then bring up sk0 with 
192.168.0.2 no additional route can be added for 192.168.0.0 since there 
is already one present. Therefore ALL traffic destined for the 
192.168.0.0 network will go out via bge0.

In order to be able to ping 192.168.0.2 _locally_ you'd either need to 
connect the interfaces with a crossover cable (well, crossover isn't 
strictly necessary since gigabit ethernet adapters can figure it out on 
their own..) OR plug both interfaces into a switch/hub. Ping packet goes 
out bge0 (according to the route), across the wire and comes in on sk0 
(destination address). The response would be delivered directly to bge0 
(without going over the wire).

Similarly, in order to be able to ping 192.168.0.2 from a second machine 
all _three_ interfaces would need to be connected to the same network 
segment (via a switch/hub, etc). Ping packet goes out from peer, across 
the wire and in on sk0 (destination address). Response goes out bge0 
(according to route), across the other wire and back to the peer.

I hope this helps you make sense of things.

JN

___
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


buildworld crashes

2009-02-25 Thread Doug Sampson
I accidentally did a dump on the wrong machine running FBSD 7.1-prerelease
overwriting all of the file systems with content from another machine. This
machine is simply a ftp server whereas the other machine a FAMP server
running FBSD 7.1-prerelease. I would like to keep the contents of the ftp
site (in other words, /home). I really don't care for the rest of the file
systems.

When I attempt to rebuild from sources cvsup'ped, I receive the following
error during buildworld as follows:

[...]
/usr/obj/usr/src/etc created for /usr/src/etc
=== etc/sendmail (obj)
/usr/obj/usr/src/etc/sendmail created for /usr/src/etc/sendmail

--
 stage 2.3: build tools
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
/usr/src/tools/install.sh
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bi
n:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
WORLDTMP=/usr/obj/usr/src/tmp  VERSION=FreeBSD 7.1-STABLE i386 701102
MAKEFLAGS=-m /usr/src/tools/build/mk  -m /usr/src/share/mk
/usr/obj/usr/src/make.i386/make -f Makefile.inc1  TARGET=i386
TARGET_ARCH=i386  DESTDIR=  BOOTSTRAPPING=701102 -DNO_LINT -DNO_CPU_CFLAGS
-DNO_WARNS -DNO_CTF build-tools
=== bin/csh (obj,build-tools)
grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep '^#define'
 sh.err.h
Segmentation fault (core dumped)
Segmentation fault (core dumped)
*** Error code 139

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

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

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

Stop in /usr/src.
test-root@/usr/src# 


I've tried the following:

# chflags -R noschg /usr/obj/usr
# rm -rf /usr/obj/usr
# cd /usr/src
# make cleandir
# make cleandir

to no avail.

Would it be best to start a fresh installation from a cd-rom instead of
trying to repair this system?

~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: USB INSTALL SCRIPTS

2009-02-25 Thread Peter Steele
The script runs fine, but the resulting USB drive won't boot. It hangs on 

Feb 25 19:27:50 kernel: atkbdc0: Keyboard controller (i8042) port 0x60,0x64 
irq 1 on acpi0 

every time. I tried different systems as well. There is no error, it just 
hangs. Any idea what this is about? I did a web search but could fine anything 
describing this kind of hang. 

- Original Message - 
From: Sergio de Almeida Lenzi le...@k1.com.br 
To: Formula 1 btccru...@yahoo.co.uk, freebsd-questions 
questi...@freebsd.org 
Sent: Saturday, February 21, 2009 6:18:22 AM GMT -08:00 US/Canada Pacific 
Subject: USB INSTALL SCRIPTS 

Ok... 
the scripts are at: 
http://dist.k1.com.br/scripts/baselist_amd64 
http://dist.k1.com.br/scripts/baselist_i386 
http://dist.k1.com.br/scripts/makebootdisk 
http://dist.k1.com.br/scripts/zfsetup 

install these scripts on /root 

makebootdisk: 
formats the disk (or usb stick) at da0,da1...) make a bsdlabel on it 
and using the baselist file, copies the running system files into the 
USB 
it will work on FreeBSD versions greater 7.0 
this way the usb is bootable, have a filesystem on it. 
the same root password... 
you can fix the files /etc/rc.conf, /boot/loader.conf in the usb 
filesystem in 
order for it to boot from your kernel. 
remeber to check for an a partition on your usb stick 

the script needs to have access to install bash (pkg_add -r bash) so it 
needs internet of a package repository with bash in it. 

Once boot from your usb stick, you can do the same procedure to 
transport the running system to another disk 
if you intend to make a zfs running filesytem on the target disk (hd) 
make the disklabel (bsdlabel) this way 
a: 1gb 16 unused 
b: 4gb * swap 
d: * * unused 
that is: 
a partition 1gb at offset 16 
b swap partition 4gb after partion A 
d: the rest of the disk (this will hold the zpool). 

the makebootdisk will install a running system on A (about 300mb...) 


ZFSETUP 
is a script that, when boot from the hd created with makebootdisk 
moves the running system (booted from a partition) to the the zfspool 
created, in the d partition mentioned above.. 
it edits the loader.conf in order to boot on zfs.. in order to boot 
from 

After that, you are running on ZFS... 

Sergio 





___ 
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: Top returning 0.0% cpu usage

2009-02-25 Thread mojo fms
On Tue, Feb 24, 2009 at 3:59 PM, Frank Shute fr...@shute.org.uk wrote:

 On Mon, Feb 23, 2009 at 03:21:28PM -0800, mojo fms wrote:
 
  last pid: 11406;  load averages:  0.07,  0.02,
  0.00   up 2+20:54:15  15:36:35
  23 processes:  1 running, 22 sleeping
  CPU:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle
 
  That is what it is displaying, the load adverage isnt it, its just the
 CPU
  stats.  It always displays 0.0% all the way across the board with the
  machine idle or doing any kind of work.
 

 Ummm, that's not right. You could try:

 # cd /usr/src/usr.bin/top/
 # make obj  make depend  make  make install

 You obviously need the source files for that. There's a section in the
 handbook on how to install them if they're not installed already:


 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html

 You want to use cvsup/csup(1)

 The problem suggests that your world and kernel might not be in sync
 and a rebuild might be in order.

 How did you build/install your system?

 Regards,

 --

  Frank


  Contact info: http://www.shute.org.uk/misc/contact.html



Same issue after the rebuild and install of top. Any other suggestions?
___
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: OT: The official stool for FreeBSD users?

2009-02-25 Thread Chad Perrin
On Tue, Feb 24, 2009 at 10:47:41AM -0900, Mel wrote:
 On Monday 23 February 2009 10:56:20 Chad Perrin wrote:
  On Sun, Feb 22, 2009 at 08:18:16PM -0800, Charles Oppermann wrote:
   http://www.yankodesign.com/2008/11/07/i-dont-wanna-grow-up-im-a-big-kid-n
  ow/
 
  I think it might for a great official stool for FreeBSD as soon as the
  designer's site is usable without Flash.
 
 It is, you just miss adblock or similar. Instead of whining, just install 
 www/dummyflash.

Please explain to me how blocking Flash makes this site usable:

  http://www.corazon-design.com/

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
left (n.): 1. crazy pinko commie agricultural reformer Marxist
theft-culture collectivist; 2. opposite of right


pgpi859l2hQOP.pgp
Description: PGP signature


Tried and failed to use mount -t ntfs-3g

2009-02-25 Thread Kayven Riese
Here I am in my fusefs-ntfs port I made the port (typescript of make install
clean command attached)


KV_BSD# ls
Makefilefilespkg-descr
distinfomakesplat.logpkg-plist
KV_BSD# mount -t ntfs-3g /dev/ad0s1 /mnt/vista
mount: /dev/ad0s1 : Operation not supported by device
KV_BSD# pwd
/usr/ports/sysutils/fusefs-ntfs
KV_BSD# -name -a
zsh: command not found: -name
KV_BSD# unmae -a
zsh: command not found: unmae
KV_BSD# uname -a
FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC
2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
KV_BSD# pwd
/usr/ports/sysutils/fusefs-ntfs
KV_BSD#


-- 

*--*
 Kayven Riese, BSCS,
 MS  (Physiology and Biophysics)
 (415) 902 5513 cellular
 http://kayve.net
 Webmaster http://ChessYoga.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: OT: The official stool for FreeBSD users?

2009-02-25 Thread Chuck Swiger

On Feb 25, 2009, at 3:15 PM, Chad Perrin wrote:

Please explain to me how blocking Flash makes this site usable:

 http://www.corazon-design.com/


Considering that they've got 10 errors in 37 lines of HTML per:

  http://validator.w3.org/check?uri=http%3A%2F%2Fwww.corazon-design.com

I'm not convinced their site would be usable even if they didn't  
require Flash for everything.


Regards,
--
-Chuck

___
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


Tuning Question

2009-02-25 Thread Scott Seekamp

This week I started seeing this in my syslog:

kernel: Approaching the limit on PV entries, consider increasing either 
the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl.


I changed the shpgperproc to 800 from 200, but I am still getting the 
message. These are my current settings:


vm.pmap.pmap_collect_active: 0
vm.pmap.pmap_collect_inactive: 0
vm.pmap.pv_entry_spare: 21690
vm.pmap.pv_entry_allocs: 12261136989
vm.pmap.pv_entry_frees: 12257750799
vm.pmap.pc_chunk_tryfail: 0
vm.pmap.pc_chunk_frees: 69895925
vm.pmap.pc_chunk_allocs: 69916210
vm.pmap.pc_chunk_count: 20285
vm.pmap.pv_entry_count: 3386190
vm.pmap.shpgperproc: 800
vm.pmap.pv_entry_max: 6447909

I didn't want to arbitrarily adjust the settings without understanding 
them. I could not find any good information out there on what to adjust 
these values to, or what to base them off of.


I recently added mod_perl2 to our lightly-loaded server so I'm guessing 
that is where this came from. Anyone have good information on how to 
handle this? The server is a 7.1-amd64 with 6GB RAM, load averages: 
0.20, 0.21, 0.26.


Thanks

Scott

___
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


fbsd-7.1 + aircrack-ng + wpi == systemcrash

2009-02-25 Thread Marco
hello list,

i run FreeBSD  7.1-STABLE FreeBSD 7.1-STABLE with the latest version of
aircrack-ng 1.0 rc1. After playing a little bit around i tried to inject
packets with the Intel 3945ABG
card. This resulted, always short after execution of packet injection in
a systemcrash. The command was the following:

aireplay -0 1 -a 00:01:02:03:04:05 -c 00:05:04:03:02:01 wpi0

I also tried the aireplay test command, which shall testify if the
used card is capable of packet injection, this resulted in the same
behavior complete system crash.

aireplay-ng --test -e teddy -a 00:14:6C:7E:40:80 wpi0

After execution the system freezes completly, by 10seconds, and
restarts. Does anybody came across this problems and has maybe a solution?

Best regards,
 marco
___
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


mounted usb devices crash

2009-02-25 Thread Marco
hello list,

i ran into a lot of crashes because of problems with externally mounted
devices through usb. after successful mount, an ejecting of the device,
w/o unmounting it, ususally results in a freeze of the system, followed
by reboot. also with defect hardware, or cable problems this occurs. is
there a way to protect my running os from such behavior, any kind of
flag i could set?

best regards,
 marco
___
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: weird permissions on directories when installing ports through sudo

2009-02-25 Thread Eric Schuele
On 02/25/2009 11:49, Brian A. Seklecki wrote:
 lowering the umask of the person running sudo.

 This had the effect of truly screwing up many installed ports for me 
 
 Maybe try sudo -H -u root [command]   NetBSD Pkgsrc is nice in this
 respect because it has sudo(8) integration in the MKs. ~BAS

I didn't think this would do much, but gave it a try anyway
And it doesn't help.  :/

The following command prior to the change resulted in root's umask being
displayed:
  sudo -H -u root umask

Whereas after the change in sudo I mentioned, the union of mine and
root's is presented.

I looked at the security issue mentioned in the commit log, and I'm not
sure this change was required in order to fix it.

Anyone have thoughts on why this change was made?  I'd argue POLA was
broken here.  But I don't keep up with sudo developments (aside from
using it).

-- 
Regards,
Eric




signature.asc
Description: OpenPGP digital signature


Re: mounted usb devices crash

2009-02-25 Thread Mel
On Wednesday 25 February 2009 15:07:06 Marco wrote:
 hello list,

 i ran into a lot of crashes because of problems with externally mounted
 devices through usb. after successful mount, an ejecting of the device,
 w/o unmounting it, ususally results in a freeze of the system, followed
 by reboot. also with defect hardware, or cable problems this occurs. is
 there a way to protect my running os from such behavior, any kind of
 flag i could set?

Not until usb-2. There's work in progress for this issue. OpenBSD solved it 
last year, by refactoring all the locking for mounts if I recall correctly. 
It's harder in FreeBSD.
I doubt this will hit the 7.x tree, but it might happen.

I looked for status on this project, can't seem to find it atm.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Tuning Question

2009-02-25 Thread Mel
On Wednesday 25 February 2009 14:09:22 Scott Seekamp wrote:

 I didn't want to arbitrarily adjust the settings without understanding
 them. I could not find any good information out there on what to adjust
 these values to, or what to base them off of.

You didn't search the archives of this list. Just answered this like a week 
ago.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: OT: The official stool for FreeBSD users?

2009-02-25 Thread Mel
On Wednesday 25 February 2009 14:15:51 Chad Perrin wrote:
 On Tue, Feb 24, 2009 at 10:47:41AM -0900, Mel wrote:
  On Monday 23 February 2009 10:56:20 Chad Perrin wrote:
   On Sun, Feb 22, 2009 at 08:18:16PM -0800, Charles Oppermann wrote:
http://www.yankodesign.com/2008/11/07/i-dont-wanna-grow-up-im-a-big-k
   id-n ow/
  
   I think it might for a great official stool for FreeBSD as soon as
   the designer's site is usable without Flash.
 
  It is, you just miss adblock or similar. Instead of whining, just install
  www/dummyflash.

 Please explain to me how blocking Flash makes this site usable:

   http://www.corazon-design.com/

Ah that site. It wouldn't, my apologies.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: weird permissions on directories when installing ports through sudo

2009-02-25 Thread Brian A. Seklecki

 I didn't think this would do much, but gave it a try anyway
 And it doesn't help.  :/

I think i meant '-i' -- but I'd have to look at the patch`s interaction.

I can't recreate the problem in the 1.6.x we're running in our internal
release engineering.

1.7.x, and its associated backport, created the local brouhaha with
groups credential crashing.  Perhaps next time a -dev extension of the
port should roll for a few months (6-9), especially given the history of
sudo releng.

~BAS




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


disk/drive-bay problem

2009-02-25 Thread Richard Stockton

I have a Dell PowerEdge 4400 running FreeBSD 6.2 (yes, I know it's old).
This machine has 8 hot-swapable drive bays.  Recently I purchased 7 new
drives for it (300Gig 15K) to replace the old ones (145Gig 10k).  I was
able to successfully install 6 of the 7 drives, and they all work perfectly.
The 7th drive (actually the 4th drive-bay) gives lots of errors like this:

g_vfs_done():da4s1d[READ(offset=261868847104, length=16384)]error = 5

and while you can partially read/write to it, every error like the above
means a failed read or write.

Here's the really strange part.

 1.  This only happens on drive-bay 4.  If I swap the 300 Gig drives around,
they are all happy in any drive-bay but drive-bay number 4, and there are
no errors with any of them.

 2.  The old 145Gig drives work perfectly in any bay, including bay 4.

This makes no sense to me.  Why would one (proven good) drive fail in that
slot, while the other (also proven good) drive succeeds.  The only difference
is the size and speed (145 vs 300, 10k vs 15k).

Here's a df:
Filesystem  1K-blocks  Used Avail Capacity  Mounted on
/dev/da0s1a   202603086743099651847%/
devfs   1 1 0   100%/dev
/dev/da0s1d   6090094   3353614   224927460%/home
/dev/da0s1e   3045006   1307482   149392447%/usr
/dev/da0s1f   2120714  5972   1945086 0%/var
/dev/da1s1d 283743762 45540 260998722 0%/bak
/dev/da2s1d 283743762 213625780  4741848282%/bak13a
/dev/da3s1d 283743762  89492866 17155139634%/bak13b
/dev/da5s1d 283743762 213359628  4768463482%/bak14a
/dev/da4s1d 138860928  97258122  3049393276%/bak14b
/dev/da6s1d 283743762 214408266  4663599682%/bak15a
/dev/da7s1d 283743762  97749186 16329507637%/bak15b

The controller is an Adaptec aic7880 Ultra SCSI adapter.
All the 300 Gig drives are SEAGATE ST3300655LC 0003.
All the 145 Gig drives are SEAGATE ST3146707LC 0005.

I would appreciate any light anyone can shine on this problem.
Thank you.
 - Richard

___
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: OT: The official stool for FreeBSD users?

2009-02-25 Thread Chad Perrin
On Wed, Feb 25, 2009 at 04:28:20PM -0900, Mel wrote:
 
 Ah that site. It wouldn't, my apologies.

Oh -- you thought I was talking about the first site.  Sorry, I guess I
wasn't as clear about what I meant.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Colleen McManus: still, if you cut through all the bullshit,
usually there's something that spawned it, other than an anus


pgpn4AREUaZ4R.pgp
Description: PGP signature


Re: RELENG_7 != STABLE?

2009-02-25 Thread Paul Schmehl
--On February 25, 2009 10:31:44 PM + Paul Schmehl pa...@utdallas.edu 
wrote:


Something that might apply: your cvsup file showed cvsup12 as the
server.  cvsup12 stopped responding for me several months ago.  If your
csup and build is automated so you don't see the timeouts, that would
explain why you aren't getting updated.



Yes, that *would* explain it.  I changed to cvsup1 the other day and
csup'd everything.  I've started a new build just a few minutes ago.
Should be running the new kernel in a couple of hours.

Thanks for your help, Warren.


That solved the problem.  I'm now running 7.1_STABLE and I can mount my 
USB drive again without problems.


Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
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: fbsd-7.1 + aircrack-ng + wpi == systemcrash

2009-02-25 Thread Paul B. Mahol
On 2/26/09, Marco ilikef...@web.de wrote:
 hello list,

 i run FreeBSD  7.1-STABLE FreeBSD 7.1-STABLE with the latest version of
 aircrack-ng 1.0 rc1. After playing a little bit around i tried to inject
 packets with the Intel 3945ABG
 card. This resulted, always short after execution of packet injection in
 a systemcrash. The command was the following:

 aireplay -0 1 -a 00:01:02:03:04:05 -c 00:05:04:03:02:01 wpi0

 I also tried the aireplay test command, which shall testify if the
 used card is capable of packet injection, this resulted in the same
 behavior complete system crash.

 aireplay-ng --test -e teddy -a 00:14:6C:7E:40:80 wpi0

 After execution the system freezes completly, by 10seconds, and
 restarts. Does anybody came across this problems and has maybe a solution?

Probably driver fault, it should not cause system crash.
You can file PR with textdump of crash (with bt) so that problem
doesnt get lost.

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


ssh + xterm

2009-02-25 Thread Olivier Nicole
Hi,

I want to use ssh to connect to a remote machine, launch an xterm with
the IP address of my X server display and exit ssh (there is no need
to have ssh idled once xterm has started).

I beleive that can be done in a single command, but I am clueless
about the syntax.

I am pretty much aware that running xterm -display IP-address:0.0 is
pretty unsecure, but I consider the local environment to be secure
enough.

So far I used xrsh, which is based on rsh type of authentication, by
using ssh instead I intend to add password authentication.

TIA,

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


ldap cn=config/slapd.d querying

2009-02-25 Thread Da Rock
This may be a stupid question, but I haven't been able to alight on the
answer to this.

I'm investigating using dynamic configuration (cn=config or slapd.d
system- whichever term you like) for an ldap service, but as far as I
could see there is no way to change the setting on the fly through the
ldap itself: is this correct?

Is it dynamic in that you can adjust the config manually correcting the
ldif files in the slapd.d directory knowing that the ldap server will
pick up the changes immediately? Or is there a way that an ldap client
(ldapmodify, luma, diradm, whatever) can access the config and change it
that way?

Thanks in advance for humouring my dementia... :)

___
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: Top returning 0.0% cpu usage

2009-02-25 Thread Dan Nelson
In the last episode (Feb 25), mojo fms said:
 On Tue, Feb 24, 2009 at 3:59 PM, Frank Shute fr...@shute.org.uk wrote:
  On Mon, Feb 23, 2009 at 03:21:28PM -0800, mojo fms wrote:
   last pid: 11406;  load averages:  0.07,  0.02, 0.00  
   23 processes:  1 running, 22 sleeping
   CPU:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle
  
   That is what it is displaying, the load adverage isnt it, its just the
   CPU stats.  It always displays 0.0% all the way across the board with
   the machine idle or doing any kind of work.
 
 Same issue after the rebuild and install of top. Any other suggestions?

On some very old PowerEdge 2400 servers I have running 5-STABLE, the RTC
timer occasionally stops firing, and causes the same symptoms you're seeing. 
Kicking it with ntpdate -b pool.ntp.org starts it up again.  I don't see
IRQ 8 in any of my vmstat -i outputs on newer boxes, so FreeBSD 7 might
not even use the RTC anymore.  Couldn't hurt to try an ntpdate -b, though
(stop ntpd first)...

-- 
Dan Nelson
dnel...@allantgroup.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: Tuning Question

2009-02-25 Thread Mel
On Wednesday 25 February 2009 16:36:39 Scott Seekamp wrote:

 I did search and it did not return any results.

They should really kill the htdig project already ;)

 That is helpful, but I was hoping to get an indication of what the
 effects of changing this setting and what is the maximum before looking
 elsewhere for changes?

Your system might be wanting more then the system can offer. It's further 
explained here:

Quoting Mark Tinguely:
 Sometimes pv_entry allocation can fail even below the pv_entry_high_water
 if there is no more free pages available to allocate for a pv_entry chunk.
 Operations (such temp mappings, copies) will not occur if the
 pv_entry_high_water (90% if pv_entry_max) has been reached OR a
 page is not immediately available for allocation.

I don't know what the max is. If you have to increase it a lot, f.e. 500%, 
then either the default is porely chosen, you demand a lot or your system is 
doing things it's not supposed to do. I would slowly increase it to insane 
ammounts. If it never goes away and load of the machine isn't shocking, then 
this might be a bug. Either way, there aren't too many tools to diagnose this 
problem. Maybe procstat(8) -v should give some insight.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with speedtouch 330

2009-02-25 Thread Ian Smith
On Tue, 24 Feb 2009 19:00:17 +0100 Maciej Piechotka uzytkown...@gmail.com 
wrote:

  Hello. I have a problem with Speedtouch 330. I cannot connect with my
  IPS. In dmesg it is written that the modem_run cannot 'read interrupts'.
  
  Regards
  
  ppp.conf:
  default:
  set log Phase Chat LCP IPCP CCP tun command
  ident user-ppp VERSION (built COMPILATIONDATE)
  set ifaddr 10.0.0.1/0 10.0.0.2/0
  
  adsl:
  set authname mjnys...@webnet24.pl
  set authkey 53T6gbDt

You should change this password, now that you've published it.

  set device !/usr/local/sbin/pppoa2 -vpi 0 -vci 35 -v 1 -d /dev/ugen0
  accep chap

It's 'accept', though the abbreviation does work (see below).

  set sppeed sync

It's 'speed'.

  set timeout 0
  set reconnect 10 100
  #enable lqr
  #set lqrperiod 5
  #set radial 15 1000
  #set dial 
  add default HISADDR
  #enable dns
  
  ppp.log:
  Feb 23 20:54:33 HOSTNAME ppp[961]: Phase: Using interface: tun0
  Feb 23 20:54:33 HOSTNAME ppp[961]: Phase: deflink: Created in closed
  state
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: default: ident
  user-ppp VERSION (built COMPILATIONDATE)
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: default: set ifaddr
  10.0.0.1/0 10.0.0.2/0
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set authname
  ***...@webnet24.pl
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set authkey
  
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set
  device !/usr/local/sbin/pppoa3 -vpi 0 -vci 35 -v 1
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: accep chap
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set spped sync
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set spped: Invalid
  command
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set spped: Failed 1

See above (though this indicates a *different* misspelling of 'speed')

  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set timeout 0
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: enable lqr
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set lqrperiod 5
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set radial 15
  1000
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set radial: Invalid
  command
  Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set radial: Failed 1

Try 'redial'.  This log also doesn't match the config shown above.

cheers, Ian
___
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


SAS drives seem slow

2009-02-25 Thread Josh Paetzel
I have a 3ware 9690SA SAS RAID controller in a PCI-e 8x slot with  
Fujitsu MBA series 15k SAS drives attached, and the array is coming up  
as:


da0 at twa0 bus 0 target 0 lun 0
da0: AMCC 9690SA-4I  DISK 4.06 Fixed Direct Access SCSI-5 device
da0: 100.000MB/s transfers
da0: 138272MB (283181056 512 byte sectors: 255H 63S/T 17627C)

The controller is probed as:

twa0: 3ware 9000 series Storage Controller port 0x2000-0x20ff mem  
0xe000-0xe1ff,0xe410-0xe4100fff irq 16 at device 0.0 on pci2

twa0: [ITHREAD]
twa0: INFO: (0x15: 0x1300): Controller details:: Model 9690SA-4I, 128  
ports, Firmware FH9X 4.06.00.004, BIOS BE9X 4.05.00.015


FreeBSD services.tcbug.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Feb  
16 21:07:14 UTC 2009 root@:/usr/obj/usr/src/sys/SERVICES  amd64


But 6.x and 7.x give similar results.

The disks themselves are capable of sequential read/write in the 180  
Meg/sec range, so I'm trying to understand why I'm being told they are  
100 Meg/sec, and why that seems to be their real world performance cap.


# dd if=/dev/zero of=stuff bs=8m count=100
100+0 records in
100+0 records out
838860800 bytes transferred in 8.711125 secs (96297644 bytes/sec)

Thanks,

Josh Paetzel




___
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


RCS not working...how do I reinstall?

2009-02-25 Thread Antonio Rieser
Hi,

When I try to use the RCS version controll system, I have the
following problems.  Suppose I have a file called 'foo', and I run the
command,

 ci foo
... (success)...

 co foo

Then the version of foo that (I thought) I checked out is not
writable.  Furthermore, if I now type

 ci foo

Then I still have foo and foo,v on my system, neither of which are writable.

Any ideas as to why this what is happening?

Also, with what port does RCS come?  Would it be simpler just to reinstall it?

Thanks for your time.

Yours truly,

  Tony Rieser
___
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: RCS not working...how do I reinstall?

2009-02-25 Thread Jon Radel

Antonio Rieser wrote:

Hi,

When I try to use the RCS version controll system, I have the
following problems.  Suppose I have a file called 'foo', and I run the
command,


ci foo

... (success)...


co foo


Then the version of foo that (I thought) I checked out is not
writable.  Furthermore, if I now type


ci foo


If you want to have foo writable and ready for changes, you need to lock 
it.  Try:


co -l foo

I suggest you read up on the -u and -l options in the man pages.  The 
commands I use most often personally are:


ci -u foo
co -l foo

--

--Jon Radel
j...@radel.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: freebsd-questions Digest, Vol 248, Issue 23

2009-02-25 Thread Ian Smith
On Thu, 26 Feb 2009, freebsd-questions-requ...@freebsd.org wrote:
[..]
  Today's Topics:
  
 1. Re: freebsd-questions Digest, Vol 248, Issue 23 (Kayven Riese)
[..]
  Message: 1
  Date: Wed, 25 Feb 2009 15:43:43 -0800
  From: Kayven Riese kay...@gmail.com
  Subject: Re: freebsd-questions Digest, Vol 248, Issue 23
  To: freebsd-questions@freebsd.org
  Message-ID:
   28b9b4180902251543t2ce5edfbqaabee48cd371d...@mail.gmail.com
  Content-Type: text/plain; charset=windows-1252
  
  Never mind.
  
  On Wed, Feb 25, 2009 at 3:36 PM, 
  freebsd-questions-requ...@freebsd.orgwrote:

We do mind.

Please don't ever again top-post a meaningless comment followed by a 
tail-quoted dump of the previous 80 kilobyte digest into the next one.

Ian  (on behalf of other questions-digest subscribers)
___
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: SAS drives seem slow

2009-02-25 Thread Wojciech Puchar
FreeBSD services.tcbug.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Feb 16 
21:07:14 UTC 2009 root@:/usr/obj/usr/src/sys/SERVICES  amd64


But 6.x and 7.x give similar results.

The disks themselves are capable of sequential read/write in the 180 Meg/sec 
range, so I'm trying to understand why I'm being told they are 100 Meg/sec, 
and why that seems to be their real world performance cap.




probably you use RAID5


# dd if=/dev/zero of=stuff bs=8m count=100
100+0 records in
100+0 records out
838860800 bytes transferred in 8.711125 secs (96297644 bytes/sec)

Thanks,

Josh Paetzel




___
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


To meke Desktop FreeBSD setting up by Xorg -- under VMWare?

2009-02-25 Thread 高橋 克郎

Nice to meet you.
I'm japanese ,Katsurou Takahash.

I started to use FreeBSD to constitute my file server and I want to  
use FreeBSD as Desktop OS.
I would like to know how to setting FreeBSD as Desktop OS by Xorg on  
VMware Fusion act 2.

Or I want to know how to setting command by GUI.
I use MacBookPro 15inch USkeyboard.
If you know the way ,please tell me that.

I installed xorg,ipa-ttfonts,xfce4 and sudo. And I make install clean.
I tried the next setting of xorg.conf, but failed.
please tell me how to rewrite the xorg.conf file or send me the 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