Thank you so much. The system-config-network-tool has been suggested to me
by the "official" Red Hat support team *gg* - though they know very well
that we have z-linux.
Today I deleted the ifcfg-hsi0 file, and created a new one, vi-editing it very
very very carefully ... and now everything is fine.
As to the MAC-Address: you mean I don't need it? then I'll delete it.
May I ask something else:
we have two zlinux partitions, one for testing and one for production.
In each of these partitions I activated hsi0.
Defined a subnet for them - *ONE* subnet for the two his0's in these
two partitions (same goes for the two eth0's in these two partitions).
Is that all right, the two hsi's "sharing" so to speak one subnet?
Thx and regards
Anna
-----Original Message-----
From: Linux on 390 Port on behalf of Kyle Smith *EXTERN*
Sent: Tue 5/22/2007 3:21 PM
To: [email protected]
Subject: Re: "how to add a network device"
The system-config-network tool doesn't really work on System z Linux.
It's works great on x86 but when I last checked it had no idea how to
handle the various types of networking devices available on
s390/s390x. Post-install you usually need to do exactly what you did
to add new network devices - echo things to /sys and then create an
ifcfg file.
A few things that come to mind:
* Did you add the 'alias hsi0 qeth' line to /etc/modprobe.conf
before rebooting?
* If you rename the ifcfg-hsi0 file to ifcfg-hsi0.bak and
reboot/restart networking, does everything else come up correctly? If
not, it would suggest that some of the other ifcfg-* files were munged
or that your ifcfg-hsi0 has conflicting settings.
* Try removing the HWADDR=00:00:00:00 line from the ifcfg-hsi0 file
and rebooting. If it comes up fine and you really want the hardware
address specified in there, run `ifconfig hsi0` and use the specific
MAC address.
ks
On 5/22/07, Fuhrmann Anna <[EMAIL PROTECTED]> wrote:
> Hi,
> This (how to add a network device) is described here:
>
> http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/s390-multi-i
> nstall-guide/s1-s390info-addnetdevice.html
>
> and this is how I created a hsi0 hipersocket device.
>
> Now the problem is: I noticed at rebooting that the following happens
> (excerpt from log):
> "
> May 16 05:20:34 dinotest network: Bringing up interface eth0: succeeded
> May 16 05:20:35 dinotest ifup: cannot change name of lo to hsi0: Device
> or resource busy
> May 16 05:20:35 dinotest ifup:
> May 16 05:20:35 dinotest ifup: cannot change name of lo to dev20571:
> Device or resource busy
> May 16 05:28:31 dinotest sag1argev: 5:28:31 (23819)
> May 16 05:20:35 dinotest ifup: cannot parse MAC ` lo
> May 16 11:24:07 dino ifup: hsi0 hsi0 dev16279' at argument 2
> May 16 11:24:07 dino ifup: interface 'dev20366' not found
> May 16 11:24:07 dino ifup: interface 'dev18583' not found
> May 16 11:24:07 dino ifup: interface 'dev14319' not found
> May 16 11:24:07 dino ifup: interface 'dev17517' not found
> ...
> "
> and so on, almost indefinitely ("device 'devxxxxx" not found')...
> booting lasts a while, is then ready, and
> hsi0 is not active of course.
>
> I consulted red hat support, they told me I should use the tool
> system-network-config instead of
> editing manually.
> However, the command seems to be able to import and export some
> (config?) files,
> but what else? How to define a new device with it? I can't find any
> description of the tool.
>
> Anyone having an idea what I should do? Why not edit manually and if
> not, how? I am helplessly confused.
>
> My ifcfg-hsi0 looks like this:
>
> DEVICE=hsi0
> HWADDR=00:00:00:00:00:00
> BOOTPROTO=static
> IPADDR=192.168.60.5
> NETMASK=255.255.255.192
> NETTYPE=qeth
> ONBOOT=yes
> SUBCHANNELS=0.0.0a0b,0.0.0a0c,0.0.0a0d
> TYPE=Ethernet
>
> thanks and regards
> Anna
>
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390