LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 08-10-2004, 08:49 AM   #1
stupidloser
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Rep: Reputation: 0
command(s) for checking ip status


Trying to set my a wireless nic on suse 9.1. I have followed through Julian's FAQ (awesome Guide BTW), and now have my NIC set up with linux....but I am unable to connect to the network. Is there any helpful command that could help me check/alter the status of my iP address??

TIA guys/gals
 
Old 08-10-2004, 08:54 AM   #2
stupidloser
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Original Poster
Rep: Reputation: 0
also, when i run the ifup wlan0 command, I get:

ERROR: No configuration found for wlan0

Even though I have enabled wlan=y in my wlan.conf file

I guess I'm missing a config file somewhere???

Last edited by stupidloser; 08-10-2004 at 09:00 AM.
 
Old 08-10-2004, 09:00 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
The command you are looking for is ifconfig. If you look through man ifconfig you'll see there are a number of things you can do with it.

As for the missing wlan0, unless you give more details about what you installed and how you installed it, I'm not sure we're going to have much advice.
 
Old 08-10-2004, 09:00 AM   #4
stupidloser
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Original Poster
Rep: Reputation: 0
...and, one more question (since I'm positive that this is my problem)...

how do I set configuration for wlan0???

Details: (sorry for omitting them)

OS: SUSE 9.1

-Compiled a new kernel (2.6.7) using Jullians FAQ, and now using this kernel.

-Installed the drivers for the device (they worked fine)

-i edited my wlan.conf file to now read"
SSID_wlan0="mywlan" (mywlan is the name of my network)
ENABLE_wlan0=y

-set the ip and gateway (using ifconfig and route respectively)

-I can now see my network device using the command iwconfig (it show my access point, link quality, etc)

-I can also use the command ifconfig wlan0 sucessfully

-BUT...issuing the command ifup wlan0 gives me a:

ERROR: No configuration forund for wlan0


So I'm assuming the problem is that my wlan0 configuration isn't pointing to my default network (SSID=mywlan)

Make sense?

Thanks for helpin BTW

Last edited by stupidloser; 08-10-2004 at 09:10 AM.
 
Old 08-10-2004, 10:17 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Well, a reliable way of configuring your card is with the iwconfig command. If you issue iwconfig wlan0, you'll see the current configuration and then you can use the various iwconfig options to set the card properly. For example, iwconfig wlan0 key WEPKey will set the WEP key (if you use one). The man page for iwconfig (man iwconfig) is actaully pretty good and worth a read to see everything iwconfig can use. You don't say what drivers you use, but if they are the linux_wlan_ng then you need to read their documentation because that driver doesn't work with iwconfig.

The ifup command does more than just bring up the interface. If you've already configured the card and given it an IP address, then you don't really need ifup. You can use the regular ifconfig wlan0 up instead. Since you can see that the card is properly configured before you ifup, just do what you are already doing, but use ifconfig wlan0 up instead.
 
Old 08-10-2004, 10:21 AM   #6
stupidloser
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Original Poster
Rep: Reputation: 0
hey, thanks for the reply!! Yeah, fiddiling with ifconfig and iwconfig worked. Reading some other posts put me in the right driection and I finally figured it out. I'll write up a small FAQ to add to Julians and I'll post it somewhere in here.

Thanks again guys (and especially Hangdog)...this site rules!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Checking RAID status on Dell / MegaRAID MadRabbit Slackware 9 10-08-2009 05:01 PM
Checking network card status BNI Linux - Networking 1 06-15-2005 05:55 AM
Ethernet interface - checking the status marri Programming 1 03-01-2005 12:15 PM
Checking device status neerukamra Linux - General 1 09-06-2004 01:12 AM
checking the status of PPP0 pudhiyavan Linux - Networking 6 01-14-2004 02:47 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration