LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   modem issue (https://www.linuxquestions.org/questions/slackware-14/modem-issue-141534/)

Aldebaran 02-02-2004 05:12 PM

modem issue
 
i know this sounds strange, but anyway.
i`ve just managed to connect my nokia 6310i to my laptop and using it as a modem. now, i`ve gone through the pppsetup, and everything seems to work fine. when i type ppp-on, the phone dials up and establishes a connection (according to /var/log/messages). also the phone indicates that a data call is being made.

and when i use the epiphany browser it does not display any web sites. when i use the ping command on ip adresses it seems to work fine. when i tried the lynx browser it didnt manage to connect to any websites.

this is my first time i juse a modem in linux. are there any other files i have to configure? my distro is just out of the box.

i know this question sounds a bit diffuse, but how can i verify that i`m correctly connected to my isp?

jimdaworm 03-20-2004 01:26 PM

So you dial and connect and can ping but no surfing?? Are you sure that you entered the DNS right when you went though the setup??

What does your /etc/resolve.conf (I think its that one that has dns stuff in it) have in it?

Adam

Aldebaran 03-26-2004 08:03 AM

just went trough the pppsetup and it all went without problems.
but now i`m wondering what permissions the different commands should use with the ppp-on and pppd (and more??)

regards

davinki 03-26-2004 09:51 AM

so you can "ping" but you cant make a "http" connection? are you pinging the same url that are attempting to make the "http" connection? hmmm... have you tried other things like "ftp" and "traceroute"? in general, i have found that if you can ping-em then usually all is well...

aaa 03-26-2004 10:21 AM

Aldebaran,
If you are looking to let regular users connect, look into sudo.

Aldebaran 03-30-2004 04:13 PM

hello.
thanks for replies. i`ve just been a bit confused with the manual settings of my connection. but now it all seems to be ok.
now i just have to look into the sudo so that i`m able to connect without the use of root.

regards

gnashley 03-31-2004 06:03 AM

This should give all users access without changing sudo:
chmod 6755 /usr/sbin/ppp-on
chmod 6755 /usr/sbin/ppp-off
chmod 6755 /usr/sbin/pppd
chmod 644 /etc/ppp/options
chmod 644 /etc/ppp/pppscript
If you want to hide the ISP password info from users:
chmod 600 /etc/ppp/pap-secrets

aaa 03-31-2004 10:38 AM

Also:
ln -s /usr/sbin/ppp- on /usr/bin/ppp-on
ln -s /usr/sbin/ppp-off /usr/bin/ppp-off
ln -s /usr/sbin/pppd /usr/bin/pppd
/usr/sbin will not be in a regular user's PATH.


All times are GMT -5. The time now is 04:44 PM.