Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

Reply
 
Thread Tools Display Modes
Old 15-04-2008, 21:48   #11
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

It's a dynamic IP. Every time I log it's changed so I can't put the "correct" IP into the kppp config :/
__________________
Desmo is offline   Reply With Quote
Old 15-04-2008, 21:52   #12
Burble
Rocket Fuel
 
Burble's Avatar
 
Join Date: Jul 2006
Posts: 7,826
Default

If you connect, then do an ifconfig you'll then be able to add the correct IP address into kppp. It'll be a pain in the arse to do it all it all the time, but if you don't use it regularly then I don't suppose it'll be too bad.

I had been meaning to try out using my mobile over BT on my Linux laptop but I got a Macbook a month or two ago and have been using that instead.
Burble is offline   Reply With Quote
Old 15-04-2008, 22:02   #13
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

Yeah, will spend a bit more time fiddling Like you say, it's only for occasional use.

I tried it on the Mac today to make sure it's all working fine and it connected up first time. Seems linux still needs work on some of the simpler stuff. You'd think this would be a fairly common thing people would use. Well, maybe not common, but it's not that obscure.
__________________
Desmo is offline   Reply With Quote
Old 15-04-2008, 22:04   #14
Burble
Rocket Fuel
 
Burble's Avatar
 
Join Date: Jul 2006
Posts: 7,826
Default

If I can get the BT on my work laptop to behave I'll have a mess about and see if i can give you any more useful hints
Burble is offline   Reply With Quote
Old 15-04-2008, 22:22   #15
Dr. Z
I'm going for a scuttle...
 
Dr. Z's Avatar
 
Join Date: Jul 2006
Posts: 2,021
Default

ip route add default via <ip> dev ppp0

If that doesn't sort it, I'll eat my hat

BTW, 3G over USB with my K800i just works when I plug in the cable. No configuration required whatsoever, it just works...
__________________

Last edited by Dr. Z; 15-04-2008 at 22:24.
Dr. Z is offline   Reply With Quote
Old 16-04-2008, 07:37   #16
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

Cheers for the help guys. That ip route command seems to have done the trick.

I am now posting by the power of 3G
__________________
Desmo is offline   Reply With Quote
Old 16-04-2008, 09:49   #17
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

Had another test for this this morning and it looks like I need to add the ip route command every time I connect. Is there anywhere I can add it permanently? Or will that break my wireless connection?

Another option is to add the command into kppp which I can do. But it only allows user level commands and I think I need to do it as root. Is there a way around that? Would running kppp as root solve the problem? And if so, how do I go about doing that if I'm running kpp from the Applications menu?
__________________
Desmo is offline   Reply With Quote
Old 16-04-2008, 10:36   #18
Will
BBx woz 'ere :P
 
Will's Avatar
 
Join Date: Jan 1970
Posts: 2,147,487,208
Default

I'm sure there's a script that could be written to launch everytime you fire that connection up, or at least run before you do it? It would seem like a sensible thing to me.
__________________
No No!
Will is offline   Reply With Quote
Old 16-04-2008, 11:47   #19
Burble
Rocket Fuel
 
Burble's Avatar
 
Join Date: Jul 2006
Posts: 7,826
Default

It should be easy enough to knock up a script to grab the IP address from ifconfig and pipe it into the route command. Lemme see if my Python or PERL skills escaped when I was in hospital.
Burble is offline   Reply With Quote
Old 16-04-2008, 18:32   #20
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

Got it sorted now Popped the command into kppp to be executed upon connection. I used gksudo so that a password boxs pops up. Type in my password and it's all sorted
__________________
Desmo 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 06:07.


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