Linux nodes instead of BPQ32 nodes in the LAN
Hello Miroslav,
Giving us the listing of your /etc/ax25/axports
and /etc/ax25/ax25d.conf files would be helpful
for it looks like you did not declare any ax25 ports
in those files.
According to http://www.linuxselfhelp.com/HOWTO/AX25-HOWTO/x495.html :
"To configure the BPQ support you need to configure the Ethernet device with an AX.25 callsign. The following command will do this for you:
# /sbin/ifconfig bpq0 hw ax25 vk2ktj-14 up
Again, remember that the callsign you specify should match the entry in the /etc/ax25/axports file that you wish to use for this port."
Look at paragraph 6.2 in previous page link.
Concerning netromd, it also needs valid ax25 ports in /etc/ax25/nrbroadcast
73 de Bernard, f6bvp
-------------
Hi all!
I have been experimenting with 3 computers as AX.25 nodes in a home LAN, as follows:
_____________ ___________________ __________________ VHF |MS DOS 5 comp| |MS Windows XP comp| |MS Windows XP comp| TRX--TNC2--| BPQ 4.09d | -- | BPQ32 4.10f |--| BPQ32 4.10f |
ant ------------- ------------------ ------------------
(1) (2) (3)
In the situation above all 3 nodes talk to each other without problems. What I wanted to do was to replace comps (2) and (3) with Linux nodes. Both of those comps are dual-boot: (2) is Debian 6.0.1a, and (3) is Ubuntu 10.04.2 LTS.
Ok so I installed libax, ax25tools and ax25apps, as well as node on both
(2) and (3) by using Synaptic but am not able to activate the nodes properly. In fact, I have edited the main files in /etc/ax25 on both machines according to the ancient AX.25-howto and then tried the following commands in Ubuntu terminal (in Debian root terminal of course without 'sudo'):
sudo modprobe bpqether (did not complain anything)
sudo /sbin/ifconfig bpq0 hw ax25 yt7mpb-15 up (did not complain either) sudo ifconfig responded with:
bpq0 Link encap:AMPR AX.25 HWaddr YT7MPB-15
UP RUNNING MTU:256 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:25:22:3d:9f:22
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::225:22ff:fe3d:9f22/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:116 errors:0 dropped:0 overruns:0 frame:0 TX packets:125 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000
RX bytes:12824 (12.8 KB) TX bytes:11360 (11.3 KB) Interrupt:27
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0 TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:957 (957.0 B) TX bytes:957 (957.0 B)
sudo modprobe netrom (did not complain)
sudo nrattach netrom responded with:
NET/ROM port netrom bound to device nr0
sudo nrattach netnod responded with:
NET/ROM port netnod bound to device nr1
sudo ax25d responded with:
axconfig: port bpq0 not active
ax25d: no AX.25 port data configured
sudo netromd
axconfig: port bpq0 not active
netromd: no AX.25 ports defined
I suppose that I mis-configured and/or forgotten some important steps and would like to contact somebody with more experience with Linux nodes running over Ethernet. Btw, at the moment I do not plan to run any RF ports on those Linux machines - just to have netrom nodes on them so that those nodes should be able to talk with the dos computer (1), and probably later I will add LinFBB to replace the WinFBB's that run over BPQ32 nodes when (2) and (3) are booted as Win XP.
Regards,
Misko YT7MPB
Quoted 4 lines · On 07/09/2011 11:27 PM, Bernard F6BVP wrote:
Giving us the listing of your
/etc/ax25/axportsand/etc/ax25/ax25d.conffiles would be helpful for it looks like you did not declare any ax25 ports in those files.
Hi Bernard! Here it is:
# /etc/ax25/axports # # The format of this file is: # # name callsign speed paclen window description # #1 OH2BNS-1 1200 255 2 144.675 MHz (1200 bps) #2 OH2BNS-9 38400 255 7 TNOS/Linux (38400 bps) bpq0 YT7MPB-15 10000000 255 7 New LAN (100 Mbps)
# /etc/ax25/ax25d.conf # # ax25d Configuration File. # # AX.25 Ports begin with a '['. # #[OH2BNS VIA 1] #NOCALL * * * * * * L #default * * * * * * - root /usr/local/sbin/ttylinkd ttylinkd # [YT7MPB-5 VIA bpq0] NOCALL * * * * * * L default * * * * * * - root /usr/sbin/node node # # #[OH2BNS VIA 2] #NOCALL * * * * * * L #default * * * * * * - root /usr/local/sbin/ttylinkd ttylinkd # #[OH2BNS-2 VIA 2] #NOCALL * * * * * * L #default * * * * * * - root /usr/sbin/node node # #[OH2BNS-3 VIA 2] #NOCALL * * * * * * L #default * * * * * * - root /usr/local/sbin/axwrapper axwrapper /#usr/bin/finger finger # #[OH2BNS-9] #NOCALL * * * * * * L #default * * * * * * - root /usr/sbin/node node # # NET/ROM Ports begin with a '<'. # #<netrom> #NOCALL * * * * * * L #default * * * * * * - root /usr/local/sbin/ttylinkd ttylinkd # <netrom> NOCALL * * * * * * L default * * * * * * - root /usr/sbin/node node # #<netnod> NOCALL * * * * * * L default * * * * * * - root /usr/sbin/node node #
Quoted 9 lines
According to http://www.linuxselfhelp.com/HOWTO/AX25-HOWTO/x495.html :
"To configure the BPQ support you need to configure the Ethernet device with an AX.25 callsign. The following command will do this for you:# /sbin/ifconfig bpq0 hw ax25 vk2ktj-14 upAgain, remember that the callsign you specify should match the entry in the
/etc/ax25/axportsfile that you wish to use for this port."
As I mentioned in my previous post, I used the command:
sudo /sbin/ifconfig bpq0 hw ax25 yt7mpb-15 up
and i did not get any error related to it.
Quoted 2 lines
Look at paragraph 6.2 in previous page link.
Ok, will check the link...
Quoted 2 lines
Concerning netromd, it also needs valid ax25 ports in
/etc/ax25/nrbroadcast
Here it is:
# /etc/ax25/nrbroadcast # # The format of this file is: # # ax25_name min_obs def_qual worst_qual verbose # #1 5 192 100 0 #2 5 255 100 1 bpq0 5 255 100 1
Quoted 23 lines
73 de Bernard, f6bvp
-------------
Hi all!
I have been experimenting with 3 computers as AX.25 nodes in a home LAN, as follows:
_____________ ___________________ __________________ VHF |MS DOS 5 comp| |MS Windows XP comp| |MS Windows XP comp| TRX--TNC2--| BPQ 4.09d | -- | BPQ32 4.10f |--| BPQ32 4.10f |ant ------------- ------------------ ------------------
(1) (2) (3)
In the situation above all 3 nodes talk to each other without problems. What I wanted to do was to replace comps (2) and (3) with Linux nodes. Both of those comps are dual-boot: (2) is Debian 6.0.1a, and (3) is Ubuntu 10.04.2 LTS.
Hello Miroslav,
As an old time user of ROSE/FPAC node under Linux I ignore most if not all of bpq application.
I browsed for it and found two other things that may help you ?
http://www.linuxdoc.org/HOWTO/AX25-HOWTO/x1958.html
and look at bpqparms manual for it suggests other things.
# man bpqparms
I have a question : did you load ax25 module ?
And finally are you sure bpq is still supported with kernel 2.6 ?
73 de Bernard, f6bvp
Selon Miroslav Skoric <[email protected]>:
http://www.linuxdoc.org/HOWTO/AX25-HOWTO/x1958.html
Quoted 126 lines · On 07/09/2011 11:27 PM, Bernard F6BVP wrote:
Quoted 5 lines
Giving us the listing of your
/etc/ax25/axportsand/etc/ax25/ax25d.conffiles would be helpful for it looks like you did not declare any ax25 ports in those files.Hi Bernard! Here it is:
# /etc/ax25/axports # # The format of this file is: # # name callsign speed paclen window description # #1 OH2BNS-1 1200 255 2 144.675 MHz (1200 bps) #2 OH2BNS-9 38400 255 7 TNOS/Linux (38400 bps) bpq0 YT7MPB-15 10000000 255 7 New LAN (100 Mbps)# /etc/ax25/ax25d.conf # # ax25d Configuration File. # # AX.25 Ports begin with a '['. # #[OH2BNS VIA 1] #NOCALL * * * * * * L #default * * * * * * - root /usr/local/sbin/ttylinkd ttylinkd # [YT7MPB-5 VIA bpq0] NOCALL * * * * * * L default * * * * * * - root /usr/sbin/node node # # #[OH2BNS VIA 2] #NOCALL * * * * * * L #default * * * * * * - root /usr/local/sbin/ttylinkd ttylinkd # #[OH2BNS-2 VIA 2] #NOCALL * * * * * * L #default * * * * * * - root /usr/sbin/node node # #[OH2BNS-3 VIA 2] #NOCALL * * * * * * L #default * * * * * * - root /usr/local/sbin/axwrapper axwrapper /#usr/bin/finger finger # #[OH2BNS-9] #NOCALL * * * * * * L #default * * * * * * - root /usr/sbin/node node # # NET/ROM Ports begin with a '<'. # #<netrom> #NOCALL * * * * * * L #default * * * * * * - root /usr/local/sbin/ttylinkd ttylinkd # <netrom> NOCALL * * * * * * L default * * * * * * - root /usr/sbin/node node # #<netnod> NOCALL * * * * * * L default * * * * * * - root /usr/sbin/node node #Quoted 9 lines
According to http://www.linuxselfhelp.com/HOWTO/AX25-HOWTO/x495.html :
"To configure the BPQ support you need to configure the Ethernet device with an AX.25 callsign. The following command will do this for you:# /sbin/ifconfig bpq0 hw ax25 vk2ktj-14 upAgain, remember that the callsign you specify should match the entry in the
/etc/ax25/axportsfile that you wish to use for this port."As I mentioned in my previous post, I used the command:
sudo
/sbin/ifconfigbpq0 hw ax25 yt7mpb-15 upand i did not get any error related to it.
Quoted 2 lines
Look at paragraph 6.2 in previous page link.
Ok, will check the link...
Quoted 2 lines
Concerning netromd, it also needs valid ax25 ports in
/etc/ax25/nrbroadcastHere it is:
# /etc/ax25/nrbroadcast # # The format of this file is: # # ax25_name min_obs def_qual worst_qual verbose # #1 5 192 100 0 #2 5 255 100 1 bpq0 5 255 100 1Quoted 23 lines
73 de Bernard, f6bvp
-------------
Hi all!
I have been experimenting with 3 computers as AX.25 nodes in a home LAN, as follows:
_____________ ___________________ __________________ VHF |MS DOS 5 comp| |MS Windows XP comp| |MS Windows XP comp| TRX--TNC2--| BPQ 4.09d | -- | BPQ32 4.10f |--| BPQ32 4.10f |ant ------------- ------------------ ------------------
(1) (2) (3)
In the situation above all 3 nodes talk to each other without problems. What I wanted to do was to replace comps (2) and (3) with Linux nodes. Both of those comps are dual-boot: (2) is Debian 6.0.1a, and (3) is Ubuntu 10.04.2 LTS.
Signature · 1 line
73 de Bernard, F6BVP