[Berlin-wireless] FFLuci - Zusatzkonfig

Sven-Ola Tuecke sven-ola
Mi Nov 12 11:34:20 CET 2008


Hey,

ja so aehnlich. Es ist offenbar "option sw_merge 1" - dann auch in ad-hoc. Das 
fuehrt mich zu folgender Kurzbeschreibung:

Using that thing as freifunk router
===================

With the advent of the ffluci interface, doing the base config is 
straightforward: 

01) Start you web browser and go to http://192.168.1.1/
      Click "Administration". Password is empty.
02) Go to "System:Passwort ändern" and hack in a new password.
03) Go to "Freifunk:Freifunkassistent". Activate "Freifunkzugang einrichten".
04) Enter your Freifunk-IP and click "Absenden" followed
      by "Speichern&Anwenden". (This may restart the router. Wait 
      and re-login using your new password)
05) Go to "Freifunk:Kontakt" and enter your credentials. Do not forget the
      GPS position.
06) Go to "System:System" and change "Hostname" and "Zeitzone".
      Click "Speichern&Anwenden".
07) Go to "Netzwerk:Drahtlos:Wifi0". Verfiy the settings. You may
      want "Rts=2346" and "Fragment=2346". Click on 
      "Speichern&Anwenden" shows uncritial error. Ignore.
08) Go to "System:Paketverwaltung:IPKG". Change the "8.09_rc1" to the 
      correct "8.09_RC1" uppercase. Click "Absenden".
09) Start "ssh 192.168.1.1" on your PC. Login. Enter 
      "cd /etc/config;vi wireless". Go to last line (in config 
      'wifi-iface' section) using the cursor keys. Press the
      ["i"] key and add a line "(tab)option sw_merge 1". 
      Press ["esc"],["w"],["q"],["ret"]. This writes the file. 
      The change prevents madwifi from blocking TX from time to time.
10) Enter "cd /etc/modules.d;vi 50-madwifi". Add "countrycode=276"
      behind "ath_ahb".For vi usage see step 8. Your countrycode may
      be different. Free up channel 13 on ath0, that channel is legal
      in country 276 (germany).
11) You may want a shell status script for OLSR. Enter "cd /usr/sbin" and
      copy/paste this:
echo>neigh.sh<<EOF
#!/bin/sh
wget -q -O - http://localhost:2006/neighbours
EOF
    Then enter "chmod +x neigh.sh" and test by entering "neigh.sh".
12) Now install some soft. Enter "opkg update" and "opkg list". You may
      want to test with "opkg install tcpdump". After installation, you
      may "tcpdump -ni ath0" to watch the network activity. 

The DIR-300 is now usable as Freifunk Router with reasonable defaults. After 
startup, it needs too long to detect active neighbours (needs a minute or 
two) for unknown reason. The horst tool does not show anything. But you can 
attach a PC via cable, start DHCP on eth and use Freifunk as inet gate with 
this...

// Sven-Ola

Am Mittwoch 12 November 2008 10:23:01 schrieb tetzlav:
> Hallo Sven-Ola,
>
> Sven-Ola Tücke schrieb:
> > Hey,
> >
> > bei einer aktuellen FFLuci: Weiss jemand, wo unter /etc/config ich
> > den "nosbeacon" fuer wlanconfig normalerweise 'reinschreiben kann? Ohne
> > das bekomme ich sowat:
> >
> > NETDEV WATCHDOG: wifi0: transmit timed out
> > NETDEV WATCHDOG: wifi0: transmit timed out
> > NETDEV WATCHDOG: wifi0: transmit timed out
> > wifi0: ath_bstuck_tasklet: Stuck beacon; resetting (beacon miss count:
> > 11) wifi0: ath_bstuck_tasklet: Stuck beacon; resetting (beacon miss
> > count: 11) wifi0: ath_bstuck_tasklet: Stuck beacon; resetting (beacon
> > miss count: 11)
>
> Ich hätte es als allererstes in/mit:
>
> /etc/config/wireless
> [...]
> config wifi-iface
> 	option device wifi0
> 	[...]
> 	option nosbeacon 1
>
> versucht! ;)
>
> > Jaja - ich kanns selber suchen. Aber was Kamikaze angeht, bin ich jetzt
> > einfach mal im luxurioesen "Anwender-Modus" *g*.
> >
> > // Sven-Ola
>
> hast es dir ja auch verdient!
> aber musst dann auch mit solchen Antworten rechnen... :-P
>
>
> Gruß
> tetzlav
>
> PS: aus irgendeinem Grund kann ich von news/gmane aus nicht auf diese Liste
> schreiben...!?
>
> _______________________________________________
> Berlin mailing list
> Berlin at berlin.freifunk.net
> http://lists.berlin.freifunk.net/cgi-bin/mailman/listinfo/berlin






Mehr Informationen über die Mailingliste Berlin