Skip to contentSkip to conversation

[2.5.65] tun not working

DISCUSSION Jochen Hein 2 participants 3 messages Mar 21, 2003 – Mar 29, 2003

lore
Share & tools
lore
#0 lore raw

I'm using tun to connect my virtual S/390 from hercules to the local machine. That works pretty well with 2.4, but with 2.5.65 hercules fails with:

root@gswi1164:~# hercules -f /etc/hercules/hercules.cnf
Hercules Version 2.16.5
(c)Copyright 1999-2002 by Roger Bowler, Jan Jaeger, and others
Built on Jul  9 2002 at 23:09:56
Build information:
  Debian
  Modes: S/370 ESA/390 ESAME
  Using setresuid() for setting privileges
  HTTP Server support

Running on Linux i686 2.5.65 #1 Thu Mar 20 19:11:34 CET 2003
ckddasd: /mount/d/hercules/linux.191 cyls=300 heads=15 tracks=4500 trklen=47616
HHC894I Error setting MTU for tun: No such device
HHC897I Error setting driving system IP addr for tun: No such device HHC897I Error setting Hercules IP addr for tun: No such device HHC897I Error setting netmask for tun: No such device HHC898I Error getting flags for tun: No such device HHC848I 0400 configuration failed: hercifc rc=4
HHC038I Initialization failed for device 0400

hercules uses /dev/net/tun to access the tun device.

The module tun is loaded:

dmesg:
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky

root@gswi1164:~# lsmod | grep tun
tun                     6240  0

Any idea why this fails?

Jochen

Signature · 1 line
#include <~/.signature>: permission denied
#1 lore raw

Just as a data point, tun itself works for me on x86 - I use openvpn between my lan and our remote pop3 server, so I'd find out in a big hurry if it ever broke -

(currently running 2.5.65 on the vpn gw)

Sounds like a 390-sepecific issue, or a hercule-specific issue?

Joe

Quoted 41 lines · Jochen Hein

I'm using tun to connect my virtual S/390 from hercules to the local machine. That works pretty well with 2.4, but with 2.5.65 hercules fails with:

root@gswi1164:~# hercules -f /etc/hercules/hercules.cnf
Hercules Version 2.16.5
(c)Copyright 1999-2002 by Roger Bowler, Jan Jaeger, and others
Built on Jul  9 2002 at 23:09:56
Build information:
 Debian
 Modes: S/370 ESA/390 ESAME
 Using setresuid() for setting privileges
 HTTP Server support

Running on Linux i686 2.5.65 #1 Thu Mar 20 19:11:34 CET 2003
ckddasd: /mount/d/hercules/linux.191 cyls=300 heads=15 tracks=4500 trklen=47616
HHC894I Error setting MTU for tun: No such device
HHC897I Error setting driving system IP addr for tun: No such device HHC897I Error setting Hercules IP addr for tun: No such device HHC897I Error setting netmask for tun: No such device HHC898I Error getting flags for tun: No such device HHC848I 0400 configuration failed: hercifc rc=4
HHC038I Initialization failed for device 0400

hercules uses /dev/net/tun to access the tun device.

The module tun is loaded:

dmesg:
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky

root@gswi1164:~# lsmod | grep tun
tun                     6240  0

Any idea why this fails?

Jochen

#2 lore raw
In reply to Jochen Hein
Quoted 6 lines · Jochen Hein

I'm using tun to connect my virtual S/390 from hercules to the local machine. That works pretty well with 2.4, but with 2.5.65 hercules fails with:

root@gswi1164:~# hercules -f /etc/hercules/hercules.cnf
Hercules Version 2.16.5

With hercules 2.17.1 it works. Still on kernel 2.5.66. Hm.

Jochen

Signature · 1 line
#include <~/.signature>: permission denied