Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 1999 01:02:44 -0700 (MST)
From:      chris reaume <chris@saturn.aepnet.com>
To:        freebsd-questions@freebsd.org
Subject:   vaio's.. 
Message-ID:  <Pine.BSF.4.10.9912140047000.68990-100000@saturn.aepnet.com>

next in thread | raw e-mail | index | archive | help
a few things I've found, that I thought I would contribute in the hopes
someone who has a PCG-Z505RX would tell me how to configure the sound on
this..  I would boot into windows and check the settings there, but
unfortunately (or fortunately :) it didn't see the light of day for more
than 5 minutes...

anyway, the few things I've found so far:

I got my raw disk throughput (as measured by dd <shrug>) up from 3mb/s to
12 by adding flags 0xa0ffa0ff to my controller wdc0 line in my kernel
config file:
controller      wdc0    at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff

also, I noticed that when I would suspend the machine, the fxp0 wouldn't
wake up immediately after a resume, but would take a good minute or so to
come to it's senses if at all..  after some random poking I discovered
that throwing it into promiscuous mode for a moment would wake it right
up.. so here's what I did:

in /etc/rc.resume, I added:

if [ -e /var/run/connected ]
then
        /usr/sbin/tcpdump -n -c 1 > /dev/null 2>&1
fi

now, before you jump on me, here's why I have /var/run/connected:
in /root/bin, I've got a script called box23.sh:

#!/bin/sh
echo -n " box23"
ifconfig fxp0 inet 10.10.3.4 netmask 255.255.255.0
route add default 10.10.3.1 > /dev/null 2>&1
ln -sf /root/bin/box23.sh /usr/local/etc/rc.d/ifup.sh
touch /var/run/connected

and a script called ifdown.sh:

#!/bin/sh
ifconfig fxp0 down
route delete default
rm /usr/local/etc/rc.d/ifup.sh
rm /var/run/connected

I actually have two other scripts for the other two networks I use my vaio
on regularly..  I never have to reboot, it's delightful :)

oh, and the end result?  if I ping a host, and suspend the vaio, wait a
minute, and resume, the pings pick up exactly where they left off and you
can't even tell the difference even the first response time..  I don't
know how you guys do it!   :)

thanks,
   chris



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912140047000.68990-100000>