zrobic rmmod na
gpio_buttons
leds_gpio
??
Strony Poprzednia 1 2 3 4
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez micolajevicz
Strony Poprzednia 1 2 3 4
zrobic rmmod na
gpio_buttons
leds_gpio
??
root@OpenWrt:~# lsmod
Module Size Used by Not tainted
fuse 46080 0
usb_storage 32720 0
nf_nat_tftp 432 0
nf_conntrack_tftp 2400 1 nf_nat_tftp
nf_nat_irc 816 0
nf_conntrack_irc 2512 1 nf_nat_irc
nf_nat_ftp 1328 0
nf_conntrack_ftp 4640 1 nf_nat_ftp
ipt_MASQUERADE 992 1
iptable_nat 2256 1
nf_nat 10160 5 nf_nat_tftp,nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
xt_NOTRACK 544 0
iptable_raw 656 1
xt_state 768 3
nf_conntrack_ipv4 7376 6 iptable_nat,nf_nat
nf_defrag_ipv4 624 1 nf_conntrack_ipv4
nf_conntrack 37744 12 nf_nat_tftp,nf_conntrack_tftp,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_NOTRACK,xt_state,nf_conntrack_ipv4
ehci_hcd 31456 0
sd_mod 21616 0
pppoe 8304 0
pppox 1216 1 pppoe
ipt_REJECT 1680 2
xt_TCPMSS 1856 2
ipt_LOG 4176 0
xt_comment 464 0
xt_multiport 1792 0
xt_mac 576 0
xt_limit 1008 1
iptable_mangle 992 0
iptable_filter 768 1
ip_tables 8544 4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
xt_tcpudp 1760 6
x_tables 9296 13 ipt_MASQUERADE,iptable_nat,xt_NOTRACK,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,ip_tables,xt_tcpudp
ext2 42224 0
ext3 91248 0
jbd 31376 1 ext3
tun 10048 2
ppp_async 6400 0
ppp_generic 18848 3 pppoe,pppox,ppp_async
slhc 4160 1 ppp_generic
vfat 7712 0
fat 42496 1 vfat
ext4 210400 0
jbd2 36544 1 ext4
ath9k 78272 0
ath9k_common 1136 1 ath9k
ath9k_hw 255152 2 ath9k,ath9k_common
ath 11712 3 ath9k,ath9k_common,ath9k_hw
nls_iso8859_1 2832 0
nls_cp437 4368 0
mac80211 193824 1 ath9k
usbcore 97520 3 usb_storage,ehci_hcd
scsi_mod 68224 2 usb_storage,sd_mod
nls_base 4800 5 vfat,fat,nls_iso8859_1,nls_cp437,usbcore
mbcache 3920 1 ext4
crc16 976 1 ext4
crc_ccitt 976 1 ppp_async
cfg80211 113472 2 ath9k,mac80211
compat_firmware_class 4672 0
compat 1776 1 cfg80211
arc4 816 2
aes_generic 30256 0
deflate 1360 0
ecb 1328 2
cbc 2016 0
leds_gpio 1456 0
button_hotplug 2576 0
gpio_buttons 2128 0
input_polldev 1360 1 gpio_buttons
input_core 17056 4 button_hotplug,gpio_buttons,input_polldev
odinstalowałem moduły:
root@OpenWrt:~# opkg remove kmod-leds-gpio
Removing package kmod-leds-gpio from root...
root@OpenWrt:~# opkg remove kmod-input-gpio-buttons
Removing package kmod-input-gpio-buttons from root...
root@OpenWrt:~#
no i efekt ![]()
USB Mass Storage support registered.
fuse init (API version 7.13)
CPU 0 Unable to handle kernel paging request at virtual address 00000006, epc == 801dafc5, ra == 801e37f8
Oops[#1]:
Cpu 0
$ 0 : 00000000 0046f621 801dafc5 03ff0000
$ 4 : 819f3780 00000000 00000000 00000000
$ 8 : 00000001 802c20d8 2d56b8d3 afc5459c
$12 : 819d9b40 00000011 819d9e20 00460000
$16 : 819f3780 80305808 819f3834 80305828
$20 : 81ade400 00000000 00000000 802c20e8
$24 : 00000001 80a23611
$28 : 819d8000 819d9c58 00000001 801e37f8
Hi : 00000122
Lo : 00118073
epc : 801dafc5 0x801dafc5
Not tainted
ra : 801e37f8 0x801e37f8
Status: 1000dc03 KERNEL EXL IE
Cause : 00800008
BadVA : 00000006
PrId : 00019374 (MIPS 24Kc)
Modules linked in: fuse usb_storage nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd sd_mod pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ext2 ext3 jbd tun ppp_async ppp_generic slhc vfat fat ext4 jbd2 ath9k ath9k_common ath9k_hw ath nls_iso8859_1 nls_cp437 mac80211 usbcore scsi_mod nls_base mbcache crc16 crc_ccitt cfg80211 compat_firmware_class compat arc4 aes_generic deflate ecb cbc leds_gpio button_hotplug gpio_buttons input_polldev input_core
Process openvpn (pid: 1111, threadinfo=819d8000, task=81b7fae8, tls=00000000)
Stack : 81b00780 819e6d20 819e6d20 801e0cd8 00000011 819f3780 80305808 801e3464
00000000 81b7fae8 00000000 00000000 819f3780 801ec328 00000018 00000000
819d9c70 800e9c78 00100100 00200200 00000001 ffff9986 802c20d8 802c20dc
802c20f4 802c0000 00000040 801ec428 81ade724 c0a80164 81b00780 ffff9986
802c20f4 00000040 00000000 0000012c 802c20d8 ffff9988 80300000 801ecb94
...
Call Trace:[<801e0cd8>] 0x801e0cd8
[<801e3464>] 0x801e3464
[<801ec328>] 0x801ec328
[<800e9c78>] 0x800e9c78
[<801ec428>] 0x801ec428
[<801ecb94>] 0x801ecb94
[<80213458>] 0x80213458
[<80212c74>] 0x80212c74
[<8008295c>] 0x8008295c
[<80082a3c>] 0x80082a3c
[<801ecce4>] 0x801ecce4
[<80975ce0>] 0x80975ce0
[<800d9058>] 0x800d9058
[<800925a4>] 0x800925a4
[<80072ae4>] 0x80072ae4
[<800d9ca0>] 0x800d9ca0
[<800d9e58>] 0x800d9e58
[<800e8f74>] 0x800e8f74
[<80062544>] 0x80062544
[<80082070>] 0x80082070Code: 0060 27bd ff98 <8fa3> 007c 8fa2 0078 afb2 0060
Disabling lock debugging due to kernel taint
Kernel panic - not syncing: Fatal exception in interrupt
Rebooting in 3 seconds..
Podłączyłem się kablem rs.
To wypluwa w czasie startu systemu
U-Boot 1.1.4 (Nov 17 2009 - 11 begin_of_the_skype_highlighting 17 2009 - 11 end_of_the_skype_highlighting:56:26)
AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environmentIn: serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
Uncompressing Kernel Image ... OKStarting kernel ...
Linux version 2.6.32.25 (cezary@eko.one.pl) (gcc version 4.3.3 (GCC) ) #37 Wed Nov 24 15:37:44 CET 2010
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR9132 rev 2, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=TL-WR1043ND
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29356k/32768k available (2067k kernel code, 3412k reserved, 390k data, 152k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:56
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR1043ND
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) Š 2001-2006 Red Hat, Inc.
yaffs Nov 13 2010 09:51:54 Installing.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: s25sl064a (8192 Kbytes)
Searching for RedBoot partition table in spi0.0 at offset 0x7e0000
Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000160000 : "kernel"
0x000000160000-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=420000, len=3D0000
0x000000420000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "art"
0x000000020000-0x0000007f0000 : "firmware"
Realtek RTL8366RB ethernet switch driver version 0.2.2
rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
rtl8366rb: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
Atheros AR71xx hardware watchdog driver version 0.1.0
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 152k freed
Please be patient, while OpenWrt loads ...
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Button Hotplug driver version 0.3.1
eth0: link up (1000Mbps/Full duplex)
- preinit -
Registered led device: tl-wr1043nd:green:usb
Registered led device: tl-wr1043nd:green:system
Registered led device: tl-wr1043nd:green:qss
Registered led device: tl-wr1043nd:green:wlan
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
- init -
eth0: link downPlease press Enter to activate this console. eth0: link up (1000Mbps/Full duplex)
Compat-wireless backport release: compat-wireless-2010-10-14-7-gab01eca
Backport based on wireless-testing.git master-2010-10-19
device eth0.1 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.1) entering forwarding state
cfg80211: Calling CRDA to update world regulatory domain
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: World regulatory domain updated:
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
ieee80211 phy0: Atheros AR9100 MAC/BB Rev:0 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
(5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
PPP generic driver version 2.4.2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
nf_conntrack version 0.5.0 (461 buckets, 1844 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
fuse init (API version 7.13)
a to przy próbie podłączenia klientem openvnc z windows 7.
USB Mass Storage support registered.
fuse init (API version 7.13)
^C
Please press Enter to activate this console. ------------[ cut here ]------------
WARNING: at drivers/gpio/gpiolib.c:101 0x801856d0()
autorequest GPIO-0
Modules linked in: fuse usb_storage nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd sd_mod pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ext2 ext3 jbd tun ppp_async ppp_generic slhc vfat fat ext4 jbd2 ath9k ath9k_common ath9k_hw ath nls_iso8859_1 nls_cp437 mac80211 usbcore scsi_mod nls_base mbcache crc16 crc_ccitt cfg80211 compat_firmware_class compat arc4 aes_generic deflate ecb cbc leds_gpio button_hotplug gpio_buttons input_polldev input_core
Call Trace:[<8007d914>] 0x8007d914
[<80068374>] 0x80068374
[<80068374>] 0x80068374
[<8007cf1c>] 0x8007cf1c
[<801856d0>] 0x801856d0
[<8007cf9c>] 0x8007cf9c
[<80213458>] 0x80213458
[<80212c74>] 0x80212c74
[<801856d0>] 0x801856d0
[<80212fbc>] 0x80212fbc
[<8018580c>] 0x8018580c
[<801cf854>] 0x801cf854
[<801cff30>] 0x801cff30
[<800af17c>] 0x800af17c
[<801d0810>] 0x801d0810
[<800af244>] 0x800af244
[<801ec328>] 0x801ec328
[<800e9c78>] 0x800e9c78
[<801ec428>] 0x801ec428
[<801def68>] 0x801def68
[<801ecb94>] 0x801ecb94
[<8008295c>] 0x8008295c
[<80082a3c>] 0x80082a3c
[<801ecce4>] 0x801ecce4
[<808ddce0>] 0x808ddce0
[<800d9058>] 0x800d9058
[<800925a4>] 0x800925a4
[<80072ae4>] 0x80072ae4
[<800d9ca0>] 0x800d9ca0
[<800d9e58>] 0x800d9e58
[<800e8f74>] 0x800e8f74
[<80062544>] 0x80062544
[<80082070>] 0x80082070---[ end trace 30892e79d044d39a ]---
No kabelek posiadam.
Zajmę się tym pewnie koło niedzieli.
Jeszcze raz dzięki:)
Ja na dzisiaj muszę dać spokój z tematem.
Wielkie dzięki za pomoc.
Jak się łączę z zewnątrz to też się teraz resetuje TP-Link.
Problemem był dyndns który nie odświeżył mojego zmiennego IP :]
[UPnP set event: Public_UPNP_C3] from source 192.168.1.104, Wednesday, Jan 01,2003 21:50:46
[DHCP IP: (192.168.1.103)] to MAC address 00:22:FB:C2:4B:AA, Wednesday, Jan 01,2003 21:50:42
[DHCP IP: (192.168.1.107)] to MAC address 00:90:F5:4E:B8:20, Wednesday, Jan 01,2003 21:50:39
[UPnP set event: Public_UPNP_C3] from source 192.168.1.102, Wednesday, Jan 01,2003 21:50:31
Firewall: packet accept. 46.112.36.38(64590) --> 178.37.149.59(1194), Protocol UDP.
Wednesday, Jan 01,2003 21:50:27
[UPnP set event: Public_UPNP_C3] from source 192.168.1.104, Wednesday, Jan 01,2003 21:50:13
[Log Cleared] Wednesday, Jan 01,2003 21:50:06
a no ok ![]()
daję openvpn --verb 5 --dev tap
i na konsolę lecą literki "rrrrrrrrrrrrrrrrrrrrrrrr"
lecą i lecą:)
Podłączenie się po lokalu daje tyle że przestają lecieć. Oczywiście jak następuje reset :]
co to jest ten "rsem" ?
Nic się nie pojawiło
root@OpenWrt:~# ps | grep openvpn
1275 root 2928 R /usr/sbin/openvpn --syslog openvpn(myvpn) --writepid
1393 root 1352 S grep openvpn
root@OpenWrt:~# kill 1275
root@OpenWrt:~# ps | grep openvpn
1413 root 1352 S grep openvpn
root@OpenWrt:~# openvpn --verb n
Options error: You must define TUN/TAP device (--dev)
Use --help for more information.
root@OpenWrt:~# openvpn --verb n --dev tap
Fri Nov 26 12:55:37 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Fri Nov 26 12:55:37 2010 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Fri Nov 26 12:55:37 2010 ******* WARNING *******: all encryption and authentication features disabled -- all data will be tunnelled as cleartext
Pytanie dobre
Tyle że to już działało.
Inne pytanie czemu router się resetuje przy podłączaniu via lan?
Moge jakoś uruchomić openvpn w trybie debug vie putty z innego kompa i zobaczyć co się dzieje zanim się resetuje ?
Fragment /etc/config/firewall
config 'rule'
option '_name' 'openvpn'
option 'src' 'wan'
option 'target' 'ACCEPT'
option 'proto' 'udp'
option 'dest_port' '1194'
/etc/firewall.user
# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.iptables -I OUTPUT -o tap+ -j ACCEPT
iptables -I INPUT -i tap+ -j ACCEPT
iptables -I FORWARD -o tap+ -j ACCEPT
iptables -I FORWARD -i tap+ -j ACCEPT
zrobiłem to po partyzancku ale pomogło.
Znaczy sysugrade z wyczyszczeniem konfiguracji.
/etc/init.d/openvpn start
wskoczyło bez problemu.
Tak że
/etc/init.d/openvpn-startup start
też ruszyło.
Tyle, że dalej jak się łączę z lokala czyli z 192.168.1.x na router 192.168.1.100 to mi się resetuje TP-Link
Jak łączę się z zewnątrz przez modem play w telefonie przy DMZ ustawionym na TP-Linka to nic się nie dzieje:/
Fri Nov 26 12:32:13 2010 OpenVPN 2.1.1 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Dec 11 2009
Fri Nov 26 12:32:13 2010 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Fri Nov 26 12:32:13 2010 Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Nov 26 12:32:13 2010 Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Nov 26 12:32:13 2010 Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Nov 26 12:32:13 2010 Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Nov 26 12:32:14 2010 TAP-WIN32 device [Local Area Connection 5] opened: \\.\Global\{27FDA97C-5B82-4CB0-8655-0E5881B9BA6F}.tap
Fri Nov 26 12:32:14 2010 TAP-Win32 Driver Version 9.6
Fri Nov 26 12:32:14 2010 TAP-Win32 MTU=1500
Fri Nov 26 12:32:14 2010 NOTE: FlushIpNetTable failed on interface [29] {27FDA97C-5B82-4CB0-8655-0E5881B9BA6F} (status=5) : Access is denied.
Fri Nov 26 12:32:14 2010 Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
Fri Nov 26 12:32:14 2010 Local Options hash (VER=V4): '8b888ddc'
Fri Nov 26 12:32:14 2010 Expected Remote Options hash (VER=V4): '8b888ddc'
Fri Nov 26 12:32:14 2010 Socket Buffers: R=[8192->8192] S=[8192->8192]
Fri Nov 26 12:32:14 2010 UDPv4 link local: [undef]
Fri Nov 26 12:32:14 2010 UDPv4 link remote: 87.205.142.72:1194
Tak BTW powiem Ci, że to kiedyś działało na tym routerze z inną wersją openwrt.
Tu masz opkg list_installed | grep kmod
root@OpenWrt:~# opkg list_installed | grep kmod
kmod-ath - 2.6.32.25+2010-10-19-1
kmod-ath9k - 2.6.32.25+2010-10-19-1
kmod-button-hotplug - 2.6.32.25-1
kmod-cfg80211 - 2.6.32.25+2010-10-19-1
kmod-crc-ccitt - 2.6.32.25-1
kmod-crc16 - 2.6.32.25-1
kmod-crypto-aes - 2.6.32.25-1
kmod-crypto-arc4 - 2.6.32.25-1
kmod-crypto-core - 2.6.32.25-1
kmod-fs-ext2 - 2.6.32.25-1
kmod-fs-ext3 - 2.6.32.25-1
kmod-fs-ext4 - 2.6.32.25-1
kmod-fs-mbcache - 2.6.32.25-1
kmod-fs-vfat - 2.6.32.25-1
kmod-fuse - 2.6.32.25-1
kmod-input-core - 2.6.32.25-1
kmod-input-gpio-buttons - 2.6.32.25-1
kmod-input-polldev - 2.6.32.25-1
kmod-ipt-conntrack - 2.6.32.25-1
kmod-ipt-core - 2.6.32.25-1
kmod-ipt-nat - 2.6.32.25-1
kmod-ipt-nathelper - 2.6.32.25-1
kmod-leds-gpio - 2.6.32.25-1
kmod-mac80211 - 2.6.32.25+2010-10-19-1
kmod-nls-base - 2.6.32.25-1
kmod-nls-cp437 - 2.6.32.25-1
kmod-nls-iso8859-1 - 2.6.32.25-1
kmod-ppp - 2.6.32.25-1
kmod-pppoe - 2.6.32.25-1
kmod-scsi-core - 2.6.32.25-1
kmod-tun - 2.6.32.25-1
kmod-usb-core - 2.6.32.25-1
kmod-usb-storage - 2.6.32.25-1
kmod-usb2 - 2.6.32.25-1
Plik /tmp/openvpn-status.log
penVPN STATISTICS
Updated,Fri Nov 26 12:28:22 2010
TUN/TAP read bytes,0
TUN/TAP write bytes,0
TCP/UDP read bytes,0
TCP/UDP write bytes,0
Auth read bytes,0
END
Zgadza się:]
root@Gargoyle:/sbin# lsmod | grep tun
root@Gargoyle:/sbin# lsmod | grep tun
root@Gargoyle:/sbin#
root@Gargoyle:/sbin# insmod tun
root@Gargoyle:/sbin# lsmod | grep tun
Zmiana repozytorium pomogła. Dzięki:)
Przy uruchamianiu skryptu /etc/init.d/openvpn-startup wywala
root@Gargoyle:~# chmod 755 /etc/init.d/openvpn-startup
root@Gargoyle:~# /etc/init.d/openvpn-startup enable
root@Gargoyle:~# /etc/init.d/openvpn-startup start
Fri Nov 26 11:19:08 2010 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Fri Nov 26 11:19:08 2010 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Fri Nov 26 11:19:08 2010 Cannot open TUN/TAP dev /dev/tap0: No such file or directory (errno=2)
Fri Nov 26 11:19:08 2010 Exiting
brctl: iface tap0: No such device
ifconfig: SIOCSIFADDR: No such device
root@Gargoyle:~# /etc/init.d/openvpn-startup start
Fri Nov 26 11:20:10 2010 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Fri Nov 26 11:20:10 2010 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Fri Nov 26 11:20:10 2010 Cannot open TUN/TAP dev /dev/tap0: No such file or directory (errno=2)
Fri Nov 26 11:20:10 2010 Exiting
brctl: iface tap0: No such device
ifconfig: SIOCSIFADDR: No such device
root@Gargoyle:~#
![]()
Nic :]
Wychodzi na to, że podgrywanie obrazów na zasadzie
wget obraz.bin
sysupgrade obraz.bin
nie usuwa plików konfiguracji.
Pewnie to oczywista oczywistość;-)
Właśnie zainstalowałem to z http://ecco.selfip.net/backfire/
efekt:
root@Gargoyle:~# opkg update
Downloading http://downloads.openwrt.org/backfire/1 … ckages.gz.
Inflating http://downloads.openwrt.org/backfire/1 … ckages.gz.
Updated list of available packages in /var/opkg-lists/packages.
root@Gargoyle:~# opkg install openvpn
Installing openvpn (2.1.1-1) to root...
Downloading http://downloads.openwrt.org/backfire/1 … r71xx.ipk.
Installing kmod-tun (2.6.32.10-1) to root...
Downloading http://downloads.openwrt.org/backfire/1 … r71xx.ipk.
Not downgrading package kernel on root from 2.6.32.25-1 to 2.6.32.10-1.
Configuring kmod-tun.
Collected errors:
* opkg_install_cmd: Cannot install package openvpn.
root@Gargoyle:~#
Zainstalowałem openVPN zgodnie z instrukcją http://eko.one.pl/?p=openwrt-openvpn na najnowszym obrazie Gargoyle PL na TL-WR1043ND.
Przy podłączaniu się klientem z Windowsa 7 pojawia się komunikat:
Fri Nov 26 00:05:03 2010 UDPv4 link remote: 192.168.1.100:1194
a następnie ruter resetuje się ![]()
Jak próbowałem na wersji Gargoyle z ich strony ale wtedy wywala się przy instalacji openVPN. coś z tap.
Jakaś rada?
A generalnie to tc, ip i filtry - jak w każdym linuksie...
no właśnie tego się obawiałem :]
Chyba jednak będę musiał poczytać LARTC'a i parę innych.
Dzięki.
Dzięki za błyskawiczną odpowiedź. Biorę się za analizowanie tego skryptu.
Witam,
ostatnio zacząłem kombinować przy moim WRT54GL. Wgrałem X-wrt 8.09, HotSpot na coova-chilli, dolutowałem kartę SD. Teraz walczę z QoS.
Mam takie pytanie, jak ustawić priorytety dla użytkowników ( mam coś takiego na NETGEAR DG834G, wpisuje się MAC'a i przydziela do grupy np. "high"). Wymyśliłem, iż w chilli ustawię statyczne ip dla użytkowników i potem stworzę grupy priorytetów z zależności od IP ( np od 50 do 100 "low", 100 do 150 "high" itp).
Czy mój sposób myślenia jest poprawy ? Robi się to w ten sposób ? Siedziałem wczoraj na google i nie udało mi się nigdzie znaleźć podobnego tematu.
Ok.
Dzięki za pomoc. Widzę, że będę jeszcze musiał trochę poczytać o trunkach itp.
Witam,
Czy możliwe jest zainstalowanie najnowszego coova-chilli na Kamikaze 8.09 ?
Na stronie projektu jest info, że pojawiła się wersja 1.2.1, a w repozytorium pakietów http://downloads.openwrt.org/kamikaze/8 … 4/packages jest 1.0.12-1.
Znalazłem coś takiego https://dev.openwrt.org/ticket/6600. Jak rozumiem z tego ticket'a wynika, że można to zainstalować tylko trzeba skompilować źródło pakietu? Jak to zrobić aby działało na Kamikaze 8.09 ? przydał by się jakiś how to.
pzdr
Strony Poprzednia 1 2 3 4
eko.one.pl → Posty przez micolajevicz
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc