Created
September 7, 2010 18:24
-
-
Save andrewroth/568788 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script started on Tue Sep 7 15:13:23 2010 | |
root@andrew2-openpandora:~# ifconfig | |
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:15 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:954 (954.0 b) TX bytes:954 (954.0 b) | |
usb0 Link encap:Ethernet HWaddr EE:98:1A:A5:74:B7 | |
inet addr:192.168.0.202 Bcast:192.168.0.255 Mask:255.255.255.0 | |
UP BROADCAST 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) | |
wlan0 Link encap:Ethernet HWaddr 00:19:94:0F:B2:46 | |
inet addr:192.168.1.149 Bcast:192.168.1.255 Mask:255.255.255.0 | |
inet6 addr: fe80::219:94ff:fe0f:b246/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:62 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:45 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:6126 (5.9 KiB) TX bytes:9707 (9.4 KiB) | |
root@andrew2-openpandora:~# cat /tc/ etc/resolv: .con[15D | |
root@andrew2-openpandora:~# cat /etc/resolv.conf [J | |
# Generated by NetworkManager | |
nameserver 192.168.1.1 | |
root@andrew2-openpandora:~# ping 192.168.1.1 | |
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. | |
From 192.168.1.149 icmp_seq=1 Destination Host Unreachable | |
From 192.168.1.149 icmp_seq=2 Destination Host Unreachable | |
From 192.168.1.149 icmp_seq=3 Destination Host Unreachable | |
^C | |
--- 192.168.1.1 ping statistics --- | |
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5038ms | |
, pipe 3 | |
root@andrew2-openpandora:~# ping yahoo.ca | |
^C | |
root@andrew2-openpandora:~# route -n | |
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0 | |
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0 | |
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 | |
root@andrew2-openpandora:~# sudo route add default g w 192.168.1.1 | |
root@andrew2-openpandora:~# ping yahoo.ca | |
^C | |
root@andrew2-openpandora:~# ping 192.168.1.1 | |
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. | |
From 192.168.1.149 icmp_seq=2 Destination Host Unreachable | |
From 192.168.1.149 icmp_seq=3 Destination Host Unreachable | |
From 192.168.1.149 icmp_seq=4 Destination Host Unreachable | |
^X^C | |
--- 192.168.1.1 ping statistics --- | |
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4007ms | |
, pipe 3 | |
root@andrew2-openpandora:~# exit | |
Script done on Tue Sep 7 15:19:45 2010 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment