Answers to: Connecting internet applicationshttp://linuxexchange.org/questions/212/connecting-internet-applications<p>I am running XP and ubuntu 9.04 on a Dell Inspiron laptop. I have wi-fi access and ubuntu can see and connect with it. However none of the intenet applications (like Firefox) can see the net. What do I have to do to make these applications see and use the connection. The XP side works fine.</p>enSat, 08 May 2010 02:32:22 -0400Answer by hippiejakehttp://linuxexchange.org/questions/212/connecting-internet-applications/384<p>Pop a shell and try <code>/sbin/ifconfig -a</code>. Look for your wifi device (usually wlan0) and make sure you're getting an IP assigned. It will be around the second line for the relevant device and labeled by "inet addr". If you can't find this, then you haven't had an IP address assigned. Try <code>dhclient wlan0</code> or <code>dhcpcd wlan0</code> or whatever DHCP client to request one.</p> <p>Try <code>ping google.com</code>. If it says "unknown host google.com" try <code>host google.com</code>. If these also fail then either your DNS server is set wrong or there's serious weirdness with your routing. Usually, DHCP should assign a DNS server automatically so it shouldn't be a problem.</p> <p>Finally, try <code>/sbin/route</code>. There are two columns here we care about labeled Destination and Gateway. Find the row with a "default" Destination and get the matching Gateway. Try to ping this IP. (<code>ping 192.168.0.1</code>, for example)</p> <p>Also check <code>sudo iptables -L</code>. It should look something like:</p> <blockquote> <p>Chain INPUT (policy ACCEPT)<br> target prot opt source destination</p> <p>Chain FORWARD (policy ACCEPT)<br> target prot opt source destination</p> <p>Chain OUTPUT (policy ACCEPT)<br> target prot opt source destination</p> </blockquote> <p>If not, say:<br> <code>sudo iptables -P INPUT ACCEPT</code><br> <code>sudo iptables -P OUTPUT ACCEPT</code><br> <code>sudo iptables -F INPUT</code><br> <code>sudo iptables -F OUTPUT</code></p> <p>There are dozens of things that could be wrong, the results of these should point out the most common problems though.</p>hippiejakeSat, 08 May 2010 02:32:22 -0400http://linuxexchange.org/questions/212/connecting-internet-applications/384Answer by kainosnoushttp://linuxexchange.org/questions/212/connecting-internet-applications/360<p>The first thing is to make sure that you are really connected to the net. Try pinging Google. Then, just to be sure, you can use "echo -e 'GET / HTTP/1.0\n\n' | ncat www.google.com 80".</p> <p>If that is working fine, you could try a packet sniffer like Wireshark to see where the information was trying to be sent. It could be a setting in your programs, but as it effects multiple programs I would think it is a system wide setting. Some things to check are your routing table and your firewall settings. It seems strange that you can connect to the internet, but applications can not. You may want to try some different applications, perhaps Lynx, to see if they are effected too.</p>kainosnousFri, 07 May 2010 07:10:49 -0400http://linuxexchange.org/questions/212/connecting-internet-applications/360Answer by Jubhttp://linuxexchange.org/questions/212/connecting-internet-applications/238<p>That's an unusual problem unless you tampered with Firefox's proxy settings. Try checking the proxy settings to see if anything other than the "use no proxy" or whatever is checked.</p> <p>click edit > options > advanced > network > settings</p> <p>and you should see the proxy settings from there</p>JubTue, 04 May 2010 03:27:36 -0400http://linuxexchange.org/questions/212/connecting-internet-applications/238