Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
* nrattach "Cannot find free NET/ROM device" error!
@ 2002-10-02 20:31 Bill Walton
  2002-10-02 20:54 ` Tomi Manninen
  2002-10-02 21:03 ` pa3gcu
  0 siblings, 2 replies; 4+ messages in thread
From: Bill Walton @ 2002-10-02 20:31 UTC (permalink / raw)
  To: LINUX HAMS MAILING LIST

[-- Attachment #1: Type: text/plain, Size: 918 bytes --]

Hello -

I am still having some difficulties regarding getting my NETROM device "nr0"
attached.  The instructions are simple:

Edit "nrports" file

Edit "nrbroadcast" file

Run "nrattach netrom" to create the device "nr0"

Sounds easy but it doesn't work.  Here is what I get when I enter in the
"nrattach netrom" command:

nrattach: SIOCGIFFLAGS: no such device
nrattach: cannot find free NET/ROM device

Copies of the following files are attached:

axports
nrports
nrbroadcast
rc.local
output (from ifconfig command)

Any help that you could offer would be appreciated!  I am running RedHat 7.2 with
the 2.4.18 kernel (ax25 enabled, libs,tools, apps all installed).  Am I making an error
in these simple files? or is there a greater evil lurking somewhere?  I will be running 7
or 8 ports in the finished configuration.  But for now I am just trying to get it all to
work in its simplest form.

Regards,

Bill KJ6EO

[-- Attachment #2: output --]
[-- Type: text/plain, Size: 1499 bytes --]

ax0       Link encap:AMPR AX.25  HWaddr KJ6EO-15  
          inet addr:44.16.2.102  Mask:255.0.0.0
          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 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:04:5A:76:37:16  
          inet addr:64.174.110.108  Bcast:64.174.110.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1101 errors:0 dropped:0 overruns:0 frame:0
          TX packets:314 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
          RX bytes:119405 (116.6 Kb)  TX bytes:37380 (36.5 Kb)

eth1      Link encap:Ethernet  HWaddr 00:50:BA:C0:54:A8  
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:471 errors:0 dropped:0 overruns:0 frame:0
          TX packets:478 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
          RX bytes:61992 (60.5 Kb)  TX bytes:84023 (82.0 Kb)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:90 errors:0 dropped:0 overruns:0 frame:0
          TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
          RX bytes:6887 (6.7 Kb)  TX bytes:6887 (6.7 Kb)


[-- Attachment #3: nrbroadcast --]
[-- Type: text/plain, Size: 126 bytes --]

# /etc/ax25/nrbroadcast
#
# The format of this file is:
#
# ax25_name min_obs def_qual worst_qual verbose
#
radio	1	192	100	1

[-- Attachment #4: nrports --]
[-- Type: text/plain, Size: 144 bytes --]

# /etc/ax25/nrports
#
# The format of this file is:
#
# name callsign alias paclen description
#
netrom  KJ6EO-7	SCV   236    Linux Switch Port

[-- Attachment #5: axports --]
[-- Type: text/plain, Size: 149 bytes --]

# /etc/ax25/axports
#
# The format of this file is:
#
# name callsign speed paclen window description
#
radio	KJ6EO-15	4800	256	2	145.050 1200 Baud


[-- Attachment #6: rc.local --]
[-- Type: application/x-unknown-content-type-local_auto_file, Size: 548 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nrattach "Cannot find free NET/ROM device" error!
  2002-10-02 20:31 nrattach "Cannot find free NET/ROM device" error! Bill Walton
@ 2002-10-02 20:54 ` Tomi Manninen
  2002-10-02 21:29   ` Bill Walton
  2002-10-02 21:03 ` pa3gcu
  1 sibling, 1 reply; 4+ messages in thread
From: Tomi Manninen @ 2002-10-02 20:54 UTC (permalink / raw)
  To: Bill Walton; +Cc: LINUX HAMS MAILING LIST

On Wed, 2 Oct 2002, Bill Walton wrote:

> Sounds easy but it doesn't work.  Here is what I get when I enter in the
> "nrattach netrom" command:
> 
> nrattach: SIOCGIFFLAGS: no such device
> nrattach: cannot find free NET/ROM device

Is netrom compiled as a module? Have you loaded the module?
(modprobe netrom)

-- 
Tomi Manninen           Internet:  oh2bns@sral.fi
OH2BNS                  AX.25:     oh2bns@oh2rbi.fin.eu
KP20ME04                Amprnet:   oh2bns@oh2rbi.ampr.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nrattach "Cannot find free NET/ROM device" error!
  2002-10-02 20:31 nrattach "Cannot find free NET/ROM device" error! Bill Walton
  2002-10-02 20:54 ` Tomi Manninen
@ 2002-10-02 21:03 ` pa3gcu
  1 sibling, 0 replies; 4+ messages in thread
From: pa3gcu @ 2002-10-02 21:03 UTC (permalink / raw)
  To: Bill Walton, LINUX HAMS MAILING LIST

On Wednesday 02 October 2002 20:31, Bill Walton wrote:
> Hello -
>
> I am still having some difficulties regarding getting my NETROM device
> "nr0" attached.  The instructions are simple:
>
> Edit "nrports" file
>
> Edit "nrbroadcast" file
>
> Run "nrattach netrom" to create the device "nr0"
>
> Sounds easy but it doesn't work.  Here is what I get when I enter in the
> "nrattach netrom" command:

Ah!, but that is basicly correct, but your configuration seems at fault here.

>
> nrattach: SIOCGIFFLAGS: no such device
> nrattach: cannot find free NET/ROM device

You do not have netrom compiled into your kernel, but if you have netrom as a 
module you will need to add the following to your /etc/modules.conf file.

alias net-pf-6 netrom
alias nr0 netrom

after editing that file type 'depmod -a' then the rest should work.

However, it will up an interface for you but, i would advise;

nrattach -i  44.16.2.102 -m 236 netrom 

Another ditch you may fall into is the mkiss problem with kernel 2.4.18, 
check out the linux hams archive at;
hes.iki.fi
I think everyone will advise you to upgrade to 2.4.19 which has eliminated 
that problem and AFAIK there are no fatal problems with 2.4.19.

I must compliment you on the information you gave, it makes solving your 
problem so much easier than just saying it did not work which is the case 
mostly.

have fun.

>
> Copies of the following files are attached:
>
> axports
> nrports
> nrbroadcast
> rc.local
> output (from ifconfig command)
>
> Any help that you could offer would be appreciated!  I am running RedHat
> 7.2 with the 2.4.18 kernel (ax25 enabled, libs,tools, apps all installed). 
> Am I making an error in these simple files? or is there a greater evil
> lurking somewhere?  I will be running 7 or 8 ports in the finished
> configuration.  But for now I am just trying to get it all to work in its
> simplest form.
>
> Regards,
>
> Bill KJ6EO

----------------------------------------
Content-Type: text/plain; charset="us-ascii"; name="output"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

----------------------------------------
Content-Type: text/plain; charset="us-ascii"; name="nrbroadcast"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

----------------------------------------
Content-Type: text/plain; charset="us-ascii"; name="nrports"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

----------------------------------------
Content-Type: text/plain; charset="us-ascii"; name="axports"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

----------------------------------------
Content-Type: application/x-unknown-content-type-local_auto_file; 
charset="us-ascii"; name="rc.local"
Content-Transfer-Encoding: base64
Content-Description: 
----------------------------------------

-- 
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nrattach "Cannot find free NET/ROM device" error!
  2002-10-02 20:54 ` Tomi Manninen
@ 2002-10-02 21:29   ` Bill Walton
  0 siblings, 0 replies; 4+ messages in thread
From: Bill Walton @ 2002-10-02 21:29 UTC (permalink / raw)
  To: tpm; +Cc: LINUX HAMS MAILING LIST

Hi Tomi -

Thank you for your response regarding the NETROM problems that I was
having.  YES...you were absolutely correct, somehow I did not get the
netrom module loaded.  I thought that I compiled it directly into the kernel
but I must have choosen an <M> during the kernel configuration.

Again, your help is most appreciated!

Regards,

Bill KJ6EO

Tomi Manninen wrote:

> On Wed, 2 Oct 2002, Bill Walton wrote:
>
> > Sounds easy but it doesn't work.  Here is what I get when I enter in the
> > "nrattach netrom" command:
> >
> > nrattach: SIOCGIFFLAGS: no such device
> > nrattach: cannot find free NET/ROM device
>
> Is netrom compiled as a module? Have you loaded the module?
> (modprobe netrom)
>
> --
> Tomi Manninen           Internet:  oh2bns@sral.fi
> OH2BNS                  AX.25:     oh2bns@oh2rbi.fin.eu
> KP20ME04                Amprnet:   oh2bns@oh2rbi.ampr.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-02 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-02 20:31 nrattach "Cannot find free NET/ROM device" error! Bill Walton
2002-10-02 20:54 ` Tomi Manninen
2002-10-02 21:29   ` Bill Walton
2002-10-02 21:03 ` pa3gcu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox