LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-01-2009, 09:14 AM   #1
youngaa
LQ Newbie
 
Registered: Dec 2009
Distribution: xubuntu 9.10
Posts: 8

Rep: Reputation: 0
Angry No IP address when connecting wirelessly through Xubuntu


I have been using Ubuntu for a few years and never had any problems with connecting to the internet either via a wired or wireless connection, but I decided to remove Ubuntu 9.04 and installed Xubuntu 9.10. That was a baaaaad move because I now cannot get my laptop (a Toshiba Satellite Pro L10) to connect to the 'net.

I've installed the wifi card (a Linksys WPC54G) using ndiswrapper and that seems to be OK because the wicd network manager can find the wireless network. However, when I try to connect to the network, the wicd network manager gives me the error saying "Connection Failed: Unable to Get IP Address". I cannot connect using the Network Manager, either. I don't know if this is important, but I've also noticed that when I open up the ndiswrapper GUI I get the message Unable to see if hardware is present. And when I select the "Configure Network" option in the ndiswrapper GUI I get an error that says Could not find a network configuration tool.

The result of
Code:
iwlist wlan0 scanning
is:
Code:
wlan0     Scan completed :
          Cell 01 - Address: 00:21:63:95:EA:76
                    ESSID:"Ward"
                    Protocol:IEEE 802.11g
                    Mode:Managed
                    Frequency:2.422 GHz (Channel 3)
                    Quality:81/100  Signal level:-44 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
That seems to confirm that the laptop is seeing the network I want to connect to, but doesn't help me to figure out a solution! Does anyone have any suggestions about what I can do to get the wireless working? Thanks.

Last edited by youngaa; 12-03-2009 at 01:25 PM.
 
Old 12-01-2009, 01:55 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
May be that helps.

Try to use manual setup

http://wiki.linuxquestions.org/wiki/Wireless_networking
 
1 members found this post helpful.
Old 12-01-2009, 01:59 PM   #3
youngaa
LQ Newbie
 
Registered: Dec 2009
Distribution: xubuntu 9.10
Posts: 8

Original Poster
Rep: Reputation: 0
Cheers, I'll give that a go.
 
Old 12-01-2009, 02:05 PM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
You have associate with AP first, then ask for IP through DHCP request
 
Old 12-01-2009, 03:25 PM   #5
youngaa
LQ Newbie
 
Registered: Dec 2009
Distribution: xubuntu 9.10
Posts: 8

Original Poster
Rep: Reputation: 0
Hmm, I've noticed when trying to connect to the wireless network using the wicd connection manager, instead of displaying "ESSID NAME OF CHOICE: Obtaining IP address" I get "none: Obtaining IP address". I realise that goes to show that the connection manager isn't working properly, but is that significant in any way?


Quote:
Originally Posted by nimnull22 View Post
You have associate with AP first, then ask for IP through DHCP request
Sorry, I don't understand that statement. Could you explain more? Thanks.

Last edited by youngaa; 12-01-2009 at 03:36 PM.
 
Old 12-01-2009, 03:32 PM   #6
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by youngaa View Post

Sorry, I don't understand that statement. Could you explain more? Thanks.
I meant, if you will decide to connect manually (with console), you have to associate with AP first, then ask for IP addresses.
 
Old 12-01-2009, 03:59 PM   #7
youngaa
LQ Newbie
 
Registered: Dec 2009
Distribution: xubuntu 9.10
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nimnull22 View Post
I meant, if you will decide to connect manually (with console), you have to associate with AP first, then ask for IP addresses.
Ah OK.

I've also been working through the wireless networking guide, which linked me to the WPA guide. Trying to set the passphrase fails. I can do the first bit without problem:
Code:
wpa_passphrase YOUNGAA mypassword
gives me the expected result
Code:
network={
	ssid="YOUNGAA"
	#psk="mypassword"
	psk=blahblahblahblahblahblahblahblahblahblahblah
}
However, when I try to do the second section
Code:
cat >/etc/wpa_supplicant.conf
I get the message
Code:
bash: /etc/wpa_supplicant.conf: Permission denied
and I have noticed in the etc/wpa_supplicant folder I only have three files:
#1: action_wpa.sh
#2: functions.sh
#3: ifupdown.sh

Should there not be a .conf file in that somewhere?

Apologies for all the questions. I'm struggling here with my very limited knowledge.
 
Old 12-01-2009, 04:32 PM   #8
youngaa
LQ Newbie
 
Registered: Dec 2009
Distribution: xubuntu 9.10
Posts: 8

Original Poster
Rep: Reputation: 0
Thumbs up

I'm now even more confused because the wifi is now working . I've no idea what I've done to get to this stage, and I'm scared it'll stop working on a reboot, but my God it's working!

I was about to remove Xubuntu 9.10 and install Ubuntu 9.10 onto the laptop, in fact the liveCD was in the machine, and clearly that was enough to scare Xubuntu into behaving!

Thanks for your help.
 
Old 12-01-2009, 04:51 PM   #9
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by youngaa View Post
I was about to remove Xubuntu 9.10 and install Ubuntu 9.10 onto the laptop, in fact the liveCD was in the machine, and clearly that was enough to scare Xubuntu into behaving!

Thanks for your help.

Good luck, Ubuntu 9.10 might not be better.
 
Old 12-01-2009, 04:57 PM   #10
youngaa
LQ Newbie
 
Registered: Dec 2009
Distribution: xubuntu 9.10
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nimnull22 View Post
Good luck, Ubuntu 9.10 might not be better.
Good luck isn't need - the wireless is working in Xubuntu 9.10, thanks to those guides you pointed me at, I just don't know what exactly got it working .
 
Old 12-02-2009, 04:24 AM   #11
youngaa
LQ Newbie
 
Registered: Dec 2009
Distribution: xubuntu 9.10
Posts: 8

Original Poster
Rep: Reputation: 0
And it's stopped working . I rebooted the machine this morning and the wireless is again not working. When I try to connect using the wicd connection manager I get a message saying Connection Failed: Unable to Get IP Address, but the wicd connection manager then shows me connected to an odd IP address, which in the screenshot is 169.254.102.243 but it's also "connected" to 169.254.213.23. I can then ping that particular IP address, but I've no idea why, or where, that odd IP address is appearing. And it still means I'm not connected wireless. Arrrggghhh!

I'd be grateful for any help you can provide. Thanks.
.
.
.
.
And breath.
 
Old 12-03-2009, 01:26 PM   #12
youngaa
LQ Newbie
 
Registered: Dec 2009
Distribution: xubuntu 9.10
Posts: 8

Original Poster
Rep: Reputation: 0
[SOLVED] No IP address when connecting wirelessly through Xubuntu

I gave up messing around with settings I don't understand, so I've reinstalled Xubuntu. Things are now working and this time Xubuntu automatically figured out what my wireless card was and I didn't need to use ndiswrapper.

Thanks for the help.
 
  


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
Laptop prevents desktop from connecting (wirelessly) to access point b0uncer Linux - Wireless Networking 6 05-11-2008 03:51 AM
connecting wirelessly mlombaard Linux - Newbie 1 04-29-2008 04:26 AM
Why the heck must connecting two routers wirelessly be near-impossible ? Dark Carnival Linux - Hardware 5 05-20-2007 01:26 PM
connecting to the internet wirelessly davisw Linux - Laptop and Netbook 5 05-02-2007 04:03 PM
Connecting Wirelessly with Netgear WG311 Redhat iambia Linux - Wireless Networking 2 01-25-2006 11:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:06 AM.

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