MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Using the MCC I configured my wireless card Intel/pro 2200 bg. The installation system recognized it. I set the right operating mode, the ESSID and the autentication key. At the end of the procedure I could reach the wireless router and my firewall.
Here my problem: when I reboot the system the kernel recognizes the card, starts it up but I need to run a script to send the authentication key, using the iwconfig option:
Do you already have that command running on boot? You might need to configure some more things. If you have an ifcfg-wlan0 file in /etc/sysconfig/network (this might only be on SuSE, not quite sure how it works in Mandriva...) then you should be good to go, and just fill out any missing areas. Copy your iwconfg and ifconfig output in here so I can see if anything is missing. Of course cover up/remove the wireless key from the posting. I know how you feel, I have been trying forever to get wireless working in linux (Fedora, SuSE, Knoppix, WHAX, you name it) and I just got it working a couple days ago.
At the moment I haven't the possibility to check what you're asking for, I need to wait this evening at home but I'd tell you other info:
-if I set the card to work with DHCP, during the boot I'd see the system is waiting for an IP address, then it exit with an error because it canno't reach the DHCP server until I run the script into the X-server.
-if I set a static IP, like at the moment, the boot sequence go on without error messages, when I enter the X-serverr I can see the "started network" icon on the task bar but I'm not able to ping the firewall until the script.
For the other request see you this evening (Italian evening)
Here I'm with the requested informations.
The ifcfg-wlan0 in Mandriva is called ifcfg-ethx (where x is the card number) and it's located in /etc/sysconfig/network-scripts (just fyi) and, here, you'll find the content of my one:
I hope you'd find what you're searching for.
I needed to isert some spaces somewhere into the code because the string ": o" (for example from the string ": off") introduces a smile.
You might want to replace 'static' with 'dhcp' so that it automatically sets your routing settings and IP info. If this is not possible, try adding your default access point/router IP with the 'route add default gw [insert IP address here]'. Try pinging 'google.com'. If that doesn't work, try a 'dhcpcd' (if it exists in Mandriva) and try pinging google again. And if all THAT doesn't work, let me know. BTW, your wireless key is in your post in case you haven't noticed.
@chiefreborn: I forgot to clean my key, you're right. I chose to use static IP because the system wasn't able to find a free IP due to the lack of activationduring the boot (my main problem).In this way I have an address which is useable immediatly after the key encyiption.
@crAckZ: I didn't configure the modem, maybe it's something standard in Mandriva.
Well, does your card work once you run the script? If it does, find the equivalent of the 'rc.local' file in the /etc/init.d directory. If you just need to execute a shell script on command, edit the rc.local file and put the line:
./shell_script_name.sh
Or whatever command you use to execute the script.
Finally I found the time to do what you've suggested and it works! Thanks a lot.
This is a good way to solve the problem but I still have a question: which is the reason why the official configuring tool (MCC) doesn't configure the card in the right way?
In your opinion, is this a bug to be send to the Mandriva devel team?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.