Hello all, some users have told me that when they click on the link to access the ftp from the home page instead of appearing as a
link "ftp://velenobbs.net/" appears "ftp://192.168.1.1/" which is l ip of the server; what happened? I read on the forum that is the host name that is missing but checking on the sbbs.ini is present ..... can someone help me? My Synchronet is version 3.17 on windows xp 32 bit
Thank you
Thomas
Hello all, some users have told me that when they click on the link toaccess
the ftp from the home page instead of appearing as athe
link "ftp://velenobbs.net/" appears "ftp://192.168.1.1/" which is l ip of
server; what happened? I read on the forum that is the host name that is missing but checking on the sbbs.ini is present ..... can someone help me? My Synchronet is version 3.17 on windows xp 32 bit
Hello all, some users have told me that when they click on the link to access the ftp from the home page instead of appearing as a
link "ftp://velenobbs.net/" appears "ftp://192.168.1.1/" which is l ip of the server; what happened?
missing but checking on the sbbs.ini is present ..... can someone help me?template.additional_services+='[' + ("ftp".link("ftp://"+host +ftp_port)) + '] '; > My Synchronet is version 3.17 on windows xp 32 bit
Thank you
Thomas
F. KrueGer
Do you have your FTP server running on a different system? When I go directly to fto://velenobbs.net I see your Files Directory, but when I goto
http://velenobbs.net and look at the File Libraries is show ftp://192.168.1.1/00index.html?$jn7qg90z but the connection times out.
Maybe try removing [Global] Hostname = blah blah blah and just leave it as Hostname =
It looks like the hostname is obtained from /sbbs/web/lib/nightshade/leftnav_html.ssjsinto
If you can't resolve the issue, you could always hard code the hostname
the ssjs file. Did you try typing hostname from a command prompt andseeing
what it returns, if anything?
It looks like the hostname is obtained from /sbbs/web/lib/nightshade/leftnav_html.ssjs
If you can't resolve the issue, you could always hard code the hostnameinto
the ssjs file. Did you try typing hostname from a command prompt andseeing
what it returns, if anything?
Hello, if you type hostname from the command prompt, the result is the machine's name: srvbbs01
I noticed that even if I go to the "web telnet" function and call the bbs with a connect the system tries to recall it with the IP address instead of the name it seems that the problem is because it can not solve the hostname
Which Web UI are you using for Synchronet? If it's the old runemaster web UI, then web/root/index.ssjs will contain this code to generate that URL:
if((host = http_request.vhost)==undefined)
host = http_request.host;
if(host==undefined || !host.length)
host = system.host_name;
What do you have set in SCFG->Networks->Internet->Address?
What do you have set in SCFG->Networks->Internet->Address?
What do you have set in SCFG->Networks->Internet->Address?
What do you have set in SCFG->Networks->Internet->Address?
hi digital man, I checked in detail .... after rewriting the name
under: SCFG-> Networks-> Internet-> Address now if I connect with the
local LAN the name is correct example ftp://velenobbs.net but if I
connect from the outside it still appears as ip address what can be
there that from outside does not report the name but ip?
lineshi digital man, I checked in detail .... after rewriting the name
under: SCFG-> Networks-> Internet-> Address now if I connect with the local LAN the name is correct example ftp://velenobbs.net but if I connect from the outside it still appears as ip address what can be
there that from outside does not report the name but ip?
It'd take some debugging to find out the cause. Try adding some log()
to the .ssjs file to find out where it's getting that address from.
hi digital man, I checked in detail .... after rewriting the name under: SCFG-> Networks-> Internet-> Address now if I connect with the local LAN the name is correct example ftp://velenobbs.net but if I connect from the outside it still appears as ip address what can be there that from outside does not report the name but ip?
It'd take some debugging to find out the cause. Try adding some log()lines
to the .ssjs file to find out where it's getting that address from.
Ok, excuse my ignorance how do I insert the log lines in the .ssjs file? can you give me an example so I can bring back what you ask? Thanks....
Re: Re: Missing HostName
By: Thomas Bampi to Digital Man on Mon Oct 15 2018 06:59 pm
hi digital man, I checked in detail .... after rewriting the name under: SCFG-> Networks-> Internet-> Address now if I connect with the local LAN the name is correct example ftp://velenobbs.net but if I connect from the outside it still appears as ip address what can be there that from outside does not report the name but ip?
It'd take some debugging to find out the cause. Try adding some log()lines
to the .ssjs file to find out where it's getting that address from.
Ok, excuse my ignorance how do I insert the log lines in the .ssjs file? can you give me an example so I can bring back what you ask? Thanks....
log(LOG_DEBUG, "host = " + http_request.host);
This would add a debug-level log message to your web server's log output which would log the host name provided by the client (e.g. browser) in the HTTP request.
Also, there's a link to your FTP service on the default web UI's front page (under "Additional Services") - do you have a similar link on the front page and it is correct?
Do you have this problem if you use the default theme (not nightshade)?
BTW, when I attempt to go to http://velenobbs.net, I get this page:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
That doesn't appear to be a default Synchronet web server error document.
hi digital man, I checked in detail .... after rewriting the name under: SCFG-> Networks-> Internet-> Address now if I connect with the local LAN the name is correct example ftp://velenobbs.net but if I connect from the outside it still appears as ip address what can be there that from outside does not report the name but ip?
It'd take some debugging to find out the cause. Try adding some log()lines
to the .ssjs file to find out where it's getting that address from.
Ok, excuse my ignorance how do I insert the log lines in the .ssjs file? can you give me an example so I can bring back what you ask? Thanks....
log(LOG_DEBUG, "host = " + http_request.host);
This would add a debug-level log message to your web server's log output which would log the host name provided by the client (e.g. browser) in the HTTP request.
Also, there's a link to your FTP service on the default web UI's front page (under "Additional Services") - do you have a similar link on the front page and it is correct?
Do you have this problem if you use the default theme (not nightshade)?
BTW, when I attempt to go to http://velenobbs.net, I get this page:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
That doesn't appear to be a default Synchronet web server error document.
Okay, a Synchronet web server is now responding at http://velenobbs.net/ and I see that the "telnet" and "ftp" links under "Additional Services" are both pointing to 192.168.1.1. This tells me that most likely, you have "192.168.1.1" (i.e. for a HostName value) in your ctrl/sbbs.ini file. Have you double-checked that?
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 25 |
Nodes: | 8 (0 / 8) |
Uptime: | 34:41:45 |
Calls: | 1,890 |
Calls today: | 1 |
Files: | 11,074 |
Messages: | 933,562 |