Installing 9.1 with Linksys Router
Hi All,
I am relitively new to Linux. This is my second attempt to getting my Linux Box on my network. First was 8.1 and doesn't get support anymore and I just bought it. So I went out and bought 9.1 Pro. During installation, I can't get the internet check to work. I tried an static and DHCP. I have a 3Com network card that's recognized, a Linksys 4-port router w/wireless (2 window machines wired/2 on wireless) and a cable modem. I run a pentium-4 AMD CPU. Anyone willing to talk me through it. My Linux Guru is only familiar with 7.1 and has tried to help but with no luck. I'm a Ham Operator and part of a group who run several Packet BBSs on Linux 7.1 Please email me your phone number and time to call and I'll call you. TNX....Mitch |
Hey - should be possible to sort this throught the forum - in anycase I'm in Europe, so phoning might be complicated.
Just so I undertand - your Linux box is plugged into the router, which itself is attached to a cable modem? Also, I guess your windows boxes are connected to the router via wireless - and are working via dhcp - right? If you confirm all the above, install 9.1 without the Internet update, then it should be fairly easy to do it from there. If the other machines are using dhcp, then set your ethernet card to work by dhcp. Once you have it all set up, post up your ifconfig, and also let us know what what happens when your try and ping something (uk.yahoo.com). Also, try ping one of your windows machines. L |
Yes, one static, one DHCP on wired side and wireless side. Router is connected directly to cable modem.
|
ok. This sounds like your default gateway is not set correctly....if you can ping one of your other machines this would confirm this if it succeeds.
As I suugested, to the install without connecting to the internet, making sure you either use DHCP. Then, once finished, find out the IP address of your router and type this as root: route add default gateway 192.168.x.x(whatever your router is) eth0. Hopefully, that should sort you out. BTW - you do the above in YAST when you run the setup (or indeed afterwards)...just type in the router addess in the default gateway under the routing section. BTw2: Just to be sure, check out what the default gateway address is on your Windows machines |
The default gateway is entered as 192.168.1.1
DNS is added as defined by router. I assigned static IP as 192.168.1.6 I have since given up on Suse 8.1 and 9.0 Installed Redhat 9.0 and still having connection problems. It will connect trough cable modem direct but as soon as I add Linksys WRT54G Router, I can't connect. This is extremely frustrating. Is there anyone I can call to troubleshoot?? |
Cannot ping router (192.168.1.1)
|
may be post up your "ifconfig" and "route"
|
Ive done the route - it repllies that line is already present.
How do I do the ifconfig?? |
I figured out the ifconfig. In the process I've now changed the nic card config to DHCP....Disconnected my router and connected directly to cable modem and it works....Put it pack on the router, changed nothing, did the gateway up and ifconfig and it tells me network is unreachable....
|
You might need to cycle power to the cable modem and or router. The modem might remember the PC's NIC MAC and may not assign an IP address once connected back to the router.
Lets just work on the wired side first: Once power is reapplied to the modem and router configure the PC's with a static IP address. You should be able to connect to the router's configuration web page. If not then make sure your connected to the router correctly and using the correct IP address. If you still can not connect to the router try reconfiguring the router back to the default setup. See manual for details. Once you can access the router you can verify if the WAN side is getting an IP address, DNS etc. If not check the router's configuration setup page for DHCP etc. If the router's WAN side appears to be working then you should be able to configure the PC's gateway as the router. Then add the DNS info from the router's configuration page to the /etc/resolv.conf file to access the internet. |
This problems sounds all too familiar as I have a similar router and cable modem, SUSE Linux 9.1 (upgraded from 8.2), and a PC with both a wireless and static NIC cards in.
It sound like the problem is the communication between the wireless router and the modem. First off you should ensure that your router and cable modem are working with DHCP. You network design must be right i.e. machine connects to wireless router, wireless router to cable/DSL modem. This configuration may require the router being assigned a different IP address to the modem depending on the type of modem. I have a ADSL Modem with router etc and this needs to have a different IP network address to my wireless router which is used in the above configuration. Best use a PC with a known set up that works to ensure that you can connect to the internet e.g. an XP machine that uses DHCP. If this is not working properly installing Linux is just going to be that much harder. When installing SUSE 9.1 for the first time only configure a single NIC, preferably the static line. If your wireless router is configured correctly the machine should connect to the internet with no problem. Do not install the second NIC driver until the first is up and running. The install program should take care of everything else. If you are having problems with the network configuration on your network still. Start by trying to ping the wireless routers IP address. You should know what it is from the manual or from the set up you gave it. If this is OK, try pinging the modem's IP address. If this is unreachable your routing table is incorrect. As root type 'route' you should see something like Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.25.0 * 255.255.255.0 U 0 0 0 eth0 link-local * 255.255.0.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 If the last line is missing then you need to add it using route add default gw 192.168.1.1 <-- replace the IP address with the wireless router's address Then try pinging your modems IP address again. This should work and internet access should be available. |
I don't have a wireless NIC card in the Linux CPU. But routing table did look the same. Network Host is Unreachable....
|
Tnx Guys for your help. I got it working. To make a long story short, it seems I have a malfunicationing nic card. Wouldn't work on the router in windows either. Changed the card and now everything is running fine. Now I can go back to SUSE 9.1 and stay up to date with Linux as I learn. All this work just to put up a simple website so I get to know Linux. Tnx Agn.....Mitch
|
All times are GMT -5. The time now is 12:49 PM. |