Reply
Thread Tools
Posts: 23 | Thanked: 9 times | Joined on Feb 2010
#1
Hi all,

I tried to use tethering recently, through both MobileHotspot and bluetooth PAN, but I'm having some issues with the networking settings. Previously it worked fine, but I haven't tried since PR1.1 and I'm now using PR1.3, so there's been a fair few software/OS updates since I last tried.

Basically, I can connect a network between PC and phone through either ad-hoc WLAN or bluetooth PAN, but as soon as I connect my GPRS connection as well, the phone becomes unreachable from the PC.

It goes something like this:
  • I connect the PC-phone network (either bluetooth or start MobileHotspot) with manual IP assigned at both ends, and PC gateway/DNS set to phone
  • PC & phone are connected, GPRS is not yet connected
  • I can ping and ssh from phone to PC, and from PC to phone
  • I then connect to GPRS connection
  • Phone can ping PC, but PC cannot ping phone.

I've tried echo 1 > /proc/sys/net/ip_forward, but it makes no difference. Are there any other network settings that might have this effect?

I'm using power-kernel 2.6.28-maemo46.

Last edited by karatestarfish; 2011-03-14 at 09:20. Reason: Problem solved
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#2
I cannot help you with the mobilehotspot as I use a customized script to establish WiFi hotspot.

Regarding PAN, what script/package do you use to establish the connection? Can you show me if you're using a script?

Last edited by 9000; 2011-03-14 at 07:59.
 
Posts: 23 | Thanked: 9 times | Joined on Feb 2010
#3
Originally Posted by 9000 View Post
I cannot help you with the mobilehotspot as I use a customized script to establish WiFi hotspot.

Regarding PAN, what script/package do you use to establish the connection? Can you show me if you're using a script?
Ah, damn. I knew I should have waited another day before posting. Bluetooth networking is properly working now, which is enough for me for today.

When I connect to GPRS, it runs /etc/network/if-up.d/00_disable_icmp_echo_reply, which I assume accounts for the lack of ping response from the phone.

The remaining problems were a misconfiguration in the networking on the PC side of the connection, and a misconfiguration in the polipo proxy I was using on the phone. I'm sure there's a way to tether with my current setup without using a phone-side proxy - I'll keep looking into it.

Thanks for your offer to help =)
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:28.