LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux/Windows Network (https://www.linuxquestions.org/questions/linux-newbie-8/linux-windows-network-1139/)

LiquidIce 03-04-2001 03:59 AM

Hey Guys,

This probably should have gone in the network catagory. But i'm still a newbie and there a probably some things that i have done incorrectly. I bascially want to link my linux box to my windows box so that i can share internet connections and other various things. However I'm having problems setting up the network card on the linux machine. I'm running RedHat6.2 and on startup when it tries to determine information for eth0 it tells me operation is failed? Is there a way to test, or probe for a network card? Similar when i try to use traceroute or ping, i get the errors, "Traceroute : Can't find any network interfaces" "Ping : Network is unreachable". Am i supposed to use Samba or something similar to get the network running? Do you need to configure anything on the windows machine?

Thanks in advanced

LiquidIce

KevinJ 03-07-2001 02:49 PM

one step at a time
 
Okay.. there are several things you need to do.. but lets take this one step at a time. You need to get your NIC working in Linux.

As 'root', try /usr/sbin/netconfig and see if that works. What kind of network card do you have?

trickykid 03-07-2001 03:29 PM

What happens if you try ifconfig at the command line?
Does it show eth0 and then a bunch of other stuff afterwards?

Let us know!

LiquidIce 03-07-2001 11:47 PM

Tried ... but failed
 
Thanks for your response. After running netcfg, It said that my interface was not active. After trying to activate it - it was failed because it couldn't determine IP information. I have the following network card :
ALFA GFC2206 32-bit PCI Fast Ethernet.

Suggestions?

LiquidIce

LiquidIce 03-08-2001 01:22 AM

Output
 

[root@spooky /sbin]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

[root@spooky /sbin]# netcfg
Red Hat Linux netcfg 2.22
Copyright (C) 1996, 1997, 1998, 1999, 2000 Red Hat, Inc.
Redistributable under the terms of the GNU General Public License
Determining IP information for eth0...Operation failed.
failed.


KevinJ 03-08-2001 02:15 PM

Try..
 
what about

/usr/sbin/netconfig?

and

/sbin/ifconfig -a ?

LiquidIce 03-09-2001 10:51 PM

Network Card Installed ....
 
Thanks Kevin, running netconfig fixed up the network card. I can now communicate between the computers, how would i go about setting up samba? or something so that i can access the linux box files from windows and vica verca?

Thanks for you help! :)

KevinJ 03-11-2001 12:14 PM

here
 
For Samba, check the documentation that came with your disribution, it should be in /usr/share/doc
or check online at:
http://www.linuxdoc.org/HOWTO/SMB-HOWTO.html

You also have the option of putting an NFS client on your Windows box, or just using FTP to move files back and forth.



All times are GMT -5. The time now is 07:39 PM.