LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Networking - more questions (Chris, please help) (https://www.linuxquestions.org/questions/linux-networking-3/networking-more-questions-chris-please-help-8112/)

Susan 10-30-2001 04:31 AM

Networking - more questions (Chris, please help)
 
Chris,
Thanks for the info. Here's what I have found regarding trying to network 2 Linux computers.
Yes, I am using the correct cable.
I don't understand how to view the contents of 'route'. I have tried view route, but I am not getting anything.
The contents of /etc/sysconfig/network-scripts/ifcfg-eth0
is:
DEVICE=eth0
USERCTL=yes
ONBOOT=yes
BOOTPROTO=non
BROADCAST=192.168.1.255
NETWORK=192.168.1.0
NETMASK=255.255.255.0
IPADDR=192.168.1.2
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_803_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
Chris is this information helpful as far as you trying to help me figure out what I am doing incorrectly? Please let me know if I need to suppy you with other info. I truly appreciate your help.
Thanks.
Susan

acid_kewpie 10-30-2001 05:15 AM

nice to know i'm in demand...!

ok, so that's eth0 on one machine. ok.

firstly, can you ping yourself?

ping 192.168.1.2

if not, then your eth0 porbably isn't running, so as root try 'ifup eth0'

what is the ip of the machine your trying to contact? 192.168.1.1? your netmask is 255.255.255.0, meaning you'll only be able to communicate with IPs varying by the last number only.

assuming all the hardware is up and running, and each machine can ping itself usnig it's own eth0 IP, then i'd guess it's a problem with the netmasks, so ensure the netmask isn't blocking the pings.

as root, run /sbin/route, and print the contents here, it'll show a lot more information.


and PLEASE don't start new threads all the time.. i had no idea what your problem was, and had to search out the old thread....

http://www.linuxquestions.org/questi...?threadid=7984

you'll get a LOT more help that way. And other people are just as capable, if not more, at answering stuff!

Susan 10-30-2001 05:16 PM

Hello Chris.
I am back with more information, in search of more help. First off, when I ping myself I get the "Network is unreachable" message. For the ifup eth0 command, I get this message:
ni52: Autoprobing not allowed for modules.
ni52: set symbols 'io' 'irq' 'memstart' and 'memend'
Delaying eth0 initialization.
The ip of the machine that I am trying to contact is 192.168.1.2, and my ip is 192.168.1.3. Both netmasks are set to 255.255.255.0.
Here are the contents of /sbin/route:
Kernel IP routing table
Destination Gateway Genmask Flag Metric Ref Use Iface
127.0.0.0 * 255.2.2.2 U 0 0 0 lo

Is this helpful?
Thank you.
Susan

siddiqu 10-30-2001 11:32 PM

Hi..


I think ur card is not properly detected. give ifconfig -a and check are u able to see the interface. then try to assign a ip manually and check.


Siddiqu.T
:study:

Susan 10-31-2001 06:08 AM

Hello again.

The contents of 'ifconfig' are as follows:

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:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

Does this look right?

Thanks.
Susan

unSpawn 10-31-2001 06:42 AM

Assigning an IP isn't going to work without the card being properly initialized. Have a look at http://www.linux.cu/docs/RedHat6.2/d...s-ethernet.htm and http://www.linuxdoc.org/HOWTO/Module....html#AEN1838, the options for the ni52 in /etc/conf.modules should look like:
"options ni52 io=0x360 irq=9 memstart=0xd0000 memend=0xd4000".

Since I haven't got an ni52, and havent seen any other config options I guess you should first "cat /proc/ioports" and "cat /proc/interrupts" to verify the ethernet card's IO and IRQ settings are correct. Then enter the line above in /etc/conf.modules. About the memstart/memend parameters I havent got a clue, so YMMV.

Then the module could be loaded running "/sbin/insmod ni52.o", provided your /etc/sysconfig/network settings are ok.

HTH somehow.


All times are GMT -5. The time now is 07:35 AM.