kjannot
asked on
Mobile Broadband on eee pc
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/pcsbusines s/download s/Sprint_M obile_Broa dband_Setu p_Guide.pd f, 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-option s: Permission denied."
I have already activated this modem on my Windows laptop, and it's working fine there.
Please help!
I followed the directions found at www4.sprint.com/pcsbusines
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-option
I have already activated this modem on my Windows laptop, and it's working fine there.
Please help!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I always forget the commands to use at the prompt. What command do I need for checking to see if it exists?
ASKER
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?
ASKER
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.
"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.
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
Chris B
ASKER
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...'.
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...'.
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
Chris B
ASKER
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.
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
Chris B
ASKER
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?
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?
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
Chris B
ASKER
I seem to be back to hanging on "logging in to network."
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
/RID
IE will do that too at times, however I don't think you are connected.
Chris B
Chris B
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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?
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?
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
Chris B
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
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
ASKER
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?
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?
ASKER