SlackwareThis Forum is for the discussion of Slackware 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.
and it loads module and light starts blinking. OK, I inserted ESSID and WEP-128 key. Now that light is on and I thought that it work. I opened firefox but it says: Server not found. So I can't connect to the internet.
I remove ieee8012 subsystem completely including symbolic links and forced to make kernel-modules. That was wrong?
And another problem. When I restart computer, it forgets all wlan settings (essid, encryption key...).
The settings for wlan0 are stored in /etc/rc.d/rc.wireless.conf If you edit that file with yours, they will be loaded automatically on bootup. The blinking light just means that the wireless card is on -- with its driver loaded. Getting it to talk to your network is accomplished by /etc/rc.d/rc.inet1 which calls the rc.wireless script and loads entries from the .conf file.
The settings for wlan0 are stored in /etc/rc.d/rc.wireless.conf If you edit that file with yours, they will be loaded automatically on bootup. The blinking light just means that the wireless card is on -- with its driver loaded. Getting it to talk to your network is accomplished by /etc/rc.d/rc.inet1 which calls the rc.wireless script and loads entries from the .conf file.
-geo
BTW: welcome to LQ and to Slackware!
Hi,
The way I like to configure is too use the '/etc/rc.d/rc.inet1.conf' file and fill in the parameters for a specific device. The '/etc/rc.d/rc.wireless.conf' is basically to setup options for a card using '/etc/rc.d/rc.wireless' which is called via the '/etc/rc.d/rc.inet1'.
As for the 'LED', which one? Some have a link plus act LED.
I prefer to use the '/etc/rc.d/rc.inet1.conf' unless I need to setup a range of hardware specifics then I use the '/etc/rc.d/rc.wireless.conf' to set the desired option(s) to allow a change when the device is ejected. Either way is usable.
Quote:
excerpt '/etc/rc.d/rc.wireless';
# Wireless network card setup.
#
# This script sets up PCI, USB, and 32-bit Cardbus wireless devices
# NOT 16-bit PCMCIA cards! Those are configured in /etc/pcmcia/.
# Single parameter to this script is the name of a network interface.
# Normally this script is called from rc.inet1 rather than run
# directly.
excerpt '/etc/rc.d/rc.wireless.conf';
# Wireless LAN adapter configuration
#
# Theory of operation :
#
# The script attempts to match a block of settings to the specific wireless
# card inserted, the *first* block matching the card is used.
# The address format is "hwaddr", with * as a wildcard.
# 'hwaddr' is the unique MAC address identifier of the wireless card.
# The MAC address is usually printed on the card, or can be found via ifconfig.
# Some examples here use only half of the MAC address with a wildcard to
# match a whole family of cards...
#
# All the Wireless specific configuration is done through the Wireless
# Extensions, so we will just call 'iwconfig' with the right parameters
# defined below.
BTW, Too the OP, ditto on the salutations. Welcome to LQ & Slackware
No luck this far. I made a few changes to /etc/rc.d/rc.inet1.conf and /etc/rc.d/rc.wireless.conf. LED is still blinking (searching for network) and I get two more error messages from inet1.conf. And I can't disable network card graphically anymore.
The output of some commands might help diagnosis and fixing.
What does "ifconfig" show?
What does "iwconfig" show?
Does the driver (ipw3945) show up when you run "lsmod"?
I think that the 3945 wireless card requires the mac80211 module in order to work. Did you install that when you installed the driver? If so, did you do "modprobe mac80211" before loading the ipw3945 module?
I think that the 3945 wireless card requires the mac80211 module in order to work. Did you install that when you installed the driver? If so, did you do "modprobe mac80211" before loading the ipw3945 module?
-geo
Hi,
The 'OP' has the ieee80211 stack for the kernel. The mac80211 is not stable but experimental as by the note on the Intel web page. You can look at the README for mac80211 to get more information.
edit: you could be mistaking the ieee80211softmac.ko as the module to use. Some of the cards need this module.
Last edited by onebuck; 09-05-2007 at 07:03 PM.
Reason: clarify
I'm no expert but I have gone through the process of getting this card working manually. Sounds like you're almost there. One last request - what do you get with
Right. The mac80211 is requirement for the other driver for that wireless card: iwl3945. Oh well, just a thought.
-geo
Hi,
I'm not saying you were wrong! Just that it looks like the stack is there.
The 'OP' should try to see if the mac80211 would work for the hardware/system.
The network community for the Linux kernel typically has an
approach of focusing purely on the 'tip'. To the average
user that means that bug fixes, patches, and enhancements will
only be available to you if you can upgrade to the latest
development kernel. For some, this is acceptable. For others,
it is not.
This package is created in order to try and provide the user (you)
with fixes and enhancements that affect *just* the wireless
subsystem required for use with your hardware.
As with any software, new changes may introduce new bugs.
Upgrading from one version of the mac80211 subsystem to the
next might regress a problem, or even introduce a new one --
if it does, and you find it, please file a bug at http://bughost.org under the project 'mac80211'.
I think that the 3945 wireless card requires the mac80211 module in order to work. Did you install that when you installed the driver? If so, did you do "modprobe mac80211" before loading the ipw3945 module?
I installed only ieee80211. So, what should I do to install mac80211?
Quote:
I'm no expert but I have gone through the process of getting this card working manually. Sounds like you're almost there. One last request - what do you get with
# route -n
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
You need to add your gateway to the '/etc/rc.d/rc.inet1.conf'. Do you have the required information for your network in the '/etc/rc.d/rc.inet1.conf' file?
To add manually for a static static IP;
Code:
~#ifconfig eth1 192.168.1.2 #eth1 static IP
~#route add default gw 192.168.0.1 #assume your gateway
~#ping 192.168.0.1 #the gateway
~#ping 66.249.93.104 #google.com IP
~#ping google.com #chk dns (/etc/resolv.conf)
If the pings work then you've got the inet. The first pings the IP for google.com. The second checks the DNS. If you have failure here then your nameserver is not correct for the '/etc/resolv.conf' file.
You can change the data to suit your needs. I would setup using a static IP without security (WEP/WPA)enabled to confirm that the network indeed works.
If the static works then you can change the '/etc/rc.d/rc.inet1.conf' to reflect the static or dhcp. You can then restart the inet with '/etc/rc.d/rc.inet1 restart'. Just make sure your network information is in the '/etc/rc.d/rc.inet1.conf'. You could post this file to let us look at it.
Now, can you tell me how can I put ipw3945 driver (module?) load before it starts dhcp module? Because now I must always restart rc.inet1 before I can use internet connection.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.