Debian This forum is for the discussion of Debian Linux.
|
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-17-2004, 09:30 AM
|
#1
|
|
LQ Newbie
Registered: Sep 2003
Posts: 8
Rep:
|
internet connection during install
I am trying to install debian in my destop instead of redhat which is not supported updating anymore.During the process ,I got the trouble to configure the netcard.I followed the instructions to use the DHCP/BOOTP to connect but it said that is failed. then I enter the ip and gateway etc. which are asked to do manuel configure.It did not work.It seems to me that during the intallation I was asked to enter the hostname for my machine ,but in my memory ,if I changed the hostname ,the net does not work under my redhat.it must use the name DHCP assigned .Sorry for long description.Here is my question:
How can forward without enter the hosname during install(I do want to connect to internet to get the package I want)?
if it is not possible during install,How can configure the network under base system?(I used to use the GUI congiure tools under redhat).
I am sure the connection is good for it worked very well under redhat.
|
|
|
|
02-08-2004, 11:45 AM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357
Rep:
|
The network connection do works whatever your hostname is. The hostname you set for your machine has primarily meaning inside the box. The name the computer is known from the outside doesn't necessarily have anything to do with it (well, it is nice if it does, but it doesn't have to).
There is something else that is the problem.
Configuring the network in debian after base installation, quick howto: - Figure out how your network works. (Using dhcp? If not, what are the settings (namely ip, netmask, broadcast, gateway and nameserver)
- Figure out how your network interface card works. Does you have to load a kernel module to get it working. If so, load one.
- Edit /etc/network/interfaces. There should be something like
Code:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
auto lo
iface lo inet loopback
auto eth0
#Static config
iface eth0 inet static
address 192.168.1.11
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.2
#or if using dhcp:
#iface eth0 inet dhcp
- run '/etc/init.d/networking stop' and '/etc/init.d/networking start'
|
|
|
|
02-08-2004, 12:42 PM
|
#3
|
|
Member
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284
Rep:
|
ummm, isn't bootp used to boot from the network?
is that what you REALLY want to do?
From webopedia.com:
BOOTP
Short for Bootstrap Protocol, an Internet protocol that enables a diskless workstation to discover its own IP address, the IP address of a BOOTP server on the network, and a file to be loaded into memory to boot the machine. This enables the workstation to boot without requiring a hard or floppy disk drive. The protocol is defined by RFC 951.
|
|
|
|
02-08-2004, 12:52 PM
|
#4
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
And do not forget the nameservers in the /etc/resolv.conf what the format of the file can look like:
Code:
search wolf
nameserver 192.168.1.10
nameserver 192.168.1.34
You only need the one nameserver line in there the search of your domain is optional as is the second nameserver line.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:32 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
|
|