LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 02: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 02:49 AM.
 
Old 07-07-2005, 06: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, 06: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, 02: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, 02: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, 12: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



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

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

All times are GMT -5. The time now is 08:30 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