Bill Rucker wrote: > Somewhere around Wed, Jun 15, 2005 at 08:04:48PM +0200, a message > from Richard Fish went like this: > >>> Jun 14 21:01:02 gt40 cardmgr[5320]: executing: './network start eth1 >>> 2>&1' >>> Jun 14 21:01:02 gt40 cardmgr[5320]: + /usr/sbin/iwconfig eth1 channel 8 >>> Jun 14 21:01:02 gt40 cardmgr[5320]: + Error for wireless request >>> "Set Frequency" >>> (8B04) : >>> >>> >> I'm not sure I understand this output...this happens even before the >> net.eth1 script is executed, because the first thing it will do is try >> to load modules, which causes the warning below. Did you modify the >> pcmcia network script to add an iwconfig command? > > > I have had my wireless working right along using pcmcia and the > /etc/wireless/wireless.opts. There are no iwconfig parms set up in > that file > though, just pretty much the same info I have in this arrangement. > Could having > pcmcia set to run at default and trying to configure the wireless have > something > to do with the problem?
I took another look at the /etc/pcmcia/network script, and it seems that it will run a the '/etc/pcmcia/wireless' script if it exists first, which will try to set the channel if you have one specified in /etc/pcmcia/wireless.opts. So, there seems to be a disconnect between the pcmcia-cs scripts and the baselayout scripts on how the wireless options should be specified and loaded. >>Ok, this message happens if "iwlist eth1 scanning" doesn't produce any >>output on stdout. Could you try running that command and see what you get? >> >> > >This is what I get when I run that command: >eth1 Interface doesn't support scanning : Operation not supported > > Well, that explains it! So, as the message says, the 'official' ways to get around this is to set: essid_eth1="any" or: prefered_aps_eth1=( "Speeder" ) associate_order_eth1="forcepreferredonly" or a couple of other methods that don't sound as interesting. The comments in wireless.example have the full documentation. There is also the brute-force method, which is to remove the iwconfig module from the eth1 module list, and create a preup function in /etc/conf.d/net that associates the wireless before ifconfig or the dhcp client runs. -Richard -- gentoo-user@gentoo.org mailing list