LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 03: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 03:38 PM.
 
Old 04-14-2009, 03:37 PM   #17
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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 03:41 PM.
 
Old 04-14-2009, 04:02 PM   #18
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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, 05: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:00 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
Open Source Consulting | Domain Registration