PDA

View Full Version : Ethernet cable



kluelesswithknoppix
01-27-2006, 09:01 PM
How do I connect using an ethernet cable from knoppix 3.4? On windows it connects automatically, on knoppix I go to the K button and then go where? I was at linuxquestions.org and I didn't get much help, I'm glad I found this site that is specifically for knoppix.

UnderScore
01-27-2006, 10:34 PM
In order to tackle this problem YOU must be able to understand and describe your current working network to us so that we can help you. If you can not or are not willing to go into detail, then there is no way for us to help you. I assume that you have a LAN. Are you usig a hub or a switch? Describe the PCs or devices on this LAN? What are their OSs? What is the IP address assignment on this LAN? Static (hand typed in) or Dynamic (automatic via DHCP)? Do you connect to the internet? If so, how? Cable modem? DSL? Dialup? ISDN? Satellite? Describe how things a wired together. Describe your end goal: What results do you eventually want?

kluelesswithknoppix
01-27-2006, 11:28 PM
I have a dynamic IP address. I am using a Gateway laptop with Windows XP, my isp is Sonoma State University with them I connect with an Ethernet Cable- it happens automatically when I use windows, however, on Knoppix 3.4 with the K desktop Envirornment it does not and I am not sure how to request for it to do so. The problem is not that it doesnt work- its just that I dont know how to ask it to connect, starting from my desktop where do I go?

UnderScore
01-27-2006, 11:56 PM
With most network types, Knoppix will automatically detect the network & get itself connected. You may have to enter commands to get it configured.

use the command: lspci
to see what hardware it is identifying

use the command: lsmod | sort
to get a list of loaded drivers. It may not make any sense to you & this is OK.

use the command: dmesg | grep -i eth
to see what driver it has loaded & details if any

use the command: ifconfig -a
to list all detected nework devices. If the command ifconfig -a does not produce a eth0 or a eth1 entry then it is not finding your network card.


use the command: netcardconfig
to configure a network card

Some example output of those commands.

-bash-2.05b# lspci
00:00.0 Host bridge: Intel Corp. 440LX/EX - 82443LX/EX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440LX/EX - 82443LX/EX AGP bridge (rev 03)
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 01)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 01)
00:0f.0 VGA compatible controller: Matrox Graphics, Inc. MGA 1064SG [Mystique] (
rev 03)

-bash-2.05b# lsmod | sort
3c509 12372 1
Module Size Used by Tainted: PF
autofs 13204 0 (autoclean) (unused)
caienfk 526976 2
caienfk_shim 892 1 [caienfk]
ext3 85704 2
floppy 56592 0 (autoclean)
hid 22084 0 (unused)
input 5856 0 [keybdev mousedev hid]
jbd 50572 2 [ext3]
keybdev 2944 0 (unused)
ksymadd 5096 0 [caienfk]
lockd 58160 1 (autoclean) [nfsd]
microcode 5656 0 (autoclean)
mousedev 5492 0 (unused)
nfsd 83664 8 (autoclean)
sunrpc 82076 1 (autoclean) [nfsd lockd]
usb-uhci 25836 0 (unused)
usbcore 77152 1 [hid usb-uhci]

-bash-2.05b# dmesg | grep -i eth
isapnp: Card '3Com 3C509B EtherLink III'
divert: allocating divert_blk for eth0
eth0: 3c5x9 at 0x220, 10baseT port, address 00 a0 24 a3 7a ad, IRQ 5.
divert: freeing divert_blk for eth0
divert: allocating divert_blk for eth0
eth0: 3c5x9 at 0x220, 10baseT port, address 00 a0 24 a3 7a ad, IRQ 5.
eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
eth0: Setting Rx mode to 1 addresses.

-bash-2.05b# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:A0:24:A3:7A:AD
inet addr:192.168.1.183 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37944245 errors:0 dropped:0 overruns:0 frame:0
TX packets:4118674 errors:0 dropped:0 overruns:0 carrier:257
collisions:84376 txqueuelen:1000
RX bytes:527853872 (503.4 Mb) TX bytes:433869574 (413.7 Mb)
Interrupt:5 Base address:0x220

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:74392783 errors:0 dropped:0 overruns:0 frame:0
TX packets:74392783 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3898313821 (3717.7 Mb) TX bytes:3898313821 (3717.7 Mb)


You are using Knoppix 3.4 which is over 1.5 years old & may not support your laptop with alot of expert commands. Unless the person is a systems administrator, I suggest that all people use the most recent release which is version 4.0.2. Visit the Downloading FAQ http://www.knoppix.net/wiki/Downloading_FAQ where we have written many tips, tricks & guides on getting Knoppix downloaded & properly burned to a CD.

kluelesswithknoppix
01-28-2006, 11:30 AM
thanks man, I have 3.4 becuase It came with a book, I didn't download it off the mirrors

kluelesswithknoppix
01-30-2006, 08:23 AM
none of those commands worked except for the "netcardconfig". In which case it told me that no network cards were detected

parj
01-30-2006, 11:14 AM
with them I connect with an Ethernet Cable
To what?


none of those commands worked except for the "netcardconfig".
This is strange. What is the output/error messages?


In which case it told me that no network cards were detected
this happens when you click YES on the dialog which ask "Use DCHP Broadcast" and your netcard IP address are not set up properly assuming you have as netcard installed.

To get the IP's use your windows box. At the commnad prompt type: ipconfig
then go back to your Linux box and do the netcardconfig thing, this time choose NO at the dialog and enter the the IP's from your windows box when prompted.