LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-28-2003, 02:42 PM   #1
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Dial up problem


When I dial in to my isp, my computer connects to isp but I cant browse the internet. It just says searching for yahoo.com for example and then nothing...I have been using this connection for almost a month with no problems at all..and I havent changed any configuration files etc. I have no problem connecting to internet using a win-doze pc using the same dns server, nameserver settings...please help!
 
Old 07-28-2003, 04:53 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Check if your DNS servers are on place. Also make sure that when you connect, when you run 'route' command from console, as root, there's a line beginning with 'default' and ending with 'ppp0'. If you don'thave it use
route del default
route add default ppp0
 
Old 07-29-2003, 01:11 AM   #3
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
Do I do this before using kppp or wvdial?
 
Old 07-29-2003, 01:14 AM   #4
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
bash: route: command not found
How do I solve this? also, My internet had no problems for 1 month...why am I having problems now?.. just wondering.
 
Old 07-29-2003, 03:14 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Quote:
Originally posted by Jatt_thugz
Do I do this before using kppp or wvdial?
You can make it before and after. But 'after' is more important.
 
Old 07-29-2003, 03:15 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Quote:
Originally posted by Jatt_thugz
bash: route: command not found
How do I solve this? also, My internet had no problems for 1 month...why am I having problems now?.. just wondering.
You need to be root. SO if you're logged as a normal user, first run 'su' and type root password.
 
Old 07-29-2003, 03:28 PM   #7
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
Actually, I was root and it still returns that command not found. I got kppp working now..so I dont need wvdial. Again..why would a problem like this occur where its working fine and then one day its not, even though I never changed any settings/configuration ?
 
Old 07-29-2003, 03:37 PM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Quote:
Originally posted by Jatt_thugz
Actually, I was root and it still returns that command not found. I got kppp working now..so I dont need wvdial. Again..why would a problem like this occur where its working fine and then one day its not, even though I never changed any settings/configuration ?
What does 'locate route' return? It should show you where's 'route'. If you get it, run it with full path.

It may be because of improper shutdown. Was there something like this?
 
Old 07-29-2003, 10:32 PM   #9
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
its /sbin/route
what does it do, just for the future reference. I think improper shutdown might have happened, I dont really remember it though. Now my wvdial dials but it exits after connecting to isp server with the error code = 16. I got kppp working but I still would like to know how I could fix wvdial problem..
thanks
 
Old 07-29-2003, 10:34 PM   #10
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
Heres my /sbin/route output:

Destination Gateway Genmask Flags Metric Ref Use Iface
tor58-19.sprint * 255.255.255.255 UH 0 0 0 ppp0
169.xxx.x.x * 255.255.0.0 U 0 0 0 lo
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default tor58-19.sprint 0.0.0.0 UG 0 0 0 ppp0
does it tell you anything about the problem?
 
Old 07-30-2003, 01:31 PM   #11
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Code 16 means
Code:
       16     The link was terminated by the modem hanging up.
I (probably) means that options wvdial uses to estabilish the connection are not fully correct. During an incorrent shutdow the configuration may break. So you should check teh configuration (or just reconfigure wvdial from the beginning).

/sbin/route shows your routing table (it can be also used to modify it when given with correct paramaters). Routing table simply says which packet should go where (to which interface - NIC, modem etc). More info: man route.
 
Old 07-30-2003, 02:29 PM   #12
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
Thanks for your reply Mara, I have tried reconfiguring wvdial (I even did a clean install od redhat again) but its still the same. Thanks again for your help
 
Old 07-31-2003, 05:24 PM   #13
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Look into /var/log/messages. It's a log file, among other things, pppd messages go there (every dialling program runs pppd), maybe there's somethong interesting.
 
Old 08-01-2003, 11:56 AM   #14
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
1 12:46:52 localhost su(pam_unix)[2789]: session opened for user root by karamjeet(uid=500)
Aug 1 12:46:55 localhost kernel: This driver is not compatible with the installed modem codec.
Aug 1 12:46:55 localhost kernel: Please contact your modem provider for support.
Aug 1 12:47:29 localhost pppd[2819]: pppd 2.4.1 started by root, uid 0
Aug 1 12:47:29 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Aug 1 12:47:29 localhost pppd[2819]: Using interface ppp0
Aug 1 12:47:29 localhost pppd[2819]: Connect: ppp0 <--> /dev/ttySL0
Aug 1 12:47:35 localhost pppd[2819]: Hangup (SIGHUP)
Aug 1 12:47:35 localhost pppd[2819]: Modem hangup
Aug 1 12:47:35 localhost pppd[2819]: Connection terminated.
Aug 1 12:47:35 localhost pppd[2819]: Exit.
Aug 1 12:47:35 localhost /etc/hotplug/net.agent: NET unregister event not supported
Aug 1 12:47:35 localhost kernel: This driver is not compatible with the installed modem codec.
Aug 1 12:47:35 localhost kernel: Please contact your modem provider for support.
Aug 1 12:47:40 localhost kernel: This driver is not compatible with the installed modem codec.
Aug 1 12:47:40 localhost kernel: Please contact your modem provider for support.

Driver is not compatible? it used to work with wvdial and kppp- both of them and now its not compatible with wvdial? but is still compatible with kppp?
 
Old 08-01-2003, 05:14 PM   #15
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Code:
Aug 1 12:47:29 localhost pppd[2819]: Connect: ppp0 <--> /dev/ttySL0
/dev/ttySL0? It should rather be /dev/ttyS0. Look into the program settings, it's probably a typo. OR, it may be a broken wvdial binary. Uninstall it and then install again from the installation CD.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dial-up problem linmith Slackware 6 11-29-2004 01:37 AM
Dial on demand problem tradewind Linux - Networking 0 08-04-2004 07:20 AM
Cousin having trouble with dial up in kppp with SBC dial, please help Fear58 Linux - Networking 1 07-03-2004 09:11 PM
Setting-up dial-in & dial-up server in same machine sebastianjustin Linux - Networking 1 09-20-2003 02:35 PM
dial in problem billy998168 Linux - General 1 09-30-2002 05:39 PM


All times are GMT -5. The time now is 02:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration