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


View Poll Results: Did you setup your IPTables/IPChains with your Network?
Yes, ofcourse.. I'm not silly! 19 33.93%
No, I did it eventually though.. 5 8.93%
No, I don't need a Firewall 10 17.86%
I didn't even know I had to! 22 39.29%
Voters: 56. You may not vote on this poll

Reply
  Search this Thread
Old 11-20-2003, 07:58 PM   #16
pabloromero
LQ Newbie
 
Registered: Nov 2003
Location: Cordoba
Distribution: Red Hat 8
Posts: 24

Rep: Reputation: 15
Thumbs down I resign to LINUX


>if Windows is so easy stick to it and quit wasting your time

I will do that. Good advice. I know now that Linux is a lie.

>Wait a few months and chances are that the latest linux distribution will be easier to configure>

It is not a matter of "easy". It is a matter of reality.

Novell and Microsoft are networks. They make things that work. They deserve their money. That's the only thing I get from this experience. I will try Unix in the future, but with some bad taste.

I resign Linux. I know that many people use Linux with sucess. But i could not.

Thanks to all people that tried to help me in this place.

Cheers and good life.
 
Old 11-21-2003, 03:20 PM   #17
scorpatron
Member
 
Registered: Nov 2003
Location: New Zealand
Distribution: Redhat 9 2.4.20-8 Athlon, Windows 2000 Professional, FreeBSD
Posts: 122

Original Poster
Rep: Reputation: 15
Hey guys, give him a break, you should be happy that people are atleast willing to try move away from MS! and I'm sure at one stage during nix you had issues too!

pabloromero:

You're still not networked?... well then... this is new to me...

Firstly, does your distrobution have a GUI for administrating your network? if you're doing it all by txt config files.. then good luck!

RH9 comes with a pretty decent Network GUI...

Let me explain a couple of things....

1: Networking between Windows and Linux doesn't require Samba... you could use FTP instead, because all they're using is TCP/IP....

2: If you're TCP/IP network isn't working properly.. then there are only 3 logical steps to follow.

here they are:

1. Are the drivers for your ethernet adapters working? Search for your card on the internet, theres plenty of information about linux compatibility. Because your windows card worked before we will assume it is still working now.

2. If the link between your computers active? I don't know crap about networking without a hub/crossover.. I know that theoretically you should be able to... however I've never tried.. I suggest go out and buy a hub for $50, it will have lights on it which can tell you about the connections in your network.

3. Is there software blocking your network? i.e a windows or linux firewall.

---------

If you're still going around in circles.. heres anotehr lead for you.

Try the program Etheral, it can give you information about the data being sent through your network... etheral is pretty leet so you'll need to find a tutorial about how to use it.

It could be something as simple as an outdated module for linux... especially if you're running an old kernal, upgrade mybe?

-----

anyway, thats just the shit I would do, good luck!
 
Old 11-21-2003, 04:12 PM   #18
pabloromero
LQ Newbie
 
Registered: Nov 2003
Location: Cordoba
Distribution: Red Hat 8
Posts: 24

Rep: Reputation: 15
Thanks scorpatron.

I will try to do that. I tryed so many things...one more will not hurt.

I will coment here how it was...

May be some day i can invite you some drinks...you are a nice guy. Here in Argentina or wherever you are.
 
Old 11-21-2003, 06:01 PM   #19
sarahan
LQ Newbie
 
Registered: Aug 2003
Location: Livermore, CA
Distribution: Ubuntu Dapper, Gentoo, Win2k, WinXP
Posts: 28

Rep: Reputation: 15
I was reading above and didn't notice anything about ifconfig - have you tried running this? it'll tell you what net devices are active. It might be worth a try, even though it seems like the card is running from you being able to ping it. It'll at least tell you a good reason why things aren't working - if eth0 doesn't show up, or if its numbers aren't right.

sorry about the above comments, and good luck.
 
Old 11-21-2003, 07:13 PM   #20
nairnie
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: RedHat 9, Slackware 9.1, Debian
Posts: 28

Rep: Reputation: 15
I don't suppose you have 2 network cards in your red hat machine? I did and this seemed to mess up the auto config stuff. Also i found that setting the ip address from the gui was not working. As a result even though the GUI said that i had assigned the IP address, when i went into the CLI and ran the 'ifconfig' command i found that no ip address had been set to the card. Once i set it manually from the CLI all was good with the world.... sharks swam away, penguins thrived and Redmond started to look the shoddy producer of software that it is

Saying that i am still having issues setting stuff up, but i think that is all part of the learning process. After all how many years have you been using windows for?... you can't expect to have the same knowledge in 2 weeks about LInux.

Stick with it, you will sort your problem in the end and probably have taught yourself a lot about Linux in the process. IMHO the end results seem to be worth the hassel now.
 
Old 11-21-2003, 08:17 PM   #21
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Rep: Reputation: 30
I started reading this thread as a step in trouble shooting a networking problem I'm having.
Even though I am extreme newbie
I will add something though just in case it could help here.

The guys on this forum who helped me set up my simple two 'puter Lan had me run tcpdump during the process, it seemed to provide some good real time info.
I however use mandrake and maby thats a different ballgame.
Also tcpdump may not apply in this situation any way.
I appolagise if I am speaking out of turn .

Continued gratitude to all who help us newbies.
 
Old 11-21-2003, 09:45 PM   #22
scorpatron
Member
 
Registered: Nov 2003
Location: New Zealand
Distribution: Redhat 9 2.4.20-8 Athlon, Windows 2000 Professional, FreeBSD
Posts: 122

Original Poster
Rep: Reputation: 15
cheers pabloromero, if I'm ever in argintina i will let you know

these guys sarahan, nairnie and toastermaker have some very good suggestions, especially that ifconfig! i completely forgot about that one!..

also one of teh machines at my work has a modem/network card in one (pcmia) which didn't like the auto config... there may be another lead there if you have 2 ethernet cards...

---

too bad you're giving up eh?, the true power of linux/unix is in networking
 
Old 11-22-2003, 07:56 PM   #23
pabloromero
LQ Newbie
 
Registered: Nov 2003
Location: Cordoba
Distribution: Red Hat 8
Posts: 24

Rep: Reputation: 15
the strange problem re-mix part II with more scenes

OK FRIENDS. Im gonna in SLOW MOUTION

Remember my problem:

( machine A: Red Hat 8 - dual partition GRUB
Windows 98SE )
192.168.0.1
netmask 255.255.255.0

( machine B:Windows 98SE )
192.168.0.2
netmask 255.255.255.0

TiNY HOME LAN: 2 machines connected by coaxial cable BNC with terminators. Every machine has ONE
3Com+ ISA 3C509/3C509b EtherLink III

WHEN THIS TINY LAN BOOTS UP BOTH IN WINDOWS, THE LAN WORKS. PING AND SHARE FILES.

NOW

I WANT USE THE RED HAT 8 partion. I boot Linux. NO ERRORS WHEN MODULES ARE LOADED.

I go the machine A. PING itself works. BUT IF I PING FROM A to B, it does not work. Shows

[root@servidor root]# ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2) from 192.168.0.1 : 56(84) bytes of data.
From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
From 192.168.0.1 icmp_seq=2 Destination Host Unreachable
From 192.168.0.1 icmp_seq=3 Destination Host Unreachable

--- 192.168.0.2 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% loss, time 4048ms
, pipe 3

I go the machine B. PING itself works. BUT IF I PING FROM B to A, it does not work. Shows

C:\WINDOWS>PING 192.168.0.1
tiempo de espera agotado ( time exausted )

and the statistics 4 packets sent..4 lost.

-----> NOW:

We are in machine A:

This is the /etc/hosts file i have

[root@servidor root]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.1 servidor.redlinux servidor
192.168.0.2 caja.redlinux caja

The /etc/hosts.allow and /etc/hosts.deny ARE EMPTY

The /etc/host shows

order hosts,bind

The /etc/resolv.conf is empty. There are no /etc/network file ( is this neccesary ? )

In the /etc/sysconfig/networking/devices/ifcfg-eth0 file there is:

[root@servidor devices]# cat ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL=no
PEERDNS=no
TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=none
NETMASK=255.255.255.0
ONBOOT=yes
IPADDR=192.168.0.1
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
GATEWAY=192.168.0.2 ( is neccesary this? )

In the /etc/sysconfig/networking/profiles/default there are 4 files:
[root@servidor default]# ls
hosts ifcfg-eth0 network resolv.conf

hosts has the same thing i mencioned. ifcfg-eth0 too.

network has:
[root@servidor default]# cat network
HOSTNAME=servidor.redlinux ( is neccesary something more here inside? )

NOTE: Everything I added here, always is erased with Linux starts. Always shows this.

resolv.conf has nothing inside.

inside the /etc/sysconfig/networking there is a ifcfg-lo file. It has
[root@servidor networking]# cat ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

inside the /etc/sysconfig/network-scripts there is another ifcfg-lo file. It has
[root@servidor network-scripts]# cat ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

Also, there are a lot of scripts, i never touched them.

inside the /etc/sysconfig/ there is a network file. it has:
[root@servidor sysconfig]# cat network
NETWORKING=yes
HOSTNAME=servidor.redlinux

are there more files that the network needs?

Ok, lets continue.

This is what ifconfig shows:

[root@servidor sysconfig]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:60:08:9E:F0:CA
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:3
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:168 (168.0 b)
Interrupt:11 Base address:0x340

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:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5976 (5.8 Kb) TX bytes:5976 (5.8 Kb)

I ping, on the RED HAT CONSOLE, on machine A, the same machine:

[root@servidor sysconfig]# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) from 192.168.0.1 : 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=1.37 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.074 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.074 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=0.078 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=0.075 ms
64 bytes from 192.168.0.1: icmp_seq=6 ttl=64 time=0.073 ms

--- 192.168.0.1 ping statistics ---
6 packets transmitted, 6 received, 0% loss, time 5004ms
rtt min/avg/max/mdev = 0.073/0.291/1.374/0.484 ms

Route shows:

[root@servidor sysconfig]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.2 0.0.0.0 UG 0 0 0 eth0

The same thing with netstat

[root@servidor sysconfig]# netstat -r -u
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 * 255.255.255.0 U 40 0 0 eth0
127.0.0.0 * 255.0.0.0 U 40 0 0 lo
default 192.168.0.2 0.0.0.0 UG 40 0 0 eth0

As mencioned before, this machine has a dual boot with Windows98SE. The Windows 98SE partition
has the network configured like this

IP : 192.168.0.1
netmask: 255.255.255.0

And the NETWORK WORKS.

Lets continue here in machine A. lsmod shows

[root@servidor sysconfig]# lsmod
Module Size Used by Not tainted
sr_mod 16888 0 (autoclean)
ad1848 26124 0 (autoclean) (unused)
sound 70196 0 (autoclean) [ad1848]
soundcore 6180 2 (autoclean) [sound]
mousedev 5236 1 (autoclean)
input 5664 0 (autoclean) [mousedev]
autofs 12228 0 (autoclean) (unused)
3c509 11732 1 ( <------------------------ )
iptable_filter 2316 0 (autoclean) (unused)
ip_tables 14456 1 [iptable_filter]
ide-scsi 9616 0
scsi_mod 102184 2 [sr_mod ide-scsi]
ide-cd 31432 0
cdrom 30976 0 [sr_mod ide-cd]

I continue showing the iptables -L, it shows

[root@servidor sysconfig]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

I go more far. I check this

# cat /proc/sys/net/ipv4/icmp_echo_ignore_all

shows 0. This means that "accept" ( i've read a lot these days )

the main services: echo, finger, netfs, nfs, network, xinetd are monted.

the iptables services is not mounted. I tryed mount it, ping, desmount it, ping...no case.


WELL: The Windows machine has:
==============================

IPCONFIG.EXE shows

IP : 192.168.0.0.2
netmask : 255.255.255.0
gateway : 192.168.0.1 ( i've tryed this or without this, no case... )

WINIPCFG.EXE shows the same thing.

I ping this machine itself:

ping 192.168.0.2

Shows

C:\WINDOWS>PING 192.168.0.2

ping 192.168.0.2
Answer from 192.168.0.2 bytes=32, tiempo>10ms TDV=128
Answer from 192.168.0.2 bytes=32, tiempo>10ms TDV=128
Answer from 192.168.0.2 bytes=32, tiempo>10ms TDV=128
Answer from 192.168.0.2 bytes=32, tiempo>10ms TDV=128

Ping statdistics for 192.168.0.2
packs sent: 4 - received: 4 loss: 0 ( 0% )

ROUTE.EXE shows:

Net address net mask gateway interface Metric
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.2 1
127.0.0.1 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.2 192.168.0.2 1
192.168.0.2 255.255.255.255 127.0.0.1 127.0.0.1 1
255.255.255.255 255.255.255.255 192.168.0.2 192.168.0.2 1

I tryed...everything i KNOW. I come from Novell and Windows networks. I KNOW tcp/ip. IM NOT A NETWORK guru but with what I know, i never had any problem.

REMEMBER: I CAN NOT PING EACH OTHER IN RED HAT 8<----->WINDOWS. UNDER WINDOWS BOTH MACHINES, LAN WORKS, LAN WORKS, LAN WORKS. I SAY IT AGAIN THAT BECAUSE HERE SOME GUYS DONT READ THE ENTIRE PROBLEM.

I DONT HAVE INTERNET HERE. I DONT HAVE ANY DNS. ITS A LAN. TWO MACHINES. AND MY DELPHI CODE...I WANTED TRY LINUX and KYLIX, I WAS SEDUCED FOR ALL LINUX IS SAID FOR. I WANT USE INTERBASE SQL AND AVOICE LICENCES COSTS. THIS IS MY GOAL.

REPEAT: NO DNS, NO INTERNET, NO COFFE, NO TEA, NO BRITNEY SPEARS CD ( ugh )...

JUST 2 f***ing machines connected with Windows. A TINY HOME LAN, that i want to connect between RED HAT 8 and Windows 98SE...

AND JUST I WANT TO MAKE

A

SIMPLE

>> PING >>

FROM EACH MACHINE and get some life.

AHHHHH, FORGET THE SAMBA. I USE SAMBA IN BRAZIL WHEN I DANCE WITH MY TWO BLACK GIRL FRIENDS.

I love you all

Pablo
 
Old 11-22-2003, 11:39 PM   #24
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
I know the cables are good since it works in Windows but you should try watching the LEDs on the cards when you ping. The NIC will still operate even if the OS doesn't, so it will see pings as traffic and the "Activity" LED will blink. You can use this as a troubleshooting aid.

Does the LED on the Linux NIC blink when you ping Windows box?
Does the Windows LED blink when you ping Windows box?
Does Linux LED blink when pinged by Windows?

When you say combo card is that combo as in modem/ethernet? Or does it have two ethernet ports?

I would suspect there is a driver problem. What does the /etc/modules.conf file look like? By your description there should be a line like this:
alias eth0 3c509

Is there any possible way to swap NIC cards? Perhaps RedHat doesn't like that 3com combo card.
 
Old 11-23-2003, 04:50 AM   #25
scorpatron
Member
 
Registered: Nov 2003
Location: New Zealand
Distribution: Redhat 9 2.4.20-8 Athlon, Windows 2000 Professional, FreeBSD
Posts: 122

Original Poster
Rep: Reputation: 15
you're wondering out of my area here dude, hopefully the good people at linuxquestions.org can take over,

keep asking in this thread, if there is something I can suggest along the way I will

good luck
 
Old 11-24-2003, 01:57 PM   #26
pabloromero
LQ Newbie
 
Registered: Nov 2003
Location: Cordoba
Distribution: Red Hat 8
Posts: 24

Rep: Reputation: 15
Im coming from Redmond...and im arriving

What all you people said about the NIC was true.

The 3Com driver form Linux is not working properly. Works under Windows, but not with Linux. I replaced with another NIC combo to use my current cable. The NIC is a 3Com ISA 3C509/3C509b EtherLink III: AVOID IT LIKE THE AIDS.

Now The LINUX-WINDOWS tiny home lan WORKS.

I drink whisky in honor to all of you.

After that, i was attacked by anxieties. Installed SAMBA an I was succesful. I installed Interbase Open Source for Linux and I worked with Delphi from the other Windows machine.

In three hours, I recover two weeks.

I use my old cable and my old NICs because, if I get speed with these things, my applications will fly surely on more new environments.

Thanks again. The only thing I need now is about DHCP.
I will see how i get this.

Thank you again for your help. You are truly good guys. All of you.

Un gran abrazo desde Argentina.
A big hug from Argentina. I own you a lot of beers or whisky. Your all are invited.
 
Old 11-24-2003, 04:01 PM   #27
sarahan
LQ Newbie
 
Registered: Aug 2003
Location: Livermore, CA
Distribution: Ubuntu Dapper, Gentoo, Win2k, WinXP
Posts: 28

Rep: Reputation: 15
Congrats! finally, eh? May the penguin be with you...
 
Old 11-24-2003, 07:13 PM   #28
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
So you are off to the patagonia, in Argentina to throw fish to the nice pinguins.

Good job!
 
Old 11-24-2003, 07:31 PM   #29
scorpatron
Member
 
Registered: Nov 2003
Location: New Zealand
Distribution: Redhat 9 2.4.20-8 Athlon, Windows 2000 Professional, FreeBSD
Posts: 122

Original Poster
Rep: Reputation: 15
good stuff glad we could help!

linux 1 windows 100 billion

if you have any more questions don't hesitate, you have 2 weeks to catch up on :P

Great job!
 
Old 11-24-2003, 08:23 PM   #30
pabloromero
LQ Newbie
 
Registered: Nov 2003
Location: Cordoba
Distribution: Red Hat 8
Posts: 24

Rep: Reputation: 15
Talking Im near to the patagonia

Im near to the patagonia, i played with the pinguins, believe me. Sharks have gone and they were here only, or in my mind. thank you to all of you again. Another beer dedicated to you. Linux won another guy.

Anothe nice new to you: why i "come from redmond"?

As you know, Interbase Open Source has no aditional costs in licences, in front of, for example, Oracle. And Linux is more cheaper that Windows NT or 2003. Remember: we are short of cash on these lands...

The Brazil government will reduce by <500 000 000 U$S> in licenses using Linux, MySQL and Interbase, in Public Administration. All that saving will be used in a program called "hambre cero" -zero hunger-...imagine the beauty of this thing in a country with many people under low line of poverty.
MS, Oracle and so on...did a lot of strange business with those governments, with the licenses issues in areas like government, using corrutps politics. That's explain a lot of money that these companies have. Im from Argentina and I salute to Brazil for this action...World is big box of surprises...

Im very thankful for all your help you gived me, people.

Nos vemos! See'ya!

Pablo and the pinguins and the sharks...
 
  


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
Attention Linux Newbies "Baby linux beginners" spider2050 Linux - Newbie 2 08-16-2005 01:23 AM
basic networking Qs thick_guy_9 Slackware 2 07-15-2005 10:52 AM
ATTENTION NEWBIES! Good advice for all! Stevetgn Linux - Distributions 19 06-19-2004 04:33 AM
Attention Newbies! Sendmail Security scorpatron Linux - Software 7 11-27-2003 10:53 PM
ATTENTION: OpenBSD Newbies mailing list! sancho5 *BSD 0 04-28-2002 12:16 AM

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

All times are GMT -5. The time now is 05:27 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