LinuxQuestions.org
Visit Jeremy's Blog.
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 11-19-2011, 08:34 PM   #1
PeterADDX
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Rep: Reputation: Disabled
ubuntu wireless


hello,

I am a newbie and I am having difficulties to connect to my adsl modem using wifi, this is driving my mad.
The modem does all these functions at the same time: adsl, routing, wifi.
I think the connection to the wifi worked fine. Ubuntu says the connection to the wifi is established after I enter the essid and password.
But there is no internet connection, I think it's because the router doesn't work.
I have tried so many different things I lost track, including using static ip or dynamic, choosing the gui in system preferences network connections or the command line (dhclient, /etc/network/interfaces, /etc/resolv.conf, ...). I even tried disabling the router in the web interface, to no effect: in most of the cases, I was able to connect to the wifi, but ping returned host not found.

I am totally lost, I am not even sure what I did anymore, I would just like to cancel it all and go back to a state where I can use internet.
I am now at a friend's house (since I couldn't in write here from my home) so I won't be able to answer to all your questions regarding my computer, it's not reachable right now. So if possible, it would be better if you could rather give a list of questions or steps that I have to take, and I'll do all at the same time once I go back home.

Thanks for reading this far.
 
Old 11-20-2011, 07:07 AM   #2
PeterADDX
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Can you help me please ?
 
Old 11-20-2011, 07:12 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Seems to me there is a DNS poblem.
Please post the output from
Code:
ifconfig
iwconfig
cat /etc/resolv.conf
ping 212.100.160.51
Kind regards
 
Old 11-20-2011, 07:35 AM   #4
PeterADDX
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
hi,

thanks for the answer.
Ok I'll do it as soon as I'm home. If I may, though, it would appear to me that it's not a dns problem but rather a mix up between static and dynamic ips, netmask, gateway, dhcp issues, router configuration... I feel that all this has to be set correctly and despite all my tries I've never been able to get them all working together. What would be the correct configuration for all these items ?
 
Old 11-20-2011, 07:48 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Can't you use a wired connection?

Kind regards
 
Old 11-20-2011, 07:53 AM   #6
PeterADDX
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Yes I could (temporarily, for tests only). Would that help ? I'm pretty sure the issue doesn't come from the fact that it's a wireless connection, since ubuntu says the connection with the ap is established.
 
Old 11-20-2011, 07:54 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I am now at a friend's house (since I couldn't in write here from my home) so I won't be able to answer to all your questions regarding my computer, it's not reachable right now. So if possible, it would be better if you could rather give a list of questions or steps that I have to take, and I'll do all at the same time once I go back home.
If you connect wired, no need to go elsewhere to answer.

Kind regards
 
Old 11-20-2011, 08:24 AM   #8
PeterADDX
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Wired or not, I don't think internet will work, since unless I'm mistaken I think this has to do with a mistake regarding the router configuration and the ubuntu configuration so that it matches the router's.
 
Old 11-20-2011, 08:42 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Let's start with the results from the commands when connected via wireless, and go from there.

Kind regards
 
Old 11-20-2011, 06:55 PM   #10
kanthas
Member
 
Registered: Nov 2011
Posts: 31

Rep: Reputation: Disabled
I am having the same issue. It's very frustrating.
 
Old 11-20-2011, 07:03 PM   #11
kanthas
Member
 
Registered: Nov 2011
Posts: 31

Rep: Reputation: Disabled
If I can be so bold, this is the output I'm getting from those commands. Any help would be truly appreciated. If this is rude, I'm sorry, I'm new here.

sue@sue-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:b0:01:fd:dc
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:b0ff:fe01:fddc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39293 errors:0 dropped:0 overruns:0 frame:0
TX packets:18796 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32955706 (32.9 MB) TX bytes:3093972 (3.0 MB)
Interrupt:18 Base address:0x7000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:58801 errors:0 dropped:0 overruns:0 frame:0
TX packets:58801 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5160343 (5.1 MB) TX bytes:5160343 (5.1 MB)

wlan0 Link encap:Ethernet HWaddr 00:90:4b:58:29:1f
inet addr:10.42.43.1 Bcast:10.42.43.255 Mask:255.255.255.0
inet6 addr: fe80::290:4bff:fe58:291f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:11262 (11.2 KB)

sue@sue-laptop:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"7pjv1"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: CA:48:0B:F8:A9:E4
Tx-Power=20 dBm
Retry long limit:7 RTS thrff Fragment thrff
Power Managementff

sue@sue-laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain home
search home
nameserver 192.168.1.1
sue@sue-laptop:~$ ping 212.100.160.51
PING 212.100.160.51 (212.100.160.51) 56(84) bytes of data.
64 bytes from 212.100.160.51: icmp_seq=1 ttl=251 time=95.6 ms
64 bytes from 212.100.160.51: icmp_seq=2 ttl=251 time=97.8 ms
64 bytes from 212.100.160.51: icmp_seq=3 ttl=251 time=102 ms
64 bytes from 212.100.160.51: icmp_seq=4 ttl=251 time=94.6 ms
64 bytes from 212.100.160.51: icmp_seq=5 ttl=251 time=97.4 ms
64 bytes from 212.100.160.51: icmp_seq=6 ttl=251 time=100 ms
64 bytes from 212.100.160.51: icmp_seq=7 ttl=251 time=101 ms
64 bytes from 212.100.160.51: icmp_seq=8 ttl=251 time=96.3 ms
64 bytes from 212.100.160.51: icmp_seq=9 ttl=251 time=96.9 ms
64 bytes from 212.100.160.51: icmp_seq=10 ttl=251 time=100 ms
64 bytes from 212.100.160.51: icmp_seq=11 ttl=251 time=103 ms
64 bytes from 212.100.160.51: icmp_seq=12 ttl=251 time=96.4 ms
64 bytes from 212.100.160.51: icmp_seq=13 ttl=251 time=99.5 ms
64 bytes from 212.100.160.51: icmp_seq=14 ttl=251 time=103 ms
64 bytes from 212.100.160.51: icmp_seq=15 ttl=251 time=94.6 ms
64 bytes from 212.100.160.51: icmp_seq=16 ttl=251 time=97.5 ms
64 bytes from 212.100.160.51: icmp_seq=17 ttl=251 time=102 ms
64 bytes from 212.100.160.51: icmp_seq=18 ttl=251 time=93.7 ms
64 bytes from 212.100.160.51: icmp_seq=19 ttl=251 time=96.4 ms
64 bytes from 212.100.160.51: icmp_seq=20 ttl=251 time=99.5 ms
64 bytes from 212.100.160.51: icmp_seq=21 ttl=251 time=103 ms
64 bytes from 212.100.160.51: icmp_seq=22 ttl=251 time=94.6 ms
64 bytes from 212.100.160.51: icmp_seq=23 ttl=251 time=98.4 ms
64 bytes from 212.100.160.51: icmp_seq=24 ttl=251 time=99.6 ms
64 bytes from 212.100.160.51: icmp_seq=25 ttl=251 time=103 ms
64 bytes from 212.100.160.51: icmp_seq=26 ttl=251 time=95.5 ms
64 bytes from 212.100.160.51: icmp_seq=27 ttl=251 time=99.4 ms
64 bytes from 212.100.160.51: icmp_seq=28 ttl=251 time=103 ms
64 bytes from 212.100.160.51: icmp_seq=29 ttl=251 time=96.5 ms
64 bytes from 212.100.160.51: icmp_seq=30 ttl=251 time=98.5 ms
64 bytes from 212.100.160.51: icmp_seq=31 ttl=251 time=100 ms
64 bytes from 212.100.160.51: icmp_seq=32 ttl=251 time=93.5 ms
64 bytes from 212.100.160.51: icmp_seq=33 ttl=251 time=96.4 ms
 
Old 11-20-2011, 08:42 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,486
Blog Entries: 16

Rep: Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207
192.168.1.2 looks like a static IP address. The ping indicates you are able to hit Easynet Belgium (according to whois).

For testing, I would suggest setting the computer to use DHCP, then connecting directly to your modem/router and seeing what happens. It could be that your modem is using a different subnet, perhaps 192.168.0.x instead of 192.168.1.x. If that's the case, a 192.168.1.x address would not get through.

If you have a friend who's willing to come over and test your connection with a laptop or netbook, that would be another layer of thoroughness. If you computer is portable, taking it over to your friend's and testing it there would also help narrow things down.

We really must verify that your home connection is working before we can move on to testing the computer.

The important thing is to systematically rule out possible causes of the problem one at a time, kind of like climbing a tree--we start at the trunk, then work out to the branches.
 
Old 11-20-2011, 09:47 PM   #13
kanthas
Member
 
Registered: Nov 2011
Posts: 31

Rep: Reputation: Disabled
We have 2 other computers working on this wireless network, so it's not the network. That I'm sure of. Thank you for your willingness to help!
 
Old 11-20-2011, 10:26 PM   #14
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I think that this tread needs to be seperated there are 2 people having same issue on the same day so the OP can't get the help he/she terdeserves nor the secondary poster.To the Op you need to to tell us the hardware that you're working with.
Post the output of these commands
Quote:
lspci
&
Quote:
lsmod
Also make & model of computer would help.
You should be able to get a wired connection directly from your modem so as not to have to use another compu

@kanthas start a new thread because you're stopping OP from getting the help they deserve.

Last edited by EDDY1; 11-20-2011 at 10:29 PM.
 
Old 11-21-2011, 02:38 AM   #15
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
sue@sue-laptop:~$ ping 212.100.160.51
PING 212.100.160.51 (212.100.160.51) 56(84) bytes of data.
64 bytes from 212.100.160.51: icmp_seq=1 ttl=251 time=95.6 ms
This means your connection is working.
Quote:
sue@sue-laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain home
search home
nameserver 192.168.1.1
Your nameserver is set to the ip from the router.
Use the DNS from your provider or try googles DNS
Code:
8.8.8.8
Then try to ping on name
Code:
ping google.com
Kind regards
 
  


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
Make Ubuntu Linux work as a wireless router--wireless Internet sharing erossmith Linux - General 6 04-21-2013 09:59 PM
No Wireless Networks Found After Ubuntu 9.10 Upgrade Using a IBM Wireless-B Card mepis1 Ubuntu 15 02-01-2010 08:52 PM
Wireless device crash when wireless network is lost (ubuntu/gutsy on ThinkPad) daganesh Linux - Wireless Networking 6 11-24-2008 05:06 AM
Ubuntu 8.04 wireless problems on t60 thinkpad using atheros wireless adapter AR5212 NuxIT Linux - Wireless Networking 0 08-21-2008 05:54 AM

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

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