roty80 Posted December 29, 2010 Posted December 29, 2010 Hi I am a bit of a newbie when it comes to linux. I installed the latest version of Ubuntu Netbook Edition on a Samsung n150 and everything seemed to be working perfectly, except it cannot connect to the internet. I thought at first it might be drivers but I get an IP address via DHCP and can log on to my router via a webpage. So the problem seems to be getting past the router. I have tried all the proxy settings I can find in Firefox and changed the DNS and a few other settings on the network card. I also briefly turned off the firewall on my router to see if it was blocking it. Still no joy, using Firefox it says it cannot connect to webpage. Updates say they cannot connect either. I have tried to update the firmware on my router but it seems Thomson have gone bust/been sold as the check for updates button goes no where and their website is no longer up. Also my router worked with Xandros linux on my gf's eeePC. Any help would be greatly appreciated, it may be something obvious I am missing.
kmount Posted December 29, 2010 Posted December 29, 2010 Can you show us the output of ifconfig netstat -rn cat /etc/resolv.conf (all from a terminal) Can you also from your browser try visiting BBC - Homepage (should take you to the bbc news page) so we can see if its dns related. 1
Jamo Posted December 29, 2010 Posted December 29, 2010 Check the default gateway settings, sounds like it hasn't configured through DHCP properly. You should be able to click on the wireless icon in the bar at the top and goto network config. Manually set an IP and mask with the correct default gateway and see if the problem disappears. 1
roty80 Posted December 30, 2010 Author Posted December 30, 2010 Can you show us the output of ifconfig netstat -rn cat /etc/resolv.conf (all from a terminal) Can you also from your browser try visiting BBC - Homepage (should take you to the bbc news page) so we can see if its dns related. Thanks for looking into this. ifconfig: eth0 Link encap:Ethernet HWaddr 00:24:54:a8:b8:ae inet addr:192.168.1.66 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::224:54ff:fea8:b8ae/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4090 errors:0 dropped:0 overruns:0 frame:0 TX packets:2661 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5765608 (5.7 MB) TX bytes:216454 (216.4 KB) Interrupt:18 netstat -rn 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 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0 cat /etc/resolv.conf # Generated by NetworkManager domain lan search lan nameserver 192.168.1.254
roty80 Posted December 30, 2010 Author Posted December 30, 2010 Check the default gateway settings, sounds like it hasn't configured through DHCP properly. You should be able to click on the wireless icon in the bar at the top and goto network config. Manually set an IP and mask with the correct default gateway and see if the problem disappears. Thanks James. I manually set the gateway as the router IP green interface. Is that right? Could it be a problem with the ISP as I see they are currently doing work at the exchange, but would it just affect Ubuntu?
roty80 Posted December 30, 2010 Author Posted December 30, 2010 Okay, this is weird. It is now working... with exactly the same settings as I have been trying for the last week (you probably won't believe me LOL). I wish I knew why. Thanks Kim and James.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now