Skip navigation.
Home
The QNX Community Portal

View topic - Configure Interface

Configure Interface

QNX Application portings.

Configure Interface

Postby nagarjuna » Mon Jul 18, 2011 4:34 am

Hi,
In linux to configure specific parameters for a physical interface we have IFF_PROMISC to receive all packets.
I am using QNX 6.3.2, How can I achive this ? Please help.
nagarjuna
New Member
 
Posts: 7
Joined: Wed May 04, 2011 12:57 pm

RE: Configure Interface

Postby mario » Mon Jul 18, 2011 7:00 pm

I don't think it can be changed at run time under 6.3.2, it's a network driver option.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

RE: Configure Interface

Postby nagarjuna » Tue Jul 19, 2011 11:50 am

Hi Mario,

Thanks for your reply. I am totally new to QNX. What exactly mean, we cant change at run time? Or can I know what option we have in QNX to configure interface to receive all packets?
nagarjuna
New Member
 
Posts: 7
Joined: Wed May 04, 2011 12:57 pm

RE: Configure Interface

Postby qnxloader » Tue Jul 19, 2011 1:17 pm

Start network driver with "promiscuous" option if it present in 6.3.2.
In runtime only by restarting net driver.
qnxloader
Senior Member
 
Posts: 206
Joined: Mon Oct 06, 2003 8:29 am

Re: RE: Configure Interface

Postby maschoen » Sat Jul 23, 2011 9:51 am

nagarjuna wrote:Hi Mario,

Thanks for your reply. I am totally new to QNX. What exactly mean, we cant change at run time? Or can I know what option we have in QNX to configure interface to receive all packets?


Promiscuous mode is set by a command line parameter.
Once you start the driver you can only change it by stopping the driver and restarting it.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm


Return to Porting

Who is online

Users browsing this forum: No registered users and 1 guest