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
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  "
/usr/sbin/kissattach -i 44.132.16.1 /dev/ttyS1 HF
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--

Reply via email to