PDA

View Full Version : New VU+ Zero No Telnet Access



chuf
16-10-16, 13:15
Hi All

Strange one this :confused:

New box loaded with 4.2.06

All my other boxes no issue connecting with E2 this box just wont play, login incorrect, user name root: password:blank

Also tried telnet and ssh still the same problem.

Defaulted box still the same problem?

Any ideas?

Thanks

Chuf

abu baniaz
16-10-16, 13:17
What program are you using?

chuf
16-10-16, 13:28
Hi
Tried putty, telnet from windows and also DCC

chuf
16-10-16, 13:30
FYI
can connect fine with ftp, just telnet.......

chuf
19-10-16, 22:48
Any ideas??

heres my telent output when I try to connect

Welcome to OpenViX for vuzero
openvix 4.2 vuzero

vuzero login: root
Password:
Last login: Wed Oct 19 10:19:23 IST 2016 on pts/0
login: res_query.c:262: __libc_res_nquery: Assertion `(hp != NULL) && (hp2 != NU
LL)' failed.

birdman
20-10-16, 02:00
Any ideas??

heres my telent output when I try to connect

Welcome to OpenViX for vuzero
openvix 4.2 vuzero

vuzero login: root
Password:
Last login: Wed Oct 19 10:19:23 IST 2016 on pts/0
login: res_query.c:262: __libc_res_nquery: Assertion `(hp != NULL) && (hp2 != NU
LL)' failed.Something is doing a (reverse?) DNS lookup (although I'm not sure why). Do you have DNS servers configured correctly on the system?

birdman
20-10-16, 03:37
Here's a (probable) bug report about this :


https://sourceware.org/bugzilla/show_bug.cgi?id=19791

So, have you set up a valid address for a DNS name resolver?

chuf
20-10-16, 09:08
Hi All
tried connecting with putty/DCC/and dos cmd all the same result.
DNS set to BB provider same as my duo2, also tried setting dns to router 192.168.1.1 and 8.8.8.8

DaMacFunkin
20-10-16, 09:20
Just a quick ask, is box connected via Wi-Fi?
Have you connected to your Modem/router instead of your router?
Just a thought.

chuf
20-10-16, 09:53
Just a quick ask, is box connected via Wi-Fi?
Have you connected to your Modem/router instead of your router?
Just a thought.

Hi
Zero is connected directly into vdsl router via lan cable, fyi my solo and duo have no problems.........
Thanks
Chuf

chuf
20-10-16, 19:11
Okay peeps took the leap and added this into the config....

added the following to /etc/sysctl.conf and do
net.ipv6.conf.all.disable_ipv6 = 1sysctl -p
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

make sure that dns has an ipv6 entry. in my test, ipv6 was the first entry

Okay first problem how do I do this command sysctl -p
Second issue
make sure that dns has an ipv6 entry Where do I add this entry?

Third the box is still working atm.......:eek:

Any ideas?

Chufski

Over & Out

birdman
20-10-16, 23:09
added the following to /etc/sysctl.conf and do
net.ipv6.conf.all.disable_ipv6 = 1sysctl -p
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1There's stray "sysctl -p" text at the end of the first item.


Okay first problem how do I do this command sysctl -p
You just run it on the command line once you login - but as I read that I see the chicken-and-egg problem...
Although if you've got the text into the file a reboot will also do it (the file gets loaded at boot time).

chuf
21-10-16, 08:15
There's stray "sysctl -p" text at the end of the first item.


You just run it on the command line once you login - but as I read that I see the chicken-and-egg problem...
Although if you've got the text into the file a reboot will also do it (the file gets loaded at boot time).

Okies ive rebooted the zero but no difference does it matter where I put the new lines?

this is how it looks at the moment......
# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.all.rp_filter=1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Thanks
Chuf

Ive also noticed this as well any ideas if I have to add this line if so where do I add it?
Applying the fix to include *answerp2 as well in the check at line 248 seems to fix the issue.
if (answerp2 == NULL || *answerp2 == NULL || *resplen2 < (int) sizeof (HEADER))

chuf
21-10-16, 08:49
I also found this so removed but no difference......
/etc/resolv.conf
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844

and left my default dns in there

birdman
21-10-16, 13:41
Okies ive rebooted the zero but no difference does it matter where I put the new lines?It matters that the file is a Unix text file, not a DOS one.


this is how it looks at the moment......
# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.all.rp_filter=1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Did you add these to what was already there, or is that now the entire content of the file?


Ive also noticed this as well any ideas if I have to add this line if so where do I add it?
Applying the fix to include *answerp2 as well in the check at line 248 seems to fix the issue.
if (answerp2 == NULL || *answerp2 == NULL || *resplen2 < (int) sizeof (HEADER))That's a change to the resolver code in glibc, so you can't do anything with it.


I also found this so removed but no difference......
/etc/resolv.conf
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844

and left my default dns in thereThat's using ipv6 for Google's DNS servers...how did that get set? Do you actually use ipv6 on your network?

chuf
21-10-16, 16:19
It matters that the file is a Unix text file, not a DOS one.

Did you add these to what was already there, or is that now the entire content of the file?

I added the new lines to what was already there....

That's a change to the resolver code in glibc, so you can't do anything with it.

That's using ipv6 for Google's DNS servers...how did that get set? Do you actually use ipv6 on your network?

I added the new lines to what was already there....

Ive enabled ipv6 on the router but no idea how they got in there, I did add googles dns to see if it made a difference on the router.....

birdman
21-10-16, 21:05
Ive enabled ipv6 on the router but no idea how they got in thereThat would do it. I presume the router is running a DHCP server and you're using DHCP - it will have sent along the DNS server info along with the IP assigned address.

chuf
22-10-16, 08:14
Router running dhcp box is on static ip address.......
any ideas yet how to correct this as I know its secure ish but would rather it be sorted.....
Thanks
Chuf

chuf
26-10-16, 18:40
Hi All

Since upgrading the box to 4.2.10 I now have telnet access from putty but not from dos cmd promt or E2.

Strange but true........

Chuf

birdman
26-10-16, 18:55
Router running dhcp box is on static ip address.......Your router really should have a static IP address. All other systems needs to be configured with what it is.

chuf
26-10-16, 20:14
Hi
Router has a static ip address of 192.168.1.1 its running dhcp to serve the clients.........
All machines are using 1.1 as the gateway and dns of my isp.