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 05-14-2005, 09:47 PM   #1
tidasu
Member
 
Registered: Aug 2004
Location: Bruges - Belgium
Distribution: Mandrake 10.0
Posts: 45

Rep: Reputation: 15
Noob- home networking


Hello,

I recently bought a very low end server via ebay.
(200 mhz, 128 mb ram, ... such a thing)
I want to use it as print server.
I got the whole thing up and running (finaly) with RedHat enterprise 7.1
The server has got 3 network cards: eth0, tr0 and tr1.

I drew a little scheme on how the home network is setup atm.
http://www.natural-solution.org/network.gif

My current problem is that when I do
Code:
/etc/init.d/network
reload I get this:
Code:
Bringing up device eth0: Determing IP information for eth0...Operation failed
  failed
                  [FAILED]
Bringing up device tr0: Determing IP information for tr0...Operation failed
  failed
                  [FAILED]
Bringing up device tr1: Determing IP information for tr1...Operation failed
  failed
                  [FAILED]


I have got zero networking, and zero internet on my server.
Please tell me all you need to know so you can explain me what to do.
I am going to learn these things when I get out of highschool, so I don't know em yet.
Please help.


Greetz
 
Old 05-14-2005, 10:37 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
it looks like you didn't configure the adapters or they cant find a dhcp server. could you do a ifconfig and post the output
 
Old 05-14-2005, 10:50 PM   #3
tidasu
Member
 
Registered: Aug 2004
Location: Bruges - Belgium
Distribution: Mandrake 10.0
Posts: 45

Original Poster
Rep: Reputation: 15
Code:
[root@remi /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:54 errors:0 dropped:0 overruns:0 frame:0
                    TX packets:54 errors:0 dropped:0 overruns:0 frame:0
                    Collisions:0 txqueuelen:0
This is what I get
I know, it is the localhost.
It's all I'm getting

Upon entering ifconfig eth0 I get this:
Code:
[root@remi /root]# ifconfig eth0
eth0             Link encap:Ethernet HWaddr 00:00:00:00:00:00
                    BROADCAST NOTRAILERS MTU:1500 Metric:1
                    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                    TX packets:0 errors:0 dropped:0 overruns:0 frame:0
                    Collisions:0 txqueuelen:100
                    Interrupt:9 Base address:0x9200
Upon entering ifconfig tr0 I get this:
Code:
[root@remi /root]# ifconfig tr0
tr0               Link encap:16/4 Mbps Token Ring (New) HWaddr 00:04:AC:EC:E3:8A
                    BROADCAST MULTICAST MTU:4056 Metric:1
                    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                    TX packets:0 errors:0 dropped:0 overruns:0 frame:0
                    Collisions:0 txqueuelen:100
                    Interrupt:15 Base address:0xa100
Upon entering ifconfig tr1 I get this:
Code:
[root@remi /root]# ifconfig tr1
tr1               Link encap:16/4 Mbps Token Ring (New) HWaddr 00:04:AC:EC:E3:7E
                    BROADCAST MULTICAST MTU:4056 Metric:1
                    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                    TX packets:0 errors:0 dropped:0 overruns:0 frame:0
                    Collisions:0 txqueuelen:100
                    Interrupt:11 Base address:0xa000
I hope you can help
 
Old 05-15-2005, 11:14 AM   #4
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
it looks like the network devices were never configured the easiest way to do that is probably with the redhad configuration utility, but I don't use redhat so I couldn't even tell you what it is. Are you using dhcp or manual ip? if you have a /etc/conf.d/net file you can edit it by hand like:

(For DHCP)
iface_eth0="dhcp"

(For static IP)
iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
gateway="eth0/192.168.0.1"
 
Old 05-15-2005, 12:16 PM   #5
tidasu
Member
 
Registered: Aug 2004
Location: Bruges - Belgium
Distribution: Mandrake 10.0
Posts: 45

Original Poster
Rep: Reputation: 15
I have worked in the network configurator of linux before to test...

Currently it looks like this:
Interface | IP | proto | atboot | Active
--------------------------------------------------------------------------------
lo | 127.0.0.1 | none | yes | active
eth0 | 10.0.0.30 | dhcp | yes | inactive
| | none | no | active
eth0.OLD | | dhcp | yes | inactive
tr0 | 10.0.0.31 | dhcp | yes | inactive
tr1 | 10.0.0.32 | dhcp | yes | inactive

When I activate eth0, the next time I boot the network configurator, it's deactivated again.
I have added the IP of eth0, tr1 and tr2 becasue they were IP-less. I thought it might help ...

the ip of the router is 10.0.0.2
so other IP's are following up, I don't think I have an 192.168.0.1 atm.
However, I have another router here.
Would it help placing it bitween the splitter and the server?
It has a dhcp on it ...
 
Old 05-15-2005, 12:33 PM   #6
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
192.168.0.1 was just an example. you should use your router ip here. is the router a dhcp server?
 
Old 05-15-2005, 12:55 PM   #7
tidasu
Member
 
Registered: Aug 2004
Location: Bruges - Belgium
Distribution: Mandrake 10.0
Posts: 45

Original Poster
Rep: Reputation: 15
I think so.
Lets see

Code:
Number of ethernet devices connected to the DHCP server: 2   
 IP Address	MAC Address
1	10.0.0.12	00:11:D8:53:43:11	
2	10.0.0.9	00:0C:6E:62:65:9A
I also have this in my router:
Code:
LAN Configuration 

IP Address: 10.0.0.2	
Subnet Mask: 255.0.0.0
	 	
 DHCP Server	X 	

DHCP address pool selection:
	X  System Allocated 	
	 User Defined 	
User Defined Start Address	 	10.0.0.4
User Defined End Address	 	10.0.0.100


DHCP gateway selection:
	X  Automatic 	
	 User Defined 	
User Defined Gateway Address:

	 	
Lease Time	 1days  0hours  0minutes  0seconds	
User Mode: multi user

Ethernet mode: autosense

------------

Anything else you need to know?


Greetz
 
Old 05-15-2005, 01:08 PM   #8
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
after you activate them do they work? maybe the just don't get brought up at boot time
 
Old 05-15-2005, 01:19 PM   #9
tidasu
Member
 
Registered: Aug 2004
Location: Bruges - Belgium
Distribution: Mandrake 10.0
Posts: 45

Original Poster
Rep: Reputation: 15
when I activate and close the network configurator, I can't ping the network.
When I bring back up the network config, it sais it's deactivated ...
 
Old 05-15-2005, 09:45 PM   #10
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
post your /etc/conf.d/net file. I hope you have one I don't use redhat are the other two plugged into anything?
 
Old 05-16-2005, 02:47 AM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
If you enter as root: service network restart
does this cause both the dhcp client and the interfaces to go down and up again.

Do you have a dhcp client installed?

The lspci command will give you information on what controller the NIC interface uses. The controller determines which kernel module needs to be loaded when the computer boots.

The lsmod command will list the kernels that are loaded. You might want to supply the outputs of these commands to check if the currect kernel module is loaded.


Last edited by jschiwal; 05-16-2005 at 02:50 AM.
 
Old 05-16-2005, 12:44 PM   #12
tidasu
Member
 
Registered: Aug 2004
Location: Bruges - Belgium
Distribution: Mandrake 10.0
Posts: 45

Original Poster
Rep: Reputation: 15
johnson, I tried to open the file, but I got the error it didn't existed.
Code:
bash: /etc/conf.d/net: No such file or directory
jschiwal:
I tried the first command: service network restart, and I got this:

Code:
Setting network parameters: [OK ]
bringing up interface lo: [OK ]
bringing up interface eth0:  Determing IP information for eth0...Operation failed
failed
[FAILED ]
Bringing up interface tr0: tr0: retrying at different ringspeed
tro: lobe media test - function failure
tr0: retrying at different ring speed
tr0: lobe media test - function failure
determing IP information for tr0...Operation failed.
failed.   [FAILED ]

Bringing up interface tr1: tr1: retrying at different ringspeed
tr1: lobe media test - function failure
tr1: retrying at different ring speed
tr1: lobe media test - function failure
determing IP information for tr1...failed.
Operation failed.   [FAILED ]

I have no idea if there is a dhcp client installed ... How do I do that?


LSMOD:

Code:
Module                   Size                 Used           By
ppp_async             6928                 0                (autoclean)
ppp_generic          19888                0                (autoclean) [ppp_async]
autofs                    11808               1                (autoclean)
olympic                  21744                0               (autoclean)  (unused)
pcnet32                 12272                0                (autoclean)   (unused)
ipchains                 41632                0               (unused)
ips                         41568                0               (unused)
aic7xxx                  136336              6 
sd_mod                 11744                6 
scsi_mod               98624                3               [ips aic7xxx sd_mod]

I hope you can help me with this...
 
Old 05-16-2005, 12:59 PM   #13
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
The dhcp cient package may be called dhcp-cliet or dhcpc. There may actually be 3 different clients that you could install. I don't know which versions RH 7.1 offers. You'll need to look for it on the istall disks. There is one by ISC that you might consider. You could also download a tarball from ISC http://www.isc.org/index.pl?/sw/dhcp/
 
Old 05-16-2005, 03:27 PM   #14
tidasu
Member
 
Registered: Aug 2004
Location: Bruges - Belgium
Distribution: Mandrake 10.0
Posts: 45

Original Poster
Rep: Reputation: 15
downloading a tarball was a bit funny ...

Is there a command how I can see what is installed?
There's only 1 cd of this linux, and as I remember clicked all the netwroking tools ...
 
Old 05-16-2005, 04:06 PM   #15
mike33
Member
 
Registered: Jul 2004
Location: Houston Tx
Distribution: kubuntu, Debian, Suse 10.2
Posts: 31

Rep: Reputation: 15
It is not hard to compile and install a program, but since you haven't done that before
I would recommend that you get the binary client for Mandrake; it is called dhcpcd
(the dhcp server is called dhcpd).
The client should be in sbin if it is installed: /sbin/dhcpcd.
If it is not installed then you can find it either on the cd or on the web. The client for 10.1
(probably works for 10.0 as well)
is called dhcp-client-3.0.1-5mdk.i586.rpm. Download it and install it(as root) by typing
rpm -ivh dhcp-client-3.0.1-5mdk.i586.rpm
on the command line.

Last edited by mike33; 05-16-2005 at 04:07 PM.
 
  


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
ftp to home computer? (noob) babag Linux - Networking 3 06-27-2005 11:12 AM
Noob Home Network Design ?s Add1Sun Linux - Networking 3 03-12-2005 08:40 AM
Noob Networking Qestion Verbal Kint Linux - Networking 5 04-08-2004 03:32 PM
nOOb question about networking mooler Linux - Networking 3 10-27-2003 06:30 AM
noob with networking question prodigius Linux - Networking 1 10-30-2001 05:23 PM

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

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