LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-14-2009, 04:31 PM   #16
navy80
Member
 
Registered: Apr 2009
Location: Salvador, Brazil
Distribution: Ubuntu 9.10
Posts: 38

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by repo View Post
try to press CTRL_C
Yes! I didn't know this one as I'm a newbie. I'm back in Iceweasel now.

Apt-get update is working now!

How can I get rid of that problem on the boot-up?

My dhclient.conf is:

Quote:
# Configuration file for /sbin/dhclient, which is included in Debian's
# dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
# few changes must be made to this file, if any.
#

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

#send host-name "andare.fugue.com";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 192.168.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;

#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}

#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}
My interfaces:
Quote:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
#auto lo
#iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp

auto eth0
iface eth0 inet static
address 10.1.1.200
netmask 255.0.0.0
gateway 10.1.1.1
network 10.0.0.0
broadcast 10.255.255.255
resolv.conf
Quote:
nameserver 200.149.55.140

Last edited by navy80; 04-14-2009 at 04:38 PM.
 
Old 04-14-2009, 04:37 PM   #17
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
try

Code:
auto lo
iface lo inet loopback
address 10.1.1.200
netmask 255.0.0.0
gateway 10.1.1.1
network 10.0.0.0
broadcast 10.255.255.255

auto eth0
you disabeld the lo interface
Quote:
# The loopback network interface
#auto lo
#iface lo inet loopback

A good idea is always to backup the file before editing :-)

Last edited by repo; 04-14-2009 at 04:41 PM.
 
Old 04-14-2009, 05:02 PM   #18
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Yes, you NEED the entry for the loopback interface in there.. (lo)
do as repo suggested and uncomment those two lines in the interfaces file

Code:
# The loopback network interface
auto lo
iface lo inet loopback 


auto eth0
iface eth0 inet static
address 10.1.1.200
netmask 255.0.0.0
gateway 10.1.1.1
network 10.0.0.0
broadcast 10.255.255.255
I guess I wasn't specific enough and should have said to ONLY edit the eth0 portion.. you did say you were new
Sorry bout that..

At least the rest of your networking is functional now.
 
Old 04-15-2009, 06:21 AM   #19
navy80
Member
 
Registered: Apr 2009
Location: Salvador, Brazil
Distribution: Ubuntu 9.10
Posts: 38

Original Poster
Rep: Reputation: 15
Smile

ALL SWEET NOW!

Thanks again for helping me getting started with Debian. I'm sure there'll be plenty of other challenges in the future, but at least you helped me to cross the first major one - to get it started.
 
  


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
Debian etch network connection issue HCLPfan Linux - Software 25 05-12-2009 07:46 PM
Problem with network connection in debian cola Debian 2 04-09-2009 12:51 PM
Network: Debian and Realtek ethernet connection problem ferentix Linux - Newbie 2 10-05-2007 01:17 PM
No Network Connection With Debian al042077 Linux - Networking 2 06-26-2005 12:39 AM
Debian losing network connection thijser Debian 3 05-14-2005 05:03 PM


All times are GMT -5. The time now is 01:50 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration