rendered paste bodyroot@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 ifname eth0
option proto static
option ipaddr '192.168.0.2'
option netmask '255.255.255.0'
option gateway '192.168.0.1'
option dns '192.168.0.1'
root@OpenWrt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel '1'
option mode ''
option maxassoc '128'
option distance '100'
config wifi-iface
option device wifi0
option network lan
option mode 'sta'
option ssid 'blafreuheu'
option hidden '0'
option encryption 'none'
option bssid ''
option server ''
option port ''
option isolate ''
option key1 ''
option key2 ''
option key3 ''
option key4 ''
option key 'dingensfreu'
root@OpenWrt:~# ifconfig
ath0 Link encap:Ethernet HWaddr 00:18:84:13:A5:69
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1225 errors:0 dropped:0 overruns:0 frame:0
TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:76978 (75.1 KiB) TX bytes:12297 (12.0 KiB)
eth0 Link encap:Ethernet HWaddr 00:18:84:13:A5:68
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:4 Base address:0x1000
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:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3084 (3.0 KiB) TX bytes:3084 (3.0 KiB)
wifi0 Link encap:Ethernet HWaddr 00:18:84:13:A5:69
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25524 errors:0 dropped:0 overruns:0 frame:26
TX packets:292 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:2313149 (2.2 MiB) TX bytes:23981 (23.4 KiB)
Interrupt:3 Memory:b0000000-b00ffffc
root@OpenWrt:~#
root@OpenWrt:~# iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:"blafreuheu" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: 00:14:BF:1B:B1:45
Bit Rate:54 Mb/s Tx-Power:17 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=37/94 Signal level=-58 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0