LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-03-2003, 03:57 AM   #1
Player2
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Rep: Reputation: 0
via router into the internet


I have a Netgear FA 310TX networkcard and a Longshine LCS-883R-DSL-4F Router to surf in the internet. My Linux distro is SUSE 8.2 Personal.
The networkcard is installed correctly, but i cant get into the internet. I cant ping my router. Could you tell me please the correct settigs for my router. The ip of the router is 192.168.1.1
 
Old 10-03-2003, 04:11 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
If you can't ping the router then it's probably a bad cable. Check for a link light on both the router and the NIC. Make sure you have a patch cable between them and not a crossover cable.

Try pushing the reset button on the router while they are connected or power switch.

Last edited by /bin/bash; 10-03-2003 at 04:12 AM.
 
Old 10-03-2003, 05:10 AM   #3
Player2
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
I checked this already. I can ping the router in windows.
 
Old 10-03-2003, 10:00 AM   #4
mylo2003
Member
 
Registered: Jul 2003
Posts: 113

Rep: Reputation: 15
Does your linux box get or have an IP address?
You can find this out by typing in the ifconfig command.
 
Old 10-03-2003, 01:29 PM   #5
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
The first thing you have to do is setup the correct driver for your NIC card. Put a line in /etc/modules.conf like this:
alias eth0 <driver>
Replace <driver> with your nic driver. Then type modprobe <driver>.


Now put in /etc/sysconfig/network

HOSTNAME=your-hostname
NETWORKING=yes
GATEWAY=192.168.1.1
GATEWAYDEV=eth0

Put in /etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO=static
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes

Now run service network restart and see if things are better. You may need to change the line BOOTPROTO to dhcp. If you do that then remove the IP address for that card also.
 
  


Reply



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
No internet with router DaBlade Linux - Hardware 3 06-26-2005 06:30 PM
cannot get to internet thru router pegan Linux - Networking 16 02-03-2005 10:22 AM
Internet and Router Troubles... beebs Linux - Networking 1 09-08-2004 11:01 AM
Cant use internet without use of router OrangeLefty Linux - Networking 5 03-27-2004 03:26 PM
Internet Router johnnyqway Linux - Networking 1 08-03-2003 11:42 AM

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

All times are GMT -5. The time now is 01:11 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