Solved

Mobile Broadband on eee pc

Posted on 2008-10-11
20
961 Views
Last Modified: 2013-11-15
I have an eee pc 8g, with Ubuntu 8.4.1 eeepc version installed. I am trying to install a Sierra Compass 597 mobile broadband modem, for use on the Sprint network. I'm running into problems.

I followed the directions found at www4.sprint.com/pcsbusiness/downloads/Sprint_Mobile_Broadband_Setup_Guide.pdf, which had me install and use KPPP. Everything seemed to be working fine--the program was recognizing the modem, etc. However, when I tried to connect, right at the tail end of the connection process, I received this error message:

pppd daemon died unexpectedly!
Exit Status: 2
See 'man pppd' for an explanation of the error codes or take a look at the kpppd FAQ on http://developer.kde.org/~kppp/index.html

In the ppp log, it says, "pppd[8019]: Can't open option file /etc/ppp/peers/kppp-options: Permission denied."

I have already activated this modem on my Windows laptop, and it's working fine there.

Please help!
0
Comment
Question by:kjannot
  • 11
  • 7
  • 2
20 Comments
 

Author Comment

by:kjannot
Comment Utility
PS: I tried the suggestion under the FAQ (under the link above) for "Dial-up failures with exit code 2," and got this message: cp: cannot stat '/etc/ppp/peers/ppp': No such file or directory
0
 
LVL 28

Assisted Solution

by:burrcm
burrcm earned 50 total points
Comment Utility
So does /etc/ppp/peers/kppp-options exist? Have a look from a command (root) prompt. If it does and it is a permissions issue, try chmod 777 kppp-options from within the directory. That will give "everyone" permission to use or execute the file.

Chris B
0
 

Author Comment

by:kjannot
Comment Utility
I always forget the commands to use at the prompt. What command do I need for checking to see if it exists?
0
 

Author Comment

by:kjannot
Comment Utility
I tried to do the second part of your suggestion, and I got the message that it couldn't find kppp-options. That seems to indicate that it doesn't exist. So how can I get it?
0
 

Author Comment

by:kjannot
Comment Utility
New development: I noticed in Synaptic that there was a newer version of KPPP, so I downloaded and installed that one.This time, when I started that program, I got the error message,

"You do not have sufficient permission to run /usr/sbin/pppd. Please make sure that kppp is owned by root and has the SUID bit set."

After clicking "Okay," I was able to set up the connection and modem, and when I tried to connect I did not get the error message from my first post--but nothing further happens past "logging on to network." The program just hangs there.

Also, nothing happens when I query the modem.
0
 
LVL 28

Expert Comment

by:burrcm
Comment Utility
To get to the directory where the file is, at the command prompt type cd /usr/sbin then to list the file type ls pppd and it should appear. To set the permissions use the command mentioned earlier. I know SCO Unix, not Ubuntu but the command structure is very similar.

Chris B
0
 

Author Comment

by:kjannot
Comment Utility
If, after putting in 'sudo chmod 777 pppd', it goes immediately to the command promptwith no text intervening), does that mean a change has been made?

After I did this, I immediately opened kppp, and got the same error message at the start and the same hang at  'logging on to network...'.
0
 
LVL 28

Expert Comment

by:burrcm
Comment Utility
Comand prompt with no error message means success generally. I don't know what you mean by <<'sudo chmod 777 pppd'>>, in unix the command would simply be at the command prompt within the directory housing the file - chmod 777 pppd. Other than that I don't think I can offer a solution.

Chris B
0
 

Author Comment

by:kjannot
Comment Utility
In Ubuntu, 'sudo' is needed to get to root permission. I couldn't run that command otherwise; the computer let me run the command with it.
0
 
LVL 28

Expert Comment

by:burrcm
Comment Utility
I will remember that one. A I mentioned I work in unix, similar but not the same. Sorry I couldn't help further.

Chris B
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:kjannot
Comment Utility
Another new development--I seem to be moving forward, but getting new roadblocks.

On another forum, I found this possible solution posted:

sudo chmod u+s /usr/sbin/pppd

I tried that, and it seems to have fixed part of the problem. Now, my newer version of KPPP successfully connects my modem (at least, it says it does). BUT -- Firefox does not seem to want to use that connection. Whenever I only have that modem going (shutting down the wifi connection in my house), Firefox continues to say that there is no connection to the internet.

So, how do I get Firefox to use this mobile broadband connection?
0
 
LVL 28

Expert Comment

by:burrcm
Comment Utility
Better see if it is actually connected first. From command prompt, type ifconfig. See what the ip address is and ping <ip address> If you get a reply the modem is connected to the PC and has allocated an address. If that works try ping microsoft. If that works you have an internet connection.

Chris B
0
 

Author Comment

by:kjannot
Comment Utility
I seem to be back to hanging on "logging in to network."
0
 
LVL 31

Expert Comment

by:rid
Comment Utility
Firefox seems to have that quirk... Simplest workaround is to leave the connection as is (i.e don't try to remake it once you have started it) and go to the File menu and "untick" the "Work offline" item (or whatever it may be in proper english; I have a swedish system). That gets Firefox back on track.
/RID
0
 
LVL 28

Expert Comment

by:burrcm
Comment Utility
IE will do that too at times, however I don't think you are connected.

Chris B
0
 

Accepted Solution

by:
kjannot earned 0 total points
Comment Utility
Well, I got connected, Chris, and it looks like you may have been right from the beginning, but I didn't really understand what to do.

It was a strange ride around several different forums, and through several different sets of directions from Sprint and the manufacturer, Sierra--but I finally found one set of directions that had the lightbulb go off inside my head. All I had to do was to get to the REAL root directory (not just 'sudo'), and create the KPPP configuration from within that directory. I hadn't really understood how to do that until now. (sudo su in Ubuntu) AND, then, I needed to get back into the root directory to run KPPP; when I did that, the connection worked just fine.

Now, I'll go back and from the root directory re-try the 'chmod' suggestions above, to see if I can set this up so I don't have to run KPPP from root. I'll let you know.
0
 

Author Comment

by:kjannot
Comment Utility
Still getting the same "pppd daemon died unexpectedly" error message, if I try to connect KPPP normally. (I also needed to set up the connection all over again in the normal mode--what I set up in KPPP in root doesn't show up unless I'm back in root.)

Again, the connection goes through IF I open KPPP from the terminal in root. Once the connection is made, I can open Firefox normally from the desktop icon.

I can live with this arrangement if need be (It's not that much of a pain); but is there anything I can do to make the terminal-root step unnecessary?
0
 
LVL 28

Expert Comment

by:burrcm
Comment Utility
All right then. (so sudo = pseudo but doesn't really have full root authority). A reminder, I don't know anything about ubuntu. I presume it has a man (instruction manual) structure - man xxx gives you details of the xxx command. In SCO if you want a process to run with root authority you give the authority via a command called asroot, eg asroot xxx. Try man asroot to see if the command exists.

Chris B
0
 
LVL 31

Expert Comment

by:rid
Comment Utility
sudo GIVES full root access, but you need to navigate the file system to get to the right place. Sudo keeps you in your own directory /home/user, so you have to go up to / and then find the directory you need. I recommend the mc software, it is a very useful and fast file manager, very much like Norton Commander, with editor built-in.

You can do: sudo apt-get install mc
and your PW to have it installed.

Once in a terminal you can run the program. If you need root access you just run: sudo mc
then you can access and edit any file.
/RID
0
 

Author Comment

by:kjannot
Comment Utility
Chris--

No entry for "man asroot".

rid: You seem to know a bit about Ubuntu--do you know how I can get KPPP to connect without opeining the root folder first? Or, to ge KPPP running "as root" automatically? Would that mc program help me with that?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now