Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

Reply
 
Thread Tools Display Modes
Old 15-04-2008, 17:17   #1
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default 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.
__________________
Desmo is offline   Reply With Quote
Old 15-04-2008, 18:51   #2
Burble
Rocket Fuel
 
Burble's Avatar
 
Join Date: Jul 2006
Posts: 7,826
Default

What does the output of 'route -n' show?
Burble is offline   Reply With Quote
Old 15-04-2008, 20:55   #3
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

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
__________________
Desmo is offline   Reply With Quote
Old 15-04-2008, 20:59   #4
Mark
Screaming Orgasm
 
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
Default

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.
Mark is offline   Reply With Quote
Old 15-04-2008, 21:14   #5
Burble
Rocket Fuel
 
Burble's Avatar
 
Join Date: Jul 2006
Posts: 7,826
Default

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'
Burble is offline   Reply With Quote
Old 15-04-2008, 21:17   #6
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

OK, will give it a whirl
__________________
Desmo is offline   Reply With Quote
Old 15-04-2008, 21:26   #7
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

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.
__________________
Desmo is offline   Reply With Quote
Old 15-04-2008, 21:31   #8
Burble
Rocket Fuel
 
Burble's Avatar
 
Join Date: Jul 2006
Posts: 7,826
Default

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'
Burble is offline   Reply With Quote
Old 15-04-2008, 21:37   #9
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

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)
__________________
Desmo is offline   Reply With Quote
Old 15-04-2008, 21:40   #10
Burble
Rocket Fuel
 
Burble's Avatar
 
Join Date: Jul 2006
Posts: 7,826
Default

Using kppp try to add a default route of 10.115.79.205.
Burble is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 15:33.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.