Wireless Settings(WLAN) getting lost on Mandrake 9.1(default install)
Hi Folks!
Ok, I am pretty new to Linux. I've been playing around with RH for a while, but still I'd call myself a newbee. :))
Beforehand a bit of information:
--------------
Mandrake 9.1
Kernel 2.4.21
--------------
[root@Wega /]# cardctl ident
Socket 0:
product info: "3Com", "3CRWE737A AirConnect Wireless LAN PC Card", "1.00"
manfid: 0x0101, 0x0001
function: 6 (network)
Socket 1:
no product info available
--------------
[root@Wega /]# ifconfig
eth0 Protokoll:Ethernet Hardware Adresse 00:50:DA:01:05:64
inet Adresse:192.168.3.15 Bcast:192.168.3.255 Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4475 errors:0 dropped:0 overruns:0 frame:0
TX packets:5173 errors:577 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:100
RX bytes:2692095 (2.5 Mb) TX bytes:1121305 (1.0 Mb)
Interrupt:3 Basisadresse:0x100
<io - information removed since it shouldn't be relevant - but seems to be ok >
--------------
[root@Wega /]# iwconfig
lo no wireless extensions.
eth0 IEEE 802.11-DS ESSID:"WirelessCable" Nickname:"Wega"
Mode:Managed Frequency:2.422GHz Access Point: 00:04:75:62:68:B6
Bit Rate:11Mb/s Tx-Power=15 dBm
Retry limit:16 RTS thr:off Fragment thr=0 B
Encryption key:XXXX-XXXX-XX Encryption mode:open
Power Management:off
Link Quality:31/92 Signal level:138/153 Noise level:107/153
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
<Encryption key has been falsified but is definately correct>
--------------
[root@Wega src]# lsmod
Module Size Used by Not tainted
msdos 7404 0 (autoclean)
vfat 11820 0 (autoclean)
fat 37944 0 (autoclean) [msdos vfat]
isofs 27988 0 (autoclean)
zlib_inflate 21156 0 (autoclean) [isofs]
nls_iso8859-15 4092 0 (autoclean)
udf 90464 0 (autoclean)
lp 8096 0 (unused)
parport_pc 25096 1
parport 34176 1 [lp parport_pc]
sg 34636 0 (autoclean) (unused)
st 29488 0 (autoclean) (unused)
sr_mod 16920 0 (autoclean) (unused)
sd_mod 13100 0 (autoclean) (unused)
scsi_mod 103284 4 (autoclean) [sg st sr_mod sd_mod]
ide-cd 33856 0 (autoclean)
cdrom 31648 0 (autoclean) [sr_mod ide-cd]
snd-seq-midi 5024 0 (autoclean) (unused)
snd-seq-oss 31104 0 (unused)
snd-seq-midi-event 5640 0 [snd-seq-midi snd-seq-oss]
snd-seq 42608 2 [snd-seq-midi snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 43556 0
snd-mixer-oss 14488 0 [snd-pcm-oss]
snd-cs46xx 76052 0
snd-ac97-codec 40160 0 [snd-cs46xx]
snd-rawmidi 17600 0 [snd-seq-midi snd-cs46xx]
snd-seq-device 5832 0 [snd-seq-midi snd-seq-oss snd-seq snd-rawmidi]
snd-pcm 77536 0 [snd-pcm-oss snd-cs46xx]
snd-timer 18376 0 [snd-seq snd-pcm]
gameport 3316 0 [snd-cs46xx]
snd-page-alloc 7732 0 [snd-cs46xx snd-pcm]
snd 40868 0 [snd-seq-midi snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-cs46xx snd-ac97-codec snd-rawmidi snd-seq-device snd-pcm snd-timer]
soundcore 6276 0 [snd]
nfsd 74256 0 (autoclean)
orinoco_cs 5652 1
orinoco 36972 0 [orinoco_cs]
hermes 7524 0 [orinoco_cs orinoco]
ds 8456 2 [orinoco_cs]
yenta_socket 13056 2
pcmcia_core 57184 0 [orinoco_cs ds yenta_socket]
af_packet 14952 0 (autoclean)
floppy 55132 0
supermount 15296 2 (autoclean)
usb-uhci 24652 0 (unused)
usbcore 72992 1 [usb-uhci]
rtc 8060 0 (autoclean)
ext3 59916 2
jbd 38972 2 [ext3]
--------------
Ok, so far so good. Just to say it in advance. The settings as shown above are all correct (at least as far as I can tell, because NOW everything is working), but my problem is, that linux forgets the wireless settings. After a reboot wlan is not working anymore. The ESSID, AP MACaddr and the Enc key are lost. (maybe othersetting too, but I dont.)
After a reboot I use the "mandrake controlcenter" > "Hardware" > "Harddrake" > then I select the appropiate device - in my case eth0 - and then I use the configuration-tool to re-apply the settings for Enc key and ESSID.
After restarting the network wlan (and internet ;) is working as expected.
--------------
My Questions are:
Why doesnt linux store the settings? Do I have to do that manually? If so, where? (Which file?)
Also, if I try to use the command line "iwconfig eth0 key XXXX-XXXX-XX" I'll get an error that the operation is not supported. :( Why is that? I think there should be a working way to re-apply the key without the GUI...I am in linux ....any idea?
I've been looking around in the web and found various information, some helped sorting out different issues (it took me 3days to get the darn thing working ;) but still, I can't sort out this one.
here is additionally the last bit of the /etc/pcmcia/wireless.opts file <Enc key falsified, but IS correct in the original file>
...
# Generic example (decribe all possible settings)
*,*,*,*)
INFO="Fill with your own settings..."
# ESSID (extended network name) : My Network, any
ESSID="WirelessCable"
# NWID/Domain (cell identifier) : 89AB, 100, off
NWID=""
# Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
MODE="Managed"
# Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
FREQ=""
CHANNEL=""
# Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
SENS=""
# Bit rate : auto, 1M, 11M
RATE="11M"
# Encryption key : 4567-89AB-CD, s:password
KEY="XXXX-XXXX- restricted"
# RTS threshold : off, 500
RTS=""
# Fragmentation threshold : off, 1000
FRAG=""
# Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
IWCONFIG=""
# iwspy parameters : + 01:23:45:67:89:AB
IWSPY=""
# iwpriv parameters : set_port 2, set_histo 50 60
IWPRIV=""
;;
esac
I hope I've delivered enough information and made myself clear... if not, just ask. :))
Any advice or hint is appreciated.
Thanx in advance
Patric
|