Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-19-2005, 09:43 AM
|
#1
|
LQ Newbie
Registered: Dec 2004
Location: Serbia
Distribution: Slack 10
Posts: 10
Rep:
|
Bloody Internet :-(
Hello, I'm on Slack X and, after many troubles getting WinModem to work on it, I went through even more terrible things to connect. Eventualy I did that but with some weird things happening.
Anyway,
I tried and tried and tried ... to get the connection right with pppsetup script. It got me connected
(output: blah, blah remote IP: some IP1 , local IP : some IP2) however I couldn't ping anything, including my ISP. I was wondering, was it because I have dynamic IP and haven't had a clue what to feed to pppsetup script when it asked for IP address.
Sooo, abandoning this approach, eventhough using Gnome, I started kppp and got all those premission errors about pppd trying to open /etc/ppp/options. Well, already pissed, I changed all permissions of ppp and ppp/* to rwxrwxrwx. However it still had permision errors.
In a deed of utter despair I have eraised then /etc/ppp/options and replaced it with freshly created file owned just by ME! Now internet works (slowly though in the beginning, I'm still figuring out if anything is out of order) but I have used brute force and there is probably some more intelligent approach. Can anybody enlighten me?
|
|
|
02-19-2005, 01:04 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
If the configuration files in /etc/ppp are world readable it may be possible for someone to write some code, put it in a link in a web page so that if you clicked on it they could find out all they need to log on to your ISP as you. They could do all kinds of illegal things and you'd get the blame.
If you can write to /etc/ppp you might click on a link in a web page and execute some code which would rewrite your connection details so that it dialled up via some international premium rate number. They could make money and you'd pay the bill.
There are reasons why some things are done by root. As a user you should not have the power to screwup the whole system.
Do not take the power of root in vain
|
|
|
02-19-2005, 01:20 PM
|
#3
|
LQ Newbie
Registered: Dec 2004
Location: Serbia
Distribution: Slack 10
Posts: 10
Original Poster
Rep:
|
I can imagine... but what would be the right way. I tried giving read/xecution rights to a special group, however it didn't work (as i said kppp was complaining that it couldn't read the file from /etc/ppp. Now, I am asking for a right way to set up the dialup/net access for the ordinary user. BTW this is only a desktop machine (no network, no anything exotic).
I thought that this is a question more for newbie forum than slackware, since I had similar problems with some other distros, and an army of people transgressing from Win platforms with their winmodems and user friendly "push the icon and pray" habits probably find this stuff also difficult.
|
|
|
02-19-2005, 01:30 PM
|
#4
|
LQ Newbie
Registered: Feb 2005
Distribution: Still settling on one...
Posts: 2
Rep:
|
I tried for ages to get a WinModem working properly (initially on Slackware 9.1, latterly on a Knoppix install). The modem uses the 536ep chipset from Intel, which has a linux driver available from download from the Intel website.
The modem compiled alright, but however I tried I couldn't get a good connection. Sometimes I would get a few pages and then the whole thing would slow down. Most of the time I couldn't get any pages at all. I tried all manner of configurations and protocols. So,
I took the winmodem out of my PC and bought an external serial modem, which has been working beautifully since (and took less than a minute to set up).
... Sometimes you just have to admit it's not gonna work
And no, I can't enlighten you
|
|
|
02-19-2005, 02:24 PM
|
#5
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
You'll find a very good guide on ppp at icewalkers which should answer most of your questions.
|
|
|
02-19-2005, 04:17 PM
|
#6
|
LQ Newbie
Registered: Dec 2004
Location: Serbia
Distribution: Slack 10
Posts: 10
Original Poster
Rep:
|
All right, I succeded in making it work right. In fact I got it right even before I knew that.
It seems to me, however strange it sounds, that kppp couldn't understand that I changed the permissions of the files needed in the time I did that (am I talking nonsence?) but I had to restart X session for it to grasp that fact.
Anyway everything works, permissions are restricted to a group which has read access to the /etc/ppp files so that the Administrator (me) do not need to worry about other malevolent users(again me; others using this computer know just enough of Linux to select WinXP menu item from a little red box showing when they turn the computer on, or else some weird penguin starts eating their WinWord documents:-) of the system(consisting of 1 computer).
Now, just to get that wheel workin'...
Cheers!
|
|
|
02-20-2005, 01:41 AM
|
#7
|
Member
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 25 86_64
Posts: 357
Rep:
|
Hello Zwyrx,
I assume that the modem hardware works...
Did you include your ISP DNS servers, this can sometimes be the problem.
|
|
|
02-20-2005, 08:08 AM
|
#8
|
LQ Newbie
Registered: Dec 2004
Location: Serbia
Distribution: Slack 10
Posts: 10
Original Poster
Rep:
|
OK people thanks for help, i think i will post some other things related to this on slackware forum.
|
|
|
All times are GMT -5. The time now is 11:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|