LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-24-2010, 03:31 PM   #1
K.out
LQ Newbie
 
Registered: Oct 2008
Posts: 23

Rep: Reputation: 1
Question Can't connect to internet using wireless on Ubuntu 10.10 despite having a connection


Hi,

I would like some help setting up using a wireless connection. I can connect using wired connection, and I have no trouble browsing. I have a strong wireless connection as well; however, when I try to browse I get a server not found error.

I have done a lot of research but I don't know if any answers really matched my situation.

I did download the necessary drivers. Before that, I didn't have a wireless connection.

I was able to connect on this pc before the install, and all other devices still connect using wireless. I have a linksys router.

The one thing that stands out at me is the ip address that it says the wireless connection is using. It says it is 10.42.43.1
I feel like that might be problematic because I'm pretty sure my router only accepts connections with values that are between 192.168.1.100 and 192.168.1.200.

Thank you for the help,
K.out
 
Old 12-24-2010, 04:41 PM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,408

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Problem

This sounds like a networking issue rather than a Linux issue.
Can you tell us what kind of internet connection you have (in a general way), what kind of wireless router you use, and how you have security (encryption) set for your wireless connections?
I have to wonder if you are getting a wireless link to the wrong device, can you check that?
 
1 members found this post helpful.
Old 12-24-2010, 06:31 PM   #3
K.out
LQ Newbie
 
Registered: Oct 2008
Posts: 23

Original Poster
Rep: Reputation: 1
Router: linksys wrt54g
Encryption: wpa2 personal
How would I check if it's connecting to the wrong device?
Also, I disabled ipv6.
In addition, there is now a neighboring network being detected but it is secured as well so I can't try it. I disconnected the wired connection and my router still has my Linux box listed in the dhcp table with the ip that was being used when I was connected by cable; even after refresh
 
Old 12-24-2010, 06:59 PM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi K.out,

are you using DHCP in your network?

Please post the output of
Code:
iwconfig
and
Code:
ifconfig
maybe you'll need the sudo command to execute this in Ubuntu.

How (with which tools) did you configure your WPA2 personal encryption?

Markus
 
Old 12-24-2010, 08:29 PM   #5
K.out
LQ Newbie
 
Registered: Oct 2008
Posts: 23

Original Poster
Rep: Reputation: 1
Yes, I am using DHCP; I think that was default.

The encryption is set up with the router as well, lynksys software.

I always see people ask to post the results of iwconfig and ifconfig. What is gained from these postings, or what are you looking for in the results? Is it safe to post these? For instance, is it safe to give out your mac address?


Thank you,
K.out
 
Old 12-25-2010, 03:34 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by K.out View Post
I always see people ask to post the results of iwconfig and ifconfig. What is gained from these postings, or what are you looking for in the results? Is it safe to post these? For instance, is it safe to give out your mac address?
Well, you're inside a network which uses NAT (Network Adress Translation) which means that your router has a public IP-adress (which you really should not post here) and on the other side of the router, where your computer resides, there are private IP-adresses used, mostly 192.168.1.xxx and similar. The ifconfig command shows you, amongst other things, the private IP-adress which is useless for someone who would compromise your system from the internetside. So it is safe to post your private IP-adress here.

For the MAC-adress it is slightly different. When it comes to wireless networks, you're router can refuse unknown MAC-adresses (if you've configured this feature). If someone wants to connect to your wireless network and sees your MAC-adress here at LQ, he/she might use so called MAC-spoofing in order to make his/her computer's wireless adapter pretend to have the same MAC-adress as your's. But this is more a theoretical problem. You may therefore change the MAC-adress in the output of ifconfig or iwconfig to xx.xx.xx.xx.xx.xx.
Quote:
...or what are you looking for in the results?...
At iwconfig I look for Accesspoint, connected or not authenticated.
At ifconfig I look if you have an apropriate IP-configuration for your network and if there is no output at all, one can assume that the apropriate driver is missing.

Markus
 
1 members found this post helpful.
Old 12-25-2010, 10:54 AM   #7
K.out
LQ Newbie
 
Registered: Oct 2008
Posts: 23

Original Poster
Rep: Reputation: 1
Cool, thanks for the description. It's nice to actually learn about some of this stuff instead just having somebody fix it for me.

me@me-name:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"connection"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: xx:xx:xx:xx:xx:xx
Tx-Power=20 dBm
Retry long limit:7 RTS thrff Fragment thrff
Power Managementff

me@me-name:~$ ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:6079 errors:0 dropped:0 overruns:0 frame:0
TX packets:5650 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5254777 (5.2 MB) TX bytes:790697 (790.6 KB)
Interrupt:18

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:236 errors:0 dropped:0 overruns:0 frame:0
TX packets:236 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17800 (17.8 KB) TX bytes:17800 (17.8 KB)

wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:10.42.43.1 Bcast:10.42.43.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:4786 (4.7 KB)



Ok, here is the output of the iwconfig and ifconfig. I just replaced the mac addresses with x's. I don't know what CELL is, or what it is used for, but it was different than any mac address and I replaced it with x's as well. I entered the commands when I was only connected to wireless. I just used a wired connection to copy them here after the fact. I don't think that matters though... because it seems like a history of your connections?

Also, as I said before it seems strange that it would say that I am connected, but I don't have a router assigned IP; I have that strange IP.


Thanks again,
K.out
 
Old 12-25-2010, 11:08 AM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
This is at least a valid IP-configuration for a 10.42.43.0/24 network with the SSID "connection".
Is this the name of your wireless lan?
But I'm missing some output in iwconfig.

What did you do in order to configure your wireless adapter for your wireless network?

could you please post the output of
Code:
cat /etc/resolv.conf
this is the adress of the nameserver and should also be configured via DHCP.

Markus
 
Old 12-25-2010, 09:49 PM   #9
K.out
LQ Newbie
 
Registered: Oct 2008
Posts: 23

Original Poster
Rep: Reputation: 1
Yes, that is the ssid that of my network.
Also, what is a 10.42.43.0/24 network?
I thought that I had a 192.168.1.100/150

That was the complete iwconfig output.

I don't know of doing anything to configure the wireless
Adapter aside from installing the broadcom b43 wireless
Driver. Is that what you mean?

The cat /etc/resolve.conf just says
# Generated by NetworkManager
 
Old 12-26-2010, 03:59 AM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, what about the encryption? did you tell your computer which key to use? and if so, which tool did you use? Did you configure your computer to use DHCP?

And there is no entry for a nameserver in the resolv.conf, which means altogether you'r computer has got no valid IP-configuration via DHCP.

I'd assume that you are not connected to your network. Unfortunately I don't have any experience with Ubuntu, so I can't tell where to enter the key and how to restart wlan0.

Maybe you'd be better off to post this issue in an Ubuntu forum http://www.linuxquestions.org/questions/ubuntu-63/

Quote:
...Also, what is a 10.42.43.0/24 network?...
it's another notation for a network with networkadress 10.42.43.0 (the lowest ip in a network is the network adress) and 24bit subnetmask (255.255.255.0)
Quote:
...I thought that I had a 192.168.1.100/150
no, this is not a valid networkadress.

Markus

Markus
 
Old 12-26-2010, 07:35 AM   #11
ssreddy555
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Rep: Reputation: 2
Select TKIP

In the wireless router interface, select security option as WPA2, select Encryption Protocol as AES - CCMP (& not TKIP) & Authentication method as Pre Selection Key (PSK) & give ur password in PSK field.

Selection of AES protocol is important. Seems Linux cannot decrypt TKIP.

Let me know whether u are successful.
 
1 members found this post helpful.
Old 12-26-2010, 10:22 AM   #12
K.out
LQ Newbie
 
Registered: Oct 2008
Posts: 23

Original Poster
Rep: Reputation: 1
It is already set to wpa2 and aes. There is no option for ccmp; so, I can't select that. I don't have tkip selected, and the is no field labeled psk, but I am guessing that the field I entered the password in is the same thing.
 
Old 12-28-2010, 06:59 PM   #13
K.out
LQ Newbie
 
Registered: Oct 2008
Posts: 23

Original Poster
Rep: Reputation: 1
http://www.linuxquestions.org/questi...ection-852466/
 
  


Reply

Tags
internet connection, ubuntu+10.10, wireless


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
Tried to connect to internet through Wvdial in Ubuntu 10.04 unable to get connection dalfish Ubuntu 6 06-20-2010 08:29 PM
how to connect to internet using dsl connection at a time for wireless and wired itrilok Linux - Networking 2 06-14-2010 10:27 AM
Linux Connect to internet via Windows XP wireless connection khskinsfan Linux - General 6 09-02-2009 10:45 PM
Looking for help to connect to internet with wireless connection donnymac2005 Linux - Wireless Networking 2 10-05-2008 10:54 PM
Unable to connect to internet via wireless OR wired connection frznchckn Linux - Wireless Networking 5 06-19-2008 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration