All pastes #198441 Raw Edit

Miscellany

public text v1 · immutable
#198441 ·published 2006-10-12 00:10 UTC
rendered paste body
baron:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

tun0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"Bah"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:13:10:D6:F0:F6
          Bit Rate:5 Mb/s   Tx-Power:19 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:1234-5678-90   Security mode:restricted
          Power Management:off
          Link Quality=25/94  Signal level=-70 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

baron:~# ifconfig
ath0      Link encap:Ethernet  HWaddr B1:99:E5:7B:00:B5
          inet addr:192.168.31.12  Bcast:192.168.31.255  Mask:255.255.255.0
          inet6 addr: fe80::b399:e5ff:fe7b:b5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:860 (860.0 b)

eth0      Link encap:Ethernet  HWaddr 00:B0:D0:AB:E6:28
          inet addr:192.168.32.12  Bcast:192.168.32.255  Mask:255.255.255.0
          inet6 addr: fe80::2b0:d0ff:feab:e628/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8958 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7108 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8922643 (8.5 MiB)  TX bytes:603677 (589.5 KiB)
          Interrupt:169 Base address:0x4c00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:61 errors:0 dropped:0 overruns:0 frame:0
          TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6496 (6.3 KiB)  TX bytes:6496 (6.3 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-0A-EB-A6-BF-47-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2777 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:17 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:246953 (241.1 KiB)  TX bytes:2941 (2.8 KiB)
          Interrupt:185 Memory:d0980000-d0990000

baron:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.32.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.31.0    0.0.0.0         255.255.255.0   U     0      0        0 ath0
0.0.0.0         192.168.31.2    0.0.0.0         UG    0      0        0 ath0
0.0.0.0         192.168.32.200  0.0.0.0         UG    0      0        0 eth0
baron:~# ping 192.168.31.2
PING 192.168.31.2 (192.168.31.2) 56(84) bytes of data.
From 192.168.31.12 icmp_seq=2 Destination Host Unreachable
From 192.168.31.12 icmp_seq=3 Destination Host Unreachable
From 192.168.31.12 icmp_seq=4 Destination Host Unreachable
From 192.168.31.12 icmp_seq=6 Destination Host Unreachable
From 192.168.31.12 icmp_seq=7 Destination Host Unreachable
From 192.168.31.12 icmp_seq=8 Destination Host Unreachable
From 192.168.31.12 icmp_seq=10 Destination Host Unreachable
From 192.168.31.12 icmp_seq=11 Destination Host Unreachable
From 192.168.31.12 icmp_seq=12 Destination Host Unreachable
From 192.168.31.12 icmp_seq=14 Destination Host Unreachable
From 192.168.31.12 icmp_seq=15 Destination Host Unreachable
From 192.168.31.12 icmp_seq=16 Destination Host Unreachable
From 192.168.31.12 icmp_seq=18 Destination Host Unreachable
From 192.168.31.12 icmp_seq=19 Destination Host Unreachable
From 192.168.31.12 icmp_seq=20 Destination Host Unreachable

--- 192.168.31.2 ping statistics ---
23 packets transmitted, 0 received, +15 errors, 100% packet loss, time 22002ms
, pipe 3
baron:~# /etc/firewall/fw-list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Table: nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Table: mangle
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
baron:~#