Hi everybody,
I have a WRT54G and I installed:
OpenWrt Firmware
Kamikaze (r14417)
Using Kernel 2.4 (brcm-2.4)
I tried to get openvpn to work... but I somehow get the error message:
Tue Jun 23 00:33:17 2009 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Tue Jun 23 00:33:17 2009 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Tue Jun 23 00:33:17 2009 Cannot allocate TUN/TAP dev dynamically
Tue Jun 23 00:33:17 2009 Exiting
lsmod shows:
Module Size Used by Tainted: P
wlcompat 9504 0 (unused)
ip_conntrack_tftp 1724 0 (unused)
ip_nat_irc 2360 0 (unused)
ip_conntrack_irc 3140 1
ip_nat_ftp 2984 0 (unused)
ip_conntrack_ftp 4284 1
ipt_MASQUERADE 1316 3
iptable_nat 21000 3 [ip_nat_irc ip_nat_ftp ipt_MASQUERADE]
ipt_state 408 6
ip_conntrack 22640 3 [ip_conntrack_tftp ip_nat_irc ip_conntrack_irc ip_nat_ftp ip_conntrack_ftp ipt_MASQUERADE iptable_nat ipt_state]
ipt_REJECT 3932 2
ipt_TCPMSS 2316 3
ipt_LOG 3804 0 (unused)
ipt_multiport 748 0 (unused)
ipt_mac 556 0 (unused)
ipt_limit 892 1
iptable_mangle 2156 0 (unused)
iptable_filter 1676 1
ip_tables 16960 13 [ipt_MASQUERADE iptable_nat ipt_state ipt_REJECT ipt_TCPMSS ipt_LOG ipt_multiport ipt_mac ipt_limit iptable_mangle iptable_filter]
ppp_async 8044 0 (unused)
wl 666560 0 (unused)
pppoe 9320 1
pppox 1196 1 [pppoe]
ppp_generic 22380 3 [ppp_async pppoe pppox]
slhc 6064 0 [ppp_generic]
switch-robo 5084 0 (unused)
switch-core 5104 0 [switch-robo]
diag 48752 0 (unused)
and ifconfig:
br-dmz Link encap:Ethernet HWaddr 00:23:69:25:AC:20
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:402 (402.0 B)
br-lan Link encap:Ethernet HWaddr 00:23:69:25:AC:20
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:426 errors:0 dropped:0 overruns:0 frame:0
TX packets:514 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:43269 (42.2 KiB) TX bytes:283582 (276.9 KiB)
eth0 Link encap:Ethernet HWaddr 00:23:69:25:AC:20
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1209 errors:0 dropped:0 overruns:0 frame:0
TX packets:1247 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:341932 (333.9 KiB) TX bytes:352933 (344.6 KiB)
Interrupt:4
eth0.0 Link encap:Ethernet HWaddr 00:23:69:25:AC:20
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:424 errors:0 dropped:0 overruns:0 frame:0
TX packets:514 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:44849 (43.7 KiB) TX bytes:285638 (278.9 KiB)
eth0.1 Link encap:Ethernet HWaddr 00:23:69:25:AC:20
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:406 (406.0 B)
eth0.2 Link encap:Ethernet HWaddr 00:23:69:25:AC:20
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:792 errors:0 dropped:0 overruns:0 frame:0
TX packets:738 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:275901 (269.4 KiB) TX bytes:50141 (48.9 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:179 (179.0 B) TX bytes:179 (179.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:XX.XX.XX.XX P-t-P:195.14.247.165 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:321 errors:0 dropped:0 overruns:0 frame:0
TX packets:266 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:248495 (242.6 KiB) TX bytes:27106 (26.4 KiB)
wl0 Link encap:Ethernet HWaddr 00:23:69:25:AC:22
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:1567
TX packets:0 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:2 Base address:0x5000
Well I don't know what to do... I reinstalled openvpn already a couple of times... why is there no tun interface?
Thanks for any help!