
Ubuntu日本語フォーラム

ログインしていません。
題名通りwgetができません。
proxy環境下なのでproxy関係だと思って設定してみましたが
--2010-07-03 19:51:06-- (試行: 3) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:51:30-- (試行: 4) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:51:55-- (試行: 5) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:52:21-- (試行: 6) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:52:48-- (試行: 7) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:53:16-- (試行: 8) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:53:45-- (試行: 9) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:54:15-- (試行:10) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:54:46-- (試行:11) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:55:17-- (試行:12) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:55:48-- (試行:13) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:56:19-- (試行:14) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:56:50-- (試行:15) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:57:21-- (試行:16) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています... 失敗しました: Connection timed out. 再試行しています。 --2010-07-03 19:57:52-- (試行:17) http://www.yahoo.co.jp/ www.yahoo.co.jp|203.216.235.201|:80 に接続しています...
このように全く接続できません。
firefox・aptなどは問題なく接続できています。
export
declare -x ALL_PROXY="socks://xxxxxxxxxxxx:3128/" declare -x COLORTERM="gnome-terminal" declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-ZzMJLqvjcM,guid=5e0a5119c7676ef7994d6c664c2f17d7" declare -x DEFAULTS_PATH="/usr/share/gconf/gnome.default.path" declare -x DESKTOP_SESSION="gnome" declare -x DISPLAY=":0.0" declare -x GDMSESSION="gnome" declare -x GDM_KEYBOARD_LAYOUT="jp" declare -x GDM_LANG="ja_JP.utf8" declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated" declare -x GNOME_KEYRING_CONTROL="/tmp/keyring-Aysf1Z" declare -x GTK_IM_MODULE="ibus" declare -x GTK_MODULES="canberra-gtk-module" declare -x HOME="/home/cft" declare -x LANG="ja_JP.utf8" declare -x LESSCLOSE="/usr/bin/lesspipe %s %s" declare -x LESSOPEN="| /usr/bin/lesspipe %s" declare -x LOGNAME="cft" declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:" declare -x MANDATORY_PATH="/usr/share/gconf/gnome.mandatory.path" declare -x NO_PROXY="localhost,127.0.0.0/8,*.local," declare -x OLDPWD declare -x ORBIT_SOCKETDIR="/tmp/orbit-cft" declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" declare -x PWD="/home/cft" declare -x QT_IM_MODULE="xim" declare -x SESSION_MANAGER="local/gx-3:@/tmp/.ICE-unix/1017,unix/gx-3:/tmp/.ICE-unix/1017" declare -x SHELL="/bin/bash" declare -x SHLVL="1" declare -x SPEECHD_PORT="7560" declare -x SSH_AGENT_PID="1052" declare -x SSH_AUTH_SOCK="/tmp/keyring-Aysf1Z/ssh" declare -x TERM="xterm" declare -x USER="cft" declare -x USERNAME="cft" declare -x WINDOWID="54525955" declare -x XAUTHORITY="/var/run/gdm/auth-for-cft-HtgsX6/database" declare -x XDG_CONFIG_DIRS="/etc/xdg/xdg-gnome:/etc/xdg" declare -x XDG_DATA_DIRS="/usr/share/gnome:/usr/local/share/:/usr/share/" declare -x XDG_SESSION_COOKIE="e62777c2ab68cb6165e823674c2e35c7-1278154710.752264-661441784" declare -x XMODIFIERS="@im=ibus" declare -x all_proxy="socks://xxxxxxxxxxxxxxxxxxxxxxxx:3128/" declare -x ftp_proxy="ftp://xxxxxxxxxxxxxxxxxxxxxxxx:3128/" declare -x http_proxy="http://xxxxxxxxxxxxxxxxxxxxxxxx:3128/" declare -x https_proxy="https://proxy.noc.kochi-tech.ac.jp:3128/" declare -x no_proxy="localhost,127.0.0.0/8,*.local,"
/etc/wgetrc
### ### Sample Wget initialization file .wgetrc ### ## You can use this file to change the default behaviour of wget or to ## avoid having to type many many command-line options. This file does ## not contain a comprehensive list of commands -- look at the manual ## to find out what you can put into this file. ## ## Wget initialization file can reside in /etc/wgetrc ## (global, for all users) or $HOME/.wgetrc (for a single user). ## ## To use the settings in this file, you will have to uncomment them, ## as well as change them, in most cases, as the values on the ## commented-out lines are the default values (e.g. "off"). ## ## Global settings (useful for setting up in /etc/wgetrc). ## Think well before you change them, since they may reduce wget's ## functionality, and make it behave contrary to the documentation: ## # You can set retrieve quota for beginners by specifying a value # optionally followed by 'K' (kilobytes) or 'M' (megabytes). The # default quota is unlimited. #quota = inf # You can lower (or raise) the default number of retries when # downloading a file (default is 20). #tries = 20 # Lowering the maximum depth of the recursive retrieval is handy to # prevent newbies from going too "deep" when they unwittingly start # the recursive retrieval. The default is 5. #reclevel = 5 # By default Wget uses "passive FTP" transfer where the client # initiates the data connection to the server rather than the other # way around. That is required on systems behind NAT where the client # computer cannot be easily reached from the Internet. However, some # firewalls software explicitly supports active FTP and in fact has # problems supporting passive transfer. If you are in such # environment, use "passive_ftp = off" to revert to active FTP. #passive_ftp = off passive_ftp = on # The "wait" command below makes Wget wait between every connection. # If, instead, you want Wget to wait only between retries of failed # downloads, set waitretry to maximum number of seconds to wait (Wget # will use "linear backoff", waiting 1 second after the first failure # on a file, 2 seconds after the second failure, etc. up to this max). #waitretry = 10 ## ## Local settings (for a user to set in his $HOME/.wgetrc). It is ## *highly* undesirable to put these settings in the global file, since ## they are potentially dangerous to "normal" users. ## ## Even when setting up your own ~/.wgetrc, you should know what you ## are doing before doing so. ## # Set this to on to use timestamping by default: #timestamping = off # It is a good idea to make Wget send your email address in a `From:' # header with your request (so that server administrators can contact # you in case of errors). Wget does *not* send `From:' by default. #header = From: Your Name <[email protected]> # You can set up other headers, like Accept-Language. Accept-Language # is *not* sent by default. #header = Accept-Language: en # You can set the default proxies for Wget to use for http, https, and ftp. # They will override the value in the environment. #https_proxy = http://xxxxxxxxxxxxxxxxxxxxxxxx:18023/ #http_proxy = http://xxxxxxxxxxxxxxxxxxxxxxxx:3128/ #ftp_proxy = http://xxxxxxxxxxxxxxxxxxxxxxxx:18023/ # If you do not want to use proxy at all, set this to off. #use_proxy = on # You can customize the retrieval outlook. Valid options are default, # binary, mega and micro. #dot_style = default # Setting this to off makes Wget not download /robots.txt. Be sure to # know *exactly* what /robots.txt is and how it is used before changing # the default! #robots = on # It can be useful to make Wget wait between connections. Set this to # the number of seconds you want Wget to wait. #wait = 0 # You can force creating directory structure, even if a single is being # retrieved, by setting this to on. #dirstruct = off # You can turn on recursive retrieving by default (don't do this if # you are not sure you know what it means) by setting this to on. #recursive = off # To always back up file X as X.orig before converting its links (due # to -k / --convert-links / convert_links = on having been specified), # set this variable to on: #backup_converted = off # To have Wget follow FTP links from HTML files by default, set this # to on: #follow_ftp = off # To try ipv6 addresses first: #prefer-family = IPv6 # Set default IRI support state #iri = off # Force the default system encoding #locale = UTF-8 # Force the default remote server encoding
.wgetrc
http_proxy=http://xxxxxxxxxxxxxxxxxxxxxxxx:3128 use_proxy = on
行ったことは
1.「ネットワークのプロキシ」の確認と再度実行
2.端末上で「export http_porxy=~」
3./etc/wgetrcの書き換え、再起動
4./etc/wgetrcを元に戻す
5.homeに.wgetrcを作成、記述
6.exportの確認
です。
http://を外したりしてみましたが同じでした。
OSはubuntu10.04ですが9.10も同様に実行できません。8.04は出来ていました。すべて新規インストールでの導入です。
よろしくお願いします。
オフライン
wgetを-d(debug)オプション付きで実行してみると、もう少し詳しい情報が出力されたりしないでしょうか。
また、他のサイトで試してみてproxy以外の問題が無いか(サーバ側でなにかやっていないか)を確認してみるのも良いかと思います。
オフライン
返信ありがとうございます。
$ wget -d http://ftp.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso DEBUG output created by Wget 1.12 on linux-gnu. --2010-07-05 01:44:58-- http://ftp.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso ftp.kddilabs.jp をDNSに問いあわせています... 2001:200:601:10:206:5bff:fef0:466c, 192.26.91.193 Caching ftp.kddilabs.jp => 2001:200:601:10:206:5bff:fef0:466c 192.26.91.193 ftp.kddilabs.jp|2001:200:601:10:206:5bff:fef0:466c|:80 に接続しています... 接続しました。 Created socket 3. Releasing 0x08648110 (new refcount 1). ---request begin--- GET /Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso HTTP/1.0 User-Agent: Wget/1.12 (linux-gnu) Accept: */* Host: ftp.kddilabs.jp Connection: Keep-Alive ---request end--- HTTP による接続要求を送信しました、応答を待っています... ---response begin--- HTTP/1.1 302 Found Date: Sun, 04 Jul 2010 07:45:03 GMT Server: Apache/2.2.13 (Unix) Location: http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso Content-Length: 304 Keep-Alive: timeout=2, max=100 Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1 ---response end--- 302 Found Registered socket 3 for persistent reuse. 場所: http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso [続く] Skipping 304 bytes of body: [<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso">here</a>.</p> </body></html> ] done. --2010-07-05 01:44:58-- http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c ftp-srv2.kddilabs.jp をDNSに問いあわせています... 202.255.47.226 Caching ftp-srv2.kddilabs.jp => 202.255.47.226 Releasing 0x08649788 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x8649788) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x08649788 (new refcount 1). 再試行しています。 --2010-07-05 01:45:20-- (試行: 2) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x8649788) Releasing 0x08649788 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x8649788) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x08649788 (new refcount 1). 再試行しています。 --2010-07-05 01:45:43-- (試行: 3) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x8649788) Releasing 0x08649788 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x8649788) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... ^C
$ wget -d http://archive.ubuntu.com/ubuntu/pool/main/n/nvidia-settings/nvidia-settings_195.36.08-0ubuntu2_i386.deb DEBUG output created by Wget 1.12 on linux-gnu. --2010-07-05 01:44:17-- http://archive.ubuntu.com/ubuntu/pool/main/n/nvidia-settings/nvidia-settings_195.36.08-0ubuntu2_i386.deb archive.ubuntu.com をDNSに問いあわせています... 91.189.88.31, 91.189.88.40, 91.189.88.45, ... Caching archive.ubuntu.com => 91.189.88.31 91.189.88.40 91.189.88.45 91.189.88.46 91.189.92.166 91.189.88.30 archive.ubuntu.com|91.189.88.31|:80 に接続しています... Closed fd 3 失敗しました: Connection timed out. archive.ubuntu.com|91.189.88.40|:80 に接続しています... ^C
学内専用の鯖のpdfは一部落とせました。(その他は403forbbinとなってしまいます。)
wgetのGUI版であるgwgetではすべて問題なくダウンロードできています。403になってしまうpdfも上記のiso、debも全く問題ありません。
どうもプロキシの設定が全く、あるいは一部しか適応されていないような気がします。
うろ覚えなのですがwgetとfirefoxが関連があると言うのをきいたことがあったのでfirefoxのプロキシ設定をしてみましたがダメでした。
オフライン
wgetとfirefoxの関連というのは初耳で、あまり関係があるようには思えませんが。。
試しにwget実行時に、--timeout=100とか極端に長いタイムアウトを指定してみるといかがでしょうか。
# デバッグモードでタイムアウトしているようなので。
オフライン
wgetとfirefoxの話はこれを勘違いしてました。
http://groundwalker.com/blog/2008/02/wget_with_cookies_from_mac_firefox.html
$ wget --timeout=100 -d http://ftp.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso DEBUG output created by Wget 1.12 on linux-gnu. --2010-07-06 13:20:57-- http://ftp.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso ftp.kddilabs.jp をDNSに問いあわせています... 2001:200:601:10:206:5bff:fef0:466c, 192.26.91.193 Caching ftp.kddilabs.jp => 2001:200:601:10:206:5bff:fef0:466c 192.26.91.193 ftp.kddilabs.jp|2001:200:601:10:206:5bff:fef0:466c|:80 に接続しています... 接続しました。 Created socket 3. Releasing 0x09ac00b8 (new refcount 1). ---request begin--- GET /Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso HTTP/1.0 User-Agent: Wget/1.12 (linux-gnu) Accept: */* Host: ftp.kddilabs.jp Connection: Keep-Alive ---request end--- HTTP による接続要求を送信しました、応答を待っています... ---response begin--- HTTP/1.1 302 Found Date: Tue, 06 Jul 2010 04:21:00 GMT Server: Apache/2.2.13 (Unix) Location: http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso Content-Length: 304 Keep-Alive: timeout=2, max=100 Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1 ---response end--- 302 Found Registered socket 3 for persistent reuse. 場所: http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso [続く] Skipping 304 bytes of body: [<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso">here</a>.</p> </body></html> ] done. --2010-07-06 13:21:00-- http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c ftp-srv2.kddilabs.jp をDNSに問いあわせています... 202.255.47.226 Caching ftp-srv2.kddilabs.jp => 202.255.47.226 Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:21:22-- (試行: 2) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:21:45-- (試行: 3) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:22:09-- (試行: 4) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:22:34-- (試行: 5) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:23:00-- (試行: 6) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:23:27-- (試行: 7) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:23:55-- (試行: 8) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:24:24-- (試行: 9) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:24:54-- (試行:10) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:25:25-- (試行:11) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:25:56-- (試行:12) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:26:27-- (試行:13) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:26:58-- (試行:14) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:27:29-- (試行:15) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:28:00-- (試行:16) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:28:31-- (試行:17) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:29:02-- (試行:18) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:29:33-- (試行:19) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 再試行しています。 --2010-07-06 13:30:04-- (試行:20) http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso conaddr is: 2001:200:601:10:206:5bff:fef0:466c Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) Releasing 0x09ac17a0 (new refcount 1). Found ftp-srv2.kddilabs.jp in host_name_addresses_map (0x9ac17a0) ftp-srv2.kddilabs.jp|202.255.47.226|:80 に接続しています... Closed fd 4 失敗しました: Connection timed out. Releasing 0x09ac17a0 (new refcount 1). 中止しました。
このように落とせないのですが
$ wget http://www.************************network2010-1.pdf --2010-07-06 13:32:23-- http://www.************************network2010-1.pdf www.**********.ac.jp をDNSに問いあわせています... 172.**.**.*** www.**********.ac.jp|172.**.**.***|:80 に接続しています... 接続しました。 HTTP による接続要求を送信しました、応答を待っています... 200 OK 長さ: 1184851 (1.1M) [application/pdf] `network2010-1.pdf.1' に保存中 100%[======================================>] 1,184,851 --.-K/s 時間 0.1s 2010-07-06 13:32:23 (9.74 MB/s) - `network2010-1.pdf.1' へ保存完了 [1184851/1184851]
学内のpdfはプロキシの設定をせずとも落とせました。
あと一つ気になったのですがpingが1回しか帰ってきません。
$ ping www.google.com PING www.l.google.com (66.249.89.104) 56(84) bytes of data. ^C --- www.l.google.com ping statistics --- 517 packets transmitted, 0 received, 100% packet loss, time 515999ms
$ ping www.yahoo.co.jp PING www.ya.gl.yahoo.co.jp (203.216.235.201) 56(84) bytes of data. ^C --- www.ya.gl.yahoo.co.jp ping statistics --- 15 packets transmitted, 0 received, 100% packet loss, time 13999ms
オフライン
あと一つ気になったのですがpingが1回しか帰ってきません。
コード:
$ ping www.google.com PING www.l.google.com (66.249.89.104) 56(84) bytes of data. ^C --- www.l.google.com ping statistics --- 517 packets transmitted, 0 received, 100% packet loss, time 515999msコード:
$ ping www.yahoo.co.jp PING www.ya.gl.yahoo.co.jp (203.216.235.201) 56(84) bytes of data. ^C --- www.ya.gl.yahoo.co.jp ping statistics --- 15 packets transmitted, 0 received, 100% packet loss, time 13999ms
「0 received, 100% packet loss」なので、1回も帰ってきていないのではないかと思います。
※pingは、proxyに相当する方法があるかはわかりません。今までの話からすると、pingは通らないのが正常な気がします。
なにか、いろんなサイトごとに現象が違うようなので、そのままつながった/つながらないという結果だけ見て比較してどうの というのが難しそうですね。
# www.yahoo.co.jpは、そのサイトそのもの、ftp.kddilabs.jpは、302 movedの先で失敗してますし。異なる複数の原因があるとしたら、一緒くたにしたまま考えてゆくと混乱するかも。
オフライン
アドバイスありがとうございます。
pingではyahooはつながらないのですがFirefoxでは普通に閲覧できます。子の書き込みも問題のubuntuから行っています。
とりあえず閲覧はできるのでpingの話はとりあえず置いておこうと思います。
いろいろ実験するために他のPCに仮想(VirtualBox)やデュアルブートでUbuntu10.04を導入しましたが同じ状況でwgetができずダウンロード系のsh(リポジトリの登録など)が動かないので非常にめんどくさいです。
GUI系のアプリは問題なく繋がるのにCUIが設定してもできないのは不思議のものです。。。
オフライン
仮想にUbuntu8.04をインストールし、「ネットワークのプロキシ」を設定後再起動してwgetしてみました
(プロキシのアドレス部分はxで一部伏せさせていただきます)
~$ wget http://ftp.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso
--09:55:02-- http://ftp.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso
=> `ubuntu-ja-10.04-desktop-i386-20100512.iso'
proxy.xxx.xxxxx-xxxx.ac.jp をDNSに問いあわせています... 222.xxx.64.xxx
proxy.xxx.xxxxx-xxxx.ac.jp|222.xxx.64.xxx|:3128 に接続しています... 接続しました。
Proxy による接続要求を送信しました、応答を待っています... 302 Found
場所: http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso [続く]
--09:55:02-- http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso
=> `ubuntu-ja-10.04-desktop-i386-20100512.iso'
proxy.xxx.xxxxx-xxxx.ac.jp|222.xxx.64.xxx|:3128 に接続しています... 接続しました。
Proxy による接続要求を送信しました、応答を待っています... 200 OK
長さ: 733,184,000 (699M) [application/octet-stream]
0% [ ] 1,080,036 461.33K/s特にwgetrcを設定せずともダウンロードできました。
8.04はwget→proxy→ubuntu(kddi)と成っていますが10.04の方はproxyを経由せずに接続しようとしているように見えます
10.04は何かproxyの設定が他にも必要なのでしょうか?
オフライン
ちょっと仮想環境で試してみたのですが、http_proxyの設定だけでkddilabsからはwgetでダウンロードできました。
なにが違うのでしょうね。
--no-dns-cache
とかつけてもダメでしょうか。
あとで調べたいと思っていたのですが、wgetと302 foundでぐぐるとかなり古い情報ですが、サーバによっては不具合がでるとかなんとかいう話もあったようです。
が、8.04で問題無しならちょっと違う気もしますね。。
オフライン
--no-dns-cacheを付けてみましたがやはり「ftp.kddilabs.jp をDNSに問いあわせています~」になってしまい接続できません
環境は今回は同じくVirtualBoxでホストはvista_homeです。HDDやUSBメモリにインストールした環境もありますが全部同じ状態です。
改めてそれぞれのUbuntuでexportを実行してみると
8.04
declare -x http_proxy="http://proxy.xxx.xxxxx-xxxx.ac.jp:3128/" declare -x no_proxy="localhost,127.0.0.0/8,*.local"
10.04
declare -x all_proxy="socks://proxy.xxx.xxxxx-xxxx.ac.jp:3128/" declare -x ftp_proxy="ftp://proxy.xxx.xxxxx-xxxx.ac.jp:3128/" declare -x http_proxy="http://proxy.xxx.xxxxx-xxxx.ac.jp:3128/" declare -x https_proxy="https://proxy.xxx.xxxxx-xxxx.ac.jp:3128/" declare -x no_proxy="localhost,127.0.0.0/8,*.local,"
どちらも「ネットワークのプロキシ」をすべてのプロトコルで同じプロキシを使うにチェックを入れて「proxy.xxx.xxxxx-xxxx.ac.jp:3128」と入力していますがなぜかこのように違いが出てしまいます。
10.04の方をすべてのプロトコルで~のチェックを外してもなぜか8.04とは同じにはなりませんでした。
ますますわけがわからないb・・・
8.04の方でdebugつけてやってみました
$ wget -d http://ftp.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso
DEBUG output created by Wget 1.10.2 on linux-gnu.
--16:46:09-- http://ftp.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso
=> `ubuntu-ja-10.04-desktop-i386-20100512.iso.2'
proxy.xxx.xxxxx-xxxx.ac.jp をDNSに問いあわせています... 222.xxx.64.xxx
Caching proxy.xxx.xxxxx-xxxx.ac.jp => 222.xxx.64.xxx
proxy.xxx.xxxxx-xxxx.ac.jp|222.xxx.64.xxx|:3128 に接続しています... 接続しました。
Created socket 3.
Releasing 0x08089d20 (new refcount 1).
---request begin---
GET http://ftp.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso HTTP/1.0
User-Agent: Wget/1.10.2
Accept: */*
Host: ftp.kddilabs.jp
---request end---
Proxy による接続要求を送信しました、応答を待っています...
---response begin---
HTTP/1.0 302 Found
Date: Fri, 09 Jul 2010 07:45:45 GMT
Content-Length: 304
Content-Type: text/html; charset=iso-8859-1
Server: Apache/2.2.13 (Unix)
Location: http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso
Via: 1.1 proxy-xxx (NetCache NetApp/6.0.3P2D3)
---response end---
302 Found
場所: http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso [続く]
Closed fd 3
--16:46:09-- http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso
=> `ubuntu-ja-10.04-desktop-i386-20100512.iso.2'
Found proxy.xxx.xxxxx-xxxx.ac.jp in host_name_addresses_map (0x8089d20)
proxy.xxx.xxxxx-xxxx.ac.jp|222.xxx.64.xxx|:3128 に接続しています... 接続しました。
Created socket 3.
Releasing 0x08089d20 (new refcount 1).
---request begin---
GET http://ftp-srv2.kddilabs.jp/Linux/packages/ubuntu-jp/release-cd/releases/10.04/ubuntu-ja-10.04-desktop-i386-20100512.iso HTTP/1.0
User-Agent: Wget/1.10.2
Accept: */*
Host: ftp-srv2.kddilabs.jp
---request end---
Proxy による接続要求を送信しました、応答を待っています...
---response begin---
HTTP/1.0 200 OK
Age: 0
Date: Fri, 09 Jul 2010 07:45:45 GMT
Content-Length: 733184000
Content-Type: application/octet-stream
Server: Apache/2.2.13 (Unix)
Last-Modified: Fri, 07 May 2010 12:22:33 GMT
ETag: "700013ef-2bb38000-486001d16d440"
X-Cache: MISS from srv2.ftp.ne.jp
Via: 1.1 srv2.ftp.ne.jp:80 (squid), 1.0 proxy-xxx (NetCache NetApp/6.0.3P2D3)
---response end---
200 OK
長さ: 733,184,000 (699M) [application/octet-stream]
0% [ ] 1,937,304 323.97K/s ETA 41:09海外のフォーラムも見ているのですがsudoつけてexportやれとかLANのドライバをいれるなどしか書いて無いですねえ
ググッてみてもwget’だけ’が出来ないという事象は今のところ見当たりませんでした。
もう消してしまったので分からないのですが9.10でもmedibuntuのコマンドのwgetのところだけが通らず、firefoxを使ってファイルをおとして何とかリポジトリを追加していました。
もしかして9.10以来のバグなんでしょうか??
9.04も導入していましたがwgetのことは憶えていないのでわかりません。
オフライン
hmatsue による投稿:
すいません。書き忘れましたが、上記はVirtualBox+Ubuntu 10.04のwgetです。
横から失礼いたします。
まったく同じOS環境で同様の現象が発生しました。
不思議と$sudo su - でrootユーザーになった後か、$sudo wget で実行すると/etc/wgetrcを見に行っているようで正常にwget出来ることを確認しました。
原因は不明ですがやはり一般ユーザーだとproxyを見ずに直接取得しているようです。
以上ご報告まで。
オフライン
ネットワーク接続にはNetworkManagerを使っているのではないかと思いますが、これのIPv6設定を「無視」に変えたみたりすると状況変わりますでしょうか。
オフライン
hmatsue による投稿:
ネットワーク接続にはNetworkManagerを使っているのではないかと思いますが、これのIPv6設定を「無視」に変えたみたりすると状況変わりますでしょうか。
申し訳ありません。可能になりました。
確認したところ、IPV6の接続は無視になっていたのですが、VirtualBOXのバージョンを最新にしたところ、可能になりました。
やってみたこととしては ver3.1.6を3.2にアップデート3.1.6で作成したイメージを3.2.6で起動。
これだけでログインユーザーからのwget with proxyが正常に動作するようになりました。
ありがとうございました。
オフライン
sudoを付けるとダウンロードできました!!
becurtさんの言うとおりsudoを付けるとproxyの設定を見に行っているようですね。
virtualboxのほうはあとで試してみようとおもいます。
しかし相変わらずHDDに普通にインストールしたubuntuはsudo付ける以外に解決方法が無いです。
設定をhomeにcpしてみましたがやはり変わらず。
オフライン
op7 による投稿:
sudoを付けるとダウンロードできました!!
$ find ~/ -user root
とかすると、なにか引っかかるものがいたりしますか?
オフライン
まずはHDDに直にインストールした方ですが
$ find ~/ -user root /home/xxx/.wgetrc
これは前回返信したときに
$ sudo cp /etc/wgetrc '/home/cft/.wgetrc'
で新たに作ったもので元々はここには.wgetrcはありませんでした。
virtualboxの方もアップデートを試してみましたが状況は変わらずです。
find ~/ -user rootではvirtualboxのホストOS間との共有フォルダの中身がリストされました。
オフライン
op7 による投稿:
コード:
$ find ~/ -user root /home/xxx/.wgetrc
とりあえず不自然な状態なので、
$ sudo chown username:groupname ~/.wgetrc
しておいていただいた方がよいかと思います。
sudoで実行してもuser権限で実行しても基本的には変わらないはずなのですが妙ですね。
オフライン
帰省ついでにubuntuのHDDをもって帰って自宅のPCに接続、proxyの設定(ネットワークのプロキシのみ変更)を行ったところ、なぜかwgetのプロキシが有効になりました。
.wgetrcの値を変更することでproxyの解除ができました。
VirtualBoxのバージョンの変更やPCの構成の変化でということから推測するに、環境の変化を与えないとうまく切り替わらないことがあるということのようです。
オフライン