Ticket #149 (closed defect: invalid)
modprobe: Error inserting ppp_mppe
| Reported by: | Fredrik Wendt <fredrik@…> | Owned by: | mickey |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | framework/ogsmd | Version: | |
| Keywords: | Cc: |
Description
I've failed to get GPRS working with M3 testing.
- Started off by downloading the following files from downloads.free...:
root@t61-laptopt:/opt/openmoko/dfu-util/FSO/testing# ls -1 modules-2.6.24+r7+gitrca19d156400f817960efe0d14680324b2ea34171-r7-om-gta02.tgz openmoko-fso-image-glibc-ipk--20080919-om-gta02.rootfs.jffs2.summary uImage-2.6.24+r7+gitrca19d156400f817960efe0d14680324b2ea34171-r7-om-gta02.bin
- Used dfu-util to first push uImage* followed by *rootfs*.
- After the push was completed, I chose reboot in the menu on the phone.
- The device booted as it normally does.
- When X had started (ying-yang symbol gone) I manually started zhone (since it didn't (isn't supposed to?) start on it's own).
- The phone registered to the network (I saw the network name).
- Tried to connect via GPRS using the attached gprs-on.py. Tells me that the network is down.
- Run "mdbus -s org.freesmartphone.ophoned /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Network.Register" to make it register again. It does and is up again in two seconds or less.
- Run the same gprs-on.py script again.
- Start looking at the log using logread. Nothing happens but I notice a couple of
daemon.notice modprobe: FATAL: Error inserting ppp_mppe (/lib/modules/2.6.24/kernel/drivers/net/ppp_mppe.ko): No such device messages.
- I look at the ppp_mppe.ko file and notice that it's smaller than that in the modules*.tgz file downloaded in step 1, so I gave that file a try:
root@om-gta02:/media/card/away/root# ls -la /lib/modules/2.6.24/kernel/drivers/net/ppp_mppe.ko -rw-r--r-- 1 root root 9108 Jan 1 1970 /lib/modules/2.6.24/kernel/drivers/net/ppp_mppe.ko root@om-gta02:/media/card/away/root# mv ppp_mppe.ko /lib/modules/2.6.24/kernel/drivers/net/ root@om-gta02:/media/card/away/root# ls -la /lib/modules/2.6.24/kernel/drivers/net/ppp_mppe.ko -rw-r--r-- 1 root root 116676 Sep 18 18:02 /lib/modules/2.6.24/kernel/drivers/net/ppp_mppe.ko
but to no avail.
I've used the exact same SIM and gprs-on.py script before succesfully. I'll double check now with a FSO M2 release that is known to work for me.
Attachments
Change History
comment:1 Changed 3 years ago by Fredrik Wendt <fredrik@…>
Just wanted to confirm that I got it working with the old M2 release.
root@om-gta02:/media/card/away/root# logread > log/gprs-working-fso-m2-20080729.logread
root@om-gta02:/media/card/away/root# ip a
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: usb0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 06:50:55:42:74:86 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.202/24 brd 192.168.0.255 scope global usb0
3: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:12:cf:8e:ed:ab brd ff:ff:ff:ff:ff:ff
4: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,10000> mtu 1500 qdisc pfifo_fast qlen 3
link/ppp
inet 83.178.42.13 peer 10.64.64.64/32 scope global ppp0
root@om-gta02:/media/card/away/root# ip r
10.64.64.64 dev ppp0 src 83.178.42.13
192.168.0.0/24 dev usb0 src 192.168.0.202
default via 10.64.64.64 dev ppp0
root@om-gta02:/media/card/away/root# ping wendt.se
PING wendt.se (193.11.254.215): 56 data bytes
64 bytes from 193.11.254.215: seq=0 ttl=52 time=638.381 ms
64 bytes from 193.11.254.215: seq=1 ttl=52 time=520.785 ms
64 bytes from 193.11.254.215: seq=2 ttl=52 time=495.800 ms
64 bytes from 193.11.254.215: seq=3 ttl=52 time=470.830 ms
--- wendt.se ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 470.830/531.449/638.381 ms
(Sorry for screwing up formatting in original comment/description.)
Changed 3 years ago by Fredrik Wendt <fredrik@…>
-
attachment
gprs-working-fso-m2-20080729.logread
added
N.B.: This is just a proof that it does work with the M2 release (same settings / same script)
comment:2 Changed 3 years ago by Fredrik Wendt <fredrik@…>
I just tried with the official M3 release from downloads.openmoko.org and that release has the same issues with the missing module. Basically, you can't use GPRS on *any* M3 release up till today (I actually tried all on freesmartphone.org in order to find something that can let me read my RSS feeds on way to work).
comment:3 Changed 3 years ago by mickey
The ppp_mppe is no problem, you can safely ignore that. The thing that changed for MS3 is that we now honor the user and password you give in ActivateContext?. We default to using CHAP, perhaps your provider only works with PAP. Is your provider actually requiring a user and a password? Most do not, please try without.
