On Mon, 8 Oct 2007 14:11:30 -0400
Jerry McBride <[EMAIL PROTECTED]> wrote:

> 
> I'm trying to polish off a gentoo install on a COMPAQ R3000 with
> Broadcom 4306 wireless chips...
> 
> I can manually setup a solid 54M connection without much effort, but
> trying to get it done automatically is troublesome...
> 
> I setup a softlevel named "wireless". I deleted the net.eth0 hardware
> connection and added net.eth1 in it's place. 
> 
> My /etc/conf.d/net looks like (wired config deleted):
> 
> # wireless
> #
> dns_domain_eth1=("my.domain")
> config_eth1=( "192.168.0.10 netmask 255.255.255.0 broadcast
> 192.168.0.255" ) routes_eth1=( "default via 192.168.0.1" )
> ap_eth1="any"
> essid_eth1="any"
> essid_eth1="wireless_at_mcbrides"
> preferred_aps=( "wireless_at_mcbrides")
> mode_eth1="managed"
> managed_essid_eth1="wireless_at_mcbrides"
> key_wireless_at_mcbrides="[1] ccf4c2305d0d99563a4eaa9597"
> 
> #ccf4 c230 5d0d 9956 3a4e aa95 97
> #1c20 3ad0 cd0c e131 8c54 7b3e bb
> #4c1a 952c 4ee4 4190 3688 d121 d6
> #2786 96d8 4ab4 075f d541 9dad 22
> 
> rate_wireless_at_mcbrides=("54M")
> channel_eth1="11"
> dns_servers_eth1=("68.87.75.194" "68.87.64.146")
> 
> 
> What fails to happen is... the device is not brought up automatically.
> That is, to get this to work, I have to manually "ifconfig eth1 up"
> then "/etc/init.d/net.eth1 start". After that, wireless connection is
> perfect. 
> 
> The problem I have is, how to get "ifconfig eth1 up" to run before the
> wireless stuff?
> 
> Also, are the entries in /etc/conf.d/net order specific? To me it
> seems if things are ordered "just right" you either get support for
> various commands or you don't. Anyone see anything "killer" wrong in
> my net file?
> 
> Thanks for your time... and for the flame bots out there... I've
> googled my self to death and have been through the gentoo.forums. My
> specific setup issues aren't addressed.
> 
> ---
> 
> 
> Jerry McBride
> 

Sorry to reply to my own cry for help...

I fixed it. After determining that net.lo is pretty much brain dead and
not being willing to fix it... I wrote my own init script. It's even
more brain dead, but works 100%.

The net.lo script and supporting code simply does not work as needed
for this laptop. 

Cheers all...

#!/sbin/runscript
#
depend() {
        before cupsd
}

start() {
        ebegin "Starting wireless"
            modprobe bcm43xx
            ifconfig eth1 192.168.0.10 netmask 255.255.255.0
            iwconfig eth1 ap 00:02:6e:49:19:2f
            iwconfig eth1 mode managed
            iwconfig eth1 channel 11
            iwconfig eth1 key [1] ccf4c2305d0d99563a4eaa9597
            iwconfig eth1 rate 54M
            iwconfig eth1 essid wireless_at_mcbrides

            ifconfig eth1 192.168.0.10 netmask 255.255.255.0

            route add default gateway 192.168.0.1 eth1

            echo "domain my.domain"         > /etc/resolv.conf
            echo "nameserver 68.87.75.194" >> /etc/resolv.conf
            echo "nameserver 68.87.64.146" >> /etc/resolv.conf

}

stop() {
        ebegin "Stopping wireless"
        ifconfig eth1 down
        rmmod bcm43xx
}


--

Cheers...



-- 
[EMAIL PROTECTED] mailing list

Reply via email to