June 21, 2016 - 2:33pm, 5230 views
My problem is EHS5 modem to introduce to linux arm board.My device have arm board and EHS5 device.Arm board connected with usb and ASC1 interfaces to EHS5.I want to use EHS5 as modem.Hence I can connect to internet without cable.How can I do this.
Please, could you provide more details?
You can not establish the PPP over usb or ASC0?
You can not establish the PPP over ASCO if the USB cable is disconnected?
Have you any PPP log to take a look?
Somewhere over the rainbow!!! Looking for the Oz Land!!!
I can establish ppp over usb.I can connect internet if I use "internet" APN .it doesnt necessary to write usarname and password.But I have APN,usarname and password also static ip.
I want to connect internet with static ip.
İs there any at command Which I will able to write password and usarname?
You should provide these data over ppp protocol after establishing the connection with ATD command.
So you are able to establish a data connection. Now it is the matter of proper implementation of ppp communication with your ppp libraries or configuration of the program that you are using for the connection.
Do you have the ppp log that Antonio has asked you for?
PPP log file
By PPP log I meant the ppp frames that are exchanged between your device and the remote server. From the log that you have provided I can see that the connection is dropped just after establishment if you are using your APN.
Generally in case of dialup the module only opens the connection and then the rest of the connection establishment is done by the ppp protocol implementation used by your device connected to the module. So now the problem is on your application's side.
How do you establish the dialup connection - are you using any program for that (in that case you should configure it properly, especially the user and password)? Or do you write your own program and have some ppp library?
I use pon command to connect internet .I am writing my apn in /etc/chatscripts/pap file .I am writing my pass and user name in /etc/ppp/chap-secrets and /etc/ppp/pap secrets.
Actually I successed to connect internet.I changed the below script in /etc/ppp/peers/provider file.
I change connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T *99#" line
instead connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T *99***2#" line
that's all.I can connect internet but I still get 10.-.-.-.- ips.I have to get static IP.
A static ip was identified for me by provider.But I can not get this static ip.
It still looks for me that the problem is most probably in the configuration of the ppp connection on your machine.
I don't know the Linux pon but I got the feeling that you might have missed something in configuration of user and password for ppp. Please see this link: http://l4u-00.jinr.ru/usoft/WWW/HOWTO/PPP-HOWTO-13.html There's a description what to add to /etc/ppp/options, /etc/ppp/pap-secrets and /etc/pp/chap-secrets to get the authentication working.
You might also verify on Windows for example if the credentials are working and you get your public and static IP address or try to get the pcap trace to see the ppp frames that are exchanged.
I solved my problem.My cat or pap file was right.I send <AT^SGAUTH=1,1,"my telephon nummber","my APN"> command to my EHS5.It is done.
Thanks for your answers.
© 2013-2023 Thales DIS AIS Deutschland GmbH - a Telit Cinterion Company