LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-09-2003, 09:24 PM   #1
acidbreez
Member
 
Registered: Aug 2003
Posts: 56

Rep: Reputation: 15
Angry Debian Linux - Configuring Ethernet To Connect To The Internet


I'm trying to configure my Ethernet card so I can connect to the Internet but I don't know how. Can anybody tell me how to do it?
 
Old 08-09-2003, 09:27 PM   #2
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
Sure, if it just uses TCP/IP then:

dhcpcd -d eth0

as super user or root will work. Some dsl providers use PPPoe (point to point over ethernet). In that case you would need to download roaring penguin.

~Andrew
 
Old 08-09-2003, 09:29 PM   #3
acidbreez
Member
 
Registered: Aug 2003
Posts: 56

Original Poster
Rep: Reputation: 15
thx ill try it
 
Old 08-09-2003, 09:32 PM   #4
acidbreez
Member
 
Registered: Aug 2003
Posts: 56

Original Poster
Rep: Reputation: 15
it says:
dhcpcd: Command not found
 
Old 08-09-2003, 09:36 PM   #5
acidbreez
Member
 
Registered: Aug 2003
Posts: 56

Original Poster
Rep: Reputation: 15
now what do i do?
 
Old 08-09-2003, 09:56 PM   #6
acidbreez
Member
 
Registered: Aug 2003
Posts: 56

Original Poster
Rep: Reputation: 15
somebody help me
 
Old 08-09-2003, 09:57 PM   #7
acidbreez
Member
 
Registered: Aug 2003
Posts: 56

Original Poster
Rep: Reputation: 15
plz
 
Old 08-10-2003, 02:54 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 69
The file /etc/network/interfaces is where your settings for the card are contained example file below:

For Static settings
Code:
 # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

 # The loopback interface
 auto lo
 iface lo inet loopback

 # The first network card - this entry was created during the Debian installation
 # (network, broadcast and gateway are optional)
 auto eth0
 iface eth0 inet static
         address 192.168.0.1
         netmask 255.255.255.0
         network 192.168.0.0
         broadcast 192.168.0.255
         gateway 192.168.0.254
For DHCP
Code:
 # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

 # The loopback interface
 auto lo
 iface lo inet loopback

 # The first network card - this entry was created during the Debian installation
 # (network, broadcast and gateway are optional)
 auto eth0
 iface eth0 inet dhcp




Your nameservers settings would be in the file /etc/resolv.conf example file:


Code:
 search wolf
 nameserver 192.168.1.10
 nameserver 192.168.1.34
You only need the one nameserver line the search of your domain and the extra nameserver are not necessary.

The hostname for your computer is set in the file /etc/hostname and that is just one line with the hostname for your computer example:
Code:
 HappyTux

You would edit these files as root and put in your required settings once you have made the changes /etc/init.d/networking restart as root in a console window to re-start your networking with the new settings or start if the network is already down.
 
Old 09-20-2003, 08:15 AM   #9
oswaldo
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Exclamation Connect debian to internet a to NT network

Hi, I m new in LINUX OS and i need to connect my computer to internet gateway in my local network also i need to connect this computer to network in WINDOWS NT for share files and computer . how can i do this?

THANKS
OSWALDO
 
Old 09-20-2003, 08:37 AM   #10
Tesl
Member
 
Registered: Jun 2003
Location: Durham, UK
Distribution: Slackware 9, Mandrake 9.1
Posts: 163

Rep: Reputation: 30
for file sharing with computers on an NT Network you will have to look into something called Samba, which allows Linux to talk to a windows machine as if it was a windows machine itself.

acidbreez, type netconfig at the command line and follow the prompts
 
  


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
cannot connect internet at redhat 8 through ethernet mazlan Linux - Newbie 1 11-30-2005 05:41 AM
Help: Configuring Ethernet Internet Connection anonymous555 Linux - Networking 8 07-24-2004 03:43 PM
Can't connect to Internet using ethernet/adsl/pppoe on Mandrake Linux 9.2 susheeljohn Linux - Networking 2 02-25-2004 03:32 PM
Debian Linux - Configuring Ethernet To Connect To The Internet acidbreez Linux - Networking 4 08-11-2003 01:02 AM
How do I connect to the internet using an Ethernet Card? Rutnut Linux - Networking 5 03-17-2002 02:01 PM


All times are GMT -5. The time now is 02:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration