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 Code:
Bringing up device eth0: Determing IP information for eth0...Operation 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.:confused: Greetz |
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
|
Code:
[root@remi /root]# ifconfig 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 Code:
[root@remi /root]# ifconfig tr0 Code:
[root@remi /root]# ifconfig tr1 |
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" |
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 ... |
192.168.0.1 was just an example. you should use your router ip here. is the router a dhcp server?
|
I think so.
Lets see Code:
Number of ethernet devices connected to the DHCP server: 2 Code:
LAN Configuration Ethernet mode: autosense ------------ Anything else you need to know? Greetz |
after you activate them do they work? maybe the just don't get brought up at boot time
|
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 ... |
post your /etc/conf.d/net file. I hope you have one I don't use redhat are the other two plugged into anything?
|
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. |
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 I tried the first command: service network restart, and I got this: Code:
Setting network parameters: [OK ] I have no idea if there is a dhcp client installed ... How do I do that? LSMOD: Code:
Module Size Used By I hope you can help me with this... |
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/
|
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 ... |
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. |
All times are GMT -5. The time now is 10:05 PM. |