You are here

No internet issue v5.1.5 Linux

14 posts / 0 new
Last post
nikost74
Offline
Donator
Joined: 6 years
Last seen: 2 weeks
No internet issue v5.1.5 Linux

Issue
I am not able to connect to the Internet even though I have access, I have also tried to set Google DNS server in /etc/resolv.conf (8.8.8.8) but it doesn't help. I have the correct username/e-mail/password and also ran with Force check of WGLicense.
Nothing seems to work with dotnet 8.0 runtime and the latest version of WebGrab++ (v5.1.5.0)

Procedure
Inside wg++ folder, command:
./run.net.sh

Error messege:

Quote:

WebGrab+Plus/w MDB & REX Postprocess -- version V5.1.5.0

Jan van Straaten
Francis De Paemeleere

thanks to Paul Weterings, Mat8861, Blackbear199 and all the contributing users
--------------------------------------------------------------------------------

Job started at 20/04/2024 19:39:43
Checking Internet ..
For License request/update data, see WGLicense.log.txt

No Internet !!
Program will close ..

Info about Linux system, dotnet
$ uname -a
Linux archlinux-kde 6.8.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000 x86_64 GNU/Linux

$ dotnet --info
Host:
Version: 8.0.4
Architecture: x64
Commit: 2d7eea2529
RID: arch-x64

.NET runtimes installed:
Microsoft.NETCore.App 8.0.4 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

i sent jan a message with a link to your post.
works fine for me.
using the same 8.04 dotnet version but i'm running it on ubuntu in a chroot whereas i see your running arch linux.
i dont think anything would have changed in that part of the code.
only jan could verify this.

nikost74
Offline
Donator
Joined: 6 years
Last seen: 2 weeks

You are correct, this works also when run as user 'root'.
However, it would be great to be able to run the script as a normal user as well. Is it possible for Jan et all to modify the code?
Otherwise the only safe way to run this would be by creating a 'chroot' environment.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

could it be a permission problem?
maybe goto the bin.net folder and chmod +x *.dll?

nikost74
Offline
Donator
Joined: 6 years
Last seen: 2 weeks

No, it is not working. I have a faint memory about this issue before, that it can only be run as user 'root' or in a chroot environment...
It would help a lot to improve security in Linux systems to be able to run this as another user than 'root'. That is for running in a non-chroot environment.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

using a non root user i cannot test as i have everything on my nas.
being a nas its geared towards being use as just that...a nas.its missing lots a full linux distro would have hence why i run stuff like webgrab in chroot.
i do have non root users accounts but only root has ssh access.

boxmax
Offline
Donator
Joined: 3 years
Last seen: 4 months

i have same issue in ubuntu 20 wsl for V5.2.0.0 -- build 2
Linux TV 4.4.0-19041-Microsoft #4355-Microsoft Thu Apr 12 17:37:00 PST 2024 x86_64 x86_64 x86_64 GNU/Linux
dotnet --info
Host:
Version: 8.0.6
Architecture: x64
Commit: 3b8b000a0e
RID: linux-x64

.NET SDKs installed:
No SDKs were found.

.NET runtimes installed:
Microsoft.NETCore.App 8.0.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

--------------------------------------------------------------------------------

Job started at 09/07/2024 07:12:08
Checking Internet ..
For License request/update data, see WGLicense.log.txt

No Internet !!
Program will close ..
-----------------------
how fix ?

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

its a random error,even i get it once in awhile.
i rum wg manually alot as i test stuff.
i used to have a custom script that would retry 5 times.
deleted it and use one provided as havnt seen the error in ages,it was a bad bug in older versions.
it used bing.com to check for internet connection.
newer uses a diff internnet check.
are u using latest wg version?

boxmax
Offline
Donator
Joined: 3 years
Last seen: 4 months
Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

i wouldnt worrk about it.
i'm sure your doing a milti day grab.
if it fails today them tomorrow it will pick up epg for the missings days.
i looked and dont have the script i wrote awhile ago that wud check if it fails and rerun it.
as i said,deleted it as it usually runs ok.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

if u wish to still add a failsafe then google it.
stackexchange or whatever will i have your answer.
i run linux and it was a simple if statement.
all of 2 min to modify bin.net.sh
windows..no idea,linus guru.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

simple methods here..
scroll to bottom of bin.net.sh
encace the execution line in a loop
dotnet "$DIR/bin.net/WebGrab+Plus.dll" "$DIR"
https://stackoverflow.com/questions/3737740/is-there-a-better-way-to-run...
i used the if statement myself yrs ago.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

no linux expert,just a guru.
i can usally google on stack exchange what i want todo and alter it to suite my needs.

Shadow
Offline
Donator
Joined: 1 year
Last seen: 3 months

Is this perhaps due to ufw? When I activate the firewall, it doesn't recognize the Internet either. Which port is being used?

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl