LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-14-2005, 10:16 PM   #1
tvynr
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 143

Rep: Reputation: 15
Unhappy WVDial: Dial-up succeeds, but can't get anywhere


I have a Slackware 10 machine which I intend to use as a firewall. Our ISP only provides dial-up service, so I've installed wvdial in an attempt to manage my internet connection. The modem is a U.S. Robotics PCI modem model 2976 - a hardware modem known to work under Linux. wvdial did a great job identifying my modem and determining its top speed. It also seems to be doing just fine dialing out, contacting my ISP, recognizing my ISP's prompts, providing a username and password, and receiving my IP address and the IPs of my DNS servers. Sounds great, right?

I was thrilled right up until I tried to -use- the connection. Once everything's up, I can't connect to anything. I can't reach Google and I can't ping the DNS servers I was issued. I can't even use dig; everything times out.

I found an article mentioning that, under Slackware 10, wvdial writes to /etc/ppp/resolv.conf and reads from /etc/resolv.conf. I replaced /etc/resolv.conf with a symbolic link to /etc/ppp/resolv.conf in an effort to fix this but, as I suspected, this wasn't my problem. I can't get anywhere, name resolution or not.

I really appreciate any help anyone can give with this one. I don't know my way around Linux when it comes to dial-up connections; I'm used to having DSL at my disposal. My current solution is to use a Windows 2000 box I have available for shared dial-up, but I imagine you can see why I want to get away from that.

Let me know if there is any information I can provide which might help. Thanks!
 
Old 04-14-2005, 10:33 PM   #2
tvynr
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 143

Original Poster
Rep: Reputation: 15
Oh yeah...

p.s.:

I've been informed I should provide the output of the following commands:

Code:
root@dib:~# cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Silicon Integrated Systems [SiS] 730 Host (rev 2).
      Master Capable.  Latency=32.
      Non-prefetchable 32 bit memory at 0xd8000000 [0xdbffffff].
  Bus  0, device   0, function  1:
    IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 208).
      Master Capable.  Latency=128.
      I/O at 0x4000 [0x400f].
  Bus  0, device   1, function  0:
    ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge) (rev 0).
  Bus  0, device   1, function  2:
    USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 7).
      IRQ 11.
      Master Capable.  Latency=32.  Max Lat=80.
      Non-prefetchable 32 bit memory at 0xdd100000 [0xdd100fff].
  Bus  0, device   1, function  3:
    USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2) (rev 7).
      IRQ 11.
      Master Capable.  Latency=32.  Max Lat=80.
      Non-prefetchable 32 bit memory at 0xdd101000 [0xdd101fff].
  Bus  0, device   1, function  4:
    Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 2).
      IRQ 5.
      Master Capable.  Latency=32.  Min Gnt=2.Max Lat=24.
      I/O at 0xd800 [0xd8ff].
      Non-prefetchable 32 bit memory at 0xdd104000 [0xdd104fff].
  Bus  0, device   2, function  0:
    PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP) (rev 0).
      Master Capable.  No bursts.  Min Gnt=14.
  Bus  0, device   9, function  0:
    Serial controller: 5610 56K FaxModem 56K FaxModem Model 5610 (rev 1).
      IRQ 5.
      I/O at 0xdc00 [0xdc07].
  Bus  0, device  11, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16).
      IRQ 12.
      Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
      I/O at 0xe000 [0xe0ff].
      Non-prefetchable 32 bit memory at 0xdd102000 [0xdd1020ff].
  Bus  0, device  13, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (#2) (rev 16).
      IRQ 11.
      Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
      I/O at 0xe400 [0xe4ff].
      Non-prefetchable 32 bit memory at 0xdd103000 [0xdd1030ff].
  Bus  1, device   0, function  0:
    VGA compatible controller: Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA Display Adapter (rev 49).
      Prefetchable 32 bit memory at 0xd0000000 [0xd7ffffff].
      Non-prefetchable 32 bit memory at 0xdd000000 [0xdd01ffff].
      I/O at 0xc000 [0xc07f].

root@dib:~# cat /etc/modules.conf
alias /dev/ttySHSF[0-9]* /dev/ttySHSF
alias /dev/modem /dev/ttySHSF
alias char-major-240 /dev/ttySHSF
alias /dev/cuaHSF[0-9]* /dev/ttySHSF
alias char-major-241 /dev/ttySHSF
options hsfserial serialmajor=240 calloutmajor=241
alias char-major-242 hsfosspec
alias /dev/hsfdiag hsfosspec
alias /dev/hsfdiag* /dev/hsfdiag
alias char-major-243 /dev/hsfdiag
options hsfosspec dcpmajor=242 diagmajor=243
probeall /dev/ttySHSF hsfpcibasic2 hsfmc97ich hsfmc97via hsfmc97ali hsfusbcd2

root@dib:~# cat /proc/modules
((nothing))

root@dib:~# /sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0E:2E:2A:9F:2A
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:2360 (2.3 Kb)
          Interrupt:12 Base address:0xe000

eth1      Link encap:Ethernet  HWaddr 00:D0:09:A4:B6:57
          inet addr:192.168.0.131  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8455 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11659 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:890675 (869.7 Kb)  TX bytes:1447941 (1.3 Mb)
          Interrupt:11 Base address:0xe400

gre0      Link encap:UNSPEC  HWaddr 00-00-00-00-FF-00-00-00-00-00-00-00-00-00-00-00
          NOARP  MTU:1476  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:143 errors:0 dropped:0 overruns:0 frame:0
          TX packets:143 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13753 (13.4 Kb)  TX bytes:13753 (13.4 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:69.43.12.137  P-t-P:69.43.38.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:66 (66.0 b)  TX bytes:87 (87.0 b)

teql0     Link encap:UNSPEC  HWaddr 00-00-FF-FF-FF-FF-00-00-00-00-00-00-00-00-00-00
          NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

tunl0     Link encap:IPIP Tunnel  HWaddr
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

root@dib:~# lsmod
Module                  Size  Used by

root@dib:~# cat /etc/resolv.conf
nameserver 66.118.80.5
nameserver 69.43.32.27
 
Old 04-15-2005, 10:55 AM   #3
tvynr
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 143

Original Poster
Rep: Reputation: 15
Okay, now I feel silly

Sorry about the stray post. I remembered something which did the job.

Code:
route del default
route add default ppp0
Just wanted to tie this up.
 
  


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
howto dial on demand (wvdial) inaki Linux - Networking 1 06-20-2005 02:10 AM
wget succeeds in retrieving a virus ftp through a firewall ! conner_f Linux - Security 9 07-06-2004 01:28 AM
Can't dial with wvdial pen^2 Fedora 5 06-29-2004 08:01 AM
using wvdial to dial out from behind a phone system. carmalt Linux - Networking 2 04-15-2004 02:55 AM
Mounting CDROMS freezes until killed, then it succeeds.. sometimes. geekzen Linux - Hardware 0 04-08-2004 04:46 PM


All times are GMT -5. The time now is 02:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration