LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-25-2018, 12:33 PM   #1
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
"wget" in issues slackware current please read


machine "1" runs 14.1 14.2 14.2+
when using the command wget in 14.2+ wget hangs for like 5 min.
then every thing slows a bit.
machine "1" 14.1 and 14.2 work perfect.

Machine "2" has a clone of machine 1's 14.2+ no issue.

any Ideas same problem as root or any user.

trying to get verbose feed back has not been good.

thanks for your help .
Attached Files
File Type: txt wget.txt (9.0 KB, 28 views)

Last edited by Drakeo; 12-25-2018 at 12:55 PM.
 
Old 12-25-2018, 01:06 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Try adding this line to /etc/resolv.conf:

Code:
options single-request-reopen
 
Old 12-25-2018, 06:22 PM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716

Original Poster
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by smallpond View Post
Try adding this line to /etc/resolv.conf:

Code:
options single-request-reopen
give it a shot thanks let you know. I tried it dhcpcd over writes it as it should.
the moment I call on wget it over writes it also.
strange.
not going to do a static over this something got to be wrong in this.
this all started think after bind update but the other machine no problem.
 
Old 12-25-2018, 07:19 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716

Original Poster
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Very strange have to kill eth0 then dhcpcd it again and everything works.
I started networkmanager from command line. then used it to disconnect
and reconnect again to eth0 and wget works fine.
my usual start up is inet1.conf eth0 yes.
very strange wonders why wget and dhcpcd are running into
something stale.
if set to use just networkmanager it keeps connecting and disconnecting
even as root user.

Last edited by Drakeo; 12-25-2018 at 07:21 PM.
 
Old 12-26-2018, 12:15 AM   #5
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 156

Rep: Reputation: Disabled
Try to cut off your ipv6. Use wget -4 downloaded_file and tell us whats happened. I think only few things on your pc can be:
1. IPv6
2. Firewall
3. Route problem
4. Hardware problem

You can use strece or gdb to see what's happened.
 
Old 12-26-2018, 03:15 AM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716

Original Poster
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
1. IPv6 = no
2. Firewall = no
3. Route problem = no
4. Hardware problem = no

The issue is this installation of slackware.
since it has been around since 13.37 and updated modified through
the years. I am sure it is something I have done unknowingly.

unable to reproduce on same equipment other installations I will not
at this time mark solved.

roll it back to another back up clone of the system and
proceed from there in my spare time.
take a deep look at dhcp and SSL on this particular system.
This system is far from default.
 
Old 12-26-2018, 06:16 AM   #7
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 156

Rep: Reputation: Disabled
My slackware was updated from the same version across the years.
Do strace /usr/bin/wget -4 download or tcpdump . Strace output will be large, so look for line:

socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 3

and see whats happened after a few lines below.
 
Old 12-26-2018, 07:14 AM   #8
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
First test other solutions to be sure it is wget related. Say rsync, curl, sftp. Whatever you have at hand.
 
Old 12-26-2018, 10:55 AM   #9
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716

Original Poster
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
curl is being problematic also. gildbg I will run that strace get back with you.
 
Old 12-26-2018, 12:40 PM   #10
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716

Original Poster
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I really appreciate everyones help. As of now unable to reproduce the error.
after 5 days of wrestling with this just going round and round do to my nvidia upgrade script and builds the intrd.img
before rebooting. It relies on wget. and as you know . Pat keeps building new ones.

Use at your own risk. I been Tweaking it for the latest nvida modules for a while.
good little tool. https://github.com/Drakeo/update-nvidia-mkinitrd

Last edited by Drakeo; 12-26-2018 at 12:41 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to resume an interrupted wget using wget.log? misterJ Linux - Software 2 06-19-2011 01:21 PM
Two Slackware-current issues, help please? jamesf Slackware 9 05-08-2010 07:24 PM
Slackware64 -current vs Slackware -current or Slackware onebuck Slackware 16 06-23-2009 01:19 PM
wget not working! but "man wget is" ??? wrapster Solaris / OpenSolaris 5 07-30-2008 03:00 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration