03/08/2010, 04:19 PM
|
#801 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2009
Location: The HARD Streets of Alpharetta, GA
Posts: 829
Likes Received: 2
Thanks: 44
Thanked 176 Times in 92 Posts
|
for the record .... using the minidhcp from 1.3.5.x along with all the other files resolves the need for the static dns addy problem I was encountering.
|
03/08/2010, 04:41 PM
|
#802 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 61
Likes Received: 0
Thanks: 11
Thanked 9 Times in 8 Posts
|
I didn't run into that issue at all.. I'm using the minidhcpd from 1.4 (if it's even any different than 1.3.5?) and DNS resolution seems to be working fine. I guess YMMV.
|
03/08/2010, 08:34 PM
|
#805 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 165
Likes Received: 2
Thanks: 37
Thanked 142 Times in 21 Posts
|
Couldn't handle the freezing during restart so I rolled back to 1.35 until the issue is resolved. (I disabled the auto updates) during my scheduled daily restart my phone would just go offline which meant no alarm to wake me for work in the morning....
ooops
__________________
http://forums.precentral.net/webos-p...l?nojs=1#links Last edited by Centrico; 03/08/2010 at 08:43 PM. |
03/08/2010, 10:25 PM
|
#806 (permalink) |
|
Member
![]() Join Date: Oct 2009
Location: Arizona, US
Posts: 1,449
Likes Received: 1
Thanks: 144
Thanked 362 Times in 241 Posts
|
So which part of this is causing the freezing? That's got to be the last hurdle to making this work (fairly) reliably again.
My money is on the 1.3.5.1 PmNetConfigmanager file, or the modifications necessary to make this work. I am at a loss as to what else we could try. ha |
03/08/2010, 11:37 PM
|
#807 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 24
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
|
I too have MHS working, but am experiencing the hang on restart. Not a good combination with restart cron enabled. I will be checking /var/logs in the morning. Has anyone else checked these logs?
|
03/09/2010, 04:22 AM
|
#809 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2009
Location: The HARD Streets of Alpharetta, GA
Posts: 829
Likes Received: 2
Thanks: 44
Thanked 176 Times in 92 Posts
|
I would bet that the hang is PmNetConfigManaer as well.
Question: In linux is there such a thing as a shutdown script? that could be run when the system is sent the restart command...So maybe the killall command can be used to kill PmNetConfigManager prior to restart command being executed? In fact you could/should kill PmNetConfigManager & Freetetherd, just in case. I seriously doubt it's MobileHotspotd or Minidhcp since they're only running when the app is open. |
03/09/2010, 08:51 AM
|
#810 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 25
Likes Received: 0
Thanks: 0
Thanked 5 Times in 2 Posts
|
I'm of the opinion that it is something in the shutdown scripts. These are located in /etc/rc6.d. Just running 'reboot' from the commandline (or phone menus) will run all the scripts located in this directory. I have not isolated what in these scripts is hanging up, but executing the last script in that directory (/etc/rc6d/S90reboot, which will be the last item run because of the file naming) will do a power cycle of the phone (without hanging.)
The script that kills PmNetConfigManager does NOT seem to hang the phone if run by itself, but it's possible it's causing the hangup because of its interaction with the other shutdown scripts. |
03/09/2010, 09:38 AM
|
#811 (permalink) | |
|
Member
![]() Join Date: Aug 2009
Posts: 165
Likes Received: 2
Thanks: 37
Thanked 142 Times in 21 Posts
|
Quote:
good work guys, and good luck
__________________
http://forums.precentral.net/webos-p...l?nojs=1#links |
|
03/09/2010, 02:23 PM
|
#812 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 24
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
|
I added some debugging statements to the scripts in /etc/rc6.d (thanks to bspesq for pointing out the location of the shutdown scripts).
I am fairly sure that the hang is occurring during the execution of S40sendsigs, which basically terminates and kills open processes. Tried excluding minidhcpd and mobilehotspotd from kill list, but no luck. The next step after sendsigs is unmount file system. Does anyone know the danger of unmounting file systems before all processes are killed? |
03/09/2010, 02:24 PM
|
#813 (permalink) |
|
Member
![]() Join Date: Jan 2010
Location: Concord, CA
Posts: 544
Likes Received: 0
Thanks: 88
Thanked 59 Times in 49 Posts
|
I just sent mobilehotspotd binary and sent the other file as well to the phone, and tried to reboot and it locked up.
So I'm guessing it has to do with those files interfering with some other shutdown file. |
03/09/2010, 02:56 PM
|
#814 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 25
Likes Received: 0
Thanks: 0
Thanked 5 Times in 2 Posts
|
Well, pks627, you're definitely on the right track. The killall5 command in those scripts is what's killing the phone. I...tried adding mobilehotspotd to the exclude list, but in doing so (stupid me for not using a real shell) screwed up the file. Could someone let me know what S40sendsigs is supposed to be linked to (something under init.d, I presume)?
Note that we also have us.ryanhope.freetetherd which is another process that's running all the time. It should probably be excluded too, in case it's causing the problem. I seriously don't recommend it, but it is possible to fix the reboot 'hang' by removing the S40sendsigs kill script. No processes will be killed, so it's entirely possible that filesystem or file corruption will occur when apps aren't ordered to die before the OS is rebooted. |
03/09/2010, 03:29 PM
|
#817 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 24
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
|
Brainstorming session...
So, I think daemons (like freetetherd, minidhcpd, freetetherd, etc) are excluded from the kill list since as soon as you kill them, they are immediately restarted (nature of the beast). So this script uses a command called pidof to return the process ids of daemons to be excluded from the kill list. Problem is pidof freetetherd returns nothing. Don't know why. So I suspect this script keeps killing freetetherd and it keeps coming back - forever. Ideas? |
03/09/2010, 03:36 PM
|
#818 (permalink) | |
|
Member
![]() ![]() Join Date: Aug 2009
Location: The HARD Streets of Alpharetta, GA
Posts: 829
Likes Received: 2
Thanks: 44
Thanked 176 Times in 92 Posts
|
Quote:
I suspect that your version of MHS is different somehow since you didn't have the palm folder in /usr/lib/ipkg, tho. |
|
03/09/2010, 03:36 PM
|
#819 (permalink) | |
|
Member
![]() Join Date: Jul 2009
Posts: 71
Likes Received: 1
Thanks: 8
Thanked 6 Times in 5 Posts
|
Quote:
|
|
03/09/2010, 03:48 PM
|
#820 (permalink) | |
|
Member
![]() ![]() Join Date: Aug 2009
Location: The HARD Streets of Alpharetta, GA
Posts: 829
Likes Received: 2
Thanks: 44
Thanked 176 Times in 92 Posts
|
Quote:
What was your Pre's state prior to copying over the files? Was this a freshely 1.4 Doctored phone? What was the status of the all the files associated with MHS?? [PmNetConfigManager, MobileHotspotd, & MiniDHCP] Finally, you sent mobilehotspotd and WHAT other file over to your Pre that caused the hang? Do you mean the /etc/event.d/mobilehotspotd upstart script? |
|
![]() |
|
| Tags |
| freetether, mobile hotspot, tether sprint, tethering, wifi |
| Thread Tools | |
| Display Modes | |
|
|



