[Techtalk] Modem Woes

anti tanvir anti_tanvir at yahoo.co.uk
Thu Mar 13 14:43:39 EST 2003


Hi,

I have RHL 8.0. Although I have to dial-up (wvdial) as
root, it goes fine.

But when I try to connect to sites or even _ping_
other sites from another terminal as root or non-root
it can't resolve the host.

My /dev/modem is:

lrwxwxrwxr in /dev/modem which is linked to
/dev/ttySHSF0 and my 
crw-rw-rw-    1 root     root     240,  64 Mar 13
03:16 /dev/ttySHSF0

Two things in the /var/log/messages looked suspicious
to me:

-Not replacing existing default route to eth0
[198.1.1.0]
-modprobe: can't locate module ppp compression

/etc/hosts : 127.0.0.1 localhost
	     198.1.1.0  kitkat
/etc/hosts.allow :ALL:127.0.0.1
/etc/hosts.dent: ALL:ALL

And I also dialed-up commenting both of them.	

My ifconfig after the connection looks like

eth0      Link encap:Ethernet  HWaddr
00:20:ED:67:DF:18  
          inet addr:198.1.1.0  Bcast:198.1.1.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
frame:0
          TX packets:28 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:1680 (1.6 Kb)
          Interrupt:10 Base address:0xdf00 

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:18 errors:0 dropped:0 overruns:0
frame:0
          TX packets:18 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1484 (1.4 Kb)  TX bytes:1484 (1.4
Kb)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:xxx.xxx.121.236 
P-t-P:xxx.xxx.121.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST 
MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0
frame:0
          TX packets:5 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:64 (64.0 b)  TX bytes:94 (94.0 b)


And the route -n result is

Kernel IP routing table
Destination     Gateway         Genmask         Flags
Metric Ref    Use Iface
xxx.xxx.121.254  0.0.0.0         255.255.255.255 UH   
0      0        0 ppp0
198.1.1.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         198.1.1.254     0.0.0.0         UG   
0      0        0 eth0


I was wondering if I should have the xxx.xxx.121.254
as my gateway rather than 198.1.1.254??!!!

I would really appreciate if anyone help can help me
solving this problem.

--T.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


More information about the Techtalk mailing list