Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
I think maybe my laptop is faulty. Some sites load sometimes, then again they won't load, and the isp send me to a default page. This behaviour also changes according to OS. I have not had this trouble with Windows, but I don't use Windows much. Mostly Fedora or Ubuntu.
Question: When I enter a web address in a web browser, what actually sends a request to the server containing the web page?
Is it the web browser, the ethernet card or what does the sending? What actually gets sent from my computer? I have been experiencing slow internet lately, I wonder if the request sent from my computer is maybe 'scrambled' or deficient, which is why I am not getting a response, or whatever interprets the incoming response is (sometimes) faulty. Most web pages load ok, but for example, this morning, I could not load linuxquestions.org in Ubuntu. Now in Fed 20 KDE and Konqueror, it loads fine.
dns is 192.168.1.1 That is what it says in Settings>Netowrking>Wired Connection in Fed 20.
I opened 192.168.1.1 but I can't see another dns. There are 2 users and passwords for my router. I don't have the password for user telecomadmin. I will speak to the technician. The dns used to begin with 58.?? but I can't see it in the router.
Last night I could not access any pages under Linux, not in Ubuntu, not in Fedora. I switched off and thought about buying a new laptop. Then I started Windows. All the pages I could not access using Linux were accessible. Maybe the isp was doing something, but my girlfriend was watching a film via internet at the time using Windows. She had no internet problems.
Today I can access them under Fedora 20, haven't tried Ubu yet. Maybe I need a new laptop because the hardware is faulty. Wouldn't that also be faulty under Windows???
Is it possible to install a new ethernet connection on a laptop?? I presume that is a card on a normal pc. Maybe there is an external ethernet card I could use to test my laptop connection??
Well, we are still waiting for your results in the other thread. So change your dns as JohnVV recommends, do the test we are waiting for, no use starting a new thread.
In the other thread you said your wireless is ok.
Mods, please merge with thread posted in ops question.
I can't change my dns. I do not know how. Maybe if I could access the router as telecomadmin.
I suspect a hardware problem. But if so, it is a crazy hardware problem which only affects Linux. That would indicate a driver problem I think. I do not know what happens when I call a web page, but I presume everything goes in and out over the ethernet card, chip, whatever it is. If I can buy an external ethernet card for my laptop, I can rule out that problem.
You still have the recurring carrier error. Have you actually tried switching cables to test the cable works properly. 99% of time that can be the issue. Have you tried to use a live linux distro to test the ethernet conection as was requested? Please do not waste our time by posting the same information more than once in a thread. It does not help us determine what is wrong. Do what we ask or state a valid reason why you believe it is not the right choice, or a reason that may make you believe something else is involved.
Secondly, don't mix and match your results from two different operating systems, diagnose and fix on one, when that is done, the other. Both your ubuntu and fedora stats give you the carrier error. So pick fedora or ubuntu, and stick to only one. Both will have different ways in the gui to change things including dns, so please don't confuse us or yourself thinking that all instructions are universal to all operating systems.
Seeing the error that ethtool gives you, why not just log in as the super user and then run it?
Code:
sudo
generally does the trick.
so you want to run
Code:
sudo ethtool -t em1 online
I now consider that you have been given all the tools needed, you do have a lot of posts, that generally would suggest being moderately experienced with these matters.
For further help on any of the two operating systems including on how to change dns, please refer to:
In regards to network troubleshooting, there is a very nice guide I posted a link for in your other thread, that will also show you how to use things like ethtool and the likes to diagnose network problems.
I believe those manuals will have all the basic administration tasks covered in a relevant chapter. The manuals are actually very informative, please do take the time to consult them.
Kind regards and good luck
Last edited by ericson007; 05-19-2014 at 06:32 AM.
I see no errors in the output of ifconfig -a above. Where is the error? rx and tx (whatever that is) all 0
If you look, you will see that I tried as normal and as superuser. ethtool does not work. "Cannot test. Operation not supported"
What I can say is: tonight I have tried Fedora and Ubuntu. Both are working normally using the same cable. I did try other cables. When things go wrong, I first restart the router. That often does the trick. I think because it gets me a new ip.
I don't understand what a Live Distro will do that I can't do by starting Fed or Ubuntu or Windows, except maybe be much slower. I can understand that one version might be corrupted. But yesterday evening neither Linus would load any pages. Windows did, with the same cable, no prob. I think Linux left some setting open wrong. Windows reset that. Just a guess. I just assumed there was a hardware error. If this was tower pc, I would have replaced the ethernet card.
Please look for that line on almost all your ifconfig posts.that generally means something is causing your connection to flap
True you tried sudoabove but that looks more like fedora output to me in which case sudo has to be configured to allow for sudo operation for a set of commands by a regular user. According to my understanding running su is better because fedora does not aim to be a windows replacement like ubuntu. You can identify in fedora that you run super when the $ before the command changes to a #
Last edited by ericson007; 05-19-2014 at 08:18 AM.
...Today I can access them under Fedora 20, haven't tried Ubu yet. Maybe I need a new laptop because the hardware is faulty. Wouldn't that also be faulty under Windows???...
whats the equivalent of /etc/resolv.conf in windows. what i would be curious to compare would be the output of cat /etc/resolv.conf for both fedora and ubuntu and the dns settings for windows.
...What I can say is: tonight I have tried Fedora and Ubuntu. Both are working normally using the same cable. I did try other cables. When things go wrong, I first restart the router. That often does the trick. I think because it gets me a new ip...
maybe your windows is set to static ip and the two linuxes are set to dynamic. then maybe your router is mistakenly giving them ip's that are already in use and so if someone else on your network (with the same ip) goes to website a then it mistakenly gets routed to you (and vice-versa).
MS-Windows Version 8/7/Vista/XP/NT/2003
Click on Start button > Run > and Type command cmd > Press [enter] key
At DOS prompt type the command:
C:\>ipconfig /all
You should DNS server IP address, and other information related to Windows networking:
OR
You can Click on Start button > Settings > Network connections
Double click on Local Area Connection
Click on Properties button
Select Internet Protocol (TCP/IP)
Click on Properties button and Look for Preferred DNS Server:
The above is for what schneidz asked.
Last edited by ericson007; 05-19-2014 at 08:56 AM.
So you are saying, carrier should be 0?? If it is not, what error would you suspect? Cable? Ethernet?? Some driver?? I don't switch wireless on in Ubu, that often causes a kernel panic, crash. That started a few kernels ago.Hasn't gone away yet.
I don't think you can su in Ubu. Maybe in Fedora.
This is Ubu. I will post Fed tomorrow, it's late, I need sleep.
pedro@pedro-bedro:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search Home
pedro@pedro-bedro:~$
Carrier should be 0. If not it is called flapping.
That is the signal your connection depends on. It could be as i stated the cable, driver, controller pin or could be you playing with the cable.
I hope after so many replies you realizr like you were told before
127.0.0.1 means localhost and you cannot have that as a dns server. The internet hostnames will not work...
Seriously mate go look up the bloody manuals posted before, check your windows dns and change the fedora dns to be the same or use what johnvv suggested.
Failing that get a computer tech if that is not possible, unplug the computer.
Last edited by ericson007; 05-19-2014 at 07:24 PM.
Using a different cable and Fedora 20, I still have carrier 1 That's good, it narrows the problem down.
"127.0.0.1 means localhost and you cannot have that as a dns server. The internet hostnames will not work..." With all due respect, I used my internet to post my comments last night. In Ubuntu, which has that resolv.conf So it works!
This Fed 20 resolv.conf
[pedro@pedro-bedro ~]$ cat /etc/resolv.conf
# Generated by NetworkManager
domain Home
search Home
nameserver 192.168.1.1
[pedro@pedro-bedro ~]$
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.