LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-31-2009, 12:12 PM   #1
looper89
LQ Newbie
 
Registered: Jul 2009
Location: Sheridan WY
Distribution: Ubuntu
Posts: 1

Rep: Reputation: 0
remote logging & cellular modem issues


I have several Acer Aspire One laptops that are acting as data loggers. I installed Ubuntu 8.10 on all of them. The hope was to use them to log the data and then relay it back to a local server. We wrote some software that does that is it works wonderfully when connected to the internet.

The cellular modems, when they are connected, work great. The problem occurs when the lease on the IP address is up. From my experience a new one isn't assigned or it is assigned and the computer won't recognize it. When this happens the modem can be unplugged from the USB socket then reinserted and generally everything is fine, however this is unexeceptable for a remote unmanned facility.

This was an unexpected problem and I came up with a crappy work around. I just pinged sites on a regular basis and if a reply wasn't received the machine rebooted. This was quick and dirty.

I tried stopping and restarting networking. This didn't work, I believe the modem need to have the power cycled. I tried to cycle the power from internally by it won't work on these computers. I even cut into the usb cable and switched the power to the modem with an external relay. This works except that I can't get the network manager auto connect back up.

Any help or advice is appreciated. I have a lot more information if it is needed.
 
Old 07-31-2009, 02:09 PM   #2
rtg
Member
 
Registered: Aug 2005
Location: Ukraine
Distribution: Ubuntu 9.04
Posts: 99
Blog Entries: 3

Rep: Reputation: 19
You may need to remove network manager and start managing ppp link directly.
This way you will be able to control various aspects of ppp link and force pppd to bring the link up once it is down.

Network Manager may not be a suitable solution because it lacks the ability of maintaining the link persistently. It is not trivial to manage it outside of GUI and/or create scripts to do this. With pppd it is extremely easy.

In case the modems get stuck, this becomes non-trivial. I guess the fastest way to check that is to wait until link drops, then try issuing AT commands, say ATD*99***1#. If you succeed with CONNECTing, then this is definitely Network Manager problem.
 
Old 07-31-2009, 02:45 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Uninstall "Network Manager" - it's not good.
Install wicd instead

And welcome to LQ!
 
Old 08-12-2009, 07:17 AM   #4
shoelessworm
LQ Newbie
 
Registered: Dec 2002
Location: asia
Distribution: ubuntu 6.06
Posts: 17

Rep: Reputation: 0
i have a question. i think Wicd is much better and faster to connect to wi-fi than the default Ubuntu Network Manager (i'm using Ubuntu 9.04).

but is there some sort of plug-in or add-on (hopefully that could be activated through point and click in Synpatic) so Wicd could go online using 3g/ WWAN on my Nokia phone?

on the default Network Manager, all i do is plug my Nokia phone to the computer with a USB cable, and it configures it in seconds and i could go online.

i don't use 3g all that often, just at times when there's no wi-fi around. but it's good to have that option in Wicd.

if there's no such add-on, is there another separate 3g "dialer" program that's easy to install and use on Ubuntu? thanks.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compatibility of broadband cellular modems, Network-Manager & kernel Eric Elliott Linux - Hardware 0 05-26-2009 11:58 AM
Cellular Modem Cards which ones work? unixscott Linux - Wireless Networking 0 09-13-2007 08:48 PM
Cellular data card as NIC or only as serial modem? Eric Elliott Linux - Wireless Networking 4 04-17-2007 08:40 PM
Spring CF2031 Cellular Modem card Vraxx Linux - Wireless Networking 0 02-09-2004 09:23 PM
Installing 3g Cellular Phone for Modem ruahusker Linux - Hardware 0 08-30-2003 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration