Networking Forums

Networking Forums > Computer Networking > Linux Networking > Mobile connection

Reply
Thread Tools Display Modes

Mobile connection

 
 
jiipee
Guest
Posts: n/a

 
      07-23-2010, 08:48 PM
I could set mobile-usbcable connection 'allmost' automatically filling
the setup. BUT the default route is not set by this (Ubuntu Lucid)
procedure and I must say 'route add default ppp0'?? (This machine has
ethernet, too) Is there somewhere informative description on the
workings of the formation of mobile connection?
 
Reply With Quote
 
 
 
 
Pascal Hambourg
Guest
Posts: n/a

 
      07-24-2010, 08:53 AM
Hello,

jiipee a écrit :
> I could set mobile-usbcable connection 'allmost' automatically filling
> the setup. BUT the default route is not set by this (Ubuntu Lucid)
> procedure and I must say 'route add default ppp0'?? (This machine has
> ethernet, too)


If the machine already has a default route via another interface (i.e.
ethernet) then pppd won't replace it, unless you add the flag
"replacedefaultroute" (if supported by your pppd version, the one in
Debian does so I guess the one in Ubuntu does too) after the option
"defaulroute" in the pppd option file. Check the routing table (route
-n), and in /var/log/syslog for a message saying something like "not
replacing existing default route".

First you can try with the ethernet interface down.
 
Reply With Quote
 
jiipee
Guest
Posts: n/a

 
      07-26-2010, 08:16 AM
On 2010-07-24 11:53, Pascal Hambourg wrote:

> If the machine already has a default route via another interface (i.e.
> ethernet) then pppd won't replace it, unless you add the flag
> "replacedefaultroute" (if supported by your pppd version, the one in
> Debian does so I guess the one in Ubuntu does too) after the option
> "defaulroute" in the pppd option file. Check the routing table (route
> -n), and in /var/log/syslog for a message saying something like "not
> replacing existing default route".
>
> First you can try with the ethernet interface down.


Yes, ethernet seems to take preference in routing, even with
replacedefaultroute . 'Link local only' option for eth seems to work...

Now I am wondering how to close and restart mobile connection without
disconnecting the cable (and selecting the conn.type on the phone). As
the connection will not start without this procedure after disconneting...
 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      07-26-2010, 08:57 AM
jiipee a écrit :
> On 2010-07-24 11:53, Pascal Hambourg wrote:
>
>> If the machine already has a default route via another interface (i.e.
>> ethernet) then pppd won't replace it, unless you add the flag
>> "replacedefaultroute" (if supported by your pppd version, the one in
>> Debian does so I guess the one in Ubuntu does too) after the option
>> "defaultroute" in the pppd option file. Check the routing table (route
>> -n), and in /var/log/syslog for a message saying something like "not
>> replacing existing default route".
>>
>> First you can try with the ethernet interface down.

>
> Yes, ethernet seems to take preference in routing, even with
> replacedefaultroute .


Really ? Can you show the pppd logs (in /var/log/syslog IIRC) and the
routing table (ip route or route -n) when the mobile connection is
established and the ethernet interface is configured normally (i.e. not
"in link local only" mode) ?

> 'Link local only' option for eth seems to work...


I guess so, it has the same effect as stopping the interface : remove
its associated default route.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PPP hangs up before completing T-Mobile connection Jim0000001 Linux Networking 11 09-13-2011 03:35 AM
Windows Mobile 5.0 PPTP connection mis Windows Networking 3 06-13-2008 06:05 AM
Orange £8/month mobile phone anytime surfing connection MM Broadband 1 04-29-2007 03:41 PM
Mobile Laptop Continuous Connection through wireless network kevin.pavin@gmail.com Wireless Internet 1 01-16-2007 05:56 PM
mobile broadcasting back to a home broadband connection Dj Toonz Broadband 0 04-27-2006 10:32 PM



1 2 3 4 5 6 7 8 9 10 11