Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telnet not enabling after editing grub.cfg #193

Open
mdomanic opened this issue Dec 20, 2023 · 5 comments
Open

Telnet not enabling after editing grub.cfg #193

mdomanic opened this issue Dec 20, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@mdomanic
Copy link

After editing both grub.cfg files to add telnetd=enable (using the method within linux of mounting the original shredos.img and editing the grub cfgs then rewriting the image, and using VENTOY), telnet port is not open after successfully booting into shredos.

I have tried this on multiple motherboards, and multiple networks (making sure telnet/port 23 is not being blocked) and I still don't see port 23 open on any of these instances.

Using latest build (v2023.08.2_25.0_x86-64_0.35)

@PartialVolume
Copy link
Owner

Using the Ventoy flash drive you created can you boot ShredOS on a system with keyboard & monitor, then ALT F2 for the virtual terminal and type more /proc/cmdline and post the output.

Then with a RJ45 network plugged in, can you type 'ifconfig' and post the output. Thanks.

@mdomanic
Copy link
Author

mdomanic commented Dec 20, 2023

BOOT_IMAGE=/boot/shredos console=tty3 loglevel=3 telnetd=enable nomodeset noapic

eth0 Link encap:Ethernet HWaddr B0:6E:BF:2A:FA:50
inet addr:10.22.22.6 Bcast:10.22.22.255 Mask:255.255.255.0
inet6 addr: fe80::b26e:bfff:fe2a:fa50/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3561 errors:0 dropped:12 overruns:0 frame:0
TX packets:2324 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:231768 (226.3 KiB) TX bytes:151068 (147.5 KiB)
Interrupt:11 Memory:df100000-df120000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4736 (4.6 KiB) TX bytes:4736 (4.6 KiB)

also, i saw in the dmesg output the following (after it reads the grub.cfg)

[ 0.035840] Kernel command line: BOOT_IMAGE=/boot/shredos console=tty3 loglevel=3 telnetd=enable nomodeset noapic
[ 0.035898] Booted with the nomodeset parameter. Only the system framebuffer will be available
[ 0.035908] Unknown kernel command line parameters "BOOT_IMAGE=/boot/shredos telnetd=enable", will be passed to user space.

@PartialVolume
Copy link
Owner

Thanks, it looks like the telnetd package in busybox some how got deselected in the last update as the S50telnet file is missing from /etc/init.d/

I'll do another update as soon as I can, I'm currently building a new version which I'll publish as a pre-release. If it all goes ok that may be in the next few days, if not it won't be until after Christmas.

In the meantime you can always go back to the previous release if you don't need the PDF support.

@PartialVolume PartialVolume self-assigned this Dec 20, 2023
@PartialVolume PartialVolume added the bug Something isn't working label Dec 20, 2023
@mdomanic
Copy link
Author

No problem! I will roll back for now, thanks!

@PartialVolume
Copy link
Owner

Re-introduced telnetd as part of commit c9346c1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants