Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PPP connection on NIU v.24

Status
Not open for further replies.

soaplover

Programmer
Aug 30, 2003
398
NO
I've tried since BC10 to get PPP connection via
modem on TTY1 port on NIU . This to use telnet and ftp via modem connection. Never got it to work , not in BC11 sp12 either . Has anyone tried and got this to work ?
 
Copy from alex:

6.1.1 NIU/NIU2-board
The NIU/NIU2 board is an interface board having three V.24 ports and one Ethernet port (NIU with 10 BaseT and 10 Base2; NIU2 with 10 BaseT).

The NIU/NIU2 serial communication (V.24) ports can be used as:

MML-ports for command handling.
Ports for asynchronous signalling to peripheral equipment.
PPP-network port for using Telnet via a modem connection.


so.... how do we get it to work..

//Soaplover
 
Hi Soaplover!
I never attempted to install PPP, but in Help for NIU I saw following commands:
pppup - Bring up the PPP driver and
pppdown - Bring down the PPP driver.
Maybe, point-to-point protocol is mounted only through NIUX-commands?
I hope, that it will help to you...
 
Then what will happen if the niu restarts.
There is no point if the ppp driver is down and you manually must force it each time you want co connect from remote. I thought is was the point to have it dedicated for this all the time .
 
PPP must be initiated as follows :

IOEQI:IODEV=DIALUP,EQU=1-0-60-01,TYPE=NETWORK,USAGE=MML;

one big warning from ALEX though :

"If the V.24 port is used for networking (via PPP) all of its logical ports (one NETWORK/OUT port and up to six NETWORK/MML ports) share the same interface characteristics. In this case the interface characteristics can be changed only through the NETWORK/OUT port and before the NETWORK/MML ports are initiated. "

hope this helps,

 
Your example won't work.
You have to define the v.24 as a NETWORK/OUT port first.
(or else MD answers NETWORK PORT NOT INITIATED)
Then as you said ethernet can't be used on the same board.

And then assign a IP address to the V.24 port

IOEQI:IODEV=XXXNET,EQU=1-0-60-1,TYPE=NETWORK,USAGE=OUT;
IONPC:EQU=1-0-60-1,IP=xxx.xxx.xxx.xxx,GATE= ,MASK= ;

Then initiate telnet port .
IOEQI:IODEV=DIALUP,EQU=1-0-60-1,TYPE=NETWORK,USAGE=MML;



Been there , done that .
Anyone who tries get theese three commands initiated.
The problem is connecting from outside..



As i said i have been trying this different times since BC10 came out .


 
so if I understand correctly the dialup works but you can't initiate FTP or telnet connection over the dialup?

anyway i'll give it a try tommorow when I'm at work [spin]
I'll keep you posted, it smells like a metrix report to me :))

greetings,

 
I've talked to the /// folks at the mipsc in my country about it before , they didn't even know that NIU had PPP .
So i let i rest at the time .
There isn't any good opatational directions in alex either so it's not difficult to understand that this is not known by many engineers .

Right as you stated the modem answer .Not able to ping the NIU .

The last time i tried it looked as it should work .The commands i listed was initiated in MD .A slip dial up connection from win xp with fixed ip , and of course ip at the niu . but no luck .No answer on ping ,no connection .

Just think about how great it could be to get this going .
FTP for backup , CNA transfers FTP instead of xmodem .
etc. etc. need i say more .

//Soaplover
 
Good news!!! PPP works on NIU [2thumbsup]

here's the full beef :

a)MD110
IOEQI:IODEV=PPP,EQU=1-0-60-1,TYPE=NETWORK,USAGE=OUT;
IOIFC:IODEV=PPP,BAUDR=38400;
IONPC:EQU=1-0-60-1,IP=192.168.1.1,GATE=192.168.1.1 ,MASK=255.255.255.0;

Then initiate telnet port .
IOEQI:IODEV=PPP-1,EQU=1-0-60-1,TYPE=NETWORK,USAGE=MML;

that's all that is needed on the MD.
b) RAS dialup
I have windows 2000 on my laptop but normally it should work from any OS that has full PPP support

make a new dialup connection and go the dialup properties
* general tab - just fill in the modemnumber
* options tab - no chanhes needed here
* security tab - select advanced (custom settings)
click on the settings button





 
Good news!!! PPP works on NIU

here's the full beef :

a)MD110
IOEQI:IODEV=PPP,EQU=1-0-60-1,TYPE=NETWORK,USAGE=OUT;
IOIFC:IODEV=PPP,BAUDR=38400;
IONPC:EQU=1-0-60-1,IP=192.168.1.1,GATE=192.168.1.1 ,MASK=255.255.255.0;

Then initiate telnet port .
IOEQI:IODEV=PPP-1,EQU=1-0-60-1,TYPE=NETWORK,USAGE=MML;

that's all that is needed on the MD.
b) RAS dialup
I have windows 2000 on my laptop but normally it should work from any OS that has full PPP support

make a new dialup connection and go the dialup properties
* general tab - just fill in the modemnumber
* options tab - no chanhes needed here
* security tab - select advanced (custom settings)
click on the settings button
in this window :
click "allow these protocols:"
and select only PAP
* networking tab : type of dialup = PPP-windows 95/NT4/2000
click on the settings button :
no option may be selected (lcp extensions, compression,...)
select the TCP/IP protocol
click on the properties tab and fill in an IP address : I took 192.168.1.2
select the client for microsoft networks

click ok

that's all!!!
just perform the dialup and you can do ping,telnet,ftp to the V24 port!

greetings,

 
Sorry didn't read the next post .
Don't know why i could not connect .
I did exactly this !!

As for serg75's comment i guess that IOEQI with network=out force the niux pppup .

Great daddy
As for test reference:
What was your MD version and NIU version and AS.
 
MD is belgium AS - BC11SP12 with NIU R14A
I also check NIU2 R2A which works fine.

Soaplover you wrote this :

"The last time i tried it looked as it should work .The commands i listed was initiated in MD .A slip dial up connection from win xp with fixed ip , and of course ip at the niu . but no luck .No answer on ping ,no connection .
"
I see you used SLIP connection while you must use PPP connection, maybe that's your error?

[yoda] may the force be with you!!!


 
I of course tried ppp for windows first .(slip is not PPP)
Maybe it dont work with older versions ,combinations SP/CNA NIU-Fw i don't know yet.
It's good that we have a reference point Sp12/BC11 + R14A .
Thanks
 
Tried now with your settings in win xp .
It hangs on verifying username and password
and time out with dialup error code 721
 
user and password are left empty??

it is very important that you don't have LCP extionsion and PPP compression selected because then I have the fault you are having.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top