LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 01-17-2004, 10:30 AM   #1
zhangxd6
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Rep: Reputation: 0
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.
 
Old 02-08-2004, 12:45 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
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'
 
Old 02-08-2004, 01:42 PM   #3
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
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.
 
Old 02-08-2004, 01:52 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
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.
 
  


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
Install Fedora Core 4 Extras or Updates without Internet Connection. jkuzenka Linux - Newbie 7 07-15-2005 09:14 AM
How do i install a network card/drivers or set up internet connection sharing? Daz155HGT Linux - Newbie 1 04-20-2004 06:22 PM
Gentoo install looses connection to internet. johntramp Linux - Networking 5 04-14-2004 09:04 AM
How install modem & Internet connection cauge Mandriva 12 12-11-2003 09:43 PM
HowTo Install 56K V90 Modem and internet connection in Redhat 8.0? futurist Linux - Networking 3 03-17-2003 03:13 PM


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