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 07-19-2014, 08:46 PM   #1
jkilla1000
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Rep: Reputation: Disabled
Connected to wifi, but no Internet. On Ubuntu.


Okay, so I'm very new to Ubuntu/Linux in general and just installed it on my desktop. For connecting to the internet I use a netgear WNA 3100. I used Wine and ndiswrapper to install the drivers for that. I followed the instructions in the ndiswrapper readme file, and connected to my home wifi. At first it let me load pages, etc, but it stopped. I tried pinging google, with no result, and being new to Ubuntu I'm not sure what to do.
 
Old 07-19-2014, 08:53 PM   #2
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Rep: Reputation: 65
Hi!

see this...
 
Old 07-19-2014, 09:06 PM   #3
jkilla1000
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thats not exactly what i'm looking for. The drivers are installed i just can't get an internet connection, although i can connect to wifi.
 
Old 07-19-2014, 09:37 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
Some more information might be helpful.

What is the output of cat /etc/network/interfaces and ifconfig -a run in a terminal (you may have to run these commands as root)?

Have you tested with a wired connection? If you haven't, please do so, as that would provide valuable diagnostic information.

What type of internet access are you using (cable, DSL, etc.)?

Are their other computers in your local network that can connect to the internet?

Please be sure to surround the output of any commands with "code" tags for readability; they become available when you click the "Go Advanced" button to the right of the "Post Quick Reply" button at the bottom of the reply window.
 
Old 07-19-2014, 09:55 PM   #5
jkilla1000
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Okay so I have the output from running those two programs, and to answer some of your questions, yes other computers can connect to the internet. And no I haven't connected the computer via wire yet.

ifconfig -a
Code:
eth0      Link encap:Ethernet  HWaddr 60:a4:4c:62:4d:37  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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:65536  Metric:1
          RX packets:169 errors:0 dropped:0 overruns:0 frame:0
          TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:12273 (12.2 KB)  TX bytes:12273 (12.2 KB)
cat /etc/network/interfaces
Code:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
 
Old 07-20-2014, 01:32 AM   #6
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Your interfaces file looks a little brief. For example, this is mine with both wired and wireless connections.
Code:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp
    wireless-essid [name_of_host]
Your netmask is 255.0.0.0? Interesting. It is usually 255.255.255.0, although I do not know enough to know if that has any significance on your system.

Just out of curiosity, why are you using Wine for your network connection?
 
Old 07-20-2014, 12:29 PM   #7
jkilla1000
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
I was using wine to extract the driver files from the installer, so that I could use them with ndiswrapper.
 
Old 07-20-2014, 08:08 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
jkilla1000, your ifconfig -a does not show an valid ip address for a network.

It should look something like this (though wireless would be wlan0 rather than eth0)--the relevant line is in bold:

Code:
eth0      Link encap:Ethernet  HWaddr 00:11:11:a9:7d:8d  
          inet addr:192.168.2.5  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::211:11ff:fea9:7d8d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13815586 errors:0 dropped:170 overruns:0 frame:0
          TX packets:7027093 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2975446581 (2.7 GiB)  TX bytes:502220338 (478.9 MiB)
What wireless chipset is in this computer? (Running the command lspci in a terminal should reveal that, as long as you are not using some sort of USB adapter.) Also, what make/model of computer? Your user agent icon says Mac OS, but a) that may be another computer if the problem machine can't connect to the net and 2) the user agent icons can be mistaken.

Last edited by frankbell; 07-20-2014 at 08:10 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
[SOLVED] Internet doesn't work despite being connected (WIFI) Holering Slackware 22 03-14-2014 11:12 PM
After the kernel upgrade to 3.11 is not connected to the Internet via WiFi Gifrom Linux - Newbie 3 09-16-2013 03:12 PM
Fedora 18 on Toshiba Satellite, connected to Wifi but no internet blogugogu Linux - Wireless Networking 6 07-07-2013 04:08 AM
[SOLVED] WiFi is connected but unable to access internet in RHEL 6 and Fedora 17 aniruddha.jagdale Linux - Wireless Networking 6 04-28-2013 12:30 PM
connected to wifi network but no internet connection? mr.gizm0 Linux - Wireless Networking 3 03-21-2005 03:07 AM

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

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