Witam, mam pytanie da się na tym WispStation5 odpalić openvpn na openwrt ?
Ściągnąłem firmware openwrt-atheros-ubnt5-squashfs.bin pod picostation5 > https://wiki.openwrt.org/toh/ubiquiti/picostation5 CPU mają takie same.
Tak wygląda dmesg z oryginalnego softa:
BusyBox v1.01 (2010.11.29-09:13+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
XS5.ar2313.v3.6.4703.101129.1111# cat /proc/cpuinfo
system type : Atheros AR531X
processor : 0
cpu model : MIPS 4Kc V0.10
BogoMIPS : 179.40
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes
VCED exceptions : not available
VCEI exceptions : not available
XS5.ar2313.v3.6.4703.101129.1111# dmesg
[ 0.000000] CPU revision is: 0001800a
[ 0.000000] Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB 4-way, linesize 16 bytes.
[ 0.000000] Linux version 2.4.27-ubnt0 (buildd@builder) (gcc version 3.3.3) #4 Mon Nov 29 11:12:19 EET 2010
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 01000000 @ 00000000 (usable)
[ 0.000000] On node 0 totalpages: 4096
[ 0.000000] zone(0): 4096 pages.
[ 0.000000] zone(1): 0 pages.
[ 0.000000] zone(2): 0 pages.
[ 0.000000] Kernel command line: console=ttyS0,9600 console=ttyS0,9600 root=/dev/mtdblock2 rootfstype=squashfs init=/linuxrc ro
[ 0.000000] Using 90.000 MHz high precision timer.
[ 0.010000] Calibrating delay loop... 179.40 BogoMIPS
[ 0.290000] Memory: 14468k/16384k available (1363k kernel code, 1916k reserved, 88k data, 68k init, 0k highmem)
[ 0.410000] Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.490000] Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.570000] Mount cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.650000] Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.730000] Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.810000] Checking for 'wait' instruction... available.
[ 0.880000] POSIX conformance testing by UNIFIX
[ 0.930000] Linux NET4.0 for Linux 2.4
[ 0.980000] Based upon Swansea University Computer Society NET3.039
[ 1.050000] Initializing RT netlink socket
[ 1.100000] Starting kswapd
[ 1.130000] Squashfs 2.2-r2 (released 2005/09/08) (C) 2002-2005 Phillip Lougher
[ 1.220000] pty: 256 Unix98 ptys configured
[ 1.270000] Serial driver version 5.05c (2001-07-08) with no serial options enabled
[ 1.360000] ttyS00 at 0xbc000003 (irq = 37) is a 16550A
[ 1.430000] PPP generic driver version 2.4.2
[ 1.480000] PPP Deflate Compression module registered
[ 1.540000] MPPE/MPPC encryption/compression module registered
[ 1.610000] physmap flash device: 800000 at be000000
[ 1.670000] phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank
[ 1.750000] phys_mapped_flash: Found an alias at 0x400000 for the chip at 0x0
[ 1.750000] Amd/Fujitsu Extended Query Table at 0x0040
[ 1.810000] phys_mapped_flash: Swapping erase regions for broken CFI table.
[ 1.890000] number of CFI chips: 1
[ 1.940000] cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
[ 2.030000] mtd: adjusted dev mtd2 size from 61440 to 65536 bytes
[ 2.100000] 8 RedBoot partitions found on MTD device phys_mapped_flash
[ 2.180000] Creating 8 MTD partitions on "phys_mapped_flash":
[ 2.250000] 0x00000000-0x00030000 : "RedBoot"
[ 2.300000] 0x00030000-0x00100000 : "kernel"
[ 2.350000] 0x00100000-0x003c0000 : "cramfs"
[ 2.400000] 0x003c0000-0x003e0000 : "cfg"
[ 2.450000] 0x003e0000-0x003f0000 : "FIS directory"
[ 2.510000] 0x003ef000-0x003f0000 : "RedBoot config"
[ 2.570000] mtd: partition "RedBoot config" doesn't start on an erase block boundary -- force read-only
[ 2.680000] 0x003f0000-0x00400000 : "EEPROM"
[ 2.730000] 0x00030000-0x003e0000 : "Working flash"
[ 2.790000] Initializing Cryptographic API
[ 2.840000] NET4: Linux TCP/IP 1.0 for NET4.0
[ 2.890000] IP: routing cache hash table of 512 buckets, 4Kbytes
[ 2.970000] TCP: Hash tables configured (established 1024 bind 2048)
[ 3.040000] IPv4 over IPv4 tunneling driver
[ 3.090000] GRE over IPv4 tunneling driver
[ 3.140000] Linux IP multicast router 0.06 plus PIM-SM
[ 3.200000] NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
[ 3.270000] Ebtables v2.0 registered
[ 3.320000] NET4: Ethernet Bridge 008 for NET4.0
[ 3.370000] Bridge firewalling registered
[ 3.420000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[ 3.500000] All bugs added by David S. Miller <davem@redhat.com>
[ 3.580000] VFS: Mounted root (squashfs filesystem) readonly.
[ 3.650000] Freeing unused kernel memory: 68k freed
[ 3.710000] Warning: unable to open an initial console.
[ 4.060000] Algorithmics/MIPS FPU Emulator v1.5
[ 7.400000] AR231x Ethernet detected
[ 7.460000] eth0: Dropping NETIF_F_SG since no checksum feature.
[ 7.460000] eth0: Atheros AR231x: 00:15:6d:c2:9c:db, irq 4
[ 7.840000] ath_hal: 0.9.17.1u (AR5212, AR5312, RF5111, RF5112)
[ 7.930000] ath_dfs: Version 2.0.0
[ 7.930000] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
[ 8.200000] wlan: 0.8.4.2 (Atheros/multi-bss)
[ 8.350000] wlan: mac acl policy registered
[ 8.460000] eth0: Cable is OFF
[ 8.600000] ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (UNKNOWN)
[ 8.600000] ath_rate_minstrel: look around rate set to 10%
[ 8.600000] ath_rate_minstrel: EWMA rolloff level set to 75%
[ 8.600000] ath_rate_minstrel: max segment size in the mrr set to 6000 us
[ 8.870000] ath_ahb: 0.9.4.5 (Atheros/multi-bss)
[ 8.870000] ath_ahb: NAPI polling driver version
[ 8.880000] wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 8.880000] wifi0: mac 5.8 phy 4.4 radio 3.6
[ 8.880000] wifi0: Use hw queue 1 for WME_AC_BE traffic
[ 8.880000] wifi0: Use hw queue 0 for WME_AC_BK traffic
[ 8.880000] wifi0: Use hw queue 2 for WME_AC_VI traffic
[ 8.880000] wifi0: Use hw queue 3 for WME_AC_VO traffic
[ 8.880000] wifi0: Use hw queue 8 for CAB traffic
[ 8.880000] wifi0: Use hw queue 9 for beacons
[ 8.880000] wifi0: Atheros 2313 WiSoC: mem=0xb8500000, irq=5
[ 9.460000] eth0: Configuring MAC for full duplex
[ 9.460000] eth0: Cable is ON
[ 10.530000] ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
[ 10.710000] ip_conntrack_rtsp v0.01 loading
[ 10.830000] ip_conntrack_pptp version 1.9 loaded
[ 10.900000] ip_tables: (C) 2000-2002 Netfilter core team
[ 11.190000] ip_nat_rtsp v0.01 loading
[ 11.270000] ip_nat_pptp version 1.5 loaded
[ 11.400000] IPP2P v0.8.1_rc1 loading
[ 11.770000] device eth0 entered promiscuous mode
a tak po wgraniu openwrt:
BusyBox v1.19.4 (2013-03-14 17:30:13 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
ATTITUDE ADJUSTMENT (12.09, r36088)
-----------------------------------------------------
* 1/4 oz Vodka Pour all ingredients into mixing
* 1/4 oz Gin tin with ice, strain into glass.
* 1/4 oz Amaretto
* 1/4 oz Triple sec
* 1/4 oz Peach schnapps
* 1/4 oz Sour mix
* 1 splash Cranberry juice
-----------------------------------------------------
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
root@OpenWrt:/# cat /proc/cpuinfo
system type : Atheros AR2313
processor : 0
cpu model : MIPS 4Kc V0.10
BogoMIPS : 179.60
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 1, address/irw mask: [0x0fff]
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
root@OpenWrt:/# dmesg
[ 0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 17:43:48 UTC 2013
[ 0.000000] gpiochip_add: registered GPIOs 0 to 21 on device: ar5312-gpio
[ 0.000000] ar5312-gpio: registered 22 GPIOs
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001800a (MIPS 4Kc)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 01000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00001000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00001000
[ 0.000000] On node 0 totalpages: 4096
[ 0.000000] free_area_init_node: node 0, pgdat 802d4700, node_mem_map 80330000
[ 0.000000] Normal zone: 32 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 4064 pages, LIFO batch:0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
[ 0.000000] Kernel command line: console=ttyS0,9600 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
[ 0.000000] Memory: 12920k/16384k available (2285k kernel code, 3464k reserved, 353k data, 168k init, 0k highmem)
[ 0.000000] NR_IRQS:128
[ 0.000000] console [ttyS0] enabled, bootconsole disabled
[ 0.010000] Calibrating delay loop... 179.60 BogoMIPS (lpj=898048)
[ 0.100000] pid_max: default: 32768 minimum: 301
[ 0.110000] Mount-cache hash table entries: 512
[ 0.130000] NET: Registered protocol family 16
[ 0.200000] bio: create slab <bio-0> at 0
[ 0.220000] Switching to clocksource MIPS
[ 0.250000] NET: Registered protocol family 2
[ 0.300000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.390000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.470000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.550000] TCP: Hash tables configured (established 512 bind 512)
[ 0.620000] TCP reno registered
[ 0.660000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.730000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.810000] NET: Registered protocol family 1
[ 0.860000] PCI: CLS 0 bytes, default 16
[ 0.860000] Radio config found at offset 0x2000(0x100)
[ 0.950000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.020000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.140000] msgmni has been set to 25
[ 1.180000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 1.270000] io scheduler noop registered
[ 1.320000] io scheduler deadline registered (default)
[ 1.380000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 1.480000] serial8250: ttyS0 at MMIO 0xbc000003 (irq = 37) is a 16550A
[ 1.600000] gpiodev: gpio device registered with major 253
[ 1.680000] physmap platform flash device: 00800000 at 1e000000
[ 1.750000] physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0000a7
[ 1.870000] physmap-flash.0: Found an alias at 0x400000 for the chip at 0x0
[ 1.870000] Amd/Fujitsu Extended Query Table at 0x0040
[ 1.930000] Amd/Fujitsu Extended Query version 1.1.
[ 1.990000] physmap-flash.0: Swapping erase regions for top-boot CFI table.
[ 2.080000] number of CFI chips: 1
[ 2.120000] Searching for RedBoot partition table in physmap-flash.0 at offset 0x3d0000
[ 2.240000] Searching for RedBoot partition table in physmap-flash.0 at offset 0x3e0000
[ 2.350000] 7 RedBoot partitions found on MTD device physmap-flash.0
[ 2.430000] Creating 7 MTD partitions on "physmap-flash.0":
[ 2.500000] 0x000000000000-0x000000030000 : "RedBoot"
[ 2.570000] 0x000000030000-0x000000120000 : "kernel"
[ 2.640000] 0x000000120000-0x0000003c0000 : "rootfs"
[ 2.710000] mtd: partition "rootfs" set to be root filesystem
[ 2.780000] mtd: partition "rootfs_data" created automatically, ofs=2D0000, len=F0000
[ 2.880000] 0x0000002d0000-0x0000003c0000 : "rootfs_data"
[ 2.950000] 0x0000003c0000-0x0000003e0000 : "cfg"
[ 3.020000] 0x0000003e0000-0x0000003ef000 : "FIS directory"
[ 3.100000] 0x0000003ef000-0x0000003f0000 : "RedBoot config"
[ 3.170000] 0x0000003f0000-0x000000400000 : "boardconfig"
[ 3.330000] eth0: Atheros AR231x: 00:15:6d:c2:9c:db, irq 4
[ 3.470000] ar231x_eth_mii: probed
[ 3.510000] eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01)
[ 3.600000] Registered led device: wlan
[ 3.600000] TCP cubic registered
[ 3.640000] NET: Registered protocol family 17
[ 3.700000] Bridge firewalling registered
[ 3.750000] 8021q: 802.1Q VLAN Support v1.8
[ 3.820000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 3.910000] Freeing unused kernel memory: 168k freed
[ 4.590000] eth0: Configuring MAC for full duplex
[ 18.420000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[ 18.510000] Backport based on wireless-testing.git master-2012-09-07
[ 18.580000] compat.git: wireless-testing.git
[ 18.730000] cfg80211: Calling CRDA to update world regulatory domain
[ 18.800000] cfg80211: World regulatory domain updated:
[ 18.870000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 18.960000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 19.060000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 19.150000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 19.240000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 19.340000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 20.940000] ath: EEPROM regdomain: 0x0
[ 20.940000] ath: EEPROM indicates default country code should be used
[ 20.940000] ath: doing EEPROM country->regdmn map search
[ 20.940000] ath: country maps to regdmn code: 0x3a
[ 20.940000] ath: Country alpha2 being used: US
[ 20.940000] ath: Regpair used: 0x3a
[ 20.940000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 20.950000] ath5k: phy0: Atheros AR2313 chip found (MAC: 0x58, PHY: 0x44)
[ 21.030000] ath5k: phy0: RF5112B 5GHz radio found (0x36)
[ 21.100000] cfg80211: Calling CRDA for country: US
[ 21.150000] cfg80211: Regulatory domain changed to country: US
[ 21.220000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 21.320000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 21.420000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 21.510000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 21.600000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 21.700000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 21.790000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 22.470000] PPP generic driver version 2.4.2
[ 23.160000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 23.710000] NET: Registered protocol family 24
[ 23.830000] nf_conntrack version 0.5.0 (204 buckets, 816 max)
[ 39.210000] device eth0 entered promiscuous mode
[ 39.340000] br-lan: port 1(eth0) entered forwarding state
[ 39.400000] br-lan: port 1(eth0) entered forwarding state
[ 41.400000] br-lan: port 1(eth0) entered forwarding state
[ 87.010000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 87.170000] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 87.250000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[ 95.890000] JFFS2 notice: (905) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Ogólnie jak odpale gui w przeglądarce to load average leci masakrycznie ponad 2 i zwiecha.
może na czystym openwrt dało by radę ? i ogólnie gdzie je znajdę i czy ktos pomoże w razie "w" z konfiguracją...
Jedyne co bym chcial to żeby ten router działał jako klient w trybie "router" i miał możliwość odpalenia openvpn oraz żeby procek nie wyzionął ducha. Na Backfire 10.03.1 udało mi się zestawić połączenie i od razu zapisałem sobie ustawienia w razie "w" ale nie wiem czy był syto obciążony bo trochę zwolnił net z 16Mb/s do 10Mb/s czy już siedzą na necie
A nie chce mi się ciągle na dach wchodzić żeby tftp odpalić i sprawdzać inne softy. Myślałem o czystym wrt - ustawic i zobaczyć. Na 10.03 chciałem doinstalowac do luci openvpn ale za mało miejsca 