LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-05-2004, 07:21 AM   #1
Usul38
LQ Newbie
 
Registered: Jun 2004
Location: Lawrence MA
Posts: 8

Rep: Reputation: 0
Angry 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
 
Old 06-05-2004, 08:47 AM   #2
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Rep: Reputation: 30
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
 
Old 06-05-2004, 01:59 PM   #3
Usul38
LQ Newbie
 
Registered: Jun 2004
Location: Lawrence MA
Posts: 8

Original Poster
Rep: Reputation: 0
Yes, one static, one DHCP on wired side and wireless side. Router is connected directly to cable modem.
 
Old 06-05-2004, 02:17 PM   #4
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Rep: Reputation: 30
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

Last edited by lacerto; 06-05-2004 at 02:18 PM.
 
Old 06-07-2004, 07:07 AM   #5
Usul38
LQ Newbie
 
Registered: Jun 2004
Location: Lawrence MA
Posts: 8

Original Poster
Rep: Reputation: 0
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??
 
Old 06-07-2004, 07:09 AM   #6
Usul38
LQ Newbie
 
Registered: Jun 2004
Location: Lawrence MA
Posts: 8

Original Poster
Rep: Reputation: 0
Cannot ping router (192.168.1.1)
 
Old 06-07-2004, 07:46 AM   #7
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Rep: Reputation: 30
may be post up your "ifconfig" and "route"
 
Old 06-07-2004, 08:25 AM   #8
Usul38
LQ Newbie
 
Registered: Jun 2004
Location: Lawrence MA
Posts: 8

Original Poster
Rep: Reputation: 0
Ive done the route - it repllies that line is already present.

How do I do the ifconfig??
 
Old 06-07-2004, 10:49 AM   #9
Usul38
LQ Newbie
 
Registered: Jun 2004
Location: Lawrence MA
Posts: 8

Original Poster
Rep: Reputation: 0
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....
 
Old 06-07-2004, 12:23 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,230

Rep: Reputation: 3461Reputation: 3461Reputation: 3461Reputation: 3461Reputation: 3461Reputation: 3461Reputation: 3461Reputation: 3461Reputation: 3461Reputation: 3461Reputation: 3461
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.

Last edited by michaelk; 06-07-2004 at 12:42 PM.
 
Old 06-07-2004, 05:04 PM   #11
sk2400
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
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.
 
Old 06-08-2004, 11:08 AM   #12
Usul38
LQ Newbie
 
Registered: Jun 2004
Location: Lawrence MA
Posts: 8

Original Poster
Rep: Reputation: 0
I don't have a wireless NIC card in the Linux CPU. But routing table did look the same. Network Host is Unreachable....
 
Old 06-11-2004, 11:12 AM   #13
Usul38
LQ Newbie
 
Registered: Jun 2004
Location: Lawrence MA
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need help with Linksys router. zozoman Linux - Wireless Networking 5 11-26-2005 07:56 AM
Linksys Router Smokey Linux - Hardware 4 07-13-2004 12:11 AM
Need Help W/ Linksys Router Please. cmd Linux - Hardware 1 02-22-2004 09:38 AM
Need Help W/ Linksys Router Please cmd Linux - Wireless Networking 1 02-21-2004 11:46 PM
router problem with linksys router scheiße_comp Linux - Networking 10 08-20-2002 10:18 AM

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

All times are GMT -5. The time now is 05:07 AM.

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