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.
|
 |
|
07-28-2003, 02:42 PM
|
#1
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Rep:
|
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!
|
|
|
07-28-2003, 04:53 PM
|
#2
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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
|
|
|
07-29-2003, 01:11 AM
|
#3
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
Do I do this before using kppp or wvdial?
|
|
|
07-29-2003, 01:14 AM
|
#4
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
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.
|
|
|
07-29-2003, 03:14 PM
|
#5
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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.
|
|
|
07-29-2003, 03:15 PM
|
#6
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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.
|
|
|
07-29-2003, 03:28 PM
|
#7
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
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 ?
|
|
|
07-29-2003, 03:37 PM
|
#8
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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?
|
|
|
07-29-2003, 10:32 PM
|
#9
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
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
|
|
|
07-29-2003, 10:34 PM
|
#10
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
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?
|
|
|
07-30-2003, 01:31 PM
|
#11
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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.
|
|
|
07-30-2003, 02:29 PM
|
#12
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
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
|
|
|
07-31-2003, 05:24 PM
|
#13
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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.
|
|
|
08-01-2003, 11:56 AM
|
#14
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
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?
|
|
|
08-01-2003, 05:14 PM
|
#15
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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.
|
|
|
All times are GMT -5. The time now is 03:49 PM.
|
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
|
|