WPA-EAP (ath driver): trouble maintaining connection

2009-02-22 Thread Jason Morgan
: OpenSSL:
tls_connection_handshake - Failed to read possible Application Data
error::lib(0):func(0):reason(0)
Feb 14 15:56:43 sofie kernel: update_stats: bogus ndx0 -1, max 10,
mode 3
Feb 14 15:57:14 sofie last message repeated 6 times
Feb 14 15:57:18 sofie wpa_supplicant[403]: CTRL-EVENT-EAP-STARTED EAP
authentication started
Feb 14 15:57:18 sofie wpa_supplicant[403]: CTRL-EVENT-EAP-METHOD EAP
vendor 0 method 25 (PEAP) selected
Feb 14 15:57:18 sofie wpa_supplicant[403]: OpenSSL:
tls_connection_handshake - Failed to read possible Application Data
error::lib(0):func(0):reason(0)
Feb 14 15:57:18 sofie wpa_supplicant[403]: EAP-MSCHAPV2:
Authentication succeeded
Feb 14 15:57:18 sofie wpa_supplicant[403]: EAP-TLV: TLV Result -
Success - EAP-TLV/Phase2 Completed
Feb 14 15:57:18 sofie wpa_supplicant[403]: CTRL-EVENT-EAP-SUCCESS EAP
authentication completed successfully
Feb 14 15:57:28 sofie kernel: update_stats: bogus ndx0 -1, max 10,
mode 3
Feb 14 15:57:29 sofie kernel: ath0: link state changed to DOWN
Feb 14 15:57:29 sofie wpa_supplicant[403]: CTRL-EVENT-DISCONNECTED -
Disconnect event - remove keys
Feb 14 15:57:37 sofie wpa_supplicant[403]: Trying to associate with
00:0b:86:5d:02:c0 (SSID='osuwireless' freq=2437 MHz)
Feb 14 15:57:37 sofie kernel: ath0: link state changed to UP
Feb 14 15:57:37 sofie wpa_supplicant[403]: Associated with
00:0b:86:5d:02:c0
Feb 14 15:57:37 sofie wpa_supplicant[403]: CTRL-EVENT-EAP-STARTED EAP
authentication started
Feb 14 15:57:37 sofie wpa_supplicant[403]: CTRL-EVENT-EAP-METHOD EAP
vendor 0 method 25 (PEAP) selected
Feb 14 15:57:37 sofie wpa_supplicant[403]: OpenSSL:
tls_connection_handshake - Failed to read possible Application Data
error::lib(0):func(0):reason(0)
Feb 14 15:57:37 sofie wpa_supplicant[403]: EAP-MSCHAPV2:
Authentication succeeded
Feb 14 15:57:37 sofie wpa_supplicant[403]: EAP-TLV: TLV Result -
Success - EAP-TLV/Phase2 Completed
Feb 14 15:57:37 sofie wpa_supplicant[403]: CTRL-EVENT-EAP-SUCCESS EAP
authentication completed successfully
Feb 14 15:57:41 sofie kernel: update_stats: bogus ndx0 -1, max 10,
mode 3
Feb 14 15:57:41 sofie kernel: ath0: link state changed to DOWN
Feb 14 15:57:41 sofie wpa_supplicant[403]: CTRL-EVENT-DISCONNECTED -
Disconnect event - remove keys
Feb 14 15:57:49 sofie wpa_supplicant[403]: Trying to associate with
00:0b:86:58:03:e0 (SSID='osuwireless' freq=2412 MHz)
Feb 14 15:57:49 sofie wpa_supplicant[403]: Association request to the
driver failed
Feb 14 15:57:54 sofie wpa_supplicant[403]: Authentication with
00:0b:86:58:03:e0 timed out.
Feb 14 15:57:58 sofie dhclient: New IP Address (ath0): 128.146.115.38
Feb 14 15:57:58 sofie dhclient: New Subnet Mask (ath0): 255.255.255.0
Feb 14 15:57:58 sofie dhclient: New Broadcast Address (ath0):
128.146.115.255
Feb 14 15:57:58 sofie dhclient: New Routers (ath0): 128.146.115.1
Feb 14 15:57:59 sofie dhclient: New Routers (ath0): 128.146.115.1
Feb 14 15:58:01 sofie wpa_supplicant[403]: Trying to associate with
00:0b:86:58:03:80 (SSID='osuwireless' freq=2412 MHz)
Feb 14 15:58:01 sofie kernel: ath0: link state changed to UP
Feb 14 15:58:01 sofie wpa_supplicant[403]: Associated with
00:0b:86:58:03:80
Feb 14 15:58:01 sofie wpa_supplicant[403]: CTRL-EVENT-EAP-STARTED EAP
authentication started
Feb 14 15:58:06 sofie wpa_supplicant[403]: CTRL-EVENT-EAP-METHOD EAP
vendor 0 method 25 (PEAP) selected
Feb 14 15:58:06 sofie wpa_supplicant[403]: OpenSSL:
tls_connection_handshake - Failed to read possible Application Data
error::lib(0):func(0):reason(0)
Feb 14 15:58:06 sofie wpa_supplicant[403]: EAP-MSCHAPV2:
Authentication succeeded
Feb 14 15:58:06 sofie wpa_supplicant[403]: EAP-TLV: TLV Result -
Success - EAP-TLV/Phase2 Completed
Feb 14 15:58:06 sofie wpa_supplicant[403]: CTRL-EVENT-EAP-SUCCESS EAP
authentication completed successfully
Feb 14 15:58:06 sofie wpa_supplicant[403]: WPA: Key negotiation
completed with 00:0b:86:58:03:80 [PTK=TKIP GTK=TKIP]
Feb 14 15:58:06 sofie wpa_supplicant[403]: CTRL-EVENT-CONNECTED -
Connection to 00:0b:86:58:03:80 completed (reauth) [id=1 id_str=]
Feb 14 15:58:25 sofie dhclient: New IP Address (ath0): 128.146.115.38
Feb 14 15:58:25 sofie dhclient: New Subnet Mask (ath0): 255.255.255.0
Feb 14 15:58:25 sofie dhclient: New Broadcast Address (ath0):
128.146.115.255
Feb 14 15:58:25 sofie dhclient: New Routers (ath0): 128.146.115.1
Feb 14 16:03:34 sofie kernel: update_stats: bogus ndx0 -1, max 10,
mode 3
Feb 14 16:06:56 sofie kernel: update_stats: bogus ndx0 -1, max 10,
mode 3
Feb 14 16:06:57 sofie kernel: update_stats: bogus ndx0 -1, max 10,
mode 3


Please let me know if additional information would be helpful.

Cheers,
~Jason


-- 
~ Jason Morgan
___
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

- End forwarded message -

-- 
~ Jason Morgan

Re: policykit fails to build on 7.1-stable i386

2009-02-04 Thread Jason Morgan
On 2009.02.03 14:48:24, David Kelly wrote:
> On Tue, Feb 03, 2009 at 11:21:23AM -0900, Mel wrote:
> > On Tuesday 03 February 2009 07:49:29 Jason Morgan wrote:
> > Do it a few times in a row, the sourceforge servers are overloaded
> > apparently and return false errors.
> > Either that, or familiarize yourself with XML categories, download the
> > file and update the XML cat file to use a local version rather then
> > remote for that particular file.
> 
> Uh, tuning in late here. Also running portupgrade and had problems with
> policy and XML stuff.
> 
> I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was
> a file missing altho the port was installed. Forced it to build and
> reinstall and things were able to build once again.
> 
> Portupgrade is still building so I can't get at my shell history to
> verify.
> 
> Did something similar for the international library stuff.

I've now gone through any number of different install strategies and
can't find a method that consistently allows me to get needed ports
installed. I finally, after trying off-and-on for three days, have X
working, but many of the applications I use everyday (e.g., anything
GTK/GNOME related) won't install. Mostly, I get streams of stuff like
this:

http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod:115: parser
warning : PEReference: %list.class; not found
%local.divcomponent.mix;">
 ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod:115: parser
warning : PEReference: %admon.class; not found
%local.divcomponent.mix;">
     ^
And assorted other parse errors.

Should I be submitting a PR for this?

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


Re: policykit fails to build on 7.1-stable i386

2009-02-03 Thread Jason Morgan
On 2009.02.03 10:24:55, Anton Shterenlikht wrote:
> On Tue, Feb 03, 2009 at 09:57:45AM +, Anton Shterenlikht wrote:
> > when building ports/sysutils/policykit on FBSD 7.1-stable i386 I get:
> > 
> > Making all in man
> > gmake[3]: Entering directory 
> > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/d
> > oc/man'
> > /usr/local/bin/xsltproc -nonet 
> > http://docbook.sourceforge.net/release/xsl/curren
> > t/manpages/docbook.xsl polkit-auth.xml
> > I/O error : Attempt to load network entity 
> > http://docbook.sourceforge.net/releas
> > e/xsl/current/manpages/docbook.xsl
> > warning: failed to load external entity 
> > "http://docbook.sourceforge.net/release/
> > xsl/current/manpages/docbook.xsl"
> > cannot parse 
> > http://docbook.sourceforge.net/release/xsl/current/manpages/docbook
> > .xsl
> > gmake[3]: *** [polkit-auth.1] Error 4
> > gmake[3]: Leaving directory 
> > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do
> > c/man'
> > gmake[2]: *** [all-recursive] Error 1
> > gmake[2]: Leaving directory 
> > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do
> > c'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory 
> > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9'
> > gmake: *** [all] Error 2
> > *** Error code 2
> > 
> > Stop in /usr/ports/sysutils/policykit.
> > 
> > 
> > What shall I do?
> 
> The file seems to be there, I can get to it with lynx.

I am having the same problem (I posted a related question to the list
last night). Anything dealing with XML and docbook is failing to
build. I have managed to install a few of the problem ports by adding
the package instead, but when I left the house this morning, yet
another related package had failed.

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


Build/install failure in textproc/docbook-sk: catalog parsing error

2009-02-02 Thread Jason Morgan
Greetings,

I am having trouble installing xorg on a fairly clean machine. The
problem stems from a failed build/install of textproc/docbook-sk,
which seems to have been pulled in from HAL.

Does someone know if this is a known issue, or if it's possibly some
problem with my system specifically? Is there a work-around---I've
already tried to deinstall all ports and begin from scratch? Does a
default install of xorg, including HAL, really need docbook? Should I
submit a PR?

Details below:

$ uname -a
FreeBSD crichton.skepsi.net 7.1-STABLE FreeBSD 7.1-STABLE #3: 
Sun Feb 1 21:24:47 EST 2009
r...@crichton.skepsi.net:/usr/obj/usr/src/sys/CRICHTON i386

$ cd /usr/ports/textproc/docbook-sk 
$ make install clean
===>  Installing for docbook-sk-4.1.2_4
===>   docbook-sk-4.1.2_4 depends on file: /usr/local/bin/xmlcatmgr -
found
===>   Generating temporary packing list
===>  Checking if textproc/docbook-sk already installed
xmlcatmgr: missing XML declaration; invalid document
xmlcatmgr: catalog does not look like an XML file; missing prolog
xmlcatmgr: errors while parsing catalog; aborting
*** Error code 1

Stop in /usr/ports/textproc/docbook-sk.


Like I said, this is a fairly clean machine:

$ pkg_info
bash-3.2.48_1   The GNU Project's Bourne Again SHell
docbook-1.4 Meta-port for the different versions of the
DocBook DTD
docbook-4.1_3   V4.1 of the DocBook DTD, designed for technical
documentation
docbook-4.2 V4.2 of the DocBook DTD, designed for technical
documentation
docbook-4.3 DocBook/SGML DTD V4.3, designed for technical
documentation
docbook-4.4 DocBook/SGML DTD V4.4, designed for technical
documentation
docbook-4.5 DocBook/SGML DTD V4.5, designed for technical
documentation
docbook-xml-4.2_1   XML version of the DocBook DTD
docbook-xml-4.3 DocBook/XML DTD V4.3, designed for technical
documentation
docbook-xml-4.4 DocBook/XML DTD V4.4, designed for technical
documentation
docbook-xml-4.5 DocBook/XML DTD V4.5, designed for technical
documentation
gettext-0.17_1  GNU gettext package
libiconv-1.11_1 A character set conversion library
libtool-1.5.26  Generic shared library support script
portmaster-2.6  Manage your ports without external databases or
languages
unzip-5.52_5List, test and extract compressed files in a ZIP
archive
xmlcatmgr-2.2   SGML and XML catalog manager


Thanks for your time.

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


Re: /etc/pam.d/ldap file question

2008-07-17 Thread Jason Morgan
On 2008.07.17 10:09:18, [EMAIL PROTECTED] wrote:
> I am wanting to make sure that I have this correct.  Using Pam/NSS/LDAP
> and Samba, I need to make the following file:
> 
> /etc/pam.d/ldap
> 
> which should contain:
> 
> login   authsufficient  /usr/local/lib/pam_ldap.so
> 
> Is that all I have to add to the file?  I will also need to uncomment the
> sshd line in the '/etc/pam.d/other' or else put that line in a new file
> that is named 'sshd', if I want to use ssh.
> 
> I am still trying to get a hold of all of this and want to make sure that
> I am doing things correctly.

I had this exact question/problem when setting LDAP authentication up
for the first time last week. The man pages don't seem all that clear,
to me at least, and the pam documentation is vague, when you can find
it. Anyway, below are the settings I used to get SSH authentication
working. The settings work, but I don't claim they are "correct".

$ cat /etc/nsswitch.conf 
group:files ldap
group_compat: nis
hosts:files dns
passwd:   files ldap
passwd_compat:nis
services: compat
services_compat:  nis
shells:   files ldap

$ cat /etc/pam.d/sshd 
# auth
#auth   sufficient  pam_opie.so no_warn no_fake_prompts
#auth   requisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn try_first_pass
#auth   sufficient  pam_ssh.so  no_warn try_first_pass
authsufficient  /usr/local/lib/pam_ldap.so no_warn 
try_first_pass
authrequiredpam_unix.so no_warn try_first_pass

I believe, if I read the documentation correctly, you want to add

authsufficient  /usr/local/lib/pam_ldap.so

to /etc/pam.d/login. That should instruct pam to check ldap at
login. Hopefully, people who really know what they are doing will
respond.

HTH a bit,

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


Re: Capturing ATA devices serial numbers

2008-07-07 Thread Jason Morgan
On 2008.07.07 13:54:06, Vaughn Clinton wrote:
> All,  
> 
> I'm looking for a FreeBSD utility that will allow me to query a disk for its
> serial number.  Can you point me to such a tool that'll allow me to do so?

Assuming you mean a hard disk, if you can run smartmontools, this is
from smartctl(8):

   -i, --info
  Prints the device model number, serial number, firmware version,
  and  ATA  Standard  version/revision  information.   Says if the
  device supports SMART, and if so, whether SMART support is  cur-
  rently  enabled  or  disabled.   If  the device supports Logical
  Block Address mode (LBA mode) print current user drive  capacity
  in bytes. (If drive is has a user protected area reserved, or is
  "clipped", this may be smaller than the potential maximum  drive
  capacity.)  Indicates if the drive is in the smartmontools data-
  base (see '-v' options below).  If so, the  drive  model  family
  may also be printed. If '-n' (see below) is specified, the power
  mode of the drive is printed.

Full man page is here:
http://smartmontools.sourceforge.net/man/smartctl.8.html

Port is here:
/usr/ports/sysutils/smartmontools

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


Re: Jails and IP Aliasing

2008-07-07 Thread Jason Morgan
On 2008.07.07 12:16:44, David Allen wrote:
> On Mon, Jul 7, 2008 at 10:54 AM, Jason Morgan
> <[EMAIL PROTECTED]> wrote:
> > On 2008.07.07 09:51:33, David Allen wrote:
> >> Unless I'm losing my mind, I'm encountering what seems to yet another
> >> gotcha with jails.  The following has been dumbed down for clarity and
> >> brevity.
> >>
> >> -
> >> # hostname
> >> jailhost.example.org
> >>
> >> # host jailhost
> >> jailhost.example.org has address 10.0.1.2
> >>
> >> # ifconfig fxp0
> >> fxp0: flags=8843 metric 0 mtu 1500
> >> options=b
> >> ether 00:07:e9:c8:2e:32
> >> inet 10.0.1.2 netmask 0xff00 broadcast 10.0.1.255
> >> inet 10.0.1.3 netmask 0x broadcast 10.0.1.3
> >> inet 10.0.1.4 netmask 0x broadcast 10.0.1.4
> >> media: Ethernet autoselect (100baseTX )
> >> status: active
> >
> > This is the output for my jail interface. Notice that your jail
> > aliases are broadcasting on the jail's IP. I don't know if this is an
> > issue or not (my jails run on i386 FBSD 6.3), but it's something to
> > look at. How are you setting the aliases?
> >
> > sk0: flags=8843 mtu 1500
> > options=b
> > inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255
> > inet 10.0.0.101 netmask 0xff00 broadcast 10.0.0.255
> > inet 10.0.0.201 netmask 0xff00 broadcast 10.0.0.255
> > ether xx:xx:xx:xx:xx:xx
> > media: Ethernet autoselect (1000baseTX )
> > status: active
> 
> My own aliases:
> 
> # grep fxp0 /etc/rc.conf
> ifconfig_fxp0="inet 10.0.1.2 netmask 0xff00"
> ifconfig_fxp0_alias0="10.0.1.3 netmask 0x"
> ifconfig_fxp0_alias1="10.0.1.4 netmask 0x"
> ifconfig_fxp0_alias2="10.0.1.5 netmask 0x"
> 
> My understanding from the handbook is that the mask should be set to all
> ones if the alias is for an address that's part of the same network.  For
> a different segment, it's the first alias that should be set to the real
> netmask, with any additional aliases using a netmask of all ones.
> 
> Granted, the broadcast addresses looks odd.  If I my programming skills
> were better, I'd just read through the code and understand what's really
> happening, but for now, I'm just taking the FreeBSD folks at their word at
> following instructions.  That's a roundabout way of saying I think your
> aliases are set up incorrectly.  ;-)

That it quite possible (I do notice the newer documentation calling
for netmask 0x). But I have never had any trouble over the
last three years so, you know how it is, if it ain't (too) broke ...

> If you're not seeing the behaviour I'm seeing, do let me know.  But to
> clarify with a concrete example, the following is what I see on the
> jailhost (10.0.1.2) when it connects to port 25 on one of the
> jails (10.0.1.5).
> 
> # tcpdump -nqti lo0 port 25
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on lo0, link-type NULL (BSD loopback), capture size 96 bytes
> IP 10.0.1.5.62110 > 10.0.1.5.25: tcp 0
> IP 10.0.1.5.25 > 10.0.1.5.62110: tcp 0
> IP 10.0.1.5.62110 > 10.0.1.5.25: tcp 0
> IP 10.0.1.5.25 > 10.0.1.5.62110: tcp 89
> IP 10.0.1.5.62110 > 10.0.1.5.25: tcp 0
> 
> # netstat -nf inet
> Active Internet connections
> Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
> tcp4   0  0  10.0.1.5.2510.0.1.5.62110 ESTABLISHED
> tcp4   0  0  10.0.1.5.62110 10.0.1.5.25ESTABLISHED
> 
> # sockstat -4 -p 25
> USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS
> root sendmail   16594 1  tcp4   10.0.1.5:25   10.0.1.5:62110
> root sendmail   16594 4  tcp4   10.0.1.5:25   10.0.1.5:62110
> root sendmail   16594 7  tcp4   10.0.1.5:25   10.0.1.5:62110
> root telnet 16593 3  tcp4   10.0.1.5:6211010.0.1.5:25
> 
> Why the jailhost is suddenly using the jail's IP address is beyond me.

I am actually getting the same results when telnetting to port 25 on
my mailserver jail. Someone else here should be able to offer better
advice. Sorry, I couldn't help.

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


Re: Jails and IP Aliasing

2008-07-07 Thread Jason Morgan
Hello,

On 2008.07.07 09:51:33, David Allen wrote:
> Unless I'm losing my mind, I'm encountering what seems to yet another
> gotcha with jails.  The following has been dumbed down for clarity and
> brevity.
> 
> -
> # hostname
> jailhost.example.org
> 
> # host jailhost
> jailhost.example.org has address 10.0.1.2
> 
> # ifconfig fxp0
> fxp0: flags=8843 metric 0 mtu 1500
> options=b
> ether 00:07:e9:c8:2e:32
> inet 10.0.1.2 netmask 0xff00 broadcast 10.0.1.255
> inet 10.0.1.3 netmask 0x broadcast 10.0.1.3
> inet 10.0.1.4 netmask 0x broadcast 10.0.1.4
> media: Ethernet autoselect (100baseTX )
> status: active

This is the output for my jail interface. Notice that your jail
aliases are broadcasting on the jail's IP. I don't know if this is an
issue or not (my jails run on i386 FBSD 6.3), but it's something to
look at. How are you setting the aliases?

sk0: flags=8843 mtu 1500
 options=b
 inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255
 inet 10.0.0.101 netmask 0xff00 broadcast 10.0.0.255
 inet 10.0.0.201 netmask 0xff00 broadcast 10.0.0.255
 ether xx:xx:xx:xx:xx:xx
 media: Ethernet autoselect (1000baseTX )
 status: active

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


Re: Setting up a VPN

2008-06-09 Thread Jason Morgan
On Sun, Jun 08, 2008 at 11:39:06PM -0700, Steve Quinn wrote:
> --- On Sun, 6/8/08, Gonzalo Nemmi <[EMAIL PROTECTED]> wrote:
> 
> > Please _do_ send them to this list or throw a pointer at
> > where they are at !
> > I'm sure more people than you can think of will find
> > them usefull.
> > I, for once, could really use them :)
> > 
> 
> Hi Gonzalo, all
> 
> I knew I should have done that in the first place, sorry  :-)
> They were embarrassingly messy so I resisted
> 
> I just fixed them up a bit
> I hope they can be of help
> 
> See OpenVPN from http://www.isgsp.net/freebsd/index.html
> 
> Take care
> 
> Steve

Excellent, Steve. Thanks a lot.

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


Re: Whine when EHCI controller enabled in BIOS

2008-06-08 Thread Jason Morgan
On Sun, Jun 08, 2008 at 09:40:17PM -0600, James wrote:
> I have a high pitched whine coming from my motherboard when the EHCI
> USB 2.0 controller is enabled in the BIOS.  The whine only starts once
> FreeBSD 7.0-RELEASE is halfway through booting.
> 
> The whine also goes away when I plugin a USB drive in with EHCI
> controller enabled (usb keyboard and mouse being already plugged in).
> 
> Is this a hardware problem, or could it possibly be software related???

I can't imagine this is a software issue. Sounds strange. Have you
tried to see if it isn't a fan issue? We have some Dell GX280s with a
bad batch of motherboards at my university---under specific conditions
(e.g., using certain video cards) the system fan will spin up 'til the
system sounds like it's about to take off.

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


Re: Setting up a VPN

2008-06-08 Thread Jason Morgan
On Mon, Jun 09, 2008 at 12:04:14AM -0300, Gonzalo Nemmi wrote:
> On Sunday 08 June 2008 23:07:28 Steve Quinn wrote:
> > --- On Tue, 6/3/08, Schiz0 <[EMAIL PROTECTED]> wrote:
> > > Hey,
> > >
> > > I'm looking for information on how to setup a Virtual
> > > Private Network
> > > on a FreeBSD 7.0-RELEASE system 
> >
> > Hi
> >
> > I've recently implemented OpenVPN under FreeBSD
> > For our team, it's been rock solid
> >
> > I found the OpenVPN docs were excellent for Windohs/Linux but were lacking
> > a little for BSD
> >
> > I can send you my personal BSD related notes if you like
> >
> > Take care
> >
> > Steve
> 
> Please _do_ send them to this list or throw a pointer at where they are at !
> I'm sure more people than you can think of will find them usefull.
> I, for once, could really use them :)
> 
> Thanks in advanced
> -- 
> Blessings
> Gonzalo Nemmi

I second this request. I am getting ready to implement a VPN for a
small company and any extra documentation I can get would be greatly
appreciated.

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


Re: 7.0-RC2 will not install

2008-02-25 Thread Jason Morgan
On Mon, Feb 25, 2008 at 09:32:57PM -0500, leegold wrote:
> Hi,
> 
> Trying FreeBsd 7.0-RC2.
> 
> Disk 1 will not boot. 
> 
> I think it's my new SATA DVD drive causing the trouble. 
> 
> dmeg during boot:
> ...
> ...
> ...
> acd0:DVDR  at ata4-master SATA ISO
> GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Installs
> amass0: CBI reset failed, TIMEOUT
> ...
> and it freezes right here.

Try booting with ACPI disabled. I have the same problem with an older
system; have to run without ACPI on 7.0 for some reason. 6.3 worked
fine. I posted twice here regarding the problem but never received a
reply. Let the list know if it is an ACPI issue.

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


Re: Lockup on Boot due to ACPI (Freebsd 7.0-RC2 i386)

2008-02-16 Thread Jason Morgan
On Sun, Feb 10, 2008 at 11:49:20AM -0500, Jason Morgan wrote:
> I just upgraded a system from 6.3-RELEASE to 7.0-RC2 (both i386) only
> to discover that the system won't boot with ACPI enabled. ACPI was
> working fine in 6.3. The problems occur at boot-up -- the system
> simply stops loading at approximately the same place during each
> attempt (noted below in the dmesg). I have added
> `hint.acpi.0.disabled=1' to loader.conf to get around the issue
> automatically. I have tried building new kernels with various options
> added/removed, rebuilt world with updated source, etc.
> 
> I have included my system information below. The dmesg output (a full
> boot with ACPI disabled) is `verbose' and I have edited it to show
> where the lockup happens. I am more than willing to help out with any
> debugging if needed. I just need some direction.

[snip]

This is still an issue. I updated my source today, rebuilt world and
kernel (disabling SMP), and the system still freezes at boot with ACPI
enabled.

If anyone has any suggestions as to how I can work around the problem,
they would be greatly appreciated.

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


Lockup on Boot due to ACPI (Freebsd 7.0-RC2 i386)

2008-02-10 Thread Jason Morgan
I just upgraded a system from 6.3-RELEASE to 7.0-RC2 (both i386) only
to discover that the system won't boot with ACPI enabled. ACPI was
working fine in 6.3. The problems occur at boot-up -- the system
simply stops loading at approximately the same place during each
attempt (noted below in the dmesg). I have added
`hint.acpi.0.disabled=1' to loader.conf to get around the issue
automatically. I have tried building new kernels with various options
added/removed, rebuilt world with updated source, etc.

I have included my system information below. The dmesg output (a full
boot with ACPI disabled) is `verbose' and I have edited it to show
where the lockup happens. I am more than willing to help out with any
debugging if needed. I just need some direction.

Thanks,
~Jason

# uname -a
FreeBSD penelope.skepsi.net 7.0-RC2 FreeBSD 7.0-RC2 #1: Sat Feb  9 23:35:18 UTC
2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PENELOPE  i386

Snipped dmesg: 
# dmesg
[snip]
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01
(probe0:ata1:0:0:0): error 22
(probe0:ata1:0:0:0): Unretryable Error
(probe0:ata1:0:0:0): Down reving Protocol Version from 2 to 0?
(probe0:ata1:0:0:0): error 6
(probe0:ata1:0:0:0): Unretryable Error
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01

# Failure occurs here when ACPI is enabled.

(probe0:ata1:0:0:0): error 22
(probe0:ata1:0:0:0): Unretryable Error
(probe1:sbp0:0:0:0): error 22
(probe1:sbp0:0:0:0): Unretryable Error
[snip]


Full dmesg:
# dmesg
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RC2 #1: Sat Feb  9 23:35:18 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/PENELOPE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc1084000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc1084174.
Preloaded elf module "/boot/kernel/pf.ko" at 0xc1084220.
Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc10842c8.
Preloaded elf module "/boot/kernel/sound.ko" at 0xc1084374.
Preloaded elf module "/boot/modules/nvidia.ko" at 0xc1084420.
Preloaded elf module "/boot/kernel/aio.ko" at 0xc10844cc.
Calibrating clock(s) ... i8254 clock: 1193174 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 1830015303 Hz
CPU: AMD Athlon(tm) XP 2500+ (1830.02-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
  Features=0x383fbff
  AMD Features=0xc0400800
Data TLB: 32 entries, fully associative
Instruction TLB: 16 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 internal cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
real memory  = 1073676288 (1023 MB)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x0010 - 0x003f, 3145728 bytes (768 pages)
0x01428000 - 0x3eda7fff, 1033371648 bytes (252288 pages)
avail memory = 1032912896 (985 MB)
mptable_probe: MP Config Table has bad signature: F8/I
APIC: Could not find any APICs.
bios32: Found BIOS32 Service Directory header at 0xc00fb2b0
bios32: Entry = 0xfb740 (c00fb740)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf+0xb770
pnpbios: Found PnP BIOS data at 0xc00fc1c0
pnpbios: Entry = f:c1f0  Rev = 1.0
Other BIOS signatures found:
ULE: setup cpu group 0
ULE: setup cpu 0
ULE: adding cpu 0 to group 0: cpus 1 mask 0x1
snd_unit_init() u=0x00ff8000 [512] d=0x7c00 [32] c=0x03ff [1024]
feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5 feeder_buffersize=16
384 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
random: 
io: 
kbd: new array size 4
kbd1 at kbdmux0
mem: 
Pentium Pro MTRR support enabled
null: 
nfslock: pseudo-device
npx0: INT 16 interface
cpu0 on motherboard
pci_open(1):mode 1 addr port (0x0cf8) is 0x8888
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=80] is there (id=01e010de)
pcibios: BIOS version 2.10
pcib0:  pcibus 0 on motherboard
pir0:  on motherboard
$PIR: Links after initial probe:
Link  IRQ  Rtd  Ref  IRQs
 0x1  255   N 3  3 4 5 7 9 10 11 12 14 15
 0x2  255   N 6  3 4 5 7 9 10 11 12 14 15
 0x3  255   N 3  3 4 5 7 9 10 11 12 14 15
 0x4  255   N 4  3 4 5 7 9 10 11 12 14 15
$PIR: Found matching pin for 1.6.INTA at func 0: 11
$PIR: Links after initial IRQ discovery:
Link  IRQ  Rtd  Ref  IRQs
 0x1  255   N 3  3 4 5 7 9 10 11 12 14 15
 0x2  255   N 6  3 4 5 7 9 10 11 12 14 15
 0x3   11   Y 3  3 4 5 7 9 10 11 12 14 15
 0x4  255   N 4  3 4 5 7 9 10 11 12 14 15
$PIR: IRQs used by BIOS: 11
$PIR: Interrupt Weights:
[0   1   2   3   4

Re: Desktop Performance Tuning?

2008-02-07 Thread Jason Morgan
On Thu, Feb 07, 2008 at 01:07:34AM +, RW wrote:
> On Wed, 6 Feb 2008 15:45:14 -0800
> "Eli Scott" <[EMAIL PROTECTED]> wrote:
> 
> > I recently installed FreeBSD 7.0 RC-1 on my hobby system,
> >..
> > performance seems to degrade whenever i'm compiling
> > things (like, performing a buildworld, installing from ports, etc)
> > which manifests itself as considerable lag in standard desktop
> > operations,
> 
> I've noticed this too, it always used to be the case that building
> didn't make all that much difference to desktop use, but now it make a
> severe difference. Nice helps, but it only makes the
> problem intermittent. I've tried changing the scheduler to ULE, and
> disabling SMP, but it didn't help.
> 
> There have been threads on the stable list about jerky  mouse
> performance, which may be part of this, but I have really followed it
> closely. I'm also wondering whether this might be due to some xorg or
> other port change from late 2007 that I only noticed when I started
> doing a lot of rebuilding under 7-stable.
> 

I've also noticed this. I thought it was because I used the -j4 flag
when building world, but I just rebuilt my kernel last night without
-j4 and had some of the same issues. This has been on both SCHED_ULE
and SCHED_4FSB. I am running AMD64.

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


Re: gmirror challenge

2008-01-21 Thread Jason Morgan
On Mon, Jan 21, 2008 at 05:35:46PM -0800, Jeff Pflueger wrote:
> 
> > Hey Jeff,
> >
> > Try:
> >
> > gmirror forget ad6s1
> >
> > >From gmirror(8):
> >
> > remove  Remove the given component(s) from the mirror and clear meta-
> > data on it.
> >
> > and futher on:
> >
> > One disk failed.  Replace it with a brand new one:
> >
> >gmirror forget data
> >gmirror insert data da1
> >
> >
> > I had a drive do something similar --- the system wouldn't crash, but
> > a drive just refused to be rebuilt. I used `forget' and it worked like
> > a charm.
> >
> > ~Jason
> >   
> Thanks for that!
> turns out that if I rebuild a mirror once booted from cd via:
> gmirror label -v -b load gm0s1 /dev/ad4s1
> mount /dev/mirror/gm0s1 /mnt
> 
> then I disconnected ad6 and booted from ad4. Once booted, the disk was
> very busy for a long time and now it seems to be working fine.
> 
> However, ad6...
> when I have booted from CD I can't gmirror clean ad6 without getting the
> message about
> 
> "Can't clear metadata on ad6s1: Invalid argument. Not fully done."
> 
> I suspect that something is either mechanically wrong (less likely) or 
> somehow corrupted on ad6...
> 
> How can I wipe ad6 so that I can now try to insert it into the new mirror?

To completely wipe the drive? Try:

# dd if=/dev/zero of=/dev/ad6 bs=512

That will zero out the *whole* drive, nothing will be left. You will
also need to make sure you do

# gmirror forget ad6

first; otherwise, I think gmirror will expect to find metadata on the
drive. Read the man page carefully to make sure you are taking the
steps in the right order.

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


Re: gmirror challenge

2008-01-21 Thread Jason Morgan
On Mon, Jan 21, 2008 at 03:41:16PM -0800, Jeff Pflueger wrote:
> I have a server and am using gmirror to mirror two disks.
> 
> The intent was to double my security...but my experience has been that
> it has generally doubled the amount of time that the server goes down!
> 
> gm0s1 is the name of the mirror. The mirror is Freebsd's boot source.
> ad4s1 is one provider
> ad6s1 is another provider
> 
> problems arose after a power outage.
> gmirror would work furiously at rebuilding ad4s1 to no avail and
> eventually I'd get an error like "GMIRROR provider gm0s1 destroyed" and
> the server would go down. I could reboot and do a little from within the
> system before this would happen again.
> 
> So I booted FreeBSD from disk, went into FixIt mode from sysinstall,
> then selected the cd/dvd option and then:
> chroot /dist
> mount_devfs devfs /dev
> kldload geom_mirror
> 
> and then gmirror clear ad4s1
> (no problem, that worked) - but, unfortunately I am unable to boot off
> of ad4 when ad6 has its SATA cable unplugged - I think that the drive is
> hosed/corrupted.
> 
> but, here's another problem:
> gmirror clear ad6s1 gives me this error:
> "Can't clear metadata on ad6s1: Invalid argument. Not fully done."
> 
> So without the metadata cleared on ad6s1, I can't boot from it
> and I can't boot from ad4s1 because I suspect that it is hosed...
> 
> anybody have any suggestions on how to clear the metadata of ad6s1 so I
> can boot from it without it going into gmirror and being unhappy?
> 
> Thanks for any help!
> 
> Jeff

Hey Jeff,

Try:

gmirror forget ad6s1

>From gmirror(8):

remove  Remove the given component(s) from the mirror and clear meta-
data on it.

and futher on:

One disk failed.  Replace it with a brand new one:

   gmirror forget data
   gmirror insert data da1


I had a drive do something similar --- the system wouldn't crash, but
a drive just refused to be rebuilt. I used `forget' and it worked like
a charm.

~Jason


> 
> ___
> 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: xfce4 and 6.2: dbus-daemon is using 100% cpu

2007-09-02 Thread Jason Morgan
On Sun, Sep 02, 2007 at 11:31:48AM -0400, Charlie wrote:
> Hi everyone,
> 
> I'm running 6.2-RELEASE on two systems (a Pentium 4 and a dual Athlon), and
> whenever I log into Xfce4, I notice that a process called "dbus-daemon" is
> invoked and eats up 100% of the CPU when no other processes are running.
> 
> If another process is running, dbus-daemon only hogs about 50% of the CPU,
> but this is still frustrating. If, for example, I am compiling a port,
> dbus-daemon takes about 50% of my CPU time, leaving only half the
> processor's time for compiling.
> 
> I am fairly new to xfce, and googling the issue hasn't helped me out. Any
> ideas? How can I fix dbus so it doesn't use so much CPU, or how can I
> disable it completely? I know it is used for inter-application
> communication, but I'm not entirely sure I need it (I don't see any adverse
> effects when I kill it manually).
> 
> I don't see anything unusual in /var/log/messages, nor any errors in
> ~/.xsession-errors.
> 
> Thanks for the help,
> 
> Charlie

I've run into this before (along with other dbus/Thunar issues) and it
was only fixed by building XFCE from source. Installing from the
package has always caused problems for me. I run XFCE on three
workstations -- though I run -STABLE -- all of them had the same
problem.

I know, not much help.

Cheers,

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


Re: NFS Problems/Questions

2007-07-14 Thread Jason Morgan
On Sat, Jun 30, 2007 at 07:33:19PM -0400, Jason Morgan wrote:
> On Sat, Jun 23, 2007 at 07:42:24PM -0400, Jason Morgan wrote:
> > On Sat, Jun 23, 2007 at 12:46:27PM -0700, Michael Smith wrote:
> > > Hello Jason:
> > > 
> > > On Jun 23, 2007, at 9:34 AM, Jason Morgan wrote:
> > > 
> > > >I've been having some trouble with NFS performance for some time and
> > > >now that class is out, I've had a bit of time to investigate but I'm
> > > >stuck. Below are the details of my investigation. Hopefully, someone
> > > >here can give me some advice.
> > > >
> > > >The basic problem is that my NFS performance is very slow. Right now,
> > > >I am connecting two workstations to a NFS server, which has my home
> > > >directory, etc, mounted. They are connected over a gigabit network
> > > >(right now with mtu set to 7000, which is supported by all hardware --
> > > >changing it to 1500 has no effect on performance, which is
> > > >strange). Each system is running 6.2-RELEASE or -STABLE. Each system
> > > >is also using the following network card:
> > > >
> > > ># ifconfig sk0
> > > >sk0: flags=8843 mtu 7000
> > > >options=b
> > > >inet 10.0.0.2 netmask 0xff00 broadcast 10.0.0.255
> > > >ether 00:17:9a:bb:05:87
> > > >media: Ethernet autoselect (1000baseTX  > > >duplex,flag0,flag1>)
> > > >status: active
> > > >
> > > ># dmesg | grep sk
> > > >skc0:  port 0xec00-0xecff mem
> > > >  0xfdff8000-0xfdffbfff irq 18 at device 10.0 on pci0
> > > >skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x9)
> > > >sk0:   on skc0
> > > >sk0:  Ethernet address: 00:17:9a:XX:XX:XX
> > > >
> > > >## Server /etc/rc.conf settings
> > > >
> > > >rpcbind_enable="YES"
> > > >rpc_lockd_enable="YES"
> > > >rpc_statd_enable="YES"
> > > >nfs_server_enable="YES"
> > > >nfs_server_flags="-u -t -n 12"
> > > >nfs_bufpackets="32"
> > > >mountd_flags="-r"
> > > >
> > > >
> > > >## Client /etc/rc.conf settings
> > > >
> > > >nfs_client_enable="YES"
> > > >nfs_bufpackets="32"
> > > >nfsiod_enable="YES"
> > > >nfsiod_flags="-n 6"
> > > >rpc_lockd_enable="YES"
> > > >rpc_statd_enable="YES"
> > > >rpcbind_enable="YES"
> > > >
> > > >## /etc/exports
> > > >
> > > >/usr -alldirs,maproot=root client1 client2
> > > >
> > > >
> > > >For performance benchmarking, I am using dd. Locally from the server,
> > > >this is a representative result when writing a 1GB file:
> > > >
> > > >## Local write test (for an upper-bound on what to expect).
> > > >
> > > ># dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
> > > >1000+0 records in
> > > >1000+0 records out
> > > >1048576000 bytes transferred in 19.580184 secs (53552919 bytes/sec)
> > > >
> > > >Connecting from a client (both clients get approximately the same
> > > >results).
> > > >
> > > >## Remote connection (UDP), mounted in /etc/fstab as with flags:
> > > >## rw,-U,-3,-r=32768,-w=32768
> > > >
> > > ># dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
> > > >1000+0 records in
> > > >1000+0 records out
> > > >1048576000 bytes transferred in 101.151139 secs (10366428 bytes/sec)
> > > >
> > > >## Remote connection (TCP), mounted in /etc/fstab as with flags:
> > > >## rw,-T,-3,-r=32768,-w=32768
> > > >
> > > ># dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
> > > >1000+0 records in
> > > >1000+0 records out
> > > >1048576000 bytes transferred in 59.668585 secs (17573334 bytes/sec)
> > > >
> > > >As can be seen above, TCP is much faster than UPD. I have tried many
> > > >different mount settings and these are the best results I could
> > > >get. To test whether or not I have having network issues, I
> > > >transferred the same nfs.dat file via a http connection and got
> > > >~32MB/sec -- almost 2x the speed of the TCP NFS conne

Re: NFS Problems/Questions

2007-06-30 Thread Jason Morgan
On Sat, Jun 23, 2007 at 07:42:24PM -0400, Jason Morgan wrote:
> On Sat, Jun 23, 2007 at 12:46:27PM -0700, Michael Smith wrote:
> > Hello Jason:
> > 
> > On Jun 23, 2007, at 9:34 AM, Jason Morgan wrote:
> > 
> > >I've been having some trouble with NFS performance for some time and
> > >now that class is out, I've had a bit of time to investigate but I'm
> > >stuck. Below are the details of my investigation. Hopefully, someone
> > >here can give me some advice.
> > >
> > >The basic problem is that my NFS performance is very slow. Right now,
> > >I am connecting two workstations to a NFS server, which has my home
> > >directory, etc, mounted. They are connected over a gigabit network
> > >(right now with mtu set to 7000, which is supported by all hardware --
> > >changing it to 1500 has no effect on performance, which is
> > >strange). Each system is running 6.2-RELEASE or -STABLE. Each system
> > >is also using the following network card:
> > >
> > ># ifconfig sk0
> > >sk0: flags=8843 mtu 7000
> > >options=b
> > >inet 10.0.0.2 netmask 0xff00 broadcast 10.0.0.255
> > >ether 00:17:9a:bb:05:87
> > >media: Ethernet autoselect (1000baseTX  > >duplex,flag0,flag1>)
> > >status: active
> > >
> > ># dmesg | grep sk
> > >skc0:  port 0xec00-0xecff mem
> > >  0xfdff8000-0xfdffbfff irq 18 at device 10.0 on pci0
> > >skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x9)
> > >sk0:   on skc0
> > >sk0:  Ethernet address: 00:17:9a:XX:XX:XX
> > >
> > >## Server /etc/rc.conf settings
> > >
> > >rpcbind_enable="YES"
> > >rpc_lockd_enable="YES"
> > >rpc_statd_enable="YES"
> > >nfs_server_enable="YES"
> > >nfs_server_flags="-u -t -n 12"
> > >nfs_bufpackets="32"
> > >mountd_flags="-r"
> > >
> > >
> > >## Client /etc/rc.conf settings
> > >
> > >nfs_client_enable="YES"
> > >nfs_bufpackets="32"
> > >nfsiod_enable="YES"
> > >nfsiod_flags="-n 6"
> > >rpc_lockd_enable="YES"
> > >rpc_statd_enable="YES"
> > >rpcbind_enable="YES"
> > >
> > >## /etc/exports
> > >
> > >/usr -alldirs,maproot=root client1 client2
> > >
> > >
> > >For performance benchmarking, I am using dd. Locally from the server,
> > >this is a representative result when writing a 1GB file:
> > >
> > >## Local write test (for an upper-bound on what to expect).
> > >
> > ># dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
> > >1000+0 records in
> > >1000+0 records out
> > >1048576000 bytes transferred in 19.580184 secs (53552919 bytes/sec)
> > >
> > >Connecting from a client (both clients get approximately the same
> > >results).
> > >
> > >## Remote connection (UDP), mounted in /etc/fstab as with flags:
> > >## rw,-U,-3,-r=32768,-w=32768
> > >
> > ># dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
> > >1000+0 records in
> > >1000+0 records out
> > >1048576000 bytes transferred in 101.151139 secs (10366428 bytes/sec)
> > >
> > >## Remote connection (TCP), mounted in /etc/fstab as with flags:
> > >## rw,-T,-3,-r=32768,-w=32768
> > >
> > ># dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
> > >1000+0 records in
> > >1000+0 records out
> > >1048576000 bytes transferred in 59.668585 secs (17573334 bytes/sec)
> > >
> > >As can be seen above, TCP is much faster than UPD. I have tried many
> > >different mount settings and these are the best results I could
> > >get. To test whether or not I have having network issues, I
> > >transferred the same nfs.dat file via a http connection and got
> > >~32MB/sec -- almost 2x the speed of the TCP NFS connection. 32MB/sec
> > >is about what I would expect given that my fastest write speed is
> > >~50MB/sec.
> > >
> > >At this point I am stumped. I have tried increasing/changing the
> > >number of nfsiod servers as well as nfs_bufpackets. No matter what
> > >settings I change, the results are always the same. I get only two
> > >errors, first on /var/log/messages on the server I have just begun
> > >seeing:
> > >
> > >Jun 22 21:13:47 crichton rou

Re: NFS Problems/Questions

2007-06-23 Thread Jason Morgan
On Sat, Jun 23, 2007 at 12:46:27PM -0700, Michael Smith wrote:
> Hello Jason:
> 
> On Jun 23, 2007, at 9:34 AM, Jason Morgan wrote:
> 
> >I've been having some trouble with NFS performance for some time and
> >now that class is out, I've had a bit of time to investigate but I'm
> >stuck. Below are the details of my investigation. Hopefully, someone
> >here can give me some advice.
> >
> >The basic problem is that my NFS performance is very slow. Right now,
> >I am connecting two workstations to a NFS server, which has my home
> >directory, etc, mounted. They are connected over a gigabit network
> >(right now with mtu set to 7000, which is supported by all hardware --
> >changing it to 1500 has no effect on performance, which is
> >strange). Each system is running 6.2-RELEASE or -STABLE. Each system
> >is also using the following network card:
> >
> ># ifconfig sk0
> >sk0: flags=8843 mtu 7000
> >options=b
> >inet 10.0.0.2 netmask 0xff00 broadcast 10.0.0.255
> >ether 00:17:9a:bb:05:87
> >media: Ethernet autoselect (1000baseTX  >duplex,flag0,flag1>)
> >status: active
> >
> ># dmesg | grep sk
> >skc0:  port 0xec00-0xecff mem
> >  0xfdff8000-0xfdffbfff irq 18 at device 10.0 on pci0
> >skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x9)
> >sk0:   on skc0
> >sk0:  Ethernet address: 00:17:9a:XX:XX:XX
> >
> >## Server /etc/rc.conf settings
> >
> >rpcbind_enable="YES"
> >rpc_lockd_enable="YES"
> >rpc_statd_enable="YES"
> >nfs_server_enable="YES"
> >nfs_server_flags="-u -t -n 12"
> >nfs_bufpackets="32"
> >mountd_flags="-r"
> >
> >
> >## Client /etc/rc.conf settings
> >
> >nfs_client_enable="YES"
> >nfs_bufpackets="32"
> >nfsiod_enable="YES"
> >nfsiod_flags="-n 6"
> >rpc_lockd_enable="YES"
> >rpc_statd_enable="YES"
> >rpcbind_enable="YES"
> >
> >## /etc/exports
> >
> >/usr -alldirs,maproot=root client1 client2
> >
> >
> >For performance benchmarking, I am using dd. Locally from the server,
> >this is a representative result when writing a 1GB file:
> >
> >## Local write test (for an upper-bound on what to expect).
> >
> ># dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
> >1000+0 records in
> >1000+0 records out
> >1048576000 bytes transferred in 19.580184 secs (53552919 bytes/sec)
> >
> >Connecting from a client (both clients get approximately the same
> >results).
> >
> >## Remote connection (UDP), mounted in /etc/fstab as with flags:
> >## rw,-U,-3,-r=32768,-w=32768
> >
> ># dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
> >1000+0 records in
> >1000+0 records out
> >1048576000 bytes transferred in 101.151139 secs (10366428 bytes/sec)
> >
> >## Remote connection (TCP), mounted in /etc/fstab as with flags:
> >## rw,-T,-3,-r=32768,-w=32768
> >
> ># dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
> >1000+0 records in
> >1000+0 records out
> >1048576000 bytes transferred in 59.668585 secs (17573334 bytes/sec)
> >
> >As can be seen above, TCP is much faster than UPD. I have tried many
> >different mount settings and these are the best results I could
> >get. To test whether or not I have having network issues, I
> >transferred the same nfs.dat file via a http connection and got
> >~32MB/sec -- almost 2x the speed of the TCP NFS connection. 32MB/sec
> >is about what I would expect given that my fastest write speed is
> >~50MB/sec.
> >
> >At this point I am stumped. I have tried increasing/changing the
> >number of nfsiod servers as well as nfs_bufpackets. No matter what
> >settings I change, the results are always the same. I get only two
> >errors, first on /var/log/messages on the server I have just begun
> >seeing:
> >
> >Jun 22 21:13:47 crichton routed[666]: sendto(dc1, 224.0.0.2):  
> >Operation not permitted
> >Jun 22 21:13:47 crichton routed[666]: sendto(sk0, 224.0.0.2):  
> >Operation not permitted
> >Jun 22 21:13:50 crichton routed[666]: sendto(dc1, 224.0.0.2):  
> >Operation not permitted
> >Jun 22 21:13:50 crichton routed[666]: sendto(sk0, 224.0.0.2):  
> >Operation not permitted
> >
> >This appeared after I added a route; however, I added the route after
> >many of the tests were done. I get the same results now as before the
> >new rou

NFS Problems/Questions

2007-06-23 Thread Jason Morgan
I've been having some trouble with NFS performance for some time and
now that class is out, I've had a bit of time to investigate but I'm
stuck. Below are the details of my investigation. Hopefully, someone
here can give me some advice.

The basic problem is that my NFS performance is very slow. Right now,
I am connecting two workstations to a NFS server, which has my home
directory, etc, mounted. They are connected over a gigabit network
(right now with mtu set to 7000, which is supported by all hardware --
changing it to 1500 has no effect on performance, which is
strange). Each system is running 6.2-RELEASE or -STABLE. Each system
is also using the following network card:

# ifconfig sk0
sk0: flags=8843 mtu 7000
options=b
inet 10.0.0.2 netmask 0xff00 broadcast 10.0.0.255
ether 00:17:9a:bb:05:87
media: Ethernet autoselect (1000baseTX )
status: active

# dmesg | grep sk
skc0:  port 0xec00-0xecff mem 
  0xfdff8000-0xfdffbfff irq 18 at device 10.0 on pci0
skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x9)
sk0:   on skc0
sk0:  Ethernet address: 00:17:9a:XX:XX:XX

## Server /etc/rc.conf settings

rpcbind_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 12"
nfs_bufpackets="32"
mountd_flags="-r"


## Client /etc/rc.conf settings

nfs_client_enable="YES"
nfs_bufpackets="32"
nfsiod_enable="YES"
nfsiod_flags="-n 6"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
rpcbind_enable="YES"

## /etc/exports

/usr -alldirs,maproot=root client1 client2


For performance benchmarking, I am using dd. Locally from the server,
this is a representative result when writing a 1GB file:

## Local write test (for an upper-bound on what to expect).

# dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 19.580184 secs (53552919 bytes/sec)

Connecting from a client (both clients get approximately the same
results).

## Remote connection (UDP), mounted in /etc/fstab as with flags:
## rw,-U,-3,-r=32768,-w=32768

# dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 101.151139 secs (10366428 bytes/sec)

## Remote connection (TCP), mounted in /etc/fstab as with flags:
## rw,-T,-3,-r=32768,-w=32768

# dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 59.668585 secs (17573334 bytes/sec)

As can be seen above, TCP is much faster than UPD. I have tried many
different mount settings and these are the best results I could
get. To test whether or not I have having network issues, I
transferred the same nfs.dat file via a http connection and got
~32MB/sec -- almost 2x the speed of the TCP NFS connection. 32MB/sec
is about what I would expect given that my fastest write speed is
~50MB/sec.

At this point I am stumped. I have tried increasing/changing the
number of nfsiod servers as well as nfs_bufpackets. No matter what
settings I change, the results are always the same. I get only two
errors, first on /var/log/messages on the server I have just begun
seeing:

Jun 22 21:13:47 crichton routed[666]: sendto(dc1, 224.0.0.2): Operation not 
permitted
Jun 22 21:13:47 crichton routed[666]: sendto(sk0, 224.0.0.2): Operation not 
permitted
Jun 22 21:13:50 crichton routed[666]: sendto(dc1, 224.0.0.2): Operation not 
permitted
Jun 22 21:13:50 crichton routed[666]: sendto(sk0, 224.0.0.2): Operation not 
permitted

This appeared after I added a route; however, I added the route after
many of the tests were done. I get the same results now as before the
new route. On one of the clients (the one running 6.2-RELEASE-p1), I
also get a nasty error:

nfs/tcp clnt: Error 60 reading socket, tearing down TCP connection

This cropped up last night after I tweaked some settings. They have
now been changed back, but I still get this error. The other client is
unaffected.

I appreciate any help people can provide on tracking down the
issues. Sorry about the long email -- just trying to be thorough. Of
course, I've searched the Internet and can't find any clear assistence
on these issues.

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


Re: Easy USB-drive automounter and "filemanager" for nontechies?

2007-02-01 Thread Jason Morgan
On Thu, Feb 01, 2007 at 09:29:39PM -0500, Rod Person wrote:
> On Thu, 01 Feb 2007 19:52:27 -0500
> Chris Shenton <[EMAIL PROTECTED]> wrote:
> 
> > 
> > I'm looking for something like she'd get on a Mac or PC:
> > 
> > 1. a way to automount the USB 'drive' when she plugs in
> > 2. a visual filemanager or some other friendly way for her to see
> >files and copy them off so she can mail them or whatnot.
> > 3. a way to safely unmount the USB device when she's done   
> > 
> 
> > 
> > I've got no idea about friendly GUI/filemanager with drag-n-drop or
> > other easy way to get files off.  She's using simple olde FVWM2 now
> > and I'd prefer not to load up a massive GUI like KDE or Gnome.  I just
> > don't know what's out there, being a command line dinosuar myself.
> > 
> > Any recommendations?  
> 
> 
> Thunar. I just started using this it's part of XFCE4, but you can
> install it separately, I use it with fluxbox. It uses hal-d but it very
> light.

My wife (non-techie) and I use Thunar in XFCE4.4. Thunar comes
installed by default with XFCE4.4, I believe. It is plenty fast and
doesn't require all the Gnome and KDE bloat. XFCE4 is also newbie
friendly and fast enough for my purposes.

Cheers,

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


Re: gmirror setup

2007-01-22 Thread Jason Morgan
On Mon, Jan 22, 2007 at 10:11:05PM -0600, Jonathan Horne wrote:
> i just set up my first gmirror raid1, and... it was really simple.  too 
> simple.  "ok... what did i skip or do wrong?", was my first thought.

I thought the exact same thing. My previous experience was with vinum
and, while it was great 4 years ago (props to grog), the simplicity of
geom for simple setups was greatly needed.

> i follow the doc from onlamp.com:
> 
> http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=1
> 
> i did have one giant deviation tho, and im wondering if it really makes a 
> difference.  the article depicts creating the gmirror immediately following 
> initial operating system install, but i did my example on a fully functioning 
> system.  other than that, i have 2 identical disks, and things seem to be 
> working:
> 
> castor# gmirror status
>   NameStatus  Components
> mirror/gm0  DEGRADED  ad0
>   ad1 (33%)
>
> im sure im seeing less than the best performance since im using but a single 
> ide channel, but other than that, is it feasible to insert an identical disk, 
> and setup the gmirror at anytime a freebsd'er likes?

Whether or not this is the *right* way to do it or not, I am not sure,
but I can tell you that this is basically what I did on two servers
about 6 months ago and I've had no problems. I even had a drive
failure. When I plugged the new one in, it rebuilt correctly and has
been running well since.

> also, the doc didnt mention it, but if you do use to differing disk sizes, 
> obviously the smaller one should be ad0?  and other than that, is there any 
> difference in setting up gmirror if the second disk is larger?

Yes, make the first disk the smaller one. I don't believe there is a
difference in setup, but the extra space on the second drive (say,
ad2) will be wasted.

Cheers,

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


Re: Manufacturer documented wireless NIC's

2007-01-21 Thread Jason Morgan
On Sun, Jan 21, 2007 at 07:06:16PM -0600, Patrick Bowen wrote:
> I'm looking to replace the Realtek rtl8185 mini-PCI wireless NIC in my 
> laptop, and I was wondering about what to replace it with.
> 
> Could anyone tell me who the manufacturers are that support their chips 
> with documentation available to FreeBSD for the writing of drivers, 
> please. I believe that Ralink and Atmel are in that category, according 
> to the googling I've been able to do.
> 
> I'd like to support those manufacturers that support FreeBSD.
> 
> Thanks in Advance,
> Patrick

Check out:

# man ath_hal

I've been pretty happy with *built-in* ath(4)/ath_hal(4) NICs. I have
no experience with PCMCIA (or whatever they are called) versions.

Cheers,

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


Re: dhcpd update doesn't restart service

2007-01-16 Thread Jason Morgan
On Tue, Jan 16, 2007 at 11:02:54AM -0500, Dave wrote:
> Hello,
>I ran portupgrade on a 6.1 box. One of the ports needing updating was 
> isc-dhcpd it was v3.0.4 now at 3.0.5. I ran this update on two boxes, one 
> went fine, but on the other the service was not restarted. In my 
> pkgtools.conf file i do have the line needed to restart services after an 
> update. I was wondering how to set up a service so that if it died it would 
> be restarted? I know about inetd, but i didn't think dhcpd could run out of 
> it.
> Thanks.
> Dave.

There a script for it in /etc/rc.d/ ? If so, try:

# /etc/rc.d/

Re: Newbie attempting to install Flamenco (open source, python-based, faceted interface)

2007-01-15 Thread Jason Morgan
On Mon, Jan 15, 2007 at 09:19:27AM -0500, Brett Bonfield wrote:
> >Hello Brett,
> >
> >I'd try posing this to [EMAIL PROTECTED] The people that
> >watch that list will probably be more able to help (rather, have more
> >interest in helping you) that those on [EMAIL PROTECTED] Also, when
> >posting there -- if you haven't done so already -- try changing your
> >subject line to something like "Help with porting Flamenco". In the
> >body of your text, you may also want to include the exact requirements
> >of Flamenco (e.g., Python >= 2.4.X, MySQL >= 5.0, etc). The people
> >on that list will be able to tell you right away whether or not a port
> >is easy/possible.
> >
> >Cheers,
> >
> >Jason
> 
> Hi Jason,
> 
> Thank you for replying so quickly, so helpfully, and so cheerfully.
> I've heard nothing but good things about the FreeBSD community, and I
> loved having those good things confirmed.
> 
> Best,
> 
> Brett

Not a problem, Brett. Also see the following link. I imagine the
people over at freebsd-ports@ will want you to look at it.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/

If I weren't in grad school, I'd try to lend a hand myself, but things
are a bit busy here.

Cheers,

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


Re: Newbie attempting to install Flamenco (open source, python-based, faceted interface)

2007-01-14 Thread Jason Morgan
On Sun, Jan 14, 2007 at 10:48:24AM -0500, Brett Bonfield wrote:
> Hi,
> 
> I am a library student at Drexel University in Philadelphia, PA. My
> goal is to aggregate information about the Library and Information
> Science profession (e.g. conferences, mailing lists, blogs,
> professional associations, accredited LIS schools, scholarships,
> etc.). Ironically, no one else has documented my chosen profession, at
> least not online. My hope is to create a self-sustaining community
> that sees the value in faceted interfaces and shares my appreciation
> for the importance of using open source software to organize open
> information.
> 
> I have an excellent host, TextDrive, that is committed to open source
> development and does a very nice job with its machines, but my server
> runs FreeBSD, and Flamenco 
> seems to be Linux-centric: "Please note that we have only tested the
> code on the Linux OS (Red Hat 2.4.21)." By changing the path to Python
> in its install script and replacing cp -a with cp -pRP, I've gotten it
> most of the way installed, but not all the way -- I can't get it to
> install the data itself, what Flamenco calls instances.
> 
> My hope is that someone on this list who is comfortable with Python
> and MySQL might try installing Flamenco and see if it's possible
> within the FreeBSD environment. I realize it seems like a lot of
> bother, but check out Flamenco's examples
> , especially the Nobel Prize
> winners 
> .
> The developers have created a gorgeously clean interface, and they're
> hosting the project on Sourceforge -- but the Flamenco community
> hasn't yet gotten to the point where it can provide its own support.
> My hope is that a visible project, like the one I'm undertaking, might
> get the ball rolling.
> 
> I've tried Flamenco's seemingly solid documentation, Google, FreeBSD
> documentation, TextDrive forums, TextDrive's help desk, and I've
> contacted the developers. I'm not sure what else to try given that
> I've been working on this since November 26, at least a few hours per
> week. I realize I could use MIT's Longwell, but I much prefer
> Flamenco. I hope at least one other person on this list will see the
> value in Flamenco and will be able to figure out what needs to be done
> to make it work within FreeBSD.
> 
> Thank you,
> 
> Brett

Hello Brett,

I'd try posing this to [EMAIL PROTECTED] The people that
watch that list will probably be more able to help (rather, have more
interest in helping you) that those on [EMAIL PROTECTED] Also, when
posting there -- if you haven't done so already -- try changing your
subject line to something like "Help with porting Flamenco". In the
body of your text, you may also want to include the exact requirements
of Flamenco (e.g., Python >= 2.4.X, MySQL >= 5.0, etc). The people
on that list will be able to tell you right away whether or not a port
is easy/possible.

Cheers,

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


Re: ooopackages.good-day.net dead?

2006-12-28 Thread Jason Morgan
On Thu, Dec 28, 2006 at 12:54:00PM -0500, Jason Morgan wrote:
> On Thu, Dec 28, 2006 at 06:40:21PM +0100, Heino Tiedemann wrote:
> > "Andrew Pantyukhin" <[EMAIL PROTECTED]> wrote:
> > 
> > > On 12/28/06, Heino Tiedemann <[EMAIL PROTECTED]> wrote:
> > >> "Andrew Pantyukhin" <[EMAIL PROTECTED]> wrote:
> > >>
> > >> > On 12/28/06, Heino Tiedemann <[EMAIL PROTECTED]> wrote:
> > >> >> "Andrew Pantyukhin" <[EMAIL PROTECTED]> wrote:
> > >> >>
> > >> >> > On 12/28/06, Heino Tiedemann <[EMAIL PROTECTED]> wrote:
> > >> >> >> Hi,
> > >> >> >>
> > >> >> >> all subfolders are gonne:
> > >> >> >> <ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD>
> > >> >> >> What is going on there?
> > >> >> >
> > >> >> > Somebody wants to start using bittorrent, but no, p2p is
> > >> >> > evil, don't you know? :-)
> > >> >>
> > >> >> -vv please
> > >> >
> > >> > For as long as I remember it took ages (or more) to download
> > >> > OOo packages (and sources), but as soon as anyone pointed
> > >> > towards p2p he got shot on the spot because p2p is supposedly
> > >> > ruining the Internet.
> > >>
> > >> Oh. It is realy unbelivable, that there is no hint, no link, no
> > >> message abot that on ooopackages.good-day.net :-(
> > >>
> > >> Okay, I will use bittorerent
> > >> But from where I'll get the latest OOo packages?
> > >
> > > Nowhere, that's the point :-) The official OO.org site
> > > only has the source distribution to offer via p2p. Get
> > > that and 5-20 hours later you'll have a package,
> > 
> > 
> > Sorry, but i cannot believe that.
> > 
> > At 2006/Dec/21 there whre new packages, see
> > http://porting.openoffice.org/freebsd
> > 
> > 
> > Why the hell should it all to be gone seven days later - without any
> > hint?
> > 
> > Heino
> 
> Can you use the packages on the FreeBSD ftp server?
> 
> ftp://ftp.freebsd.org/pub/FreeBSD

Please excuse this post. Wrong forum.

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


Re: ooopackages.good-day.net dead?

2006-12-28 Thread Jason Morgan
On Thu, Dec 28, 2006 at 06:40:21PM +0100, Heino Tiedemann wrote:
> "Andrew Pantyukhin" <[EMAIL PROTECTED]> wrote:
> 
> > On 12/28/06, Heino Tiedemann <[EMAIL PROTECTED]> wrote:
> >> "Andrew Pantyukhin" <[EMAIL PROTECTED]> wrote:
> >>
> >> > On 12/28/06, Heino Tiedemann <[EMAIL PROTECTED]> wrote:
> >> >> "Andrew Pantyukhin" <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> > On 12/28/06, Heino Tiedemann <[EMAIL PROTECTED]> wrote:
> >> >> >> Hi,
> >> >> >>
> >> >> >> all subfolders are gonne:
> >> >> >> 
> >> >> >> What is going on there?
> >> >> >
> >> >> > Somebody wants to start using bittorrent, but no, p2p is
> >> >> > evil, don't you know? :-)
> >> >>
> >> >> -vv please
> >> >
> >> > For as long as I remember it took ages (or more) to download
> >> > OOo packages (and sources), but as soon as anyone pointed
> >> > towards p2p he got shot on the spot because p2p is supposedly
> >> > ruining the Internet.
> >>
> >> Oh. It is realy unbelivable, that there is no hint, no link, no
> >> message abot that on ooopackages.good-day.net :-(
> >>
> >> Okay, I will use bittorerent
> >> But from where I'll get the latest OOo packages?
> >
> > Nowhere, that's the point :-) The official OO.org site
> > only has the source distribution to offer via p2p. Get
> > that and 5-20 hours later you'll have a package,
> 
> 
> Sorry, but i cannot believe that.
> 
> At 2006/Dec/21 there whre new packages, see
> http://porting.openoffice.org/freebsd
> 
> 
> Why the hell should it all to be gone seven days later - without any
> hint?
> 
> Heino

Can you use the packages on the FreeBSD ftp server?

ftp://ftp.freebsd.org/pub/FreeBSD

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


Re: EVGA e-Geforce 7300GT

2006-12-14 Thread Jason Morgan
On Thu, Dec 14, 2006 at 11:41:53AM -0600, Vulpes Velox wrote:
> On Thu, 14 Dec 2006 11:12:02 -0500
> Dan Sikorsky <[EMAIL PROTECTED]> wrote:
> 
> > Hey, Im planning on installing this card tonite
> > 
> > freebsd 6.1 i386
> > 
> > Im using a crappy radeon x300se right now, which has the Radeon
> > choice in xorgconfig, however theres no geforce choice.
> > Now, I've read that nvidia is the way to go for freebsd as they
> > have Drivers!
> > 
> > so how do I go about this, I can pkg_add these drivers? and then
> > how do I tune X
> > to use them
> 
> Pkg_add should be perfectly fine. Do a man on X and look at the
> -configure option. From there you can easily tweak that file to your
> liking.

The nvidia driver for FreeBSD comes with good documentation that's
fairly clear and concise. After adding the package, take a few minutes
to read through the referred-to docs. You should be up and running in
no time.

Cheers,

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


Re: Is the new version going to be easier to get working?

2006-09-02 Thread Jason Morgan
On Sat, Sep 02, 2006 at 02:33:13PM +1000, NoIP (exemail) wrote:
> Hi,
> 
> Two mornings ago I was feeling pretty good. I had downloaded and
> burnt to disc freebsd, pcbsd and also desktopbsd. But not now
> 
> Having 21 computers here I figured I would finally be rid of
> MSwindows, and have a complete LAN system that was more reliable.
> 
> Seven computers I have tried with all three BSDs and not one of them
> managed to produce a working network connection. The only thing I achieved
> was that now I can almost visualise every screen from the installations.
> 
> I am baffled by how anyone is able to get a bsd networked system
> working.  I guess I just have to stick with a windowsOS.
> 
> Regards ...
> 
> Ian Galloway

Hello Ian,

Perhaps you could offer more information explaining what you've tried,
a bit about your network setup, and the results of running dmesg and
ifconfig on one of your problem systems? Without that, it will be
tough to help you.

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


Re: Install then reboot

2006-08-30 Thread Jason Morgan
On Wed, Aug 30, 2006 at 07:58:58PM +0200, Jordi Carrillo wrote:
> When I compile a new program from ports, freebsd takes quite a lot of RAM.
> Is that something right or it's a flaw? It does happen to you? The main
> problem is that not all memory used in compilation is freed, so it can be a
> problem (meaning rebooting) after compiling a very big software such as
> openoffice or gnome.

How much memory FreeBSD uses when installing a port usually depends on
the port. However, how are you determining that the memory is not
freed up after the port is done installing? Are you running into
situation where a huge percentage of your ram is being used during the
build process, which then forces the system to swap *after* the
install is complete? If you are determining the amount of free ram by
simply looking at top(1), and the system is not swapping, then I don't
think you have an issue. FreeBSD will free up the memory when it needs
it.

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


Re: DVD Hardware Errors

2006-08-22 Thread Jason Morgan
On Wed, Aug 23, 2006 at 12:32:06AM +0200, Jose Luis Alarcon Sanchez wrote:
> Hi.
> 
> I have a i686 machine with FreeBSD 6.1-RELEASE. It works very well...
> except the DVD player. This is the line the kernel show at boot about
> this unit: 
> 
> acd0: DVDROM  at
> ata1-master UDMA66
> 
> Well, this DVD works allright with diferent GNU/Linux flavours, without
> any kind of problem. But in FreeBSD is continuosly giving this error
> kernel lines:
> 
> acd0: FAILURE - READ_BIG HARDWARE ERROR asc=0x08 ascq=0x03 acd0: FAILURE
> - READ_BIG HARDWARE ERROR asc=0x08 ascq=0x03...
> 
> This line is repeated many times when a program try to read the DVD and
> only stop when the program finish. If i mount a data CDROM (or DVD) i
> can do "ls" of the content but if i try copy any file to the hard disk
> the answer is "Input/output error". This is the /etc/fstab stuuf:
> 
> /dev/acd0  /cdrom  cd9660  ro,noauto   0   0
> 
> Only the music CDs are "well played", but nothing to do with movies or
> data.
> 
> The player is not damaged, with GNU/Linux works very fine...
> 
> Anybody in this lists knows if this unit have a reported 
> "not compatibility" with FreeBSD?, or anybody have a similar problem
> with others DVD or CD players?. Any solution, please?.
> 
> Thanks you very much, in advance. I am really desperado with this.

Try mounting the device as SCSI cd device. I have to do the same with
a Pioneer DVD-ROM (a DVD-118, I believe). You'll need (at least)

device  scbus
device  cd

in your kernel. I had trouble using acd but haven't had any since I
began using cd. Someone else should be able to explain why the Pioneer
DVD-ROMs play better with cd.

Good luck,

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


Re: Drive Failure or User Error?

2006-08-21 Thread Jason Morgan
On Sun, Aug 20, 2006 at 03:22:45PM -0400, Lowell Gilbert wrote:
> Jason Morgan <[EMAIL PROTECTED]> writes:
> 
> > I was setting up a new server (6.1 i386 STABLE) - more specifically, I
> > was mirroring the functioning server drive - when I suddenly got this:
> >
> > ad0 FAILURE - READ_DMA48 status=51
> > error=40 LBA=611703808
> > GEOM_MIRROR: Request failed (error=5). ad0[READ(offset=313192349696, 
> > length=131072)]
> >
> > Along with several more errors, which were very similar. At this point,
> > the server pretty much froze and would repeat the error at reboot, and
> > as gmirror began resyncing the drive, the server would crash. I've tried
> > disabling the mirror, fscking (multiple times), removing disks, and I
> > just got done reinstalling (which went just fine) and resyncing. I still
> > get the error and the system becomes unusable.
> >
> > So, my question is - and I suspect this is the case - is this a drive 
> > failure or some issue with the mirroring process?
> 
> It *is* a drive failure, but I don't understand all of what's
> happening there.  It is possible that this is not a FATAL drive
> failure, but it's hard to be certain from this information.  If you
> can figure out which file contains the bad sector, you can rewrite
> that file and the drive may be able to recover.

Thanks for your reply. After messing with it some more, I decided to
just send the drive back and see if I have better luck with the
replacement. The sector that was damaged was on an almost-empty
portion of the disk, which was a bit strange to me. *shrugs*

Thanks again,

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


Drive Failure or User Error?

2006-08-19 Thread Jason Morgan
I was setting up a new server (6.1 i386 STABLE) - more specifically, I
was mirroring the functioning server drive - when I suddenly got this:

ad0 FAILURE - READ_DMA48 status=51
error=40 LBA=611703808
GEOM_MIRROR: Request failed (error=5). ad0[READ(offset=313192349696, 
length=131072)]

Along with several more errors, which were very similar. At this point,
the server pretty much froze and would repeat the error at reboot, and
as gmirror began resyncing the drive, the server would crash. I've tried
disabling the mirror, fscking (multiple times), removing disks, and I
just got done reinstalling (which went just fine) and resyncing. I still
get the error and the system becomes unusable.

So, my question is - and I suspect this is the case - is this a drive 
failure or some issue with the mirroring process? I followed the ONLamp 
instructions here: 

http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html 

which I've used in the past with success.

Thanks in advance for your replies.


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


Re: gmirror on different sized disks

2006-08-19 Thread Jason Morgan
On Fri, Aug 18, 2006 at 03:47:57PM -0500, Doug Poland wrote:
> Hello,
> 
> Until just a few moments ago, I thought I had identical sized drives
> (arrays, really) on my i386 6.1-STABLE box.
> 
> I was trying to create a gmirror on ar1 from ar0 when gmirror reported
> to me:  Provider ar1 too small.
> 
> my dmesg reports:
> ar0: 152638MB  status: READY
> ar1: 152637MB  status: READY
> 
> So it would seem I'm 1MB away from being able to create a "whole disk"
> mirror of ar0 on ar1.
> 
> Is my only recourse to mirror individual slices, as described in
> http://people.freebsd.org/~rse/mirror/ ??
> 
> Thanks for any help/pointers/suggestions.

Use your smaller disk as the first drive your insert into the mirror and 
I think you'll be ok.

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


Re: Why do I have to keep doing "portsnap extract"?

2006-05-04 Thread Jason Morgan
On Thu, May 04, 2006 at 04:40:32PM -0500, Peggy Wilkins wrote:
> I just recently started using portsnap in lieu of cvsup on my ports
> tree for FreeBSD-6.0-RELEASE.  I thought it was supposed to be more
> efficient than cvsup, but I'm finding it to be worse.  I followed the
> directions from the Handbook that say to run "portsnap fetch update"
> to update the ports tree (assuming it's already been set up
> previously, which I did a couple weeks ago)... but when the fetch
> finished, it told me that I needed to "run extract before update".
> 
> Unfortunately, extract takes forever to run, so this is much worse
> than running cvsup.
> 
> Am I doing something wrong?  I thought I was following the directions
> in the Handbook.  I ran extract the first time I did it, before
> running update, why do I need to run it again?

The first time you run portsnap:

# portsnap fetch
# portsnap extract

Subsequent usage:

# portsnap fetch update

Did you run `extract' after your original `fetch'?


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


Re: Quick Routing Question

2005-11-01 Thread Jason Morgan
On Tue, Nov 01, 2005 at 07:49:54PM -0500, Steve Bertrand wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Jason Morgan
> > Sent: Tuesday, November 01, 2005 6:47 PM
> > To: freebsd-questions@freebsd.org
> > Subject: Re: Quick Routing Question
> > 
> > On Tue, Nov 01, 2005 at 03:10:44PM -0600, Eric F Crist wrote:
> > > 
> > > On Nov 1, 2005, at 11:15 AM, Jason Morgan wrote:
> > > >...
> > > >Ok, it looks like it was an issue with the default settings on the 
> > > >Linksys (and is still somewhat of an issue). I can now connect to 
> > > >systems in each of the two subnets and I also have routing to the 
> > > >outside world from both subnets. My only remaining issue 
> > is getting 
> > > >to the web app setup for the Linksys - I can only do it 
> > from a local 
> > > >address (meaning a 192.168.1.x address).  The Linksys refuses 
> > > >connections from my 10.0.0.x subnet. Is this a NAT issue?
> > > >
> > > 
> > > Most Linksys routers deny configuration from the WAN interface by 
> > > default.  You MUST configure the linksys router initially to enable 
> > > administration via the WAN interface.  At the very least, 
> > please set a 
> > > reasonable password and enable https!
> > 
> > Yeah, the router was denying connections from 10.0.0.0. I 
> > have fixed this, changed the password, and disallowed 
> > alterations from the WAN.
> 
> Great!
> 
> However, to the previous poster...
> 
> You may have missed it, but we had eliminated the WAN from the equation
> early on.
> 
> He is using the AP on the layer-2 side only. The WAN is connected to
> nothing, so that was not the issue (so far as I was involved in this
> thread).
> 
> I understand that the default on a Linksys does not allow WAN admin, but
> again, that was not the case here.
> 
> Jason...what fixed it? Was it the addition of the new static route? 
> 
> Please enlighten me.

Bingo, it was the static route. The wireless router didn't like getting 
connection attempts from 10.0.0.0 addresses. Turns out, the FreeBSD
machine was operating as advertised. Now it's time to get IPSEC set up.

Cheers,
Jason

> 
> Tks,
> 
> Steve
> 
> > 
> > Once again, thanks everyone for the help.
> > 
> > > 
> > > -
> > > Eric F Crist
> > > Secure Computing Networks
> > > http://www.secure-computing.net
> > > 
> > > 
> > > 
> > ___
> > 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: Quick Routing Question

2005-11-01 Thread Jason Morgan
On Tue, Nov 01, 2005 at 03:10:44PM -0600, Eric F Crist wrote:
> 
> On Nov 1, 2005, at 11:15 AM, Jason Morgan wrote:
> >...
> >Ok, it looks like it was an issue with the default settings on the
> >Linksys (and is still somewhat of an issue). I can now connect to
> >systems in each of the two subnets and I also have routing to the
> >outside world from both subnets. My only remaining issue is getting to
> >the web app setup for the Linksys - I can only do it from a local
> >address (meaning a 192.168.1.x address).  The Linksys refuses
> >connections from my 10.0.0.x subnet. Is this a NAT issue?
> >
> 
> Most Linksys routers deny configuration from the WAN interface by  
> default.  You MUST configure the linksys router initially to enable  
> administration via the WAN interface.  At the very least, please set  
> a reasonable password and enable https!

Yeah, the router was denying connections from 10.0.0.0. I have fixed 
this, changed the password, and disallowed alterations from the WAN.

Once again, thanks everyone for the help.

> 
> -
> Eric F Crist
> Secure Computing Networks
> http://www.secure-computing.net
> 
> 
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Quick Routing Question

2005-11-01 Thread Jason Morgan
On Tue, Nov 01, 2005 at 12:42:27PM -0500, Steve Bertrand wrote:
> 
> > Ok, it looks like it was an issue with the default settings 
> > on the Linksys (and is still somewhat of an issue). I can now 
> > connect to systems in each of the two subnets and I also have 
> > routing to the outside world from both subnets. My only 
> > remaining issue is getting to the web app setup for the 
> > Linksys - I can only do it from a local address (meaning a 
> > 192.168.1.x address).  The Linksys refuses connections from 
> > my 10.0.0.x subnet. Is this a NAT issue?
> 
> No, this is not a NAT issue.
> 
> You are not doing NAT in this situation (on exception through to the
> Internet)...the 10/24 and 192.168.1/24 subnets are routed (not NAT'd)
> through the FBSD box. They are communicating directly to one another,
> with no translation at all.
> 
> The problem here (my opinion only), is that the Linksys sees the 10.x
> address and is not familiar with it (unless explicitly told to do so).
> 
> What you need to do, is set a static route inside the Linksys that
> states that 10.0.0.x/24 should be routed to 192.168.1.2 (aka FBSD fw),
> out the LAN side of the device. Otherwise, what will happen is that the
> Linksys sees 10/24 as an *outside* address range, and it will forever
> trying to send it out it's WAN side, to it's default GW, even if there
> is not one configured.
> 
> The Linksys may try to give up searching for the 10 network because the
> only addresses it knows how to route through the LAN side will be the
> 192 network.
> 
> I hope I haven't confused you here. I've gotten quite busy so I'm typing
> faster tham I'm able to think :)
> 
> Anyway, it's been a while since I've played with a Linksys, but I am
> certain you can add static routes.
> 
> Again, what you want is a route that states:
> 
> - if it needs to go to 10.0.0.0, 255.255.255.0, send it to 192.168.1.2.

Got it. I'll try that. The Linksys does allow you to specify static 
routes.

-Jason

> 
> Now, one more thing...it may be possible that the Linksys interface may
> ONLY allow connection from it's own subnet, but you'll be able to
> enlighten me here :)
> 
> > Thanks again for all the help. tcpdump helped a lot.
> 
> No problem. I'm glad I could be of help.
> 
> Truly, what you are learning here is how the Internet as a whole works
> (as far as routing is concerned). The only difference is that you are
> playing with private IP address allocations, as opposed to public
> addresses.
> 
> Steve
> 
> > 
> > Jason
> > 
> > > 
> > > Cheers, and good luck!
> > > 
> > > Steve
> > > 
> > ___
> > 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: Quick Routing Question

2005-11-01 Thread Jason Morgan
On Tue, Nov 01, 2005 at 06:37:16PM +0100, Fabian Keil wrote:
> Jason Morgan <[EMAIL PROTECTED]> wrote:
> 
> > On Tue, Nov 01, 2005 at 11:24:59AM -0500, Steve Bertrand wrote:
>  
> > > And again, tcpdump is a very good tool. The -i switch tells it what
> > > interface to listen on, so if the wireless side of the router works
> > > but you can't ping across to the cabled side, then apply the cabled
> > > interface to the -i switch and you'll be able to see if traffic is
> > > making that far, and if it is, if it's even attempting to go back.
> > 
> > Ok, it looks like it was an issue with the default settings on the 
> > Linksys (and is still somewhat of an issue). I can now connect to 
> > systems in each of the two subnets and I also have routing to the 
> > outside world from both subnets. My only remaining issue is getting
> > to the web app setup for the Linksys - I can only do it from a local 
> > address (meaning a 192.168.1.x address).  The Linksys refuses 
> > connections from my 10.0.0.x subnet. Is this a NAT issue?
> 
> Do you have NAT enabled between 192.168.1.0 and 10.0.0.0?
> If you do, the Linksys shouldn't see any 10.0.0.x addresses.
> 
> If you don't, this is probably a security measure.
> Perhaps the Linksys supports a white list to
> allow access from non-local addresses.

I never explicity set the FreeBSD machine to enable NAT between these 
subnets. Should I do so? Do I just add another natd_interface to 
rc.conf?

Right now, the NAT related entries in rc.conf on the gateway look like
this:

natd_enable="YES"
natd_interface="xl0"  #public interface
natd_flags="-dynamic -m"

Thanks again,
Jason

> 
> Fabian
> -- 
> http://www.fabiankeil.de/


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


Re: Quick Routing Question

2005-11-01 Thread Jason Morgan
On Tue, Nov 01, 2005 at 11:24:59AM -0500, Steve Bertrand wrote:
>  
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Jason Morgan
> > Sent: Tuesday, November 01, 2005 11:03 AM
> > To: FreeBSD Questions
> > Subject: Re: Quick Routing Question
> > 
> > On Tue, Nov 01, 2005 at 10:25:25AM -0500, Steve Bertrand wrote:
> > > 
> > > > DestinationGatewayFlagsRefs  
> > Use  Netif 
> > > > Expire
> > > > default70.183.13.193  UGS 0
> > 24701xl0
> > > > 10/24  link#3 UC  0   
> >  0   fxp0
> > > > 10.0.0.1   00:d0:b7:44:f9:c6  UHLW0  
> > 903lo0
> > > > 10.0.0.2   00:50:8d:e5:a5:41  UHLW0   322468  
> > > >  fxp0572
> > > > 10.0.0.4   00:e0:98:04:01:f6  UHLW0 1131  
> > > >  fxp0   1140
> > > > 70.183.13.192/26   link#2 UC  0   
> >  0xl0
> > > > 70.183.13.193  00:13:5f:00:f0:ee  UHLW10  
> > > >   xl0   1188
> > > > 70.183.13.213  00:50:04:cf:52:8a  UHLW0   
> > 18lo0
> > > > 127.0.0.1  127.0.0.1  UH  0   
> >  0lo0
> > > > 192.168.1  link#1 UC  0   
> >  0dc0
> > > 
> > > Ok, this looks ok. The 10/24 network *should* be able to see/route 
> > > anything back and forth to the 192.168.1/24 network without 
> > difficulty.
> > > 
> > > Now, I can't remember if you said how this was cabled, but 
> > this is how 
> > > I set up my wifi networks:
> > > 
> > > - plug the wireless network interface in the FBSD router 
> > into one of 
> > > the LAN switch ports on the wireless AP/router (if indeed 
> > it is a router).
> > > The IP address on the LAN side of the AP is irrelevant, so 
> > long as you 
> > > don't conflict with another IP.
> > 
> > Yes, that's what I've done.
> > 
> > > - Give the wireless laptop a static IP inside the wireless IP subnet
> > 
> > As soon as I can get the Linksys set up, I will.
> > 
> > > - Have nothing plugged into the WAN side of the wireless AP, as you 
> > > don't want routing with that unit, you just want a layer-2
> > > (bridged/switched) AP.
> > 
> > Correct.
> > 
> > > - effectively, if you have wireless connectivity from the laptop to 
> > > the AP, you should be able to ping the FW, and vice-versa
> > 
> > Checking to make sure the wireless router is routing now, but 
> > I can ping from the FreeBSD gateway to the router (as well as 
> > hit the web setup with lynx).
> 
> Ok, slick...you are more than half way there. Carry on with bringing
> over a client to the wireless side of things (even if it's just cabled
> into the Linksys for now), to see if you can get through the AP, to the
> router. Then proceed to try to ping the cabled iface of the FBSD box
> from said client. If you can do that, then try a wireless client, to
> ensure the problem doesn't stem from wifi connectivity.
> 
> And again, tcpdump is a very good tool. The -i switch tells it what
> interface to listen on, so if the wireless side of the router works but
> you can't ping across to the cabled side, then apply the cabled
> interface to the -i switch and you'll be able to see if traffic is
> making that far, and if it is, if it's even attempting to go back.

Ok, it looks like it was an issue with the default settings on the 
Linksys (and is still somewhat of an issue). I can now connect to 
systems in each of the two subnets and I also have routing to the 
outside world from both subnets. My only remaining issue is getting to 
the web app setup for the Linksys - I can only do it from a local 
address (meaning a 192.168.1.x address).  The Linksys refuses 
connections from my 10.0.0.x subnet. Is this a NAT issue?

Thanks again for all the help. tcpdump helped a lot.

Jason

> 
> Cheers, and good luck!
> 
> Steve
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Quick Routing Question

2005-11-01 Thread Jason Morgan
On Tue, Nov 01, 2005 at 10:25:25AM -0500, Steve Bertrand wrote:
> 
> > DestinationGatewayFlagsRefs  Use  Netif 
> > Expire
> > default70.183.13.193  UGS 024701xl0
> > 10/24  link#3 UC  00   fxp0
> > 10.0.0.1   00:d0:b7:44:f9:c6  UHLW0  903lo0
> > 10.0.0.2   00:50:8d:e5:a5:41  UHLW0   322468  
> >  fxp0572
> > 10.0.0.4   00:e0:98:04:01:f6  UHLW0 1131  
> >  fxp0   1140
> > 70.183.13.192/26   link#2 UC  00xl0
> > 70.183.13.193  00:13:5f:00:f0:ee  UHLW10  
> >   xl0   1188
> > 70.183.13.213  00:50:04:cf:52:8a  UHLW0   18lo0
> > 127.0.0.1  127.0.0.1  UH  00lo0
> > 192.168.1  link#1 UC  00dc0
> 
> Ok, this looks ok. The 10/24 network *should* be able to see/route
> anything back and forth to the 192.168.1/24 network without difficulty.
> 
> Now, I can't remember if you said how this was cabled, but this is how I
> set up my wifi networks:
> 
> - plug the wireless network interface in the FBSD router into one of the
> LAN switch ports on the wireless AP/router (if indeed it is a router).
> The IP address on the LAN side of the AP is irrelevant, so long as you
> don't conflict with another IP. 

Yes, that's what I've done.

> - Give the wireless laptop a static IP inside the wireless IP subnet

As soon as I can get the Linksys set up, I will.

> - Have nothing plugged into the WAN side of the wireless AP, as you
> don't want routing with that unit, you just want a layer-2
> (bridged/switched) AP.

Correct.

> - effectively, if you have wireless connectivity from the laptop to the
> AP, you should be able to ping the FW, and vice-versa

Checking to make sure the wireless router is routing now, but I can ping 
from the FreeBSD gateway to the router (as well as hit the web setup 
with lynx).

> If it doesn't work, cable up the laptop to the LAN side of the AP,
> ensuring it has a proper IP in the wifi range, and then ping.
> 
> If all else fails, set up a round of say 100 pings from the laptop to
> the FBSD box, and on the FBSD box, do this:
> 
> # tcpdump -n -i fxp0
> 
> where fxp0 is the interface the AP is plugged into. This will show you
> first, if the pings are getting from the wifi subnet to the FBSD box,
> and also if they are being returned. Inbound pings but no outbound pings
> could indicate a deeper routing issue or FW issue. No inbound pings
> could indicate a problem with IP allocation or subnet issues.
> 
> tcpdump (1) is a great tool, and may even help further troubleshoot the
> issue.

Thanks for the suggestions. Never played with tcpdump before.

> 
> If you can ping from wifi to FBSD wifi interface, then push the scope of
> the test further, trying to ping the cabled side of the FBSD box.
> 
> let us know what you find, as the more detail we have after certain
> tests, will enable us to provide further recommendations. Also, an
> ifconfig output could help too, so long everything is all connected.

I'll move a client from the 'wired' side to the 'wireless' side here 
shortly. Thanks for the help.

-Jason


> Regards,
> 
> Steve
> 
> > 
> > Internet6:
> > Destination   Gateway  Flags 
> > Netif Expire
> > ::1   ::1  UH lo0
> > fe80::%dc0/64 link#1   UC dc0
> > fe80::204:5aff:fe42:5084%dc0  00:04:5a:42:50:84UHLlo0
> > fe80::%xl0/64 link#2   UC xl0
> > fe80::250:4ff:fecf:528a%xl0   00:50:04:cf:52:8aUHLlo0
> > fe80::%fxp0/64link#3   UC fxp0
> > fe80::2d0:b7ff:fe44:f9c6%fxp0 00:d0:b7:44:f9:c6UHLlo0
> > fe80::%lo0/64 fe80::1%lo0  U  lo0
> > fe80::1%lo0   link#4   UHLlo0
> > ff01::/32 ::1  U  lo0
> > ff02::%dc0/32 link#1   UC dc0
> > ff02::%xl0/32 link#2   UC xl0
> > ff02::%fxp0/32link#3   UC fxp0
> > ff02::%lo0/32 ::1  UC lo0
> > 
> > 
> > Also, made one small error in my initial post.  The wireless 
> > router has IP 192.168.1.1 and the server's 'wireless' 
> > interface is 192.168.1.2 (going to switch these as soon as I 
> > get access to the wireless router settings).
> > 
> > I've tried setting static routes between various interfaces 
> > on the FreeBSD machine, it hasn't worked, but I may be doing 
> > it wrong. I thought routed should take care of this 
> > dynamically, but I'm a bit unsure about that.
> > 
> > > 
> > > Steve
> > > 
> > > > 
> > > > Fabian
> > > > --
> > > > http://www.fabiankeil.de/
> > > > 
> > > 

Re: Quick Routing Question

2005-11-01 Thread Jason Morgan
On Tue, Nov 01, 2005 at 07:03:26AM -0800, Brian E. Conklin wrote:
> Do you have gateway_enable="YES" in your rc.conf?

Yes, I do. The FreeBSD works fine for routing to the outside, it's 
between the subnets where I run into issues.


> 
> Brian E. Conklin, MCP+I, MCSE
> Director of Information Services
> Mason General Hospital
> http://www.masongeneral.com
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jason Morgan
> Sent: Monday, October 31, 2005 9:42 PM
> To: FreeBSD Questions
> Subject: Quick Routing Question
> 
> 
> I am setting up a wireless subnet and, while the gateway (FreeBSD
> system) is communicating fine with the wireless router, my other subnet
> is not able to connect to the wireless router. Here is a diagram of my
> network, I think it's fairly typical.
> 
> 
>  Wired Subnet (10.0.0.x)
> /
>/
> Internet <-- FreeBSD Machine 
>\
> \
>  Wireless Subnet (192.168.1.x)
> 
> 
> The 'wired' interface on the FreeBSD machine has an IP of 10.0.0.1, with 
> the 'wireless' IP being 192.168.1.1.  Now, the FreeBSD machine and the 
> wireless router (192.168.1.2) communicate fine as does the wired subnet; 
> however, I am not able to connect from a 10.0.0.x client to the wireless 
> router. After running traceroute, etc, it seems that the FreeBSD machine 
> is simply not routing the data from one subnet to the other. I've 
> verified that it's not the firewall blocking packets. How do I get these 
> subnets to communicate?
> 
> Thanks,
> Jason
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> =
> Mason General Hospital
> 901 Mt. View Drive
> PO Box 1668
> Shelton, WA 98584
> http://www.masongeneral.com
> (360) 426-1611
> =
> This message is intended for the sole use of the individual and entity
> to whom it is addressed and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law. If you
> are not the addressee nor authorized to receive for the addressee, you
> are hereby notified that you may not use, copy, disclose or distribute
> to anyone this message or any information contained in the message. If
> you have received this message in error, please immediately notify the
> sender and delete the message.
> 
> Replying to this message constitutes consent to electronic monitoring
> of this message.
> 
> Thank you.
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Quick Routing Question

2005-11-01 Thread Jason Morgan
On Tue, Nov 01, 2005 at 09:03:11AM -0500, Steve Bertrand wrote:
>  
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Fabian Keil
> > Sent: Tuesday, November 01, 2005 5:58 AM
> > To: Jason Morgan
> > Cc: FreeBSD Questions
> > Subject: Re: Quick Routing Question
> > 
> > Jason Morgan <[EMAIL PROTECTED]> wrote:
> > 
> > > I am setting up a wireless subnet and, while the gateway (FreeBSD
> > > system) is communicating fine with the wireless router, my other 
> > > subnet is not able to connect to the wireless router. Here is a 
> > > diagram of my network, I think it's fairly typical.
> > > 
> > > 
> > >  Wired Subnet (10.0.0.x)
> > > /
> > >/
> > > Internet <-- FreeBSD Machine 
> > >\
> > > \
> > >  Wireless Subnet (192.168.1.x)
> > > 
> > > 
> > > The 'wired' interface on the FreeBSD machine has an IP of 10.0.0.1, 
> > > with the 'wireless' IP being 192.168.1.1.  Now, the FreeBSD machine 
> > > and the wireless router (192.168.1.2) communicate fine as does the 
> > > wired subnet; however, I am not able to connect from a 
> > 10.0.0.x client 
> > > to the wireless router. After running traceroute, etc, it 
> > seems that 
> > > the FreeBSD machine is simply not routing the data from one 
> > subnet to 
> > > the other. I've verified that it's not the firewall 
> > blocking packets. 
> > > How do I get these subnets to communicate?
> > 
> > Did you put gateway_enable=YES in rc.conf?
> > Did you read
> > <http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/net
> > work-routing.html>?

Yes, the FreeBSD machine has been acting as a router/gateway/firewall
for the wired network for quite some time. I did look at the handbook,
that's usually my first stop.

> 
> Also, what does:
> 
> # netstat -rn
> 
> ...output?

# netstat -rn

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif 
Expire
default70.183.13.193  UGS 024701xl0
10/24  link#3 UC  00   fxp0
10.0.0.1   00:d0:b7:44:f9:c6  UHLW0  903lo0
10.0.0.2   00:50:8d:e5:a5:41  UHLW0   322468   fxp0572
10.0.0.4   00:e0:98:04:01:f6  UHLW0 1131   fxp0   1140
70.183.13.192/26   link#2 UC  00xl0
70.183.13.193  00:13:5f:00:f0:ee  UHLW10xl0   1188
70.183.13.213  00:50:04:cf:52:8a  UHLW0   18lo0
127.0.0.1  127.0.0.1  UH  00lo0
192.168.1  link#1 UC  00dc0

Internet6:
Destination   Gateway  Flags Netif Expire
::1   ::1  UH lo0
fe80::%dc0/64 link#1   UC dc0
fe80::204:5aff:fe42:5084%dc0  00:04:5a:42:50:84UHLlo0
fe80::%xl0/64 link#2   UC xl0
fe80::250:4ff:fecf:528a%xl0   00:50:04:cf:52:8aUHLlo0
fe80::%fxp0/64link#3   UC fxp0
fe80::2d0:b7ff:fe44:f9c6%fxp0 00:d0:b7:44:f9:c6UHLlo0
fe80::%lo0/64 fe80::1%lo0  U  lo0
fe80::1%lo0   link#4   UHLlo0
ff01::/32 ::1  U  lo0
ff02::%dc0/32 link#1   UC dc0
ff02::%xl0/32 link#2   UC xl0
ff02::%fxp0/32link#3   UC fxp0
ff02::%lo0/32 ::1  UC lo0


Also, made one small error in my initial post.  The wireless router has 
IP 192.168.1.1 and the server's 'wireless' interface is 192.168.1.2 
(going to switch these as soon as I get access to the wireless router 
settings).

I've tried setting static routes between various interfaces on the 
FreeBSD machine, it hasn't worked, but I may be doing it wrong. I 
thought routed should take care of this dynamically, but I'm a bit 
unsure about that.

> 
> Steve
> 
> > 
> > Fabian
> > --
> > http://www.fabiankeil.de/
> > 
> 

Thanks alot for the replies. I appreciate it.

Jason

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


Quick Routing Question

2005-10-31 Thread Jason Morgan
I am setting up a wireless subnet and, while the gateway (FreeBSD
system) is communicating fine with the wireless router, my other subnet
is not able to connect to the wireless router. Here is a diagram of my
network, I think it's fairly typical.


 Wired Subnet (10.0.0.x)
/
   /
Internet <-- FreeBSD Machine 
   \
\
 Wireless Subnet (192.168.1.x)


The 'wired' interface on the FreeBSD machine has an IP of 10.0.0.1, with 
the 'wireless' IP being 192.168.1.1.  Now, the FreeBSD machine and the 
wireless router (192.168.1.2) communicate fine as does the wired subnet; 
however, I am not able to connect from a 10.0.0.x client to the wireless 
router. After running traceroute, etc, it seems that the FreeBSD machine 
is simply not routing the data from one subnet to the other. I've 
verified that it's not the firewall blocking packets. How do I get these 
subnets to communicate?

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


Wireless Adapter (PCI) for FBSD 4.11

2005-10-28 Thread Jason Morgan
Could someone point me to a wireless adapter that functions with FBSD 
4.11?  I was hoping to get a 802.11g capable card, but it doesn't appear 
that the ath(4) driver is available to 4.11 and wi(4) seems to only 
mention 802.11a cards. The list in wi(4) also seems somewhat out of 
date. Is it even possible to use 802.11g cards with 4.11?  I don't have 
the option of moving the system to 5.x or 6.x.

Thanks for your time,

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


Re: Strange (newbie) Gateway Errors

2005-09-10 Thread Jason Morgan
On Sat, Sep 10, 2005 at 07:48:18AM -0500, [EMAIL PROTECTED] wrote:
> I too have been having these errors and inability to setup a network.
> 
> Please ref:   Home Network Setup Problem
> 
> Possible problem with natd? netstart? arp?
> 
> Donald

Without knowing what you've tried, it's hard to give you some advice. 
What's your rc.conf look like? Have you set the appropriate kernel 
options? Version of FreeSBD?

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


Re: Won't go into multi-user mode

2005-09-05 Thread Jason Morgan
On Mon, Sep 05, 2005 at 01:25:29PM -0400, Christopher H. Laco wrote:
> Lowell Gilbert wrote:
> >Understood.  Nonetheless, this is not enough information from which to
> >diagnose the problem.
> 
> Enough or not, It's all there is.
> I installed FBSD. I supped and built to stable.
> Everthing boots and works fine.
> 
> I installed mysql4.0 from ports and multi-user mode is now never reached 
>  during boot.
> 
> There are no errors in any logs on in any console output.
> Disabling mysql-server.sh solves the problem and allows multi-user mode 
> to be reached  during boot.
> 

You try 'boot -v' to see if there are any hidden messages?

-Jason

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


Re: Hard disk woes

2005-09-05 Thread Jason Morgan
On Mon, Sep 05, 2005 at 03:16:13PM +, Michael Abbott wrote:
> I'm having some very odd behaviour from one of my hard disks and I wonder
> what anybody makes of it.
> 
> In brief, the hard disk in questions works just fine much of the time, but
> when high volume data transfers are requested I get the following in
> /var/log/messages:
> 
> Sep  3 15:21:02 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
> resetting
> Sep  3 15:21:02 saturn /kernel: ata3: resetting devices .. done
> Sep  3 15:21:12 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
> resetting
> Sep  3 15:21:12 saturn /kernel: ata3: resetting devices .. done
> Sep  3 15:21:23 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
> resetting
> Sep  3 15:21:23 saturn /kernel: ata3: resetting devices .. done
> Sep  3 15:21:33 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
> resetting
> Sep  3 15:21:33 saturn /kernel: ad6: trying fallback to PIO mode
> Sep  3 15:21:33 saturn /kernel: ata3: resetting devices .. done
> Sep  3 15:21:43 saturn /kernel: ad6: READ command timeout tag=0 serv=0 - 
> resetting
> Sep  3 15:21:43 saturn /kernel: ata3: resetting devices .. ata3-slave: ATA 
> identify retries exceeded
> Sep  3 15:21:43 saturn /kernel: done
> 
> After this point the hard disk in question is frozen until I reboot, and
> any process that tries to touch it is similarly frozen (doesn't even
> respond to kill -9).  `shutdown -r` is enough to restore operation, and
> the rest of the system seemed happy enough.
> 
> Another interesting effect.  I placed a replacement hard disk on the same
> ATA bus (as a slave, device ad7) and tried copying files from ad6 to ad7.
> This time when ad6 froze and the kerned decided to give up on ata3 (and so
> decided to disable ad7 at the same time, naturally enough) the entire
> system froze!  No response from the console, stone cold dead, hard reset
> needed.
> 
> 
> So some questions seem to me to arise from this.
> 
> 1.  Why does FreeBSD handle this so ungracefully?  If restarting is
> sufficient to bring ata3 back then can't the ata driver do a proper
> restart?
> 
> 2.  Goodness me, FreeBSD froze!  I know it's a hardware failure, but
> still: it's on a auxillary ATA controller with no system files attached.
> Is this problem of general interest?  It's certainly a massive hint to me
> not to consider (parallel) ATA for RAID!
> 
> 3.  Any thoughts on what is wrong with the hard disk in question?  I've
> changed ATA controllers, so it seems to be the disk, not the controller.
> The behaviour is very odd.  If I copy files off one at a time, eg using:
>   find . -type f -exec cp {} "$TARGET/"{} \; -exec echo -n '.' \;
> the disk seems to hang in there, but if I just do
>   cp -R . "$TARGET"
> then it freezes!  (This statement may not have been thoroughly tested:
> having to restart each time gets old quite quickly.)
> 
> 
> Ok, now for the boring bits.
> 
> $ uname -a
> FreeBSD saturn.araneidae.co.uk 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 
> #6: Sat Aug 27 16:33:58 GMT 2005 
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
> $ dmesg | grep ata
> atapci0:  port 
> 0xa000-0xa0ff,0x9c00-0x9c03,0x9800-0x9807,0x9400-0x9403,0x9000-0x9007 irq 
> 12 at device 11.0 on pci0
> ata2: at 0x9000 on atapci0
> ata3: at 0x9800 on atapci0
> atapci1:  port 0xa800-0xa80f at device 17.1 on 
> pci0
> ata0: at 0x1f0 irq 14 on atapci1
> ata1: at 0x170 irq 15 on atapci1
> atapci2:  port 
> 0xc400-0xc4ff,0xc000-0xc003,0xbc00-0xbc07,0xb800-0xb803,0xb400-0xb407 irq 
> 10 at device 19.0 on pci0
> ata4: at 0xb400 on atapci2
> ata5: at 0xbc00 on atapci2
> ad0: 39083MB  [79408/16/63] at ata0-master UDMA100
> ad1: 190782MB  [387621/16/63] at ata0-slave UDMA133
> ad4: 76319MB  [155061/16/63] at ata2-master UDMA100
> ad6: 76319MB  [155061/16/63] at ata3-master UDMA100
> acd0: DVD-ROM  at ata1-master PIO4
> $ sudo atacontrol cap ata3 0
> ATA channel 3, Master, device ad6:
> 
> ATA/ATAPI revision5
> device model  ST380021A
> serial number 3HV0MYL9
> firmware revision 3.10
> cylinders 16383
> heads 16
> sectors/track 63
> lba supported 156301488 sectors
> lba48 not supported dma supported
> overlap not supported
> 
> Feature  Support  EnableValue   Vendor
> write cacheyes  yes
> read ahead yes  yes
> dma queued no   no  0/00
> SMART  yes  no
> microcode download yes  yes
> security   yes  no
> power management   yes  yes
> advanced power management  no   no  65278/FEFE
> automatic acoustic management  yes  yes 128/80  128/80
> $
> 
> That's everything I can think of.
> 

Just a general comment:

I had a very similar problem a while back. After replacing the drive in
question, then replacing the motherboard, I discovered it was a po

Re: First time gateway/router

2005-08-26 Thread Jason Morgan
On Fri, Aug 26, 2005 at 08:03:48AM -0700, Derrill Guilbert wrote:
> Is there a walkthrough or something online to teach me how to make a 
> freebsd box into a gateway/firewall? I've not ever run a FreeBSD box 
> that wasn't already behind some other kind of firewall, and don't want 
> to screw it up.
> 

The Handbook is your friend :)

Gateway:

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

Firewalls (I use IPFW, but I hear PF rocks):

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

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


Re: cannot burn a CD with plextor atapi cdrom drive on 5.4-RELEASE

2005-08-26 Thread Jason Morgan
On Thu, Aug 25, 2005 at 10:23:19PM -0400, user wrote:
> 
> I have:
> 
> #dmesg|grep acd
> acd0: DVDR  at ata0-slave PIO4
> 
> which comes up as acd0 in /dev - I can mount cds in this drive just fine
> with:
> 
> /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
> 
> So far so good.
> 
> I put in a new blank CDR.
> 
> I run:
> 
> burncd -f /dev/acd0 data ./test.iso fixate
> 
> I get:
> 
> burncd: ioctl(CDRIOCNEXTWRITEABLEADDR): Input/output error
> 
> and now my dmesg contains:
> 
> acd0: FAILURE - READ_TRACK_INFO ILLEGAL REQUEST asc=0x24 ascq=0x00
> error=4
> 
> Why is this happening, and how do I change my recipe to make burning a cd
> (which should be very simple) work ?
> 

Try cdrecord and its accompanying tools.

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


Re: FreeBSD on old laptop, installer panic

2005-08-25 Thread Jason Morgan
On Wed, Aug 24, 2005 at 06:55:57PM -0400, Zac Berkowitz wrote:
> I'm giving FreeBSD a go on my laptop, but I'm running into problems 
> straight off the 5.4-STABLE installer.  At first it would hang without an 
> error.  After I disabled power management in the bios  I got a bit further 
> - now it crashes with a panic:
> -
> pcib0:  pcibus 0 on motherboard
> pir0:  on motherboard
> pci0:  on pcib0
> 
> Fatal trap 12: page fault while in kernel mode
> fault virtual address = 0xeb871
> fault code  = supervisor read, page not present
> instruction pointer   = 0x8 :0xc00eb757
> stack pointer  = 0x10 :0xc1020a0
> frame pointer  = 0x10 :0xc1020a0
> code segment = base 0x0, limit 0xf, type 0x1b
>= DPL 0, pres 1, def32 1, IOPL = 0
> processor eflags  = interrupt enabled, resume, IOPL = 0
> current process   = 0
> trap number=12
> 
> panic: page fault
> 
> 
> Some googling with the fault virtual address turned up a few pages, but 
> none in english and seemingly none coming to a solution.  lspci -v in linux 
> gives me
> 
> -
> :00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge 
> (rev 03) (prog-if 00 [Normal decode])
>Flags: bus master, 66MHz, medium devsel, latency 0
>Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
>I/O behind bridge: 8000-9fff
>Memory behind bridge: d800-dfff
>Prefetchable memory behind bridge: d000-d7ff
> -
> 
> Any ideas?  Usually my *NIX give me panics /after/ I get through installing 
> them : p
> 

I've had the same problem on an old laptop. I was told to try older
releases (tried 4.11 and 5.4). I haven't gotten around to it, but that's
somewhere to start.

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


Re: NAT server

2005-08-22 Thread Jason Morgan
On Mon, Aug 22, 2005 at 06:28:41AM -0700, gary masigon wrote:
> Hi, i need help to setup my freebsd as a NAT server, i
> cannot ping the external gateway from the client side
> of my FreeBSD server but i can ping the FreeBSD
> server. I followed all the instructions in the hand
> book but i cannot get the client side to connect to
> any www. freebsd server can ping the clients and the
> gateway, i am using a private ip address  of
> 192.168.x.x in my external LANcard because i am behind
> a router and 10.0.0.0 in my int. it is also okay to
> edit the kernel instead of recompilig it to make IPFW
> works. tnx
> 

Remember to compile the kernel with?

options IPFIREWALL
options IPDIVERT

gateway_enable=YES in rc.conf?

For testing, you may also want to make sure your firewall is
completely open, especially since I believe the default ipfw script
(if that's what you're using), even if set to 'open', blocks incoming
traffic from 192.168.x.x on the outside interface.

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


Re: wireless DHCP + wep

2005-08-18 Thread Jason Morgan
On Thu, Aug 18, 2005 at 02:38:51PM -0300, Pablo Allietti wrote:
> Hi all  i have a question.
> 
> i configure a Intel 2200 wireless card and the system detect ok and load
> in the start time.
> 
> so. now i need to add wep Key and DHCP.
>  
> is that possible to do in automatically.
> 
> because rigth now i cant do dhcp and need to do a ifconfig blablabla
> wepkey xx wepmode 0 any time when i restart my laptop.
> 
> thanks.
> 

Can those configs be placed in rc.conf with

dhclient_flags="WHATEVER" ?

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


Re: error when makebuildworld

2005-08-15 Thread Jason Morgan
On Mon, Aug 15, 2005 at 08:11:06PM -0700, sonjaya wrote:
> dear all 
> 
>  i try update my fb box ( 5.2 release to 5.3 stable) ,
> i do it  like this 
> 
> 1. i made update all source of my kernel to 5.3 with
> cvsup ( #cvsup -g -L 2 fileconf-CVS) 
> 2. #mergemaster -p 
> 3.make buildworld
> and i get error like this  "
> 
> WARNING: type @@ invalid
> mkmagic: could not find any magic files!
> *** Error code 1
> 
> Stop in /usr/cvsup/src/lib/libmagic.
> *** Error code 1
> 
> Stop in /usr/cvsup/src/lib.
> *** Error code 1
> 
> Stop in /usr/cvsup/src.
> *** Error code 1
> 
> Stop in /usr/cvsup/src.
> *** Error code 1
> 
> Stop in /usr/cvsup/src.
> *** Error code 1
> 
> Stop in /usr/cvsup/src.
> PAG_ROUTER# "
> 
> how i solved that problem ?
> 
> and second question : where i get manual for upgrade
> my fb box from 5.2 release to 5.3 stable ?
> thx before and now my fb 5.2 box still on because if i
> reboot will never up againt .
> my regard
> 

You follow the order shown in /usr/src/Makefile ?

# 1.  `cd /usr/src' (or to the directory containing your source tree).
# 2.  `make buildworld'
# 3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
# 4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
# 5.  `reboot'(in single user mode: boot -s from the loader prompt).
# 6.  `mergemaster -p'
# 7.  `make installworld'
# 8.  `mergemaster'
# 9.  `reboot'

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


Re: mplayer-plugin firefox

2005-08-14 Thread Jason Morgan
On Sun, Aug 14, 2005 at 12:50:34PM +, gb wrote:
> Dear all,
> 
> I have tried to build mplayer-plugin from the ports/www. My browser is
> firefox so I did a make WITH_MOZILLA=firefox. I get an error in the
> configuration phase error: Unable to find gecko sdk.
> 
> I am running 5.3
> 
> this is probably something simple and to do with paths. Any help would
> be much appreciated.

Try linuxpluginwrapper? That's what I had to do to get the plugin to work,
but that could have been me breaking something.

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


Re: CD Burning Error

2005-08-12 Thread Jason Morgan
On Fri, Aug 12, 2005 at 09:58:16PM -0500, Josh Paetzel wrote:
> On Friday 12 August 2005 09:44, you wrote:
> > On Fri, Aug 12, 2005 at 07:39:59AM -0500, Josh Paetzel wrote:
> > > On Thursday 11 August 2005 23:25, you wrote:
> > > > On Thu, Aug 11, 2005 at 08:20:11PM -0500, Josh Paetzel wrote:
> > > > > I have recently aquired a DVD+-RW drive.  I am running into
> > > > > some problems when trying to burn CD-Rs (I haven't tried a
> > > > > DVD yet)
> > > > >
> > > > >   *I've tried -s 24
> > > > > as well* gimpy# burncd -f /dev/acd0 -s 48 data
> > > > > 6.0-BETA2-i386-disc1.iso fixate next writeable LBA 0
> > > > > writing from file 6.0-BETA2-i386-disc1.iso size 460518 KB
> > > > > written this track 460518 KB (100%) total 460518 KB
> > > > > fixating CD, please wait..
> > > > > burncd: ioctl(CDRIOCFIXATE): Input/output error
> > > > >
> > > > > Trying to use the CD gives:
> > > > >
> > > > > gimpy# mount /cdrom
> > > > > cd9660: /dev/acd0: Input/output error
> > > > >
> > > > > gimpy# grep acd0 /etc/fstab
> > > > > /dev/acd0   /cdrom  cd9660  ro,noauto
> > > > >   0 0
> > > > >
> > > > > gimpy# uname -a
> > > > > FreeBSD gimpy.tcbug.org 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6
> > > > > #5: Thu Aug 11 19:49:26 CDT 2005
> > > > > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GIMPY  i386
> > > > >
> > > > > gimpy# dmesg | grep acd
> > > > > acd0: DVDR  at ata1-master PIO4
> > > > > acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x02 ascq=0x00
> > > > > error=4
> > > > >
> > > > > I've tried with UDMA33 and PIO4, I've also tried ATAPICAM and
> > > > > k3b in both UDMA33 and PIO4
> > > >
> > > > What FreeBSD version? Brand of drive?
> > > >
> > > > Try cdrecord. My new Pioneer DVD-RW only works as a scsi device
> > > > when writing. Couldn't get it to work with cdburn but works
> > > > like a charm with cdrecord. See the handbook for details.
> > > >
> > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creat
> > > >ing- cds.html#CDRECORD
> > > >
> > > > -Jason
> > >
> > > I included a dmesg as well as a uname -a in my email.  I also
> > > noted that I tried atapicam as well.
> >
> > Sorry, missed that. The READ_BIG error is one I got when trying to
> > burn cds. As I said, I now use the drives as a scsi device. Try
> > recompiling your kernel with 'options cd' and the appropriate
> > necessary companion options and try burning with with cdrecord.
> >
> > -Jason
> 
> As I said in my original email:
> 
> > > > > I've tried with UDMA33 and PIO4, I've also tried ATAPICAM and
> > > > > k3b in both UDMA33 and PIO4
> > > >

And have you tried cdrecord? That's what I had to do to fix my problem. 
If that doesn't work, I certainly can't help with the more technical 
aspects of a potential hardware/software conflict.

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


Re: Group size

2005-08-11 Thread Jason Morgan
On Thu, Aug 11, 2005 at 01:14:28PM -0300, [EMAIL PROTECTED] wrote:
> Hi all,
> 
>   I'm in troble here.
>   Is there any limit to the size o each group in /etc/groups.
>   I'm moving from a BSDI machine where I used to authenticate some
> services based on groups, but Freebsd 5.4  seem to be limiting it to
> arround 1300 characters.
>   Sorry if it's a known issue but it's urgent.
> 
Are some of your users in many different groups? The kernel variable 
kern.ngroups sets the number of groups a user can belong to. Could that 
be an issue? I don't believe there is a limit to the number of users in 
a group. I know there was in the past, but I believe it was removed.

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


Re: Problems with Automount

2005-08-11 Thread Jason Morgan
On Mon, Aug 08, 2005 at 12:36:23PM +0400, Daniel Sammut wrote:
> > 
> > On Sun, 2005-08-07 at 20:24 +,
> > [EMAIL PROTECTED] wrote: 
> > 
> > > On Sun, Aug 07, 2005 at 05:01:40PM +0400, Daniel Sammut wrote:
> > > > Hello,
> > > > 
> > > > I am fairly new to FreeBSD having only used it for about a month. I am
> > > > using FreeBSD 5.4 release.
> > > > 
> > > > I have recently got round to setting up amd. I followed the instructions
> > > > to do this on a website I found -
> > > > http://renaud.waldura.com/doc/freebsd/automounting.txt
> > > > 
> > > > 
> > > > After following the instructions, and rebooting the machine, I notice
> > > > that my logs give these messages:
> > > > 
> > > > 
> > > > nfs send error 49 for server [EMAIL PROTECTED]:/host
> > > > nfs server [EMAIL PROTECTED]:/host: not responding
> > > > 
> > > > 
> > > > and typing "amq" gives this message:
> > > > 
> > > > amq: localhost: RPC: Port mapper failure - RPC: Unable to send
> > > > 
> > > > 
> > > > I double checked my setup of amd, and that I followed the instructions
> > > > exactly. Everything seems correct. 
> > > > 
> > > > I have actually set up amd successfully using the same instructions on
> > > > another computer on which I installed FreeBSD 5.4. 
> > > > 
> > > > What do you think the problem could be?
> > > > 
> > > 
> > > Are your trying to automount an NFS server? Are you sure you have 
> > > /etc/exports
> > > set up correctly on the NFS server to allow access from the client in 
> > > question?
> > > 
> > > -Jason
> > > 
> 
> 
> 
> Hi Jason,
> 
> No, I am not trying to automount an NFS server. I am only trying to
> automount the cdrom and floppy drives. 
> 
> I have successfully set up NFS between the problem computer (server) and
> a laptop. I did have problems setting up NFS as I had to manually start
> nfsd despite having nfs_server_enable="YES" in my rc.config In the end I
> had to insert the line nfsd_enable="YES" in rc.config which I thought
> was strange as this is not documented anywhere else. Using this method,
> nfs works but amd does not despite following the howto mentioned in the
> link in my previous post.
> 
> This computer is a family machine so I need to make it as simple as
> possible to use, hence the need for amd!
> 
> Any help would be very gratefully received.

Did you manage to get this solved?

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


Re: kernel panic on 5.4-RELEASE-p6

2005-08-07 Thread Jason Morgan
On Sun, Aug 07, 2005 at 06:51:09PM +0200, Petr Holub wrote:
> Hi all,
> 
> I've encoutnered the follwing kernel panic on 5.4-RELEASE-p6. However,
> as the machine is production and not development one, I don't have
> debugger analysis. The panic might *theoretically* be due to problems
> accessing faulty CD-R media in the ATAPI DVD/CD-RW drive (that was the
> only unusual thing which happened before the panic). Kernel config
> and dmesg are attached below, the machine is IBM T41p laptop.
> 
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x300f0
> fault code  = supervisor read, page not present
> instruction pointer = 0x8:0x300f0
> stack pointer   = 0x10:0xe67cdb1c
> frame pointer   = 0x10:0xe67cdb34
> code segment= base 0x0, limit 0xf, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
> processor eflags= interrupt enabled, resume, IOPL = 0
> current process = 1337 (vim)
> trap number = 12
> panic: page fault
> Uptime: 14m43s.
> 

I've had a similar issue (or at least it looks similar to the untrained 
eye) on an old laptop of mine that I was trying to install with 5.4, 
5.3, then 4.11. I posted the error to the mailing list, but was never 
able to solve the problem. Be interested to know if someone has a 
solution.

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


Re: Problems with Automount

2005-08-07 Thread Jason Morgan
On Sun, Aug 07, 2005 at 05:01:40PM +0400, Daniel Sammut wrote:
> Hello,
> 
> I am fairly new to FreeBSD having only used it for about a month. I am
> using FreeBSD 5.4 release.
> 
> I have recently got round to setting up amd. I followed the instructions
> to do this on a website I found -
> http://renaud.waldura.com/doc/freebsd/automounting.txt
> 
> 
> After following the instructions, and rebooting the machine, I notice
> that my logs give these messages:
> 
> 
> nfs send error 49 for server [EMAIL PROTECTED]:/host
> nfs server [EMAIL PROTECTED]:/host: not responding
> 
> 
> and typing "amq" gives this message:
> 
> amq: localhost: RPC: Port mapper failure - RPC: Unable to send
> 
> 
> I double checked my setup of amd, and that I followed the instructions
> exactly. Everything seems correct. 
> 
> I have actually set up amd successfully using the same instructions on
> another computer on which I installed FreeBSD 5.4. 
> 
> What do you think the problem could be?
> 

Are your trying to automount an NFS server? Are you sure you have /etc/exports
set up correctly on the NFS server to allow access from the client in question?

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


Re: Boot page fault - alternative kernel needed?

2005-08-03 Thread Jason Morgan
On Thu, Jul 28, 2005 at 10:28:18AM -0500, Kevin Kinsey wrote:
> Jason Morgan wrote:
> 
> >I have an old laptop that I am finally trying to get FreeBSD installed on.
> >It was recently running Linux just fine, but I am having a tough time 
> >getting FreeBSD installed on it.  Here is the error I get when booting.  
> >I have typed all that is visible on the screen when it crashes.
> >
> ># Begin
> >
> >isa0:  on isab0
> >atapci0:  port 
> >0x3000-0x300f,0x376,0x170-0x177,0x
> >3f6,0x1f0-0x1f7 at device 1.1 on pci0
> >ata0: channel #0 on atapci0
> >ata1: channel #1 on atapci0
> >uhci0:  at device 1.2 on pci0
> >
> >
> >Fatal trap 12: page fault while in kernel mode
> >fault virtual address  = 0xeb97b
> >fault code = supervisor read, page not present
> >instruction pointer= 0x8:0xc00eb87c
> >stack pointer  = 0x10:0xc10209f0
> >frame pointer  = 0x10:0xc10209f0
> >code segment   = base 0x0, limit 0xf, type 0x1b
> >  = DPL 0, pres 1, def32 1, gran 1
> >processor eflags   = interrupt enabled, resume, IOPL = 0
> >current process= 0 (swapper)
> >trap number= 12
> >panic: page fault
> >
> ># End
> >
> >So, my question is: Is this the UHCI driver failing to load 
> >(happens at this same point every time I try to boot it)? 
> >Is there any way around this? Possible using a trimmed down 
> >kernel to boot?  Any suggestions?
> >
> >Thanks in advance,
> >Jason
> > 
> >
> 
> Kevin Kinsey wrote:
> 
> Well, the error message seems to indicate that the
> swapper if failing ... but it could be that it's failing
> because the previously loaded uhci device code finds
> a bug in your hardware --- IANAE,  but IIRC FBSD 5
> (&& you don't say what version you're using) doesn't
> always play well with APM, ACPI, or what-not on
> some older laptops.
> 
> We probably need someone else to tell us the
> exact incantation, but you might be able to
> 'escape to loader prompt' and set the equivalent
> of {ACPI_LOAD =0} (like I said, not sure of exact
> syntax) before attempting to boot (see loader(8)
> in the on-line manual or on another machine).
> 
> If you're trying FBSD 5, I've heard of some people
> having success with older laptops and FBSD 4.
> Otherwise, they can run 5 but without APM or
> ACPI support.
> 
> Like I said, I can't say for certain that this is
> what your issue is, but if you've not got a working
> system, it probably can't hurt to futz around with
> it a bit.
> 
> Hopefully somebody else knows the magic words

Well, I've tried everything I know to do. I've tried installing FBSD 4.11 as 
well as tweaking settings 
before booting the kernel.  I've tried the following settings in various 
combinations:

set hint.acpi.0.disabled=1
set hint.uhci.0.disabled=1
set hint.uhci.1.disabled=1
acpi_load=NO

No luck. Are there any other workarounds out there or something obvious that 
I've missed?

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


Fetch able to get around firewall?

2005-08-03 Thread Jason Morgan
I have three clients behind my FreeBSD gateway/firewall. Two of the clients run 
FreeBSD and the other 
runs FreeBSD and Windows.  I would like for my firewall to be fairly tight, 
disallowing unspecified 
connections outbound. However, while I have no trouble getting most services up 
and running correctly
(qmail,apache,ssh,etc.), I am having trouble getting fetch (for portupgrade) to 
get through the 
firewall. I have tried 'fetch -p', which doesn't seem to work.  My question is, 
is it going to be 
possible to maintain a restrictive firewall and still have the ability to 
upgrade my ports from the 
inside clients?  Below is my  firewall (a slightly edited version of the one 
available in the handbook).

5 allow ip from any to any via fxp0
00010 allow ip from any to any via lo0
00014 divert 8668 ip from any to any in via xl0
00015 check-state
00020 skipto 800 udp from any to X.X.X.X dst-port 53 out via xl0 keep-state
00021 skipto 800 udp from any to X.X.X.X dst-port 53 out via xl0 keep-state
00030 skipto 800 udp from any to X.X.X.X dst-port 67 out via xl0 keep-state
00040 skipto 800 tcp from any to any dst-port 80 out via xl0 setup keep-state
00050 skipto 800 tcp from any to any dst-port 443 out via xl0 setup keep-state
00060 skipto 800 tcp from any to any dst-port 25 out via xl0 setup keep-state
00061 skipto 800 tcp from any to any dst-port 110 out via xl0 setup keep-state
00070 skipto 800 tcp from me to any out via xl0 setup uid root keep-state
00080 skipto 800 icmp from any to any out via xl0 keep-state
00090 skipto 800 tcp from any to any dst-port 37 out via xl0 setup keep-state
00100 skipto 800 tcp from any to any dst-port 119 out via xl0 setup keep-state
00105 skipto 800 tcp from any to any dst-port 20,21 out via xl0 setup keep-state
00110 skipto 800 tcp from any to any dst-port 22 out via xl0 setup keep-state
00120 skipto 800 tcp from any to any dst-port 43 out via xl0 setup keep-state
00130 skipto 800 udp from any to any dst-port 123 out via xl0 keep-state
00300 deny ip from 192.168.0.0/16 to any in via xl0
00301 deny ip from 172.16.0.0/12 to any in via xl0
00303 deny ip from 127.0.0.0/8 to any in via xl0
00304 deny ip from 0.0.0.0/8 to any in via xl0
00305 deny ip from 169.254.0.0/16 to any in via xl0
00306 deny ip from 192.0.2.0/24 to any in via xl0
00307 deny ip from 204.152.64.0/23 to any in via xl0
00308 deny ip from 224.0.0.0/3 to any in via xl0
00315 deny tcp from any to any dst-port 113 in via xl0
00320 deny tcp from any to any dst-port 137 in via xl0
00321 deny tcp from any to any dst-port 138 in via xl0
00322 deny tcp from any to any dst-port 139 in via xl0
00323 deny tcp from any to any dst-port 81 in via xl0
00330 deny ip from any to any frag in via xl0
00332 deny tcp from any to any established in via xl0
00360 allow udp from X.X.X.X to any dst-port 68 in via xl0 keep-state
00370 allow tcp from any to me dst-port 80 in via xl0 setup limit src-addr 2
00380 allow tcp from any to me dst-port 22 in via xl0 setup limit src-addr 2
00390 allow tcp from any to me dst-port 25 in via xl0 setup limit src-addr 2
00400 deny log logamount 10 ip from any to any in via xl0
00450 deny log logamount 10 ip from any to any out via xl0
00800 divert 8668 ip from any to any out via xl0
00801 allow ip from any to any
00999 deny log logamount 10 ip from any to any
65535 deny ip from any to any

Any suggestions? Is is the standard solution to allow all outbound connections 
through?

Thanks,
Jason

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


make buildworld error

2005-07-28 Thread Jason Morgan
I keep getting the following on a 4.9 system when trying to move to 
4.11.

rm -f sa main.o pdb.o usrdb.o sa.8.gz sa.8.cat.gz
rm -f .depend GPATH GRTAGS GSYMS GTAGS
===> usr.sbin/setkey
".depend", line 1: Need an operator
".depend", line 2: Need an operator
".depend", line 3: Need an operator
".depend", line 4: Need an operator
".depend", line 6: Need an operator
".depend", line 7: Need an operator
".depend", line 8: Need an operator
".depend", line 9: Need an operator
".depend", line 10: Need an operator
".depend", line 11: Need an operator
".depend", line 12: Need an operator
".depend", line 13: Need an operator
".depend", line 14: Need an operator
".depend", line 15: Need an operator
".depend", line 16: Need an operator
".depend", line 17: Need an operator
".depend", line 18: Need an operator
".depend", line 19: Need an operator
".depend", line 20: Need an operator
".depend", line 21: Need an operator
".depend", line 22: Need an operator
make: fatal errors encountered -- cannot continue

Anyone offer some advice?  I've tried updating my source again - I even 
went as far as nuking my /usr/src directory and re-fetching it.

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


Boot page fault - alternative kernel needed?

2005-07-28 Thread Jason Morgan
I have an old laptop that I am finally trying to get FreeBSD installed on.  It 
was recently running Linux just fine, 
but I am having a tough time getting FreeBSD installed on it.  Here is the 
error I get when booting.  I have typed all 
that is visible on the screen when it crashes.

# Begin

isa0:  on isab0
atapci0:  port 0x3000-0x300f,0x376,0x170-0x177,0x
3f6,0x1f0-0x1f7 at device 1.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0:  at device 1.2 on pci0


Fatal trap 12: page fault while in kernel mode
fault virtual address  = 0xeb97b
fault code = supervisor read, page not present
instruction pointer= 0x8:0xc00eb87c
stack pointer  = 0x10:0xc10209f0
frame pointer  = 0x10:0xc10209f0
code segment   = base 0x0, limit 0xf, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
processor eflags   = interrupt enabled, resume, IOPL = 0
current process= 0 (swapper)
trap number= 12
panic: page fault

# End

So, my question is: Is this the UHCI driver failing to load (happens at this 
same point every time I try to boot it)? 
Is there any way around this? Possible using a trimmed down kernel to boot?  
Any suggestions?

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


Boot page fault - alternative kernel needed?

2005-07-28 Thread Jason Morgan
I have an old laptop that I am finally trying to get FreeBSD installed on.  It 
was recently running Linux just fine, 
but I am having a tough time getting FreeBSD installed on it.  Here is the 
error I get when booting.  I have typed all 
that is visible on the screen when it crashes.

# Begin

isa0:  on isab0
atapci0:  port 0x3000-0x300f,0x376,0x170-0x177,0x
3f6,0x1f0-0x1f7 at device 1.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0:  at device 1.2 on pci0


Fatal trap 12: page fault while in kernel mode
fault virtual address  = 0xeb97b
fault code = supervisor read, page not present
instruction pointer= 0x8:0xc00eb87c
stack pointer  = 0x10:0xc10209f0
frame pointer  = 0x10:0xc10209f0
code segment   = base 0x0, limit 0xf, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
processor eflags   = interrupt enabled, resume, IOPL = 0
current process= 0 (swapper)
trap number= 12
panic: page fault

# End

So, my question is: Is this the UHCI driver failing to load (happens at this 
same point every time I try to boot it)? 
Is there any way around this? Possible using a trimmed down kernel to boot?  
Any suggestions?

Thanks in advance,
Jason

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


Re: burncd: "device busy" error when writing .iso

2005-01-13 Thread Jason Morgan
On Wed, Jan 12, 2005 at 01:42:43PM -0500, Jason Morgan wrote:
> I am attempting to burn an .iso of the 5.3 mini distribution and keep 
> running into the following error:
> 
> # burncd -f /dev/acd0 data 5.3-RELEASE-i386-miniinst.iso fixate
> next writeable LBA 0
> writing from file 5.3-RELEASE-i386-miniinst.iso size 274400 KB
> written this track 640 KB (0%) total 640 KB
> only wrote -1 of 32768 bytes: Device busy
> 
> fixating CD, please wait..
> 
> I have verified that the drive is working and is accessible.  I have 
> tried different media and keep running into the same result.
> 
> # dmesg | grep acd0
> acd0: DVDR  at ata1-master PIO4
> 
> This is a new drive, that I just recently installed.
> 
> Oh, I'm running FreeBSD 5.2.1-RELEASE-p11 #7.
> 
> Any suggestions?  I've only burned CDs with FreeBSD a few times and 
> never on this system, so I'm kinda a newb.
> 
> Thanks for your time.

I finally solved the problem.  I had to include "device atapicam" in my kernel, 
then used cdrecord instead of burncd, 
using the drive as a scsi device.  Hope this info will help some newb in the 
future.

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


burncd: "device busy" error when writing .iso

2005-01-12 Thread Jason Morgan
I am attempting to burn an .iso of the 5.3 mini distribution and keep 
running into the following error:

# burncd -f /dev/acd0 data 5.3-RELEASE-i386-miniinst.iso fixate
next writeable LBA 0
writing from file 5.3-RELEASE-i386-miniinst.iso size 274400 KB
written this track 640 KB (0%) total 640 KB
only wrote -1 of 32768 bytes: Device busy

fixating CD, please wait..

I have verified that the drive is working and is accessible.  I have 
tried different media and keep running into the same result.

# dmesg | grep acd0
acd0: DVDR  at ata1-master PIO4

This is a new drive, that I just recently installed.

Oh, I'm running FreeBSD 5.2.1-RELEASE-p11 #7.

Any suggestions?  I've only burned CDs with FreeBSD a few times and 
never on this system, so I'm kinda a newb.

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


Re: 5.1 RELEASE - Panic

2003-11-10 Thread Jason Morgan
On Sun, Nov 09, 2003 at 01:28:58PM -0800, Kris Kennaway wrote:
> On Sun, Nov 09, 2003 at 03:37:29PM -0500, [EMAIL PROTECTED] wrote:
> > I am currently running 5.1 RELEASE, as system I recently 'downgraded' from 
> > CURRENT.  Since I moved back to RELEASE, the system has been giving me file 
> > system errors from time to time.  I've run fsck - though I know very little of 
> > what I'm going with this utility.  And now, I'm getting a PANIC, with 
> > the following error:
> > 
> > mode = 041777, inum = 3, fs = /usr
> > panic: ffs_valloc: dup alloc
> > Debugger("panic")
> > Stoped atDebugger+0x4d:  xchgl  %ebx,in_Debugger.0
> > 
> > I ran CURRENT on this system for 6-8 months and never got a panic - the system is 
> > not used all that often.
> > 
> > Anyone have any suggestions as to what I can do?
> 
> I usually get this on marginal (IBM deathstar) disks..it means you had
> some kind of data corruption.
> 
> There's not much you can do about it except for trying different disk
> hardware if it happens a lot.

I moved back to CURRENT and all is now working fine.  Very strange error.

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


Re: Open Source

2003-03-25 Thread Jason Morgan
On Tue, Mar 25, 2003 at 03:10:47AM -0500, Don Juan wrote:
> Hey. I was wondering if FreeBSD Linux is open source (source code)
> I want to see how it is build up and stuff.
> If it is Open source, do you think you can tell me how to get it???=)

What FreeBSD is (quote from the homepage):
"FreeBSD is an advanced operating system for x86 compatible, DEC Alpha, 
IA-64, PC-98 and UltraSPARC architectures. It is derived from BSD UNIX, 
the version of UNIX developed at the University of California, Berkeley. 
It is developed and maintained by a large team of individuals. Additional 
platforms are in various stages of development."

FreeBSD is not Linux.

To install:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

Jason


> 
> Greatings Dan Gaute
> -- 
> __
> Sign-up for your own FREE Personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: NFS, something I should know?

2003-03-22 Thread Jason Morgan
On Sat, Mar 22, 2003 at 11:05:44AM +0100, Dirk-Willem van Gulik wrote:
> 
> 
> On Thu, 20 Mar 2003, Jason Morgan wrote:
> 
> > I have set up NFS for the first time and am having a few problems;
> ..
> > Does this look correct? OpenOffice crashes everytime I try to write to
> 
> Can you do something like this as the same user you are running open
> office from; i.e. from an xterm or so:
> 
> From the client
>   echo Hello World > testfile.txt
> 
> and then do on the client and/or the server
>   cat testfile.txt
> 
> If that works; you can be fairly sure that it is propably not an NFS
> problem you are chasing.

You're right, it was user error - I guess. I got tired of trying to figure 
it out, so I installed the OO.org package instead of building it myself. 
All was well after that.

Thanks for the reply.

-Jason

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: X w/ on board video....

2003-03-20 Thread Jason Morgan
On Thu, Mar 20, 2003 at 11:11:38AM -0800, Rodney Salomon wrote:
> Is it possible to install X with on-board video?  

I use X with an onboard GeForce4 MX card, works great. Haven't tried the
nVidia drivers yet, but the docs say they work.

-JM


> 
> TIA!
> 
> =
> Look at all the pretty C shells!
> 
> __
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


dc0: TX underrun -- increasing TX threshold ?

2003-03-20 Thread Jason Morgan
What does this mean?

dc0: TX underrun -- increasing TX threshold



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


dc0: TX underrun -- increasing TX threshold ?

2003-03-20 Thread Jason Morgan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


NFS, something I should know?

2003-03-20 Thread Jason Morgan
I have set up NFS for the first time and am having a few problems;
namely with OpenOffice, but it may go deeper. I am mounting /home and
/usr/ports/distfiles from a file server.

/etc/exports :

# NFS exports file
/share -alldirs,maproot=0 client1 cliet2 client3


I mount home and distfiles with /etc/fstab:

# DeviceMountpoint  FStype   Options Dump  Pass#
server:/share/home  /usr/home   nfs  rw  0 0
server:/share/distfiles /usr/ports/distfiles nfs rw  0 0

Does this look correct? OpenOffice crashes everytime I try to write to
/home. It worked fine before I moved /home to the server. I have tried
mounting with -2, as was suggested some time ago on a mailing list I
found through google. Didn't work.

Thanks,
Jason Morgan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: OpenOffice build problem - 4.8 RC #1

2003-03-20 Thread Jason Morgan

On Thu, Mar 20, 2003 at 12:22:53AM -0500, Jason Morgan wrote:
> I have been trying to build OpenOffice 1.0.2 for the last couple days,
> and this is what I get. I have tried cvsuping my source, reinstalling
> all installed packages, and whatever else I could think of. Still no go.
> Also, I finally decided to use the 1.0.1 package available at OO.org,
> and writer fails on me, without explaination. Anyone have any
> suggestions? I just built this on a 4.7 machine less than two weeks ago,
> went perfectly.
> 
> Thanks,
> Jason Morgan
> 
> Error output:
> 
> 
> 
> In file included from ../../inc/docfilt.hxx:65, 
>  from ../../inc/fcontnr.hxx:72, 
>  from   
> /usr/ports/editors/openoffice/work/oo_1.0.2_src/sfx2/sourc  
> e/doc/doctempl.cxx:200: 
> /usr/ports/editors/openoffice/work/oo_1.0.2_src/solver/641/unxfbsd.pro/inc/com/s
> un/star/plugin/PluginDescription.hpp: In instantiation of   
> `com::sun::star::uno::  
> Reference': 
> /usr/ports/editors/openoffice/work/oo_1.0.2_src/solver/641/unxfbsd.pro/inc/com/s
> un/star/plugin/PluginDescription.hpp:60:   instantiated from here   
> /usr/ports/editors/openoffice/work/oo_1.0.2_src/solver/641/unxfbsd.pro/inc/com/s
> un/star/plugin/PluginDescription.hpp:60: internal   
>error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See http://www.gnu.org/software/gcc/bugs.html> for instructions.   
> dmake:  Error code 1, while making '../../unxfbsd.pro/slo/doctempl.obj' 
> ---* TG_SLO.MK *--- 
> dmake:  Error code 255, while making 'do_it_exceptions' 
> ---* TG_SLO.MK *--- 
> ERROR: Error 65280 occurred while making
> /usr/ports/editors/openoffice/work/oo_1 
> .0.2_src/sfx2/source/doc
> dmake:  Error code 1, while making 'build_all'  
> ---* TG_SLO.MK *--- 
> *** Error code 255  
> Stop in /usr/ports/editors/openoffice.  
> *** Error code 1
> Stop in /usr/ports/editors/openoffice.  
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portinstall4542.0 make 
>  reinstall  
> ** Fix the installation problem and try again.  
> ** The following packages were not installed or upgraded (*:skipped /   
> !:failed)   
> ! editors/openoffice(install error)

Sorry, I'll port this to the openoffice mailing list - I didn't know
there was one.

Jason


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


OpenOffice build problem - 4.8 RC #1

2003-03-19 Thread Jason Morgan
I have been trying to build OpenOffice 1.0.2 for the last couple days,
and this is what I get. I have tried cvsuping my source, reinstalling
all installed packages, and whatever else I could think of. Still no go.
Also, I finally decided to use the 1.0.1 package available at OO.org,
and writer fails on me, without explaination. Anyone have any
suggestions? I just built this on a 4.7 machine less than two weeks ago,
went perfectly.

Thanks,
Jason Morgan

Error output:



In file included from ../../inc/docfilt.hxx:65, 
 from ../../inc/fcontnr.hxx:72, 
 from   
/usr/ports/editors/openoffice/work/oo_1.0.2_src/sfx2/sourc  
e/doc/doctempl.cxx:200: 
/usr/ports/editors/openoffice/work/oo_1.0.2_src/solver/641/unxfbsd.pro/inc/com/s
un/star/plugin/PluginDescription.hpp: In instantiation of   
`com::sun::star::uno::  
Reference': 
/usr/ports/editors/openoffice/work/oo_1.0.2_src/solver/641/unxfbsd.pro/inc/com/s
un/star/plugin/PluginDescription.hpp:60:   instantiated from here   
/usr/ports/editors/openoffice/work/oo_1.0.2_src/solver/641/unxfbsd.pro/inc/com/s
un/star/plugin/PluginDescription.hpp:60: internal   
   error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://www.gnu.org/software/gcc/bugs.html> for instructions.   
dmake:  Error code 1, while making '../../unxfbsd.pro/slo/doctempl.obj' 
---* TG_SLO.MK *--- 
dmake:  Error code 255, while making 'do_it_exceptions' 
---* TG_SLO.MK *--- 
ERROR: Error 65280 occurred while making
/usr/ports/editors/openoffice/work/oo_1 
.0.2_src/sfx2/source/doc
dmake:  Error code 1, while making 'build_all'  
---* TG_SLO.MK *--- 
*** Error code 255  
Stop in /usr/ports/editors/openoffice.  
*** Error code 1
Stop in /usr/ports/editors/openoffice.  
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall4542.0 make 
 reinstall  
** Fix the installation problem and try again.  
** The following packages were not installed or upgraded (*:skipped /   
!:failed)   
! editors/openoffice(install error)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Adobe fonts (installed in Win2k) use

2003-02-26 Thread Jason Morgan
I have several Adobe fonts that I would like to use in FreeBSD. It
appears that by their extensions (.pfb, .pfm) that they are postscript
fonts. Can I use these in X?

Thanks,
Jason

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


ipfw2 dynamic rules not dying

2003-02-15 Thread Jason Morgan
I have a problem with my dynamic IPFW2 rules - they aren't dying. The
system has been up now for 14 days, with it acting as firewall to two
systems inside. One of the systems inside is also running IPFW2, but is
in an open state. Here is the ruleset I am running, I have made no
changes to the kernel variables regulating packet time-out - oh, and I'm
running 4.7.

# ipfw list

00010 allow ip from any to any via lo0
00020 deny log logamount 10 ip from any to 127.0.0.0/8
00030 deny log logamount 10 ip from 127.0.0.0/8 to any
00040 deny log logamount 10 ip from any to any frag
00050 deny log logamount 10 ip from 10.0.0.0/8 to any in via xl0
00060 deny log logamount 10 ip from 172.16.0.0/12 to any in via xl0
00100 divert 8668 ip from any to any via xl0
00101 count ip from 10.0.0.1 to any
00102 count ip from any to 10.0.0.1
00103 count ip from any to 192.168.1.101
00104 count ip from 192.168.1.101 to any
00105 count ip from 10.0.0.2 to any
00106 count ip from any to 10.0.0.2
00107 count ip from 10.0.0.3 to any
00108 count ip from any to 10.0.0.3
00200 deny log logamount 10 icmp from any to any in via xl0 icmptypes 8
00300 check-state
00400 allow icmp from any to any out via xl0 icmptypes 8 keep-state
00410 allow icmp from 10.0.0.0/8 to any keep-state
00420 deny log logamount 10 icmp from any to any
00500 deny log logamount 10 udp from any to any established
00510 allow udp from 10.0.0.0/8 to any setup keep-state
00520 allow udp from 192.168.1.101 to any keep-state
00530 allow udp from any to any dst-port 53 in keep-state
00600 deny log logamount 10 tcp from any to any established
00610 allow tcp from any to any dst-port 22,25,80 in setup keep-state
00620 allow tcp from 10.0.0.0/8 to any setup keep-state
00630 allow tcp from 192.168.1.101 to any setup keep-state
65000 deny log ip from any to any
65535 deny ip from any to any

One last thing, my server is behind a ZyXel ADSL router, which is
addressed as 192.168.1.1 on the inside. xl0 is my outside NIC.

Currently, I have more than 180 dynamic rules active, most are attached
to rule 00610. 180 rules seems to be excessive, and they don't seem to
be timing out. Is my ruleset screwed up?

Thanks
Jason 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: OpenOffice

2003-02-03 Thread Jason Morgan

You may just have to wait until it's available again. Are there not
mirrors specified in the Makefile?

Also, just a warning, while OO works great on FreeBSD (I use it every
day), it takes a long time to build and takes a lot of space in '/'.
After it builds, it works great.

Tschuess,

Jason



On Mon, Feb 03, 2003 at 10:47:19AM +0100, Alex Huth wrote:
> Sorry, in the first message I?ve forgotten the topic
> 
> Hi guys!
> 
> I want to install openoffice from the ports. When i try this iget the 
> following error:
> 
> 
> >> helpcontent_49_unix.tgz doesn't seem to exist in 
> /usr/ports/distfiles/openoffice.
> >> Attempting to fetch from 
> http://ny1.mirror.openoffice.org/miscellaneous/helpcontent/.
> --10:38:54--  
> http://ny1.mirror.openoffice.org/miscellaneous/helpcontent/helpcontent_49_unix.tgz
>=> `helpcontent_49_unix.tgz'
> Connecting to xy ... connected.
> Proxy request sent, awaiting response... 404 Not Found
> 10:38:54 ERROR 404: Not Found.
> 
> Same happened on the folloeing ftp-link. Where is this file? Searching on 
> openoffice.org doesn?t help. Can someone help me?
> 
> So long ...
> 
> 
> Alex Huth
> -- 
> Unix like TeePee no windows, no gates, Apache inside.
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: IPFW2 setup

2003-01-31 Thread Jason Morgan
Kernel firewall settings:

options IPFW2
options IPFIREWALL  #Firewall
options IPFIREWALL_VERBOSE  #print info about dropped packets
options IPFIREWALL_VERBOSE_LIMIT="10"  #limit verbosity
options IPV6FIREWALL
options IPV6FIREWALL_VERBOSE
options IPV6FIREWALL_VERBOSE_LIMIT="10"
options IPDIVERT#Divert sockets
options IPSTEALTH   #support stealth forwarding
options ICMP_BANDLIM#Rate limit bad replies
options ACCEPT_FILTER_DATA
options ACCEPT_FILTER_HTTP


I can't reach the web from the inside, nor can I ssh to my server.
Everything seems to be getting hung up on rules 310 and 410. I, of
course, want to do away with 32000. In order to get through, I have
temporarily added an 'allow all from any to any' at 210. I'll start
logging the denys and see what happens.

-jason


On Fri, Jan 31, 2003 at 11:56:02AM -0500, Steve Bertrand wrote:
> What part is not working? Can you nat through? Perhaps you could add 
> some logging to see which packets are failing and why.
> Do you have the following in the kernel?
> 
> optionsIPFIREWALL
> optionsIPFIREWALL_VERBOSE
> optionsIPDIVERT
> 
> Let us know.
> 
> Steve
> 
> Jason Morgan wrote:
> 
> >OK, I've read the man page for IPFW a couple times and I am still having
> >difficulty setting up a working firewall. The firewall acts as a gateway
> >to my inside network as well as a web server and mail server. I also
> >need ssh connectivity from inside and out. Also, one odd thing is that I
> >have a Zyxel Prestige 643 acting as an additional router between me and
> >my DSL connection (I couldn't figure out how to get the router in pure
> >bridging mode). It comes in handy, though, as it has a 4-port switch
> >built in and can also act a firewall and does the PPPoE easy enough.
> >
> >NICs:
> >xl0 as 192.168.1.101 (to Zyxel and outside)
> >dc0 as 10.0.0.1 (inside)
> >
> >Current IPFW config:
> >
> >-
> >
> ># Basics
> >add 00010 pass all from any to any via lo0
> >add 00020 deny all from any to 127.0.0.0/8
> >add 00030 deny ip from 127.0.0.0/8 to any
> >add 00040 deny ip from any to any frag
> >
> ># Spoofing Check
> >add 00050 deny all from 10.0.0.0/8 to any in via xl0
> >add 00060 deny all from 172.16.0.0/12 to any in via xl0
> >
> >add 00080 allow all from 192.168.1.1 to any in via xl0
> >add 00085 deny all from 192.168.0.0/16 to any in via xl0
> >
> ># Divert
> >add 00100 divert natd all from any to any via xl0
> >
> ># Allowances
> >add 00200 allow all from any to any in via dc0
> >
> ># Check state of dynamic rules
> >add 00220 check-state
> >
> ># UDP
> >add 00300 allow udp from any to any out setup
> >add 00310 deny udp from any to any established
> >add 00320 allow udp from any to any 53 in via xl0 setup keep-state
> >
> ># TCP
> >add 00400 allow tcp from any to any out setup keep-state
> >add 00410 deny tcp from any to any established
> >add 00420 allow tcp from any to any 22,25,80 in setup keep-state
> >
> >
> >add 32000 allow all from any to any
> >
> >
> >
> >Could anyone offer some advice?
> >
> >Regards,
> >
> >Jason
> >
> >To Unsubscribe: send mail to [EMAIL PROTECTED]
> >with "unsubscribe freebsd-questions" in the body of the message
> >
> >
> > 
> >
> 
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



IPFW2 setup

2003-01-31 Thread Jason Morgan
OK, I've read the man page for IPFW a couple times and I am still having
difficulty setting up a working firewall. The firewall acts as a gateway
to my inside network as well as a web server and mail server. I also
need ssh connectivity from inside and out. Also, one odd thing is that I
have a Zyxel Prestige 643 acting as an additional router between me and
my DSL connection (I couldn't figure out how to get the router in pure
bridging mode). It comes in handy, though, as it has a 4-port switch
built in and can also act a firewall and does the PPPoE easy enough.

NICs:
xl0 as 192.168.1.101 (to Zyxel and outside)
dc0 as 10.0.0.1 (inside)

Current IPFW config:

-

# Basics
add 00010 pass all from any to any via lo0
add 00020 deny all from any to 127.0.0.0/8
add 00030 deny ip from 127.0.0.0/8 to any
add 00040 deny ip from any to any frag

# Spoofing Check
add 00050 deny all from 10.0.0.0/8 to any in via xl0
add 00060 deny all from 172.16.0.0/12 to any in via xl0

add 00080 allow all from 192.168.1.1 to any in via xl0
add 00085 deny all from 192.168.0.0/16 to any in via xl0

# Divert
add 00100 divert natd all from any to any via xl0

# Allowances
add 00200 allow all from any to any in via dc0

# Check state of dynamic rules
add 00220 check-state

# UDP
add 00300 allow udp from any to any out setup
add 00310 deny udp from any to any established
add 00320 allow udp from any to any 53 in via xl0 setup keep-state

# TCP
add 00400 allow tcp from any to any out setup keep-state
add 00410 deny tcp from any to any established
add 00420 allow tcp from any to any 22,25,80 in setup keep-state


add 32000 allow all from any to any



Could anyone offer some advice?

Regards,

Jason

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Couple more tidbits of info

2003-01-30 Thread Jason Morgan
>From top:
PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU COMMAND
68  root  50   0  9832K  9580K RUN 18.4H 37.26% 37.26% natd

That's really high.

>From ipfw show:

00050 23364131 1766791991 divert 8668 ip from any to any via dc0
0010016354 658880 allow ip from any to any via lo0
002000  0 deny ip from any to 127.0.0.0/8
003008224 deny ip from 127.0.0.0/8 to any
00400   34   1480 deny tcp from any to any 3306
65000 25179749 2787509437 allow ip from any to any
655350  0 deny ip from any to any


I had just implemented the firewall and I was going to finish the
ruleset today. Is it possibly logging to the root partition and not
/var?

The amount of traffic also seems really high.

Jason





On Thu, Jan 30, 2003 at 12:05:50PM -0500, Jason Morgan wrote:
> I got a strange error from my server this morning - root partition full.
> I then looked at my email and had this in my inbox (of course I get
> this every day):
> 
> Disk status:
> Filesystem1K-blocksUsedAvail Capacity  Mounted on
> /dev/ad0s1a  516062  505036   -30258   106%/
> /dev/ad2s1a  516062  117638   35714025%/rootbackup
> procfs4   40   100%/proc
> /dev/vinum/usr 19850256 1112316 17149920 6%/usr
> /dev/vinum/var 235792039623 21683244 0%/var
> /dev/vinum/public  29776085 116 27393883 0%/public
> 
> This was yesterday:
> 
> Disk status:
> Filesystem1K-blocksUsedAvail Capacity  Mounted on
> /dev/ad0s1a  516062  135492   33928629%/
> /dev/ad2s1a  516062  117638   35714025%/rootbackup
> procfs4   40   100%/proc
> /dev/vinum/usr 19850256 1108980 17153256 6%/usr
> /dev/vinum/var 235792039323 21683544 0%/var
> /dev/vinum/public  29776085 116 27393883 0%/public
> 
> How do I determine what's going on? This is really strange.
> 
> Thanks,
> 
> Jason
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



HELP! root partition full!

2003-01-30 Thread Jason Morgan
I got a strange error from my server this morning - root partition full.
I then looked at my email and had this in my inbox (of course I get
this every day):

Disk status:
Filesystem1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a  516062  505036   -30258   106%/
/dev/ad2s1a  516062  117638   35714025%/rootbackup
procfs4   40   100%/proc
/dev/vinum/usr 19850256 1112316 17149920 6%/usr
/dev/vinum/var 235792039623 21683244 0%/var
/dev/vinum/public  29776085 116 27393883 0%/public

This was yesterday:

Disk status:
Filesystem1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a  516062  135492   33928629%/
/dev/ad2s1a  516062  117638   35714025%/rootbackup
procfs4   40   100%/proc
/dev/vinum/usr 19850256 1108980 17153256 6%/usr
/dev/vinum/var 235792039323 21683544 0%/var
/dev/vinum/public  29776085 116 27393883 0%/public

How do I determine what's going on? This is really strange.

Thanks,

Jason

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: monitoring traffic with IPFW - good idea?

2003-01-28 Thread Jason Morgan
Thanks, I'll check it out.


On Tue, Jan 28, 2003 at 04:10:49PM -0800, Mahlon wrote:
> On Sat, Jan 25, 2003, Jason Morgan wrote:
> > I remotely admin a server and am trying to come up with a simple way to
> > monitor traffic.
> 
> 
> I wrote a script a short while back that helps. 
> Graphs traffic on a per host basis.
> 
> Install rrdtool and ipfm from the ports, then run this script via cron:
> 
> http://www.martini.nu/misc/ipfm_graph.pl
> 
> It will output images like this, in a HTML page:
> http://www.martini.nu/misc/ipfmimages/totals_daily.png
> 
> Let me know if it works out for you.
> 
> 
> Mahlon E. Smithjabber id: [EMAIL PROTECTED]
> http://www.martini.nu/   get pgp key:  [EMAIL PROTECTED]
> 
>  "I hope life isn't a big joke, because I don't get it." - Jack Handey



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: monitoring traffic with IPFW - good idea?

2003-01-25 Thread Jason Morgan
Thanks, that's what I wanted to hear.

Jason



On Sat, Jan 25, 2003 at 05:46:28PM +0100, Frank Reppin wrote:
> On Sat, 25 Jan 2003, Jason Morgan wrote:
> 
> Hi,
> 
> yes - why not. I do the same here on our net with IPFW count
> rules. In this way I divided those rules to monitor different
> subnets, protocols and I also monitor the bandwidth usage
> for some services. All this informations gets then piped
> through MRTG (www.mrtg.org) and produces some nice graphs - showing
> the used bandwidth.
> On the other hand it might be enough for you, if you only see
> what actually happened by watching the rules manually - in other
> words - get the output mailed from time to time.
> 
> Maybe someone has a clue, if a lot of count rules (I mean really lots
> of them) have any 'bad' side effects on performance. So far I don't
> see problems with around 80 rules on PII400/128MB counting traffic
> from/to upstream (2.3Mbit/s) via 100MBit/s interfaces in this box.
> I think of doing accounting here for a /22 net (atm this is done
> by a linux box with ipac).
> 
> Best regards,
> 
> Frank Reppin
> 
> -- 
> Heidestr. 15
> 39112 Magdeburg
> Germany
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



monitoring traffic with IPFW - good idea?

2003-01-25 Thread Jason Morgan
I remotely admin a server and am trying to come up with a simple way to
monitor traffic. Lately, I have been manually using IPFW's count feature
to monitor individual's bandwidth usage. We don't want to restrict any
user's usage, we just want to be aware if someone starts trading mp3s,
or if our usage comes to a point where we need more bandwidth. We are a
small shop (four employees in the office) and we are using a single
server for routing, firewall, and website hosting. I was planning on 
writing a simple script to email me and the boss a "ipfw show" every
day. Is this a good way to do it? Will the extra 'count' entries be more
of a burden on the system?

Please excuse my ignorance.

Cheers,
Jason

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



usb problem

2003-01-18 Thread Jason Morgan
I am having trouble getting my USB Zip drive and my canon camera
working. I think it may be a problem with USB in general.

In the kernal I have:
device  scbus   # SCSI bus (required)
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device (direct SCSI access)
# USB support
device  uhci# UHCI PCI->USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  uhid# "Human Interface Devices"
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
device  uscanner# Scanners
 
When I boot ('boot -v') I get:

# dmesg | grep umass
umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2
umass0: Get Max Lun not supported (STALLED)
umass0:0:0:-1: Attached to scbus0 as device 0
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT

# dmesg | grep uhci
uhci0:  port 0xe000-0xe01f irq 11 at device 17.2 on pci0
usb0:  on uhci0
uhci1:  port 0xe400-0xe41f irq 11 at device 17.3 on pci0
usb1:  on uhci1
uhci2:  port 0xe800-0xe81f irq 11 at device 17.4 on pci0
usb2:  on uhci2

# dmesg | grep usb
usb0:  on uhci0
usb0: USB revision 1.0
usb1:  on uhci1
usb1: USB revision 1.0
usb2:  on uhci2
usb2: USB revision 1.0

# dmesg | grep uhub
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered

# dmesg | grep da (Note: This is the correct device for the Zip drive, right?)
...


Can anyone offer any advise?


Thanks,

Jason Morgan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: problem with top?

2003-01-17 Thread Jason Morgan
> Not sure how the GIMP port would have caused this... but I've had this same problem 
>when mixing newly built kernels with old
> binaries.  Read the Makefile in /usr/src.  Sounds like you need to:
> 
> # cd /usr/src
> # make installworld

I thought this may be the case. Everything works fine now. The strange
thing is, I didn't have any problems before I installed GIMP. Strange.
Maybe I did and didn't notice.

Thanks,

Jason

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: problem with top?

2003-01-16 Thread Jason Morgan
As this was my workstation, I was able to reboot. Came to the same
problem. Any suggestions?


On Thu, Jan 16, 2003 at 11:01:32PM -0500, Jason Morgan wrote:
> What does this mean?
> 
> $ top
> kvm_open: proc size mismatch (41340 total, 1056 chunks)
> top: Out of memory.
> 
> $ ps aux | more
> ps: proc size mismatch (41340 total, 1056 chunks)
> 
> 
> This came up right after installing the GIMP port (gimp1 in ports). I
> noticed some slight slow down in the system, so I thought I would take a
> look at what's going on. Now everything seems to be running fine, but I
> still can't use top or ps.
> 
> Jason
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



problem with top?

2003-01-16 Thread Jason Morgan
What does this mean?

$ top
kvm_open: proc size mismatch (41340 total, 1056 chunks)
top: Out of memory.

$ ps aux | more
ps: proc size mismatch (41340 total, 1056 chunks)


This came up right after installing the GIMP port (gimp1 in ports). I
noticed some slight slow down in the system, so I thought I would take a
look at what's going on. Now everything seems to be running fine, but I
still can't use top or ps.

Jason




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: iomega usb zip 100

2003-01-04 Thread Jason Morgan

I've had the same trouble and have asked on this list but have never
gotten a response. Maybe it's in a FAQ somewhere?

-Jason

On Fri, Jan 03, 2003 at 09:08:36PM -0500, Ted wrote:
> Dear FreeBSDers,
> I've tried using the mount command to mount my USB Iomega Zip 100 drive 
> but have failed. Upon boot w/ the device plugged into the pc, the 
> kernal recognizes it as umass0 but on the very next line it states that 
> "Get Lun (stalled)".
> 
> How do I mount a USB Iomega Zip 100 drive under FreeBSD 4.7?
> 
> Thank you for your assistance,
> Ted
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Using the OpenSSH Port

2002-12-17 Thread Jason Morgan
On Tue, Dec 17, 2002 at 05:09:34PM +0200, [EMAIL PROTECTED] wrote:
> In article <[EMAIL PROTECTED]> you 
>wrote:
> > I would like to use the OpenSSH port instead of the default install. I
> > tried setting
>   What's the reason ? I'we missed some CERT advisories about 4.7 builtin
> ssh ?

I am intalling a server for a small company - a company I once worked for. A few
years ago, I moved their server from Windows 2000 to FreeBSD in order to save money
on licensing, etc. They were very impressed from the beginning, given that the
server was a Celeron EMachines (no joke, we were a new company and the goal was to
save cash) and there were few issues with this setup, instead of the monthly crashes
or other 'issues' with Win2000. All was well until I left the company. Nobody has
the time to learn FreeBSD and so updating and admin tasks are still left to me (I
now live across the country). They were thinking about moving back to Windows,
because they feel it would be easier for them to admin (they have more cash now so
licensing is less of an issue). I stopped them from doing so but am once again stuck
with the job of admin.

The short of it is that I want to be able to reinstall OpenSSH at any time, should a
vulnerability come out and it makes me nervous doing a build-/installworld from 3000
miles away. The server is also doing a lot more work now (Apache, MySQL, DNS,
ROUTING, etc.) and uptime is much more important.

> > NO_OPENSSH= true
> 
> > in my /etc/make.conf file and then doing a build- / installworld. Didn't
> > work. Is there some easy way to do this?
>   buildworld ? What's for ???
>   killall ssh
>   cd /usr/ports/security/openssh
>   make install
>   vi /etc/rc.conf
> 
> -- 
> AY7-UANIC || AY15-RIPE
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Using the OpenSSH Port

2002-12-16 Thread Jason Morgan
On Mon, Dec 16, 2002 at 09:36:43PM -0600, Jack L. Stone wrote:
> Jason:
> I believe you should use this:
> # OPENSSH_OVERWRITE_BASE= true  # Use to make it update from the ports

Where is that in the docs? I couldn't find it in
/etc/defaults/make.conf.

> 
> Best regards,
> Jack L. Stone,
> Administrator
> 
> SageOne Net
> http://www.sage-one.net
> [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Using the OpenSSH Port

2002-12-16 Thread Jason Morgan
I would like to use the OpenSSH port instead of the default install. I
tried setting

NO_OPENSSH= true

in my /etc/make.conf file and then doing a build- / installworld. Didn't
work. Is there some easy way to do this?

Thanks,

Jason

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: vinum and a BAD SUPER BLOCK: MAGIC NUMBER WRONG

2002-12-05 Thread Jason Morgan

Yes, that was the problem - coupled with my ignorance. When I tried removing
these before, I still had an error, which was caused by a mistake in my
moving /usr and /var.

Thanks for the help and thanks for vinum.

-Jason


On Fri, Dec 06, 2002 at 11:29:55AM +1030, Greg 'groggy' Lehey wrote:
> On Thursday,  5 December 2002 at 19:36:18 -0500, Jason Morgan wrote:
> > OK, I am installing vinum for the first time and have run into trouble.
> >
> > Setup:
> >
> > FreeBSD 4.7-RELEASE
> > 2 WD 80GB IDE drives, ad0 and ad2
> >
> > I used this page to help me through my setup:
> >
> > http://org.netbase.org/vinum-mirrored.html
> >
> > I have followed Case 2, which is a basic setup of one drive mirroring the
> > other (RAID-1 right?). I am not trying to mirror the root partition, and
> > have a minimal install on ad0s1a.
> >
> > The setup hase gone just fine, but when I reboot, I get this:
> >
> > [snip]
> > /dev/ad2s1e: BAD SUPER BLOCK: MAGIC NUMBER WRONG
> > /dev/ad2s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
> > [snip]
> > /dev/ad0s1e: BAD SUPER BLOCK: MAGIC NUMBER WRONG
> > /dev/ad0s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
> >
> > At that point it goes in single user mode.
> 
> OK, this looks like a problem with the howto.  After you put a Vinum
> drive on the slices, you no longer have a file system.  You need to
> remove the entries for these slices in /etc/fstab and replace them
> with entries for the Vinum volumes.  The howto tells you to add the
> entries for the Vinum volumes, but not to remove the old ones.
> 
> > I've tried fooling with fstab and even reinstalling (new machine, no
> > data to be lost), but I keep getting the same problem. Could this be
> > a problem with my newfs usage:
> >
> > newfs -v /dev/vinum/usr
> > newfs -v /dev/vinum/var
> > newfs -v /dev/vinum/public
> 
> That looks OK.
> 
> > Last thing; When I run vinum and issue the list command, it says
> > everything is 'up', including ad0s1e and ad2s1e.
> 
> Vinum doesn't say that ad0s1e and ad2s1e are up.  It's the drives
> located on those slices which are up.
> 
> Greg
> --
> When replying to this message, please copy the original recipients.
> If you don't, I may ignore the reply or reply to the original recipients.
> For more information, see http://www.lemis.com/questions.html
> See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



vinum and a BAD SUPER BLOCK: MAGIC NUMBER WRONG

2002-12-05 Thread Jason Morgan
OK, I am installing vinum for the first time and have run into trouble.

Setup:

FreeBSD 4.7-RELEASE
2 WD 80GB IDE drives, ad0 and ad2

I used this page to help me through my setup:

http://org.netbase.org/vinum-mirrored.html

I have followed Case 2, which is a basic setup of one drive mirroring the
other (RAID-1 right?). I am not trying to mirror the root partition, and
have a minimal install on ad0s1a.

The setup hase gone just fine, but when I reboot, I get this:

[snip]
/dev/ad2s1e: BAD SUPER BLOCK: MAGIC NUMBER WRONG
/dev/ad2s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
[snip]
/dev/ad0s1e: BAD SUPER BLOCK: MAGIC NUMBER WRONG
/dev/ad0s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

At that point it goes in single user mode.

I've tried fooling with fstab and even reinstalling (new machine, no data 
to be lost), but I keep getting the same problem. Could this be a problem
with my newfs usage:

newfs -v /dev/vinum/usr
newfs -v /dev/vinum/var
newfs -v /dev/vinum/public

Last thing; When I run vinum and issue the list command, it says everything 
is 'up', including ad0s1e and ad2s1e.

Many thanks for any help you can give.

-Jason

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: disklabel device busy

2002-12-04 Thread Jason Morgan

I'll answer my own question. The devices were mounted. They shouldn't be.

-Jason


On Wed, Dec 04, 2002 at 01:48:16PM -0500, Jason Morgan wrote:
> I am attempting to set up a new system with vinum. I've never used 
> vinum before, but I found a good guide for what I want to do here
> (Case 2): 
> 
> http://org.netbase.org/vinum-mirrored.html
> 
> Anyway, I have come to the point where I have to label my disks and I
> am getting the following:
> 
> First try:
> 
> # disklabel -e /dev/ad0s1e
> disklabel: Device busy
> 
> Second try (completely empty disk):
> 
> # disklabel -e /dev/ad2s1f
> disklabel: Device busy
> 
> Then I tried 'disklabel -e -r' for each of these and still: Device busy.
> 
> Could someone point me in the right direction?
> 
> 
> Thanks,
> -Jason
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



  1   2   >