All pastes #427317 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-06 18:50 UTC
rendered paste body
root@OpenWrt:/# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org

config interface loopback
        option ifname   lo
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0

config interface lan
        option type     bridge
        option ifname   eth0
        option proto    'static'
        option ipaddr   '192.168.178.3'
        option netmask  '255.255.255.0'
        option gateway  '192.168.178.1'
        option dns      '192.168.178.1'
root@OpenWrt:/#

root@OpenWrt:/# cat /etc/config/wireless
# Copyright (C) 2006 OpenWrt.org

config wifi-device  wifi0
        option type     atheros
        option channel  1
#       option diversity 1
#       option txantenna 0
#       option rxantenna 0
#       option distance  2000
# disable radio to prevent an open ap after reflashing:
        option disabled 0

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     sta
        option ssid     OpenWrt
        option hidden   0
#       option txpower  15
#       option bgscan   enable
        option encryption psk2
        option key      "key"
root@OpenWrt:/#

root@OpenWrt:/# iwconfig ath0
ath0      IEEE 802.11g  ESSID:"OpenWrt"  Nickname:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:18:84:14:39:95
          Bit Rate:54 Mb/s   Tx-Power:19 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:xxxx-xxxx-xxxx-78C8-8A73-257C-27D2-1AA1   Security mode
:restricted
          Power Management:off
          Link Quality=44/94  Signal level=-51 dBm  Noise level=-95 dBm
          Rx invalid nwid:670  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
root@OpenWrt:/#