LinuxQuestions.org
Review your favorite Linux distribution.
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 07-09-2004, 02:13 PM   #1
vanhelsing
Member
 
Registered: May 2004
Posts: 130

Rep: Reputation: 15
How to set up LAN between two computer


Hello everybody!!!

I want to set up Lan between Two computers, me and my friends

I'm using linux Redhat 9.0
my friend 's using fedoro core2

I have two ethernal card for me and my friends

pls,Tell me how to set up it step by step, becoz I'm very newbie about it
 
Old 07-09-2004, 03:18 PM   #2
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Wow. Ok, first you will need to install the Network Cards (Ethernet Cards) (NICs) in the comptuer systems.

Did you do any research ahead of time to ensure the NICs you have are supported under Linux? If not, no worries... Linux is supporting more and more cards every day so you could be lucky and they will just work.

Next, since you are running Redhat (or a variant there of) and you seem rather new to networking we'll use the graphical interfce to configure your network.

Ad a command prompt (with root privlage) type:
redhat-config-network

OR

Click on the Red Fedora Hat and trace to System Settings then to Network.

Click on Eth0 then choose Edit.

Chose "Statically set IP address" on each machine.

One one machine set the IP info to:

IP Address: 192.168.1.1
Subnet Mask: 255.255.255.0

One the second machine change the IP address to:

IP Address:
 
Old 07-09-2004, 03:18 PM   #3
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
The basics....

Wow. Ok, first you will need to install the Network Cards (Ethernet Cards) (NICs) in the comptuer systems.

Did you do any research ahead of time to ensure the NICs you have are supported under Linux? If not, no worries... Linux is supporting more and more cards every day so you could be lucky and they will just work.

Next, since you are running Redhat (or a variant there of) and you seem rather new to networking we'll use the graphical interfce to configure your network.

Ad a command prompt (with root privlage) type:
redhat-config-network

OR

Click on the Red Fedora Hat and trace to System Settings then to Network.

Click on Eth0 then choose Edit.

Chose "Statically set IP address" on each machine.

One one machine set the IP info to:

IP Address: 192.168.1.1
Subnet Mask: 255.255.255.0

One the second machine change the IP address to:

IP Address: 192.168.1.2

Now save your changes on each machine.

Next you'll need to physically connecte each machine. You can do that by hooking both of them to a switch/hub or by using a crossover cable.

CONGRATS! You now have a LAN!

I know you'll have questions, so feel free to post back and I'll do my best to answer them.

Cheers!

MrKnisely

Last edited by charon79m; 07-09-2004 at 03:20 PM.
 
Old 07-10-2004, 04:07 AM   #4
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
and definity to establish LAN b/w two system don't need a hub only you need a crossover cable.
 
Old 07-10-2004, 12:49 PM   #5
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 18.04
Posts: 1,839

Rep: Reputation: 67
Get yourself the NFS Howto from www.tldp.org
I just got my gateway going, after a long hard struggle, so ask me if you have problems, I'll help if I can
 
Old 07-11-2004, 11:58 AM   #6
vanhelsing
Member
 
Registered: May 2004
Posts: 130

Original Poster
Rep: Reputation: 15
I face with first broblem, "install driver"
I use LAN card "SMC1255TX"

my kernel is 2.4.20-8, on an i686

This is my manual that give me in driver CD, I copy it ------>

FOR LINUX KERNEL 2.4
======================

The readme file contains the following information for SMC EZ
Card 10/100 (SMC1255TX) adapter Linux driver installation.

A. Rebuild the SMC1255TX Linux driver

B. Driver installation


A. Rebuild the SMC1255TX Linux driver
======================================

1. Copy the source code directory to a temporary directory, for example /tmp,

#cp -r tulip /tmp

2. Rebuild the driver using the following command,

#cd /tmp/tulip

#make

Now, you have the new driver object code in the /tmp/tulip directory.
You can go to section B, to install the new driver.

and This is all my work and my broblem ------------------->

[root@localhost /]# cd /mnt/cdrom
[root@localhost cdrom]# ls
Adobe Acrobat LINUX NDIS2 RELEASE.htm snmp WIN98
Autorun.inf MAC NETWARE RELEASE.TXT UW7 Winetool
DIAG Manual PKTDRV SCO5 vlans WINme2kxp
EtherGuard MSLANMAN.DOS README.htm SMC1255TX.exe WIN95 WINNT
LANDRV32 MSLANMAN.OS2 README.TXT smc.exe WIN95SR2
[root@localhost cdrom]# cd LI*
[root@localhost LINUX]# ls
2.2 2.4
[root@localhost LINUX]# cd 2.4
[root@localhost 2.4]# ls
README.TXT TULIP
[root@localhost 2.4]# cp -r TULIP /tmp
[root@localhost 2.4]# cd /tmp
[root@localhost tmp]# ls
7izsyr8l.rpm mcop-root ssh-XXgGzSJ2 ssh-XXUWztVH
gaim_root.6049 orbit-root ssh-XXj4czwo ssh-XXVBhSF0
immdrjcj.rpm qt33-whitepaper-a4.pdf ssh-XXjnG9L2 ssh-XXWZhEXj
kde-root ssh-XX4lsUen ssh-XXlS5Xhs TULIP
ksocket-root ssh-XXEbJBc8 ssh-XXr7AdBG
[root@localhost tmp]# cd TU*
[root@localhost TULIP]# ls
21142.C interrupt.c MEDIA.C TIMER.C TULIP.H
EEPROM.C Makefile PNIC.C tulip_core.c
[root@localhost TULIP]# make
g++ -c -o 21142.o 21142.C
21142.C:16:19: tulip.h: No such file or directory
In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/delay.h:12,
from 21142.C:18:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from /usr/include/linux/delay.h:12,
from 21142.C:18:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not avail
able on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in users
pace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from /usr/include/linux/delay.h:12,
from 21142.C:18:
/usr/include/asm/signal.h:107: 'sigset_t' is used as a type, but is not defined
as a type.
In file included from /usr/include/linux/sched.h:81,
from /usr/include/linux/delay.h:12,
from 21142.C:18:
/usr/include/linux/timer.h:32: field `vec' has incomplete type
/usr/include/linux/timer.h:37: field `vec' has incomplete type
/usr/include/linux/timer.h:45: 'spinlock_t' is used as a type, but is not
defined as a type.
/usr/include/linux/timer.h:63: field `list' has incomplete type
/usr/include/linux/timer.h: In function `void init_timer(timer_t*)':
/usr/include/linux/timer.h:105: `struct timer_list' has no member named `list'
/usr/include/linux/timer.h:105: `struct timer_list' has no member named `list'
/usr/include/linux/timer.h: In function `int timer_pending(const timer_t*)':
/usr/include/linux/timer.h:121: `struct timer_list' has no member named `list'
In file included from 21142.C:18:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
21142.C: At global scope:
21142.C:21: syntax error before `[' token
21142.C:22: parse error before `[' token
21142.C:23: syntax error before `[' token
21142.C: In function `void t21142_timer(long unsigned int)':
21142.C:31: invalid use of undefined type `struct net_device'
21142.C:30: forward declaration of `struct net_device'
21142.C:32: invalid use of undefined type `struct net_device'
21142.C:30: forward declaration of `struct net_device'
21142.C:33: `CSR12' undeclared (first use this function)
21142.C:33: (Each undeclared identifier is reported only once for each function
it appears in.)
21142.C:33: `inl' undeclared (first use this function)
21142.C:37: `tulip_debug' undeclared (first use this function)
21142.C:38: `KERN_INFO' undeclared (first use this function)
21142.C:38: parse error before string constant
21142.C:40: `tulip_media_cap' undeclared (first use this function)
21142.C:40: invalid use of undefined type `struct net_device'
21142.C:30: forward declaration of `struct net_device'
21142.C:40: `MediaIsMII' undeclared (first use this function)
21142.C:41: `tulip_check_duplex' undeclared (first use this function)
21142.C:43: invalid use of undefined type `struct tulip_private'
21142.C:31: forward declaration of `struct tulip_private'
21142.C:46: parse error before string constant
21142.C:48: invalid use of undefined type `struct tulip_private'
21142.C:31: forward declaration of `struct tulip_private'
21142.C:50: invalid use of undefined type `struct net_device'
21142.C:30: forward declaration of `struct net_device'
21142.C:53: parse error before string constant
21142.C:55: `t21142_start_nway' undeclared (first use this function)
21142.C:61: parse error before string constant
21142.C:65: invalid use of undefined type `struct net_device'
21142.C:30: forward declaration of `struct net_device'
21142.C:66: `CSR13' undeclared (first use this function)
21142.C:66: `outl' undeclared (first use this function)
21142.C:67: `CSR14' undeclared (first use this function)
21142.C:68: `t21142_csr15' undeclared (first use this function)
21142.C:68: invalid use of undefined type `struct net_device'
21142.C:30: forward declaration of `struct net_device'
21142.C:68: `CSR15' undeclared (first use this function)
21142.C:68: `outw' undeclared (first use this function)
21142.C:69: `t21142_csr13' undeclared (first use this function)
21142.C:69: invalid use of undefined type `struct net_device'
21142.C:30: forward declaration of `struct net_device'
21142.C:73: invalid use of undefined type `struct net_device'
21142.C:30: forward declaration of `struct net_device'
21142.C:80: parse error before string constant
21142.C:82: invalid use of undefined type `struct tulip_private'
21142.C:31: forward declaration of `struct tulip_private'
21142.C:83: invalid use of undefined type `struct tulip_private'
21142.C:31: forward declaration of `struct tulip_private'
21142.C:84: invalid use of undefined type `struct tulip_private'
21142.C:31: forward declaration of `struct tulip_private'
21142.C:86: invalid use of undefined type `struct tulip_private'
21142.C:31: forward declaration of `struct tulip_private'
21142.C:86: `tulip_restart_rxtx' undeclared (first use this function)
21142.C:94: invalid use of undefined type `struct tulip_private'
21142.C:31: forward declaration of `struct tulip_private'
21142.C:94: `RUN_AT' undeclared (first use this function)
21142.C: In function `void t21142_start_nway(net_device*)':
21142.C:99: `void t21142_start_nway(net_device*)' used prior to declaration
21142.C:100: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:101: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:102: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:103: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:105: `DPRINTK' undeclared (first use this function)
21142.C:107: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:108: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:108: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:109: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:109: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:111: `KERN_DEBUG' undeclared (first use this function)
21142.C:111: parse error before string constant
21142.C:114: `udelay' undeclared (first use this function)
21142.C:116: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:116: `PNIC2' undeclared (first use this function)
21142.C:117: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:117: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:119: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:119: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:120: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:120: `CSR6' undeclared (first use this function)
21142.C:120: `tulip_outl_csr' undeclared (first use this function)
21142.C:121: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:121: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:122: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C:123: invalid use of undefined type `struct tulip_private'
21142.C:100: forward declaration of `struct tulip_private'
21142.C: In function `void t21142_lnk_change(net_device*, int)':
21142.C:132: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:133: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:137: parse error before string constant
21142.C:141: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:141: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:143: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:144: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:145: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:146: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:147: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:148: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:149: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:151: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:152: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:153: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:155: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:155: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:155: `MediaAlwaysFD' undeclared (first use this function)
21142.C:158: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:159: parse error before string constant
21142.C:169: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:171: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:172: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:172: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:173: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:174: `tulip_select_media' undeclared (first use this function)
21142.C:180: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:180: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:181: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:182: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:191: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:191: `csr6_st' undeclared (first use this function)
21142.C:191: `csr6_sr' undeclared (first use this function)
21142.C:193: parse error before string constant
21142.C:196: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:197: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:197: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:199: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:199: `TPLnkFail' undeclared (first use this function)
21142.C:201: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:203: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:204: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:205: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:205: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:207: parse error before string constant
21142.C:210: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:211: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:213: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:214: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:216: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:216: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:218: parse error before string constant
21142.C:222: parse error before string constant
21142.C:224: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:225: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:227: parse error before string constant
21142.C:231: parse error before string constant
21142.C:233: invalid use of undefined type `struct net_device'
21142.C:98: forward declaration of `struct net_device'
21142.C:234: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
21142.C:237: invalid use of undefined type `struct tulip_private'
21142.C:132: forward declaration of `struct tulip_private'
make: *** [21142.o] Error 1
[root@localhost TULIP]#

Tell me , Why does it have error?
 
Old 07-12-2004, 01:41 PM   #7
vanhelsing
Member
 
Registered: May 2004
Posts: 130

Original Poster
Rep: Reputation: 15
:confuse:
 
Old 07-13-2004, 07:15 PM   #8
Motown
Member
 
Registered: Dec 2003
Location: land of oz
Distribution: centos
Posts: 104

Rep: Reputation: 15
Well, I'm not exactly sure, but that seems like way too much work. Red Hat is pretty top shelf stuff when it comes to drivers. Have you tried using a graphical utility to configure stuff? Go to the command line and type: neat. That starts redhat network administration utility. See if you can get your card configured in there. If you can, then it's a simple matter of typing: network start.
After that, if you want to assign names to your pc's instead of using bland ip addresses, edit your /etc/hosts file. If your friend is 192.168.0.1, then type something like this:

#(ip address) (fully qualified domain name) (host name)
192.168.0.1 motown.linux.net motown

... so now instead of pinging 192.168.0.1 to see if you can connect, now you can ping motown.linux.net.
 
Old 07-14-2004, 10:02 AM   #9
vanhelsing
Member
 
Registered: May 2004
Posts: 130

Original Poster
Rep: Reputation: 15
[root@localhost root]# lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:04.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:09.0 Multimedia audio controller: Creative Labs ES1371
00:0a.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
00:0b.0 Ethernet controller: Accton Technology Corporation EN-1216 Ethernet Adapter (rev 11)
01:00.0 VGA compatible controller: nVidia Corporation NV4 [RIVA TNT] (rev 04)
[root@localhost root]#

Does it mean my linux can probe my Lan card ??

when I use command : ifconfig

[root@localhost root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 b) TX bytes:700 (700.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:203.209.49.143 P-t-P:203.148.136.35 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1514 Metric:1
RX packets:4083 errors:0 dropped:0 overruns:0 frame:0
TX packets:4369 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2551341 (2.4 Mb) TX bytes:568278 (554.9 Kb)

[root@localhost root]#

What does it mean ?

and so ...
[root@localhost root]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
203.148.136.35 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 203.148.136.35 0.0.0.0 UG 0 0 0 ppp0


and so

[root@localhost root]# ifconfig eth0 up
eth0: unknown interface: No such device

and so
[root@localhost root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
[root@localhost root]#

and so

[root@localhost root]# ifconfig eth0 up
eth0: unknown interface: No such device
[root@localhost root]#

pls, tell me how to further ?
 
Old 07-14-2004, 10:07 AM   #10
vanhelsing
Member
 
Registered: May 2004
Posts: 130

Original Poster
Rep: Reputation: 15
my further information, that I think it may be helpfull

[root@localhost root]# service network restart
Shutting down loopback interface: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
[root@localhost root]#
 
Old 07-14-2004, 11:26 AM   #11
Motown
Member
 
Registered: Dec 2003
Location: land of oz
Distribution: centos
Posts: 104

Rep: Reputation: 15
Hm... okay. First, try this. Can you ping yourself? ifconfig is telling you that your loopback interface is configured. So, you should be able to ping 127.0.0.1 and get a reply. Which means that your ethernet card is working. Beyond that, I'm pretty confused. However, I did notice that your card is set up to use dhcp. You should probably set that to use static addressing. give yourself one of the addresses described earlier (not 127.0.0.1)

anyone else care to give it a shot?
 
Old 07-14-2004, 11:45 AM   #12
vanhelsing
Member
 
Registered: May 2004
Posts: 130

Original Poster
Rep: Reputation: 15
I already follow yr reply
and This is my result,pls tell me again, What does it meaning?

[root@localhost root]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.093 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.066 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=0.066 ms
64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=0.071 ms
64 bytes from 127.0.0.1: icmp_seq=10 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=11 ttl=64 time=0.071 ms
64 bytes from 127.0.0.1: icmp_seq=12 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=13 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=14 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=15 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=16 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=17 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=18 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=19 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=20 ttl=64 time=0.071 ms
64 bytes from 127.0.0.1: icmp_seq=21 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=22 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=23 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=24 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=25 ttl=64 time=0.078 ms
64 bytes from 127.0.0.1: icmp_seq=26 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=27 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=28 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=29 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=30 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=31 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=32 ttl=64 time=0.078 ms
64 bytes from 127.0.0.1: icmp_seq=33 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=34 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=35 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=36 ttl=64 time=0.071 ms
64 bytes from 127.0.0.1: icmp_seq=37 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=38 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=39 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=40 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=41 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=42 ttl=64 time=0.076 ms
64 bytes from 127.0.0.1: icmp_seq=43 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=44 ttl=64 time=0.071 ms
64 bytes from 127.0.0.1: icmp_seq=45 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=46 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=47 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=48 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=49 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=50 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=51 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=52 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=53 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=54 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=55 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=56 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=57 ttl=64 time=0.076 ms
64 bytes from 127.0.0.1: icmp_seq=58 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=59 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=60 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=61 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=62 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=63 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=64 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=65 ttl=64 time=0.076 ms
64 bytes from 127.0.0.1: icmp_seq=66 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=67 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=68 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=69 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=70 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=71 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=72 ttl=64 time=0.076 ms
64 bytes from 127.0.0.1: icmp_seq=73 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=74 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=75 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=76 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=77 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=78 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=79 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=80 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=81 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=82 ttl=64 time=0.078 ms
64 bytes from 127.0.0.1: icmp_seq=83 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=84 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=85 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=86 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=87 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=88 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=89 ttl=64 time=0.076 ms
64 bytes from 127.0.0.1: icmp_seq=90 ttl=64 time=0.076 ms
64 bytes from 127.0.0.1: icmp_seq=91 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=92 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=93 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=94 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=95 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=96 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=97 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=98 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=99 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=100 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=101 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=102 ttl=64 time=0.071 ms
64 bytes from 127.0.0.1: icmp_seq=103 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=104 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=105 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=106 ttl=64 time=0.076 ms
64 bytes from 127.0.0.1: icmp_seq=107 ttl=64 time=0.076 ms
64 bytes from 127.0.0.1: icmp_seq=108 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=109 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=110 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=111 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=112 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=113 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=114 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=115 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=116 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=117 ttl=64 time=0.076 ms
64 bytes from 127.0.0.1: icmp_seq=118 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=119 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=120 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=121 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=122 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=123 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=124 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=125 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=126 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=127 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=128 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=129 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=130 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=131 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=132 ttl=64 time=0.077 ms
64 bytes from 127.0.0.1: icmp_seq=133 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=134 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=135 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=136 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=137 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=138 ttl=64 time=0.074 ms
64 bytes from 127.0.0.1: icmp_seq=139 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=140 ttl=64 time=0.071 ms
64 bytes from 127.0.0.1: icmp_seq=141 ttl=64 time=0.082 ms
64 bytes from 127.0.0.1: icmp_seq=142 ttl=64 time=0.071 ms
64 bytes from 127.0.0.1: icmp_seq=143 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=144 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=145 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=146 ttl=64 time=0.067 ms
64 bytes from 127.0.0.1: icmp_seq=147 ttl=64 time=0.060 ms
64 bytes from 127.0.0.1: icmp_seq=148 ttl=64 time=0.071 ms
64 bytes from 127.0.0.1: icmp_seq=149 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=150 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=151 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=152 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=153 ttl=64 time=0.067 ms
64 bytes from 127.0.0.1: icmp_seq=154 ttl=64 time=0.067 ms
64 bytes from 127.0.0.1: icmp_seq=155 ttl=64 time=0.065 ms
64 bytes from 127.0.0.1: icmp_seq=156 ttl=64 time=0.067 ms
64 bytes from 127.0.0.1: icmp_seq=157 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=158 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=159 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=160 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=161 ttl=64 time=0.065 ms
64 bytes from 127.0.0.1: icmp_seq=162 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=163 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=164 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=165 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=166 ttl=64 time=0.065 ms
64 bytes from 127.0.0.1: icmp_seq=167 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=168 ttl=64 time=0.067 ms
64 bytes from 127.0.0.1: icmp_seq=169 ttl=64 time=0.071 ms
64 bytes from 127.0.0.1: icmp_seq=170 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=171 ttl=64 time=0.067 ms
64 bytes from 127.0.0.1: icmp_seq=172 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=173 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=174 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=175 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=176 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=177 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=178 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=179 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=180 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=181 ttl=64 time=0.075 ms
64 bytes from 127.0.0.1: icmp_seq=182 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=183 ttl=64 time=0.072 ms
64 bytes from 127.0.0.1: icmp_seq=184 ttl=64 time=0.073 ms

--- 127.0.0.1 ping statistics ---
184 packets transmitted, 184 received, 0% packet loss, time 184118ms
rtt min/avg/max/mdev = 0.060/0.072/0.093/0.008 ms
[root@localhost root]#

and pls, tell, how to do further?

I can't follow the ealier reply becoz when I use commmand "redhat-config-network"

I can't find any hardware that can activate

regards
 
Old 07-14-2004, 12:22 PM   #13
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
try :
modprobe tulip
before configure network

[edit]
And ping 127.0.0.1 will always work, it is a loopback device, do not flood the thread with ping 127.0.0.1 please.

Last edited by keefaz; 07-14-2004 at 12:24 PM.
 
Old 07-15-2004, 06:14 AM   #14
vanhelsing
Member
 
Registered: May 2004
Posts: 130

Original Poster
Rep: Reputation: 15
[root@localhost root]# modprobe tulip
[root@localhost root]#

I can't install Tulip driver becoz I can't compile it
so I give detail all, I 'm not sure whether my redhat can install lan driver ..

pls, Tell me whether my redhat can install lan driver that I give the details
If it can't install driver,pls tell How to compile Tulip driver that I give it error earlier
or If it already install driver ,pls tell How to test it? and How to config it for two computer network.

pls,pls read all my detail that I give all my work and my ploblem before post reply that will give the best answer for me

I'm very appreciate all post reply
_ _
 
Old 07-16-2004, 10:47 AM   #15
vanhelsing
Member
 
Registered: May 2004
Posts: 130

Original Poster
Rep: Reputation: 15
Hey hey !!
 
  


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
connecting to a computer in a Lan from outside Tinku Linux - Networking 7 06-03-2005 01:51 PM
Beginner LAN - computer name instead of IP LancerNZ Linux - Networking 6 02-28-2005 10:04 PM
I can't share my computer on LAN thuongkiet82 Linux - Networking 2 05-20-2004 07:06 AM
Wake up computer on LAN Linh Linux - Networking 2 06-15-2003 05:33 PM
How can I get access to a computer on my LAN? teeno Linux - Networking 5 07-17-2001 07:44 AM

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

All times are GMT -5. The time now is 12:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration