<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Your routing table has a small error. Run the
following 2 commands:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>$ route del 192.168.1.0</FONT></DIV>
<DIV><FONT face=Arial size=2>$ route add 192.168.0.0 mask 255.255.255.0 gw
192.168.1.1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Akshay</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=lr1003-/E1597aS9LQAvxtiuMwx3w@public.gmane.org href="mailto:lr1003-/E1597aS9LQAvxtiuMwx3w@public.gmane.org">Michael Yang</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=tlug-lxSQFCZeNF4@public.gmane.org
href="mailto:tlug-lxSQFCZeNF4@public.gmane.org">tlug-lxSQFCZeNF4@public.gmane.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 24, 2005 10:43
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [TLUG]: Connect Linux box to
the Internet via Linksys WRT54G router</DIV>
<DIV><BR></DIV>
<DIV>Hello all,</DIV>
<DIV> </DIV>
<DIV>Thank you very much to you all for your quick responses. I still have
problems with the Internet connection. I updated the linux version to Mandrake
10.1 today, problem still exists. Below are the status after I manualy
assign eth0 with 192.168.1.100. During startup, i selected dhcp and eth0
can not be brought up. The NIC card is a an old 3Com 509B ISAPNP
card. would this be the cause of the problem? I did a few google search and it
reports the card is supported. I am a little confused.</DIV>
<DIV> </DIV>
<DIV>[root@localhost michael]# ifconfig<BR>eth0
Link encap:Ethernet HWaddr
00:20:AF:CC:45:50<BR>
inet addr:192.168.1.100 Bcast:192.168.1.255
Mask:255.255.255.0<BR>
inet6 addr: fe80::220:afff:fecc:4550/64
Scope:Link<BR> UP
BROADCAST RUNNING MULTICAST MTU:1500
Metric:1<BR> RX
packets:0 errors:0 dropped:0 overruns:0
frame:0<BR> TX packets:1
errors:16 dropped:0 overruns:0
carrier:1<BR>
collisions:0
txqueuelen:1000<BR> RX
bytes:0 (0.0 b) TX bytes:23388 (22.8
Kb)<BR> Interrupt:5 Base
address:0x220</DIV>
<DIV> </DIV>
<DIV>lo Link encap:Local
Loopback<BR> inet
addr:127.0.0.1
Mask:255.0.0.0<BR> inet6
addr: ::1/128
Scope:Host<BR> UP
LOOPBACK RUNNING MTU:16436
Metric:1<BR> RX
packets:3063 errors:0 dropped:0 overruns:0
frame:0<BR> TX
packets:3063 errors:0 dropped:0 overruns:0
carrier:0<BR>
collisions:0
txqueuelen:0<BR> RX
bytes:240954 (235.3 Kb) TX bytes:240954 (235.3 Kb)</DIV>
<DIV> </DIV>
<DIV>[root@localhost michael]# route -n<BR>Kernel IP routing
table<BR>Destination
Gateway
Genmask Flags Metric
Ref Use Iface<BR>192.168.1.0
0.0.0.0
255.255.255.0 U
0 0 0
eth0<BR>0.0.0.0
192.168.1.1
0.0.0.0 UG
0 0 0
eth0<BR>[root@localhost michael]#<BR>[root@localhost michael]# ping
192.168.1.1<BR>PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.<BR>From
192.168.1.100 icmp_seq=1 Destination Host Unreachable<BR>From 192.168.1.100
icmp_seq=2 Destination Host Unreachable</DIV>
<DIV> </DIV>
<DIV>--- 192.168.1.1 ping statistics ---<BR>4 packets transmitted, 0 received,
+2 errors, 100% packet loss, time 2999ms<BR>, pipe 2<BR>[root@localhost
michael]#<BR></DIV>
<DIV>I appreciate all your kind help, should i read something more in-depth.
XP connected to the router in no effort, i was expecting similar exprience
with Linux. Maybe the way they deal wiht the connections are different. Any
recommended reading?</DIV>
<DIV> </DIV>
<DIV>All the best,</DIV>
<DIV> </DIV>
<DIV>Michael<IMG
src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/01.gif"><BR><BR><B><I>Walter
Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw@public.gmane.org></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On
Tue, Mar 22, 2005 at 09:28:57PM -0500, Michael L Yang wrote<BR>> Hello
everyone,<BR>> <BR>> Good day!<BR>> <BR>> I have just purchased
a Linksys WRT54G router for my home network<BR>> (one pc and one windows
laptop). The pc has both WinXP and Redhat<BR>> 7.3 on it. The wired
connection is as below:<BR>> <BR>> <BR>> PC ------------<BR>>
\<BR>> WRT54G router ---- Rogers Cable Modem ------Internet<BR>>
(192.168.1.1)<BR>> /<BR>> Laptop-------<BR>> <BR>> Under windows
XP, both computers can access internet no problem. But<BR>> when I switch
to RH on the PC, the networking is not working at<BR>> all. I can not
even ping the router (192.168.1.1). I have turned on<BR>> dhcp via
'Network Configuration'. I wonder whether some one could<BR>> point me to
the right direction.<BR><BR>Two starting points...<BR>1) In linux, as root,
execute the command...<BR><BR>route -n<BR><BR>What result do you
get?<BR><BR>2) Reboot the PC to Windows, connect to network, and check what
your<BR>network settings show (IP address, gateway, netmask, etc). Write
them<BR>down, and try to duplicate them in linux.<BR><BR>-- <BR>Walter Dnes
<WALTDNES-MsfZ4jVQtpfRnqqr4xx/QQ@public.gmane.org><BR>An infinite number of monkeys pounding away on
keyboards will<BR>eventually produce a report showing that Windows is more
secure,<BR>and has a lower TCO, than linux.<BR>--<BR>The Toronto Linux Users
Group. Meetings: http://tlug.ss.org<BR>TLUG requests: Linux topics, No HTML,
wrap text below 80 columns<BR>How to UNSUBSCRIBE:
http://tlug.ss.org/subscribe.shtml<BR></BLOCKQUOTE>
<P><BR>
<HR SIZE=1>
Post your free ad now! <A href="http://ca.personals.yahoo.com/"><B>Yahoo!
Canada Personals</B></A><BR></BLOCKQUOTE></BODY></HTML>