LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-23-2001, 04:53 AM   #1
csylesh
LQ Newbie
 
Registered: Feb 2001
Location: India
Posts: 1

Rep: Reputation: 0

I was using RH6.2 for connecting to the internet using a dialup modem. All the other machines in the network were running on Windows and all were assigned static IPs. Now, we have got a cable connection for internet, and we put a Win2000 machine for recieving the net connection. So that machine now acts as a DHCP server and all the other machines obtain IP addresses dynamically from it. But when I tried to make the linux machine to obtain an IP from that DHCP server, it is not working. The interface eth0 is not getting up when set for DHCP. When I configured etho's IP to obtain from DCHP, and then tried ifup etho, it says, gettin IP information for etho, after a few minutes it say failed. Also I cannot even ping the Win2k Server with its IP, if this can be a clue. Can somebody tell me what all changes are to be made exactly to make the Linux machine also part of the same network. My basic requirement for using this Linux is for mailing purpose, to POP mails and send it to corresponding user in the network, ie; sendmail and fetchmail. Any help will be highly appreciated. Thanks in advance.

[Edited by csylesh on 05-23-2001 at 07:02 AM]
 
Old 05-23-2001, 07:42 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
if ure sure the eth0 (module) functions ok,
ull can check ure Linux box' network & dhcp configs
for the address of the dhcp server,
the default gateway and dns addresses.

network should be in /etc/sysconfig/network:
NETWORKING=yes
FORWARD_IPV4=no
HOSTNAME=(name)
GATEWAYDEV=(device)
GATEWAY=(IP)

dns'es in /etc/resolv.conf and /etc/dhcpc/resolv.conf:
domain (root domainname)
nameserver (IP)
nameserver (IP)

dhcp in /etc/dhcpc/dhcpcd-(device).info:
IPADDR=(IP)
NETMASK=(IP MASK)
NETWORK=(NETWORK)
BROADCAST=(BCAST IP)
GATEWAY=(IP)
HOSTNAME=(empty)
DOMAIN=(root domainname)
DNS=(IP)
DHCPSIADDR=(IP)

run dhcpcd with the "-d" param to see debug output, if above wont work then post some debug output here.
 
  


Reply



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
Triple Boot - Win2K, Suse Linux & my own linux pavkb Linux - General 2 09-29-2003 08:57 AM
win2k sees linux files... linux won't see win2k files.. please help.. what will i do? kublador Linux - Networking 1 03-24-2003 07:31 AM
email: win2k to linux in linux hostile environment jkcunningham Linux - Networking 4 01-31-2003 12:07 PM
Win2k/mandrake -> win2k [remove linux] wct Linux - General 7 11-23-2002 11:48 PM
Win2K and Linux tcombes Linux - Software 1 01-08-2002 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:52 PM.

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
Open Source Consulting | Domain Registration