Advertisement
Guest User

pings and wget the ubuntu lost proxy tale

a guest
Jan 29th, 2014
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 KB | None | 0 0
  1. s2k24@DC01:~$ grep -i proxy /etc/environment
  2. s2k24@DC01:~$ ping 8.8.8.8
  3. PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
  4. 64 bytes from 8.8.8.8: icmp_req=1 ttl=45 time=35.3 ms
  5. 64 bytes from 8.8.8.8: icmp_req=2 ttl=46 time=34.1 ms
  6. 64 bytes from 8.8.8.8: icmp_req=3 ttl=46 time=34.5 ms
  7. 64 bytes from 8.8.8.8: icmp_req=4 ttl=44 time=34.4 ms
  8. 64 bytes from 8.8.8.8: icmp_req=5 ttl=46 time=38.4 ms
  9. 64 bytes from 8.8.8.8: icmp_req=6 ttl=46 time=38.6 ms
  10. 64 bytes from 8.8.8.8: icmp_req=7 ttl=44 time=38.5 ms
  11. 64 bytes from 8.8.8.8: icmp_req=8 ttl=45 time=34.4 ms
  12. 64 bytes from 8.8.8.8: icmp_req=9 ttl=46 time=34.0 ms
  13. 64 bytes from 8.8.8.8: icmp_req=10 ttl=46 time=34.3 ms
  14. 64 bytes from 8.8.8.8: icmp_req=11 ttl=46 time=38.6 ms
  15. 64 bytes from 8.8.8.8: icmp_req=12 ttl=45 time=33.8 ms
  16. 64 bytes from 8.8.8.8: icmp_req=13 ttl=46 time=38.6 ms
  17. 64 bytes from 8.8.8.8: icmp_req=14 ttl=46 time=38.7 ms
  18. 64 bytes from 8.8.8.8: icmp_req=15 ttl=45 time=34.0 ms
  19. 64 bytes from 8.8.8.8: icmp_req=16 ttl=46 time=38.7 ms
  20. 64 bytes from 8.8.8.8: icmp_req=17 ttl=45 time=33.9 ms
  21. ^C
  22. --- 8.8.8.8 ping statistics ---
  23. 17 packets transmitted, 17 received, 0% packet loss, time 16026ms
  24. rtt min/avg/max/mdev = 33.883/36.095/38.761/2.160 ms
  25. s2k24@DC01:~$ ping google.com
  26. PING google.com (173.194.41.1) 56(84) bytes of data.
  27. 64 bytes from mad01s14-in-f1.1e100.net (173.194.41.1): icmp_req=1 ttl=55 time=12.9 ms
  28. 64 bytes from mad01s14-in-f1.1e100.net (173.194.41.1): icmp_req=2 ttl=55 time=13.6 ms
  29. 64 bytes from mad01s14-in-f1.1e100.net (173.194.41.1): icmp_req=3 ttl=55 time=13.0 ms
  30. 64 bytes from mad01s14-in-f1.1e100.net (173.194.41.1): icmp_req=4 ttl=55 time=12.6 ms
  31. 64 bytes from mad01s14-in-f1.1e100.net (173.194.41.1): icmp_req=5 ttl=55 time=12.6 ms
  32. 64 bytes from mad01s14-in-f1.1e100.net (173.194.41.1): icmp_req=6 ttl=55 time=12.8 ms
  33. 64 bytes from mad01s14-in-f1.1e100.net (173.194.41.1): icmp_req=7 ttl=55 time=12.7 ms
  34. 64 bytes from mad01s14-in-f1.1e100.net (173.194.41.1): icmp_req=8 ttl=55 time=13.1 ms
  35. ^C64 bytes from mad01s14-in-f1.1e100.net (173.194.41.1): icmp_req=9 ttl=55 time=12.7 ms
  36.  
  37. --- google.com ping statistics ---
  38. 9 packets transmitted, 9 received, 0% packet loss, time 40439ms
  39. rtt min/avg/max/mdev = 12.607/12.934/13.669/0.311 ms
  40. s2k24@DC01:~$ sudo nano /etc/apt/apt.conf.d
  41. [sudo] password for s2k24:
  42. s2k24@DC01:~$ cd /etc/apt/apt.conf.d
  43. s2k24@DC01:/etc/apt/apt.conf.d$ ls
  44. 00aptitude 05aptitude 20changelog 99synaptic
  45. 00trustcdrom 10periodic 20dbus 99update-notifier
  46. 01autoremove 15update-stamp 50unattended-upgrades
  47. 01autoremove-kernels 20archive 70debconf
  48. s2k24@DC01:/etc/apt/apt.conf.d$ sudo nano 99synaptic
  49. s2k24@DC01:/etc/apt/apt.conf.d$ sudo nano 00aptitude
  50. s2k24@DC01:/etc/apt/apt.conf.d$ sudo nano 05aptitude
  51. s2k24@DC01:/etc/apt/apt.conf.d$ sudo nano 70debconf
  52. s2k24@DC01:/etc/apt/apt.conf.d$ wget http://es.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg
  53. --2014-01-29 13:30:55-- http://es.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg
  54. Resolving es.archive.ubuntu.com (es.archive.ubuntu.com)... 150.214.5.135, 2a00:9ac0:c1ca:6::135
  55. Connecting to es.archive.ubuntu.com (es.archive.ubuntu.com)|150.214.5.135|:80... connected.
  56. HTTP request sent, awaiting response... 200 OK
  57. Length: 198 [text/plain]
  58. Release.gpg: Permission denied
  59.  
  60. Cannot write to `Release.gpg' (Permission denied).
  61. s2k24@DC01:/etc/apt/apt.conf.d$ sudo wget http://es.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg
  62. --2014-01-29 13:31:31-- http://es.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg
  63. Resolving es.archive.ubuntu.com (es.archive.ubuntu.com)... 150.214.5.135, 2a00:9ac0:c1ca:6::135
  64. Connecting to es.archive.ubuntu.com (es.archive.ubuntu.com)|150.214.5.135|:80... connected.
  65. HTTP request sent, awaiting response... 200 OK
  66. Length: 198 [text/plain]
  67. Saving to: `Release.gpg'
  68.  
  69. 100%[======================================>] 198 --.-K/s in 0s
  70.  
  71. 2014-01-29 13:31:42 (4,73 MB/s) - `Release.gpg' saved [198/198]
  72.  
  73. s2k24@DC01:/etc/apt/apt.conf.d$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement