[WLANware] bricked mit busybox?

Rainer Zocholl UseNet-Posting-Nospam-74308- at zocki.toppoint.de
Tue Sep 12 23:11:00 CEST 2006



Hallo

ich hoffe ich bin hier richtig mit fragen zur freifunk openwrt version ?

Neben mir steht ein WRT54G V2 bei dem die Power und DMZ LED dauer leuchet...

Wie kam das?

Update von ca. FF 1.0.7 auf 1.2.5
Dann wollte ich "kurzmal" die kisemet-drone ausprobieren.
Funktionierte nicht, weil ne alte libpcap installiert wird(.083), 
obwohl die Software .9 braucht. (Details siehe unten)
Also "kismet" installiert, in der Hoffnung das das die richtige lib
anzieht.
Funktioniert auch nicht, shell "tr" fehlt.
Woher nehmen?
Einfach mal busybox neu installieren?
Warum nicht? Ich kann ja immer nur per tftp flashen.

Tja, danach wurde jeder Befehl mit einem Segment fault beantwortet.

Also (XP home) auf 192er netz
netsh dump > netsh.savedhcp
-> IP nummer auf 192.168.1.2
netsh dump > netsh.192.168.1.2

C:\Linksys-WRTG>tftp -i 192.168.1.1 put openwrt-g-freifunk-1.2.5-de.bin
Übertragung erfolgreich: 1438720 Bytes in 4 Sekundens, 359680 Bytes/s

Blinken hört nach ein paar Sekunden auf und Power,DMZ und die LAN LED geht
an, kiste hat also gebooted aber scheint in deer init scheife zuhängen?

IP zurück bauen:
netsh < netsh.savedhcp

ping 10.10.10.9
Ping wird ausgeführt für 10.10.10.9 mit 32 Bytes Daten:
Zeitüberschreitung der Anforderung.
Zeitüberschreitung der Anforderung.


Und nu?
Wo ist die Kiste geblieben?
Ganz tot ist sie ja nicht.
Ich kann sie beliebig oft flashen,
aber weder unter 192.168.1.1 nochunter der alten IP erreichen.


Also mal das "orginal" flashen:
>tftp -i 192.168.1.1 put openwrt-wrt54g-squashfs.bin
 
telnet 10.10.10.9

geht!

also openwrt-g-freifunk-1.2.5-de.bin per tftp:
geht nicht

Ich habe dann mal die openwrt version probiert:
Läuft!

Also hat die 1.2.5 irgendein Problem?


freifunk wieder drauf:
Hängt wie gehabt.




#######################################################################

So in etwa sieht es aus:


BusyBox v1.01 (2006.04.12-12:05+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 (       ).-----.-----.-----.)  )  )  ).----.)  )
 (   -   ))  _  )  -__)     ))  )  )  ))   _))   _)
 (_______))   __)_____)__)__))________))__)  )____)
          )__) F R E I F U N K  F I R M W A R E


root at linksys:~# ipkg update
Downloading http://styx.commando.de/sven-ola/ipkg/Packages ...
Connecting to styx.commando.de[212.91.225.42]:80
Packages             100% |*****************************| 42038       00:00 ETA
Done.
Updated list of available packages in /usr/lib/ipkg/lists/freifunk
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ...
Connecting to downloads.openwrt.org[195.56.146.238]:80
Packages             100% |*****************************|   121 KB    00:00 ETA
Done.
Updated list of available packages in /usr/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages                         ...
Connecting to downloads.openwrt.org[195.56.146.238]:80
Packages             100% |*****************************|   568       00:00 ETA
Done.
Updated list of available packages in /usr/lib/ipkg/lists/non-free
root at linksys:~# ipkg upgrade
Package dropbear (0.47) installed in root is up to date
Package freifunk-dnsmasq (1.2.5) installed in root is up to date
Package freifunk-mtdkill (0.2) installed in root is up to date
Package wl (1.0) installed in root is up to date
Package freifunk-olsrd (0.4.10) installed in root is up to date
Package freifunk-rdate (1.2.5) installed in root is up to date
Package freifunk-upload (0.8) installed in root is up to date
Not downgrading package ip from 2.0
2.0 to 2.0
Package freifunk-webadmin-de (1.2.5) installed in root is up to date
Not downgrading package ip from 2.0
2.0 to 2.0
Package wificonf (1.3) installed in root is up to date
Assuming locally installed package kernel (2.4.30-brcm-3) is up to date
Not downgrading package base-files from 999 to 8


root at linksys:~# ipkg install kismet-drone

Downloading http://styx.commando.de/sven-ola/ipkg/libpcap_0.8.3-1_mipsel.ipk ...
Connecting to styx.commando.de[212.91.225.42]:80
libpcap_0.8.3-1_mips 100% |*****************************************************| 61462       00:00 ETA
Done.
Unpacking libpcap...Done.
Configuring libpcap...Done.

Downloading http://styx.commando.de/sven-ola/ipkg/uclibc++_0.1.11-2_mipsel.ipk ...
Connecting to styx.commando.de[212.91.225.42]:80
uclibc++_0.1.11-2_mi 100% |*****************************************************| 56000       00:00 ETA
Done.
Unpacking uclibc++...Done.
Configuring uclibc++...Done.

Downloading http://downloads.openwrt.org/whiterussian/packages/kismet-drone_2005-08-R1-1_mipsel.ipk ...
Connecting to downloads.openwrt.org[195.56.146.238]:80
kismet-drone_2005-08 100% |*****************************************************| 89358       00:00 ETA
Done.
Unpacking kismet-drone...Done.
Configuring kismet-drone...Done.


root at linksys:~# kismet_drone
kismet_drone: can't load library 'libpcap.so.0.9'
root at linksys:~# ipkg install libpcap

Downloading http://styx.commando.de/sven-ola/ipkg/libpcap_0.8.3-1_mipsel.ipk ...
Connecting to styx.commando.de[212.91.225.42]:80
libpcap_0.8.3-1_mips 100% |*****************************************************| 61462       00:00 ETA
Done.
Unpacking libpcap...Done.
Configuring libpcap...Done.


root at linksys:~# ipkg install kismet

Downloading http://styx.commando.de/sven-ola/ipkg/libgcc_3.4.4-8_mipsel.ipk ...
Connecting to styx.commando.de[212.91.225.42]:80
libgcc_3.4.4-8_mipse 100% |*****************************************************| 23387       00:00 ETA
Done.
Unpacking libgcc...Done.
Configuring libgcc...Done.

Downloading http://styx.commando.de/sven-ola/ipkg/libncurses_5.2_mipsel.ipk ...
Connecting to styx.commando.de[212.91.225.42]:80
libncurses_5.2_mipse 100% |*****************************************************|   109 KB    00:00 ETA
Done.
Unpacking libncurses...Done.
Configuring libncurses...Done.

Downloading http://styx.commando.de/sven-ola/ipkg/uclibc++_0.1.11-2_mipsel.ipk ...
Connecting to styx.commando.de[212.91.225.42]:80
uclibc++_0.1.11-2_mi 100% |*****************************************************| 56000       00:00 ETA
Done.
Unpacking uclibc++...Done.
Configuring uclibc++...Done.

Downloading http://downloads.openwrt.org/whiterussian/packages/kismet-client_2005-08-R1-1_mipsel.ipk ...
Connecting to downloads.openwrt.org[195.56.146.238]:80
kismet-client_2005-0 100% |*****************************************************|   148 KB    00:00 ETA
Done.
Unpacking kismet-client...Done.
Configuring kismet-client...Done.

Downloading http://downloads.openwrt.org/whiterussian/packages/kismet-server_2005-08-R1-1_mipsel.ipk ...
Connecting to downloads.openwrt.org[195.56.146.238]:80
kismet-server_2005-0 100% |*****************************************************|   201 KB    00:00 ETA
Done.
Unpacking kismet-server...Done.
Configuring kismet-server...Configuration file `/etc/kismet/ap_manuf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions (if diff is installed)
 The default action is to keep your current version.
*** ap_manuf (Y/I/N/O/D) [default=N] ? d

diff -u ///etc/kismet/ap_manuf //tmp/ipkg/kismet-server/data//etc/kismet/ap_manuf
/bin/ipkg: 1182: diff: not found
[Press ENTER to continue]

Configuration file `/etc/kismet/ap_manuf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions (if diff is installed)
 The default action is to keep your current version.
*** ap_manuf (Y/I/N/O/D) [default=N] ? i
Configuration file `/etc/kismet/client_manuf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions (if diff is installed)
 The default action is to keep your current version.
*** client_manuf (Y/I/N/O/D) [default=N] ? y
Configuration file `/etc/kismet/kismet.conf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions (if diff is installed)
 The default action is to keep your current version.
*** kismet.conf (Y/I/N/O/D) [default=N] ? y
Done.

Downloading http://downloads.openwrt.org/whiterussian/packages/kismet_2005-08-R1-1_mipsel.ipk ...
Connecting to downloads.openwrt.org[195.56.146.238]:80
kismet_2005-08-R1-1_ 100% |*****************************************************|  1607       00:00 ETA
Done.
Unpacking kismet...Done.
Configuring kismet...Done.
root at linksys:~# kismet
/usr/bin/kismet: 12: tr: not found
/usr/bin/kismet: 13: tr: not found
No gui specified in /etc/kismet/kismet_ui.conf.  Please specify one!

...

root at linksys:~# ipkg install busybox

Downloading http://downloads.openwrt.org/whiterussian/packages/busybox_1.00-3_mipsel.ipk ...
Connecting to downloads.openwrt.org[195.56.146.238]:80
busybox_1.00-3_mipse 100% |*****************************************************|   249 KB    00:00 ETA
Done.
Unpacking busybox...Done.
Configuring busybox...rm: unable to remove `//tmp/ipkg/busybox/data': Is a directory
rmdir: `//tmp/ipkg/busybox': Directory not empty
mkdir: Cannot create directory `//': File exists
Done.
root at linksys:~# tr

root at linksys:~# kismet
Segmentation fault
root at linksys:~#
root at linksys:~#
root at linksys:~#
root at linksys:~# ps
  PID  Uid     VmSize Stat Command
    1 16749       340 S   init
    2 16749           SW  [keventd]
    3 16749           RWN [ksoftirqd_CPU0]
    4 16749           SW  [kswapd]
    5 16749           SW  [bdflush]
    6 16749           SW  [kupdated]
    8 16749           SW  [mtdblockd]
   44 16749           SWN [jffs2_gcd_mtd4]
   71 16749       320 S   klogd
   73 16749       348 S   syslogd -C 16
   79 16749       272 S   watchdog /dev/misc/watchdog
  499 16749       344 S   /usr/sbin/httpd -c /var/etc/httpd.conf -p 80 -h /www -r Freifunk Webadmin, Lo
  511 16749       348 S   /usr/sbin/crond -L /dev/null
  517 16749       360 S   /usr/bin/dropbear
  663 16749       592 S   olsrd -f /var/etc/olsrd.conf -d 0
  714 16749       356 S   udhcpc -i eth1 -b -p /var/run/eth1.pid
  730 16749       340 S   init
 1432 16749       568 S   /usr/bin/dropbear
 1445 16749       508 S   -ash
 8869 16749       568 S   /usr/bin/dropbear
 8870 16749       508 S   -ash
 9657 16749       568 R   /usr/bin/dropbear
 9658 16749       504 S   -ash
10395 16749       332 R   ps
root at linksys:~# kismet
Segmentation fault
root at linksys:~# sh -x `which kismet`
Segmentation fault
root at linksys:~# sh
Segmentation fault
root at linksys:~#
root at linksys:~#
root at linksys:~# ipkg
Segmentation fault
root at linksys:~# reboot






More information about the WLANware mailing list