15-04-2008, 17:17 | #1 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Ubuntu and Mobile 3G help!
I'm trying to get the lappy connected via 3G from my mobile. I've installed Blueman 1.9 (had to use an older version as the newer one wouldn't install) and also installed kppp.
Now, I can get my mobile to connect to the laptop, "dial up" and it completes the connection. The mobile shows the 3G symbol and I seem to get an IP address. But that's it, no data flows in either direction apart from the first few packets of data which I'm assuming is just the connection data. So, I'm at a loss as to what to check next. It seems it should be working but just doesn't. Using a Nokia N73 on O2.
__________________
|
15-04-2008, 18:51 | #2 |
Rocket Fuel
Join Date: Jul 2006
Posts: 7,826
|
What does the output of 'route -n' show?
|
15-04-2008, 20:55 | #3 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Code:
Kernel IP routeing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.6.6.6 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 10.0.0.1 0.0.0.0 UG 100 0 0 eth1
__________________
|
15-04-2008, 20:59 | #4 |
Screaming Orgasm
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
|
OK - that figures. Looks like some gentle massaging of routing tables is in order.
I think I understand roughly what needs doing but I'd best leave it to someone who knows networking configuration better than me. |
15-04-2008, 21:14 | #5 |
Rocket Fuel
Join Date: Jul 2006
Posts: 7,826
|
The important line from the routing table you posted is the bottom line, it basically says that to get to anywhere outside of your local network go via 10.0.0.1 via eth1 which I suspect is your wireless card.
I think something like 'route add 0.0.0.0 0.0.0.0 10.6.6.6 ppp0' should do the trick. However, that would only work for your current ppp session. It should affect your ethernet/wireless connectivity after the ppp session as ended as the ppp interface should go down and vanish from the routing table but if it doesn't try 'route delete 0.0.0.0 0.0.0.0 10.6.6.6 ppp0' |
15-04-2008, 21:17 | #6 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
OK, will give it a whirl
__________________
|
15-04-2008, 21:26 | #7 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
It doesn't seem to like that route add command. I did look through the settings in kppp though and I can manually add the gateway address. I popped in 10.0.0.6 (assuming it's correct) but it still didn't work.
__________________
|
15-04-2008, 21:31 | #8 |
Rocket Fuel
Join Date: Jul 2006
Posts: 7,826
|
I did wonder if I had the syntax right or not, I'm a bit rusty. Looking back at the routing table, I think you might want to use 10.6.6.6 as the IP address although that doesn't seem right.
It's entirely plausible that a Mobile network will use an RFC1918 (private) address rather than an internet routable one, but 10.6.6.6 seems a bit iffy. You can double check the IP address by doing 'ifconfig ppp0' |
15-04-2008, 21:37 | #9 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
I did an ifconfig earlier and got this...
Code:
ppp0 Link encap:Point-to-Point Protocol inet addr:10.115.79.205 P-t-P:10.6.6.6 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:64 (64.0 b) TX bytes:97 (97.0 b)
__________________
|
15-04-2008, 21:40 | #10 |
Rocket Fuel
Join Date: Jul 2006
Posts: 7,826
|
Using kppp try to add a default route of 10.115.79.205.
|