LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-30-2001, 04:31 AM   #1
Susan
LQ Newbie
 
Registered: Sep 2001
Posts: 14

Rep: Reputation: 0
Question 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
 
Old 10-30-2001, 05:15 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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!
 
Old 10-30-2001, 05:16 PM   #3
Susan
LQ Newbie
 
Registered: Sep 2001
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 10-30-2001, 11:32 PM   #4
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
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
 
Old 10-31-2001, 06:08 AM   #5
Susan
LQ Newbie
 
Registered: Sep 2001
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 10-31-2001, 06:42 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
  


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
Where did Chris Stockwith ftp site go? daly1 Linux From Scratch 4 06-22-2005 02:23 PM
Sorry Chris joji_in_changwon Linux - Software 1 06-15-2005 08:25 PM
cant login, get [chris@localhost chris]$ pvcrisp Mandriva 8 01-11-2004 12:36 PM
Chris, Acid Kewpie You Are Wrong! Robert Ab General 6 06-23-2003 06:00 PM
Hacking--kudos to Chris (and others) deadbug General 2 01-10-2003 02:19 AM

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

All times are GMT -5. The time now is 03:42 PM.

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
Open Source Consulting | Domain Registration