Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Greets. Yesterday i started using Linux Slackware 9.1 for the first time. Installation went well and i ran the adsl-setup to configure my PPPoE connection for my broadband. under my xfree86 KDE X window manager i cannot connect to any site even though under console my adsl status is connected.
Here the details:2nd comp in network with static IP and gateway 192.168.0.1 same for DSN (connects over Lan). Used eth0 by default and no nameserver. Connection can be established but nothing is transmitted/received. I ran the pppoe-sniff from /usr/sbin/ and it said all is configured properly. As this is the first time im using linux i really got no clue what the problem could be.
Open to any suggestion
~Tugg~

"...even though under console my adsl status is connected..."
Are you able to browse the web with something like lynx, links or even telnet to port 80 in a console?
How is your router connected? What is the output of "route"?
Does the rest of your network run fine? Can you ping your router, the other computer or the outside world (eg ping www.google.com)? How about pinging an external IP in case you can't resolve names (ping 216.239.59.104)?

I tried out what you said and i can ping the router as well as the other computers on my network. I cant however browse the web with Lynx or Links and cant ping anything outside my LAN.
When i tried the route command i got a couple responses...nothing that i didnt expect to see IP/Gateway/netmask wise but than again i dont know what the Flags stand for. Flag for my Gateway comp was UG and after establishing connection went to U while the connection from router switched to UH.
I got no clue what those Flags mean.
Thx so far
~Tugg~

OK, try this:
# route add -net default gw 192.168.0.1 netmask 0.0.0.0 metric 1That is setting your gateway to be 192.168.0.1, if your router is on a different internal IP use that.
You may find that you can then ping IPs and browse the web via IP but can't resolve names. You can set your DNS servers by editing the /etc/resolv.conf file. It should look something like:
search .
nameserver 158.152.1.58
nameserver 158.152.1.43
Obviously you should exchange the IPs for your ISPs DNS servers.NB notice the full stop after "search"....this means to use the DNS servers to search for everything including machine on your local network (which won't work!) so you might want to check if your router is also a DNS server/fowarder and try using that IP instead.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |