sys-unconfig

  • Follow


This is a multi-part message in MIME format.

------=_NextPart_000_005C_01C38446.94694550
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Will sys-unconfig also affect any software that I've installed and =
configured? I'm having a lot of problems with my two adapters in my =
Netra 120 and I wanted to the sys-unconfig to redo those. For some =
reason eri0 and eri1 show as pointopoint links back to the loopback =
address. I have no idea why, I never set them up that way. But I have =
some software that took some time installing and configuring and I'd =
hate to do it again...any thoughts?

Steve
------=_NextPart_000_005C_01C38446.94694550
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Will sys-unconfig also affect any =
software that=20
I've installed and configured? I'm having a lot of problems with my two =
adapters=20
in my Netra 120 and I wanted to the sys-unconfig to redo those. For some =
reason=20
eri0 and eri1 show as pointopoint links back to the loopback address. I =
have no=20
idea why, I never set them up that way. But I have some software that =
took some=20
time installing and configuring and I'd hate to do it again...any=20
thoughts?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Steve</FONT></DIV></BODY></HTML>

------=_NextPart_000_005C_01C38446.94694550--

0
Reply skang2 (2) 9/26/2003 10:55:16 PM

Approximately 9/26/03 15:55, Steve W Kang uttered for posterity:

> Will sys-unconfig also affect any software that I've installed and
> configured? I'm having a lot of problems with my two adapters in my
> Netra 120 and I wanted to the sys-unconfig to redo those. For some
> reason eri0 and eri1 show as pointopoint links back to the loopback
> address. I have no idea why, I never set them up that way. But I have
> some software that took some time installing and configuring and I'd
> hate to do it again...any thoughts?
>  
> Steve

  It will reset the hostname, nodename, /etc/net/*host files,
  the nsswitch.conf, and remove the root password and unconfigure
  naming services.  If that busts something, yup, it will bust
  your software.

  At the bottom of the man page is the full list of files it
  affects, and in the middle is pointers to the commands that
  run the next time you boot.

  You can't just ifconfig eri0 unplumb, etc. ?

  And in your /etc/hostname.eri0 and 1 file, do you have
  a resolvable hostname or an IP address?


0
Reply Lon 9/26/2003 11:15:09 PM


I tried ifconfig unplumb but it always seems to reset to a pointopoint link.
In hostname.eri0 and eri1, I have IP address <tab> hostname, is that not
right? Do the hostnames have to be different per interface?

"Lon Stowell" <Lawn.Stowell@Komkast.net> wrote in message
news:1M3db.436628$cF.139623@rwcrnsc53...
> Approximately 9/26/03 15:55, Steve W Kang uttered for posterity:
>
> > Will sys-unconfig also affect any software that I've installed and
> > configured? I'm having a lot of problems with my two adapters in my
> > Netra 120 and I wanted to the sys-unconfig to redo those. For some
> > reason eri0 and eri1 show as pointopoint links back to the loopback
> > address. I have no idea why, I never set them up that way. But I have
> > some software that took some time installing and configuring and I'd
> > hate to do it again...any thoughts?
> >
> > Steve
>
>   It will reset the hostname, nodename, /etc/net/*host files,
>   the nsswitch.conf, and remove the root password and unconfigure
>   naming services.  If that busts something, yup, it will bust
>   your software.
>
>   At the bottom of the man page is the full list of files it
>   affects, and in the middle is pointers to the commands that
>   run the next time you boot.
>
>   You can't just ifconfig eri0 unplumb, etc. ?
>
>   And in your /etc/hostname.eri0 and 1 file, do you have
>   a resolvable hostname or an IP address?
>
>


0
Reply Steve 9/26/2003 11:36:58 PM

Approximately 9/26/03 16:36, Steve W Kang uttered for posterity:

> I tried ifconfig unplumb but it always seems to reset to a pointopoint link.
> In hostname.eri0 and eri1, I have IP address <tab> hostname, is that not
> right? Do the hostnames have to be different per interface?

  You will have two physical interfaces
  with the same IP address and confuse the heck out of any ethernet
  switch.

  And both need to be resolvable.

  The format of hostname.eri0 is not IP address and hostname.   Nor
  can it be the same as any other hostname.eri*.

  For ease of admin, the hostname goes in the hostname.[ifname]
  file, then put the IP address and hostname in /etc/hosts
  if /etc/nsswitch is set to files and then nis, nis+, dns, or ldap.


0
Reply Lon 9/26/2003 11:46:27 PM

Thanks! I deleted the IP address info from hostname.eri0 and hostname.eri1
and just added my hostname and my hostname1 to differentiate. When the
interfaces came up, they went to broadcast instead of pointopoint so it all
worked out. Thanks again for your insight.


"Lon Stowell" <Lawn.Stowell@Komkast.net> wrote in message
news:nd4db.436847$cF.139521@rwcrnsc53...
> Approximately 9/26/03 16:36, Steve W Kang uttered for posterity:
>
> > I tried ifconfig unplumb but it always seems to reset to a pointopoint
link.
> > In hostname.eri0 and eri1, I have IP address <tab> hostname, is that not
> > right? Do the hostnames have to be different per interface?
>
>   You will have two physical interfaces
>   with the same IP address and confuse the heck out of any ethernet
>   switch.
>
>   And both need to be resolvable.
>
>   The format of hostname.eri0 is not IP address and hostname.   Nor
>   can it be the same as any other hostname.eri*.
>
>   For ease of admin, the hostname goes in the hostname.[ifname]
>   file, then put the IP address and hostname in /etc/hosts
>   if /etc/nsswitch is set to files and then nis, nis+, dns, or ldap.
>
>


0
Reply Steve 9/27/2003 12:46:49 AM

Approximately 9/26/03 17:46, Steve W Kang uttered for posterity:

> Thanks! I deleted the IP address info from hostname.eri0 and hostname.eri1
> and just added my hostname and my hostname1 to differentiate. When the
> interfaces came up, they went to broadcast instead of pointopoint so it all
> worked out. Thanks again for your insight.

  I'm glad it fixed it, but to be honest have no idea why it would
  point both of them at localhost.

0
Reply Lon 9/27/2003 12:58:47 AM

Lon Stowell <Lawn.Stowell@komkast.net> wrote:
> Approximately 9/26/03 17:46, Steve W Kang uttered for posterity:

>> Thanks! I deleted the IP address info from hostname.eri0 and hostname.eri1
>> and just added my hostname and my hostname1 to differentiate. When the
>> interfaces came up, they went to broadcast instead of pointopoint so it all
>> worked out. Thanks again for your insight.

>   I'm glad it fixed it, but to be honest have no idea why it would
>   point both of them at localhost.

I didn't see anywhere that he was talking about "localhost".  However
feeding two ip addresses into ifconfig will make it think that you're
configuring ip addresses for both ends of a point to point link (rather
than your connection to a broadcast domain).

# ifconfig hme0:2
hme0:2: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 0.0.0.0 netmask 0
# ifconfig hme0:2 10.0.0.4 10.0.0.5
# ifconfig hme0:2
hme0:2: flags=1000850<POINTOPOINT,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.0.0.4 --> 10.0.0.5 netmask ff000000

That was happening because the startup scripts were feeding both
addresses to the ifconfig line.  Once the script went back to the proper
format of a single address, the ifconfig used it differently.
# ifconfig hme0:2 10.0.0.4
# ifconfig hme0:2
hme0:2: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.0.0.4 netmask ff000000 broadcast 10.255.255.255


-- 
Darren Dunham                                           ddunham@taos.com
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
0
Reply Darren 9/27/2003 3:43:27 AM

6 Replies
312 Views

(page loaded in 0.01 seconds)

Similiar Articles:













7/23/2012 10:09:47 PM


Reply: