LinuxQuestions.org
Visit Jeremy's Blog.
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 02-21-2004, 10:31 PM   #1
arunvv
LQ Newbie
 
Registered: Feb 2004
Posts: 9

Rep: Reputation: 0
Problem with networking


Hi Admin,

I had a problem with the networking in RH9 version.
The problem is whenever I start/reboot the system my eth0 doesn't take the ipaddress from dhcp server. And thus the smb services are also not starting.


I have to start these services manually and i need to make eth0 up every time when i login.

The commands i am giving are

lsmod
lspci
modprobe ne2k-pci
dhclient eth0

then after eth0 is up i am giving

service smb start
service nfs start(for nfs service)

The script file is not properly running I think during initiation. I don't know which script file makes these stuff so that I may require to make eth0 up and service smb start during initiation.

Hope an early answer from u.
Thank u,
Arun
 
Old 02-22-2004, 02:37 AM   #2
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
Have you tried setting your DHCP server name?
 
Old 02-22-2004, 08:13 AM   #3
arunvv
LQ Newbie
 
Registered: Feb 2004
Posts: 9

Original Poster
Rep: Reputation: 0
I don't know how to set DHCP server name as I used to get the ipaddress from DHCP server.

So how can i do that and i think there is a change in one of the script file which makes eth0 up.

I had a problem with SMB previously so i tried so much to configure out but could not get properly after that i had plugged out the ethernet card and again plugged in the ethernet card. Then the SMB problem has gone but from then not getting this eth0 up. And iam making it manually up and starting the services.

thank u for ur reply.
 
Old 02-22-2004, 01:11 PM   #4
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
K if you edit (as root) /etc/sysconfig/networking/profiles/default/ifcfg-eth0 and add the following:

DHCP_HOSTNAME=foo

That will set your hostname for the DHCP server... if you just wanna quickly do it you can also use "redhat-config-network" which will work just as well.
 
Old 02-23-2004, 06:03 AM   #5
arunvv
LQ Newbie
 
Registered: Feb 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Hi AMMullan,

Thank u for ur kind and fast reply.

Now I got the eth0 up and getting ipaddress from DHCP server automatically.

I had made it as U mentioned in ur reply. And it had changed the mentioed eth0 script file automatically.

Thanku u once again for ur answer and reply.
Arunkumar.
 
Old 02-23-2004, 06:06 AM   #6
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
Kewl, glad u got it sorted
 
  


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
Networking Problem here... z3r0tech Mandriva 2 08-20-2005 07:10 AM
networking problem zameer_india Linux - Networking 3 12-13-2004 06:52 AM
RH 9 networking problem zaichik Linux - Networking 6 07-04-2004 04:09 PM
Networking problem fineass Linux - Networking 2 05-11-2004 01:49 PM
HELP!!! Networking Problem suhanduman Slackware 6 12-29-2003 10:22 PM

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

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