Wifi interface with wep key not in restricted mode by default

Asked by Roman Polach

I have configured my prism2.5-based wifi card
by ubuntu 6.10 administration GUI: I have set
ip, gateway, essid and wep password, but problem was
that interafce was in "open" mode instead of "restricted",
so it cannot connect to ap with wep.

setting "sudo iwconfig eth1 key restricted XXXXXXXXXXXXXXXXXXXXXXXX"
solved the problem, but every time I restart ubuntu, I must
set it again...

How do I set restricted mode permanently? Somewhere in /etc/network/interfaces?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Roman Polach
Solved:
Last query:
Last reply:
Revision history for this message
Roman Polach (rpolach) said :
#1

Or is it a bug, that I should report?

Revision history for this message
Best Roman Polach (rpolach) said :
#2

I have solved it for myself by changing /etc/network/interfaces line
  wireless-key .....
to
  wireless-key restricted .....

Remaining issue is to allow user set this in GUI - this bug was already
reported: https://launchpad.net/ubuntu/+source/gnome-system-tools/+bug/27896/