LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-18-2006, 06:06 PM   #1
njbrubaker
LQ Newbie
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: kubuntu 5.10
Posts: 1

Rep: Reputation: 0
How do I change wireless networks?


Hi,

A few days ago I installed Kubuntu 5.10 on my computer and set it up to dual boot with Windows XP. During the installation process it automatically found the wireless network at my parents house, and I was able to connect to the internet just fine there. When I took it back to my house, though, it won't automatically connect to the network there. Using KwifiManager I can use the "Scan For Networks" button to find the network I want, but if I select it and click OK, nothing happens. I've been trying to find a way to get KwifiManager to connect to this network but I've come up with nothing so far, and the manual it comes with isn't that helpful. Can anyone help?
 
Old 04-18-2006, 07:13 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
  1. Using "lsmod", check if the wireless kernel module exists.
  2. using "iwlist scan" check if you can see the AP.and
  3. Using "ifconfig" check whether the wireless inteface has an IP address.
  4. Check the encryption settings on you interface and make sure that they match your router.

The first items were done when you initially installed wireless at your parents, but if something wasn't saved properly, then perhaps after a reboot something is missing. For example, if you use "ndiswrapper" you may have forgotten to run "sudo /usr/sbin/ndiswrapper -m" to update the /etc/modprobe.conf alias for the device. Perhaps when the wireless was installed, a "depmod -a" command was aborted.

When I set up my wireless device on the laptop, two other packages were installed. wireless-tools and
wpa_supplicant. The wireless-tools package (your system may be different) supplies the iwlist, iwconfig commands along with others.

If the "iwlist scan" command responds with data on wireless networks, then the device is probably working, and you need to concentrate on the wireless device network configuration and authentication.

Make sure to check things from the bottom up. Because, if you don' have a driver loaded, for example, you will not be able to authenticate even if the networking is configured properly. You won't even get an IP address via DHCP until you can authenticate.

If you can connect to your router directly, and access it's configuration web page, you can use cut and paste to copy the key to your configuration. A 64 bit hex key can be difficult to type in correctly..

I use kinternet instead of kwifimanager.

There is one thing to try if you also have an regular NIC interface. Shut it down and restart the wireless. I think, on your system, the commands would be:
"sudo /sbin/service eth0 stop"
"sudo /sbin/service wlan0 restart"

I'm not certain on where the service command is located, and your wireless device might me called something different such as "eth1". If this is successful, and "/sbin/ifconfig" shows your wireless device has an IP address, then you might try changing the configuration of the NIC interface (eth0) to start on hotplug. There probably is an option for this in your GUI configuration.

Last edited by jschiwal; 04-18-2006 at 07:15 PM.
 
  


Reply



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
help need regarding wireless networks vesky70 Linux - Laptop and Netbook 1 01-31-2006 11:18 AM
switching between 2 different wireless networks shadowsa SUSE / openSUSE 2 11-04-2005 09:48 PM
Frequently need to change networks (essid) MDColson Linux - Wireless Networking 6 12-31-2004 01:46 PM
How to change between networks with wifi yukaputzer Linux - Newbie 1 12-18-2003 02:14 PM
wireless networks gui10 Linux - Wireless Networking 10 05-27-2002 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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