Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.