Did you specify 'tun' module inside /etc/modules?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tibbs, Richard
Sent: Sunday, December 05, 2004 11:18 AM
To: [EMAIL PROTECTED]
Subject: [leaf-user] New openvpn problem (formerly up-script)



Dear list.
I tried the following command line
/sbin/ip link set mtu 1500 dev tun0

Problem is, there is no device tun0 even though daemon.log says
Dec  4 21:55:38 firewall openvpn[9273]: MTU DYNAMIC mtu=1450, flags=2,
1576 -> 1450
Dec  4 21:55:38 firewall openvpn[9273]: TUN/TAP device tun0 opened
Dec  4 21:55:38 firewall openvpn[9273]: ip link set dev tun0 up mtu 1500
Dec  4 21:55:39 firewall openvpn[9273]: ip addr add dev tun0 local
10.1.1.1 peer 10.1.1.2
Dec  4 21:55:39 firewall openvpn[9273]: /etc/openvpn/openvpn.up tun0
1500 1576 10.1.1.1 10.1.1.2 init
Dec  4 21:55:39 firewall openvpn[9273]: script failed: shell command
exited with error status: 1

Logged in as root, I tried typing
ip link set dev tun0 up mtu 1500
 and I get the message
SIOCSIFMTU: Operation not supported by device.
( this happens no matter what mtu I type)

The only command that does not give me some nastygram from IP is
ip link set tun0
But nothing shows up, if I type ip link sho

firewall: -root-
# ip link show
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop 
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:02:e3:13:02:78 brd ff:ff:ff:ff:ff:ff
4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:02:e3:12:7d:94 brd ff:ff:ff:ff:ff:ff
6: ipsec0: <NOARP,UP> mtu 16260 qdisc pfifo_fast qlen 10
    link/ether 00:02:e3:13:02:78 brd ff:ff:ff:ff:ff:ff
7: ipsec1: <NOARP> mtu 0 qdisc noop qlen 10
    link/ipip 
8: ipsec2: <NOARP> mtu 0 qdisc noop qlen 10
    link/ipip 
9: ipsec3: <NOARP> mtu 0 qdisc noop qlen 10
    link/ipip

What is wrong here?
Rick.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to