The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ifconfig and ipconfig tsmotix UNIX for Dummies Questions & Answers 2 03-03-2008 11:35 AM
ifconfig!!!! moco Shell Programming and Scripting 3 04-12-2007 08:22 AM
ifconfig Jariya OS X (Apple) 0 08-12-2005 06:10 AM
ifconfig bad address ppass SUN Solaris 2 03-11-2005 07:59 AM
ifconfig breigner UNIX for Dummies Questions & Answers 7 04-16-2004 05:14 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-15-2005
amit_sapre amit_sapre is offline
Registered User
  
 

Join Date: Jun 2005
Location: Bangalore , INDIA
Posts: 28
ifconfig problem

Hi all,

I am getting some error messages during bootup

ifconfig :<hostname> bad address

and some more messages related to it.

I some how checked the /etc/hostanem.hme0 /etc/hosts file.

Entries in these files were proper.

If I am running the following command from root:

#ifconfig hme0 <IP Address >

#ifconfig hme0 plumb

#ifconfig hme0 up

I am able to telnet to other machine.

So I feel that thier is no problem with hardware.

Can any one suggest, what could be the problem...

Thanks in advance...

Last edited by amit_sapre; 07-17-2005 at 03:16 AM..
  #2 (permalink)  
Old 07-15-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Insure that the information in /etc/hostname.hme0 is correct - if you put a hostname in that file, insure it is spelled the same as the entry in /etc/hosts.
(this means that if you put mysystem in /etc/hostsname.hme0 but have mysystem.mydomain.com - that isn't the same)
/etc/hostname.hme0 can have either IP or hostname. Check the IP to insure accuracy. Check entry in /etc/hosts - insure there is no tab or space at the end of the entry (it vi you can :l to see the line and insure the $ endofline is there where it should be)

Check to insure that your network is available - maybe something else is hanging so the ifconfig can't plumb the interface but then it works later when you do it manually.
  #3 (permalink)  
Old 07-18-2005
amit_sapre amit_sapre is offline
Registered User
  
 

Join Date: Jun 2005
Location: Bangalore , INDIA
Posts: 28
Hi,

As mentioned in your reply, I double checked the /etc/hostname.hme0 and /etc/hosts entries. Also I checked these files for any tab space.

I could find any problem with these files.

BTW , I more thing..

This problem started after I ran fsck on the Sun machine for file system consistency. I did that, as the machine went off suddenly due to power cut.

I don't know, whether this information will help for not.

Any suggestion...??
  #4 (permalink)  
Old 07-18-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Check your startup files in /etc/rc2.d and rc3.d - check for permissions (files should be executable (rwx or r-x) for owner - check owner is root. List them long (ls -l) and then check that all links are actually there (usually linked to /etc/init.d directory).
  #5 (permalink)  
Old 02-19-2009
kaushik209 kaushik209 is offline
Registered User
  
 

Join Date: Jun 2008
Location: Kolkata, India
Posts: 1
Post FSCK malfunctioning

I don't think that the power-cut will affect the FSCK, as the FSCK is to check the file system not to modify it, so I think it will remain untroubled.

Last edited by kaushik209; 02-19-2009 at 06:54 AM.. Reason: Wrong post
  #6 (permalink)  
Old 02-19-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,728
You do realize this thread is almost 4 years old?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0