LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-09-2014, 12:13 AM   #1
caryl
LQ Newbie
 
Registered: May 2014
Posts: 5

Rep: Reputation: Disabled
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.
 
Old 05-09-2014, 01:48 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,441

Rep: Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765
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?
 
Old 05-09-2014, 04:27 AM   #3
caryl
LQ Newbie
 
Registered: May 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
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?
 
Old 05-09-2014, 04:36 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,441

Rep: Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765
you need to check the hardware, do you have driver for that NIC?
 
Old 05-09-2014, 04:42 AM   #5
caryl
LQ Newbie
 
Registered: May 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing from apt-get fails often, apt-get update gives error, etc What should ido? mitchell7man Ubuntu 3 02-27-2012 03:55 AM
Apt-get update fails dasy2k1 Ubuntu 2 09-17-2009 07:20 PM
apt-get update fails after login wolfe2554 Debian 1 02-07-2005 02:40 PM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 02:27 AM
apt update fails s_diptiman Linux - Newbie 0 10-22-2003 05:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration