Network under AROS hosted (Linux)

snurf.T · 2713

snurf.T

  • Newbie
  • *
    • Posts: 6
    • Karma: +0/-0
on: October 27, 2018, 08:45:33 AM
Hi there,

I'm trying AROS hosted on a Gnu/Linux system (arch Linux) and can't get the network running.

The uml_utilities packages is installed and I adopted the AROS_network.sh script (I use 192.168.254.254 for the tap_ip while the host has 192.168.178.xx. Since I would like to use the wireless connection of the host, I entered wlp3s0 as masq-iface).
When AROS starts, the script prints out:
Code: [Select]
...
Created tap device: aros0
Setting aros0 to IP address 192.168.254.254 and bringing it UP
Configuring NAT routing from interface wlp3s0
...
[tap] unit 0 attached to aros0
...
[AROSTCP] eth0 is now online.

In AROS there is one entry in the network settings under IP v4-Configuration:
eth0 * tap.device 0 Get address via DHCP

Can anyone tell me what's wrong here? Did I confuse iface and masq-iface? - Any help appreciated! :) Thanks.



magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #1 on: November 01, 2018, 06:39:56 PM
...
Can anyone tell me what's wrong here?

Is there something wrong then ? e.g. is your connection not working from within aros ?

afaik your host is just being used as a 'bridge/router', from AROS point of view it is just a network connection. Did you perhaps (wrongfully) expected for AROS to take over full control over your wireless (host) adapter ?

Or did i perhaps miss something obvious with your numbers there ?


paolone

  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #2 on: November 02, 2018, 02:41:38 AM
@snurf.T

Have you tried assigning a compatible fixed address to the AROS eth0 interface? 192.168.254.250 should work good. I guess you've also to set 192.168.254.254 as a gateway, but frankly I don't remember now.


snurf.T

  • Newbie
  • *
    • Posts: 6
    • Karma: +0/-0
Reply #3 on: November 30, 2018, 08:24:35 AM
Hi paolone,
hi magorium,

time flies ;) - Nearly a month passed and I had barely time to check on this subject. Anyway....

Many thanks for your replies!!! :)

It's still not running, but when I try paolone's suggestion something changes! :)
When I set the IP-mode of the tap.device "eth0" (in AROS) to "manual" and use 192.168.254.250 as the IP-address, the ping-command (e.g. "ping 1.2.3.4" in a shell) tries to reach its address (it just does not return and waits until eternity ;)).
Before that (when the IP-mode is set to "DHCP"), the ping-command says: "ping: sendto: No route to host". 
So, I think, that's a step towards the right direction ;). - Luckily the hosted version of AROS boots in no time. That makes experimenting with different settings quite easy. :)



paolone

  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #4 on: December 01, 2018, 04:33:19 AM
Hi paolone,
It's still not running, but when I try paolone's suggestion something changes! :)
When I set the IP-mode of the tap.device "eth0" (in AROS) to "manual" and use 192.168.254.250 as the IP-address, the ping-command (e.g. "ping 1.2.3.4" in a shell) tries to reach its address (it just does not return and waits until eternity ;) ).
Before that (when the IP-mode is set to "DHCP"), the ping-command says: "ping: sendto: No route to host". 
So, I think, that's a step towards the right direction ;) . - Luckily the hosted version of AROS boots in no time. That makes experimenting with different settings quite easy. :)
Ok, listen, I really cannot explain this concept better than this. Look at the attached image, it's how hosted icaros is configured by default.


paolone

  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #5 on: December 01, 2018, 04:35:12 AM
There is a little mistake in the image. Interface net0 for AROS address is 192.168.166.2, not 192.169.166.2. My bad.




snurf.T

  • Newbie
  • *
    • Posts: 6
    • Karma: +0/-0
Reply #6 on: January 13, 2019, 09:04:11 AM
Hi guys,

sorry for the late response!

Here is a new post so we can close the subject: The network is still not running, but I am pretty sure now that it is a matter of my GNU-Linux / laptop! On a different machine the hosted network worked out of the box :) !!! I compared the AROS setup and that is not the problem. Since both machines run Arch GNU-Linux, I assume that the drivers on my laptop could be the problem. I also noticed that I experience more crashes on the laptop.
Anyway, since I have a virtual machine running without all that trouble on that laptop, I am happy with that for the time being. :) And on the other machine (my desktop computer) AROS hosted is running just fine!

Thanks again for the support! I really appreciate it! :)