Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just installed ubuntu 10.04 and my internet wont worrk properly I can go on sites like google but almost any other non majour website i cannot visit please help
I just installed ubuntu 10.04 and my internet wont worrk properly I can go on sites like google but almost any other non majour website i cannot visit please help
It is qired internet using ethernet I can connect to gmail and even send emails using it, abnother computer at home using the same internet connection works perfectly and i will tell u what if config says as soo aas i re-start
A bit of friendly advice: to get the best help please describe the problem completely and include all relevant configuration details (how your network is set up, exactly what sites you can't get to, etc.). Also please type in complete sentences with proper capiralization, spelling, etc. It will make it easier for people to read your posts and give you the help you need!
Given that you can connect to some sites and not others, I'm guessing it's a DNS problem though that's a bit of a shot in the dark given the limited information. Can you please post your /etc/resolv.conf? Can you check (using dig) to see if name lookups are working properly? By this I mean type in the terminal:
where www.example.com is some site you wish to get to but can't. Is dig able to resolve the name (post the output of the command here if you're not certain how to interpret it)?
edit: to do ifconfig open your terminal and type:
/sbin/ifconfig -a
Last edited by btmiller; 07-10-2010 at 06:38 PM.
Reason: details on ifconfig
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:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:720 (720.0 B) TX bytes:720 (720.0 B)
It ios also notable that I have tried chagning my dns to open dns, that didnt work, I have alo tried creating a blacklist-ipv6.conf in the relevant directory and that didnt work either, and I have also tried changing the same balkclist ipv6 setting within firefox and that didntwork either
Also another computer connected to the same internet works just fine and apart from linux ubuntu i have tried some live cd's such as kubuntu and open suse and they had the same problem.
Just to remind you I am able to visit websites such as google and gmail and they are not cashed as i can perfrom search quiers and read emails, btw the ubutnu software center doesnt work eitehr coming up with the following error:
Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 116, in _process_transaction
self.update_cache()
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 426, in update_cache
self._cache.update(progress, raiseOnError=True)
File "/usr/lib/python2.6/dist-packages/apt/deprecation.py", line 103, in deprecated_function
return func(*args, **kwds)
File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 309, in update
raise LockFailedException("Failed to lock %s" % lockfile)
LockFailedException: Failed to lock /var/lib/apt/lists/lock
BTW: I should rever all thoses changes I made to the system shouldn't i?
One more thing I have a windows 7 install on teh exact same pc and it works gr8 i hope thats more info
If you are on a LAN and I am assumming your using a DHCP server. But just incase you are configuring all ip addresses make sure you don't have a duplicate ip address on your network
Judging from the OP's ifconfig output, it seems he already has an IP address (via DHCP or otherwise) and is able to resolve the hostname www.lifehacker.com.
If you put the IP for lifehacker.com (69.60.7.199) according to youre post) in your browser does it display the lifehacker.com page? If not something is blocking the traffic. Do you have a firewall on the machine? Is there a firewall on your local network. Since the PC is dual boot and the Windows half is working fine maybe there's a firewall running in Linux that's blocking the traffic. Can you try to do a traceroute to that IP address (use the traceroute command in Linux and tracert in Windows) to see if you can see where the traffic is being blocked?
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:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:720 (720.0 B) TX bytes:720 (720.0 B)
if config eth0 down/up dont seem to be doing anything:
root@luka-desktop:/home/luka# ifconfig eth0 down
root@luka-desktop:/home/luka# ifconfig eth0 up
dhclient does the following:
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:1d:60:39:be:7e
Sending on LPF/eth0/00:1d:60:39:be:7e
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPOFFER of 192.168.1.69 from 192.168.1.254
DHCPREQUEST of 192.168.1.69 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.69 from 192.168.1.254
bound to 192.168.1.69 -- renewal in 34467 seconds.
AQnd no putting 69.60.7.199 instead of the lifehacker.com page doesnt display it either
When i tray and traceroute the ip adress this is what coems up:
The program 'traceroute' can be found in the following packages:
* traceroute
* traceroute-nanog
Try: apt-get install <selected package>
On other posts for people with a similar problem it has been suggested that it is an MTU issue:When I try ping -s 32 www.google.com this is what happens:
root@luka-desktop:/home/luka# ping-s 32 www.google.com
No command 'ping-s' found, did you mean:
Command 'pingus' from package 'pingus' (universe)
ping-s: command not found
BTW thanks all for helping me out like this and I know I am a bit of a noob I just wish I could help more
It's odd that you're getting frame errors on eth0 (although there's not many of them). You can set your MTU down. Try "ifconfig eth0 mtu 1500" to make sure it's set to 1500 (the standard MTU on most networks. If that doesn't work try setting it lower, like to 1000.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.