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> </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: sys-unconfig - comp.unix.solarisThis is a multi-part message in MIME format. -----=_NextPart_000_005C_01C38446.94694550 Content-Type: text/plain; charset="iso-8859-1" Content-Tran... How to change IP address & subnet mask without using sys-unconfig ...I tried changing the IP address and subnet mask values on my Solaris 10 x86 system earlier, using the sys-unconfig command. Upon rebooting, I was ask... How do I configure the network to access internet in solaris 10 ...What options did you select for the network configuration when you installed? If you can't remember, run 'sys-unconfig' and run through the setup again. Solaris 8 - how to permamnently set static ip address instead of ...You enter your static IP address, node name, etc, etc. Or you could do it all by hand; the man page tells you all the files you would need to edit. sys-unconfig is ... Files needed to rename the server - comp.unix.solaris... it still brings back the > > original name after reboot. > > /etc/nodename in particular, but you should see the list of files at the > end of the man page sys-unconfig(1M). > V240 ALOM "Unknown" host - comp.unix.solaris... System alert from unknown in the message subject) Doing an showsc show that the sys_hostname is not set. I have searched sunsolve, workaround was to to a sys-unconfig ... Changing network configuration without having to reboot - comp ...However, if you're looking for advice on the subject, my advice would be to take the outage and do a sys-unconfig. Ten minutes of downtime can be scheduled, and won't run ... solaris 10 (Sparc) changing from dhcp to static ip??? - comp.unix ...Read the sys-unconfig man > page to see what it does and what files are affected. > > As to your configuration: > > /etc/[Servername].qfe0 is supposed to be /etc ... SUN Spark: IP, submask and gateway configuration - comp.unix ...The man page for the sys-unconfig command has a fairly good write-up on the files affected, plus pointers to the other commands [man pages] for the commands that ... gui command for Network setup - comp.unix.solarisDee... > >> > >> > >> > > > > > > > How about a /usr/sbin/sys-unconfig ? > Then, on a re-boot set it up the way you want. > Sounds like this might be the fast path ... sys-unconfig: Reconfiguring network settings on a Solaris box | a ...This command will unconfig a solaris box back to its original state. It takes you back to the original setup for the network settings for the box. You will be ... sys-unconfig - Linux Command - Unix CommandLinux / Unix Command Library: sys-unconfig. Learn about its synopsis, description, options, and examples. 7/23/2012 10:09:47 PM
|