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 ?
 
Im logged into corporate network domain
when trying . Still gets 721 after going trough your settings .

Dial up characteristics
user = blank
password= blank


Options tab:
default

Security tab:
custom
Advanced = only support PAP selected

Networking tab:
PPP PPP:Windows95/98/NT/2000,internet
PPP settings = all three disabled(unchecked)
Only Tcpip and client for microsoft network selected
TCP/IP properties
192.123.168.2 (niu is 192.123.168.1)
Advanced tcp/ip properties no change
 
mmm weird,

unfortunately I don't have XP at work but I have windows .NET server 2003, which should be roughly the same as XP, i'll give it a try and get back to you

 
It look like i have done it correctly all the time.
Only that the PC's PPP connection that has been the trouble.

 
I got it to work now.
Reprogrammed / reset the modem .

Create new dial up , enter config manually.
It's working with default setting in security tab.
Default in options tab.
PPP settings ,only unchecked LCP-extensions.
Defined manual ip address in TCP/IP settings .
And in advanced TCP/IP settings unchecked use default gw on remote network (else your local ip NIC forwards all traffic to PPP connection).

Now running REL1 FTP transfer with 33kbps on line , and md port at 38400.(no errors in dial up status so far)

//Soaplover

 
A little typo!
"And in advanced TCP/IP settings unchecked use default gw on remote network (else your local ip NIC forwards all traffic to PPP connection)."

corrected:
And in advanced TCP/IP settings unchecked use default gw on remote network (else your all your tcp traffic againt your NIC will be forwarded to PPP connection)."

 
Next test will be:
Does it work when md is down .
Only NIU and HDU , LPU in park position .
(interesting if NIF holds the parameters)
 
Great news soaplover![2thumbsup]
normally it should work, since the MD has little or nothing to do with TCP/IP stack on NIU. Beware, the filesystem must be mounted, otherwise you must mount it yourself.



 
i know all that.
mkdev /DEV/SC31 231
mkfs...
mount ...

stay tuned


//Regards Soaplover
 
Hi,

Thanks for all these good advices! I have configured both my MD and a PC with Win2K according to the desciptions above. I'm not using a modem, but are using a standard TTY cable that I normaly use to connect to the MD. I always get a 727 error when trying to connect. Is anyone else able to connect through a direct cable? If so, please give me the pin-out of the cable.

Best regards
Paal
 
PPP not via modem , but directly to com port xp/2000.

Pål J !
If U want to use direct cable v.24 for PPP .
I don't know why you want this .
Best speed is with a crossover cable with fixed ip
on your NIU and PC's NIC , or if the md is already on eth just plug in your laptop in the ethernet at the customers site and get dhcp to give you an address .

But yes it is possible.
2000/XP:
First, find the file: c:\windows\inf\mdmhayes.inf

Add theese entry's to the [M2700Reg] section.
HKR, Responses, "~", 1, 08, 00, 00, 00, 00, 00,00,00,00,00 ;Server side - the client is requesting a connection
HKR, Responses, &quot;<h00>~&quot;, 1, 08, 00, 00, 00, 00, 00,00,00,00,00 ; Server side - the client is requesting a connection

Save this inf file .
delete the corresponding pnf file (c:\windows\inf\mdmhayes.pnf), and reboot XP/2000
Create a new modem:
Open the Phone and Modems control panel.
Click Add.
Select Don't Detect and hit Next.
Select &quot;Communications Cable Between Two Computers&quot; and hit next.
Select the COM port you have connected the null modem cable to and hit Next.
Create a new &quot;dial up connection&quot;
Setup an advanced connection.
Connect directly to another computer.
Set the &quot;dial-up properties as soaplover described w/modem)
Then you have a &quot;dial-up&quot; PPP connection directly to the com1 port and the MD110.


SYAR

 
Hi,

I know it seems silly to connect this way. We are using some dial-in boxes for remote alarm monitoring. These boxes act like a terminal seen from the MD. I dial in to the box, authenticate, and the box sets up a transparent connection between my PC and one of several COM ports on the box. These ports are connected to the MD with a direct TTY cable. I can connect when using a standard modem with a modem cable, but not when using this configurtion with the direct terminal cable between the box and the MD. I thought it could have something to do with the control signals in the V.24 interface on the NIU. It would be handy to make it possible to do both alarm handling one one port, and MML, FTP, etc on another ...

Best regards
Paal
 
Hi SYAR!

According to IOIFP the port speed is set to 38.400, as configured. When printing netcnf p 1 in niux the port is defined with 9600. I forgot to tell erarlier, but this is a port on a separate NIU board in my LAB MD. According to the modemlog, I send the phrase CLIENT, and then wait for some feedback from the MD three times, then the connection times out and gives the error message 777 from Dial Up connection ... Am I supposed to send the CLIENT phrase at all? It was defined standard as prefix in the .inf file. What does the &quot;~&quot; do? Is this that the character to initiate the connection? I could not find anything about it in the PPP RFC.

Best regards
Paal
 
That was something i found on the net &quot;to enable PPP to a com port&quot;.

Regarding the &quot;<h00>~&quot;,&quot;~&quot; responses (was referring to connection to a palm)
I guess this additional entrys should not be there .



Leaving the INF file with only theese:

HKR, Responses, &quot;CLIENT&quot;, 1, 08, 00, 00, 00, 00, 00,
00,00,00,00 ; Server side - the client is requesting a connection
HKR, Responses, &quot;<h00>CLIENT&quot;, 1, 08, 00, 00, 00, 00, 00,
00,00,00,00 ; Server side - the client is requesting a connection
HKR, Responses, &quot;CLIENTSERVER&quot;, 1, 02, 00, 00, 00, 00, 00,
00,00,00,00 ; Client side - the server has acknowledged and the
connection is completed

SYAR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top