Article View: aus.computers.linux
Article #482Re: Network connects .. but no software will.
From: Zebee Johnstone
Date: Sat, 10 Dec 2011 02:06
Date: Sat, 10 Dec 2011 02:06
119 lines
5513 bytes
5513 bytes
In aus.computers.linux on Sat, 10 Dec 2011 12:04:55 +1100 Polly the Parrott <flatulantdingo@deadspam.com> wrote: > > Now, the connection indicator shows as connected for either (depending > of course on which one I select to be active), and shows in case of > the wireless the signal strength, but in actual fact cannot browse, > get mail etc etc. > > Firefox & others come up with "no network connection" sort of error. > > Dual boot, no such issue with Windoze. > > ifconfig shows all RX & TX as errors, and I can ping the router ok. > Hmm... if you can ping the router, packets are getting out. But they might just be getting as far as the router. There are two possiblities - network and firewall. Quick test - turn off any firewall at all. Try again. If it all now works your firewall setup is corrupt and you might need to find an Ubuntu forum to work out how to fix that. You might need to check it really *is* off, so get to a terminal session and do sudo iptables -L you should see something like hain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination that is, everything as accept. If not, then you have to get to that point. If your firewall is off and you still can't connect then it's network, the first job is to check the simplest case, which is ethernet. So turn off wireless. I know nothing about ubuntu, but presumably all the command line tools work and show something intelligent so try getting to a terminal and doing netstat -r -n You should get something like Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0.0.0.0 192.168.1.124 0.0.0.0 UG 0 0 0 eth1 see that last line? The many 0's are the "default route" and that line is telling me that all packets destined for the great wide world will head out via 192.168.1.124 which is my router. Check what yours says. Then do the same on Windows. (I think the output is the same on Windows, don't have one of those either...) If you don't have a default route in netstat then somethng's amiss with your network connection. You can test it by doing route add default gw www.xxx.yyy.zzz where www.xxx.yyy.zzz is the IP address of your router, in my example I'd do route add default gw 192.168.1.124 Now try firefox or something. If that works then that's the problem... fixing it means looking at your network configuration. I presume you are using something like Network Manager? Find your network configuration icon or look for how you configure your network and check that everything is as it should be. At a rough guess you want to make sure you are using DHCP for everything. If you are, and it's still a gateway problem we run into the "Zebee knows nothing about Ubuntu" and you might need to head over to an Ubuntu forum. Else you can try telling it to use your router as a gateway and sort it like that. Now... supposing you do have a default route and it's the right one, but not passing packets. That gets more annoying :) It means that your router is objecting to something about linux and not windows. Check if you are using the same IP address in both. In windows on the command line do ipconfig and in linux ifconfig the out put is not quite identical from memory but the basics should be easy to see. If you aren't getting the same IP, why not.... If your network is set for DHCP that means something in the router, look there. If you are, and the route's the same, and there's nothing obviously set in the router, then I fear it is something busted in your Network Manager (or whatever Ubuntu uses). It is possible you have a corrupted file. I suppose before finding a forum you could delete your ethernet and wireless information from your network manager setup, reboot (to make sure it really is all clear, I don't trust NetworkManager...) and re-create your setup. That should clear any corrupted file. Zebee
Technical Details
Message-ID:
<slrnje5fkt.2k3.zebeej@gmail.com>Path:
arc1-ca.pugleaf.net!lh20ni4862pbb.0!nntp.google.com!news2.google.com!goblin3!goblin.stu.neva.ru!bolzen.all.de!fu-berlin.de!news0.firedrake.org!not-for-mailReferences:
<2ub5e7h96i3dg730pj6089o6cp9l2ps7hb@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 102983,a78a7f6688230d0
X-Google-NewGroupId: yes
X-Google-Attributes: gidcfc73a2246,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.68.190.2 with SMTP id gm2mr3434244pbc.4.1323482783632;
Fri, 09 Dec 2011 18:06:23 -0800 (PST)
Path: arc1-ca.pugleaf.net!lh20ni4862pbb.0!nntp.google.com!news2.google.com!goblin3!goblin.stu.neva.ru!bolzen.all.de!fu-berlin.de!news0.firedrake.org!not-for-mail
From: Zebee Johnstone <zebeej@gmail.com>
Newsgroups: aus.computers.linux
Subject: Re: Network connects .. but no software will.
Date: Sat, 10 Dec 2011 02:06:22 +0000 (UTC)
Organization: Firedrake Synthesis
Lines: 121
Message-ID: <slrnje5fkt.2k3.zebeej@gmail.com>
References: <2ub5e7h96i3dg730pj6089o6cp9l2ps7hb@4ax.com>
Reply-To: zebeej@gmail.com
NNTP-Posting-Host: 156.10.233.220.static.exetel.com.au
Mime-Version: 1.0
X-Trace: parhelion.firedrake.org 1323482782 11258 220.233.10.156 (10 Dec 2011 02:06:22 GMT)
X-Complaints-To: usenet@parhelion.firedrake.org
NNTP-Posting-Date: Sat, 10 Dec 2011 02:06:22 +0000 (UTC)
User-Agent: slrn/0.9.9p1 (Darwin)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit