Hi,
while I was trying to do a pppd dial-up through a 3G modem, the following messages
keep poping up on my console.
and ifconfig did not show any ppp0 interface (think the dial-up fail but I don’t know how to check).
[ 67.203918] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 67.230133] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 67.278167] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 67.304260] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 67.343627] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 67.366790] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
[ 70.404815] slhc: exports duplicate symbol slhc_toss (owned by kernel)
…
can anyone help ?
I am using kernel 2.6.29 with Angstrom distribution.
Thanks!
I don't know anything about the messages you posted. I know that pppd has
the ability to create a log file. If you didn't already it might be worth
it to make sure the log file is being generated and check it for more
information.
No idea how to enable those. I also did this under Angstrom. What I did
was to use the command line to tell pppd where I wanted it to put its log
then view the log with cat ppplog.txt |more
A Google search for "LCP terminated by peer" turned up some stuff that may
or may not help you. You might have to wait until someone that knows more
about the kernel modules can tell you if that is the problem.
You can try lsmod to see if the ppp_generic and slhc modules are there.
You can also try to look in /proc/config.gz to see if they were compiled
into the kernel, but I don't think they would be by default.
it look like the server is not happy about the dns request, and terminate
the connection right after.
did I miss any thing?
That is one possibly. Remove the "usepeerdns" and see if it helps.
Based on your trace, the other possibilities are -
Your init string is wrong and you've connected to a service you are not
authorized for. Check your chat script and compare it to a working setup.
The username/password you have use may not be setup for IP traffic. Or you
have manage to confuse the other end with your choice of to refuse CHAP.
Unfortunately, there are no standards for these things; each carrier is
different. Even within a carrier there are differences depending on your
billing details and/or history. (i.e. for Tmobile US, there are different
settings depending on what plan you are on; for ATT US, it can vary depending
on if you were an orange or a blue customer originally, etc.)
Hi,
thanks guys! the pppd finally works on my beagleboard with usb connection to a Huawei E220 modem.
It was indeed some misconfiguration in my chat connect script that cause the remote server to refuse the connection.
I may send my chat config files to you if anyone of you are interested.
And the kernel messages reported earlier does not seem to cause any harm… at least for now
[ 67.203918] slhc: exports duplicate symbol slhc_toss (owned by kernel)
[ 67.230133] ppp_generic: exports duplicate symbol ppp_unregister_compressor (owned by kernel)
Thanks alot Tomas,
Today I'm just able to communicate over UART with 3g SIMCOM SIM5218E
module with my leopardboard.
Below is the output, however no response to any keypress/data from the
SIM5218E module.
/ # uname -
a
Linux dm350 2.6.29-ridgerun-davinci1 #4 PREEMPT Mon Dec 21 21:16:14
EET 2009 ax
/ # stty 115200 < /dev/
ttyS1
/ # microcom -s 115200 /dev/
ttyS1
Opened
Device
put device to raw
mode
set device speed
115200
put stdin to raw mode (if stdin is a
TTY),
Thanks to your comments not I'm able to make it work to some extend
However there is a little problem and the connection drops.
with the following message
Jan 1 00:03:42 dm350 daemon.warn pppd[355]: IPCP: timeout sending
Config-
Requests
Jan 1 00:03:42 dm350 daemon.debug pppd[355]: sent [LCP TermReq id=0x2
"No network protocols
running"]
Jan 1 00:03:45 dm350 daemon.debug pppd[355]: sent [LCP TermReq id=0x3
"No network protocols
running"]
Jan 1 00:03:48 dm350 daemon.notice pppd[355]: Connection
terminated.
Any of your comments are most valuable
Regards
Tunca
I paste the log messages from /var/log/messages on the leopardboard.
I recenly able to connect to internet with my leopardboard.
There was 2 problems, first was I somehow disabled RF transmission on
the modem, and the second was OK AT+CGDCONT=1,"IP","mgd" was wrong. I
changed it to "mgd" then everything worked like a charm.
Hi Thomas,
I am also trying to connect 3g usb modem to Beagle Board -Xm Angstrom distribution running on it. With help of your script it worked fine. After working few day it was not connecting through pppd connection. Same USB 3G modem working fine on the other BB-Xm with same setting on the SD Card.