Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

FC4 Base installed -- no dhcp

Reply
 
Thread Tools Display Modes
  #1  
Old 08-13-2007, 07:09 PM
Default FC4 Base installed -- no dhcp



The base packages of FC4 have been installed and I need an internet
connection to download the core packages. On another partition I'm
running Debian Unstable and it connects with dhcp. After installing
the base packages with rinse ( Debian package ), I edited the Debian /
etc/fstab and /etc/hosts and copied them, edited the files in /etc/
yum.repos.d to reflect the newest addresses of mirrors and baseurls
( and disabled all repos except for core ones ), and created /etc/
sysconfig/network with:

NETWORKING=yes
HOSTNAME=
FORWARD_IP4=yes
GATEWAYDEV=
GATEWAY=

which is the only setup for dhcp which I've seen recommended on the
Web. I also had to create the console, zero and null devices in /dev
with a chroot and /sbin/MAKEDEV in order to run a custom kernel that
doesn't use initrd. At boot it configures and activates eth0 ( and
lo ) but then 'yum list available' reports "Cannot find a valid
baseurl for repo: core" each time it is run, ping returns an "unknown
host" message everytime, and 'ifconfig -a' doesn't show an inet
address for dhcp ( meaning it hasn't got one from the net ). There
doesn't seem to be a way to determine if the connection is up except
thru indirect means. If I do a 'ifdown eth0' followed by 'ifconfig
eth0 inet dhcp' it responds with "Dhcp: Host name look up failure." I
don't have a FQDN in /etc/hosts, but my Debian setup doesn't require
one. Does FC4 require one?



ernobe
Reply With Quote
  #2  
Old 08-13-2007, 07:13 PM
Davide Bianchi
Guest
 
Posts: n/a
Default Re: FC4 Base installed -- no dhcp

On 2007-08-13, ernobe <(E-Mail Removed)> wrote:
> The base packages of FC4 have been installed and I need an internet
> connection to download the core packages.
>
> which is the only setup for dhcp which I've seen recommended on the
> Web.


Yes, if you configure your network card for dhcp in
/etc/sysconfig/network-scripts/ifcfg-eth0 (or 1)

> doesn't use initrd. At boot it configures and activates eth0 ( and
> lo ) but then 'yum list available' reports "Cannot find a valid
> baseurl for repo: core"


Do you get a DNS ? What's in /etc/resolv.conf after the network card
is activated?

> doesn't seem to be a way to determine if the connection is up except
> thru indirect means.


ping is the tools for the job.

Davide

--
You're a brave man. Go and break through the lines. And remember,
while you're out there risking your life and limb through shot and
shell, we'll be in here thinking what a sucker you are.
-- Julius Henry "Groucho" Marx (http://en.wikiquote.org/wiki/Groucho_Marx)
Reply With Quote
  #3  
Old 08-13-2007, 08:45 PM
ernobe
Guest
 
Posts: n/a
Default Re: FC4 Base installed -- no dhcp

On Aug 13, 12:13 pm, Davide Bianchi <davideyeahs...@onlyforfun.net>
wrote:
> On 2007-08-13, ernobe <ern...@yahoo.com> wrote:
>
> > The base packages of FC4 have been installed and I need an internet
> > connection to download the core packages.

>
> > which is the only setup for dhcp which I've seen recommended on the
> > Web.

>
> Yes, if you configure your network card for dhcp in
> /etc/sysconfig/network-scripts/ifcfg-eth0 (or 1)


Yes I did. The contents is:

DEVICE=eth0
USERCTL=no
ONBOOT=yes
BOOTPROTO=dhcp
BROADCAST=
NETWORK=
NETMASK=
IPADDR=

>
> > doesn't use initrd. At boot it configures and activates eth0 ( and
> > lo ) but then 'yum list available' reports "Cannot find a valid
> > baseurl for repo: core"

>
> Do you get a DNS ?


Do I get a "Domain Name Service"? I don't have a Fully Qualified
Domain Name ( FQDN ), I'm just trying to connect to my ISP ( Internet
Service Provider ).

> What's in /etc/resolv.conf after the network card
> is activated?


I just looked at the file ( on the mounted partition ) and it hasn't
been modified since it was created, which was when FC4 was installed.
It has 'search' followed by my ISP FQDN, and two other lines which
begin with 'nameserver' followed by my ISP addresses.


Reply With Quote
Reply

Tags
base, dhcp, fc4, installed

Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:16 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.