Änderungen

Zur Navigation springen Zur Suche springen
13.627 Bytes hinzugefügt ,  12:05, 21. Dez. 2012
Zeile 1: Zeile 1:  
===Finanzamt klaeren===
 
===Finanzamt klaeren===
* 0365/639-1336 Fr.Pforr FA Gera
+
* 0365/639-1336 Fr.Pforr FA Gera (Verein,Schulden)
 +
* 0365/639-1303 Fr.Kühnel bzw. Fr. Schulz (Verein,Gemeinützigkeit)
 +
** offensichtlich liegt kein Antrag vor ?!?! (Telefonat 2009mar02)
 +
* 03641/378432 FA Jena / Frau Zimmermann
 +
* Steuernummer: 162/142/08370
 +
 
 +
===Literatur und formulierungshinweise===
 +
http://www.itespresso.de/news/netzwerke/news20061127064.aspx
    
===Monitor Rechner: Welche Bildschirmdiagonale mit welchem Hoehen/Seitenverhaeltnis hat welche Flaeche===
 
===Monitor Rechner: Welche Bildschirmdiagonale mit welchem Hoehen/Seitenverhaeltnis hat welche Flaeche===
<pre>
+
<source lang="bash">
 
#!/bin/sh
 
#!/bin/sh
   Zeile 63: Zeile 70:  
echo "</table></body></html>"
 
echo "</table></body></html>"
   −
</pre>
+
</source>
 
      
===GIT Tutorial===
 
===GIT Tutorial===
Zeile 86: Zeile 92:     
===Policy Based Routing - bestimmten IP-Bereich ueber VPN-Server ins Internet leiten===
 
===Policy Based Routing - bestimmten IP-Bereich ueber VPN-Server ins Internet leiten===
 +
* Ziele:
 +
** das interne "Kabelnetz" soll direkt ins Internet
 +
** alles, was durch die Luft kommt, soll über den Rootserver in Berlin geleitet werden (WLAN-DHCP, OLSR-Nachbarn)
 +
* Fallen:
 +
** das interne Netz sollte direkt erreichbar bleiben
 +
** interne Dienste wie olsr und dns dürfen nicht über den Rootserver geleitet werden
 
* auf dem Internet-Einspeiser, der per VPN mit dem Root-Server verbunden ist:
 
* auf dem Internet-Einspeiser, der per VPN mit dem Root-Server verbunden ist:
 +
* root-server ip, ist der VPN-nachbar:
 +
** VPN_NEIGH="$( _ipsystem do | grep ^WIFIVPNSERVERADR= | cut -d = -f 2)"
 +
** die Variablen $LANNET/$LANPRE kommen vom '. /tmp/loader' (bzw. aus /tmp/NETPARAM)
 +
** anstatt 10.63.0.0/16 koennte man auf $WIFINET/$WIFIPRE einsetzen
 
<pre>
 
<pre>
 
echo "50 weimarnetz_anonym" >>/etc/iproute2/rt_tables
 
echo "50 weimarnetz_anonym" >>/etc/iproute2/rt_tables
ip rule add from 10.63.0.0/24 table weimarnetz_anonym
+
ip rule add from 10.63.0.0/16 prio 30002 table weimarnetz_anonym
ip route add default via 10.63.167.94 dev tap0 table weimarnetz_anonym
+
ip rule add to 10.63.0.0/16 prio 30001 lookup main
 +
ip rule add from $LANNET/$LANPRE prio 30000 table main
 +
ip route add default via $VPN_NEIGH dev tap0 table weimarnetz_anonym
 
ip route flush cache
 
ip route flush cache
 
</pre>
 
</pre>
 +
* Die Regel mit prio 30002 leitet alles, was aus dem IP-Bereich vom Weimarnetz über den Rootserver
 +
* Die Regel mit prio 30001 leitet alles, was in den Bereich des Weimarnetz geht über die normale Routingtabelle
 +
* Die Regel mit prio 30000 leitet das interne, kabelgebundene Netz über die normale Routingtabelle
 +
* Beispiel auf Andis Router:
 +
** IP Rules
 +
<pre>
 +
root@BraeuSys:~ ip rule show
 +
0: from all lookup local
 +
32763: from all to 10.63.0.0/16 lookup main
 +
32764: from 10.63.52.32/27 lookup main
 +
32765: from 10.63.0.0/16 lookup weimarnetz_anonym
 +
32766: from all lookup main
 +
32767: from all lookup default
 +
</pre>
 +
** IP Routen
 +
<pre>
 +
root@BraeuSys:~ ip route show table weimarnetz_anonym
 +
default via 10.63.52.30 dev tap0
 +
</pre>
 +
** Traceroute
 +
<pre>
 +
root@wifimac0016b6b74c52:~ traceroute heise.de
 +
traceroute to heise.de (193.99.144.80), 30 hops max beginning with hop 1, 40 byte packets
 +
1  BraeuSys.olsr (10.63.52.1)  12.563 ms  7.25 ms  3.421 ms
 +
2  mid7.weimarnetz.olsr (10.63.52.30)  74 ms  59.897 ms  58.993 ms
 +
</pre>
 +
 
* auf dem Rootserver muss dann maskiert werden, damit als Quelle nicht 10.0.0.0/8 in den Paketen steht:
 
* auf dem Rootserver muss dann maskiert werden, damit als Quelle nicht 10.0.0.0/8 in den Paketen steht:
 
<pre>
 
<pre>
 
iptables -t nat -I POSTROUTING -s 10.0.0.0/8 -d ! 10.0.0.0/8 -o venet0 -j SNAT --to-source 87.118.106.19
 
iptables -t nat -I POSTROUTING -s 10.0.0.0/8 -d ! 10.0.0.0/8 -o venet0 -j SNAT --to-source 87.118.106.19
 +
oder einfacher
 +
iptables -t nat -I POSTROUTING -s 10.63.0.0/16 ! -d 10.63.0.0/16 -j MASQUERADE
 
</pre>
 
</pre>
   Zeile 157: Zeile 204:     
===Stoffsammlung openWRT: hacking new devices===
 
===Stoffsammlung openWRT: hacking new devices===
 +
 +
==== Level1 / LevelOne / WAP-3101 ====
 +
* http://global.level1.com/product_d.php?id=683
 +
* http://www.level1.tw/level1/datasheet/WAP-3101_SPEC_V1.0.pdf
 +
* Ceiling Mount Wireless Access Point
 +
* PoE 802.3af
 +
* 108 Mbps
 +
* pictures: http://intercity-vpn.de/files/level1-wap-3101/
 +
 +
<pre>
 +
bastian@bastian-laptop:~/levelone-wap-3101$ hexdump -C "WAP-3101(1.0.30(ETSI))_2009-1-21.img" | head -n4
 +
00000000  41 50 35 31 2d 33 36 36  30 0a 19 85 20 03 00 00  |AP51-3660... ...|
 +
00000010  00 0c f0 60 dc 98 19 85  e0 01 00 00 00 2b 3e 42  |...`.........+>B|
 +
00000020  24 27 00 00 00 01 00 00  00 00 00 00 00 02 49 70  |$'............Ip|
 +
00000030  09 4b 03 04 00 00 69 30  e7 7c 55 66 83 ff 62 69  |.K....i0.|Uf..bi|
 +
 +
bastian@bastian-laptop:~/levelone-wap-3101$ ls -l "WAP-3101(1.0.30(ETSI))_2009-1-21.img"
 +
-rw-r--r-- 1 bastian bastian 3670026 2009-01-16 13:16 WAP-3101(1.0.30(ETSI))_2009-1-21.img
 +
 +
root@Buero-bittorfBUFFI-MESH:~ _net  mac2vendor 00:11:6B:EA:0E:E5
 +
May 07 11:25:47 ' [up 173345s 2220032 bytes free] TERM:xterm -ash [daemon.debug] net_mac2vendor() not cached yet, working for '00:11:6B:EA:0E:E5'
 +
May 07 11:25:48 ' [up 173346s 2220032 bytes free] TERM:xterm -ash [daemon.debug] net_mac2vendor() sanitized '00:11:6B:EA:0E:E5' to '00116b'
 +
Digital Data Communications Asia Co.,Ltd
 +
8F,No.41,Lane 221,Kang-Chien RD.,Nei-Hu Dis.,
 +
Taipei City  114
 +
TAIWAN, REPUBLIC OF CHINA
 +
</pre>
 +
 +
<pre>
 +
# ls -l /lib/
 +
lrwxrwxrwx    1 0        0              19 libc.so.0 -> libuClibc-0.9.26.so
 +
-rw-r--r--    1 0        0            7684 libdl.so.0
 +
lrwxrwxrwx    1 0        0              18 libcrypt.so.0 -> libcrypt-0.9.26.so
 +
-rwxr-xr-x    1 0        0          148892 libnetsnmphelpers.so.10
 +
-rw-r--r--    1 0        0          296356 libuClibc-0.9.26.so
 +
drwxr-xr-x    1 0        0              0 modules
 +
lrwxrwxrwx    1 0        0              19 ld-uClibc.so.0 -> ld-uClibc-0.9.26.so
 +
-rw-r--r--    1 0        0            2184 libnsl.so.0
 +
-rwxr-xr-x    1 0        0          28829 libiw.so.26
 +
-rwxr-xr-x    1 0        0          514376 libnetsnmp.so.10
 +
-rw-r--r--    1 0        0          100775 libpthread.so.0
 +
-rwxr-xr-x    1 0        0          159852 libnetsnmpagent.so.10
 +
-rwxr-xr-x    1 0        0          416172 libnetsnmpmibs.so.10
 +
-rw-r--r--    1 0        0          13320 libcrypt-0.9.26.so
 +
-rwxr-xr-x    1 0        0          20760 ld-uClibc-0.9.26.so
 +
-rw-r--r--    1 0        0          29988 libm.so.0
 +
# ls -l /bin
 +
-rwxr-xr-x    1 0        0          505748 busybox
 +
-rwxr-xr-x    1 0        0          13488 radartool
 +
-rwxr-xr-x    1 0        0          13680 athstats
 +
-rwxr-xr-x    1 0        0            9612 athdebug
 +
lrwxrwxrwx    1 0        0              7 umount -> busybox
 +
-rwxr-xr-x    1 0        0          17596 wlanstats
 +
-rwxr-xr-x    1 0        0            9628 wlandebug
 +
-rwxr-xr-x    1 0        0          17596 80211stats
 +
-rwxr-xr-x    1 0        0            9628 80211debug
 +
lrwxrwxrwx    1 0        0              7 uname -> busybox
 +
lrwxrwxrwx    1 0        0              7 sleep -> busybox
 +
lrwxrwxrwx    1 0        0              7 rmdir -> busybox
 +
lrwxrwxrwx    1 0        0              7 mount -> busybox
 +
lrwxrwxrwx    1 0        0              7 mknod -> busybox
 +
lrwxrwxrwx    1 0        0              7 mkdir -> busybox
 +
lrwxrwxrwx    1 0        0              7 login -> busybox
 +
lrwxrwxrwx    1 0        0              7 fgrep -> busybox
 +
lrwxrwxrwx    1 0        0              7 egrep -> busybox
 +
lrwxrwxrwx    1 0        0              7 dmesg -> busybox
 +
lrwxrwxrwx    1 0        0              7 chmod -> busybox
 +
-rwxr-xr-x    1 0        0          21808 wlanconfig
 +
lrwxrwxrwx    1 0        0              7 ping -> busybox
 +
lrwxrwxrwx    1 0        0              7 kill -> busybox
 +
lrwxrwxrwx    1 0        0              7 grep -> busybox
 +
lrwxrwxrwx    1 0        0              7 echo -> busybox
 +
lrwxrwxrwx    1 0        0              7 date -> busybox
 +
lrwxrwxrwx    1 0        0              7 sed -> busybox
 +
lrwxrwxrwx    1 0        0              7 pwd -> busybox
 +
lrwxrwxrwx    1 0        0              7 cat -> busybox
 +
lrwxrwxrwx    1 0        0              7 ash -> busybox
 +
lrwxrwxrwx    1 0        0              7 vi -> busybox
 +
lrwxrwxrwx    1 0        0              7 sh -> busybox
 +
lrwxrwxrwx    1 0        0              7 rm -> busybox
 +
lrwxrwxrwx    1 0        0              7 ps -> busybox
 +
lrwxrwxrwx    1 0        0              7 mv -> busybox
 +
lrwxrwxrwx    1 0        0              7 ls -> busybox
 +
lrwxrwxrwx    1 0        0              7 ln -> busybox
 +
lrwxrwxrwx    1 0        0              7 df -> busybox
 +
lrwxrwxrwx    1 0        0              7 cp -> busybox
 +
# ls -l /sbin
 +
lrwxrwxrwx    1 0        0              14 udhcpc -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 reboot -> ../bin/busybox
 +
-rwxr-xr-x    1 0        0          13600 iwpriv
 +
-rwxr-xr-x    1 0        0          22000 iwlist
 +
lrwxrwxrwx    1 0        0              14 insmod -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 logread -> ../bin/busybox
 +
-rwxr-xr-x    1 0        0          25888 iwconfig
 +
lrwxrwxrwx    1 0        0              14 vconfig -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 ifconfig -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 watchdog -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 syslogd -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 modprobe -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 route -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 rmmod -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 lsmod -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 klogd -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 brctl -> ../bin/busybox
 +
lrwxrwxrwx    1 0        0              14 init -> ../bin/busybox
 +
# ls -l /usr/sbin/
 +
-rwxr-xr-x    1 0        0          14236 snmptrap
 +
-rwxr-xr-x    1 0        0              23 cfg_set
 +
-rwxr-xr-x    1 0        0          34792 cfg_mgr
 +
-rwxr-xr-x    1 0        0              18 cfg_get
 +
-rwxr-xr-x    1 0        0              27 cfg_fac
 +
-rwxr-xr-x    1 0        0          348157 wpa_supplicant
 +
-rwxr-xr-x    1 0        0          16768 mysniffer
 +
-rwxr-xr-x    1 0        0          16880 peerstat
 +
lrwxrwxrwx    1 0        0              17 udhcpd -> ../../bin/busybox
 +
-rwxr-xr-x    1 0        0          24636 mbssid
 +
lrwxrwxrwx    1 0        0              17 chroot -> ../../bin/busybox
 +
-rwxr-xr-x    1 0        0          18932 locator
 +
-rwxr-xr-x    1 0        0          10168 htpasswd
 +
-rwxr-xr-x    1 0        0          14552 cfg_test
 +
-rwxr-xr-x    1 0        0              14 cfg_save
 +
-rwxr-xr-x    1 0        0          26624 ntpclient
 +
-rwxr-xr-x    1 0        0          70176 mini_httpd
 +
-rwxr-xr-x    1 0        0          265168 hostapd
 +
-rwxr-xr-x    1 0        0          13688 stacserv
 +
lrwxrwxrwx    1 0        0              17 telnetd -> ../../bin/busybox
 +
-rwxr-xr-x    1 0        0          26760 snmpd
 +
lrwxrwxrwx    1 0        0              17 crond -> ../../bin/busybox
 +
-rwxr-xr-x    1 0        0          26263 wpp
 +
-rwxr-xr-x    1 0        0          78412 rc
 +
 +
# mini_httpd --help
 +
HAVE_SENDFILE
 +
HAVE_LINUX_SENDFILE
 +
usage:  mini_httpd [-C configfile] [-D] [-p port] [-d dir] [-dd data_dir] [-c cgipat] [-u user] [-h hostname] [-r] [-v] [-l logfile] [-i pidfile] [-T charset] [-P P3P] [-M maxage]
 +
 +
</pre>
 +
 +
 +
<pre>
 +
root@Buero-bittorfBUFFI-MESH:~ telnet 192.168.1.1
 +
 +
Entering character mode
 +
Escape character is '^]'.
 +
 +
 +
(none) login: admin
 +
Password:
 +
 +
 +
BusyBox v1.00-pre10 (2009.01.16-02:32+0000) Built-in shell (ash)
 +
Enter 'help' for a list of built-in commands.
 +
 +
# help
 +
 +
Built-in commands:
 +
-------------------
 +
        . : alias bg break cd chdir continue eval exec exit export false
 +
        fg getopts hash help jobs kill let local pwd read readonly return
 +
        set shift times trap true type ulimit umask unalias unset wait
 +
 +
 +
# cat /proc/meminfo
 +
        total:    used:    free:  shared: buffers:  cached:
 +
Mem:  14815232 10428416  4386816        0        0  5554176
 +
Swap:        0        0        0
 +
MemTotal:        14468 kB
 +
MemFree:          4284 kB
 +
MemShared:          0 kB
 +
Buffers:            0 kB
 +
Cached:          5424 kB
 +
SwapCached:          0 kB
 +
Active:          1936 kB
 +
Inactive:        4700 kB
 +
HighTotal:          0 kB
 +
HighFree:            0 kB
 +
LowTotal:        14468 kB
 +
LowFree:          4284 kB
 +
SwapTotal:          0 kB
 +
SwapFree:            0 kB
 +
# cat /proc/cpuinfo
 +
system type            : Atheros AR531X_COBRA
 +
processor              : 0
 +
cpu model              : unknown V6.4
 +
BogoMIPS                : 183.50
 +
wait instruction        : no
 +
microsecond timers      : yes
 +
tlb_entries            : 16
 +
extra interrupt vector  : yes
 +
hardware watchpoint    : no
 +
VCED exceptions        : not available
 +
VCEI exceptions        : not available
 +
# cat /proc/mtd
 +
dev:    size  erasesize  name
 +
mtd0: 00400000 00010000 "spiflash"
 +
mtd1: 00030000 00010000 "RedBoot"
 +
mtd2: 002f0000 00010000 "rootfs"
 +
mtd3: 000a0000 00010000 "vmlinux.bin.l7"
 +
mtd4: 00020000 00010000 "cfg"
 +
mtd5: 0000f000 00010000 "FIS directory"
 +
mtd6: 00001000 00010000 "RedBoot config"
 +
# cat /proc/version
 +
Linux version 2.4.25-LSDK-5.3.1.46 (root@localhost.localdomain) (gcc version 3.3.3) #1 Fri Jan 16 10:26:45 CST 2009
 +
# cat /proc/bus/ 
 +
# ls -l /proc/bus
 +
# dmesg
 +
# ifconfig
 +
ath1      Link encap:Ethernet  HWaddr 00:11:6B:EA:0E:E5 
 +
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +
          RX packets:1541 errors:0 dropped:0 overruns:0 frame:0
 +
          TX packets:1696 errors:0 dropped:0 overruns:0 carrier:0
 +
          collisions:0 txqueuelen:0
 +
          RX bytes:996666 (973.3 KiB)  TX bytes:375866 (367.0 KiB)
 +
 +
br0      Link encap:Ethernet  HWaddr 00:11:6B:EA:0E:E5 
 +
          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:2234 errors:0 dropped:0 overruns:0 frame:0
 +
          TX packets:1165 errors:0 dropped:0 overruns:0 carrier:0
 +
          collisions:0 txqueuelen:0
 +
          RX bytes:328866 (321.1 KiB)  TX bytes:205144 (200.3 KiB)
 +
 +
eth0      Link encap:Ethernet  HWaddr 00:11:6B:EA:0E:E5 
 +
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +
          RX packets:1864 errors:0 dropped:0 overruns:0 frame:0
 +
          TX packets:1377 errors:0 dropped:0 overruns:0 carrier:0
 +
          collisions:0 txqueuelen:1000
 +
          RX bytes:332884 (325.0 KiB)  TX bytes:0 (0.0 B)
 +
 +
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:2335 errors:0 dropped:0 overruns:0 frame:0
 +
          TX packets:2335 errors:0 dropped:0 overruns:0 carrier:0
 +
          collisions:0 txqueuelen:0
 +
          RX bytes:129889 (126.8 KiB)  TX bytes:129889 (126.8 KiB)
 +
 +
wifi0    Link encap:Ethernet  HWaddr 00:11:6B:EA:0E:E5 
 +
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +
          RX packets:1672 errors:0 dropped:0 overruns:0 frame:6438
 +
          TX packets:1768 errors:22 dropped:0 overruns:0 carrier:0
 +
          collisions:0 txqueuelen:199
 +
          RX bytes:1037899 (1013.5 KiB)  TX bytes:419223 (409.3 KiB)
 +
          Interrupt:3 Memory:b0000000-b00ffffc
 +
</pre>
    
====Vendor / Model====
 
====Vendor / Model====
Zeile 177: Zeile 469:     
====Chips====
 
====Chips====
** AMD: Elan SC400-33AC Embedded x86 Processor
+
** AMD: Elan SC400-33AC Embedded x86 Processor / 96170
** ETHERNET, 10 mbit: 10baseT AMD PCnet ISA II (AM 79C961 AKC) ISA bridge  
+
** ETHERNET, 10 mbit: 10baseT AMD PCnet ISA II (AM 79C961 AKC) ISA bridge (http://cateee.net/lkddb/web-lkddb/LANCE.html)
 
** RAM: 4096 KB
 
** RAM: 4096 KB
 
*** 2 x VG26V18165CJ SAO46U - 6
 
*** 2 x VG26V18165CJ SAO46U - 6
Zeile 203: Zeile 495:     
====Links====
 
====Links====
 +
** http://www.youtube.com/watch?v=aUVuWmcO6Bo (Interview in TV with Doug Karl)
 
** http://www.murgatroid.com/rg1000/rg1000.htm
 
** http://www.murgatroid.com/rg1000/rg1000.htm
 
** http://www.icir.org/fenner/airport/
 
** http://www.icir.org/fenner/airport/
Zeile 208: Zeile 501:  
** http://gicl.cs.drexel.edu/people/sevy/airport/
 
** http://gicl.cs.drexel.edu/people/sevy/airport/
 
** http://www.e-bulles.be/bubble/RC-1000
 
** http://www.e-bulles.be/bubble/RC-1000
 +
** http://bulles.topgame.be/bubble/Rg_Install
 
** http://seattlewireless.net/moin.cgi/OrinocoRg1000
 
** http://seattlewireless.net/moin.cgi/OrinocoRg1000
 
** http://ftp.escom.bg/Linux/wireless/rg1000/
 
** http://ftp.escom.bg/Linux/wireless/rg1000/

Navigationsmenü