Xnet axudp link Jnos

The axudp link from xnet to jnos has caused a lot of problems.
But he is up and running … Here the explanation.

In the line “attach axudp xnet 256 192.168.1.112” (jnos) is the secret.
This must therefore “not” refer to the ip address of xnet like you
have indicated in ip.net at myip, but to the IP address of Linux itself.
So the ip address of (for example) eth0

Autoexec.nos (Jnos)

attach tun tun0 1500 0
#
ifconfig tun0 ipaddress 192.168.1.222
ifconfig tun0 netmask 255.255.255.0
ifconfig tun0 mtu 1500

shell ifconfig tun0 192.168.1.221 pointopoint 192.168.1.222 mtu 1500 up
pause 2
shell echo 1 >/proc/sys/net/ipv4/ip_forward
shell /usr/sbin/arp -i eth0 -Ds 192.168.1.222 eth0 pub

attach axudp xnet 256 192.168.1.112 (ip-adres Linux (eth0))
ifconfig xnet description "axip link xnet"

Eth0 (Linux)

eth0      Link encap:Ethernet  HWaddr 00:12:3f:2b:c6:6f
          inet addr:192.168.1.112  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::212:3fff:fe2b:c66f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7844 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7255 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:885500 (864.7 KiB)  TX bytes:1166950 (1.1 MiB)
          Interrupt:16

Ip.net (xnet)

IP.net
#        File: IP.NET
#       (X)Net IP Address
#
myip 192.168.1.201
subnet 192.168.1.0/24
#
# ARP entry for all received IP Frames
arp add 192.168.1.201 slip sdev6
#
#
# Default route
ipr add default SLIP 192.168.1.201
#
iproute add 192.168.1.0/24 slip 192.168.1.201

Autoboot.net (xnet)

attach IP0 axudp 0 1 192.168.1.222   (Ip-adres van Jnos) 

po 0 acon 1
po 0 baud 9600
po 0 dup 0
po 0 win 7
po 0 quality 0
po 0 name pd2lt
r bc ad 0 pd2lt
r bc ad 0 nodes
ro lo a 0 pd2lt-9 d

 

2 thoughts on “Xnet axudp link Jnos”

  1. Hi, im trying To get xnet and direwolf To work with raspberry pi3b. I have tried pseudttys pts, kissattach. Readalot of your site here. I dont know is it because of linuxsnet have To use qemu- i can configure linpac To work with direwolf ok. All Ok with axports.
    You have any useful hints? Would be very happy To get things working. Trying To get fbb, and node To work At same hf radio. Also interconnect.

  2. Hi Patrick,

    What about something like this.

    # Create pty pair
    socat -d -d -ly PTY,link=/dev/ttyq1 PTY,link=/dev/ptyq1 &
    sleep 2
    # Start Direwolf
    direwolf -d kn -c /direwolf/direwolf.conf &> /var/log/direwolf.log >/dev/tty3 &
    sleep 2

    Direwolf.conf
    SERIALKISS /dev/ttyq1 19200

    Xnet
    attach sdev0 kiss 0 1 9200 /dev/ptyq1

    Or something like this.
    direwolf –p

    Virtual KISS TNC is available on /dev/pts/5
    WARNING – Dire Wolf will hang eventually if nothing is reading from it.
    Created symlink /tmp/kisstnc -> /dev/pts/5

    Xnet
    attach sdev0 kiss 0 1 9600 /tmp/kisstnc

    73 Niels PD9Q

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.