Hi,
I have an equipment with Ethernet Port, RS485 and RS232. Mainly it is a gateway (Modbus/Unitelway gateway from RS485 and Ethernet or RS232 -
exactly is this instruments : https://www.schneider-electric.com/resources/sites/SCHNEIDER_ELECTRIC/content/live/FAQS/22000/FA22846/en_US/35004734_k01_000_05.pdf
On this gateway runs a Web server for configuring it and in the past, during commissioning, I changed the default IP with an IP gave to me by customer. Now this gateway has been put out of service by customer and
I’m trying to (re)use it. I tried to access it by the IP that I knew and even with the default IP but the gateway doesn’t reply. I read the user manual & I see there non possibility to reset the IP to the default one.
I read that is possible to access the gateway via RS232 (normally within a modem) with the use of PPP protocol (page 36) :
The connection uses the PPP protocol (Point-to-Point Protocol). Thanks to this protocol, once the telephone link has been established the modem link will be
viewed on the application level in the same way as a TCP/IP link
This is the procedure explained in the user manual (page 104) :
1 - Connect a RS 232 crossover cable between a PC COM port and the 9-pin SUB-D port on the ETZ module
2 - Establish the serial connection between the PC and the module
3&4 - Open the Internet browser on your PC : In the “Address” field, type: http://85.16.0.2, then <Enter>
5&6 - Web server access & operations
I have a serial port on my PC (/dev/ttyS0) and I have connetted PC & gateway with a null modem RS232c cable … so point 1 should be OK
Point 2 is the key point …
I read in the net that I need SLIP but it’s not clear what I have to do. I’ve found the following commands :
[LEFT]
slattach -p cslip -s 19200 /dev/ttyS0 &
ifconfig sl0 IP-Pc pointtopoint IP-destination
[/LEFT]
[LEFT]
[/LEFT]
slattach output :
[1] 7691
No errors but I don’t know the meaning/use of the output
ifconfig it’s deprecated and not installed (I can install it from package net-tools-deprecated but I prefer not to do it) & I did not find the equivalent command (maybe it’s ‘ip’).
What next ?