LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-07-2003, 10:29 PM   #16
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30

yup i have an entry for ppp and the rest.
I think i know what my problem is! i have been doing a lot of research and i have come to the conclusion that it has to do with my default route.
when i run ppp-go
it says:
connect: ppp0 <--> /dev/modem
not replacing default route to eth0 [192.168.0.4] (which is my internal eth address for my pc) it also said:
local IP address 210.54.80.73
remote IP address 192.168.247.42

i tried changing my default route using while ppp was not running:
route add default gw 202.27.184.3 ppp0
(is this right to set it to my isp's dns server?)
but it says: SIOCADDRT: No such device
and then again once i had ppp running (ppp-go)
this time it said: SIOCADDRT: Network is unreachable

am i on the right track with the default route thing? or whats the problem :P
 
Old 02-07-2003, 10:45 PM   #17
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
If you're using an external modem it should be "dev/ttys0 (com1) or ttys1 (com2).
 
Old 02-07-2003, 11:01 PM   #18
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,258

Rep: Reputation: 62
Your primary and secondary DNS server address should be listed in /etc/ppp/resolv.conf

nameserver xxx.xxx.x.x
nameserver xxx.xxx.x.x

did you check this file? You mention you set it up through a GUI, but maybe it didn't get set correctly.

You may also want to try wvdial.

run wvdialconf /etc/wvdial.conf . I believe this will probe for the correct com ports for the modem. If I remember correctly, you may have to edit the file afterwords for you username, password, and phone#. I couldn't get kppp to work in SuSE but this did the trick.

This may not be the answer tho, cuz you do seem to be connecting.
 
Old 02-07-2003, 11:07 PM   #19
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
yeah i set it up using setup ppp or something, the /etc/resolv.conf file has only one nameserver specified in it (the one i was asked to enter during setup ppp) ie: my isps dns address 202.27.184.3

i dont know what to change coz all my requests are sent to the current default route of 192.168.0.4, i can verify this by looking at the blinking lights on my ethernet card.
 
Old 02-07-2003, 11:18 PM   #20
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
Run pppsetup again and see if you can straighten it out.
 
Old 02-07-2003, 11:21 PM   #21
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,258

Rep: Reputation: 62
What do you get when you run /sbin/route -n

Just to clarify, you are dialing in using a modem, but it seems as tho your requests are sent to the nic instead of the modem?

Did you set your nic address as a default gateway? I so, this may be the problem.
 
Old 02-08-2003, 07:44 AM   #22
restless
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Debian
Posts: 166

Rep: Reputation: 31
anybody got any hints what how i can do it with an USB modem?
because i have an usb modem and i can see that my modem connects to the server, because he sees the right dns servers... but i can't browse either... plz help me!! i'm using windows for the internet but i want to use linux for browsing etc... plz help!!!
 
Old 02-08-2003, 01:55 PM   #23
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
Look in your /etc/rc.d/rc.modules and look for:

# USB modem support:
#/sbin/modprobe acm

and make sure the second line is commented out (no#).

Reboot and run pppsetup.
 
Old 02-08-2003, 03:05 PM   #24
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
here is the output of: route -n (once ppp is connected)

Code:
Kernel IP routing table

Destination          Gateway      Genmask            Flags M R Use Iface

192.168.247.42    0.0.0.0     255.255.255.255   UH     0  0   0 ppp0
192.168.0.0          0.0.0.0     255.255.255.0       U       0  0   0 eth0
127.0.0.0              0.0.0.0     255.0.0.0               U       0  0   0 lo
0.0.0.0             192.168.0.4  0.0.0.0                   UG     1  0   0 eth0

(M and R stand for Metric and Ref)
that to me seems to suggest that it is routing through my nic (eth0) on 192.168.0.4 ie: the last line in the output?
right?

how do i change that!
 
Old 02-08-2003, 03:07 PM   #25
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
sorry about the poor formatting! i had to type it all out coz im using windoze
 
Old 02-08-2003, 03:20 PM   #26
restless
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Debian
Posts: 166

Rep: Reputation: 31
ok, when i entered an ip i got to that site!!! yeaaahhh!!! But i can't type in any urls in my browser...

and when i entered something like xxx.xxx.xxx.xxx/forum then i got this error:
Code:
the connection was refused when attempting to contact xxx.xxx.xxx.xxx
i tried to connect to an irc server (i have the ip) and i got this:
Code:
looking up xxx.xxx.xxx.xxx
connecting to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 6667...
connection failed. error: no route to host
so i can connect to the net, but this looks like some sort of dns error although i entered 2dns servers... and i don't have any probs with this dns server in windows... any idea anyone?
 
Old 02-08-2003, 03:30 PM   #27
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,258

Rep: Reputation: 62
Forgive me, I'm still a bit of a newb but your prob reminded me of when I was trying to set up my laptop to access the internet with my desktops dialup.

Check the contents of the file /etc/sysconfig/network and if there is a line GATEWAY=xxx.xxx.x.x and the x's are the nic's IP address.

If so, you could comment out the line.

A basic file without gateway entries should read

NETWORKING=yes
HOSTNAME='localhost.localdomain'
DOMAINNAME=
#GATEWAY=
GATEWAYDEV=ppp0

Try without lines 3,4,&5 first.

I'll check back later

good luck
 
Old 02-08-2003, 04:13 PM   #28
restless
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Debian
Posts: 166

Rep: Reputation: 31
this is how my config file looks like it's not located where you said maybe that's because i'm not using an ethernet card or something it was located at /etc/eciadsl/

Code:
VID1=071d
PID1=ac81
VID2=0915
PID2=ac82
MODE=VCM_RFC2364
VCI=35
VPI=8
FIRMWARE=/etc/eciadsl/firmware00.bin
SYNCH=/etc/eciadsl/synch01.bin
PPPD_USER=fa019674@skynet
PPPD_PASSWD= ***** (edit out :) )
USE_DHCP=no
USE_STATICIP=no
#STATICIP=
#GATEWAY=
MODEM=Eicon Diva
PROVIDER=Other
DNS1=195.238.2.21
DNS2=195.238.2.22
anyone can get any smarter out of this??? PLEASE!!!!!

Last edited by restless; 02-08-2003 at 04:15 PM.
 
Old 02-08-2003, 04:53 PM   #29
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
Franklin: I tried to see that file /etc/sysconfig/network

but its not there! :P
and i had a look through the /etc directory and i cant see anything
 
Old 02-08-2003, 04:53 PM   #30
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
"restless"

One of these 2 has got to be 'yes".

USE_DHCP=no
USE_STATICIP=no

Last edited by Allen614; 02-08-2003 at 05:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to link linux ppp client to windows ppp server? cyz Linux - Networking 2 12-11-2008 05:01 AM
Looking for man ppp-on and info ppp-on pages. rvijay Linux - General 1 02-26-2005 08:49 PM
browser plugin for Konqueror web browser (linspire) Tracianddwayne Linux - Newbie 1 01-01-2005 02:15 PM
A Question on Browser Sessions, and Browser Windows: opioid Programming 1 09-23-2004 02:53 PM
gaim browser / default browser question hildog Linux - Newbie 2 10-03-2003 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:36 AM.

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