DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2006-09-12 07:32:17

Bunsen
Member
Registered: 2006-09-12
Posts: 6

screen and dtach not working?

When attempting to run either screen or dtach, I get the error "socket: Address family not supported by protocol."  Are other people having this problem, or am I doing something uniquely stupid?

Offline

 

#2 2006-09-12 08:44:50

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: screen and dtach not working?

Everyone should get this error working with sockets.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#3 2007-08-30 14:43:32

dannystaple
Member
Registered: 2007-08-29
Posts: 9

Re: screen and dtach not working?

This error is down to the kernel not supporting ipv6. Compile applications without ipv6 support and you should not see this. If you are using a chroot gentoo - then simply set your use flags to include -ipv6.
Screen may not work on this box anyway - there do not seem to be the correct type of virtual terminals available at all. Compiling your own kernel for the box may solve both these issues though.

Last edited by dannystaple (2007-10-14 20:25:51)

Offline

 

#4 2007-08-30 14:56:43

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: screen and dtach not working?

I am pretty sure that you will need CONFIG_UNIX in your kernel to make dtach (and screen) work smile
Plus there is no ipv6 use flag in dtach or screen ebuild to unset.

You can see dtach in action @ here


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#5 2007-08-30 22:11:17

SystemR89
Member
From: >>Turin<< >>Italy<<
Registered: 2006-09-19
Posts: 88

Re: screen and dtach not working?

You can solve your problem in few steps...

1) install dropbear

2) download this attachment (http://dns323.kood.org/forum/p1394-2007 … html#p1394) and copy unix.o in /mnt/HD_a2/modules

3) add this in your fun_plug:
/sbin/insmod /mnt/HD_a2/modules/unix.o

now logging in with ssh you can use dtach smile


Free is BETTER!!
Use GNU/Linux!!

Offline

 

#6 2007-09-01 00:41:38

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: screen and dtach not working?

Yeah, I didn't know that unix.o will work. I might repack custom firmware because now we don't need to recompile kernel and this way some of custom firmware's bugs will go away.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB