LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Router ADSL connected but i can't use browser or apt (https://www.linuxquestions.org/questions/linux-wireless-networking-41/router-adsl-connected-but-i-cant-use-browser-or-apt-340851/)

Skie 07-07-2005 02:48 AM

Router ADSL connected but i can't use browser or apt
 
Hello I have a problem with my router.

I just got the router from my telephone company and the router is already configured to work out and looks like is working.

The router has a dhcp server and a firewall NAT.

With windows xp everything works right, the dhcp server works and I can easely access internet,

but I have a problem with Linux, I changed my network settings so Linux can accept the DHCP server and in fact doing a ifconfig I see that the DHCP server worked well. my computer has the correct gateway, the DNS has been configured.

I try with a ping on google site and the ping is working but when I try to run the apt-get update or I try to use my web browser looks like I have no connection.

I have installed a Debian Sarge and I tried on a Ubuntu as well but they give me the same problem.

Can someone help me out?

Sorry if my english is not so good :-(

Sorry I just realized I put this in the wrong directory :-(

pingu 07-07-2005 06:01 AM

Maybe there's a firewall blocking?
Start with checking output of
# iptables -L
Or when you pinged - did you use IP or name? Maybe check a few things, report output of 'iptables -L' plus:
# ifconfig
# route
# cat /etc/resolve.conf

v!ruz 07-07-2005 06:16 AM

Hi,
Try to configure the dns

(())

Skie 07-08-2005 02:27 AM

then..
 
Ok I tried a few things, this are teh result:

eth0 Link encap:Ethernet HWaddr 00:50:BA:6E:DD:40
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:baff:fe6e:dd40/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2335 errors:0 dropped:0 overruns:0 frame:0
TX packets:2266 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:606356 (592.1 KiB) TX bytes:169854 (165.8 KiB)
Interrupt:11 Base address:0xe800

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:130 errors:0 dropped:0 overruns:0 frame:0
TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8552 (8.3 KiB) TX bytes:8552 (8.3 KiB)

------------------------------------------------------------------------------

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

------------------------------------------------------------------------------

search
nameserver 192.168.1.1

------------------------------------------------------------------------------

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

------------------------------------------------------------------------------

I tried to use another DNS instead of the router ip but it works at the same way. I tried with a traceroute and it works no problem with a host name.

Dont' know really what to do.

Ohh I'm using a debian sarge.

pingu 07-08-2005 02:37 AM

You need to get correct DNS-servers.
Check with your ISP, normally this is assigned automatically but for some reason not for you.
Then edit /etc/resolv.conf, here's mine:
search uppsala.se
nameserver 192.116.1.2
nameserver 192.116.1.3

v!ruz 07-11-2005 12:06 PM

Hi Skie,

As i told you before, check your dns.
Access your rooter by telnet.
something like telnet 192.168.1.1
then enter user and passwd
then the commands:
cd ..
cd etc
cat resolv.conf

then you get your real dns. Put them at your computer save changes and reactivate connection and if the problem persists come here.

((()))

:)


All times are GMT -5. The time now is 04:12 PM.