[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Expired ports archive key on current-hurd-i386 image





On Tue, Apr 14, 2020 at 8:14 pm, Samuel Thibault <sthibault@debian.org> wrote:
Pirate Praveen, le mar. 14 avril 2020 23:34:12 +0530, a ecrit:
On Tue, Apr 14, 2020 at 6:39 pm, Samuel Thibault <sthibault@debian.org>
 wrote:
 > Pirate Praveen, le mar. 14 avril 2020 21:48:17 +0530, a ecrit:
> > I think from buster (on linux), ip is default and ifconfig is no
 > > longer
 > >  installed as default.
 >
> Yes, and I don't think it was necessarily a good idea when the rest of
 > the OSes use ifconfig.
 >
> > Also it would be nicer to have inetutils-tools use /etc/alternatives > > to provide ifconfig command instead of inetutils-ifconfig, may be I
 > >  should open a wishlist bug.
 >
 > Even better, propose a patch ;)

I'm not sure if the maintainer like that on all architectures as ifconfig
 from net-tools output is in different format.

Indeed, but for ports where there is no net-tools support it makes sense
to have ifconfig coming from inetutils.

 I have installed openssh-server on the vm but I can't ssh into vm
 from my host.

 I'm trying to ssh 10.0.2.15

How did you run the VM? Did you configure hostfwd? If not that's no
wonder, by default KVM doesn't setup any access from outside to the
guest.


I already got an answer. I was just following the command from the hurd-install guide.

 There is no route command nor iproute package is not installable.

Same Linuxism at work :)

Ideally inetutils would provide a route command, but IIRC our TCP/IP
stack doesn't provide the API for routing information.

Would it be very difficult to add it? Just for using familiar commands.

 How do I find the ip address of default route?

The really hurdish way is to use fsysopts /servers/sockets/2


Got it, thanks! and I can ssh into host now with ssh 10.0.2.2

fsysopts /servers/socket/2
/hurd/pfinet --interface=/dev/eth0 --address=10.0.2.15 --netmask=255.255.255.0 --gateway=10.0.2.2 --address6=fec0::5054:ff:fe12:3456/64 --address6=fe80::5254:12:3456/10 --address6=fe80::5054:ff:fe12:3456/10 --gateway6=fe80::2

As a reminder, web page

https://www.debian.org/ports/hurd/hurd-install

provides a lot of information on hurdisms.

Samuel




Reply to: