LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware wifi problem (https://www.linuxquestions.org/questions/slackware-14/slackware-wifi-problem-861731/)

linux/unix87 02-09-2011 08:52 PM

slackware wifi problem
 
ok i cant get my wifi to work i checked in the slackbook and on some forums and also on the internet but i cant find out what my wifi hardware is called or even where to start to try to fix the problem. my wifi light is on but no connection. i tried iwconfig and it said
lo no wireless extensions
eth0 no wireless extensions

then i tried netconfig but i dont understand. there is no man pages on it. in the slackbook it showed me some files i can edit but i dont know how to use emacs or any type of text editor but some of the forums i was reading they didnt have to use a text editor to fix there problem. I also tried lsmod but i dont know what im looking for on that either. so wondering if anyone can help thanks in advance if you need any info just let me know.

frankbell 02-09-2011 08:59 PM

What make model/computer and what type of wireless chip. The more information you provide, the easier it is for persons to help you.

If you are not sure what kind of chip, try running dmesg in a terminal as root and inspecting the output for the bit that describes your wireless chip. Dmesg outputs a log of info; be prepared to do a little scrolling through the history.

Dmesg: http://linux.about.com/library/cmd/blcmdl8_dmesg.htm

wile_coyote 02-09-2011 09:41 PM

I agree with franbell, what is the make and model of your computer. In addition to dmesg, try running lspci too.

linux/unix87 02-09-2011 09:52 PM

its an hp g42-415dx athlon 2 processor and what am i looking for when i use dmesg and the same for lspci

onebuck 02-10-2011 07:48 AM

Hi,

From the 'cli' do 'dmesg |grep -i wireless. As to the 'lspci', do it from the 'cli' as 'lspci -vv' and look for the wireless information or try 'lspci -vv |grep -i network' (omit ticks for all commands). You can experiment with the command argument parameters. Do a 'man command' to learn what the options are.

If your device driver & firmware are in place then Configuring your network in Slackware is Alien_Bob's excellent article on the way network cards are configured in Slackware. Loads of internal reference links for Ethernet & Wireless

Just a few links to aid you;

SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Bash Beginners Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Home Networking
Virtualization- Top 10
:hattip:
The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

onebuck 02-10-2011 07:51 AM

Moved: This thread is more suitable in <Slackware> and has been moved accordingly to help your thread/question get the exposure it deserves.

schneidz 02-10-2011 08:10 AM

these commands are to help us to know what your system thinks is installed (not necessarily to get you connected).
Code:

lspci # will tell us the pci devices you have in your system.
lsusb # will tell us the usb devices you have in your system.
ifconfig # will tell us what network interface cards you have turned on in your system.
ifconfig -a # will tell us all the network interface cards you have in your system.
iwconfig # will tell us which of your network interface cards has wireless capability

now that we know that, this should get you connected:
Code:

sudo iwlist device scan # this will use the device interface (that from the above command, we found out has wireless capability) and scan for wireless routers that are accessible.
sudo iwconfig device essid "myssid" # assuming no security, use that device to connect to your router.
sudo dhclient # will attempt to get ip-address, subnet mask, dns server information automatically from your router assuming dhcp is turned on on your router.


linux/unix87 02-10-2011 07:26 PM

ok i tried dhclient -4 and it doesnt work. There is no such device on iwconfig myssid and iwconfig essid that is the error so could it be how i installed slackware cause this computer also did it to ubuntu 10.10? the computer isnt old its 2 months old. thank you

colorpurple21859 02-10-2011 08:43 PM

Post the output of lspci and lsusb so maybe someone can tell what type of wireless card you have.

frankbell 02-10-2011 08:44 PM

According to the HP product specs it has an HP 802.11b/g/n WLAN card which, according to this, has a Broadcom chip.

linux/unix87 02-10-2011 08:52 PM

Quote:

Originally Posted by onebuck (Post 4254071)
Hi,

From the 'cli' do 'dmesg |grep -i wireless. As to the 'lspci', do it from the 'cli' as 'lspci -vv' and look for the wireless information or try 'lspci -vv |grep -i network' (omit ticks for all commands). You can experiment with the command argument parameters. Do a 'man command' to learn what the options are.

If your device driver & firmware are in place then Configuring your network in Slackware is Alien_Bob's excellent article on the way network cards are configured in Slackware. Loads of internal reference links for Ethernet & Wireless

Just a few links to aid you;

SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Bash Beginners Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Home Networking
Virtualization- Top 10
:hattip:
The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

ok what is the cli? and still i dont know what im supposed to be looking for i can read all of the aids i want its still not going to tell me what i need to look for for example i dont know what they call a wireless hardware? i call it wireless hardware but there wasnt anything that said that on the commands i have tried so do you know what im saying? does it start with pci or network etc???

colorpurple21859 02-10-2011 09:08 PM

Quote:

ok what is the cli?
cli refers to the command line terminal. Could also try lspcmcia and see if anything shows up that way. lspci may be seeing it just don't know what it is.

linux/unix87 02-10-2011 09:14 PM

Quote:

Originally Posted by colorpurple21859 (Post 4254640)
Post the output of lspci and lsusb so maybe someone can tell what type of wireless card you have.

ok but the only problem is that its on another computer im having the problem on not the one im using on this forum right now so how do i do that?

linux/unix87 02-10-2011 09:21 PM

Quote:

Originally Posted by colorpurple21859 (Post 4254651)
cli refers to the command line terminal. Could also try lspcmcia and see if anything shows up that way. lspci may be seeing it just don't know what it is.

nothing happened when i typed lspcmcia?

colorpurple21859 02-10-2011 09:28 PM

If you have a usb key can copy and paste the output of the commands from one of the desktop terminals to a text file and save to the usb key, or write it all down and type away. Have to be root for the commands to work.


All times are GMT -5. The time now is 08:04 PM.