<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I got my other interface up and recognized in squeak but only the
ipv4 address, not its ipv6 address. I tried adding the ipv6
address to the hosts file but it still did not work. Are others
getting the inet6 addresses? Obviously, I am oblivious that it is
my machine config, but I am unsure how to config it right.</p>
<p>Here are my results with 'callistohouse' configured. I stuck.<br>
</p>
<p>(NetNameResolver addressesForName: NetNameResolver localHostName)<br>
select: [ :each | each addressFamilyName == #inet6 ]<br>
thenCollect: [ :each | each socketAddress hostNumber ].<br>
an OrderedCollection()<br>
<br>
NetNameResolver addressesForName: NetNameResolver localHostName<br>
an
OrderedCollection(192.168.43.32(callistohouse),0(0)-inet4-stream-tcp)<br>
<br>
wlp2s0 Link encap:Ethernet HWaddr 40:25:c2:b0:7b:0c <br>
inet addr:192.168.43.32 Bcast:192.168.43.255
Mask:255.255.255.0<br>
inet6 addr: fe80::94ac:2d16:6700:1ed5/64 Scope:Link<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:101 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:152 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000 <br>
RX bytes:98104 (98.1 KB) TX bytes:18112 (18.1 KB)<br>
<br>
<br>
NetNameResolver useOldNetwork. "true" false<br>
NetNameResolver hasIpv6PrimSupport. "true" true<br>
NetNameResolver enableIPv6. true<br>
NetNameResolver enableIPv6: true. NetNameResolver<br>
NetNameResolver useOldNetwork. " false" false<br>
NetNameResolver localHostAddress.
192.168.43.32(callistohouse),0(0)<br>
NetNameResolver localHostName. 'callisto'<br>
NetNameResolver addressForName: 'localhost'. "::1(localhost),0(0)"
127.0.0.1(localhost),0(0)<br>
NetNameResolver addressForName: 'callisto'. "::1(localhost),0(0)"
192.168.43.32(callistohouse),0(0)<br>
NetNameResolver addressForName: 'callistohouse'.
"::1(localhost),0(0)" 192.168.43.32(callistohouse),0(0)<br>
<br>
</p>
<br>
<div class="moz-cite-prefix">On 09/23/2017 09:32 AM, Levente Uzonyi
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:alpine.DEB.2.02.1709231525010.4016@login03.caesar.elte.hu">On
Sat, 23 Sep 2017, Alan Pinch wrote:
<br>
<br>
<blockquote type="cite">Hi Tobias,
<br>
<br>
Running ifconfig on my Ubuntu box shows an ethernet inteface, my
wireless uplink. This inteface does not show up in
addressesForName:, whether I call it with 'callisto' or
'localhost'. Your call to the
<br>
</blockquote>
<br>
The primitive shows what the DNS service on your machine provides.
If there is no name attached to your IPv6 address, it won't show
up (unless you know its address, because you can use that too).
<br>
<br>
AFAIK, the VM can't tell what interfaces are avaiable, which is
probably what you're actually looking for.
<br>
<br>
Levente
<br>
<br>
<blockquote type="cite">ipv6-test.com site works. Is it possible
that last works, as the machine is ipv6 enabled, but squeak
primitive is still missing that interface for some reason. I
know you cannot know my machine's configuration to debug.
Perhaps you could tell me how to debug here for you? I am not
sure of the next step and I question my wherewithall.
<br>
<br>
At your service, Alan
<br>
<br>
<br>
wlp2s0 Link encap:Ethernet HWaddr 40:25:c2:b0:7b:0c
<br>
inet addr:192.168.43.32 Bcast:192.168.43.255
Mask:255.255.255.0
<br>
inet6 addr: fe80::94ac:2d16:6700:1ed5/64 Scope:Link
<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
<br>
RX packets:97074 errors:0 dropped:0 overruns:0 frame:0
<br>
TX packets:52659 errors:0 dropped:0 overruns:0
carrier:0
<br>
collisions:0 txqueuelen:1000
<br>
RX bytes:106056900 (106.0 MB) TX bytes:9058187 (9.0
MB)
<br>
<br>
NetNameResolver localHostName 'callisto'
<br>
NetNameResolver addressesForName: NetNameResolver localHostName
<br>
an OrderedCollection(127.0.1.1(callisto),0(0)-inet4-stream-tcp)
<br>
<br>
NetNameResolver addressesForName: 'localhost'
<br>
an
OrderedCollection(127.0.0.1(localhost),0(0)-inet4-stream-tcp)
<br>
<br>
<br>
On 09/18/2017 10:46 AM, Tobias Pape wrote:
<br>
<blockquote type="cite">Hi Alan
<br>
<br>
<br>
<blockquote type="cite">On 18.09.2017, at 10:19, Alan Pinch
<a class="moz-txt-link-rfc2396E" href="mailto:alan.c.pinch@gmail.com"><alan.c.pinch@gmail.com></a> wrote:
<br>
<br>
I am running the Ubuntu 32-bit vm and I enabledIPv6: through
the </blockquote>
</blockquote>
preferences browser. I am able to run yet it seems it is still
IPv4. I do not know enough how IPv6 should work. I get the
following host addresses:
<br>
<blockquote type="cite">
<blockquote type="cite">
<br>
Connection </blockquote>
</blockquote>
running..<cap://127.0.1.1:10012/Xrlgak8yDT0hgspNx0AyWoCdoZo=,
cap://127.0.0.1:47684/FL4dilz6eq2sZDG5wKp3TFDoQEE=>
<br>
<blockquote type="cite">
<blockquote type="cite">
<br>
I get the following from NetNameResolver localAddressString
<br>
127.0.1.1
<br>
</blockquote>
I just checked. Bear with me here:
<br>
<br>
In most imaged you will see for
<br>
<br>
printIt NetNameResolver useOldNetwork. "true"
<br>
<br>
If your VM and OS supports IPv6 (it should) you will see
<br>
<br>
printIt NetNameResolver hasIpv6PrimSupport. "true"
<br>
<br>
So you then can
<br>
<br>
doIt NetNameResolver enableIPv6: true.
<br>
<br>
If that worked, you will find
<br>
<br>
printIt NetNameResolver useOldNetwork. " false"
<br>
<br>
From now on, you will get more "interesting" network names.
Look at the </blockquote>
result of
<br>
<blockquote type="cite">
<br>
NetNameResolver localHostAddress.
<br>
NetNameResolver localHostName.
<br>
<br>
(note that those are typically NOT localhost)
<br>
Also you should see
<br>
<br>
printIt NetNameResolver addressForName:
'localhost'. </blockquote>
"::1(localhost),0(0)"
<br>
<blockquote type="cite">
<br>
-=-=-=-=-=-=-
<br>
<br>
So far so good.
<br>
<br>
If you now try to, for example get some IPv6-enabled url, your
should see
<br>
<br>
printIt (WebClient httpGet: '<a class="moz-txt-link-freetext" href="http://ipv6-test.com">http://ipv6-test.com</a>')
status. " </blockquote>
'HTTP/1.1 200 OK'"
<br>
<blockquote type="cite">
<br>
But this won't probably work _unless_ you have the fixes in
your image </blockquote>
which I uploaded just 5 minutes ago (WebClient-topa.110,
Network-topa.205) ;)
<br>
<blockquote type="cite">
<br>
Best regards
<br>
-Tobias
<br>
<br>
<br>
<br>
<blockquote type="cite">Alan
<br>
<br>
On 09/17/2017 10:44 PM, David T. Lewis wrote:
<br>
<blockquote type="cite">On Sun, Sep 17, 2017 at 09:46:49PM
-0400, Alan Pinch wrote:
<br>
<blockquote type="cite">Could anyone be able to point me
to working IPv6 code for squeak,
<br>
please? I would appreciate any link.
<br>
<br>
Alan
<br>
<br>
</blockquote>
In the preferences browser, catagory general, set the
preference for
<br>
"Enable IPv6 and new network support" to true.
<br>
<br>
The default setting is false, largely because of some
network name
<br>
resolver issues on the Windows platform.
<br>
<br>
I do not think that the IPv6 code is exercised much,
because most
<br>
people probably leave their image in the default mode. So
if you are
<br>
using this and find problems with it, please let us know
what does
<br>
not work.
<br>
<br>
Dave
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
-- <br>
Thank you for your consideration,
<br>
Alan
<br>
<br>
<br>
<br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Thank you for your consideration,
Alan
</pre>
</body>
</html>