15-04-2008, 21:48 | #11 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
It's a dynamic IP. Every time I log it's changed so I can't put the "correct" IP into the kppp config :/
__________________
|
15-04-2008, 21:52 | #12 |
Rocket Fuel
Join Date: Jul 2006
Posts: 7,826
|
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. |
15-04-2008, 22:02 | #13 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
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.
__________________
|
15-04-2008, 22:04 | #14 |
Rocket Fuel
Join Date: Jul 2006
Posts: 7,826
|
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
|
15-04-2008, 22:22 | #15 |
I'm going for a scuttle...
Join Date: Jul 2006
Posts: 2,021
|
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. |
16-04-2008, 07:37 | #16 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Cheers for the help guys. That ip route command seems to have done the trick.
I am now posting by the power of 3G
__________________
|
16-04-2008, 09:49 | #17 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
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?
__________________
|
16-04-2008, 10:36 | #18 |
BBx woz 'ere :P
Join Date: Jan 1970
Posts: 2,147,487,208
|
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! |
16-04-2008, 11:47 | #19 |
Rocket Fuel
Join Date: Jul 2006
Posts: 7,826
|
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.
|
16-04-2008, 18:32 | #20 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
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
__________________
|
Thread Tools | |
Display Modes | |
|
|