1830868 Members
1887 Online
110017 Solutions
New Discussion

RH & Win2k Network Prob

 
Robert Washick
New Member

RH & Win2k Network Prob

I am brand new to Red Hat and am having some difficulty connecting to my Win2K system.
I have RH 8 and installed as server installing all packages. I also updated and installed all other packages.
Issue: my eth0 comes up as [failed] on startup unless I assign IP address and DNS even though I installed Samba and {think} it is setup properly. I prefer not assigning IP as opposed to letting Samba just link to Win2k. I am a newbie and need help!
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: RH & Win2k Network Prob

In order to get an addressed assigned by dhcp, you have to contigure networking to actually do that.

Pleae point the post if this is useful to you.

As root user

cd /etc/sysconfig/network/sripts

vi(vi is a command line editor, you change things with it) a file called


ifcfg-eth0

From my red hat manual, to tell the configuration to get ip address from a dhcp server, add the following line...

By default, a Red Hat client will not accept all information passed to it from the DHCP server. The way the REd Hat Linux client handles DHCP server input is based on settings in the /etc/sysconfig/networkscripts/ifup script. If the cient has DHCP turned on, when the system starts.

In the file /etc/sysconfig/network you can have a line called DHCPCARGS

If you have DHCPCARGS="-d" causes the ifup script to run in diagnostics to teh /var/log/messages file

-B requestes a broadcast from a BHCP server

-D forces that server to set the domain name of the Linux box.

-H forces taht server to set the hostname of the linux box.

Here is mine...

DEVICE='eth0'
BOOTPROTO='none'
IPADDR='66.92.143.194'
NETMASK='255.255.255.224'
ONBOOT='yes'
GATEWAY='66.92.143.193'
TYPE='Ethernet'
USERCTL='no'
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
NETWORK='66.92.143.192'
BROADCAST='66.92.143.223'
HWADDR='00:c0:9f:08:2a:8c'
DHCP_HOSTNAME='investmenttool.com'


You might have a network compatability issue so here are some extra diags.

Let me run you through some diagnotics.

On the w2k box

get a command prompt and type
ipfconfig

hit enter.

Let me know what it says.

on the Red Hat box, as root user, open up a session and type
ifconfig

hit enter.

Let me know what you see there.


from w2k ping (ip addy of red hat box)

from redhat ping (ip addy of w2k box)

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Huc_1
Honored Contributor

Re: RH & Win2k Network Prob

If I undrestand you well what you want is for your linux server to be a dhcp client
In order to do this you have to have a dhcp server and your linux setup as a client
Your linux server can be set as both at the same time (dhcp server and client)
or your dhcp linux client could point to a dhcp server on the lan (be it an ISP hookup using modem or whatever).

in any case I find that using the command

#setup

is the easy way to go about it ... from there you can set up network
in a user friendly enviroment

to stop and start your network once this done use

/etc/init.d/network stop
/etc/init.d/network start

you can also set it up the dhcp client by hand (editing and invoking scripts)
i any case I found it worth the time to read
man dhcpcd and the many howto.

Probably that when you have solve your eth0 dhcp/client problem the samba/w2k hookup will be solved.

hope this help

Jean-Pierre Huc
Smile I will feel the difference
Joe Knudsen
Esteemed Contributor

Re: RH & Win2k Network Prob

You are going to need some sort of IP network to connect your RH 8 to your Win2K system. Either assigning an IP, etc. or using DHCP to assign one. Samba runs over IP so to connect RH 8 to Win2K you will need IP.
Trust Jesus