LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2004, 11:41 PM   #1
J[]sie
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Rep: Reputation: 15
Question 3com nic won't initialize but is recognized?


I'm running linux mandrake 10 with kde gui. My 3com 3c590 doesn't seem to initialize during linux startup. It was recognized during the initial setup of linux and module 3c59x was installed as the driver which I believe to be the correct driver for this. During startup linux reports: brining up interface: eth0 [Failed] I tried to browse the internet with no luck, and i can't figure out how to browse the network? I have a dsl router/network hub which I use to trasnfer files between systems and to surf the net. I have 4 machines attached 3 of which run 98se, I need to set-up linux to file share with these 3 machines and act as a print server and surf the net. I don't know squat about linux =( How do I get this network configured? I have searched all over and can't seem to find a solution to this problem.

Help please..
 
Old 08-20-2004, 11:45 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi,

And welcome to LQ!

First of all I want you to open a console and
become root (su -)

type
lsmod
lspci

See whether the NIC is picked up logically (lsmod,
loaded the driver module?) and physically (lspci,
can be seen by the PCI subsystem).


Cheers,
Tink
 
Old 08-21-2004, 08:36 AM   #3
J[]sie
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Original Poster
Rep: Reputation: 15
I opened the console, logged in as root and type lsmod. I have pasted what was reported back from lsmod cmd. but... lspci, gave an 'command not found' error. The module used by my nic card is shown '3c59x 39144 0'

What next?

Module Size Used by
sg 38044 0
st 38616 0
sr_mod 17028 0
sd_mod 16832 0
scsi_mod 114648 4 sg,st,sr_mod,sd_mod
tdfx 41744 22
parport_pc 32832 1
lp 12200 0
parport 38952 2 parport_pc,lp
af_packet 20520 0
ide-floppy 18752 0
ide-tape 34864 0
ide-cd 40548 0
cdrom 37184 2 sr_mod,ide-cd
floppy 59444 0
3c59x 39144 0
md5 3872 1
ipv6 232352 6
nls_iso8859-1 3904 4
ntfs 85932 4
supermount 37876 2
intel-agp 17372 1
agpgart 31016 1 intel-agp
joydev 10240 0
tsdev 7168 0
evdev 9504 0
usbmouse 5216 0
hid 53312 0
usblp 12288 0
uhci-hcd 29104 0
usbcore 99132 6 usbmouse,hid,usblp,uhci-hcd
rtc 11576 0
ext3 110408 2
jbd 54328 1 ext3
 
Old 08-21-2004, 08:51 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,702

Rep: Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749
Maybe a DHCP issue. Try assigning a static IP address. (Need to be root i.e su -)
ifconfig eth0 192.168.0.x netmask 255.255.255.0 up

Replace192.168.0.x with a valid address for you router. Try to ping the router i.e.
ping 192.168.xxx.xxx (Use the router's address)

samba is used for file and print sharing. Was it selected when you installed the OS? See www.samba.org for documentation.
 
Old 08-21-2004, 09:12 AM   #5
J[]sie
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Ok I manually assigned the next available ip on my network to my eth0. I am now able to ping my router in the console. What next? I tried opening the web browser to see if i can go out across the net, but still no luck

do i need a restart? will this change i made be saved?
Yes i believe samba was installed, not the server, but a client file sharing, nfs or something.




BTW, i did check to see if i can browse the network.
Konqueror:
smb:///
I did see my workgroup and I am able to see the other machines, so this is good. I'm half way there, thanks!

I'm a , but i'm learning!

Last edited by J[]sie; 08-21-2004 at 09:17 AM.
 
Old 08-21-2004, 10:11 AM   #6
J[]sie
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Original Poster
Rep: Reputation: 15
It didn't seem to save anything I changed?? when i rebooted I can no longer view the network.
bringing up interface eth0 still fails

 
Old 08-21-2004, 03:27 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If static addresses let you reach the network
internally you probably just need to create a
/etc/resolv.conf that points to your ISPs dns-
server and manually adding a route. I'm a bit
surprised that the most windohs like distro (in
many aspects ;}) didn't do it properly. Find and
re-run the appropriate drak-tool for network-
setup.


Cheers,
Tink
 
Old 08-21-2004, 04:42 PM   #8
J[]sie
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Exclamation

Unfortunately thats just it.. After the installation process, an exclamation point appeared in the task bar or whatever u call it. I checked it, and it reported that my network is down. When i left clicked and chose configure network, it seems to be a different setup program from the one in the main menu> system>>configuration>>>Configure your computer. I tried manually changing the ip's like I did in the console but it doesn't seem to do anything, the only way it works is when I change it in the console as described above with ifconfig eth0 etc etc. and for somereason its not saving my changes in console. I'm really lost here. I don't know if there is some kind of configuration thats loading during boot that negates everything I do, or what, I know very little about networks.. Maybe I can give a better idea of whats going on if I start over from scratch. Is there someway I can clear all my network configurations?? How come lspci is an unknown command in root console?

If I open Mandrakelinux control center and chose manage network & internet connections i am presented with this:
an option for adsl or eth0: 3com corp 3c590 vortext etc etc
This adsl connection I created, the other was already there. What bothers me is that I did not specify the ips but it insist apon using 2 dns servers the second is correct I suppose since in win98se using winipcfg I can see my dns ip is the same. This second dns I added only I added it in the first slot but it was somehow bumbed to the second if this makes any difference??. the ip in dns 1 I don't have in my network. and I can't delete it or this connection. Everytime I delete this connection adsl it comes back!!!! It seems as I have said before that linux isn't saving anything I change, this is so confusing, because the ips I added for eth0: 3com are there.... basically what ever win98se-winipcfg reported for my network ips' I put in under the eth0 connection. The ip, the dns, and the gateway. but my network is still down, and I can only browse the network when I change it manuallly in the root console using ifconfig eth0 myip. I still have not been able to access the internet through the router. Maybe I can get someone in yahoo messenger for a little bit to help me set this up. I don't really know what i'm doing. i'm a hahaha Its hard when the only os you've used is windows, and as close as you've gotten to consoles is a dos box or games like quake..

Yahoo messenger id:
conan78va
 
Old 08-21-2004, 05:19 PM   #9
J[]sie
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Original Poster
Rep: Reputation: 15
How do you log in as root? the only time I can change any settings is when I'm presented with a root pw prompt. How can I edit the files locked by root?
 
Old 08-21-2004, 09:22 PM   #10
J[]sie
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Original Poster
Rep: Reputation: 15
I've been researching a little more and I've seen some simular problems. I've tried to use other's example to no avail. I did a fresh install again.. The following is a repost from another post i just posted... this is what i've been doing, and the results, still i'm lost but maybe this will help you understand what exactly is going on, and if you can help me with a few definitions of console cmds etc etc, so I can even help myself i'd appreciate it.


[post to another user]

its funny but i'm having the same problem....
It sounds like you have a simular setup, so that I can get myself closer to your understanding.. hehe
Hows ur machines setup?
example, heres how mine are setup:
I have 4 boxes 1 usr dsl router and 1 sprint dsl modem
the router is linked to the dsl modem, and the router doubles as my network hub with four ports... I have my 3 windows98se machines connected to hub ports 1 through 3, and on port 4 i have my linux box(mandrake 10 with kde gui installed) The network configurations for all 3 98se machines are setup as follows
network components installed:
microsoft fam login
file and printer sharing for microsoft networks
network adapter (varies from machine to machine) ie on this machine: 'intel pro/100 ve network connection'
Protocol: tcp/ip network (also varies from machine to machine) ie on this machine: 'intel pro/100 ve network connection'
primary network logon: windows logon

Settings for the Protocol: tcp/ip are as follows:

bindings tab: 3 checks beside: client for microsoft networks, file and printer sharing for microsoft networks, microsoft family logon

DNS configuration tab: Disable DNS checked

Gateway tab: no gateways added

wins configuration tab: disable wins resolution checked

IP address tab: Obtain an ip address automatically checked

Runing the command winipcfg and clicking on more info to show a full view presents me with this information about my ips' addresses and settings:

Host Information
host name: xxxxx
DNS Servers: 192.168.xxx.xxx
Node Type: Broadcast
netbios: blank
ip routing: blank
netbios resol. dns: blank

Ethernet adapter information

PPP Adapter selected in drop down menu:

adapter address xx-xx-xx-xx-xx-xx
ip address 0.0.0.0
subnet mask 0.0.0.0
default gate. blank
dhcp server 255.255.255.255
primary wins server blank
secondary wins s. blank
lease obtained blank
lease expires blank

(my adapter which varies machine to machine) selected in drop down menu:

adapter address xx-xx-xx-xx-xx-xx
ip address 192.168.xxx.xxx
subnet mask 255.255.255.0
default gate. 192.168.xxx.xxx <-- these two ip addresses are the same for both default gateway and dhcp server.
dhcp server 192.168.xxx.xxx <---^^
primary wins server blank
secondary wins s. blank
lease obtained (a date and time)
lease expires (a date and time)

Now here's what i've found out runing linux mandrake 10 with kde gui on my 4th machine
the network card installed on my linux box is one 3com 3c590 tx corporate which uses the 3c59x module (driver). The card is recognized by mandrake with no problems, ie, mandrake identifies it during installation. I configure via the option during the installation. You are presented with about 6 options,
I chose to configure LAN.
>>eth0: 3com corporation|3c590 10baseT [vortex]
>>Manual configuration: Here are the options i'm presented with
IP address:
Netmask:
Track network card id:
Network Hotplugging:
Start at boot:

basically from here on I copy my ip addresses from my present windows98se machine like this with exception to the actual IP for the network card which is labeled 'IP address' in this case. so in other words my 3 windows machines from hub port 1 to 3 have simular ips to this example

98se machine 1: 192.168.50.50
98se machine 2: 192.168.50.51
98se machine 3: 192.168.50.52
so i set up machine 4 on hub port 4 with an ip like this: 192.168.50.53
So...

IP address: 192.168.xxx.xx3
Netmask: 255.255.255.0 <-- I'm guessing this is subnetmask? in windows
Track network card id: unchecked
Network Hotplugging: checked
Start at boot: checked
I click next and here is whats shown and how I have it configured:
Hostname: blank
DNS server 1: 192.168.xxx.xxx <--same dns ip as host information on 98se machines.
dns 2 and 3 are left blank
Search domain: blank
Gateway: 193.168.xxx.xxx <--same as dns server

I click next and then...:

zeroconf host name: 'name of my host' ie: peguin
I am not sure what this is, but I think its the same thing that windows uses to name your computer when you are on a file sharing network.
then i click next and finish, it seems happy but
I try to browse the network.. and nothing works, nore can I view web pages accross the internet.
here's how you browse your local network if you don't know:
in KDE gui you open konqueror and in the location text box you type 'smb:/'
This will browse your local network, if working it will show your windows work group that you've named, and you can continue in by clicking the icon and so on so forth.
although nothing seems to work... I was able to browse the network if I do the following:
open console
type su (switches users)
console prompts for my password, i type in my ROOT password, you can't do this with out logging into root.
then I type:
ifconfig eth0
it displays some information about my ethernet card but no ip addresses are listed, i'm guessing this is because it failed initialization during startup as i'm sure urs is doing right?
ie: Bringing up eth0 [Failed]
so, I type:

ifconfig eth0 192.168.xxx.xx3 broadcast 192.168.xxx.xxx

192.168.xxx.xx3 <--this is the ip I tried to set earlier that for somereason doesn't take I guess I dunno.

broadcast 192.168.xxx.xxx <-- this is the ip for my DNS as i also tried to set with the configuration tool

and I open KDE's Konqueror
type smb:/ in the text box and bam i can browse the network... when i restart the network with the command 'service network restart' I lose the changes and I can no longer browse the network. Same thing when i restart the computer or session... It does not save changes... Now here is one last interesting thing...
I don't know what this all means but I do understand that linux assigns devices and such id's like eth0 for your first ethernet card and so on. so anyway when I have a fresh install and i have NOT opened the configuration editor for the network, and I do make changes using the console like I just said, and I am able to browse the network as said, I get the following feed back from this command in the console logged in as root keep in mind this is before I open any configuration tool for the network, this is a fresh install and after the following commands in console:

[root@localhost xxxxx]# ifconfig eth0 192.168.xxx.xx3 broadcast 192.168.xxx.xxx
[root@localhost xxxxx]# ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.xxx.xx3 Bcast:192.168.xxx.xxx Mask:255.255.255.0
inet6 addr: xxxx::xxx:xxxx:xxxx:xx/xx Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:603 errors:0 dropped:0 overruns:0 frame:0
TX packets:90 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:182148 (177.8 Kb) TX bytes:8728 (8.5 Kb)
Interrupt:3 Base address:0x1020

[root@localhost xxxxx]#

I am able to browse the network, but restarting the machine or network or session negates all changes. Notice, there is only one device listed.... eth0 <-- this is the device
Now I open the configuration tools and edit away.. and I do this command again logged in as root in console:

[root@localhost xxxxx]# ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: xxxx::xxx:xxxx:xxxx:xx/xx Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:601 errors:0 dropped:0 overruns:0 frame:0
TX packets:90 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:182028 (177.7 Kb) TX bytes:8728 (8.5 Kb)
Interrupt:3 Base address:0x1020

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:194 errors:0 dropped:0 overruns:0 frame:0
TX packets:194 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12588 (12.2 Kb) TX bytes:12588 (12.2 Kb)

Notice, after opening the configuration tools going through the motions a new device is created... I don't know why this is or why it didn't not edit the eth0 device, again I don't even know if this matters, but it seems to me something isn't working right because in eth0 my addresses are wiped out again, and in lo, which i have a feeling stands for local has an address of 127.0.0.1 and netmask of 255.0.0.0 which i've noticed on other post having the same problems as us

so.. there you have it, i don't know if any of this information will help you or the people trying to help you, but hopefully it can provide some insight into both our problems, I've been messing with this now for a week and I dunno what to think, I'm pretty sure if I just switch linux distros or even put another nic card in, the prob would probably go away, but I wanna know what the heck is going on, and how to configure this for my own knowlegde..

good luck
and if any one has solved this or can help me please contact me via yahoo messenger
i will post the context of chat for future references

yahoo id: conan78va

Thanks

[ ]
 
Old 08-21-2004, 09:36 PM   #11
J[]sie
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Original Poster
Rep: Reputation: 15
one more thing,
these two commands don't work for me:
in the console logged in as root:

lspci
iptables

anyone know why??

what shell are you in? bash? arch? sh? csh? what?
 
  


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
eth0 NIC Card Not Working! 3com 3c501 NIC. Mustard010 Linux - Networking 16 08-15-2007 02:22 AM
intergraded 3com ethernet card not recognized jonnyblinux Linux - Networking 4 10-17-2005 04:49 PM
3com PCMCIA network card not recognized saxophobe Linux - Networking 1 03-05-2005 11:15 PM
Fedora Core 2 will not initialize NIC Nelse Fedora 3 10-23-2004 08:41 PM
Linux can not initialize second Nic card dukhanh Linux - Networking 1 08-31-2001 08:49 AM


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