According to Affan Basalamah: While burning my CPU.
>
> hi there,
>
> after a sick fsck, I cannot initialize my ax1 interface.
> this is what happen after I initialize my ax1 interface using rc.com2
> script :
>
> /etc/rc.com2
> Configuring:
> AX.25: ttyS1 -> to HF: 44.132.16.1 tty_speed: tcgetattr: I/O error
The way the echo command is working i would take a guess and say it the "-n"
which is causing the problem, remove the -n after echo in your script and
try again, thats what i would check "first".
You could also try using kissattach from the command line, just to check
what happens.
> SIOCSIFNETMASK: No such device
> SIOCSIFBRDADDR: No such device
> ax1: unknown interface.
> ./rc.com2: /proc/sys/net/ax25/ax1/ip_default_mode: No such file or
> directory
> ./rc.com2: /proc/sys/net/ax25/ax1/maximum_packet_length: No such file or
> directory
> axconfig: port HF not active
>
> and this is my rc.com2 script :
>
> echo "/etc/rc.com2"
> echo " Configuring:"
>
> echo -n " AX.25: ttyS1 -> to HF: 44.132.16.1 "
^^ remove.
> /usr/sbin/kissattach -i 44.132.16.1 /dev/ttyS1 HF
This command is failing, so all other errors are caused because kissattach
is not attaching the interface.
> sleep 1
> /sbin/ifconfig ax1 netmask 255.255.255.0
> /sbin/ifconfig ax1 broadcast 44.132.16.255
> echo 1 > /proc/sys/net/ax25/ax1/ip_default_mode
> echo 100 > /proc/sys/net/ax25/ax1/maximum_packet_length
> #/usr/sbin/axparms -parms HF -ipmode V -paclen 100
> #/usr/sbin/axctl HF -paclen 100
> #/usr/sbin/axparms HF -ipmode V
>
> can anyone tell me how to activate my interface back ??
> I've tried to re-makeinstall my ax25-utils and compiling my kernel back,
> but there is no change.
>
> thank you very much,
> --affan--
>
--
Regards Richard.
[EMAIL PROTECTED]