Read from socket failed: Connection reset by peer

2006-09-15 Thread ke han
I have had this problem for a month now...have tried several things  
and still no luck...I really need some advice please!!!


Here is the situation:
1 - freebsd 6.1-RELEASE-p6 running sshd in standard config.  my  
server is server1.domain.com.  hosts.allow has not been touched nor  
has just about anything else...this is a standard install.
	I have tried sshd_config -  UseDNS yes and no to same effect, but  
otherwise its a default sshd_config.
2 - I _can_ connect to this server from a Windows XP machine with  
PuTTY (this client as all others I have tried are on separate  
networks from server1.
3 - I _cannot_ connect to server1 from OS X mac.domain.com or another  
freebsd 6.1 client server2.domain.com.  These two clients are each on  
different networks but I get the same error: Read from socket failed:  
Connection reset by peer.
4 - My hosting provider has tried to help me debug this by connecting  
to server1 from several different clients on different  
networks...they have no problems from Linux and FreeBSD clients.
5 - Both OS X and other freebsd client (from item 3) have the same  
domain root as server1...i.e. domain.com   If this is the heart of  
the problem I do not know what to do on server1 to tell it is ok to  
accept these connections...if its a security protection, seems like a  
useless one if sshd lets my unnamed DHCP assigned Windows XP client in.


please help!!!
ke han
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portsdb -Uu

2006-09-15 Thread ke han

I am using
portsnap fetch
portsnap update

to sync my ports tree on FreeBSd 6.1...it seems it maintains an index  
when I run update.


I am used to using:
portsversion and portsupdate to upgrade ports...in this method I have  
also used

portsdb -Uu
to rebuild an index anytime prior to running these commands...yes  
portsdb takes a while and I've always wondered if this is necessary  
prior to running any of these commands..


So my question is:  Is the index being maintained by portsnap the  
same or a replacement to that used by portupgrade?  Do I have to  
maintain both sets of indexes in order to use portsupdate??

What do other people do?

thanks, ke han
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb -Uu

2006-09-15 Thread Colin Percival
ke han wrote:
 I am using
 portsnap fetch
 portsnap update
 
 to sync my ports tree on FreeBSd 6.1...it seems it maintains an index
 when I run update.

Yes.

 I am used to using:
 portsversion and portsupdate to upgrade ports...in this method I have
 also used
 portsdb -Uu
 to rebuild an index anytime prior to running these commands...yes
 portsdb takes a while and I've always wondered if this is necessary
 prior to running any of these commands..

portsdb -Uu does two things:
1. It rebuilds the ports INDEX.  This is done by portsdb -U and takes a long 
time.
2. It rebuilds the ports INDEX.db database.  This is done by portsdb -u, takes
only a few seconds, and is done automatically when you run portupgrade if the
database is out of date.

 So my question is:  Is the index being maintained by portsnap the same
 or a replacement to that used by portupgrade?  Do I have to maintain
 both sets of indexes in order to use portsupdate??

The ports INDEX file generated by portsdb -U is the same file as portsnap
generates.  Since the INDEX.db database is generated automatically, this means
there is no need to run portsdb between running portsnap and running 
portupgrade.

My standard ports update/upgrade procedure is:
portsnap fetch
portsnap update
pkg_version -vIL=   # this is equivalent to portversion -vL=
portupgrade -a

Colin Percival
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server behind router/gateway

2006-09-15 Thread Nikos Vassiliadis
On Thursday 14 September 2006 17:40, [EMAIL PROTECTED] wrote:
 I have a FreeBSD 6.1 box running behind a router/gateway.  When it tries
 to go into passive mode, it returns it's internal 192.168. ip address to
 the client which the client stupidly uses to try to connect to.  I've
 confirmed this by tyring to FTP from several external systems (windows 
 linux).  Is there anyway to get the FreeBSD box to return the external
 address without making it act as the router/gateway?

In addition to what Andreas said:

The problem is not the router/gateway in front of the ftp. The problem
is the internal address the ftp server has and the nat that the router has
to do. FreeBSD knows nothing about the external address... I think you'll
have better results getting a second IP address for your ftp server and
just route packets. Or you could search for an ftp server with this feature
and/or a router with a big bag of tricks(similar to ftp-proxy FreeBSD has)

I would go for a second IP address if that was a choice

Nikos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox+Flash

2006-09-15 Thread felix.schalck
Is the language/interpreter used by FLASH copyrighted, so that there 
isn't any possibility for an open source player ?

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


Re: cvs question

2006-09-15 Thread Giorgos Keramidas
On 2006-09-14 19:11, Michael Grant [EMAIL PROTECTED] wrote:
 I'm being driven slowly mad by cvs...

 I have 3 boxes, one is acting as a cvs server.  The cvs clients (for
 lack of a better term) are running 6.1 and should be configured the
 same.  Yet, one machine lets me do a cvs login, the other requires I
 use cvs -d :psserver:.. with each cvs command.

 I do not have CVSROOT set on either machine.

 What I get is this:

 [#822] cvs login
 Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar
 cvs login: authorization failed: server myserver rejected access to
 /home/foo/bar for user mgrant

 yet, on the other machine, I get a password prompt and all is fine.

Someone sets CVSROOT, if you can just type cvs login and get a prompt
for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''.

Can you run, on both systems, the following?

$ env | sort | grep CVS

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


Re: Top not showing cpu usage even remotely accurately

2006-09-15 Thread Ian Smith
On Thu, 14 Sep 2006, Dan Nelson wrote:

  In the last episode (Sep 14), Ian Smith said:
  [..]
   However that doesn't explain this typical top view when the system is
   quiescent or nearly so, as it mostly is, with only 5-minutely crons and
   11-minutely entropy runs and the odd sendmail to be seen in lastcomm: 
   
   last pid: 18500;  load averages:  0.01,  0.08,  0.06up 5+08:40:33 
   17:30:30
   136 processes: 3 running, 110 sleeping, 23 waiting
   CPU states:  5.7% user,  0.0% nice,  6.3% system,  0.0% interrupt, 88.0% 
   idle
   Mem: 73M Active, 18M Inact, 46M Wired, 8108K Cache, 25M Buf, 2572K Free
   Swap: 384M Total, 106M Used, 278M Free, 27% Inuse
   
 PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
  11 root 171   52 0K 8K RUN102.3H 86.82% 86.82% idle
 743 smithi960 26616K  2908K select 156:40  1.03%  1.03% kdeinit
 708 smithi960 34140K 15024K select 223:05  0.63%  0.63% Xorg
 644 root  960  1244K   244K select  30:19  0.05%  0.05% moused
 775 smithi200 11524K  1028K kserel 319:17  0.00%  0.00% xmms
  
   It never shows more than about 90% idle, whereas a 0.01 shorter term
   load average should indicate more like 99% idle, shouldn't it?  97-99%,
   sometimes 100% idle was what FreeBSD 4.5-R used to tell me with the same
   workload in around the same memory use, but maybe 4.5 was optimistic .. 
  
  I would guess that maybe xmms (or some other threaded app) is your
  hidden CPU consumer.  The kernel does not calculate %CPU correctly for
  libkse-threaded programs, and they usually show up as 0% all the time. 
  The TIME column does update correctly, though.  If you switch to libthr
  with libmap.conf, you'll get accurate threaded %CPU reporting.

Ah, thanks for a solid boot up the learning curve, Dan.  Took me a while
to connect kse(2) as it's not referred to as such in ldd output, but I
kept digging. For sure xmms and moz are 2 that have gone mad 'quietly'.

I assume then that libkse is what the three multi-thread programs I'm
running (xmms, mozilla-bin and mysqld) are now using, where for each
of them `ldd $program | grep thr` shows
 libpthread.so.1 = /usr/lib/libpthread.so.1

So can/should I set in (a new) /etc/libmap.conf generally:
 libpthread.so.1 libthr.so.1
 libpthread.so   libthr.so

or would it be better to just target these specific programs, eg:

[/usr/X11R6/lib/mozilla/mozilla-bin/]  # assuming loaded with full path?
 libpthread.so.1 libthr.so.1
 libpthread.so   libthr.so

Are there any likely downsides to using libthr instead?  Esp. mysqld?

I've already found that stopping those three processes lifts shown idle
to ~95%, but then I also note that ldd other things - including kdeinit
ie all main KDE processes - refer to libpthread.so.1 too, but only the
above 3 ever seem to appear in state 'kserel' (This is all new to me :) 

Cheers, Ian

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


Re: Network connectivity between FreeBSD and Linux

2006-09-15 Thread Bob M.
On Fri, 2006-09-15 at 10:47 +0530, Arindam wrote:
  
I have FreeBSD 6.1 installed on one machine and Fedora Core 2 on
another. I dual boot the FreeBSD 6.1 machine with a RedHat EL 4.3
installation. I have assigned the same static IP address and
   hostname
to this machine for both the FreeBSD and RHEL installations.
   
While my RHEL installation is running, I am able to communicate
   with
the FC2 installation over the network. When FreeBSD is running, all
pings from either side fail. I have no clue if I need to look at
   some
special configuration, or is it a problem with the basics.
   
Wond'ring what to do.
   
Cheers,
Andy
--
  
   /sbin/ifconfig output? Also, do you happen to have a firewall in your
   FreeBSD OS setup :)?
 
 1. No firewall running.
 2. Here is the output:
 
 pcn0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet6 fe80::260:b0ff:fe87:42ca%pcn0 prefixlen 64 scopeid 0x1
   inet 10.0.0.101 netmask 0xff00 broadcast 10.0.0.255
   ether 00:60:b0:87:42:ca
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
 plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
   inet 127.0.0.1 netmask 0xff00
 
 
 What I have noticed is that when I ping from the other machine (FC2)
 then at least the two lights corresponding to these two machines
 blink.
 
 When I ping from my FreeBSD to the FC2 box, then the switch lights do
 not blink. This leads me to suspect that the packets from the BSD host
 are never making it to the network cable - is my network card
 supported I wonder.
 
 What I have seen is that this same network card works when I boot to
 RHEL4.3 which is the other OS on this box and it does ping alright
 between the two boxes.
 
 On FreeBSD, this NIC is detected as AMD 79c79x - I could do ifconfig
 to set the IP and netmask - no errors were reported. However it does
 not look like I am at all getting on the network with this.
 
 Cheers,
 Andy

From the FreeBSD box, can you ping the loopback address: 127.0.0.1, if
so, can you ping your ip address:  10.0.0.101.  If so, can you ping your
gateway?  Did you set a gateway in /etc/rc.conf?  

defaultrouter=your gateway ip address  # Set to default
gateway (or NO).

Since you set it statically, is your netmask correct?  From the FreeBSD
box, when you boot to linux, is the duplex setting for you network card
the same as when you boot FreeBSD?  This is strange, needless to say.

Bob

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


Re: Firefox+Flash

2006-09-15 Thread Bob M.
On Thu, 2006-09-14 at 14:57 -0700, White Hat wrote:
 FreeBSD 6.1
 
 I have been trying to get a few of my friends to try
 FBSD on their PCs without much success. One of the
 major problems is the inability to get flash to work
 properly to display videos available on Google. I know
 that the linux-flash port is marked broken, so that it
 out. How else can I get flash to work so I can perhaps
 persuade them to try FBSD?
 
 I have KDE and Firefox installed obviously. I tried
 loading a few of the flash packages available in the
 ports, but they did not not seem to work.
 
 Thanks!
 
This works for me, make sure you have the src tree under /usr/src.

http://www.unixlike.com.br/?p=%2081

There's an english translation somewhere, but if you just follow the
commands you'll be ok.

Bob

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


Re: cvs question

2006-09-15 Thread Michael Grant

env | sort | grep CVS
returns nothing.  There are no CVS* variables set!  Strange.  Where is
it getting the cvsroot from?  Even if I remove the .cvspass file, it
still uses the pserver line from before.  It's definitely getting
cached somewhere.  greping the env for pserver shows nothing.

Incidently, I also removed root's ~root/.cvspass but it didn't change anything.

Still open for ideas.

Michael Grant

On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote:

On 2006-09-14 19:11, Michael Grant [EMAIL PROTECTED] wrote:
 I'm being driven slowly mad by cvs...

 I have 3 boxes, one is acting as a cvs server.  The cvs clients (for
 lack of a better term) are running 6.1 and should be configured the
 same.  Yet, one machine lets me do a cvs login, the other requires I
 use cvs -d :psserver:.. with each cvs command.

 I do not have CVSROOT set on either machine.

 What I get is this:

 [#822] cvs login
 Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar
 cvs login: authorization failed: server myserver rejected access to
 /home/foo/bar for user mgrant

 yet, on the other machine, I get a password prompt and all is fine.

Someone sets CVSROOT, if you can just type cvs login and get a prompt
for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''.

Can you run, on both systems, the following?

$ env | sort | grep CVS



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


Re: Network connectivity between FreeBSD and Linux

2006-09-15 Thread Arindam

  
I have FreeBSD 6.1 installed on one machine and Fedora Core 2 on
another. I dual boot the FreeBSD 6.1 machine with a RedHat EL 4.3
installation. I have assigned the same static IP address and
   hostname
to this machine for both the FreeBSD and RHEL installations.
   
While my RHEL installation is running, I am able to communicate
   with
the FC2 installation over the network. When FreeBSD is running, all
pings from either side fail. I have no clue if I need to look at
   some
special configuration, or is it a problem with the basics.
   
Wond'ring what to do.
   
Cheers,
Andy
--
  
   /sbin/ifconfig output? Also, do you happen to have a firewall in your
   FreeBSD OS setup :)?

 1. No firewall running.
 2. Here is the output:

 pcn0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet6 fe80::260:b0ff:fe87:42ca%pcn0 prefixlen 64 scopeid 0x1
   inet 10.0.0.101 netmask 0xff00 broadcast 10.0.0.255
   ether 00:60:b0:87:42:ca
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
 plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
   inet 127.0.0.1 netmask 0xff00


 What I have noticed is that when I ping from the other machine (FC2)
 then at least the two lights corresponding to these two machines
 blink.

 When I ping from my FreeBSD to the FC2 box, then the switch lights do
 not blink. This leads me to suspect that the packets from the BSD host
 are never making it to the network cable - is my network card
 supported I wonder.

 What I have seen is that this same network card works when I boot to
 RHEL4.3 which is the other OS on this box and it does ping alright
 between the two boxes.

 On FreeBSD, this NIC is detected as AMD 79c79x - I could do ifconfig
 to set the IP and netmask - no errors were reported. However it does
 not look like I am at all getting on the network with this.

 Cheers,
 Andy

From the FreeBSD box, can you ping the loopback address: 127.0.0.1, if
so, can you ping your ip address:  10.0.0.101.  If so, can you ping your
gateway?  Did you set a gateway in /etc/rc.conf?


loopback: Yes I can ping it.

10.0.0.101: Yes again I can ping it. But I set this as the gateway. I
just got two home PCs connected to each other over a 5-port switch
with. 10.0.0.100 and 10.0.0.101 (this one). I set this as the gateway
because a while later when I hook this to the web, this will be the
box. And I might add a couple of more boxes to this network at best.

I did not set a gateway in /etc/rc.conf. I configured the whole thing
using sysinstall and a couple of times after that using ifconfig (ip
addr and netmask).



defaultrouter=your gateway ip address  # Set to default
gateway (or NO).


But I guess whatever the method, such an entry would have been written
to rc.conf.



Since you set it statically, is your netmask correct?  From the FreeBSD
box, when you boot to linux, is the duplex setting for you network card
the same as when you boot FreeBSD?  This is strange, needless to say.


My netmask is 255.255.255.0. That's a choice ... I am not sure I can
offhand say if that's the correct choice or not. With the eventual
size of my network that I can anticipate, I could even set it to
255.255.255.192 may be.

How do you find out the duplex setting :P (terribly ashamed of my
newbiness). I guess it is full duplex under both.



Bob




Cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvs question

2006-09-15 Thread Giorgos Keramidas
On 2006-09-15 13:56, Michael Grant [EMAIL PROTECTED] wrote:
On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote:
On 2006-09-14 19:11, Michael Grant [EMAIL PROTECTED] wrote:
 I'm being driven slowly mad by cvs...

 I have 3 boxes, one is acting as a cvs server.  The cvs clients (for
 lack of a better term) are running 6.1 and should be configured the
 same.  Yet, one machine lets me do a cvs login, the other requires I
 use cvs -d :psserver:.. with each cvs command.

 I do not have CVSROOT set on either machine.

 What I get is this:

 [#822] cvs login
 Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar
 cvs login: authorization failed: server myserver rejected access to
 /home/foo/bar for user mgrant

 yet, on the other machine, I get a password prompt and all is fine.

 Someone sets CVSROOT, if you can just type cvs login and get a prompt
 for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''.
 
 Can you run, on both systems, the following?
 
 $ env | sort | grep CVS

 env | sort | grep CVS
 returns nothing.  There are no CVS* variables set!  Strange.  Where is
 it getting the cvsroot from?  Even if I remove the .cvspass file, it
 still uses the pserver line from before.  It's definitely getting
 cached somewhere.  greping the env for pserver shows nothing.

Do you have a local CVS/ subdirectory when you try cvs login?

If yes, what does it contain?

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


Bluetooth : Broadcom Corp BCM2045B

2006-09-15 Thread Norberto Meijome
Hi all,
I can't seem to find support for bluetooth on the Broadcom Corp BCM2045B
chipset.

Do the other broadcom 20xxx series support this chipset? Is the one that comes
as part of the iwi on Thinkpad z60m laptop ( iwi0: Intel(R) PRO/Wireless
2915ABG )


if sysctl dev.acpi_ibm.0.events=1 , Fn F5 doesnt trigger anything... if
disabling acpi_ibm.0.events ( = 0), Fn-F5 seems to pick it up ... light
comes up in panel...but not sure if it GETS enabled...: 
Aug 31 00:00:55 ayiin kernel: ugen1: Broadcom Corp BCM2045B, rev 2.00/1.00,addr
3

$ sysctl dev.iwi.0 
dev.iwi.0.%desc: Intel(R) PRO/Wireless 2915ABG
dev.iwi.0.%driver: iwi 
dev.iwi.0.%location: slot=2 function=0
dev.iwi.0.%pnpinfo: vendor=0x8086 device=0x4224 subvendor=0x8086 \
  subdevice=0x1010 class=0x028000
 dev.iwi.0.%parent: pci20 
dev.iwi.0.radio: 1
dev.iwi.0.dwell: 100 
dev.iwi.0.bluetooth: 0
 dev.iwi.0.antenna: 0
dev.iwi.0.softled: 1
dev.iwi.0.ledpin: 16
dev.iwi.0.ledidle: 4860
dev.iwi.0.nictype: 5

$ sysctl dev.acpi_ibm.0
dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras
dev.acpi_ibm.0.%driver: acpi_ibm
dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY
dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0
dev.acpi_ibm.0.%parent: acpi0
dev.acpi_ibm.0.initialmask: 2060
dev.acpi_ibm.0.availmask: 16777215
dev.acpi_ibm.0.events: 0
dev.acpi_ibm.0.eventmask: 16777215
dev.acpi_ibm.0.hotkey: 2342
dev.acpi_ibm.0.lcd_brightness: 0
dev.acpi_ibm.0.volume: 3
dev.acpi_ibm.0.mute: 0
dev.acpi_ibm.0.thinklight: 0
dev.acpi_ibm.0.bluetooth: 1
dev.acpi_ibm.0.wlan: 1

If i try to handle the acpi myself, i can't see the device attaching to
ugen0... 

any pointers would be greatly appreciated :)

Best regards,

_
{Beto|Norberto|Numard} Meijome

I didn't attend the funeral, but I sent a nice letter saying  I approved of
it. Mark Twain

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox+Flash

2006-09-15 Thread michael johnson

On 9/14/06, Garrett Cooper [EMAIL PROTECTED] wrote:


On Sep 15, 2006, at 7:54 AM, Chuck Swiger wrote:

 On Sep 14, 2006, at 3:23 PM, Peter wrote:
 Yes, the Flash issue is a real bummer.  It is best *not* to show your
 friends that when you introduce them to FBSD.

 Why?  Is there some reason that you or they want to watch ads?

 I can't think of a single site that I use that needs Flash; I don't
 install it even on a Windows or MacOS X box.

 --
 -Chuck

Unfortunately a lot of consumer sites are starting to use flash as a
semi-static and predictable way to deliver content to people; it's
incredibly annoying, and becomes very noticeable once you install
stuff that blocks SWF files: http://www.noscript.net/whats :). Thus,
that is one solution to get rid of your ads (adblock+ is another, but
meh), so you can keep Flash functionality and get rid of crappy Flash
animations, while surfing the net.

Also, FYI: a lot of sites have built animations with (Adobe) Flash 9,
so unless you have a Windows or Mac PC nearby you probably won't be
able to load up animations on a Unix PC as the latest version
available is 7.



Go to http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform and
ask adobe for a native version of flash for FreeBSD.


-Garrett

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


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


Re: Bluetooth : Broadcom Corp BCM2045B

2006-09-15 Thread Eric Anderson

On 09/15/06 07:19, Norberto Meijome wrote:

Hi all,
I can't seem to find support for bluetooth on the Broadcom Corp BCM2045B
chipset.

Do the other broadcom 20xxx series support this chipset? Is the one that comes
as part of the iwi on Thinkpad z60m laptop ( iwi0: Intel(R) PRO/Wireless
2915ABG )


Did you load the broadcom bluetooth firmware, and the bluetooth modules?

Eric



--

Eric AndersonSr. Systems AdministratorCentaur Technology
Anything that works is better than anything that doesn't.

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


Re: mount_ext2fs returning ENODEV on 6.1

2006-09-15 Thread Lowell Gilbert
[EMAIL PROTECTED] (Perry Hutchison) writes:

 The standard kernel doesn't have ext2fs support now; I doubt the 6.1
 release was different.  Try loading it as a module; kldload ext2fs.

 It seems not to be that easy :(

   # kldload ext2fs
   kldload: can't load ext2fs: No such file or directory

 Where is ext2fs.ko supposed to have come from?  A search for ext2fs
 in the Handbook found nothing applicable, and I have already built
 and installed /usr/ports/sysutils/e2fsprogs.

I checked the 6.1 install disks, and saw ext2fs.ko in boot/kernel,
just like I'd expect.  I've rebuilt with newer sources several times
since then, but I'm surprised if it isn't there on your disk.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-15 Thread Bill Moran
In response to Arindam [EMAIL PROTECTED]:

[snip]

  From the FreeBSD box, can you ping the loopback address: 127.0.0.1, if
  so, can you ping your ip address:  10.0.0.101.  If so, can you ping your
  gateway?  Did you set a gateway in /etc/rc.conf?
 
 loopback: Yes I can ping it.
 
 10.0.0.101: Yes again I can ping it. But I set this as the gateway. I
 just got two home PCs connected to each other over a 5-port switch
 with. 10.0.0.100 and 10.0.0.101 (this one). I set this as the gateway
 because a while later when I hook this to the web, this will be the
 box. And I might add a couple of more boxes to this network at best.

Don't do that.  It may be the cause of your problem -- in any case,
it's incorrect.  Leave the system without a gateway if you don't have
one.

 I did not set a gateway in /etc/rc.conf. I configured the whole thing
 using sysinstall and a couple of times after that using ifconfig (ip
 addr and netmask).

If you did it via sysinstall, then it was written to rc.conf.

  defaultrouter=your gateway ip address  # Set to default
  gateway (or NO).
 
 But I guess whatever the method, such an entry would have been written
 to rc.conf.

Yes.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-15 Thread Arindam

In response to Arindam [EMAIL PROTECTED]:

[snip]

  From the FreeBSD box, can you ping the loopback address: 127.0.0.1, if
  so, can you ping your ip address:  10.0.0.101.  If so, can you ping your
  gateway?  Did you set a gateway in /etc/rc.conf?

 loopback: Yes I can ping it.

 10.0.0.101: Yes again I can ping it. But I set this as the gateway. I
 just got two home PCs connected to each other over a 5-port switch
 with. 10.0.0.100 and 10.0.0.101 (this one). I set this as the gateway
 because a while later when I hook this to the web, this will be the
 box. And I might add a couple of more boxes to this network at best.

Don't do that.  It may be the cause of your problem -- in any case,
it's incorrect.  Leave the system without a gateway if you don't have
one.


I tried once without setting a gateway also. It did not make a
difference. I should have mentioned that.



 I did not set a gateway in /etc/rc.conf. I configured the whole thing
 using sysinstall and a couple of times after that using ifconfig (ip
 addr and netmask).

If you did it via sysinstall, then it was written to rc.conf.

  defaultrouter=your gateway ip address  # Set to default
  gateway (or NO).

 But I guess whatever the method, such an entry would have been written
 to rc.conf.

Yes.

--
Bill Moran
Collaborative Fusion Inc.



I came across this post. Seems like there is a problem with the
drivers for this particular device.

http://www.archivesat.com/New_Zealand_FreeBSD_Users_group/thread440374.htm

The poster here seems to have had a similar ethernet card as I do. May
be I should try swapping the ethernet cards of the FC2 and FreeBSD
boxes. I am sure the FC2 box has a different network card.

Cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD as a gaming server platform

2006-09-15 Thread Matt

Are there any kernel tunables that you would recommend setting to
increase performance on FreeBSD 6.x for running gaming servers (e.g.
Quake 4, CS:S, etc)?  It appears that the default settings are not
performing nearly as well on FreeBSD as they are on Linux on similar
hardware, and it seems to be something network related.  I did some
searching for settings that could increase max packet rates and such,
but to no avail.

Thank you,
Matt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bluetooth : Broadcom Corp BCM2045B

2006-09-15 Thread Norberto Meijome
On Fri, 15 Sep 2006 07:29:14 -0500
Eric Anderson [EMAIL PROTECTED] wrote:

 On 09/15/06 07:19, Norberto Meijome wrote:
  Hi all,
  I can't seem to find support for bluetooth on the Broadcom Corp BCM2045B
  chipset.
  
  Do the other broadcom 20xxx series support this chipset? Is the one that
  comes as part of the iwi on Thinkpad z60m laptop ( iwi0: Intel(R)
  PRO/Wireless
  2915ABG )
 
 Did you load the broadcom bluetooth firmware, and the bluetooth modules?

hmm no.. i'll sit down and test it all again now that my box is stable again on
rELENG_6_1... I wanted to make sure it *should* work...

thanks, and sorry for the noise... (late night at work waiting for the rest of
the team to finish their part  :) )

B

_
{Beto|Norberto|Numard} Meijome

The greater danger for most of us is not that our aim is too high and we miss
it. But that it is too low... and we reach it.
   Michelangelo (1475-1564)

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox+Flash

2006-09-15 Thread RW



--On Thursday, September 14, 2006 14:57:28 -0700 White Hat 
[EMAIL PROTECTED] wrote:



FreeBSD 6.1

I have been trying to get a few of my friends to try
FBSD on their PCs without much success. One of the
major problems is the inability to get flash to work
properly to display videos available on Google. I know
that the linux-flash port is marked broken, so that it
out. How else can I get flash to work so I can perhaps
persuade them to try FBSD?


Adobe have announced that Flash 8 and all previous versions have multiple 
critical vulnerabilities. Presumably Adobe have been sitting on these bugs 
for some time; a month or so after the release of Flash 9 is pretty 
convenient for them.


Since the highest version of the linux plugin is 7, there is currently no 
Adobe version that can be run safely on Linux, BSD or Solaris. I understand 
that Adobe have indicated that there will eventually be a Linux Flash 9, 
and hopefully it will work on FreeBSD.


There are open source versions, but they aren't much good in my experience, 
I going to be booting into Windows if I really need flash. 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox+Flash

2006-09-15 Thread Jerry McAllister
On Thu, Sep 14, 2006 at 03:54:38PM -0700, Chuck Swiger wrote:

 On Sep 14, 2006, at 3:23 PM, Peter wrote:
 Yes, the Flash issue is a real bummer.  It is best *not* to show your
 friends that when you introduce them to FBSD.
 
 Why?  Is there some reason that you or they want to watch ads?
 
 I can't think of a single site that I use that needs Flash; I don't  
 install it even on a Windows or MacOS X box.

I don't normally use it either, but there are sites that do videos programs
that are all in flash and others that use it for graphic demonstrations.
So, it is a feature that is desired by many.  It pains me to have
to reboot to Microsloth to see something on those sites.

jerry

 
 -- 
 -Chuck
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox+Flash

2006-09-15 Thread Eric Schuele

On 09/15/06 03:31, felix.schalck wrote:
Is the language/interpreter used by FLASH copyrighted, so that there 
isn't any possibility for an open source player ?


There is Gnash:
  http://www.gnu.org/software/gnash/


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





--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-15 Thread Bob M.
On Fri, 2006-09-15 at 08:31 -0400, Bill Moran wrote:
 In response to Arindam [EMAIL PROTECTED]:
 
 [snip]
 
   From the FreeBSD box, can you ping the loopback address: 127.0.0.1, if
   so, can you ping your ip address:  10.0.0.101.  If so, can you ping your
   gateway?  Did you set a gateway in /etc/rc.conf?
  
  loopback: Yes I can ping it.
  
  10.0.0.101: Yes again I can ping it. But I set this as the gateway. I
  just got two home PCs connected to each other over a 5-port switch
  with. 10.0.0.100 and 10.0.0.101 (this one). I set this as the gateway
  because a while later when I hook this to the web, this will be the
  box. And I might add a couple of more boxes to this network at best.
 
 Don't do that.  It may be the cause of your problem -- in any case,
 it's incorrect.  Leave the system without a gateway if you don't have
 one.
 
  I did not set a gateway in /etc/rc.conf. I configured the whole thing
  using sysinstall and a couple of times after that using ifconfig (ip
  addr and netmask).
 
 If you did it via sysinstall, then it was written to rc.conf.
 
   defaultrouter=your gateway ip address  # Set to default
   gateway (or NO).
  
  But I guess whatever the method, such an entry would have been written
  to rc.conf.
 
 Yes.
 

The output of ifconfig shows the duplex setting, you're set to 100 full
right now.  Can you set the switch port to 100 full, if it's not
already.  We have issues with our cisco switches being set to auto, they
have to be forced to 100 full or we get 0 connectivity between broadcom
cards and cisco 4500's.  

Trying a different card is a good idea if you have one.  Helps rule some
things out at least.

Bob  

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


Re: Firefox+Flash

2006-09-15 Thread Jerry McAllister
On Fri, Sep 15, 2006 at 02:46:19AM +0200, Jona Joachim wrote:

 Chuck Swiger wrote:
  On Sep 14, 2006, at 3:23 PM, Peter wrote:
  Yes, the Flash issue is a real bummer.  It is best *not* to show your
  friends that when you introduce them to FBSD.
  
  Why?  Is there some reason that you or they want to watch ads?
  
  I can't think of a single site that I use that needs Flash; I don't
  install it even on a Windows or MacOS X box.
 
 I don't have the need for Flash either. Youtube and Google Video should
 provide their videos in a proper way.
 I still believe in dynamic SVG for clear animations. You can watch one
 of those on the Opera site about SVG, it's great.
 Nobody needs proprietary binary formats on the Internet.

Nice thought, but the real world is full of flash, much as it annoys me.

By the way, I didn't find an SVG animation on the Opera page though
it mentioned SVG and hyped it a little.

jerry

 
 --jona
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox+Flash

2006-09-15 Thread Gerard Seibert
On Friday 15 September 2006 10:34, Jerry McAllister wrote:

 I don't normally use it either, but there are sites that do videos
 programs that are all in flash and others that use it for graphic
 demonstrations. So, it is a feature that is desired by many.  It pains me
 to have to reboot to Microsloth to see something on those sites.

I concure; having to use a different PC just to view a web page is a 
negative factor. I have also noticed that several sites, one bing CBSNews. 
is now doing streaming real-time video; however, it is only viewable via MS 
Media Player. It specifically states on the web page that 'realplayer' is 
not fully compatible and not used for many of the feeds.

It would be nice if a fully compatible player were available for FBSD. I 
hate switching between PCs.


-- 
Gerard

God gave man two ears and one tongue so
that we listen twice as much as we speak.

Arab proverb


pgpwZdpR7s517.pgp
Description: PGP signature


Re: Firefox+Flash

2006-09-15 Thread Jona Joachim
Jerry McAllister wrote:
 On Fri, Sep 15, 2006 at 02:46:19AM +0200, Jona Joachim wrote:
 
 Chuck Swiger wrote:
 On Sep 14, 2006, at 3:23 PM, Peter wrote:
 Yes, the Flash issue is a real bummer.  It is best *not* to show your
 friends that when you introduce them to FBSD.
 Why?  Is there some reason that you or they want to watch ads?

 I can't think of a single site that I use that needs Flash; I don't
 install it even on a Windows or MacOS X box.
 I don't have the need for Flash either. Youtube and Google Video should
 provide their videos in a proper way.
 I still believe in dynamic SVG for clear animations. You can watch one
 of those on the Opera site about SVG, it's great.
 Nobody needs proprietary binary formats on the Internet.
 
 Nice thought, but the real world is full of flash, much as it annoys me.
 
 By the way, I didn't find an SVG animation on the Opera page though
 it mentioned SVG and hyped it a little.

It's there: http://www.opera.com/products/desktop/svg/
Your browser has to support SVG 1.1 Tiny to view it. I know that Firefox
(even 2.0) and Konqueror don't support it yet. Opera supports it from
version 8 on.

--jona
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox+Flash

2006-09-15 Thread Jona Joachim
michael johnson wrote:
 On 9/14/06, Garrett Cooper [EMAIL PROTECTED] wrote:

 On Sep 15, 2006, at 7:54 AM, Chuck Swiger wrote:

  On Sep 14, 2006, at 3:23 PM, Peter wrote:
  Yes, the Flash issue is a real bummer.  It is best *not* to show your
  friends that when you introduce them to FBSD.
 
  Why?  Is there some reason that you or they want to watch ads?
 
  I can't think of a single site that I use that needs Flash; I don't
  install it even on a Windows or MacOS X box.
 
  --
  -Chuck

 Unfortunately a lot of consumer sites are starting to use flash as a
 semi-static and predictable way to deliver content to people; it's
 incredibly annoying, and becomes very noticeable once you install
 stuff that blocks SWF files: http://www.noscript.net/whats :). Thus,
 that is one solution to get rid of your ads (adblock+ is another, but
 meh), so you can keep Flash functionality and get rid of crappy Flash
 animations, while surfing the net.

 Also, FYI: a lot of sites have built animations with (Adobe) Flash 9,
 so unless you have a Windows or Mac PC nearby you probably won't be
 able to load up animations on a Unix PC as the latest version
 available is 7.
 
 
 Go to http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform and
 ask adobe for a native version of flash for FreeBSD.

Great! I bet if everybody fills out this form and asks for a FreeBSD
native version they will perhaps pay attention.

--jona
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvs question

2006-09-15 Thread Michael Grant

[#786] ls -l CVS
total 6
-rw-r--r--  1 mgrant  1001  197 Oct 16  2005 Entries
-rw-r--r--  1 mgrant  10018 May 30  2005 Repository
-rw-r--r--  1 mgrant  1001   55 May 30  2005 Root
[#787] cat CVS/Root
:pserver:xgrant:[EMAIL PROTECTED]/home/ng/tools/cvsroot

Ok, so that solve that mystery.  However, I still cannot log in on one
machine yet I can on the other:  Except for the Entries file, Root and
Repository are identical in the CVS directory.

cvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ng/tools/cvsroot
cvs login: authorization failed: server grant.org rejected access to
/home/ng/tools/cvsroot for user mgrant


Michael Grant

On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote:

On 2006-09-15 13:56, Michael Grant [EMAIL PROTECTED] wrote:
On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote:
On 2006-09-14 19:11, Michael Grant [EMAIL PROTECTED] wrote:
 I'm being driven slowly mad by cvs...

 I have 3 boxes, one is acting as a cvs server.  The cvs clients (for
 lack of a better term) are running 6.1 and should be configured the
 same.  Yet, one machine lets me do a cvs login, the other requires I
 use cvs -d :psserver:.. with each cvs command.

 I do not have CVSROOT set on either machine.

 What I get is this:

 [#822] cvs login
 Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar
 cvs login: authorization failed: server myserver rejected access to
 /home/foo/bar for user mgrant

 yet, on the other machine, I get a password prompt and all is fine.

 Someone sets CVSROOT, if you can just type cvs login and get a prompt
 for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''.

 Can you run, on both systems, the following?

 $ env | sort | grep CVS

 env | sort | grep CVS
 returns nothing.  There are no CVS* variables set!  Strange.  Where is
 it getting the cvsroot from?  Even if I remove the .cvspass file, it
 still uses the pserver line from before.  It's definitely getting
 cached somewhere.  greping the env for pserver shows nothing.

Do you have a local CVS/ subdirectory when you try cvs login?

If yes, what does it contain?



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


Re: Firefox+Flash

2006-09-15 Thread Jerry McAllister
On Fri, Sep 15, 2006 at 05:52:45PM +0200, Jona Joachim wrote:

 Jerry McAllister wrote:
  On Fri, Sep 15, 2006 at 02:46:19AM +0200, Jona Joachim wrote:
  
  Chuck Swiger wrote:
  On Sep 14, 2006, at 3:23 PM, Peter wrote:
  Yes, the Flash issue is a real bummer.  It is best *not* to show your
  friends that when you introduce them to FBSD.
  Why?  Is there some reason that you or they want to watch ads?
 
  I can't think of a single site that I use that needs Flash; I don't
  install it even on a Windows or MacOS X box.
  I don't have the need for Flash either. Youtube and Google Video should
  provide their videos in a proper way.
  I still believe in dynamic SVG for clear animations. You can watch one
  of those on the Opera site about SVG, it's great.
  Nobody needs proprietary binary formats on the Internet.
  
  Nice thought, but the real world is full of flash, much as it annoys me.
  
  By the way, I didn't find an SVG animation on the Opera page though
  it mentioned SVG and hyped it a little.
 
 It's there: http://www.opera.com/products/desktop/svg/
 Your browser has to support SVG 1.1 Tiny to view it. I know that Firefox
 (even 2.0) and Konqueror don't support it yet. Opera supports it from
 version 8 on.

OK.   I see it.  But since I am running Firefox, it doesn't do much.
Are you proposing to add SVG to Firefox or create a 'plugin' for
Firefox?

jerry

 
 --jona
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox+Flash

2006-09-15 Thread Jona Joachim
Gerard Seibert wrote:
 On Friday 15 September 2006 10:34, Jerry McAllister wrote:
 
 I don't normally use it either, but there are sites that do videos
 programs that are all in flash and others that use it for graphic
 demonstrations. So, it is a feature that is desired by many. �It pains me
 to have to reboot to Microsloth to see something on those sites.
 
 I concure; having to use a different PC just to view a web page is a 
 negative factor. I have also noticed that several sites, one bing CBSNews. 
 is now doing streaming real-time video; however, it is only viewable via MS 
 Media Player. It specifically states on the web page that 'realplayer' is 
 not fully compatible and not used for many of the feeds.
 
 It would be nice if a fully compatible player were available for FBSD. I 
 hate switching between PCs.

MPlayer handles wmv streams just fine.
You may want to check out www/mplayer-plugin, it works perfectly for
mozilla.

--jona
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Constant changing ahc0: Transceiver state changing

2006-09-15 Thread Sergey Donskikh
I have the same error messages on my Mail server and can not login as a root as 
well.
 
Is anybody has a solution regarding this issue?
 
Thanks in advance.
 
Sergey Donskikh
System Administrator
Lifestyles Global Network
8100 Keele Street
Vaughan ON Canada L4K  2A3
Tel. 905.760.9615 x2306 Fax. 905.760.9616
[EMAIL PROTECTED]
 
Live Better. Every Day.
 
This e-mail and any attachments may be confidential or legally privileged. Do 
not disclose unless advised to do so.  If you received this message in error or 
are not the intended recipient, you should destroy the e-mail message and any 
attachment(s) or copies, and you are prohibited from retaining, distributing, 
disclosing or using any information contained herein.

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


Re: portsdb -Uu

2006-09-15 Thread Kris Kennaway
On Thu, Sep 14, 2006 at 11:58:46PM -0700, Colin Percival wrote:
 ke han wrote:
  I am using
  portsnap fetch
  portsnap update
  
  to sync my ports tree on FreeBSd 6.1...it seems it maintains an index
  when I run update.
 
 Yes.
 
  I am used to using:
  portsversion and portsupdate to upgrade ports...in this method I have
  also used
  portsdb -Uu
  to rebuild an index anytime prior to running these commands...yes
  portsdb takes a while and I've always wondered if this is necessary
  prior to running any of these commands..
 
 portsdb -Uu does two things:
 1. It rebuilds the ports INDEX.  This is done by portsdb -U and takes a 
 long time.
 2. It rebuilds the ports INDEX.db database.  This is done by portsdb -u, 
 takes
 only a few seconds, and is done automatically when you run portupgrade if the
 database is out of date.
 
  So my question is:  Is the index being maintained by portsnap the same
  or a replacement to that used by portupgrade?  Do I have to maintain
  both sets of indexes in order to use portsupdate??
 
 The ports INDEX file generated by portsdb -U is the same file as portsnap
 generates.  Since the INDEX.db database is generated automatically, this means
 there is no need to run portsdb between running portsnap and running 
 portupgrade.
 
 My standard ports update/upgrade procedure is:
 portsnap fetch
 portsnap update
 pkg_version -vIL= # this is equivalent to portversion -vL=
 portupgrade -a

When I installed portsnap with 'portsnap fetch extract' and then ran
portupgrade -fa (this was during an update from 6.x to 7.x), it
replaced the index with the one from 'make fetchindex'.

 
 Colin Percival
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


pgp7uA9adYyeW.pgp
Description: PGP signature


Re: Top not showing cpu usage even remotely accurately

2006-09-15 Thread Dan Nelson
In the last episode (Sep 15), Ian Smith said:
 On Thu, 14 Sep 2006, Dan Nelson wrote:
   I would guess that maybe xmms (or some other threaded app) is your
   hidden CPU consumer.  The kernel does not calculate %CPU correctly
   for libkse-threaded programs, and they usually show up as 0% all
   the time.  The TIME column does update correctly, though.  If you
   switch to libthr with libmap.conf, you'll get accurate threaded
   %CPU reporting.
 
 I assume then that libkse is what the three multi-thread programs I'm
 running (xmms, mozilla-bin and mysqld) are now using, where for each
 of them `ldd $program | grep thr` shows
  libpthread.so.1 = /usr/lib/libpthread.so.1
 
 So can/should I set in (a new) /etc/libmap.conf generally:
  libpthread.so.1 libthr.so.1
  libpthread.so   libthr.so
 
 or would it be better to just target these specific programs, eg:
 
 [/usr/X11R6/lib/mozilla/mozilla-bin/]  # assuming loaded with full path?
  libpthread.so.1 libthr.so.1
  libpthread.so   libthr.so
 
 Are there any likely downsides to using libthr instead?  Esp. mysqld?

Ya, libkse was the name of the default thread library before it was
renamed to libpthread.  I use a global map (like in your first
example) myself.  I have a lightly-used mysql database on my machine
and haven't noticed any problems with it or any other threaded apps.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvs question

2006-09-15 Thread Giorgos Keramidas
On 2006-09-15 17:58, Michael Grant [EMAIL PROTECTED] wrote:
 [#786] ls -l CVS
 total 6
 -rw-r--r--  1 mgrant  1001  197 Oct 16  2005 Entries
 -rw-r--r--  1 mgrant  10018 May 30  2005 Repository
 -rw-r--r--  1 mgrant  1001   55 May 30  2005 Root
 [#787] cat CVS/Root
 :pserver:xgrant:[EMAIL PROTECTED]/home/ng/tools/cvsroot

 Ok, so that solve that mystery.  However, I still cannot log in on one
 machine yet I can on the other:  Except for the Entries file, Root and
 Repository are identical in the CVS directory.

 cvs login
 Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ng/tools/cvsroot
 cvs login: authorization failed: server grant.org rejected access to
 /home/ng/tools/cvsroot for user mgrant

The CVS server seems to be using some sort of CVS access control, i.e.
by a CVSROOT/readers or CVSROOT/writers file or something similar.

I am not sure of all the gory details about your particular setup, but
the message seems to imply that `mgrant' is blocked by the access
controls of the server itself.

Do you have a CVSROOT/readers or CVSROOT/writers in
/home/ng/tools/cvsroot/CVSROOT/ on the CVS server?

If yes, what do they contain?  Please take care of masking any sensitive
data (like user passwords), if you sent their contents!!!

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


Re: Poutupgrade unsafe

2006-09-15 Thread Michael P. Soulier
On 14/09/06 Pete Slagle said:

 This one bit me too, but we have only ourselves to blame; there was a
 clear (well, pretty clear) warning of the change in /usr/ports/UPDATING.
 
 You would never forget to check UPDATING before running portupgrade
 would you?  :)

A nice portupgrade feature would be to grok UPDATING, and present you with any
such notes before the upgrade occurs.

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpOARzLtmwzT.pgp
Description: PGP signature


Re: Firefox+Flash

2006-09-15 Thread Robert Huff

Jerry McAllister writes:

  Nice thought, but the real world is full of flash, much as it
  annoys me.

I am running into an increasing number of web sites - including
those of mega-corporations - where the home page is 100% Flash,
leaving no way to get inside if you don't do .swf.
Short of a native Flash Player (not holding my breath), the
correct long-term solution is for someone with the right skill-set
(regrettably not me) to fix www/linuxpluginwrapper.  This will not
only make using Linux Flash players feasible, but will bring joy to
the hearts of the many who want to use other Linux plugins.


Robert Huff




 

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


Re: Firefox+Flash

2006-09-15 Thread Gerard Seibert
On Friday 15 September 2006 12:01, Jona Joachim wrote:

[...]

 MPlayer handles wmv streams just fine.
 You may want to check out www/mplayer-plugin, it works perfectly for
 mozilla.

OK, I all ready have that installed. How am I suppose to configure it so 
that when I click on a link that is suppose to require MS Media Player it 
intercepts it and displays the streaming video?


-- 
Gerard

Power corrupts. Powerpoint corrupts absolutely.

Vint Cerf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2006-09-15 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-09-15 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

Greg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: flash plugin and firefox

2006-09-15 Thread Christopher M. Hobbs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I couldn't find the original message in my mail folders, but there was
discussion of an English translation of the unixlike.com.br
flash+firefox howto.

I wrote a translation for it some time back, it can be found here:
http://altbit.org/?p=111

cmh
- --
Christopher M. Hobbs
IS Technician, City of Siloam Springs
[EMAIL PROTECTED], (479).524.5136
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFCt/E5D6v/aN2SK8RAj/+AJ0bOeJTaviMZpC8dDALThlGgIgl5ACfXMY9
EHcvQszQ1yzNHnplfgUeTaM=
=RCsH
-END PGP SIGNATURE-


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


Re: Firefox+Flash

2006-09-15 Thread George Allan
On Fri, Sep 15, 2006 at 10:34:01AM -0400, Jerry McAllister wrote:
 On Thu, Sep 14, 2006 at 03:54:38PM -0700, Chuck Swiger wrote:
 
  On Sep 14, 2006, at 3:23 PM, Peter wrote:
  Yes, the Flash issue is a real bummer.  It is best *not* to show your
  friends that when you introduce them to FBSD.
  
  Why?  Is there some reason that you or they want to watch ads?
  
  I can't think of a single site that I use that needs Flash; I don't  
  install it even on a Windows or MacOS X box.
 
 I don't normally use it either, but there are sites that do videos programs
 that are all in flash and others that use it for graphic demonstrations.
 So, it is a feature that is desired by many.  It pains me to have
 to reboot to Microsloth to see something on those sites.

You can visit www.linuxcbt.com (cue the Linux jokes) for an illustrative 
example.  All the videos are in swf format, most likely generated using 
vnc2swf (available in ports, FWIW) or something similar.  As a side 
note, mplayer doesn't support the swf format either.

I once subscribed to the notion that Flash was wholly unecessary and the 
domain of ad companies, all the while knowing that there are amazingly 
creative sites (targeted at creative types or folks with creative 
budgets) done entirely in Flash that most people, myself included, 
couldn't fault.  It wasn't too long before I ended up installing the 
requisite browser plugin.

Flash is now more popular than ever.  And with Adobe's recent purchase 
of Macromedia, it would be naive to believe that Flash is going to fade 
away, or be relegated to a corner somewhere.  Unwelcome ads of any sort 
can be blocked with little trouble -- it's the remaining content that's 
the problem, and there's more of it out there every day.  That said, the 
linux-firefox approach does work surprisingly (or not so surprisingly) 
well, as does acroread (a must for those of us with notebooks or LCD 
screens).  Doesn't mean I'm any less annoyed at the state of affairs.  
Or any more inclined to install Linux.  ;-)

Cheers.





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


Re: freebsd-questions Digest, Vol 151, Issue 14

2006-09-15 Thread Christopher M. Hobbs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Message: 27
Date: Fri, 15 Sep 2006 07:49:53 -0400
From: Bob M. [EMAIL PROTECTED]
Subject: Re: Firefox+Flash
To: White Hat [EMAIL PROTECTED]
Cc: FreeBSD Users Questions freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain

On Thu, 2006-09-14 at 14:57 -0700, White Hat wrote:
  FreeBSD 6.1
 
  I have been trying to get a few of my friends to try
  FBSD on their PCs without much success. One of the
  major problems is the inability to get flash to work
  properly to display videos available on Google. I know
  that the linux-flash port is marked broken, so that it
  out. How else can I get flash to work so I can perhaps
  persuade them to try FBSD?
 
  I have KDE and Firefox installed obviously. I tried
  loading a few of the flash packages available in the
  ports, but they did not not seem to work.
 
  Thanks!
 
   This works for me, make sure you have the src tree under /usr/src.
  
   http://www.unixlike.com.br/?p=%2081
  
   There's an english translation somewhere, but if you just follow
   the
   commands you'll be ok.
  
   Bob

I put together a really quick translation at work a while back for some
co-workers.

http://altbit.org/?p=111

Isn't the linux flash plugin 7 (used in this article) broken anyhow?
See:  http://www.freshports.org/www/linux-flashplugin7/

I've been trying to install it on a new machine with little luck.  I
normally don't have any problems, so it's probably just an oversight on
my part.

cmh
- --
Christopher M. Hobbs
IS Technician, City of Siloam Springs
[EMAIL PROTECTED], (479).524.5136
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFCuNp5D6v/aN2SK8RAsIWAJ4gCqD3Fk8PUR1bGKKZuenD/5GSJACeJDvm
QYMLb38f4GuZEtEme21dej0=
=Z6Xt
-END PGP SIGNATURE-


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


Re: Firefox+Flash

2006-09-15 Thread Jona Joachim
Gerard Seibert wrote:
 On Friday 15 September 2006 12:01, Jona Joachim wrote:
 
 [...]
 
 MPlayer handles wmv streams just fine.
 You may want to check out www/mplayer-plugin, it works perfectly for
 mozilla.
 
 OK, I all ready have that installed. How am I suppose to configure it so 
 that when I click on a link that is suppose to require MS Media Player it 
 intercepts it and displays the streaming video?

The MPlayer plugin loads the streams on the cbsnews.com front page just
fine. What browser are you using? I know that the plugin works fine with
Mozilla and Firefox but it doesn't work in Opera (unfortunately). Type
about:plugins in the location bar and check for the Windows Media
Player Plugin entry. If you can't find it in the list then the browser
can't find the plugin, reinstalling may help.

--jona
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox+Flash

2006-09-15 Thread Jona Joachim
Jerry McAllister wrote:
 On Fri, Sep 15, 2006 at 05:52:45PM +0200, Jona Joachim wrote:
 
 Jerry McAllister wrote:
 On Fri, Sep 15, 2006 at 02:46:19AM +0200, Jona Joachim wrote:

 Chuck Swiger wrote:
 On Sep 14, 2006, at 3:23 PM, Peter wrote:
 Yes, the Flash issue is a real bummer.  It is best *not* to show your
 friends that when you introduce them to FBSD.
 Why?  Is there some reason that you or they want to watch ads?

 I can't think of a single site that I use that needs Flash; I don't
 install it even on a Windows or MacOS X box.
 I don't have the need for Flash either. Youtube and Google Video should
 provide their videos in a proper way.
 I still believe in dynamic SVG for clear animations. You can watch one
 of those on the Opera site about SVG, it's great.
 Nobody needs proprietary binary formats on the Internet.
 Nice thought, but the real world is full of flash, much as it annoys me.

 By the way, I didn't find an SVG animation on the Opera page though
 it mentioned SVG and hyped it a little.
 It's there: http://www.opera.com/products/desktop/svg/
 Your browser has to support SVG 1.1 Tiny to view it. I know that Firefox
 (even 2.0) and Konqueror don't support it yet. Opera supports it from
 version 8 on.
 
 OK.   I see it.  But since I am running Firefox, it doesn't do much.
 Are you proposing to add SVG to Firefox or create a 'plugin' for
 Firefox?

SVG 1.1 Tiny became a W3C recommendation on 14th January 2003 so I
believe they will implement it sonner or later

--jona
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


wvHTML, glib libiconv

2006-09-15 Thread Ted Johnson
Hi;
I need to install wvHTML. It's dependent on glib, which is dependent on 
libiconv. I'm on FreeBSD 6.1. It has libiconv installed. But glib says it can't 
find it:

configure: error: *** No iconv() implementation found in C library or libiconv

So I'm stuck. What do I do in situations like this?
TIA,
Ted
2

-
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small 
Business.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvs question

2006-09-15 Thread Michael Grant

On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote:

The CVS server seems to be using some sort of CVS access control, i.e.
by a CVSROOT/readers or CVSROOT/writers file or something similar.


I didn't set anything like that up.  I simply added this line to
/etc/inetd.conf:

cvspserver stream tcp nowait   root /usr/bin/cvs cvs
--allow-root=/home/ng/tools/cvsroot --allow-root=/home/somewhere/else
pserver


I am not sure of all the gory details about your particular setup, but
the message seems to imply that `mgrant' is blocked by the access
controls of the server itself.


It sure seems that way.  Or it seems that somehow it's proposing the
wrong password.  Hmm, now, here's something funny, the password in
CVSROOT/Root is all lower case and my password is mixed case.

I tried editing this file and adding the mixed case, but no, that
didn't help.  Then, I tried changing my password on the server to
match the all lower case password it insists on putting in the Root
file and now I can get in, but only if I provide the -d :pserver:
on the command line.  I tried setting CVSROOT but again, the same auth
error.


Do you have a CVSROOT/readers or CVSROOT/writers in
/home/ng/tools/cvsroot/CVSROOT/ on the CVS server?

If yes, what do they contain?  Please take care of masking any sensitive
data (like user passwords), if you sent their contents!!!


No, don't have any of these files on the server.

At least I can now update my local copy from the cvs server using the
long cmd line with the -d :pserver:... stuff.  However, I'm still
curious why setting CVSROOT isn't working.

By the way, thanks for all your help.

Michael Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Broken port? Broken port tree?

2006-09-15 Thread Bob
Or am I doing something dumb?

portaudit reported:

Affected package: mailman-with-htdig-2.1.8_3
Type of problem: mailman -- Multiple Vulnerabilities.
Reference: 
http://www.FreeBSD.org/ports/portaudit/fffa9257-3c17-11db-86ab-00123ffe8333.html

Simple fix right?

# portupgrade mailman-with-htdig
---  Upgrading 'mailman-with-htdig-2.1.8_3' to 
'mailman-with-htdig-2.1.9.r1' (mail/mailman)
---  Building '/usr/ports/mail/mailman'
===  Cleaning for python-2.4.3
snip
===  Cleaning for mailman-with-htdig-2.1.9.r1
===  Found saved configuration for mailman-2.1.8_3
snip
===  Extracting for mailman-with-htdig-2.1.9.r1
= MD5 Checksum OK for mailman/mailman-2.1.9rc1.tgz.
= SHA256 Checksum OK for mailman/mailman-2.1.9rc1.tgz.
= No MD5 checksum recorded for mailman/indexing-2.1.6-0.1.patch.gz.
= No SHA256 checksum recorded for mailman/indexing-2.1.6-0.1.patch.gz.
= No suitable checksum found for mailman/indexing-2.1.6-0.1.patch.gz.
= No MD5 checksum recorded for mailman/htdig-2.1.6-0.1.patch.gz.
= No SHA256 checksum recorded for mailman/htdig-2.1.6-0.1.patch.gz.
= No suitable checksum found for mailman/htdig-2.1.6-0.1.patch.gz.
*** Error code 1
Stop in /usr/ports/mail/mailman.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade72882.0 
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! mail/mailman (mailman-with-htdig-2.1.8_3) (unknown build error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

Thinking I got a bad/incomplete patch set, I deleted them and ran portupgrade 
again: 

= indexing-2.1.6-0.1.patch.gz doesn't seem to exist 
in /usr/ports/distfiles/mailman.
= Attempting to fetch from http://www.openinfo.co.uk/mm/patches/444879/.
indexing-2.1.6-0.1.patch.gz   100% of 8881  B   26 kBps
= htdig-2.1.6-0.1.patch.gz doesn't seem to exist 
in /usr/ports/distfiles/mailman.
= Attempting to fetch from http://www.openinfo.co.uk/mm/patches/444884/.
htdig-2.1.6-0.1.patch.gz  100% of   59 kB   53 kBps
===  Extracting for mailman-with-htdig-2.1.9.r1
snip
Same missing checksum error/stop.

/usr/ports/distfiles/mailman contains:
# ls -1
htdig-2.1.6-0.1.patch.gz
indexing-2.1.6-0.1.patch.gz
mailman-2.1.7.tgz
mailman-2.1.8.tgz
mailman-2.1.9rc1.tgz

Is this my system or is the port broken?

The last system changes I made was to cvsup sources and re-compiled my kernel.
I also fetched ALL upgrades via portupgrade -Fa.

# uname -a
FreeBSD tania.servebbs.org 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #3: Thu Sep 
14 11:55:02 EDT 2006 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/TANIA  i386

TIA
Bob



pgpbfxj0CLS1h.pgp
Description: PGP signature


Re: Firefox+Flash

2006-09-15 Thread Gerard Seibert
On Friday 15 September 2006 13:38, Jona Joachim wrote:

 The MPlayer plugin loads the streams on the cbsnews.com front page just
 fine. What browser are you using? I know that the plugin works fine with
 Mozilla and Firefox but it doesn't work in Opera (unfortunately). Type
 about:plugins in the location bar and check for the Windows Media
 Player Plugin entry. If you can't find it in the list then the browser
 can't find the plugin, reinstalling may help.

There is nothing there about MPLayer. I have both Firefox and linux-firefox 
installed.

MPlayer works fine when I use it directly. How can I get it added to the 
plugins for Firefox?

-- 
Gerard

Whatever became of eternal truth?


pgpOiPyfm0MFY.pgp
Description: PGP signature


Re: flash plugin and firefox

2006-09-15 Thread Gerard Seibert
On Friday 15 September 2006 13:15, Christopher M. Hobbs wrote:

 I put together a really quick translation at work a while back for some
 co-workers.

 http://altbit.org/?p=111

 Isn't the linux flash plugin 7 (used in this article) broken anyhow?
 See:  http://www.freshports.org/www/linux-flashplugin7/

 I've been trying to install it on a new machine with little luck.  I
 normally don't have any problems, so it's probably just an oversight on
 my part.

I believe so. I tried building it yesterday without success.


-- 
Gerard

Keep patting your enemy on the back until a
small bullet hole appears between your fingers.

Joe Bonanno


pgp4WD4tBoLzl.pgp
Description: PGP signature


Re: Firefox+Flash

2006-09-15 Thread Chuck Swiger

On Sep 15, 2006, at 10:29 AM, George Allan wrote:

I can't think of a single site that I use that needs Flash; I don't
install it even on a Windows or MacOS X box.


I don't normally use it either, but there are sites that do videos  
programs
that are all in flash and others that use it for graphic  
demonstrations.

So, it is a feature that is desired by many.  It pains me to have
to reboot to Microsloth to see something on those sites.


You can visit www.linuxcbt.com (cue the Linux jokes) for an  
illustrative
example.  All the videos are in swf format, most likely generated  
using

vnc2swf (available in ports, FWIW) or something similar.  As a side
note, mplayer doesn't support the swf format either.


That site seems to be selling instructional videos for $200 a pop.

While I suppose some people would pay that much to watch something in  
Flash like how to configure sendmail, rather than read the docs that  
come with the sendmail source tarball (or buy the O'Reilly Bat  
book, or subscribe to comp.mail.sendmail and ask there), and they are  
welcome to make such a decision, it would not be the decision I would  
make myself.


Responding to another point made in this thread:

On Sep 15, 2006, at 9:47 AM, Robert Huff wrote:

I am running into an increasing number of web sites - including
those of mega-corporations - where the home page is 100% Flash,
leaving no way to get inside if you don't do .swf.


The major problem with such an approach is that pure-Flash-based  
sites prevent critical aspects of browser functionality from working  
as designed-- things like bookmarks, the back button, and so forth.


Once in a while, I send a polite message to  
[EMAIL PROTECTED] indicating that a pure Flash site is  
a problem for those people who do not have Flash, and that if they  
decide to exclude potential customers (or partners, or investors,  
etc) as a result, well, doing so is their loss.


--
-Chuck

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


Re: Firefox+Flash

2006-09-15 Thread RW



--On Friday, September 15, 2006 14:27:37 -0400 Gerard Seibert 
[EMAIL PROTECTED] wrote:



On Friday 15 September 2006 13:38, Jona Joachim wrote:


The MPlayer plugin loads the streams on the cbsnews.com front page just
fine. What browser are you using? I know that the plugin works fine with
Mozilla and Firefox but it doesn't work in Opera (unfortunately). Type
about:plugins in the location bar and check for the Windows Media
Player Plugin entry. If you can't find it in the list then the browser
can't find the plugin, reinstalling may help.


There is nothing there about MPLayer. I have both Firefox and
linux-firefox  installed.

MPlayer works fine when I use it directly. How can I get it added to the
plugins for Firefox?



Use:

www/mplayer-plugin

www/linux-mplayer-plugin

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


Re: Broken port? Broken port tree?

2006-09-15 Thread Kris Kennaway
On Fri, Sep 15, 2006 at 02:22:53PM -0400, Bob wrote:
 Or am I doing something dumb?
 
 portaudit reported:
 
 Affected package: mailman-with-htdig-2.1.8_3
 Type of problem: mailman -- Multiple Vulnerabilities.
 Reference: 
 http://www.FreeBSD.org/ports/portaudit/fffa9257-3c17-11db-86ab-00123ffe8333.html
 
 Simple fix right?
 
 # portupgrade mailman-with-htdig
 ---  Upgrading 'mailman-with-htdig-2.1.8_3' to 
 'mailman-with-htdig-2.1.9.r1' (mail/mailman)
 ---  Building '/usr/ports/mail/mailman'
 ===  Cleaning for python-2.4.3
 snip
 ===  Cleaning for mailman-with-htdig-2.1.9.r1
 ===  Found saved configuration for mailman-2.1.8_3
 snip
 ===  Extracting for mailman-with-htdig-2.1.9.r1
 = MD5 Checksum OK for mailman/mailman-2.1.9rc1.tgz.
 = SHA256 Checksum OK for mailman/mailman-2.1.9rc1.tgz.
 = No MD5 checksum recorded for mailman/indexing-2.1.6-0.1.patch.gz.
 = No SHA256 checksum recorded for mailman/indexing-2.1.6-0.1.patch.gz.
 = No suitable checksum found for mailman/indexing-2.1.6-0.1.patch.gz.
 = No MD5 checksum recorded for mailman/htdig-2.1.6-0.1.patch.gz.
 = No SHA256 checksum recorded for mailman/htdig-2.1.6-0.1.patch.gz.
 = No suitable checksum found for mailman/htdig-2.1.6-0.1.patch.gz.
 *** Error code 1
 Stop in /usr/ports/mail/mailman.
 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade72882.0 
 make
 ** Fix the problem and try again.
 ** Listing the failed packages (*:skipped / !:failed)
 ! mail/mailman (mailman-with-htdig-2.1.8_3) (unknown build error)
 ---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

Talk to the maintainer, looks like the port is missing the checksums
for the htdig option.

Kris


pgpr6VHAmsKfM.pgp
Description: PGP signature


Re: flash plugin and firefox

2006-09-15 Thread Marc Fonvieille
On Sat, Sep 02, 2006 at 07:10:57PM +0200, Jordi Carrillo wrote:
 Well, I suppose you are talking about the kernel sources, right? Because
 saying the sources of the base system is very generic. I'll investigate,
 thanks
 
 2006/9/2, Jona Joachim [EMAIL PROTECTED]:
 
 Jordi Carrillo wrote:
  When it says:
  cd /usr/src
  patch -p0 /tmp/rtld_dlsym_hack.diff
 
  a question arises saying:
  File to patch:
 
  Then what is supposed I have to patch?
  and there's nothing in /usr/src as well.
  Thanks
 
 You don't have the sources of the base system.
 You can fetch them using sysinstall or csup.
 The FreeBSD Handbook is your friend: http://www.freebsd.org/doc/handbook/
 
 The babelfish translation of the page is not so bad:
 
 http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=pt_enurl=http%3A%2F%2Fwww.unixlike.com.br%2F%3Fp%3D%252081
 

Well, in the Handbook there's a section called:
6.2.4 Firefox, Mozilla and Macromedia Flash Plugin

Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: flash plugin and firefox

2006-09-15 Thread Bob M.
On Fri, 2006-09-15 at 12:15 -0500, Christopher M. Hobbs wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I couldn't find the original message in my mail folders, but there was
 discussion of an English translation of the unixlike.com.br
 flash+firefox howto.
 
 I wrote a translation for it some time back, it can be found here:
 http://altbit.org/?p=111
 
 cmh
 - --

Thank you.

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


Re: cvs question

2006-09-15 Thread Giorgos Keramidas
On 2006-09-15 20:05, Michael Grant [EMAIL PROTECTED] wrote:
 On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 The CVS server seems to be using some sort of CVS access control, i.e.
 by a CVSROOT/readers or CVSROOT/writers file or something similar.
 
 I didn't set anything like that up.  I simply added this line to
 /etc/inetd.conf:
 
 cvspserver stream tcp nowait   root /usr/bin/cvs cvs
 --allow-root=/home/ng/tools/cvsroot --allow-root=/home/somewhere/else
 pserver
 
 I am not sure of all the gory details about your particular setup, but
 the message seems to imply that `mgrant' is blocked by the access
 controls of the server itself.
 
 It sure seems that way.  Or it seems that somehow it's proposing the
 wrong password.  Hmm, now, here's something funny, the password in
 CVSROOT/Root is all lower case and my password is mixed case.

Try removing the relevant line from your ``~/.cvspass'', if there is
one.  I think what's happening is that a cached copy of the password is
used from that file, and that copy is out of date.

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


Processors

2006-09-15 Thread WilsonWilliamGJr
To whom it may concern
 
I have a computer with a dual-core processor. Will  FreeBSD operate on 
this machine?
Please answer this at my e-mail address [EMAIL PROTECTED] 
(mailto:[EMAIL PROTECTED]) . (short and  sweet
will suffice)
 
Thank  you
 
Bill  Wilson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Processors

2006-09-15 Thread Andy Greenwood

well, without more information. I can definitively say maybe FreeBSD
works just fine on many multi-cpu machines.

On 9/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

To whom it may concern

I have a computer with a dual-core processor. Will  FreeBSD operate on
this machine?
Please answer this at my e-mail address [EMAIL PROTECTED]
(mailto:[EMAIL PROTECTED]) . (short and  sweet
will suffice)

Thank  you

Bill  Wilson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
I'm nerdy in the extreme and whiter than sour cream
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rebuild any statically linked ports

2006-09-15 Thread Don Munyak

I am following the instructions for keeping my freebsd system upto
date from http://www.taosecurity.com/keeping_...up-to-date.html

After running,

# freebsd-update fetch
# /usr/local/sbin/freebsd-update install

A message states Don't forget to rebuild any statically linked ports
to use the updated libraries after you install them.

what does this mean and how do I complish rebuilding statically linked ports?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash plugin and firefox

2006-09-15 Thread RW



--On Friday, September 15, 2006 14:44:26 -0400 Gerard Seibert 
[EMAIL PROTECTED] wrote:



On Friday 15 September 2006 13:15, Christopher M. Hobbs wrote:


I put together a really quick translation at work a while back for some
co-workers.

http://altbit.org/?p=111

Isn't the linux flash plugin 7 (used in this article) broken anyhow?
See:  http://www.freshports.org/www/linux-flashplugin7/

I've been trying to install it on a new machine with little luck.  I
normally don't have any problems, so it's probably just an oversight on
my part.


I believe so. I tried building it yesterday without success.




Just in case, you didn't read my reply to the original post. There is
no version of the adobe flash plug-in for Linux that doesn't contain
critical vulnerabilities. Running a more secure version of Flash depends
on Adobe releasing Flash 9 for Linux.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rebuild any statically linked ports

2006-09-15 Thread Chuck Swiger

On Sep 15, 2006, at 12:50 PM, Don Munyak wrote:

A message states Don't forget to rebuild any statically linked ports
to use the updated libraries after you install them.

what does this mean and how do I [ac]complish rebuilding statically  
linked ports?


Most software is dynamicly linked, and will therefore load the  
updated versions of the system libraries without needing any work on  
your part.  Statically linked programs are rather uncommon nowadays,  
but can be identified via the file command:


% file /sbin/init
/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1  
(FreeBSD), for FreeBSD 5.4-CURRENT (rev 5), statically linked, stripped

% file /bin/sh
/bin/sh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),  
for FreeBSD 5.4-CURRENT (rev 5), dynamically linked (uses shared  
libs), stripped


If any of the ports you have installed is statically linked, you can  
rebuild it via a portupgrade -af _portname_ or a make deinstall   
make reinstall in that ports' directory.


--
-Chuck

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


[SOLUTION] Re: mount_ext2fs returning ENODEV on 6.1

2006-09-15 Thread Perry Hutchison
  The standard kernel doesn't have ext2fs support now; I doubt the 6.1
  release was different.  Try loading it as a module; kldload ext2fs.
 
  It seems not to be that easy :(
 
# kldload ext2fs
kldload: can't load ext2fs: No such file or directory
 
  Where is ext2fs.ko supposed to have come from?  A search for ext2fs
  in the Handbook found nothing applicable, and I have already built
  and installed /usr/ports/sysutils/e2fsprogs.
 
 I checked the 6.1 install disks, and saw ext2fs.ko in boot/kernel,
 just like I'd expect.  I've rebuilt with newer sources several
 times since then, but I'm surprised if it isn't there on your disk.

According to find, the only *.ko anywhere in the system was
gtkrc.ko, in /usr/ports/x11-toolkits/linux-gtk/work/etc/gtk
and /usr/X11R6/share/themes/Default/gtk.

I suspect this may be additional fallout from my earlier problem,
wherein sysinstall had failed to install the kernel:

  http://lists.freebsd.org/pipermail/freebsd-questions/2006-August/129613.html
  http://lists.freebsd.org/pipermail/freebsd-questions/2006-August/129659.html

Evidently it also failed to install the ext2fs module.
One way to fix it:

  # cd /usr/src/sys/modules/ext2fs
  # make
  # cp ext2fs.ko /boot/modules
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What do I need in FreeBSD 6.1 OS to be able to read a USB Dane/Electric 256 MB thumb drive?

2006-09-15 Thread ograbme

Howdy.

I've been going round and round here trying to simply read a USB thumb
drive.  I've searched many web sites, read the various messages on
this list, the Handbook and other sources, but nothing is very clear
to me at the moment.  I think I have bits and pieces, but haven't been
able to put together the puzzle yet, soo ...

So here is a clip of my dmesg text ...  Note: I haven't included the
whole dmesg output ... if need be, please advise.

Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980,
1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the
University of California. All rights reserved. FreeBSD 6.1-RELEASE #0:
Sun May  7 04:32:43 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter
i8254 frequency 1193182 Hz quality 0 CPU: AMD-K6(tm) 3D processor
(501.14-MHz 586-class CPU) Origin = AuthenticAMD  Id = 0x58c
Stepping = 12
Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX  AMD
Features=0x8800SYSCALL,3DNow
real memory  = 125763584 (119 MB)
avail memory = 113504256 (108 MB)
kbd1 at kbdmux0
K6-family MTRR support enabled (2 registers)
ACPI disabled by blacklist.  Contact your BIOS vendor.
cpu0 on motherboard
pcib0: Host to PCI bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 5 Entries on motherboard
pci0: PCI bus on pcib0
$PIR: No matching entry for 0.1.INTA
agp0: SiS 530 host to AGP bridge mem 0xe800-0xebff at device 0.0 on 
pci0
atapci0: SiS 530 UDMA66 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 0.1 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: unknown at device 1.1 (no driver attached)

**
  USB related stuff

**

ohci0: SiS 5571 USB controller mem 0xefffe000-0xefffefff irq 9 at device 1.2 
on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SiS 5571 USB controller on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered

**

pcib1: PCI-PCI bridge at device 2.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
dc0: Davicom DM9102 10/100BaseTX port 0xda00-0xda7f mem 0xef80-0xefff 
irq 10 at device 11.0 on pci0
miibus0: MII bus on dc0
amphy0: Am79C873 10/100 media interface on miibus0
amphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:30:21:14:b4:4d
pci0: multimedia, audio at device 12.0 (no driver attached)

snip

I see no references to umass and/or da0 which I have come across in my
readings. In the /dev file there are two devices, usb and usb0, so I
tried mounting each one of these devices separately, but had no luck.
Obviously I'm missing something here, so any reasonably detailed
pointers would be appreciated.

At the moment I'm not concerned with USB 2.0.  LOL!

Thanks in advance.



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


Re: OT: awk/sed: how to use a variable in an address range?

2006-09-15 Thread J65nko

On 9/14/06, O. Hartmann [EMAIL PROTECTED] wrote:
[snip]

To keep a small shell script portable I use awk for separating an ASCII
file from a home brewn scientific model software. The datasets of the
output is enclosed by

/begin_data_set_##/
.
.
.
/end_data_set_##/

## is a two-digit counter, but not necessesaryly equidistant.

I would like to separate the file contaning all datasets via awk or sed
into appropriate files - this is my intention, but I failed.

the simplest way - in theory and in my limitit ability of using sed or
awk - is to print all lines between the (sed/awk) addresses

/begin_data_set_##/
...
/end_data_set_##/

but this does not work due to i cannot use variables in the address
range specifiers neither in awk nor in sed like this:

awk -v nc=$NUMBER '/\/begin_data_set_nc\//,/\/end_data_set_nc\// {
do-something-in-awk}' $input_file  $output_file_$NUMBER

nc in this example is set to the counter of the desired dataset.

I would like to use SED or AWK only due to portability reasons.

[snip]

You have to prefix the variable with $ and use double quotes instead
of single quotes.
The shell will expand a variable within double quotes, but one within
single quotes

$ cat data
/start_1/
This is dataset 1
/end_1/

/start_2/
This is dataset 2
/end_2/

/start_3/
This is dataset 3
/end_3/

$ cat sed_extract

NR=$1

sed -ne /\/start_$NR\//,/\/end_$NR\//p data

$ sh -vx sed_extract 3

NR=$1
+ NR=3

sed -ne /\/start_$NR\//,/\/end_$NR\//p data
+ sed -ne /\/start_3\//,/\/end_3\//p data
/start_3/
This is dataset 3
/end_3/

$ sh -vx sed_extract 2

NR=$1
+ NR=2

sed -ne /\/start_$NR\//,/\/end_$NR\//p data
+ sed -ne /\/start_2\//,/\/end_2\//p data
/start_2/
This is dataset 2
/end_2/

You were close ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What do I need in FreeBSD 6.1 OS to be able to read a USB Dane/Electric 256 MB thumb drive?

2006-09-15 Thread Paul Schmehl
--On Friday, September 15, 2006 16:53:25 -0400 ograbme [EMAIL PROTECTED] 
wrote:


I see no references to umass and/or da0 which I have come across in my
readings. In the /dev file there are two devices, usb and usb0, so I
tried mounting each one of these devices separately, but had no luck.
Obviously I'm missing something here, so any reasonably detailed
pointers would be appreciated.

Are you saying that this is the case when the USB device is plugged in? 
Because normally you should see a /dev/da0 if you have a thumb drive 
plugged in to a USB port.


I mount them like this:
mount_msdosfs /dev/da0s1 /mnt/usb/

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


devfs and hot unplugging

2006-09-15 Thread M. L. Dodson
I was transferring a bunch of data files from compute nodes to a server 
using dump-restore.  I put the disks with the data files into an external 
firewire device, plugged it in, and did the transfers.  This is on 
6.1-RELEASE-p6.

When I finished the transfers, I just pulled the cable (the firewire disk 
partitions were not mounted).  When I plugged in the next drive, devfs 
created devices with names like /dev/da0s1aa, /dev/da0s1ab, /dev/da0s1ac, 
etc., in addition to the regular /dev/da0s1a, etc (which were left over 
from the first disk, they were not destroyed when I pulled the cable).  
When I tried to fsck the firewire disk partitions, /dev/da0s1a 
and /dev/da0s1g worked fine (as did the dump/restore from /dev/da0s1g).  
The other partitions, /dev/da0s1d, e, and f, failed, saying the superblock 
could not be found.  All the data disks were of the same kind and had 
identical partitioning schemes.

My question: Should I be doing something to signal devfs I'm going to unplug 
a device so it won't get confused when I plug in another similar, but not 
the same, device?  What's going on here?

Bud Dodson
-- 
M. L. Dodson
Email:  mldodson-at-houston-dot-rr-dot-com
Phone:  eight_three_two-56_three-386_one
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CCID on v4.11 ??

2006-09-15 Thread Jack Weimer
Hello,

I was asked to install CCID USB smart card readers on FreeBSD 4.11 where
some legacy software is running.

All of the current ports have been downloaded.   The ports for pcsc-lite and
libccid work great on v6.1 and I have successfully tested various smart card
readers.

pcsc-lite and libccid both have problems during make on v4.11.   

Any help would be greatly appreciated.

Thanks

 Jack

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


Re: What do I need in FreeBSD 6.1 OS to be able to read a USB Dane/Electric 256 MB thumb drive?

2006-09-15 Thread Jona Joachim
ograbme wrote:
 Howdy.
 
 I've been going round and round here trying to simply read a USB thumb
 drive.  I've searched many web sites, read the various messages on
 this list, the Handbook and other sources, but nothing is very clear
 to me at the moment.  I think I have bits and pieces, but haven't been
 able to put together the puzzle yet, soo ...
 
 So here is a clip of my dmesg text ...  Note: I haven't included the
 whole dmesg output ... if need be, please advise.

snip

 I see no references to umass and/or da0 which I have come across in my
 readings. In the /dev file there are two devices, usb and usb0, so I
 tried mounting each one of these devices separately, but had no luck.
 Obviously I'm missing something here, so any reasonably detailed
 pointers would be appreciated.
 
 At the moment I'm not concerned with USB 2.0.  LOL!
 
 Thanks in advance.

Do you have a custom built kernel? If so, did you include the umass and
da drivers?
What does 'kldstat -v | grep umass' say?

--jona
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The fan is always on, even when the desktop is rather cool

2006-09-15 Thread Wei Hu

I have 3 systems in my desktop:
1) When FreeBSD runs, my desktop fans are always running, and this
make annoy noisy.
2) However when Debian runs, the fan eventually stops unless I am
performing a load intensive task.
3) In Windows, the fan is almost always off.
I tried to use acpi and apm, but they are for laptop.(?)
In Freebsd, how can I control the cooling fans or how can the system
turns the fans off when the load is not heavy.
Any help would be greatly appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox+Flash

2006-09-15 Thread Norberto Meijome
On Fri, 15 Sep 2006 15:22:38 +0100
RW [EMAIL PROTECTED] wrote:

 I going to be booting into Windows if I really need flash. 

Why not try Wine? I haven't checked, but maybe firefox + flash does work under
wine... i also keep a 4 GB Qemu windows xp setup which gets my out of trouble
the few times when it's window-or-nothing.. most of the time i just give up
altogether on the site.

_
{Beto|Norberto|Numard} Meijome

Sysadmins can't be sued for malpractice, but surgeons don't have to
deal with patients who install new versions of their own innards.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as a gaming server platform

2006-09-15 Thread Norberto Meijome
On Fri, 15 Sep 2006 08:07:52 -0500
Matt [EMAIL PROTECTED] wrote:

   I did some
 searching for settings that could increase max packet rates and such,
 but to no avail.

Hi Matt,
I would look for 'network tuning freebsd' - things like the max
receive /send buffer sizes are obvious things . 

man 7 tuning

may help too... it all really depends what kind of resources are most needed by
your services, and what you see is bein strained the most (maybe you just need
bigger/faster hardware).

B
_
{Beto|Norberto|Numard} Meijome

Nature doesn't care how smart you are. You can still be wrong.
  Richard Feynman

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as a gaming server platform

2006-09-15 Thread Ahmad Arafat Abdullah
Yes it is..
as far as i know, u can play around with sysctl.conf for lots of tweaks..

This is my close friends game server:

http://kapra.mine.nu http://kpro.mine.nu

running for Ragnarok Online game using Freya engine on FreeBSD 4.11-RELEASE-p12

u can contact the admin named maui for more info, tq..






 - Original Message -
 From: Matt [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Subject: FreeBSD as a gaming server platform
 Date: Fri, 15 Sep 2006 08:07:52 -0500
 
 
 Are there any kernel tunables that you would recommend setting to
 increase performance on FreeBSD 6.x for running gaming servers (e.g.
 Quake 4, CS:S, etc)?  It appears that the default settings are not
 performing nearly as well on FreeBSD as they are on Linux on similar
 hardware, and it seems to be something network related.  I did some
 searching for settings that could increase max packet rates and such,
 but to no avail.
 
 Thank you,
 Matt
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]




-- 
___
Play 100s of games for FREE! http://games.mail.com

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


Re: Device Drivers and Kernel Modules

2006-09-15 Thread David Wassman

Lowell,

Thanks for the reply. Sorry about the belated gratitude. I haven't checked
the account in a while and simply forgot I posted the question. I think I
got confused in my memory. Now what I think I read was about filesystem
kernel modules. From my understanding these could be automatically loaded
through the mount command. At least, thats the author's claim in FreeBSD
Unleashed.

Just to be more specific this inquiry is NOT for a server. It is my
experimental desktop at home. Servers I would agree have no need to be
convenient in swapping hardware. But I do switch out hardware on the system
in question occasionally and was really just curious if there is a drawback
between the drivers in the kernel opposed to loaded kernel modules.

Thanks again

David Wassman

On 9/5/06, Lowell Gilbert [EMAIL PROTECTED] wrote:


David Wassman [EMAIL PROTECTED] writes:

 I am trying to figure out which would be best, to load all the device
 drivers through compiling them into the kernel or to load them at boot
 through loader.conf.

 I would think that loader.conf would be more convenient as changing
hardware
 wuld not require a rebuild of the kernel. Is there a draw back to
loading
 devices this way other than a longer boot up time (which should not be
an
 issue as the system is 24-7)?

There is little difference for your purposes.

 I have also heard that loading modules through the loader.conf saves on
RAM
 performance as the module in question is not loaded into memory until it
is
 used as opposed to being loaded with the kernel. If this makes no sense,
i
 appologize. I remember reading it somewhere on a mailing list several
years
 ago and can't find the reference anymore. From memory it stated modules
such
 as cd9660 could be loaded through entering CD9660_load=YES in
 loader.confand that it would not be used in memory until a cd was
 mounted. I am
 assuming this is true (if it is) for other modules as well.

It isn't true at all.  Loading a module really does load it into memory.

--
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/


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


Re: rebuild any statically linked ports

2006-09-15 Thread Don Munyak

Thanks for the info.

Don
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The fan is always on, even when the desktop is rather cool

2006-09-15 Thread David J Brooks
On Friday 15 September 2006 18:10, Wei Hu wrote:
 I have 3 systems in my desktop:
 1) When FreeBSD runs, my desktop fans are always running, and this
 make annoy noisy.
 2) However when Debian runs, the fan eventually stops unless I am
 performing a load intensive task.
 3) In Windows, the fan is almost always off.
 I tried to use acpi and apm, but they are for laptop.(?)
 In Freebsd, how can I control the cooling fans or how can the system
 turns the fans off when the load is not heavy.
 Any help would be greatly appreciated.

It sounds like a broken ACPI code to me. Check the handbook chapter on 
debugging ACPI: 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html

David
-- 
Sure the Almighty created the world in only six days,
but He didn't have an established user-base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


6.1 up, but I messed up on networking.....

2006-09-15 Thread Gary Kline

Guys, I can't ssh out, no nothing network works   Meaning that
I can't scp in my just save /etc.   I was obviously too careless
with meargemaster.   The /var/log files don't suggest anything
Also X/xorg is bombing.   How do I use X -whatever to generate an
xorg.conf file?

thanks, if anybody is still around...

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Poutupgrade unsafe

2006-09-15 Thread Henry Lenzi

A nice portupgrade feature would be to grok UPDATING, and present you with any
such notes before the upgrade occurs.

Mike


I fully agree. It's not the best solution to have an UPDATE file that
is very large and that is not integrated in the updating process.
UPDATE should be machine-readable, for starters.

Henry
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.1 up, but I messed up on networking.....

2006-09-15 Thread Gary Kline
On Fri, Sep 15, 2006 at 09:34:08PM -0700, Gary Kline wrote:
 
   Guys, I can't ssh out, no nothing network works   Meaning that
   I can't scp in my just save /etc.   I was obviously too careless
   with meargemaster.   The /var/log files don't suggest anything
   Also X/xorg is bombing.   How do I use X -whatever to generate an
   xorg.conf file?
 
   thanks, if anybody is still around...
 

Ummm. Nermind. I'm downlading the *latest*  6.1.   --long story, 
trust me.



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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