Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-26-2010, 08:34 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2010
Posts: 5
Rep:
|
config wireless card
How, using the command line can I detect my wireless card and make it work under SUSE Enterprise Desktop? The wireless card works in Win XP.
|
|
|
|
01-27-2010, 12:13 AM
|
#2
|
|
Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,796
|
Hello,
Look into the iwconfig command.
It does what you need for wireless connections using the command line.
Kind regards,
Eric
|
|
|
|
01-28-2010, 06:50 AM
|
#3
|
|
LQ Newbie
Registered: May 2008
Posts: 5
Rep:
|
lspci -v will list the name of the wireless card. This will help to check if the appropriate module is loaded at startup. You can check this with lsmod.
Paul
|
|
|
|
01-28-2010, 09:12 AM
|
#4
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,356
|
Hi,
Welcome to LQ!
You can check to see if the device is available with 'ifconfig -a' which shows the devices even if down.
As root you can use the below to configure a static IP with encryption for your wlan on your LAN;
Code:
~#ifconfig wlan0 192.168.0.18 #<<< available IP
~#route add default gw 192.168.0.1 #<<your gateway
~#iwlist wlan0 scan #<< use information to fill in for essid & ap information
~#iwconfig wlan0 essid "Your Wireless"
~#iwconfig wlan0 key your_key_here
~#iwconfig wlan0 ap xx:xx:xx:xx:xx:xx #<<Your _ap_from iwlist
You should have your '/etc/resolv.conf' setup with your 'ISP DNS' nameservers.
Code:
sample '/etc/resolv.conf';
search 192.168.0.1
nameserver xxx.xxx.xxx.xxx #ISP DSN 'replace xxx.xxx.xxx.xxx
#with IP from your ISP
nameserver 4.2.2.1 #Verizon third level DNS
nameserver 4.2.2.2
nameserver 4.2.2.3
nameserver 4.2.2.4
Another way to setup static IP without encryption then do as root from cli;
Code:
~#ifconfig -a #get recognized devices
~#ifconfig wlan0 192.168.0.10 #set to a available IP
~#route add default gw 192.168.0.1 #set to your gateway
~#route -n #show the route table
~#ifconfig wlan0 up #should be up already
~#ping 192.168.0.1 #ping your gateway
~#ping 208.69.32.130 #google.com IP
~#ping google.com #test DNS, if fail then
#check /etc/resolv.conf
This one assumes that your LAN/AP is setup properly for access.
BTW, make sure your '/etc/resolv.conf' has your nameservers for your 'ISP DNS'. I use the third level DNS as a fallback.

Last edited by onebuck; 01-28-2010 at 09:13 AM.
|
|
|
1 members found this post helpful.
|
02-17-2010, 07:13 PM
|
#5
|
|
LQ Newbie
Registered: Jan 2010
Posts: 5
Original Poster
Rep:
|
Paul, Gary,
Thanks so much for the info but it seems I'm a bit confused. I don't have an ip address, I log into free wifi at the cafe. How can I get iwconfig to show me the available networks and then connect to the one I select? I ran ifconfig and am attaching the result. Can either of you explain what the info means??? Thanks.
palmweaver
|
|
|
|
02-17-2010, 07:29 PM
|
#6
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,356
|
Hi,
Quote:
Originally Posted by palmweaver
Paul, Gary,
Thanks so much for the info but it seems I'm a bit confused. I don't have an ip address, I log into free wifi at the cafe. How can I get iwconfig to show me the available networks and then connect to the one I select? I ran ifconfig and am attaching the result. Can either of you explain what the info means??? Thanks.
palmweaver
|
I don't see a 'wlan' device in the output you provided. What do you see in your 'lspic -vv' for the wireless device?
|
|
|
|
02-22-2010, 11:35 PM
|
#7
|
|
LQ Newbie
Registered: Jan 2010
Posts: 5
Original Poster
Rep:
|
Gary,
I ran lspci -v and it comes up as a Broadcom wireless modem on IRQ 11. Now, I remember that when the boot up occurs, it sees the WLAN card and tries to recognize it and reports failed in the right column where everything else is 'passed'. So, I ran lsmod but I couldn't see any wireless module. I don't really know what a module is anyway. But maybe that's it. I need to load a module. Is that the same as 'drivers'? Any help much appreciated. By the way, I'm a US expat living in Australia now. From Kansas. Near you, eh?
Palm
|
|
|
|
02-23-2010, 07:19 AM
|
#8
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,356
|
Hi,
Post the outputs for 'dmesg |grep -i wlan' & wireless portion of 'lspci -vv'.

|
|
|
|
02-23-2010, 12:00 PM
|
#9
|
|
Senior Member
Registered: May 2005
Location: boston, usa
Distribution: fc-12/ fc-11-live-usb/ aix
Posts: 2,672
|
if it is the same card i got:
Code:
03:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
this link would be helpful:
http://www.broadcom.com/support/802.11/linux_sta.php
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|