LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-24-2003, 10:35 AM   #1
santigua
LQ Newbie
 
Registered: Oct 2003
Location: germany
Distribution: Mandrake
Posts: 8

Rep: Reputation: 0
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
 
Old 10-26-2003, 07:40 AM   #2
santigua
LQ Newbie
 
Registered: Oct 2003
Location: germany
Distribution: Mandrake
Posts: 8

Original Poster
Rep: Reputation: 0
...S05harddrake renamed - seems to work now.

apparently it is working now.

since I notice that during bootup harddrake always says saomething like: Card was removed, do you want to configure..."
...well, of course I DONT WANT TO configure it every time I boot up.
So what have I done?

in
/etc/rc.d/rc5.d/

...which is the folder with all the boot-scripts (or rather the links to 'em) for runlevel5 (linux with GUI),

I renamed the script for Harddrake from S05harddrake to BAK.S05harddrake.

I didnt dare to delete, coz wasn't sure on the effect it would have, but apparently it works now.

Maybe someone can explain, I cant. - I just thought some may find this helpful for troubleshooting.

- sometimes Linux is a hassle, but it's.....leaning by doing. -
 
Old 10-26-2003, 09:01 AM   #3
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
You can put those values in your ifcfg-ethx script. Here's an archived thread with some detail that may help you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restore default install settings? zero79 Debian 1 06-14-2005 10:33 PM
Dell wireless WLAN 1450 Dual Band WLAN Mini-PCI card not recognised pitts68 Linux - Wireless Networking 102 02-28-2005 07:21 AM
Suse 9.1 wlan-ctl-ng wlan-cfg-DEFAULT oiper Linux - Wireless Networking 0 07-25-2004 02:32 AM
Mandrake 10.0 Community Not Properly Setting Wireless Settings on Boot-up ajkessel Linux - Wireless Networking 0 05-14-2004 07:03 AM
Mandrake 10 losing wireless settings ocset Mandriva 4 04-03-2004 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration