So here is what I am trying to do. I want to connect my Open Suse 11 machine to the internet. I am almost there.
- I configured my network card and eth0 is up.
- I configured my DSL with user name and password and I am authenticated.
- An IP address is assigned to me and the DNS servers are retrieved.
However I cannot ping or visit any website :sarcastic:
I use the YAST automatic configuration and kinternet to connect. Here are the gritty details
192.168.1.1 - My router IP
192.168.1.10 - IP on the internal network
Route:
Before connecting to the internet
/sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
After connecting to the internet
/sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
XX.XX.XX.XX * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Interface config:
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr XXXXXX
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: XXXXXX Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:755 errors:0 dropped:0 overruns:0 frame:0
TX packets:603 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:64121 (62.6 Kb) TX bytes:46833 (45.7 Kb)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:196 errors:0 dropped:0 overruns:0 frame:0
TX packets:196 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13720 (13.3 Kb) TX bytes:13720 (13.3 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:XXXXXXXX P-t-P:XXXXXXXX Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:17 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1627 (1.5 Kb) TX bytes:54 (54.0 b)
Ping fails:
ping google.com
ping: unknown host google.com
Netcat fails:
netcat google.com 80
google.com: forward host lookup failed:
Name servers are as expected. I am able to verify that they are valid.
cat /etc/resolv.conf
nameserver 218.248.240.179
nameserver 218.248.240.134
I do see that kinternet has trouble reading /etc/resolv.conf. It says ‘permission denied’ although read permissions are set on both /sbin/route and the path that it links to. This should not matter however since the existing entries are already there and valid. I also tried to turn off the firewall suspecting it could be a problem.
So I am being authenticated successfully ( verified with the logs ); assigned an IP; the route seems ok; firewall seems ok. But I cannot browse or do internet things :\
I have been tweaking settings for 3 days now and all seems in vain. Do enlighten me on what I am doing wrong. I bet its something silly that I overlooked. I have had success configuring the same thing in red hat linux and browsing the internet without trouble. Is there something OpenSuse specific that I am missing ?