LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-28-2005, 02:44 AM   #1
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Rep: Reputation: 31
get the available wireless networks in range


hello ,

how can i view the available wireless networks in range , so that i can choose which one to connect to ??
(both by graphical application and using the prompt line ??? )


-- another question , is there any way to connect to more than one wireless network , using one linux box with one wireless device ??

thanks ,
 
Old 11-28-2005, 03:16 AM   #2
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
Re: get the available wireless networks in range

Quote:
Originally posted by mohama
hello ,

how can i view the available wireless networks in range , so that i can choose which one to connect to ??
(both by graphical application and using the prompt line ??? )


-- another question , is there any way to connect to more than one wireless network , using one linux box with one wireless device ??

thanks ,
what distro/desktop environment do you use?
 
Old 11-28-2005, 02:46 PM   #3
antis
Member
 
Registered: Nov 2004
Location: sweden
Distribution: Arch
Posts: 67

Rep: Reputation: 15
One way would be to use the iwlist command. As root you can type:
iwlist scanning
This will give you the cells that are in range for you to connect to for each interface that supports scanning.

Or you can use a gui like eg KWifimanager in Kde. You'll find it under the K-menu->Internet->More Applications.

As for your second question I don't really know but I think it's highly unlikely.
 
Old 11-29-2005, 02:01 AM   #4
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
replay

hi ,

i use mandriva 2006 -- KDE ... .. .

thanks ,
 
Old 12-04-2005, 01:06 PM   #5
nharte
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
I'm getting trouble connecting to my wireless network on Mandriva 2006 as well. It finds my adapter OK as well as the network itself but it refuses to work on DHCP and when I use a static IP address it says that it is connected but I cannot access any part of the network (btw, I have to use DHCP to access the internet but usually I can still access router setting and the other computers with a static address on windows and other linuxes that pick up my adapter but not so on Mandriva 2006.) I have tried setting my DNS server to the broadband router but so far I have had no luck.
 
Old 12-07-2005, 10:09 PM   #6
javakills
LQ Newbie
 
Registered: Sep 2003
Location: Miami, FL
Distribution: Mandriva 2006
Posts: 16

Rep: Reputation: 0
I have the same issue...

I'm on Mandriva 2006. I can see my wireless network and can even get an IP from the DCHP but nothing beyond that. I'm running GNOME. I've tried to configure the connection manually and with the termanal with no success. :-/

I can see the network but have no access to the internet. I can't even ping the F'ing router.

Little help?
 
Old 12-08-2005, 07:31 AM   #7
nharte
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
I can't ping my router, even though the PC says that I'm connected and I definately have the correct IP address. I don't think I'm being locked out. I use KDE.
 
Old 12-08-2005, 07:41 AM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by nharte
I'm getting trouble connecting to my wireless network on Mandriva 2006 as well. It finds my adapter OK as well as the network itself but it refuses to work on DHCP and when I use a static IP address it says that it is connected but I cannot access any part of the network (btw, I have to use DHCP to access the internet but usually I can still access router setting and the other computers with a static address on windows and other linuxes that pick up my adapter but not so on Mandriva 2006.) I have tried setting my DNS server to the broadband router but so far I have had no luck.
For setting the static IP address, I'm guessing that you've only
set the IP address and not fully set up the computer. In addition to setting the IP address, you need to set up a default gateway with the route command:

route add default gw xxx.xxx.xxx.xxx


Just replace the xxx bit with the IP address of your router. And then you also have to set up your /etc/resolv.conf file with your ISP nameservers. For each nameserver your ISP has (check your router, odds are you can find them there) you add a line like this:

nameserver xxx.xxx.xxx.xxx



DHCP normally does all this for you, but if you set a static IP, you need to do it yourself.

As for DHCP not workging, I believe Mandriva uses the ifup script. So once you have the card properly configured, try issuing ifup eth1 (or whatever your wireless card is actually named) and see if that works. If you dont' get a functional connection, have a look in /var/log/syslog and /var/log/messages to see what is going wrong.
 
Old 12-08-2005, 08:29 AM   #9
javakills
LQ Newbie
 
Registered: Sep 2003
Location: Miami, FL
Distribution: Mandriva 2006
Posts: 16

Rep: Reputation: 0
Handog, what about if DHCP is working, but you still do not have a connection. In my case my router has assigned me an IP address and I can clearly see the addresses of my name servers. (The gateway is also correct.) But I still can not connect or ping anything. It keeps saying connection refused. I've entered my router's security key properly. What could the issue be? Your help is greatly appreciated! :-)
 
Old 12-08-2005, 10:02 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Thats a pretty ugly situation. Do all web sites refuse the connection or just your router? And just to rule out any insanely obvious problems, could you post the route, ifconfig and iwconfig outputs from your card after DHCP has supposedly done its thing? Also, is there a firewall on this computer?
 
Old 12-08-2005, 11:31 AM   #11
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
Quote:
Originally Posted by antis
Or you can use a gui like eg KWifimanager in Kde. You'll find it under the K-menu->Internet->More Applications.
Kwifi is not included in Mandriva. Mandriva has their own proprietary wireless manager. Called Wireless Manager. You can access it by right clicking on the netapplet in your system tray and clicking on Manage Wireless Networks. Or go through the "Configure Your Computer" in K-menu > System

There's also a nice little program called "wlassistant". You'll have to set up urpmi using the easyurpmi link in my sig, wlassistant makes it really easy to roam between Wireless networks.
 
Old 12-12-2005, 02:33 AM   #12
nharte
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
By the way, this is what I get when I use ifup

Code:
ifup wlan0
Detecting IP information... failed
Also, what device is sit0?
 
Old 12-12-2005, 07:53 AM   #13
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Are you sure the card is configured correctly? If DHCP is failing then either the card isn't configured to talk to the router or there is some security in place (firewall or router config) that might be getting in the way.

If I remember correctly, sit0 is your IPv6 device (I believe it is a virtual device to allow IPv4 hardware to work with an IPv6 address). Since IPv6 isn't really used yet, I wouldn't worry about it. It probably just means your kernel has IPv6 enabled.
 
Old 02-17-2006, 08:10 AM   #14
nharte
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by Hangdog42
As for DHCP not workging, I believe Mandriva uses the ifup script. So once you have the card properly configured, try issuing ifup eth1 (or whatever your wireless card is actually named) and see if that works. If you dont' get a functional connection, have a look in /var/log/syslog and /var/log/messages to see what is going wrong.
I've looked in those files and towards the end this appears a lot.
Code:
Feb 17 13:42:26 NIALLS net_applet[4092]: running: /sbin/iwgetid -r wlan0
Feb 17 13:42:26 NIALLS net_applet[4092]: running: /sbin/iwgetid -r -a wlan0
Feb 17 13:42:26 NIALLS net_applet[4092]: running: /sbin/iwlist wlan0 scanning
Feb 17 13:42:26 NIALLS kernel: p80211req_dorequest: wlan0: only dot11req_mibget allowed for non-root.
What's even more weird is that I'm running ifup as root.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
display all available wireless networks? e1000 Linux - Wireless Networking 6 03-30-2006 08:39 PM
switching between 2 different wireless networks shadowsa SUSE / openSUSE 2 11-04-2005 09:48 PM
Anyway to choose between wireless networks? Virp00 Ubuntu 3 06-24-2005 02:05 PM
Changing Wireless Networks Rv5 Linux - General 2 01-07-2004 07:53 PM
wireless networks gui10 Linux - Wireless Networking 10 05-27-2002 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:17 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