I booted up LFS and trying to add more packages but wget is not working stuck at connecting.
I am able to ping IPs, get DNS resolved and even traceroute to dest IP is possible but wget is not working. As a workaround, I am SCPing packages from Ubuntu to LFS and installing them.
But I would still like to troubleshoot this issue.
Output:
root [ /sources/wget-1.19.5 ]# traceroute 149.20.1.49 -I
traceroute to 149.20.1.49 (149.20.1.49), 64 hops max
1 10.192.16.1 2.843ms 1.711ms 1.807ms
2 10.192.2.5 0.862ms 0.881ms 1.114ms
3 14.140.176.209 9.574ms 20.206ms 2.778ms
4 172.31.167.46 21.879ms 26.077ms 21.894ms
5 115.114.71.134 28.020ms 26.102ms 25.569ms
6 180.87.36.9 27.332ms 25.716ms 18.279ms
7 180.87.36.83 216.499ms 217.647ms 217.644ms
8 180.87.67.33 126.933ms 122.679ms 122.329ms
9 120.29.211.2 122.002ms 118.680ms 118.797ms
10 209.58.86.142 233.464ms 234.872ms 233.653ms
11 209.58.86.74 224.392ms 225.352ms 224.669ms
12 149.20.65.29 226.807ms 227.725ms 227.317ms
13 149.20.1.49 217.872ms 218.222ms 218.160ms
root [ /sources/wget-1.19.5 ]# wget
ftp://ftp.isc.org/isc/dhcp/4.4.1/dhcp-4.4.1.tar.gz
--2018-09-30 19:33:18--
ftp://ftp.isc.org/isc/dhcp/4.4.1/dhcp-4.4.1.tar.gz
=> 'dhcp-4.4.1.tar.gz'
Resolving ftp.isc.org... 149.20.1.49, 2001:4f8:1:f::49
Connecting to ftp.isc.org|149.20.1.49|:21... ^C
root [ /sources/wget-1.19.5 ]#
root [ /sources/wget-1.19.5 ]# ifconfig
enp0s3 Link encap:Ethernet HWaddr 08:00:27:55:6E:BF
inet addr:10.192.16.220 Bcast:10.192.16.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12069 errors:0 dropped:0 overruns:0 frame:0
TX packets:3372 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:902369 TX bytes:663396
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 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 TX bytes:0
root [ /sources/wget-1.19.5 ]# wget
ftp://ftp.isc.org/isc/dhcp/4.4.1/dhcp-4.4.1.tar.gz
--2018-09-30 19:33:34--
ftp://ftp.isc.org/isc/dhcp/4.4.1/dhcp-4.4.1.tar.gz
=> 'dhcp-4.4.1.tar.gz'
Resolving ftp.isc.org... 149.20.1.49, 2001:4f8:1:f::49
Connecting to ftp.isc.org|149.20.1.49|:21...
root [ /sources/wget-1.19.5 ]# ifconfig
enp0s3 Link encap:Ethernet HWaddr 08:00:27:55:6E:BF
inet addr:10.192.16.220 Bcast:10.192.16.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12119 errors:0 dropped:0 overruns:0 frame:0
TX packets:3398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:906971 TX bytes:667858
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 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 TX bytes:0
root [ /sources/wget-1.19.5 ]# cat /etc/sysconfig/ifconfig.enp0s3
ONBOOT=yes
IFACE=enp0s3
SERVICE=ipv4-static
IP=10.192.16.220
GATEWAY=10.192.16.1
PREFIX=24
BROADCAST=10.192.16.255
root [ /sources/wget-1.19.5 ]# cat /etc/resolv.conf
domain localdomain
nameserver 10.192.3.10
nameserver 8.8.8.8
nameserver 8.8.4.4
This is running as a VM in VirtBox with adaptor bridged to Ethernet.
Could someone please verify this and see what is happening
Let me know if any other output is required.