Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-09-2014, 12:13 AM
|
#1
|
LQ Newbie
Registered: May 2014
Posts: 5
Rep:
|
apt-get update fails
The question I am asking is about debian and does not repect the goal of the forum. But I think it would be the same issue for linux.
I am a beginner at debian.
I hvae just installed debian 7.5.0 amd netinst.
When I execute apt-get update I get errors like Could not resolve 'http.debian.org'
Thus,I changed the mirrors several times in /etc/apt/sources.list but without any result.
I deduced that it is because of the absence of internet connection.
So,I executed ifconfig and ifconfig-a, the output indicates only the loopback no eth0 interface.
However the ethernet card and WLAN card are pretty detected , I checked it through lspci and both cards appear.
I edit / etc / network / interfaces by adding dhcp but it was in vain.
Please, could anybody help me as soon as possible.
|
|
|
05-09-2014, 01:48 AM
|
#2
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,441
|
it looks like two different problems: 1 your sources.list is corrupted. please post it to check if it is ok. 2: network unavailable. It is really hard to solve without additional information, like what kind of hardware do you have, which GUI have you installed?
|
|
|
05-09-2014, 04:27 AM
|
#3
|
LQ Newbie
Registered: May 2014
Posts: 5
Original Poster
Rep:
|
Quote:
Originally Posted by pan64
it looks like two different problems: 1 your sources.list is corrupted. please post it to check if it is ok. 2: network unavailable. It is really hard to solve without additional information, like what kind of hardware do you have, which GUI have you installed?
|
Let's focus on the second problem. I have not installed a GUI. I have installed the standard utilities only. Because at the beginning the system was not able to detect a network hardware. How to solve this?
|
|
|
05-09-2014, 04:36 AM
|
#4
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,441
|
you need to check the hardware, do you have driver for that NIC?
|
|
|
05-09-2014, 04:42 AM
|
#5
|
LQ Newbie
Registered: May 2014
Posts: 5
Original Poster
Rep:
|
Quote:
Originally Posted by pan64
you need to check the hardware, do you have driver for that NIC?
|
Actually I have checked the hardware through the command lspci and both ethernet card and wireless card are present:
08: Network Controller : Broadcom Corporation ...
09 Ethernet Controller : Atheros Communications ...
I have just noticed that while starting debian the following message : cannot find eth0
Does this help?
Last edited by caryl; 05-09-2014 at 04:57 AM.
|
|
|
All times are GMT -5. The time now is 10:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|