OpenWrt Forum Archive

Topic: ax25 kernel mods packet node

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello All , I am new in this forum . I searching info for  connect
wrt54g russian RC2  to  rs232 Supervozelj node for link wifi to packet radio  in site on  mountain ... without a PCserver.
where i find info on adding ax25 and mkiss on wrt54g kernel ?
I have find now ax25apps ,ax25tools  for wrt54g but any info for kernel mods...
Thanks for Info .  73 ik6ihg Hamradio.

Hello all ,
I am Hamradio operator too and have crosscompiled the ax25 libs , ax25 tools , ax25 apps for the use of the so called
" kernel-AX25 " in linux ( openwrt ) . big_smile
well , i know ik6ihg you have contact to Jann , dg8ngn , ok , Jann have a few packages for ax25 on his server somewhere at db0fhn , i have now tested this packages and they are not full working , parts of these packages are linked at compile time  to the wrong libraries . sad
If you want a full working kernel-ax25 in openwrt please look at http://db0noe.dyndns.org/openwrt
there are my files for a working kernel-ax25 in openwrt , you need the libax25 , ax25 tools , ax25 apps and a firmware-image of openwrt with compiled in ax25 support , all this are at the url above . wink
Ok my files at db0noe are not based on the actually version of openwrt ( whiterussian) i have used the last experimental
version of openwrt , and it is working stable .
i don't have the time at the moment to check if i can the kernel-ax25 activate in whiterussian RC3 version , but i see
no problem .
the only thing you must do is  before you can activate ax25 in openwrt - source you must have compiled it first , it downloads a lot of sourcecode from the internet at compile -time ( of course , the linux -kernel -sources too )
if you have sucessfully compiled it , you have somewhere the kernel source locally and you can go to the directory
with the kernel sources , all you have to do there is to make a 
make menuconfig
command and you should have the menu for the kernel-config on the screen , go to the menu , find the entries for ax25
and simply activate what you want .
then you have to save the config and build a new kernel for the firmware  - image of openwrt
i have put a sample  .config file  for a linux -kernel with ax25 at db0noe .
If i will find a little bit time i think i will put a description at the site at db0noe  , how to compile it in and how to use it and so on . We have here 2 wrt54gs with this modified , ax25 ready openwrt firmware and the tools and so on running
one in AP and the other wrt54gs in STA mode , both with the serial -console mod , and its funny you can setup 2 wrt routers , use ax25ipd and you can use the serial ports for kiss input from a  rmnc -node or so , and at the second wrt too
and can do ax25 over wifi , its pretty cool , with the right setup this works like a long cable  but it looks like this :
computer rs232 > rs232 at wrt -router > wifi   > wrt-router >rs232 at wrt-router > ....whatever you want ..... with rs232 and kiss ... cool
i have put the sources for the ax25 libs , ax25 apps , and tools at db0noe too , im not sure if you can use the source ,
it may be that the source is not working at other systems like mine , all files are edited for crosscompiling , it looks
terrible ...
one thing is important : if you want to use the listen -program , you have to install the ncurses ipk package too
without installed ncurses you get only an error from the listen -program .
at the moment i will see if i can compile all the kernel -related ax25 stuff as modules , i think it makes sense , if this will
work , you can load the modules to a router with the "normal" openwrt -firmware on it  , say insmod xyz or something else and it may work , the only thing is , if i compile modules , it always depends at the kernel -version but then you
don't have to flash the router if you will enable ax25 smile

i hope there are some hams out there at the openwrt-forum , test it ....
thank you for reading this and .. please excuse my bad english ... it¶ really not my language ....
and of course i must say thank you to all the guys here at openwrt and all who worked and programmed the source -code of openwrt ,  really GREAT !
I have read a lot of posts here at the forum to understand whats going on in this firmware , and how things work , and must say thats the best documentation i have ever seen  .
And a big thank you to the following HAM -RADIO OPERATORS :
DG8NGN  , Jann
DG5MPQ , Thomas
DL9SAU
DL3SJB , the one who worked at the crosscompiling of aprsd ....
..and many others , too much to write here ......
ok , thats it ,
have a nice day !

would be nice to get some patches for it for CVS HEAD. (developer version)

send to openwrt-devel@openwrt.org

wbx wrote:

would be nice to get some patches for it for CVS HEAD. (developer version)

send to openwrt-devel@openwrt.org

Hello wbx ,
Ok i will send them , but first i must be sure that this piece of code work 100 % , but this needs time ,
at the moment i am busy at work , if i will find a few free hours i will test this and if it works , you can be sure , i will send
patches .
have a nice day !

ok Thanks for this info  .. i get  this code and i test it ..  with wrt54gs and rs232-kiss superwozelj node ... I send in this forum
if there are problem ...
Great thanks at German Hamradio friends and you Joachim
73 de Ik6ihg    Paride.

Ok i have installed all on my wrt54g and work  well with megatnc
box in my house (axip work ) next week i will install wrt54g with supervozelj node in mountain site....
I work only  with tts/1 serial line   ..the tts/0 is busy with kernel console ...  there is  mode to work with all two serial rs232 ..
Kernel message is noinitrd console=ttyS0,115200
console will not used in my system 
Thank all
73 ik6ihg Paride .

I've been trying to use this, and a bunch of things work, but net2kiss doesn't. There seems to be a conflict between net2kiss trying to allocate ptys "the old (BSD) way" and Joachim's image being set up to support Unix98 pty naming.

Has anyone else run into this and solved it? Can I just make devices for the legacy ptys? How?

73 de chris K6DBG

The discussion might have continued from here.