Need help with setting up wireless on HP notebook using Slackware
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Need help with setting up wireless on HP notebook using Slackware
Hi,
I'm running Slackware 12.2 on HP dv6t notebook. I have configured my wired network to DHCP which was pretty straight forward. Now I'm trying to setup my wireless and not sure and not sure if I'm doing this right.
My understanding after reading some information here on LQ and Slackbook, is that modifying just rc.inet1.conf should suffice (rc.wireless.conf is deprecated). So I modified it and ran rc.inet1.
Code:
# /etc/rc.d/rc.inet1 wlan0_start
# iwconfig
lo no wireless extensions
eth0 no wireless extensions
I'm not even sure if I have the right drivers.
rc.inet1.conf
Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""
# Default gateway IP address:
GATEWAY=""
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"
## Example config information for wlan0. Uncomment the lines you need and fill
## 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]="wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
WLAN_ESSID[4]=ash
WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
WLAN_KEY[4]="s:6029629891"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"
So it appears that my wireless is being recognized but it's not connecting.
If you look at my first post with the rc.inet1.conf, I tried to define wlan0 for my wireless. How did it pick up eth1? What do I have to do next to connect to the wireless?
My Dell is now using Slackware 13 X86_64, 2.6.30.5 and experimenting with 2.6.32-rc7.
I've spent a lot of time trying the Broadcom propriety drivers. Sometimes the recognition is eth1 for the wireless device. Tried the B43 SlackBuilds too no avail on the Dell Inspiron Laptop with this chipset. It seems to be cursed. I built the firmware for the 2.6.29.6 kernel using the BroadCom driver & patch. It worked but I did need to move to a newer kernel for other reasons, video and I/O. Of course the thing broke and I couldn't get the wireless to work with newer kernels. Frustrated!
I then grabbed the firmware to see if that would work for me. It did for a while but then became unstable. I was about to turn to 'ndiswrapper' but would do anything to not do this since it has caused other problems in the past. I found a Ubuntu firmware for the b43/b43legacy drivers and thought 'what the hell', tried it and it's still working. Why the Slackbuilds or the other drivers wouldn't function is on a 'to-do' list but real low priority for now.
I'm going to be re-working the Laptops configurations after the new year. It's working for now but the hdd needs are demanding a upgrade to a '72k' at least. Or a newer SSD? So I'm sure that things will be in the works again.
Guess I'm confused. Please bear with me if my questions sound silly.
I built the Broadcom drivers and loaded it. iwconfig and iwlist seems to indicate that the wireless card is functional. It's even showing the correct ESSID etc. Is it just picking up this information from one of my conf files? If it's still not connecting, does it mean that the device is actually not working even though iwconfig shows some legitimate looking output?
Based on Onebuck's suggestion, I wanted to try the b43/b43legacy drivers. Where do I get the b43 drivers? Now that I have loaded the Broadcom driver, could someone tell me how to unload that and load the b43 drivers instead?
The wireless is just not associating with access point.
iwlist eth1 scan finds the access point correctly.
So I tried to to set the essid explicitly with iwconfig eth1 essid "ash". But a subsequent iwconfig still shows the essid as empty.
I just tried bringing the wireless down and up but it didn't make a difference.
Yes, my wireless is encrypted. When I see the properties in windows, it shows that it's WEP. Is there any other way to tell? Also is there a way to turn off the encryption so that I can at least see if it associates?
The wireless is just not associating with access point.
iwlist eth1 scan finds the access point correctly.
So I tried to to set the essid explicitly with iwconfig eth1 essid "ash". But a subsequent iwconfig still shows the essid as empty.
Any suggestions.
Thanks,
Ash.
What about the ubuntu driver at the link I provided? You did try it?
Turning off the WEP encryption on your wireless network should be easy. Have you ever logged in to your router? In windows, you can go to a command prompt (windows key + r, then CMD, enter) and put in: > ipconfig /all
This should bring up your computer's ip address and gateway. The 'default gateway' will be your router's address. Put that into your router as 'http://192.168.x.x' and you should be able to administer your router from that. This will work with about 90% of routers out there. Anyways, once you're in the router's software, you just need to disable the WEP. Also, while you're in there, you can see if it recognizes your wireless card as having connected before. This is a little more complex and I don't have time to go into it right now, but just suffice it to say that ifconfig can give you the MAC address of your wireless card in linux, and the router _should_ record those somewhere.
It would be good to know if it had _ever_ connected, or at least been recognized by the router as existing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.