LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   networkdevice inactive (https://www.linuxquestions.org/questions/linux-general-1/networkdevice-inactive-46684/)

cuboctahedron 02-22-2003 03:41 PM

networkdevice inactive
 
Hi,
Am am currently trying to setup a simple network between Linux Redhat8 and WinXP.

After trying some settings (cant recall wich ) my network card status is 'inactive' (eth0). It also cant be activated.'The card was active before, and it's a new card also.

After reading in the forums I tried 'ifconfig etho up'', but nothing hapenned also.

Can anyone help me please?

Kind regards
Patrick

PS when I type ifconfig eth0 I get:
Link encap: Ethernet HWaddr 00:02:44:27:d0:e7
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors: 0 dropped: 0 overruns:0 carrier:0
collissions:0 txqueeulen:100
RX bytes:7792 (7.6 Kb) TX bytes:4446 (4.3 kb)
Interupt:11 Base address:x5000

Mara 02-22-2003 03:46 PM

Try
ifconfig eth0 youriphere
Can be
ifconfig eth0 192.168.1.2

cuboctahedron 02-22-2003 03:54 PM

It worked !!!, using the redhat GUI network Configuration however crashes when I want to activate it there.

Thanx.

PS If I want to make a connection to y winxp box, how can I set up the linux computer to be a DHCP server?, or would this question be out of scope

Mara 02-22-2003 04:04 PM

When you want to connect two machines, you don't need DHCP (it's a good idea in large networks). Just use two static IPs: 192.168.1.2 and 192.168.1.3, for example.

cuboctahedron 02-22-2003 04:08 PM

I tried that:
My winXP has 192.168.0.2 and redhat has 192.168.0.1
The problem is I can only ping FROM the winxp to redhat, if I ping on linux to my winxp ip I get 100% loss.

Also when I reboot the systeem, I get a failed messages saying it could obtain an ip address

Any idea?

Mara 02-23-2003 03:18 AM

Quote:

Originally posted by cuboctahedron
I
Also when I reboot the systeem, I get a failed messages saying it could obtain an ip address

The machine has DHCP on. Browse the configuration and turn it off.


All times are GMT -5. The time now is 08:22 PM.