Connect Linux box to the Internet via Linksys WRT54G router

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Mar 24 16:14:09 UTC 2005


On Wed, Mar 23, 2005 at 09:13:57PM -0800, Michael Yang wrote:
> Hello all,
>  
> 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.
>  
> [root at localhost michael]# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:20:AF:CC:45:50
>           inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
>           inet6 addr: fe80::220:afff:fecc:4550/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1 errors:16 dropped:0 overruns:0 carrier:1
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 b)  TX bytes:23388 (22.8 Kb)
>           Interrupt:5 Base address:0x220
>  
> 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:3063 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:3063 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:240954 (235.3 Kb)  TX bytes:240954 (235.3 Kb)
>  
> [root at localhost michael]# route -n
> 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
> [root at localhost michael]#
> [root at localhost michael]# ping 192.168.1.1
> PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
> >From 192.168.1.100 icmp_seq=1 Destination Host Unreachable
> >From 192.168.1.100 icmp_seq=2 Destination Host Unreachable
>  
> --- 192.168.1.1 ping statistics ---
> 4 packets transmitted, 0 received, +2 errors, 100% packet loss, time 2999ms
> , pipe 2
> [root at localhost michael]#
> 
> 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?

Does your distribution ship with a firewall and if so is it enabled by
default?

iptables -L should show very little if there is no firewall, and
probably quite a bit if there is one.

The 3c509b is in my experience a great card assuming PCI isn't an
option, but works much better if you run the 3c50x setup program (either
the linux version or the dos version) and configure it for some non
conflicting io and irq and avoid the whole pnp mess.  Maybe your system
works better but mine sure didn't.  Of course 'PnP OS Installed' setting
in bios MUST be OFF on any system not just running an MS OS since it
effectively disables the BIOS PnP initialization for anything other than
diskcontrollers and soundcards.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list