wi0 does not associate on system startup

2003-08-14 Thread Mark Miller
Hi,

I'm using a Netgear MA401 card on FreeBSD 4.8 (dell inspiron 2650 laptop),
and for some reason I can't automatically connect to the wireless network
when I start up.  However, 'killall dhclient; dhclient wi0' works
perfectly.  Can anyone tell me what I can do to make this work the first
time around?  Below is a simple log of what I do everytime I boot up-- it
looks like the card might be trying to get an INET6 address, but I don't
know what to do about that either.

Thanks in advance,
Mark

[EMAIL PROTECTED] ifconfig
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=3rxcsum,txcsum
inet6 fe80::208:74ff:fee5:ff7c%xl0 prefixlen 64 scopeid 0x1
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
ether 00:08:74:e5:ff:7c
media: Ethernet autoselect (none)
status: no carrier
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff00
wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::209:5bff:fe4b:d64e%wi0 prefixlen 64 scopeid 0x7
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
ether 00:09:5b:4b:d6:4e
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: associated
ssid snip:
stationname FreeBSD WaveLAN/IEEE node
channel 11 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1
[EMAIL PROTECTED] ssh myserver
ssh: connect to host myserver port 22: No route to host
[EMAIL PROTECTED] sudo killall dhclient
[EMAIL PROTECTED] sudo dhclient wi0
[EMAIL PROTECTED] ifconfig
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=3rxcsum,txcsum
inet6 fe80::208:74ff:fee5:ff7c%xl0 prefixlen 64 scopeid 0x1
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
ether 00:08:74:e5:ff:7c
media: Ethernet autoselect (none)
status: no carrier
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff00
wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::209:5bff:fe4b:d64e%wi0 prefixlen 64 scopeid 0x7
inet 10.0.1.21 netmask 0xff00 broadcast 10.0.1.255
ether 00:09:5b:4b:d6:4e
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: associated
ssid snip:
stationname FreeBSD WaveLAN/IEEE node
channel 11 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1
[EMAIL PROTECTED] grep -v '^#' /etc/rc.conf
hostname=zoe.verizon.net
ifconfig_wi0=DHCP
ifconfig_xl0=DHCP
network_interfaces=xl0 lo0 wi0
pccard_enable=YES
usbd_enable=YES
sendmail_enable=NONE
inetd_enable=YES
portmap_enable=YES
sshd_enable=YES
icmp_drop_redirect=YES
apm_enable=YES
apmd_enable=YES
linux_enable=YES
[EMAIL PROTECTED] uname -a
FreeBSD zoe.verizon.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Wed Jun 18
22:43:27 PDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZOE.5  i386


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


Re: Are there STABLE/CURRENT/RELEASE tags for ports?

2003-06-12 Thread Mark Miller
DoubleF,

Thanks for the suggestions, I definitely feel your pain.  I just wish I
had the disk for that sort of system...

On a more pragmatic note, are there any particular reasons that port
maintainers can't use the -STABLE tag for their updates?  It seems like a
general guideline of stable lags current by X weeks might help things
tremendously.

Mark

On Thu, 12 Jun 2003, DoubleF wrote:

 Are there any equivalents to STABLE/RELEASE/CURRENT for ports?  I've been
 cvsup'ing with tag=. for awhile and I keep getting build errors (bug
 reports will be filed soon).  Is there a way to just track -STABLE ports
 (maybe that only have bugfixes and security updates) that are more likely
 to play nicely with each other?  If not, is there any way to make this
 happen?

Arghh I wish there were such tags.

In the meantime you might consider CTM for ports, downloading the deltas
from the FTP. If you do that and NEVER EVER remove the deltas, you may
be able to 'roll back' to any date you want to try to find the non-broken
port version (if there was any, of course...).

I am also rather tired of build errors. What I can suggest is probably
kludgy, but it is the least kludgy way I could find to compile some
ports. Before you install any ports,

1) Save the deltas...

   hier kludge start
2) Symlink /usr/X11R6 to /usr/local. Many ports put files in the wrong
one, and symlinking individual files is, ahm,... AFAIK, there are no
colliding files in them.

3) Try putting /usr/local and /var/db/pkg (and /etc/X11, and /usr/ports
maybe, but I don't) on a separate filesystem. Make two such filesystems,
current and stable. Make / and the remaining /usr as read-only as
possible. Make a mountpoint, say, /switch. Symlink /usr/local to
/switch/usr.local, /var/db/pkg to /switch/var.db.pkg... Then change the
fstab file to mount stable at startup. You can always mount current
after boot on top of stable and so emulate what you wish. You may want
to make the WRKDIRPREFIX to point to a directory shared between the
current and stable to save compilation time (otherwise you will
compile each port twice), but I wouldn't recommend it (to be on the safe
side).
   hier kludge end

It's just what I do. I know it breaks the normal hierarchy (and takes 2x
space), but at least it does it in a polite way.

HTH,
   DoubleF


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


Are there STABLE/CURRENT/RELEASE tags for ports?

2003-06-11 Thread Mark Miller
Hi,

Are there any equivalents to STABLE/RELEASE/CURRENT for ports?  I've been
cvsup'ing with tag=. for awhile and I keep getting build errors (bug
reports will be filed soon).  Is there a way to just track -STABLE ports
(maybe that only have bugfixes and security updates) that are more likely
to play nicely with each other?  If not, is there any way to make this
happen?

Thanks,
Mark
(not on list, please CC:)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.0 on Dell Inspiron 2650

2003-01-28 Thread Mark Miller
Hello,

I'm trying to put 5.0-RELEASE on my new laptop, and I found a good guide
for doing so with 4.x-- basically, you have to escape the autoboot
process, type boot -c, enter eisa 0 at the config prompt, and then
quit to start the boot.  But it seems like 5.0 does not support boot -c
(just ignores it entirely).  I'm using the disc 1 .iso (it mentions
mini-inst during the pre-boot stages).  Can anybody tell me what I'm doing
wrong, or what the replacement for boot -c is?

Thanks in advance,
Mark

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



/usr/src/usr.sbin/pkg_install fails looking for libinstall.a

2002-10-10 Thread Mark Miller

Hi,

I'm trying to rebuild the pkg_install suite from cvsup'ed source, but the
build consistently fails with

cc: /usr/src/usr.sbin/pkg_install/add/../lib/libinstall.a: No such file or
directory

If I copy that file from another machine (the file is built during make
world) the build and install runs perfectly.  But shouldn't a make build
in /usr/src/usr.sbin/pkg_install include making this libinstall.a?

Thanks
Mark


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



ATAPI CDRW compatibility

2002-10-10 Thread Mark Miller

I remember awhile back reading the list of burncd-supported ATAPI CDRW
drives, and at the time it was a short list.  I'm now thinking of moving
up to a faster drive,  and according to Section 4.6 of
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/hardware.html
FreeBSD supports any ATAPI-compatible IDE CD-R or CD-RW drive.

Is this in fact correct?  For burning purposes?  Really?  The drive
I'm considering is the Sony CRX195A1/C1, and I'd like to know if this
updated information is correct-- which improved, the software or hardware?

Thanks
Mark


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



error building mozilla-- cannot find -lglib

2002-09-20 Thread Mark Miller

Hi,

I'm trying to build mozilla from ports and I get the following error:

gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/xpcom/typelib/xpidl'

cc -o xpidl -I/usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused
-Wpointer-arith -Wcast-alig n -Wno-long-long -O -pipe -march=pentiumpro
-pipe -DNDEBUG -DTRIMMED -ffunction-sections -I/usr/local/ include/glib12
-I/usr/local/include/orbit-1.0 -I/usr/local/include xpidl.o xpidl_idl.o
xpidl_util.o xp idl_header.o xpidl_typelib.o xpidl_doc.o xpidl_java.o
-L../../../dist/bin -L../../../dist/lib ../../.  ./dist/lib/libxpt.a
-L/usr/local/lib -lIDL -lglib -lm
/usr/libexec/elf/ld: cannot find -lglib
gmake[4]: *** [xpidl] Error 1
gmake[4]: Leaving directory
`/usr/ports/www/mozilla/work/mozilla/xpcom/typelib/xpidl'
gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory
`/usr/ports/www/mozilla/work/mozilla/xpcom/typelib'
gmake[2]: *** [export] Error 2
gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/xpcom'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

I deleted and then reinstalled glib via ports, and ran ldconfig -R to
update the hints file.  Here's what my system looks like now:

% ldconfig -r |grep glib
303:-lglib12.3 = /usr/local/lib/libglib12.so.3
% ls -l /usr/local/lib/libglib12.so.3
-rwxr-xr-x  1 root  wheel  163973 Sep 19 20:45 /usr/local/lib/libglib12.so.3*

Why would ld be unable to find glib?  Is there something I'm doing wrong?

Thanks,
Mark


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