Re: video players broken

2006-05-01 Thread Brian John

Gerard Seibert wrote:

Kris Kennaway wrote:

  

On Thu, Apr 27, 2006 at 09:22:45PM -0500, Brian John wrote:


Kris Kennaway wrote:
  

On Thu, Apr 27, 2006 at 08:59:42PM -0500, Brian John wrote:
 

Hi, I just upgraded my ports and now all of my video players either 
won't install, or they won't start up.  I've tried 4 different ones, 
here is what happens with each:


vlc: won't install
/usr/local/lib/libmatroska.so: undefined reference to 
`libebml::CodedSizeLength(unsigned long long, unsigned int)'

gmake[2]: *** [vlc] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.4a'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.4a'
gmake: *** [all] Error 2
*** Error code 2

totem: won't start up
[EMAIL PROTECTED] /usr/ports/multimedia/totem]$ totem 
[1] 8150
[EMAIL PROTECTED] /usr/ports/multimedia/totem]$ /libexec/ld-elf.so.1: 
Shared object libglib-2.0.so.600 not found, required by 
libgnome-keyring.so.0


xine: this one starts up, but then closes right away, with no error

mplayer: won't install, get several errors similar to this
/usr/X11R6/lib/libxmms.so: undefined reference to `gtk_widget_get_type'
/usr/X11R6/lib/libxmms.so: undefined reference to `gtk_vbox_new'
gmake: *** [mencoder] Error 1
*** Error code 2

Can someone please help me out?
   
  

You didn't upgrade your ports completely; you have an inconsistent mix
of old and new libraries on your system.  portupgrade -a, or if that
fails, portupgrade -fa.

Kris
 

I was using portmanager to upgrade.  I've always used this before and 
it's worked fine.  I just type portmanager -u.  Does that not work anymore?
  

No idea, I don't use portmanager.

Kris



Assuming you have an updated ports collection, it should work fine It
does on my system.

I would recommend that you update your ports again and then run
'portmanager -u -f -y -l' and see if that fixes the problem. At the very
least, a log file will  be created '/var/log/portmanager.log' that might
help track down the problem.

HTH

  
Hi, thanks for the advice.  I tried that command and it's been updating 
for a couple of days (takes so long because of the prompts that come up 
that stop the installs).  Anyway, now portmanager always gets to a 
certain point and my computer reboots.  I looked in the logfile and 
there isn't much there, this is at the end of the file:

Sun Apr 30 16:36:17 2006
kdelibs-3.4.2_1 /x11/kdelibs3
   OLD 
kdelibs-3.5.2_1 /x11/kdelibs3 


Any idea what could be causing this?

Thanks again for the help

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


mouse scroll not working

2006-04-27 Thread Brian John

Hi everyone,
I just updated my ports and now when I move my mouse scroll up and down 
it thinks that I'm scrolling horizontally instead of vertically.  I am 
running on 5.4.  Any ideas?


Thanks

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


video players broken

2006-04-27 Thread Brian John
Hi, I just upgraded my ports and now all of my video players either 
won't install, or they won't start up.  I've tried 4 different ones, 
here is what happens with each:


vlc: won't install
/usr/local/lib/libmatroska.so: undefined reference to 
`libebml::CodedSizeLength(unsigned long long, unsigned int)'

gmake[2]: *** [vlc] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.4a'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.4a'
gmake: *** [all] Error 2
*** Error code 2

totem: won't start up
[EMAIL PROTECTED] /usr/ports/multimedia/totem]$ totem 
[1] 8150
[EMAIL PROTECTED] /usr/ports/multimedia/totem]$ /libexec/ld-elf.so.1: 
Shared object libglib-2.0.so.600 not found, required by 
libgnome-keyring.so.0


xine: this one starts up, but then closes right away, with no error

mplayer: won't install, get several errors similar to this
/usr/X11R6/lib/libxmms.so: undefined reference to `gtk_widget_get_type'
/usr/X11R6/lib/libxmms.so: undefined reference to `gtk_vbox_new'
gmake: *** [mencoder] Error 1
*** Error code 2

Can someone please help me out?

Thanks

/Brian

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


Re: video players broken

2006-04-27 Thread Brian John

Kris Kennaway wrote:

On Thu, Apr 27, 2006 at 08:59:42PM -0500, Brian John wrote:
  
Hi, I just upgraded my ports and now all of my video players either 
won't install, or they won't start up.  I've tried 4 different ones, 
here is what happens with each:


vlc: won't install
/usr/local/lib/libmatroska.so: undefined reference to 
`libebml::CodedSizeLength(unsigned long long, unsigned int)'

gmake[2]: *** [vlc] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.4a'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.4a'
gmake: *** [all] Error 2
*** Error code 2

totem: won't start up
[EMAIL PROTECTED] /usr/ports/multimedia/totem]$ totem 
[1] 8150
[EMAIL PROTECTED] /usr/ports/multimedia/totem]$ /libexec/ld-elf.so.1: 
Shared object libglib-2.0.so.600 not found, required by 
libgnome-keyring.so.0


xine: this one starts up, but then closes right away, with no error

mplayer: won't install, get several errors similar to this
/usr/X11R6/lib/libxmms.so: undefined reference to `gtk_widget_get_type'
/usr/X11R6/lib/libxmms.so: undefined reference to `gtk_vbox_new'
gmake: *** [mencoder] Error 1
*** Error code 2

Can someone please help me out?



You didn't upgrade your ports completely; you have an inconsistent mix
of old and new libraries on your system.  portupgrade -a, or if that
fails, portupgrade -fa.

Kris
  
I was using portmanager to upgrade.  I've always used this before and 
it's worked fine.  I just type portmanager -u.  Does that not work anymore?


Thanks

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


Azureus Window Massive

2006-04-27 Thread Brian John
Hi, I am running fluxbox on FreeBSD 5.4.  For some reason for the past 
several months my Azureus window has been steadily growing in size.  
It's now so big that I can't even re-size it.  Vertically the bottom of 
the Window extends way off the screen.  I searched and can't find anyone 
with a similar problem.  I'm not sure if this is FreeBSD, Azureus or 
Fluxbox that is causing this, but it is irritating.  Does anyone have 
any idea how I could fix this?


Thanks

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


Re: script to monitor internet connection

2006-01-10 Thread Brian John

Rowdy wrote:


Brian John wrote:

this is dsl.  Sorry, I should have specified that in the beginning. 
Periodically my dsl modem will lose it's signal, I want to see just

how often this is happening.



If your DSL uses PPPoE then the ppp.linkup and ppp.linkdown scripts will
be triggered when the link comes up or goes down respectively.  See
ppp(8) for details and /usr/share/examples/ppp for examples.

Rowdy


Mine uses PPPoA.  Is it still possible to use these scripts?

Thanks for the help

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


RE: script to monitor internet connection

2006-01-09 Thread Brian John
this is dsl.  Sorry, I should have specified that in the beginning. 
Periodically my dsl modem will lose it's signal, I want to see just how
often this is happening.


- Original Message -

 what is this, dsl, cable, dialup modem?

 Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Brian John
 Sent: Friday, January 06, 2006 5:23 AM
 To: freebsd-questions@freebsd.org
 Subject: script to monitor internet connection
 
 
 Hello,
 I would like to write a script to monitor my internet
 connection status.
 My home connection goes down fairly often and I would like to
 get an idea
 for just how often it goes down and if possible how long it
 goes down for.
  Could someone help me write a script that will check my
 connection to the
 internet and log whenever it goes down and possibly how long it
 goes down
 for?  I want to have some evidence to give to my ISP that my
 connection is
 going down.
 
 Thanks
 
 /Brian
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.371 / Virus Database: 267.14.15/223 - Release
 Date: 1/6/2006
 



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


script to monitor internet connection

2006-01-06 Thread Brian John
Hello,
I would like to write a script to monitor my internet connection status. 
My home connection goes down fairly often and I would like to get an idea
for just how often it goes down and if possible how long it goes down for.
 Could someone help me write a script that will check my connection to the
internet and log whenever it goes down and possibly how long it goes down
for?  I want to have some evidence to give to my ISP that my connection is
going down.

Thanks

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


need help setting up wireless on my computer

2006-01-02 Thread Brian John

Hello,
I just went to compUSA and bought their generic 802.11g PCI wireless 
card.  I was able to install it using the windows drivers at ndis0 (see 
output from ifconfig below).


The problem I'm having is I seem to be able to connect, but can't talk 
to anything.  I am using WEP encryption and I am not broadcasting my 
SSID.  My laptop running windows works flawlessly.


I've tried this command to connect to the network:
ifconfig ndis0 inet 192.168.0.10 netmask 255.255.255.255 ssid Brian 
wepmode on wepkey my key channel 9


...and it seems to connect (see output from ifconfig after connected 
below).  However, I can't ping my router and I can't get on the 
Internet.  Can someone please help me out?


Thanks

/Brian


output from ifconfig:
---
ifconfig ndis0
ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
   inet6 fe80::20e:2eff:fe6d:4c9d%ndis0 prefixlen 64 scopeid 0x4
   ether 00:0e:2e:6d:4c:9d
   media: IEEE 802.11 Wireless Ethernet autoselect
   status: no carrier
   ssid 
   channel -1 authmode OPEN powersavemode OFF powersavesleep 100
   rtsthreshold 2312 protmode CTS
   wepmode MIXED weptxkey 1
   wepkey 1:40-bit

output from ifconfig after connected:
--
ifconfig ndis0
ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet6 fe80::20e:2eff:fe6d:4c9d%ndis0 prefixlen 64 scopeid 0x4
   inet 192.168.0.10 netmask 0x broadcast 192.168.0.10
   ether 00:0e:2e:6d:4c:9d
   media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
   status: associated
   ssid Brian 1:Brian
   channel 9 authmode OPEN powersavemode OFF powersavesleep 100
   rtsthreshold 2312 protmode CTS
   wepmode MIXED weptxkey 1
   wepkey 1:40-bit
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help setting up wireless on my computer

2006-01-02 Thread Brian John
 On Mon, 02 Jan 2006 14:17:17 -0600
 Brian John [EMAIL PROTECTED] wrote:

  Hello,
  I just went to compUSA and bought their generic 802.11g PCI wireless
  card.  I was able to install it using the windows drivers at ndis0
  (see output from ifconfig below).
 
  The problem I'm having is I seem to be able to connect, but can't
  talk to anything.  I am using WEP encryption and I am not
  broadcasting my SSID.  My laptop running windows works flawlessly.
 
  I've tried this command to connect to the network:
  ifconfig ndis0 inet 192.168.0.10 netmask 255.255.255.255 ssid Brian
  wepmode on wepkey my key channel 9
 
  ...and it seems to connect (see output from ifconfig after connected
  below).  However, I can't ping my router and I can't get on the
  Internet.  Can someone please help me out?
 
  Thanks
 
  /Brian
 
 
  output from ifconfig:
  ---
  ifconfig ndis0
  ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
  inet6 fe80::20e:2eff:fe6d:4c9d%ndis0 prefixlen 64 scopeid 0x4
  ether 00:0e:2e:6d:4c:9d
  media: IEEE 802.11 Wireless Ethernet autoselect
  status: no carrier
  ssid 
  channel -1 authmode OPEN powersavemode OFF powersavesleep 100
  rtsthreshold 2312 protmode CTS
  wepmode MIXED weptxkey 1
  wepkey 1:40-bit
 
  output from ifconfig after connected:
  --
  ifconfig ndis0
  ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  inet6 fe80::20e:2eff:fe6d:4c9d%ndis0 prefixlen 64 scopeid 0x4
  inet 192.168.0.10 netmask 0x broadcast 192.168.0.10
  ether 00:0e:2e:6d:4c:9d
  media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
  status: associated
  ssid Brian 1:Brian
  channel 9 authmode OPEN powersavemode OFF powersavesleep 100
  rtsthreshold 2312 protmode CTS
  wepmode MIXED weptxkey 1
  wepkey 1:40-bit
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 1. Your netmask should not be 255.255.255.255. Try
 255.255.255.0 instead.

I tried this (255.255.255.0 is the correct netmask) but it still doesn't
work.

 2. Have you configured the computer with gateway and name server
 information?

I have not.  I didn't have to do this for the ethernet card that I have in
the machine and it works, should I have to do it for wireless?

 3. When in Windows, did you configure the network manually? Or did you
 use DHCP?

I use DHCP in Windows.  This is one of the things I thought might be the
problem.  Can you tell me how to set this up to use DHCP?
The command that the FreeBSD handbook told me to use includes specifying
the IP Address.

Thanks a million for the help.

/Brian

 Best of luck,

 Andrew



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


Re: need help setting up wireless on my computer

2006-01-02 Thread Brian John
 On Mon, 2 Jan 2006 20:23:30 -0600 (CST)
 Brian John [EMAIL PROTECTED] wrote:

   On Mon, 02 Jan 2006 14:17:17 -0600
   Brian John [EMAIL PROTECTED] wrote:
  
Hello,
I just went to compUSA and bought their generic 802.11g PCI
wireless card.  I was able to install it using the windows
drivers at ndis0 (see output from ifconfig below).
   
The problem I'm having is I seem to be able to connect, but can't
talk to anything.  I am using WEP encryption and I am not
broadcasting my SSID.  My laptop running windows works flawlessly.
   
I've tried this command to connect to the network:
ifconfig ndis0 inet 192.168.0.10 netmask 255.255.255.255 ssid
Brian wepmode on wepkey my key channel 9
   
...and it seems to connect (see output from ifconfig after
connected below).  However, I can't ping my router and I can't
get on the Internet.  Can someone please help me out?
   
Thanks
   
/Brian
   
   
output from ifconfig:
---
ifconfig ndis0
ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.0.1 netmask 0xff00 broadcast
192.168.0.255 inet6 fe80::20e:2eff:fe6d:4c9d%ndis0 prefixlen 64
scopeid 0x4 ether 00:0e:2e:6d:4c:9d
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid 
channel -1 authmode OPEN powersavemode OFF powersavesleep
100 rtsthreshold 2312 protmode CTS
wepmode MIXED weptxkey 1
wepkey 1:40-bit
   
output from ifconfig after connected:
--
ifconfig ndis0
ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::20e:2eff:fe6d:4c9d%ndis0 prefixlen 64 scopeid
0x4 inet 192.168.0.10 netmask 0x broadcast 192.168.0.10
ether 00:0e:2e:6d:4c:9d
media: IEEE 802.11 Wireless Ethernet autoselect
(OFDM/54Mbps) status: associated
ssid Brian 1:Brian
channel 9 authmode OPEN powersavemode OFF powersavesleep
100 rtsthreshold 2312 protmode CTS
wepmode MIXED weptxkey 1
wepkey 1:40-bit
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
  
   1. Your netmask should not be 255.255.255.255. Try
   255.255.255.0 instead.
  
  I tried this (255.255.255.0 is the correct netmask) but it still
  doesn't work.
 
   2. Have you configured the computer with gateway and name server
   information?
  
  I have not.  I didn't have to do this for the ethernet card that I
  have in the machine and it works, should I have to do it for wireless?
 
   3. When in Windows, did you configure the network manually? Or did
   you use DHCP?
  
  I use DHCP in Windows.  This is one of the things I thought might be
  the problem.  Can you tell me how to set this up to use DHCP?
  The command that the FreeBSD handbook told me to use includes
  specifying the IP Address.
 
  Thanks a million for the help.
 
  /Brian
 
   Best of luck,
  
   Andrew
  
  
  

 To continue using manual network configuration:

 1. Identify the default gateway's IP address in /etc/rc.conf:

  defaultrouter=xxx.xxx.xxx.xxx

 2. Add your nameserver's IP address to /etc/resolv.conf:

  nameserver xxx.xxx.xxx.xxx

 If you want to activate DHCP:

 1. Eliminate the IP address and netmask from your ifconfig command. The
 ifconfig command will still be used to identify the ssid and provide
 the wep key.

 2. Execute the ifconfig command.  The interface needs to be configured
 with the ssid and wep key _before_ using DHCP.

 3. Activate the DHCP client:

  dhclient ndis0

 Hopefully, this will work for you.

 Andrew




I tried this.  This time the command executed but the wireless adapter
didn't get an IP Address and doesn't show any of my wireless settings when
I run ifconfig -a.  Is there another command I need to do to acquire the
IP Address from DHCP?

Related commands and output are below.

Thanks

/Brian

Command I used to configure the adapter:
ifconfig ndis0 ssid Brian wepmode on wepkey my key channel 9

ifconfig output after running all commands:
ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
ether 00:0e:2e:6d:4c:9d
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid 
channel -1 authmode OPEN powersavemode OFF powersavesleep 100
rtsthreshold 2312 protmode CTS
wepmode MIXED weptxkey 1
wepkey 1:40-bit

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


Re: need help setting up wireless on my computer

2006-01-02 Thread Brian John
  On Mon, 2 Jan 2006 20:23:30 -0600 (CST)
  Brian John [EMAIL PROTECTED] wrote:
 
On Mon, 02 Jan 2006 14:17:17 -0600
Brian John [EMAIL PROTECTED] wrote:
   
 Hello,
 I just went to compUSA and bought their generic 802.11g PCI
 wireless card.  I was able to install it using the windows
 drivers at ndis0 (see output from ifconfig below).

 The problem I'm having is I seem to be able to connect, but can't
 talk to anything.  I am using WEP encryption and I am not
 broadcasting my SSID.  My laptop running windows works flawlessly.

 I've tried this command to connect to the network:
 ifconfig ndis0 inet 192.168.0.10 netmask 255.255.255.255 ssid
 Brian wepmode on wepkey my key channel 9

 ...and it seems to connect (see output from ifconfig after
 connected below).  However, I can't ping my router and I can't
 get on the Internet.  Can someone please help me out?

 Thanks

 /Brian


 output from ifconfig:
 ---
 ifconfig ndis0
 ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.0.1 netmask 0xff00 broadcast
 192.168.0.255 inet6 fe80::20e:2eff:fe6d:4c9d%ndis0 prefixlen 64
 scopeid 0x4 ether 00:0e:2e:6d:4c:9d
 media: IEEE 802.11 Wireless Ethernet autoselect
 status: no carrier
 ssid 
 channel -1 authmode OPEN powersavemode OFF powersavesleep
 100 rtsthreshold 2312 protmode CTS
 wepmode MIXED weptxkey 1
 wepkey 1:40-bit

 output from ifconfig after connected:
 --
 ifconfig ndis0
 ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet6 fe80::20e:2eff:fe6d:4c9d%ndis0 prefixlen 64 scopeid
 0x4 inet 192.168.0.10 netmask 0x broadcast 192.168.0.10
 ether 00:0e:2e:6d:4c:9d
 media: IEEE 802.11 Wireless Ethernet autoselect
 (OFDM/54Mbps) status: associated
 ssid Brian 1:Brian
 channel 9 authmode OPEN powersavemode OFF powersavesleep
 100 rtsthreshold 2312 protmode CTS
 wepmode MIXED weptxkey 1
 wepkey 1:40-bit
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
   
1. Your netmask should not be 255.255.255.255. Try
255.255.255.0 instead.
   
   I tried this (255.255.255.0 is the correct netmask) but it still
   doesn't work.
  
2. Have you configured the computer with gateway and name server
information?
   
   I have not.  I didn't have to do this for the ethernet card that I
   have in the machine and it works, should I have to do it for wireless?
  
3. When in Windows, did you configure the network manually? Or did
you use DHCP?
   
   I use DHCP in Windows.  This is one of the things I thought might be
   the problem.  Can you tell me how to set this up to use DHCP?
   The command that the FreeBSD handbook told me to use includes
   specifying the IP Address.
  
   Thanks a million for the help.
  
   /Brian
  
Best of luck,
   
Andrew
   
   
   
 
  To continue using manual network configuration:
 
  1. Identify the default gateway's IP address in /etc/rc.conf:
 
   defaultrouter=xxx.xxx.xxx.xxx
 
  2. Add your nameserver's IP address to /etc/resolv.conf:
 
   nameserver xxx.xxx.xxx.xxx
 
  If you want to activate DHCP:
 
  1. Eliminate the IP address and netmask from your ifconfig command. The
  ifconfig command will still be used to identify the ssid and provide
  the wep key.
 
  2. Execute the ifconfig command.  The interface needs to be configured
  with the ssid and wep key _before_ using DHCP.
 
  3. Activate the DHCP client:
 
   dhclient ndis0
 
  Hopefully, this will work for you.
 
  Andrew
 
 
 

 I tried this.  This time the command executed but the wireless adapter
 didn't get an IP Address and doesn't show any of my wireless settings when
 I run ifconfig -a.  Is there another command I need to do to acquire the
 IP Address from DHCP?

 Related commands and output are below.

 Thanks

 /Brian

 Command I used to configure the adapter:
 ifconfig ndis0 ssid Brian wepmode on wepkey my key channel 9

 ifconfig output after running all commands:
 ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
 ether 00:0e:2e:6d:4c:9d
 media: IEEE 802.11 Wireless Ethernet autoselect
 status: no carrier
 ssid 
 channel -1 authmode OPEN powersavemode OFF powersavesleep 100
 rtsthreshold 2312 protmode CTS
 wepmode MIXED weptxkey 1
 wepkey 1:40-bit

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo

Re: need help setting up wireless on my computer [SOLVED]

2006-01-02 Thread Brian John
   On Mon, 2 Jan 2006 20:23:30 -0600 (CST)
   Brian John [EMAIL PROTECTED] wrote:
  
 On Mon, 02 Jan 2006 14:17:17 -0600
 Brian John [EMAIL PROTECTED] wrote:

  Hello,
  I just went to compUSA and bought their generic 802.11g PCI
  wireless card.  I was able to install it using the windows
  drivers at ndis0 (see output from ifconfig below).
 
  The problem I'm having is I seem to be able to connect, but can't
  talk to anything.  I am using WEP encryption and I am not
  broadcasting my SSID.  My laptop running windows works
flawlessly.
 
  I've tried this command to connect to the network:
  ifconfig ndis0 inet 192.168.0.10 netmask 255.255.255.255 ssid
  Brian wepmode on wepkey my key channel 9
 
  ...and it seems to connect (see output from ifconfig after
  connected below).  However, I can't ping my router and I can't
  get on the Internet.  Can someone please help me out?
 
  Thanks
 
  /Brian
 
 
  output from ifconfig:
  ---
  ifconfig ndis0
  ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
  inet 192.168.0.1 netmask 0xff00 broadcast
  192.168.0.255 inet6 fe80::20e:2eff:fe6d:4c9d%ndis0 prefixlen 64
  scopeid 0x4 ether 00:0e:2e:6d:4c:9d
  media: IEEE 802.11 Wireless Ethernet autoselect
  status: no carrier
  ssid 
  channel -1 authmode OPEN powersavemode OFF powersavesleep
  100 rtsthreshold 2312 protmode CTS
  wepmode MIXED weptxkey 1
  wepkey 1:40-bit
 
  output from ifconfig after connected:
  --
  ifconfig ndis0
  ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
  inet6 fe80::20e:2eff:fe6d:4c9d%ndis0 prefixlen 64 scopeid
  0x4 inet 192.168.0.10 netmask 0x broadcast 192.168.0.10
  ether 00:0e:2e:6d:4c:9d
  media: IEEE 802.11 Wireless Ethernet autoselect
  (OFDM/54Mbps) status: associated
  ssid Brian 1:Brian
  channel 9 authmode OPEN powersavemode OFF powersavesleep
  100 rtsthreshold 2312 protmode CTS
  wepmode MIXED weptxkey 1
  wepkey 1:40-bit
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 1. Your netmask should not be 255.255.255.255. Try
 255.255.255.0 instead.

I tried this (255.255.255.0 is the correct netmask) but it still
doesn't work.
   
 2. Have you configured the computer with gateway and name server
 information?

I have not.  I didn't have to do this for the ethernet card that I
have in the machine and it works, should I have to do it for
wireless?
   
 3. When in Windows, did you configure the network manually? Or did
 you use DHCP?

I use DHCP in Windows.  This is one of the things I thought might be
the problem.  Can you tell me how to set this up to use DHCP?
The command that the FreeBSD handbook told me to use includes
specifying the IP Address.
   
Thanks a million for the help.
   
/Brian
   
 Best of luck,

 Andrew



  
   To continue using manual network configuration:
  
   1. Identify the default gateway's IP address in /etc/rc.conf:
  
defaultrouter=xxx.xxx.xxx.xxx
  
   2. Add your nameserver's IP address to /etc/resolv.conf:
  
nameserver xxx.xxx.xxx.xxx
  
   If you want to activate DHCP:
  
   1. Eliminate the IP address and netmask from your ifconfig command. The
   ifconfig command will still be used to identify the ssid and provide
   the wep key.
  
   2. Execute the ifconfig command.  The interface needs to be configured
   with the ssid and wep key _before_ using DHCP.
  
   3. Activate the DHCP client:
  
dhclient ndis0
  
   Hopefully, this will work for you.
  
   Andrew
  
  
  
 
  I tried this.  This time the command executed but the wireless adapter
  didn't get an IP Address and doesn't show any of my wireless settings
when
  I run ifconfig -a.  Is there another command I need to do to acquire the
  IP Address from DHCP?
 
  Related commands and output are below.
 
  Thanks
 
  /Brian
 
  Command I used to configure the adapter:
  ifconfig ndis0 ssid Brian wepmode on wepkey my key channel 9
 
  ifconfig output after running all commands:
  ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
  ether 00:0e:2e:6d:4c:9d
  media: IEEE 802.11 Wireless Ethernet autoselect
  status: no carrier
  ssid 
  channel -1 authmode OPEN powersavemode OFF powersavesleep 100
  rtsthreshold 2312 protmode CTS
  wepmode MIXED weptxkey 1

Re: cannot erase cd-rw

2005-11-21 Thread Brian John
How can I forcibly erase a disk?  So far I have been unable to get this to
work...

Thanks

/Brian


- Original Message -

 On Sun, Nov 20, 2005 at 12:16:35PM -0600, Brian John wrote:
  For some reason, I can't erase cd-rws.  I have tried K3b, cdrecord and
  burncd.  Below is the output from cdrecord, can someone please help out?

 Well, I can confirm the issue. I have the same problem with 6.0-STABLE
 amd64.  Additionally, burning DVD+RW (with dvd+rwtools) sometimes
 produces unmountable discs. Forcebly erasing the disks and retrying helps.

 Roland
 --
 R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
 public key: http://www.xs4all.nl/~rsmith/pubkey.txt


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


cannot erase cd-rw

2005-11-20 Thread Brian John
For some reason, I can't erase cd-rws.  I have tried K3b, cdrecord and 
burncd.  Below is the output from cdrecord, can someone please help out?


sudo cdrecord -v blank=all dev=1,1,0
Password:
Cdrecord-Clone 2.01 (i386-unknown-freebsd5.4) Copyright (C) 1995-2004 
Jörg Schilling

TOC Type: 1 = CD-ROM
scsidev: '1,1,0'
scsibus: 1 target: 1 lun: 0
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 0
Device type: Removable CD-ROM
Version: 0
Response Format: 1
Vendor_info: 'ATAPI   '
Identifikation : 'CD-R/RW 48X16   '
Revision   : '9.EK'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO RAW/R16 RAW/R96R
Drive buf size : 1630208 = 1592 KB
Current Secsize: 2048
ATIP info from disk:
 Indicated writing power: 3
 Reference speed: 6
 Is not unrestricted
 Is erasable
 Disk sub type: High speed Rewritable (CAV) media (1)
 ATIP start of lead in:  -11635 (97:26/65)
 ATIP start of lead out: 359849 (79:59/74)
 1T speed low:  4 1T speed high: 10
 2T speed low:  4 2T speed high:  0 (reserved val  6)
 power mult factor: 1 5
 recommended erase/write power: 3
 A1 values: 24 1A BC
 A2 values: 26 B2 26
Disk type:Phase change
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Starting to write CD/DVD at speed 12 in real BLANK mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Performing OPC...
Blanking entire disk
cdrecord: Input/output error. blank unit: scsi sendcmd: retryable error
CDB:  A1 00 00 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 A1 10 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00

Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0xA1 Qual 0x10 (vendor unique sense code 0xA1) [No matching 
qualifier] Fru 0x0

Sense flags: Blk 0 (not valid)
cmd finished after 20.756s timeout 9600s
cdrecord: Cannot blank disk, aborting.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Brian John
I think I'm having a similar problem with totem (which uses xine) and vlc.
 Can you try installing /usr/ports/multimedia/vlc and see what that does? 
If that gives a bus error as well then I think we might have the same
issue.  I haven't been able to find a solution to this yet...

/Brian

- Original Message -

 Hi,
 I went to play a video file today amp; with kaffeine and it crashed
when trying
 to open the file. I decided to do a portupgrade -fR kaffeine\* to
rebuild it
 and it's dependencies in the hope that would fix the problem, but it
made no
 difference.
 Then I tried running xine by itself and found it gave a bus error and core
 dumped every time I tried to start it (not opening a file or anything). The
 splash screen appears, then the GUI, then both close and in the xterm I
start
 it from, I just bus error.

 I've tried doing a portupgrade -f xine just in case, though it should have
 been re-built along with kaffeine. None of the above seems to fix the
 problem.
 I'm running FBSD 5.4-RELEASE p6 and my ports tree was updated last
night. Port
 versions are:
 kaffeine-0.7.1
 xine-0.99.4

  Xine/Kaffeine used to work, evidently a recent portupgrade has broken it,
 though I'm not sure exactly when it last worked.

 Just hoping someone can suggest a fix!

 Cheers,
 --
 Ian
 gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


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


5.4 reboots when I plug in a flash drive?

2005-10-04 Thread Brian John
Hello,
I just got a 128MB USB flash drive.  When I plug it in in FreeBSD, the box
promptly reboots!  What would cause this?  I dual boot Windows XP and the
drive works fine there.  I seem to remember hearing something about this
in the past but can't find any info on it.  Can someone point me in the
right direction?

Thanks

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


Re: 5.4 reboots when I plug in a flash drive?

2005-10-04 Thread Brian John

Parv wrote:


in message
[EMAIL PROTECTED]
 


, wrote Brian John thusly...

I just got a 128MB USB flash drive.  When I plug it in in FreeBSD,
the box promptly reboots!  What would cause this?
   



I don't know the cause.

Have you tried booting FreeBSD from power-off state w/ the flash
drive already inserted?  That may solve your booting problem, but
will not make use of the drive any easier.

Which version if FreeBSD are you using?  Which of the [ueo]hci
drivers come up in dmesg(8) on instertion of the USB drive?


 - Parv

 

Ok, I tried booting up with the drive installed.  If I leave it 
installed while it is booting up, it eventually reboots.  However, I was 
able to unplug it during boot and look at dmesg.  It says this over and 
over again:


umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: USB2.0 (FS) FLASH DISK 1.00 Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 119MB (245473 512 byte sectors: 64H 32S/T 119C)
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: at uhub2 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
Opened disk da0 - 5
umass0: detached

I am running FreeBSD 5.4.  Does this shed some light on the problem?

Thanks

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


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Brian John

David Kirchner wrote:


On 10/4/05, Ian Moore [EMAIL PROTECTED] wrote:
 


On Wednesday 05 October 2005 00:44, Brian John wrote:
   


I think I'm having a similar problem with totem (which uses xine) and vlc.
Can you try installing /usr/ports/multimedia/vlc and see what that does?
If that gives a bus error as well then I think we might have the same
issue.  I haven't been able to find a solution to this yet...

/Brian
 


Yep, vlc gives a bus error too. Looks like we have the same problem!

Cheers,
Ian
   



I've found that installing from ports doesn't always (ever? I'm not
sure) upgrade the dependencies. Could it be a common shared library
used by the three programs?

 

It probably is.  However, I'm not sure how to go about figuring out 
which one of these dependencies it is, let alone how to fix it.  Could 
you help us troubleshoot this?  BTW, I used portmanager to upgrade my ports.


Thanks

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


Re: 5.4 reboots when I plug in a flash drive?

2005-10-04 Thread Brian John

Lowell Gilbert wrote:


Brian John [EMAIL PROTECTED] writes:

 


Parv wrote:

   


in message
[EMAIL PROTECTED]

 


, wrote Brian John thusly...

I just got a 128MB USB flash drive.  When I plug it in in FreeBSD,
the box promptly reboots!  What would cause this?

   


I don't know the cause.

Have you tried booting FreeBSD from power-off state w/ the flash
drive already inserted?  That may solve your booting problem, but
will not make use of the drive any easier.

Which version if FreeBSD are you using?  Which of the [ueo]hci
drivers come up in dmesg(8) on instertion of the USB drive?


- Parv


 


Ok, I tried booting up with the drive installed.  If I leave it
installed while it is booting up, it eventually reboots.  However, I
was able to unplug it during boot and look at dmesg.  It says this
over and over again:

umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: USB2.0 (FS) FLASH DISK 1.00 Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 119MB (245473 512 byte sectors: 64H 32S/T 119C)
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: at uhub2 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
Opened disk da0 - 5
umass0: detached

I am running FreeBSD 5.4.  Does this shed some light on the problem?
   



Only a little.  Do you have udbp(4) in your kernel?  
Can you try booting 6.0 with the flash unit plugged in and see if it

still has problems?

 

I could try it, but I don't want to have to roll 6.0 back to 5.4 
afterward if it doesn't work.  Upgrading to 6.0 is a major change and I 
only have 1 PC.  I am still kind of a novice, how easy is it to upgrade 
to 6.0 and how stable is it?  I see that I have the line with udbp 
commented out in my kernel config.  Should I rebuild with it uncommented?


#device udbp# USB Double Bulk Pipe devices

Thanks

/Brian

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


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Brian John

David Kirchner wrote:


On 10/4/05, Brian John [EMAIL PROTECTED] wrote:
 


It probably is.  However, I'm not sure how to go about figuring out
which one of these dependencies it is, let alone how to fix it.  Could
you help us troubleshoot this?  BTW, I used portmanager to upgrade my ports.
   



I don't know if I can be much help, as I haven't used xine or vlc, or
portmanager. What I would do in your case is run 'ktrace -i -d vlc'
(along with whatever other arguments) to trace the process and its
dependencies, and then run 'kdump' to view the trace (the output will
be enormous). You might see something interesting near the end, like a
file not found that it was expecting, or it opening a file just prior
to dumping core. It may be possible the other programs would have the
same last few lines.

This is generic advice, I'm afraid, and may not even be valid in this
case. But who knows.

 


David,
Ok, I sent the logs to you but the list rejected it.  I couldn't find 
anything in there that looked useful.  Could this possibly have 
something to do with the video card I'm running?  I'm running a Radeon 
9200 SE 256 MB.


Ian,
What kind of card are you running?

Thanks

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


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Brian John

Brian John wrote:


David Kirchner wrote:


On 10/4/05, Brian John [EMAIL PROTECTED] wrote:
 


It probably is.  However, I'm not sure how to go about figuring out
which one of these dependencies it is, let alone how to fix it.  Could
you help us troubleshoot this?  BTW, I used portmanager to upgrade 
my ports.
  



I don't know if I can be much help, as I haven't used xine or vlc, or
portmanager. What I would do in your case is run 'ktrace -i -d vlc'
(along with whatever other arguments) to trace the process and its
dependencies, and then run 'kdump' to view the trace (the output will
be enormous). You might see something interesting near the end, like a
file not found that it was expecting, or it opening a file just prior
to dumping core. It may be possible the other programs would have the
same last few lines.

This is generic advice, I'm afraid, and may not even be valid in this
case. But who knows.

 


David,
Ok, I sent the logs to you but the list rejected it.  I couldn't find 
anything in there that looked useful.  Could this possibly have 
something to do with the video card I'm running?  I'm running a Radeon 
9200 SE 256 MB.


Ian,
What kind of card are you running?

Thanks

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


Another note: just for the hell of it I installed xine and tried to run 
it directly -- it didn't crash!  So maybe our problems aren't the same 
after all...


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


totem and vlc don't work after upgrading ports

2005-10-02 Thread Brian John

Hello,
I just upgraded all of my ports and now I can't watch any movies.  I 
used to just use totem, but once that broke I decided to try vlc, only 
to find that it was broken as well.  Here are the errors that I get:


vlc:
$ vlc
VLC media player 0.8.2 Janus
Bus error

totem:
The Application totem has quit unexpectedly.

The odd thing is that gmplayer seems to work ok.  Can someone please 
help me out?


Thanks

/Brian

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


dockapp virtual desktop switcher

2005-09-26 Thread Brian John

Hello,
I am running fluxbox and I don't like the method of using the scrollbar 
and/or hotkeys to switch desktops (even though it is easy).  On my 
windows box at work I have an app called 'goscreen' installed.  It 
allows me to see a preview of what is on each desktop and click on 
whichever one I want.  Is there a dockapp similar to this for FreeBSD 
that will work on Fluxbox (I think KDE dockapps will work)?


Thanks

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


moving everything except a directory

2005-08-30 Thread Brian John
Say I am at ~ and I have 10 directories inside named 1, 2, 3, 4 ,5, 6, 
7, 8, 9 and 10.  What command can I use to move everything but directory 
2?  What if I wanted to move everything but directories 2 and 7?


I'm not sure how to use the mv command to do this in 1 comand.

Thanks

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


Re: Cannot use cvsup

2005-07-16 Thread Brian John

Igor Robul wrote:


Brian John wrote:


Hello,
I can't use cvsup for some reason.  I just tried upgrading from 5.3 to
5.4.  When I try to use cvsup, it says this:
su-2.05b# cvsup
/libexec/ld-elf.so.1: Shared object libXaw.so.8 not found, required by
cvsup
 

If you dont have X11 on this machine, then you need 
cvsup-without-gui package


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


i think what is happening is cvsup is not getting the makefiles for some 
reason.  if i go into all of my ports, there are no makefiles. how could 
this have happened?  i added these lines to ports-supfile, is this correct?


*default host=cvsup14.us.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix
*default tag=RELENG_5_4
src=all
ports-all tag=.
doc-all

thanks

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


Re: Cannot use cvsup

2005-07-16 Thread Brian John

Brian John wrote:


Igor Robul wrote:


Brian John wrote:


Hello,
I can't use cvsup for some reason.  I just tried upgrading from 5.3 to
5.4.  When I try to use cvsup, it says this:
su-2.05b# cvsup
/libexec/ld-elf.so.1: Shared object libXaw.so.8 not found, 
required by

cvsup
 

If you dont have X11 on this machine, then you need 
cvsup-without-gui package


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


i think what is happening is cvsup is not getting the makefiles for 
some reason.  if i go into all of my ports, there are no makefiles. 
how could this have happened?  i added these lines to ports-supfile, 
is this correct?


*default host=cvsup14.us.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix
*default tag=RELENG_5_4
src=all
ports-all tag=.
doc-all

thanks

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


Also if i run sysinstall and i go to options it says i have version 
'5.4-RELEASE-p4.  I change this to 5.4-RELEASE but when i run 
sysinstall again it changes back.  can anyone help w/ this?


thanks

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


Cannot use cvsup

2005-07-14 Thread Brian John
Hello,
I can't use cvsup for some reason.  I just tried upgrading from 5.3 to
5.4.  When I try to use cvsup, it says this:
su-2.05b# cvsup
/libexec/ld-elf.so.1: Shared object libXaw.so.8 not found, required by
cvsup

And if I try to re-add cvsup, it says this:
su-2.05b# cd /usr/ports/net/cvsup/
su-2.05b# make install
make: don't know how to make install. Stop

Can someone please help me with this?  I don't know what to do from here...

Thanks

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


Re: Cannot use cvsup

2005-07-14 Thread Brian John
If I do pkg_add -r cvsup it says this:
su-2.05b# pkg_add -r cvsup
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/cvsup.tbz...
Done.
pkg_add: package 'cvsup-16.1h_2' or its older version already installed

Then if I try to run cvsup it says this:
su-2.05b# cvsup
/libexec/ld-elf.so.1: Shared object libXaw.so.8 not found, required by
cvsup

And if I try to add libXaw it says this:
su-2.05b# pkg_add -r libXaw
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/libXaw.tbz...
Done.
pkg_add: package 'libXaw-7.0.2' or its older version already installed

So I'm kind of stuck.  Does anyone know what I can do from here?

Thanks

/Brian

- Original Message -

 Brian John [EMAIL PROTECTED] schrieb:

  And if I try to re-add cvsup, it says this:
  su-2.05b# cd /usr/ports/net/cvsup/
  su-2.05b# make install
  make: don't know how to make install. Stop

 Try to get a binary package from cvsup using pkg_add -r cvsup and if
 it succeeds, cvsup a new portstree (yours seems to be broken, since make
 install in /usr/ports/net/cvsup fails).

 HTH,
 steinex

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


utility that will dump a web page to std out?

2005-06-20 Thread Brian John
Hello,
Does anyone know of a utility that will get a webpage and dump the output
to standard out?  I was going to use wget, but it dumps the output to a
file.  Any ideas?

Thanks

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


cannot mount dvd

2005-05-24 Thread Brian John

Hello,
For some reason I can't mount a dvd in my dvd drive.  It is a normal 
data dvd that I burned using k3b.  This is what happens:

-bash-2.05b$ sudo mount /dvd
cd9660: /dev/acd0: Invalid argument

I also try this:
-bash-2.05b$ sudo mount -t cd9660 /dev/acd0 /dvd
cd9660: /dev/acd0: Invalid argument

Here is my fstab entry:
/dev/acd0   /dvdcd9660  ro,noauto   0   0

Can anyone help me out?  Any clue why this might not work?

Thanks

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


cannot start k3b

2005-04-23 Thread Brian John
Hello,
k3b stopped working on me when I upgraded my ports.  This is what it 
says when I try to start it up:

Could not start process Unknown protocol 'file'..
Could not find mime type
application/octet-stream
Any clue what might cause this?  I'm not sure where to even start looking...
Thanks!
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problems with pf

2005-04-22 Thread Brian John
Hello,
I have read the manpage on pf but I am still stumped.  I get some error 
messages when starting up that say something like 'rule expands to no 
possible valid combination' or something to that effect.  If someone can 
tell me how I can find out what the error messages are when I boot I 
will post them.

Here is my pf.conf:
ext_if=vr0
snip
altq on $ext_if cbq bandwidth 2Mb queue { web , p2p , ssh }
queue web bandwidth 40% priority 6 cbq(borrow)
queue ssh bandwidth 40% priority 6 cbq(borrow)
queue p2p bandwidth 20% cbq(borrow default)
snip
pass in on $ext_if all
pass in on $ext_if from any to any port 22 queue(ssh)
pass in on $ext_if from any to any port 80 queue(web)
pass out on $ext_if all
pass out on $ext_if from any to any port 22 queue(ssh)
pass out on $ext_if from any to any port 80 queue(web)
Can someone please tell me what is wrong with my syntax?
Thanks!
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lightweight bittorrent client that does queueing

2005-04-14 Thread Brian John
Hello,
I am looking for a lightweight bittorrent client that does download 
queueing.  I know this is somewhat of a difficult thing to ask for, but 
I think it is possible.  I've tried ctorrent, bittorrent and azureus.  
Obviously ctorrent and bittorrrent didn't work for me (because they 
don't do queueing).  Azureus was great, except it slows down my entire 
computer.  Actually, a console-based client that would do queueing would 
be ideal, but I don't think one exists.  So what is the most lightweight 
client that I can get that will do download queueing?

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


Re: just got DSL, can't surf or get mail

2005-04-11 Thread Brian John
Lowell Gilbert wrote:
Brian John [EMAIL PROTECTED] writes:
 

On Apr 3, 2005 9:12 PM, Anthony Atkielski [EMAIL PROTECTED]
 

wrote:
   

One you've changed resolv.conf, it should stay that way permanently
across boots, unless you change it again.
   

dhclient will overwrite /etc/resolv.conf on boot
 

How can I keep dhclient from doing this?
   

Configure it not to: according to man dhclient.conf, a 
prepend domain-name-servers mumble should do it.

Or better yet, fix your router so that it either provides DNS services
or stops telling your FreeBSD machine that it does.  

 

Unfortunately I can't get my DSL modem to turn off it's DNS 'feature'.  
I tried the advanced setup and it was no luck.  I'm trying your 
dhclient.conf method, however it isn't working.  I read the manpage, and 
I can't figure out why.  This is what I have in dhclient.conf:

interface vr0 {
   prepend domain-name-servers 205.171.2.65;
   prepend domain-name-servers 205.171.3.65;
}
Any clue why this might not work?
Thanks for the help!
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: just got DSL, can't surf or get mail

2005-04-11 Thread Brian John
Brian John wrote:
Lowell Gilbert wrote:
Brian John [EMAIL PROTECTED] writes:
 

On Apr 3, 2005 9:12 PM, Anthony Atkielski 
[EMAIL PROTECTED]

wrote:
  

One you've changed resolv.conf, it should stay that way permanently
across boots, unless you change it again.
  
dhclient will overwrite /etc/resolv.conf on boot

How can I keep dhclient from doing this?
  

Configure it not to: according to man dhclient.conf, a prepend 
domain-name-servers mumble should do it.

Or better yet, fix your router so that it either provides DNS services
or stops telling your FreeBSD machine that it does. 
 

Unfortunately I can't get my DSL modem to turn off it's DNS 
'feature'.  I tried the advanced setup and it was no luck.  I'm trying 
your dhclient.conf method, however it isn't working.  I read the 
manpage, and I can't figure out why.  This is what I have in 
dhclient.conf:

interface vr0 {
   prepend domain-name-servers 205.171.2.65;
   prepend domain-name-servers 205.171.3.65;
}
Any clue why this might not work?
Thanks for the help!
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Update:  I was able to get this to work by using one-line statements 
such as this:
prepend domain-name-servers 205.171.2.65;

instead of the 'procedural' way.
Thanks anyway everyone for the help on this
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Brian John
 On Sun, Apr 03, 2005 at 08:06:16PM -0500, Brian John wrote:

 [...]
  Ok, I think you may have pointed me to the source of the problem.  Here
  is what my resolv.conf looks like after every time I reboot my compuer:
  search domain.actdsltmp
  nameserver 192.168.0.1
  nameserver 205.171.3.65

 If /etc/resolv.conf changes after every reboot, I would say that either
 your DHCP setup is at fault or your ppp.conf set needs to be looked
 at. Can you be sure that your service provider isn't handing the
 192.168.0.1 ip-address to you?

 Cheers.
 --
 Jonathan Chen [EMAIL PROTECTED]Once is dumb luck.
  Twice is coincidence.
  Three times and Somebody Is Trying To Tell You Something.

The 192.168.0.1 address is the ip address of my dsl modem.  Should that be
counted as a dns server?  Where does my DHCP setup live?  What should I
see in ppp.conf?

Thanks

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


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Brian John
 On Apr 3, 2005 9:12 PM, Anthony Atkielski [EMAIL PROTECTED]
wrote:
 
  One you've changed resolv.conf, it should stay that way permanently
  across boots, unless you change it again.
 


 dhclient will overwrite /etc/resolv.conf on boot

How can I keep dhclient from doing this?

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


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Brian John
 On Monday 04 April 2005 07:40 am, Brian John wrote:
   On Apr 3, 2005 9:12 PM, Anthony Atkielski
   [EMAIL PROTECTED]
 
  wrote:
One you've changed resolv.conf, it should stay that way
permanently across boots, unless you change it again.
  
   dhclient will overwrite /etc/resolv.conf on boot
 
  How can I keep dhclient from doing this?
 
  /Brian

 Running chflags schg /etc/resolv.conf as root would keep
 it from being changed. You still should figure out why
 dhclient is putting the wrong info in resolv.conf though.

How can I find that out?  Sorry, but I'm pretty new to networking in
FreeBSD (not networking in general) so I need a little bit of direction.

Thanks for the help

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


just got DSL, can't surf or get mail

2005-04-03 Thread Brian John
Hello, I just got an xDSL system.  In Windows I can browse the internet
and do whatever I want just fine.  However, in FreeBSD the only things
that work are my p2p programs.  Azureus and amule work fine, they both
connect and download.  However, when I try to use dillo, Firefox or
Thunderbird they always timeout when trying to access the net.  Does
anyone have any idea what I can do to fix this?  I had cable internet
before and it worked fine.  The DSL modem is hooked up to the computer
through Ethernet.

Thanks

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


Re: just got DSL, can't surf or get mail

2005-04-03 Thread Brian John
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 2005-04-03, Brian John scribbled these
 curious markings:
  Hello, I just got an xDSL system.  In Windows I can browse the internet
  and do whatever I want just fine.  However, in FreeBSD the only things
  that work are my p2p programs.  Azureus and amule work fine, they both
  connect and download.  However, when I try to use dillo, Firefox or
  Thunderbird they always timeout when trying to access the net.  Does
  anyone have any idea what I can do to fix this?  I had cable internet
  before and it worked fine.  The DSL modem is hooked up to the computer
  through Ethernet.

 Sounds like a DNS issue, considering that most P2P programs are
 IP-based and thus don't need to perform DNS lookups.

 Best Regards,
 Christopher Nehren
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.0 (FreeBSD)

 iD8DBQFCUFjKk/lo7zvzJioRAnrNAJ0X+zBILiTL1qVJeGeYuuvXHk/2GACghku7
 bltB+Pyu2SbzyCtYxYSvI6I=
 =gG5y
 -END PGP SIGNATURE-

 --
 I abhor a system designed for the user, if that word is a coded
 pejorative meaning stupid and unsophisticated. -- Ken Thompson
 If you ask the wrong questions, you get answers like 42 and God.
 Unix is user friendly. However, it isn't idiot friendly.

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

How can I fix it if it's a DNS issue?  Is there someplace I can set that up?

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


Re: just got DSL, can't surf or get mail

2005-04-03 Thread Brian John
 Brian John writes:

  Hello, I just got an xDSL system.  In Windows I can browse the internet
  and do whatever I want just fine.  However, in FreeBSD the only things
  that work are my p2p programs.  Azureus and amule work fine, they both
  connect and download.  However, when I try to use dillo, Firefox or
  Thunderbird they always timeout when trying to access the net.

 Are you sure your ISP doesn't block any ports or force any traffic
 through proxy servers?

 --
 Anthony


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

I don't think so because it works fine in Windows.  Wouldn't it not work
in windows if that was the case?

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


RE: just got DSL, can't surf or get mail

2005-04-03 Thread Brian John
I didn't use any config files for this.  I never had to use any to get my
cable modem to work either.  What config files should I be looking at?

/Brian



- Original Message -

 Sounds to me as if you don't have your FreeBSD system configured
 correctly for DSL modem hookup.

 Post the config files you used to accomplish this.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Brian John
 Sent: Sunday, April 03, 2005 4:52 PM
 To: freebsd-questions@freebsd.org
 Subject: just got DSL, can't surf or get mail

 Hello, I just got an xDSL system.  In Windows I can browse the
 internet
 and do whatever I want just fine.  However, in FreeBSD the only
 things
 that work are my p2p programs.  Azureus and amule work fine, they
 both
 connect and download.  However, when I try to use dillo, Firefox or
 Thunderbird they always timeout when trying to access the net.  Does
 anyone have any idea what I can do to fix this?  I had cable
 internet
 before and it worked fine.  The DSL modem is hooked up to the
 computer
 through Ethernet.

 Thanks

 /Brian
 ___
 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: just got DSL, can't surf or get mail

2005-04-03 Thread Brian John
[EMAIL PROTECTED] wrote:
On Sun, 3 Apr 2005 15:51:47 -0500 (CDT)
Brian John [EMAIL PROTECTED] wrote:
 

Hello, I just got an xDSL system.  In Windows I can browse the
internet and do whatever I want just fine.  However, in FreeBSD the
only things that work are my p2p programs.  Azureus and amule work
fine, they both connect and download.  However, when I try to use
dillo, Firefox or Thunderbird they always timeout when trying to
access the net.  Does anyone have any idea what I can do to fix this? 
I had cable internet before and it worked fine.  The DSL modem is
hooked up to the computer through Ethernet.
   

sounds like a DNS-issue, check your /etc/resolv.conf, if your ISP does
not use DHCP then you have to fill /etc/resolv.conf yourself
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html
section 11.10.2.1 tells you more
 

Ok, I think you may have pointed me to the source of the problem.  Here 
is what my resolv.conf looks like after every time I reboot my compuer:
search domain.actdsltmp
nameserver 192.168.0.1
nameserver 205.171.3.65

Now, if I change it to this (using my secondary DNS server from my DSL 
modem's 'setup' page):
search domain.actdsltmp
nameserver 205.171.2.65

...everything works.  Is there a way that I could keep this from 
changing every time that I reboot my computer?

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


help with pf

2005-04-03 Thread Brian John
Hello,
I read the manpage on pf and constructed a basic set of rules and 
macros.  However, when I start pf it gives me errors about the syntax of 
my file.  Basically all I want to accomplish is I don't want my p2p 
programs to be able to hog the traffic away from me if I'm trying to 
surf.  When I'm not surfing I want them to be able to download as fast 
as possible.

Here is what I have added to pf.conf:
ext_if=vr0
further down
altq on $ext_if priq
queue mail priority 13
queue ssh priority 12
queue web priority 14
further down
pass in proto tcp from any to port http keep state queue web
pass in proto tcp from any to port ssh keep state queue ssh
pass in proto tcp from any to port {smtp imap} queue mail
Does anyone know what I might have done wrong?  I thought that I had it 
correct based on the manpage.  I'm sure it's something really stupid 
that I missed.

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


Re: how to find files less than a day old?

2005-03-30 Thread Brian John
FreeBSD box that I am connected to.  I think it may be a Solaris 9
box.
Is there any way to get this to work in Solaris?
   
  
   Maybe the solaris find command supports the -newer option.  I think
   -newer is more widely supported, and likely to be available on
   Solaris.
  
   If necessary, you could then create a reference file using touch with
   the proper time stamp on it.  You can do this automatically within a
   script, using the date command to figure out the current time.  You
   can calculate the time one hour ago by using a command something like
   TZ={your timezone   1}  date
  
  
   --
   Noel Jones
  
  Is there a way that I could do this without using find?  I basically just
  need a listing of files to pipe to cat.  Is there any easier way to do
  this?  If there isn't, could you explain in more explicit email how to
  this?
 
  /Brian
 

 Here's some commands that should be pretty portable.

 touch `TZ=CST7CDT date  %m%d%H%M` /path/to/file
 find . -newer /path/to/file -type f | xargs cat  tmp.txt

 Adjust the value of TZ to give the proper time in your locale.  I'm in
 Central Standard Time, which is normally expressed as CST6CDT, so I
 added one to get CST7CDT.  This creates a file stamped exactly one
 hour ago that find can use as a reference.

 An alternative would be to write something in perl or your programming
 language of choice.

 HTH...

 --
 Noel Jones

Thanks!  That worked.

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


how to find files less than a day old?

2005-03-29 Thread Brian John
Hello,
I'm trying to write a script to concatenate a bunch of files.  Basically I
want to grab a bunch of files out of a directory that are less than an
hour or so old and put them in one file.

This is what I am using so far:

find . -mtime -1 -type f | xargs cat  temp.txt

However, this only grabs files that are less than a day old, so I get some
files returned that I don't want.  I tried using -0.5 instead of -1 and it
didn't work.  How can I accomplish this?

Thanks

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


Re: how to find files less than a day old?

2005-03-29 Thread Brian John
 On Tue, 29 Mar 2005 13:02:37 -0600 (CST), Brian John
 [EMAIL PROTECTED] wrote:
  Hello,
  I'm trying to write a script to concatenate a bunch of files. 
Basically I
  want to grab a bunch of files out of a directory that are less than an
  hour or so old and put them in one file.
 
  This is what I am using so far:
 
  find . -mtime -1 -type f | xargs cat  temp.txt
 
  However, this only grabs files that are less than a day old, so I get
some
  files returned that I don't want.  I tried using -0.5 instead of -1
and it
  didn't work.  How can I accomplish this?
 


 find . -mtime -1h -type f 

 man find


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


I read the man page and didn't see that.  It doesn't appear to work on the
box that I am ssh-ing to.  Sorry, I should have mentioned that it is not a
FreeBSD box that I am connected to.  I think it may be a Solaris 9 box. 
Is there any way to get this to work in Solaris?

Thanks

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


Re: how to find files less than a day old?

2005-03-29 Thread Brian John
 On Tue, 29 Mar 2005 14:11:45 -0600 (CST), Brian John
 [EMAIL PROTECTED] wrote:
   On Tue, 29 Mar 2005 13:02:37 -0600 (CST), Brian John
   [EMAIL PROTECTED] wrote:
Hello,
I'm trying to write a script to concatenate a bunch of files.
  Basically I
want to grab a bunch of files out of a directory that are less
than an
hour or so old and put them in one file.
   
This is what I am using so far:
   
find . -mtime -1 -type f | xargs cat  temp.txt
   
However, this only grabs files that are less than a day old, so I get
  some
files returned that I don't want.  I tried using -0.5 instead of -1
  and it
didn't work.  How can I accomplish this?
   
  
  
   find . -mtime -1h -type f 
  
   man find
  
  
   --
   Noel Jones
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
  
  I read the man page and didn't see that.  It doesn't appear to work on
the
  box that I am ssh-ing to.  Sorry, I should have mentioned that it is
not a
  FreeBSD box that I am connected to.  I think it may be a Solaris 9 box.
  Is there any way to get this to work in Solaris?
 

 Maybe the solaris find command supports the -newer option.  I think
 -newer is more widely supported, and likely to be available on
 Solaris.

 If necessary, you could then create a reference file using touch with
 the proper time stamp on it.  You can do this automatically within a
 script, using the date command to figure out the current time.  You
 can calculate the time one hour ago by using a command something like
 TZ={your timezone   1}  date


 --
 Noel Jones

Is there a way that I could do this without using find?  I basically just
need a listing of files to pipe to cat.  Is there any easier way to do
this?  If there isn't, could you explain in more explicit email how to
this?

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


Simple bash script to grep files for bad keywords

2005-03-23 Thread Brian John
Hello,
I am trying to write a simple bash script that will grep all files in a
directory (except ones that start with 00) for certain bad keywords. 
Here is what I have so far:
#!/bin/bash

# This is a simple script to check all sql scripts for bad keywords

BAD_KEYWORDS='spool echo timing commit rollback'

for i in $BAD_KEYWORDS;
do
  echo *;
echo GREPing for bad keyword '$i'
echo *;
grep $i ./*;
done

However, I'm not sure how to make it not grep the files that start with
00.  Can anyone help me with this?

Thanks

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


Re: Simple bash script to grep files for bad keywords

2005-03-23 Thread Brian John
 On 2005-03-23 12:29, Brian John [EMAIL PROTECTED] wrote:
  Hello,
  I am trying to write a simple bash script that will grep all files
  in a directory (except ones that start with 00) for certain bad
  keywords.  Here is what I have so far:

  #!/bin/bash
 
  # This is a simple script to check all sql scripts for bad keywords
 
  BAD_KEYWORDS='spool echo timing commit rollback'
 
  for i in $BAD_KEYWORDS;
  do
echo *;
  echo GREPing for bad keyword '$i'
  echo *;
  grep $i ./*;
  done
 
  However, I'm not sure how to make it not grep the files that start
  with 00.  Can anyone help me with this?

 Use xargs, since it will buy you the extra feature of being able to
 search through arbitrarily large numbers of files:

 for _word in ${BAD_KEYWORDS} ;do
 find . | grep -v '^/00' |\
 xargs grep ${_word} /dev/null
 done

 Tips:

 - The quotes in ${_word} are probably optional, but it's better to
   be safe than sorry :-)

 - The /dev/null is there so that grep will get at least 2 file
   arguments, even if there is just one file in the current directory,
   effectively forcing grep(1) to print the filename of this one file
   if it happens to match the pattern.

Cool, I think I get it for the most part.  However, what exactly am I
doing when I am piping to xargs?  I can see that the filenames not
starting with '00' will be piped, but what does the '\' do?  Sorry, I am
really new to scripting and *nix in general.  But I am a programmer so I
learn fast.

Thanks!

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


cannot build openoffice

2005-03-16 Thread Brian John
Hello,
When I try to build openoffice I get the following error:
./unxfbsd.pro/misc/FREEBSDGCCIruntime/libprldap50.so  \ echo  /dev/null
cp: ./unxfbsd.pro/misc/build/mozilla/dist/bin/libnss3.so: No such file or
directory
dmake:  Error code 1, while making
'./unxfbsd.pro/misc/build/so_moz_runtime_files'
---* TG_SLO.MK *---
*** Error code 255

Stop in /usr/ports/editors/openoffice-1.1.

Does anyone know why this might happen or what I can do to fix it?

Thanks

/Brian

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


Re: Re: Is this a good or a bad idea to delete all off this ?

2005-03-15 Thread Brian John
 Gert Cuykens wrote:
  can i do controle C when i want to go to sleep while upgrading ?

 A cleaner solution, regardless of whatever you're running that
you'd
 like to ^c, is to just let it run inside a screen session and reattach
 to the screen session later to see how it went.

 Screen should be every sysadmin's best friend.  =)

What exactly is a screen session?

/Brian

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


permissions on partition?

2005-03-14 Thread Brian John
Hello, I have a FAT partition on ad0s3 that I am sharing with Windows. 
For one reason or another everything on this partition is owned by
root:wheel.  I can't change the permissions to any files on this
partition.  This is what I have in devfs.conf:
own ad0s3   brian:operator
permad0s3   0660

Is this correct?  How can I make it so that files on this partition are
owned by the 'brian' user?

Thanks in advance

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


permissions on partition?

2005-03-14 Thread Brian John
Hello, I have a FAT partition on ad0s3 that I am sharing with Windows. 
For one reason or another everything on this partition is owned by
root:wheel.  I can't change the permissions to any files on this
partition.  This is what I have in devfs.conf:
own ad0s3   brian:operator
permad0s3   0660

Is this correct?  How can I make it so that files on this partition are
owned by the 'brian' user?

Thanks in advance

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


permissions on partition?

2005-03-14 Thread Brian John
Hello, I have a FAT partition on ad0s3 that I am sharing with Windows. 
For one reason or another everything on this partition is owned by
root:wheel.  I can't change the permissions to any files on this
partition.  This is what I have in devfs.conf:
own ad0s3   brian:operator
permad0s3   0660

Is this correct?  How can I make it so that files on this partition are
owned by the 'brian' user?

Thanks in advance

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


permissions on partition?

2005-03-14 Thread Brian John
Hello, I have a FAT partition on ad0s3 that I am sharing with Windows. 
For one reason or another everything on this partition is owned by
root:wheel.  I can't change the permissions to any files on this
partition.  This is what I have in devfs.conf:
own ad0s3   brian:operator
permad0s3   0660

Is this correct?  How can I make it so that files on this partition are
owned by the 'brian' user?

Thanks in advance

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


Re: Re: permissions on partition?

2005-03-14 Thread Brian John
 Brian John [EMAIL PROTECTED] writes:

  Hello, I have a FAT partition on ad0s3 that I am sharing with Windows.
  For one reason or another everything on this partition is owned by
  root:wheel.  I can't change the permissions to any files on this
  partition.  This is what I have in devfs.conf:
  own ad0s3   brian:operator
  permad0s3   0660
 
  Is this correct?  How can I make it so that files on this partition are
  owned by the 'brian' user?

 There are several approaches described in the manual for mount_msdosfs(8).

 Changing the permissions on the mount point would probably be the easiest.
 __
When I try to change the permissions on the mount point this is what happens:
# chown brian:operator /shared
chown: /shared: Invalid argument

This is the same thing that happens when I try to change permissions on
any files on the partition.  Am I doing something wrong?

Thanks

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


bad CRC in rar file

2005-03-14 Thread Brian John
Hello, I have a collection of rar files that all hold together one .iso
file.  One of the rar files has a bad CRC so rar fails to extract the ISO
image.  Does anyone know if there is a different application that can
extract this image even though there are crc errors?  I looked at the rar
manpage and it didn't seem like rar could do it.

Thanks

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


Re: Re: Re: changed cases, now freebsd won't boot!

2005-03-13 Thread Brian John
 - Original Message -

  Brian John wrote:
 
   ad1:  WARNING - READDMA UDMA ICRC error (retrying)
  
  ...and I can't boot into FreeBSD.  It just puts me in single user mode.
  
  It almost appears as if my hard drives somehow were damaged when I
  switched cases.  However, Windows works just fine.  I tried running fsck
  and I still get the errors.  Does anyone have any clue what I can do
about
  this?
  
  Thanks
  
  /Brian
  
  
 
 
  And the only, I repeat *only* thing different is the **case**?
  You have the same motherboard, same power supply 
 
 Yes, all of my components are EXACTLY the same, I just bought a new case.
 I guess it is possible that one of my IDE cables all of a sudden went bad,
 but again Windows boots fine.  I have been running Windows for days now
 with no problems.  Anything else I can do to try to diagnose this?

 Thanks for the help

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



Ok, well I ended up getting this to work.  Basically I took the IDE cable
that I was using for my CD and DVD drives and swapped that one with the
cable that I was using for my hard drives.  Now it works totally fine. 
Really strange, but at least it works.

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


Re: Re: changed cases, now freebsd won't boot!

2005-03-11 Thread Brian John
- Original Message -

 Brian John wrote:

  ad1:  WARNING - READDMA UDMA ICRC error (retrying)
 
 ...and I can't boot into FreeBSD.  It just puts me in single user mode.
 
 It almost appears as if my hard drives somehow were damaged when I
 switched cases.  However, Windows works just fine.  I tried running fsck
 and I still get the errors.  Does anyone have any clue what I can do about
 this?
 
 Thanks
 
 /Brian
 
 


 And the only, I repeat *only* thing different is the **case**?
 You have the same motherboard, same power supply 

Yes, all of my components are EXACTLY the same, I just bought a new case. 
I guess it is possible that one of my IDE cables all of a sudden went bad,
but again Windows boots fine.  I have been running Windows for days now
with no problems.  Anything else I can do to try to diagnose this?

Thanks for the help

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


changed cases, now freebsd won't boot!

2005-03-10 Thread Brian John
Hello,
I just switched my computer to a new case yesterday and now it won't 
boot.  However, Windows boots fine (I dual boot).  Here are some of the 
messages that FreeBSD has while it is starting up:
ad3:  WARNING - READDMA UDMA ICRC FAILED
Mounting root from ufs:/dev/ad0s2a
set root by name failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

Then there are a couple more messages and it goes to this prompt:
mountroot
What can I do to get this working again?
Thanks
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RE: changed cases, now freebsd won't boot!

2005-03-10 Thread Brian John
- Original Message -

  -Original Message-
 ...
  ad3:  WARNING - READDMA UDMA ICRC FAILED Mounting root from
  ufs:/dev/ad0s2a set root by name failed
  ffs_mountroot: can't find rootvp
  Root mount failed: 6
 ...
  mountroot

 I'm far from being the expert... But is it possible you have your hard disk
 plugged in differently?
 From master primary bus to master secondary bus? ad0 to ad3 for
example? I'd
 look at the boot messages for what is the hard disk being detected as and
 compare with what was?

 Maybe somebody else has come across this before though and could offer more
 insight... But hopefully this can help

 Andrew

 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 3/9/2005


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




You were right.  I accidentally mixed up the primary and secondary IDE
cables.  However, I switched them back and now I am still getting tons of
these errors:
 ad1:  WARNING - READDMA UDMA ICRC error (retrying)

...and I can't boot into FreeBSD.  It just puts me in single user mode.

It almost appears as if my hard drives somehow were damaged when I
switched cases.  However, Windows works just fine.  I tried running fsck
and I still get the errors.  Does anyone have any clue what I can do about
this?

Thanks

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


Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Brian John
Hello.
I just added a couple of config attributes to my make.conf, namely this 
(I think this is close):
CPU-TYPE = athlon-xp
CFLAGS = -0 -pipe
COPTFLAGS = -0 -pipe

Then I did a make buildkernel and make installkernel.  I then 
rebooted into single user mode and did a make buildworld.  Then I 
restarted and now I have no internet.  I can't get any pages to come up 
in firefox or dillo.  I tried pinging www.yahoo.com and I got 69% packet 
loss.  Also, when I try to do portupgrade -ap to reinstall all of my 
ports, it can't connect to download the distfiles.  What can I do to fix 
this?

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


Re: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Brian John
Roland Smith wrote:
On Sat, Mar 05, 2005 at 02:40:26AM -0600, Brian John wrote:
 

Then I did a make buildkernel and make installkernel.  I then 
rebooted into single user mode and did a make buildworld.  Then I 
restarted and now I have no internet. 

I can't get any pages to come up in firefox or dillo.  I tried pinging
www.yahoo.com and I got 69% packet loss.  Also, when I try to do
portupgrade -ap to reinstall all of my ports, it can't connect to
download the distfiles.  What can I do to fix this?
   

Brian,
Did you follow the procedure as laid out in §19.4 of the Handbook? It
looks like you're not doing things in the right order. That might give
trouble. 

Did you make any changes to your kernel configuration?
Roland
 

Well, I went back and followed the instructions exactly and now I get 
100% packet loss.  For now I am stuck booting into windows until I can 
figure this out.  PLEASE HELP!

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


Re: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Brian John
Kent Stewart wrote:
On Saturday 05 March 2005 12:40 am, Brian John wrote:
 

Hello.
I just added a couple of config attributes to my make.conf, namely
this (I think this is close):
CPU-TYPE = athlon-xp
CFLAGS = -0 -pipe
COPTFLAGS = -0 -pipe
Then I did a make buildkernel and make installkernel.  I then
rebooted into single user mode and did a make buildworld.  Then I
restarted and now I have no internet.  I can't get any pages to come
up in firefox or dillo.  I tried pinging www.yahoo.com and I got 69%
packet loss.  Also, when I try to do portupgrade -ap to reinstall
all of my ports, it can't connect to download the distfiles.  What
can I do to fix this?
   

Do it in the right order. You want a new kernel build to use the code 
produced by the buildworld. Now, you have a user land from one 
buildworld and a kernel from the previous one. Processes such a top may 
not even work in your environment.

 

Yeah, I went back and did it exactly as it said in the handbook, now I 
have 100% packet loss.  Any clue what would cause this?

Thanks for the help
/Brian
You boot to single user mode to test the new kernel and stop all of the 
competing processes. Then, you do the installworld and run mergemaster 
to update the configuration files.

Kent
 

Thanks
/Brian
   

 

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


Re: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Brian John
Erik Trulsson wrote:
On Sat, Mar 05, 2005 at 02:40:26AM -0600, Brian John wrote:
 

Hello.
I just added a couple of config attributes to my make.conf, namely this 
(I think this is close):
CPU-TYPE = athlon-xp
CFLAGS = -0 -pipe
COPTFLAGS = -0 -pipe
   

That should be '-O', not '-0'.  (And it should be 'CPUTYPE', not
'CPU-TYPE'.
 

I was just pulling this from memory.  I double-checked and it was done 
the way you said.  Another thing that is weird, on startup it takes 
sendmail about 1 minute to start.  What could cause this to happen?

Thanks for the help
/Brian
Then I did a make buildkernel and make installkernel.  I then 
rebooted into single user mode and did a make buildworld.  Then I 
restarted and now I have no internet.  I can't get any pages to come up 
in firefox or dillo.  I tried pinging www.yahoo.com and I got 69% packet 
loss.  Also, when I try to do portupgrade -ap to reinstall all of my 
ports, it can't connect to download the distfiles.  What can I do to fix 
this?

Thanks
/Brian
___
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: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Brian John
On Sat, 5 Mar 2005 16:09:56 +
Kris Kennaway [EMAIL PROTECTED] wrote:

 On Sat, Mar 05, 2005 at 10:08:54AM -0600, Brian John wrote:
  Roland Smith wrote:
  
  On Sat, Mar 05, 2005 at 02:40:26AM -0600, Brian John wrote:
  
   
  
  Then I did a make buildkernel and make installkernel.  I then 
  rebooted into single user mode and did a make buildworld.  Then I 
  restarted and now I have no internet. 
  
  I can't get any pages to come up in firefox or dillo.  I tried pinging
  www.yahoo.com and I got 69% packet loss.  Also, when I try to do
  portupgrade -ap to reinstall all of my ports, it can't connect to
  download the distfiles.  What can I do to fix this?
 
  
  
  Brian,
  
  Did you follow the procedure as laid out in ?19.4 of the Handbook? It
  looks like you're not doing things in the right order. That might give
  trouble. 
  
  Did you make any changes to your kernel configuration?
  
  Roland
   
  
  Well, I went back and followed the instructions exactly and now I get 
  100% packet loss.  For now I am stuck booting into windows until I can 
  figure this out.  PLEASE HELP!
 
 Do you use a firewall (ipfw, etc) that is possibly misconfigured?
 
 Kris

You were right the first time.  I was actually using a '0' instead of an 'O' in 
one of the options.  This was enough to break it.  I couldn't tell that it was 
a zero in my terminal, but when I looked at the file in single-user mode I 
could tell.  Sorry about this one, it was purely my error.

Thanks for the help

/Brian

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


getting sylpheed-claws to view html mail

2005-03-04 Thread Brian John
Hello,
I installed the sylpheed-claws port with the WITH_ALL=YES option.  I 
also loaded the 'dillo-viewer' plugin.  However, it still is not using 
dillo to read HTML mail.  Is there something else that I need to do?

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


java applications taking up too much memory

2005-02-22 Thread Brian John
Hello,
It seems that my java applications are taking up a ton of memory.  Even 
one small jar that I start at startup takes up almost 200 MB!

I start it like this:
java -Xms4m -Xmx8m -jar /home/brian/serverWatcher/serverwatcher.jar 
and it looks like this in top:
76750 brian 200   159M 10840K kserel   0:03  0.00%  0.00% java
I start Azureus like this:
azureus -Xmx128m
and it looks like this in top:
59636 brian 200   503M   228M kserel   2:37  0.00%  0.00% java
I only have 512M of memory on this machine.  Does anyone have any idea 
how I can make these apps take up less memory?

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


How can I start a GUI application through SSH

2005-02-21 Thread Brian John
Hello,
I would like to be able to start an X application through ssh.  I want the
app to actually run on my local box (meaning I want the window to pop up
on the box that I am ssh-ing to), but I just want to be able to start it
remotely.  Can someone help me figure out how to do this?

Thanks

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


Re: How can I start a GUI application through SSH

2005-02-21 Thread Brian John




- Original Message -
 On February 21, 2005 03:25 pm, Brian John wrote:
 Hello,
 I would like to be able to start an X application through ssh.  I want
 the
 app to actually run on my local box (meaning I want the window to pop up
 on the box that I am ssh-ing to), but I just want to be able to start it
 remotely.  Can someone help me figure out how to do this?

 For the purpose of this discussion, the 'server' is the remote system the
 one
 you are ssh-ing to. The 'client' is the one you are ssh-ing from.

 1)Before you leave, go to the server and logon at the console so that you
 have X running. Make a note of the 'DISPLAY' variable setting. Probably
 :0.0.
   $ echo $DISPLAY
   :0.0
 Do NOT log out.

 2)Use SSH to connect to the server as the same user that logged on.

 3)Set the DISPLAY variable to the one indicated in step 1.
   $ export DISPLAY=:0.0

 4)Run the command  you want (with nohup and in the background.
   $ nohup xterm -sb 

 That will run the command so that output is displayed on the server
 console
 and let you log out of your ssh session.

 If you want to learn more, you should read up on the xauth command. Also,
 try
 to understand X toolkit basics.

 Why do you want to do this anyway?

The reason that I want to do this is because I have a GUI app that
basically just sits and runs and doesn't need any interaction that I want
to be able to start and stop remotely.  I'm trying to test some different
command line options with it to see if it will run.  Basically as long as
it keeps running I am ok.

Thanks for the help

/Brian
 --
 Ean Kingston

 E-Mail: ean AT hedron DOT org
 URL: http://www.hedron.org/



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


best way to remove kde and related apps

2005-02-21 Thread Brian John
Hello,
When I first installed FreeBSD I decided that I wanted to run KDE so I
installed it and all of the stuff that comes with it (KDM for example). 
After realizing how poorly it performes I have been using fluxbox, which I
like much better.  What is the best way to remove kde and all of the
related applications that it installs?

Thanks

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


Re: trouble printing

2005-02-21 Thread Brian John
Roland Smith wrote:
On Mon, Feb 14, 2005 at 10:40:19PM -0600, Brian John wrote:
 

Ok, I installed apsfilter and pnm2ppa.  I've been looking on the net and 
I'm starting to get overwhelmed in documentation.  Could you at least 
help me get started setting this up?  Is there any hope that I will be 
able to get this printer to work as well (and easy) as it works in Windows?
   

I'll try. :-)
You should start with the apsfilter handbook, chapter 4. Read this
carefully before starting setup. Start the setup
utility with '/usr/local/share/apsfilter/SETUP' (without the '') as root.
The spool directory is probably somewhere in /var/spool/lpd. (I can't
see here, I use CUPS instead of the standard lpr). IIRC, if you give the
printer a name, (e.g. deskjet710), the spool directory should be
/var/spool/lpd/deskjet710.
The apsfilter manual mentions ppa printers, so I assume it's in the list
that SETUP presents to you.
I can't remember if apsfilter actually writes /etc/printcap for you, but I
think so.
You'll also need §9.3 of the FreeBSD handbook.
Let me know how it works out, or if you have problems.
Good luck,
Roland
 

Ok, I tried this and I'm still having problems.  Sorry it took me so 
long, I've been trying to work out other problems :(.  When I try to 
print a test page through apsfilter setup, nothing happens.  I think I 
have everything setup, here is what my setup looks like:
   ==
 A P S F I L T E R   S E T U P   -- MAIN MENUE --
   ==

   (D) Available Device Drivers in your gs binary
   (R) Read Ghostscript driver documentation(devices.txt)
   (1) Printer Driver Selection[ppa/710]
   (2) Interface Setup [parallel]
   (3) Paper Format[letter]
   (4) Printing Quality[medium]
   (5) Color Mode  [full]
   (6) Print Resolution in dots per inch [300x300]
   (7) Default Printing Method [auto]
Any other ideas that might be able to help me out?
Thanks again very much for the help
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-16 Thread Brian John




- Original Message -
 
 Ignore my last message! change assert(0); to break; not continue;
 #

 On Tuesday 15 February 2005 08:52 pm, Brian John wrote:

 Brian, I can't send this to you as a patch because it would
 conflict with the last pr I submitted so I need you to do it this
 way instead:

 cd /usr/ports/sysutils/portmanager
 make deinstall
 make clean
 make patch
 cd /usr/ports/sysutils/portmanager/work/portmanager-0.2.6/libPMGR/src
 ee PMGRrUpgrade.c
 scroll down to line 271and change:

 assert(0);

 to

 break;

 cd /usr/ports/sysutils/portmanager
 make install clean

 Then let me know how it goes.  If this works for you I'll be adding it
 in the next change, I haven't been able to duplicate this on my machine
 so right now you are my only hope of fixing this bug.

 -Mike



H...I am still getting errors.  Output is below.

Thanks again

/Brian

if [ ! -d /usr/local/share/doc/libiconv ] ; then /bin/sh
../autoconf/mkinstalldirs /usr/local/share/doc/libiconv ; fi
mkdir -p -- /usr/local/share/doc/libiconv
if [ ! -d /usr/local/share/doc/libiconv ] ; then /bin/sh
../autoconf/mkinstalldirs /usr/local/share/doc/libiconv ; fi
builddir=`pwd`; cd .  for f in *.html ; do (cd $builddir; echo
install  -o root -g wheel -m 444 ./$f /usr/local/sh
are/doc/libiconv/$f ; install  -o root -g wheel -m 444 ./$f
/usr/local/share/doc/libiconv/$f) ; done
install -o root -g wheel -m 444 ./iconv.1.html
/usr/local/share/doc/libiconv/iconv.1.html
install -o root -g wheel -m 444 ./iconv.3.html
/usr/local/share/doc/libiconv/iconv.3.html
install -o root -g wheel -m 444 ./iconv_close.3.html
/usr/local/share/doc/libiconv/iconv_close.3.html
install -o root -g wheel -m 444 ./iconv_open.3.html
/usr/local/share/doc/libiconv/iconv_open.3.html
===   Compressing manual pages for libiconv-1.9.2_1
===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===   Registering installation for libiconv-1.9.2_1

deleting backup copy, installation of updated /converters/libiconv successful
PMGRrDoUpgrade 0.2.6_5 command: #6 of 8 cd /tmp; rm -f libiconv-1.9.2_1.tgz


making package of updated /converters/libiconv
PMGRrDoUpgrade 0.2.6_5 command: #7 of 8 cd /usr/ports/converters/libiconv;
make package

===  Building package for libiconv-1.9.2_1
Creating package /usr/ports/converters/libiconv/libiconv-1.9.2_1.tbz
Registering depends:.
Creating bzip'd tar ball in
'/usr/ports/converters/libiconv/libiconv-1.9.2_1.tbz'

terminal clean of work directories
PMGRrDoUpgrade 0.2.6_5 command: #8 of 8 cd /usr/ports/converters/libiconv;
make clean

===  Cleaning for libtool-1.5.10
===  Cleaning for libiconv-1.9.2_1

PMGRrStatus 0.2.6_5 info: Creating inital data bases


PMGRrStatus 0.2.6_5 info: looking for missing dependent ports


-=MISSING=- linux_base-rh-9[/emulators/linux_base-rh-9] may be a
dependency of linux-sun-jdk-1.4.2.06_1
verifing dependency status of linux_base-rh-9 (may take awhile) by
executing command:
cd /usr/ports/java/linux-sun-jdk14; make  all-depends-list
  *  *  *  *
linux_base-rh-9 is no longer a dependency of linux-sun-jdk-1.4.2.06_1
 forcing rebuild of linux-sun-jdk-1.4.2.06_1 to fix
/var/db/pkg/linux-sun-jdk-1.4.2.06_1/+CONTENTS file.
  *  *  *  *
WARNING:  linux_base-rh-9 may conflict with a new linux-sun-jdk-1.4.2.06_1
dependency
and may have to be manually removed with pkg_delete -f linux_base-rh-9.
If portmanager fails during rebuild of linux-sun-jdk-1.4.2.06_1 then review
/usr/ports/UPDATING and also note what is at the bottom of /usr/ports/MOVED.

-=MISSING=- linux_base-rh-9[/emulators/linux_base-rh-9] may be a
dependency of linux-flashplugin-6.0r79_2
verifing dependency status of linux_base-rh-9 (may take awhile) by
executing command:
cd /usr/ports/www/linux-flashplugin6; make  all-depends-list
  *  *  *  *
linux_base-rh-9 is no longer a dependency of linux-flashplugin-6.0r79_2
 forcing rebuild of linux-flashplugin-6.0r79_2 to fix
/var/db/pkg/linux-flashplugin-6.0r79_2/+CONTENTS file.
  *  *  *  *
WARNING:  linux_base-rh-9 may conflict with a new
linux-flashplugin-6.0r79_2 dependency
and may have

Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-16 Thread Brian John
- Original Message -
 On Wednesday 16 February 2005 09:50 am, Brian John wrote:
 - Original Message -

  
  Ignore my last message! change assert(0); to break; not continue;
  #
 
  On Tuesday 15 February 2005 08:52 pm, Brian John wrote:
 
  Brian, I can't send this to you as a patch because it would
  conflict with the last pr I submitted so I need you to do it this
  way instead:
 
  cd /usr/ports/sysutils/portmanager
  make deinstall
  make clean
  make patch
  cd
  /usr/ports/sysutils/portmanager/work/portmanager-0.2.6/libPMGR/src
  ee PMGRrUpgrade.c
  scroll down to line 271and change:
 
  assert(0);
 
  to
 
  break;
 
  cd /usr/ports/sysutils/portmanager
  make install clean
 
  Then let me know how it goes.  If this works for you I'll be adding
  it in the next change, I haven't been able to duplicate this on my
  machine so right now you are my only hope of fixing this bug.
 
  -Mike

 H...I am still getting errors.  Output is below.

 Thanks again

 /Brian

 OK Brian I want to go through everything piece by piece on your system,
 so I need to look at portmanager's databases. They shouldn't be too big.
 Please send me: portmanager.tar.gz

 cd /usr/local/share
 tar -cf portmanager.tar portmanager
 gzip portmanager.tar

 Thank you

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



Sure, it's attached.

Let me know what you come up with

Thanks

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


Error in port upgrade (was Re: portmanager hosed)

2005-02-15 Thread Brian John
Michael C. Shultz wrote:
On Tuesday 15 February 2005 10:15 am, Brian John wrote:
 

When I try to upgrade my ports I just get error messages.  Can
someone help me out?  I'll paste the output below.
Thanks
/Brian
su-2.05b# portmanager -u
portmanager 0.2.6_5 info: executing rm -f
/usr/local/share/portmanager/ports_cache.db
-
--- PMGRrStatus 0.2.6_5 info: Creating inital data bases
-
---
-
--- PMGRrStatus 0.2.6_5 info: looking for missing dependent ports
-
---
-
--- -=MISSING=- linux_base-8-8.0_6[/emulators/linux_base-8] may be a
dependency of linuxpluginwrapper-20050119_1
verifing dependency status of linux_base-8-8.0_6 (may take awhile) by
executing command:
cd /usr/ports/www/linuxpluginwrapper; make  all-depends-list
 *  *  *  *
linux_base-8-8.0_6 is indeed a missing dependency, adding to list of
things to be updated
 *  *  *  *
checking for linux_base-8-8.0_6 dependencies that also may not be
installed listing linux_base-8-8.0_6's known dependencies by
executing command: cd /usr/ports/emulators/linux_base-8; make 
   

 

all-depends-list *  *  *  *
dependency -=archivers/rpm
   executing: cd /usr/portsarchivers/rpm; make describe
cd: can't cd to /usr/portsarchivers/rpm
make: don't know how to make describe. Stop
   

The path /usr/portsarchivers/rpm is mangled here. Sorry
about this it looks like a portmanager bug :(  I'll work on a fix
right away. 

-Mike
 

I tried your fix but it still doesn't seem to be working.  The output is 
below.

Thanks very much for your help
/Brian
creating iconv
/bin/sh /usr/local/bin/libtool15 --mode=install install  -s -o root -g 
wheel -m 555 iconv /usr/local/bin/iconv
libtool15: install: warning: `../lib//libiconv.la' has not been 
installed in `/usr/local/lib'
install -o root -g wheel -m 555 -s .libs/iconv /usr/local/bin/iconv
if [ ! -d /usr/local ] ; then /bin/sh ./autoconf/mkinstalldirs 
/usr/local ; fi
if [ ! -d /usr/local ] ; then /bin/sh ./autoconf/mkinstalldirs 
/usr/local ; fi
if [ ! -d /usr/local/include ] ; then /bin/sh ./autoconf/mkinstalldirs 
/usr/local/include ; fi
install  -o root -g wheel -m 444 include/iconv.h /usr/local/include/iconv.h
cd po  make install prefix='/usr/local' exec_prefix='/usr/local' 
datadir='/usr/local/share'
if test libiconv = gettext-tools; then  /bin/sh 
../autoconf/mkinstalldirs /usr/local/share/gettext/po;  for file in 
Makefile.in.in remove-potcdate.sin  quot.sed boldquot.sed [EMAIL PROTECTED] 
[EMAIL PROTECTED] insert-header.sin Rules-quot   Makevars.template; do  
install  -o root -g wheel -m 444 ./$file  
/usr/local/share/gettext/po/$file;  done;  for file in Makevars; do  rm 
-f /usr/local/share/gettext/po/$file;  done;  else  : ;  fi
cd man  make install prefix='/usr/local' exec_prefix='/usr/local' 
datadir='/usr/local/share' mandir='/usr/local/man'
if [ ! -d /usr/local ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local ; fi
if [ ! -d /usr/local/share ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local/share ; fi
if [ ! -d /usr/local/man ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local/man ; fi
if [ ! -d /usr/local/man/man1 ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local/man/man1 ; fi
builddir=`pwd`; cd .  for f in *.1 ; do (cd $builddir; echo 
install  -o root -g wheel -m 444 ./$f /usr/local/man/man1/$f ; install  
-o root -g wheel -m 444 ./$f /usr/local/man/man1/$f) ; done
install -o root -g wheel -m 444 ./iconv.1 /usr/local/man/man1/iconv.1
if [ ! -d /usr/local/man/man3 ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local/man/man3 ; fi
builddir=`pwd`; cd .  for f in *.3 ; do (cd $builddir; echo 
install  -o root -g wheel -m 444 ./$f /usr/local/man/man3/$f ; install  
-o root -g wheel -m 444 ./$f /usr/local/man/man3/$f) ; done
install -o root -g wheel -m 444 ./iconv.3 /usr/local/man/man3/iconv.3
install -o root -g wheel -m 444 ./iconv_close.3 
/usr/local/man/man3/iconv_close.3
install -o root -g wheel -m 444 ./iconv_open.3 
/usr/local/man/man3/iconv_open.3
if [ ! -d /usr/local/share/doc ] ; then /bin/sh 
../autoconf/mkinstalldirs /usr/local/share/doc ; fi
if [ ! -d /usr/local/share/doc/libiconv ] ; then /bin/sh 
../autoconf/mkinstalldirs /usr/local/share/doc/libiconv ; fi
mkdir -p -- /usr/local/share/doc/libiconv
if [ ! -d /usr/local/share/doc/libiconv ] ; then /bin/sh 
../autoconf/mkinstalldirs /usr/local/share/doc/libiconv ; fi
builddir=`pwd`; cd .  for f in *.html ; do (cd $builddir; echo 
install  -o root -g wheel -m 444 ./$f /usr/local/share/doc/libiconv/$f ; 
install  -o root -g wheel -m 444 ./$f /usr/local/share/doc/libiconv/$f) 
; done
install -o root -g wheel -m 444 ./iconv.1.html 
/usr/local/share/doc/libiconv/iconv.1.html
install -o root -g wheel -m

Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-15 Thread Brian John
Michael C. Shultz wrote:
On Tuesday 15 February 2005 08:05 pm, you wrote:
 

Michael C. Shultz wrote:
   

On Tuesday 15 February 2005 10:15 am, Brian John wrote:
 

When I try to upgrade my ports I just get error messages.  Can
someone help me out?  I'll paste the output below.
Thanks
/Brian
su-2.05b# portmanager -u
portmanager 0.2.6_5 info: executing rm -f
/usr/local/share/portmanager/ports_cache.db
---
-- --- PMGRrStatus 0.2.6_5 info: Creating inital data bases
---
-- ---
---
-- --- PMGRrStatus 0.2.6_5 info: looking for missing dependent
ports
--
--- ---
---
-- --- -=MISSING=- linux_base-8-8.0_6[/emulators/linux_base-8]
may be a dependency of linuxpluginwrapper-20050119_1
verifing dependency status of linux_base-8-8.0_6 (may take awhile)
by executing command:
cd /usr/ports/www/linuxpluginwrapper; make  all-depends-list
*  *  *  *
linux_base-8-8.0_6 is indeed a missing dependency, adding to list
of things to be updated
*  *  *  *
checking for linux_base-8-8.0_6 dependencies that also may not be
installed listing linux_base-8-8.0_6's known dependencies by
executing command: cd /usr/ports/emulators/linux_base-8; make


all-depends-list *  *  *  *
dependency -=archivers/rpm
  executing: cd /usr/portsarchivers/rpm; make describe
cd: can't cd to /usr/portsarchivers/rpm
make: don't know how to make describe. Stop
   

The path /usr/portsarchivers/rpm is mangled here. Sorry
about this it looks like a portmanager bug :(  I'll work on a fix
right away.
-Mike
 

I tried your fix but it still doesn't seem to be working.  The output
is below.
Thanks very much for your help
/Brian
   

Brian, to get you past the problem all you need do is
cd /usr/ports/emulators/linux_base-rh-9
make deinstall
cd ~
portmanager -u
emulators/linux_base-rh-9 is conflicting with emulators/linux_base-8
This output you sent just identified a bug I've been trying to track 
down for ages! Thanks for sending it!  It will be a few days to fix
it but I think you will be ok when your remove /linux_base-rh-9.
Let me know how it goes ok?

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

I tried that and I am still having problems.  Output is below.
Thanks
/Brian
install -o root -g wheel -m 444 ./iconv_open.3.html 
/usr/local/share/doc/libiconv/iconv_open.3.html
===   Compressing manual pages for libiconv-1.9.2_1
===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===   Registering installation for libiconv-1.9.2_1

deleting backup copy, installation of updated /converters/libiconv 
successful
PMGRrDoUpgrade 0.2.6_5 command: #6 of 8 cd /tmp; rm -f libiconv-1.9.2_1.tgz


making package of updated /converters/libiconv
PMGRrDoUpgrade 0.2.6_5 command: #7 of 8 cd 
/usr/ports/converters/libiconv; make package

===  Building package for libiconv-1.9.2_1
Creating package /usr/ports/converters/libiconv/libiconv-1.9.2_1.tbz
Registering depends:.
Creating bzip'd tar ball in 
'/usr/ports/converters/libiconv/libiconv-1.9.2_1.tbz'

terminal clean of work directories
PMGRrDoUpgrade 0.2.6_5 command: #8 of 8 cd 
/usr/ports/converters/libiconv; make clean

===  Cleaning for libtool-1.5.10
===  Cleaning for libiconv-1.9.2_1

PMGRrStatus 0.2.6_5 info: Creating inital data bases


PMGRrStatus 0.2.6_5 info: looking for missing dependent ports


-=MISSING=- linux_base-rh-9[/emulators/linux_base-rh-9] may be a 
dependency of linux-sun-jdk-1.4.2.06_1
verifing dependency status of linux_base-rh-9 (may take awhile) by 
executing command:
cd /usr/ports/java/linux-sun-jdk14; make  all-depends-list
 *  *  *  *
linux_base-rh-9 is no longer a dependency of linux-sun-jdk-1.4.2.06_1
forcing rebuild of linux-sun-jdk-1.4.2.06_1 to fix 
/var/db/pkg/linux-sun-jdk-1.4.2.06_1/+CONTENTS file.
 *  *  *  *
WARNING

trouble printing

2005-02-14 Thread Brian John
Hello,
I tried this question on the newbies list first but didn't get a response
so I'm trying here.

I am having trouble printing from my HP Deskjet 710C printer.  It
is hooked up via parallel port and I can print fine with it from
Windows.  However, I can't get it to work in FreeBSD.  I followed the
instructions here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html

Everything seems to be fine.  But when I try to test the printer using a
command similar to this:

# cat file  /dev/lptN

or this:

lptest  /dev/lpt0

nothing happens.  Does anyone have a clue what I might have done wrong?

Thanks for the help

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


Re: trouble printing

2005-02-14 Thread Brian John
Roland Smith wrote:
On Mon, Feb 14, 2005 at 11:06:06AM -0600, Brian John wrote:
 

Hello,
I tried this question on the newbies list first but didn't get a response
so I'm trying here.
   

This is the right list for questions.
 

I am having trouble printing from my HP Deskjet 710C printer.  It
is hooked up via parallel port and I can print fine with it from
Windows.  However, I can't get it to work in FreeBSD.  I followed the
instructions here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html
   

Arg. The Deskjet 710C is one of those stupid printers without it's own
processor. You need a special program to convert print data into ppa
format, which is the only format it understands. See:
http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_710C
 

Everything seems to be fine.  But when I try to test the printer using a
command similar to this:
# cat file  /dev/lptN
   

Don't do this. Always work via the spooler. See below.
 

or this:
lptest  /dev/lpt0
   

lptest just prints plain text. Your printer doesn't understand that. It
uses the host CPU for processing the print data:
From http://pnm2ppa.sourceforge.net/:
PPA (Printing Performance Architecture) is a closed, proprietary
protocol developed by Hewlett Packard for a short-lived series of
DeskJet printers. In essence, the PPA protocol moves the low-level
processing of the data to the host computer rather than the
printer. This allows for a low-cost (to produce) printer with a
small amount of memory and computing power. However, in practice
the printer was often as expensive as more capable printers and HP has
since discontinued the use of PPA in favour of returning to PCL3e in
their latest USB-based printers.
 

nothing happens.  Does anyone have a clue what I might have done wrong?
   

You need a special driver to talk to this printer. It is called pnm2ppa
and you can find it in ports.
More info on adriver for this printer can be found at: 
http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppafromprinter=HP-DeskJet_710C

If you want the printer to handle different file formats transparently,
you should install a print filter like apsfilter. You should program
apsfilter to output stuff in pnm format, which should then be piped
through pnm2ppa and then to the spooler.
I know this sounds complicated, and that's because these printers
suck. You have to jump through a lot of hoops to get them working.
In short, what has to happen for each print job is:
1) Convert the file format to pnm. This is where apsfilter comes in,
  unless you want to do it by hand every time.
2) The output from apsfilter should be fed to pnm2ppa, using the unix
  mechanism called a pipe. The apsfilter manual has info on how to set
  this up. I haven't used apsfilter in a lng time.
3) The output from pnm2ppa is fed to the spooler, which sends it to the
  printer.
By installing apsfilter and pnm2ppa you can make this process automatic.
Hope this helps.
Roland
 

Ok, I installed apsfilter and pnm2ppa.  I've been looking on the net and 
I'm starting to get overwhelmed in documentation.  Could you at least 
help me get started setting this up?  Is there any hope that I will be 
able to get this printer to work as well (and easy) as it works in Windows?

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


Re: problem with realplayer

2005-02-13 Thread Brian John
Loren M. Lang wrote:
On Sat, Feb 12, 2005 at 10:18:29AM -0600, Brian John wrote:
 

Loren M. Lang wrote:
   

On Tue, Feb 08, 2005 at 09:33:25PM -0600, Brian John wrote:
 

Loren M. Lang wrote:
 

   

On Mon, Feb 07, 2005 at 10:37:58PM -0600, Brian John wrote:
   

 

Loren M. Lang wrote:

 

   

On Sun, Feb 06, 2005 at 01:41:35AM -0600, Brian John wrote:
 
   

 

snip
 

snip
   

 

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

   

 

   

 

   

 

It looks like it is already installed.  This is what it says when I try 
to install it:
= Attempting to fetch from 
http://fedora.quicknet.nl/fedora/fedora/2/i386/RPMS.updates/.
gdk-pixbuf-0.22.0-11.3.5.i386.rpm 100% of  222 kB   52 kBps
===  Extracting for linux-gdk-pixbuf-0.22.0.11.3.5_1
= Checksum OK for rpm/gdk-pixbuf-0.22.0-11.3.5.i386.rpm.
===  Patching for linux-gdk-pixbuf-0.22.0.11.3.5_1
===   linux-gdk-pixbuf-0.22.0.11.3.5_1 depends on executable: rpm - 
found
===  Configuring for linux-gdk-pixbuf-0.22.0.11.3.5_1
===  Installing for linux-gdk-pixbuf-0.22.0.11.3.5_1
===   linux-gdk-pixbuf-0.22.0.11.3.5_1 depends on file: 
/compat/linux/etc/redhat-release - found
===   Generating temporary packing list
===  Checking if graphics/linux-gdk-pixbuf already installed
gdk-pixbuf-0.22.0-11.3.5.i386.rpm

Any other clue what might have caused this?
Thanks for the help
/Brian
 

   

   

 

I already tried uninstalling realplayer and gdk-pixbuf using make 
deinstall and make reinstall in those ports.  I installed realplayer 
   

from ports.  How can I install linux-base-rh-9?  I would like to try that.
 

 

   

Here's an idea, since linux_base is already installed, try:
portupgrade -o emulators/linux_base-rh-9 /var/db/pkg/linux_base-*
This tells portupgrade to upgrade the linux_base port, but use the
origin for the rh9 version.  I'm not certain this will work, but it's
worth a try.  I just did a pkg_create -b linux_base-* to make a backup,
then pkg_delete -f linux_base-* and portinstall emulators/linux_base-rh-9.

 

thanks
/Brian
 

   

 

Well, I tried that and now I can't run realplayer at all.  This is what 
happens:
$ realplay
/usr/local/lib/RealPlayer/realplay.bin: error while loading shared 
libraries: libX11.so.6: cannot open shared object file: No such file or 
directory

Any clue how I can fix this?
   

Yea, with -rh9 they moved the X libraries to a seperate port,
x11/linux-XFree86-libs, install that and it should work.  You may have
to add some lines to /usr/compat/linux/etc/ld.so.conf and/or run
/usr/compat/linux/sbin/ldconfig.
Ok, I already have x11/linux-XFree86-libs port installed.  My ld.so.conf 
is empty and when I try to run ldconfig nothing happens, it just returns 
to the prompt.  Can you help me figure out what is going on here?  I'm 
sorry that I don't know what I am doing but I am a newbie and I am 
really trying to use FreeBSD as my main OS.

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


Re: problem with realplayer

2005-02-13 Thread Brian John
Loren M. Lang wrote:
On Sun, Feb 13, 2005 at 04:11:29PM -0600, Brian John wrote:
 

Loren M. Lang wrote:
   

On Sat, Feb 12, 2005 at 10:18:29AM -0600, Brian John wrote:
 

snip
 

   

 

Well, I tried that and now I can't run realplayer at all.  This is what 
happens:
$ realplay
/usr/local/lib/RealPlayer/realplay.bin: error while loading shared 
libraries: libX11.so.6: cannot open shared object file: No such file or 
directory

Any clue how I can fix this?
 

   

Yea, with -rh9 they moved the X libraries to a seperate port,
x11/linux-XFree86-libs, install that and it should work.  You may have
to add some lines to /usr/compat/linux/etc/ld.so.conf and/or run
/usr/compat/linux/sbin/ldconfig.
 

Ok, I already have x11/linux-XFree86-libs port installed.  My ld.so.conf 
is empty and when I try to run ldconfig nothing happens, it just returns 
to the prompt.  Can you help me figure out what is going on here?  I'm 
sorry that I don't know what I am doing but I am a newbie and I am 
really trying to use FreeBSD as my main OS.
   

Add the following lines to /usr/compat/linux/etc/ld.so.conf:
/usr/lib
/usr/local/lib
/usr/X11R6/lib
Then re-run /usr/compat/linux/sbin/ldconfig.
 

Thanks again
/Brian
   

 

I tried that and now I am able to start up realplayer again, but it 
still has the same problem as originally.  All of the icons have x's in 
them.  Here is the output when I start it from the console:
$ realplay

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
Failed to load pixbuf file: 
/usr/local/lib/RealPlayer/share/realplay/icon.png: Couldn't recognize 
the image file format for file 
'/usr/local/lib/RealPlayer/share/realplay/icon.png'

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/pause.png'

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_mute.png'

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_off.png'

(realplay.bin:6624): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:6624): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib

sudo never requires a password?

2005-02-13 Thread Brian John
How come whenever I do a 'sudo' command I never have to enter a 
password?  I have tried it several times and it is like I have root 
access but don't need a root password by just using sudo.  I think this 
could be pretty dangerous.  I've never setup sudo before, at least not 
myself.  Could someone help me figure this out?

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


Re: problem with realplayer

2005-02-12 Thread Brian John
Loren M. Lang wrote:
On Tue, Feb 08, 2005 at 09:33:25PM -0600, Brian John wrote:
 

Loren M. Lang wrote:
   

On Mon, Feb 07, 2005 at 10:37:58PM -0600, Brian John wrote:
 

Loren M. Lang wrote:
 

   

On Sun, Feb 06, 2005 at 01:41:35AM -0600, Brian John wrote:
   
 

snip
 

snip
 

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

 

   

   

 

It looks like it is already installed.  This is what it says when I try 
to install it:
= Attempting to fetch from 
http://fedora.quicknet.nl/fedora/fedora/2/i386/RPMS.updates/.
gdk-pixbuf-0.22.0-11.3.5.i386.rpm 100% of  222 kB   52 kBps
===  Extracting for linux-gdk-pixbuf-0.22.0.11.3.5_1
= Checksum OK for rpm/gdk-pixbuf-0.22.0-11.3.5.i386.rpm.
===  Patching for linux-gdk-pixbuf-0.22.0.11.3.5_1
===   linux-gdk-pixbuf-0.22.0.11.3.5_1 depends on executable: rpm - found
===  Configuring for linux-gdk-pixbuf-0.22.0.11.3.5_1
===  Installing for linux-gdk-pixbuf-0.22.0.11.3.5_1
===   linux-gdk-pixbuf-0.22.0.11.3.5_1 depends on file: 
/compat/linux/etc/redhat-release - found
===   Generating temporary packing list
===  Checking if graphics/linux-gdk-pixbuf already installed
gdk-pixbuf-0.22.0-11.3.5.i386.rpm

Any other clue what might have caused this?
Thanks for the help
/Brian
 

   

 

I already tried uninstalling realplayer and gdk-pixbuf using make 
deinstall and make reinstall in those ports.  I installed realplayer 
from ports.  How can I install linux-base-rh-9?  I would like to try that.
   

Here's an idea, since linux_base is already installed, try:
portupgrade -o emulators/linux_base-rh-9 /var/db/pkg/linux_base-*
This tells portupgrade to upgrade the linux_base port, but use the
origin for the rh9 version.  I'm not certain this will work, but it's
worth a try.  I just did a pkg_create -b linux_base-* to make a backup,
then pkg_delete -f linux_base-* and portinstall emulators/linux_base-rh-9.
 

thanks
/Brian
   

 

Well, I tried that and now I can't run realplayer at all.  This is what 
happens:
$ realplay
/usr/local/lib/RealPlayer/realplay.bin: error while loading shared 
libraries: libX11.so.6: cannot open shared object file: No such file or 
directory

Any clue how I can fix this?
Thanks for the help
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with realplayer

2005-02-08 Thread Brian John
Loren M. Lang wrote:
On Mon, Feb 07, 2005 at 10:37:58PM -0600, Brian John wrote:
 

Loren M. Lang wrote:
   

On Sun, Feb 06, 2005 at 01:41:35AM -0600, Brian John wrote:
 

Hello, whenever I try to run realplayer I get the following:
$ realplay
(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
Failed to load pixbuf file: 
/usr/local/lib/RealPlayer/share/realplay/icon.png: Couldn't recognize 
the image file format for file 
'/usr/local/lib/RealPlayer/share/realplay/icon.png'
 

   

Install graphics/linux-gdk-pixbuf from ports.

 

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

   

It looks as if maybe some autogenerated file didn't get generated.  Try
reinstalling realplayer and gdk-pixbuf.  portupgrade -f will do that.
Also, did you say whether your using realplayer from ports or the
original package it comes in.
I had this problem before, I think it might of been a problem with
linux_base being too old.  It was only rh 7 and upgrading to rh 8 or 9
fixed it.  Personally, I recommend just using linux_base-rh-9 for the
best compatibility for linux binaries.
 

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

   

snip
 

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

   

 

It looks like it is already installed.  This is what it says when I try 
to install it:
= Attempting to fetch from 
http://fedora.quicknet.nl/fedora/fedora/2/i386/RPMS.updates/.
gdk-pixbuf-0.22.0-11.3.5.i386.rpm 100% of  222 kB   52 kBps
===  Extracting for linux-gdk-pixbuf-0.22.0.11.3.5_1
= Checksum OK for rpm/gdk-pixbuf-0.22.0-11.3.5.i386.rpm.
===  Patching for linux-gdk-pixbuf-0.22.0.11.3.5_1
===   linux-gdk-pixbuf-0.22.0.11.3.5_1 depends on executable: rpm - found
===  Configuring for linux-gdk-pixbuf-0.22.0.11.3.5_1
===  Installing for linux-gdk-pixbuf-0.22.0.11.3.5_1
===   linux-gdk-pixbuf-0.22.0.11.3.5_1 depends on file: 
/compat/linux/etc/redhat-release - found
===   Generating temporary packing list
===  Checking if graphics/linux-gdk-pixbuf already installed
gdk-pixbuf-0.22.0-11.3.5.i386.rpm

Any other clue what might have caused this?
Thanks for the help
/Brian
   

 

I already tried uninstalling realplayer and gdk-pixbuf using make 
deinstall and make reinstall in those ports.  I installed realplayer 
from ports.  How can I install linux-base-rh-9?  I would like to try that.

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


Re: problem with realplayer

2005-02-07 Thread Brian John
Loren M. Lang wrote:
On Sun, Feb 06, 2005 at 01:41:35AM -0600, Brian John wrote:
 

Hello, whenever I try to run realplayer I get the following:
$ realplay
(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
Failed to load pixbuf file: 
/usr/local/lib/RealPlayer/share/realplay/icon.png: Couldn't recognize 
the image file format for file 
'/usr/local/lib/RealPlayer/share/realplay/icon.png'
   

Install graphics/linux-gdk-pixbuf from ports.
 

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/pause.png'

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_mute.png'

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_off.png'

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_low.png'

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_mid.png'

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_high.png'

** (realplay.bin:94093): WARNING **: No builtin or dynamically loaded 
modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
'/etc/pango

trouble mounting partition on hard drive

2005-02-05 Thread Brian John
Hello, I am unable to mount one of my ntfs partitions.  When I try to 
mount it I get this:

# mount /hd2_4
fstab: /etc/fstab:12: Inappropriate file type or format
fstab: /etc/fstab:12: Inappropriate file type or format
mount: /hd2_4: unknown special file or file system
Here is my fstab file:
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s1  /windowsntfsro  2   0
/dev/ad0s2b noneswapsw  0   0
/dev/ad0s2a /   ufs rw  1   1
/dev/ad0s2e /tmpufs rw  2   2
/dev/ad0s2f /usrufs rw  2   2
/dev/ad0s2d /varufs rw  2   2
/dev/ad0s3  /shared msdosfs rw  0   0
/dev/ad1s1  /hd2_1  msdosfs rw,noauto   0   0
/dev/ad1s5  /hd2_2  ntfsro,noauto   2   0
/dev/ad1s6  /hd2_3  ntfsro,noauto   2   0
/dev/ad1s7  /hd2_4  ntfsro.noauto   0   0
/dev/ad1s8  /hd2_5  ntfsro,noauto   0   0
/dev/acd0   /dvdcd9660  ro,noauto   0   0
/dev/acd1   /cdrom  cd9660  ro,noauto   0   0
/dev/fd0/floppy msdosfs rw,noauto   0   0

If I put a little 'xx,' before 'ro' on the /dev/ad1s7 line, then I get 
this message:
# mount /hd2_4
mount: /hd2_4: unknown special file or file system

A little bit better, but it still doesn't work.  I can mount my other 
ntfs partitions on that drive just fine.  I've tried playing around with 
fstab quite a bit, but to no avail.  Any clue how I can get this drive 
to mount?  One thing that my be worth noting is that I have hidden and 
unhidden this particular partition before using partition magic in 
windows, could that have anything to do with it?

Thanks
/Brian

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


How to compile linux apps?

2005-02-05 Thread Brian John
Hello, I'm trying to compile the 'allin1' dockapp for fluxbox.  When I 
type 'make', I get the following errors:
n# make
gcc -ggdb -Wall -O2 -c allin1.c
allin1.c:32:22: X11/Xlib.h: No such file or directory
In file included from allin1.c:34:
dockhelper.h:86: error: syntax error before '*' token
dockhelper.h:89: error: syntax error before p
dockhelper.h:92: error: syntax error before '*' token
dockhelper.h:95: error: syntax error before src
dockhelper.h:98: error: syntax error before '*' token
dockhelper.h:98: warning: type defaults to `int' in declaration of 
`dh_display'
dockhelper.h:98: warning: data definition has no type or storage class
In file included from allin1.c:37:
cpu.h:54: error: syntax error before Pixmap
allin1.c: In function `main':
allin1.c:174: error: syntax error before event
allin1.c:414: warning: implicit declaration of function `XPending'
allin1.c:415: warning: implicit declaration of function `XNextEvent'
allin1.c:415: error: `event' undeclared (first use in this function)
allin1.c:415: error: (Each undeclared identifier is reported only once
allin1.c:415: error: for each function it appears in.)
allin1.c:417: error: `Expose' undeclared (first use in this function)
allin1.c:418: warning: implicit declaration of function `XCheckTypedEvent'
allin1.c:421: error: `DestroyNotify' undeclared (first use in this function)
allin1.c:422: warning: implicit declaration of function `XCloseDisplay'
*** Error code 1

Stop in /usr/home/brian/allin1-0.5.0/src.
Any clue how I can compile this?
Thanks
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to compile linux apps?

2005-02-05 Thread Brian John
Michael C. Shultz wrote:
On Saturday 05 February 2005 10:00 pm, Brian John wrote:
 

Hello, I'm trying to compile the 'allin1' dockapp for fluxbox.  When
I type 'make', I get the following errors:
n# make
gcc -ggdb -Wall -O2 -c allin1.c
allin1.c:32:22: X11/Xlib.h: No such file or directory
In file included from allin1.c:34:
dockhelper.h:86: error: syntax error before '*' token
dockhelper.h:89: error: syntax error before p
dockhelper.h:92: error: syntax error before '*' token
dockhelper.h:95: error: syntax error before src
dockhelper.h:98: error: syntax error before '*' token
dockhelper.h:98: warning: type defaults to `int' in declaration of
`dh_display'
dockhelper.h:98: warning: data definition has no type or storage
class In file included from allin1.c:37:
cpu.h:54: error: syntax error before Pixmap
allin1.c: In function `main':
allin1.c:174: error: syntax error before event
allin1.c:414: warning: implicit declaration of function `XPending'
allin1.c:415: warning: implicit declaration of function `XNextEvent'
allin1.c:415: error: `event' undeclared (first use in this function)
allin1.c:415: error: (Each undeclared identifier is reported only
once allin1.c:415: error: for each function it appears in.)
allin1.c:417: error: `Expose' undeclared (first use in this function)
allin1.c:418: warning: implicit declaration of function
`XCheckTypedEvent' allin1.c:421: error: `DestroyNotify' undeclared
(first use in this function) allin1.c:422: warning: implicit
declaration of function `XCloseDisplay' *** Error code 1
Stop in /usr/home/brian/allin1-0.5.0/src.
Any clue how I can compile this?
Thanks
/Brian
   

I'm assuming this is not a port. Try
./configure --prefix=/usr/local
then make
-Mike
CORRECTION
./configure --prefix=/usr/X11R6
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

When I type that I get:
# ./configure --prefix=/usr/X11R6
su: ./configure: No such file or directory
Any more ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with realplayer

2005-02-05 Thread Brian John
Hello, whenever I try to run realplayer I get the following:
$ realplay
(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
Failed to load pixbuf file: 
/usr/local/lib/RealPlayer/share/realplay/icon.png: Couldn't recognize 
the image file format for file 
'/usr/local/lib/RealPlayer/share/realplay/icon.png'

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/pause.png'

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_mute.png'

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_off.png'

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_low.png'

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_mid.png'

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Couldn't recognize the image file 
format for file '/usr/local/lib/RealPlayer/share/default/volume_high.png'

** (realplay.bin:94093): WARNING **: No builtin or dynamically loaded 
modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
 '/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

(realplay.bin:94093): GdkPixbuf-WARNING **: Can not open 

dvd-burning/alternative to k3b?

2005-02-03 Thread Brian John
Hello,
I was using k3b for burning but now that I am using fluxbox it looks like
I can't use it anymore.  Is there a close alternative?  What is everyone
using for cd and dvd burning?

Thanks

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


Java 1.5 and FreeBSD 5.3

2005-02-02 Thread Brian John
Is it possible at all to get Java 1.5 running on FreeBSD 5.3?  If so, how
can I do it?

Thanks

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


way to run application as root in fluxbox menu

2005-02-01 Thread Brian John
Hello, I want to be able to add k3b to my menu in fluxbox.  However, it
has to be run as root and I'm not sure how to do that.  Is there a way
that I could get k3b to automatically run as root in fluxbox?  It is ok if
I have to enter my root password every time that I run it.

Thanks

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


problems running k3b in fluxbox with sudo

2005-02-01 Thread Brian John
When I try to run k3b in fluxbox with sudo, I get this error message: 
'Unable to find growisofs executable'.  Any clue what would cause this?  
I can't burn DVDs until I get it resolved...

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


Re: problems running k3b in fluxbox with sudo

2005-02-01 Thread Brian John
Thomas Foster wrote:
/usr/ports/sysutils/dvd+rw-tools
Hope this helps..
T
- Original Message - From: Brian John [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, February 01, 2005 3:30 PM
Subject: problems running k3b in fluxbox with sudo

When I try to run k3b in fluxbox with sudo, I get this error message: 
'Unable to find growisofs executable'.  Any clue what would cause 
this?  I can't burn DVDs until I get it resolved...

Thanks
/Brian
___
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]

Sorry, I should have been more clear.  I have 'dvd+rw-tools' installed, 
and it works in kde.  I just can't get it to work in fluxbox because of 
this one problem.  The difference is I am starting it through the kde 
menu in kde and I'm starting it using 'sudo' in fluxbox.  Does that help?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


which bittorrent client

2005-01-24 Thread Brian John
Hello,
I would like some advice on which Bittorrent client to use.  I really 
like Azureus, but I always get OutOfMemoryException's and it takes up 
like 300 MB of memory sometimes.  Is there a more lightweight client 
that has the main features of Azureus (priorities, auto-resuming)?  What 
does everyone on this list use?

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


ALTQ support?

2005-01-20 Thread Brian John
Hello,
I am trying to get pf to work on my 5.3 machine.  I thought that I had 
it setup but it says that I don't have ALTQ support?  What is that?  Can 
someone help me set it up?

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


Re: Can I set priorities for file transfers

2005-01-19 Thread Brian John
Miguel Mendez wrote:
On Tue, 18 Jan 2005 08:23:58 -0600 (CST)
Brian John [EMAIL PROTECTED] wrote:
Hi,
 

Hello,
I have (I think) kind of a unique question.  I leave my home computer
on all day and transfer and share files via a P2P application. 
However, sometimes I like to ssh in from work and transfer files
between my work PC and my home PC via scp.  Right now it is really
slow because it is transferring so much with the P2P apps, that it
uses up all of my bandwidth.  Is there any way that I can put a
priority on this so that it gives me the majority of my bandwidth when
I want to use scp?
   

The first thing I'd do is throttle the upload on your p2p program, so
you don't eat all your b/w. You don't mention which p2p it is, but amule
let's you do it and some BitTorrent clients have the option too.
Then you could use QoS, either using IPFW or PF. With PF I'd prioritize
empty ACKs and then create a queue for ssh with guaranteed b/w. There
are plenty of PF tutorials and FAQs out there with examples. Daniel's
page has a lot of info on PF (http://www.benzedrine.cx/pf.html). Note
that PF is a FreeBSD 5.x-only feature. It's been ported to NetBSD and
DragonFlyBSD as well, and it's part of OpenBSD.
Cheers,
 

Ok, I got pf setup.  However, now I need to add ALTQ support to the 
kernel somehow?  Is that right?  If so, how can I do this?

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


How to setup DVD, CD and Floppy Drives

2005-01-18 Thread Brian John
Hello,
I have a DVD writer, a CD writer and a floppy drive in my PC.  Since I
don't know what file system that a media will use until I put it in the
drive, how do I set it up in fstab?  This is what it looks like right
now for these devices:
/dev/acd0   /cdrom  autorw,noauto   0   0
/dev/acd1   /cdrom1 autorw,noauto   0   0
/dev/fd0/floppy autorw,noauto   0   0

The problem is, when I click on a device, it says: mount: exec
mount_auto not found in /sbin:/usr/sbin: No such file or directory
Please check that the disk is entered correctly.

Also, I am using KDE 3.3.

How can I get this to work?

Thanks

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


Can I set priorities for file transfers

2005-01-18 Thread Brian John
Hello,
I have (I think) kind of a unique question.  I leave my home computer on
all day and transfer and share files via a P2P application.  However,
sometimes I like to ssh in from work and transfer files between my work PC
and my home PC via scp.  Right now it is really slow because it is
transferring so much with the P2P apps, that it uses up all of my
bandwidth.  Is there any way that I can put a priority on this so that it
gives me the majority of my bandwidth when I want to use scp?

Thanks

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


  1   2   >