Archiv Diskussion:Nanostation

Aus wiki.freifunk.net
Zur Navigation springenZur Suche springen

Erfahrungsberichte

Bitte hier eure Erfahrungswerte mit der Nanostation posten.

  • Wieviel km habt ihr erfolgreich überbrückt
  • mit welchen Einstellungen
  • welches Modell?

Statstikt

root@104-61-234-38:~# wlanconfig ath0 list
ADDR               AID CHAN RATE RSSI  DBM  IDLE  TXSEQ  TXFRAG  RXSEQ  RXFRAG CAPS ACAPS ERP    STATE     MODE
00:15:6d:a9:5b:83    0    1  36M   17  -78     0      7      13   3214       0 IS           0        1   Normal WME
00:0f:66:d3:98:f3    0    1  36M    5  -90     0    845       7   2162       0 I            0        1   Normal
00:1b:fc:81:75:9e    0    1  36M    1  -94     0   2720       7   3068       0 I            1        1   Normal
00:1c:10:09:1c:d1    0    1  36M   36  -59     0    591       7    785       0 I            1        1   Normal
00:13:10:24:c7:e7    0    1  36M   10  -85     0    105      13    231       0 I            0        1   Normal
00:14:a5:4e:6f:e1    0    1  36M    4  -91    30     40       6   3730       0              0        1   Normal
00:18:39:c7:2c:fd    0    1  36M    9  -86     0     78       8    223       0 I            0        1   Normal
00:c0:a8:ed:d2:0a    0    1  36M    5  -90     0      3       7     92       0              0        1   Normal
00:15:af:5d:d2:3a    0    1  36M    2  -93     0      1       6   1444       0              0        1   Normal
00:1e:52:73:83:f7    0    1  36M    0  -95    30      0       0      0       0 IS           0        1   Normal WME
00:16:6f:6f:61:cf    0    1  36M    2  -93    15      1      11   2897       0              0        1   Normal
00:17:f2:49:fe:18    0    1  36M   17  -78     0      1      12   3232       0 IS           0        1   Normal WME
00:23:4d:95:87:2a    0    1  36M   17  -78     0      0       8    775       0              0        1   Normal
00:1f:3b:25:fe:db    0    1  36M    4  -91    30      0       2   2743       0              0        1   Normal
00:04:0e:fb:05:1b    0    1  36M    2  -93    30      0       3   3275       0              0        1   Normal
00:1a:73:ca:eb:96    0    1  36M    2  -93   285      0       2      0       0              0        1   Normal

bootinfos

Linux version 2.6.26.5 (jow@j400) (gcc version 4.1.2) #4 Mon Jan 26 20:46:32 CET 2009
CPU revision is: 00019064 (MIPS 4KEc)
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Entering add_active_range(0, 0, 4096) 0 entries of 256 used
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal          0 ->     4096
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->     4096
On node 0 totalpages: 4096
  Normal zone: 32 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 4064 pages, LIFO batch:0
  Movable zone: 0 pages used for memmap
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line: console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/preinit
Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
PID hash table entries: 64 (order: 6, 256 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13632k/16384k available (1818k kernel code, 2752k reserved, 300k data, 124k init, 0k highmem)
SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 183.50 BogoMIPS (lpj=917504)
Mount-cache hash table entries: 512
net_namespace: 484 bytes
NET: Registered protocol family 16
Radio config found at offset 0xf8(0x1f8)
AR531x PCI init... 
done
PCI: fixing up device 0,3,0
PCI: Failed to allocate mem resource #1:4000000@84000000 for 0000:00:00.0
PCI: Failed to allocate mem resource #1:4000000@84000000 for 0000:00:03.0
Switched to high resolution mode on CPU 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
ar531x: Registering GPIODEV device
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 26
io scheduler noop registered
io scheduler deadline registered (default)
gpiodev: gpio device registered with major 254
gpiodev: gpio platform device registered with access mask FFFFFFFF
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xb1100003 (irq = 37) is a 16550A
eth0: Atheros AR231x: 00:15:6d:aa:5a:3a, irq 4
ar2313_eth_mii: probed
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01)
cmdlinepart partition parsing not available
Searching for RedBoot partition table in spiflash at offset 0x3d0000
Searching for RedBoot partition table in spiflash at offset 0x3e0000
7 RedBoot partitions found on MTD device spiflash
Creating 7 MTD partitions on "spiflash":
0x00000000-0x00030000 : "RedBoot"
0x00030000-0x000e0000 : "kernel"
0x000e0000-0x003c0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=290000, len=130000 
0x00290000-0x003c0000 : "rootfs_data"
0x003c0000-0x003e0000 : "cfg"
0x003e0000-0x003ef000 : "FIS directory"
0x003ef000-0x003f0000 : "RedBoot config"
0x003f0000-0x00400000 : "boardconfig"
Registered led device: gpio1
Registered led device: gpio2
Registered led device: gpio3
Registered led device: gpio4
Registered led device: wlan
TCP vegas 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.
Freeing unused kernel memory: 124k freed
Please be patient, while OpenWrt loads ...
eth0: Configuring MAC for full duplex
Algorithmics/MIPS FPU Emulator v1.5
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
PPP generic driver version 2.4.2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
br-lan: port 1(eth0) entering disabled state
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2008-10-02 (AR5212, AR5312, RF5111, RF5112, RF2316, RF2317, REGOPS_FUNC, TX_DESC_SWAP, DFS, XR)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_ahb: trunk
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_ahb: wifi0: Atheros 2315 WiSoC: mem=0xb0000000, irq=3

complicated

jow@j400 $ cat /etc/default/tftpd-hpa 
#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /var/lib/tftpboot"

jow@j400 $ cd /var/lib/tftpboot
jow@j400 $ wget http://firmware.leipzig.freifunk.net/kamikaze/atheros/openwrt-atheros-vmlinux.lzma
--2009-11-19 23:31:38--  http://firmware.leipzig.freifunk.net/kamikaze/atheros/openwrt-atheros-vmlinux.lzma
Auflösen des Hostnamen »firmware.leipzig.freifunk.net«.... 87.106.71.132
Verbindungsaufbau zu firmware.leipzig.freifunk.net|87.106.71.132|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 786432 (768K) [text/plain]
In »openwrt-atheros-vmlinux.lzma« speichern.

100%[======================================>] 786.432     92,8K/s   in 8,5s    

2009-11-19 23:31:47 (90,2 KB/s) - »openwrt-atheros-vmlinux.lzma« gespeichert [786432/786432]


jow@j400 $ wget http://firmware.leipzig.freifunk.net/kamikaze/atheros/openwrt-atheros-root.squashfs
--2009-11-19 23:36:50--  http://firmware.leipzig.freifunk.net/kamikaze/atheros/openwrt-atheros-root.squashfs
Auflösen des Hostnamen »firmware.leipzig.freifunk.net«.... 87.106.71.132
Verbindungsaufbau zu firmware.leipzig.freifunk.net|87.106.71.132|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 2097152 (2,0M) [text/plain]
In »openwrt-atheros-root.squashfs« speichern.

100%[======================================>] 2.097.152   55,4K/s   in 39s     

2009-11-19 23:37:29 (53,2 KB/s) - »openwrt-atheros-root.squashfs« gespeichert [2097152/2097152]


jow@j400 $ sudo ifconfig eth0 192.168.1.5 up
jow@j400 $ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.5 icmp_seq=9 Destination Host Unreachable
From 192.168.1.5 icmp_seq=10 Destination Host Unreachable
From 192.168.1.5 icmp_seq=11 Destination Host Unreachable
64 bytes from 192.168.1.1: icmp_seq=12 ttl=64 time=4073 ms
64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=3065 ms
64 bytes from 192.168.1.1: icmp_seq=14 ttl=64 time=2056 ms
^C

jow@j400 $ telnet 192.168.1.1 9000
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
== Executing boot script in 4.870 seconds - enter ^C to abort
^C^C
RedBoot> 
RedBoot> 
RedBoot> 
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
Board data is already relocated.
... Erase from 0xbffe0000-0xbfff0000: .
... Program from 0x80ff0000-0x81000000 at 0xbffe0000: .
RedBoot> ip_addr -l 192.168.1.1/24 -h 192.168.1.5
IP: 192.168.1.1/255.255.255.0, Gateway: 192.168.1.2
Default server: 192.168.1.5
RedBoot> 
RedBoot> 
RedBoot> load -r -v -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma
Using default protocol (TFTP)
-
Raw file loaded 0x80041000-0x80100fff, assumed entry at 0x80041000
RedBoot> fis create -r 0x80041000 -e 0x80041000 kernel

... Erase from 0xbfc30000-0xbfcf0000: ............
... Program from 0x80041000-0x80101000 at 0xbfc30000: ............
... Erase from 0xbffe0000-0xbfff0000: .
... Program from 0x80ff0000-0x81000000 at 0xbffe0000: .
RedBoot> load -r -v -b %{FREEMEMLO} openwrt-atheros-root.squashfs
Using default protocol (TFTP)
-
Raw file loaded 0x80041000-0x80240fff, assumed entry at 0x80041000
RedBoot> fis create rootfs

... Erase from 0xbfcf0000-0xbfef0000: ................................
... Program from 0x80041000-0x80241000 at 0xbfcf0000: ................................
... Erase from 0xbffe0000-0xbfff0000: .
... Program from 0x80ff0000-0x81000000 at 0xbffe0000: .
RedBoot> RedBoot> reset

Connection closed by foreign host.

jow@j400 $