Failed on loading the interface

bridged with qdn.public.ddk.network
Post Reply
Beth

Failed on loading the interface

Post by Beth » Fri May 02, 2003 8:05 pm

We have a custom interface type with a single producer_up. This
interface is mounted correctly on QNX 6.1a Tiny, full TCPIP, it also
works fine on QNX 6.2 Tiny TCPIP, however it failed running on QNX 6.2
Full TCPIP stack. On QNX 6.2 Full TCPIP machine, after we mounted the
driver, the interface was listed under /dev/io-net/, but if I do
ifconfig -a, the interface was not there. Any one know whether there is
any change on QNX 6.2 full TCP that could cause this problem?

Appreciate your help.

-Beth

Sean Boudreau

Re: Failed on loading the interface

Post by Sean Boudreau » Sat May 03, 2003 12:00 am

Make sure that on your advertise packet, npkt->tot_iov is
set correctly (ie npkt->tot_iov = 1).

-seanb

Beth <id@address.com> wrote:
We have a custom interface type with a single producer_up. This
interface is mounted correctly on QNX 6.1a Tiny, full TCPIP, it also
works fine on QNX 6.2 Tiny TCPIP, however it failed running on QNX 6.2
Full TCPIP stack. On QNX 6.2 Full TCPIP machine, after we mounted the
driver, the interface was listed under /dev/io-net/, but if I do
ifconfig -a, the interface was not there. Any one know whether there is
any change on QNX 6.2 full TCP that could cause this problem?

Appreciate your help.

-Beth

Beth

Re: Failed on loading the interface

Post by Beth » Mon May 05, 2003 2:04 pm

Sean, thanks for your response. I added the npkt->tot_iov=1 to the advertise
code, the interface is now listed when I did ifconfig, however, I got
following message:

mnc0: flags=8042<BROADCAST,RUNNING,MULTICAST> mtu 1500
nwid ""
tunnel inet -->
ifconfig: mnc0: no media type?

Appreciate your help.

-Beth

Sean Boudreau wrote:
Make sure that on your advertise packet, npkt->tot_iov is
set correctly (ie npkt->tot_iov = 1).

-seanb

Beth <id@address.com> wrote:
We have a custom interface type with a single producer_up. This
interface is mounted correctly on QNX 6.1a Tiny, full TCPIP, it also
works fine on QNX 6.2 Tiny TCPIP, however it failed running on QNX 6.2
Full TCPIP stack. On QNX 6.2 Full TCPIP machine, after we mounted the
driver, the interface was listed under /dev/io-net/, but if I do
ifconfig -a, the interface was not there. Any one know whether there is
any change on QNX 6.2 full TCP that could cause this problem?

Appreciate your help.

-Beth

Dmitri Poustovalov

Re: Failed on loading the interface

Post by Dmitri Poustovalov » Wed May 28, 2003 1:28 pm

Try to assign ap->dl.sdl_type in your advertising function. There is a
bunch of IFT_ types to choose from in <net/if_types.h>.
Cheers,
-Dmitri

Beth wrote:
Sean, thanks for your response. I added the npkt->tot_iov=1 to the advertise
code, the interface is now listed when I did ifconfig, however, I got
following message:

mnc0: flags=8042<BROADCAST,RUNNING,MULTICAST> mtu 1500
nwid ""
tunnel inet --
ifconfig: mnc0: no media type?

Appreciate your help.

-Beth

Sean Boudreau wrote:

Make sure that on your advertise packet, npkt->tot_iov is
set correctly (ie npkt->tot_iov = 1).

-seanb

Beth <id@address.com> wrote:
We have a custom interface type with a single producer_up. This
interface is mounted correctly on QNX 6.1a Tiny, full TCPIP, it also
works fine on QNX 6.2 Tiny TCPIP, however it failed running on QNX 6.2
Full TCPIP stack. On QNX 6.2 Full TCPIP machine, after we mounted the
driver, the interface was listed under /dev/io-net/, but if I do
ifconfig -a, the interface was not there. Any one know whether there is
any change on QNX 6.2 full TCP that could cause this problem?

Appreciate your help.

-Beth

Post Reply

Return to “qdn.public.ddk.network”