LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-24-2004, 08:26 AM   #1
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Rep: Reputation: 15
Problems with setting up 3com switch on RH 9.0


I am trying to set up my internet connection through a 3com officeconnect switch. The problem is that I am a newb and don't really know jack about that kind of things. I've been trying to use the internet connect wizard, it finds the 3com switch and puts it up, but when I try to activate it it gives me an error saying that the "eth0 device is not present" or something like that. I might be screwing up in the setup....

Any ideas?

Thanks in beforehand!

/Dunny
 
Old 01-24-2004, 12:32 PM   #2
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Sounds like you network card module (driver) for your network card is not loaded.
Post the output of.
lspci -v;
cat /etc/sysconfig/network-scripts/ifcfg-eth0;
ifconfig -a;
dmesg | grep net;
lsmod;
Then we can start to see why it is not loading.
 
Old 01-24-2004, 01:33 PM   #3
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Original Poster
Rep: Reputation: 15
Oh....kay. I didn't understand anything of that... But I'll post it later.(can't right now since I'm at a friends house.)
 
Old 01-24-2004, 08:46 PM   #4
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Original Poster
Rep: Reputation: 15
Here are the outputs I got. The three bottom commands returned a bash.. Do I need to be in a specific directory to use them?

cat /etc/sysconfig/network-scripts/ifcfg-eth0:


# Please read /usr/share/doc/initscripts-*/sysconfig.txt

# for the documentation of these parameters.

USERCTL=no

PEERDNS=yes

TYPE=Ethernet

DEVICE=eth0

BOOTPROTO=dhcp

ONBOOT=yes

DHCP_HOSTNAME=Mimer




dmesg | grep net:


Initializing RT netlink socket
divert: not allocating divert_blk for non-ethernet device eth0
divert: no divert_blk to free, eth0 not ethernet
divert: not allocating divert_blk for non-ethernet device eth0
divert: no divert_blk to free, eth0 not ethernet
divert: not allocating divert_blk for non-ethernet device eth0
divert: no divert_blk to free, eth0 not ethernet
divert: not allocating divert_blk for non-ethernet device eth0
divert: no divert_blk to free, eth0 not ethernet
divert: not allocating divert_blk for non-ethernet device eth0
divert: no divert_blk to free, eth0 not ethernet
divert: not allocating divert_blk for non-ethernet device eth0
divert: no divert_blk to free, eth0 not ethernet
divert: not allocating divert_blk for non-ethernet device eth0
divert: no divert_blk to free, eth0 not ethernet
divert: not allocating divert_blk for non-ethernet device eth0
divert: no divert_blk to free, eth0 not ethernet
divert: not allocating divert_blk for non-ethernet device eth0
divert: no divert_blk to free, eth0 not ethernet
divert: not allocating divert_blk for non-ethernet device eth0
divert: no divert_blk to free, eth0 not ethernet
divert: not allocating divert_blk for non-ethernet device eth0
divert: no divert_blk to free, eth0 not ethernet

lspci -v:

bash: lspci: command not found



ifconfig -a:

bash: ifconfig: command not found



lsmod:
bash: lsmod: command not found

Last edited by Dunedain; 01-24-2004 at 08:48 PM.
 
Old 01-24-2004, 08:48 PM   #5
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Please login as root and run the commands that did not return anything.
 
Old 01-24-2004, 08:57 PM   #6
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Original Poster
Rep: Reputation: 15
still gives me the "bash: <command here>: command not found".
 
Old 01-24-2004, 09:00 PM   #7
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
I wonder if his NIC just crapped out?

Just for grins, look in /bin and /sbin for those commands. They should be present on any distro. I find your inability to run them even as root to be troubling--unless you misspelled them.

Last edited by Eqwatz; 01-24-2004 at 09:04 PM.
 
Old 01-24-2004, 09:21 PM   #8
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Original Poster
Rep: Reputation: 15
I still get a bash when trying to run those commands, and I double and triple checked the spelling.

I ran a command called lsgpot by accident and got this in return. I have no idea what it means, but it doesen't seem good.

# Ownertrust listing generated by lspgpot
# This can be imported using the command:
# ggp --import-ownertrust

gpg: keyblock resource `/root/.gnupg/secring.gpg': file open error
gpg: keyblock resource `/root/.gnupg/pubring.gpg': file open error

Also I noticed that the 3com switch I have is a 3c857 but the one I get listed as a device in the GUI setup is a 3c501 ... *shrug*

And I were root when executing the lsgpot command...

Last edited by Dunedain; 01-24-2004 at 09:42 PM.
 
Old 01-25-2004, 08:54 AM   #9
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
You are logged in as root right?
Run
/sbin/lspci -v;
/sbin/lsmod;
 
Old 01-25-2004, 10:59 AM   #10
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Original Poster
Rep: Reputation: 15
Yes I log in as root, using the `su' command.
 
Old 01-25-2004, 11:22 AM   #11
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Use su - root so that it updates the search path.
 
Old 01-25-2004, 11:42 AM   #12
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Original Poster
Rep: Reputation: 15
*smacks forehead*

Stupid stupid stupid! Ohh well, can't get everything right at the first try. Okay here are the final three outputs:

lspci -v:

00:00.0 Host bridge: nVidia Corporation: Unknown device 01e0 (rev a2)
Subsystem: Asustek Computer, Inc.: Unknown device 80c0
Flags: bus master, 66Mhz, fast devsel, latency 0
Memory at f4000000 (32-bit, prefetchable) [size=64M]
Capabilities: [40] AGP version 2.0
Capabilities: [60] #08 [2001]

00:00.1 RAM memory: nVidia Corporation: Unknown device 01eb (rev a2)
Subsystem: Asustek Computer, Inc.: Unknown device 80c0
Flags: 66Mhz, fast devsel

00:00.2 RAM memory: nVidia Corporation: Unknown device 01ee (rev a2)
Subsystem: Asustek Computer, Inc.: Unknown device 80c0
Flags: 66Mhz, fast devsel

00:00.3 RAM memory: nVidia Corporation: Unknown device 01ed (rev a2)
Subsystem: Asustek Computer, Inc.: Unknown device 80c0
Flags: 66Mhz, fast devsel

00:00.4 RAM memory: nVidia Corporation: Unknown device 01ec (rev a2)
Subsystem: Asustek Computer, Inc.: Unknown device 80c0
Flags: 66Mhz, fast devsel

00:00.5 RAM memory: nVidia Corporation: Unknown device 01ef (rev a2)
Subsystem: Asustek Computer, Inc.: Unknown device 80c0
Flags: 66Mhz, fast devsel

00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
Subsystem: Asustek Computer, Inc. A7N8X Mainboard
Flags: bus master, 66Mhz, fast devsel, latency 0
Capabilities: [48] #08 [01e1]

00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
Subsystem: Asustek Computer, Inc.: Unknown device 80ad
Flags: 66Mhz, fast devsel, IRQ 10
I/O ports at ef80 [size=32]
Capabilities: [44] Power Management version 2

00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog
-if 10 [OHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80ad
Flags: 66Mhz, fast devsel, IRQ 11
Memory at fe900000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2

00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog
-if 10 [OHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80ad
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 7
Memory at fea00000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2

00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog
-if 20 [EHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80ad
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 5
Memory at feb00000 (32-bit, non-prefetchable) [size=256]
Capabilities: [44] #0a [2080]
Capabilities: [80] Power Management version 2

00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev
a1)
Subsystem: Asustek Computer, Inc.: Unknown device 80a7
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 11
Memory at fe800000 (32-bit, non-prefetchable) [size=4K]
I/O ports at efe0 [size=8]
Capabilities: [44] Power Management version 2

00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Contr
oler (MCP) (rev a1)
Subsystem: Asustek Computer, Inc.: Unknown device 8095
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 10
I/O ports at e800 [size=256]
I/O ports at ec00 [size=128]
Memory at fe700000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2

00:08.0 PCI bridge: nVidia Corporation: Unknown device 006c (rev a3) (prog-if 00
[Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64

00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2) (prog-if 8a [Mast
er SecP PriP])
Subsystem: Asustek Computer, Inc.: Unknown device 80ad
Flags: bus master, 66Mhz, fast devsel, latency 0
I/O ports at ffa0 [size=16]
Capabilities: [44] Power Management version 2

00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev a2) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 64
Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
Memory behind bridge: fbf00000-fe0fffff
Prefetchable memory behind bridge: ebc00000-f3dfffff

02:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX - nForce GPU] (rev a3) (prog-if 00 [VGA])
Subsystem: Asustek Computer, Inc.: Unknown device 80c0
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Memory at ec000000 (32-bit, prefetchable) [size=64M]
Memory at f3d00000 (32-bit, prefetchable) [size=512K]
Expansion ROM at fe000000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0




ifconfig -a:

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




lsmod:

Module Size Used by Not tainted
i810_audio 27528 1 (autoclean)
ac97_codec 13544 0 (autoclean) [i810_audio]
soundcore 6276 2 (autoclean) [i810_audio]
lp 8868 0 (autoclean)
parport 36480 0 (autoclean) [lp]
autofs 12948 0 (autoclean) (unused)
ipt_REJECT 3896 6 (autoclean)
iptable_filter 2380 1 (autoclean)
ip_tables 14648 2 [ipt_REJECT iptable_filter]
sg 35980 0 (autoclean)
sr_mod 17912 0 (autoclean)
ide-scsi 11984 0
scsi_mod 106200 3 [sg sr_mod ide-scsi]
ide-cd 35196 0
cdrom 33472 0 [sr_mod ide-cd]
nls_iso8859-1 3484 1 (autoclean)
nls_cp437 5116 1 (autoclean)
vfat 12844 1 (autoclean)
fat 38328 0 (autoclean) [vfat]
keybdev 2880 0 (unused)
mousedev 5428 1
hid 21700 0 (unused)
input 5792 0 [keybdev mousedev hid]
ehci-hcd 19592 0 (unused)
usb-ohci 21160 0 (unused)
usbcore 77696 1 [hid ehci-hcd usb-ohci]
ext3 69984 1
jbd 51220 1 [ext3]
 
Old 01-25-2004, 11:51 AM   #13
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
I don't see any devices that are listed as network devices on you pci bus. What is the make and model of the motherboard. If it is not an onboard NIC. What is the brand and model of NIC. Does the motherboard have ISA slots and is the NIC in one of those ISA slots.
 
Old 01-25-2004, 12:06 PM   #14
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Original Poster
Rep: Reputation: 15
Motherboard :Asus A7N8X-VM

Errrm.. NIC, ISA?

Afaik, the ethernet card is integrated. As for the rest...

The MB has AGP and PCI slots.

I'm really a newbie, sorry if for my extreme lack of knowledge in this matter.
 
Old 01-25-2004, 02:30 PM   #15
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev
a1)
Subsystem: Asustek Computer, Inc.: Unknown device 80a7
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 11
Memory at fe800000 (32-bit, non-prefetchable) [size=4K]
I/O ports at efe0 [size=8]
Capabilities: [44] Power Management version 2

I see that the ethernet controller was detected, and assigned an IRQ.

But I am seeing more than one problem. You have memory locations assigned by themselves--not appended to the respective devices as the built-in buffers for the respective devices. Then again, I don't have one of the newer motherboards with the completely integrated chipsets. It may be normal for the newest stuff.

If everything works, with the exception of the ethernet device, then you may just be looking for the appropriate module (driver) for it. According to the results of lsmod you do NOT have a module loaded for the "unknown ethernet device".

The first place to look and see if anything special is required for linux is the actual manufacturer/name brand of the model of mother board and see if they have any mention of Linux there.

After that, check the invidia site which is the actual manufacturer of the integrated chipset for your motherboard. They have a lot of information on their products with respect to Linux--and I do remember the integrated chipsets from invidia discussed on the net in the kernel source newsgroups.

It may be a very trivial thing, or it may involve downloading the kernel sources and applying a patch for your MB/chipset. Or it may fall to you to do a patch (I very much doubt that). Then, you will have to compile a custom kernel for your equipment.

I haven't searched the user-groups for discussions/threads on your model of mother board (or the exact matching integrated chipset for the board.) I suggest that you do a search.

This is known in the Linux world as having "fun".
I am sure at this point you are positively "blissed-out", and full of joy.
Yeah, right.

(Frankly, I think it is a patch. But I don't remember.)

Have "fun".
 
  


Reply



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
[SOLVED] 3COm 3C905B Cyclone setting speed to 100 mbps politik Linux - Newbie 10 08-04-2005 09:05 PM
networking my linux machine with my xp machine through a 3com switch chefkahuna Linux - Networking 1 07-06-2005 09:01 AM
setting up com port for serial connection to monitor network switch help murf562 Linux - Hardware 1 10-30-2004 09:46 AM
setting up 3com wifi USB adapter ronan Linux - Wireless Networking 2 08-23-2004 04:13 PM
3COM 3c509 problems johntmills Linux - Hardware 5 08-15-2003 07:33 AM

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

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