[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: baycom sethdlc No such device (19)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Sebastian, sorry for my earlier reply, I must have tapped the reply button 
and not the replylist button.  Here is the message, this time sent to the 
list <blush>]

I'm back for more punishment :)

Thank you Sebastian.  I followed your directions to the letter but I'm still
getting this error:
root@benchotesto:~# call w6zzk-1 bcsf0
axconfig: port bcsf0 not active
call: no AX.25 port data configured
root@benchotesto:~#

I'll attach my session log that I made in case it might be useful.

Further, I removed the modules and started over again with my call sign
changed to ke6sls-10 as suggested.  This didn't help either :(

TIA, 73

On Wednesday 17 December 2003 13:13, Sebastian Muszynski wrote:
> Hi again!
>
> This time i think it lacks on an 'ifconfig bcsf0 up'. Following lines shut
> be enough to setup your modem:
>
> setserial setserial /dev/ttyS0 uart none
> modprobe hdlcdrv
> modprobe baycom_ser_fdx
> sethdlc -p -i bcsf0 mode "ser12*" io 0x3f8 irq 4
> sethdlc -i bcsf0 -a txd 220 slot 50 txtail 50 ppersist 180 half
> ifconfig bcsf0 hw ax25 ke6sls up
>
> Generally it is better if you use ke6sls-10 in your /etc/ax25/axports +
> ifconfig. Furthermore it is advisable to set a ip for your radio device.
> ('ifconfig bcsf0 44.127.127.1 up' for example)
>
> Sebastian
>
> On Wednesday 17 December 2003 21:30, Jaye Inabnit ke6sls wrote:
> > On Wednesday 17 December 2003 06:34, Sebastian Muszynski wrote:
> > > Hi Jaye!
> > >
> > > If you load the kernl module baycom_ser_fdx.o your interface is called
> > > bcsf0. So try 'sethdlc -p -i bcsf0 mode "ser12*" io 0x3f8 irq4'.
> > >
> > > Good luck!
> > >
> > > 73 de Sebastian, DO2KSM
> > >
> > > On Wednesday 17 December 2003 09:42, Jaye Inabnit ke6sls wrote:
> > > > Greetings:
> > > >
> > > > I'm not having much luck getting my baycom bp2 modem port/device to
> > > > load. I'm reading the ax25 howto and following it along (as root)
> > > > (chapter 6.1.3). When I issue:
> > > > sethdlc -p -i bc0 mode "ser12*" io 0x3f8 irq 4
> > > > my system responds with:
> > > > sethdlc: Error No such device (19), cannot ioctl SIOCGIFFLAGS bc0
> >
> > That did the trick!  Thank you for this, and for leading me to the docs
> > in the kernel source.  I forgot to look there!
> >
> > Next problem is that I can now configure this device, but I can not make
> > a call.  I've loaded these modules:
> > Module                  Size  Used by    Not tainted
> > baycom_ser_fdx          6368   1
> > hdlcdrv                 8386   4  [baycom_ser_fdx]
> >
> > All seem to load without error.  I've also modified the file axports:
> > # name callsign speed paclen window description
> > #
> > bcsf0   ke6sls  1200    255     2       145.050 MHz (1200 bps)
> > #2      OH2BNS-9        38400   255     7       TNOS/Linux  (38400 bps)
> >
> > /sbin/ifconfig reports:
> > bcsf0     Link encap:AMPR AX.25  HWaddr KE6SLS
> >           UP RUNNING  MTU:256  Metric:1
> >           RX packets:2 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:16
> >           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> >           Interrupt:4 Base address:0x3f8
> >
> > All this looks like I might be close to the first packet via the baycom/
> > ax25Linux thing.  But, when I issue a call:
> >
> > # call w6zzk bcsf0
> > axconfig: port bcsf0 not active
> > call: no AX.25 port data configured
> >
> > Something isn't right.  I removed all the modules and started again from
> > the beginning and this same error occurs. . .
> >
> > What have I missed or done wrong?

- --

Wishing you well.

Jaye Inabnit, ke6sls   (A fortunate GNU/Linux user)
Questions, especially really dumb questions, can reveal the oblivious.
Free software isn't about money, it's about freedom. Please Support GNU!


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: My key available from www.keyserver.net

iD8DBQE/4P14ZHBxKsta6kMRAjNLAKCPERMRA+d0eXpXqifqoiIRLbEw/gCcDYuc
RcTHHsSUPyBxjO62ui4vS24=
=pIMM
-----END PGP SIGNATURE-----
root@benchotesto:~# setserial /dev/ttyS0 uart none
root@benchotesto:~# modprobe hdlcdrv
root@benchotesto:~# modprobe baycome_ser_fdx
modprobe: Can't locate module baycome_ser_fdx
root@benchotesto:~# modprobe baycom_ser_fdx
root@benchotesto:~# sethdlc -p -i bcsf0 mode "ser12*" io 0x3f8 irq 4
sethdlc: Version 0.5; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA
driver name: baycom_ser_fdx
current parameters: mode ser12* io 0x3f8 irq 4
new parameters:     mode ser12* io 0x3f8 irq 4
root@benchotesto:~# sethdlc -i bcsf0 -a txd 220 slot 50 txtail 50 ppersist 180 half
sethdlc: Version 0.5; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA
current parameters: TX delay 200ms, TX tail 20ms, slottime 100ms, p-persistence  40/256, Half duplex
new parameters:     TX delay 220ms, TX tail 50ms, slottime 50ms, p-persistence  180/256, Half duplex
root@benchotesto:~# ifconfig bcsf0 hw ax25 ke6sls up
root@benchotesto:~# call w6zzk-1 bcsf0
axconfig: port bcsf0 not active
call: no AX.25 port data configured
root@benchotesto:~#
bcsf0     Link encap:AMPR AX.25  HWaddr KE6SLS  
          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:16 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:4 Base address:0x3f8 

eth0      Link encap:Ethernet  HWaddr 00:50:22:8C:1D:1A  
          inet addr:192.168.10.14  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:593 errors:0 dropped:0 overruns:0 frame:0
          TX packets:332 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:55298 (54.0 KiB)  TX bytes:40861 (39.9 KiB)
          Interrupt:9 Base address:0x3f00 

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:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1188 (1.1 KiB)  TX bytes:1188 (1.1 KiB)

root@benchotesto:~# 

Reply to: