LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-01-2008, 11:11 AM   #31
Taoye
LQ Newbie
 
Registered: May 2008
Posts: 11

Rep: Reputation: 0

Thanks! I will try that and see how it goes.
 
Old 06-09-2008, 01:24 AM   #32
http://
Member
 
Registered: Mar 2008
Posts: 73

Rep: Reputation: 15
hello,

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?

Last edited by http://; 06-09-2008 at 08:17 AM.
 
Old 06-09-2008, 09:36 AM   #33
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
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:
Code:
nameserver 4.2.2.1
nameserver 4.2.2.2
nameserver 4.2.2.3
nameserver 4.2.2.4
Quote:
Originally Posted by http://
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`.
 
Old 06-10-2008, 08:26 AM   #34
febriansasi
LQ Newbie
 
Registered: Sep 2006
Location: /home/febrian/
Distribution: SLACKWARE Current, KDE 3.5.9, JFS on Thinkpad R61
Posts: 24

Rep: Reputation: 17
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.
 
Old 06-10-2008, 11:20 AM   #35
http://
Member
 
Registered: Mar 2008
Posts: 73

Rep: Reputation: 15
Quote:
Originally Posted by febriansasi View Post
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.

thank you for your time,

mikel

ps. will post the required info in a few hours.
 
Old 06-12-2008, 03:04 PM   #36
Taoye
LQ Newbie
 
Registered: May 2008
Posts: 11

Rep: Reputation: 0
FYI, I figured out my wireless problem.

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.

Last edited by Taoye; 06-12-2008 at 03:06 PM.
 
Old 06-12-2008, 03:19 PM   #37
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
This might be of use to helping you sort out your wifi issues:

http://alien.slackbook.org/dokuwiki/...ware:slackware
 
Old 06-13-2008, 11:54 PM   #38
http://
Member
 
Registered: Mar 2008
Posts: 73

Rep: Reputation: 15
hello,

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.

Thank guys for all the help that you've given.

Thank you for your time.

mikel
 
Old 06-15-2008, 09:48 AM   #39
febriansasi
LQ Newbie
 
Registered: Sep 2006
Location: /home/febrian/
Distribution: SLACKWARE Current, KDE 3.5.9, JFS on Thinkpad R61
Posts: 24

Rep: Reputation: 17
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
 
Old 12-19-2008, 03:34 AM   #40
Wardub
Member
 
Registered: May 2008
Posts: 49

Original Poster
Rep: Reputation: 21
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!

Last edited by Wardub; 12-19-2008 at 03:36 AM.
 
Old 12-19-2008, 09:31 AM   #41
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
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.
 
Old 12-19-2008, 10:59 AM   #42
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by Wardub View Post
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.
 
Old 12-19-2008, 12:13 PM   #43
Wardub
Member
 
Registered: May 2008
Posts: 49

Original Poster
Rep: Reputation: 21
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

Thanks for the help
 
Old 12-19-2008, 10:40 PM   #44
Wardub
Member
 
Registered: May 2008
Posts: 49

Original Poster
Rep: Reputation: 21
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.

Last edited by Wardub; 12-20-2008 at 01:23 AM.
 
Old 12-20-2008, 05:23 AM   #45
jumapeg
Member
 
Registered: Jul 2006
Location: Spain
Distribution: Slackware current
Posts: 32

Rep: Reputation: 15
Quote:
Originally Posted by Wardub View Post
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.
Good luck!
 
  


Reply



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
Cant Find Drivers For My Dynex Wireless USB Adapter For Wireless Internet.... sent17inel Linux - Hardware 3 12-09-2017 04:04 AM
Wireless card..Wireless router.. Slackware 10.2 ..Problems with Internet Connection. Storm Bringer Linux - Wireless Networking 4 03-23-2006 06:25 AM
need wireless internet help mandrake 10 dell inspiron 510m intel wireless 2100 3A nickleus Mandriva 3 11-09-2004 09:52 PM
connecting to the internet via wireless through Intel PRo/Wireless LAN 2100 3B Mini P k_wjss Linux - Newbie 1 09-28-2004 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:05 PM.

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