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.
i followed the instructions here on the thread and the various README's provided but i still cant use my wlan0.
please forgive me for assuming that my problem is with inet1.conf since i have no idea how to configure it to get wlan0 working.
heres what i did to it by the way(i merely uncommented everything under wlan0):
Code:
## in your info. (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="icculus-wireless"
DHCP_KEEPRESOLV[4]="yes"
DHCP_KEEPNTP[4]="yes"
DHCP_KEEPGW[4]="yes"
DHCP_IPADDR[4]=""
WLAN_ESSID[4]=BARRIER05
WLAN_MODE[4]=Managed
WLAN_RATE[4]="54M auto"
WLAN_CHANNEL[4]="auto"
WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae4$
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="ndiswrapper"
my iw/if config are as follows:
Code:
eth0 Link encap:Ethernet HWaddr 00:1d:72:17:1d:ea
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21d:72ff:fe17:1dea/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2327 errors:0 dropped:0 overruns:0 frame:0
TX packets:1214 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1478537 (1.4 MiB) TX bytes:210887 (205.9 KiB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:1c:bf:98:c4:4a
inet6 addr: fe80::21c:bfff:fe98:c44a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:222 errors:0 dropped:36 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:137616 (134.3 KiB) TX bytes:502 (502.0 B)
Interrupt:17 Base address:0x6000 Memory:f8000000-f8000fff
=========================================
lo no wireless extensions.
eth0 no wireless extensions.
irda0 no wireless extensions.
wlan0 unassociated ESSID:"default" Nickname:"localhost"
Mode:Managed Frequency=nan kHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:16 dBm
Retry limit:15 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:37 Missed beacon:0
strange thing is. when i used KWifiManager it can detect my wireless network and "connect" to it but i cant access websites and i cant ping my router.
in the processes i see two ipw3945/0, two ipw3945/1 and the ipw3945d.
is there something wrong with inetd.conf or could i have missed a critical step?(you can never be too sure)
thank you for your time,
mikel
edit: i tried restarting inet1.conf and now i can ping my router but thats all that i can do. i still cant access the web. i also tried playing around with inet1.conf by commenting and uncommenting variuos lines. still no web access. i apologize for my ignorance.
once again thank you for your time.
edit2: by the way. why is it if i bootup my computer without the "LAN wire" plugged in? i cant access the internet even if i already connected it. i have to restart the computer with the wire connected so that it would work. is there a way to avoid restarting the computer in order to get the internet connection to work if i didnt connect the wire before booting?
I know very little about wireless setup in Slackware, so I can't help you with *most* of your questions (sorry).
Quote:
Originally Posted by http://
i tried restarting inet1.conf and now i can ping my router but thats all that i can do. i still cant access the web. i also tried playing around with inet1.conf by commenting and uncommenting variuos lines. still no web access. i apologize for my ignorance.
You should post the contents of your /etc/resolv.conf. If you can successfully ping your router, try pinging google.com's IP address directly using `ping 72.14.207.99`. If that works, then it's a nameserver issue. Since you're using DHCP, you *should* automatically generate a nameserver in /etc/resolv.conf if your router supports DNS relay. However, if that isn't working, you can manually put your ISP's nameserver there. You can also try using Verizon's DNS as a backup -- but this is not the optimal solution. To add Verizon's nameservers, add the following to /etc/resolv.conf:
by the way. why is it if i bootup my computer without the "LAN wire" plugged in? i cant access the internet even if i already connected it. i have to restart the computer with the wire connected so that it would work. is there a way to avoid restarting the computer in order to get the internet connection to work if i didnt connect the wire before booting?
Try typing `/etc/rc.d/rc.inet1 restart` as root. I'm guessing the reason it doesn't work is because you are using DHCP, which is started at boot time. You could probably also try `dhcpd` or `dhclient`.
Distribution: SLACKWARE Current, KDE 3.5.9, JFS on Thinkpad R61
Posts: 24
Rep:
well, just install wirelessassistant from kde-apps.org, it solves everything about wireless in your KDE.
I don't need to edit anything in /etc/, just run wirelessassistant from KDE menu and that's all.
well, just install wirelessassistant from kde-apps.org, it solves everything about wireless in your KDE.
I don't need to edit anything in /etc/, just run wirelessassistant from KDE menu and that's all.
hello,
hahaha... i think i'll do this. but right now i'm still havin' a skewed bit of fun losing hair configuring this thing.
It turns out I was following the documentation to the letter-- however my laptop, apparently, has a non-standard WiFi card. The model comes standard with the intel pro 3945, however mine came with a different Atheros card that is found in other Thinkpads. Nowhere on my laptop or in its documentation was this mentioned.
I only discovered this when I finally came across a post that had the command to detect what card was present... I have since installed the madwifi and wpa_supplicant and have my WPA wireless working perfect.
I've decided to install wireless assistant and just try to figure out what it did to fix my wireless problem... Well, I just figure that if it can configure my wifi connection without too much hassle, it can teach me a lot.
I'll post the things that I'll learn on this thread and maybe it could help others who are also having problems with this particular wifi card and dont want to install wifi assistant.
Distribution: SLACKWARE Current, KDE 3.5.9, JFS on Thinkpad R61
Posts: 24
Rep:
I Want To Share My Experience.
Have Tried Several Ways To Connect Using My Intel3945 Since Slackware-12.0
But I Need To Compile Kernel 2.6.24.4 To Make My Wireless Work.
Editing Rc.wireless, Rc.inet1, Rc.inet2 And Wpa_supplicant.conf But Not Working Until I Found Kwlan.
For Several Month I Use Kwlan But I Feel Annoyed Because When Kwlan Running My Hd Led Always Blinking.
Until I Found Wirelessassistant. A Great Apps, I Recommend This For Slackware-kde User
Bah this is frustrating, I tried a new install and I can't get it to work. I swear I did this flawlessly a dozen times within the first month, and now I have forgot what I have done. The only problem I am having is patching and building of the module.
I untar the ipw3945-1.2.2.tgz, I place the patch inside the directory. Then I try and patch with "%patch -p1 < ipw3945-1.2.2.patch". Then it asks me which file to patch. I swear it was the ipw3945.c but I get 2 errors. If I try to patch ipw3945.h I get no errors but when I try to run make I get some. I've been reading the install manuals but I haven't seen anything about patching. Bah I'm tired, I'll try again later.
Any ideas of what I am doing wrong? It feels like I am suppose to edit some file but I can't remember which. Any help is appreaciated. Thanks!
I know very little about wireless but what saved my butt was "wicd".
If your useing 12.2 now, just run:
"slackpkg install package wicd"
I rebooted but I don't think you have to.
Then it set up everything for me except the encryption key which it has a GUI for you to use.
I'm useing D-Link router and cards.
Hope this is of some help.
Bah this is frustrating, I tried a new install and I can't get it to work. I swear I did this flawlessly a dozen times within the first month, and now I have forgot what I have done. The only problem I am having is patching and building of the module.
I untar the ipw3945-1.2.2.tgz, I place the patch inside the directory. Then I try and patch with "%patch -p1 < ipw3945-1.2.2.patch". Then it asks me which file to patch. I swear it was the ipw3945.c but I get 2 errors. If I try to patch ipw3945.h I get no errors but when I try to run make I get some. I've been reading the install manuals but I haven't seen anything about patching. Bah I'm tired, I'll try again later.
Any ideas of what I am doing wrong? It feels like I am suppose to edit some file but I can't remember which. Any help is appreaciated. Thanks!
Which version of Slackware are you using? If you're using 12.2 then just use the iwl3945 driver. If you really want to use the old driver, all of the patches can be found here for the ipw3945 driver. Also as a reference, here is a link to install it on an Ubuntu system. It applies to slackware as well.
I am using 12.2 but I tried it in 12.1 and I was getting errors too! How exactly do I use the iwl drivers? I tried loading the drive through rc.local. And It doesn't seem to work. Preferably I could get the ipw working again, because I had a lot of success with that. When I patch ipw3945.h and try running make I get this warning "Your kernel contains ieee802111 symbols and I am not using the kernel's default.
I never had that problem before. It says I can force it by adding IEE80211_IGNORE_DUPLICATE=y to the make command line. But then I get errors saying I need to install iee80211 subsystem. I have never had to do that before.
What do I have to do to get iwl to work? I assume put stuff in /sbin and modifying rc.local
So for some reason when I tried it this time it worked fine. I think it might be because I tried to apply the patch to ipw3945.c first and it might of changed things or something. Anyway anyone mind telling me how to get iwl3945 drivers working for 12.2? Is there a readme around? Thanks.
Like what file do I have to start in rc.local? And do I need the microcode?
Edit: I got ipw to work with 12.1, but 12.2 I am having touble during the make stage. It says
Quote:
ERROR: A compatible subsystem was not found in the following path[s]:
You need to install the ieee80211 subsystem from http://ieee80211.sf.net
and point this build to the location where you installed those sources, eg.:
% make IEEE80211_INC=/usr/src/ieee80211/
or use the 'make patch_kernel' within the ieee80211 subsystem to patch your
kernel sources.
I have tried installing a new ieee80211 by downloading a new one and running make patch_kernel, but it still won't let me run make.
So for some reason when I tried it this time it worked fine. I think it might be because I tried to apply the patch to ipw3945.c first and it might of changed things or something. Anyway anyone mind telling me how to get iwl3945 drivers working for 12.2? Is there a readme around? Thanks.
Like what file do I have to start in rc.local? And do I need the microcode?
Edit: I got ipw to work with 12.1, but 12.2 I am having touble during the make stage. It says
I use slackware 12.1 with 2.6.27.9 kernel and iwlwifi-3945-ucode-15.28.1.8.
My 3945 card works with iwl drivers and wicd networkmanager or rc.inet1 script. Try this:
- Erase all ipw stuff you have installed. Use 12.2 generic-smp kernel.
- Check iwconfig, here is my output:
Code:
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11abg ESSID:"victoria"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
- wicd option (wicd package is in 12.2 extra):
- Erase rc.inet1.conf and rc.wireless.conf network info. Don't stop rc.inet1, restart it.
- Install wicd, run /etc/rc.wicd and wicd-client. Try to connect to your wireless network.
- rc.inet1 option: configure wlan0, check this tutorial.
- Sometimes I need to run "iwconfig wlan0 essid foo" before "/etc/rc.inet1 wlan0_start", also don't worry about this message:
Code:
Error for wireless request "Set Nickname" (8B1C) :
SET failed on device wlan0 ; Operation not supported.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.