LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-07-2005, 03:48 AM   #1
Skie
LQ Newbie
 
Registered: Jul 2005
Location: Italy
Posts: 4

Rep: Reputation: 0
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 :-(

Last edited by Skie; 07-07-2005 at 03:49 AM.
 
Old 07-07-2005, 07:01 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
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
 
Old 07-07-2005, 07:16 AM   #3
v!ruz
LQ Newbie
 
Registered: Dec 2004
Posts: 11

Rep: Reputation: 0
Hi,
Try to configure the dns

(())
 
Old 07-08-2005, 03:27 AM   #4
Skie
LQ Newbie
 
Registered: Jul 2005
Location: Italy
Posts: 4

Original Poster
Rep: Reputation: 0
then..

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

eth0 Link encap:Ethernet HWaddr 00:50:BA:6ED: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.
 
Old 07-08-2005, 03:37 AM   #5
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
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
 
Old 07-11-2005, 01:06 PM   #6
v!ruz
LQ Newbie
 
Registered: Dec 2004
Posts: 11

Rep: Reputation: 0
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.

((()))

 
  


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
ADSL How do I get connected? marcp66 Linux - Newbie 2 08-30-2005 08:14 AM
Router ADSL connected but i can't use browser or apt Skie Linux - Networking 4 07-08-2005 03:53 AM
Limit connected items connected to my router andersh3 Linux - Newbie 1 03-16-2004 12:10 PM
connected ..but not getting pages in browser metoome Linux - Networking 2 03-06-2004 12:07 AM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration