ravi varma
|
Re: RE: io-net Configuration for dual netwrok stacks
|
ravi varma
08/14/2008 8:29 AM
post11782
|
Re: RE: io-net Configuration for dual netwrok stacks
Hi Xtang Thanks for your reply
i am working on PPC platform, so by default i need netwrok port for my TFTP connection, and so i am using the following
io-net command
io-net -vvvv -dmpc85xx mac=<mac_addr>,verbose=4,phy_incr=4 -ptcpip
waitfor /dev/io-net/en1 4
what i did is after downlaoding the BSP image, i used the command line(given by you) for laoding PPP stack.
io-net -i 1 -p tcpip -p pppmgr
I am able to see the PPP protocol stack running on my machine now.
What are the commnads for mounting and unmouting PPP stack through program.
Now i want to communciate PPP over serail link, and dont have pppd facility in target.
Let me know the way to do the same with socket program , or else is there any way to capture packets after PPP stack and
then transmit the same through serail link.
Ravi
> In short, you just do:
>
> # io-net -p tcpip -p pppmgr
> # io-net -i 1 -d <ether> -p tcpip prefix=/full
>
> You run pppd as normal to establish TCPIP link via serial port. And if
> you want to access the full stack, you simply add "SOCK=/full" before
> you command. Like:
>
> # SOCK=/full dhcp.client
> # SOCK=/full ping qnx.com
> # SOCK=/full ftp ftp.qnx.com
>
> -xtang
>
> > -----Original Message-----
> > From: ravi varma [mailto:community-noreply@qnx.com]
> > Sent: August 13, 2008 4:34 PM
> > To: ionetmig-networking
> > Subject: io-net Configuration for dual netwrok stacks
> >
> > I need to run 2 network stacks one is npm-tcpip.so for TCP/IP full
> stack and
> > the other is npm-pppmgr.so.
> > I need the first stack to be used with the netwrok port and the second
> for serail
> > port. Please let me know the io-net commands to add both of them.
> >
> > _______________________________________________
> > io-net migration
> > http://community.qnx.com/sf/go/post11760
|
|
|