Re: DNS problem with Linksys router



Andrew Duncan 提到:
I have debian linux on my laptop and connect to the outside world using a
linksys adsl2mue modem and wrt54gs router.
I'm having some problem with connections: due mainly to gross ignorance,
and any help anyone can give would be much appreciated.

Everything works when the laptop is
running windows xp, but I don't usually want to do that.

Running linux I can ping succesfully but many other programs, ssh, scp,
mozilla, netscape, will not work
unless I find a specific ip number (using ping) and then
use that instead of a domain name. I've tried editing
resolv.conf, but so far to no effect.

ifconfig returns the following:
%%%%%%%%%%%%%%%%%%%%%%%%%%%
eth0 Link encap:Ethernet HWaddr 00:11:43:CC:7F:78
inet6 addr: fe80::211:43ff:fecc:7f78/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11

eth1 Link encap:UNSPEC HWaddr
00-11-43-80-00-CC-7F-78-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

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:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:840 (840.0 b) TX bytes:840 (840.0 b)

sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::127.0.0.1/96 Scope:Unknown
inet6 addr: ::192.168.2.3/96 Scope:Compat
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wlan0 Link encap:Ethernet HWaddr 00:0E:35:A5:1A:2C
inet addr:192.168.2.3 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::20e:35ff:fea5:1a2c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:69 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:3669 (3.5 KiB) TX bytes:2550 (2.4 KiB)
Interrupt:5 Base address:0x5000 Memory:e0210000-e0210fff

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Under windows xp ipconfig /all gives
%%%%%%%%%%%%%%%%%%%%%%%
Windows IP Configuration





Host Name . . . . . . . . . . . . : SNITCH


Primary Dns Suffix . . . . . . . :


Node Type . . . . . . . . . . . . : Broadcast


IP Routing Enabled. . . . . . . . : No


WINS Proxy Enabled. . . . . . . . : No





Ethernet adapter Wireless Network Connection:





Connection-specific DNS Suffix . :


Description . . . . . . . . . . . : Intel(R) PRO/Wireless 2200BG
Network Connection


Physical Address. . . . . . . . . : 00-0E-35-A5-1A-2C


Dhcp Enabled. . . . . . . . . . . : Yes


Autoconfiguration Enabled . . . . : Yes


IP Address. . . . . . . . . . . . : 192.168.2.3


Subnet Mask . . . . . . . . . . . : 255.255.255.0


Default Gateway . . . . . . . . . : 192.168.2.1


DHCP Server . . . . . . . . . . . : 192.168.2.1


DNS Servers . . . . . . . . . . . : 192.168.1.1


Lease Obtained. . . . . . . . . . : 28 March 2006 12:44:07


Lease Expires . . . . . . . . . . : 29 March 2006 12:44:07




Show what is you default gateway when running Linux? Show the content of
your resolve.conf.


Ethernet adapter Local Area Connection:





Media State . . . . . . . . . . . : Media disconnected


Description . . . . . . . . . . . : Broadcom 570x Gigabit Integrated
Controller


Physical Address. . . . . . . . . : 00-11-43-CC-7F-78




.



Relevant Pages

  • Re: Good wireless signal - but browser cannot find it?
    ... But his browser cannot find any connection and displays the error page ... to just plugging things in and letting Windows do all the rest! ... Right-click the wireless network connection, ... ping resolver1.opendns.com ...
    (microsoft.public.windowsxp.network_web)
  • Re: Good wireless signal - but browser cannot find it?
    ... But his browser cannot find any connection and displays the error page ... to just plugging things in and letting Windows do all the rest! ... Right-click the wireless network connection, ... ping resolver1.opendns.com ...
    (microsoft.public.windowsxp.network_web)
  • RE: VPN connection stops responding
    ... Is this a Windows XP or Windows Vista client? ... Does this issue occur when VPN with another user account? ... what steps you would perform to make VPN connection work again? ... As you mentioned, user can VPN to Server, it indicates network connection to Server is working. ...
    (microsoft.public.windows.server.sbs)
  • Re: Windows Update
    ... Windows Server 2003, for Windows XP, and for Windows 2000 ... You may need to reduce the MTU ... size of a PPPoE connection to a value of between 1,400 and 1,480 ... for a network connection, double-click the network connection icon, ...
    (microsoft.public.windows.server.sbs)
  • Re: network win 2000 & win xp home
    ... which i want to connect to a windows xp home machine. ... Ethernet adapter local area network connection 2:- ...
    (microsoft.public.win2000.networking)