[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wireless settings not being read from /etc/network/interfaces



Jeff D wrote:

> Anton Piatek wrote:
>
>> Hi,
>> My /etc/network/interfaces looks like this:
>>
>> iface eth1 inet dhcp
>> essid   "ant-wifi"
>> channel 01
>> wireless-key ...
>>
>> yet if I just run "ifup eth1" the card does not connect. once I run
>> "iwconfig eth1 channel 01" the ifup command works perfectly. Do i need
>> to add something to the config file to make it work? It behaves like the
>> options are not being passed to iwconfig before launching the dhcp
>> client.
>>
>> Thanks,
>> Anton
>>
>>
>>   
>
> Hi,
>
> Try it with options like:
>
> iface eth1 inet dhcp
>        wireless-ap 00:AA:BF:AA:AA:AA
>        wireless-essid ESSID
>        wireless-channel 02
>        .......
>
>
>
Cheers,

that was it!
I suppose the fact that my key had the "wireless-" prefix should have
been a give away.
It also worked better when I didnt have the essid in quotes.

Thanks again!

Anton

-- 
email: anton@piatek.co.uk	home: 02088 702 664
mobile:	07900 951 627		work: 01962 816 557
blog/photos:			http://www.strangeparty.com
pgp: [0xB307BAEF]	(http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF



Reply to: