LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 11-30-2005, 02:03 PM   #1
Jacky Quah
LQ Newbie
 
Registered: May 2005
Posts: 28

Rep: Reputation: 15
Question configurate host and Network script ?


anyone know how to configure network script with non static IP address (DHCP) ?

and for /etc/resolv.conf

configurate without domain name ?

Last edited by Jacky Quah; 11-30-2005 at 02:11 PM.
 
Old 11-30-2005, 02:36 PM   #2
debianmike
Member
 
Registered: Sep 2005
Posts: 115

Rep: Reputation: 15
what? You don't want to receive dns info via DHCP?

look into peerdns=no in /etc/sysconfig/network-scripts/ifcfg-ethxxx
 
Old 11-30-2005, 03:17 PM   #3
Jacky Quah
LQ Newbie
 
Registered: May 2005
Posts: 28

Original Poster
Rep: Reputation: 15
this is the first time I used linux and the first time install linux(LFS). not familiar with domain name.


in windows I used Workgroup name. and I link to internet with automatically with DHCP, without configurate any IP address or domain name.
the IP address and DNS obtained automatically.

/etc/sysconfig/network-devices/ifconfig.eth0/ipv4
ONBOOT=yes
SERVICE=ipv4-static
IP=192.168.1.1
GATEWAY=192.168.1.2
PREFIX=24
BROADCAST=192.168.1.255
EOF

how am i supposed to fill the IP with and the broadcast?

and in /etc/resolv.conf filled DNS IP address ?

Last edited by Jacky Quah; 11-30-2005 at 03:44 PM.
 
Old 12-01-2005, 02:05 AM   #4
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
Quote:
Originally posted by Jacky Quah
this is the first time I used linux and the first time install linux(LFS). not familiar with domain name.


in windows I used Workgroup name. and I link to internet with automatically with DHCP, without configurate any IP address or domain name.
the IP address and DNS obtained automatically.

/etc/sysconfig/network-devices/ifconfig.eth0/ipv4
ONBOOT=yes
SERVICE=ipv4-static
IP=192.168.1.1
GATEWAY=192.168.1.2
PREFIX=24
BROADCAST=192.168.1.255
EOF

how am i supposed to fill the IP with and the broadcast?

and in /etc/resolv.conf filled DNS IP address ?
You install a DHCPCD client in BLFS then you can remove the eth0 script and only use the DHCP script.
I use this one http://www.linuxfromscratch.org/blfs...ct/dhcpcd.html
 
Old 12-01-2005, 02:58 AM   #5
Jacky Quah
LQ Newbie
 
Registered: May 2005
Posts: 28

Original Poster
Rep: Reputation: 15
thx
 
  


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
How can I move files from a host to another in a script eantoranz Linux - Networking 7 08-12-2005 03:39 PM
Configurate audio system please_die Mandriva 0 01-11-2005 06:27 AM
Configurate LVM deweirdt Linux - Software 3 02-05-2004 05:17 AM
tutorial to configurate a network eduac Linux - Networking 2 06-26-2003 07:57 AM
remote host connection script question??? gopi_20us Programming 4 03-01-2002 05:04 PM


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

Main Menu
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